[UNMAINTAINED] Firefox (x64)

This section is designed for your 'porteus build scripts' which create Porteus modules for your favorite applications. Scripts should work like the well-known 'SlackBuilds' with minimum user interaction.
User avatar
Rava
Contributor
Contributor
Posts: 4650
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.0 x86_64 + 4.0 i586
Location: Forests of Germany

Re: [UNMAINTAINED] Firefox (x64)

Post#16 by Rava » 17 Dec 2013, 05:41

phhpro wrote:@rava: With all due respect, ever heard of command line arguments?
Yes.
The list of available languages doesn't really change that many often, so to speed things up, just hard-code the lot into the script
That was an alternative to my script; but my version intrigued me more, since I could use the folders reading script parts and adopting them into creating down load links to other sites and data/files as well...
If no match, spit an error, else fetch the requested version, done. No need to hack anything at all. Never let a user do your job by telling them to edit. Users are dumb, Proggers are smart. 8)
That's rough, buddy, to say it so blunt. Bot still, you are right.

For now I just hard code it into my scripts, (mainly due to not enough free time) since I would only download the German or UK version anyway, and anyone who wants another version can hard code that into the script her/himself...
Never let a user do your job by telling them to edit. Users are dumb, Proggers are smart. 8)
Or, well, maybe they can't.
Cheers!
Yours Rava

User avatar
phhpro
Full of knowledge
Full of knowledge
Posts: 543
Joined: 10 Nov 2013, 20:35
Distribution: .

Re: [UNMAINTAINED] Firefox (x64)

Post#17 by phhpro » 18 Dec 2013, 04:36

...
Last edited by phhpro on 03 Feb 2016, 23:16, edited 1 time in total.

User avatar
Rava
Contributor
Contributor
Posts: 4650
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.0 x86_64 + 4.0 i586
Location: Forests of Germany

Re: [UNMAINTAINED] Firefox (x64)

Post#18 by Rava » 18 Dec 2013, 05:53

phhpro wrote:;) Keep us posted, if you strike it lucky
Fetching from http://www.mozilla.org/en-US/firefox/all/
seems quite a little headache to exec on this particular distro. :D
Why so? I don't get that notion...
Cheers!
Yours Rava

User avatar
phhpro
Full of knowledge
Full of knowledge
Posts: 543
Joined: 10 Nov 2013, 20:35
Distribution: .

Re: [UNMAINTAINED] Firefox (x64)

Post#19 by phhpro » 18 Dec 2013, 23:48

...
Last edited by phhpro on 03 Feb 2016, 23:15, edited 1 time in total.

User avatar
Rava
Contributor
Contributor
Posts: 4650
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.0 x86_64 + 4.0 i586
Location: Forests of Germany

Re: [UNMAINTAINED] Firefox (x64)

Post#20 by Rava » 19 Dec 2013, 08:28

Trying to run the pBuild (tweaked for en_GB version), I get this error (first I get some 404 errors, but going up the URL I get this one in the end:)
Mozilla Project Mirror

As the Mozilla Foundation has decided to move towards using Content Distribution Networks (CDNs) to distribute Mozilla binaries, the recommended source for Firefox is http://getfirefox.com (all Mozilla products are available at http://www.mozilla.org/products). We are freeing the space on the Open Source Mirror in order to make room for other Open Source projects in need of mirroring services.
So... after some search-fu I finally found this URL:
http://ftp.mozilla.org/pub/mozilla.org/ ... /releases/

So... we would need a new script for now, since we first need to browse into http://ftp.mozilla.org/pub/mozilla.org/ ... /releases/to get the newest version number that has no "b" for beta in its name, and currently that would be http://ftp.mozilla.org/pub/mozilla.org/ ... ases/26.0/
and then from there onwards either into 26.0/linux-i686/en-GB/ (for en-GB, i686), or 26.0/linux-x86_64/en-GB/ (again, en-GB, x86_64)

...

For other languages or en-US the URL would differ, of course...

:P
Cheers!
Yours Rava

User avatar
Rava
Contributor
Contributor
Posts: 4650
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.0 x86_64 + 4.0 i586
Location: Forests of Germany

Re: [UNMAINTAINED] Firefox (x64)

Post#21 by Rava » 19 Dec 2013, 08:35

UPDATE

Silly me was over looking that there is still a "latest" subfolder ...

So, that URL is: http://ftp.mozilla.org/pub/mozilla.org/ ... es/latest/

so, we either go to http://ftp.mozilla.org/pub/mozilla.org/ ... 686/en-GB/ or http://ftp.mozilla.org/pub/mozilla.org/ ... _64/en-GB/ ...
Cheers!
Yours Rava

User avatar
phhpro
Full of knowledge
Full of knowledge
Posts: 543
Joined: 10 Nov 2013, 20:35
Distribution: .

Re: [UNMAINTAINED] Firefox (x64)

Post#22 by phhpro » 20 Dec 2013, 00:29

...
Last edited by phhpro on 03 Feb 2016, 23:16, edited 1 time in total.

User avatar
phhpro
Full of knowledge
Full of knowledge
Posts: 543
Joined: 10 Nov 2013, 20:35
Distribution: .

Re: [UNMAINTAINED] Firefox (x64)

Post#23 by phhpro » 20 Dec 2013, 04:59

...
Last edited by phhpro on 03 Feb 2016, 23:17, edited 1 time in total.

tome
Contributor
Contributor
Posts: 657
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: against russian attacks and lies
Contact:

Re: [UNMAINTAINED] Firefox (x64)

Post#24 by tome » 20 Dec 2013, 05:10

I deleted my previous post, but now tested, different size because of i686 vs x86_64, your link is i686
You have mind and feelings. Be wise and clever.

User avatar
phhpro
Full of knowledge
Full of knowledge
Posts: 543
Joined: 10 Nov 2013, 20:35
Distribution: .

Re: [UNMAINTAINED] Firefox (x64)

Post#25 by phhpro » 21 Dec 2013, 04:17

...
Last edited by phhpro on 03 Feb 2016, 23:17, edited 1 time in total.

tome
Contributor
Contributor
Posts: 657
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: against russian attacks and lies
Contact:

Re: [UNMAINTAINED] Firefox (x64)

Post#26 by tome » 21 Dec 2013, 09:48

this generic link is the same for both arch, try - unpack and execute firefox (but don't use compat32)
You have mind and feelings. Be wise and clever.

User avatar
phhpro
Full of knowledge
Full of knowledge
Posts: 543
Joined: 10 Nov 2013, 20:35
Distribution: .

Re: [UNMAINTAINED] Firefox (x64)

Post#27 by phhpro » 22 Dec 2013, 05:37

...
Last edited by phhpro on 03 Feb 2016, 23:17, edited 1 time in total.

tome
Contributor
Contributor
Posts: 657
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: against russian attacks and lies
Contact:

Re: [UNMAINTAINED] Firefox (x64)

Post#28 by tome » 22 Dec 2013, 10:42

When I said generic, I was pointing at a server-side mechanism to auto-detect the calling arch, just like most software sites do these days.
in this you are wrong.

https://download.mozilla.org/?product=f ... lang=en-GB = .../pub/firefox/releases/26.0/linux-i686/en-GB/firefox-26.0.tar.bz2
Simply start downloading with Firefox built-in downloader (and pause) then open your Download Manager (CTRL+SHIFT+Y) and "Copy source address" :wall:
You have mind and feelings. Be wise and clever.

User avatar
phhpro
Full of knowledge
Full of knowledge
Posts: 543
Joined: 10 Nov 2013, 20:35
Distribution: .

Re: [UNMAINTAINED] Firefox (x64)

Post#29 by phhpro » 22 Dec 2013, 22:42

...
Last edited by phhpro on 03 Feb 2016, 23:17, edited 1 time in total.

User avatar
Rava
Contributor
Contributor
Posts: 4650
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.0 x86_64 + 4.0 i586
Location: Forests of Germany

Re: [UNMAINTAINED] Firefox (x64)

Post#30 by Rava » 24 Dec 2013, 23:09

phhpro wrote:I checked the link, and indeed, it spells i686. Confusing enough. Now, as for my architecture: uname -m = x86_64 NOT i686, which would indicate a 32 bit system. There seems a little merry-go-round happening, since this URL http://releases.mozilla.org/pub/mozilla ... .0.tar.bz2 (28 MiB) should be beyond doubt truly 64 bit. Whereas this URL takes one to i686 32 bit
http://releases.mozilla.org/pub/mozilla ... .0.tar.bz2 (29 MiB)
It makes sense that way... and I managed to create at last a running version of x86-64 FFx with newest Flash, by combining both pBuild, and creating an extra symlink to the flashplayer in ~/.mozilla/plugins...

Now, I should crate a pBuild that combines both FFx and flash... :)
Cheers!
Yours Rava

Post Reply