[Lunar-commits] <moonbase> kbd: version bumped to 1.15.3.

Florin Braescu florin at lunar-linux.org
Mon May 16 22:08:43 CEST 2011


commit 1f8981a95ff579f10b8b30807b9541675ac47549
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Mon May 16 23:08:43 2011 +0300

    kbd: version bumped to 1.15.3.
---
 utils/kbd/BUILD   |   32 ++++++++++++++++++++++++++++++++
 utils/kbd/DETAILS |    9 ++++++---
 2 files changed, 38 insertions(+), 3 deletions(-)

diff --git a/utils/kbd/BUILD b/utils/kbd/BUILD
new file mode 100644
index 0000000..21e3da3
--- /dev/null
+++ b/utils/kbd/BUILD
@@ -0,0 +1,32 @@
+(
+
+  patch_it $SOURCE2 1  &&
+
+  # rename keymap files with the same names
+  # this is needed because when only name of keymap is specified
+  # loadkeys loads the first keymap it can find, which is bad
+  # this should be removed when upstream adopts the change
+  mv data/keymaps/i386/qwertz/cz{,-qwertz}.map
+  mv data/keymaps/i386/olpc/es{,-olpc}.map
+  mv data/keymaps/i386/olpc/pt{,-olpc}.map
+  mv data/keymaps/i386/dvorak/no{,-dvorak}.map
+  mv data/keymaps/i386/fgGIod/trf{,-fgGIod}.map
+
+  ./configure --prefix=/usr              \
+              --datadir=/usr/share/kbd   \
+              --mandir=/usr/share/man    \
+              $OPTS                     &&
+
+  make KEYCODES_PROGS=yes RESIZECONS_PROGS=yes
+
+  prepare_install  &&
+
+  make KEYCODES_PROGS=yes RESIZECONS_PROGS=yes DESTDIR=${pkgdir} install  &&
+
+  # this is needed because some init scripts might call /bin/loadkeys
+  # remove this when next versions of kbd
+  # and init scripts with only /usr/bin/loadkeys usage will be released
+  mkdir -p /usr/bin  &&
+  ln -sf /usr/bin/loadkeys ${pkgdir}/bin/loadkeys
+
+) > $C_FIFO 2>&1
diff --git a/utils/kbd/DETAILS b/utils/kbd/DETAILS
index 94dd5aa..61da481 100644
--- a/utils/kbd/DETAILS
+++ b/utils/kbd/DETAILS
@@ -1,11 +1,14 @@
           MODULE=kbd
-         VERSION=1.15.2
+         VERSION=1.15.3
           SOURCE=$MODULE-$VERSION.tar.gz
+         SOURCE2=$MODULE-$VERSION-es.po.patch.bz2
       SOURCE_URL=ftp://devel.altlinux.org/legion/$MODULE
-      SOURCE_VFY=sha1:6252a2bf6b897416719dc976e3ac26cf28e6e932
+     SOURCE2_URL=$PATCH_URL
+      SOURCE_VFY=sha1:1da0c02cb802d2e68b34b1ba68839929b4255cde
+     SOURCE2_VFY=sha1:2cc4ddd4d28de4955a7769af20d112583ef7daf4
         WEB_SITE=http://www.kernel.org/pub/linux/utils/kbd
          ENTERED=20040217
-         UPDATED=20100411
+         UPDATED=20110516
       MAINTAINER=florin at lunar-linux.org
            SHORT="kbd allows you to configure and manipulate Linux consoles"
 


More information about the Lunar-commits mailing list