Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Nov 2009 15:43:25 GMT
From:      Henry Hu <henry.hu.sh@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/140665: New port: textproc/ibus-qt IBus input method module for Qt4
Message-ID:  <200911181543.nAIFhPhj004358@www.freebsd.org>
Resent-Message-ID: <200911181550.nAIFo0l8016090@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         140665
>Category:       ports
>Synopsis:       New port: textproc/ibus-qt IBus input method module for Qt4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 18 15:50:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Henry Hu
>Release:        FreeBSD 8.0-RC2
>Organization:
Tsinghua University, Beijing, China
>Environment:
FreeBSD henryhu 8.0-RC2 FreeBSD 8.0-RC2 #3: Thu Nov 12 06:06:05 CST 2009     root@:/usr/obj/usr/src/sys/MYKERNEL  i386

>Description:
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.

Please commit this after PR 140663, which updates ibus to 1.2.0.20091024, since ibus-qt may depend on it.
>How-To-Repeat:

>Fix:
Apply the following patch.

Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	/usr/ports/textproc/ibus-qt
#	/usr/ports/textproc/ibus-qt/Makefile
#	/usr/ports/textproc/ibus-qt/files
#	/usr/ports/textproc/ibus-qt/files/patch-CMakeList.txt
#	/usr/ports/textproc/ibus-qt/distinfo
#	/usr/ports/textproc/ibus-qt/pkg-message
#	/usr/ports/textproc/ibus-qt/pkg-descr
#	/usr/ports/textproc/ibus-qt/pkg-plist
#
echo c - /usr/ports/textproc/ibus-qt
mkdir -p /usr/ports/textproc/ibus-qt > /dev/null 2>&1
echo x - /usr/ports/textproc/ibus-qt/Makefile
sed 's/^X//' >/usr/ports/textproc/ibus-qt/Makefile << 'e68c4b20ff53966b2ca0b8e14afbf345'
X# New ports collection Makefile for:	ibus-qt
X# Date created:				10 November 2009
X# Whom:					Henry Hu <henry.hu.sh@gmail.com>
X#
X# $FreeBSD$
X
XPORTNAME=	ibus-qt
XPORTVERSION=	1.2.0.20091014
XCATEGORIES=	textproc
XMASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
XDISTNAME=		${PORTNAME}-${PORTVERSION}-Source
X
XMAINTAINER=	henry.hu.sh@gmail.com
XCOMMENT=	IBus input method module for Qt4
X
XBUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/ibus-1.0.pc:${PORTSDIR}/textproc/ibus \
X	${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:${PORTSDIR}/devel/dbus \
X	${LOCALBASE}/bin/icu-config:${PORTSDIR}/devel/icu
XRUN_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/ibus-1.0.pc:${PORTSDIR}/textproc/ibus \
X	${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:${PORTSDIR}/devel/dbus \
X	${LOCALBASE}/bin/icu-config:${PORTSDIR}/devel/icu
X
XUSE_QT_VER=	4
XQT_COMPONENTS=	gui dbus moc_build qmake_build
XUSE_CMAKE=	yes
XCMAKE_ARGS=	-DCMAKE_INSTALL_PREFIX=${PREFIX} -DDOCDIR=${PREFIX}/share/doc/ibus-qt
X
XPROJECTHOST=	ibus
XWRKSRC=			${WRKDIR}/${DISTNAME}
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
e68c4b20ff53966b2ca0b8e14afbf345
echo c - /usr/ports/textproc/ibus-qt/files
mkdir -p /usr/ports/textproc/ibus-qt/files > /dev/null 2>&1
echo x - /usr/ports/textproc/ibus-qt/files/patch-CMakeList.txt
sed 's/^X//' >/usr/ports/textproc/ibus-qt/files/patch-CMakeList.txt << '8790f71834a25fe6e5ba81e623f22f38'
X--- CMakeLists.txt.orig	2009-11-10 15:25:49.000000000 +0800
X+++ CMakeLists.txt	2009-11-10 15:27:11.000000000 +0800
X@@ -56,6 +56,8 @@
X 
X # ======
X # Requires
X+find_package(X11 REQUIRED)
X+INCLUDE_DIRECTORIES(${X11_INCLUDE_DIR})
X # check qt
X find_package(Qt4 COMPONENTS QtCore QtGui QtDBus REQUIRED)
X include(${QT_USE_FILE})
8790f71834a25fe6e5ba81e623f22f38
echo x - /usr/ports/textproc/ibus-qt/distinfo
sed 's/^X//' >/usr/ports/textproc/ibus-qt/distinfo << '5a6b23a5873a6dd7dfb131da49a741d1'
XMD5 (ibus-qt-1.2.0.20091014-Source.tar.gz) = 781d3bb431452b6d019a2c1983010bb7
XSHA256 (ibus-qt-1.2.0.20091014-Source.tar.gz) = c864c0e5fa7be423a9ea598e36d2870066339b4181e86da03df6fe747244e6e2
XSIZE (ibus-qt-1.2.0.20091014-Source.tar.gz) = 325930
5a6b23a5873a6dd7dfb131da49a741d1
echo x - /usr/ports/textproc/ibus-qt/pkg-message
sed 's/^X//' >/usr/ports/textproc/ibus-qt/pkg-message << '5f2da041933b378084ad29ea5cafbce9'
X--------------------------------------------------------
Xibus-qt install finished. You may select ibus as the
Xinput method in qtconfig.
X
X--------------------------------------------------------
5f2da041933b378084ad29ea5cafbce9
echo x - /usr/ports/textproc/ibus-qt/pkg-descr
sed 's/^X//' >/usr/ports/textproc/ibus-qt/pkg-descr << '3dc93c588098daa9d581681f65195831'
XIntelligent Input Bus for Linux / Unix OS, iBus, is the next generation input
Xframework, developed by the developer of scim-python, includes all its
Xfunction, and much more.
X
XThis is the ibus-qt port, the input method module for Qt4 of ibus.
XYou may select ibus as the input method in qtconfig after installation.
X
XWWW: http://code.google.com/p/ibus
3dc93c588098daa9d581681f65195831
echo x - /usr/ports/textproc/ibus-qt/pkg-plist
sed 's/^X//' >/usr/ports/textproc/ibus-qt/pkg-plist << '4d823f2a02f4e4624c7324f9afb1ac4e'
Xshare/doc/ibus-qt/AUTHORS
Xshare/doc/ibus-qt/README
Xshare/doc/ibus-qt/INSTALL
Xlib/libibus-qt.so.1.2.0
Xlib/libibus-qt.so.1
Xlib/libibus-qt.so
Xinclude/ibus-qt/qibusobject.h
Xinclude/ibus-qt/qibusserializable.h
Xinclude/ibus-qt/qibusattribute.h
Xinclude/ibus-qt/qibusattrlist.h
Xinclude/ibus-qt/qibusproperty.h
Xinclude/ibus-qt/qibusproplist.h
Xinclude/ibus-qt/qibustext.h
Xinclude/ibus-qt/qibuslookuptable.h
Xinclude/ibus-qt/qibusenginedesc.h
Xinclude/ibus-qt/qibuscomponent.h
Xinclude/ibus-qt/qibusibusproxy.h
Xinclude/ibus-qt/qibusdbusproxy.h
Xinclude/ibus-qt/qibusinputcontextproxy.h
Xinclude/ibus-qt/qibusbus.h
Xinclude/ibus-qt/qibusinputcontext.h
Xinclude/ibus-qt/qibusobservedpath.h
Xinclude/ibus-qt/qibusengineadaptor.h
Xinclude/ibus-qt/qibusengine.h
Xinclude/ibus-qt/qibusservice.h
Xinclude/ibus-qt/qibusfactoryadaptor.h
Xinclude/ibus-qt/qibusenginefactory.h
Xinclude/ibus-qt/qibusconfigadaptor.h
Xinclude/ibus-qt/qibusconfigproxy.h
Xinclude/ibus-qt/qibusconfigservice.h
Xinclude/ibus-qt/qibusconfig.h
Xlib/qt4/plugins/inputmethods/libqtim-ibus.so
X@dirrm include/ibus-qt
X@dirrm share/doc/ibus-qt
X@dirrmtry lib/qt4/plugins/inputmethods
4d823f2a02f4e4624c7324f9afb1ac4e
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



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