From 11394aecd1f906fee2ebd2b90412aeba4651fbff Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 3 Apr 2019 22:56:40 +0900 Subject: DEB: use _base folder for a distro instead of specific distros (squeeze and maverick). Signed-off-by: Michele Calgaro --- .../dependencies/tqtinterface/debian/changelog | 5 ++ .../_base/dependencies/tqtinterface/debian/compat | 1 + .../_base/dependencies/tqtinterface/debian/control | 58 ++++++++++++++++++++++ .../dependencies/tqtinterface/debian/copyright | 25 ++++++++++ .../dependencies/tqtinterface/debian/doc-base | 0 debian/_base/dependencies/tqtinterface/debian/docs | 0 .../debian/libtqtinterface-dev.install | 2 + .../tqtinterface/debian/libtqtinterface.install | 1 + .../_base/dependencies/tqtinterface/debian/links | 0 .../tqtinterface/debian/patches/series | 0 .../_base/dependencies/tqtinterface/debian/rules | 29 +++++++++++ .../dependencies/tqtinterface/debian/source/format | 1 + .../tqtinterface/debian/source/options | 6 +++ 13 files changed, 128 insertions(+) create mode 100644 debian/_base/dependencies/tqtinterface/debian/changelog create mode 100644 debian/_base/dependencies/tqtinterface/debian/compat create mode 100644 debian/_base/dependencies/tqtinterface/debian/control create mode 100644 debian/_base/dependencies/tqtinterface/debian/copyright create mode 100644 debian/_base/dependencies/tqtinterface/debian/doc-base create mode 100644 debian/_base/dependencies/tqtinterface/debian/docs create mode 100644 debian/_base/dependencies/tqtinterface/debian/libtqtinterface-dev.install create mode 100644 debian/_base/dependencies/tqtinterface/debian/libtqtinterface.install create mode 100644 debian/_base/dependencies/tqtinterface/debian/links create mode 100644 debian/_base/dependencies/tqtinterface/debian/patches/series create mode 100755 debian/_base/dependencies/tqtinterface/debian/rules create mode 100644 debian/_base/dependencies/tqtinterface/debian/source/format create mode 100644 debian/_base/dependencies/tqtinterface/debian/source/options (limited to 'debian/_base/dependencies/tqtinterface/debian') diff --git a/debian/_base/dependencies/tqtinterface/debian/changelog b/debian/_base/dependencies/tqtinterface/debian/changelog new file mode 100644 index 000000000..460ca1061 --- /dev/null +++ b/debian/_base/dependencies/tqtinterface/debian/changelog @@ -0,0 +1,5 @@ +libtqtinterface (4:0.3.0) lucid; urgency=low + + * Initial release of the TQt Interface Library, supporting Qt3 + + -- Timothy Pearson Mon, 12 Jul 2010 03:13:00 -0600 \ No newline at end of file diff --git a/debian/_base/dependencies/tqtinterface/debian/compat b/debian/_base/dependencies/tqtinterface/debian/compat new file mode 100644 index 000000000..7f8f011eb --- /dev/null +++ b/debian/_base/dependencies/tqtinterface/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/_base/dependencies/tqtinterface/debian/control b/debian/_base/dependencies/tqtinterface/debian/control new file mode 100644 index 000000000..d1787eeb6 --- /dev/null +++ b/debian/_base/dependencies/tqtinterface/debian/control @@ -0,0 +1,58 @@ +Source: libtqtinterface +Section: tde +Priority: optional +Maintainer: Timothy Pearson +Build-Depends: debhelper (>= 7.0.50~), quilt, libtqt3-mt-dev, tqt3-apps-dev, cmake, cdbs +Standards-Version: 3.8.4 + +Package: libtqtinterface +Architecture: any +Multi-Arch: same +Section: libs +Replaces: libtqtinterface (<< 4:14.0.0~) +Breaks: libtqtinterface (<< 4:14.0.0~) +Depends: ${shlibs:Depends} +Description: The Trinity Qt Interface Libraries + The Trinity Qt Interface is a library that abstracts Qt from Trinity + This allows the Trinity code to rapidly port from one version of Qt to another. + This is primarily accomplished by defining old functions in terms of new functions, + although some code has been added for useful functions that are no longer part of Qt. + +Package: libtqtinterface-dev +Architecture: any +Multi-Arch: foreign +Section: libs +Replaces: libtqtinterface-dev (<< 4:14.0.0~) +Breaks: libtqtinterface-dev (<< 4:14.0.0~) +Depends: ${shlibs:Depends}, libtqtinterface (>= ${source:Version}), tqt3-apps-dev +Description: The Trinity Qt Interface Libraries (Development Files) + The Trinity Qt Interface is a library that abstracts Qt from Trinity + This allows the Trinity code to rapidly port from one version of Qt to another. + This is primarily accomplished by defining old functions in terms of new functions, + although some code has been added for useful functions that are no longer part of Qt. + +Package: libtqtinterface-doc +Architecture: any +Multi-Arch: foreign +Section: libs +Replaces: libtqtinterface-doc (<< 4:14.0.0~) +Breaks: libtqtinterface-doc (<< 4:14.0.0~) +Depends: ${shlibs:Depends}, libtqtinterface (>= ${source:Version}), tqt3-doc +Description: The Trinity Qt Interface Libraries (Debug Files) + The Trinity Qt Interface is a library that abstracts Qt from Trinity + This allows the Trinity code to rapidly port from one version of Qt to another. + This is primarily accomplished by defining old functions in terms of new functions, + although some code has been added for useful functions that are no longer part of Qt. + +Package: libtqtinterface-dbg +Architecture: any +Multi-Arch: same +Section: libs +Replaces: libtqtinterface-dbg (<< 4:14.0.0~) +Breaks: libtqtinterface-dbg (<< 4:14.0.0~) +Depends: ${shlibs:Depends}, libtqtinterface (>= ${source:Version}), tqt-x11-free-dbg +Description: The Trinity Qt Interface Libraries (Debug Files) + The Trinity Qt Interface is a library that abstracts Qt from Trinity + This allows the Trinity code to rapidly port from one version of Qt to another. + This is primarily accomplished by defining old functions in terms of new functions, + although some code has been added for useful functions that are no longer part of Qt. diff --git a/debian/_base/dependencies/tqtinterface/debian/copyright b/debian/_base/dependencies/tqtinterface/debian/copyright new file mode 100644 index 000000000..978e1bb3e --- /dev/null +++ b/debian/_base/dependencies/tqtinterface/debian/copyright @@ -0,0 +1,25 @@ +This package was debianized by Timothy Pearson on +Mon, 12 Jul 2010 03:58:00 -0600. + +Upstream Authors: Timothy Pearson + +Copyright: + + Copyright (c) 2010, Timothy Pearson + + 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; version 2 dated June, 1991, 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 package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. diff --git a/debian/_base/dependencies/tqtinterface/debian/doc-base b/debian/_base/dependencies/tqtinterface/debian/doc-base new file mode 100644 index 000000000..e69de29bb diff --git a/debian/_base/dependencies/tqtinterface/debian/docs b/debian/_base/dependencies/tqtinterface/debian/docs new file mode 100644 index 000000000..e69de29bb diff --git a/debian/_base/dependencies/tqtinterface/debian/libtqtinterface-dev.install b/debian/_base/dependencies/tqtinterface/debian/libtqtinterface-dev.install new file mode 100644 index 000000000..8b19fb624 --- /dev/null +++ b/debian/_base/dependencies/tqtinterface/debian/libtqtinterface-dev.install @@ -0,0 +1,2 @@ +debian/tmp/usr/include /usr +debian/tmp/usr/bin /usr diff --git a/debian/_base/dependencies/tqtinterface/debian/libtqtinterface.install b/debian/_base/dependencies/tqtinterface/debian/libtqtinterface.install new file mode 100644 index 000000000..f9610d9a2 --- /dev/null +++ b/debian/_base/dependencies/tqtinterface/debian/libtqtinterface.install @@ -0,0 +1 @@ +debian/tmp/usr/lib /usr diff --git a/debian/_base/dependencies/tqtinterface/debian/links b/debian/_base/dependencies/tqtinterface/debian/links new file mode 100644 index 000000000..e69de29bb diff --git a/debian/_base/dependencies/tqtinterface/debian/patches/series b/debian/_base/dependencies/tqtinterface/debian/patches/series new file mode 100644 index 000000000..e69de29bb diff --git a/debian/_base/dependencies/tqtinterface/debian/rules b/debian/_base/dependencies/tqtinterface/debian/rules new file mode 100755 index 000000000..2a8257699 --- /dev/null +++ b/debian/_base/dependencies/tqtinterface/debian/rules @@ -0,0 +1,29 @@ +#! /usr/bin/make -f +# see debian/rules file for tdesvn for cmake examples + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/cmake.mk +#include /usr/share/cdbs/1/rules/patchsys-quilt.mk +include /usr/share/cdbs/1/rules/utils.mk + +DEB_KDE_APIDOX := yes + +version=Debian Package $(DEB_VERSION) +DEB_OPT_FLAG += -DDEBIAN_VERSION=$(DEB_VERSION) +DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) + +DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_INSTALL_PREFIX="/usr" \ + -DCMAKE_VERBOSE_MAKEFILE="ON" \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DBUILD_ALL="ON" \ + -DWITH_QT3="ON" + +DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ + && echo xz || echo bzip2) + +# Honour "parallel=N" option of DEB_BUILD_OPTIONS. Comment out to +# never build in parallel, regardless of DEB_BUILD_OPTIONS. +DEB_BUILD_PARALLEL = true + +DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) diff --git a/debian/_base/dependencies/tqtinterface/debian/source/format b/debian/_base/dependencies/tqtinterface/debian/source/format new file mode 100644 index 000000000..163aaf8d8 --- /dev/null +++ b/debian/_base/dependencies/tqtinterface/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/_base/dependencies/tqtinterface/debian/source/options b/debian/_base/dependencies/tqtinterface/debian/source/options new file mode 100644 index 000000000..72f1f5450 --- /dev/null +++ b/debian/_base/dependencies/tqtinterface/debian/source/options @@ -0,0 +1,6 @@ +# Use xz instead of gzip +compression = "xz" +compression-level = 9 + +# Don't run differences +diff-ignore = .* -- cgit v1.2.3