You are not logged in.

#326 2009-09-07 03:58:45

Evanlec
Member
From: NH, USA
Registered: 2007-12-16
Posts: 141
Website

Re: Official firefox-pgo thread

blasse wrote:

Have you both tried to compile it with libjpeg6 from AUR installed? Or after changing flag in mozconfig from --with-system-jpeg to --without-system-jpeg?

Using --without-system-libjpeg seemed to fix it

I finally built it successfully ! hurray, thanks blasse.

Now if only we could get TraceMonkey on x86_64 sad

Offline

#327 2009-09-07 04:58:12

blasse
Member
From: Poland
Registered: 2008-04-24
Posts: 303

Re: Official firefox-pgo thread

--without-system-jpeg makes it build with native jpeg from mozilla code - jpeg6. It is staticly build against it, however it should not make many difference in firefox wink
As for TM in x86_64 - look carefully at buglist at the first post. There is blocker form TM, that should be (imho) flagged by mozilla as "blocking firefox 3.6). But for now it isn't blocking anything, so ther is looooong way to have it fixed hmm
Only way is to vote on blocking bugs...


Proud ex-maintainer of firefox-pgo

Offline

#328 2009-09-07 10:29:46

Evanlec
Member
From: NH, USA
Registered: 2007-12-16
Posts: 141
Website

Re: Official firefox-pgo thread

oh sad days indeed.

If only midori/uzbl or something would start ramping up , webkit blows the doors off of tracemonkey anyways sad

Offline

#329 2009-09-07 13:12:13

blasse
Member
From: Poland
Registered: 2008-04-24
Posts: 303

Re: Official firefox-pgo thread

Try chromium. It works really nice wink


Proud ex-maintainer of firefox-pgo

Offline

#330 2009-09-09 05:04:45

Evanlec
Member
From: NH, USA
Registered: 2007-12-16
Posts: 141
Website

Re: Official firefox-pgo thread

blasse wrote:

Try chromium. It works really nice wink

which package (from aur) would you recommend? im not sure which to choose

Offline

#331 2009-09-09 05:16:36

blasse
Member
From: Poland
Registered: 2008-04-24
Posts: 303

Re: Official firefox-pgo thread

I'm using chromium-browser-dev - daily builds from Ubuntu.
There is also one with devel snapshots from google - nice one, but I believe in Ubuntu patching wink
Also there is one that builds from source, but the source is over 800mb hmm


Proud ex-maintainer of firefox-pgo

Offline

#332 2009-09-12 19:56:09

blasse
Member
From: Poland
Registered: 2008-04-24
Posts: 303

Re: Official firefox-pgo thread

If someone could test if it will work: firefox-pgo 3.5.3 with oss/alsa switch
I'm trying to make oss-dependent version of firefox-pgo, for everyone that not like alsa wink


Proud ex-maintainer of firefox-pgo

Offline

#333 2009-09-12 22:09:31

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: Official firefox-pgo thread

Hey cool.  I'll try it tomorrow as I don't have time today.  Just build it and if it builds correctly will use oss?


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#334 2009-09-13 05:40:58

toxygen
Member
Registered: 2008-08-22
Posts: 713

Re: Official firefox-pgo thread

blasse wrote:

If someone could test if it will work: firefox-pgo 3.5.3 with oss/alsa switch
I'm trying to make oss-dependent version of firefox-pgo, for everyone that not like alsa wink

I'm getting

PKGBUILD: line 104: syntax error: unexpected end of file

when trying to makepkg.


"I know what you're thinking, 'cause right now I'm thinking the same thing. Actually, I've been thinking it ever since I got here:
Why oh why didn't I take the BLUE pill?"

Offline

#335 2009-09-13 13:21:30

blasse
Member
From: Poland
Registered: 2008-04-24
Posts: 303

Re: Official firefox-pgo thread

My fault. Corrected:
http://omploader.org/vMmNhOQ


Proud ex-maintainer of firefox-pgo

Offline

#336 2009-09-13 17:41:23

toxygen
Member
Registered: 2008-08-22
Posts: 713

Re: Official firefox-pgo thread

Now i'm getting:

checking whether the C compiler (gcc-4.5 -march=native -Wl,-rpath,/usr/lib/firefox-3.5.3 -Wl,--hash-style=gnu,--sort-common) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
*** Fix above errors and then restart with               "make -f client.mk build"
make[1]: *** [configure] Error 1
==> ERROR: Build Failed.
    Aborting...

I have gcc-snapshot ( 4.5.20090820-1) and gcc 4.4.1 installed, should I update snapshot?  also i did not remove existing firefox install, both the regular -pgo and beta-pgo have built the last couple of weeks without needing the previous version removed.  I'll try that later.


"I know what you're thinking, 'cause right now I'm thinking the same thing. Actually, I've been thinking it ever since I got here:
Why oh why didn't I take the BLUE pill?"

Offline

#337 2009-09-13 19:07:10

blasse
Member
From: Poland
Registered: 2008-04-24
Posts: 303

Re: Official firefox-pgo thread

For ALSA systems it's just the same build as 3.5.3-1 (and the same pkgbuild as 3.5.2-1). For OSS I cannot test it myself because I'm using ALSA wink

As for latest gcc snapshot - Alan wrote that it is buggy, I'm still using version from July.

The error suggest something's wrong with GCC - but it may be connected with previous install or even something else wink
OSS part of this pkg is borrowed from xulrunner-oss pkg from AUR.


Proud ex-maintainer of firefox-pgo

Offline

#338 2009-09-13 19:09:49

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: Official firefox-pgo thread

Do you have a website that uses the new <audio> html tag?


Website - Blog - arch-home
Arch User since March 2005

Offline

#339 2009-09-14 20:22:34

bobdob
Member
Registered: 2008-06-13
Posts: 138

Re: Official firefox-pgo thread

I did a trail run today. Although it compiled fine, it still linked against asound. I do have alsa-lib install (for compatibility reasons), but I'll try it tomorrow without it. Anyone else try this yet?

@pyther: tinyvid.tv and wikipedia.org both use <audio> and <video> tags.

Offline

#340 2009-09-14 20:26:42

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: Official firefox-pgo thread

bobdob thanks for the link

I compiled with oss and as far as I can tell firefox uses oss (instead of alsa). I don't have an alsa device or emulation, and I can hear the audio.

Last edited by pyther (2009-09-14 21:13:20)


Website - Blog - arch-home
Arch User since March 2005

Offline

#341 2009-09-14 20:46:47

bobdob
Member
Registered: 2008-06-13
Posts: 138

Re: Official firefox-pgo thread

Good to know it works. I might play around with this some more tomorrow.

Offline

#342 2009-09-17 05:13:52

blasse
Member
From: Poland
Registered: 2008-04-24
Posts: 303

Re: Official firefox-pgo thread

TM on x86_64 has been enabled in HG. It's buggy, but it's working. It will be available with 3.6a2 or if I have some time to add needed patches for 3.6a1.


Proud ex-maintainer of firefox-pgo

Offline

#343 2009-09-19 08:08:18

ugkbunb
Member
Registered: 2009-02-26
Posts: 227

Re: Official firefox-pgo thread

Is anyone else experiencing the bug where you can't open link in new tab if the link is a picture/image?

Offline

#344 2009-09-19 08:15:01

blasse
Member
From: Poland
Registered: 2008-04-24
Posts: 303

Re: Official firefox-pgo thread

Didn't notice such one... Are you using 3.5.3 or 3.6a1?


Proud ex-maintainer of firefox-pgo

Offline

#345 2009-09-19 08:19:50

ugkbunb
Member
Registered: 2009-02-26
Posts: 227

Re: Official firefox-pgo thread

3.6a1 ill try building 3.5.3 tommorow and post my results

Offline

#346 2009-09-19 09:19:53

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: Official firefox-pgo thread

Does anyone else have the bug where a page isn't repainted well (only the background color) when you refresh and back/forward and same site links? It only goes away when you scroll over the blank parts.

Offline

#347 2009-09-22 00:23:02

toxygen
Member
Registered: 2008-08-22
Posts: 713

Re: Official firefox-pgo thread

blasse i've become a bit confused about firefox-pgo-beta
version on aur - 3.6a2-1
on the aur comments you posted another one, is that for 3.7a1-hg?

does this 3.7a1 have the tracemonkey enabled?  also  you mentioned (here or on aur) that the "new" PKGBUILD has oss support built-in "with a switch".. is that the line on PKGBUILD:
   if _soundsystem='oss'; then
and switch _soundsystem at the top of PKGBUILD right?  will this work for both 3.6a2 and 3.7a1?

thanks for your continued good work on these and keeping us updated smile


"I know what you're thinking, 'cause right now I'm thinking the same thing. Actually, I've been thinking it ever since I got here:
Why oh why didn't I take the BLUE pill?"

Offline

#348 2009-09-22 05:08:39

blasse
Member
From: Poland
Registered: 2008-04-24
Posts: 303

Re: Official firefox-pgo thread

Version 3.6a2 has no TM, switch will work. The only thing one should do to switch is write OSS instead of ALSA-LIB in one of top lines in pkgbuild - _soundsystem. Everything is written down in pkgbuild

Version 3.7a1 is based on hg trunk, I've not tested it. OSS should work if source code has not changed since 3.6a2
X86_64 TM should be enabled in 3.7a1 as a default.

# Contributor: blasse <koralik(at)gmail(dot)com>
pkgname=firefox-pgo-beta
pkgver=3.7a1-hg
pkgrel=1
pkgdesc="Mozilla Firefox - tracemonkey-enabled, XULRunner independent, optimized with PGO - real standalone"
arch=('i686' 'x86_64')
license=('MPL' 'GPL' 'LGPL')
_soundsystem='alsa-lib' # 'alsa-lib' for ALSA and 'oss' for OSS
makedepends=('mercurial' 'zip' 'pkgconfig' 'diffutils' 'python' 'xorg-server' 'imagemagick' 'file' 'wireless_tools')
depends=('gtk2>=2.16.0' 'gcc-libs>=4.4' 'libidl2>=0.8.13' 'mozilla-common' 'nss>=3.12.2' 'libxt' 'startup-notification>=0.9' 'desktop-file-utils' 'libjpeg' 'libpng' 'cairo' 'hunspell' 'libnotify' $_soundsystem)
provides=('firefox'="3.7")
conflicts=('firefox')
options=('!makeflags' 'ccache')
_hgroot="http://hg.mozilla.org"
_hgrepo=mozilla-central
url="http://www.mozilla.org/projects/firefox"
source=(
mozconfig
100-system-hunspell-corrections.patch
firefox.desktop
firefox-safe.desktop
ldflags.patch
ldflags2.patch
#x64config.patch
)

md5sums=(
'f12db64cedf53e5b105381a8588bfaae'
'5efd6772ed0ecf8eddec5d5650191d3c'
'4b766d6d21e1168dd365f467e4275e13'
'1034e29d85c2d22faeb5899732321559'
'9e461e5fc73b241d68d08be908405a5e'
'9587e0e6da42c883e34a46ee35cc3b7d'
'96615d45f14540a9d9f3c0bcb7c286dd')

build() {
cd ${srcdir}/mozilla-central
cp $srcdir/mozconfig .mozconfig

if _soundsystem='oss'; then
#Use OSS instead of ALSA.
sed -i 's/sydney_audio_alsa/sydney_audio_oss/' media/libsydneyaudio/src/Makefile.in || return 1

#Get rid of ALSA stuff in the build system.
sed -i '/alsa\//d' config/system-headers || return 1
sed -i '/alsa\//d' js/src/config/system-headers || return 1
sed -i '/LIB(asound/d' configure.in || return 1
autoconf-2.13 || return 1
fi

# if [ `uname -m` = 'x86_64' ]; then
#enable TM on x86_64 - not working yet :/
# patch -Np1 -i ${srcdir}/x64config.patch || return 1
# fi

#fix build with system hunspell - gentoo
patch -Np0 -i ${srcdir}/100-system-hunspell-corrections.patch || return 1

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

#PGO patch - use when compiling stops with control sum mismatch error, thanks to methuselah
# patch -Np1 -i ${srcdir}/ldflags2.patch || return 1

# unset LD_PRELOAD
# unset CFLAGS
# unset CXXFLAGS
export CFLAGS="-march=native"
export CXXFLAGS="-march=native"
export LDFLAGS="-Wl,-rpath,/usr/lib/firefox-${pkgver} -Wl,--hash-style=gnu,--sort-common"

if [ `uname -m` = 'x86_64' ]; then
#for non-pgo build - enabled for x86-64, pgo seems to build fine if non-pgo is build first with the same source.
make -f client.mk MOZ_MAKE_FLAGS="${MAKEFLAGS}" || return 1
fi
#for pgo build
make -f client.mk profiledbuild MOZ_MAKE_FLAGS="${MAKEFLAGS}" || return 1
#
# kill $XPID
make -j1 DESTDIR=${pkgdir} -C ff-pgo install || return 1

install -m755 -d ${pkgdir}/usr/share/applications
install -m755 -d ${pkgdir}/usr/share/pixmaps
install -m644 "$srcdir"/mozilla-central/other-licenses/branding/firefox/mozicon128.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
#Remove devel stuff
rm -rf "$pkgdir"/usr/include/
rm -rf "$pkgdir"/usr/lib/firefox-devel-${pkgver}/
# rm -rf "$pkgdir"/usr/lib/firefox-devel-3.5/
rm -rf "$pkgdir"/usr/share/idl/ || return 0
}

Last edited by blasse (2009-09-22 05:10:31)


Proud ex-maintainer of firefox-pgo

Offline

#349 2009-09-22 15:27:14

toxygen
Member
Registered: 2008-08-22
Posts: 713

Re: Official firefox-pgo thread

hi blasse

the PKGBUILD for 3.7a1 fails to build on multiple fronts [this refers to the one on aur]
first, the patches, or everything under
source= 

was not found. i copied them over from the 3.6a2 build and passed md5sums.  for some reason it took a couple of tries to get hg revisions.  then this happens:

==> Starting build()...
patching file ./extensions/spellcheck/hunspell/src/mozHunspell.cpp
patching file ./extensions/spellcheck/src/Makefile.in
Hunk #1 FAILED at 63.
Hunk #2 succeeded at 73 (offset -14 lines).
Hunk #3 succeeded at 98 (offset -14 lines).
1 out of 3 hunks FAILED -- saving rejects to file ./extensions/spellcheck/src/Makefile.in.rej
patching file ./extensions/spellcheck/Makefile.in
==> ERROR: Build Failed.
    Aborting...

so i'm guessing some of the patches are no longer needed.  3.6a2 is workign nicely though, even with no TM.

forgot to ask, are you also maintaining firefox-pgo-hg?  and would that be "the trunk" you are referring to?

Last edited by toxygen (2009-09-22 15:28:12)


"I know what you're thinking, 'cause right now I'm thinking the same thing. Actually, I've been thinking it ever since I got here:
Why oh why didn't I take the BLUE pill?"

Offline

#350 2009-09-22 15:53:43

blasse
Member
From: Poland
Registered: 2008-04-24
Posts: 303

Re: Official firefox-pgo thread

I'm not maintainer of HG version - I don't have time for it. PKGBUILD posted here and in AUR comments is replacement for my firefox-pgo-beta pkgbuild for people who want TM on x86_64. To use it one should first download my PKG from AUR, than replace PKGBUILD with provided here. As I haven't tested them, I don't know i all patches are still needed/correct (that's one of arguments why I don't want to maintain firefox-pgo-hg - many changes in source, many work with patches).
Error you've posted is referring to 100-system-hunspell-corrections.patch - if you comment it out from source and pkgbuild it MAY (and may not) work wink


Proud ex-maintainer of firefox-pgo

Offline

Board footer

Powered by FluxBB