pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

(wip/ibus-tutcode) import ibus-tutcode-1.0.2



Module Name:	pkgsrc-wip
Committed By:	Makoto Fujiwara <makoto%if.t.u-tokyo.ac.jp@localhost>
Pushed By:	mef
Date:		Sat Jul 20 17:24:02 2024 +0900
Changeset:	c9dd0c1ebe09a92f873a174d8c208bfb1e2d463a

Added Files:
	ibus-tutcode/DESCR
	ibus-tutcode/Makefile
	ibus-tutcode/PLIST
	ibus-tutcode/TODO
	ibus-tutcode/distinfo

Log Message:
(wip/ibus-tutcode) import ibus-tutcode-1.0.2

ibus-tutcode is an implementation of the TUT-Code/T-Code/Try-Code input
method on the IBus input method framework.  Since TUT-Code is quite
different from other Japanese input methods, if you haven't heard of
it, please consult the following Web pages before complaining about
the differences:

http://ja.wikipedia.org/wiki/%E6%BC%A2%E5%AD%97%E7%9B%B4%E6%8E%A5%E5%85%A5%E5%8A%9B
http://www.crew.sfc.keio.ac.jp/~chk/intro.html
http://openlab.jp/tcode/

* How to install

$ ./configure --prefix=/usr
$ make
$ sudo make install

...

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c9dd0c1ebe09a92f873a174d8c208bfb1e2d463a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 ibus-tutcode/DESCR    | 17 +++++++++++++++++
 ibus-tutcode/Makefile | 22 ++++++++++++++++++++++
 ibus-tutcode/PLIST    | 31 +++++++++++++++++++++++++++++++
 ibus-tutcode/TODO     | 44 ++++++++++++++++++++++++++++++++++++++++++++
 ibus-tutcode/distinfo |  5 +++++
 5 files changed, 119 insertions(+)

diffs:
diff --git a/ibus-tutcode/DESCR b/ibus-tutcode/DESCR
new file mode 100644
index 0000000000..58edebf639
--- /dev/null
+++ b/ibus-tutcode/DESCR
@@ -0,0 +1,17 @@
+ibus-tutcode is an implementation of the TUT-Code/T-Code/Try-Code input
+method on the IBus input method framework.  Since TUT-Code is quite
+different from other Japanese input methods, if you haven't heard of
+it, please consult the following Web pages before complaining about
+the differences:
+
+http://ja.wikipedia.org/wiki/%E6%BC%A2%E5%AD%97%E7%9B%B4%E6%8E%A5%E5%85%A5%E5%8A%9B
+http://www.crew.sfc.keio.ac.jp/~chk/intro.html
+http://openlab.jp/tcode/
+
+* How to install
+
+$ ./configure --prefix=/usr
+$ make
+$ sudo make install
+
+...
diff --git a/ibus-tutcode/Makefile b/ibus-tutcode/Makefile
new file mode 100644
index 0000000000..f96f26b97f
--- /dev/null
+++ b/ibus-tutcode/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD$
+
+VERSION=	1.0.2
+DISTNAME=	ibus-tutcode-${VERSION}
+CATEGORIES=	inputmethod
+MASTER_SITES=	${MASTER_SITE_GITHUB:=deton/}
+GITHUB_TAG=	ibus-tutcode-${VERSION}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/deton/ibus-tutcode/
+COMMENT=	Japanese TUT-Code input engine for IBus
+LICENSE=	gnu-gpl-v2
+
+WRKSRC=			${WRKDIR}/ibus-tutcode-ibus-tutcode-1.0.2
+USE_PKGLOCALEDIR=	yes
+USE_LANGUAGES=		c
+USE_TOOLS+=		autoconf automake
+
+pre-configure:
+	(cd ${WRKSRC}; ./autogen.sh --prefix ${PREFIX})
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/ibus-tutcode/PLIST b/ibus-tutcode/PLIST
new file mode 100644
index 0000000000..c80a06c260
--- /dev/null
+++ b/ibus-tutcode/PLIST
@@ -0,0 +1,31 @@
+@comment $NetBSD$
+libexec/ibus-engine-tutcode
+share/ibus-tutcode/engine/__pycache__/engine.cpython-311.opt-1.pyc
+share/ibus-tutcode/engine/__pycache__/engine.cpython-311.pyc
+share/ibus-tutcode/engine/__pycache__/factory.cpython-311.opt-1.pyc
+share/ibus-tutcode/engine/__pycache__/factory.cpython-311.pyc
+share/ibus-tutcode/engine/__pycache__/tcode_rule.cpython-311.opt-1.pyc
+share/ibus-tutcode/engine/__pycache__/tcode_rule.cpython-311.pyc
+share/ibus-tutcode/engine/__pycache__/trycode_rule.cpython-311.opt-1.pyc
+share/ibus-tutcode/engine/__pycache__/trycode_rule.cpython-311.pyc
+share/ibus-tutcode/engine/__pycache__/tutcode.cpython-311.opt-1.pyc
+share/ibus-tutcode/engine/__pycache__/tutcode.cpython-311.pyc
+share/ibus-tutcode/engine/__pycache__/tutcode_bushudic.cpython-311.opt-1.pyc
+share/ibus-tutcode/engine/__pycache__/tutcode_bushudic.cpython-311.pyc
+share/ibus-tutcode/engine/__pycache__/tutcode_command.cpython-311.opt-1.pyc
+share/ibus-tutcode/engine/__pycache__/tutcode_command.cpython-311.pyc
+share/ibus-tutcode/engine/__pycache__/tutcode_rule.cpython-311.opt-1.pyc
+share/ibus-tutcode/engine/__pycache__/tutcode_rule.cpython-311.pyc
+share/ibus-tutcode/engine/engine.py
+share/ibus-tutcode/engine/factory.py
+share/ibus-tutcode/engine/main.py
+share/ibus-tutcode/engine/skkdict.py
+share/ibus-tutcode/engine/tcode_rule.py
+share/ibus-tutcode/engine/trycode_rule.py
+share/ibus-tutcode/engine/tutcode.py
+share/ibus-tutcode/engine/tutcode_bushudic.py
+share/ibus-tutcode/engine/tutcode_command.py
+share/ibus-tutcode/engine/tutcode_rule.py
+share/ibus-tutcode/icons/ibus-tutcode.svg
+share/ibus-tutcode/setup/config.py
+share/ibus/component/tutcode.xml
diff --git a/ibus-tutcode/TODO b/ibus-tutcode/TODO
new file mode 100644
index 0000000000..3a0fcd7546
--- /dev/null
+++ b/ibus-tutcode/TODO
@@ -0,0 +1,44 @@
+1. the function is not tested
+2. following errors are shown at make package
+
+
+thinkc11@makoto 16:54:27/240720(..wip/ibus-tutcode)% make package
+=> Bootstrap dependency digest>=20211023: found digest-20220214
+===> Skipping vulnerability checks.
+WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
+WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
+===> Installing for ibus-tutcode-1.0.2
+=> Generating pre-install file lists
+Making install in engine
+ mkdir -p '/tmp/wip/ibus-tutcode/work/.destdir/usr/pkg/libexec'
+ /tmp/wip/ibus-tutcode/work/.tools/bin/install -c ibus-engine-tutcode '/tmp/wip/ibus-tutcode/work/.destdir/usr/pkg/libexec'
+ mkdir -p '/tmp/wip/ibus-tutcode/work/.destdir/usr/pkg/share/ibus/component'
+ /tmp/wip/ibus-tutcode/work/.tools/bin/install -c -m 644 tutcode.xml '/tmp/wip/ibus-tutcode/work/.destdir/usr/pkg/share/ibus/component'
+ mkdir -p '/tmp/wip/ibus-tutcode/work/.destdir/usr/pkg/share/ibus-tutcode/engine'
+ /tmp/wip/ibus-tutcode/work/.tools/bin/install -c -m 644 engine.py factory.py main.py tutcode.py skkdict.py tutcode_command.py tutcode_rule.py tcode_rule.py trycode_rule.py tutcode_bushudic.py '/tmp/wip/ibus-tutcode/work/.destdir/usr/pkg/share/ibus-tutcode/engine'
+Byte-compiling python modules...
+engine.pyfactory.pymain.py  File "/usr/pkg/share/ibus-tutcode/engine/main.py", line 85
+    except getopt.GetoptError, err:
+           ^^^^^^^^^^^^^^^^^^^^^^^
+SyntaxError: multiple exception types must be parenthesized
+
+tutcode.pyskkdict.py  File "/usr/pkg/share/ibus-tutcode/engine/skkdict.py", line 111
+    except IOError, OSError:
+           ^^^^^^^^^^^^^^^^
+SyntaxError: multiple exception types must be parenthesized
+
+tutcode_command.pytutcode_rule.pytcode_rule.pytrycode_rule.pytutcode_bushudic.py
+Byte-compiling python modules (optimized versions) ...
+engine.pyfactory.pymain.pytutcode.pyskkdict.pytutcode_command.pytutcode_rule.pytcode_rule.pytrycode_rule.pytutcode_bushudic.py
+Making install in setup
+ mkdir -p '/tmp/wip/ibus-tutcode/work/.destdir/usr/pkg/share/ibus-tutcode/setup'
+ /tmp/wip/ibus-tutcode/work/.tools/bin/install -c -m 644 config.py '/tmp/wip/ibus-tutcode/work/.destdir/usr/pkg/share/ibus-tutcode/setup'
+Byte-compiling python modules...
+config.py  File "/usr/pkg/share/ibus-tutcode/setup/config.py", line 58
+    print "Can't read config file:", self.__config_path_unexpanded, sys.exc_info()[:1]
+    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
+
+
+Byte-compiling python modules (optimized versions) ...
+config.py
diff --git a/ibus-tutcode/distinfo b/ibus-tutcode/distinfo
new file mode 100644
index 0000000000..6e1b1f5d49
--- /dev/null
+++ b/ibus-tutcode/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (ibus-tutcode-1.0.2.tar.gz) = 9b0a9d4db1ffe63d9ec277e4bcdde6c2187b633183f227efa2dcfbde4b02f01d
+SHA512 (ibus-tutcode-1.0.2.tar.gz) = 08a663accc148b2f6df32fde92095258fc23ec1c053ed0e7e0fe4f3d53abae9548cde366f4f94105da3626296d82a7e845c033241677b90f9c7300fcffeca4c8
+Size (ibus-tutcode-1.0.2.tar.gz) = 123014 bytes


Home | Main Index | Thread Index | Old Index