Import of pkgsrc-2014Q1
This commit is contained in:
@@ -0,0 +1 @@
|
||||
Qt5 input module for uim
|
||||
@@ -0,0 +1,50 @@
|
||||
# $NetBSD: Makefile,v 1.4 2014/02/12 23:18:05 tron Exp $
|
||||
|
||||
.include "../../x11/qt5/Makefile.common"
|
||||
|
||||
DISTNAME= uim-1.8.6
|
||||
PKGNAME= qt5-${DISTNAME}
|
||||
PKGREVISION= 3
|
||||
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"
|
||||
@@ -0,0 +1,2 @@
|
||||
@comment $NetBSD: PLIST,v 1.1 2013/12/13 14:38:36 ryoon Exp $
|
||||
qt5/plugins/platforminputcontexts/libuimplatforminputcontextplugin.la
|
||||
@@ -0,0 +1,12 @@
|
||||
$NetBSD: distinfo,v 1.2 2013/12/15 19:38:33 joerg 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-qt4_immodule_plugin.cpp) = d7ec1c6f49cd9993e86b89537b1b48d6b4ba42d7
|
||||
SHA1 (patch-qt5_immodule_quimplatforminputcontextplugin.pro.in) = 63bbf7057b61df14a52430e8c12b9bb9b3d69096
|
||||
@@ -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 \
|
||||
@@ -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) {
|
||||
@@ -0,0 +1,12 @@
|
||||
$NetBSD: patch-qt4_immodule_plugin.cpp,v 1.1 2013/12/15 19:38:33 joerg Exp $
|
||||
|
||||
--- qt4/immodule/plugin.cpp.orig 2013-12-15 17:58:04.000000000 +0000
|
||||
+++ qt4/immodule/plugin.cpp
|
||||
@@ -33,6 +33,7 @@
|
||||
*/
|
||||
|
||||
#include "plugin.h"
|
||||
+#include <clocale>
|
||||
|
||||
#include <QtCore/QStringList>
|
||||
#ifdef Q_WS_X11
|
||||
@@ -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 \
|
||||
Reference in New Issue
Block a user