r11352 - in /desktop/unstable/gnome-vfs2/debian: changelog libgnomevfs2-0.postinst libgnomevfs2-0.postrm libgnomevfs2-common.install libgnomevfs2-extra.postinst libgnomevfs2-extra.postrm rules run-module-update-hooks

lool at users.alioth.debian.org lool at users.alioth.debian.org
Thu Jun 7 16:38:04 UTC 2007


Author: lool
Date: Thu Jun  7 16:38:04 2007
New Revision: 11352

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=11352
Log:
* New module installation hook system; see #426694 for cases where this is
  useful.
  - New /usr/share/gnome-vfs-2.0/run-module-update-hooks script installed in
    libgnomevfs2-common will run all scripts or programs in
    /usr/lib/gnome-vfs-2.0/module-update-hooks.
  - Add postinst and postrm snippets to libgnomevfs2-0 and
    libgnomevfs2-extra to call run-module-update-hooks.

Added:
    desktop/unstable/gnome-vfs2/debian/libgnomevfs2-0.postinst
    desktop/unstable/gnome-vfs2/debian/libgnomevfs2-0.postrm
    desktop/unstable/gnome-vfs2/debian/libgnomevfs2-extra.postinst
    desktop/unstable/gnome-vfs2/debian/libgnomevfs2-extra.postrm
    desktop/unstable/gnome-vfs2/debian/run-module-update-hooks
Modified:
    desktop/unstable/gnome-vfs2/debian/changelog
    desktop/unstable/gnome-vfs2/debian/libgnomevfs2-common.install
    desktop/unstable/gnome-vfs2/debian/rules

Modified: desktop/unstable/gnome-vfs2/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-vfs2/debian/changelog?rev=11352&op=diff
==============================================================================
--- desktop/unstable/gnome-vfs2/debian/changelog (original)
+++ desktop/unstable/gnome-vfs2/debian/changelog Thu Jun  7 16:38:04 2007
@@ -1,10 +1,20 @@
 gnome-vfs2 (1:2.18.1-3) UNRELEASED; urgency=low
 
+  [ Josselin Mouette ]
   * libgnomevfs2-common.preinst, libgnomevfs2-extra.preinst: use
     dpkg-query instead of parsing the status file directly.
   * 99_ltmain_as-needed.patch: get --as-needed back to work.
 
- -- Josselin Mouette <joss at debian.org>  Thu, 07 Jun 2007 00:03:09 +0200
+  [ Loic Minier ]
+  * New module installation hook system; see #426694 for cases where this is
+    useful.
+    - New /usr/share/gnome-vfs-2.0/run-module-update-hooks script installed in
+      libgnomevfs2-common will run all scripts or programs in
+      /usr/lib/gnome-vfs-2.0/module-update-hooks.
+    - Add postinst and postrm snippets to libgnomevfs2-0 and
+      libgnomevfs2-extra to call run-module-update-hooks.
+
+ -- Loic Minier <lool at dooz.org>  Thu, 07 Jun 2007 18:28:57 +0200
 
 gnome-vfs2 (1:2.18.1-2) unstable; urgency=low
 

Added: desktop/unstable/gnome-vfs2/debian/libgnomevfs2-0.postinst
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-vfs2/debian/libgnomevfs2-0.postinst?rev=11352&op=file
==============================================================================
--- desktop/unstable/gnome-vfs2/debian/libgnomevfs2-0.postinst (added)
+++ desktop/unstable/gnome-vfs2/debian/libgnomevfs2-0.postinst Thu Jun  7 16:38:04 2007
@@ -1,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+#DEBHELPER#
+
+if [ -x /usr/share/gnome-vfs-2.0/run-module-update-hooks ]; then
+    /usr/share/gnome-vfs-2.0/run-module-update-hooks
+fi
+

Added: desktop/unstable/gnome-vfs2/debian/libgnomevfs2-0.postrm
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-vfs2/debian/libgnomevfs2-0.postrm?rev=11352&op=file
==============================================================================
--- desktop/unstable/gnome-vfs2/debian/libgnomevfs2-0.postrm (added)
+++ desktop/unstable/gnome-vfs2/debian/libgnomevfs2-0.postrm Thu Jun  7 16:38:04 2007
@@ -1,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+#DEBHELPER#
+
+if [ -x /usr/share/gnome-vfs-2.0/run-module-update-hooks ]; then
+    /usr/share/gnome-vfs-2.0/run-module-update-hooks
+fi
+

Modified: desktop/unstable/gnome-vfs2/debian/libgnomevfs2-common.install
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-vfs2/debian/libgnomevfs2-common.install?rev=11352&op=diff
==============================================================================
--- desktop/unstable/gnome-vfs2/debian/libgnomevfs2-common.install (original)
+++ desktop/unstable/gnome-vfs2/debian/libgnomevfs2-common.install Thu Jun  7 16:38:04 2007
@@ -4,3 +4,4 @@
 debian/tmp/usr/share/locale
 debian/tmp/usr/share/gtk-doc/html/gnome-vfs-2.0/* usr/share/doc/libgnomevfs2-common/html/
 debian/defaults.list etc/gnome-vfs-2.0/
+debian/run-module-update-hooks usr/share/gnome-vfs-2.0

Added: desktop/unstable/gnome-vfs2/debian/libgnomevfs2-extra.postinst
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-vfs2/debian/libgnomevfs2-extra.postinst?rev=11352&op=file
==============================================================================
--- desktop/unstable/gnome-vfs2/debian/libgnomevfs2-extra.postinst (added)
+++ desktop/unstable/gnome-vfs2/debian/libgnomevfs2-extra.postinst Thu Jun  7 16:38:04 2007
@@ -1,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+#DEBHELPER#
+
+if [ -x /usr/share/gnome-vfs-2.0/run-module-update-hooks ]; then
+    /usr/share/gnome-vfs-2.0/run-module-update-hooks
+fi
+

Added: desktop/unstable/gnome-vfs2/debian/libgnomevfs2-extra.postrm
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-vfs2/debian/libgnomevfs2-extra.postrm?rev=11352&op=file
==============================================================================
--- desktop/unstable/gnome-vfs2/debian/libgnomevfs2-extra.postrm (added)
+++ desktop/unstable/gnome-vfs2/debian/libgnomevfs2-extra.postrm Thu Jun  7 16:38:04 2007
@@ -1,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+#DEBHELPER#
+
+if [ -x /usr/share/gnome-vfs-2.0/run-module-update-hooks ]; then
+    /usr/share/gnome-vfs-2.0/run-module-update-hooks
+fi
+

Modified: desktop/unstable/gnome-vfs2/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-vfs2/debian/rules?rev=11352&op=diff
==============================================================================
--- desktop/unstable/gnome-vfs2/debian/rules (original)
+++ desktop/unstable/gnome-vfs2/debian/rules Thu Jun  7 16:38:04 2007
@@ -14,6 +14,10 @@
 # Hack to force regeneration of the orbit files
 common-configure-impl::
 	touch libgnomevfs/GNOME_VFS_Daemon.idl
+
+# fix executable bit of debian/run-module-update-hooks
+binary-install/libgnomevfs2-common::
+	chmod a+x debian/$(cdbs_curpkg)/usr/share/gnome-vfs-2.0/run-module-update-hooks
 
 ifeq ($(DEB_HOST_ARCH),hurd-i386)
   HOST_ARCH_CONFIGURE_FLAGS=--disable-samba

Added: desktop/unstable/gnome-vfs2/debian/run-module-update-hooks
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-vfs2/debian/run-module-update-hooks?rev=11352&op=file
==============================================================================
--- desktop/unstable/gnome-vfs2/debian/run-module-update-hooks (added)
+++ desktop/unstable/gnome-vfs2/debian/run-module-update-hooks Thu Jun  7 16:38:04 2007
@@ -1,0 +1,10 @@
+#!/bin/sh
+
+# Run all module update hooks found in the module-update-hooks directory
+
+set -e
+
+if [ -d /usr/lib/gnome-vfs-2.0/module-update-hooks ]; then
+    run-parts $@ /usr/lib/gnome-vfs-2.0/module-update-hooks
+fi
+




More information about the pkg-gnome-commits mailing list