summaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-11-30 15:22:50 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-11-30 15:22:50 +0800
commitff630c2cf52df657968fb95889798328d326e4c6 (patch)
treef7451f6c2c3aa4dfa72a981970ca6fa34b5b5922 /x11
parent81cc40e6dcbe689b1d08ab7a7c8e6d934fca0b37 (diff)
downloadmarcuscom-ports-ff630c2cf52df657968fb95889798328d326e4c6.tar.gz
marcuscom-ports-ff630c2cf52df657968fb95889798328d326e4c6.tar.zst
marcuscom-ports-ff630c2cf52df657968fb95889798328d326e4c6.zip
Update to 1.12.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3168 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11')
-rw-r--r--x11/libxklavier/Makefile2
-rw-r--r--x11/libxklavier/distinfo4
-rw-r--r--x11/libxklavier/files/patch-libxklavier_xklavier_evt_xmm.c22
-rw-r--r--x11/libxklavier/files/patch-libxklavier_xklavier_xmm.c15
-rw-r--r--x11/libxklavier/pkg-plist2
5 files changed, 41 insertions, 4 deletions
diff --git a/x11/libxklavier/Makefile b/x11/libxklavier/Makefile
index 8ae882984..911b9a8b6 100644
--- a/x11/libxklavier/Makefile
+++ b/x11/libxklavier/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= libxklavier
-PORTVERSION= 1.11
+PORTVERSION= 1.12
PORTEPOCH= 1
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
diff --git a/x11/libxklavier/distinfo b/x11/libxklavier/distinfo
index 43ac9d7d6..ac3f922c6 100644
--- a/x11/libxklavier/distinfo
+++ b/x11/libxklavier/distinfo
@@ -1,2 +1,2 @@
-MD5 (libxklavier-1.11.tar.gz) = 1a4c6b95bc74bccaf5a7e394f928a54f
-SIZE (libxklavier-1.11.tar.gz) = 425617
+MD5 (libxklavier-1.12.tar.gz) = 05b51045ba969a20e24d1b93bc8925f7
+SIZE (libxklavier-1.12.tar.gz) = 432989
diff --git a/x11/libxklavier/files/patch-libxklavier_xklavier_evt_xmm.c b/x11/libxklavier/files/patch-libxklavier_xklavier_evt_xmm.c
new file mode 100644
index 000000000..8dbfe37c7
--- /dev/null
+++ b/x11/libxklavier/files/patch-libxklavier_xklavier_evt_xmm.c
@@ -0,0 +1,22 @@
+--- libxklavier/xklavier_evt_xmm.c.orig Tue Nov 30 02:18:31 2004
++++ libxklavier/xklavier_evt_xmm.c Tue Nov 30 02:20:24 2004
+@@ -13,15 +13,15 @@
+ {
+ if( _xklListenerType & XKLL_MANAGE_LAYOUTS )
+ {
+- XklDebug( 200, "Processing the KeyPress event\n" );
+ int currentShortcut = 0;
+ const XmmSwitchOptionPtr sop = _XklXmmFindSwitchOption( kpe->keycode,
+- kpe->state,
+- &currentShortcut );
++ kpe->state,
++ &currentShortcut );
++ XklDebug( 200, "Processing the KeyPress event\n" );
+ if( sop != NULL )
+ {
+- XklDebug( 150, "It is THE shortcut\n" );
+ XklState state;
++ XklDebug( 150, "It is THE shortcut\n" );
+ _XklXmmGetRealState( &state );
+ if( state.group != -1 )
+ {
diff --git a/x11/libxklavier/files/patch-libxklavier_xklavier_xmm.c b/x11/libxklavier/files/patch-libxklavier_xklavier_xmm.c
new file mode 100644
index 000000000..6db8c5508
--- /dev/null
+++ b/x11/libxklavier/files/patch-libxklavier_xklavier_xmm.c
@@ -0,0 +1,15 @@
+--- libxklavier/xklavier_xmm.c.orig Tue Nov 30 02:17:37 2004
++++ libxklavier/xklavier_xmm.c Tue Nov 30 02:17:51 2004
+@@ -66,10 +66,11 @@
+ const XmmSwitchOptionPtr _XklXmmGetCurrentShortcut()
+ {
+ const char* optionName = _XklXmmGetCurrentShortcutOptionName();
++ XmmSwitchOptionPtr switchOption;
+ XklDebug( 150, "Configured switch option: [%s]\n", optionName );
+ if( optionName == NULL )
+ return NULL;
+- XmmSwitchOptionPtr switchOption = allSwitchOptions;
++ switchOption = allSwitchOptions;
+ while( switchOption->optionName != NULL )
+ {
+ if( !strcmp( switchOption->optionName, optionName ) )
diff --git a/x11/libxklavier/pkg-plist b/x11/libxklavier/pkg-plist
index 609d1be24..e88eef7fe 100644
--- a/x11/libxklavier/pkg-plist
+++ b/x11/libxklavier/pkg-plist
@@ -2,7 +2,7 @@ include/libxklavier/xklavier.h
include/libxklavier/xklavier_config.h
lib/libxklavier.a
lib/libxklavier.so
-lib/libxklavier.so.9
+lib/libxklavier.so.10
libdata/pkgconfig/libxklavier.pc
share/libxklavier/xfree86.xml
@dirrm share/libxklavier