Initial import of scim-qtimm 0.9.4

scim-qtimm is a modular, extensible input method subsystem for Qt.

ok ajacoutot@
This commit is contained in:
kevlo 2008-10-29 02:26:32 +00:00
parent 58ceda0567
commit f0ca879c11
5 changed files with 122 additions and 0 deletions

View File

@ -0,0 +1,50 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/10/29 02:26:32 kevlo Exp $
SHARED_ONLY= Yes
COMMENT= scim plugin for qt
DISTNAME= scim-qtimm-0.9.4
CATEGORIES= inputmethods
HOMEPAGE= http://www.scim-im.org/
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 Xau Xdmcp stdc++
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scim/}
EXTRACT_SUFX= .tar.bz2
MODULES= devel/gettext \
x11/qt3
LIB_DEPENDS= scim-1.0,scim-x11utils-1.0::inputmethods/scim
MODQT_MT= Yes
SUBST_VARS= MODQT_PLUGINS
USE_X11= Yes
USE_LIBTOOL= Yes
LIBTOOL_FLAGS= --tag=disable-static
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--disable-static \
--disable-skim-support \
--with-qt-includes=${MODQT_INCDIR} \
--with-qt-libraries=${MODQT_LIBDIR}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
-I${LOCALBASE}/include/libpng" \
LDFLAGS="-L${LOCALBASE}/lib" \
UIC_PATH=${MODQT_UIC} \
QTDIR=${MODQT_QTDIR}
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (scim-qtimm-0.9.4.tar.bz2) = pY6OfBjCeiCz6dlTscddlA==
RMD160 (scim-qtimm-0.9.4.tar.bz2) = aGVgZgE5dfTMqIFvAWRDzNIs9+4=
SHA1 (scim-qtimm-0.9.4.tar.bz2) = wJgHqLhb+AqfhRuOg0Z2c10yjeU=
SHA256 (scim-qtimm-0.9.4.tar.bz2) = Ebr8zqXctxYNW7QHJ16sTrKxqO3yy8hwU9+FAsadjao=
SIZE (scim-qtimm-0.9.4.tar.bz2) = 536983

View File

@ -0,0 +1,59 @@
$OpenBSD: patch-configure,v 1.1.1.1 2008/10/29 02:26:32 kevlo Exp $
--- configure.orig Wed Aug 17 07:30:35 2005
+++ configure Mon Oct 27 17:37:08 2008
@@ -10691,13 +10691,13 @@ fi
fi
if test -z "$LIBPTHREAD"; then
- echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
-echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
+ echo "$as_me:$LINENO: checking for pthread_create in -pthread" >&5
+echo $ECHO_N "checking for pthread_create in -pthread... $ECHO_C" >&6
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpthread $LIBS"
+LIBS="-pthread $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -10756,16 +10756,16 @@ fi
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
if test $ac_cv_lib_pthread_pthread_create = yes; then
- LIBPTHREAD="-lpthread"
+ LIBPTHREAD="-pthread"
fi
fi
if test -z "$LIBPTHREAD" ; then
- echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
-echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
+ echo "$as_me:$LINENO: checking for pthread_create in -pthread" >&5
+echo $ECHO_N "checking for pthread_create in -pthread... $ECHO_C" >&6
kde_safe_libs=$LIBS
- LIBS="$LIBS -lpthread"
+ LIBS="$LIBS -pthread"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -10806,7 +10806,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
- LIBPTHREAD="-lpthread"
+ LIBPTHREAD="-pthread"
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
@@ -34444,7 +34444,7 @@ if test "${with_qt_dir+set}" = set; then
else
QTDIR_LOCAL=$QTDIR
fi
-INPUTMETHODSDIR=$QTDIR_LOCAL/plugins/inputmethods
+INPUTMETHODSDIR=$QTDIR_LOCAL/plugins-33/inputmethods
if test "$kde_qtver" = "3"; then

View File

@ -0,0 +1 @@
scim-qtimm is a modular, extensible input method subsystem for Qt.

View File

@ -0,0 +1,7 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/10/29 02:26:32 kevlo Exp $
@comment ${MODQT_PLUGINS}/inputmethods/libqscim.la
${MODQT_PLUGINS}/inputmethods/libqscim.so
share/locale/de/LC_MESSAGES/scim-qtimm.mo
share/locale/fr/LC_MESSAGES/scim-qtimm.mo
share/locale/it/LC_MESSAGES/scim-qtimm.mo
share/locale/zh_CN/LC_MESSAGES/scim-qtimm.mo