wok rev 11335

Up: seamonkey (2.5)
author Alexander Medvedev <devl547@gmail.com>
date Fri Nov 25 08:31:09 2011 +0000 (2011-11-25)
parents 633d59edeb4a
children 174c53de4876
files seamonkey/receipt seamonkey/stuff/linux-remove.patch seamonkey/stuff/linux3.0.patch seamonkey/stuff/seamonkey-2.0-lang.patch seamonkey/stuff/seamonkey-install-dir.patch seamonkey/stuff/seamonkey.mozconfig
line diff
     1.1 --- a/seamonkey/receipt	Fri Nov 25 08:15:11 2011 +0000
     1.2 +++ b/seamonkey/receipt	Fri Nov 25 08:31:09 2011 +0000
     1.3 @@ -1,15 +1,17 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="seamonkey"
     1.7 -VERSION="2.0.14"
     1.8 +VERSION="2.5"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Seamonkey suite (browser, mail, news reader)."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  TARBALL="$PACKAGE-$VERSION.source.tar.bz2"
    1.13 -DEPENDS="gtk+ glib jpeg xorg-libX11 libIDL alsa-lib xorg-libXt GConf curl"
    1.14 -BUILD_DEPENDS="gtk+-dev zip libIDL coreutils xorg-libXft-dev perl alsa-lib alsa-lib-dev findutils python python-dev curl-dev"
    1.15 +DEPENDS="gtk+ glib jpeg xorg-libX11 libIDL alsa-lib xorg-libXt curl libnotify libevent libvpx"
    1.16 +BUILD_DEPENDS="gtk+-dev zip libIDL coreutils xorg-libXft-dev libevent-dev libvpx-dev \
    1.17 +perl alsa-lib alsa-lib-dev findutils python python-dev wireless_tools-dev mesa-dev \
    1.18 +yasm libnotify-dev curl-dev"
    1.19  WEB_SITE="http://www.seamonkey-project.org/"
    1.20 -WGET_URL="http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/$VERSION/source/$TARBALL"
    1.21 +WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/$VERSION/source/$TARBALL"
    1.22  
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25 @@ -24,8 +26,9 @@
    1.26  EOF
    1.27  	unset CFLAGS
    1.28  	unset CXXFLAGS
    1.29 -
    1.30 -	export LDFLAGS="-Wl,-rpath,/usr/lib/seamonkey-$VERSION"
    1.31 +	patch -Np1 -i $stuff/seamonkey-2.0-lang.patch
    1.32 +	patch -Np1 -i $stuff/seamonkey-install-dir.patch
    1.33 +	export LDFLAGS="-Wl,-rpath,/usr/lib/seamonkey"
    1.34  	make -j1 -f client.mk build MOZ_MAKE_FLAGS="${MAKEFLAGS}"
    1.35  	make -j1 -f client.mk DESTDIR=$DESTDIR install
    1.36  }
    1.37 @@ -35,21 +38,20 @@
    1.38  {
    1.39  	mkdir -p $fs/usr/bin $fs/usr/lib $fs/etc
    1.40  	cp -a $_pkg/usr/bin/seamonkey $fs/usr/bin
    1.41 -	cp -a $_pkg/usr/lib/seamonkey-* $fs/usr/lib
    1.42 +	cp -a $_pkg/usr/lib/seamonkey $fs/usr/lib
    1.43  	# Home page, bookmarks file and branding.
    1.44  	cp -a $stuff/bookmarks.html \
    1.45 -		$fs/usr/lib/$PACKAGE-$VERSION/defaults/profile
    1.46 +		$fs/usr/lib/$PACKAGE/defaults/profile
    1.47  	# User preference.
    1.48  	cp -a $stuff/userChrome.css \
    1.49 -		$fs/usr/lib/$PACKAGE-$VERSION/defaults/profile/chrome
    1.50 +		$fs/usr/lib/$PACKAGE/defaults/profile/chrome
    1.51  	# Move default config to /etc/seamonkey (/usr maybe read-only)
    1.52 -	mv -f $fs/usr/lib/$PACKAGE-$VERSION/defaults $fs/etc/$PACKAGE
    1.53 -	ln -s /etc/$PACKAGE $fs/usr/lib/$PACKAGE-$VERSION/defaults
    1.54 +	mv -f $fs/usr/lib/$PACKAGE/defaults $fs/etc/$PACKAGE
    1.55 +	ln -sf /etc/$PACKAGE $fs/usr/lib/$PACKAGE/defaults
    1.56  	# Remove unecessary file and set permissions.
    1.57  	rm -rf $fs/etc/seamonkey/profile/US
    1.58  	chown -R root.root $fs/etc
    1.59  
    1.60  	# Create default user preference file
    1.61  	cp $stuff/prefs.js $fs/etc/seamonkey/profile/prefs.js
    1.62 -	
    1.63  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/seamonkey/stuff/linux-remove.patch	Fri Nov 25 08:31:09 2011 +0000
     2.3 @@ -0,0 +1,366 @@
     2.4 +Index: mozilla/security/coreconf/Linux2.1.mk
     2.5 +===================================================================
     2.6 +RCS file: mozilla/security/coreconf/Linux2.1.mk
     2.7 +diff -N mozilla/security/coreconf/Linux2.1.mk
     2.8 +--- mozilla/security/coreconf/Linux2.1.mk	11 Jun 2009 00:55:32 -0000	1.7
     2.9 ++++ /dev/null	1 Jan 1970 00:00:00 -0000
    2.10 +@@ -1,48 +0,0 @@
    2.11 +-#
    2.12 +-# ***** BEGIN LICENSE BLOCK *****
    2.13 +-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
    2.14 +-#
    2.15 +-# The contents of this file are subject to the Mozilla Public License Version
    2.16 +-# 1.1 (the "License"); you may not use this file except in compliance with
    2.17 +-# the License. You may obtain a copy of the License at
    2.18 +-# http://www.mozilla.org/MPL/
    2.19 +-#
    2.20 +-# Software distributed under the License is distributed on an "AS IS" basis,
    2.21 +-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
    2.22 +-# for the specific language governing rights and limitations under the
    2.23 +-# License.
    2.24 +-#
    2.25 +-# The Original Code is the Netscape security libraries.
    2.26 +-#
    2.27 +-# The Initial Developer of the Original Code is
    2.28 +-# Netscape Communications Corporation.
    2.29 +-# Portions created by the Initial Developer are Copyright (C) 1994-2000
    2.30 +-# the Initial Developer. All Rights Reserved.
    2.31 +-#
    2.32 +-# Contributor(s):
    2.33 +-#
    2.34 +-# Alternatively, the contents of this file may be used under the terms of
    2.35 +-# either the GNU General Public License Version 2 or later (the "GPL"), or
    2.36 +-# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
    2.37 +-# in which case the provisions of the GPL or the LGPL are applicable instead
    2.38 +-# of those above. If you wish to allow use of your version of this file only
    2.39 +-# under the terms of either the GPL or the LGPL, and not to allow others to
    2.40 +-# use your version of this file under the terms of the MPL, indicate your
    2.41 +-# decision by deleting the provisions above and replace them with the notice
    2.42 +-# and other provisions required by the GPL or the LGPL. If you do not delete
    2.43 +-# the provisions above, a recipient may use your version of this file under
    2.44 +-# the terms of any one of the MPL, the GPL or the LGPL.
    2.45 +-#
    2.46 +-# ***** END LICENSE BLOCK *****
    2.47 +-
    2.48 +-include $(CORE_DEPTH)/coreconf/Linux.mk
    2.49 +-ifeq ($(OS_RELEASE),2.1)
    2.50 +-        OS_REL_CFLAGS   += -DLINUX2_1
    2.51 +-        MKSHLIB         = $(CC) $(DSO_LDOPTS) -Wl,-soname -Wl,$(@:$(OBJDIR)/%.so=%.so) $(RPATH)
    2.52 +-	ifdef MAPFILE
    2.53 +-		MKSHLIB += -Wl,--version-script,$(MAPFILE)
    2.54 +-	endif
    2.55 +-	PROCESS_MAP_FILE = grep -v ';-' $< | \
    2.56 +-       	 sed -e 's,;+,,' -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,;,' > $@
    2.57 +-endif
    2.58 +-
    2.59 +Index: mozilla/security/coreconf/Linux2.2.mk
    2.60 +===================================================================
    2.61 +RCS file: mozilla/security/coreconf/Linux2.2.mk
    2.62 +diff -N mozilla/security/coreconf/Linux2.2.mk
    2.63 +--- mozilla/security/coreconf/Linux2.2.mk	11 Jun 2009 00:55:32 -0000	1.7
    2.64 ++++ /dev/null	1 Jan 1970 00:00:00 -0000
    2.65 +@@ -1,48 +0,0 @@
    2.66 +-#
    2.67 +-# ***** BEGIN LICENSE BLOCK *****
    2.68 +-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
    2.69 +-#
    2.70 +-# The contents of this file are subject to the Mozilla Public License Version
    2.71 +-# 1.1 (the "License"); you may not use this file except in compliance with
    2.72 +-# the License. You may obtain a copy of the License at
    2.73 +-# http://www.mozilla.org/MPL/
    2.74 +-#
    2.75 +-# Software distributed under the License is distributed on an "AS IS" basis,
    2.76 +-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
    2.77 +-# for the specific language governing rights and limitations under the
    2.78 +-# License.
    2.79 +-#
    2.80 +-# The Original Code is the Netscape security libraries.
    2.81 +-#
    2.82 +-# The Initial Developer of the Original Code is
    2.83 +-# Netscape Communications Corporation.
    2.84 +-# Portions created by the Initial Developer are Copyright (C) 1994-2000
    2.85 +-# the Initial Developer. All Rights Reserved.
    2.86 +-#
    2.87 +-# Contributor(s):
    2.88 +-#
    2.89 +-# Alternatively, the contents of this file may be used under the terms of
    2.90 +-# either the GNU General Public License Version 2 or later (the "GPL"), or
    2.91 +-# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
    2.92 +-# in which case the provisions of the GPL or the LGPL are applicable instead
    2.93 +-# of those above. If you wish to allow use of your version of this file only
    2.94 +-# under the terms of either the GPL or the LGPL, and not to allow others to
    2.95 +-# use your version of this file under the terms of the MPL, indicate your
    2.96 +-# decision by deleting the provisions above and replace them with the notice
    2.97 +-# and other provisions required by the GPL or the LGPL. If you do not delete
    2.98 +-# the provisions above, a recipient may use your version of this file under
    2.99 +-# the terms of any one of the MPL, the GPL or the LGPL.
   2.100 +-#
   2.101 +-# ***** END LICENSE BLOCK *****
   2.102 +-
   2.103 +-include $(CORE_DEPTH)/coreconf/Linux.mk
   2.104 +-
   2.105 +-OS_REL_CFLAGS   += -DLINUX2_1
   2.106 +-MKSHLIB         = $(CC) $(DSO_LDOPTS) -Wl,-soname -Wl,$(@:$(OBJDIR)/%.so=%.so) $(RPATH)
   2.107 +-
   2.108 +-ifdef MAPFILE
   2.109 +-	MKSHLIB += -Wl,--version-script,$(MAPFILE)
   2.110 +-endif
   2.111 +-PROCESS_MAP_FILE = grep -v ';-' $< | \
   2.112 +-        sed -e 's,;+,,' -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,;,' > $@
   2.113 +-
   2.114 +Index: mozilla/security/coreconf/Linux2.4.mk
   2.115 +===================================================================
   2.116 +RCS file: mozilla/security/coreconf/Linux2.4.mk
   2.117 +diff -N mozilla/security/coreconf/Linux2.4.mk
   2.118 +--- mozilla/security/coreconf/Linux2.4.mk	21 Jul 2010 16:23:15 -0000	1.10
   2.119 ++++ /dev/null	1 Jan 1970 00:00:00 -0000
   2.120 +@@ -1,49 +0,0 @@
   2.121 +-#
   2.122 +-# ***** BEGIN LICENSE BLOCK *****
   2.123 +-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
   2.124 +-#
   2.125 +-# The contents of this file are subject to the Mozilla Public License Version
   2.126 +-# 1.1 (the "License"); you may not use this file except in compliance with
   2.127 +-# the License. You may obtain a copy of the License at
   2.128 +-# http://www.mozilla.org/MPL/
   2.129 +-#
   2.130 +-# Software distributed under the License is distributed on an "AS IS" basis,
   2.131 +-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
   2.132 +-# for the specific language governing rights and limitations under the
   2.133 +-# License.
   2.134 +-#
   2.135 +-# The Original Code is the Netscape security libraries.
   2.136 +-#
   2.137 +-# The Initial Developer of the Original Code is
   2.138 +-# Netscape Communications Corporation.
   2.139 +-# Portions created by the Initial Developer are Copyright (C) 1994-2000
   2.140 +-# the Initial Developer. All Rights Reserved.
   2.141 +-#
   2.142 +-# Contributor(s):
   2.143 +-#
   2.144 +-# Alternatively, the contents of this file may be used under the terms of
   2.145 +-# either the GNU General Public License Version 2 or later (the "GPL"), or
   2.146 +-# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
   2.147 +-# in which case the provisions of the GPL or the LGPL are applicable instead
   2.148 +-# of those above. If you wish to allow use of your version of this file only
   2.149 +-# under the terms of either the GPL or the LGPL, and not to allow others to
   2.150 +-# use your version of this file under the terms of the MPL, indicate your
   2.151 +-# decision by deleting the provisions above and replace them with the notice
   2.152 +-# and other provisions required by the GPL or the LGPL. If you do not delete
   2.153 +-# the provisions above, a recipient may use your version of this file under
   2.154 +-# the terms of any one of the MPL, the GPL or the LGPL.
   2.155 +-#
   2.156 +-# ***** END LICENSE BLOCK *****
   2.157 +-
   2.158 +-include $(CORE_DEPTH)/coreconf/Linux.mk
   2.159 +-
   2.160 +-OS_REL_CFLAGS   += -DLINUX2_1
   2.161 +-MKSHLIB         = $(CC) $(DSO_LDOPTS) -Wl,-soname -Wl,$(@:$(OBJDIR)/%.so=%.so) $(RPATH)
   2.162 +-
   2.163 +-ifdef MAPFILE
   2.164 +-	MKSHLIB += -Wl,--version-script,$(MAPFILE)
   2.165 +-endif
   2.166 +-PROCESS_MAP_FILE = grep -v ';-' $< | \
   2.167 +-        sed -e 's,;+,,' -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,;,' > $@
   2.168 +-        
   2.169 +-DEFINES += -DNO_FORK_CHECK
   2.170 +Index: mozilla/security/coreconf/Linux2.5.mk
   2.171 +===================================================================
   2.172 +RCS file: mozilla/security/coreconf/Linux2.5.mk
   2.173 +diff -N mozilla/security/coreconf/Linux2.5.mk
   2.174 +--- mozilla/security/coreconf/Linux2.5.mk	11 Jun 2009 00:55:32 -0000	1.6
   2.175 ++++ /dev/null	1 Jan 1970 00:00:00 -0000
   2.176 +@@ -1,48 +0,0 @@
   2.177 +-#
   2.178 +-# ***** BEGIN LICENSE BLOCK *****
   2.179 +-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
   2.180 +-#
   2.181 +-# The contents of this file are subject to the Mozilla Public License Version
   2.182 +-# 1.1 (the "License"); you may not use this file except in compliance with
   2.183 +-# the License. You may obtain a copy of the License at
   2.184 +-# http://www.mozilla.org/MPL/
   2.185 +-#
   2.186 +-# Software distributed under the License is distributed on an "AS IS" basis,
   2.187 +-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
   2.188 +-# for the specific language governing rights and limitations under the
   2.189 +-# License.
   2.190 +-#
   2.191 +-# The Original Code is the Netscape security libraries.
   2.192 +-#
   2.193 +-# The Initial Developer of the Original Code is
   2.194 +-# Netscape Communications Corporation.
   2.195 +-# Portions created by the Initial Developer are Copyright (C) 1994-2000
   2.196 +-# the Initial Developer. All Rights Reserved.
   2.197 +-#
   2.198 +-# Contributor(s):
   2.199 +-#
   2.200 +-# Alternatively, the contents of this file may be used under the terms of
   2.201 +-# either the GNU General Public License Version 2 or later (the "GPL"), or
   2.202 +-# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
   2.203 +-# in which case the provisions of the GPL or the LGPL are applicable instead
   2.204 +-# of those above. If you wish to allow use of your version of this file only
   2.205 +-# under the terms of either the GPL or the LGPL, and not to allow others to
   2.206 +-# use your version of this file under the terms of the MPL, indicate your
   2.207 +-# decision by deleting the provisions above and replace them with the notice
   2.208 +-# and other provisions required by the GPL or the LGPL. If you do not delete
   2.209 +-# the provisions above, a recipient may use your version of this file under
   2.210 +-# the terms of any one of the MPL, the GPL or the LGPL.
   2.211 +-#
   2.212 +-# ***** END LICENSE BLOCK *****
   2.213 +-
   2.214 +-include $(CORE_DEPTH)/coreconf/Linux.mk
   2.215 +-
   2.216 +-OS_REL_CFLAGS   += -DLINUX2_1
   2.217 +-MKSHLIB         = $(CC) $(DSO_LDOPTS) -Wl,-soname -Wl,$(@:$(OBJDIR)/%.so=%.so) $(RPATH)
   2.218 +-
   2.219 +-ifdef MAPFILE
   2.220 +-	MKSHLIB += -Wl,--version-script,$(MAPFILE)
   2.221 +-endif
   2.222 +-PROCESS_MAP_FILE = grep -v ';-' $< | \
   2.223 +-        sed -e 's,;+,,' -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,;,' > $@
   2.224 +-
   2.225 +Index: mozilla/security/coreconf/Linux2.6.mk
   2.226 +===================================================================
   2.227 +RCS file: mozilla/security/coreconf/Linux2.6.mk
   2.228 +diff -N mozilla/security/coreconf/Linux2.6.mk
   2.229 +--- mozilla/security/coreconf/Linux2.6.mk	11 Jun 2009 00:55:32 -0000	1.6
   2.230 ++++ /dev/null	1 Jan 1970 00:00:00 -0000
   2.231 +@@ -1,48 +0,0 @@
   2.232 +-#
   2.233 +-# ***** BEGIN LICENSE BLOCK *****
   2.234 +-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
   2.235 +-#
   2.236 +-# The contents of this file are subject to the Mozilla Public License Version
   2.237 +-# 1.1 (the "License"); you may not use this file except in compliance with
   2.238 +-# the License. You may obtain a copy of the License at
   2.239 +-# http://www.mozilla.org/MPL/
   2.240 +-#
   2.241 +-# Software distributed under the License is distributed on an "AS IS" basis,
   2.242 +-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
   2.243 +-# for the specific language governing rights and limitations under the
   2.244 +-# License.
   2.245 +-#
   2.246 +-# The Original Code is the Netscape security libraries.
   2.247 +-#
   2.248 +-# The Initial Developer of the Original Code is
   2.249 +-# Netscape Communications Corporation.
   2.250 +-# Portions created by the Initial Developer are Copyright (C) 1994-2000
   2.251 +-# the Initial Developer. All Rights Reserved.
   2.252 +-#
   2.253 +-# Contributor(s):
   2.254 +-#
   2.255 +-# Alternatively, the contents of this file may be used under the terms of
   2.256 +-# either the GNU General Public License Version 2 or later (the "GPL"), or
   2.257 +-# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
   2.258 +-# in which case the provisions of the GPL or the LGPL are applicable instead
   2.259 +-# of those above. If you wish to allow use of your version of this file only
   2.260 +-# under the terms of either the GPL or the LGPL, and not to allow others to
   2.261 +-# use your version of this file under the terms of the MPL, indicate your
   2.262 +-# decision by deleting the provisions above and replace them with the notice
   2.263 +-# and other provisions required by the GPL or the LGPL. If you do not delete
   2.264 +-# the provisions above, a recipient may use your version of this file under
   2.265 +-# the terms of any one of the MPL, the GPL or the LGPL.
   2.266 +-#
   2.267 +-# ***** END LICENSE BLOCK *****
   2.268 +-
   2.269 +-include $(CORE_DEPTH)/coreconf/Linux.mk
   2.270 +-
   2.271 +-OS_REL_CFLAGS   += -DLINUX2_1
   2.272 +-MKSHLIB         = $(CC) $(DSO_LDOPTS) -Wl,-soname -Wl,$(@:$(OBJDIR)/%.so=%.so) $(RPATH)
   2.273 +-
   2.274 +-ifdef MAPFILE
   2.275 +-	MKSHLIB += -Wl,--version-script,$(MAPFILE)
   2.276 +-endif
   2.277 +-PROCESS_MAP_FILE = grep -v ';-' $< | \
   2.278 +-        sed -e 's,;+,,' -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,;,' > $@
   2.279 +-
   2.280 +Index: mozilla/security/coreconf/LinuxELF1.2.mk
   2.281 +===================================================================
   2.282 +RCS file: mozilla/security/coreconf/LinuxELF1.2.mk
   2.283 +diff -N mozilla/security/coreconf/LinuxELF1.2.mk
   2.284 +--- mozilla/security/coreconf/LinuxELF1.2.mk	25 Apr 2004 15:02:17 -0000	1.2
   2.285 ++++ /dev/null	1 Jan 1970 00:00:00 -0000
   2.286 +@@ -1,38 +0,0 @@
   2.287 +-#
   2.288 +-# ***** BEGIN LICENSE BLOCK *****
   2.289 +-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
   2.290 +-#
   2.291 +-# The contents of this file are subject to the Mozilla Public License Version
   2.292 +-# 1.1 (the "License"); you may not use this file except in compliance with
   2.293 +-# the License. You may obtain a copy of the License at
   2.294 +-# http://www.mozilla.org/MPL/
   2.295 +-#
   2.296 +-# Software distributed under the License is distributed on an "AS IS" basis,
   2.297 +-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
   2.298 +-# for the specific language governing rights and limitations under the
   2.299 +-# License.
   2.300 +-#
   2.301 +-# The Original Code is the Netscape security libraries.
   2.302 +-#
   2.303 +-# The Initial Developer of the Original Code is
   2.304 +-# Netscape Communications Corporation.
   2.305 +-# Portions created by the Initial Developer are Copyright (C) 1994-2000
   2.306 +-# the Initial Developer. All Rights Reserved.
   2.307 +-#
   2.308 +-# Contributor(s):
   2.309 +-#
   2.310 +-# Alternatively, the contents of this file may be used under the terms of
   2.311 +-# either the GNU General Public License Version 2 or later (the "GPL"), or
   2.312 +-# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
   2.313 +-# in which case the provisions of the GPL or the LGPL are applicable instead
   2.314 +-# of those above. If you wish to allow use of your version of this file only
   2.315 +-# under the terms of either the GPL or the LGPL, and not to allow others to
   2.316 +-# use your version of this file under the terms of the MPL, indicate your
   2.317 +-# decision by deleting the provisions above and replace them with the notice
   2.318 +-# and other provisions required by the GPL or the LGPL. If you do not delete
   2.319 +-# the provisions above, a recipient may use your version of this file under
   2.320 +-# the terms of any one of the MPL, the GPL or the LGPL.
   2.321 +-#
   2.322 +-# ***** END LICENSE BLOCK *****
   2.323 +-
   2.324 +-include $(CORE_DEPTH)/coreconf/Linux.mk
   2.325 +Index: mozilla/security/coreconf/LinuxELF2.0.mk
   2.326 +===================================================================
   2.327 +RCS file: mozilla/security/coreconf/LinuxELF2.0.mk
   2.328 +diff -N mozilla/security/coreconf/LinuxELF2.0.mk
   2.329 +--- mozilla/security/coreconf/LinuxELF2.0.mk	25 Apr 2004 15:02:17 -0000	1.2
   2.330 ++++ /dev/null	1 Jan 1970 00:00:00 -0000
   2.331 +@@ -1,38 +0,0 @@
   2.332 +-#
   2.333 +-# ***** BEGIN LICENSE BLOCK *****
   2.334 +-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
   2.335 +-#
   2.336 +-# The contents of this file are subject to the Mozilla Public License Version
   2.337 +-# 1.1 (the "License"); you may not use this file except in compliance with
   2.338 +-# the License. You may obtain a copy of the License at
   2.339 +-# http://www.mozilla.org/MPL/
   2.340 +-#
   2.341 +-# Software distributed under the License is distributed on an "AS IS" basis,
   2.342 +-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
   2.343 +-# for the specific language governing rights and limitations under the
   2.344 +-# License.
   2.345 +-#
   2.346 +-# The Original Code is the Netscape security libraries.
   2.347 +-#
   2.348 +-# The Initial Developer of the Original Code is
   2.349 +-# Netscape Communications Corporation.
   2.350 +-# Portions created by the Initial Developer are Copyright (C) 1994-2000
   2.351 +-# the Initial Developer. All Rights Reserved.
   2.352 +-#
   2.353 +-# Contributor(s):
   2.354 +-#
   2.355 +-# Alternatively, the contents of this file may be used under the terms of
   2.356 +-# either the GNU General Public License Version 2 or later (the "GPL"), or
   2.357 +-# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
   2.358 +-# in which case the provisions of the GPL or the LGPL are applicable instead
   2.359 +-# of those above. If you wish to allow use of your version of this file only
   2.360 +-# under the terms of either the GPL or the LGPL, and not to allow others to
   2.361 +-# use your version of this file under the terms of the MPL, indicate your
   2.362 +-# decision by deleting the provisions above and replace them with the notice
   2.363 +-# and other provisions required by the GPL or the LGPL. If you do not delete
   2.364 +-# the provisions above, a recipient may use your version of this file under
   2.365 +-# the terms of any one of the MPL, the GPL or the LGPL.
   2.366 +-#
   2.367 +-# ***** END LICENSE BLOCK *****
   2.368 +-
   2.369 +-include $(CORE_DEPTH)/coreconf/Linux.mk
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/seamonkey/stuff/linux3.0.patch	Fri Nov 25 08:31:09 2011 +0000
     3.3 @@ -0,0 +1,54 @@
     3.4 +Index: mozilla/security/coreconf/Linux.mk
     3.5 +===================================================================
     3.6 +RCS file: /cvsroot/mozilla/security/coreconf/Linux.mk,v
     3.7 +retrieving revision 1.48
     3.8 +diff -u -8 -r1.48 Linux.mk
     3.9 +--- mozilla/security/coreconf/Linux.mk	13 Aug 2010 01:31:13 -0000	1.48
    3.10 ++++ mozilla/security/coreconf/Linux.mk	3 Jul 2011 06:00:38 -0000
    3.11 +@@ -187,8 +187,20 @@
    3.12 + ifeq ($(BUILD_SUN_PKG), 1)
    3.13 + ifeq ($(USE_64), 1)
    3.14 + RPATH = -Wl,-rpath,'$$ORIGIN:/opt/sun/private/lib64:/opt/sun/private/lib'
    3.15 + else
    3.16 + RPATH = -Wl,-rpath,'$$ORIGIN:/opt/sun/private/lib'
    3.17 + endif
    3.18 + endif
    3.19 + 
    3.20 ++OS_REL_CFLAGS   += -DLINUX2_1
    3.21 ++MKSHLIB         = $(CC) $(DSO_LDOPTS) -Wl,-soname -Wl,$(@:$(OBJDIR)/%.so=%.so) $(RPATH)
    3.22 ++
    3.23 ++ifdef MAPFILE
    3.24 ++	MKSHLIB += -Wl,--version-script,$(MAPFILE)
    3.25 ++endif
    3.26 ++PROCESS_MAP_FILE = grep -v ';-' $< | \
    3.27 ++        sed -e 's,;+,,' -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,;,' > $@
    3.28 ++
    3.29 ++ifeq ($(OS_RELEASE),2.4)
    3.30 ++DEFINES += -DNO_FORK_CHECK
    3.31 ++endif
    3.32 +Index: mozilla/security/coreconf/config.mk
    3.33 +===================================================================
    3.34 +RCS file: /cvsroot/mozilla/security/coreconf/config.mk,v
    3.35 +retrieving revision 1.30
    3.36 +diff -u -8 -r1.30 config.mk
    3.37 +--- mozilla/security/coreconf/config.mk	25 Aug 2009 22:35:11 -0000	1.30
    3.38 ++++ mozilla/security/coreconf/config.mk	3 Jul 2011 06:00:39 -0000
    3.39 +@@ -58,17 +58,17 @@
    3.40 + #       (dependent upon <architecture> tags)                          #
    3.41 + #                                                                     #
    3.42 + #       We are moving towards just having a $(OS_TARGET).mk file      #
    3.43 + #       as opposed to multiple $(OS_TARGET)$(OS_RELEASE).mk files,    #
    3.44 + #       one for each OS release.                                      #
    3.45 + #######################################################################
    3.46 + 
    3.47 + TARGET_OSES = FreeBSD BSD_OS NetBSD OpenUNIX OS2 QNX Darwin BeOS OpenBSD \
    3.48 +-              AIX RISCOS WINNT WIN95 WINCE
    3.49 ++              AIX RISCOS WINNT WIN95 WINCE Linux
    3.50 + 
    3.51 + ifeq (,$(filter-out $(TARGET_OSES),$(OS_TARGET)))
    3.52 + include $(CORE_DEPTH)/coreconf/$(OS_TARGET).mk
    3.53 + else
    3.54 + include $(CORE_DEPTH)/coreconf/$(OS_TARGET)$(OS_RELEASE).mk
    3.55 + endif
    3.56 + 
    3.57 + #######################################################################
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/seamonkey/stuff/seamonkey-2.0-lang.patch	Fri Nov 25 08:31:09 2011 +0000
     4.3 @@ -0,0 +1,11 @@
     4.4 +--- comm-1.9.1/mozilla/modules/libpref/src/init/all.js	2009-10-11 02:12:44.000000000 +0200
     4.5 ++++ comm-1.9.1/mozilla/modules/libpref/src/init/all.js	2009-09-16 02:56:45.000000000 +0200
     4.6 +@@ -890,7 +890,7 @@
     4.7 + pref("intl.charset.detector",               "chrome://global/locale/intl.properties");
     4.8 + pref("intl.charset.default",                "chrome://global-platform/locale/intl.properties");
     4.9 + pref("intl.ellipsis",                       "chrome://global-platform/locale/intl.properties");
    4.10 +-pref("intl.locale.matchOS",                 false);
    4.11 ++pref("intl.locale.matchOS",                 true);
    4.12 + // fallback charset list for Unicode conversion (converting from Unicode)
    4.13 + // currently used for mail send only to handle symbol characters (e.g Euro, trademark, smartquotes)
    4.14 + // for ISO-8859-1
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/seamonkey/stuff/seamonkey-install-dir.patch	Fri Nov 25 08:31:09 2011 +0000
     5.3 @@ -0,0 +1,42 @@
     5.4 +diff -Nur comm-beta.orig/config/autoconf.mk.in comm-beta/config/autoconf.mk.in
     5.5 +--- comm-beta.orig/config/autoconf.mk.in	2011-11-06 14:39:51.064983780 +0000
     5.6 ++++ comm-beta/config/autoconf.mk.in	2011-11-06 14:42:57.216735333 +0000
     5.7 +@@ -65,8 +65,8 @@
     5.8 + mandir		= @mandir@
     5.9 + idldir		= $(datadir)/idl/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
    5.10 +
    5.11 +-installdir	= $(libdir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
    5.12 +-sdkdir		= $(libdir)/$(MOZ_APP_NAME)-devel-$(MOZ_APP_VERSION)
    5.13 ++installdir	= $(libdir)/$(MOZ_APP_NAME)
    5.14 ++sdkdir		= $(libdir)/$(MOZ_APP_NAME)-devel
    5.15 +
    5.16 + MOZDEPTH	= $(DEPTH)/mozilla
    5.17 + DIST		= $(MOZDEPTH)/dist
    5.18 +diff -Nur comm-beta.orig/mozilla/config/autoconf.mk.in comm-beta/mozilla/config/autoconf.mk.in
    5.19 +--- comm-beta.orig/mozilla/config/autoconf.mk.in	2011-11-06 14:39:41.771562967 +0000
    5.20 ++++ comm-beta/mozilla/config/autoconf.mk.in	2011-11-06 14:44:18.404165515 +0000
    5.21 +@@ -68,8 +68,8 @@
    5.22 + mandir		= @mandir@
    5.23 + idldir		= $(datadir)/idl/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
    5.24 +
    5.25 +-installdir	= $(libdir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
    5.26 +-sdkdir		= $(libdir)/$(MOZ_APP_NAME)-devel-$(MOZ_APP_VERSION)
    5.27 ++installdir	= $(libdir)/$(MOZ_APP_NAME)
    5.28 ++sdkdir		= $(libdir)/$(MOZ_APP_NAME)-devel
    5.29 +
    5.30 + DIST		= $(DEPTH)/dist
    5.31 + LIBXUL_SDK      = @LIBXUL_SDK@
    5.32 +diff -Nur comm-beta.orig/mozilla/js/src/config/autoconf.mk.in comm-beta/mozilla/js/src/config/autoconf.mk.in
    5.33 +--- comm-beta.orig/mozilla/js/src/config/autoconf.mk.in	2011-11-06 14:39:48.014955070 +0000
    5.34 ++++ comm-beta/mozilla/js/src/config/autoconf.mk.in	2011-11-06 14:44:32.977635875 +0000
    5.35 +@@ -61,8 +61,8 @@
    5.36 + datadir		= @datadir@
    5.37 + mandir		= @mandir@
    5.38 +
    5.39 +-installdir	= $(libdir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
    5.40 +-sdkdir		= $(libdir)/$(MOZ_APP_NAME)-devel-$(MOZ_APP_VERSION)
    5.41 ++installdir	= $(libdir)/$(MOZ_APP_NAME)
    5.42 ++sdkdir		= $(libdir)/$(MOZ_APP_NAME)-devel
    5.43 +
    5.44 + TOP_DIST	= @TOP_DIST@
    5.45 + ifneq (,$(filter /%,$(TOP_DIST)))
     6.1 --- a/seamonkey/stuff/seamonkey.mozconfig	Fri Nov 25 08:15:11 2011 +0000
     6.2 +++ b/seamonkey/stuff/seamonkey.mozconfig	Fri Nov 25 08:31:09 2011 +0000
     6.3 @@ -2,8 +2,10 @@
     6.4  ac_add_options --prefix=/usr
     6.5  
     6.6  ac_add_options --with-system-zlib
     6.7 -#ac_add_options --with-system-png
     6.8 +ac_add_options --with-system-png
     6.9  ac_add_options --with-system-jpeg
    6.10 +ac_add_options --with-system-libevent
    6.11 +ac_add_options --with-system-libvpx
    6.12  
    6.13  ac_add_options --enable-application=suite
    6.14  ac_add_options --enable-default-toolkit=cairo-gtk2