You are not logged in.

#1 2009-03-30 14:38:36

architech
Member
Registered: 2009-03-26
Posts: 16

FireFox-3.0.8-PKGBUILD+Patches.tar

30kb

http://www.sendspace.com/file/etuvk3

You will need the tar, but here's what the PKGBUILD looks like

# $Id: PKGBUILD 29299 2009-03-07 20:24:14Z jgc $
# Contributor: Jakub Schmidtke <sjakub@gmail.com>
#
# Architech @ bbs.archlinux.org
#
# FireFox 3.0.8-1 PKGBUILD
# based on FireFox 3.0.7 PKGBUILD by Jakub Schmidtke <sjakub@gmail.com>

pkgname=firefox
pkgver=3.0.8
pkgrel=1
pkgdesc="Standalone web browser from mozilla.org"
arch=(i686 x86_64)
license=('MPL' 'GPL' 'LGPL')
depends=('xulrunner=1.9.0.7' 'desktop-file-utils')
makedepends=('zip' 'pkgconfig' 'diffutils' 'libgnomeui>=2.24.0' 'python' 'xorg-server')
replaces=('firefox3')
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
        firefox.desktop
        firefox-safe.desktop
        mozilla-firefox-1.0-lang.patch
    mozbug421977.patch
    firefox-appversion.patch)
md5sums=('5fb6c6f3e973516df83a573348377a2f'
         '8b6e5f7d0a9e3f64747a024cf8f12069'
         '68cf02788491c6e846729b2f2913bf79'
         '5e68cabfcf3c021806b326f664ac505e'
         'bd5db57c23c72a02a489592644f18995'
         '7976e3ff52e01af3388dfc3a479c4955'
         'c6f27fca2e6bd2a570b271ec3ce35782')

build() {
  cd ${srcdir}/mozilla

  patch -Np1 -i ${srcdir}/mozilla-firefox-1.0-lang.patch || return 1

  # FS#10836: fixes backgroundcolor parsing with gnome
  patch -Np0 -i ${srcdir}/mozbug421977.patch || return 1

  patch -Np1 -i ${srcdir}/firefox-appversion.patch || return 1

  cp ${srcdir}/mozconfig .mozconfig

  unset CFLAGS
  unset CXXFLAGS

  export LDFLAGS="-Wl,-rpath,/usr/lib/firefox-3.0"

  LD_PRELOAD="" /usr/bin/Xvfb -nolisten tcp -extension GLX :99 &
  XPID=$!
  export DISPLAY=:99

  LD_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 1

  rm -f ${pkgdir}/usr/lib/firefox-3.0/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.desktop ${pkgdir}/usr/share/applications/ || return 1
  install -m644 ${srcdir}/firefox-safe.desktop ${pkgdir}/usr/share/applications/ || return 1
}

Last edited by architech (2009-03-30 14:42:36)

Offline

#2 2009-03-30 15:13:29

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: FireFox-3.0.8-PKGBUILD+Patches.tar

hmm. what's the point? we have firefox 3.0.8 in our repo


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2009-03-30 15:41:25

mike_93
Member
Registered: 2009-01-31
Posts: 60

Re: FireFox-3.0.8-PKGBUILD+Patches.tar

it's got patches! tongue


Double booting Arch Linux and Linux Mint
Reader of XKCD

Offline

#4 2009-03-30 15:58:07

Dinth
Member
From: London
Registered: 2009-03-02
Posts: 238

Re: FireFox-3.0.8-PKGBUILD+Patches.tar

Isnt it better to ask aur package maintainer to include patches, or make own aur package with patches included ? smile

Offline

#5 2009-03-30 15:58:21

barjo
Member
Registered: 2006-02-20
Posts: 33

Re: FireFox-3.0.8-PKGBUILD+Patches.tar

Seriously, you know it is crisis when a geek is unable to self host a 30kb file

____
Web apps are apps too, stop links to crappy websites.

Last edited by barjo (2009-03-30 15:58:53)

Offline

#6 2009-03-30 17:32:00

Wintervenom
Member
Registered: 2008-08-20
Posts: 1,011

Re: FireFox-3.0.8-PKGBUILD+Patches.tar

Or put it in the AUR.

Offline

#7 2009-03-30 18:29:30

scottuss
Member
From: England
Registered: 2009-02-20
Posts: 77

Re: FireFox-3.0.8-PKGBUILD+Patches.tar

wonder wrote:

hmm. what's the point? we have firefox 3.0.8 in our repo

I'm confused! I'm running 3.0.7 and I have pacman up to date, I checked my mirror and it's synced a couple of hours ago.

Is the latest version definitely in there?

Edit: I've also just checked and the package is listed as being in Extra. Now I'm really confused! lol

Last edited by scottuss (2009-03-30 18:36:34)

Offline

#8 2009-03-30 19:37:42

barjo
Member
Registered: 2006-02-20
Posts: 33

Re: FireFox-3.0.8-PKGBUILD+Patches.tar

scottuss> 3.0.8 for i686 has just been uploaded.

Offline

#9 2009-03-30 19:57:26

Neo_The_User
Member
From: The Matrix
Registered: 2009-03-30
Posts: 96
Website

Re: FireFox-3.0.8-PKGBUILD+Patches.tar

I just ran pacman -Syy then -Syu then -Sy firefox.... still 3.0.7 over here on i686. Thank you architect!


AMD Phenom II X4 955 with Optimized Kernel
5 GB DDR2 RAM
320 GB SATA Hard Drive + 160 GB SATA Hard Drive
ATi RadeonHD 5830 GIGABYTE

Offline

#10 2009-03-30 20:09:55

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: FireFox-3.0.8-PKGBUILD+Patches.tar

neo, try a different mirror. Use rankmirrors and/or Mirror Status to help you choose a good one.

Offline

#11 2009-03-30 20:12:43

Neo_The_User
Member
From: The Matrix
Registered: 2009-03-30
Posts: 96
Website

Re: FireFox-3.0.8-PKGBUILD+Patches.tar

I tried all the US mirrors. hmm
I use rankmirrors or mirrorselect to find the fastest ones. Even though the official ftp://arch repo is throttled at 50 KBPS, is it updated the most?

Last edited by Neo_The_User (2009-03-30 20:51:24)


AMD Phenom II X4 955 with Optimized Kernel
5 GB DDR2 RAM
320 GB SATA Hard Drive + 160 GB SATA Hard Drive
ATi RadeonHD 5830 GIGABYTE

Offline

#12 2009-03-31 07:44:17

architech
Member
Registered: 2009-03-26
Posts: 16

Re: FireFox-3.0.8-PKGBUILD+Patches.tar

I would of kept it to my self if I would of known it would cause such an uproar.

Last edited by architech (2009-03-31 07:56:16)

Offline

#13 2009-03-31 08:35:13

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: FireFox-3.0.8-PKGBUILD+Patches.tar

Neo_The_User wrote:

I tried all the US mirrors. hmm
I use rankmirrors or mirrorselect to find the fastest ones. Even though the official ftp://arch repo is throttled at 50 KBPS, is it updated the most?

No, other mirrors are updated more regularly.  See http://users.archlinux.de/~gerbra/mirrorcheck.html

Offline

#14 2009-03-31 16:54:03

Neo_The_User
Member
From: The Matrix
Registered: 2009-03-30
Posts: 96
Website

Re: FireFox-3.0.8-PKGBUILD+Patches.tar

The mirrors I use were all updated last than a few hours. hmm

Anyway, Firefox 3.0.8 is installed via pacman now after running -Syy -Syu -Sy firefox (i know running all 3 is unncecessary)

Cheers!


AMD Phenom II X4 955 with Optimized Kernel
5 GB DDR2 RAM
320 GB SATA Hard Drive + 160 GB SATA Hard Drive
ATi RadeonHD 5830 GIGABYTE

Offline

Board footer

Powered by FluxBB