make builds reproducible again (Closes: #815899), thanks to Eduard Sanou

for the patch, but i fixed this already upstream
Bump Standard to 3.9.7
ubuntu/disco debian/1.95+20160128-2
Alf Gaida 8 years ago
parent 30bd00f458
commit a8ed52bde7

8
debian/changelog vendored

@ -1,3 +1,11 @@
screengrab (1.95+20160128-2) unstable; urgency=medium
* make builds reproducible again (Closes: #815899), thanks to Eduard Sanou
for the patch, but i fixed this already upstream
* Bump Standard to 3.9.7
-- Alf Gaida <agaida@siduction.org> Thu, 25 Feb 2016 21:03:01 +0100
screengrab (1.95+20160128-1) unstable; urgency=medium
* Cherry-picking upstream version 1.95+20160128.

4
debian/control vendored

@ -16,8 +16,8 @@ Build-Depends: debhelper (>= 9),
libxcb-xfixes0-dev [!kfreebsd-any],
pkg-config,
qttools5-dev,
qttools5-dev-tools,
Standards-Version: 3.9.6
qttools5-dev-tools
Standards-Version: 3.9.7
Vcs-Browser: https://anonscm.debian.org/git/pkg-lxqt/screengrab.git/?h=debian/sid
Vcs-Git: https://anonscm.debian.org/git/pkg-lxqt/screengrab.git -b debian/sid
Homepage: https://github.com/QtDesktop/screengrab

@ -0,0 +1,23 @@
Description: Make the builds reproducible again
Author: Alf Gaida <agaida@siduction.org>
Bug-Debian: https://bugs.debian.org/815899
--- screengrab-1.95+20160128.orig/cmake/LXQtTranslateDesktop.cmake
+++ screengrab-1.95+20160128/cmake/LXQtTranslateDesktop.cmake
@@ -71,13 +71,13 @@ function(lxqt_translate_desktop _RESULT)
set(_pattern "'\\[.*]\\s*='")
if (_translations)
add_custom_command(OUTPUT ${_outFile}
- COMMAND grep -v "'#TRANSLATIONS_DIR='" ${_inFile} > ${_outFile}
- COMMAND grep -h ${_pattern} ${_translations} >> ${_outFile}
+ COMMAND grep -v -a "'#TRANSLATIONS_DIR='" ${_inFile} > ${_outFile}
+ COMMAND grep -h -a ${_pattern} ${_translations} >> ${_outFile}
COMMENT "Generating ${_fileName}${_fileExt}"
)
else()
add_custom_command(OUTPUT ${_outFile}
- COMMAND grep -v "'#TRANSLATIONS_DIR='" ${_inFile} > ${_outFile}
+ COMMAND grep -v -a "'#TRANSLATIONS_DIR='" ${_inFile} > ${_outFile}
COMMENT "Generating ${_fileName}${_fileExt}"
)
endif()

@ -0,0 +1 @@
reproducible-builds.patch

3
debian/rules vendored

@ -5,7 +5,8 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
%:
dh $@ --buildsystem=cmake --parallel
dh ${@} --buildsystem=cmake \
--parallel
override_dh_install:
rm -f $(currdir)/debian/screengrab/usr/share/doc/screengrab/LICENSE.txt

Loading…
Cancel
Save