summaryrefslogtreecommitdiff
path: root/x11/kkbswitch
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2004-08-23 11:44:20 +0000
committermarkd <markd@pkgsrc.org>2004-08-23 11:44:20 +0000
commit1bd90c4109ef0b9c30a8c81f4e05df464225a283 (patch)
treecea7dd958cc8a9dfa836079a9b68ca2707d86251 /x11/kkbswitch
parent54ea6ddebe49331c5cd7472e27b48c5239bf127f (diff)
downloadpkgsrc-1bd90c4109ef0b9c30a8c81f4e05df464225a283.tar.gz
Import kkbswitch from pkgsrc-wip. Packaged by Ian Zagorskih and
slightly modified by me. KKBSwitch is a keyboard layout indicator for KDE 2 or 3. It is useful when you have configured the XKeyboard extension of your X Server to have more than one keyboard group (layout), for example US/ASCII and Russian. KKBSwitch displays an icon in the system tray that indicates which layout is currently active. Note that KKBSwitch does not help you configure XKeyboard, it merely serves as the indicator of the current layout. You still have to configure XKeyboard by editing the XF86Config file.
Diffstat (limited to 'x11/kkbswitch')
-rw-r--r--x11/kkbswitch/DESCR8
-rw-r--r--x11/kkbswitch/Makefile22
-rw-r--r--x11/kkbswitch/PLIST20
-rw-r--r--x11/kkbswitch/distinfo5
-rw-r--r--x11/kkbswitch/patches/patch-aa13
5 files changed, 68 insertions, 0 deletions
diff --git a/x11/kkbswitch/DESCR b/x11/kkbswitch/DESCR
new file mode 100644
index 00000000000..dbe3ec8426c
--- /dev/null
+++ b/x11/kkbswitch/DESCR
@@ -0,0 +1,8 @@
+KKBSwitch is a keyboard layout indicator for KDE 2 or 3.
+It is useful when you have configured the XKeyboard extension
+of your X Server to have more than one keyboard group (layout),
+for example US/ASCII and Russian. KKBSwitch displays an icon
+in the system tray that indicates which layout is currently active.
+Note that KKBSwitch does not help you configure XKeyboard,
+it merely serves as the indicator of the current layout.
+You still have to configure XKeyboard by editing the XF86Config file.
diff --git a/x11/kkbswitch/Makefile b/x11/kkbswitch/Makefile
new file mode 100644
index 00000000000..869e8279729
--- /dev/null
+++ b/x11/kkbswitch/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/08/23 11:44:20 markd Exp $
+#
+
+DISTNAME= kkbswitch-1.4.1
+CATEGORIES= kde x11
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=kkbswitch/}
+
+MAINTAINER= ianzag@mail.ru
+HOMEPAGE= http://kkbswitch.sourceforge.net/
+COMMENT= Keyboard layout indicator for KDE 2 or 3
+
+USE_BUILDLINK3= YES
+USE_GNU_TOOLS+= make
+USE_LANGUAGES= c c++
+USE_LIBTOOL= YES
+GNU_CONFIGURE= YES
+
+CONFIGURE_ARGS+= --disable-ru-ua-layout
+
+.include "../../meta-pkgs/kde3/kde3.mk"
+.include "../../x11/kdelibs3/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/kkbswitch/PLIST b/x11/kkbswitch/PLIST
new file mode 100644
index 00000000000..5b3c196eabd
--- /dev/null
+++ b/x11/kkbswitch/PLIST
@@ -0,0 +1,20 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/08/23 11:44:20 markd Exp $
+bin/kkbswitch
+share/kde/autostart/kkbswitch.desktop
+share/doc/kde/HTML/en/kkbswitch/code_style.png
+share/doc/kde/HTML/en/kkbswitch/common
+share/doc/kde/HTML/en/kkbswitch/flag_code_style.png
+share/doc/kde/HTML/en/kkbswitch/flag_style.png
+share/doc/kde/HTML/en/kkbswitch/index.cache.bz2
+share/doc/kde/HTML/en/kkbswitch/index.docbook
+share/kde/applnk/Utilities/kkbswitch.desktop
+share/kde/apps/kconf_update/kkbswitch.upd
+share/kde/apps/kconf_update/kkbswitch_update_14_icons
+share/kde/apps/kconf_update/kkbswitch_update_14_options
+share/kde/apps/kkbswitch/group_names
+share/kde/locale/el/LC_MESSAGES/kkbswitch.mo
+share/kde/locale/ru/LC_MESSAGES/kkbswitch.mo
+share/kde/locale/sk/LC_MESSAGES/kkbswitch.mo
+share/kde/locale/uk/LC_MESSAGES/kkbswitch.mo
+@dirrm share/kde/apps/kkbswitch
+@dirrm share/doc/kde/HTML/en/kkbswitch
diff --git a/x11/kkbswitch/distinfo b/x11/kkbswitch/distinfo
new file mode 100644
index 00000000000..f3989792e23
--- /dev/null
+++ b/x11/kkbswitch/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/08/23 11:44:20 markd Exp $
+
+SHA1 (kkbswitch-1.4.1.tar.gz) = b151333f3ea74fcdd7e6f26626b5c5c5ca34a7f6
+Size (kkbswitch-1.4.1.tar.gz) = 676705 bytes
+SHA1 (patch-aa) = 6f46bfb1e1e23d449b28a67d92f56dc2aaa1a9bb
diff --git a/x11/kkbswitch/patches/patch-aa b/x11/kkbswitch/patches/patch-aa
new file mode 100644
index 00000000000..0cae2fb533f
--- /dev/null
+++ b/x11/kkbswitch/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/08/23 11:44:20 markd Exp $
+
+--- kkbswitch/Makefile.in.orig 2004-08-22 16:20:43.000000000 +1200
++++ kkbswitch/Makefile.in
+@@ -282,7 +282,7 @@ applnkUtilitiesdir = $(kde_appsdir)/Util
+ @ENABLE_RU_UA_LAYOUT_TRUE@xkbsymbolsdir = $(x_libraries)/X11/xkb/symbols
+ @ENABLE_RU_UA_LAYOUT_TRUE@xkbsymbols_DATA = ru_ua
+
+-autostartdir = $(prefix)/share/autostart
++autostartdir = $(datadir)/autostart
+ autostart_DATA = kkbswitch.desktop
+ subdir = kkbswitch
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4