Package: isenkram-cli
Version: 0.18
Severity: wishlist
Tags: patch

Hi Pere,

I noticed that the isenkram-cli package is fairly redundant[1]. Please
consider saving installation space and mirror space by using hardlinks
for frequent files. I am attaching a patch that uses rdfind to achieve
the requested reduction. Please consider applying it.

Helmut

[1] http://dedup.debian.net/binary/isenkram-cli
    http://dedup.debian.net/compare/isenkram-cli/isenkram-cli
diff -Nru isenkram-0.18/debian/changelog isenkram-0.18+nmu1/debian/changelog
--- isenkram-0.18/debian/changelog      2014-11-12 10:36:07.000000000 +0100
+++ isenkram-0.18+nmu1/debian/changelog 2014-11-15 13:18:19.000000000 +0100
@@ -1,3 +1,10 @@
+isenkram (0.18+nmu1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Reduce size of isenkram-cli package by 80%. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sat, 15 Nov 2014 13:17:49 +0100
+
 isenkram (0.18) unstable; urgency=low
 
   * Adjust debian/tests/test-command-line to accept no firmware to
diff -Nru isenkram-0.18/debian/control isenkram-0.18+nmu1/debian/control
--- isenkram-0.18/debian/control        2014-08-30 08:54:51.000000000 +0200
+++ isenkram-0.18+nmu1/debian/control   2014-11-15 13:16:15.000000000 +0100
@@ -11,6 +11,7 @@
   , aptdaemon
   , python-aptdaemon-gtk
   , libgnome2-perl
+  , rdfind
 Standards-Version: 3.9.5
 XS-Testsuite: autopkgtest
 Vcs-Browser: http://anonscm.debian.org/cgit/collab-maint/isenkram.git
diff -Nru isenkram-0.18/debian/rules isenkram-0.18+nmu1/debian/rules
--- isenkram-0.18/debian/rules  2014-08-28 20:43:27.000000000 +0200
+++ isenkram-0.18+nmu1/debian/rules     2014-11-15 13:17:21.000000000 +0100
@@ -2,5 +2,9 @@
 %:
        dh $@ --with python2
 
+override_dh_install:
+       dh_install
+       rdfind -outputname /dev/null -makehardlinks true 
debian/isenkram-cli/usr/share/isenkram
+
 update:
        ./update-fw-list

Reply via email to