~noskcaj/ubuntu/saucy/debhelper/saucy

« back to all changes in this revision

Viewing changes to dh_icons

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2013-06-04 11:46:28 UTC
  • mfrom: (1.4.61 sid)
  • Revision ID: package-import@ubuntu.com-20130604114628-vagwisunbd72ihwg
Tags: 9.20130518ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Depend on dh-apparmor.
  - dh_installinit, autoscripts/postinst-upstart-replace: Prefer upstart
    jobs where they exist.
  - autoscripts/preinst-upstart-compatibility: Handle upgrades from older
    versions that created the /lib/init/upstart-job symlink.
  - autoscripts/postinst-init*: Only call update-rc.d when there's no
    upstart job.
  - autoscripts/*-init*: Test for /etc/init/*.conf where necessary.
  - dh_installinit: Add no-op --upstart-only option for compatibility.
  - dh_installudev: Change default rules.d symlink priority to 40.
  - dh_installchangelogs: Do not install upstream changelog in compat
    level 7.  This floods packages with huge upstream changelogs which
    take precious CD space.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
=head1 NAME
4
4
 
5
 
dh_icons - Update Freedesktop icon caches
 
5
dh_icons - Update caches of Freedesktop icons
6
6
 
7
7
=cut
8
8
 
16
16
 
17
17
=head1 DESCRIPTION
18
18
 
19
 
B<dh_icons> is a debhelper program that updates Freedesktop icon caches
 
19
B<dh_icons> is a debhelper program that updates caches of Freedesktop icons
20
20
when needed, using the B<update-icon-caches> program provided by GTK+2.12.
21
21
Currently this program does not handle installation of the files, though it
22
 
may do so at a later date. It takes care of adding maintainer script
23
 
fragments to call B<update-icon-caches>.
 
22
may do so at a later date, so should be run after icons are installed in
 
23
the package build directories. 
 
24
 
 
25
It takes care of adding maintainer script fragments to call
 
26
B<update-icon-caches> for icon directories. (This is not done for gnome and
 
27
hicolor icons, as those are handled by triggers.)
 
28
These commands are inserted into the maintainer scripts by L<dh_installdeb(1)>.
24
29
 
25
30
=head1 OPTIONS
26
31
 
36
41
 
37
42
init();
38
43
 
 
44
# PROMISE: DH NOOP WITHOUT tmp(usr/share/icons)
39
45
my $baseicondir="/usr/share/icons";
40
46
 
41
47
foreach my $package (@{$dh{DOPACKAGES}}) {