From owner-svn-ports-all@freebsd.org Mon Jan 22 19:31:47 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 57A8FED18E0; Mon, 22 Jan 2018 19:31:47 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 327DA6AB10; Mon, 22 Jan 2018 19:31:47 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7419C1E8AB; Mon, 22 Jan 2018 19:31:46 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0MJVkCm006739; Mon, 22 Jan 2018 19:31:46 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0MJVj2x006731; Mon, 22 Jan 2018 19:31:45 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201801221931.w0MJVj2x006731@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Mon, 22 Jan 2018 19:31:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r459687 - in head/chinese: . ibus-cangjie ibus-cangjie/files X-SVN-Group: ports-head X-SVN-Commit-Author: pi X-SVN-Commit-Paths: in head/chinese: . ibus-cangjie ibus-cangjie/files X-SVN-Commit-Revision: 459687 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jan 2018 19:31:47 -0000 Author: pi Date: Mon Jan 22 19:31:45 2018 New Revision: 459687 URL: https://svnweb.freebsd.org/changeset/ports/459687 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: 225259 Submitted by: owen94012@gmail.com 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/files/patch-configure.ac (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 Mon Jan 22 19:21:58 2018 (r459686) +++ head/chinese/Makefile Mon Jan 22 19:31:45 2018 (r459687) @@ -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 Mon Jan 22 19:31:45 2018 (r459687) @@ -0,0 +1,38 @@ +# Created by: blubee +# $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= ${PYTHON_SITELIBDIR}/cangjie/_core.so:chinese/pycangjie \ + ${PYTHON_SITELIBDIR}/pycanberra/pycanberra.py:devel/pycanberra@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/cangjie/_core.so:chinese/pycangjie \ + ${PYTHON_SITELIBDIR}/pycanberra/pycanberra.py:devel/pycanberra@${PY_FLAVOR} + +USES= autoreconf gmake libtool pkgconfig python:3.4+ +USE_PYTHON= allflavors +USE_GNOME= introspection:run pygobject3 intltool +GLIB_SCHEMAS= org.cangjians.ibus.cangjie.gschema.xml \ + org.cangjians.ibus.quick.gschema.xml + +OPTIONS_DEFINE= NLS +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= gettext + +INSTALLS_ICONS= yes +GNU_CONFIGURE= yes + +USE_GITHUB= yes +GH_ACCOUNT= Cangjians +GH_PROJECT= ibus-cangjie + +.include Added: head/chinese/ibus-cangjie/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/chinese/ibus-cangjie/distinfo Mon Jan 22 19:31:45 2018 (r459687) @@ -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 Mon Jan 22 19:31:45 2018 (r459687) @@ -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/files/patch-configure.ac ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/chinese/ibus-cangjie/files/patch-configure.ac Mon Jan 22 19:31:45 2018 (r459687) @@ -0,0 +1,13 @@ +--- configure.ac.orig 2015-03-29 15:19:21 UTC ++++ configure.ac +@@ -15,8 +15,8 @@ m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) + IT_PROG_INTLTOOL([0.35.0]) + + # i18n +-AM_GNU_GETTEXT([external]) +-AM_GNU_GETTEXT_VERSION(0.17) ++#AM_GNU_GETTEXT([external]) ++#AM_GNU_GETTEXT_VERSION(0.17) + + # Note: If you change GETTEXT_PACKAGE below, you will also need to change it + # in src/config.py, or find a way to de-hardcode it there. 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 Mon Jan 22 19:31:45 2018 (r459687) @@ -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 Mon Jan 22 19:31:45 2018 (r459687) @@ -0,0 +1,28 @@ +bin/ibus-setup-cangjie +lib/ibus-cangjie/ibus-engine-cangjie +%%PYTHON_SITELIBDIR%%/ibus_cangjie/__init__.py +%%PYTHON_SITELIBDIR%%/ibus_cangjie/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/ibus_cangjie/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/ibus_cangjie/__pycache__/canberra.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/ibus_cangjie/__pycache__/canberra.cpython-%%PYTHON_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/ibus_cangjie/__pycache__/engine.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/ibus_cangjie/__pycache__/engine.cpython-%%PYTHON_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/ibus_cangjie/__pycache__/setup.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/ibus_cangjie/__pycache__/setup.cpython-%%PYTHON_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/ibus_cangjie/canberra.py +%%PYTHON_SITELIBDIR%%/ibus_cangjie/engine.py +%%PYTHON_SITELIBDIR%%/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 +%%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