Bug#834051: winswitch: please make the build reproducible

2017-01-10 Thread Chris Lamb
> Would you consider applying this patch and uploading?

Friendly ping on this :)


Best wishes,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#834051: winswitch: please make the build reproducible

2016-10-17 Thread Chris Lamb
Dear Maintainer,

> Source: winswitch
> Version: 0.12.20+dfsg-1
> Tags: patch

There hasn't seem to be any update on this bug in 66 days, in which
time the Reproducible Builds effort has come on a long way. :)

Would you consider applying this patch and uploading?


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#834051: winswitch: please make the build reproducible

2016-08-11 Thread Chris Lamb
Source: winswitch
Version: 0.12.21+dfsg-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi,

Whilst working on the "reproducible builds" effort [0], we noticed
that winswitch could not be built reproducibly.

Patch attached.

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


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
--- a/debian/patches/buildinfo.patch2016-08-11 17:18:31.434878443 +0100
--- b/debian/patches/buildinfo.patch2016-08-11 17:26:35.902898767 +0100
@@ -38,7 +38,7 @@
 -set_prop(props, "BUILD_CPU", get_cpuinfo())
 +set_prop(props, "BUILT_BY", "Debian")
 +set_prop(props, "BUILT_ON", "Debian")
-+set_prop(props, "BUILD_DATE", subprocess.Popen("date 
--date=\"$(dpkg-parsechangelog -SDate)\" +%F", stdin=None, 
stdout=subprocess.PIPE, stderr=subprocess.STDOUT, 
shell=True).stdout.read()[:-1])
++set_prop(props, "BUILD_DATE", subprocess.Popen("date --utc 
--date=\"$(dpkg-parsechangelog -SDate)\" +%F", stdin=None, 
stdout=subprocess.PIPE, stderr=subprocess.STDOUT, 
shell=True).stdout.read()[:-1])
 +set_prop(props, "BUILD_CPU", "Generic CPU")
  set_prop(props, "BUILD_BIT", platform.architecture()[0])
  set_prop(props, "RELEASE_BUILD", not bool(os.environ.get("BETA")))
--- a/winswitch/add_build_info.py   2016-08-11 17:18:31.426878376 +0100
--- b/winswitch/add_build_info.py   2016-08-11 17:26:28.766839798 +0100
@@ -149,7 +149,7 @@
 props = get_existing_properties()
 set_prop(props, "BUILT_BY", "Debian")
 set_prop(props, "BUILT_ON", "Debian")
-set_prop(props, "BUILD_DATE", subprocess.Popen("date 
--date=\"$(dpkg-parsechangelog -SDate)\" +%F", stdin=None, 
stdout=subprocess.PIPE, stderr=subprocess.STDOUT, 
shell=True).stdout.read()[:-1])
+set_prop(props, "BUILD_DATE", subprocess.Popen("date --utc 
--date=\"$(dpkg-parsechangelog -SDate)\" +%F", stdin=None, 
stdout=subprocess.PIPE, stderr=subprocess.STDOUT, 
shell=True).stdout.read()[:-1])
 set_prop(props, "BUILD_CPU", "Generic CPU")
 set_prop(props, "BUILD_BIT", platform.architecture()[0])
 set_prop(props, "RELEASE_BUILD", not bool(os.environ.get("BETA")))