[debian-edu-commits] r81516 - in branches/wheezy/debian-edu-artwork: art/gdm-theme art/kde debian

schweer-guest at alioth.debian.org schweer-guest at alioth.debian.org
Wed Jul 10 10:16:24 UTC 2013


Author: schweer-guest
Date: 2013-07-10 10:16:24 +0000 (Wed, 10 Jul 2013)
New Revision: 81516

Modified:
   branches/wheezy/debian-edu-artwork/art/gdm-theme/20-debian-edu-artwork-settings
   branches/wheezy/debian-edu-artwork/art/gdm-theme/20_debian-edu.gschema.override
   branches/wheezy/debian-edu-artwork/art/kde/debian-edu.xml
   branches/wheezy/debian-edu-artwork/debian/changelog
   branches/wheezy/debian-edu-artwork/debian/debian-edu-artwork.postinst
Log:
* RTFM: Use dpkg-maintscript-helper to remove the conffile.
* Fix typos in 20_debian-edu.gschema.override
* Drop one fake svg file (aspect ratio 5:4), which scales bad, as listed
  in debian-edu.xml (should be added later again as real svg).

Modified: branches/wheezy/debian-edu-artwork/art/gdm-theme/20-debian-edu-artwork-settings
===================================================================
--- branches/wheezy/debian-edu-artwork/art/gdm-theme/20-debian-edu-artwork-settings	2013-07-10 07:48:03 UTC (rev 81515)
+++ branches/wheezy/debian-edu-artwork/art/gdm-theme/20-debian-edu-artwork-settings	2013-07-10 10:16:24 UTC (rev 81516)
@@ -1,3 +1,3 @@
-[org/gnome/desktop/background]
-picture-uri='file:///usr/share/images/desktop-base/debian-edu-wallpaper02_1600x1200.svg'
-picture-options='zoom'
+#[org/gnome/desktop/background]
+#picture-uri='file:///usr/share/images/desktop-base/debian-edu-wallpaper02_1600x1200.svg'
+#picture-options='zoom'

Modified: branches/wheezy/debian-edu-artwork/art/gdm-theme/20_debian-edu.gschema.override
===================================================================
--- branches/wheezy/debian-edu-artwork/art/gdm-theme/20_debian-edu.gschema.override	2013-07-10 07:48:03 UTC (rev 81515)
+++ branches/wheezy/debian-edu-artwork/art/gdm-theme/20_debian-edu.gschema.override	2013-07-10 10:16:24 UTC (rev 81516)
@@ -2,8 +2,8 @@
 
 # - Dont't show default red swirl logo, cause the swirl is already shipped
 #   with the Debian Edu theme.
-#logo=''
-#fallback-logo=''
+logo='/usr/share/icons/gnome/48x48/devices/computer.png'
+fallback-logo='/usr/share/icons/gnome/48x48/devices/computer.png'
 
 # - Disable user list
 disable-user-list=true

Modified: branches/wheezy/debian-edu-artwork/art/kde/debian-edu.xml
===================================================================
--- branches/wheezy/debian-edu-artwork/art/kde/debian-edu.xml	2013-07-10 07:48:03 UTC (rev 81515)
+++ branches/wheezy/debian-edu-artwork/art/kde/debian-edu.xml	2013-07-10 10:16:24 UTC (rev 81516)
@@ -2,7 +2,6 @@
   <static>
     <duration>8640000.0</duration>
     <file>
-      <size width="1280" height="1024">/usr/share/images/desktop-base/debian-edu-wallpaper01_1280x1024.svg</size>
       <size width="1600" height="1200">/usr/share/images/desktop-base/debian-edu-wallpaper01_1600x1200.svg</size>
       <size width="1920" height="1080">/usr/share/images/desktop-base/debian-edu-wallpaper01_1920x1080.svg</size>
       <size width="1920" height="1200">/usr/share/images/desktop-base/debian-edu-wallpaper01_1920x1200.svg</size>

Modified: branches/wheezy/debian-edu-artwork/debian/changelog
===================================================================
--- branches/wheezy/debian-edu-artwork/debian/changelog	2013-07-10 07:48:03 UTC (rev 81515)
+++ branches/wheezy/debian-edu-artwork/debian/changelog	2013-07-10 10:16:24 UTC (rev 81516)
@@ -16,6 +16,12 @@
     to handle cleanup of previoiusly diverted files as I believe
     it must be done.
 
+  [ Wolfgang Schweer ]
+  * RTFM: Use dpkg-maintscript-helper to remove the conffile.
+  * Fix typos in 20_debian-edu.gschema.override
+  * Drop one fake svg file (aspect ratio 5:4), which scales bad, as listed
+    in debian-edu.xml (should be added later again as real svg).
+
  -- Wolfgang Schweer <wschweer at arcor.de>  Mon, 08 Jul 2013 00:40:14 +0200
 
 debian-edu-artwork (0.0.39-1) unstable; urgency=low

Modified: branches/wheezy/debian-edu-artwork/debian/debian-edu-artwork.postinst
===================================================================
--- branches/wheezy/debian-edu-artwork/debian/debian-edu-artwork.postinst	2013-07-10 07:48:03 UTC (rev 81515)
+++ branches/wheezy/debian-edu-artwork/debian/debian-edu-artwork.postinst	2013-07-10 10:16:24 UTC (rev 81516)
@@ -1,28 +1,10 @@
 #! /bin/sh
 
-# Remove a no-longer used conffile.  From
-# http://wiki.debian.org/DpkgConffileHandling
-rm_conffile() {
-    PKGNAME="$1"
-    CONFFILE="$2"
-
-    [ -e "$CONFFILE" ] || return 0
-
-    md5sum="$(md5sum $CONFFILE | sed -e 's/ .*//')"
-    old_md5sum="$(dpkg-query -W -f='${Conffiles}' $PKGNAME | \
-            sed -n -e "\' $CONFFILE ' { s/ obsolete$//; s/.* //; p }")"
-    if [ "$md5sum" != "$old_md5sum" ]; then
-        echo "Obsolete conffile $CONFFILE has been modified by you." 1>&2
-        echo "Saving as $CONFFILE.dpkg-bak ..." 1>&2
-        mv -f "$CONFFILE" "$CONFFILE".dpkg-bak
-    else
-        echo "Removing obsolete conffile $CONFFILE ..." 1>&2
-        rm -f "$CONFFILE"
-    fi
-}
-
 set -e
 
+dpkg-maintscript-helper rm_conffile \
+    /etc/gdm3/greeter.gsettings 0.0.39-1 debian-edu-artwork -- "$@"
+
 #DEBHELPER#
 
 case "$1" in
@@ -33,7 +15,6 @@
 	dpkg-divert --package debian-edu-artwork \
 	    --remove /usr/share/gdm/defaults.conf
 
-	rm_conffile debian-edu-artwork /etc/gdm3/greeter.gsettings
 	dpkg-divert --package debian-edu-artwork \
 	    --rename --remove /etc/gdm3/greeter.gsettings
     fi




More information about the debian-edu-commits mailing list