make builds reproducible again (Closes: #815899), thanks to Eduard Sanou
for the patch, but i fixed this already upstream Bump Standard to 3.9.7ubuntu/disco debian/1.95+20160128-2
parent
30bd00f458
commit
a8ed52bde7
@ -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
|
Loading…
Reference in new issue