diff --git a/README b/README deleted file mode 100644 index 776cf69..0000000 --- a/README +++ /dev/null @@ -1,20 +0,0 @@ -Debian qterminal package git repositories ------------------------------------------- - -This Git repository contains the following branches: - - * master - This branch contains this README file and is otherwise not used. - - * debian - This branch tracks the Debian unstable distribution and contains - the current state of last released version of the component. - - * pristine-tar - This branch contains the pristine-tar metadata. See pristine-tar(1) - or http://kitenet.net/~joey/code/pristine-tar/ for more information. - - * upstream - This branch contains the upstream releases. - - -- Andrew Lee (李健秋) Thu, 13 Aug 2015 03:14:31 +0800 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..f4e06c4 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +qterminal (0.6.0-1) unstable; urgency=medium + + * Initial release (Closes: #741173) + + -- Alf Gaida Sat, 25 Oct 2014 02:58:06 +0200 diff --git a/debian b/debian/compat similarity index 100% rename from debian rename to debian/compat diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..1aa8aa7 --- /dev/null +++ b/debian/control @@ -0,0 +1,32 @@ +Source: qterminal +Section: x11 +Priority: extra +Maintainer: LXQt Packaging Team +Uploaders: + Alf Gaida , + ChangZhuo Chen (陳昌倬) , + Andrew Lee (李健秋) +Build-Depends: + cmake (>= 3.0.2), + debhelper (>= 9), + libqtermwidget5-0-dev (>= 0.6.0), + libx11-dev, + qtermwidget5-data (>= 0.6.0), + qttools5-dev-tools (>= 5.3), + qttools5-dev (>= 5.3), + qtbase5-private-dev (>= 5.3), + quilt, +Standards-Version: 3.9.6 +Homepage: https://github.com/qterminal/qterminal +Vcs-Git: git://anonscm.debian.org/pkg-lxqt/qterminal.git +Vcs-Browser: http://anonscm.debian.org/cgit/pkg-lxqt/qterminal.git + +Package: qterminal +Architecture: any +Depends: + ${shlibs:Depends}, + ${misc:Depends}, + libqtermwidget5-0, +Replaces: qterminal-qt5 +Description: QT-based multitab terminal emulator + Based on QTermWidget by e_k@users.sourceforge.net diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..6a5b7c8 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,30 @@ +dFormat: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: qterminal +Source: https://github.com/qterminal/qterminal.git + +Files: * +Copyright: 2010-2015 Petr Vanek +License: GPL-2+ + +Files: debian/* +Copyright: 2012-2015 Alf Gaida + 2012 Torsten Wohlfarth +License: GPL-2+ + +License: GPL-2+ + 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". + diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..6f12db5 --- /dev/null +++ b/debian/docs @@ -0,0 +1,2 @@ +AUTHORS +README diff --git a/debian/lintian-overrides b/debian/lintian-overrides new file mode 100644 index 0000000..9bcc1de --- /dev/null +++ b/debian/lintian-overrides @@ -0,0 +1,3 @@ +# no manpage planned right now +qterminal: binary-without-manpage usr/bin/qterminal + diff --git a/debian/postinst b/debian/postinst new file mode 100755 index 0000000..d2eb11d --- /dev/null +++ b/debian/postinst @@ -0,0 +1,28 @@ +#!/bin/sh +# postinst script for qterminal +# +# see: dh_installdeb(1) + +set -e + +case "$1" in + configure) + update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator /usr/bin/qterminal 80 + find /home/*/.config -type f -name qterminal\* -exec mv {} {}.dpkg-old \; || exit 0 + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 diff --git a/debian/prerm b/debian/prerm new file mode 100644 index 0000000..0d4b4a7 --- /dev/null +++ b/debian/prerm @@ -0,0 +1,38 @@ +#!/bin/sh +# postrm script for qterminal +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + update-alternatives --remove x-terminal-emulator /usr/bin/qterminal | exit 0 + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 diff --git a/debian/qterminal.install b/debian/qterminal.install new file mode 100644 index 0000000..eaf72e7 --- /dev/null +++ b/debian/qterminal.install @@ -0,0 +1,2 @@ +usr + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..bee1a56 --- /dev/null +++ b/debian/rules @@ -0,0 +1,32 @@ +#!/usr/bin/make -f +#export DH_VERBOSE=1 + + +%: + dh $@ --buildsystem cmake --parallel --with quilt + + +override_dh_auto_configure: + dh_auto_configure -- -DUSE_QT5=1 -DUSE_SYSTEM_QXT=0 -DBUILD_DESIGNER_PLUGIN=0 + + +maintainer-clean: + $(RM) -r checkout + $(RM) -r backport + $(RM) *.build + $(RM) *.changes + $(RM) *.deb + $(RM) *.dsc + $(RM) *.tar.gz + $(RM) *.upload + +checkout: maintainer-clean + git clone --depth 1 git://github.com/qterminal/qterminal.git checkout; \ + cd checkout; \ + cp -a ../debian .; \ + echo ""; \ + git log -1 | head; \ + echo "" + +backport: checkout + mv checkout backport diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..d3827e7 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +1.0 diff --git a/debian/source/options b/debian/source/options new file mode 100644 index 0000000..391bc1c --- /dev/null +++ b/debian/source/options @@ -0,0 +1,3 @@ +# dont put .xyz in the tarball +tar-ignore=.xyz +tar-ignore=.gitignore \ No newline at end of file