Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm wanting to find a way build, and also apply, a*.patch file to firefox in a simple way (from CLI using traditional unix and CLI based tools preferably). Looking on google gets a myriad of results that don't seem to help at all.
I'd appreciate any and help as I'm terrible with understanding source code as it is.
Thanks a bunch.
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 3,069
Rep:
have a look at the beyond linux from scratch book ( google it ) it has full instructions to build firefox, beware though you will need at least 6g ram/swap and it will take a couple of hours to compile/link depending on your system
sorry buddy but i am not knowing more about it but i suggest one thing that sometimes you need to restarts your device and it the problem will solve automatically but that will done often times not every-time.
The next patch would create the file
browser/base/content/browser-kde.xul, which already exists! Skipping
patch. 1 out of 1 hunk ignored patching file
browser/base/content/browser.xul Hunk #1 FAILED at 174. Hunk #2 FAILED
at 1198. 2 out of 2 hunks FAILED -- saving rejects to file
browser/base/content/browser.xul.rej patching file browser/base/jar.mn
Reversed (or previously applied) patch detected! Skipping patch. 1 out
of 1 hunk ignored -- saving rejects to file browser/base/jar.mn.rej
patching file browser/components/build/nsModule.cpp Hunk #1 FAILED at 8.
Hunk #2 FAILED at 31. Hunk #3 FAILED at 60. 3 out of 3 hunks FAILED --
saving rejects to file browser/components/build/nsModule.cpp.rej
patching file browser/components/preferences/main.js Hunk #1 FAILED at
12. Hunk #2 FAILED at 572. 2 out of 2 hunks FAILED -- saving rejects to
file browser/components/preferences/main.js.rej patching file
browser/components/shell/moz.build Hunk #1 FAILED at 30. 1 out of 1 hunk
FAILED -- saving rejects to file browser/components/shell/moz.build.rej
The next patch would create the file
browser/components/shell/nsKDEShellService.cpp, which already exists!
Skipping patch. 1 out of 1 hunk ignored The next patch would create the
file browser/components/shell/nsKDEShellService.h, which already exists!
Skipping patch. 1 out of 1 hunk ignored The next patch would create the
file browser/components/shell/nsUnixShellService.cpp, which already
exists! Skipping patch. 1 out of 1 hunk ignored The next patch would
create the file browser/components/shell/nsUnixShellService.h, which
already exists! Skipping patch. 1 out of 1 hunk ignored patching file
browser/installer/package-manifest.in Reversed (or previously applied)
patch detected! Skipping patch. 1 out of 1 hunk ignored -- saving
rejects to file browser/installer/package-manifest.in.rej
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 3,069
Rep:
this patch is not suitable for the firefox version you are trying to compile it patches fine on version 36.0.1, what version of firefox are you trying to patch? do you have the src archive because if you are trying to patch an archive with the firefox binary's it wont work.
this patch is not suitable for the firefox version you are trying to compile it patches fine on version 36.0.1, what version of firefox are you trying to patch? do you have the src archive because if you are trying to patch an archive with the firefox binary's it wont work.
Whoops, messed up the first time as I had the wrong source.
I'm using firefox-36.0.1.source.tar.bz2 now which I untared and tried to patch; gave the same error.
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 3,069
Rep:
The only other thing is that mozilla has made minor updates to the source without bumping the version number which is not unknown or you have some how corrupted the patch try downloading it with wget like so
Make sure you remove the mozilla-release folder, re extract the source and try again, make sure you run te patch before making any changes to the contents of the mozilla-release folder.
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 3,069
Rep:
A mozconfig file is recommended because of the large number of options though I have on occasion built firefox using ./configure --prefix=/usr ... , but I would stick to using the config file method.
Don't forget to mark the thread as solved, and give my ego a rub and click the "Did you find this post helpful? Yes" link.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.