summaryrefslogtreecommitdiff
path: root/community/xxkb
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/xxkb
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/xxkb')
-rw-r--r--community/xxkb/PKGBUILD40
-rw-r--r--community/xxkb/XXkb16
-rw-r--r--community/xxkb/en22.xpm105
-rw-r--r--community/xxkb/ru22.xpm31
4 files changed, 192 insertions, 0 deletions
diff --git a/community/xxkb/PKGBUILD b/community/xxkb/PKGBUILD
new file mode 100644
index 000000000..c093c1b81
--- /dev/null
+++ b/community/xxkb/PKGBUILD
@@ -0,0 +1,40 @@
+# $Id: PKGBUILD 1001 2009-08-11 09:14:06Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
+pkgname=xxkb
+pkgver=1.11
+pkgrel=3
+pkgdesc="keyboard layout switcher/indicator"
+arch=(i686 x86_64)
+url="http://sf.net/projects/xxkb/"
+license=(PerlArtistic)
+depends=(libxpm)
+makedepends=(patch imake)
+source=(http://downloads.sourceforge.net/xxkb/xxkb-$pkgver-src.tar.gz
+ XXkb \
+ en22.xpm \
+ ru22.xpm)
+md5sums=('c2e5c7f3285033f0e26b358ef95a7c89'
+ 'f181b7a017d3d2524ecf10638317d341'
+ '649c6d378fe12853d457b768bd273dc5'
+ 'f1692f0be5fc697b3b792d0098bdb42f')
+
+build() {
+ cd $srcdir/xxkb
+ xmkmf
+ make PROJECTROOT=/usr PIXMAPDIR=/usr/share/$pkgname LOCAL_LIBRARIES='-lXext -lXt -lXpm' || return 1
+
+ install -d $pkgdir/usr/bin
+ install -d $pkgdir/usr/share/$pkgname
+ install -d $pkgdir/usr/man/man1
+ install -d $pkgdir/usr/share/X11/app-defaults
+
+ install -m 0755 xxkb $pkgdir/usr/bin && \
+ install -m 0644 ../XXkb $pkgdir/usr/share/X11/app-defaults/XXkb && \
+ install -m 0644 pixmaps/*.xpm $pkgdir/usr/share/$pkgname && \
+ install -m 0644 $pkgname.man $pkgdir/usr/man/man1/$pkgname.1 && \
+ install -m 0644 ../*.xpm $pkgdir/usr/share/$pkgname/ || return 1
+
+ mv $pkgdir/usr/man $pkgdir/usr/share/
+}
diff --git a/community/xxkb/XXkb b/community/xxkb/XXkb
new file mode 100644
index 000000000..ce1eeb3bb
--- /dev/null
+++ b/community/xxkb/XXkb
@@ -0,0 +1,16 @@
+XXkb.controls.add_when_start: yes
+XXkb.controls.add_when_create: yes
+XXkb.controls.add_when_change: yes
+XXkb.controls.focusout: yes
+XXkb.controls.two_state: yes
+XXkb.controls.button_delete: yes
+XXkb.controls.button_delete_and_forget: no
+XXkb.controls.mainwindow_delete: no
+XXkb.group.base: 1
+XXkb.group.alt: 2
+XXkb.bell.enable: no
+XXkb.mainwindow.enable: no
+XXkb.button.enable: no
+XXkb.ignore.reverse: no
+XXkb.mousebutton.1.reverse: no
+XXkb.mousebutton.3.reverse: no
diff --git a/community/xxkb/en22.xpm b/community/xxkb/en22.xpm
new file mode 100644
index 000000000..8ddf284f7
--- /dev/null
+++ b/community/xxkb/en22.xpm
@@ -0,0 +1,105 @@
+/* XPM */
+static char * en48_xpm[] = {
+"22 22 80 1",
+" c None",
+". c #FF4949",
+"+ c #ECE4F7",
+"@ c #3232FF",
+"# c #0000FF",
+"$ c #4A4AFF",
+"% c #FF9F9F",
+"& c #FF0000",
+"* c #FF2A2A",
+"= c #BFBFFF",
+"- c #FF1313",
+"; c #FF4F4F",
+"> c #E7DBF3",
+", c #3535FF",
+"' c #FFCDCD",
+") c #FF1818",
+"! c #FF5252",
+"~ c #E6D9F2",
+"{ c #3434FF",
+"] c #7C7CFF",
+"^ c #FFCACA",
+"/ c #FF1919",
+"( c #FF5151",
+"_ c #E9DEF4",
+": c #2F2FFF",
+"< c #0303FF",
+"[ c #7B7BFF",
+"} c #FFCBCB",
+"| c #FF1616",
+"1 c #FF4D4D",
+"2 c #EAE6FB",
+"3 c #2C2CFF",
+"4 c #0202FF",
+"5 c #FDCDD0",
+"6 c #FF1515",
+"7 c #FBCFD3",
+"8 c #7E7EFF",
+"9 c #E4E4FF",
+"0 c #FFF2F2",
+"a c #C2C2FF",
+"b c #FF4A4A",
+"c c #FFD2D2",
+"d c #FF6464",
+"e c #FF1B1B",
+"f c #FF0707",
+"g c #DFDFFF",
+"h c #FFF7F7",
+"i c #FFBFBF",
+"j c #FFEFEF",
+"k c #2323FF",
+"l c #E0DCFB",
+"m c #FF5F5F",
+"n c #FF1212",
+"o c #FFD4D4",
+"p c #DEDEFF",
+"q c #FF5D5D",
+"r c #FF0D0D",
+"s c #CECEFF",
+"t c #FFFFFF",
+"u c #2525FF",
+"v c #FF0B0B",
+"w c #FEC4C5",
+"x c #8E8EFF",
+"y c #4D4DFF",
+"z c #2727FF",
+"A c #E0D8F7",
+"B c #DFD6F6",
+"C c #FF6262",
+"D c #E2DCF9",
+"E c #FF6161",
+"F c #FFBCBC",
+"G c #8D8DFF",
+"H c #FF1010",
+"I c #FFBDBD",
+"J c #8C8CFF",
+"K c #0505FF",
+"L c #FF0A0A",
+"M c #FFC1C1",
+"N c #8F8FFF",
+"O c #0404FF",
+".+@#####$%&&*=#####@+.",
+"-;>,####$%&&*=####,>;-",
+"')!~{###$%&&*=###{~!)'",
+"]^/(_:##$%&&*=##:_(/^]",
+"<[}|123#$%&&*=#321|}[<",
+"#4[56.2:$%&&*=:2.65[4#",
+"###[761_8%&&*9_167[###",
+"####[5|(0%&&*0(|5[####",
+"$$$$$a}bc%&&*cb}a$$$$$",
+"%%%%%%%%%d&&e%%%%%%%%%",
+"&&&&&&&&&&&&&&&&&&&&&&",
+"&&&&&&&&&&&&&&&&&&&&&&",
+"*********e&&f*********",
+"=====ghij%&&*jihg=====",
+"####klmno%&&*onmlk####",
+"###kpqris%&&*tirqpk###",
+"##ulqvwxy%&&*axwvqlu##",
+"#zAmrwx#$%&&*=#xwrmAz#",
+"zBCnix##$%&&*=##xinCBz",
+"DE-FG<##$%&&*=##<GF-ED",
+"qHIJK###$%&&*=###KJIHq",
+"LMNO####$%&&*=####ONML"};
diff --git a/community/xxkb/ru22.xpm b/community/xxkb/ru22.xpm
new file mode 100644
index 000000000..e1e1aeec8
--- /dev/null
+++ b/community/xxkb/ru22.xpm
@@ -0,0 +1,31 @@
+/* XPM */
+static char * ru22_xpm[] = {
+"22 22 6 1",
+" c None",
+". c #FFFFFF",
+"+ c #DFDFFF",
+"@ c #0000FF",
+"# c #5500AA",
+"$ c #FF0000",
+"......................",
+"......................",
+"......................",
+"......................",
+"......................",
+"......................",
+"++++++++++++++++++++++",
+"@@@@@@@@@@@@@@@@@@@@@@",
+"@@@@@@@@@@@@@@@@@@@@@@",
+"@@@@@@@@@@@@@@@@@@@@@@",
+"@@@@@@@@@@@@@@@@@@@@@@",
+"@@@@@@@@@@@@@@@@@@@@@@",
+"@@@@@@@@@@@@@@@@@@@@@@",
+"@@@@@@@@@@@@@@@@@@@@@@",
+"######################",
+"$$$$$$$$$$$$$$$$$$$$$$",
+"$$$$$$$$$$$$$$$$$$$$$$",
+"$$$$$$$$$$$$$$$$$$$$$$",
+"$$$$$$$$$$$$$$$$$$$$$$",
+"$$$$$$$$$$$$$$$$$$$$$$",
+"$$$$$$$$$$$$$$$$$$$$$$",
+"$$$$$$$$$$$$$$$$$$$$$$"};