From owner-ports-jp@jp.FreeBSD.org Sat Jul 16 11:10:08 2005
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id j6G2A8S78069;
	Sat, 16 Jul 2005 11:10:08 +0900 (JST)
	(envelope-from owner-ports-jp@jp.FreeBSD.org)
Received: from mailgate.cc.niigata-u.ac.jp (mailgate.cc.niigata-u.ac.jp [133.35.14.100])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id j6G2A7h78063
	for <ports-jp@jp.FreeBSD.org>; Sat, 16 Jul 2005 11:10:07 +0900 (JST)
	(envelope-from iwaki@bc.niigata-u.ac.jp)
Received: from pikachu.bsp.bc.niigata-u.ac.jp (mailgate.cc.niigata-u.ac.jp [127.0.0.1])
	by mailgate.cc.niigata-u.ac.jp (8.11.6/8.11.6) with SMTP id j6G2A1F22680
	for <ports-jp@jp.FreeBSD.org>; Sat, 16 Jul 2005 11:10:01 +0900
Received: (qmail 27664 invoked by alias); 16 Jul 2005 11:10:00 +0900
Message-ID: <20050716021000.27658.qmail@pikachu.bsp.bc.niigata-u.ac.jp>
To: nork@freebsd.org
Cc: ports-jp@jp.FreeBSD.org
From: Mamoru Iwaki <iwaki@bc.niigata-u.ac.jp>
X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Multipart/Mixed;
 boundary="--Next_Part(Sat_Jul_16_11:09:57_2005_475)--"
Content-Transfer-Encoding: 7bit
Reply-To: ports-jp@jp.FreeBSD.org
Precedence: list
Date: Sat, 16 Jul 2005 11:09:57 +0900
X-Sequence: ports-jp 16433
Subject: [ports-jp 16433] patch of www/linuxpluginwrapper for Japanese users
Sender: owner-ports-jp@jp.FreeBSD.org
X-Originator: iwaki@bc.niigata-u.ac.jp
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+050320

----Next_Part(Sat_Jul_16_11:09:57_2005_475)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello,

I'd like to enclose a patch for www/linuxpluginwrapper of 

# $FreeBSD: ports/www/linuxpluginwrapper/Makefile,v 1.39 2005/06/17 22:59:27 netchild Exp $

This patch allows japanese/acroread to display a pdf file in a
window of mozilla, firefox and hopefully other browsers.  
It is convenient for Japanese users.  

Please check it out and modify the port.  

Thanks
---
-----
Mamoru IWAKI   (iwaki@bc.niigata-u.ac.jp)
Graduate School of Science and Technology, Niigata University

----Next_Part(Sat_Jul_16_11:09:57_2005_475)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="linuxpluginwrapper.diff"

--- Makefile	Sat Jun 18 07:59:27 2005
+++ Makefile-	Sat Jul 16 10:02:54 2005
@@ -22,7 +22,14 @@
 RUN_DEPENDS=	${X11BASE}/lib/linux-flashplugin6/libflashplayer.so:${PORTSDIR}/www/linux-flashplugin6
 RUN_DEPENDS+=	${X11BASE}/lib/linux-mozilla/plugins/nphelix.so:${PORTSDIR}/multimedia/linux-realplayer
 .if		${OSVERSION} >= 500000
-RUN_DEPENDS+=	${LINUXBASE}/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so:${PORTSDIR}/print/acroread7
+.if		${LNG} == "japanese"
+PORTMARK_ACROBAT=	${X11BASE}/Acrobat7/Browser/intellinux/nppdf.so
+PORTORG_ACROBAT=	${PORTSDIR}/japanese/acroread
+.else
+PORTMARK_ACROBAT=	${LINUXBASE}/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so
+PORTORG_ACROBAT=	${PORTSDIR}/print/acroread7
+.endif
+RUN_DEPENDS+=	${PORTMARK_ACROBAT}:${PORTORG_ACROBAT}
 .else
 USE_MOTIF=	yes
 .endif
@@ -101,7 +108,7 @@
 	@${MKDIR} ${X11BASE}/lib/browser_plugins
 .if		!defined(WITHOUT_PLUGINS)
 .if		${OSVERSION} >= 500000
-	@${LN} -sf ${LINUXBASE}/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so \
+	@${LN} -sf ${PORTMARK_ACROBAT} \
 		${X11BASE}/lib/browser_plugins/
 .endif
 	@${LN} -sf ${X11BASE}/lib/linux-flashplugin6/flashplayer.xpt \
--- pkg-message	Sat Mar 19 03:28:44 2005
+++ pkg-message-	Sat Jul 16 10:21:37 2005
@@ -4,6 +4,11 @@
 	to
 libpthread.so.0			pluginwrapper/flash6.so
 
+For Japanese Acrobat7 with Mozilla/Firebird/Galeon/Epiphany/Konqueror
+[/usr/local/Acrobat7/Browser/intellinux/nppdf.so]
+	to
+[/usr/X11R6/Acrobat7/Browser/intellinux/nppdf.so]
+
 ** PLEASE NOTICE TO USER USING FROM 5.0 TO 5.3-BETA6 **
 libm.so was version-bumped on 5.3-BETA7. Please change libm.so.2
 to libm.so.3.

----Next_Part(Sat_Jul_16_11:09:57_2005_475)----
