You are not logged in.
Can someone please make pkgbuild for new FF beta, but to use source and compile it.
Packets in aur are i688 and x68_64 specific and use i686 build made by mozilla.
This package that i propose can replace them both. And can be updated with every new beta or RC...
There is source ftp://ftp.mozilla.org/pub/firefox/relea … b4/source/
And here are MD5 sums ftp://ftp.mozilla.org/pub/firefox/relea … b4/MD5SUMS
And please dont place line "replace firefox3" so it can be used parallel with old firefox.
Thanks in advance.
Offline
there is such a build. take a look at comments also.
Give what you have. To someone, it may be better than you dare to think.
Offline
there is such a build. take a look at comments also.
Yep, tried that long time ago. Did not work. And it is tweaked. Not official.
Offline
Yep, tried that long time ago. Did not work. And it is tweaked. Not official.
then do it yourself.
you have the source and i see that you have the knowledge
Give what you have. To someone, it may be better than you dare to think.
Offline
No I dont, that why I asked someone.
Tried to play with both firefox-pgo and firefox-optimized pkgbuilds to figure out what I need to edit. But it dont know about that with C flags etc...
Offline
This puppy is not building properly (custom mozconfig) through ten builds, I'll keep on trying...
Last edited by adamlau (2009-04-29 11:02:41)
Arch Linux + sway
Debian Testing + GNOME/sway
NetBSD 64-bit + Xfce
Offline
pkgname=firefox-beta
pkgver=3.5b4
pkgrel=1
pkgdesc="Standalone web browser from mozilla.org"
arch=('i686' 'x86_64')
license=('MPL' 'GPL' 'LGPL')
depends=('desktop-file-utils' 'libxt' 'mime-types' 'nss' 'shared-mime-info')
makedepends=('zip' 'pkgconfig' 'diffutils' 'python' 'xorg-server' 'patch' 'make' 'gcc')
provides=('firefox-3.5b4')
install=firefox.install
url="http://www.mozilla.org/projects/firefox"
source=(
ftp://ftp.mozilla.org/pub/firefox/relea … ce.tar.bz2
mozconfig
firefox-beta.desktop
firefox-beta-safe.desktop
mozilla-firefox-1.0-lang.patch
)
md5sums=(
'ff6bf463300cb56bcf750973b2af3d80'
'5b1024bc36208f2e8fb9a03bf724fb69'
'745e6f4aaf4df6094a2d1280fa49bb00'
'8530022da9f9f58dc10fe651bf160b1c'
'bd5db57c23c72a02a489592644f18995'
)build() {
cd ${srcdir}/mozilla-1.9.1
patch -Np1 -i ${srcdir}/mozilla-firefox-1.0-lang.patch || return 1cp ${srcdir}/mozconfig .mozconfig
unset CFLAGS
unset CXXFLAGS
export LDFLAGS="-Wl,-rpath,/usr/lib/firefox-${pkgver}"
LD_PRELOAD="" /usr/bin/Xvfb -nolisten tcp -extension GLX :99 &
XPID=$!
export DISPLAY=:99LD_PRELOAD="" make -j1 -f client.mk profiledbuild MOZ_MAKE_FLAGS="${MAKEFLAGS}" || return 1
kill $XPID
make -j1 DESTDIR=${pkgdir} -C ff-opt-obj install || return 1rm -f ${pkgdir}/usr/lib/firefox-${pkgver}/libjemalloc.so
install -m755 -d ${pkgdir}/usr/share/applications
install -m755 -d ${pkgdir}/usr/share/pixmaps
install -m644 ${srcdir}/mozilla/browser/branding/unofficial/default48.png ${pkgdir}/usr/share/pixmaps/firefox.png || return 1
install -m644 ${srcdir}/firefox-beta.desktop ${pkgdir}/usr/share/applications/ || return 1
install -m644 ${srcdir}/firefox-beta-safe.desktop ${pkgdir}/usr/share/applications/ || return 1
}
It wont compile. This is modified firefox-optimized pkgbuild.
I know I've missed something in the build section but I'm not sure what.
Tried with the firefox-beta-pgo build section but with no success.
Please help.
Note: I've used firefox-optimized mozconfig. Could that be it?
Last edited by ammon (2009-04-29 23:51:38)
Offline
install -m644 ${srcdir}/mozilla/browser/branding/unofficial/default48.png ${pkgdir}/usr/share/pixmaps/firefox.png || return 1
This will throw a error, because the path is not correct.
Change it to:
install -m644 ${srcdir}/mozilla-1.9.1/browser/branding/unofficial/default48.png ${pkgdir}/usr/share/pixmaps/firefox.png || return 1
Offline
Tried that one. This is the output.
make[8]: *** [nsGNOMEShellService.o] Error 1
make[8]: Leaving directory `/home/ammon/abs/firefox-3.5b4/src/mozilla-1.9.1/ff-opt-obj/browser/components/shell/src'
make[7]: *** [libs] Error 2
make[7]: Leaving directory `/home/ammon/abs/firefox-3.5b4/src/mozilla-1.9.1/ff-opt-obj/browser/components/shell'
make[6]: *** [libs] Error 2
make[6]: Leaving directory `/home/ammon/abs/firefox-3.5b4/src/mozilla-1.9.1/ff-opt-obj/browser/components'
make[5]: *** [libs] Error 2
make[5]: Leaving directory `/home/ammon/abs/firefox-3.5b4/src/mozilla-1.9.1/ff-opt-obj/browser'
make[4]: *** [libs_tier_app] Error 2
make[4]: Leaving directory `/home/ammon/abs/firefox-3.5b4/src/mozilla-1.9.1/ff-opt-obj'
make[3]: *** [tier_app] Error 2
make[3]: Leaving directory `/home/ammon/abs/firefox-3.5b4/src/mozilla-1.9.1/ff-opt-obj'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/home/ammon/abs/firefox-3.5b4/src/mozilla-1.9.1/ff-opt-obj'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/ammon/abs/firefox-3.5b4/src/mozilla-1.9.1'
make: *** [profiledbuild] Error 2Offline
pkgname=firefox-beta
pkgver=3.5b4
pkgrel=1
pkgdesc="Standalone web browser from mozilla.org"
arch=('i686' 'x86_64')
license=('MPL' 'GPL' 'LGPL')
depends=('desktop-file-utils' 'libxt' 'mime-types' 'nss' 'shared-mime-info')
makedepends=('zip' 'pkgconfig' 'diffutils' 'python' 'xorg-server' 'patch' 'make' 'gcc')
provides=('firefox-3.5b4')
install=firefox.install
url="http://www.mozilla.org/projects/firefox"
source=(
ftp://ftp.mozilla.org/pub/firefox/relea … ce.tar.bz2
mozconfig
firefox-beta.desktop
firefox-beta-safe.desktop
mozilla-firefox-1.0-lang.patch
)
md5sums=(
'ff6bf463300cb56bcf750973b2af3d80'
'5b1024bc36208f2e8fb9a03bf724fb69'
'745e6f4aaf4df6094a2d1280fa49bb00'
'8530022da9f9f58dc10fe651bf160b1c'
'bd5db57c23c72a02a489592644f18995'
)build() {
cd ${srcdir}/mozilla-1.9.1
patch -Np1 -i ${srcdir}/mozilla-firefox-1.0-lang.patch || return 1cp ${srcdir}/mozconfig .mozconfig
unset CFLAGS
unset CXXFLAGS
export LDFLAGS="-Wl,-rpath,/usr/lib/firefox-${pkgver}"
LD_PRELOAD="" /usr/bin/Xvfb -nolisten tcp -extension GLX :99 &
XPID=$!
export DISPLAY=:99LD_PRELOAD="" make -j1 -f client.mk profiledbuild MOZ_MAKE_FLAGS="${MAKEFLAGS}" || return 1
kill $XPID
make -j1 DESTDIR=${pkgdir} -C ff-opt-obj install || return 1rm -f ${pkgdir}/usr/lib/firefox-${pkgver}/libjemalloc.so
install -m755 -d ${pkgdir}/usr/share/applications
install -m755 -d ${pkgdir}/usr/share/pixmaps
install -m644 ${srcdir}/mozilla/browser/branding/unofficial/default48.png ${pkgdir}/usr/share/pixmaps/firefox.png || return 1
install -m644 ${srcdir}/firefox-beta.desktop ${pkgdir}/usr/share/applications/ || return 1
install -m644 ${srcdir}/firefox-beta-safe.desktop ${pkgdir}/usr/share/applications/ || return 1
}It wont compile. This is modified firefox-optimized pkgbuild.
I know I've missed something in the build section but I'm not sure what.
Tried with the firefox-beta-pgo build section but with no success.
Please help.Note: I've used firefox-optimized mozconfig. Could that be it?
maybe you should start with posting the error you got. [edit] you did it while i was posting but... you need to copy/paste a bit earlier in the build process. this is unfortunately useless. [/edit]
But it dont know about that with C flags etc...
no worries:
unset CFLAGS
unset CXXFLAGS
even if, FTR, it works with custom CFLAGS
Last edited by bangkok_manouel (2009-04-30 13:47:43)
Offline
3.0.10 PGO and 3.5b4 build w/o issue, 3.5b4 PGO does not. Have tried about 15 diff mozconfigs, no go, diff errors depending on options used.
Arch Linux + sway
Debian Testing + GNOME/sway
NetBSD 64-bit + Xfce
Offline
Give what you have. To someone, it may be better than you dare to think.
Offline
That patch may be the ticket, will try it out tonight...
Arch Linux + sway
Debian Testing + GNOME/sway
NetBSD 64-bit + Xfce
Offline
Yep, it works. I use it right now. Fantastic!
Offline
That patch may be the ticket, will try it out tonight...
I've been having trouble building the 3.5beta4 PGO. Did you ever get this to work properly.
I usually build with the blasse PGO package but it won't build since 3.1b3: http://aur.archlinux.org/packages.php?ID=22919
I've also tried this one: http://aur.archlinux.org/packages.php?ID=26057 as PGO and I keep getting the same error:
make[7]: *** [libbrowsercomps.so] Error 1
make[7]: Leaving directory `/tmp/pacbuilder/build/firefox-3.5/src/mozilla-1.9.1/ff-opt-obj/browser/components/build'
make[6]: *** [libs] Error 2
make[6]: Leaving directory `/tmp/pacbuilder/build/firefox-3.5/src/mozilla-1.9.1/ff-opt-obj/browser/components'
make[5]: *** [libs] Error 2
make[5]: Leaving directory `/tmp/pacbuilder/build/firefox-3.5/src/mozilla-1.9.1/ff-opt-obj/browser'
make[4]: *** [libs_tier_app] Error 2
make[4]: Leaving directory `/tmp/pacbuilder/build/firefox-3.5/src/mozilla-1.9.1/ff-opt-obj'
make[3]: *** [tier_app] Error 2
make[3]: Leaving directory `/tmp/pacbuilder/build/firefox-3.5/src/mozilla-1.9.1/ff-opt-obj'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/tmp/pacbuilder/build/firefox-3.5/src/mozilla-1.9.1/ff-opt-obj'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/tmp/pacbuilder/build/firefox-3.5/src/mozilla-1.9.1'
make: *** [profiledbuild] Error 2Last edited by methuselah (2009-05-03 05:01:44)
Offline
adamlau wrote:That patch may be the ticket, will try it out tonight...
I've been having trouble building the 3.5beta4 PGO. Did you ever get this to work properly.
I usually build with the blasse PGO package but it won't build since 3.1b3: http://aur.archlinux.org/packages.php?ID=22919
I've also tried this one: http://aur.archlinux.org/packages.php?ID=26057 as PGO and I keep getting the same error:
make[7]: *** [libbrowsercomps.so] Error 1 make[7]: Leaving directory `/tmp/pacbuilder/build/firefox-3.5/src/mozilla-1.9.1/ff-opt-obj/browser/components/build' make[6]: *** [libs] Error 2 make[6]: Leaving directory `/tmp/pacbuilder/build/firefox-3.5/src/mozilla-1.9.1/ff-opt-obj/browser/components' make[5]: *** [libs] Error 2 make[5]: Leaving directory `/tmp/pacbuilder/build/firefox-3.5/src/mozilla-1.9.1/ff-opt-obj/browser' make[4]: *** [libs_tier_app] Error 2 make[4]: Leaving directory `/tmp/pacbuilder/build/firefox-3.5/src/mozilla-1.9.1/ff-opt-obj' make[3]: *** [tier_app] Error 2 make[3]: Leaving directory `/tmp/pacbuilder/build/firefox-3.5/src/mozilla-1.9.1/ff-opt-obj' make[2]: *** [default] Error 2 make[2]: Leaving directory `/tmp/pacbuilder/build/firefox-3.5/src/mozilla-1.9.1/ff-opt-obj' make[1]: *** [build] Error 2 make[1]: Leaving directory `/tmp/pacbuilder/build/firefox-3.5/src/mozilla-1.9.1' make: *** [profiledbuild] Error 2
You didn't post the actual error message. It should be higher in the output.
Offline
You didn't post the actual error message. It should be higher in the output.
Sorry. I didn't realize that and I'm not sure where that first error was. I was able to build that package once I stopped adding my own exported LDFLAGS, and I also removed the 'nss-new' AUR package and replaced it with the new version of 'nss' from the extra repo.
However, for a PGO build it only took 3-5 minutes to build.... so I'm not sure if it really built as a PGO since that other Firefox-PGO package takes over 1 hour to compile.
Offline
It may be possible - my PGO built without standalone Xulrunner. That makes compiling much longer, but you don't need to compile separate xul ![]()
Proud ex-maintainer of firefox-pgo
Offline
3-5 minutes? No way you built a PGO build. Even my Opteron box took about 30 minutes before the profile script started (and eventually failed) for 3.5b4.
Arch Linux + sway
Debian Testing + GNOME/sway
NetBSD 64-bit + Xfce
Offline
Snowman wrote:You didn't post the actual error message. It should be higher in the output.
Sorry. I didn't realize that and I'm not sure where that first error was. I was able to build that package once I stopped adding my own exported LDFLAGS, and I also removed the 'nss-new' AUR package and replaced it with the new version of 'nss' from the extra repo.
However, for a PGO build it only took 3-5 minutes to build.... so I'm not sure if it really built as a PGO since that other Firefox-PGO package takes over 1 hour to compile.
It is extremely likely that you did a PGO build of the front-end (official Arch packages are like this too), which is pretty useless.
Offline
Most of AUR Firefox pkgs build just front-end. Optimizing it is pretty useless. Optimizing makes sense when building xulrunner or standalone application without xulrunner ![]()
Proud ex-maintainer of firefox-pgo
Offline
Is firefox any faster without xulrunner (PGO package) or with it. I use ff 3.5b4 with custom compiled xulrunner. Performance is very, very good if matched with old ff.
Offline
PGO is much faster than normal build. It doesn't matter if you compile xulrunner with pgo or standalone ff with pgo. It's just a matter of your preferences.
EG. I'm using only one mozilla app - ff. So I don't need standalone xulrunner. That's why I packaged standalone ff. If someone is using FF, Thunderbird or anything more than one Mozilla app - standalone xulrunner is probably better ![]()
Last edited by blasse (2009-05-04 10:25:56)
Proud ex-maintainer of firefox-pgo
Offline
methuselah wrote:Snowman wrote:You didn't post the actual error message. It should be higher in the output.
Sorry. I didn't realize that and I'm not sure where that first error was. I was able to build that package once I stopped adding my own exported LDFLAGS, and I also removed the 'nss-new' AUR package and replaced it with the new version of 'nss' from the extra repo.
However, for a PGO build it only took 3-5 minutes to build.... so I'm not sure if it really built as a PGO since that other Firefox-PGO package takes over 1 hour to compile.
It is extremely likely that you did a PGO build of the front-end (official Arch packages are like this too), which is pretty useless.
Yeah, I figured that was the case since a profile-guided build will usually take over an hour on my computer.... I just didn't want to sound arrogant about it since it did have "client.mk profiledbuild" in the PKGBUILD.... so I just did a quick benchmark and then removed the package (barely faster than my proper pgo 3.1b3).....
Another quick question.... what does the ubuntu patch do for this 3.5 package?
Offline
3-5 minutes? No way you built a PGO build. Even my Opteron box took about 30 minutes before the profile script started (and eventually failed) for 3.5b4.
Yeah, I knew that.... 3.1b2 and 3.1b3 have both taken 1 hour+ to finish with my AMD Turion 64 X 2 running at 100% CPU for most of the build..... I was just trying to be polite about it. I had actually edited my comment from:
..... so I don't think it really built as a PGO since that other Firefox-PGO package takes over 1 hour to compile.
to:
..... so I'm not sure if it really built as a PGO since that other Firefox-PGO package takes over 1 hour to compile.
Offline