aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2009-11-22 20:14:10 +0800
committerwen <wen@FreeBSD.org>2009-11-22 20:14:10 +0800
commit64561fd45c4db9e5963ef8d0ff584498a6dab04f (patch)
treeb965287f05b52fc2df8ce9caff00e5005790c25e
parent490b7367f9ce38dbaa477a6895518d5b5a0ecd56 (diff)
downloadfreebsd-ports-gnome-64561fd45c4db9e5963ef8d0ff584498a6dab04f.tar.gz
freebsd-ports-gnome-64561fd45c4db9e5963ef8d0ff584498a6dab04f.tar.zst
freebsd-ports-gnome-64561fd45c4db9e5963ef8d0ff584498a6dab04f.zip
Intelligent Input Bus for Linux / Unix OS, iBus, is the next generation
input framework, developed by the developer of scim-python, includes all its function, and much more. This is the ibus-qt port, the input method module for Qt4 of ibus. You may select ibus as the input method in qtconfig after installation. WWW: http://code.google.com/p/ibus PR: ports/140665 Submitted by: Henry Hu <henry.hu.sh@gmail.com>
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/ibus-qt/Makefile41
-rw-r--r--textproc/ibus-qt/distinfo3
-rw-r--r--textproc/ibus-qt/files/patch-CMakeList.txt11
-rw-r--r--textproc/ibus-qt/pkg-descr8
-rw-r--r--textproc/ibus-qt/pkg-message5
-rw-r--r--textproc/ibus-qt/pkg-plist35
7 files changed, 104 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 28d5e6236760..d2e4f5225d71 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -238,6 +238,7 @@
SUBDIR += ia-aspell
SUBDIR += ibus
SUBDIR += ibus-m17n
+ SUBDIR += ibus-qt
SUBDIR += id-aspell
SUBDIR += idnits
SUBDIR += iiimf-client-lib
diff --git a/textproc/ibus-qt/Makefile b/textproc/ibus-qt/Makefile
new file mode 100644
index 000000000000..96bafcd38e56
--- /dev/null
+++ b/textproc/ibus-qt/Makefile
@@ -0,0 +1,41 @@
+# New ports collection Makefile for: ibus-qt
+# Date created: 10 November 2009
+# Whom: Henry Hu <henry.hu.sh@gmail.com>
+#
+# $FreeBSD$
+
+PORTNAME= ibus-qt
+PORTVERSION= 1.2.0.20091014
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+DISTNAME= ${PORTNAME}-${PORTVERSION}-Source
+
+MAINTAINER= henry.hu.sh@gmail.com
+COMMENT= IBus input method module for Qt4
+
+BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/ibus-1.0.pc:${PORTSDIR}/textproc/ibus \
+ ${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:${PORTSDIR}/devel/dbus \
+ ${LOCALBASE}/bin/icu-config:${PORTSDIR}/devel/icu
+RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/ibus-1.0.pc:${PORTSDIR}/textproc/ibus \
+ ${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:${PORTSDIR}/devel/dbus \
+ ${LOCALBASE}/bin/icu-config:${PORTSDIR}/devel/icu
+
+USE_QT_VER= 4
+QT_COMPONENTS= gui dbus moc_build qmake_build moc_build uic_build rcc_build
+USE_CMAKE= yes
+CMAKE_ARGS= -DCMAKE_INSTALL_PREFIX=${PREFIX} -DDOCDIR=${PREFIX}/share/doc/ibus-qt
+USE_LDCONFIG= yes
+
+PROJECTHOST= ibus
+WRKSRC= ${WRKDIR}/${DISTNAME}
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 700042
+BROKEN= Does not build
+.endif
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.post.mk>
diff --git a/textproc/ibus-qt/distinfo b/textproc/ibus-qt/distinfo
new file mode 100644
index 000000000000..fce07bff056e
--- /dev/null
+++ b/textproc/ibus-qt/distinfo
@@ -0,0 +1,3 @@
+MD5 (ibus-qt-1.2.0.20091014-Source.tar.gz) = 781d3bb431452b6d019a2c1983010bb7
+SHA256 (ibus-qt-1.2.0.20091014-Source.tar.gz) = c864c0e5fa7be423a9ea598e36d2870066339b4181e86da03df6fe747244e6e2
+SIZE (ibus-qt-1.2.0.20091014-Source.tar.gz) = 325930
diff --git a/textproc/ibus-qt/files/patch-CMakeList.txt b/textproc/ibus-qt/files/patch-CMakeList.txt
new file mode 100644
index 000000000000..e2a188901bf7
--- /dev/null
+++ b/textproc/ibus-qt/files/patch-CMakeList.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig 2009-11-10 15:25:49.000000000 +0800
++++ CMakeLists.txt 2009-11-10 15:27:11.000000000 +0800
+@@ -56,6 +56,8 @@
+
+ # ======
+ # Requires
++find_package(X11 REQUIRED)
++INCLUDE_DIRECTORIES(${X11_INCLUDE_DIR})
+ # check qt
+ find_package(Qt4 COMPONENTS QtCore QtGui QtDBus REQUIRED)
+ include(${QT_USE_FILE})
diff --git a/textproc/ibus-qt/pkg-descr b/textproc/ibus-qt/pkg-descr
new file mode 100644
index 000000000000..830178b617cd
--- /dev/null
+++ b/textproc/ibus-qt/pkg-descr
@@ -0,0 +1,8 @@
+Intelligent Input Bus for Linux / Unix OS, iBus, is the next generation
+input framework, developed by the developer of scim-python, includes all
+its function, and much more.
+
+This is the ibus-qt port, the input method module for Qt4 of ibus.
+You may select ibus as the input method in qtconfig after installation.
+
+WWW: http://code.google.com/p/ibus
diff --git a/textproc/ibus-qt/pkg-message b/textproc/ibus-qt/pkg-message
new file mode 100644
index 000000000000..57288b1ab5db
--- /dev/null
+++ b/textproc/ibus-qt/pkg-message
@@ -0,0 +1,5 @@
+--------------------------------------------------------
+ibus-qt install finished. You may select ibus as the
+input method in qtconfig.
+
+--------------------------------------------------------
diff --git a/textproc/ibus-qt/pkg-plist b/textproc/ibus-qt/pkg-plist
new file mode 100644
index 000000000000..5a79ffb19170
--- /dev/null
+++ b/textproc/ibus-qt/pkg-plist
@@ -0,0 +1,35 @@
+share/doc/ibus-qt/AUTHORS
+share/doc/ibus-qt/README
+share/doc/ibus-qt/INSTALL
+lib/libibus-qt.so.1.2.0
+lib/libibus-qt.so.1
+lib/libibus-qt.so
+include/ibus-qt/qibusobject.h
+include/ibus-qt/qibusserializable.h
+include/ibus-qt/qibusattribute.h
+include/ibus-qt/qibusattrlist.h
+include/ibus-qt/qibusproperty.h
+include/ibus-qt/qibusproplist.h
+include/ibus-qt/qibustext.h
+include/ibus-qt/qibuslookuptable.h
+include/ibus-qt/qibusenginedesc.h
+include/ibus-qt/qibuscomponent.h
+include/ibus-qt/qibusibusproxy.h
+include/ibus-qt/qibusdbusproxy.h
+include/ibus-qt/qibusinputcontextproxy.h
+include/ibus-qt/qibusbus.h
+include/ibus-qt/qibusinputcontext.h
+include/ibus-qt/qibusobservedpath.h
+include/ibus-qt/qibusengineadaptor.h
+include/ibus-qt/qibusengine.h
+include/ibus-qt/qibusservice.h
+include/ibus-qt/qibusfactoryadaptor.h
+include/ibus-qt/qibusenginefactory.h
+include/ibus-qt/qibusconfigadaptor.h
+include/ibus-qt/qibusconfigproxy.h
+include/ibus-qt/qibusconfigservice.h
+include/ibus-qt/qibusconfig.h
+lib/qt4/plugins/inputmethods/libqtim-ibus.so
+@dirrm include/ibus-qt
+@dirrm share/doc/ibus-qt
+@dirrmtry lib/qt4/plugins/inputmethods