You are not logged in.

#1 2004-09-25 19:27:45

Celti
Member
From: Phoenix, AZ, USA
Registered: 2004-02-28
Posts: 43
Website

[NEW] Mozilla Firefox 0.10/1.0PR

I've made a package for Firefox 0.10, as the maintainer for Firefox seems to be having a bit 'o trouble...

# Contributed by: Patrick Burroughs <celticmadman@gmail.com>

pkgname=mozilla-firefox
pkgver=0.10
pkgrel=1
pkgdesc="Standalone web browser from mozilla.org"
makedepends=('zip')
depends=('gtk2' 'libidl2' 'gcc' 'mozilla-common')
replaces=('mozilla-firebird' 'phoenix')
url="http://www.mozilla.org/projects/firefox"
source=(ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$pkgver/firefox-1.0PR-source.tar.bz2 
        mozilla-firefox.run 
    mozilla-firefox-nonroot.tar.gz)
md5sums=('b81ebc5f01448313add23ed44c47cf5e' 
     'f2a2a21b3198b9370f03e1fbd3864fd2' 
         'bb672231ea6d32302e4cd40190eb2742')

build() {
    cd $startdir/src/mozilla
    export MOZILLA_OFFICIAL="1" &&
    export BUILD_OFFICIAL="1" &&
    export MOZ_PHOENIX="1" &&
    ./configure --prefix=/opt/mozilla-firefox 
        --with-default-mozilla-five-home=/opt/mozilla-firefox 
        --with-system-jpeg 
        --with-system-zlib 
        --with-system-png 
        --with-system-mng 
        --with-pthreads 
        --without-system-nspr 
        --enable-default-toolkit=gtk2 
        --enable-nspr-autoconf 
        --enable-xft 
        --enable-crypto 
        --enable-xinerama 
        --enable-official-branding 
        --enable-single-profile 
        --enable-extensions=all 
        --enable-optimize="$CFLAGS" 
        --enable-reorder 
        --enable-strip 
        --enable-cpp-rtti 
        --disable-composer 
        --disable-installer 
        --disable-tests 
        --disable-debug 
        --disable-logging 
        --disable-activex 
        --disable-activex-scripting 
        --disable-mailnews 
        --disable-pedantic 
        --disable-freetype2 
        --disable-profilesharing &&

    make &&
    mkdir -p $startdir/pkg/opt/$pkgname $startdir/pkg/usr/bin
    make DESTDIR=$startdir/pkg install &&
    install -m755 $startdir/src/mozilla-firefox.run $startdir/pkg/usr/bin/mozilla-firefox

    install -d $startdir/pkg/opt/$pkgname/include/firefox-0.10/nss &&
    cp -Lf dist/private/nss/*.h dist/public/nss/*.h 
    $startdir/pkg/opt/$pkgname/include/firefox-0.10/nss &&
    chown -R root:root $startdir/pkg/opt/$pkgname/include/firefox-0.10/nss &&
    ln -sf $startdir/pkg/opt/$pkgname/bin/firefox $startdir/pkg/usr/bin/firefox

    cd $startdir/pkg/opt/$pkgname/lib/firefox-$pkgver/
    tar zxf $startdir/src/mozilla-firefox-nonroot.tar.gz || return 1
}

It also needs mozilla-firefox-nonroot.tar.gz & mozilla-firefox.run from the build files for 0.9.3-2. I have put these two files and the PKGBUILD in a .tar.bz2, available here. Please be nice to it, that's just my fairly crappy home connection, and if someone could host this file elsewhere, I would greatly appreciate it.

I hope you all like it.

-Celti

--edit--
I changed the URL, it's now hosted off of my ISP's webspace (forgot I had that). You can be cruel to the connection now. :twisted:

-Celti


“A stupid person can make only certain, limited types of errors; the mistakes open to a clever fellow are far broader. But to the one who knows how smart he is compared to everyone else, the possibilities for true idiocy are boundless.”  —S.K.Z. Brust

Offline

#2 2004-09-25 23:09:06

hyp0luxa
Member
From: Miami, FL
Registered: 2004-07-10
Posts: 70

Re: [NEW] Mozilla Firefox 0.10/1.0PR

thanks celti, now all i need is thunderbird 0.8, which i haven't been able to build  :evil:

Offline

#3 2004-09-26 14:04:43

paranoos
Member
From: thornhill.on.ca
Registered: 2004-07-22
Posts: 442

Re: [NEW] Mozilla Firefox 0.10/1.0PR

big_smile wow, it really works!

Offline

#4 2004-09-26 14:35:51

Celti
Member
From: Phoenix, AZ, USA
Registered: 2004-02-28
Posts: 43
Website

Re: [NEW] Mozilla Firefox 0.10/1.0PR

Yeah... 'cept Find seems to be borked... I'm working on that, and hopefully will fix it soon. Glad you like it, though!

-Celti


“A stupid person can make only certain, limited types of errors; the mistakes open to a clever fellow are far broader. But to the one who knows how smart he is compared to everyone else, the possibilities for true idiocy are boundless.”  —S.K.Z. Brust

Offline

#5 2004-09-27 15:58:04

dadexter
Member
From: Dorval, QC, Canada
Registered: 2004-09-07
Posts: 274
Website

Re: [NEW] Mozilla Firefox 0.10/1.0PR

hyp0luxa wrote:

thanks celti, now all i need is thunderbird 0.8, which i haven't been able to build  :evil:

While you figure it out, you can still use the download from mozilla.org. I use it and it works great

Offline

#6 2004-09-27 16:05:17

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: [NEW] Mozilla Firefox 0.10/1.0PR

ummmm --disable-freetype2???

also, look into passing "-Wl,-O1" to gcc... there's another thread talking about it... it passes opt flags to the linker and improves firefox load times by like 2 seconds....

Offline

#7 2004-09-27 21:30:42

murkus
Member
From: Europe/Helsinki
Registered: 2004-03-19
Posts: 254

Re: [NEW] Mozilla Firefox 0.10/1.0PR

After pacmanning firefox from testing I can't change my preferences. Is there something wrong with permissions?

.murkus

Offline

#8 2004-09-27 23:45:57

LavaPunk
Member
Registered: 2004-03-05
Posts: 129

Re: [NEW] Mozilla Firefox 0.10/1.0PR

I have the same problem, cannot save preferences... file a bug report...

Offline

#9 2004-09-28 00:55:27

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: [NEW] Mozilla Firefox 0.10/1.0PR

With the new version of firefox, you need a new profile.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#10 2004-09-28 02:16:55

hyp0luxa
Member
From: Miami, FL
Registered: 2004-07-10
Posts: 70

Re: [NEW] Mozilla Firefox 0.10/1.0PR

actually, you just need to delete ~/.mozilla/firefox/default.xxx/compreg.dat

this way you don't lose your settings

Offline

#11 2004-09-28 03:00:17

LavaPunk
Member
Registered: 2004-03-05
Posts: 129

Re: [NEW] Mozilla Firefox 0.10/1.0PR

Perhaps that should be added into the pkgbuild?  I deleted my profile and started again.  Darn you Xentac spreading false information tongue
It did fix it for me though, now its working nicely.  Does the same thing apply to thunderbird?

Offline

#12 2004-09-28 07:10:10

murkus
Member
From: Europe/Helsinki
Registered: 2004-03-19
Posts: 254

Re: [NEW] Mozilla Firefox 0.10/1.0PR

LavaPunk wrote:

Perhaps that should be added into the pkgbuild?  I deleted my profile and started again.  Darn you Xentac spreading false information tongue
It did fix it for me though, now its working nicely.  Does the same thing apply to thunderbird?

Nope. It didn't work for thunderbird. Firefox works nicely though! big_smile

.murkus

Offline

#13 2004-09-28 12:41:49

supa
Forum Fellow
From: United States
Registered: 2003-05-19
Posts: 28
Website

Re: [NEW] Mozilla Firefox 0.10/1.0PR

I can edit my profile and never deleted my compreg.dat.
Those of you with problems, have you ever ran firefox as root?

Offline

#14 2004-09-28 13:35:49

murkus
Member
From: Europe/Helsinki
Registered: 2004-03-19
Posts: 254

Re: [NEW] Mozilla Firefox 0.10/1.0PR

supa wrote:

I can edit my profile and never deleted my compreg.dat.
Those of you with problems, have you ever ran firefox as root?

I don't think so, should I have?

.murkus

Offline

#15 2004-09-28 14:30:06

supa
Forum Fellow
From: United States
Registered: 2003-05-19
Posts: 28
Website

Re: [NEW] Mozilla Firefox 0.10/1.0PR

No, I'm just trying to figure out if (when running as root) a compreg.dat (or other files) was created in /opt/mozilla-firefox/

a simple test:

pacman -R mozilla-firefox
find /opt/mozilla-firefox/
pacman -S mozilla-firefox

report the results of the find command back here please.

Offline

Board footer

Powered by FluxBB