Source: museek+
Version: 1:0.2+svn20100315.r1208-3
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

While working on the "reproducible builds" effort [1], we have noticed
that museek+ could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, museek+ can be built reproducibly in our reproducible
toolchain.

 [1]: https://wiki.debian.org/ReproducibleBuilds


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diff -urNad museek+.orig/museek+-0.2+svn20100315.r1208/debian/rules 
museek+/museek+-0.2+svn20100315.r1208/debian/rules
--- museek+.orig/museek+-0.2+svn20100315.r1208/debian/rules     2015-02-22 
10:58:30.278709694 +0000
+++ museek+/museek+-0.2+svn20100315.r1208/debian/rules  2015-02-22 
12:07:53.356709026 +0000
@@ -94,14 +94,14 @@
        for size in 16 22 24 32 36 48 64; do \
                convert $(CURDIR)/murmur/images/murmur-96px.png -resize 
$${size} $(CURDIR)/debian/murmur/usr/share/pixmaps/murmur-$${size}.xpm || exit 
1; \
                mkdir -p 
$(CURDIR)/debian/murmur/usr/share/icons/hicolor/$${size}x$${size}/apps || exit 
1;  \
-               convert $(CURDIR)/murmur/images/murmur-96px.png -resize 
$${size} 
$(CURDIR)/debian/murmur/usr/share/icons/hicolor/$${size}x$${size}/apps/murmur.png
 || exit 1; \
+               convert $(CURDIR)/murmur/images/murmur-96px.png -resize 
$${size} +set date:create +set date:modify -define png:exclude-chunk=time 
$(CURDIR)/debian/murmur/usr/share/icons/hicolor/$${size}x$${size}/apps/murmur.png
 || exit 1; \
        done
        # [Musetup-GTK] Create all size PNG/XPM icons
        mkdir -p $(CURDIR)/debian/musetup-gtk/usr/share/pixmaps
        for size in 16 22 24 32 36 48 64; do \
                convert $(CURDIR)/icons/musetup-gtk.png -resize $${size} 
$(CURDIR)/debian/musetup-gtk/usr/share/pixmaps/musetup-gtk-$${size}.xpm || exit 
1; \
                mkdir -p 
$(CURDIR)/debian/musetup-gtk/usr/share/icons/hicolor/$${size}x$${size}/apps || 
exit 1;  \
-               convert $(CURDIR)/icons/musetup-gtk.png -resize $${size} 
$(CURDIR)/debian/musetup-gtk/usr/share/icons/hicolor/$${size}x$${size}/apps/musetup-gtk.png
 || exit 1; \
+               convert $(CURDIR)/icons/musetup-gtk.png -resize $${size} +set 
date:create +set date:modify -define png:exclude-chunk=time 
$(CURDIR)/debian/musetup-gtk/usr/share/icons/hicolor/$${size}x$${size}/apps/musetup-gtk.png
 || exit 1; \
        done
 
        # [Museeq] Create all size PNG/XPM icons
@@ -109,7 +109,7 @@
        for size in 16 22 24 32 36 48 64; do \
                convert $(CURDIR)/museeq/museeq.png -resize $${size} 
$(CURDIR)/debian/museeq/usr/share/pixmaps/museeq-$${size}.xpm || exit 1; \
                mkdir -p 
$(CURDIR)/debian/museeq/usr/share/icons/hicolor/$${size}x$${size}/apps || exit 
1;  \
-               convert $(CURDIR)/museeq/museeq.png -resize $${size} 
$(CURDIR)/debian/museeq/usr/share/icons/hicolor/$${size}x$${size}/apps/museeq.png
 || exit 1; \
+               convert $(CURDIR)/museeq/museeq.png -resize $${size} +set 
date:create +set date:modify -define png:exclude-chunk=time  
$(CURDIR)/debian/museeq/usr/share/icons/hicolor/$${size}x$${size}/apps/museeq.png
 || exit 1; \
        done
        touch $@
        # Install .desktop entries
_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to