[SCM] smplayer/master: Add 05-add-debian-hardening-flags.patch
mati75-guest at users.alioth.debian.org
mati75-guest at users.alioth.debian.org
Tue Jul 7 20:10:32 UTC 2015
The following commit has been merged in the master branch:
commit 4a49096ff3e1693cee55f267ef97e6815936bbd5
Author: Mateusz Łukasik <mati75 at linuxmint.pl>
Date: Tue Jul 7 22:09:59 2015 +0200
Add 05-add-debian-hardening-flags.patch
diff --git a/debian/changelog b/debian/changelog
index 796dbfe..1d4bb59 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,20 +10,20 @@ smplayer (14.9.0.6994~ds0-1) UNRELEASED; urgency=medium
- Add 04_update_desktop_launcher.patch for add Unity Launcher
Quicklist and Keywords in desktop file. (LP: #938015)
- Refresh 02-disable_updates.patch.
+ - Add 05-add-debian-hardening-flags.patch to using Debian hardening
+ flags.
* debian/rules:
- Remove /usr/share/doc/smplayer/es/gpl.htm
* Update debian/copyright.
* Add support for mpv: (Closes: #783401)
- debian/control: Add mpv instead of mplayer|mplayer2.
+ * Update debian/repack.local for new upstream version.
+ * Drop depends on mplayer. (Closes: #698506)
[ Alf Gaida ]
* debian/rules:
- Make local rebuilds possible. (Closes: #770382)
- [ Mateusz Łukasik ]
- * Update debian/repack.local for new upstream version.
- * Drop depends on mplayer. (Closes: #698506)
-
-- Mateusz Łukasik <mati75 at linuxmint.pl> Sun, 23 Nov 2014 10:42:51 +0100
smplayer (14.9.0~ds0-1) unstable; urgency=medium
diff --git a/debian/patches/05-add-debian-hardening-flags.patch b/debian/patches/05-add-debian-hardening-flags.patch
new file mode 100644
index 0000000..7f0b83a
--- /dev/null
+++ b/debian/patches/05-add-debian-hardening-flags.patch
@@ -0,0 +1,17 @@
+Description: Add Debian hardening flags to qmake.
+Author: Mateusz Łukasik <mati75 at linuxmint.pl>
+
+--- a/src/smplayer.pro
++++ b/src/smplayer.pro
+@@ -29,6 +29,11 @@ DEFINES += SHAREWIDGET
+ #DEFINES += USE_FONTCONFIG_OPTIONS
+ DEFINES += AUTO_SHUTDOWN_PC
+
++QMAKE_CPPFLAGS *= $(shell dpkg-buildflags --get CPPFLAGS)
++QMAKE_CFLAGS *= $(shell dpkg-buildflags --get CFLAGS)
++QMAKE_CXXFLAGS *= $(shell dpkg-buildflags --get CXXFLAGS)
++QMAKE_LFLAGS *= $(shell dpkg-buildflags --get LDFLAGS)
++
+ isEqual(QT_MAJOR_VERSION, 5) {
+ QT += widgets gui
+ #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x040000
diff --git a/debian/patches/series b/debian/patches/series
index ebb9197..1bb20de 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
02-disable_updates.patch
03-not_define_reminder_actions.patch
04_update_desktop_launcher.patch
+05-add-debian-hardening-flags.patch
--
smplayer packaging
More information about the pkg-multimedia-commits
mailing list