aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflo <flo@FreeBSD.org>2013-07-24 17:30:21 +0800
committerflo <flo@FreeBSD.org>2013-07-24 17:30:21 +0800
commit12423881710a7b90a24944fa4373a112d63f4e4e (patch)
tree2429a09adb851e23026d305bae4a36c2858aac9d
parentcb3ff413d033393c1977fdc21bb16821ac1e23ee (diff)
downloadfreebsd-ports-gnome-12423881710a7b90a24944fa4373a112d63f4e4e.tar.gz
freebsd-ports-gnome-12423881710a7b90a24944fa4373a112d63f4e4e.tar.zst
freebsd-ports-gnome-12423881710a7b90a24944fa4373a112d63f4e4e.zip
Update to 22.0
-rw-r--r--www/linux-firefox/Makefile22
-rw-r--r--www/linux-firefox/distinfo4
-rw-r--r--www/linux-firefox/pkg-plist34
3 files changed, 36 insertions, 24 deletions
diff --git a/www/linux-firefox/Makefile b/www/linux-firefox/Makefile
index ad2c8be381e9..50b492cba4a8 100644
--- a/www/linux-firefox/Makefile
+++ b/www/linux-firefox/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= firefox
-PORTVERSION= 21.0
+PORTVERSION= 22.0
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${PORTVERSION}/linux-i686/en-US
@@ -10,7 +10,6 @@ MASTER_SITES= MOZILLA/${PORTNAME}/releases/${PORTVERSION}/linux-i686/en-US
MAINTAINER= gecko@FreeBSD.org
COMMENT= Web browser based on the browser portion of Mozilla
-# gecko version must be exactly same
EXTRACT_DEPENDS=${NONEXISTENT}:${PORTSDIR}/www/linux-seamonkey:extract
CONFLICTS= linux-firefox-24.* linux-firefox-1[07].*
@@ -19,12 +18,27 @@ USE_BZIP2= yes
USE_LINUX_APPS= dbusglib dbuslibs alsalib alsa-plugins-oss
+APP_SUBDIR= browser/ # plugins, extensions
+
.include "${.CURDIR}/../linux-seamonkey/Makefile.common"
+# XXX remove after linux_base-c6 and linux-c6-gtk2 become default
+# using seamonkey gre for linux_base-f10 compat
post-extract: replace-gre
-replace-gre:
- # using seamonkey gre for linux_base-f10 compat
+replace-gre: version-compat-check
+ @${ECHO_MSG} "===> GRE versions are compatible, replacing with" \
+ "$$(${MAKE} -V PKGNAME -C ${PORTSDIR}/www/linux-seamonkey)"
cd $$(${MAKE} -V WRKSRC -C ${PORTSDIR}/www/linux-seamonkey); \
${CP} lib* dependentlibs.list ${WRKSRC}
+version-compat-check:
+ @${ECHO_MSG} "===> Checking GRE version is compatible with" \
+ "$$(${MAKE} -V PKGNAME -C ${PORTSDIR}/www/linux-seamonkey)"
+ @ff_gre_version=$$(${AWK} -F= '/Milestone/ { print $$2 }' ${WRKSRC}/platform.ini); \
+ sm_gre_version=$$(${AWK} -F= '/Milestone/ { print $$2 }' $$(${MAKE} -V WRKSRC -C ${PORTSDIR}/www/linux-seamonkey)/platform.ini); \
+ if [ $$ff_gre_version != $$sm_gre_version ]; then \
+ ${ECHO_MSG} "===> GRE versions aren't compatible, aborting"; \
+ exit 1; \
+ fi
+
.include <bsd.port.mk>
diff --git a/www/linux-firefox/distinfo b/www/linux-firefox/distinfo
index f424ce5b659b..71044b97d68b 100644
--- a/www/linux-firefox/distinfo
+++ b/www/linux-firefox/distinfo
@@ -1,2 +1,2 @@
-SHA256 (firefox-21.0.tar.bz2) = 1151e4998badcfd984624ee42fea572c7da64112d631901652fd558f5640fffe
-SIZE (firefox-21.0.tar.bz2) = 24410321
+SHA256 (firefox-22.0.tar.bz2) = 3253966e8ca81b872d8fb03fefdd574c1d1bc7555b9aecfa6f354161f676370b
+SIZE (firefox-22.0.tar.bz2) = 25314325
diff --git a/www/linux-firefox/pkg-plist b/www/linux-firefox/pkg-plist
index 6da365912984..cadceb21658f 100644
--- a/www/linux-firefox/pkg-plist
+++ b/www/linux-firefox/pkg-plist
@@ -54,7 +54,6 @@ lib/%%APP_NAME%%/libsmime3.so
lib/%%APP_NAME%%/libsoftokn3.chk
lib/%%APP_NAME%%/libsoftokn3.so
lib/%%APP_NAME%%/libssl3.so
-lib/%%APP_NAME%%/libxpcom.so
lib/%%APP_NAME%%/libxul.so
lib/%%APP_NAME%%/mozilla-xremote-client
lib/%%APP_NAME%%/omni.ja
@@ -69,26 +68,25 @@ lib/%%APP_NAME%%/updater.ini
lib/%%APP_NAME%%/webapprt-stub
lib/%%APP_NAME%%/webapprt/omni.ja
lib/%%APP_NAME%%/webapprt/webapprt.ini
-@exec /bin/cp -R %%LOCALBASE%%/lib/npapi/symlinks/%%APP_NAME%%/ %D/lib/%%APP_NAME%%/plugins/ 2>/dev/null || true
-@exec /bin/cp -R %%LOCALBASE%%/lib/xpi/symlinks/%%APP_NAME%%/ %D/lib/%%APP_NAME%%/extensions/ 2>/dev/null || true
-@unexec /usr/bin/find %D/lib/%%APP_NAME%%/plugins/ -depth 1 -type l -delete 2>/dev/null || true
-@unexec /usr/bin/find %D/lib/%%APP_NAME%%/extensions/ -depth 1 -type l -delete 2>/dev/null || true
-@dirrm lib/%%APP_NAME%%/webapprt
-@dirrm lib/%%APP_NAME%%/plugins
-@dirrm lib/%%APP_NAME%%/icons
-@dirrm lib/%%APP_NAME%%/extensions
-@dirrm lib/%%APP_NAME%%/dictionaries
-@dirrm lib/%%APP_NAME%%/defaults/pref
-@dirrm lib/%%APP_NAME%%/defaults
-@dirrm lib/%%APP_NAME%%/components
-@dirrm lib/%%APP_NAME%%/browser/searchplugins
-@dirrm lib/%%APP_NAME%%/browser/icons
-@dirrm lib/%%APP_NAME%%/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
-@dirrm lib/%%APP_NAME%%/browser/extensions
-@dirrm lib/%%APP_NAME%%/browser/components
+@exec /bin/cp -R %%LOCALBASE%%/lib/npapi/symlinks/%%APP_NAME%%/ %D/lib/%%APP_NAME%%/browser/plugins/ 2>/dev/null || true
+@exec /bin/cp -R %%LOCALBASE%%/lib/xpi/symlinks/%%APP_NAME%%/ %D/lib/%%APP_NAME%%/browser/extensions/ 2>/dev/null || true
+@unexec /usr/bin/find %D/lib/%%APP_NAME%%/browser/plugins/ -depth 1 -type l -delete 2>/dev/null || true
+@unexec /usr/bin/find %D/lib/%%APP_NAME%%/browser/extensions/ -depth 1 -type l -delete 2>/dev/null || true
@dirrm lib/%%APP_NAME%%/browser/chrome/icons/default
@dirrm lib/%%APP_NAME%%/browser/chrome/icons
@dirrm lib/%%APP_NAME%%/browser/chrome
+@dirrm lib/%%APP_NAME%%/browser/components
+@dirrm lib/%%APP_NAME%%/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
+@dirrm lib/%%APP_NAME%%/browser/extensions
+@dirrm lib/%%APP_NAME%%/browser/icons
+@dirrm lib/%%APP_NAME%%/browser/plugins
+@dirrm lib/%%APP_NAME%%/browser/searchplugins
@dirrm lib/%%APP_NAME%%/browser
+@dirrm lib/%%APP_NAME%%/components
+@dirrm lib/%%APP_NAME%%/defaults/pref
+@dirrm lib/%%APP_NAME%%/defaults
+@dirrm lib/%%APP_NAME%%/dictionaries
+@dirrm lib/%%APP_NAME%%/icons
+@dirrm lib/%%APP_NAME%%/webapprt
@dirrm lib/%%APP_NAME%%
@dirrmtry share/applications