Skip to content

Commit

Permalink
Import xxkb version 1.11 from pkgsrc-wip.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
obache committed May 30, 2007
1 parent 04ce821 commit 9c4cd41
Show file tree
Hide file tree
Showing 6 changed files with 112 additions and 0 deletions.
4 changes: 4 additions & 0 deletions x11/xxkb/DESCR
Original file line number Diff line number Diff line change
@@ -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.
31 changes: 31 additions & 0 deletions x11/xxkb/Makefile
Original file line number Diff line number Diff line change
@@ -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= [email protected]
# 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"
25 changes: 25 additions & 0 deletions x11/xxkb/PLIST
Original file line number Diff line number Diff line change
@@ -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
7 changes: 7 additions & 0 deletions x11/xxkb/distinfo
Original file line number Diff line number Diff line change
@@ -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
22 changes: 22 additions & 0 deletions x11/xxkb/patches/patch-aa
Original file line number Diff line number Diff line change
@@ -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
23 changes: 23 additions & 0 deletions x11/xxkb/patches/patch-ab
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 9c4cd41

Please sign in to comment.