pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/m17n-lib Import m17n-lib version 1.5.1.
details: https://anonhg.NetBSD.org/pkgsrc/rev/bc1117ecb1f4
branches: trunk
changeset: 539086:bc1117ecb1f4
user: obache <obache%pkgsrc.org@localhost>
date: Wed Feb 27 13:48:28 2008 +0000
description:
Import m17n-lib version 1.5.1.
The m17n library is a multilingual text processing library for the C language.
diffstat:
devel/m17n-lib/DESCR | 1 +
devel/m17n-lib/Makefile | 29 ++++++++++++++++++++++++
devel/m17n-lib/PLIST | 25 +++++++++++++++++++++
devel/m17n-lib/buildlink3.mk | 48 +++++++++++++++++++++++++++++++++++++++++
devel/m17n-lib/distinfo | 11 +++++++++
devel/m17n-lib/options.mk | 28 +++++++++++++++++++++++
devel/m17n-lib/patches/patch-aa | 13 +++++++++++
devel/m17n-lib/patches/patch-ab | 13 +++++++++++
devel/m17n-lib/patches/patch-ac | 22 ++++++++++++++++++
devel/m17n-lib/patches/patch-ad | 22 ++++++++++++++++++
devel/m17n-lib/patches/patch-ae | 13 +++++++++++
devel/m17n-lib/patches/patch-af | 13 +++++++++++
12 files changed, 238 insertions(+), 0 deletions(-)
diffs (286 lines):
diff -r 35b97ab38253 -r bc1117ecb1f4 devel/m17n-lib/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/m17n-lib/DESCR Wed Feb 27 13:48:28 2008 +0000
@@ -0,0 +1,1 @@
+The m17n library is a multilingual text processing library for the C language.
diff -r 35b97ab38253 -r bc1117ecb1f4 devel/m17n-lib/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/m17n-lib/Makefile Wed Feb 27 13:48:28 2008 +0000
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/02/27 13:48:28 obache Exp $
+#
+
+DISTNAME= m17n-lib-1.5.1
+CATEGORIES= devel converters editors inputmethod textproc time
+MASTER_SITES= http://www.m17n.org/m17n-lib-download/
+
+MAINTAINER= obache%NetBSD.org@localhost
+HOMEPAGE= http://www.m17n.org/m17n-lib/
+COMMENT= Multilingualization library
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
+
+PKGCONFIG_OVERRIDE+= m17n-core.pc.in m17n-shell.pc.in m17n-flt.pc.in
+PKGCONFIG_OVERRIDE+= m17n-gui.pc.in
+
+.include "options.mk"
+
+.include "../../converters/fribidi/buildlink3.mk"
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../misc/m17n-db/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 35b97ab38253 -r bc1117ecb1f4 devel/m17n-lib/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/m17n-lib/PLIST Wed Feb 27 13:48:28 2008 +0000
@@ -0,0 +1,25 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/02/27 13:48:28 obache Exp $
+bin/m17n-config
+bin/m17n-conv
+${X11}bin/m17n-date
+${X11}bin/m17n-dump
+${X11}bin/m17n-edit
+${X11}bin/m17n-view
+${X11}include/m17n-X.h
+include/m17n-core.h
+include/m17n-flt.h
+${X11}include/m17n-gui.h
+include/m17n-misc.h
+include/m17n.h
+${X11}lib/libm17n-X.la
+lib/libm17n-core.la
+lib/libm17n-flt.la
+${X11}lib/libm17n-gd.la
+${X11}lib/libm17n-gui.la
+lib/libm17n.la
+lib/libmimx-anthy.la
+${X11}lib/libmimx-ispell.la
+lib/pkgconfig/m17n-core.pc
+lib/pkgconfig/m17n-flt.pc
+${X11}lib/pkgconfig/m17n-gui.pc
+lib/pkgconfig/m17n-shell.pc
diff -r 35b97ab38253 -r bc1117ecb1f4 devel/m17n-lib/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/m17n-lib/buildlink3.mk Wed Feb 27 13:48:28 2008 +0000
@@ -0,0 +1,48 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/02/27 13:48:28 obache Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+M17N_LIB_BUILDLINK3_MK:= ${M17N_LIB_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= m17n-lib
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nm17n-lib}
+BUILDLINK_PACKAGES+= m17n-lib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}m17n-lib
+
+.if ${M17N_LIB_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.m17n-lib+= m17n-lib>=1.5.1
+BUILDLINK_PKGSRCDIR.m17n-lib?= ../../devel/m17n-lib
+.endif # M17N_LIB_BUILDLINK3_MK
+
+pkgbase := m17n-lib
+.include "../../mk/pkg-build-options.mk"
+
+.if !empty(PKG_BUILD_OPTIONS.m17n-lib:Manthy)
+.include "../../inputmethod/anthy/buildlink3.mk"
+.endif
+
+.if !empty(PKG_BUILD_OPTIONS.m17n-lib:Mx11)
+.include "../../fonts/Xft2/buildlink3.mk"
+.include "../../fonts/fontconfig/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/gd/buildlink3.mk"
+.include "../../graphics/libotf/buildlink3.mk"
+.include "../../x11/libICE/buildlink3.mk"
+.include "../../x11/libSM/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXt/buildlink3.mk"
+.endif
+
+.if !empty(PKG_BUILD_OPTIONS.m17n-lib:Mlibthai)
+.include "../../devel/libthai/buildlink3.mk"
+.endif
+
+.include "../../converters/fribidi/buildlink3.mk"
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../misc/m17n-db/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff -r 35b97ab38253 -r bc1117ecb1f4 devel/m17n-lib/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/m17n-lib/distinfo Wed Feb 27 13:48:28 2008 +0000
@@ -0,0 +1,11 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/02/27 13:48:28 obache Exp $
+
+SHA1 (m17n-lib-1.5.1.tar.gz) = 9b475bbe606e27611104f5b68b17ca43f7427492
+RMD160 (m17n-lib-1.5.1.tar.gz) = f058d5a91959adee3cd07d0e2ec1a86df1530523
+Size (m17n-lib-1.5.1.tar.gz) = 990729 bytes
+SHA1 (patch-aa) = 607c6e8daf53c9c5dbcc6b15a7c637250464b6ca
+SHA1 (patch-ab) = 189474e4e5ee32a29a9d411fd11797d194964d2c
+SHA1 (patch-ac) = b5326cc9eacf84cc4f81a00605a51e51f3809c45
+SHA1 (patch-ad) = 01436a251a204ca2141859133c124d1a11876fd7
+SHA1 (patch-ae) = e9f9a91c810929bcf6c0c1efe0d05e140e444509
+SHA1 (patch-af) = be0f3450c1cf25d8b1741bb2109cd2eedbed3918
diff -r 35b97ab38253 -r bc1117ecb1f4 devel/m17n-lib/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/m17n-lib/options.mk Wed Feb 27 13:48:28 2008 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: options.mk,v 1.1.1.1 2008/02/27 13:48:28 obache Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.m17n-lib
+PKG_SUPPORTED_OPTIONS= anthy x11 libthai
+PKG_SUGGESTED_OPTIONS= x11
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Manthy)
+.include "../../inputmethod/anthy/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mx11)
+.include "../../fonts/Xft2/buildlink3.mk"
+.include "../../fonts/fontconfig/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/gd/buildlink3.mk"
+.include "../../graphics/libotf/buildlink3.mk"
+.include "../../mk/xaw.buildlink3.mk"
+PLIST_SUBST+= X11=""
+.else
+CONFIGURE_ARGS+= --without-gui
+PLIST_SUBST+= X11="@comment "
+.endif
+
+.if !empty(PKG_OPTIONS:Mlibthai)
+.include "../../devel/libthai/buildlink3.mk"
+.endif
diff -r 35b97ab38253 -r bc1117ecb1f4 devel/m17n-lib/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/m17n-lib/patches/patch-aa Wed Feb 27 13:48:28 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/02/27 13:48:28 obache Exp $
+
+--- configure.ac.orig 2008-01-15 06:42:46.000000000 +0000
++++ configure.ac
+@@ -351,7 +351,7 @@ dnl In addition, set THAI_WORDSEG_LD_FLA
+ PKG_CHECK_MODULES(LIBTHAI, libthai, HAVE_LIBTHAI=yes, HAVE_LIBTHAI=no)
+ PKG_CHECK_MODULES(WORDCUT, wordcut, HAVE_WORDCUT=yes, HAVE_WORDCUT=no)
+
+-if test "x$HAVE_LIBTHAI" == "xyes"; then
++if test "x$HAVE_LIBTHAI" = "xyes"; then
+
+ AC_DEFINE(HAVE_LIBTHAI, 1, [Define if you have libthai])
+ THAI_WORDSEG_LD_FLAGS="$LIBTHAI_LIBS"
diff -r 35b97ab38253 -r bc1117ecb1f4 devel/m17n-lib/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/m17n-lib/patches/patch-ab Wed Feb 27 13:48:28 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2008/02/27 13:48:28 obache Exp $
+
+--- configure.orig 2008-01-15 06:45:39.000000000 +0000
++++ configure
+@@ -33628,7 +33628,7 @@ echo "${ECHO_T}yes" >&6; }
+ HAVE_WORDCUT=yes
+ fi
+
+-if test "x$HAVE_LIBTHAI" == "xyes"; then
++if test "x$HAVE_LIBTHAI" = "xyes"; then
+
+
+ cat >>confdefs.h <<\_ACEOF
diff -r 35b97ab38253 -r bc1117ecb1f4 devel/m17n-lib/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/m17n-lib/patches/patch-ac Wed Feb 27 13:48:28 2008 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ac,v 1.1.1.1 2008/02/27 13:48:28 obache Exp $
+
+--- src/Makefile.am.orig 2008-01-15 01:27:13.000000000 +0000
++++ src/Makefile.am
+@@ -43,7 +43,7 @@ libm17n_core_la_SOURCES = \
+ textprop.h textprop.c \
+ mtext-lbrk.c mtext-wseg.c
+
+-libm17n_core_la_LIBADD = @XML2_LD_FLAGS@ @THAI_WORDSEG_LD_FLAGS@
++libm17n_core_la_LIBADD = @XML2_LD_FLAGS@ @THAI_WORDSEG_LD_FLAGS@ @INTLLIBS@
+ libm17n_core_la_LDFLAGS = -export-dynamic ${VINFO}
+
+ libm17n_la_SOURCES = \
+@@ -53,7 +53,7 @@ libm17n_la_SOURCES = \
+ language.h language.c \
+ mlocale.h locale.c \
+ m17n.h m17n.c
+-libm17n_la_LIBADD = ${top_builddir}/src/libm17n-core.la -ldl
++libm17n_la_LIBADD = ${top_builddir}/src/libm17n-core.la @INTLLIBS@
+ libm17n_la_LDFLAGS = -export-dynamic ${VINFO}
+
+ FLT_SOURCES = \
diff -r 35b97ab38253 -r bc1117ecb1f4 devel/m17n-lib/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/m17n-lib/patches/patch-ad Wed Feb 27 13:48:28 2008 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ad,v 1.1.1.1 2008/02/27 13:48:28 obache Exp $
+
+--- src/Makefile.in.orig 2008-01-15 06:45:37.000000000 +0000
++++ src/Makefile.in
+@@ -369,7 +369,7 @@ libm17n_core_la_SOURCES = \
+ textprop.h textprop.c \
+ mtext-lbrk.c mtext-wseg.c
+
+-libm17n_core_la_LIBADD = @XML2_LD_FLAGS@ @THAI_WORDSEG_LD_FLAGS@
++libm17n_core_la_LIBADD = @XML2_LD_FLAGS@ @THAI_WORDSEG_LD_FLAGS@ @INTLLIBS@
+ libm17n_core_la_LDFLAGS = -export-dynamic ${VINFO}
+ libm17n_la_SOURCES = \
+ charset.h charset.c \
+@@ -379,7 +379,7 @@ libm17n_la_SOURCES = \
+ mlocale.h locale.c \
+ m17n.h m17n.c
+
+-libm17n_la_LIBADD = ${top_builddir}/src/libm17n-core.la -ldl
++libm17n_la_LIBADD = ${top_builddir}/src/libm17n-core.la @INTLLIBS@
+ libm17n_la_LDFLAGS = -export-dynamic ${VINFO}
+ FLT_SOURCES = \
+ internal-flt.h \
diff -r 35b97ab38253 -r bc1117ecb1f4 devel/m17n-lib/patches/patch-ae
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/m17n-lib/patches/patch-ae Wed Feb 27 13:48:28 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1.1.1 2008/02/27 13:48:28 obache Exp $
+
+--- example/Makefile.am.orig 2007-11-13 02:22:21.000000000 +0000
++++ example/Makefile.am
+@@ -45,7 +45,7 @@ m17n_conv_LDADD = ${common_ldflags}
+ X_LD_FLAGS = ${X_PRE_LIBS} ${X_LIBS} @XAW_LD_FLAGS@ @X11_LD_FLAGS@ ${X_EXTRA_LIBS}
+
+ m17n_edit_SOURCES = medit.c
+-m17n_edit_LDADD = ${X_LD_FLAGS} ${common_ldflags_gui} -ldl
++m17n_edit_LDADD = ${X_LD_FLAGS} ${common_ldflags_gui}
+
+ m17n_view_SOURCES = mview.c
+ m17n_view_LDADD = ${X_LD_FLAGS} ${common_ldflags_gui}
diff -r 35b97ab38253 -r bc1117ecb1f4 devel/m17n-lib/patches/patch-af
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/m17n-lib/patches/patch-af Wed Feb 27 13:48:28 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1.1.1 2008/02/27 13:48:28 obache Exp $
+
+--- example/Makefile.in.orig 2008-01-15 06:45:37.000000000 +0000
++++ example/Makefile.in
+@@ -338,7 +338,7 @@ m17n_conv_SOURCES = mconv.c
+ m17n_conv_LDADD = ${common_ldflags}
+ X_LD_FLAGS = ${X_PRE_LIBS} ${X_LIBS} @XAW_LD_FLAGS@ @X11_LD_FLAGS@ ${X_EXTRA_LIBS}
+ m17n_edit_SOURCES = medit.c
+-m17n_edit_LDADD = ${X_LD_FLAGS} ${common_ldflags_gui} -ldl
++m17n_edit_LDADD = ${X_LD_FLAGS} ${common_ldflags_gui}
+ m17n_view_SOURCES = mview.c
+ m17n_view_LDADD = ${X_LD_FLAGS} ${common_ldflags_gui}
+ m17n_dump_SOURCES = mdump.c
Home |
Main Index |
Thread Index |
Old Index