Hello,

Please find attached the NMU diff

Regards,

-- 
Zorglub
Clément Stenac
diff -u screem-0.16.1/debian/postinst screem-0.16.1/debian/postinst
--- screem-0.16.1/debian/postinst
+++ screem-0.16.1/debian/postinst
@@ -11,8 +11,12 @@
  
 case "$1" in
     configure)
-               HOME=/root 
GCONF_CONFIG_SOURCE=xml::/etc/gconf/gconf.xml.defaults \
-               gconftool-2 --makefile-install-rule 
/etc/gconf/schemas/screem.schemas > /dev/null 2>&1
+       if  dpkg --compare-versions "$2" le "0.16.1-3" ;then
+        TMP_HOME=`mktemp -d /tmp/gconf.XXXXXX`
+       HOME=$TMP_HOME GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source ` \
+       gconftool-2 --makefile-install-rule /etc/gconf/schemas/screem.schemas > 
/dev/null 2>&1
+       rm -rf $TMP_HOME
+       fi
     ;;
     abort-upgrade|abort-remove|abort-deconfigure)
     ;;
@@ -29,3 +33 @@
-
 #DEBHELPER#
-
diff -u screem-0.16.1/debian/control screem-0.16.1/debian/control
--- screem-0.16.1/debian/control
+++ screem-0.16.1/debian/control
@@ -3,7 +3,7 @@
 Section: gnome
 Priority: optional
 Standards-Version: 3.6.2
-Build-Depends: debhelper (>= 4), cdbs, patchutils, libgnome2-dev (>=2.8), 
libgnomeui-dev, libxml2-dev, libglade2-dev, libgconf2-dev, libgnomevfs2-dev, 
libgtkhtml2-dev, libgnomeprint2.2-dev, libgnomeprintui2.2-dev, scrollkeeper, 
libgtksourceview-dev, libcroco3-dev, libxml-parser-perl, libdbus-glib-1-dev, 
libgnome-menu-dev, libenchant-dev
+Build-Depends: debhelper (>= 4.1.0), cdbs, patchutils, libgnome2-dev (>=2.8), 
libgnomeui-dev, libxml2-dev, libglade2-dev, libgconf2-dev, libgnomevfs2-dev, 
libgtkhtml2-dev, libgnomeprint2.2-dev, libgnomeprintui2.2-dev, scrollkeeper, 
libgtksourceview-dev, libcroco3-dev, libxml-parser-perl, libdbus-glib-1-dev, 
libgnome-menu-dev, libenchant-dev
 
 Package: screem
 Architecture: any
diff -u screem-0.16.1/debian/changelog screem-0.16.1/debian/changelog
--- screem-0.16.1/debian/changelog
+++ screem-0.16.1/debian/changelog
@@ -1,3 +1,11 @@
+screem (0.16.1-3.1) unstable; urgency=high
+
+  * Non-maintainer upload
+  * Correctly remove gconf schemas (Closes:#369860)
+  * Update debhelper build-dependency to match cdbs
+
+ -- Clément Stenac <[EMAIL PROTECTED]>  Sat, 10 Jun 2006 14:10:14 +0200
+
 screem (0.16.1-3) unstable; urgency=low
 
   * Switch over to GOption since Popt from libgnome is deprecated. This means

Reply via email to