From db05b142355a5ed39f8585c542558470e92e3ec8 Mon Sep 17 00:00:00 2001 From: Alf Gaida Date: Thu, 13 Aug 2015 03:03:33 +0200 Subject: [PATCH] switch to siduction packaging --- debian/changelog | 4 +- debian/control | 77 ++++++++++++++++++++++++++++++--------- debian/copyright | 38 +++++++++++++++++++ debian/docs | 2 + debian/lximage-qt.install | 1 - debian/rules | 12 ++---- 6 files changed, 105 insertions(+), 29 deletions(-) delete mode 100644 debian/lximage-qt.install diff --git a/debian/changelog b/debian/changelog index f67ec03..4bfdba2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,5 @@ -lximage-qt (0.0.1-1~ppa1) raring; urgency=low +lximage-qt (0.4.0) experimental; urgency=low * Initial release - -- Julien Lavergne Sun, 11 Nov 2012 00:24:51 +0100 + -- Alf Gaida Mon, 24 Feb 2014 23:41:30 +0100 diff --git a/debian/control b/debian/control index 616ef12..4e443bf 100644 --- a/debian/control +++ b/debian/control @@ -1,29 +1,70 @@ Source: lximage-qt Section: x11 Priority: optional -Maintainer: Julien Lavergne -Build-Depends: debhelper (>= 9~) - , cmake - , libqt4-dev - , libx11-dev - , libglib2.0-dev - , libexif-dev - , libfm-qt-dev - , libfm-dev -Standards-Version: 3.9.3 +Maintainer: LXQt Packaging Team +Uploaders: + Alf Gaida , + ChangZhuo Chen (陳昌倬) , +Build-Depends: + cmake (>= 3.0.2), + debhelper (>= 9), + pkg-config, + libx11-dev, + libglib2.0-dev, + libexif-dev, + libfm-dev, + libxfixes-dev, + libfm-qt5-dev (>= 0.9.0), + libqt5x11extras5-dev (>= 5.3), + 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 Package: lximage-qt Architecture: any -Depends: ${shlibs:Depends}, - ${misc:Depends}, -Description: Image viewer in Qt for LXDE - lximage-qt is a simple image viewer in Qt for LXDE. +Breaks:lximage-qt5 (<< 0.4.0) +Replaces: lximage-qt5 (<< 0.4.0) +Depends: + ${misc:Depends}, + ${shlibs:Depends}, +Description: Image viewer for LXQt + lximage-qt is a simple image viewer for LXQt. + . + This package contain the program files. Package: lximage-qt-dbg Architecture: any Section: debug -Depends: lximage-qt (= ${binary:Version}), - ${shlibs:Depends}, - ${misc:Depends} +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}), Description: Debug package for lximage-qt - This package containes debug symbols. + lximage-qt is a simple image viewer for LXQt. + . + This package contain debugging symbols. + +# ---- to be removed in 2016 ---- + +Package: lximage-qt5 +Depends: lximage-qt, ${misc:Depends} +Priority: extra +Section: oldlibs +Architecture: all +Description: lximage-qt transitional package + Empty package to facilitate upgrades, can be safely removed. + +Package: lximage-qt5-dbg +Depends: lximage-qt-dbg, ${misc:Depends} +Priority: extra +Section: oldlibs +Architecture: all +Description: lximage-qt transitional package (dbg) + Empty package to facilitate upgrades, can be safely removed. + diff --git a/debian/copyright b/debian/copyright index e69de29..f16c622 100644 --- a/debian/copyright +++ b/debian/copyright @@ -0,0 +1,38 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: lximage-qt +Source: https://github.com/lxde/lximage-qt + +Files: * +Copyright: 2013-2015 Hong Jen Yee (PCMan) +License: GPL-2.0 and LGPL-2.1+ + +Files: debian/* +Copyright: 2014-2015 Alf Gaida +License: LGPL-2.1+ + +License: LGPL-2.1+ + This program or library is free software; you can redistribute it + and/or modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + . + On Debian systems, the complete text of the GNU Lesser General + Public License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1". + +License: GPL-2.0 + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, version 2 of the License. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in "/usr/share/common-licenses/GPL-2". diff --git a/debian/docs b/debian/docs index e69de29..0b6e0f3 100644 --- a/debian/docs +++ b/debian/docs @@ -0,0 +1,2 @@ +AUTHORS +README.md diff --git a/debian/lximage-qt.install b/debian/lximage-qt.install deleted file mode 100644 index 1b91047..0000000 --- a/debian/lximage-qt.install +++ /dev/null @@ -1 +0,0 @@ -usr/ diff --git a/debian/rules b/debian/rules index d7d0dfe..0239769 100755 --- a/debian/rules +++ b/debian/rules @@ -1,17 +1,13 @@ #!/usr/bin/make -f #export DH_VERBOSE=1 -%: - dh $@ -configure_flags += \ - -DCMAKE_INSTALL_PREFIX="/usr" +%: + dh ${@} --buildsystem cmake --parallel -override_dh_auto_configure: - dh_auto_configure -- $(configure_flags) -override_dh_install: - dh_install --fail-missing +override_dh_auto_install: + dh_auto_install -- DESTDIR=$(CURDIR)/debian/lximage-qt override_dh_strip: dh_strip --dbg-package=lximage-qt-dbg