From 00eca181440878499643c6ead8d2b407e469db45 Mon Sep 17 00:00:00 2001 From: Denis Kozadaev Date: Sun, 25 Aug 2019 21:27:14 +0300 Subject: DilOS: build tqtinterface Signed-off-by: Denis Kozadaev (cherry picked from commit 7b4b015eb070076de28e6a24ba795ad8a9311c20) --- dilos/dependencies/tqtinterface/debian/changelog | 5 ++ dilos/dependencies/tqtinterface/debian/compat | 1 + dilos/dependencies/tqtinterface/debian/control | 58 ++++++++++++++++++++++ dilos/dependencies/tqtinterface/debian/copyright | 25 ++++++++++ dilos/dependencies/tqtinterface/debian/doc-base | 0 dilos/dependencies/tqtinterface/debian/docs | 0 .../debian/libtqtinterface-dev.install | 2 + .../tqtinterface/debian/libtqtinterface.install | 1 + dilos/dependencies/tqtinterface/debian/links | 0 .../tqtinterface/debian/patches/series | 0 dilos/dependencies/tqtinterface/debian/rules | 32 ++++++++++++ .../dependencies/tqtinterface/debian/source/format | 1 + .../tqtinterface/debian/source/options | 6 +++ 13 files changed, 131 insertions(+) create mode 100644 dilos/dependencies/tqtinterface/debian/changelog create mode 100644 dilos/dependencies/tqtinterface/debian/compat create mode 100644 dilos/dependencies/tqtinterface/debian/control create mode 100644 dilos/dependencies/tqtinterface/debian/copyright create mode 100644 dilos/dependencies/tqtinterface/debian/doc-base create mode 100644 dilos/dependencies/tqtinterface/debian/docs create mode 100644 dilos/dependencies/tqtinterface/debian/libtqtinterface-dev.install create mode 100644 dilos/dependencies/tqtinterface/debian/libtqtinterface.install create mode 100644 dilos/dependencies/tqtinterface/debian/links create mode 100644 dilos/dependencies/tqtinterface/debian/patches/series create mode 100755 dilos/dependencies/tqtinterface/debian/rules create mode 100644 dilos/dependencies/tqtinterface/debian/source/format create mode 100644 dilos/dependencies/tqtinterface/debian/source/options diff --git a/dilos/dependencies/tqtinterface/debian/changelog b/dilos/dependencies/tqtinterface/debian/changelog new file mode 100644 index 000000000..460ca1061 --- /dev/null +++ b/dilos/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/dilos/dependencies/tqtinterface/debian/compat b/dilos/dependencies/tqtinterface/debian/compat new file mode 100644 index 000000000..ec635144f --- /dev/null +++ b/dilos/dependencies/tqtinterface/debian/compat @@ -0,0 +1 @@ +9 diff --git a/dilos/dependencies/tqtinterface/debian/control b/dilos/dependencies/tqtinterface/debian/control new file mode 100644 index 000000000..516fbb6e4 --- /dev/null +++ b/dilos/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: linux-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/dilos/dependencies/tqtinterface/debian/copyright b/dilos/dependencies/tqtinterface/debian/copyright new file mode 100644 index 000000000..978e1bb3e --- /dev/null +++ b/dilos/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/dilos/dependencies/tqtinterface/debian/doc-base b/dilos/dependencies/tqtinterface/debian/doc-base new file mode 100644 index 000000000..e69de29bb diff --git a/dilos/dependencies/tqtinterface/debian/docs b/dilos/dependencies/tqtinterface/debian/docs new file mode 100644 index 000000000..e69de29bb diff --git a/dilos/dependencies/tqtinterface/debian/libtqtinterface-dev.install b/dilos/dependencies/tqtinterface/debian/libtqtinterface-dev.install new file mode 100644 index 000000000..8b19fb624 --- /dev/null +++ b/dilos/dependencies/tqtinterface/debian/libtqtinterface-dev.install @@ -0,0 +1,2 @@ +debian/tmp/usr/include /usr +debian/tmp/usr/bin /usr diff --git a/dilos/dependencies/tqtinterface/debian/libtqtinterface.install b/dilos/dependencies/tqtinterface/debian/libtqtinterface.install new file mode 100644 index 000000000..f9610d9a2 --- /dev/null +++ b/dilos/dependencies/tqtinterface/debian/libtqtinterface.install @@ -0,0 +1 @@ +debian/tmp/usr/lib /usr diff --git a/dilos/dependencies/tqtinterface/debian/links b/dilos/dependencies/tqtinterface/debian/links new file mode 100644 index 000000000..e69de29bb diff --git a/dilos/dependencies/tqtinterface/debian/patches/series b/dilos/dependencies/tqtinterface/debian/patches/series new file mode 100644 index 000000000..e69de29bb diff --git a/dilos/dependencies/tqtinterface/debian/rules b/dilos/dependencies/tqtinterface/debian/rules new file mode 100755 index 000000000..86b08430e --- /dev/null +++ b/dilos/dependencies/tqtinterface/debian/rules @@ -0,0 +1,32 @@ +#! /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 := \ + -DPKGCONFIG_INSTALL_DIR="/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig" \ + -DCMAKE_INSTALL_PREFIX="/usr" \ + -DCMAKE_LIBRARY_PATH="/usr/lib/$(DEB_HOST_MULTIARCH)" \ + -DLIB_INSTALL_DIR="/usr/lib/$(DEB_HOST_MULTIARCH)" \ + -DCMAKE_VERBOSE_MAKEFILE="ON" \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DBUILD_ALL="ON" \ + -DCMAKE_C_COMPILER=gcc + +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/dilos/dependencies/tqtinterface/debian/source/format b/dilos/dependencies/tqtinterface/debian/source/format new file mode 100644 index 000000000..163aaf8d8 --- /dev/null +++ b/dilos/dependencies/tqtinterface/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/dilos/dependencies/tqtinterface/debian/source/options b/dilos/dependencies/tqtinterface/debian/source/options new file mode 100644 index 000000000..72f1f5450 --- /dev/null +++ b/dilos/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.1