diff options
Diffstat (limited to 'x11-plugins/gkrellm-xkb')
-rw-r--r-- | x11-plugins/gkrellm-xkb/Manifest | 3 | ||||
-rw-r--r-- | x11-plugins/gkrellm-xkb/files/gkrellm-xkb-ds-subs.patch | 12 | ||||
-rw-r--r-- | x11-plugins/gkrellm-xkb/gkrellm-xkb-1.05-r1.ebuild | 32 |
3 files changed, 47 insertions, 0 deletions
diff --git a/x11-plugins/gkrellm-xkb/Manifest b/x11-plugins/gkrellm-xkb/Manifest new file mode 100644 index 0000000..cf82c04 --- /dev/null +++ b/x11-plugins/gkrellm-xkb/Manifest @@ -0,0 +1,3 @@ +AUX gkrellm-xkb-ds-subs.patch 705 RMD160 e699094bc8d44c0ae8cc06fe121b9b6f2a61db82 SHA1 1a0994e6446953f6d635e9f74903342a8a463185 SHA256 4ad4c14f40538caebb8ca24755b763fc0ca9bfb795e7720ed610a432b5079c43 +DIST gkrellm-xkb-1.05.tar.gz 37775 RMD160 91bed24ee1768e11b47ce922f349664fcabb3ceb SHA1 2a1e57dfa076e6bab27f52b7acfc628cf98ae129 SHA256 0216f3a18fbefad0f672034b80f97545a9db35c575660b7be1a4978317481981 +EBUILD gkrellm-xkb-1.05-r1.ebuild 742 RMD160 c64a72640ff087e66d18eae046d702e53db4f223 SHA1 dd6093bf400c6924303f1eaab9d499fa8ecbc986 SHA256 fa51fa42dad4dedff50668612522fcf8912cdfaa61e8d38a456f8abab4dc4e05 diff --git a/x11-plugins/gkrellm-xkb/files/gkrellm-xkb-ds-subs.patch b/x11-plugins/gkrellm-xkb/files/gkrellm-xkb-ds-subs.patch new file mode 100644 index 0000000..59698e2 --- /dev/null +++ b/x11-plugins/gkrellm-xkb/files/gkrellm-xkb-ds-subs.patch @@ -0,0 +1,12 @@ +diff -dPNur gkrellm-xkb-1.05/main.c gkrellm-xkb-1.05-new/main.c +--- gkrellm-xkb-1.05/main.c 2004-02-21 20:26:36.000000000 +0400 ++++ gkrellm-xkb-1.05-new/main.c 2006-12-04 15:03:42.000000000 +0400 +@@ -585,7 +585,7 @@ + int i; + i = 0; + while (global_flag_map[i].country_code) { +- if (g_ascii_strcasecmp(global_flag_map[i].country_code, xkb_rules[pos]) == 0) { ++ if (STARTS_WITH(xkb_rules[pos], global_flag_map[i].country_code)) { + group->flag_xpm = global_flag_map[i].flag_pointer; + /* fprintf(stderr, "xkb_find_flag_from_rules: found flag: %s\n", xkb_rules[pos]); */ + return True; diff --git a/x11-plugins/gkrellm-xkb/gkrellm-xkb-1.05-r1.ebuild b/x11-plugins/gkrellm-xkb/gkrellm-xkb-1.05-r1.ebuild new file mode 100644 index 0000000..a5587eb --- /dev/null +++ b/x11-plugins/gkrellm-xkb/gkrellm-xkb-1.05-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellm-xkb/gkrellm-xkb-1.05.ebuild,v 1.3 2006/05/29 23:10:48 robbat2 Exp $ + +inherit eutils + +DESCRIPTION="XKB keyboard switcher for gkrellm2" +HOMEPAGE="http://sweb.cz/tripie/gkrellm/xkb/" +SRC_URI="http://sweb.cz/tripie/gkrellm/xkb/dist/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 ~amd64" +IUSE="" + +DEPEND=">=app-admin/gkrellm-2" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/gkrellm-xkb-ds-subs.patch || die +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + insinto /usr/lib/gkrellm2/plugins + doins xkb.so + dodoc AUTHORS LICENSE ChangeLog +} |