From 15f6ac5ba9c659512786fec3ceaac0d9554a9615 Mon Sep 17 00:00:00 2001 From: Alf Gaida Date: Fri, 28 Aug 2015 23:52:40 +0200 Subject: [PATCH] set linker flags in rules -Wl,--as-needed clean up control watchfile fixed --- debian/changelog | 2 +- debian/control | 55 ++++++++++++++++++++---------------------------- debian/rules | 2 ++ debian/watch | 2 ++ 4 files changed, 28 insertions(+), 33 deletions(-) diff --git a/debian/changelog b/debian/changelog index d23bfe6..6e01855 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -lximage-qt (0.4.0-1) experimental; urgency=low +lximage-qt (0.4.0-1) unstable; urgency=low * Initial release diff --git a/debian/control b/debian/control index 44796a3..6544a62 100644 --- a/debian/control +++ b/debian/control @@ -1,36 +1,31 @@ Source: lximage-qt +Maintainer: LXQt Packaging Team +Uploaders: Alf Gaida , + ChangZhuo Chen (陳昌倬) , + Andrew Lee (李健秋) Section: x11 Priority: optional -Maintainer: LXQt Packaging Team -Uploaders: - Alf Gaida , - ChangZhuo Chen (陳昌倬) , - Andrew Lee (李健秋) -Build-Depends: - cmake (>= 3.0.2), - debhelper (>= 9), - libexif-dev, - libglib2.0-dev, - libfm-dev, - libfm-qt5-dev (>= 0.9.0), - libqt5x11extras5-dev (>= 5.3), - libx11-dev, - libxfixes-dev, - pkg-config, - qttools5-dev (>= 5.3), - qttools5-dev-tools (>= 5.3), +Build-Depends: debhelper (>= 9), + cmake (>= 3.0.2), + libexif-dev, + libglib2.0-dev, + libfm-dev, + libfm-qt5-dev (>= 0.9.0), + libqt5x11extras5-dev (>= 5.3), + libx11-dev, + libxfixes-dev, + pkg-config, + qttools5-dev (>= 5.3), + qttools5-dev-tools (>= 5.3), Standards-Version: 3.9.6 -Homepage: https://github.com/lxde/lximage-qt -Vcs-Git: git://anonscm.debian.org/pkg-lxqt/lximage-qt.git Vcs-Browser: http://anonscm.debian.org/cgit/pkg-lxqt/lximage-qt.git +Vcs-Git: git://anonscm.debian.org/pkg-lxqt/lximage-qt.git +Homepage: https://github.com/lxde/lximage-qt Package: lximage-qt Architecture: any -Breaks:lximage-qt5 (<< 0.4.0) -Replaces: lximage-qt5 (<< 0.4.0) -Depends: - ${misc:Depends}, - ${shlibs:Depends}, +Depends: ${misc:Depends}, + ${shlibs:Depends}, Description: Image viewer for LXQt lximage-qt is a simple image viewer for LXQt. . @@ -40,14 +35,10 @@ Package: lximage-qt-dbg Architecture: any Section: debug Priority: extra -Breaks: lximage-qt5-dbg (<< 0.4.0) -Replaces: lximage-qt5-dbg (<< 0.4.0) -Depends: - ${shlibs:Depends}, - ${misc:Depends}, - lximage-qt (= ${binary:Version}), +Depends: ${shlibs:Depends}, + ${misc:Depends}, + lximage-qt (= ${binary:Version}), Description: Debug package for lximage-qt lximage-qt is a simple image viewer for LXQt. . This package contain debugging symbols. - diff --git a/debian/rules b/debian/rules index 68650a6..13deda3 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,8 @@ #!/usr/bin/make -f #export DH_VERBOSE=1 +export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed + %: dh ${@} --buildsystem cmake --parallel diff --git a/debian/watch b/debian/watch index e69de29..2ba240a 100644 --- a/debian/watch +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +https://github.com/lxde/lximage-qt/releases .*/([\d\.]+).tar.gz