ports/143299: i386 support for www/xpi-gwt-dev-plugin

Jonathan Chen jonc at chen.org.nz
Wed Jan 27 20:40:01 UTC 2010


>Number:         143299
>Category:       ports
>Synopsis:       i386 support for  www/xpi-gwt-dev-plugin
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 27 20:40:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan Chen
>Release:        FreeBSD 8.0-STABLE amd64
>Organization:
>Environment:
System: FreeBSD osiris.chen.org.nz 8.0-STABLE FreeBSD 8.0-STABLE #0: Mon Jan 18 16:18:01 NZDT 2010 root at osiris.chen.org.nz:/usr/obj/usr/src/sys/OSIRIS amd64
>Description:

Add support for i386 builds. Please send XPCOM's error string for
support of other archictectures.

>How-To-Repeat:
>Fix:

diff -ruN /usr/ports/www/xpi-gwt-dev-plugin/Makefile ./Makefile
--- /usr/ports/www/xpi-gwt-dev-plugin/Makefile	2010-01-28 02:09:15.000000000 +1300
+++ ./Makefile	2010-01-28 09:27:40.000000000 +1300
@@ -44,4 +44,12 @@
 	${CP} -R ${XPI_FILESDIR}/ ${XPI_XPIDIR}
 	${LN} -s ${XPI_XPIDIR} ${LOCALBASE}/lib/firefox3/extensions
 
+post-install:
+	@${FIND} -s ${XPI_FILESDIR} -not -type d | \
+		${SED} -ne 's,^${XPI_FILESDIR}/,${XPI_XPIDIR:S,^${PREFIX}/,,}/,p' >> ${TMPPLIST}
+	@${FIND} -s -d ${XPI_FILESDIR} -type d | \
+		${SED} -ne 's,^${XPI_FILESDIR}/, at dirrm ${XPI_XPIDIR:S,^${PREFIX}/,,}/,p' >> ${TMPPLIST}
+	@${ECHO_CMD} "@dirrm ${XPI_XPIDIR:S,^${PREFIX}/,,}" >> ${TMPPLIST}
+	@${ECHO_CMD} "@dirrm ${XPI_LIBDIR:S,^${PREFIX}/,,}" >> ${TMPPLIST}
+
 .include <bsd.port.mk>
diff -ruN /usr/ports/www/xpi-gwt-dev-plugin/files/patch-install.rdf ./files/patch-install.rdf
--- /usr/ports/www/xpi-gwt-dev-plugin/files/patch-install.rdf	2010-01-28 02:09:16.000000000 +1300
+++ ./files/patch-install.rdf	2010-01-28 08:59:10.000000000 +1300
@@ -1,10 +1,11 @@
 diff -u /tmp/gwt-plugins-release-2.0/xpcom/install-template-ff35.rdf xpcom/install-template-ff35.rdf
 --- /tmp/gwt-plugins-release-2.0/xpcom/install-template-ff35.rdf	2010-01-19 08:52:13.000000000 +1300
 +++ ./xpcom/install-template-ff35.rdf	2010-01-11 14:46:53.000000000 +1300
-@@ -26,6 +26,7 @@
+@@ -26,6 +26,8 @@
      <em:targetPlatform>WINNT_x86-msvc</em:targetPlatform>
      <em:targetPlatform>Darwin_x86-gcc3</em:targetPlatform>
      <em:targetPlatform>Darwin_ppc-gcc3</em:targetPlatform>
++    <em:targetPlatform>FreeBSD_x86-gcc3</em:targetPlatform>
 +    <em:targetPlatform>FreeBSD_x86_64-gcc3</em:targetPlatform>
  
      <em:optionsURL>chrome://gwt-dmp/content/options.xul</em:optionsURL>
diff -ruN /usr/ports/www/xpi-gwt-dev-plugin/pkg-plist ./pkg-plist
--- /usr/ports/www/xpi-gwt-dev-plugin/pkg-plist	2010-01-28 02:09:15.000000000 +1300
+++ ./pkg-plist	2010-01-28 08:54:06.000000000 +1300
@@ -1,21 +1 @@
-lib/xpi/gwt-dmp-ff35 at gwt.google.com/chrome.manifest
-lib/xpi/gwt-dmp-ff35 at gwt.google.com/components/IOOPHM.xpt
-lib/xpi/gwt-dmp-ff35 at gwt.google.com/content/options.xul
-lib/xpi/gwt-dmp-ff35 at gwt.google.com/content/prefScript.js
-lib/xpi/gwt-dmp-ff35 at gwt.google.com/defaults/preferences/defaults.js
-lib/xpi/gwt-dmp-ff35 at gwt.google.com/install.rdf
-lib/xpi/gwt-dmp-ff35 at gwt.google.com/platform/FreeBSD_x86_64-gcc3/components/libgwt_dmp_ff35.so
-lib/xpi/gwt-dmp-ff35 at gwt.google.com/skin/README.txt
-lib/xpi/gwt-dmp-ff35 at gwt.google.com/skin/icon.png
-lib/xpi/gwt-dmp-ff35 at gwt.google.com/skin/warning.png
 lib/firefox3/extensions/gwt-dmp-ff35 at gwt.google.com
- at dirrm lib/xpi/gwt-dmp-ff35 at gwt.google.com/skin
- at dirrm lib/xpi/gwt-dmp-ff35 at gwt.google.com/platform/FreeBSD_x86_64-gcc3/components
- at dirrm lib/xpi/gwt-dmp-ff35 at gwt.google.com/platform/FreeBSD_x86_64-gcc3
- at dirrm lib/xpi/gwt-dmp-ff35 at gwt.google.com/platform
- at dirrm lib/xpi/gwt-dmp-ff35 at gwt.google.com/defaults/preferences
- at dirrm lib/xpi/gwt-dmp-ff35 at gwt.google.com/defaults
- at dirrm lib/xpi/gwt-dmp-ff35 at gwt.google.com/content
- at dirrm lib/xpi/gwt-dmp-ff35 at gwt.google.com/components
- at dirrm lib/xpi/gwt-dmp-ff35 at gwt.google.com
- at dirrm lib/xpi
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list