wok-next rev 21447

updated seamonkey (2.7.2 -> 2.53.2)
author Hans-G?nter Theisgen
date Tue May 05 17:33:00 2020 +0100 (2020-05-05)
parents 6a66c15a4531
children 71c5213b8b1d
files sdcc/receipt seamonkey/receipt
line diff
     1.1 --- a/sdcc/receipt	Tue May 05 17:13:21 2020 +0100
     1.2 +++ b/sdcc/receipt	Tue May 05 17:33:00 2020 +0100
     1.3 @@ -12,7 +12,7 @@
     1.4  TARBALL="$PACKAGE-src-$VERSION.tar.bz2"
     1.5  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
     1.6  
     1.7 -BUILD_DEPENDS="boost-dev boost-graph flex gputils texinfo"
     1.8 +BUILD_DEPENDS="boost-dev boost-graph flex gputils texinfo zlib-dev"
     1.9  COOKOPTS="!strip"
    1.10  
    1.11  compile_rules()
     2.1 --- a/seamonkey/receipt	Tue May 05 17:13:21 2020 +0100
     2.2 +++ b/seamonkey/receipt	Tue May 05 17:33:00 2020 +0100
     2.3 @@ -1,24 +1,28 @@
     2.4  # SliTaz package receipt v2.
     2.5  
     2.6  PACKAGE="seamonkey"
     2.7 -VERSION="2.7.2"
     2.8 +VERSION="2.53.2"
     2.9  CATEGORY="network"
    2.10 +TAGS="web-browser"
    2.11  SHORT_DESC="Seamonkey suite (browser, mail, news reader)"
    2.12 -MAINTAINER="devel@slitaz.org"
    2.13 +MAINTAINER="maintainer@slitaz.org"
    2.14  LICENSE="GPL MPL"
    2.15  WEB_SITE="http://www.seamonkey-project.org/"
    2.16  
    2.17  TARBALL="$PACKAGE-$VERSION.source.tar.bz2"
    2.18  WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/$VERSION/source/$TARBALL"
    2.19  
    2.20 -BUILD_DEPENDS="gtk2-dev zip libIDL coreutils libxft-dev libevent-dev \
    2.21 -libvpx-dev perl alsa-lib alsa-lib-dev findutils python python-dev \
    2.22 -wireless_tools-dev mesa-dev yasm libnotify-dev curl-dev hunspell-dev"
    2.23 +BUILD_DEPENDS="alsa-lib alsa-lib-dev coreutils curl-dev findutils gtk2-dev 
    2.24 +	hunspell-dev libIDL libevent-dev libnotify-dev libvpx-dev libxft-dev 
    2.25 +	mesa-dev perl python python-dev wireless_tools-dev yasm zip"
    2.26  
    2.27 -compile_rules() {
    2.28 -	cp -a $stuff/seamonkey.mozconfig $src/.mozconfig
    2.29 -	sed -i -e 's/USE_INPUT_PARTITION/USE_INPUT_FRAGMENTS/' \
    2.30 -		-e 's/0.9.7/1.0.0/' mozilla/configure.in mozilla/configure
    2.31 +compile_rules()
    2.32 +{
    2.33 +	cp -a $stuff/seamonkey.mozconfig	$src/.mozconfig
    2.34 +	sed -i	-e 's/USE_INPUT_PARTITION/USE_INPUT_FRAGMENTS/' \
    2.35 +		-e 's/0.9.7/1.0.0/' \
    2.36 +		mozilla/configure.in \
    2.37 +		mozilla/configure
    2.38  	cat >> mozilla/layout/build/Makefile.in << "EOF"
    2.39  ifdef MOZ_ENABLE_CANVAS
    2.40  EXTRA_DSO_LDOPTS += $(XLDFLAGS) -lX11 -lXrender
    2.41 @@ -27,31 +31,39 @@
    2.42  	unset CFLAGS
    2.43  	unset CXXFLAGS
    2.44  	export LDFLAGS="$LDFLAGS -Wl,-rpath,/usr/lib/seamonkey"
    2.45 +
    2.46  	./configure $CONFIGURE_ARGS 2>&1 | grep -v 'cthandlers/calendar/Makefile.in' &&
    2.47  	make &&
    2.48  	make DESTDIR=$install install
    2.49  }
    2.50  
    2.51 -genpkg_rules() {
    2.52 -	mkdir -p $fs/usr/bin $fs/usr/lib $fs/etc
    2.53 -	cp -a $install/usr/bin/seamonkey $fs/usr/bin
    2.54 -	cp -a $install/usr/lib/seamonkey $fs/usr/lib
    2.55 +genpkg_rules()
    2.56 +{
    2.57 +	mkdir -p $fs/usr/bin
    2.58 +	mkdir -p $fs/usr/lib
    2.59 +	mkdir -p $fs/etc
    2.60 +
    2.61 +	cp -a $install/usr/bin/seamonkey	$fs/usr/bin
    2.62 +	cp -a $install/usr/lib/seamonkey	$fs/usr/lib
    2.63 +
    2.64  	# Home page, bookmarks file and branding.
    2.65  	cp -a $stuff/bookmarks.html \
    2.66 -		$fs/usr/lib/$PACKAGE/defaults/profile
    2.67 +						$fs/usr/lib/$PACKAGE/defaults/profile
    2.68  	# User preference.
    2.69  	cp -a $stuff/userChrome.css \
    2.70 -		$fs/usr/lib/$PACKAGE/defaults/profile/chrome
    2.71 -	# Move default config to /etc/seamonkey (/usr maybe read-only)
    2.72 -	mv -f $fs/usr/lib/$PACKAGE/defaults $fs/etc/$PACKAGE
    2.73 -	ln -sf /etc/$PACKAGE $fs/usr/lib/$PACKAGE/defaults
    2.74 -	# Remove unecessary file and set permissions.
    2.75 -	rm -rf $fs/etc/seamonkey/profile/US
    2.76 -	chown -R root.root $fs/etc
    2.77 +						$fs/usr/lib/$PACKAGE/defaults/profile/chrome
    2.78 +
    2.79 +	# Move default configuration to /etc/seamonkey (/usr maybe read-only)
    2.80 +	mv -f $fs/usr/lib/$PACKAGE/defaults	$fs/etc/$PACKAGE
    2.81 +	ln -sf /etc/$PACKAGE			$fs/usr/lib/$PACKAGE/defaults
    2.82 +
    2.83 +	# Remove unnecessary files and set permissions.
    2.84 +	rm -rf					$fs/etc/seamonkey/profile/US
    2.85 +	chown -R root.root			$fs/etc
    2.86  
    2.87  	# Create default user preference file
    2.88 -	cp $stuff/prefs.js $fs/etc/seamonkey/profile/prefs.js
    2.89 -	DEPENDS="gtk2 glib jpeg libx11 libIDL alsa-lib libxt curl \
    2.90 -	libnotify libevent libvpx"
    2.91 -	TAGS="web-browser"
    2.92 +	cp $stuff/prefs.js			$fs/etc/seamonkey/profile/prefs.js
    2.93 +
    2.94 +	DEPENDS="alsa-lib curl glib gtk2 jpeg libevent libIDL libnotify 
    2.95 +		libvpx libx11 libxt"
    2.96  }