From f8513ad1c7f07d23a3a5ae874e2e066ccb7fbe7c Mon Sep 17 00:00:00 2001 From: Thierry N Date: Sat, 24 Oct 2009 18:59:29 +0200 Subject: ajout libgnomekbd#2.26.0-1 --- gnome/libgnomekbd/.footprint | 40 ++++++++++++++++++++++ gnome/libgnomekbd/.md5sum | 2 ++ gnome/libgnomekbd/Pkgfile | 20 +++++++++++ .../libgnomekbd-2.26.0-libklavier-4.0.patch | 11 ++++++ gnome/libgnomekbd/post-install | 23 +++++++++++++ 5 files changed, 96 insertions(+) create mode 100644 gnome/libgnomekbd/.footprint create mode 100644 gnome/libgnomekbd/.md5sum create mode 100644 gnome/libgnomekbd/Pkgfile create mode 100644 gnome/libgnomekbd/libgnomekbd-2.26.0-libklavier-4.0.patch create mode 100755 gnome/libgnomekbd/post-install (limited to 'gnome/libgnomekbd') diff --git a/gnome/libgnomekbd/.footprint b/gnome/libgnomekbd/.footprint new file mode 100644 index 000000000..78b44df03 --- /dev/null +++ b/gnome/libgnomekbd/.footprint @@ -0,0 +1,40 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/gconf/ +drwxr-xr-x root/root etc/gconf/schemas/ +-rw-r--r-- root/root etc/gconf/schemas/desktop_gnome_peripherals_keyboard_xkb.schemas +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/gkbd-indicator-plugins-capplet +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/libgnomekbd/ +-rw-r--r-- root/root usr/include/libgnomekbd/gkbd-desktop-config.h +-rw-r--r-- root/root usr/include/libgnomekbd/gkbd-indicator-config.h +-rw-r--r-- root/root usr/include/libgnomekbd/gkbd-indicator-plugin.h +-rw-r--r-- root/root usr/include/libgnomekbd/gkbd-indicator.h +-rw-r--r-- root/root usr/include/libgnomekbd/gkbd-keyboard-config.h +-rw-r--r-- root/root usr/include/libgnomekbd/gkbd-keyboard-drawing.h +-rw-r--r-- root/root usr/include/libgnomekbd/gkbd-util.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libgnomekbd.a +-rwxr-xr-x root/root usr/lib/libgnomekbd.la +lrwxrwxrwx root/root usr/lib/libgnomekbd.so -> libgnomekbd.so.3.0.0 +lrwxrwxrwx root/root usr/lib/libgnomekbd.so.3 -> libgnomekbd.so.3.0.0 +-rwxr-xr-x root/root usr/lib/libgnomekbd.so.3.0.0 +-rw-r--r-- root/root usr/lib/libgnomekbdui.a +-rwxr-xr-x root/root usr/lib/libgnomekbdui.la +lrwxrwxrwx root/root usr/lib/libgnomekbdui.so -> libgnomekbdui.so.3.0.0 +lrwxrwxrwx root/root usr/lib/libgnomekbdui.so.3 -> libgnomekbdui.so.3.0.0 +-rwxr-xr-x root/root usr/lib/libgnomekbdui.so.3.0.0 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/libgnomekbd.pc +-rw-r--r-- root/root usr/lib/pkgconfig/libgnomekbdui.pc +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/applications/ +-rw-r--r-- root/root usr/share/applications/gkbd-indicator-plugins-capplet.desktop +drwxr-xr-x root/root usr/share/libgnomekbd/ +drwxr-xr-x root/root usr/share/libgnomekbd/glade/ +-rw-r--r-- root/root usr/share/libgnomekbd/glade/gkbd-indicator-plugins.glade +drwxr-xr-x root/root usr/share/locale/ +drwxr-xr-x root/root usr/share/locale/fr/ +drwxr-xr-x root/root usr/share/locale/fr/LC_MESSAGES/ +-rw-r--r-- root/root usr/share/locale/fr/LC_MESSAGES/libgnomekbd.mo diff --git a/gnome/libgnomekbd/.md5sum b/gnome/libgnomekbd/.md5sum new file mode 100644 index 000000000..d109cce03 --- /dev/null +++ b/gnome/libgnomekbd/.md5sum @@ -0,0 +1,2 @@ +c92a8c110aa09e6ed982ee4929351c12 libgnomekbd-2.26.0-libklavier-4.0.patch +aee58c088c4fd980e1bf813ea813c156 libgnomekbd-2.26.0.tar.bz2 diff --git a/gnome/libgnomekbd/Pkgfile b/gnome/libgnomekbd/Pkgfile new file mode 100644 index 000000000..d23a36613 --- /dev/null +++ b/gnome/libgnomekbd/Pkgfile @@ -0,0 +1,20 @@ +# Description: connecteur xkb utiliser par le bureau de gnome +# URL: http://www.gnome.org/ +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: libxklavier, libgnomeui + +name=libgnomekbd +version=2.26.0 +release=1 +source=(http://ftp.gnome.org/pub/gnome/sources/$name/2.26/$name-$version.tar.bz2\ + libgnomekbd-2.26.0-libklavier-4.0.patch) + +build() { + cd $name-$version + patch -Np1 -i ../libgnomekbd-2.26.0-libklavier-4.0.patch + ./configure --prefix=$GNOME_PREFIX \ + --sysconfdir=/etc + make + make DESTDIR=$PKG install +} diff --git a/gnome/libgnomekbd/libgnomekbd-2.26.0-libklavier-4.0.patch b/gnome/libgnomekbd/libgnomekbd-2.26.0-libklavier-4.0.patch new file mode 100644 index 000000000..6d9be43a9 --- /dev/null +++ b/gnome/libgnomekbd/libgnomekbd-2.26.0-libklavier-4.0.patch @@ -0,0 +1,11 @@ +--- libgnomekbd-2.26.0/libgnomekbd/gkbd-indicator.c.orig 2009-10-21 08:38:10.000000000 +0000 ++++ libgnomekbd-2.26.0/libgnomekbd/gkbd-indicator.c 2009-10-21 08:39:24.000000000 +0000 +@@ -717,7 +717,7 @@ + globals.registry = + xkl_config_registry_get_instance (globals.engine); + +- xkl_config_registry_load (globals.registry); ++ xkl_config_registry_load (globals.registry,FALSE); + + gconf_client = gconf_client_get_default (); + diff --git a/gnome/libgnomekbd/post-install b/gnome/libgnomekbd/post-install new file mode 100755 index 000000000..3026caebf --- /dev/null +++ b/gnome/libgnomekbd/post-install @@ -0,0 +1,23 @@ +#!/bin/sh + +port=libgnomekbd + +# gconf schemas +SCHEMAS="`pkginfo -l $port | grep etc/gconf/schemas/.*\.schemas$`" + +for SCHEMA in $SCHEMAS +do + export GCONF_CONFIG_SOURCE=`$GNOME_PREFIX/bin/gconftool-2 --get-default-source` + $GNOME_PREFIX/bin/gconftool-2 --makefile-install-rule /$SCHEMA > /dev/null +done + +# reload gconf caches +if [ ! -z "`pidof gconfd-2`" ] +then + killall -HUP gconfd-2 > /dev/null +fi + +# desktop database +update-desktop-database > /dev/null + +# End of file -- cgit v1.2.3-70-g09d2