From owner-ports-jp@jp.FreeBSD.org Mon Jul 18 00:25:52 2005
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id j6HFPqS25391;
	Mon, 18 Jul 2005 00:25:52 +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 j6HFPph25386
	for <ports-jp@jp.FreeBSD.org>; Mon, 18 Jul 2005 00:25:51 +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 j6HFPkN18743
	for <ports-jp@jp.FreeBSD.org>; Mon, 18 Jul 2005 00:25:46 +0900
Received: (qmail 1832 invoked by alias); 18 Jul 2005 00:25:43 +0900
Message-ID: <20050717152543.1828.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>
In-Reply-To: <20050716.110957.74724863.iwaki@bc.niigata-u.ac.jp>
References: <20050716.110957.74724863.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(Mon_Jul_18_00:25:39_2005_031)--"
Content-Transfer-Encoding: 7bit
Reply-To: ports-jp@jp.FreeBSD.org
Precedence: list
Date: Mon, 18 Jul 2005 00:25:39 +0900
X-Sequence: ports-jp 16447
Subject: [ports-jp 16447] Re: 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(Mon_Jul_18_00:25:39_2005_031)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

The previous patch had a mistake, i.e. lack of LNG=? "c".  
I'll repost new patch corrected the above.  

Thanks


From: Mamoru Iwaki <iwaki@bc.niigata-u.ac.jp>
Subject: patch of www/linuxpluginwrapper for Japanese users
Date: Sat, 16 Jul 2005 11:09:57 +0900 (JST)

> # $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.  
---
-----
Mamoru IWAKI   (iwaki@bc.niigata-u.ac.jp)
Graduate School of Science and Technology, Niigata University

----Next_Part(Mon_Jul_18_00:25:39_2005_031)--
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-	Sun Jul 17 23:58:51 2005
@@ -22,7 +22,15 @@
 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
+LNG=?		"c"
+.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 +109,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 07:40:45 2005
+++ pkg-message-	Sat Jul 16 10:33:00 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(Mon_Jul_18_00:25:39_2005_031)----
