Add hardening=+all

Bump Standards to 3.9.7
Fix LXQtTranlateDesktop - just in case
Fix year in copyrights
fix grep usage in cmake/LXQtTranslateDesktop.cmake - just in case
ubuntu/cosmic debian/0.10.0+20151214-3
Alf Gaida 9 years ago
parent 26b0945d5e
commit d71a447819

10
debian/changelog vendored

@ -1,3 +1,13 @@
libfm-qt (0.10.0+20151214-3) unstable; urgency=medium
* Add hardening=+all
* Bump Standards to 3.9.7
* Fix LXQtTranlateDesktop - just in case
* Fix year in copyrights
* fix grep usage in cmake/LXQtTranslateDesktop.cmake - just in case
-- Alf Gaida <agaida@siduction.org> Thu, 25 Feb 2016 22:16:17 +0100
libfm-qt (0.10.0+20151214-2) unstable; urgency=medium libfm-qt (0.10.0+20151214-2) unstable; urgency=medium
[ Alf Gaida ] [ Alf Gaida ]

3
debian/control vendored

@ -18,7 +18,7 @@ Build-Depends: cmake (>= 3.0.2),
pkg-config, pkg-config,
qttools5-dev, qttools5-dev,
qttools5-dev-tools qttools5-dev-tools
Standards-Version: 3.9.6 Standards-Version: 3.9.7
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-lxqt/libfm-qt Vcs-Browser: https://anonscm.debian.org/cgit/pkg-lxqt/libfm-qt
Vcs-Git: https://anonscm.debian.org/cgit/pkg-lxqt/libfm-qt -b debian/sid Vcs-Git: https://anonscm.debian.org/cgit/pkg-lxqt/libfm-qt -b debian/sid
Homepage: https://github.com/lxde/libfm-qt Homepage: https://github.com/lxde/libfm-qt
@ -44,7 +44,6 @@ Breaks: libfm-qt5-dev
Architecture: any Architecture: any
Section: libdevel Section: libdevel
Depends: ${misc:Depends}, Depends: ${misc:Depends},
${shlibs:Depends},
libfm-qt2 (= ${binary:Version}) libfm-qt2 (= ${binary:Version})
Description: file management support library for pcmanfm-qt (development files) Description: file management support library for pcmanfm-qt (development files)
This package contains development files for helper library libfm-qt. This package contains development files for helper library libfm-qt.

8
debian/copyright vendored

@ -3,8 +3,8 @@ Upstream-Name: libfm-qt
Source: https://github.com/lxde/libfm-qt Source: https://github.com/lxde/libfm-qt
Files: * Files: *
Copyright: 2013-2015 LXQt team Copyright: 2013-2016 LXQt team
2013-2015 Hong Jen Yee (PCMan) <pcman.tw@gmail.com> 2013-2016 Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
2012-2013 Andriy Grytsenko (LStranger) <andrej@rep.kiev.ua> 2012-2013 Andriy Grytsenko (LStranger) <andrej@rep.kiev.ua>
2014 Kuzma Shapran <kuzma.shapran@gmail.com> 2014 Kuzma Shapran <kuzma.shapran@gmail.com>
License: LGPL-2.1+ License: LGPL-2.1+
@ -19,8 +19,8 @@ License: BSD-3-Clause
Files: debian/* Files: debian/*
Copyright: 2014-2015 Wen Liao <wen.cf83@gmail.com> Copyright: 2014-2015 Wen Liao <wen.cf83@gmail.com>
2014-2015 ChangZhuo Chen (陳昌倬) <czchen@debian.org> 2014-2016 ChangZhuo Chen (陳昌倬) <czchen@debian.org>
2013-2015 Alf Gaida <agaida@siduction.org> 2013-2016 Alf Gaida <agaida@siduction.org>
2015 Andrew Lee (李健秋) <ajqlee@debian.org> 2015 Andrew Lee (李健秋) <ajqlee@debian.org>
License: LGPL-2.1+ License: LGPL-2.1+

@ -0,0 +1,22 @@
Description: Fix grep usage in LXQtTranslateDesktop
Author: Alf Gaida <agaida@siduction.org>
--- libfm-qt-0.10.0+20151214.orig/cmake/LXQtTranslateDesktop.cmake
+++ libfm-qt-0.10.0+20151214/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 -a -v "'#TRANSLATIONS_DIR='" ${_inFile} > ${_outFile}
+ COMMAND grep -a -h ${_pattern} ${_translations} >> ${_outFile}
COMMENT "Generating ${_fileName}${_fileExt}"
)
else()
add_custom_command(OUTPUT ${_outFile}
- COMMAND grep -v "'#TRANSLATIONS_DIR='" ${_inFile} > ${_outFile}
+ COMMAND grep -a -v "'#TRANSLATIONS_DIR='" ${_inFile} > ${_outFile}
COMMENT "Generating ${_fileName}${_fileExt}"
)
endif()

@ -0,0 +1 @@
fix-grep-usage.patch

4
debian/rules vendored

@ -1,7 +1,9 @@
#!/usr/bin/make -f #!/usr/bin/make -f
#DH_VERBOSE = 1 #DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
%: %:
dh ${@} --buildsystem cmake --parallel dh ${@} --buildsystem cmake \
--parallel

Loading…
Cancel
Save