From 49f8fb756278b84770bcaf97833665a76be21665 Mon Sep 17 00:00:00 2001 From: Alf Gaida Date: Thu, 11 Sep 2014 00:42:53 +0200 Subject: [PATCH] initial debian files --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 53 ++++++++++++++++++++++++++++++++++++++++++++ debian/copyright | 46 ++++++++++++++++++++++++++++++++++++++ debian/docs | 1 + debian/postinst | 13 +++++++++++ debian/preinst | 12 ++++++++++ debian/prerm | 13 +++++++++++ debian/rules | 15 +++++++++++++ debian/source/format | 1 + debian/watch | 2 ++ 11 files changed, 162 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/docs create mode 100644 debian/postinst create mode 100644 debian/preinst create mode 100644 debian/prerm create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..53b1076 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +lxqt-session (0.7.96-1) unstable; urgency=low + + * Initial release (Closes: #747608) + + -- Alf Gaida Mon, 24 Feb 2014 23:41:30 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..c838eeb --- /dev/null +++ b/debian/control @@ -0,0 +1,53 @@ +Source: lxqt-session +Section: x11 +Priority: optional +Maintainer: Alf Gaida +Build-Depends: + cmake, + debhelper (>= 9), + libx11-dev, + pkg-config, + liblxqt-qt5-0-dev (>= 0.7.0), + libqt5x11extras5-dev (>= 5.3.1), + libqt5xdg-dev (>= 1.0.0), + qttools5-dev (>= 5.3.1), + qttools5-dev-tools (>= 5.3.1), +Standards-Version: 3.9.5 +Homepage: https://github.com/lxde/lxqt-session +#Vcs-Git: git://anonscm.debian.org/collab-maint/lxqt-session.git +#Vcs-Browser: http://anonscm.debian.org/?p=collab-maint/lxqt-session.git;a=summary + +Package: lxqt-session-qt5 +Provides: x-session-manager +Architecture: any +Breaks: + lxqt-session, +Replaces: + lxqt-session, +Pre-Depends: + lxqt-common-qt5, +Depends: + ${misc:Depends}, + ${shlibs:Depends}, +Description: Session manager component for LXDE-qt (Qt5) + LXDE-qt is an advanced, easy-to-use, and fast desktop environment based on Qt + technologies. It has been tailored for users who value simplicity, speed, and + an intuitive interface. Unlike most desktop environments, LXDE-qt also works + fine with less powerful machines. + . + This package contain the session manager component. + +Package: lxqt-session-qt5-dbg +Architecture: any +Section: debug +Priority: extra +Depends: + ${misc:Depends}, + lxqt-session-qt5 (= ${binary:Version}), +Description: Session manager component for LXDE-qt (Qt4)(debug symbols) + LXDE-qt is an advanced, easy-to-use, and fast desktop environment based on Qt + technologies. It has been tailored for users who value simplicity, speed, and + an intuitive interface. Unlike most desktop environments, LXDE-qt also works + fine with less powerful machines. + . + This package contain the debugging symbols. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..ea0c51f --- /dev/null +++ b/debian/copyright @@ -0,0 +1,46 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: lxqt-session +Source: https://github.com/lxde/lxqt-session + +Files: * +Copyright: 2012-2014 LXQt team + 2010-2012 Razor team +License: GPL-2.0+ and LGPL-2.1+ + +Files: debian/* +Copyright: 2014 Alf Gaida +License: LGPL-2.1+ + +License: GPL-2.0+ + This package 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; either version 2 of the License, or + (at your option) any later version. + . + This package 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. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see + . + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + +License: LGPL-2.1+ + This package 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 package 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. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see . + . + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-2.1". \ No newline at end of file diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..62deb04 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +AUTHORS diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..e82d487 --- /dev/null +++ b/debian/postinst @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +case "$1" in + configure) + update-alternatives --install /usr/bin/x-session-manager \ + x-session-manager /usr/bin/startlxqt 50 + ;; +esac + +#DEBHELPER# + diff --git a/debian/preinst b/debian/preinst new file mode 100644 index 0000000..1130433 --- /dev/null +++ b/debian/preinst @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e + +if [ "$1" = upgrade ]; then + update-alternatives --remove x-window-manager /usr/bin/startlxqt +fi + +#DEBHELPER# + +exit 0 + diff --git a/debian/prerm b/debian/prerm new file mode 100644 index 0000000..72ed38c --- /dev/null +++ b/debian/prerm @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +case "$1" in + remove) + update-alternatives --remove x-session-manager /usr/bin/startlxqt + ;; +esac + +#DEBHELPER# + + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..10ff555 --- /dev/null +++ b/debian/rules @@ -0,0 +1,15 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE=1 +export USE_QT5=1 + + +%: + dh ${@} --buildsystem cmake --parallel + + +override_dh_auto_install: + dh_auto_install -- DESTDIR=$(CURDIR)/debian/lxqt-session-qt5 + +override_dh_strip: + dh_strip --dbg-package=lxqt-session-qt5-dbg diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..899d913 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +https://github.com/lxde/lxqt-session/releases .*/([\d\.]+).tar.gz