Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Jul 2004 14:41:35 +0900
From:      NAKAJI Hiroyuki <nakaji@jp.freebsd.org>
To:        gnome@FreeBSD.org
Subject:   converters/libiconv change request for net/samba3
Message-ID:  <87acyd8zg0.fsf@roddy.acest.tutrp.tut.ac.jp>

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

Newer net/samba3 has I18N switch to use multibyte characters, like
Japanese, for filename, share or machine names. And it depends on libiconv
(converters/libiconv) to handle many languages.

However, libiconv-1.9.1 does not have enough feature to handle some
Japanese codesets, for example, eucJP-ms. Because of it there is a patch
to improve the feature, and the patch is imported into glibc but not
imported to libiconv yet.

So, the i18n feature of samba3 is not fully available and it is
inconvenient for, at least, Japanese persons.

I made a patch of converters/libiconv to use Japanese filename with
net/samba3. Would you commit it, please?

Thanks.
-- 
NAKAJI Hiroyuki

Index: Makefile
===================================================================
RCS file: /net/boggy/home/ncvs/ports/converters/libiconv/Makefile,v
retrieving revision 1.30
diff -u -r1.30 Makefile
--- Makefile	14 Mar 2004 06:16:06 -0000	1.30
+++ Makefile	1 Jul 2004 12:34:36 -0000
@@ -7,14 +7,20 @@
 
 PORTNAME=	libiconv
 PORTVERSION=	1.9.1
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	converters devel
 MASTER_SITES=	${MASTER_SITE_GNU}
 MASTER_SITE_SUBDIR=	${PORTNAME}
 
+PATCH_SITES=	ftp://ftp.samba.gr.jp/pub/samba-jp/samba-3.0-ja/SOURCE/
+PATCHFILES=	${PORTNAME}-${PORTVERSION}-cp932-jis.patch.gz
+PATCH_DIST_STRIP=	-p1
+
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	A character set conversion library
 
+BUILD_DEPENDS=	${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf
+
 USE_REINPLACE=	yes
 USE_LIBTOOL_VER=	13
 USE_GNOME=	gnometarget
@@ -42,6 +48,7 @@
 	@${ECHO_MSG} ""
 
 post-patch:
+	@(cd ${WRKSRC}; ${MAKE} -f Makefile.devel lib/aliases.h)
 	@${REINPLACE_CMD} -e 's:ei_ksc5601:ei_euc_kr:g' ${WRKSRC}/lib/aliases.h
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /net/boggy/home/ncvs/ports/converters/libiconv/distinfo,v
retrieving revision 1.9
diff -u -r1.9 distinfo
--- distinfo	18 Mar 2004 13:32:25 -0000	1.9
+++ distinfo	30 Jun 2004 12:53:31 -0000
@@ -1,2 +1,4 @@
 MD5 (libiconv-1.9.1.tar.gz) = 0c99a05e0c3c153bac1c960f78711155
 SIZE (libiconv-1.9.1.tar.gz) = 3907735
+MD5 (libiconv-1.9.1-cp932-jis.patch.gz) = 98c23a35777a90936a8cd2459b4e4613
+SIZE (libiconv-1.9.1-cp932-jis.patch.gz) = 129227



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