summaryrefslogtreecommitdiff
path: root/x11/xxkb
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2007-05-30 14:01:47 +0000
committerobache <obache@pkgsrc.org>2007-05-30 14:01:47 +0000
commit9c4cd417018eb8d2f45ff875bdf5faf0babed061 (patch)
tree81facbf6757ce3cc330a50f11d5fa0502ce66e65 /x11/xxkb
parent04ce8211867dca8e43f69880cde3ac58bef4d0e3 (diff)
downloadpkgsrc-9c4cd417018eb8d2f45ff875bdf5faf0babed061.tar.gz
Import xxkb version 1.11 from pkgsrc-wip.
Packaged by Aleksey Cheusov and requested to import in PR 35665. XXKB remembers the layout for each application window and changes the keyboard state accordingly when the window gets a focus, it also shows the current keyboard layout (an XKB group) and allows to switch it with a mouse click and has many other useful features.
Diffstat (limited to 'x11/xxkb')
-rw-r--r--x11/xxkb/DESCR4
-rw-r--r--x11/xxkb/Makefile31
-rw-r--r--x11/xxkb/PLIST25
-rw-r--r--x11/xxkb/distinfo7
-rw-r--r--x11/xxkb/patches/patch-aa22
-rw-r--r--x11/xxkb/patches/patch-ab23
6 files changed, 112 insertions, 0 deletions
diff --git a/x11/xxkb/DESCR b/x11/xxkb/DESCR
new file mode 100644
index 00000000000..c91fe5137df
--- /dev/null
+++ b/x11/xxkb/DESCR
@@ -0,0 +1,4 @@
+XXKB remembers the layout for each application window and changes the
+keyboard state accordingly when the window gets a focus, it also shows
+the current keyboard layout (an XKB group) and allows to switch it
+with a mouse click and has many other useful features.
diff --git a/x11/xxkb/Makefile b/x11/xxkb/Makefile
new file mode 100644
index 00000000000..44db04d31d3
--- /dev/null
+++ b/x11/xxkb/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/05/30 14:01:47 obache Exp $
+
+DISTNAME= xxkb-1.11-src
+PKGNAME= ${DISTNAME:S/-src//}
+CATEGORIES= x11
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xxkb/} \
+ http://pascal.tsu.ru/other/xxkb/
+
+MAINTAINER= cheusov@tut.by
+# Unfortunately home page is currently written in Russian language
+# only. See http://pascal.tsu.ru/en/ for English translation updates.
+HOMEPAGE= http://pascal.tsu.ru/other/xxkb/
+COMMENT= XXKB - switches and indicates a current keyboard layout
+
+USE_TOOLS+= xmkmf
+USE_IMAKE= yes
+DOC_FILES= LICENSE README.koi8 README
+DOC_DIR= ${PREFIX}/share/doc/${PKGBASE}
+INSTALLATION_DIRS= ${DOC_DIR}
+
+WRKSRC= ${WRKDIR}/xxkb
+
+post-install:
+.for i in ${DOC_FILES}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${DOC_DIR}
+.endfor
+
+.include "../../x11/libXext/buildlink3.mk"
+.include "../../x11/libXpm/buildlink3.mk"
+.include "../../x11/libXt/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/xxkb/PLIST b/x11/xxkb/PLIST
new file mode 100644
index 00000000000..6606365758c
--- /dev/null
+++ b/x11/xxkb/PLIST
@@ -0,0 +1,25 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/05/30 14:01:47 obache Exp $
+bin/xxkb
+lib/X11/app-defaults/XXkb
+share/doc/xxkb/LICENSE
+share/doc/xxkb/README
+share/doc/xxkb/README.koi8
+share/xxkb/bg15.xpm
+share/xxkb/bg48.xpm
+share/xxkb/by15.xpm
+share/xxkb/by48.xpm
+share/xxkb/de15.xpm
+share/xxkb/de48.xpm
+share/xxkb/en15.xpm
+share/xxkb/en48.xpm
+share/xxkb/il15.xpm
+share/xxkb/il48.xpm
+share/xxkb/ru15.xpm
+share/xxkb/ru48.xpm
+share/xxkb/su15.xpm
+share/xxkb/su48.xpm
+share/xxkb/ua15.xpm
+share/xxkb/ua48.xpm
+${IMAKE_MAN_DIR}/xxkb.${IMAKE_MANNEWSUFFIX}
+@dirrm share/xxkb
+@dirrm share/doc/xxkb
diff --git a/x11/xxkb/distinfo b/x11/xxkb/distinfo
new file mode 100644
index 00000000000..ab2f35d4bb6
--- /dev/null
+++ b/x11/xxkb/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/05/30 14:01:47 obache Exp $
+
+SHA1 (xxkb-1.11-src.tar.gz) = d85df3d3b9ae7d274fb8dc10da97a38616962d35
+RMD160 (xxkb-1.11-src.tar.gz) = a75fae2bb178be51ec03679c0ee6a87c15d16a4c
+Size (xxkb-1.11-src.tar.gz) = 37262 bytes
+SHA1 (patch-aa) = 3f64bf5dc20d3dda1817a2edfa4b5a7db1f8ad98
+SHA1 (patch-ab) = 8d90d12b5bf4a911ed42be6de23f278f6be4fc72
diff --git a/x11/xxkb/patches/patch-aa b/x11/xxkb/patches/patch-aa
new file mode 100644
index 00000000000..f46bc29a50a
--- /dev/null
+++ b/x11/xxkb/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/05/30 14:01:47 obache Exp $
+
+--- Imakefile.orig 2007-03-14 23:54:53.000000000 +0200
++++ Imakefile
+@@ -3,7 +3,7 @@
+ BASEDIR = $(PROJECTROOT)
+ BINDIR = $(BASEDIR)/bin
+ PIXMAPDIR = $(BASEDIR)/share/xxkb
+-LOCAL_LIBRARIES = $(XONLYLIB) -lXpm -lXt
++LOCAL_LIBRARIES = $(XONLYLIB) -lXpm -lXt -lXext
+
+ OBJS = xxkb.o resource.o wlist.o
+ PIXMAPS = pixmaps/by15.xpm pixmaps/by48.xpm \
+@@ -16,7 +16,7 @@ PIXMAPS = pixmaps/by15.xpm pixmaps/by48.
+ pixmaps/bg15.xpm pixmaps/bg48.xpm
+
+ DEFINES = -DAPPDEFDIR=\"$(DESTDIR)$(XAPPLOADDIR)\" -DAPPDEFFILE=\"XXkb\" \
+- -DXT_RESOURCE_SEARCH -DSHAPE_EXT
++ -DSHAPE_EXT
+
+ #if WITH_SVG_SUPPORT
+ DEFINES += -DSVG_GRAPHICS
diff --git a/x11/xxkb/patches/patch-ab b/x11/xxkb/patches/patch-ab
new file mode 100644
index 00000000000..ab17ae81bd5
--- /dev/null
+++ b/x11/xxkb/patches/patch-ab
@@ -0,0 +1,23 @@
+$NetBSD: patch-ab,v 1.1.1.1 2007/05/30 14:01:47 obache Exp $
+
+--- XXkb.ad.var.orig 2007-03-14 23:54:53.000000000 +0200
++++ XXkb.ad.var
+@@ -5,6 +5,8 @@ XXkb.group.alt: 2
+
+ XXkb.mainwindow.enable: yes
+ XXkb.mainwindow.geometry: 48x48
++! Possible values: normal, top, tray, wmaker
++XXkb.mainwindow.type: normal
+ XXkb.mainwindow.image.1: en48.xpm
+ XXkb.mainwindow.image.2: ru48.xpm
+ XXkb.mainwindow.image.3: su48.xpm
+@@ -18,9 +20,6 @@ XXkb.*.label.foreground: white
+ XXkb.*.label.background: blue4
+ XXkb.*.label.enable: no
+
+-! XXkb.mainwindow.type:
+-! possible values - normal, top, tray, wmaker
+-
+ XXkb.button.enable: yes
+ XXkb.button.geometry: 15x15-60+7
+ XXkb.button.image.1: en15.xpm