Bug#511541: Acknowledgement (cheese: Some images are duplicated in the binary-package)

Frank Lin PIAT fpiat at klabs.be
Mon Jan 12 00:11:12 UTC 2009


Hi,

It seems that there are quite a few other packages with the same bug:

md5sum /usr/share/gnome/help/*/*/figures/*.{png,jpg} \
  | sed -e 's,/usr/share/gnome/help/\(.*\)/.*/figures/,\1 ,' \
  | sort | uniq -c | grep -Ev '^ *1 ' > list


#Let's identifies the packages that have some duplicates files:
sed -e 's/.*  //' -e 's/ .*//' list | sort | uniq -c
     11 accessx-status
      2 aisleriot
      5 baobab
      5 battstat
      2 blackjack
      4 char-palette
      2 cheese
      1 clock
      8 conduit
      9 cpufreq-applet
     11 dasher
      1 deskbar
      5 drivemount
     18 ekiga
      3 eog
      4 epiphany-browser
     19 epiphany-extensions
      1 evince
    119 evolution
      6 fast-user-switch-applet
      5 file-roller
      1 fish
      1 fish-applet-2
      9 gcalctool
      1 gconf-editor
      7 gedit
      2 geyes
      1 gfloppy
      2 glade
      4 glchess
      3 glines
      4 gnect
      6 gnibbles
      1 gnobots2
     26 gnome-access-guide
      8 gnome-dictionary
      6 gnome-netstatus
     13 gnome-power-manager
      2 gnome-search-tool
      1 gnome-sound-recorder
      7 gnome-sudoku
      1 gnome-system-log
     13 gnome-system-monitor
      2 gnome-terminal
      1 gnome-volume-control
     13 gnomine
      2 gnotravex
      2 gnotski
      1 gstreamer-properties
      2 gtali
      4 gthumb
      3 gucharmap
     14 gweather
      7 iagno
      4 mahjongg
      1 mixer_applet2
     15 mousetweaks
      4 multiload
      1 network-admin
      5 planner
     13 rhythmbox
      2 same-gnome
     12 seahorse
      1 services-admin
      1 shares-admin
      3 sound-juicer
      5 stickynotes_applet
      1 synaptic
      4 time-admin
      8 totem
      1 trashapplet
     81 user-guide
      1 users-admin
      1 vinagre
      2 workspace-switcher
     11 zenity

$sed -e 's/^.*  //' -e 's,\(.*\) \(.*\),/usr/share/gnome/help/\1/\*/figures/\2,' list | sort -u > list2

$du -ch $(cat list2)

The total is 160MB (this total is wrong, because it includes the weight
of all translation, even if only 2 out of ten have the same checksum)

Still, I guess it should be possible to save quite some space by
symlinking duplicate files.

Regards,

Franklin






More information about the pkg-gnome-maintainers mailing list