You are not logged in.

#1 2004-11-09 10:10:47

luisfeser
Member
From: Spain / España
Registered: 2004-02-21
Posts: 53

Mozilla Firefox 1.0 released

Hello,

Firefox 1.0 has been released big_smile
http://www.mozilla.org/products/firefox/index.html

Any PKGBUILD??

Offline

#2 2004-11-09 15:23:09

valberg
Member
Registered: 2004-09-08
Posts: 10
Website

Re: Mozilla Firefox 1.0 released

why isn't the firefox in current even been updated to 0.10.2 ?
Dale Blount has some work to do wink


./valberg

Offline

#3 2004-11-09 20:41:28

c0ldevil
Member
Registered: 2004-10-10
Posts: 22

Re: Mozilla Firefox 1.0 released

I think he did well not upgrade to 0.10rc2 because it was a testing release and Firefox 1.0 was released a few days later.

Offline

#4 2004-11-09 21:22:50

valberg
Member
Registered: 2004-09-08
Posts: 10
Website

Re: Mozilla Firefox 1.0 released

yeah, you are probably right... but now that 1.0 is out, i want it wink anyone got a PKGBUILD ?


./valberg

Offline

#5 2004-11-09 22:28:45

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: Mozilla Firefox 1.0 released

patience is a virtue.

if you are so impatient then just modify the PKGBUILD in your abs directory and build it yourself.


AKA uknowme

I am not your friend

Offline

#6 2004-11-10 03:34:22

ScottTFrazer
Member
Registered: 2004-10-20
Posts: 47

Re: Mozilla Firefox 1.0 released

I'm impatiently waiting for the official package as well, as I'm still too much of a noob to understand this pkgbuild stuff.

But it helps knowing that the official extensions server is completely overwhelmed with traffic today :-)

Offline

#7 2004-11-10 08:07:51

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: Mozilla Firefox 1.0 released

i looked at the firefox PKGBUILD - it's not something you can dive into cold.  i think it is definitely best to wait for the maintainer on this one!

Offline

#8 2004-11-10 12:33:46

luisfeser
Member
From: Spain / España
Registered: 2004-02-21
Posts: 53

Re: Mozilla Firefox 1.0 released

Yes, i think we must be patient big_smile

I tried to make one PKGBUILD, but i got an error with gcc-3.4, and finally i prefer wait a little.

I think doing a PKGBUILD with the firefox-i686-installer can be more easy, but i so noob in this :oops:

Offline

#9 2004-11-10 20:21:11

ScottTFrazer
Member
Registered: 2004-10-20
Posts: 47

Re: Mozilla Firefox 1.0 released

Okay, I just did the upgrade using this PKGBUILD (I'm so proud, my first pkgbuild)

# $Id: PKGBUILD,v 1.15 2004/10/15 01:48:31 dale Exp $
# Maintainer: Dale Blount <dale@archlinux.org>
# Contributer: Nick Penwarden <toth64@yahoo.com>
pkgname=mozilla-firefox
pkgver=1.0
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/source/firefox-1.0-source.tar.bz2 
        mozilla-firefox.run 
        mozilla-firefox-nonroot.tar.gz 
        mozconfig)
#md5sums=('ff9eae3b90b8573bf44293ea44bf3c50' 
#        'aea53b054e38b177043474670b4472ef' 
#         'c28385288eb9a9cefba21d62d7870cfd' 
#        '9d6f28de23b0603cafdfea95a6d00c28')
md5sums=('49c16a71f4de014ea471be81e46b1da8' 
         'aea53b054e38b177043474670b4472ef' 
         'c28385288eb9a9cefba21d62d7870cfd' 
         '9d6f28de23b0603cafdfea95a6d00c28')

build() {
        cd $startdir/src/mozilla
        sed "s@#CFLAGS#@$CFLAGS@g" $startdir/src/mozconfig >.mozconfig
        export MOZ_PHOENIX=1

        # fix typo (mozilla bug 258177)
        sed -i "s@destdir@DESTDIR@" $startdir/src/mozilla/browser/app/Makefile.in || return 1

        make -f client.mk build || return 1
        mkdir -p $startdir/pkg/opt/$pkgname $startdir/pkg/usr/bin
        make DESTDIR=$startdir/pkg install || return 1

        install -m755 $startdir/src/mozilla-firefox.run $startdir/pkg/usr/bin/mozilla-firefox

        # initialize some data so that firefox will run as a non-root user
        cd $startdir/pkg/opt/$pkgname/lib/firefox-$pkgver/
        tar zxf $startdir/src/mozilla-firefox-nonroot.tar.gz || return 1

        cd $startdir/pkg/opt/$pkgname/lib && ln -sf firefox-$pkgver firefox
        cd $startdir/pkg/opt/$pkgname/include && ln -sf firefox-$pkgver firefox


}

This is just hacking the original PKGBUILD to look for the new source and changing the md5sums.

After installing this, I once again had the problem that launching firefox from /opt/mozilla-firefox/bin/firefox multiple times causes the "create new profile" dialog box to pop up.

I solved this by changing /opt/mozilla-firefox/bin/firefox around line 113 from:

if [ $found = 0 ]; then
  # Check default compile-time libdir
  if [ -x "$moz_libdir/run-mozilla.sh" ]; then
    dist_bin="$moz_libdir"
  else
    echo "Cannot find mozilla runtime directory. Exiting."
    exit 1
  fi
fi

to:

if [ $found = 0 ]; then
  # Check default compile-time libdir
  if [ -x "$moz_libdir/run-mozilla.sh" ]; then
    dist_bin="$moz_libdir"
    run_moz="$dist_bin/run-mozilla.sh"
  else
    echo "Cannot find mozilla runtime directory. Exiting."
    exit 1
  fi
fi

It's worked for me, but I'm a noob and your mileage may vary :-)

Offline

#10 2004-11-11 19:20:51

benoitc
Member
Registered: 2004-11-11
Posts: 62
Website

Re: Mozilla Firefox 1.0 released

ScottTFrazer wrote:

It's worked for me, but I'm a noob and your mileage may vary :-)

It's works for me too smile

He here the patch to do the same thing :

--- firefox-orig    2004-11-11 17:30:50.000000000 +0100
+++ firefox    2004-11-11 20:13:56.000000000 +0100
@@ -110,6 +110,7 @@
   # Check default compile-time libdir
   if [ -x "$moz_libdir/run-mozilla.sh" ]; then
     dist_bin="$moz_libdir"
+    run_moz="$dist_bin/run-mozilla.sh"
   else 
     echo "Cannot find mozilla runtime directory. Exiting."
     exit 1

Offline

#11 2004-11-12 17:02:43

vicious
Member
Registered: 2004-11-09
Posts: 113

Re: Mozilla Firefox 1.0 released

When will firefox 1.0 package be available?

Offline

#12 2004-11-12 18:41:57

luisfeser
Member
From: Spain / España
Registered: 2004-02-21
Posts: 53

Re: Mozilla Firefox 1.0 released

Well, the PKGBUILD don't compile in my machine, i don't know why, i'm using gcc-3.4 :?

But i have made a PKGBUILD for the instaler. Well, there is a particular "interactive package" lol

Here are the instruccions:

1) run the pkgbuild (as root :?)
2) in the install dialog change the default directory to /build-directory/firefox/pkg/opt/firefox (remove the firefox-installer dir at the button of the dialog-box!!)
3) if all works:
- remove the mozilla-firefox package
- install this new
4) enjoy wink

The binary is named "firefox" not "mozilla-firefox", so you maybe wont to change your desktop icons smile

Important!!! i have installed the spanish version, so, change the pkgbuild for your language smile

PKGBUILD:

pkgname=firefox
pkgver=1.0
pkgrel=1
pkgdesc="Mozilla Firefox web browser"
url="http://www.mozilla.org/products/firefox/"
replaces=(mozilla-firefox)
source=(http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/1.0/linux-i686/es-AR/$pkgname-$pkgver.installer.tar.gz)
md5sums=(bd2c38ba7224caa604fd444339d8a739)

build() {
  cd $startdir/src/$pkgname-installer
  mkdir -p $startdir/pkg/opt/firefox
  mkdir -p $startdir/pkg/opt/bin
  ./firefox-installer
  ln -s $startdir/pkg/opt/firefox/firefox $startdir/pkg/opt/bin/
}

This is a temporal package while the package mantainers release one.

Offline

#13 2004-11-12 23:19:48

ScottTFrazer
Member
Registered: 2004-10-20
Posts: 47

Re: Mozilla Firefox 1.0 released

When using my PKGBUILD, you'll want to copy the current mozilla-firefox stuff into your local abs tree, that's where those three extra files come from.  Dunno about the compile errors, though, sorry.

/still a noob.

Offline

#14 2004-11-13 04:49:37

ganlu
Member
From: ChongQing, China
Registered: 2004-01-04
Posts: 360

Re: Mozilla Firefox 1.0 released

# fix typo (mozilla bug 258177)
        sed -i "s@destdir@DESTDIR@" $startdir/src/mozilla/browser/app/Makefile.in || return 1

This bug has been marked fixed in the mozilla's bug tracker, so we don't need it any longer.

After installing this, I once again had the problem that launching firefox from /opt/mozilla-firefox/bin/firefox multiple times causes the "create new profile" dialog box to pop up.

I solved this by changing /opt/mozilla-firefox/bin/firefox around line 113 from:

And I don't think mozilla-firefox.run or hacks like that neccessary, since dev has improved/ changed firefox's start up script in order to make firefox enable to start two windows or tabs instead of poping up "choose new profile" something. I don't know why you get such old message(have you tried start firefox with a fresh profile?). I believe the PKGBUILD can be much cleaner.

Offline

#15 2004-11-13 07:56:22

ScottTFrazer
Member
Registered: 2004-10-20
Posts: 47

Re: Mozilla Firefox 1.0 released

I'm sure it could :-)  first time and all.

As for how I start firefox, after I installed the official pacman package, no menu items were added to my KDE setup, so I linked what I thought was the most obvious choice: /opt/mozilla-firefox/bin/firefox

If you create a desktop icon for this, or add it to KDE's menu bar, clicking it after a firefox window is already opened results in the profile selection dialog coming up. 

If there's a better place I should be running it from, please let me know :-)

Offline

#16 2004-11-14 02:53:21

ganlu
Member
From: ChongQing, China
Registered: 2004-01-04
Posts: 360

Re: Mozilla Firefox 1.0 released

Offline

Board footer

Powered by FluxBB