wok-next rev 20170

firefox: receipt v2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 01 20:21:41 2017 +0100 (2017-11-01)
parents a3eed29ea834
children 1ce56562d2cc
files firefox-dev/receipt firefox-dev/stuff/firefox-gtkmozembed.pc firefox-dev/stuff/firefox-js.pc firefox-dev/stuff/firefox-plugin.pc firefox-dev/stuff/firefox-xpcom.pc firefox-dev/stuff/libxul.pc firefox/receipt firefox/stuff/firefox-gtkmozembed.pc firefox/stuff/firefox-js.pc firefox/stuff/firefox-plugin.pc firefox/stuff/firefox-xpcom.pc firefox/stuff/libxul.pc libfirefox/receipt
line diff
     1.1 --- a/firefox-dev/receipt	Wed Nov 01 19:07:45 2017 +0100
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,66 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="firefox-dev"
     1.7 -VERSION="17.0.11esr"
     1.8 -CATEGORY="development"
     1.9 -SHORT_DESC="firefox devel files"
    1.10 -MAINTAINER="jozee@slitaz.org"
    1.11 -LICENSE="MPL2"
    1.12 -WANTED="firefox"
    1.13 -WEB_SITE="http://www.mozilla.org/"
    1.14 -
    1.15 -DEPENDS="alsa-lib sqlite3 cairo dbus-glib pango atk \
    1.16 -glib xorg-libXt xorg-libXinerama \
    1.17 -xorg-libXcursor xorg-libXcomposite xorg-libXext xorg-libXdamage libxcb \
    1.18 -xorg-libSM xorg-libICE pkg-config"
    1.19 -
    1.20 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.21 -genpkg_rules()
    1.22 -{
    1.23 -	printf "Installing include files.."
    1.24 -	mkdir -p $fs/usr/include/$WANTED-$VERSION &&
    1.25 -	cp -rL $src/obj-firefox/dist/include/* $fs/usr/include/$WANTED-$VERSION
    1.26 -	status
    1.27 -
    1.28 -	printf "Installing libs files.."
    1.29 -	mkdir -p $fs/usr/lib/$WANTED-devel/sdk/bin/ply &&
    1.30 -	cp -rL $src/obj-firefox/dist/sdk/bin/*.py \
    1.31 -		$fs/usr/lib/$WANTED-devel/sdk/bin &&
    1.32 -	cp -rL $src/obj-firefox/dist/sdk/bin/ply/*.py \
    1.33 -		$fs/usr/lib/$WANTED-devel/sdk/bin/ply &&
    1.34 -	mkdir -p $fs/usr/lib/$WANTED-devel/sdk/lib &&
    1.35 -	cp -rL $src/obj-firefox/dist/sdk/lib/* \
    1.36 -		$fs/usr/lib/$WANTED-devel/sdk/lib
    1.37 -	status
    1.38 -
    1.39 -#	printf "Installing npapi files.."
    1.40 -#	mkdir -v $fs/usr/include/$WANTED-$VERSION/npapi &&
    1.41 -#	cp -a $src/dom/plugins/base/*.h $fs/usr/include/$WANTED-$VERSION/npapi
    1.42 -#	status
    1.43 -
    1.44 -	# /usr/share/idl folder should also be in firefox-dev
    1.45 -	printf "Installing idl files.."
    1.46 -	mkdir -p $fs/usr/share/$WANTED-$VERSION/idl &&
    1.47 -	cp -rL $src/obj-firefox/dist/idl/* $fs/usr/share/$WANTED-$VERSION/idl
    1.48 -	status
    1.49 -
    1.50 -	# copy missing *.pc files
    1.51 -	printf "Installing pkgconfig files.."
    1.52 -	mkdir -p $fs/usr/lib/pkgconfig &&
    1.53 -	cp -a $stuff/*.pc $fs/usr/lib/pkgconfig &&
    1.54 -	# fix version
    1.55 -	sed -i "s/VERSION/$VERSION/" $fs/usr/lib/pkgconfig/*
    1.56 -	status
    1.57 -}
    1.58 -
    1.59 -# Pre and post install commands for Tazpkg.
    1.60 -post_install()
    1.61 -{
    1.62 -	for i in usr/share/idl/firefox- usr/include/firefox- \
    1.63 -		usr/lib/firefox-devel- ; do
    1.64 -		for j in $(ls -d "$1"/$i* 2>/dev/null); do
    1.65 -			[ "${j##*-}" = "$VERSION" ] && continue
    1.66 -			[ ! -d "$j" ] || rm -rf "$j"
    1.67 -		done
    1.68 -	done
    1.69 -}
     2.1 --- a/firefox-dev/stuff/firefox-gtkmozembed.pc	Wed Nov 01 19:07:45 2017 +0100
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,8 +0,0 @@
     2.4 -prefix=/usr
     2.5 -libdir=/usr/lib/firefox-devel
     2.6 -sdkdir=/usr/lib/firefox-devel/sdk
     2.7 -includedir=/usr/include/firefox-VERSION
     2.8 -
     2.9 -Name: mozilla-gtkembedmoz
    2.10 -Description: Mozilla Embedding Widget for Gtk+
    2.11 -Version: VERSION
     3.1 --- a/firefox-dev/stuff/firefox-js.pc	Wed Nov 01 19:07:45 2017 +0100
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,10 +0,0 @@
     3.4 -prefix=/usr
     3.5 -libdir=/usr/lib/firefox-devel/sdk/lib
     3.6 -sdkdir=/usr/lib/firefox-devel/sdk
     3.7 -includedir=/usr/include/firefox-VERSION
     3.8 -
     3.9 -Name: JavaScript
    3.10 -Description: The Mozilla JavaScript Library
    3.11 -Version: VERSION
    3.12 -Libs: -L${sdkdir}/sdk/lib -lmozjs
    3.13 -Cflags: -I${includedir} -DXP_UNIX -DJS_THREADSAFE
     4.1 --- a/firefox-dev/stuff/firefox-plugin.pc	Wed Nov 01 19:07:45 2017 +0100
     4.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.3 @@ -1,10 +0,0 @@
     4.4 -prefix=/usr
     4.5 -libdir=/usr/lib/firefox-devel/sdk/lib
     4.6 -sdkdir=/usr/lib/firefox-devel/sdk
     4.7 -includedir=/usr/include/firefox-VERSION
     4.8 -
     4.9 -Name: Mozilla Plug-In API
    4.10 -Description: Mozilla Plug-In API
    4.11 -Version: VERSION
    4.12 -Libs: -L${libdir}
    4.13 -Cflags: -I${includedir}
     5.1 --- a/firefox-dev/stuff/firefox-xpcom.pc	Wed Nov 01 19:07:45 2017 +0100
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,11 +0,0 @@
     5.4 -prefix=/usr
     5.5 -exec_prefix=/usr
     5.6 -libdir=/usr/lib/firefox-devel/sdk/lib
     5.7 -includedir=/usr/include/firefox-VERSION
     5.8 -idldir=/usr/share/firefox-VERSION/idl
     5.9 -
    5.10 -Name: XPCOM
    5.11 -Description: The Mozilla Cross Platform Component Library
    5.12 -Version: VERSION
    5.13 -Libs: -L${libdir} -lxpcom
    5.14 -Cflags: -I/usr/include/firefox-VERSION -I${includedir}
     6.1 --- a/firefox-dev/stuff/libxul.pc	Wed Nov 01 19:07:45 2017 +0100
     6.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.3 @@ -1,11 +0,0 @@
     6.4 -prefix=/usr
     6.5 -libdir=/usr/lib/firefox-devel/sdk/lib
     6.6 -sdkdir=/usr/lib/firefox-devel/sdk
     6.7 -includedir=/usr/include/firefox-VERSION
     6.8 -idldir=/usr/share/idl/firefox-VERSION
     6.9 -
    6.10 -Name: libxul
    6.11 -Description: The Mozilla Runtime and Embedding Engine
    6.12 -Version: VERSION
    6.13 -Libs: -L${sdkdir}/lib -lxpcomglue_s -lxul -lxpcom
    6.14 -Cflags: -I${includedir} -fshort-wchar
     7.1 --- a/firefox/receipt	Wed Nov 01 19:07:45 2017 +0100
     7.2 +++ b/firefox/receipt	Wed Nov 01 20:21:41 2017 +0100
     7.3 @@ -1,4 +1,4 @@
     7.4 -# SliTaz package receipt.
     7.5 +# SliTaz package receipt v2.
     7.6  
     7.7  PACKAGE="firefox"
     7.8  VERSION="17.0.11esr"
     7.9 @@ -16,6 +16,7 @@
    7.10  BUILD_DEPENDS="zip libIDL coreutils findutils wireless_tools-dev \
    7.11  perl python yasm alsa-lib-dev mesa-dev libevent-dev libvpx-dev dbus-dev \
    7.12  dbus-glib-dev gtk+-dev glib-dev pango-dev nss-dev sqlite3-dev tar gzip"
    7.13 +SPLIT="firefox firefox-dev libfirefox"
    7.14  
    7.15  # Rules to configure and make the package.
    7.16  #
    7.17 @@ -28,7 +29,6 @@
    7.18  
    7.19  compile_rules()
    7.20  {
    7.21 -	cd $src
    7.22  	# load mozconfig
    7.23  	cp -a $stuff/mozconfig $src
    7.24  
    7.25 @@ -64,73 +64,182 @@
    7.26  # Rules to gen a SliTaz package suitable for Tazpkg.
    7.27  genpkg_rules()
    7.28  {
    7.29 -	# program
    7.30 -	printf "Installing program.."
    7.31 -	mkdir -p $fs/usr/lib &&
    7.32 -	cp -a $install/usr/lib/$PACKAGE-$VERSION $fs/usr/lib &&
    7.33 -	cp -a $install/usr/lib/mozilla $fs/usr/lib &&
    7.34 -	cp -a $install/usr/bin $fs/usr
    7.35 -	status
    7.36 +	case $PACKAGE in
    7.37 +	firefox)
    7.38 +		# program
    7.39 +		printf "Installing program.."
    7.40 +		mkdir -p $fs/usr/lib &&
    7.41 +		cp -a $install/usr/lib/$PACKAGE-$VERSION $fs/usr/lib &&
    7.42 +		cp -a $install/usr/lib/mozilla $fs/usr/lib &&
    7.43 +		cp -a $install/usr/bin $fs/usr
    7.44 +		status
    7.45  
    7.46 -	# search Plugin (by: oddball)
    7.47 -	printf "Installing SliTaz search plugins.."
    7.48 -	cp -a $stuff/searchplugins $fs/usr/lib/$PACKAGE-$VERSION
    7.49 -	status
    7.50 +		# search Plugin (by: oddball)
    7.51 +		printf "Installing SliTaz search plugins.."
    7.52 +		cp -a $stuff/searchplugins $fs/usr/lib/$PACKAGE-$VERSION
    7.53 +		status
    7.54  
    7.55 -	# prefs
    7.56 -	printf "Installing SliTaz preferences.."
    7.57 -	mkdir -p $fs/usr/lib/$PACKAGE-$VERSION/distribution &&
    7.58 -	cp -a $stuff/distribution.ini $fs/usr/lib/$PACKAGE-$VERSION/distribution
    7.59 -	status
    7.60 +		# prefs
    7.61 +		printf "Installing SliTaz preferences.."
    7.62 +		mkdir -p $fs/usr/lib/$PACKAGE-$VERSION/distribution &&
    7.63 +		cp -a $stuff/distribution.ini $fs/usr/lib/$PACKAGE-$VERSION/distribution
    7.64 +		status
    7.65  
    7.66 -	# mozilla-common files
    7.67 -	# dictionaries
    7.68 -	printf "Installing common dictionnaries.."
    7.69 -	rm -rf $fs/usr/lib/$PACKAGE-$VERSION/dictionaries &&
    7.70 -	ln -sf ../mozilla-common-$VERSION/dictionaries \
    7.71 -		$fs/usr/lib/$PACKAGE-$VERSION/dictionaries
    7.72 -	status
    7.73 -	# plugin-container
    7.74 -	printf "Installing common plugin-container"
    7.75 -	rm -f $fs/usr/lib/$PACKAGE-$VERSION/plugin-container &&
    7.76 -	ln -sf ../mozilla-common-$VERSION/plugin-container \
    7.77 -		$fs/usr/lib/$PACKAGE-$VERSION/plugin-container
    7.78 -	status
    7.79 -	# mozilla-xremote-client
    7.80 -	printf "Installing common mozilla-xremote-client"
    7.81 -	rm -f $fs/usr/lib/$PACKAGE-$VERSION/mozilla-xremote-client &&
    7.82 -	ln -sf ../mozilla-common-$VERSION/mozilla-xremote-client \
    7.83 -		$fs/usr/lib/$PACKAGE-$VERSION/mozilla-xremote-client
    7.84 -	status
    7.85 -	# components/libdbusservice.so
    7.86 -	# components/libmozgnome.so
    7.87 -	for file in libdbusservice.so libmozgnome.so; do
    7.88 -		printf "Installing common components/$file"
    7.89 -		rm -f $fs/usr/lib/$PACKAGE-$VERSION/components/$file &&
    7.90 -		ln -sf ../../mozilla-common-$VERSION/components/$file \
    7.91 -			$fs/usr/lib/$PACKAGE-$VERSION/components/$file
    7.92 +		# mozilla-common files
    7.93 +		# dictionaries
    7.94 +		printf "Installing common dictionnaries.."
    7.95 +		rm -rf $fs/usr/lib/$PACKAGE-$VERSION/dictionaries &&
    7.96 +		ln -sf ../mozilla-common-$VERSION/dictionaries \
    7.97 +			$fs/usr/lib/$PACKAGE-$VERSION/dictionaries
    7.98  		status
    7.99 +		# plugin-container
   7.100 +		printf "Installing common plugin-container"
   7.101 +		rm -f $fs/usr/lib/$PACKAGE-$VERSION/plugin-container &&
   7.102 +		ln -sf ../mozilla-common-$VERSION/plugin-container \
   7.103 +			$fs/usr/lib/$PACKAGE-$VERSION/plugin-container
   7.104 +		status
   7.105 +		# mozilla-xremote-client
   7.106 +		printf "Installing common mozilla-xremote-client"
   7.107 +		rm -f $fs/usr/lib/$PACKAGE-$VERSION/mozilla-xremote-client &&
   7.108 +		ln -sf ../mozilla-common-$VERSION/mozilla-xremote-client \
   7.109 +			$fs/usr/lib/$PACKAGE-$VERSION/mozilla-xremote-client
   7.110 +		status
   7.111 +		# components/libdbusservice.so
   7.112 +		# components/libmozgnome.so
   7.113 +		for file in libdbusservice.so libmozgnome.so; do
   7.114 +			printf "Installing common components/$file"
   7.115 +			rm -f $fs/usr/lib/$PACKAGE-$VERSION/components/$file &&
   7.116 +			ln -sf ../../mozilla-common-$VERSION/components/$file \
   7.117 +				$fs/usr/lib/$PACKAGE-$VERSION/components/$file
   7.118 +			status
   7.119 +		done
   7.120 +		# chrome.manifest
   7.121 +		printf "Installing common chrome.manifest"
   7.122 +		rm -f $fs/usr/lib/$PACKAGE-$VERSION/chrome.manifest &&
   7.123 +		ln -sf ../mozilla-common-$VERSION/chrome.manifest \
   7.124 +			$fs/usr/lib/$PACKAGE-$VERSION/chrome.manifest
   7.125 +		status
   7.126 +
   7.127 +		# run-mozilla.sh
   7.128 +		printf "Installing common run-mozilla.sh"
   7.129 +		rm -f $fs/usr/lib/$PACKAGE-$VERSION/run-mozilla.sh &&
   7.130 +		ln -sf ../mozilla-common-$VERSION/run-mozilla.sh \
   7.131 +			$fs/usr/lib/$PACKAGE-$VERSION/run-mozilla.sh
   7.132 +		status
   7.133 +
   7.134 +		# libmozalloc.so
   7.135 +		printf "Installing common libmozalloc.so"
   7.136 +		rm -f $fs/usr/lib/$PACKAGE-$VERSION/libmozalloc.so &&
   7.137 +		ln -sf ../mozilla-common-$VERSION/libmozalloc.so \
   7.138 +			$fs/usr/lib/$PACKAGE-$VERSION/libmozalloc.so
   7.139 +		status
   7.140 +
   7.141 +		chown -R root.root $fs
   7.142 +		;;
   7.143 +	firefox-dev)
   7.144 +		CAT="development|firefox devel files"
   7.145 +		DEPENDS="alsa-lib sqlite3 cairo dbus-glib pango atk \
   7.146 +			glib xorg-libXt xorg-libXinerama \
   7.147 +			xorg-libXcursor xorg-libXcomposite xorg-libXext \
   7.148 +			xorg-libXdamage libxcb xorg-libSM xorg-libICE pkg-config"
   7.149 +		printf "Installing include files.."
   7.150 +		mkdir -p $fs/usr/include/$WANTED-$VERSION &&
   7.151 +		cp -rL $src/obj-firefox/dist/include/* $fs/usr/include/$WANTED-$VERSION
   7.152 +		status
   7.153 +
   7.154 +		printf "Installing libs files.."
   7.155 +		mkdir -p $fs/usr/lib/$WANTED-devel/sdk/bin/ply &&
   7.156 +		cp -rL $src/obj-firefox/dist/sdk/bin/*.py \
   7.157 +			$fs/usr/lib/$WANTED-devel/sdk/bin &&
   7.158 +		cp -rL $src/obj-firefox/dist/sdk/bin/ply/*.py \
   7.159 +			$fs/usr/lib/$WANTED-devel/sdk/bin/ply &&
   7.160 +		mkdir -p $fs/usr/lib/$WANTED-devel/sdk/lib &&
   7.161 +		cp -rL $src/obj-firefox/dist/sdk/lib/* \
   7.162 +			$fs/usr/lib/$WANTED-devel/sdk/lib
   7.163 +		status
   7.164 +
   7.165 +#		printf "Installing npapi files.."
   7.166 +#		mkdir -v $fs/usr/include/$WANTED-$VERSION/npapi &&
   7.167 +#		cp -a $src/dom/plugins/base/*.h $fs/usr/include/$WANTED-$VERSION/npapi
   7.168 +#		status
   7.169 +
   7.170 +		# /usr/share/idl folder should also be in firefox-dev
   7.171 +		printf "Installing idl files.."
   7.172 +		mkdir -p $fs/usr/share/$WANTED-$VERSION/idl &&
   7.173 +		cp -rL $src/obj-firefox/dist/idl/* $fs/usr/share/$WANTED-$VERSION/idl
   7.174 +		status
   7.175 +
   7.176 +		# copy missing *.pc files
   7.177 +		printf "Installing pkgconfig files.."
   7.178 +		mkdir -p $fs/usr/lib/pkgconfig &&
   7.179 +		cp -a $stuff/*.pc $fs/usr/lib/pkgconfig &&
   7.180 +		# fix version
   7.181 +		sed -i "s/VERSION/$VERSION/" $fs/usr/lib/pkgconfig/*
   7.182 +		status
   7.183 +		;;
   7.184 +	libfirefox)
   7.185 +		CAT="network|firefox/thunderbird common files"
   7.186 +		DEPENDS="gtk+ sqlite3 dbus dbus-glib glib jpeg xorg-libX11 \
   7.187 +			xorg-libXdamage alsa-lib xorg-libXt"
   7.188 +		# dictionaries/en-US.aff
   7.189 +		# dictionaries/en-US.dic
   7.190 +		printf "Installing dictionaries"
   7.191 +		mkdir -p $fs/usr/lib/mozilla-common-$VERSION/dictionaries
   7.192 +#		cp -a $install/usr/lib/firefox-$VERSION/dictionaries \
   7.193 +#			$fs/usr/lib/mozilla-common-$VERSION
   7.194 +		status
   7.195 +
   7.196 +		# plugin-container
   7.197 +		printf "Installing common plugin-container"
   7.198 +		cp -a $install/usr/lib/firefox-$VERSION/plugin-container \
   7.199 +			$fs/usr/lib/mozilla-common-$VERSION
   7.200 +		status
   7.201 +
   7.202 +		# mozilla-xremote-client
   7.203 +		printf "Installing common mozilla-xremote-client"
   7.204 +		cp -a $install/usr/lib/firefox-$VERSION/mozilla-xremote-client \
   7.205 +			$fs/usr/lib/mozilla-common-$VERSION
   7.206 +		status
   7.207 +
   7.208 +		# components/libdbusservice.so
   7.209 +		# components/libmozgnome.so
   7.210 +		mkdir -p $fs/usr/lib/mozilla-common-$VERSION/components
   7.211 +		for file in libdbusservice.so libmozgnome.so; do
   7.212 +			printf "Installing common components/$file"
   7.213 +			cp -a $install/usr/lib/firefox-$VERSION/components/$file \
   7.214 +			$fs/usr/lib/mozilla-common-$VERSION/components
   7.215 +			status
   7.216 +		done
   7.217 +
   7.218 +		# chrome.manifest
   7.219 +		printf "Installing common chrome.manifest"
   7.220 +		cp -a $install/usr/lib/firefox-$VERSION/chrome.manifest \
   7.221 +			$fs/usr/lib/mozilla-common-$VERSION
   7.222 +		status
   7.223 +
   7.224 +		# run-mozilla.sh
   7.225 +		printf "Installing common run-mozilla.sh"
   7.226 +		cp -a $install/usr/lib/firefox-$VERSION/run-mozilla.sh \
   7.227 +			$fs/usr/lib/mozilla-common-$VERSION
   7.228 +		status
   7.229 +
   7.230 +		# libmozalloc.so
   7.231 +		printf "Installing common libmozalloc.so"
   7.232 +		cp -a $install/usr/lib/firefox-$VERSION/libmozalloc.so \
   7.233 +			$fs/usr/lib/mozilla-common-$VERSION
   7.234 +		status
   7.235 +		;;
   7.236 +	esac
   7.237 +}
   7.238 +
   7.239 +# Pre and post install commands for Tazpkg.
   7.240 +post_install_firefox_dev()
   7.241 +{
   7.242 +	for i in usr/share/idl/firefox- usr/include/firefox- \
   7.243 +		usr/lib/firefox-devel- ; do
   7.244 +		for j in $(ls -d "$1"/$i* 2>/dev/null); do
   7.245 +			[ "${j##*-}" = "$VERSION" ] && continue
   7.246 +			[ ! -d "$j" ] || rm -rf "$j"
   7.247 +		done
   7.248  	done
   7.249 -	# chrome.manifest
   7.250 -	printf "Installing common chrome.manifest"
   7.251 -	rm -f $fs/usr/lib/$PACKAGE-$VERSION/chrome.manifest &&
   7.252 -	ln -sf ../mozilla-common-$VERSION/chrome.manifest \
   7.253 -		$fs/usr/lib/$PACKAGE-$VERSION/chrome.manifest
   7.254 -	status
   7.255 -
   7.256 -	# run-mozilla.sh
   7.257 -	printf "Installing common run-mozilla.sh"
   7.258 -	rm -f $fs/usr/lib/$PACKAGE-$VERSION/run-mozilla.sh &&
   7.259 -	ln -sf ../mozilla-common-$VERSION/run-mozilla.sh \
   7.260 -		$fs/usr/lib/$PACKAGE-$VERSION/run-mozilla.sh
   7.261 -	status
   7.262 -
   7.263 -	# libmozalloc.so
   7.264 -	printf "Installing common libmozalloc.so"
   7.265 -	rm -f $fs/usr/lib/$PACKAGE-$VERSION/libmozalloc.so &&
   7.266 -	ln -sf ../mozilla-common-$VERSION/libmozalloc.so \
   7.267 -		$fs/usr/lib/$PACKAGE-$VERSION/libmozalloc.so
   7.268 -	status
   7.269 -
   7.270 -	chown -R root.root $fs
   7.271  }
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/firefox/stuff/firefox-gtkmozembed.pc	Wed Nov 01 20:21:41 2017 +0100
     8.3 @@ -0,0 +1,8 @@
     8.4 +prefix=/usr
     8.5 +libdir=/usr/lib/firefox-devel
     8.6 +sdkdir=/usr/lib/firefox-devel/sdk
     8.7 +includedir=/usr/include/firefox-VERSION
     8.8 +
     8.9 +Name: mozilla-gtkembedmoz
    8.10 +Description: Mozilla Embedding Widget for Gtk+
    8.11 +Version: VERSION
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/firefox/stuff/firefox-js.pc	Wed Nov 01 20:21:41 2017 +0100
     9.3 @@ -0,0 +1,10 @@
     9.4 +prefix=/usr
     9.5 +libdir=/usr/lib/firefox-devel/sdk/lib
     9.6 +sdkdir=/usr/lib/firefox-devel/sdk
     9.7 +includedir=/usr/include/firefox-VERSION
     9.8 +
     9.9 +Name: JavaScript
    9.10 +Description: The Mozilla JavaScript Library
    9.11 +Version: VERSION
    9.12 +Libs: -L${sdkdir}/sdk/lib -lmozjs
    9.13 +Cflags: -I${includedir} -DXP_UNIX -DJS_THREADSAFE
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/firefox/stuff/firefox-plugin.pc	Wed Nov 01 20:21:41 2017 +0100
    10.3 @@ -0,0 +1,10 @@
    10.4 +prefix=/usr
    10.5 +libdir=/usr/lib/firefox-devel/sdk/lib
    10.6 +sdkdir=/usr/lib/firefox-devel/sdk
    10.7 +includedir=/usr/include/firefox-VERSION
    10.8 +
    10.9 +Name: Mozilla Plug-In API
   10.10 +Description: Mozilla Plug-In API
   10.11 +Version: VERSION
   10.12 +Libs: -L${libdir}
   10.13 +Cflags: -I${includedir}
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/firefox/stuff/firefox-xpcom.pc	Wed Nov 01 20:21:41 2017 +0100
    11.3 @@ -0,0 +1,11 @@
    11.4 +prefix=/usr
    11.5 +exec_prefix=/usr
    11.6 +libdir=/usr/lib/firefox-devel/sdk/lib
    11.7 +includedir=/usr/include/firefox-VERSION
    11.8 +idldir=/usr/share/firefox-VERSION/idl
    11.9 +
   11.10 +Name: XPCOM
   11.11 +Description: The Mozilla Cross Platform Component Library
   11.12 +Version: VERSION
   11.13 +Libs: -L${libdir} -lxpcom
   11.14 +Cflags: -I/usr/include/firefox-VERSION -I${includedir}
    12.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.2 +++ b/firefox/stuff/libxul.pc	Wed Nov 01 20:21:41 2017 +0100
    12.3 @@ -0,0 +1,11 @@
    12.4 +prefix=/usr
    12.5 +libdir=/usr/lib/firefox-devel/sdk/lib
    12.6 +sdkdir=/usr/lib/firefox-devel/sdk
    12.7 +includedir=/usr/include/firefox-VERSION
    12.8 +idldir=/usr/share/idl/firefox-VERSION
    12.9 +
   12.10 +Name: libxul
   12.11 +Description: The Mozilla Runtime and Embedding Engine
   12.12 +Version: VERSION
   12.13 +Libs: -L${sdkdir}/lib -lxpcomglue_s -lxul -lxpcom
   12.14 +Cflags: -I${includedir} -fshort-wchar
    13.1 --- a/libfirefox/receipt	Wed Nov 01 19:07:45 2017 +0100
    13.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.3 @@ -1,65 +0,0 @@
    13.4 -# SliTaz package receipt.
    13.5 -
    13.6 -PACKAGE="libfirefox"
    13.7 -VERSION="17.0.11esr"
    13.8 -CATEGORY="network"
    13.9 -SHORT_DESC="firefox/thunderbird common files"
   13.10 -MAINTAINER="jozee@slitaz.org"
   13.11 -LICENSE="MPL2"
   13.12 -WANTED="firefox"
   13.13 -WEB_SITE="http://www.mozilla.org/"
   13.14 -
   13.15 -DEPENDS="gtk+ sqlite3 dbus dbus-glib glib jpeg xorg-libX11 xorg-libXdamage \
   13.16 -alsa-lib xorg-libXt"
   13.17 -
   13.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
   13.19 -genpkg_rules()
   13.20 -{
   13.21 -	# dictionaries/en-US.aff
   13.22 -	# dictionaries/en-US.dic
   13.23 -	printf "Installing dictionaries"
   13.24 -	mkdir -p $fs/usr/lib/mozilla-common-$VERSION/dictionaries
   13.25 -#	cp -a $install/usr/lib/firefox-$VERSION/dictionaries \
   13.26 -#		$fs/usr/lib/mozilla-common-$VERSION
   13.27 -	status
   13.28 -
   13.29 -	# plugin-container
   13.30 -	printf "Installing common plugin-container"
   13.31 -	cp -a $install/usr/lib/firefox-$VERSION/plugin-container \
   13.32 -		$fs/usr/lib/mozilla-common-$VERSION
   13.33 -	status
   13.34 -
   13.35 -	# mozilla-xremote-client
   13.36 -	printf "Installing common mozilla-xremote-client"
   13.37 -	cp -a $install/usr/lib/firefox-$VERSION/mozilla-xremote-client \
   13.38 -		$fs/usr/lib/mozilla-common-$VERSION
   13.39 -	status
   13.40 -
   13.41 -	# components/libdbusservice.so
   13.42 -	# components/libmozgnome.so
   13.43 -	mkdir -p $fs/usr/lib/mozilla-common-$VERSION/components
   13.44 -	for file in libdbusservice.so libmozgnome.so; do
   13.45 -		printf "Installing common components/$file"
   13.46 -		cp -a $install/usr/lib/firefox-$VERSION/components/$file \
   13.47 -		$fs/usr/lib/mozilla-common-$VERSION/components
   13.48 -		status
   13.49 -	done
   13.50 -
   13.51 -	# chrome.manifest
   13.52 -	printf "Installing common chrome.manifest"
   13.53 -	cp -a $install/usr/lib/firefox-$VERSION/chrome.manifest \
   13.54 -		$fs/usr/lib/mozilla-common-$VERSION
   13.55 -	status
   13.56 -
   13.57 -	# run-mozilla.sh
   13.58 -	printf "Installing common run-mozilla.sh"
   13.59 -	cp -a $install/usr/lib/firefox-$VERSION/run-mozilla.sh \
   13.60 -		$fs/usr/lib/mozilla-common-$VERSION
   13.61 -	status
   13.62 -
   13.63 -	# libmozalloc.so
   13.64 -	printf "Installing common libmozalloc.so"
   13.65 -	cp -a $install/usr/lib/firefox-$VERSION/libmozalloc.so \
   13.66 -		$fs/usr/lib/mozilla-common-$VERSION
   13.67 -	status
   13.68 -}