Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Dec 2017 19:15:50 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r457716 - in head/chinese: . ibus-cangjie ibus-cangjie/files
Message-ID:  <201712311915.vBVJFo15095768@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Sun Dec 31 19:15:49 2017
New Revision: 457716
URL: https://svnweb.freebsd.org/changeset/ports/457716

Log:
  New port: chinese/ibus-cangjie
  
  This is an IBus engine for users of the Cangjie and
  Quick input methods.
  
  It is primarily intended to Hong Kong people
  who want to input Traditional Chinese,
  as they are (by far) the majority of Cangjie and Quick users.
  
  WWW: http://cangjians.github.io/projects/ibus-cangjie/
  
  PR:		223565
  Submitted by:	hello@blubee.me

Added:
  head/chinese/ibus-cangjie/
  head/chinese/ibus-cangjie/Makefile   (contents, props changed)
  head/chinese/ibus-cangjie/distinfo   (contents, props changed)
  head/chinese/ibus-cangjie/files/
  head/chinese/ibus-cangjie/files/patch-autogen.sh   (contents, props changed)
  head/chinese/ibus-cangjie/pkg-descr   (contents, props changed)
  head/chinese/ibus-cangjie/pkg-plist   (contents, props changed)
Modified:
  head/chinese/Makefile

Modified: head/chinese/Makefile
==============================================================================
--- head/chinese/Makefile	Sun Dec 31 19:14:12 2017	(r457715)
+++ head/chinese/Makefile	Sun Dec 31 19:15:49 2017	(r457716)
@@ -52,6 +52,7 @@
     SUBDIR += gydict
     SUBDIR += hc
     SUBDIR += ibus-array
+    SUBDIR += ibus-cangjie
     SUBDIR += ibus-chewing
     SUBDIR += ibus-libpinyin
     SUBDIR += ibus-pinyin

Added: head/chinese/ibus-cangjie/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/ibus-cangjie/Makefile	Sun Dec 31 19:15:49 2017	(r457716)
@@ -0,0 +1,50 @@
+# Created by: blubee <hello@blubee.me>
+# $FreeBSD$
+
+PORTNAME=		ibus-cangjie
+PORTVERSION=		2.4
+DISTVERSIONPREFIX=	v
+CATEGORIES=		chinese
+
+MAINTAINER=	hello@blubee.me
+COMMENT=	IBus engine for users of the Cangjie and Quick
+
+LICENSE=	GPLv3+
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+LIB_DEPENDS=	libibus-1.0.so:textproc/ibus
+BUILD_DEPENDS=	${PREFIX}/lib/python3.6/site-packages/cangjie/_core.so:chinese/pycangjie
+RUN_DEPENDS=	${PREFIX}/lib/python3.6/site-packages/cangjie/_core.so:chinese/pycangjie \
+		${PYTHON_SITELIBDIR}/pycanberra/__init__.py:devel/pycanberra@py36
+
+USES=		autoreconf gmake libtool pkgconfig python:3.6
+
+OPTIONS_DEFINE=		NLS
+NLS_USES=		gettext
+NLS_CONFIGURE_ENABLE=	gettext
+
+INSTALLS_ICONS=		yes
+GNU_CONFIGURE=		yes
+CONFIGURE_ENV=		PYTHON=${PYTHON_CMD}
+
+USE_GNOME=		introspection:run py3gobject3 intltool
+
+USE_GITHUB=		yes
+GH_ACCOUNT=		Cangjians
+GH_PROJECT=		ibus-cangjie
+
+# ugly kludge fix for this:
+# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224486
+# We know python3 will be installed so we work around this check
+do-configure:
+	@(cd ${WRKSRC} && ${REINPLACE_CMD} \
+		-e 's|([3.2.3])|([2.7])|g' ${WRKSRC}/configure.ac && \
+	      autopoint --force && \
+	      intltoolize --force --copy --automake && \
+	      aclocal -I m4 && \
+	      autoheader && \
+	      automake --add-missing --copy && \
+	      autoconf && \
+	     ./configure ${CONFIGURE_ENV})
+
+.include <bsd.port.mk>

Added: head/chinese/ibus-cangjie/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/ibus-cangjie/distinfo	Sun Dec 31 19:15:49 2017	(r457716)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1509798473
+SHA256 (Cangjians-ibus-cangjie-v2.4_GH0.tar.gz) = 632b38bf8fe979fbbe50fe0cee5322fe2f5c815c3ad0e800c0bdab7e3b814043
+SIZE (Cangjians-ibus-cangjie-v2.4_GH0.tar.gz) = 38549

Added: head/chinese/ibus-cangjie/files/patch-autogen.sh
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/ibus-cangjie/files/patch-autogen.sh	Sun Dec 31 19:15:49 2017	(r457716)
@@ -0,0 +1,8 @@
+--- autogen.sh.orig	2015-03-29 15:19:21 UTC
++++ autogen.sh
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/bin/sh
+ 
+ set -e
+ set -x

Added: head/chinese/ibus-cangjie/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/ibus-cangjie/pkg-descr	Sun Dec 31 19:15:49 2017	(r457716)
@@ -0,0 +1,8 @@
+This is an IBus engine for users of the Cangjie and 
+Quick input methods.
+
+It is primarily intended to Hong Kong people 
+who want to input Traditional Chinese,
+as they are (by far) the majority of Cangjie and Quick users.
+
+WWW: http://cangjians.github.io/projects/ibus-cangjie/

Added: head/chinese/ibus-cangjie/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/ibus-cangjie/pkg-plist	Sun Dec 31 19:15:49 2017	(r457716)
@@ -0,0 +1,30 @@
+bin/ibus-setup-cangjie
+lib/ibus-cangjie/ibus-engine-cangjie
+lib/python3.6/site-packages/ibus_cangjie/__init__.py
+lib/python3.6/site-packages/ibus_cangjie/__pycache__/__init__.cpython-36.opt-1.pyc
+lib/python3.6/site-packages/ibus_cangjie/__pycache__/__init__.cpython-36.pyc
+lib/python3.6/site-packages/ibus_cangjie/__pycache__/canberra.cpython-36.opt-1.pyc
+lib/python3.6/site-packages/ibus_cangjie/__pycache__/canberra.cpython-36.pyc
+lib/python3.6/site-packages/ibus_cangjie/__pycache__/engine.cpython-36.opt-1.pyc
+lib/python3.6/site-packages/ibus_cangjie/__pycache__/engine.cpython-36.pyc
+lib/python3.6/site-packages/ibus_cangjie/__pycache__/setup.cpython-36.opt-1.pyc
+lib/python3.6/site-packages/ibus_cangjie/__pycache__/setup.cpython-36.pyc
+lib/python3.6/site-packages/ibus_cangjie/canberra.py
+lib/python3.6/site-packages/ibus_cangjie/engine.py
+lib/python3.6/site-packages/ibus_cangjie/setup.py
+share/appdata/cangjie.appdata.xml
+share/appdata/quick.appdata.xml
+share/applications/ibus-setup-cangjie.desktop
+share/applications/ibus-setup-quick.desktop
+share/glib-2.0/schemas/org.cangjians.ibus.cangjie.gschema.xml
+share/glib-2.0/schemas/org.cangjians.ibus.quick.gschema.xml
+%%DATADIR%%/setup.ui
+share/ibus/component/cangjie.xml
+share/ibus/component/quick.xml
+share/icons/hicolor/16x16/intl/cangjie.png
+share/icons/hicolor/16x16/intl/quick.png
+share/icons/hicolor/scalable/intl/cangjie.svg
+share/icons/hicolor/scalable/intl/quick.svg
+share/locale/pt_BR/LC_MESSAGES/ibus-cangjie.mo
+share/locale/zh_HK/LC_MESSAGES/ibus-cangjie.mo
+share/locale/zh_TW/LC_MESSAGES/ibus-cangjie.mo



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