Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

5
inputmethod/tomoe/DESCR Normal file
View File

@@ -0,0 +1,5 @@
Tomoe is originally a handwriting character recognition engine.
Current Tomoe does not only provide handwriting recognition engine but also
provide other character searching API such as searching by readings, stroke
counts, radicals, valiations and so on.

View File

@@ -0,0 +1,34 @@
# $NetBSD: Makefile,v 1.8 2012/10/06 14:25:21 asau Exp $
#
DISTNAME= tomoe-0.6.0
PKGREVISION= 5
CATEGORIES= inputmethod
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tomoe/}
MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://tomoe.sourceforge.jp/
COMMENT= Handwriting recognition engine
#LICENSE= gnu-lgpl-v2.1 # AND Creative Commons Attribution-ShareAlike Licence
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= gmake pkg-config intltool msgfmt
USE_PKGLOCALEDIR= yes
PKG_SYSCONFSUBDIR= tomoe
PKGCONFIG_OVERRIDE+= bindings/python/pytomoe.pc.in
PKGCONFIG_OVERRIDE+= tomoe.pc.in
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR}
CONFIGURE_ARGS+= --without-ruby
CONFIGURE_ARGS+= --without-python
CONFIGURE_ENV+= ac_cv_path_MYSQL_CONFIG=mysql_config-not-found
INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples
CONF_FILES+= ${PREFIX}/share/examples/tomoe/config ${PKG_SYSCONFDIR}/config
.include "../../devel/glib2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

49
inputmethod/tomoe/PLIST Normal file
View File

@@ -0,0 +1,49 @@
@comment $NetBSD: PLIST,v 1.3 2009/06/14 20:19:52 joerg Exp $
include/tomoe/tomoe-candidate.h
include/tomoe/tomoe-char.h
include/tomoe/tomoe-config.h
include/tomoe/tomoe-context.h
include/tomoe/tomoe-dict.h
include/tomoe/tomoe-enum-types.h
include/tomoe/tomoe-module-impl.h
include/tomoe/tomoe-module.h
include/tomoe/tomoe-query.h
include/tomoe/tomoe-reading.h
include/tomoe/tomoe-recognizer.h
include/tomoe/tomoe-shelf.h
include/tomoe/tomoe-writing.h
include/tomoe/tomoe.h
lib/libtomoe.la
lib/pkgconfig/tomoe.pc
lib/tomoe/module/dict/unihan.la
lib/tomoe/module/dict/xml.la
lib/tomoe/module/recognizer/simple.la
share/examples/tomoe/config
share/gtk-doc/html/tomoe/TomoeCandidate.html
share/gtk-doc/html/tomoe/TomoeChar.html
share/gtk-doc/html/tomoe/TomoeConfig.html
share/gtk-doc/html/tomoe/TomoeContext.html
share/gtk-doc/html/tomoe/TomoeDict.html
share/gtk-doc/html/tomoe/TomoeQuery.html
share/gtk-doc/html/tomoe/TomoeReading.html
share/gtk-doc/html/tomoe/TomoeRecognizer.html
share/gtk-doc/html/tomoe/TomoeShelf.html
share/gtk-doc/html/tomoe/TomoeWriting.html
share/gtk-doc/html/tomoe/home.png
share/gtk-doc/html/tomoe/index.html
share/gtk-doc/html/tomoe/index.sgml
share/gtk-doc/html/tomoe/ix01.html
share/gtk-doc/html/tomoe/left.png
share/gtk-doc/html/tomoe/right.png
share/gtk-doc/html/tomoe/style.css
share/gtk-doc/html/tomoe/tomoe-tomoe.html
share/gtk-doc/html/tomoe/tomoe.devhelp
share/gtk-doc/html/tomoe/tomoe.devhelp2
share/gtk-doc/html/tomoe/tomoe.html
share/gtk-doc/html/tomoe/up.png
share/locale/ja/LC_MESSAGES/tomoe.mo
share/tomoe/dict.dtd
share/tomoe/recognizer/handwriting-ja.xml
share/tomoe/recognizer/handwriting-zh_CN.xml
share/tomoe/xml2est.rb
@pkgdir share/tomoe/dict

View File

@@ -0,0 +1,15 @@
# $NetBSD: buildlink3.mk,v 1.7 2012/09/15 10:05:17 obache Exp $
BUILDLINK_TREE+= tomoe
.if !defined(TOMOE_BUILDLINK3_MK)
TOMOE_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.tomoe+= tomoe>=0.6.0
BUILDLINK_ABI_DEPENDS.tomoe+= tomoe>=0.6.0nb5
BUILDLINK_PKGSRCDIR.tomoe?= ../../inputmethod/tomoe
.include "../../devel/glib2/buildlink3.mk"
.endif # TOMOE_BUILDLINK3_MK
BUILDLINK_TREE+= -tomoe

View File

@@ -0,0 +1,9 @@
$NetBSD: distinfo,v 1.4 2012/05/06 17:24:41 dholland Exp $
SHA1 (tomoe-0.6.0.tar.gz) = 0ab5b4fd4609d0439f90010c35305595522f54f2
RMD160 (tomoe-0.6.0.tar.gz) = fc8e799c4b845e9c4b41879980fecc9d9dc77c69
Size (tomoe-0.6.0.tar.gz) = 4918949 bytes
SHA1 (patch-aa) = beaf6abd17e985d3b11eccdd0d870329b9088b00
SHA1 (patch-ab) = 718f888ec731ea5183c0af40bb90abe1807be89e
SHA1 (patch-lib_glib-utils_h) = a03c9f060241257cbc42d9624bfe685f53094e1e
SHA1 (patch-lib_tomoe_c) = b38e905e6311c966291891430c3c0b7ad624d799

View File

@@ -0,0 +1,23 @@
$NetBSD: patch-aa,v 1.1 2008/05/31 14:16:47 obache Exp $
--- lib/tomoe-xml-parser.c.orig 2007-04-10 07:24:21.000000000 +0000
+++ lib/tomoe-xml-parser.c
@@ -22,4 +22,8 @@
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif /* HAVE_CONFIG_H */
+
#include <stdio.h>
#include <errno.h>
@@ -442,5 +446,9 @@ _tomoe_xml_parser_parse_dictionary_file
if (!f) {
g_warning ("failed to open dictionary file %s: %s", filename,
+#ifdef HAVE_STRERROR
+ strerror(errno));
+#else
sys_errlist[errno]);
+#endif
}
g_return_val_if_fail (f, FALSE);

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ab,v 1.1 2008/06/04 13:01:36 obache Exp $
--- configure.orig 2007-06-18 03:09:07.000000000 +0000
+++ configure
@@ -22679,8 +22679,6 @@ echo "${ECHO_T}$LINGUAS" >&6; }
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
< $srcdir/po/POTFILES.in > po/POTFILES
-ac_config_commands="$ac_config_commands modify-itlocaledir"
-
GETTEXT_PACKAGE=tomoe

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-lib_glib-utils_h,v 1.1 2012/05/06 17:24:41 dholland Exp $
Fix build with latest glib2.
--- lib/glib-utils.h~ 2007-04-25 07:35:58.000000000 +0000
+++ lib/glib-utils.h
@@ -28,7 +28,7 @@
#include "config.h"
#endif /* HAVE_CONFIG_H */
-#include <glib/garray.h>
+#include <glib.h>
#include <glib/gi18n-lib.h>
#include "glib-compat-file-utilities.h"
#include "glib-compat-key-file.h"

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-lib_tomoe_c,v 1.1 2012/05/06 17:24:41 dholland Exp $
Fix build with latest glib2.
--- lib/tomoe.c~ 2007-06-06 07:35:53.000000000 +0000
+++ lib/tomoe.c
@@ -26,7 +26,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <glib/garray.h>
+#include <glib.h>
#include "tomoe.h"
static gboolean initialized = FALSE;