summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2011-09-02 16:16:39 +0200
committerpiernov <piernov@piernov.org>2011-09-02 16:16:39 +0200
commit2696e8842121e4d3713f092f9b98803f212eadba (patch)
tree9c33579d1433d70104fbd785dffa89ce8d0e913d
parent0c5d5e37ab520a413108cae8413a0459e011eae7 (diff)
downloadgnome3-2696e8842121e4d3713f092f9b98803f212eadba.tar.gz
gnome3-2696e8842121e4d3713f092f9b98803f212eadba.tar.bz2
gnome3-2696e8842121e4d3713f092f9b98803f212eadba.tar.xz
gnome3-2696e8842121e4d3713f092f9b98803f212eadba.zip
caribou 0.3.5-1 ajout port
-rwxr-xr-xcaribou/.footprint.i686107
-rwxr-xr-xcaribou/.footprint.x86_64107
-rwxr-xr-xcaribou/.md5sum.i6862
-rwxr-xr-xcaribou/.md5sum.x86_642
-rwxr-xr-xcaribou/Pkgfile25
-rw-r--r--caribou/import_from_gi.repository.patch293
-rwxr-xr-xcaribou/post-install14
7 files changed, 550 insertions, 0 deletions
diff --git a/caribou/.footprint.i686 b/caribou/.footprint.i686
new file mode 100755
index 0000000..9f080bc
--- /dev/null
+++ b/caribou/.footprint.i686
@@ -0,0 +1,107 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/caribou
+-rwxr-xr-x root/root usr/bin/caribou-preferences
+drwxr-xr-x root/root usr/etc/
+drwxr-xr-x root/root usr/etc/xdg/
+drwxr-xr-x root/root usr/etc/xdg/autostart/
+-rw-r--r-- root/root usr/etc/xdg/autostart/caribou-autostart.desktop
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/libcaribou/
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/girepository-1.0/
+-rw-r--r-- root/root usr/lib/girepository-1.0/Caribou-1.0.typelib
+drwxr-xr-x root/root usr/lib/gtk-2.0/
+drwxr-xr-x root/root usr/lib/gtk-2.0/modules/
+-rw-r--r-- root/root usr/lib/gtk-2.0/modules/libcaribou-gtk-module.a
+-rwxr-xr-x root/root usr/lib/gtk-2.0/modules/libcaribou-gtk-module.la
+-rwxr-xr-x root/root usr/lib/gtk-2.0/modules/libcaribou-gtk-module.so
+drwxr-xr-x root/root usr/lib/gtk-3.0/
+drwxr-xr-x root/root usr/lib/gtk-3.0/modules/
+-rw-r--r-- root/root usr/lib/gtk-3.0/modules/libcaribou-gtk-module.a
+-rwxr-xr-x root/root usr/lib/gtk-3.0/modules/libcaribou-gtk-module.la
+-rwxr-xr-x root/root usr/lib/gtk-3.0/modules/libcaribou-gtk-module.so
+-rw-r--r-- root/root usr/lib/libcaribou.a
+-rwxr-xr-x root/root usr/lib/libcaribou.la
+lrwxrwxrwx root/root usr/lib/libcaribou.so -> libcaribou.so.0.0.0
+lrwxrwxrwx root/root usr/lib/libcaribou.so.0 -> libcaribou.so.0.0.0
+-rwxr-xr-x root/root usr/lib/libcaribou.so.0.0.0
+drwxr-xr-x root/root usr/lib/python2.7/
+drwxr-xr-x root/root usr/lib/python2.7/site-packages/
+drwxr-xr-x root/root usr/lib/python2.7/site-packages/caribou/
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/__init__.py
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/__init__.pyc
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/__init__.pyo
+drwxr-xr-x root/root usr/lib/python2.7/site-packages/caribou/antler/
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/antler/__init__.py
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/antler/__init__.pyc
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/antler/__init__.pyo
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/antler/antler_settings.py
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/antler/antler_settings.pyc
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/antler/antler_settings.pyo
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/antler/keyboard_view.py
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/antler/keyboard_view.pyc
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/antler/keyboard_view.pyo
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/antler/main.py
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/antler/main.pyc
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/antler/main.pyo
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/antler/window.py
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/antler/window.pyc
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/antler/window.pyo
+drwxr-xr-x root/root usr/lib/python2.7/site-packages/caribou/daemon/
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/daemon/__init__.py
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/daemon/__init__.pyc
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/daemon/__init__.pyo
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/daemon/main.py
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/daemon/main.pyc
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/daemon/main.pyo
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/i18n.py
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/i18n.pyc
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/i18n.pyo
+drwxr-xr-x root/root usr/lib/python2.7/site-packages/caribou/settings/
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/settings/__init__.py
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/settings/__init__.pyc
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/settings/__init__.pyo
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/settings/caribou_settings.py
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/settings/caribou_settings.pyc
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/settings/caribou_settings.pyo
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/settings/preferences_window.py
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/settings/preferences_window.pyc
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/settings/preferences_window.pyo
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/settings/setting_types.py
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/settings/setting_types.pyc
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/settings/setting_types.pyo
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/settings/settings_manager.py
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/settings/settings_manager.pyc
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/settings/settings_manager.pyo
+drwxr-xr-x root/root usr/libexec/
+-rwxr-xr-x root/root usr/libexec/antler-keyboard
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/antler/
+-rw-r--r-- root/root usr/share/antler/dark-key-border.svg
+-rw-r--r-- root/root usr/share/antler/style.css
+drwxr-xr-x root/root usr/share/applications/
+-rw-r--r-- root/root usr/share/applications/caribou.desktop
+drwxr-xr-x root/root usr/share/caribou/
+drwxr-xr-x root/root usr/share/caribou/layouts/
+drwxr-xr-x root/root usr/share/caribou/layouts/fullscale/
+-rw-r--r-- root/root usr/share/caribou/layouts/fullscale/us.xml
+drwxr-xr-x root/root usr/share/caribou/layouts/scan/
+-rw-r--r-- root/root usr/share/caribou/layouts/scan/us.xml
+drwxr-xr-x root/root usr/share/caribou/layouts/touch/
+-rw-r--r-- root/root usr/share/caribou/layouts/touch/ara.xml
+-rw-r--r-- root/root usr/share/caribou/layouts/touch/il.xml
+-rw-r--r-- root/root usr/share/caribou/layouts/touch/us.xml
+drwxr-xr-x root/root usr/share/dbus-1/
+drwxr-xr-x root/root usr/share/dbus-1/services/
+-rw-r--r-- root/root usr/share/dbus-1/services/org.gnome.Caribou.Antler.service
+drwxr-xr-x root/root usr/share/gir-1.0/
+-rw-r--r-- root/root usr/share/gir-1.0/Caribou-1.0.gir
+drwxr-xr-x root/root usr/share/glib-2.0/
+drwxr-xr-x root/root usr/share/glib-2.0/schemas/
+-rw-r--r-- root/root usr/share/glib-2.0/schemas/org.gnome.antler.gschema.xml
+-rw-r--r-- root/root usr/share/glib-2.0/schemas/org.gnome.caribou.gschema.xml
+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/caribou.mo
diff --git a/caribou/.footprint.x86_64 b/caribou/.footprint.x86_64
new file mode 100755
index 0000000..9f080bc
--- /dev/null
+++ b/caribou/.footprint.x86_64
@@ -0,0 +1,107 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/caribou
+-rwxr-xr-x root/root usr/bin/caribou-preferences
+drwxr-xr-x root/root usr/etc/
+drwxr-xr-x root/root usr/etc/xdg/
+drwxr-xr-x root/root usr/etc/xdg/autostart/
+-rw-r--r-- root/root usr/etc/xdg/autostart/caribou-autostart.desktop
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/libcaribou/
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/girepository-1.0/
+-rw-r--r-- root/root usr/lib/girepository-1.0/Caribou-1.0.typelib
+drwxr-xr-x root/root usr/lib/gtk-2.0/
+drwxr-xr-x root/root usr/lib/gtk-2.0/modules/
+-rw-r--r-- root/root usr/lib/gtk-2.0/modules/libcaribou-gtk-module.a
+-rwxr-xr-x root/root usr/lib/gtk-2.0/modules/libcaribou-gtk-module.la
+-rwxr-xr-x root/root usr/lib/gtk-2.0/modules/libcaribou-gtk-module.so
+drwxr-xr-x root/root usr/lib/gtk-3.0/
+drwxr-xr-x root/root usr/lib/gtk-3.0/modules/
+-rw-r--r-- root/root usr/lib/gtk-3.0/modules/libcaribou-gtk-module.a
+-rwxr-xr-x root/root usr/lib/gtk-3.0/modules/libcaribou-gtk-module.la
+-rwxr-xr-x root/root usr/lib/gtk-3.0/modules/libcaribou-gtk-module.so
+-rw-r--r-- root/root usr/lib/libcaribou.a
+-rwxr-xr-x root/root usr/lib/libcaribou.la
+lrwxrwxrwx root/root usr/lib/libcaribou.so -> libcaribou.so.0.0.0
+lrwxrwxrwx root/root usr/lib/libcaribou.so.0 -> libcaribou.so.0.0.0
+-rwxr-xr-x root/root usr/lib/libcaribou.so.0.0.0
+drwxr-xr-x root/root usr/lib/python2.7/
+drwxr-xr-x root/root usr/lib/python2.7/site-packages/
+drwxr-xr-x root/root usr/lib/python2.7/site-packages/caribou/
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/__init__.py
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/__init__.pyc
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/__init__.pyo
+drwxr-xr-x root/root usr/lib/python2.7/site-packages/caribou/antler/
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/antler/__init__.py
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/antler/__init__.pyc
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/antler/__init__.pyo
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/antler/antler_settings.py
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/antler/antler_settings.pyc
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/antler/antler_settings.pyo
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/antler/keyboard_view.py
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/antler/keyboard_view.pyc
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/antler/keyboard_view.pyo
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/antler/main.py
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/antler/main.pyc
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/antler/main.pyo
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/antler/window.py
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/antler/window.pyc
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/antler/window.pyo
+drwxr-xr-x root/root usr/lib/python2.7/site-packages/caribou/daemon/
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/daemon/__init__.py
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/daemon/__init__.pyc
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/daemon/__init__.pyo
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/daemon/main.py
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/daemon/main.pyc
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/daemon/main.pyo
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/i18n.py
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/i18n.pyc
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/i18n.pyo
+drwxr-xr-x root/root usr/lib/python2.7/site-packages/caribou/settings/
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/settings/__init__.py
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/settings/__init__.pyc
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/settings/__init__.pyo
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/settings/caribou_settings.py
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/settings/caribou_settings.pyc
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/settings/caribou_settings.pyo
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/settings/preferences_window.py
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/settings/preferences_window.pyc
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/settings/preferences_window.pyo
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/settings/setting_types.py
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/settings/setting_types.pyc
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/settings/setting_types.pyo
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/settings/settings_manager.py
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/settings/settings_manager.pyc
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/caribou/settings/settings_manager.pyo
+drwxr-xr-x root/root usr/libexec/
+-rwxr-xr-x root/root usr/libexec/antler-keyboard
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/antler/
+-rw-r--r-- root/root usr/share/antler/dark-key-border.svg
+-rw-r--r-- root/root usr/share/antler/style.css
+drwxr-xr-x root/root usr/share/applications/
+-rw-r--r-- root/root usr/share/applications/caribou.desktop
+drwxr-xr-x root/root usr/share/caribou/
+drwxr-xr-x root/root usr/share/caribou/layouts/
+drwxr-xr-x root/root usr/share/caribou/layouts/fullscale/
+-rw-r--r-- root/root usr/share/caribou/layouts/fullscale/us.xml
+drwxr-xr-x root/root usr/share/caribou/layouts/scan/
+-rw-r--r-- root/root usr/share/caribou/layouts/scan/us.xml
+drwxr-xr-x root/root usr/share/caribou/layouts/touch/
+-rw-r--r-- root/root usr/share/caribou/layouts/touch/ara.xml
+-rw-r--r-- root/root usr/share/caribou/layouts/touch/il.xml
+-rw-r--r-- root/root usr/share/caribou/layouts/touch/us.xml
+drwxr-xr-x root/root usr/share/dbus-1/
+drwxr-xr-x root/root usr/share/dbus-1/services/
+-rw-r--r-- root/root usr/share/dbus-1/services/org.gnome.Caribou.Antler.service
+drwxr-xr-x root/root usr/share/gir-1.0/
+-rw-r--r-- root/root usr/share/gir-1.0/Caribou-1.0.gir
+drwxr-xr-x root/root usr/share/glib-2.0/
+drwxr-xr-x root/root usr/share/glib-2.0/schemas/
+-rw-r--r-- root/root usr/share/glib-2.0/schemas/org.gnome.antler.gschema.xml
+-rw-r--r-- root/root usr/share/glib-2.0/schemas/org.gnome.caribou.gschema.xml
+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/caribou.mo
diff --git a/caribou/.md5sum.i686 b/caribou/.md5sum.i686
new file mode 100755
index 0000000..025551a
--- /dev/null
+++ b/caribou/.md5sum.i686
@@ -0,0 +1,2 @@
+72069b6941d1af349ead77337f8d1fae caribou-0.3.5.tar.xz
+d6a6ed4aa55cd2411a237731a212e9a9 import_from_gi.repository.patch
diff --git a/caribou/.md5sum.x86_64 b/caribou/.md5sum.x86_64
new file mode 100755
index 0000000..025551a
--- /dev/null
+++ b/caribou/.md5sum.x86_64
@@ -0,0 +1,2 @@
+72069b6941d1af349ead77337f8d1fae caribou-0.3.5.tar.xz
+d6a6ed4aa55cd2411a237731a212e9a9 import_from_gi.repository.patch
diff --git a/caribou/Pkgfile b/caribou/Pkgfile
new file mode 100755
index 0000000..98caf00
--- /dev/null
+++ b/caribou/Pkgfile
@@ -0,0 +1,25 @@
+# Description: Alternative de clavier virtual à Gnome On-Screen Keyboard
+# URL: http://gnome.gnome.org/Caribou
+# Maintainer: NuTyX GNOME team
+# Packager: piernov <piernov@piernov.org>
+# Depends on: gtk3, pygobject3, clutter, libgee, gobject-introspection, intltool, libxklavier, json-glib, at-spi
+# Run on: gtk3, pygobject3, clutter, libgee, libxklavier, json-glib
+
+name=caribou
+version=0.3.5
+release=1
+source=(http://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.xz
+ import_from_gi.repository.patch)
+
+build() {
+ cd $name-$version
+ patch -p1 < ../import_from_gi.repository.patch
+ sed "s|/usr/bin/python|/usr/bin/python2|" -i tools/make_schema.py tools/fix_gir.py
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
+ --disable-schemas-compile\
+ --disable-scrollkeeper \
+ --enable-gtk2-module \
+ --enable-gtk3-module
+ make
+ make DESTDIR=$PKG install
+}
diff --git a/caribou/import_from_gi.repository.patch b/caribou/import_from_gi.repository.patch
new file mode 100644
index 0000000..c9f04f6
--- /dev/null
+++ b/caribou/import_from_gi.repository.patch
@@ -0,0 +1,293 @@
+From 1857bd953dc02ac781991f0b97b488b4f300b01f Mon Sep 17 00:00:00 2001
+From: Alexandre Rostovtsev <tetromino@gmail.com>
+Date: Tue, 30 Aug 2011 03:05:11 +0000
+Subject: Use GLib, GObject from gi.repository instead of glib, gobject
+
+Use GLib and GObject from gi.repository instead of glib and gobject
+modules for compatibility with pygobject-3.0. Otherwise, when running on
+a system with pygobject-2.0 and pygobject-3.0 installed, caribou-preferences
+fails with
+
+ImportError: could not import gobject (error was: ImportError('When
+using gi.repository you must not import static modules like "gobject".
+Please change all occurrences of "import gobject" to "from gi.repository
+import GObject".',))
+
+https://bugzilla.gnome.org/show_bug.cgi?id=657666
+---
+diff --git a/bin/antler-keyboard.in b/bin/antler-keyboard.in
+index 1b0c450..ce64128 100755
+--- a/bin/antler-keyboard.in
++++ b/bin/antler-keyboard.in
+@@ -25,7 +25,7 @@ exec_prefix=@exec_prefix@
+
+ if [ $script_dir == "@libexecdir@" ]
+ then
+- datadir="$(@PYTHON@ -c "import glib; print ':'.join(glib.get_system_data_dirs())")"
++ datadir="$(@PYTHON@ -c "from gi.repository import GLib; print ':'.join(GLib.get_system_data_dirs())")"
+ export PYTHONPATH="${prefix}/lib/python@PYTHON_VERSION@/site-packages${PYTHONPATH:+:$PYTHONPATH}"
+ export GI_TYPELIB_PATH="@libdir@/girepository-1.0${GI_TYPELIB_PATH:+:$GI_TYPELIB_PATH}"
+ export LD_LIBRARY_PATH="@libdir@${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
+diff --git a/bin/caribou-preferences.in b/bin/caribou-preferences.in
+index 6aae29e..57772e7 100755
+--- a/bin/caribou-preferences.in
++++ b/bin/caribou-preferences.in
+@@ -25,7 +25,7 @@ exec_prefix=@exec_prefix@
+
+ if [ $script_dir == "@bindir@" ]
+ then
+- datadir="$(@PYTHON@ -c "import glib; print ':'.join(glib.get_system_data_dirs())")"
++ datadir="$(@PYTHON@ -c "from gi.repository import GLib; print ':'.join(GLib.get_system_data_dirs())")"
+ export PYTHONPATH="@prefix@/lib/python@PYTHON_VERSION@/site-packages${PYTHONPATH:+:$PYTHONPATH}"
+ export GI_TYPELIB_PATH="@libdir@/girepository-1.0${GI_TYPELIB_PATH:+:$GI_TYPELIB_PATH}"
+ export LD_LIBRARY_PATH="@libdir@${LD_LIBRARY_PATH:+:LD_LIBRARY_PATH}"
+diff --git a/caribou/antler/keyboard_view.py b/caribou/antler/keyboard_view.py
+index 3e09d94..350be91 100644
+--- a/caribou/antler/keyboard_view.py
++++ b/caribou/antler/keyboard_view.py
+@@ -3,9 +3,9 @@ from caribou.settings import CaribouSettings
+ from antler_settings import AntlerSettings
+ from gi.repository import Gtk
+ from gi.repository import Gdk
++from gi.repository import GObject
++from gi.repository import GLib
+ from gi.repository import Caribou
+-import gobject
+-import glib
+ import os
+ from math import ceil
+
+@@ -30,7 +30,7 @@ PRETTY_LABELS = {
+
+ class AntlerKey(Gtk.Button):
+ def __init__(self, key, spacing=0):
+- gobject.GObject.__init__(self)
++ GObject.GObject.__init__(self)
+ self.caribou_key = key.weak_ref()
+ self.set_label(self._get_key_label())
+ self._spacing = spacing
+@@ -71,7 +71,7 @@ class AntlerKey(Gtk.Button):
+ if not unichar.isspace() and unichar != u'\x00':
+ label = unichar
+
+- return "<b>%s</b>" % glib.markup_escape_text(label.encode('utf-8'))
++ return "<b>%s</b>" % GLib.markup_escape_text(label.encode('utf-8'))
+
+ def _caribou_key_pressed (self, key, _key):
+ self.set_state_flags(Gtk.StateFlags.ACTIVE, False)
+@@ -106,7 +106,7 @@ class AntlerKey(Gtk.Button):
+
+ class AntlerSubLevel(Gtk.Window):
+ def __init__(self, key):
+- gobject.GObject.__init__(self, type=Gtk.WindowType.POPUP)
++ GObject.GObject.__init__(self, type=Gtk.WindowType.POPUP)
+
+ self.set_decorated(False)
+ self.set_resizable(False)
+@@ -138,7 +138,7 @@ class AntlerLayout(Gtk.Box):
+ KEY_SPAN = 4
+
+ def __init__(self, level=None, spacing=6):
+- gobject.GObject.__init__(self, orientation=Gtk.Orientation.HORIZONTAL)
++ GObject.GObject.__init__(self, orientation=Gtk.Orientation.HORIZONTAL)
+ self.set_spacing(12)
+ self._columns = []
+ self._keys_map = {}
+@@ -243,7 +243,7 @@ class AntlerLayout(Gtk.Box):
+
+ class AntlerKeyboardView(Gtk.Notebook):
+ def __init__(self, keyboard_type):
+- gobject.GObject.__init__(self)
++ GObject.GObject.__init__(self)
+ settings = AntlerSettings()
+ self.set_show_tabs(False)
+
+@@ -253,7 +253,7 @@ class AntlerKeyboardView(Gtk.Notebook):
+ self._app_css_provider = Gtk.CssProvider()
+ self._load_style(
+ self._app_css_provider, "style.css",
+- [glib.get_user_data_dir()] + list(glib.get_system_data_dirs()))
++ [GLib.get_user_data_dir()] + list(GLib.get_system_data_dirs()))
+
+ if not use_system.value:
+ Gtk.StyleContext.add_provider_for_screen(
+@@ -262,7 +262,7 @@ class AntlerKeyboardView(Gtk.Notebook):
+
+ self._user_css_provider = Gtk.CssProvider()
+ self._load_style(self._user_css_provider, "user-style.css",
+- [glib.get_user_data_dir()])
++ [GLib.get_user_data_dir()])
+ Gtk.StyleContext.add_provider_for_screen(
+ Gdk.Screen.get_default(), self._user_css_provider,
+ Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION + 1)
+diff --git a/caribou/antler/main.py b/caribou/antler/main.py
+index 6bd3932..fab1c60 100644
+--- a/caribou/antler/main.py
++++ b/caribou/antler/main.py
+@@ -1,17 +1,16 @@
+-from gi.repository import Caribou
++from gi.repository import Caribou, GObject
+ from window import AntlerWindowEntry
+ from keyboard_view import AntlerKeyboardView
+-import gobject
+ import sys
+
+ class AntlerKeyboardService(Caribou.KeyboardService):
+ def __init__(self):
+- gobject.GObject.__init__(self)
++ GObject.GObject.__init__(self)
+ self.register_keyboard("Antler")
+ self.window = AntlerWindowEntry(AntlerKeyboardView)
+
+ def run(self):
+- loop = gobject.MainLoop()
++ loop = GObject.MainLoop()
+ loop.run()
+
+ def do_show(self, timestamp):
+diff --git a/caribou/antler/window.py b/caribou/antler/window.py
+index a72203e..f7c5fa5 100644
+--- a/caribou/antler/window.py
++++ b/caribou/antler/window.py
+@@ -22,24 +22,24 @@
+
+ from gi.repository import Gtk
+ from gi.repository import Gdk
++from gi.repository import GObject
+ from gi.repository import Clutter
+ from antler_settings import AntlerSettings
+ from math import sqrt
+ import os
+ import sys
+-import gobject
+
+ Clutter.init("antler")
+
+
+ class AnimatedWindowBase(Gtk.Window, Clutter.Animatable):
+ __gproperties__ = {
+- 'antler-window-position' : (gobject.TYPE_PYOBJECT, 'Window position',
++ 'antler-window-position' : (GObject.TYPE_PYOBJECT, 'Window position',
+ 'Window position in X, Y coordinates',
+- gobject.PARAM_READWRITE)
++ GObject.PARAM_READWRITE)
+ }
+ def __init__(self):
+- gobject.GObject.__init__(self, type=Gtk.WindowType.POPUP)
++ GObject.GObject.__init__(self, type=Gtk.WindowType.POPUP)
+ # animation
+ self._stage = Clutter.Stage.get_default()
+ self._move_animation = None
+@@ -71,7 +71,7 @@ class AnimatedWindowBase(Gtk.Window, Clutter.Animatable):
+ return True
+ if prop_name == "opacity":
+ opacity = initial_value + ((final_value - initial_value) * progress)
+- gobject.idle_add(lambda: self.set_opacity(opacity))
++ GObject.idle_add(lambda: self.set_opacity(opacity))
+
+ return True
+ else:
+@@ -132,9 +132,9 @@ class ProximityWindowBase(AnimatedWindowBase):
+ self.min_alpha = min_alpha
+ if self.max_alpha != self.min_alpha:
+ if self._poll_tid == 0:
+- self._poll_tid = gobject.timeout_add(100, self._proximity_check)
++ self._poll_tid = GObject.timeout_add(100, self._proximity_check)
+ elif self._poll_tid != 0:
+- gobject.source_remove(self._poll_tid)
++ GObject.source_remove(self._poll_tid)
+
+ def _onmapped(self, obj, event, settings):
+ if self.is_composited():
+diff --git a/caribou/settings/preferences_window.py b/caribou/settings/preferences_window.py
+index 55f9fca..541ecb5 100644
+--- a/caribou/settings/preferences_window.py
++++ b/caribou/settings/preferences_window.py
+@@ -20,7 +20,7 @@
+
+ from caribou.settings.setting_types import *
+
+-import gobject
++from gi.repository import GObject
+ from gi.repository import Gdk
+ from gi.repository import Gtk
+
+@@ -230,7 +230,7 @@ class PreferencesDialog(Gtk.Dialog, AbstractPreferencesUI):
+ __gtype_name__ = "PreferencesDialog"
+
+ def __init__(self, settings_manager):
+- gobject.GObject.__init__(self)
++ GObject.GObject.__init__(self)
+ self.add_button(Gtk.STOCK_CLOSE, Gtk.ResponseType.CLOSE)
+ self.set_border_width(6)
+ self.set_title(settings_manager.groups.label)
+@@ -243,7 +243,7 @@ class PreferencesWindow(Gtk.Window, AbstractPreferencesUI):
+ __gtype_name__ = "PreferencesWindow"
+
+ def __init__(self, settings_manager):
+- gobject.GObject.__init__(self)
++ GObject.GObject.__init__(self)
+ self.set_border_width(6)
+ self.set_title(settings_manager.groups.label)
+
+diff --git a/caribou/settings/setting_types.py b/caribou/settings/setting_types.py
+index 66fb0f0..c4af2a6 100644
+--- a/caribou/settings/setting_types.py
++++ b/caribou/settings/setting_types.py
+@@ -1,5 +1,4 @@
+-import gobject
+-from gi.repository import GLib
++from gi.repository import GLib, GObject
+
+ ENTRY_DEFAULT=0
+ ENTRY_COMBO=1
+@@ -10,17 +9,17 @@ ENTRY_SLIDER=5
+ ENTRY_CHECKBOX=6
+ ENTRY_RADIO=7
+
+-class Setting(gobject.GObject):
++class Setting(GObject.GObject):
+ __gsignals__ = {'value-changed' :
+- (gobject.SIGNAL_RUN_FIRST,
+- gobject.TYPE_NONE,
+- (gobject.TYPE_PYOBJECT,)),
++ (GObject.SIGNAL_RUN_FIRST,
++ GObject.TYPE_NONE,
++ (GObject.TYPE_PYOBJECT,)),
+ 'sensitivity-changed' :
+- (gobject.SIGNAL_RUN_FIRST,
+- gobject.TYPE_NONE,
+- (gobject.TYPE_BOOLEAN,))}
++ (GObject.SIGNAL_RUN_FIRST,
++ GObject.TYPE_NONE,
++ (GObject.TYPE_BOOLEAN,))}
+ def __init__(self, name, label, children=[]):
+- gobject.GObject.__init__(self)
++ GObject.GObject.__init__(self)
+ self.name = name
+ self.label = label
+ self.children = children
+@@ -129,8 +128,8 @@ class IntegerSetting(ValueSetting):
+ variant_type = 'i'
+ entry_type = ENTRY_SPIN
+ def __init__(self, *args, **kwargs):
+- self.min = kwargs.pop('min', gobject.G_MININT)
+- self.max = kwargs.pop('max', gobject.G_MAXINT)
++ self.min = kwargs.pop('min', GObject.G_MININT)
++ self.max = kwargs.pop('max', GObject.G_MAXINT)
+ ValueSetting.__init__(self, *args, **kwargs)
+
+ def convert_value(self, val):
+@@ -140,8 +139,8 @@ class FloatSetting(ValueSetting):
+ variant_type = 'd'
+ entry_type = ENTRY_SPIN
+ def __init__(self, *args, **kwargs):
+- self.min = kwargs.pop('min', gobject.G_MINFLOAT)
+- self.max = kwargs.pop('max', gobject.G_MAXFLOAT)
++ self.min = kwargs.pop('min', GObject.G_MINFLOAT)
++ self.max = kwargs.pop('max', GObject.G_MAXFLOAT)
+ ValueSetting.__init__(self, *args, **kwargs)
+
+ def convert_value(self, val):
+--
+cgit v0.9.0.2
diff --git a/caribou/post-install b/caribou/post-install
new file mode 100755
index 0000000..c4b890a
--- /dev/null
+++ b/caribou/post-install
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+port=caribou
+
+# workaround si pygobject3 installés
+[[ -f /usr/lib/python2.7/site-packages/gi/_gobject/__init__.py ]] && sed "s|if 'gobject' in sys.modules:|if 'gobject' in sys.modules and not 'caribou' in sys.modules:|" -i /usr/lib/python2.7/site-packages/gi/_gobject/__init__.py
+
+# glib schemas
+/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
+
+# desktop database
+update-desktop-database -q
+
+# End of file