diff options
author | jmmv <jmmv@pkgsrc.org> | 2005-03-22 16:05:13 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2005-03-22 16:05:13 +0000 |
commit | 2474d8fe316354e364e5cbf8677412eed35d4d35 (patch) | |
tree | 31952af8c47cf5623a58ad15a3dd0f1e9980d05b /x11 | |
parent | 8e44e8603b9172c4abda6ec4dea3a108380f9d31 (diff) | |
download | pkgsrc-2474d8fe316354e364e5cbf8677412eed35d4d35.tar.gz |
Update to 2.0:
2.0 New stable release (for GNOME 2.10). Minor changes since 1.14:
some optimization and cleanup.
1.14 Memory leaks nailed. Some minor restructuring. Bugfixing.
A couple of XKL_*_DISABLE envvars introduced.
1.13 Some build process cleanup and fixes. One more "virtual function"
introduced.
1.12 First version with real xmodmap support. Sure, bugs are possible.
I did it again - broke API. Really hope no API changes in 1.1x
series any more.
1.11 A lot of internal changes. VTable introduced (so now at some
point there can be implemented xmodmap backend). Some bugs were
fixed.
1.10 Some internal reorganization in the xklavier-config department.
API/ABI are broken. All this stuff is going to be used in
GNOME 2.9x. The environment variable XKL_DEBUG introduced in
order to control the debug info more handy. Minor portability
bug was fixed.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/libxklavier/Makefile | 10 | ||||
-rw-r--r-- | x11/libxklavier/buildlink3.mk | 5 | ||||
-rw-r--r-- | x11/libxklavier/distinfo | 13 | ||||
-rw-r--r-- | x11/libxklavier/patches/patch-aa | 32 | ||||
-rw-r--r-- | x11/libxklavier/patches/patch-ab | 21 | ||||
-rw-r--r-- | x11/libxklavier/patches/patch-ac | 21 |
6 files changed, 30 insertions, 72 deletions
diff --git a/x11/libxklavier/Makefile b/x11/libxklavier/Makefile index aa9944f0c14..5e04c35a80e 100644 --- a/x11/libxklavier/Makefile +++ b/x11/libxklavier/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.8 2004/10/03 00:18:36 tv Exp $ +# $NetBSD: Makefile,v 1.9 2005/03/22 16:05:13 jmmv Exp $ # -DISTNAME= libxklavier-1.04 -PKGREVISION= 1 +DISTNAME= libxklavier-2.0 CATEGORIES= x11 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gswitchit/} @@ -19,6 +18,11 @@ USE_X11= YES PKGCONFIG_OVERRIDE= libxklavier.pc.in +CONFIGURE_ARGS+= --enable-xkb-support +CONFIGURE_ARGS+= --enable-xmm-support + +BUILDLINK_TRANSFORM+= rm:-Werror + .include "../../devel/pkgconfig/buildlink3.mk" .include "../../textproc/libxml2/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/x11/libxklavier/buildlink3.mk b/x11/libxklavier/buildlink3.mk index f424353e76a..dd75e24671d 100644 --- a/x11/libxklavier/buildlink3.mk +++ b/x11/libxklavier/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.6 2004/10/03 00:18:36 tv Exp $ +# $NetBSD: buildlink3.mk,v 1.7 2005/03/22 16:05:13 jmmv Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ LIBXKLAVIER_BUILDLINK3_MK:= ${LIBXKLAVIER_BUILDLINK3_MK}+ @@ -11,8 +11,7 @@ BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibxklavier} BUILDLINK_PACKAGES+= libxklavier .if !empty(LIBXKLAVIER_BUILDLINK3_MK:M+) -BUILDLINK_DEPENDS.libxklavier+= libxklavier>=1.00 -BUILDLINK_RECOMMENDED.libxklavier+= libxklavier>=1.04nb1 +BUILDLINK_DEPENDS.libxklavier+= libxklavier>=2.0 BUILDLINK_PKGSRCDIR.libxklavier?= ../../x11/libxklavier .endif # LIBXKLAVIER_BUILDLINK3_MK diff --git a/x11/libxklavier/distinfo b/x11/libxklavier/distinfo index 8a238ffd564..5bba81e4e54 100644 --- a/x11/libxklavier/distinfo +++ b/x11/libxklavier/distinfo @@ -1,8 +1,7 @@ -$NetBSD: distinfo,v 1.9 2005/02/23 17:36:17 wiz Exp $ +$NetBSD: distinfo,v 1.10 2005/03/22 16:05:13 jmmv Exp $ -SHA1 (libxklavier-1.04.tar.gz) = 6b909ef1320255144034a8bcdbb7cdaa15db156e -RMD160 (libxklavier-1.04.tar.gz) = af26888399a4936f73e432d4b61e457365ae6f65 -Size (libxklavier-1.04.tar.gz) = 422337 bytes -SHA1 (patch-aa) = 7746a3876cde51cfb08c58bd173a18520eb62d77 -SHA1 (patch-ab) = 77e692a927f80c592ecd9caed989ac24fbe9048a -SHA1 (patch-ac) = 6fc58f67e95e6c8ea8df1e42c29493be61b9f8c1 +SHA1 (libxklavier-2.0.tar.gz) = 2eae2b8013be972172374fb5cc71a4f368c41d76 +RMD160 (libxklavier-2.0.tar.gz) = a8f219a61f47ed1bb0f801d0e78512b4275e0082 +Size (libxklavier-2.0.tar.gz) = 435898 bytes +SHA1 (patch-aa) = c545095d06dbacf9452d138fdef6fcf485457d11 +SHA1 (patch-ab) = 0da271f9ee8a9b7bfeffa8f12b9d66cec5635e2c diff --git a/x11/libxklavier/patches/patch-aa b/x11/libxklavier/patches/patch-aa index 08aa5f4bf72..9da70efd86c 100644 --- a/x11/libxklavier/patches/patch-aa +++ b/x11/libxklavier/patches/patch-aa @@ -1,19 +1,17 @@ -$NetBSD: patch-aa,v 1.2 2004/10/02 15:44:15 jmmv Exp $ +$NetBSD: patch-aa,v 1.3 2005/03/22 16:05:13 jmmv Exp $ ---- libxklavier/xklavier_config_xkb.c.orig 2004-10-02 16:45:49.000000000 +0200 -+++ libxklavier/xklavier_config_xkb.c -@@ -184,10 +184,13 @@ Bool XklMultipleLayoutsSupported( void ) +--- configure.orig 2005-02-26 00:02:18.000000000 +0100 ++++ configure +@@ -20135,9 +20135,9 @@ fi - if ( supportState == UNCHECKED ) - { -+#ifdef XKB_HEADERS_PRESENT -+ XkbRF_RulesPtr rulesPtr; -+#endif - XklDebug( 100, "!!! Checking multiple layouts support\n" ); - supportState = NON_SUPPORTED; - #ifdef XKB_HEADERS_PRESENT -- XkbRF_RulesPtr rulesPtr = _XklLoadRulesSet(); -+ rulesPtr = _XklLoadRulesSet(); - if ( rulesPtr ) - { - XkbRF_VarDefsRec varDefs; + echo "$as_me:$LINENO: checking whether at least one libxklavier backend is enabled" >&5 + echo $ECHO_N "checking whether at least one libxklavier backend is enabled... $ECHO_C" >&6 +-if test \( "$enable_xkb_support" == "yes" -a \ +- "$xkb_headers_present" == "yes" \) -o \ +- "$enable_xmm_support" == "yes" ; then ++if test \( "$enable_xkb_support" = "yes" -a \ ++ "$xkb_headers_present" = "yes" \) -o \ ++ "$enable_xmm_support" = "yes" ; then + echo "$as_me:$LINENO: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + else diff --git a/x11/libxklavier/patches/patch-ab b/x11/libxklavier/patches/patch-ab deleted file mode 100644 index 8d1f3725c54..00000000000 --- a/x11/libxklavier/patches/patch-ab +++ /dev/null @@ -1,21 +0,0 @@ -$NetBSD: patch-ab,v 1.1 2004/11/03 11:22:58 jmmv Exp $ - ---- tests/test_config.c.orig 2004-10-01 21:52:02.000000000 +0200 -+++ tests/test_config.c -@@ -46,6 +46,7 @@ int main( int argc, char * const argv[] - const char* layouts = NULL; - const char* options = NULL; - int debugLevel = 0; -+ Display* dpy; - - while (1) - { -@@ -89,7 +90,7 @@ int main( int argc, char * const argv[] - exit( 0 ); - } - -- Display* dpy = XOpenDisplay( NULL ); -+ dpy = XOpenDisplay( NULL ); - if ( dpy == NULL ) - { - fprintf( stderr, "Could not open display\n" ); diff --git a/x11/libxklavier/patches/patch-ac b/x11/libxklavier/patches/patch-ac deleted file mode 100644 index 10dac68ab5a..00000000000 --- a/x11/libxklavier/patches/patch-ac +++ /dev/null @@ -1,21 +0,0 @@ -$NetBSD: patch-ac,v 1.1 2004/11/03 11:22:58 jmmv Exp $ - ---- tests/test_monitor.c.orig 2004-10-01 21:52:02.000000000 +0200 -+++ tests/test_monitor.c -@@ -41,6 +41,7 @@ int main( int argc, char * argv[] ) - { - int c; - int debugLevel = 0; -+ Display* dpy; - XkbEvent ev; - - while (1) -@@ -63,7 +64,7 @@ int main( int argc, char * argv[] ) - } - } - -- Display* dpy = XOpenDisplay( NULL ); -+ dpy = XOpenDisplay( NULL ); - if ( dpy == NULL ) - { - fprintf( stderr, "Could not open display\n" ); |