[kde-freebsd] Patchs for kdebase-workspace (Fixed numlock probs)

Kris Moore kris at pcbsd.com
Mon Jul 7 20:46:37 CEST 2008



One of our users reported a problem with the numlock being enabled at 
startup. I investigated, and it was indeed broken in KDE, and in the 
FreeBSD port as well. Here's the files which correct this behavior. 
Also, I will be submitting the patch-kcontrol-keyboard-kcmmisc.cpp file 
back to KDE here via this bug report:

http://bugs.kde.org/show_bug.cgi?id=154978

If anybody else can submit it to them and get it into their src, I would 
appreciate it. Can we throw it into area51 in the meantime?


Here's the Makefile diff for x11/kdebase-workspace/Makefile:
----------------------------------------------------------------------------------------

--- Makefile.orig       2008-07-07 14:22:06.000000000 -0400
+++ Makefile    2008-07-07 14:22:53.000000000 -0400
@@ -95,6 +95,10 @@
         ${REINPLACE_CMD} -e 's|<qevent.h>|<QtEvents>|'\
                 ${WRKSRC}/../kwin/effects/desktopgrid.cpp

+post-configure:
+       ${REINPLACE_CMD} -e 's|/\* #undef HAVE_XKB \*/|#define HAVE_XKB 1|'\
+               ${WRKSRC}/../build/config-X11.h
+
  post-install:
         ${CHGRP} kmem ${KDE4_PREFIX}/bin/ksysguardd && \
                 ${CHMOD} g+s ${KDE4_PREFIX}/bin/ksysguardd

-----------------------------------------------------------------------------------------

Just apply this Makefile patch, and add the patch-kcontrol* file into 
the x11/kdebase-workspace/files/ and rebuild kdebase-workspace. Fixes 
all issues with numlock being enabled / disabled at startup here.


Thanks!


-- 

Kris Moore
PC-BSD Software
http://www.pcbsd.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Makefile-patch
Url: http://mail.kde.org/pipermail/kde-freebsd/attachments/20080707/88f4472c/attachment.ksh 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch-kcontrol-keyboard-kcmmisc.cpp
Url: http://mail.kde.org/pipermail/kde-freebsd/attachments/20080707/88f4472c/attachment.cpp 


More information about the kde-freebsd mailing list