r11937 - /desktop/unstable/gtk+2.0/debian/

joss at users.alioth.debian.org joss at users.alioth.debian.org
Fri Jul 13 20:57:03 UTC 2007


Author: joss
Date: Fri Jul 13 20:57:02 2007
New Revision: 11937

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=11937
Log:
* Move manual pages of binaries in /usr/sbin to section 8.
* update-icon-caches: new script, updates the icon caches in a given
  list of directories. It is meant to be used by packages shipping
  icons, in the postinst/postrm.
  For transition purposes, icon caches are currently updated but not
  created if they don't already exist.
* Install this script and its manual page in libgtk2.0-bin.

Added:
    desktop/unstable/gtk+2.0/debian/update-gdkpixbuf-loaders.8
      - copied, changed from r11936, desktop/unstable/gtk+2.0/debian/update-gdkpixbuf-loaders.1
    desktop/unstable/gtk+2.0/debian/update-gtk-immodules.8
      - copied, changed from r11936, desktop/unstable/gtk+2.0/debian/update-gtk-immodules.1
    desktop/unstable/gtk+2.0/debian/update-gtk-immodules.fr.8
      - copied, changed from r11936, desktop/unstable/gtk+2.0/debian/update-gtk-immodules.fr.1
    desktop/unstable/gtk+2.0/debian/update-icon-caches
    desktop/unstable/gtk+2.0/debian/update-icon-caches.8
Removed:
    desktop/unstable/gtk+2.0/debian/update-gdkpixbuf-loaders.1
    desktop/unstable/gtk+2.0/debian/update-gtk-immodules.1
    desktop/unstable/gtk+2.0/debian/update-gtk-immodules.fr.1
Modified:
    desktop/unstable/gtk+2.0/debian/changelog
    desktop/unstable/gtk+2.0/debian/libgtk2.0-bin.install.in
    desktop/unstable/gtk+2.0/debian/libgtk2.0-bin.manpages

Modified: desktop/unstable/gtk+2.0/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gtk%2B2.0/debian/changelog?rev=11937&op=diff
==============================================================================
--- desktop/unstable/gtk+2.0/debian/changelog (original)
+++ desktop/unstable/gtk+2.0/debian/changelog Fri Jul 13 20:57:02 2007
@@ -1,9 +1,19 @@
 gtk+2.0 (2.10.13-2) UNRELEASED; urgency=low
 
+  [ Loic Minier ]
   * Don't run the directfb testsuite on kfreebsd as it hangs; proposed patch
     by Petr Salinger; closes: #431477.
 
- -- Loic Minier <lool at dooz.org>  Tue, 03 Jul 2007 08:59:53 +0200
+  [ Josselin Mouette ]
+  * Move manual pages of binaries in /usr/sbin to section 8.
+  * update-icon-caches: new script, updates the icon caches in a given
+    list of directories. It is meant to be used by packages shipping
+    icons, in the postinst/postrm.
+    For transition purposes, icon caches are currently updated but not
+    created if they don't already exist.
+  * Install this script and its manual page in libgtk2.0-bin.
+
+ -- Josselin Mouette <joss at debian.org>  Fri, 13 Jul 2007 22:54:08 +0200
 
 gtk+2.0 (2.10.13-1) unstable; urgency=low
 

Modified: desktop/unstable/gtk+2.0/debian/libgtk2.0-bin.install.in
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gtk%2B2.0/debian/libgtk2.0-bin.install.in?rev=11937&op=diff
==============================================================================
--- desktop/unstable/gtk+2.0/debian/libgtk2.0-bin.install.in (original)
+++ desktop/unstable/gtk+2.0/debian/libgtk2.0-bin.install.in Fri Jul 13 20:57:02 2007
@@ -2,3 +2,4 @@
 debian/install/shared/usr/share/man/man1/gtk-update-icon-cache.1 usr/share/man/man1
 debian/install/shared/usr/share/man/man1/gtk-query-immodules- at APIVER@.1 usr/share/man/man1
 debian/install/shared/usr/share/man/man1/gdk-pixbuf-query-loaders.1 usr/share/man/man1
+debian/update-icon-caches usr/sbin

Modified: desktop/unstable/gtk+2.0/debian/libgtk2.0-bin.manpages
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gtk%2B2.0/debian/libgtk2.0-bin.manpages?rev=11937&op=diff
==============================================================================
--- desktop/unstable/gtk+2.0/debian/libgtk2.0-bin.manpages (original)
+++ desktop/unstable/gtk+2.0/debian/libgtk2.0-bin.manpages Fri Jul 13 20:57:02 2007
@@ -1,4 +1,5 @@
 debian/gtk-options.7
-debian/update-gtk-immodules.1
-debian/update-gtk-immodules.fr.1
-debian/update-gdkpixbuf-loaders.1
+debian/update-gtk-immodules.8
+debian/update-gtk-immodules.fr.8
+debian/update-gdkpixbuf-loaders.8
+debian/update-icon-caches.8

Copied: desktop/unstable/gtk+2.0/debian/update-gdkpixbuf-loaders.8 (from r11936, desktop/unstable/gtk+2.0/debian/update-gdkpixbuf-loaders.1)
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gtk%2B2.0/debian/update-gdkpixbuf-loaders.8?rev=11937&op=diff
==============================================================================
--- desktop/unstable/gtk+2.0/debian/update-gdkpixbuf-loaders.1 (original)
+++ desktop/unstable/gtk+2.0/debian/update-gdkpixbuf-loaders.8 Fri Jul 13 20:57:02 2007
@@ -2,7 +2,7 @@
 .\" First parameter, NAME, should be all caps
 .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
 .\" other parameters are allowed: see man(7), man(1)
-.TH UPDATE-GDKPIXBUF-LOADERS 1 "6 January 2003"
+.TH UPDATE-GDKPIXBUF-LOADERS 8 "6 January 2003"
 .\" Please adjust this date whenever revising the manpage.
 .\"
 .\" Some roff macros, for reference:

Copied: desktop/unstable/gtk+2.0/debian/update-gtk-immodules.8 (from r11936, desktop/unstable/gtk+2.0/debian/update-gtk-immodules.1)
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gtk%2B2.0/debian/update-gtk-immodules.8?rev=11937&op=diff
==============================================================================
--- desktop/unstable/gtk+2.0/debian/update-gtk-immodules.1 (original)
+++ desktop/unstable/gtk+2.0/debian/update-gtk-immodules.8 Fri Jul 13 20:57:02 2007
@@ -2,7 +2,7 @@
 .\" First parameter, NAME, should be all caps
 .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
 .\" other parameters are allowed: see man(7), man(1)
-.TH UPDATE-GTK-IMMODULES 1 "13 March 2002"
+.TH UPDATE-GTK-IMMODULES 8 "13 March 2002"
 .\" Please adjust this date whenever revising the manpage.
 .\"
 .\" Some roff macros, for reference:

Copied: desktop/unstable/gtk+2.0/debian/update-gtk-immodules.fr.8 (from r11936, desktop/unstable/gtk+2.0/debian/update-gtk-immodules.fr.1)
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gtk%2B2.0/debian/update-gtk-immodules.fr.8?rev=11937&op=diff
==============================================================================
--- desktop/unstable/gtk+2.0/debian/update-gtk-immodules.fr.1 (original)
+++ desktop/unstable/gtk+2.0/debian/update-gtk-immodules.fr.8 Fri Jul 13 20:57:02 2007
@@ -2,7 +2,7 @@
 .\" First parameter, NAME, should be all caps
 .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
 .\" other parameters are allowed: see man(7), man(1)
-.TH UPDATE-GTK-IMMODULES 1 "13 mars 2002"
+.TH UPDATE-GTK-IMMODULES 8 "13 mars 2002"
 .\" Please adjust this date whenever revising the manpage.
 .\"
 .\" Some roff macros, for reference:

Added: desktop/unstable/gtk+2.0/debian/update-icon-caches
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gtk%2B2.0/debian/update-icon-caches?rev=11937&op=file
==============================================================================
--- desktop/unstable/gtk+2.0/debian/update-icon-caches (added)
+++ desktop/unstable/gtk+2.0/debian/update-icon-caches Fri Jul 13 20:57:02 2007
@@ -1,0 +1,26 @@
+#! /bin/sh
+set -e
+
+case "$1" in
+    ""|-h|--help)
+        echo "Usage: $0 directory [ ... ]"
+        exit 1
+	;;
+esac
+
+for dir in "$@"; do
+    if [ ! -d "$dir" ]; then
+        echo "$dir is not a directory"
+        exit 2
+    fi
+    if [ -f "$dir"/index.theme ]; then
+        if [ -f "$dir"/icon-theme.cache ]; then
+	    # The cache already exists, regenerate it
+	    gtk-update-icon-cache --force --quiet "$dir"
+	fi
+    else
+        # No more index.theme, remove the cache if it exists
+	rm -f "$dir"/icon-theme.cache
+	rmdir -p --ignore-fail-on-non-empty "$dir"
+    fi
+done

Added: desktop/unstable/gtk+2.0/debian/update-icon-caches.8
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gtk%2B2.0/debian/update-icon-caches.8?rev=11937&op=file
==============================================================================
--- desktop/unstable/gtk+2.0/debian/update-icon-caches.8 (added)
+++ desktop/unstable/gtk+2.0/debian/update-icon-caches.8 Fri Jul 13 20:57:02 2007
@@ -1,0 +1,19 @@
+.TH UPDATE-ICON-CACHES 8 "13 July 2007"
+.SH NAME
+update-icon-caches \- Update wrapper script for the icon caches
+.SH SYNOPSIS
+\fBupdate-icon-caches\fP \fIdirectory\fP [ \fI...\fP ]
+.SH DESCRIPTION
+\fBupdate-icon-caches\fP is a wrapper script for updating the icon
+caches in a list of directories.
+.P
+In each of the directories passed as arguments, the icon cache is
+updated if it is already present. It is not created if it does not
+already exist.
+.P
+If the theme index file is not present, the icon cache is removed.
+.SH SEE ALSO
+.BR gtk-update-icon-cache (1)
+.SH AUTHOR
+This manual page was written by Josselin Mouette <joss at debian.org>,
+for the Debian GNU/Linux system.




More information about the pkg-gnome-commits mailing list