[debian-edu-commits] debian-edu/ 369/437: * debian/control: - Add rdfind and symlinks to Build-Depends:. * debian/rules: Automatically replace duplicates with symlinks during buildtime to decrease installed package size. Thanks to Helmut Grohne and http://wiki.debian.org/dedup.debian.net.

Mike Gabriel sunweaver at debian.org
Sun Mar 2 23:49:53 UTC 2014


This is an automated email from the git hooks/post-receive script.

sunweaver pushed a commit to branch master
in repository debian-edu-artwork.

commit 64d489fd164cc287e07dfb2f3ff1a2390376f8df
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sat Jun 15 15:41:39 2013 +0000

    * debian/control:
      - Add rdfind and symlinks to Build-Depends:.
    * debian/rules: Automatically replace duplicates with symlinks during
      buildtime to decrease installed package size. Thanks to Helmut Grohne
      and http://wiki.debian.org/dedup.debian.net.
---
 debian/changelog | 11 ++++++++---
 debian/control   |  2 +-
 debian/rules     |  3 +++
 3 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 54da848..db8745b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,13 +8,18 @@ debian-edu-artwork (0.0.36-1) UNRELEASED; urgency=low
   * Drop useless debian/watch file.
   * Drop ancient and useless Suggests: and Conflicts:. 
   * Add myself to AUTHORS.
-  * Bump Standards-Version to 3.9.4, no changes needed.
   * Drop art/logo (whoich wasn't used in the binary package) and moved it to
     git://git.debian.org/git/debian-edu/debian-edu-logo.git.
   * Update README and debian/README.source. 
-  * Make binary package description slightly more verbose.
-  * Add Enhances: field. 
+  * debian/control:
+    - Add rdfind and symlinks to Build-Depends:.
+    - Make binary package description slightly more verbose.
+    - Add Enhances: field. 
+    - Bump Standards-Version to 3.9.4, no changes needed.
   * Cleanup art/playground some more.
+  * debian/rules: Automatically replace duplicates with symlinks during
+    buildtime to decrease installed package size. Thanks to Helmut Grohne
+    and http://wiki.debian.org/dedup.debian.net.
 
  -- Wolfgang Schweer <wschweer at arcor.de>  Fri, 14 Jun 2013 18:03:42 +0200
 
diff --git a/debian/control b/debian/control
index 5eb27fa..427dde2 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: graphics
 Priority: extra
 Maintainer: Debian Edu developers <debian-edu at lists.debian.org>
 Uploaders: Petter Reinholdtsen <pere at debian.org>, Holger Levsen <holger at debian.org>, Morten Werner Forsbring <werner at debian.org>
-Build-Depends: debhelper (>= 7), cdbs
+Build-Depends: debhelper (>= 7), cdbs, rdfind, symlinks
 Standards-Version: 3.9.4
 Vcs-Browser: http://anonscm.debian.org/viewvc/debian-edu/trunk/src/debian-edu-artwork/
 Vcs-Svn: svn://anonscm.debian.org/debian-edu/trunk/src/debian-edu-artwork/
diff --git a/debian/rules b/debian/rules
index ecab049..12932d1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,6 +16,9 @@ install/debian-edu-artwork::
 binary-install/debian-edu-artwork::
 	cd debian/debian-edu-artwork/usr/share/gconf/defaults && \
                 mv 50_debian-edu-artwork 50_debian-edu-artwork.entries 
+	# replace duplicates with symlinks, see http://wiki.debian.org/dedup.debian.net
+	rdfind -outputname /dev/null -makesymlinks true debian/debian-edu-artwork/usr
+	symlinks -r -s -c debian/debian-edu-artwork
 
 new-upstream-version:
 	svn export . $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-artwork.git



More information about the debian-edu-commits mailing list