wok-stable rev 8729

Fixed seamonkey. I had to disable-crashreporting in order for seamonkey to compile. I also didn't enabled cario cause its report by archlinux that 1.10 is buggy when enabled.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Feb 19 04:39:56 2011 +0000 (2011-02-19)
parents 53261b54542e
children 5f8b42af9764
files seamonkey/receipt seamonkey/stuff/seamonkey.mozconfig
line diff
     1.1 --- a/seamonkey/receipt	Sat Feb 19 01:35:37 2011 +0000
     1.2 +++ b/seamonkey/receipt	Sat Feb 19 04:39:56 2011 +0000
     1.3 @@ -14,21 +14,22 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -	#mv mozilla $PACKAGE-$VERSION   2>/dev/null    || return 1
     1.8 +	#mv mozilla $PACKAGE-$VERSION   2>/dev/null    || exit 1
     1.9  	mv comm-1.9.1 $PACKAGE-$VERSION   2>/dev/null 
    1.10  	cp -a stuff/seamonkey.mozconfig $src/.mozconfig
    1.11  	cd $src
    1.12 -	patch -p1 -i ../stuff/google-breakpad.u || return 1
    1.13 -	cat >> layout/build/Makefile.in << "EOF"
    1.14 +	#patch -p1 -i ../stuff/google-breakpad.u || exit 1
    1.15 +	cat >> mozilla/layout/build/Makefile.in << "EOF"
    1.16  ifdef MOZ_ENABLE_CANVAS
    1.17  EXTRA_DSO_LDOPTS += $(XLDFLAGS) -lX11 -lXrender
    1.18  endif
    1.19  EOF
    1.20 -	make -j 4 -f client.mk build
    1.21 -	make -f client.mk DESTDIR=$PWD/_pkg install
    1.22 -	
    1.23 -	# French suport
    1.24 -	tar xvzf ../stuff/seamonkey-2.0.2.fr.langpack.tar.gz
    1.25 +	unset CFLAGS
    1.26 +	unset CXXFLAGS
    1.27 +
    1.28 +	export LDFLAGS="-Wl,-rpath,/usr/lib/seamonkey-$VERSION"
    1.29 +	make -j1 -f client.mk build MOZ_MAKE_FLAGS="${MAKEFLAGS}"
    1.30 +	make -j1 -f client.mk DESTDIR=$DESTDIR install
    1.31  }
    1.32  
    1.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 @@ -50,10 +51,6 @@
    1.35  	rm -rf $fs/etc/seamonkey/profile/US
    1.36  	chown -R root.root $fs/etc
    1.37  
    1.38 -	# Add french langpack
    1.39 -	mkdir $fs/usr/lib/$PACKAGE-$VERSION/extensions/langpack-fr@seamonkey.mozilla.org
    1.40 -	cp -pa $src/seamonkey-2.0.2.fr.langpack/* \
    1.41 -		$fs/usr/lib/$PACKAGE-$VERSION/extensions/langpack-fr@seamonkey.mozilla.org
    1.42  	# Create default user preference file
    1.43  	cp stuff/prefs.js $fs/etc/seamonkey/profile/prefs.js
    1.44  	
     2.1 --- a/seamonkey/stuff/seamonkey.mozconfig	Sat Feb 19 01:35:37 2011 +0000
     2.2 +++ b/seamonkey/stuff/seamonkey.mozconfig	Sat Feb 19 04:39:56 2011 +0000
     2.3 @@ -7,7 +7,8 @@
     2.4  
     2.5  ac_add_options --enable-application=suite
     2.6  ac_add_options --enable-default-toolkit=cairo-gtk2
     2.7 -ac_add_options --enable-system-cairo
     2.8 +#disabled due to bugs with cairo 1.10
     2.9 +#ac_add_options --enable-system-cairo
    2.10  ac_add_options --enable-canvas
    2.11  #ac_add_options --enable-strip
    2.12  #ac_add_options --enable-xinerama
    2.13 @@ -15,6 +16,7 @@
    2.14  ac_add_options --disable-tests
    2.15  ac_add_options --disable-installer
    2.16  ac_add_options --disable-accessibility
    2.17 +ac_add_options --disable-crashreporter
    2.18  
    2.19  ac_add_options --disable-dbus
    2.20  ac_add_options --disable-gnomeui