Source: tigervnc
Version: 1.7.0+dfsg-7
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that tigervnc could not be built reproducibly due to including the
build timestamp.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb, Debian Project Leader
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2017-06-24 14:10:27.688210888 +0100
--- b/debian/rules      2017-06-24 14:35:45.814943472 +0100
@@ -54,6 +54,7 @@
 DEB_CMAKE_EXTRA_FLAGS += -DCMAKE_CXX_FLAGS:STRING="$(CPPFLAGS) $(CXXFLAGS) 
-fPIC"
 DEB_CMAKE_EXTRA_FLAGS += -DCMAKE_EXE_LINKER_FLAGS="$(LDFLAGS)"
 DEB_CMAKE_EXTRA_FLAGS += -DCMAKE_SHARED_LINKER_FLAGS="$(LDFLAGS)"
+DEB_CMAKE_EXTRA_FLAGS += -DBUILD_TIMESTAMP="$(shell dpkg-parsechangelog -SDate 
| date -u -f- '+%Y-%m-%d %H:%M')"
 
 # This is stolen from xorg-server/debian/xsfbs/xsfbs.mk
 # Determine (source) package name from Debian changelog.

Reply via email to