diff options
author | ryoon <ryoon@pkgsrc.org> | 2013-12-13 14:38:34 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2013-12-13 14:38:34 +0000 |
commit | 47bb54c1cb8adf6884408e35418ec1694d77a213 (patch) | |
tree | 22ed4dc4d0265bda68595da8898a2a89dacc6aa2 /inputmethod/qt5-uim | |
parent | cc9490e6be309d3a2e0936d4721d867b57b56819 (diff) | |
download | pkgsrc-47bb54c1cb8adf6884408e35418ec1694d77a213.tar.gz |
Import Qt5 5.2.0rc1 packages and qt5 input module from uim
Only tested on NetBSD/amd64 6.99.28.
ToDo:
* inputmethod/qt5-ibus from Qt5 should be created
Diffstat (limited to 'inputmethod/qt5-uim')
-rw-r--r-- | inputmethod/qt5-uim/DESCR | 1 | ||||
-rw-r--r-- | inputmethod/qt5-uim/Makefile | 49 | ||||
-rw-r--r-- | inputmethod/qt5-uim/PLIST | 2 | ||||
-rw-r--r-- | inputmethod/qt5-uim/distinfo | 11 | ||||
-rw-r--r-- | inputmethod/qt5-uim/patches/patch-Makefile.in | 17 | ||||
-rw-r--r-- | inputmethod/qt5-uim/patches/patch-qt4_common.pro.in | 18 | ||||
-rw-r--r-- | inputmethod/qt5-uim/patches/patch-qt5_immodule_quimplatforminputcontextplugin.pro.in | 15 |
7 files changed, 113 insertions, 0 deletions
diff --git a/inputmethod/qt5-uim/DESCR b/inputmethod/qt5-uim/DESCR new file mode 100644 index 00000000000..a9d966ee69f --- /dev/null +++ b/inputmethod/qt5-uim/DESCR @@ -0,0 +1 @@ +Qt5 input module for uim diff --git a/inputmethod/qt5-uim/Makefile b/inputmethod/qt5-uim/Makefile new file mode 100644 index 00000000000..9a711c898da --- /dev/null +++ b/inputmethod/qt5-uim/Makefile @@ -0,0 +1,49 @@ +# $NetBSD: Makefile,v 1.1 2013/12/13 14:38:36 ryoon Exp $ + +.include "../../x11/qt5/Makefile.common" + +DISTNAME= uim-1.8.6 +PKGNAME= qt5-${DISTNAME} +CATEGORIES= x11 +MASTER_SITES= http://uim.googlecode.com/files/ +EXTRACT_SUFX= .tar.bz2 +DISTFILES= ${DEFAULT_DISTFILES} uim-1.8.7pre1.tar.gz +SITES.uim-1.8.7pre1.tar.gz= ${MASTER_SITE_LOCAL} + +MAINTAINER= ryoon@NetBSD.org +HOMEPAGE= http://code.google.com/p/uim/ +COMMENT= Qt5 input module for uim +LICENSE= modified-bsd + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= gmake gsed intltool pkg-config +BUILDLINK_DEPMETHOD.gtk2= build + +USE_LANGUAGES= c c++ + +PKGCONFIG_OVERRIDE+= uim.pc.in + +CONFIGURE_ENV+= QMAKE5=${QTPREFIX}/bin/qmake + +CONFIGURE_ARGS+= --with-qt5-immodule +CONFIGURE_ARGS+= --disable-emacs +CONFIGURE_ARGS+= --with-libgcroots=installed + +INSTALL_DIRS+= qt5 + +post-extract: + cd ${WRKSRC} && \ + ${CP} -r ../uim-1.8.7pre1/qt5 . + cd ${WRKSRC} && \ + ${RM} -fr qt4 &&\ + ${CP} -r ../uim-1.8.7pre1/qt4 . + cd ${WRKSRC} && \ + ${CP} ../uim-1.8.7pre1/configure . + +.include "../../converters/libiconv/buildlink3.mk" +.include "../../devel/gettext-lib/buildlink3.mk" +.include "../../devel/libgcroots/buildlink3.mk" +.include "../../inputmethod/uim/buildlink3.mk" +.include "../../x11/qt5-qtbase/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/inputmethod/qt5-uim/PLIST b/inputmethod/qt5-uim/PLIST new file mode 100644 index 00000000000..11ce3414edf --- /dev/null +++ b/inputmethod/qt5-uim/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1 2013/12/13 14:38:36 ryoon Exp $ +qt5/plugins/platforminputcontexts/libuimplatforminputcontextplugin.la diff --git a/inputmethod/qt5-uim/distinfo b/inputmethod/qt5-uim/distinfo new file mode 100644 index 00000000000..6a783f751ab --- /dev/null +++ b/inputmethod/qt5-uim/distinfo @@ -0,0 +1,11 @@ +$NetBSD: distinfo,v 1.1 2013/12/13 14:38:36 ryoon Exp $ + +SHA1 (uim-1.8.6.tar.bz2) = 43b9dbdead6797880e6cfc9c032ecb2d37d42777 +RMD160 (uim-1.8.6.tar.bz2) = 5f94218d82475ac463534ec681769f34547e5707 +Size (uim-1.8.6.tar.bz2) = 6500739 bytes +SHA1 (uim-1.8.7pre1.tar.gz) = cfe281d7d3e56eca7e6b140e7fb4ed4b712514b9 +RMD160 (uim-1.8.7pre1.tar.gz) = 252b3337009d896eef9027029a806bc60c126da0 +Size (uim-1.8.7pre1.tar.gz) = 5821262 bytes +SHA1 (patch-Makefile.in) = 15f8a9adbc7f7b7d3307630f2adb9cffdc4c524f +SHA1 (patch-qt4_common.pro.in) = 4c1f24d0301cd9d2bd05fdbdd92c82096de7c3c1 +SHA1 (patch-qt5_immodule_quimplatforminputcontextplugin.pro.in) = 63bbf7057b61df14a52430e8c12b9bb9b3d69096 diff --git a/inputmethod/qt5-uim/patches/patch-Makefile.in b/inputmethod/qt5-uim/patches/patch-Makefile.in new file mode 100644 index 00000000000..08f8fd511f6 --- /dev/null +++ b/inputmethod/qt5-uim/patches/patch-Makefile.in @@ -0,0 +1,17 @@ +$NetBSD: patch-Makefile.in,v 1.1 2013/12/13 14:38:36 ryoon Exp $ + +* Do not build the stuffs that requires other packages + +--- Makefile.in.orig 2013-06-30 04:27:10.000000000 +0000 ++++ Makefile.in +@@ -441,8 +441,8 @@ top_srcdir = @top_srcdir@ + uim_pixmapsdir = @uim_pixmapsdir@ + AUTOMAKE_OPTIONS = foreign + ACLOCAL_AMFLAGS = -I m4 +-SUBDIRS = m4 doc replace sigscheme uim scm test test2 gtk2 gtk3 qt3 \ +- notify qt4 xim fep emacs po pixmaps examples tables \ ++SUBDIRS = m4 doc replace sigscheme uim scm test \ ++ notify qt4 qt5 xim emacs pixmaps examples tables \ + byeoru-data + EXTRA_DIST = RELNOTE ChangeLog.old ChangeLog.old.2 autogen.sh make-dist.sh \ + uim.pc.in uim.desktop \ diff --git a/inputmethod/qt5-uim/patches/patch-qt4_common.pro.in b/inputmethod/qt5-uim/patches/patch-qt4_common.pro.in new file mode 100644 index 00000000000..51799f4f994 --- /dev/null +++ b/inputmethod/qt5-uim/patches/patch-qt4_common.pro.in @@ -0,0 +1,18 @@ +$NetBSD: patch-qt4_common.pro.in,v 1.1 2013/12/13 14:38:36 ryoon Exp $ + +* Fix for libtoolized qt5 + +--- qt4/common.pro.in.orig 2013-12-13 13:28:40.000000000 +0000 ++++ qt4/common.pro.in +@@ -5,9 +5,9 @@ INCLUDEPATH += @abs_top_builddir@ @abs_t + @abs_top_srcdir@/replace + QMAKE_LIBDIR += @abs_top_builddir@/uim @abs_top_builddir@/replace \ + @abs_top_builddir@/replace/.libs @abs_top_builddir@/uim/.libs +-LIBS += -lreplace -luim -luim-scm ++LIBS += ../../replace/libreplace.la ../../uim/libuim.la ../../uim/libuim-scm.la + !win32:!embedded:!mac { +- LIBS += -luim-x-util ++ LIBS += ../../uim/libuim-x-util.la + } + + greaterThan(QT_MAJOR_VERSION, 4) { diff --git a/inputmethod/qt5-uim/patches/patch-qt5_immodule_quimplatforminputcontextplugin.pro.in b/inputmethod/qt5-uim/patches/patch-qt5_immodule_quimplatforminputcontextplugin.pro.in new file mode 100644 index 00000000000..812df6b5c51 --- /dev/null +++ b/inputmethod/qt5-uim/patches/patch-qt5_immodule_quimplatforminputcontextplugin.pro.in @@ -0,0 +1,15 @@ +$NetBSD: patch-qt5_immodule_quimplatforminputcontextplugin.pro.in,v 1.1 2013/12/13 14:38:36 ryoon Exp $ + +* Add DESTDIR support, fix unprivileged build + +--- qt5/immodule/quimplatforminputcontextplugin.pro.in.orig 2013-12-13 13:28:40.000000000 +0000 ++++ qt5/immodule/quimplatforminputcontextplugin.pro.in +@@ -11,6 +11,8 @@ LIBS += @X11_LIBS@ -luim-counted-init + + QT += gui-private + ++DESTDIR = quimplatforminputcontext_DEST ++ + # Input + HEADERS += @srcdir@/quimplatforminputcontext.h \ + @srcdir@/../../qt4/immodule/candidatewindowproxy.h \ |