[Midnightbsd-cvs] mports [15893] U trunk/www/linux-seamonkey/pkg-descr: seamonkey 2.24

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Tue Feb 25 16:10:11 EST 2014


Revision: 15893
          http://svnweb.midnightbsd.org/mports/?rev=15893
Author:   laffer1
Date:     2014-02-25 16:10:10 -0500 (Tue, 25 Feb 2014)
Log Message:
-----------
seamonkey 2.24

Modified Paths:
--------------
    trunk/www/linux-seamonkey/Makefile
    trunk/www/linux-seamonkey/Makefile.common
    trunk/www/linux-seamonkey/distinfo
    trunk/www/linux-seamonkey/files/linux-seamonkey.desktop.in

Property Changed:
----------------
    trunk/www/linux-seamonkey/files/linux-seamonkey.desktop.in
    trunk/www/linux-seamonkey/pkg-descr

Modified: trunk/www/linux-seamonkey/Makefile
===================================================================
--- trunk/www/linux-seamonkey/Makefile	2014-02-25 17:36:48 UTC (rev 15892)
+++ trunk/www/linux-seamonkey/Makefile	2014-02-25 21:10:10 UTC (rev 15893)
@@ -1,8 +1,8 @@
 # $MidnightBSD$
 
 PORTNAME=	seamonkey
-DISTVERSION=	2.21
-CATEGORIES=	www
+DISTVERSION=	2.24
+CATEGORIES=	www mail news editors irc ipv6
 MASTER_SITES=	MOZILLA/${PORTNAME}/releases/${DISTVERSION}/linux-i686/en-US
 
 MAINTAINER=	ports at MidnightBSD.org

Modified: trunk/www/linux-seamonkey/Makefile.common
===================================================================
--- trunk/www/linux-seamonkey/Makefile.common	2014-02-25 17:36:48 UTC (rev 15892)
+++ trunk/www/linux-seamonkey/Makefile.common	2014-02-25 21:10:10 UTC (rev 15893)
@@ -1,11 +1,24 @@
+# Created by: Andrew Pantyukhin <infofarmer at FreeBSD.org>
 # $MidnightBSD$
 
+.if defined(OVERRIDE_LINUX_NONBASE_PORTS) && \
+    ${OVERRIDE_LINUX_NONBASE_PORTS} != "f10"
+.undef WANT_GTK218
+.endif
+
 CATEGORIES+=	linux
 MASTER_SITES?=	MOZILLA/${PORTNAME}/releases/${PORTVERSION}esr/linux-i686/en-US
 PKGNAMEPREFIX?=		linux-
 
-.if defined(REPLACE_GRE)
-EXTRACT_DEPENDS+=${NONEXISTENT}:${PORTSDIR}/www/linux-seamonkey:extract
+.if defined(WANT_GTK218)
+MASTER_SITES+=	https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/12/Everything/i386/os/Packages/:f12
+DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
+		glib2-2.22.2-2.fc12.i686.rpm:f12 \
+		gtk2-2.18.3-19.fc12.i686.rpm:f12
+GTK218_FILES=	lib/libgio-2.0.so.0 \
+		lib/libglib-2.0.so.0 \
+		usr/lib/libgdk-x11-2.0.so.0 \
+		usr/lib/libgtk-x11-2.0.so.0
 .endif
 
 NO_BUILD=	yes
@@ -18,6 +31,8 @@
 FDIR=		${PREFIX}/lib/${APP_NAME}
 COMMON_DIR=	${.CURDIR}/../../www/linux-seamonkey
 
+APP_ENV+=	MOZ_CRASHREPORTER_DISABLE=1
+
 PLIST_SUB+=	APP_NAME=${APP_NAME}
 SUB_LIST+=	APP_NAME=${APP_NAME}
 SUB_FILES=	${APP_NAME}.desktop
@@ -27,6 +42,12 @@
 .endif
 DESKTOP_SUFFIX?=	(Linux)
 
+.if defined(WANT_GTK218)
+PLIST_SUB+=	GTK218=""
+.else
+PLIST_SUB+=	GTK218="@comment "
+.endif
+
 _A=	>> ${TMPPLIST}
 _Q=	2>/dev/null || true
 
@@ -35,35 +56,31 @@
 	@${RM} -rf ${WRKSRC}/updates
 	@${MKDIR} ${WRKSRC}/${APP_SUBDIR}plugins
 	@${MKDIR} ${WRKSRC}/${APP_SUBDIR}extensions
+. if defined(WANT_GTK218)
+.  for f in ${GTK218_FILES}
+	@${CP} -p ${WRKDIR}/${f} ${WRKSRC}
+	@${ECHO_CMD} ${f:T} >>${WRKSRC}/dependentlibs.list
+.  endfor
+	@${REINPLACE_CMD} -i '' '/libxul/ { h; d; }; $$G' \
+		${WRKSRC}/dependentlibs.list
+. endif
 .endif
 
-.if defined(REPLACE_GRE)
-# 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:	version-compat-check
-	@${ECHO_MSG} "===>   GRE versions are compatible, replacing with" \
-		"$$(${MAKE} -V PKGNAME -C ${.CURDIR}/../../www/linux-seamonkey)"
-	cd $$(${MAKE} -V WRKSRC -C ${.CURDIR}/../../www/linux-seamonkey); \
-		${CP} lib* dependentlibs.list ${WRKSRC}
 
-version-compat-check:
-	@${ECHO_MSG} "===>  Checking GRE version is compatible with" \
-		"$$(${MAKE} -V PKGNAME -C ${.CURDIR}/../../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 ${.CURDIR}/../../www/linux-seamonkey)/platform.ini); \
-	if [ $$ff_gre_version != $$sm_gre_version ]; then \
-	    ${ECHO_MSG} "===>   GRE versions aren't compatible, aborting"; \
-	    exit 1; \
-	fi
-.endif
-
 .if !target(post-patch)
 post-patch:
 	@${MKDIR} ${PREFS_FILE:H}
 
-	# out-of-process plugins don't work with linuxulator (ports/170402)
-	${ECHO} 'pref("dom.ipc.plugins.enabled", false);' >> ${PREFS_FILE}
+	# empty port preferences
+	@${DO_NADA} >>${PREFS_FILE}
+
+. if (${DISTVERSION:R:R} < 28 && ${PORTNAME} != "seamonkey") || \
+ (${PORTNAME} == "seamonkey" && ${DISTVERSION:C/[0-9]*\.//:C/b.*//} < 25)
+	# dummy resident-unique for make about:memory's "measure"
+	@${REINPLACE_CMD} -i '' \
+		's,/proc/self/smaps\(.Private\),////////dev/null\1,' \
+		${WRKSRC}/libxul.so
+. endif
 .endif
 
 .if !target(do-install)
@@ -71,10 +88,10 @@
 	@${INSTALL} -d ${FDIR} ${PREFIX}/share/applications
 	@${INSTALL_DATA} ${WRKDIR}/${APP_NAME}.desktop ${PREFIX}/share/applications/
 	@${CP} -pR ${WRKSRC}/ ${FDIR}/
-	@${CHOWN} -R ${BINOWN}:${BINGRP} ${FDIR}/
-	@${LN} -sf ${FDIR}/${BIN_NAME} ${PREFIX}/bin/${APP_NAME}
-	@${CP} -R ${LOCALBASE}/lib/npapi/symlinks/${APP_NAME}/ \
-		${FDIR}/${APP_SUBDIR}plugins/ ${_Q}
+	@${PRINTF} '#! /bin/sh\n${APP_ENV} \
+		${TRUE_PREFIX}/lib/${APP_NAME}/${BIN_NAME} "$$@"\n' \
+		>>${PREFIX}/bin/${APP_NAME}
+	@${CHMOD} +x ${PREFIX}/bin/${APP_NAME}
 	@${CP} -R ${LOCALBASE}/lib/xpi/symlinks/${APP_NAME}/ \
 		${FDIR}/${APP_SUBDIR}extensions/ ${_Q}
 .endif
@@ -105,19 +122,22 @@
 	${ECHO_CMD} share/applications/%%APP_NAME%%.desktop >> ${PLIST}
 	cd ${WRKSRC} && ${FIND} -s . -type f -or -type l | \
 		${SED} -e "s#^\.#lib/%%APP_NAME%%#" | ${SORT} >> ${PLIST}
-	${ECHO_CMD} '@exec ${CP} -R %%LOCALBASE%%/lib/npapi/symlinks/%%APP_NAME%%/ \
-		%D/lib/%%APP_NAME%%/${APP_SUBDIR}plugins/ ${_Q}' >> ${PLIST}
 	${ECHO_CMD} '@exec ${CP} -R %%LOCALBASE%%/lib/xpi/symlinks/%%APP_NAME%%/ \
 		%D/lib/%%APP_NAME%%/${APP_SUBDIR}extensions/ ${_Q}' >> ${PLIST}
-	${ECHO_CMD} '@unexec ${FIND} %D/lib/%%APP_NAME%%/${APP_SUBDIR}plugins/ \
-		-depth 1 -type l -delete ${_Q}' >> ${PLIST}
 	${ECHO_CMD} '@unexec ${FIND} %D/lib/%%APP_NAME%%/${APP_SUBDIR}extensions/ \
 		-depth 1 -type l -delete ${_Q}' >> ${PLIST}
 	cd ${WRKSRC} && ${FIND} -sd . -type d | \
 		${SED} -e "s#^\.#@dirrm lib/%%APP_NAME%%#" >> ${PLIST}
+.if defined(WANT_GTK218)
+. for f in ${GTK218_FILES}
+	${REINPLACE_CMD} -i '' '/${f:T}/s/^/%%GTK218%%/' ${PLIST}
+. endfor
+.endif
 
 snatch-desktop:
 	${SED} -E -e 's/${PORTNAME}/${APP_NAME}/' \
+		-e "s, at MOZILLA_NAME@,$$(echo ${PORTNAME} | ${SED} 's/\b./\u&/g')," \
+		-e 's/@MOZILLA@|%%MOZILLA%%/${APP_NAME}/' \
 		-e 's/^(Name.*=.+)$$/\1 ${DESKTOP_SUFFIX}/' \
 		-e 's/^(GenericName.*=.+)$$/\1 ${DESKTOP_SUFFIX}/' \
 		-e 's!^Icon=.*$$!Icon=%%PREFIX%%/lib/%%APP_NAME%%/chrome/icons/default/default.xpm!' \

Modified: trunk/www/linux-seamonkey/distinfo
===================================================================
--- trunk/www/linux-seamonkey/distinfo	2014-02-25 17:36:48 UTC (rev 15892)
+++ trunk/www/linux-seamonkey/distinfo	2014-02-25 21:10:10 UTC (rev 15893)
@@ -1,2 +1,2 @@
-SHA256 (seamonkey-2.21.tar.bz2) = ff6f361e1db0add6d4c38e5594a8b99c31f11992ae56dc2981329f66439161e2
-SIZE (seamonkey-2.21.tar.bz2) = 29490026
+SHA256 (seamonkey-2.24.tar.bz2) = ed4ad37ff9c5d0d36f66bf25b272698e6d5bcf828cfac694d15467d4a4014ce5
+SIZE (seamonkey-2.24.tar.bz2) = 29803592

Modified: trunk/www/linux-seamonkey/files/linux-seamonkey.desktop.in
===================================================================
--- trunk/www/linux-seamonkey/files/linux-seamonkey.desktop.in	2014-02-25 17:36:48 UTC (rev 15892)
+++ trunk/www/linux-seamonkey/files/linux-seamonkey.desktop.in	2014-02-25 21:10:10 UTC (rev 15893)
@@ -160,10 +160,10 @@
 Comment[wa]=Naivyî avå les waibes
 Comment[zh_CN]=浏览 Web
 Comment[zh_TW]=瀏覽網頁
-Exec=linux-seamonkey %U
-StartupNotify=true
+Exec=linux-seamonkey %u
+StartupNotify=false
 Terminal=false
 Type=Application
 Icon=%%PREFIX%%/lib/%%APP_NAME%%/chrome/icons/default/default.xpm
-Categories=Application;Network;
+Categories=Network;WebBrowser;Email;News;TextEditor;IRCClient;
 MimeType=text/html;text/xml;application/xhtml+xml;


Property changes on: trunk/www/linux-seamonkey/files/linux-seamonkey.desktop.in
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Index: trunk/www/linux-seamonkey/pkg-descr
===================================================================
--- trunk/www/linux-seamonkey/pkg-descr	2014-02-25 17:36:48 UTC (rev 15892)
+++ trunk/www/linux-seamonkey/pkg-descr	2014-02-25 21:10:10 UTC (rev 15893)

Property changes on: trunk/www/linux-seamonkey/pkg-descr
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list