Initial import of libchewing 0.3.1

libchewing is derived from Chewing input method, a xcin module
focusing on intelligent phonetic processing by Lu-chuan Kung
(lckung) and Kang-pen Chen (kpchen).

ok ajacoutot@
This commit is contained in:
kevlo 2008-10-04 09:16:11 +00:00
parent 6a86d78541
commit 9ea7c86cc2
6 changed files with 131 additions and 0 deletions

View File

@ -0,0 +1,29 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/10/04 09:16:11 kevlo Exp $
COMMENT= intelligent phonetic input method library
DISTNAME= libchewing-0.3.1
PKGNAME= zh-${DISTNAME}
SHARED_LIBS= chewing 0.0 # .3.1
CATEGORIES= chinese inputmethods
HOMEPAGE= http://chewing.csie.net/
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://chewing.csie.net/download/libchewing/
EXTRACT_SUFX= .tar.bz2
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (libchewing-0.3.1.tar.bz2) = GHR0ADj6obSF0UhMBUq/Kg==
RMD160 (libchewing-0.3.1.tar.bz2) = kDhpALnxNze0zToHsDsCxt6HnIg=
SHA1 (libchewing-0.3.1.tar.bz2) = AdawiInjKL6s809lXhGkFX0Lg9M=
SHA256 (libchewing-0.3.1.tar.bz2) = jAyKCFmmqbtevGybQQ7ovM/6ffnOQNlUPvcZCBnNHIk=
SIZE (libchewing-0.3.1.tar.bz2) = 1747544

View File

@ -0,0 +1,63 @@
$OpenBSD: patch-configure,v 1.1.1.1 2008/10/04 09:16:11 kevlo Exp $
--- configure.orig Wed Oct 1 16:48:55 2008
+++ configure Fri Oct 3 15:25:55 2008
@@ -12615,48 +12615,8 @@ echo "${ECHO_T}no" >&6; }
fi
pkg_failed=no
-{ echo "$as_me:$LINENO: checking for CHECK" >&5
-echo $ECHO_N "checking for CHECK... $ECHO_C" >&6; }
-if test -n "$PKG_CONFIG"; then
- if test -n "$CHECK_CFLAGS"; then
- pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
- else
- if test -n "$PKG_CONFIG" && \
- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\"") >&5
- ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.4" 2>/dev/null`
-else
- pkg_failed=yes
-fi
- fi
-else
- pkg_failed=untried
-fi
-if test -n "$PKG_CONFIG"; then
- if test -n "$CHECK_LIBS"; then
- pkg_cv_CHECK_LIBS="$CHECK_LIBS"
- else
- if test -n "$PKG_CONFIG" && \
- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\"") >&5
- ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.4" 2>/dev/null`
-else
- pkg_failed=yes
-fi
- fi
-else
- pkg_failed=untried
-fi
-
-
if test $pkg_failed = yes; then
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
@@ -12680,9 +12640,7 @@ elif test $pkg_failed = untried; then
else
CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
CHECK_LIBS=$pkg_cv_CHECK_LIBS
- { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
- enable_check=yes
+ enable_check=no
fi
if test $enable_check = "yes"; then
ENABLE_UNIT_TEST_TRUE=

View File

@ -0,0 +1,5 @@
libchewing is derived from Chewing input method, a xcin module
focusing on intelligent phonetic processing by Lu-chuan Kung
(lckung) and Kang-pen Chen (kpchen). However, the original
authors of Chewing dropped its development, and Chewing was
highly bonded with xcin, which prevents from wider applications.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2008/10/04 09:16:11 kevlo Exp $
@lib lib/libchewing.so.${LIBchewing_VERSION}

View File

@ -0,0 +1,27 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/10/04 09:16:11 kevlo Exp $
%%SHARED%%
include/chewing/
include/chewing/char.h
include/chewing/chewing-utf8-util.h
include/chewing/chewing.h
include/chewing/chewingio.h
include/chewing/dict.h
include/chewing/global.h
include/chewing/hanyupinyin.h
include/chewing/hash.h
include/chewing/mod_aux.h
include/chewing/userphrase.h
include/chewing/zuin.h
lib/libchewing.a
lib/libchewing.la
lib/pkgconfig/
lib/pkgconfig/chewing.pc
share/chewing/
share/chewing/ch_index.dat
share/chewing/dict.dat
share/chewing/fonetree.dat
share/chewing/ph_index.dat
share/chewing/pinyin.tab
share/chewing/swkb.dat
share/chewing/symbols.dat
share/chewing/us_freq.dat