diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-11-24 07:36:17 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-11-24 07:36:17 +0800 |
commit | d8f07daaae3323262859aecc95dde7b08d8661ff (patch) | |
tree | 23c115db4c19dd5bf35b56b2cc45c6f1134967b1 /x11 | |
parent | 0470fe8a4adaccb216c0ce4901e0d726951220c8 (diff) | |
download | marcuscom-ports-d8f07daaae3323262859aecc95dde7b08d8661ff.tar marcuscom-ports-d8f07daaae3323262859aecc95dde7b08d8661ff.tar.gz marcuscom-ports-d8f07daaae3323262859aecc95dde7b08d8661ff.tar.bz2 marcuscom-ports-d8f07daaae3323262859aecc95dde7b08d8661ff.tar.lz marcuscom-ports-d8f07daaae3323262859aecc95dde7b08d8661ff.tar.xz marcuscom-ports-d8f07daaae3323262859aecc95dde7b08d8661ff.tar.zst marcuscom-ports-d8f07daaae3323262859aecc95dde7b08d8661ff.zip |
Add libxklavier, and update to 1.11.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3109 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11')
-rw-r--r-- | x11/libxklavier/Makefile | 29 | ||||
-rw-r--r-- | x11/libxklavier/distinfo | 2 | ||||
-rw-r--r-- | x11/libxklavier/files/patch-libxklavier_xklavier.c | 14 | ||||
-rw-r--r-- | x11/libxklavier/files/patch-libxklavier_xklavier_config_i18n.c | 11 | ||||
-rw-r--r-- | x11/libxklavier/pkg-descr | 4 | ||||
-rw-r--r-- | x11/libxklavier/pkg-plist | 9 |
6 files changed, 69 insertions, 0 deletions
diff --git a/x11/libxklavier/Makefile b/x11/libxklavier/Makefile new file mode 100644 index 000000000..8ae882984 --- /dev/null +++ b/x11/libxklavier/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: libxklavier +# Date created: 31 May 2002 +# Whom: Maxim Sobolev <sobomax@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= libxklavier +PORTVERSION= 1.11 +PORTEPOCH= 1 +CATEGORIES= x11 +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= gswitchit + +MAINTAINER= gnome@FreeBSD.org +COMMENT= An utility library to make XKB stuff easier + +USE_X_PREFIX= yes +USE_GMAKE= yes +USE_GNOME= gnometarget gnomehack libxml2 +INSTALLS_SHLIB= yes +USE_LIBTOOL_VER=15 +CONFIGURE_ARGS= --disable-doxygen +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" + +PLIST_SUB= VERSION=${PORTVERSION} + +.include <bsd.port.mk> diff --git a/x11/libxklavier/distinfo b/x11/libxklavier/distinfo new file mode 100644 index 000000000..43ac9d7d6 --- /dev/null +++ b/x11/libxklavier/distinfo @@ -0,0 +1,2 @@ +MD5 (libxklavier-1.11.tar.gz) = 1a4c6b95bc74bccaf5a7e394f928a54f +SIZE (libxklavier-1.11.tar.gz) = 425617 diff --git a/x11/libxklavier/files/patch-libxklavier_xklavier.c b/x11/libxklavier/files/patch-libxklavier_xklavier.c new file mode 100644 index 000000000..aab6f4207 --- /dev/null +++ b/x11/libxklavier/files/patch-libxklavier_xklavier.c @@ -0,0 +1,14 @@ +--- libxklavier/xklavier.c.orig Tue Nov 23 18:32:29 2004 ++++ libxklavier/xklavier.c Tue Nov 23 18:32:48 2004 +@@ -700,9 +700,10 @@ + { + if ( xklVTable == NULL ) + { ++ char *p; + XklDebug( 0, "ERROR: XKL VTable is NOT initialized.\n" ); + /* force the crash! */ +- char *p = NULL; *p = '\0'; ++ p = NULL; *p = '\0'; + } + } + diff --git a/x11/libxklavier/files/patch-libxklavier_xklavier_config_i18n.c b/x11/libxklavier/files/patch-libxklavier_xklavier_config_i18n.c new file mode 100644 index 000000000..0ef120607 --- /dev/null +++ b/x11/libxklavier/files/patch-libxklavier_xklavier_config_i18n.c @@ -0,0 +1,11 @@ +--- libxklavier/xklavier_config_i18n.c.orig Tue Nov 23 18:33:37 2004 ++++ libxklavier/xklavier_config_i18n.c Tue Nov 23 18:34:30 2004 +@@ -106,7 +106,7 @@ + iconv_t converter; + static char converted[XKL_MAX_CI_DESC_LENGTH]; + char *convertedStart = converted; +- char *utfStart = ( char * ) utf8string; ++ const char *utfStart = ( const char * ) utf8string; + size_t clen = XKL_MAX_CI_DESC_LENGTH - 1; + const char *charset; + diff --git a/x11/libxklavier/pkg-descr b/x11/libxklavier/pkg-descr new file mode 100644 index 000000000..d5000e3ad --- /dev/null +++ b/x11/libxklavier/pkg-descr @@ -0,0 +1,4 @@ +Libxklavier is a utility to simplify setting and changing +keyboard layouts. + +WWW: http://gswitchit.sourceforge.net/ diff --git a/x11/libxklavier/pkg-plist b/x11/libxklavier/pkg-plist new file mode 100644 index 000000000..609d1be24 --- /dev/null +++ b/x11/libxklavier/pkg-plist @@ -0,0 +1,9 @@ +include/libxklavier/xklavier.h +include/libxklavier/xklavier_config.h +lib/libxklavier.a +lib/libxklavier.so +lib/libxklavier.so.9 +libdata/pkgconfig/libxklavier.pc +share/libxklavier/xfree86.xml +@dirrm share/libxklavier +@dirrm include/libxklavier |