summaryrefslogtreecommitdiffstats
path: root/debian/_base
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2026-02-21 01:30:54 +0100
committerSlávek Banko <slavek.banko@axis.cz>2026-02-21 02:45:20 +0100
commit838638ce212ef42998a2b6c54c054f2090fab50b (patch)
tree76ac019ecb9b5a92b4779e79631fc4528d46e5e8 /debian/_base
parenta0a26e2a4e58c76c77dd55aa35890ffb0ac793b7 (diff)
downloadtde-packaging-master.tar.gz
tde-packaging-master.zip
DEB libtqt-perl: Switch to tde-cdbs and changes to silence lintian reports.HEADmaster
+ Switch to tde-cdbs, but with building in the source tree. + Added libcrypt-dev do Build-Depends. + Added overrides for version number and compression. + Removed Replaces and Breaks referring to themselves. + Change the permissions of libraries to 644 before dh_strip. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'debian/_base')
-rw-r--r--debian/_base/libraries/libtqt-perl/debian/changelog11
-rw-r--r--debian/_base/libraries/libtqt-perl/debian/control4
-rw-r--r--debian/_base/libraries/libtqt-perl/debian/copyright5
-rw-r--r--debian/_base/libraries/libtqt-perl/debian/lintian-overrides5
-rwxr-xr-xdebian/_base/libraries/libtqt-perl/debian/rules36
-rw-r--r--debian/_base/libraries/libtqt-perl/debian/source/lintian-overrides12
-rw-r--r--debian/_base/libraries/libtqt-perl/debian/watch2
7 files changed, 40 insertions, 35 deletions
diff --git a/debian/_base/libraries/libtqt-perl/debian/changelog b/debian/_base/libraries/libtqt-perl/debian/changelog
index c5a93479e..358ee407b 100644
--- a/debian/_base/libraries/libtqt-perl/debian/changelog
+++ b/debian/_base/libraries/libtqt-perl/debian/changelog
@@ -1,3 +1,14 @@
+libtqt-perl (4:14.1.6~pre0-0) forky; urgency=low
+
+ * Switch to tde-cdbs, but with building in the source tree.
+ * Added libcrypt-dev do Build-Depends.
+ * Added overrides for version number and compression.
+ * Removed Replaces and Breaks referring to themselves.
+ * Change the permissions of libraries to 644 before dh_strip.
+ * The epoch change is for historical reasons from the KDE3 era.
+
+ -- Slávek Banko <slavek.banko@axis.cz> Fri, 20 Feb 2026 15:23:45 +0100
+
libtqt-perl (3.008-0ubuntu0) maverick; urgency=low
* Absorbed upstream
diff --git a/debian/_base/libraries/libtqt-perl/debian/control b/debian/_base/libraries/libtqt-perl/debian/control
index 534f1d694..7acf59960 100644
--- a/debian/_base/libraries/libtqt-perl/debian/control
+++ b/debian/_base/libraries/libtqt-perl/debian/control
@@ -3,15 +3,13 @@ Section: perl
Priority: optional
Maintainer: TDE Debian Team <team-debian@trinitydesktop.org>
XSBC-Original-Maintainer: Bart Martens <bartm@debian.org>
-Build-Depends: cdbs, debhelper (>= 10~), autotools-dev, libtqt3-mt-dev, perl (>= 5.8.0), automake, autoconf, tdelibs14-trinity-dev, libsmoketqt-trinity-dev, chrpath, libtool (>= 1.5.2)
+Build-Depends: cdbs, tde-cdbs, debhelper (>= 10~), libtqt3-mt-dev, perl (>= 5.8.0), libcrypt-dev, automake, autoconf, tdelibs14-trinity-dev, libsmoketqt-trinity-dev, chrpath, libtool (>= 1.5.2)
Build-Conflicts: libtqt-perl
Standards-Version: 3.8.4
Package: libtqt-perl
Architecture: any
Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends}
-Replaces: libtqt-perl (<< 4:14.0.0~)
-Breaks: libtqt-perl (<< 4:14.0.0~)
Conflicts: libqt-perl
Description: Perl bindings for the TQt library
This module lets you use the TQt library from Perl.
diff --git a/debian/_base/libraries/libtqt-perl/debian/copyright b/debian/_base/libraries/libtqt-perl/debian/copyright
index ae0fd0e46..563b29ce5 100644
--- a/debian/_base/libraries/libtqt-perl/debian/copyright
+++ b/debian/_base/libraries/libtqt-perl/debian/copyright
@@ -16,6 +16,7 @@ Copyright (C) 1997-1999, 2001 Stephan Kulow (coolo@kde.org)
Copyright (c) 2002 Riverbank Computing Limited <info@riverbankcomputing.co.uk>
Copyright (C) 1998-1999 Matthew D. Langston <langston@SLAC.Stanford.EDU>
Copyright (C) 1989-2002 Free Software Foundation, Inc.
+Copyright (C) 2010-2026 TDE Team
License:
@@ -30,9 +31,7 @@ License:
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
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
On Debian systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL'.
-
diff --git a/debian/_base/libraries/libtqt-perl/debian/lintian-overrides b/debian/_base/libraries/libtqt-perl/debian/lintian-overrides
new file mode 100644
index 000000000..44f49e343
--- /dev/null
+++ b/debian/_base/libraries/libtqt-perl/debian/lintian-overrides
@@ -0,0 +1,5 @@
+# We are intentionally installing to /opt, so we have to live with that for now.
+libtqt-perl: custom-library-search-path RUNPATH /opt/trinity/lib [usr/lib/*/perl*/*/auto/TQt/TQt.so]
+
+# We keep it for historical reasons.
+libtqt-perl: unknown-field Original-Maintainer
diff --git a/debian/_base/libraries/libtqt-perl/debian/rules b/debian/_base/libraries/libtqt-perl/debian/rules
index 85d92e923..4ff1e9f75 100755
--- a/debian/_base/libraries/libtqt-perl/debian/rules
+++ b/debian/_base/libraries/libtqt-perl/debian/rules
@@ -1,7 +1,10 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/autotools.mk
+
+override DEB_BUILDDIR := $(DEB_SRCDIR)
+-include /usr/share/cdbs/1/class/tde.mk
+DEB_BUILDDIR := $(DEB_SRCDIR)
SAVERESTORE=\
acinclude.m4 \
@@ -30,35 +33,14 @@ DEB_MAKE_INSTALL_TARGET := install \
prefix=/usr \
DESTDIR=$(CURDIR)/debian/libtqt-perl
-# The default gzip compressor has been changed in dpkg >= 1.17.0.
-deb_default_compress = $(shell LANG=C dpkg-deb --version | head -n1 | \
- sed -e "s|.*version ||" -e "s| .*||" | \
- xargs -r dpkg --compare-versions 1.17.0 lt \
- && echo xz || echo gzip)
-ifeq ($(deb_default_compress),gzip)
-DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
- && echo xz || echo bzip2)
-endif
-
-pre-build:: pre-build-stamp
-
-pre-build-stamp:
- for f in $(SAVERESTORE) ; do [ -e $$f.d-r-orig ] || cp -rp $$f $$f.d-r-orig ; done
- cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
-ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
- cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
-endif
-ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
- cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
-endif
- cp -f /usr/share/misc/config.guess admin/config.guess
- cp -f /usr/share/misc/config.sub admin/config.sub
- make -f admin/Makefile.common
- touch pre-build-stamp
-
build/libtqt-perl::
chrpath -d puic/puic
+binary-install/libtqt-perl::
+ # change library permissions to allow striping
+ find debian/libtqt-perl -name "*.so" -print0 | \
+ xargs -r0 chmod u+w
+
clean::
rm -f PerlTQt/bin/.exists
for f in $(SAVERESTORE) ; do [ ! -e $$f.d-r-orig ] || ( rm -rf $$f && mv $$f.d-r-orig $$f ) ; done
diff --git a/debian/_base/libraries/libtqt-perl/debian/source/lintian-overrides b/debian/_base/libraries/libtqt-perl/debian/source/lintian-overrides
new file mode 100644
index 000000000..1216c11cb
--- /dev/null
+++ b/debian/_base/libraries/libtqt-perl/debian/source/lintian-overrides
@@ -0,0 +1,12 @@
+# We build for many distribution versions and therefore need
+# the distribution version as part of the package version,
+# which is unintentionally understood as NMU.
+libtqt-perl source: source-nmu-has-incorrect-version-number
+libtqt-perl source: binary-nmu-debian-revision-in-source
+libtqt-perl source: no-nmu-in-changelog
+
+# We want XZ regardless of the default compression.
+libtqt-perl source: custom-compression-in-debian-source-options
+
+# We keep it for historical reasons.
+libtqt-perl source: unknown-field Original-Maintainer
diff --git a/debian/_base/libraries/libtqt-perl/debian/watch b/debian/_base/libraries/libtqt-perl/debian/watch
deleted file mode 100644
index 18c470968..000000000
--- a/debian/_base/libraries/libtqt-perl/debian/watch
+++ /dev/null
@@ -1,2 +0,0 @@
-version=3
-http://sf.net/perlqt/PerlTQt-([^b]+)\.tar\.gz