You are not logged in.
I'm using the firefox4 package from the AUR and currently have my own firefox3 package installed in /opt (because I use an extension for my research which I don't want to update yet). Thinking ahead, once firefox4 is released some people may still want firefox3, but alongside firefox4.
Here's my current PKGBUILD and mozconfig. Patches are directly from the package in [extra].
# Maintainer: Ng Oon-Ee < n g o o n e e AT g m a i l>
# Source: firefox build in [extra]
pkgname=firefox3
pkgver=3.6.14
pkgrel=1
_xulver=1.9.2.14
pkgdesc="Standalone web browser from mozilla.org. This build installs in /opt and does not interfere with your system firefox (allowing for installing of a different version as your main browser)."
arch=('i686' 'x86_64')
license=('MPL' 'GPL' 'LGPL')
depends=("xulrunner=${_xulver}" 'desktop-file-utils')
makedepends=('zip' 'pkg-config' 'diffutils' 'libgnomeui>=2.24.1' 'python2' 'wireless_tools' 'autoconf2.13')
install=firefox.install
url="http://www.mozilla.org/projects/firefox"
source=(http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${pkgver}/source/firefox-${pkgver}.source.tar.bz2
mozconfig
firefox3.desktop
firefox3-safe.desktop
mozilla-firefox-1.0-lang.patch
browser-defaulturls.patch
firefox-version.patch
firefox-agent.patch
python2.7.patch)
md5sums=('ab0d00cd33e6b2388429dda1c01abd01'
'ca385167401b98ef7adc6529e4b53205'
'7918f4aa616cce0c2a51522eb8724a4e'
'79c2b227d1874d9f54abd94dbd9e5f34'
'bd5db57c23c72a02a489592644f18995'
'1807651225b021e043154f8bba715a19'
'92c11c66dd69b03f214002fededd1fc8'
'f437e94acff8f810991271ef4677d859'
'ab3dc9aecae7f08b9492fb3c00a5fd28')
build() {
cd "${srcdir}/mozilla-1.9.2"
patch -Np1 -i "${srcdir}/mozilla-firefox-1.0-lang.patch"
patch -Np1 -i "${srcdir}/browser-defaulturls.patch"
patch -Np1 -i "${srcdir}/firefox-version.patch"
patch -Np1 -i "${srcdir}/firefox-agent.patch"
patch -Np0 -i "${srcdir}/python2.7.patch"
cp "${srcdir}/mozconfig" .mozconfig
unset CFLAGS
unset CXXFLAGS
export LDFLAGS="-Wl,-rpath,/usr/lib/firefox-3.6"
autoconf-2.13
make -j1 -f client.mk build MOZ_MAKE_FLAGS="${MAKEFLAGS}"
make -j1 DESTDIR="${pkgdir}/opt" install
rm -f ${pkgdir}/opt/usr/lib/firefox-3.6/libjemalloc.so
rm -Rf ${pkgdir}/opt/usr/bin
install -m755 -d ${pkgdir}/usr/share/{applications,pixmaps}
install -m644 ${srcdir}/mozilla-1.9.2/browser/branding/unofficial/default48.png ${pkgdir}/usr/share/pixmaps/firefox3.png
install -m644 ${srcdir}/firefox3.desktop ${pkgdir}/usr/share/applications/firefox3.desktop
install -m644 ${srcdir}/firefox3-safe.desktop ${pkgdir}/usr/share/applications/firefox3-safe.desktop
install -m755 -d ${pkgdir}/usr/bin
ln -s /opt/usr/lib/firefox-3.6/firefox ${pkgdir}/usr/bin/${pkgname}
}
. $topsrcdir/browser/config/mozconfig
ac_add_options --prefix=/usr
ac_add_options --libdir=/usr/lib
ac_add_options --with-system-nspr
ac_add_options --with-system-nss
ac_add_options --with-system-jpeg
ac_add_options --with-system-zlib
ac_add_options --with-system-png
ac_add_options --with-pthreads
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --enable-optimize
ac_add_options --disable-installer
ac_add_options --enable-xinerama
ac_add_options --enable-default-toolkit=cairo-gtk2
ac_add_options --disable-xprint
ac_add_options --enable-strip
ac_add_options --enable-pango
#ac_add_options --enable-system-cairo
ac_add_options --enable-svg
ac_add_options --enable-canvas
ac_add_options --enable-startup-notification
ac_add_options --enable-libxul
ac_add_options --disable-crashreporter
ac_add_options --disable-updater
ac_add_options --with-libxul-sdk=/usr/lib/xulrunner-devel-1.9.2
ac_add_options --enable-safe-browsing
ac_add_options --with-branding=browser/branding/unofficial
export BUILD_OFFICIAL=1
export MOZILLA_OFFICIAL=1
export USE_SHORT_LIBNAME=1
mk_add_options BUILD_OFFICIAL=1
mk_add_options MOZILLA_OFFICIAL=1
mk_add_options USE_SHORT_LIBNAME=1
I've tried commenting the --with-libxul-sdk line to compile with builtin xulrunner but it doesn't work. Had some errors relating to libpng which I solved by adding xulrunner-version.patch and xulrunner-png14.patch from the xulrunner package in [extra], but it craps out. Forgot to take the actual error message, but its something like
target file `firefox' has both : and :: entries. Stop.
I know firefox-pgo (for instance) builds with its own xulrunner and doesn't depend on installed xulrunner version, but as far as I can tell the only changes are removing that above line and adding xulrunner patches. Some help, please?
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
Figured it out, removing USE_SHORT_LIBNAME fixes it. Uploaded here:- http://aur.archlinux.org/packages.php?ID=15638
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline