Fix years in copyright Add hardending=+all simplify rules make pcmanfm-qt reproducible again, thanks to Eduard Sanou for the bugreport and the patch, but it was fixed before (Closes: #815818)ubuntu/disco debian/0.10.1-2
parent
eb6916f0a7
commit
d09888c454
@ -0,0 +1,25 @@
|
||||
Description: to be descided upstream
|
||||
no need to put this upstream, but we are not
|
||||
sure how to implement the new translation
|
||||
routines - time will tell, this fixes the new
|
||||
behaviour until we maybe rework translation upstream.
|
||||
|
||||
--- a/cmake/LXQtTranslateDesktop.cmake
|
||||
+++ b/cmake/LXQtTranslateDesktop.cmake
|
||||
@@ -71,13 +71,13 @@
|
||||
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 @@
|
||||
fix-new-grep-behaviour.patch
|
@ -1,13 +1,9 @@
|
||||
#!/usr/bin/make -f
|
||||
#DH_VERBOSE = 1
|
||||
|
||||
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
|
||||
|
||||
%:
|
||||
dh ${@} --buildsystem cmake --parallel
|
||||
|
||||
override_dh_install:
|
||||
dh_install --exclude=pcmanfm-qt.1 --fail-missing
|
||||
|
||||
override_dh_strip:
|
||||
dh_strip --ddeb-migration='pcmanfm-qt-dbg (<< 0.10.1-1~)'
|
||||
dh ${@} --buildsystem cmake \
|
||||
--parallel
|
||||
|
Loading…
Reference in new issue