-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Firefox #427
base: master
Are you sure you want to change the base?
Add Firefox #427
Conversation
Currently it fails with:
The error is quite amusing: |
Now it fails with:
My compilers are too old. I am rerunning this with my gcc 4.9 compilers from Hashdist. |
Even if gcc 4.9 is in my PATH, I think the PATH is stripped by Hashdist. So I need to probably put my build environment to the prologue. |
Ok, I just used this temporary local patch: diff --git a/pkgs/firefox.yaml b/pkgs/firefox.yaml
index d5ca3de..7821da6 100644
--- a/pkgs/firefox.yaml
+++ b/pkgs/firefox.yaml
@@ -14,6 +14,7 @@ build_stages:
mkdir build2 # build exists
cd build2
export SHELL=/bin/bash
+ export PATH=/home/certik/repos/hashstack/basis/bin:$PATH
../configure --prefix=$ARTIFACT
make -j ${HASHDIST_CPU_COUNT} Now it fails with missing GTK:
So we'll have to compile that first. |
gtk may introduce a few dependencies, it may require that a bunch of x11 libs to be installed. it might be worth trying to capture these and write down the requirements into a readme file. |
I think it might be similar to the Qt package, which we already have in Hashdist. |
I'm at a point where I am interested in gtk2 for another package which might progress this along, any interest in gtk2 into hashstack? |
Yes, we should have gtk2 in Hashstack, just like we have Qt. I don't have time currently to work on it, but I'll be happy to test your PR if you send one. |
The package should now build. I am still struggling with one dependency to gtk2 on my machine, so I can't test it yet. @ahmadia any objections against merging this, so that others can work on it from master? |
Hi @certik - Sorry for the radio silence on this. Have you had a chance to fix the gtk2 dependency? |
I am back on it. Pixman fails (#670), so I can't build |
Another problem: #674. |
My browser is too old, so it'd be nice to be able to compile the latest Firefox. Here is info how to compile it:
http://www.linuxfromscratch.org/blfs/view/svn/xsoft/firefox.html