Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Nov 2013 08:41:09 GMT
From:      svn-freebsd-gecko@chruetertee.ch
To:        freebsd-gecko@freebsd.org
Subject:   [SVN-Commit] r1388 - trunk/www/linux-seamonkey
Message-ID:  <201311160841.rAG8f9cr052928@trillian.chruetertee.ch>

next in thread | raw e-mail | index | archive | help

Author: jbeich
Date: Sat Nov 16 08:41:08 2013
New Revision: 1388

Log:
linux plugin-container actually works, but not with crashreporter

Modified:
   trunk/www/linux-seamonkey/Makefile.common

Modified: trunk/www/linux-seamonkey/Makefile.common
==============================================================================
--- trunk/www/linux-seamonkey/Makefile.common	Sat Nov 16 06:00:00 2013	(r1387)
+++ trunk/www/linux-seamonkey/Makefile.common	Sat Nov 16 08:41:08 2013	(r1388)
@@ -24,6 +24,8 @@
 FDIR=		${PREFIX}/lib/${APP_NAME}
 COMMON_DIR=	${.CURDIR}/../../www/linux-seamonkey
 
+GECKO_ENV+=	MOZ_CRASHREPORTER_DISABLE=1
+
 PLIST_SUB+=	APP_NAME=${APP_NAME}
 SUB_LIST+=	APP_NAME=${APP_NAME}
 SUB_FILES=	${APP_NAME}.desktop
@@ -74,8 +76,8 @@
 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}
 .endif
 
 .if !target(do-install)
@@ -83,7 +85,9 @@
 	@${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}
+	@${PRINTF} '#! /bin/sh\n${GECKO_ENV} ${FDIR}/${BIN_NAME} "$$@"\n' \
+		>>${PREFIX}/bin/${APP_NAME}
+	@${CHMOD} +x ${PREFIX}/bin/${APP_NAME}
 	@${CP} -R ${LOCALBASE}/lib/browser_plugins/symlinks/${APP_NAME}/ \
 		${FDIR}/${APP_SUBDIR}plugins/ ${_Q}
 	@${CP} -R ${LOCALBASE}/lib/xpi/symlinks/${APP_NAME}/ \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311160841.rAG8f9cr052928>