From 80877a7f7afec06dc3aee72645dce04c175d76d8 Mon Sep 17 00:00:00 2001 From: "Andrey A.I. Sitnik" Date: Fri, 18 Nov 2011 02:08:20 +0900 Subject: [PATCH] Fix build scripts for Restore Tab plugin --- debian/changelog | 5 +++++ debian/control | 2 +- debian/dirs | 1 + debian/postinst | 3 +++ debian/rules | 3 +-- 5 files changed, 11 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 41e5877..f5e2ea7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,8 @@ +gedit-gmate (0.10~uorppa4) oneiric; urgency=low + * Rewrite build script to support Restore Tab plugin. + + -- Andrey Sitnik Fri, 18 Nov 2011 02:01:51 +0900 + gedit-gmate (0.10~uorppa2) oneiric; urgency=low * Add dependences for Restore Tabs. diff --git a/debian/control b/debian/control index 1c82959..0b4a5aa 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: gnome Priority: optional Maintainer: Andrey Sitnik Build-Depends: debhelper (>= 7) -Standards-Version: 0.10~uorppa2 +Standards-Version: 0.10~uorppa4 Homepage: http://github.com/gmate/gmate Vcs-Git: git://github.com/gmate/gmate.git Vcs-Browser: http://github.com/gmate/gmate diff --git a/debian/dirs b/debian/dirs index e76e009..fca4082 100644 --- a/debian/dirs +++ b/debian/dirs @@ -4,3 +4,4 @@ /usr/share/gtksourceview-3.0/styles/ /usr/share/gedit/gmate/ /usr/share/gedit/plugins/snippets/ +/usr/share/glib-2.0/schemas/ diff --git a/debian/postinst b/debian/postinst index b7dc34e..fc7613b 100755 --- a/debian/postinst +++ b/debian/postinst @@ -7,5 +7,8 @@ ln -nfs /usr/share/gedit/gmate/gmate.py /usr/bin/mate ln -nfs /usr/share/gedit/gmate/gmate.py /usr/bin/e ln -nfs /usr/share/gedit/gmate/gmate.py /usr/bin/g +# Restore Tabs plugin +glib-compile-schemas /usr/share/glib-2.0/schemas/ + #DEBHELPER# diff --git a/debian/rules b/debian/rules index 8891316..abb1e50 100755 --- a/debian/rules +++ b/debian/rules @@ -20,8 +20,7 @@ install: for plugin in plugins/gedit3/*; do \ cp -R $$plugin/* $(build)/usr/lib/gedit/plugins/; \ done - sudo cp plugins/gedit3/restoretabs/org.gnome.gedit.plugins.restoretabs.gschema.xml /usr/share/glib-2.0/schemas/ - sudo glib-compile-schemas /usr/share/glib-2.0/schemas/ + cp plugins/gedit3/restoretabs/org.gnome.gedit.plugins.restoretabs.gschema.xml $(build)/usr/share/glib-2.0/schemas/ cp -R snippets/* $(build)/usr/share/gedit/plugins/snippets/ cp gmate.py $(build)/usr/share/gedit/gmate/