summaryrefslogtreecommitdiffstats
path: root/debian/_base/applications/utilities
diff options
context:
space:
mode:
Diffstat (limited to 'debian/_base/applications/utilities')
-rw-r--r--debian/_base/applications/utilities/abakus/debian/abakus-trinity.menu6
-rw-r--r--debian/_base/applications/utilities/abakus/debian/cdbs/debian-tde.mk251
-rw-r--r--debian/_base/applications/utilities/abakus/debian/cdbs/versions.pl19
-rw-r--r--debian/_base/applications/utilities/abakus/debian/changelog102
-rw-r--r--debian/_base/applications/utilities/abakus/debian/compat1
-rw-r--r--debian/_base/applications/utilities/abakus/debian/control21
-rw-r--r--debian/_base/applications/utilities/abakus/debian/copyright20
-rw-r--r--debian/_base/applications/utilities/abakus/debian/docs1
-rw-r--r--debian/_base/applications/utilities/abakus/debian/patches/series0
-rwxr-xr-xdebian/_base/applications/utilities/abakus/debian/rules45
-rw-r--r--debian/_base/applications/utilities/abakus/debian/source/format1
-rw-r--r--debian/_base/applications/utilities/abakus/debian/source/options6
-rw-r--r--debian/_base/applications/utilities/filelight/debian/cdbs/debian-tde.mk251
-rw-r--r--debian/_base/applications/utilities/filelight/debian/cdbs/versions.pl19
-rw-r--r--debian/_base/applications/utilities/filelight/debian/changelog197
-rw-r--r--debian/_base/applications/utilities/filelight/debian/compat1
-rw-r--r--debian/_base/applications/utilities/filelight/debian/control22
-rw-r--r--debian/_base/applications/utilities/filelight/debian/copyright42
-rw-r--r--debian/_base/applications/utilities/filelight/debian/docs3
-rw-r--r--debian/_base/applications/utilities/filelight/debian/menu6
-rw-r--r--debian/_base/applications/utilities/filelight/debian/patches/series0
-rwxr-xr-xdebian/_base/applications/utilities/filelight/debian/rules28
-rw-r--r--debian/_base/applications/utilities/filelight/debian/source/format1
-rw-r--r--debian/_base/applications/utilities/filelight/debian/source/options6
-rw-r--r--debian/_base/applications/utilities/kbarcode/debian/README.Debian107
-rw-r--r--debian/_base/applications/utilities/kbarcode/debian/cdbs/debian-tde.mk251
-rw-r--r--debian/_base/applications/utilities/kbarcode/debian/cdbs/versions.pl19
-rw-r--r--debian/_base/applications/utilities/kbarcode/debian/changelog163
-rw-r--r--debian/_base/applications/utilities/kbarcode/debian/compat1
-rw-r--r--debian/_base/applications/utilities/kbarcode/debian/control35
-rw-r--r--debian/_base/applications/utilities/kbarcode/debian/copyright75
-rw-r--r--debian/_base/applications/utilities/kbarcode/debian/docs3
-rw-r--r--debian/_base/applications/utilities/kbarcode/debian/menu6
-rw-r--r--debian/_base/applications/utilities/kbarcode/debian/patches/.gitignore0
-rwxr-xr-xdebian/_base/applications/utilities/kbarcode/debian/rules17
-rw-r--r--debian/_base/applications/utilities/kbarcode/debian/source/format1
-rw-r--r--debian/_base/applications/utilities/kbarcode/debian/source/options6
-rw-r--r--debian/_base/applications/utilities/kchmviewer/debian/cdbs/debian-tde.mk251
-rw-r--r--debian/_base/applications/utilities/kchmviewer/debian/cdbs/versions.pl19
-rw-r--r--debian/_base/applications/utilities/kchmviewer/debian/changelog125
-rw-r--r--debian/_base/applications/utilities/kchmviewer/debian/compat1
-rw-r--r--debian/_base/applications/utilities/kchmviewer/debian/control35
-rw-r--r--debian/_base/applications/utilities/kchmviewer/debian/copyright26
-rw-r--r--debian/_base/applications/utilities/kchmviewer/debian/dirs2
-rw-r--r--debian/_base/applications/utilities/kchmviewer/debian/docs3
-rw-r--r--debian/_base/applications/utilities/kchmviewer/debian/kchmviewer-trinity.menu2
-rw-r--r--debian/_base/applications/utilities/kchmviewer/debian/patches/.gitignore0
-rwxr-xr-xdebian/_base/applications/utilities/kchmviewer/debian/rules17
-rw-r--r--debian/_base/applications/utilities/kchmviewer/debian/source/format1
-rw-r--r--debian/_base/applications/utilities/kchmviewer/debian/source/options6
-rw-r--r--debian/_base/applications/utilities/kcpuload/debian/cdbs/debian-tde.mk251
-rw-r--r--debian/_base/applications/utilities/kcpuload/debian/cdbs/versions.pl19
-rw-r--r--debian/_base/applications/utilities/kcpuload/debian/changelog251
-rw-r--r--debian/_base/applications/utilities/kcpuload/debian/compat1
-rw-r--r--debian/_base/applications/utilities/kcpuload/debian/control22
-rw-r--r--debian/_base/applications/utilities/kcpuload/debian/copyright28
-rw-r--r--debian/_base/applications/utilities/kcpuload/debian/doc-base11
-rw-r--r--debian/_base/applications/utilities/kcpuload/debian/docs3
-rw-r--r--debian/_base/applications/utilities/kcpuload/debian/kcpuload-trinity.install1
-rw-r--r--debian/_base/applications/utilities/kcpuload/debian/kcpuload-trinity.lintian2
-rw-r--r--debian/_base/applications/utilities/kcpuload/debian/kcpuload.xpm125
-rw-r--r--debian/_base/applications/utilities/kcpuload/debian/links0
-rw-r--r--debian/_base/applications/utilities/kcpuload/debian/menu7
-rwxr-xr-xdebian/_base/applications/utilities/kcpuload/debian/rules19
-rw-r--r--debian/_base/applications/utilities/kcpuload/debian/source/format1
-rw-r--r--debian/_base/applications/utilities/kcpuload/debian/source/options6
-rw-r--r--debian/_base/applications/utilities/kdirstat/debian/cdbs/debian-tde.mk251
-rw-r--r--debian/_base/applications/utilities/kdirstat/debian/cdbs/versions.pl19
-rw-r--r--debian/_base/applications/utilities/kdirstat/debian/changelog118
-rw-r--r--debian/_base/applications/utilities/kdirstat/debian/compat1
-rw-r--r--debian/_base/applications/utilities/kdirstat/debian/control22
-rw-r--r--debian/_base/applications/utilities/kdirstat/debian/copyright19
-rw-r--r--debian/_base/applications/utilities/kdirstat/debian/docs4
-rw-r--r--debian/_base/applications/utilities/kdirstat/debian/patches/series0
-rwxr-xr-xdebian/_base/applications/utilities/kdirstat/debian/rules17
-rw-r--r--debian/_base/applications/utilities/kdirstat/debian/source/format1
-rw-r--r--debian/_base/applications/utilities/kdirstat/debian/source/options6
-rw-r--r--debian/_base/applications/utilities/keep/debian/cdbs/debian-tde.mk251
-rw-r--r--debian/_base/applications/utilities/keep/debian/cdbs/versions.pl19
-rw-r--r--debian/_base/applications/utilities/keep/debian/changelog82
-rw-r--r--debian/_base/applications/utilities/keep/debian/compat1
-rw-r--r--debian/_base/applications/utilities/keep/debian/control19
-rw-r--r--debian/_base/applications/utilities/keep/debian/copyright33
-rw-r--r--debian/_base/applications/utilities/keep/debian/docs3
-rw-r--r--debian/_base/applications/utilities/keep/debian/patches/series0
-rwxr-xr-xdebian/_base/applications/utilities/keep/debian/rules17
-rw-r--r--debian/_base/applications/utilities/keep/debian/source/format1
-rw-r--r--debian/_base/applications/utilities/keep/debian/source/options6
-rw-r--r--debian/_base/applications/utilities/knutclient/debian/cdbs/debian-tde.mk251
-rw-r--r--debian/_base/applications/utilities/knutclient/debian/cdbs/versions.pl19
-rw-r--r--debian/_base/applications/utilities/knutclient/debian/changelog242
-rw-r--r--debian/_base/applications/utilities/knutclient/debian/compat1
-rw-r--r--debian/_base/applications/utilities/knutclient/debian/control19
-rw-r--r--debian/_base/applications/utilities/knutclient/debian/copyright15
-rw-r--r--debian/_base/applications/utilities/knutclient/debian/docs2
-rw-r--r--debian/_base/applications/utilities/knutclient/debian/knutclient-trinity.menu7
-rwxr-xr-xdebian/_base/applications/utilities/knutclient/debian/rules17
-rw-r--r--debian/_base/applications/utilities/knutclient/debian/source/format1
-rw-r--r--debian/_base/applications/utilities/knutclient/debian/source/options6
-rw-r--r--debian/_base/applications/utilities/kommando/debian/cdbs/debian-tde.mk251
-rw-r--r--debian/_base/applications/utilities/kommando/debian/cdbs/versions.pl19
-rw-r--r--debian/_base/applications/utilities/kommando/debian/changelog67
-rw-r--r--debian/_base/applications/utilities/kommando/debian/compat1
-rw-r--r--debian/_base/applications/utilities/kommando/debian/control15
-rw-r--r--debian/_base/applications/utilities/kommando/debian/copyright39
-rw-r--r--debian/_base/applications/utilities/kommando/debian/docs3
-rw-r--r--debian/_base/applications/utilities/kommando/debian/patches/series0
-rwxr-xr-xdebian/_base/applications/utilities/kommando/debian/rules17
-rw-r--r--debian/_base/applications/utilities/kommando/debian/source/format1
-rw-r--r--debian/_base/applications/utilities/kommando/debian/source/options6
-rw-r--r--debian/_base/applications/utilities/kompose/debian/cdbs/debian-tde.mk251
-rw-r--r--debian/_base/applications/utilities/kompose/debian/cdbs/versions.pl19
-rw-r--r--debian/_base/applications/utilities/kompose/debian/changelog139
-rw-r--r--debian/_base/applications/utilities/kompose/debian/compat1
-rw-r--r--debian/_base/applications/utilities/kompose/debian/control18
-rw-r--r--debian/_base/applications/utilities/kompose/debian/copyright35
-rw-r--r--debian/_base/applications/utilities/kompose/debian/docs2
-rw-r--r--debian/_base/applications/utilities/kompose/debian/kompose-trinity.menu5
-rw-r--r--debian/_base/applications/utilities/kompose/debian/patches/series0
-rwxr-xr-xdebian/_base/applications/utilities/kompose/debian/rules17
-rw-r--r--debian/_base/applications/utilities/kompose/debian/source/format1
-rw-r--r--debian/_base/applications/utilities/kompose/debian/source/options6
-rw-r--r--debian/_base/applications/utilities/krename/debian/cdbs/debian-tde.mk251
-rw-r--r--debian/_base/applications/utilities/krename/debian/cdbs/versions.pl19
-rw-r--r--debian/_base/applications/utilities/krename/debian/changelog129
-rw-r--r--debian/_base/applications/utilities/krename/debian/compat1
-rw-r--r--debian/_base/applications/utilities/krename/debian/control20
-rw-r--r--debian/_base/applications/utilities/krename/debian/copyright34
-rw-r--r--debian/_base/applications/utilities/krename/debian/docs3
-rw-r--r--debian/_base/applications/utilities/krename/debian/patches/series0
-rwxr-xr-xdebian/_base/applications/utilities/krename/debian/rules17
-rw-r--r--debian/_base/applications/utilities/krename/debian/source/format1
-rw-r--r--debian/_base/applications/utilities/krename/debian/source/options6
-rw-r--r--debian/_base/applications/utilities/ksensors/debian/cdbs/debian-tde.mk251
-rw-r--r--debian/_base/applications/utilities/ksensors/debian/cdbs/versions.pl19
-rw-r--r--debian/_base/applications/utilities/ksensors/debian/changelog442
-rw-r--r--debian/_base/applications/utilities/ksensors/debian/compat1
-rw-r--r--debian/_base/applications/utilities/ksensors/debian/control18
-rw-r--r--debian/_base/applications/utilities/ksensors/debian/copyright16
-rw-r--r--debian/_base/applications/utilities/ksensors/debian/dirs2
-rw-r--r--debian/_base/applications/utilities/ksensors/debian/docs3
-rw-r--r--debian/_base/applications/utilities/ksensors/debian/ksensors-trinity.menu7
-rw-r--r--debian/_base/applications/utilities/ksensors/debian/patches/series0
-rwxr-xr-xdebian/_base/applications/utilities/ksensors/debian/rules21
-rw-r--r--debian/_base/applications/utilities/ksensors/debian/source/format1
-rw-r--r--debian/_base/applications/utilities/ksensors/debian/source/options6
-rw-r--r--debian/_base/applications/utilities/mathemagics/debian/cdbs/debian-tde.mk251
-rw-r--r--debian/_base/applications/utilities/mathemagics/debian/cdbs/versions.pl19
-rw-r--r--debian/_base/applications/utilities/mathemagics/debian/changelog5
-rw-r--r--debian/_base/applications/utilities/mathemagics/debian/compat1
-rw-r--r--debian/_base/applications/utilities/mathemagics/debian/control14
-rw-r--r--debian/_base/applications/utilities/mathemagics/debian/copyright12
-rw-r--r--debian/_base/applications/utilities/mathemagics/debian/docs2
-rw-r--r--debian/_base/applications/utilities/mathemagics/debian/patches/series0
-rwxr-xr-xdebian/_base/applications/utilities/mathemagics/debian/rules17
-rw-r--r--debian/_base/applications/utilities/mathemagics/debian/source/format1
-rw-r--r--debian/_base/applications/utilities/mathemagics/debian/source/options6
-rw-r--r--debian/_base/applications/utilities/qalculate-tde/debian/cdbs/debian-tde.mk251
-rw-r--r--debian/_base/applications/utilities/qalculate-tde/debian/cdbs/versions.pl19
-rw-r--r--debian/_base/applications/utilities/qalculate-tde/debian/changelog276
-rw-r--r--debian/_base/applications/utilities/qalculate-tde/debian/compat1
-rw-r--r--debian/_base/applications/utilities/qalculate-tde/debian/control20
-rw-r--r--debian/_base/applications/utilities/qalculate-tde/debian/copyright24
-rw-r--r--debian/_base/applications/utilities/qalculate-tde/debian/docs2
-rw-r--r--debian/_base/applications/utilities/qalculate-tde/debian/patches/series0
-rw-r--r--debian/_base/applications/utilities/qalculate-tde/debian/qalculate-trinity.menu5
-rw-r--r--debian/_base/applications/utilities/qalculate-tde/debian/qalculate-trinity.postinst8
-rw-r--r--debian/_base/applications/utilities/qalculate-tde/debian/qalculate-trinity.prerm7
-rwxr-xr-xdebian/_base/applications/utilities/qalculate-tde/debian/rules17
-rw-r--r--debian/_base/applications/utilities/qalculate-tde/debian/source/format1
-rw-r--r--debian/_base/applications/utilities/qalculate-tde/debian/source/options6
171 files changed, 7584 insertions, 0 deletions
diff --git a/debian/_base/applications/utilities/abakus/debian/abakus-trinity.menu b/debian/_base/applications/utilities/abakus/debian/abakus-trinity.menu
new file mode 100644
index 000000000..8c20bfd19
--- /dev/null
+++ b/debian/_base/applications/utilities/abakus/debian/abakus-trinity.menu
@@ -0,0 +1,6 @@
+?package(abakus-trinity):needs="X11"\
+ section="Apps/Math"\
+ title="AbaKus"\
+ command="/opt/trinity/bin/abakus"\
+ hints="TDE"\
+ icon="/opt/trinity/share/pixmaps/abakus.xpm"
diff --git a/debian/_base/applications/utilities/abakus/debian/cdbs/debian-tde.mk b/debian/_base/applications/utilities/abakus/debian/cdbs/debian-tde.mk
new file mode 100644
index 000000000..aba508624
--- /dev/null
+++ b/debian/_base/applications/utilities/abakus/debian/cdbs/debian-tde.mk
@@ -0,0 +1,251 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2003 Christopher L Cheney <ccheney@debian.org>
+# Copyright © 2019 TDE Team
+# Description: A class for TDE packages; sets TDE environment variables, etc
+#
+# This program 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, or (at
+# your option) any later version.
+#
+# This program 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, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+ifndef _cdbs_bootstrap
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+endif
+
+ifndef _cdbs_class_debian-qt-kde
+_cdbs_class_debian-qt-kde := 1
+
+# for dh_icons
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), debhelper (>= 5.0.7ubuntu4)
+
+# Note: This _must_ be included before autotools.mk, or it won't work.
+common-configure-arch common-configure-indep:: debian/stamp-cvs-make
+debian/stamp-cvs-make:
+ifndef _cdbs_class_cmake
+ cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
+ $(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
+endif
+ touch debian/stamp-cvs-make
+
+include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
+
+ifdef _cdbs_tarball_dir
+DEB_BUILDDIR = $(_cdbs_tarball_dir)/obj-$(DEB_BUILD_GNU_TYPE)
+else
+DEB_BUILDDIR = obj-$(DEB_BUILD_GNU_TYPE)
+endif
+
+ifndef _cdbs_class_cmake
+include $(_cdbs_class_path)/autotools.mk$(_cdbs_makefile_suffix)
+endif
+
+ifdef _cdbs_class_cmake
+ifneq "$(wildcard /usr/bin/ninja)" ""
+MAKE = ninja -v
+DEB_MAKE_ENVVARS += DESTDIR=$(DEB_DESTDIR)
+DEB_MAKE_INSTALL_TARGET = install
+DEB_CMAKE_NORMAL_ARGS += -GNinja
+endif
+endif
+
+ifndef _cdbs_rules_patchsys_quilt
+DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
+
+export kde_cgidir = \$${libdir}/cgi-bin
+export kde_confdir = \$${sysconfdir}/trinity
+export kde_htmldir = \$${datadir}/doc/tde/HTML
+
+DEB_KDE_ENABLE_FINAL := yes
+DEB_INSTALL_DOCS_ALL :=
+
+DEB_DH_MAKESHLIBS_ARGS_ALL := -V
+DEB_SHLIBDEPS_INCLUDE = $(foreach p,$(PACKAGES_WITH_LIBS),debian/$(p)/usr/lib)
+
+DEB_AC_AUX_DIR = $(DEB_SRCDIR)/admin
+DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include"
+DEB_COMPRESS_EXCLUDE_ALL += .dcl .docbook -license .tag .sty .el
+
+# 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
+
+ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ cdbs_treat_me_gently_arches := arm m68k alpha ppc64 armel armeb
+ ifeq (,$(filter $(DEB_HOST_ARCH_CPU),$(cdbs_treat_me_gently_arches)))
+ cdbs_kde_enable_final = $(if $(DEB_KDE_ENABLE_FINAL),--enable-final,)
+ else
+ cdbs_kde_enable_final =
+ endif
+endif
+
+ifneq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_final =
+ cdbs_kde_enable_debug = --enable-debug=yes
+else
+ cdbs_kde_enable_debug = --disable-debug
+endif
+
+ifneq (,$(filter debug,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_debug = --enable-debug=full
+endif
+
+DEB_BUILD_PARALLEL ?= true
+
+cdbs_configure_flags += \
+ --with-qt-dir=/usr/share/qt3 \
+ --disable-rpath \
+ --with-xinerama \
+ $(cdbs_kde_enable_final) \
+ $(cdbs_kde_enable_debug)
+
+
+# This is a convenience target for calling manually.
+# It's not part of the build process.
+buildprep: clean apply-patches
+ifndef _cdbs_class_cmake
+ $(MAKE) -f admin/Makefile.common dist
+endif
+ debian/rules clean
+
+.tdepkginfo:
+ echo "# TDE package information" >.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Source: |Name: |p" >>.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Version: |Version: |p" >>.tdepkginfo
+ date +"DateTime: %m/%d/%Y %H:%M" -u -d "$$(dpkg-parsechangelog | sed -n 's|^Date: ||p')" >>.tdepkginfo
+
+post-patches:: .tdepkginfo
+
+common-build-arch:: debian/stamp-man-pages
+debian/stamp-man-pages:
+ if ! test -d debian/man/out; then mkdir -p debian/man/out; fi
+ for f in $$(find debian/man -name '*.sgml'); do \
+ docbook-to-man $$f > debian/man/out/`basename $$f .sgml`.1; \
+ done
+ for f in $$(find debian/man -name '*.man'); do \
+ soelim -I debian/man $$f \
+ > debian/man/out/`basename $$f .man`.`head -n1 $$f | awk '{print $$NF}'`; \
+ done
+ touch debian/stamp-man-pages
+
+common-binary-indep::
+ ( set -e; \
+ tmpf=`mktemp debian/versions.XXXXXX`; \
+ perl debian/cdbs/versions.pl >$$tmpf; \
+ for p in $(DEB_INDEP_PACKAGES); do \
+ cat $$tmpf >>debian/$$p.substvars; \
+ done; \
+ rm -f $$tmpf )
+
+common-binary-arch::
+ ( set -e; \
+ tmpf=`mktemp debian/versions.XXXXXX`; \
+ perl debian/cdbs/versions.pl >$$tmpf; \
+ for p in $(DEB_ARCH_PACKAGES); do \
+ cat $$tmpf >>debian/$$p.substvars; \
+ done; \
+ rm -f $$tmpf )
+ # update multi-arch path in install files
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
+ [ -d $$a ] || [ -f $$a.arch ] || \
+ ! grep -q "\$$(DEB_HOST_MULTIARCH)" $$a || \
+ sed -i.arch "s|\$$(DEB_HOST_MULTIARCH)|$(DEB_HOST_MULTIARCH)|g" $$a; \
+ done
+
+clean::
+ rm -rf debian/man/out
+ -rmdir debian/man
+ rm -f debian/stamp-man-pages
+ rm -rf debian/shlibs-check
+ # revert multi-arch path in install files
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
+ [ ! -f $$a.arch ] || \
+ mv $$a.arch $$a; \
+ done
+
+$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
+ if test -x /usr/bin/dh_icons; then dh_icons -p$(cdbs_curpkg) $(DEB_DH_ICONCACHE_ARGS); fi
+ if test -x /usr/bin/dh_desktop; then dh_desktop -p$(cdbs_curpkg) $(DEB_DH_DESKTOP_ARGS); fi
+ if test -e debian/$(cdbs_curpkg).lintian; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).lintian \
+ debian/$(cdbs_curpkg)/usr/share/lintian/overrides/$(cdbs_curpkg); \
+ fi
+ if test -e debian/$(cdbs_curpkg).presubj; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).presubj \
+ debian/$(cdbs_curpkg)/usr/share/bug/$(cdbs_curpkg)/presubj; \
+ fi
+ if test -d debian/$(cdbs_curpkg)/opt/trinity/lib && \
+ test $$(find debian/$(cdbs_curpkg)/opt/trinity/lib -name "*.so" | wc -l) -gt 0; then \
+ echo "# Triggers added by cdbs/debian-tde.mk" >> debian/.debhelper/generated/$(cdbs_curpkg)/triggers; \
+ echo "activate-noawait ldconfig" >> debian/.debhelper/generated/$(cdbs_curpkg)/triggers; \
+ fi
+
+binary-install/$(DEB_SOURCE_PACKAGE)-doc-html::
+ set -e; \
+ for doc in `cd $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en; find . -name index.docbook`; do \
+ pkg=$${doc%/index.docbook}; pkg=$${pkg#./}; \
+ echo Building $$pkg HTML docs...; \
+ mkdir -p $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ cd $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ /opt/trinity/bin/meinproc $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en/$$pkg/index.docbook; \
+ done
+ for pkg in $(DOC_HTML_PRUNE) ; do \
+ rm -rf debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ done
+
+common-build-indep:: debian/stamp-kde-apidox
+debian/stamp-kde-apidox:
+ $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) apidox)
+ touch $@
+
+common-install-indep:: common-install-kde-apidox
+common-install-kde-apidox::
+ $(if $(DEB_KDE_APIDOX),+DESTDIR=$(DEB_DESTDIR) $(DEB_MAKE_INVOKE) install-apidox)
+
+cleanbuilddir::
+ -$(if $(call cdbs_streq,$(DEB_BUILDDIR),$(DEB_SRCDIR)),,rm -rf $(DEB_BUILDDIR))
+
+clean::
+ifndef _cdbs_class_cmake
+ if test -n "$(DEB_KDE_CVS_MAKE)" && test -d $(DEB_SRCDIR); then \
+ cd $(DEB_SRCDIR); \
+ find . -name Makefile.in -print | \
+ xargs --no-run-if-empty rm -f; \
+ rm -f Makefile.am acinclude.m4 aclocal.m4 config.h.in \
+ configure configure.files configure.in stamp-h.in \
+ subdirs; \
+ fi
+endif
+ rm -f .tdepkginfo
+ rm -f debian/stamp-kde-apidox
+ rm -f debian/stamp-cvs-make
+
+endif
diff --git a/debian/_base/applications/utilities/abakus/debian/cdbs/versions.pl b/debian/_base/applications/utilities/abakus/debian/cdbs/versions.pl
new file mode 100644
index 000000000..1b110f7af
--- /dev/null
+++ b/debian/_base/applications/utilities/abakus/debian/cdbs/versions.pl
@@ -0,0 +1,19 @@
+#!/usr/bin/env perl
+
+use strict;
+use warnings;
+
+my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`;
+my ($version3, $version3_next);
+my ($version2, $version2_next);
+
+($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/;
+($version2 = $version3) =~ s/\.[^.]+$//;
+
+($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e;
+($version2_next = $version2) =~ s/(?<=\.)(\d+)$/($1+1)/e;
+
+print "TDE-Version3=$version3\n";
+print "TDE-Version2=$version2\n";
+print "TDE-Next-Version3=$version3_next\n";
+print "TDE-Next-Version2=$version2_next\n";
diff --git a/debian/_base/applications/utilities/abakus/debian/changelog b/debian/_base/applications/utilities/abakus/debian/changelog
new file mode 100644
index 000000000..4bca3dc33
--- /dev/null
+++ b/debian/_base/applications/utilities/abakus/debian/changelog
@@ -0,0 +1,102 @@
+abakus-trinity (0.91-0ubuntu3) karmic; urgency=low
+
+ * Karmic rebuild
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 02 Jul 2009 16:08:00 -0600
+
+abakus-trinity (0.91-0ubuntu2) intrepid; urgency=low
+
+ * Moved Trinity to /opt/trinity
+ * Integrated properly with KDE4.2+
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Wed, 03 March 2009 23:58:00 -0600
+
+abakus-trinity (0.91-0ubuntu1) intrepid; urgency=low
+
+ * Added -trinity suffix
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Sat, 13 Dec 2008 16:32:00 -0600
+
+abakus (0.91-1ubuntu3) hardy; urgency=low
+
+ * Fix FTBFS: Replace previously added dh_iconcache call to use
+ the new dh_icons command which replaced it (LP: #159334).
+
+ -- Siegfried-Angel Gevatter Pujals (RainCT) <rainct@ubuntu.com> Sun, 02 Mar 2008 20:56:10 +0100
+
+abakus (0.91-1ubuntu2) gutsy; urgency=low
+
+ * Update maintainer fields according to debian-maintainer-field spec.
+
+ -- Martin Pitt <martin.pitt@ubuntu.com> Fri, 14 Sep 2007 16:43:55 +0200
+
+abakus (0.91-1ubuntu1) edgy; urgency=low
+
+ * Re-merge with Debian
+
+ -- Barry deFreese <bddebian@comcast.net> Thu, 24 Aug 2006 21:24:20 -0400
+
+abakus (0.91-1) unstable; urgency=low
+
+ * New upstream release
+ * Adjust the clean target
+ * Add build-dependencies against bison and flex
+ * Bump standards version
+ * Upload sponsored by Petter Reinholdtsen
+
+ -- Steffen Joeris <steffen.joeris@skolelinux.de> Mon, 21 Aug 2006 21:15:58 +1000
+
+abakus (0.90-6ubuntu1) dapper; urgency=low
+
+ * debian/rules:
+ + Use dh_iconcache upon package build.
+
+ -- Zak B. Elep <zakame@ubuntu.com> Thu, 6 Apr 2006 10:14:25 -0400
+
+abakus (0.90-6) unstable; urgency=low
+
+ * Remove special build-depends on gcc-3.4
+ because now gcc-4.0 is fixed and
+ abakus will build on arm, m68k and hppa
+ with gcc-4.0
+ * Change description to make it linda clean
+ * Upload sponsored by Petter Reinholdtsen
+
+ -- Steffen Joeris <steffen.joeris@skolelinux.de> Tue, 6 Dec 2005 19:40:19 +0100
+
+abakus (0.90-5) unstable; urgency=low
+
+ * Fix minor bug in description (Closes: #341064)
+
+ -- Steffen Joeris <steffen.joeris@skolelinux.de> Tue, 29 Nov 2005 17:11:28 +0100
+
+abakus (0.90-4) unstable; urgency=low
+
+ * Add build-depends on gcc-3.4 for arm m68k hppa
+ to make sure abakus build on them
+
+ -- Steffen Joeris <steffen.joeris@skolelinux.de> Thu, 17 Nov 2005 22:38:43 +0100
+
+abakus (0.90-3) unstable; urgency=low
+
+ * Really add build-depends on debhelper ;(
+ (Closes: #336538)
+ * Upload interim sponsored by Martin Zobel-Helas <zobel@debian.org>
+
+ -- Steffen Joeris <steffen.joeris@skolelinux.de> Mon, 31 Oct 2005 10:49:50 +0100
+
+abakus (0.90-2) unstable; urgency=low
+
+ * Add build-depends on debhelper (>= 4.1.0), to make sure
+ dh_clean is available during build
+ * Upload sponsored by Petter Reinholdtsen
+
+ -- Steffen Joeris <steffen.joeris@skolelinux.de> Sun, 23 Oct 2005 22:50:09 +0200
+
+abakus (0.90-1) unstable; urgency=low
+
+ * Initial release (Closes: #335367)
+ * Upload sponsored by Petter Reinholdtsen
+
+ -- Steffen Joeris <steffen.joeris@skolelinux.de> Sun, 23 Oct 2005 15:19:58 +0200
+
diff --git a/debian/_base/applications/utilities/abakus/debian/compat b/debian/_base/applications/utilities/abakus/debian/compat
new file mode 100644
index 000000000..f599e28b8
--- /dev/null
+++ b/debian/_base/applications/utilities/abakus/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/_base/applications/utilities/abakus/debian/control b/debian/_base/applications/utilities/abakus/debian/control
new file mode 100644
index 000000000..823ed395f
--- /dev/null
+++ b/debian/_base/applications/utilities/abakus/debian/control
@@ -0,0 +1,21 @@
+Source: abakus-trinity
+Section: tde
+Priority: optional
+Maintainer: TDE Debian Team <team-debian@trinitydesktop.org>
+XSBC-Original-Maintainer: Steffen Joeris <steffen.joeris@skolelinux.de>
+Build-Depends: cdbs, debhelper (>= 10~), quilt, tde-cmake, ninja-build, tdelibs14-trinity-dev, imagemagick, bison, flex
+Standards-Version: 3.8.4
+
+Package: abakus-trinity
+Architecture: any
+Depends: ${shlibs:Depends}
+Replaces: abakus-trinity (<< 4:14.0.0~)
+Breaks: abakus-trinity (<< 4:14.0.0~)
+Description: calculator for TDE [Trinity]
+ AbaKus is a complex calculator, which provides
+ many different kinds of calculations.
+ Think of it as bc (the command-line calculator) with a nice GUI.
+ It also gives information about mathematical variables and
+ has the user-friendly menu options of a normal TDE application.
+ .
+ Web site: http://grammarian.homelinux.net/abakus/
diff --git a/debian/_base/applications/utilities/abakus/debian/copyright b/debian/_base/applications/utilities/abakus/debian/copyright
new file mode 100644
index 000000000..5d11ec083
--- /dev/null
+++ b/debian/_base/applications/utilities/abakus/debian/copyright
@@ -0,0 +1,20 @@
+This package was debianized by Steffen Joeris <steffen.joeris@skolelinux.de> on
+Sun, 23 Oct 2005 15:19:58 +0200.
+
+It was downloaded from http://grammarian.homelinux.net/abakus/
+
+Copyright Holder: Michael Pyne <michael.pyne@kdemail.net>
+
+License:
+
+This program is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License, version 2
+as published by the Free Software Foundation.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANDABILITY of FITNESS FOR A PARTICULAR PURPOSE.
+See the GNU General Public License for details.
+
+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/applications/utilities/abakus/debian/docs b/debian/_base/applications/utilities/abakus/debian/docs
new file mode 100644
index 000000000..e845566c0
--- /dev/null
+++ b/debian/_base/applications/utilities/abakus/debian/docs
@@ -0,0 +1 @@
+README
diff --git a/debian/_base/applications/utilities/abakus/debian/patches/series b/debian/_base/applications/utilities/abakus/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/_base/applications/utilities/abakus/debian/patches/series
diff --git a/debian/_base/applications/utilities/abakus/debian/rules b/debian/_base/applications/utilities/abakus/debian/rules
new file mode 100755
index 000000000..aaf4d4db4
--- /dev/null
+++ b/debian/_base/applications/utilities/abakus/debian/rules
@@ -0,0 +1,45 @@
+#!/usr/bin/make -f
+
+# Set LD_LIBRARY_PATH to the installed library directory to allow dh_shlibdeps to function
+# Also include the main Trinity path
+ifeq ("$(LD_LIBRARY_PATH)", "")
+LD_LIBRARY_PATH=debian/tmp/opt/trinity/lib
+else
+LD_LIBRARY_PATH += :debian/tmp/opt/trinity/lib
+endif
+export LD_LIBRARY_PATH
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/cmake.mk
+include debian/cdbs/debian-tde.mk
+
+DEB_KDE_APIDOX := yes
+
+CXXFLAGS := -DSMB_CTX_FLAG_USE_KERBEROS -DSMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS -g -Wall $(DEB_OPT_FLAG)
+
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
+ -DLIB_SUFFIX="" \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc/trinity" \
+ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
+ -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" \
+ -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" \
+ -DAUTODETECT_QT_DIRS="ON" \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DBUILD_ALL="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo
+
+debian/abakus.xpm: icons/hi64-app-abakus.png
+ convert -resize 32 $< $@
+
+common-build-arch:: debian/abakus.xpm
+
+common-install-arch::
+ install -D -m 644 debian/abakus.xpm debian/abakus-trinity/opt/trinity/share/pixmaps/abakus.xpm
+ dh_icons -pabakus-trinity
+
+clean::
+ rm -f debian/abakus.xpm
diff --git a/debian/_base/applications/utilities/abakus/debian/source/format b/debian/_base/applications/utilities/abakus/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/debian/_base/applications/utilities/abakus/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/_base/applications/utilities/abakus/debian/source/options b/debian/_base/applications/utilities/abakus/debian/source/options
new file mode 100644
index 000000000..72f1f5450
--- /dev/null
+++ b/debian/_base/applications/utilities/abakus/debian/source/options
@@ -0,0 +1,6 @@
+# Use xz instead of gzip
+compression = "xz"
+compression-level = 9
+
+# Don't run differences
+diff-ignore = .*
diff --git a/debian/_base/applications/utilities/filelight/debian/cdbs/debian-tde.mk b/debian/_base/applications/utilities/filelight/debian/cdbs/debian-tde.mk
new file mode 100644
index 000000000..aba508624
--- /dev/null
+++ b/debian/_base/applications/utilities/filelight/debian/cdbs/debian-tde.mk
@@ -0,0 +1,251 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2003 Christopher L Cheney <ccheney@debian.org>
+# Copyright © 2019 TDE Team
+# Description: A class for TDE packages; sets TDE environment variables, etc
+#
+# This program 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, or (at
+# your option) any later version.
+#
+# This program 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, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+ifndef _cdbs_bootstrap
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+endif
+
+ifndef _cdbs_class_debian-qt-kde
+_cdbs_class_debian-qt-kde := 1
+
+# for dh_icons
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), debhelper (>= 5.0.7ubuntu4)
+
+# Note: This _must_ be included before autotools.mk, or it won't work.
+common-configure-arch common-configure-indep:: debian/stamp-cvs-make
+debian/stamp-cvs-make:
+ifndef _cdbs_class_cmake
+ cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
+ $(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
+endif
+ touch debian/stamp-cvs-make
+
+include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
+
+ifdef _cdbs_tarball_dir
+DEB_BUILDDIR = $(_cdbs_tarball_dir)/obj-$(DEB_BUILD_GNU_TYPE)
+else
+DEB_BUILDDIR = obj-$(DEB_BUILD_GNU_TYPE)
+endif
+
+ifndef _cdbs_class_cmake
+include $(_cdbs_class_path)/autotools.mk$(_cdbs_makefile_suffix)
+endif
+
+ifdef _cdbs_class_cmake
+ifneq "$(wildcard /usr/bin/ninja)" ""
+MAKE = ninja -v
+DEB_MAKE_ENVVARS += DESTDIR=$(DEB_DESTDIR)
+DEB_MAKE_INSTALL_TARGET = install
+DEB_CMAKE_NORMAL_ARGS += -GNinja
+endif
+endif
+
+ifndef _cdbs_rules_patchsys_quilt
+DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
+
+export kde_cgidir = \$${libdir}/cgi-bin
+export kde_confdir = \$${sysconfdir}/trinity
+export kde_htmldir = \$${datadir}/doc/tde/HTML
+
+DEB_KDE_ENABLE_FINAL := yes
+DEB_INSTALL_DOCS_ALL :=
+
+DEB_DH_MAKESHLIBS_ARGS_ALL := -V
+DEB_SHLIBDEPS_INCLUDE = $(foreach p,$(PACKAGES_WITH_LIBS),debian/$(p)/usr/lib)
+
+DEB_AC_AUX_DIR = $(DEB_SRCDIR)/admin
+DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include"
+DEB_COMPRESS_EXCLUDE_ALL += .dcl .docbook -license .tag .sty .el
+
+# 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
+
+ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ cdbs_treat_me_gently_arches := arm m68k alpha ppc64 armel armeb
+ ifeq (,$(filter $(DEB_HOST_ARCH_CPU),$(cdbs_treat_me_gently_arches)))
+ cdbs_kde_enable_final = $(if $(DEB_KDE_ENABLE_FINAL),--enable-final,)
+ else
+ cdbs_kde_enable_final =
+ endif
+endif
+
+ifneq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_final =
+ cdbs_kde_enable_debug = --enable-debug=yes
+else
+ cdbs_kde_enable_debug = --disable-debug
+endif
+
+ifneq (,$(filter debug,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_debug = --enable-debug=full
+endif
+
+DEB_BUILD_PARALLEL ?= true
+
+cdbs_configure_flags += \
+ --with-qt-dir=/usr/share/qt3 \
+ --disable-rpath \
+ --with-xinerama \
+ $(cdbs_kde_enable_final) \
+ $(cdbs_kde_enable_debug)
+
+
+# This is a convenience target for calling manually.
+# It's not part of the build process.
+buildprep: clean apply-patches
+ifndef _cdbs_class_cmake
+ $(MAKE) -f admin/Makefile.common dist
+endif
+ debian/rules clean
+
+.tdepkginfo:
+ echo "# TDE package information" >.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Source: |Name: |p" >>.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Version: |Version: |p" >>.tdepkginfo
+ date +"DateTime: %m/%d/%Y %H:%M" -u -d "$$(dpkg-parsechangelog | sed -n 's|^Date: ||p')" >>.tdepkginfo
+
+post-patches:: .tdepkginfo
+
+common-build-arch:: debian/stamp-man-pages
+debian/stamp-man-pages:
+ if ! test -d debian/man/out; then mkdir -p debian/man/out; fi
+ for f in $$(find debian/man -name '*.sgml'); do \
+ docbook-to-man $$f > debian/man/out/`basename $$f .sgml`.1; \
+ done
+ for f in $$(find debian/man -name '*.man'); do \
+ soelim -I debian/man $$f \
+ > debian/man/out/`basename $$f .man`.`head -n1 $$f | awk '{print $$NF}'`; \
+ done
+ touch debian/stamp-man-pages
+
+common-binary-indep::
+ ( set -e; \
+ tmpf=`mktemp debian/versions.XXXXXX`; \
+ perl debian/cdbs/versions.pl >$$tmpf; \
+ for p in $(DEB_INDEP_PACKAGES); do \
+ cat $$tmpf >>debian/$$p.substvars; \
+ done; \
+ rm -f $$tmpf )
+
+common-binary-arch::
+ ( set -e; \
+ tmpf=`mktemp debian/versions.XXXXXX`; \
+ perl debian/cdbs/versions.pl >$$tmpf; \
+ for p in $(DEB_ARCH_PACKAGES); do \
+ cat $$tmpf >>debian/$$p.substvars; \
+ done; \
+ rm -f $$tmpf )
+ # update multi-arch path in install files
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
+ [ -d $$a ] || [ -f $$a.arch ] || \
+ ! grep -q "\$$(DEB_HOST_MULTIARCH)" $$a || \
+ sed -i.arch "s|\$$(DEB_HOST_MULTIARCH)|$(DEB_HOST_MULTIARCH)|g" $$a; \
+ done
+
+clean::
+ rm -rf debian/man/out
+ -rmdir debian/man
+ rm -f debian/stamp-man-pages
+ rm -rf debian/shlibs-check
+ # revert multi-arch path in install files
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
+ [ ! -f $$a.arch ] || \
+ mv $$a.arch $$a; \
+ done
+
+$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
+ if test -x /usr/bin/dh_icons; then dh_icons -p$(cdbs_curpkg) $(DEB_DH_ICONCACHE_ARGS); fi
+ if test -x /usr/bin/dh_desktop; then dh_desktop -p$(cdbs_curpkg) $(DEB_DH_DESKTOP_ARGS); fi
+ if test -e debian/$(cdbs_curpkg).lintian; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).lintian \
+ debian/$(cdbs_curpkg)/usr/share/lintian/overrides/$(cdbs_curpkg); \
+ fi
+ if test -e debian/$(cdbs_curpkg).presubj; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).presubj \
+ debian/$(cdbs_curpkg)/usr/share/bug/$(cdbs_curpkg)/presubj; \
+ fi
+ if test -d debian/$(cdbs_curpkg)/opt/trinity/lib && \
+ test $$(find debian/$(cdbs_curpkg)/opt/trinity/lib -name "*.so" | wc -l) -gt 0; then \
+ echo "# Triggers added by cdbs/debian-tde.mk" >> debian/.debhelper/generated/$(cdbs_curpkg)/triggers; \
+ echo "activate-noawait ldconfig" >> debian/.debhelper/generated/$(cdbs_curpkg)/triggers; \
+ fi
+
+binary-install/$(DEB_SOURCE_PACKAGE)-doc-html::
+ set -e; \
+ for doc in `cd $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en; find . -name index.docbook`; do \
+ pkg=$${doc%/index.docbook}; pkg=$${pkg#./}; \
+ echo Building $$pkg HTML docs...; \
+ mkdir -p $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ cd $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ /opt/trinity/bin/meinproc $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en/$$pkg/index.docbook; \
+ done
+ for pkg in $(DOC_HTML_PRUNE) ; do \
+ rm -rf debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ done
+
+common-build-indep:: debian/stamp-kde-apidox
+debian/stamp-kde-apidox:
+ $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) apidox)
+ touch $@
+
+common-install-indep:: common-install-kde-apidox
+common-install-kde-apidox::
+ $(if $(DEB_KDE_APIDOX),+DESTDIR=$(DEB_DESTDIR) $(DEB_MAKE_INVOKE) install-apidox)
+
+cleanbuilddir::
+ -$(if $(call cdbs_streq,$(DEB_BUILDDIR),$(DEB_SRCDIR)),,rm -rf $(DEB_BUILDDIR))
+
+clean::
+ifndef _cdbs_class_cmake
+ if test -n "$(DEB_KDE_CVS_MAKE)" && test -d $(DEB_SRCDIR); then \
+ cd $(DEB_SRCDIR); \
+ find . -name Makefile.in -print | \
+ xargs --no-run-if-empty rm -f; \
+ rm -f Makefile.am acinclude.m4 aclocal.m4 config.h.in \
+ configure configure.files configure.in stamp-h.in \
+ subdirs; \
+ fi
+endif
+ rm -f .tdepkginfo
+ rm -f debian/stamp-kde-apidox
+ rm -f debian/stamp-cvs-make
+
+endif
diff --git a/debian/_base/applications/utilities/filelight/debian/cdbs/versions.pl b/debian/_base/applications/utilities/filelight/debian/cdbs/versions.pl
new file mode 100644
index 000000000..1b110f7af
--- /dev/null
+++ b/debian/_base/applications/utilities/filelight/debian/cdbs/versions.pl
@@ -0,0 +1,19 @@
+#!/usr/bin/env perl
+
+use strict;
+use warnings;
+
+my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`;
+my ($version3, $version3_next);
+my ($version2, $version2_next);
+
+($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/;
+($version2 = $version3) =~ s/\.[^.]+$//;
+
+($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e;
+($version2_next = $version2) =~ s/(?<=\.)(\d+)$/($1+1)/e;
+
+print "TDE-Version3=$version3\n";
+print "TDE-Version2=$version2\n";
+print "TDE-Next-Version3=$version3_next\n";
+print "TDE-Next-Version2=$version2_next\n";
diff --git a/debian/_base/applications/utilities/filelight/debian/changelog b/debian/_base/applications/utilities/filelight/debian/changelog
new file mode 100644
index 000000000..d59a45c8e
--- /dev/null
+++ b/debian/_base/applications/utilities/filelight/debian/changelog
@@ -0,0 +1,197 @@
+filelight-trinity (1.0-2ubuntu5) karmic; urgency=low
+
+ * Karmic rebuild
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 02 Jul 2009 16:08:00 -0600
+
+filelight-trinity (1.0-2ubuntu4) intrepid; urgency=low
+
+ * Moved Trinity to /opt/trinity
+ * Integrated properly with KDE4.2+
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Wed, 04 March 2009 01:11:00 -0600
+
+filelight-trinity (1.0-2ubuntu3) intrepid; urgency=low
+
+ * Added -trinity suffix
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Mon, 09 Feb 2009 10:27:00 -0600
+
+filelight (1.0-2ubuntu2) intrepid; urgency=low
+
+ * Remove documentation, it conflicts with the -l10n package (LP: #245974)
+
+ -- Harald Sitter <apachelogger@ubuntu.com> Sun, 24 Aug 2008 00:56:23 +0200
+
+filelight (1.0-2ubuntu1) intrepid; urgency=low
+
+ * Merge from debian unstable, remaining changes:
+ - Changed Maintainer field per spec
+ - debian/rules: prevent the installation of locale files (they are provided
+ by the filelight-l10n package)
+ - debian/patches
+ + Don't merge patches which change any Makefile.in, they
+ would break.
+
+ -- Harald Sitter <apachelogger@ubuntu.com> Wed, 07 May 2008 10:00:29 +0100
+
+filelight (1.0-2) unstable; urgency=low
+
+ * 'man filelight' typos: "representating", "filesystem" and
+ "diskspace" (Closes: #452618). Thanks to A. Costa.
+ * Update policy to 3.7.3. No changes needed.
+ * Fixed Vcs-Svn and VCs-Browser fields.
+ * Reordered CDBS build rules and removing autotools.mk since it clashes with
+ kde.mk.
+ * Moving to quilt patch system.
+ * Removed dpatch comments from 10_fix-filelight.desktop
+ * Reworked buildsystem: added patches 98_buildprep; removed
+ 01_configure-update, 02_dist-files and 07_install-radial-map.diff; updated
+ 05_fPIX_radialmap_part.
+ * Removed watch file.
+
+ -- Raúl Sánchez Siles <rasasi78@gmail.com> Tue, 06 May 2008 17:10:35 +0200
+
+filelight (1.0-1) unstable; urgency=low
+
+ * New upstream release: Crashes fix, displaying non-latin1 correctly and
+ several new features. (Closes: #445935, #424741)
+ * Splitted l10n to a new package.
+ * Bugs closed:
+ + filelight always places hover information on first monitor (Closes:
+ #255896)
+ + filelight doesn't handle utf-8 files (Closes: #256423)
+ + always crashing on exit (Closes: #404460)
+ + bug in filelight - crash on exit (Closes: #356626)
+ + glibc detects free() of invalid pointer on exit (Closes: #343903)
+ + memory usage is obscene (Closes: #231399)
+ + lots of noise on stderr from RadialMap methods (Closes: #343905)
+ + very large files and directories lead to confusion (Closes: #393827)
+ + Filelight ignores large files (Closes: #341680)
+ + Piles of WARNING messages on startup, but it works. (Closes:
+ #307717)
+ + filelight lacks a manpage [patch] (Closes: #414934). Thanks to
+ James R. Van Zandt.
+ + Spelling mistake in package description (Closes: #363410). Thanks to
+ James Westby.
+ + please build with --disable-debug to prevent spurious stdout-output
+ (Closes: #408554)
+ + filelight(GNU/k*BSD): FTBFS: out of date config.sub/config.guess
+ (Closes: #304605)
+ + lots of noise on stderr from RadialMap methods (Closes: #343905)
+ * Packaging issues:
+ + Changed packaging to CDBS.
+ + Provide upstream AUTHORS file.
+ + Honour the nostrip in the DEB_BUILD_OPTIONS. (Closes: #436852)
+ + Changed menu section to Applications/File Management to comply with newer
+ menu policy.
+ + Implemented dpatch, avoiding direct upstream patching(ugly).
+ + please remove old editor backup files from diff (Closes: #354706)
+ + Update package policy to latest 3.7.2.
+ + Change Uploader(me) and Maintainers(Debian KDE Extras Team).
+
+ -- Raúl Sánchez Siles <rasasi78@gmail.com> Fri, 16 Nov 2007 19:20:42 +0100
+
+filelight (1.0-0ubuntu2) gutsy; urgency=low
+
+ * Removed postrm and postinst since they are not needed
+ * Added patch for desktop file typo
+
+ -- Harald Sitter <sitter.harald@gmail.com> Mon, 4 Jun 2007 21:58:53 +0200
+
+filelight (1.0-0ubuntu1) gutsy; urgency=low
+
+ * New Upstream Release
+ * Standards-Version: 3.7.2
+ * Added manpage
+ * Moved to cdbs
+ * Removed debian/conffiles due to cdbs
+
+ -- Harald Sitter <sitter.harald@gmail.com> Sun, 22 Apr 2007 14:48:10 +0200
+
+filelight (0.99beta6-1ubuntu1) dapper; urgency=low
+
+ * Resynchronise with Debian.
+
+ -- Benjamin Montgomery <bmontgom@montynet.org> Tue, 6 Dec 2005 22:12:09 -0600
+
+filelight (0.99beta6-1) unstable; urgency=low
+
+ * New upstream (beta) release. Closes: #304497
+ * Can delete files with spaces in the filename. Closes: #265384
+
+ * Rebuilt for C++ transition. Closes: #327002, #327231
+
+ * debian/rules (checkdir): update for source reorganization.
+ * debian/rules (binary-arch): deal with the new libfilelight.so.
+
+ * debian/menu: quote all strings (via lintian).
+ * debian/rules (binary-arch): install menu file to /usr/share/menu
+ rather than /usr/lib/menu (via lintian).
+
+ * debian/control (Standards-Version): updated to 3.6.2.1.
+ * debian/copyright: update download location to be non-version specific.
+ Update FSF address (via lintian).
+
+ * debian/control (Build-Depends): add autoconf and gettext.
+
+ * src/part/radial/Makefile.am: add -fPIC to CFLAGS.
+ * src/part/radial/Makefile.in: add -fPIC to INCLUDES. Copied from
+ Michael Vogt's Ubuntu change. Not a good/proper long term solution,
+ but it'll compile at least.
+
+ * debian/rules (clean): also remove po/*.gmo, autom4te.cache and
+ config.log to keep diff.gz clean.
+
+ -- James Troup <james@nocrew.org> Mon, 19 Sep 2005 01:43:42 +0100
+
+filelight (0.99beta6-0ubuntu3) breezy; urgency=low
+
+ * rebuild for c++ transition
+ * fixed a missing -fPIC in src/part/radialMap
+
+ -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 14 Sep 2005 15:05:38 +0200
+
+filelight (0.99beta6-0ubuntu2) breezy; urgency=low
+
+ * Add autoconf as build-dep
+
+ -- Jonathan Riddell <jr@jriddell.org> Tue, 7 Jun 2005 17:05:56 +0000
+
+filelight (0.99beta6-0ubuntu1) breezy; urgency=low
+
+ * New upstream release
+
+ -- Jonathan Riddell <jr@jriddell.org> Tue, 7 Jun 2005 14:30:49 +0000
+
+filelight (0.6.4.1-1build1) breezy; urgency=low
+
+ * Rebuild for new C++ ABI
+
+ -- Matthias Klose <doko@ubuntu.com> Mon, 6 Jun 2005 16:34:50 +0000
+
+filelight (0.6.4.1-1) unstable; urgency=low
+
+ * New upstream release.
+
+ * debian/menu: new file, provided by Justin B Rye <jbr@edlug.org.uk>.
+ Closes: #234301
+ * debian/postinst: call update-menus.
+ * debian/postrm: likewise.
+ * debian/rules: install menu file and postinst and postrm.
+
+ * src/filelight.desktop: Patch from Christoffer Sawicki <qerub@home.se>
+ to fix typo (Generic Name -> GenericName). Closes: #230670
+
+ * debian/control: reword extended description to include 'disk usage' to
+ aid in searching with apt-cache as suggested by Remi Vanicat
+ <vanicat@debian.org>. Closes: #231060
+
+ -- James Troup <james@nocrew.org> Mon, 23 Feb 2004 14:55:16 +0000
+
+filelight (0.6.3.1-1) unstable; urgency=low
+
+ * Initial Release. Closes: #228812
+
+ -- James Troup <james@nocrew.org> Wed, 21 Jan 2004 03:11:00 +0100
+
diff --git a/debian/_base/applications/utilities/filelight/debian/compat b/debian/_base/applications/utilities/filelight/debian/compat
new file mode 100644
index 000000000..f599e28b8
--- /dev/null
+++ b/debian/_base/applications/utilities/filelight/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/_base/applications/utilities/filelight/debian/control b/debian/_base/applications/utilities/filelight/debian/control
new file mode 100644
index 000000000..c1b4491f8
--- /dev/null
+++ b/debian/_base/applications/utilities/filelight/debian/control
@@ -0,0 +1,22 @@
+Source: filelight-trinity
+Section: tde
+Priority: optional
+Maintainer: TDE Debian Team <team-debian@trinitydesktop.org>
+XSBC-Original-Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
+Uploaders: Ral Snchez Siles <rasasi78@gmail.com>
+Standards-Version: 3.8.4
+Build-Depends: cdbs, debhelper (>= 10~), quilt, tde-cmake, ninja-build, tdelibs14-trinity-dev, xutils
+Homepage: http://www.methylblue.com/filelight/
+
+Package: filelight-trinity
+Architecture: any
+Depends: ${shlibs:Depends}
+Replaces: filelight-trinity (<< 4:14.0.0~)
+Breaks: filelight-trinity (<< 4:14.0.0~)
+Description: show where your diskspace is being used [Trinity]
+ Filelight allows you to understand your disk usage by graphically
+ representing your filesystem as a set of concentric, segmented rings.
+ .
+ It is like a pie-chart, but the segments nest, allowing you to see both
+ which directories take up all your space, and which directories
+ and files inside those directories are the real culprits.
diff --git a/debian/_base/applications/utilities/filelight/debian/copyright b/debian/_base/applications/utilities/filelight/debian/copyright
new file mode 100644
index 000000000..c02dc5949
--- /dev/null
+++ b/debian/_base/applications/utilities/filelight/debian/copyright
@@ -0,0 +1,42 @@
+This is Debian GNU's prepackaged version of filelight, a program to
+show you where your diskspace is being used. Debianized by James
+Troup <james@nocrew.org> on Wed, 21 Jan 2004 and reworked by Raúl
+Sánchez Siles <rasasi78@gmail.com> on Fri, 16 Nov 2007 13:03:04 +0100
+
+The Debian packaging is (C) 2007, Raul Sánchez Siles <rasasi78@gmail.com>
+and is licensed under the GPLv2, which can be found at
+'/usr/share/common-licenses/GPL-2'.
+
+It was downloaded from:
+
+ http://www.methylblue.com/filelight/#packages
+
+Upstream Author: Max Howell <max.howell@methylblue.com>
+
+License:
+
+ This package and debian/filelight.1 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.
+
+ 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 Street, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License version 2 can be found at `/usr/share/common-licenses/GPL-2'.
+
+Copyright
+
+Filelight:
+
+ (C) 2005-2006 Max Howell <max.howell@methylblue.com>
+
+debian/filelight.1:
+
+ Copyright (C) 2006 by J. R. Van Zandt <jrvz@comcast.net>
diff --git a/debian/_base/applications/utilities/filelight/debian/docs b/debian/_base/applications/utilities/filelight/debian/docs
new file mode 100644
index 000000000..76c3076c9
--- /dev/null
+++ b/debian/_base/applications/utilities/filelight/debian/docs
@@ -0,0 +1,3 @@
+AUTHORS
+README.md
+TODO
diff --git a/debian/_base/applications/utilities/filelight/debian/menu b/debian/_base/applications/utilities/filelight/debian/menu
new file mode 100644
index 000000000..943809a61
--- /dev/null
+++ b/debian/_base/applications/utilities/filelight/debian/menu
@@ -0,0 +1,6 @@
+?package(filelight-trinity):needs="X11" \
+ section="Apps/System" \
+ hints="TDE, Monitoring, Files" \
+ command="/opt/trinity/bin/filelight" \
+ title="Filelight" \
+ longtitle="Filelight: disk usage as concentric rings"
diff --git a/debian/_base/applications/utilities/filelight/debian/patches/series b/debian/_base/applications/utilities/filelight/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/_base/applications/utilities/filelight/debian/patches/series
diff --git a/debian/_base/applications/utilities/filelight/debian/rules b/debian/_base/applications/utilities/filelight/debian/rules
new file mode 100755
index 000000000..fc3e056c1
--- /dev/null
+++ b/debian/_base/applications/utilities/filelight/debian/rules
@@ -0,0 +1,28 @@
+#!/usr/bin/make -f
+# debian/rules file - for filelight (1.0)
+# Copyright 2007 Raúl Sánchez Siles
+# This packaging is licensed under GPLv2
+# see /usr/share/common-licenses/GPL-2 for details.
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/cmake.mk
+include debian/cdbs/debian-tde.mk
+
+DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include
+DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
+DEB_CONFIGURE_PREFIX := /opt/trinity
+DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
+
+DEB_DH_ALWAYS_EXCLUDE=.svn
+
+# Build options
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc" \
+ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DBUILD_ALL="ON"
diff --git a/debian/_base/applications/utilities/filelight/debian/source/format b/debian/_base/applications/utilities/filelight/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/debian/_base/applications/utilities/filelight/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/_base/applications/utilities/filelight/debian/source/options b/debian/_base/applications/utilities/filelight/debian/source/options
new file mode 100644
index 000000000..72f1f5450
--- /dev/null
+++ b/debian/_base/applications/utilities/filelight/debian/source/options
@@ -0,0 +1,6 @@
+# Use xz instead of gzip
+compression = "xz"
+compression-level = 9
+
+# Don't run differences
+diff-ignore = .*
diff --git a/debian/_base/applications/utilities/kbarcode/debian/README.Debian b/debian/_base/applications/utilities/kbarcode/debian/README.Debian
new file mode 100644
index 000000000..b0302c211
--- /dev/null
+++ b/debian/_base/applications/utilities/kbarcode/debian/README.Debian
@@ -0,0 +1,107 @@
+Debian kde-extras Team
+----------------------
+
+1. Contacts
+-----------
+
+General help requests
+ <debian-kde@lists.debian.org> mailing list
+ #debian-kde on irc
+
+Packaging queries
+ <debian-qt-kde@lists.debian.org> mailing list
+ #debian-qt-kde on irc
+
+Maintainers
+ <pkg-kde-extras@lists.alioth.debian.org> mailing list
+
+
+2. Subversion repository
+------------------------
+
+You can browse it only at:
+
+http://svn.debian.org/wsvn/pkg-kde/kde-extras/
+
+To "checkout" the repository use these commands:
+
+ $ svn co svn+ssh://${ALIOTH_USERNAME}@svn.debian.org/svn/pkg-kde/kde-extras
+
+Authorized SSH keys are controlled at https://alioth.debian.org/account/
+
+The repository layout is:
+
+- packagename/
+    - trunk/
+    - branches/
+    - tags/
+        - 0.7.2-1/
+        - 0.7.2-2/
+        - 0.7.2-2ubuntu1/
+        - 0.7.2-2ubuntu2/
+        - 0.7.2-2ubuntu3/
+        - 0.8.0/
+        ...
+
+If only one version of the package is available at the time, development must
+be made at trunk/ dir, copying the dir to tags/'pkg-version' each time a new
+release is made.
+
+When, at some point, the need to have two different versions at the same time
+arises (for example, if we need a version to be in unstable and a different one
+to be in experimental), experimental development will be made in trunk/ and
+if a new unstable package needs to be cooked, copying
+tag/'latest_version_in_sid' to tag/'latest_version_in_sid'+1 will make the
+trick.
+
+3. Using svn-buildpackage
+--------------------------
+
+Packages with an upstream tarball will require you to set the mergeWithUpstream
+property first (from the package root) so that svn-buildpackage will look for
+the .orig.tar.gz in the ../tarballs directory.
+
+ % svn propset mergeWithUpstream 1 debian
+
+Please note that this only works for packages which have only the debian/
+directory committed. Consequently, you must use CDBS's simple-patchsys.mk or
+dpatch to modify the upstream sources.
+
+After you have finished and committed your Debian patches via
+
+ % svn commit [PACKAGE]
+
+as well as copying the orig.tar.gz to ../tarballs/ if necessary, you may build
+your package with the following commands:
+
+ % svn-buildpackage --svn-ignore-new -rfakeroot
+
+Please, don't commit tarballs/ or build-area/ directories to SVN.
+
+4. Tarballs and Build-area directories
+------------------------------------
+
+During pkg development before uploaded to debian the tarballs can be found at:
+
+ http://pkg-kde.alioth.debian.org/kde-extra/orig.tar.gz/
+
+You need to place those dirs in the parent directory of the one from which you're
+running svn-buildpackage. Usually this means placing tarballs/ and build-area/ dirs
+in 'pkgname'/ dir, at the same level as trunk/
+
+If you want to compile inside one version in tags/ dir, you'll need to place those
+dirs inside that dir. Of course the easiest and cleanest way of doing it is
+by making a symlink of those dirs inside tags/ dir.
+
+5. Using svn-inject
+-------------------
+
+To inject a new package into the Debian KDE Extras svn archive you should use svn-inject(1)
+as follows:
+
+ svn-inject -o <package>.dsc svn+ssh://${ALIOTH_USERNAME}@svn.debian.org/svn/pkg-kde/kde-extras
+
+Type in your alioth password a few hundred times :-) and your package should be
+uploaded to the archive. Note you will also need to manually copy the
+package.orig.tar.gz to your tarballs directory. The -o option is important as
+this ensures that we 'Only keep modified files under SVN control'
diff --git a/debian/_base/applications/utilities/kbarcode/debian/cdbs/debian-tde.mk b/debian/_base/applications/utilities/kbarcode/debian/cdbs/debian-tde.mk
new file mode 100644
index 000000000..aba508624
--- /dev/null
+++ b/debian/_base/applications/utilities/kbarcode/debian/cdbs/debian-tde.mk
@@ -0,0 +1,251 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2003 Christopher L Cheney <ccheney@debian.org>
+# Copyright © 2019 TDE Team
+# Description: A class for TDE packages; sets TDE environment variables, etc
+#
+# This program 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, or (at
+# your option) any later version.
+#
+# This program 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, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+ifndef _cdbs_bootstrap
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+endif
+
+ifndef _cdbs_class_debian-qt-kde
+_cdbs_class_debian-qt-kde := 1
+
+# for dh_icons
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), debhelper (>= 5.0.7ubuntu4)
+
+# Note: This _must_ be included before autotools.mk, or it won't work.
+common-configure-arch common-configure-indep:: debian/stamp-cvs-make
+debian/stamp-cvs-make:
+ifndef _cdbs_class_cmake
+ cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
+ $(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
+endif
+ touch debian/stamp-cvs-make
+
+include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
+
+ifdef _cdbs_tarball_dir
+DEB_BUILDDIR = $(_cdbs_tarball_dir)/obj-$(DEB_BUILD_GNU_TYPE)
+else
+DEB_BUILDDIR = obj-$(DEB_BUILD_GNU_TYPE)
+endif
+
+ifndef _cdbs_class_cmake
+include $(_cdbs_class_path)/autotools.mk$(_cdbs_makefile_suffix)
+endif
+
+ifdef _cdbs_class_cmake
+ifneq "$(wildcard /usr/bin/ninja)" ""
+MAKE = ninja -v
+DEB_MAKE_ENVVARS += DESTDIR=$(DEB_DESTDIR)
+DEB_MAKE_INSTALL_TARGET = install
+DEB_CMAKE_NORMAL_ARGS += -GNinja
+endif
+endif
+
+ifndef _cdbs_rules_patchsys_quilt
+DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
+
+export kde_cgidir = \$${libdir}/cgi-bin
+export kde_confdir = \$${sysconfdir}/trinity
+export kde_htmldir = \$${datadir}/doc/tde/HTML
+
+DEB_KDE_ENABLE_FINAL := yes
+DEB_INSTALL_DOCS_ALL :=
+
+DEB_DH_MAKESHLIBS_ARGS_ALL := -V
+DEB_SHLIBDEPS_INCLUDE = $(foreach p,$(PACKAGES_WITH_LIBS),debian/$(p)/usr/lib)
+
+DEB_AC_AUX_DIR = $(DEB_SRCDIR)/admin
+DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include"
+DEB_COMPRESS_EXCLUDE_ALL += .dcl .docbook -license .tag .sty .el
+
+# 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
+
+ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ cdbs_treat_me_gently_arches := arm m68k alpha ppc64 armel armeb
+ ifeq (,$(filter $(DEB_HOST_ARCH_CPU),$(cdbs_treat_me_gently_arches)))
+ cdbs_kde_enable_final = $(if $(DEB_KDE_ENABLE_FINAL),--enable-final,)
+ else
+ cdbs_kde_enable_final =
+ endif
+endif
+
+ifneq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_final =
+ cdbs_kde_enable_debug = --enable-debug=yes
+else
+ cdbs_kde_enable_debug = --disable-debug
+endif
+
+ifneq (,$(filter debug,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_debug = --enable-debug=full
+endif
+
+DEB_BUILD_PARALLEL ?= true
+
+cdbs_configure_flags += \
+ --with-qt-dir=/usr/share/qt3 \
+ --disable-rpath \
+ --with-xinerama \
+ $(cdbs_kde_enable_final) \
+ $(cdbs_kde_enable_debug)
+
+
+# This is a convenience target for calling manually.
+# It's not part of the build process.
+buildprep: clean apply-patches
+ifndef _cdbs_class_cmake
+ $(MAKE) -f admin/Makefile.common dist
+endif
+ debian/rules clean
+
+.tdepkginfo:
+ echo "# TDE package information" >.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Source: |Name: |p" >>.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Version: |Version: |p" >>.tdepkginfo
+ date +"DateTime: %m/%d/%Y %H:%M" -u -d "$$(dpkg-parsechangelog | sed -n 's|^Date: ||p')" >>.tdepkginfo
+
+post-patches:: .tdepkginfo
+
+common-build-arch:: debian/stamp-man-pages
+debian/stamp-man-pages:
+ if ! test -d debian/man/out; then mkdir -p debian/man/out; fi
+ for f in $$(find debian/man -name '*.sgml'); do \
+ docbook-to-man $$f > debian/man/out/`basename $$f .sgml`.1; \
+ done
+ for f in $$(find debian/man -name '*.man'); do \
+ soelim -I debian/man $$f \
+ > debian/man/out/`basename $$f .man`.`head -n1 $$f | awk '{print $$NF}'`; \
+ done
+ touch debian/stamp-man-pages
+
+common-binary-indep::
+ ( set -e; \
+ tmpf=`mktemp debian/versions.XXXXXX`; \
+ perl debian/cdbs/versions.pl >$$tmpf; \
+ for p in $(DEB_INDEP_PACKAGES); do \
+ cat $$tmpf >>debian/$$p.substvars; \
+ done; \
+ rm -f $$tmpf )
+
+common-binary-arch::
+ ( set -e; \
+ tmpf=`mktemp debian/versions.XXXXXX`; \
+ perl debian/cdbs/versions.pl >$$tmpf; \
+ for p in $(DEB_ARCH_PACKAGES); do \
+ cat $$tmpf >>debian/$$p.substvars; \
+ done; \
+ rm -f $$tmpf )
+ # update multi-arch path in install files
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
+ [ -d $$a ] || [ -f $$a.arch ] || \
+ ! grep -q "\$$(DEB_HOST_MULTIARCH)" $$a || \
+ sed -i.arch "s|\$$(DEB_HOST_MULTIARCH)|$(DEB_HOST_MULTIARCH)|g" $$a; \
+ done
+
+clean::
+ rm -rf debian/man/out
+ -rmdir debian/man
+ rm -f debian/stamp-man-pages
+ rm -rf debian/shlibs-check
+ # revert multi-arch path in install files
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
+ [ ! -f $$a.arch ] || \
+ mv $$a.arch $$a; \
+ done
+
+$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
+ if test -x /usr/bin/dh_icons; then dh_icons -p$(cdbs_curpkg) $(DEB_DH_ICONCACHE_ARGS); fi
+ if test -x /usr/bin/dh_desktop; then dh_desktop -p$(cdbs_curpkg) $(DEB_DH_DESKTOP_ARGS); fi
+ if test -e debian/$(cdbs_curpkg).lintian; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).lintian \
+ debian/$(cdbs_curpkg)/usr/share/lintian/overrides/$(cdbs_curpkg); \
+ fi
+ if test -e debian/$(cdbs_curpkg).presubj; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).presubj \
+ debian/$(cdbs_curpkg)/usr/share/bug/$(cdbs_curpkg)/presubj; \
+ fi
+ if test -d debian/$(cdbs_curpkg)/opt/trinity/lib && \
+ test $$(find debian/$(cdbs_curpkg)/opt/trinity/lib -name "*.so" | wc -l) -gt 0; then \
+ echo "# Triggers added by cdbs/debian-tde.mk" >> debian/.debhelper/generated/$(cdbs_curpkg)/triggers; \
+ echo "activate-noawait ldconfig" >> debian/.debhelper/generated/$(cdbs_curpkg)/triggers; \
+ fi
+
+binary-install/$(DEB_SOURCE_PACKAGE)-doc-html::
+ set -e; \
+ for doc in `cd $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en; find . -name index.docbook`; do \
+ pkg=$${doc%/index.docbook}; pkg=$${pkg#./}; \
+ echo Building $$pkg HTML docs...; \
+ mkdir -p $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ cd $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ /opt/trinity/bin/meinproc $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en/$$pkg/index.docbook; \
+ done
+ for pkg in $(DOC_HTML_PRUNE) ; do \
+ rm -rf debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ done
+
+common-build-indep:: debian/stamp-kde-apidox
+debian/stamp-kde-apidox:
+ $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) apidox)
+ touch $@
+
+common-install-indep:: common-install-kde-apidox
+common-install-kde-apidox::
+ $(if $(DEB_KDE_APIDOX),+DESTDIR=$(DEB_DESTDIR) $(DEB_MAKE_INVOKE) install-apidox)
+
+cleanbuilddir::
+ -$(if $(call cdbs_streq,$(DEB_BUILDDIR),$(DEB_SRCDIR)),,rm -rf $(DEB_BUILDDIR))
+
+clean::
+ifndef _cdbs_class_cmake
+ if test -n "$(DEB_KDE_CVS_MAKE)" && test -d $(DEB_SRCDIR); then \
+ cd $(DEB_SRCDIR); \
+ find . -name Makefile.in -print | \
+ xargs --no-run-if-empty rm -f; \
+ rm -f Makefile.am acinclude.m4 aclocal.m4 config.h.in \
+ configure configure.files configure.in stamp-h.in \
+ subdirs; \
+ fi
+endif
+ rm -f .tdepkginfo
+ rm -f debian/stamp-kde-apidox
+ rm -f debian/stamp-cvs-make
+
+endif
diff --git a/debian/_base/applications/utilities/kbarcode/debian/cdbs/versions.pl b/debian/_base/applications/utilities/kbarcode/debian/cdbs/versions.pl
new file mode 100644
index 000000000..1b110f7af
--- /dev/null
+++ b/debian/_base/applications/utilities/kbarcode/debian/cdbs/versions.pl
@@ -0,0 +1,19 @@
+#!/usr/bin/env perl
+
+use strict;
+use warnings;
+
+my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`;
+my ($version3, $version3_next);
+my ($version2, $version2_next);
+
+($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/;
+($version2 = $version3) =~ s/\.[^.]+$//;
+
+($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e;
+($version2_next = $version2) =~ s/(?<=\.)(\d+)$/($1+1)/e;
+
+print "TDE-Version3=$version3\n";
+print "TDE-Version2=$version2\n";
+print "TDE-Next-Version3=$version3_next\n";
+print "TDE-Next-Version2=$version2_next\n";
diff --git a/debian/_base/applications/utilities/kbarcode/debian/changelog b/debian/_base/applications/utilities/kbarcode/debian/changelog
new file mode 100644
index 000000000..df15715c2
--- /dev/null
+++ b/debian/_base/applications/utilities/kbarcode/debian/changelog
@@ -0,0 +1,163 @@
+kbarcode-trinity (2.0.6-0ubuntu3) karmic; urgency=low
+
+ * Karmic rebuild
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 02 Jul 2009 16:08:00 -0600
+
+kbarcode-trinity (2.0.6-0ubuntu2) intrepid; urgency=low
+
+ * Moved Trinity to /opt/trinity
+ * Integrated properly with KDE4.2+
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Wed, 04 March 2009 01:11:00 -0600
+
+kbarcode-trinity (2.0.6-0ubuntu1) intrepid; urgency=low
+
+ * Added -trinity suffix
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Mon, 29 Dec 2008 18:47:00 -0600
+
+kbarcode (2.0.6-1) unstable; urgency=low
+
+ * New upstream release. (Closes: #445734, #445738)
+
+ [ Mark Purcell ]
+ * Update ./debian/rules get-orig-source for http://buildserver.net.
+
+ [ Fathi Boudra ]
+ * Update menu file to latest Debian menu policy.
+ * Add makebuilddir target to generate proper configure script with automake.
+ Workaround unsermake generated configure provided by upstream.
+
+ -- Fathi Boudra <fboudra@free.fr> Wed, 17 Oct 2007 15:43:24 +0200
+
+kbarcode (2.0.5-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Fathi Boudra <fboudra@free.fr> Thu, 9 Nov 2006 10:09:24 +0100
+
+kbarcode (2.0.4-1) unstable; urgency=low
+
+ [ Mark Purcell ]
+ * New upstream release
+ * Ack NMU's:
+ - FTBFS: ICE on m68k, arm and hppa (Closes: #330937)
+ - FTBFS: build-depends on removed xlibs-dev (Closes: #346743)
+ - kbarcode_1.8.0-2(GNU/k*BSD): out of date config.sub/config.guess
+ (Closes: #303338)
+ - error in doc-base file (Closes: #215385)
+ - Package explicitely build-depends on g++-3.4 (Closes: #342975)
+ - [INTL:de] German PO file corrections (Closes: #314013)
+ - Please update config.* (Closes: #357331)
+
+ [ Fathi Boudra ]
+ * Added to Recommends: libqt3-mt-mysql | libqt3-mt-psql | libqt3-mt-odbc |
+ libqt3-mt-sqlite | libqt3-mt-ibase
+
+ -- Mark Purcell <msp@debian.org> Fri, 28 Jul 2006 21:30:19 +0100
+
+kbarcode (2.0.3-1) unstable; urgency=low
+
+ * New maintainer
+ * Maintainer: KDE Extras Team
+ * Uploaders: Fathi Boudra and Mark Purcell
+ * New upstream release (Closes: #278751, #320912, #345787, #357391)
+ * Converted package to cdbs
+ * compat: bumped to 5
+ * control:
+ * replaced Sections x11 by kde
+ * removed unneeded Build-depends: libx11-dev, libxext-dev, libxpm-dev,
+ libqt3-mt-dev
+ * bumped Standards-Version to 3.7.2
+ * removed unneeded Depends: libqt3-mt
+ * improved short and lon description
+ * copyright:
+ * added missing copyright for barkode and barcode.ps
+ * added barcode.ps license
+ * Added manpage (Closes: #370547)
+ * Added watch file
+ * Fixed menu by deleting kderemove entry
+
+ -- Fathi Boudra <fboudra@free.fr> Tue, 27 Jun 2006 17:59:57 +0200
+
+kbarcode (1.8.0-3.3) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Move config.{guess,sub} to admin directory (Closes: #357331).
+
+ -- Luk Claes <luk@debian.org> Thu, 16 Mar 2006 23:51:42 +0100
+
+kbarcode (1.8.0-3.2) unstable; urgency=high
+
+ * Non-maintainer upload.
+ * Split xlibs-dev build-dep (Closes: #346743).
+ * Remove explicit build-dep on g++-3.4 (Closes: #342975).
+ * German PO file corrections (Closes: #314013).
+ * Support GNU/kFreeBSD (Closes: #303338).
+
+ -- Luk Claes <luk@debian.org> Wed, 11 Jan 2006 16:05:43 +0100
+
+kbarcode (1.8.0-3.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Build-dep on g++-3.4 on arm, hppa and m68k (closes: #330937).
+
+ -- Luk Claes <luk@debian.org> Sat, 1 Oct 2005 20:03:32 +0200
+
+kbarcode (1.8.0-3) unstable; urgency=low
+
+ * Fixed the Qt/KDE transition problems (closes: #327942).
+
+ -- Theodore Karkoulis <bilbo@debian.org> Sat, 17 Sep 2005 18:12:10 +0300
+
+kbarcode (1.8.0-2) unstable; urgency=low
+
+ * Applied the patches from Andreas Jochens, closes: #258475, #286981.
+
+ -- Theodore Karkoulis <bilbo@debian.org> Tue, 4 Jan 2005 17:16:05 +0200
+
+kbarcode (1.8.0-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Theodore Karkoulis <bilbo@debian.org> Sun, 29 Aug 2004 07:25:25 +0300
+
+kbarcode (1.6.2-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Theodore Karkoulis <bilbo@debian.org> Sun, 15 Feb 2004 19:00:42 +0200
+
+kbarcode (1.6.1-1) unstable; urgency=low
+
+ * New upstream Version
+ * Fixes the /usr/share/doc/kbarcode/html problem, closes: #215385
+
+ -- Theodore Karkoulis <bilbo@debian.org> Tue, 27 Jan 2004 11:05:20 +0200
+
+kbarcode (1.4.1-1) unstable; urgency=low
+
+ * New Upstream Version.
+
+ -- Theodore Karkoulis <bilbo@debian.org> Thu, 30 Oct 2003 23:52:02 +0200
+
+kbarcode (1.2.1-3) unstable; urgency=low
+
+ * Fixes the g++-3.3 compile problem, closes: #216751
+
+ -- Theodore Karkoulis <bilbo@debian.org> Mon, 27 Oct 2003 20:47:33 +0200
+
+kbarcode (1.2.1-2) unstable; urgency=low
+
+ * Fixes the xlibs-dev build dependency, closes: #212501, #212666.
+ * changelog
+
+ -- Theodore Karkoulis <bilbo@debian.org> Mon, 27 Oct 2003 20:47:06 +0200
+
+kbarcode (1.2.1-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Theodore Karkoulis <bilbo@debian.org> Tue, 16 Sep 2003 13:36:54 +0300
+
diff --git a/debian/_base/applications/utilities/kbarcode/debian/compat b/debian/_base/applications/utilities/kbarcode/debian/compat
new file mode 100644
index 000000000..f599e28b8
--- /dev/null
+++ b/debian/_base/applications/utilities/kbarcode/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/_base/applications/utilities/kbarcode/debian/control b/debian/_base/applications/utilities/kbarcode/debian/control
new file mode 100644
index 000000000..c2d2fe2b9
--- /dev/null
+++ b/debian/_base/applications/utilities/kbarcode/debian/control
@@ -0,0 +1,35 @@
+Source: kbarcode-trinity
+Section: tde
+Priority: optional
+Maintainer: TDE Debian Team <team-debian@trinitydesktop.org>
+Uploaders: Fathi Boudra <fboudra@free.fr>, Mark Purcell <msp@debian.org>
+Build-Depends: cdbs, debhelper (>= 10~), quilt, tde-cmake, ninja-build, tdelibs14-trinity-dev
+Standards-Version: 3.8.4
+
+Package: kbarcode-trinity
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, barcode, imagemagick
+Replaces: kbarcode-trinity (<< 4:14.0.0~)
+Breaks: kbarcode-trinity (<< 4:14.0.0~)
+Recommends: libtqt3-mt-mysql | libtqt3-mt-psql | libtqt3-mt-odbc | libtqt3-mt-sqlite |
+ libtqt3-mt-ibase
+Description: barcode and label printing application for Trinity
+ KBarcode is a barcode and label printing application for Trinity. It can be used
+ to print everything from simple business cards up to complex labels with
+ several barcodes (e.g. article descriptions).
+ .
+ KBarcode comes with an easy to use WYSIWYG label designer, a setup wizard,
+ batch import of data for batch printing labels (directly from the delivery
+ note), thousands of predefined labels, database management tools and
+ translations in many languages. Even printing more than 10.000 labels in one
+ go is no problem for KBarcode. Data for printing can be imported from several
+ different data sources, including SQL databases, CSV files and the TDE address
+ book.
+ .
+ Additionally it is a simple barcode generator (similar to the old xbarcode you
+ might know). All major types of barcodes like EAN, UPC, CODE39 and ISBN are
+ supported. Even complex 2D barcodes are supported using third party tools. The
+ generated barcodes can be directly printed or you can export them into images
+ to use them in another application.
+ .
+ Homepage: http://www.kbarcode.net
diff --git a/debian/_base/applications/utilities/kbarcode/debian/copyright b/debian/_base/applications/utilities/kbarcode/debian/copyright
new file mode 100644
index 000000000..37bf717a2
--- /dev/null
+++ b/debian/_base/applications/utilities/kbarcode/debian/copyright
@@ -0,0 +1,75 @@
+This package was debianized by Theodore Karkoulis <bilbo@debian.org> on
+Tue, 16 Sep 2003 13:36:54 +0300.
+
+It is now maintained by KDE Extras Team.
+
+It was downloaded from http://www.kbarcode.net
+
+Upstream Author: Dominik Seichter <domseichter@web.de>
+
+Copyright: Copyright (C) 2002-2006 Dominik Seichter <domseichter@web.de>
+
+Copyright for barkode: Copyright (C) 1998-2000 Torben Weis <weis@kde.org>
+
+Copyright for Barcode Writer in Pure PostScript:
+ Copyright (C) 2006 Terry Burton <tez@terryburton.co.uk>
+
+barcode.ps license:
+
+The file kbarcode/barcode.ps which is included in this
+distribution is licensed under the following conditions:
+========================================================
+
+Barcode Writer in Pure PostScript
+http://www.terryburton.co.uk/barcodewriter/
+
+Copyright (c) 2005 Terry Burton - tez@terryburton.co.uk
+
+Permission is hereby granted, free of charge, to any
+person obtaining a copy of this software and associated
+documentation files (the "Software"), to deal in the
+Software without restriction, including without
+limitation the rights to use, copy, modify, merge,
+publish, distribute, sublicense, and/or sell copies of
+the Software, and to permit persons to whom the Software
+is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice
+shall be included in all copies or substantial portions
+of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
+KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
+THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
+PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
+CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+IN THE SOFTWARE.
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/BSD'.
+
+kbarcode license:
+
+ 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 package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL-2'.
+
+The Debian packaging is (C) 2006, Fathi Boudra <fboudra@free.fr> and
+is licensed under the GPL, see above.
diff --git a/debian/_base/applications/utilities/kbarcode/debian/docs b/debian/_base/applications/utilities/kbarcode/debian/docs
new file mode 100644
index 000000000..ca0272abf
--- /dev/null
+++ b/debian/_base/applications/utilities/kbarcode/debian/docs
@@ -0,0 +1,3 @@
+AUTHORS
+README
+TODO
diff --git a/debian/_base/applications/utilities/kbarcode/debian/menu b/debian/_base/applications/utilities/kbarcode/debian/menu
new file mode 100644
index 000000000..33f4f83da
--- /dev/null
+++ b/debian/_base/applications/utilities/kbarcode/debian/menu
@@ -0,0 +1,6 @@
+?package(kbarcode-trinity):\
+ needs="X11"\
+ section="Applications/Graphics"\
+ hints="TDE,Barcode"\
+ title="KBarcode"\
+ command="/opt/trinity/bin/kbarcode"
diff --git a/debian/_base/applications/utilities/kbarcode/debian/patches/.gitignore b/debian/_base/applications/utilities/kbarcode/debian/patches/.gitignore
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/_base/applications/utilities/kbarcode/debian/patches/.gitignore
diff --git a/debian/_base/applications/utilities/kbarcode/debian/rules b/debian/_base/applications/utilities/kbarcode/debian/rules
new file mode 100755
index 000000000..5a0da42af
--- /dev/null
+++ b/debian/_base/applications/utilities/kbarcode/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/cmake.mk
+include debian/cdbs/debian-tde.mk
+
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc" \
+ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DBUILD_ALL="ON" \
+ -DWITH_ALL_OPTIONS="ON"
diff --git a/debian/_base/applications/utilities/kbarcode/debian/source/format b/debian/_base/applications/utilities/kbarcode/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/debian/_base/applications/utilities/kbarcode/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/_base/applications/utilities/kbarcode/debian/source/options b/debian/_base/applications/utilities/kbarcode/debian/source/options
new file mode 100644
index 000000000..72f1f5450
--- /dev/null
+++ b/debian/_base/applications/utilities/kbarcode/debian/source/options
@@ -0,0 +1,6 @@
+# Use xz instead of gzip
+compression = "xz"
+compression-level = 9
+
+# Don't run differences
+diff-ignore = .*
diff --git a/debian/_base/applications/utilities/kchmviewer/debian/cdbs/debian-tde.mk b/debian/_base/applications/utilities/kchmviewer/debian/cdbs/debian-tde.mk
new file mode 100644
index 000000000..aba508624
--- /dev/null
+++ b/debian/_base/applications/utilities/kchmviewer/debian/cdbs/debian-tde.mk
@@ -0,0 +1,251 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2003 Christopher L Cheney <ccheney@debian.org>
+# Copyright © 2019 TDE Team
+# Description: A class for TDE packages; sets TDE environment variables, etc
+#
+# This program 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, or (at
+# your option) any later version.
+#
+# This program 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, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+ifndef _cdbs_bootstrap
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+endif
+
+ifndef _cdbs_class_debian-qt-kde
+_cdbs_class_debian-qt-kde := 1
+
+# for dh_icons
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), debhelper (>= 5.0.7ubuntu4)
+
+# Note: This _must_ be included before autotools.mk, or it won't work.
+common-configure-arch common-configure-indep:: debian/stamp-cvs-make
+debian/stamp-cvs-make:
+ifndef _cdbs_class_cmake
+ cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
+ $(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
+endif
+ touch debian/stamp-cvs-make
+
+include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
+
+ifdef _cdbs_tarball_dir
+DEB_BUILDDIR = $(_cdbs_tarball_dir)/obj-$(DEB_BUILD_GNU_TYPE)
+else
+DEB_BUILDDIR = obj-$(DEB_BUILD_GNU_TYPE)
+endif
+
+ifndef _cdbs_class_cmake
+include $(_cdbs_class_path)/autotools.mk$(_cdbs_makefile_suffix)
+endif
+
+ifdef _cdbs_class_cmake
+ifneq "$(wildcard /usr/bin/ninja)" ""
+MAKE = ninja -v
+DEB_MAKE_ENVVARS += DESTDIR=$(DEB_DESTDIR)
+DEB_MAKE_INSTALL_TARGET = install
+DEB_CMAKE_NORMAL_ARGS += -GNinja
+endif
+endif
+
+ifndef _cdbs_rules_patchsys_quilt
+DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
+
+export kde_cgidir = \$${libdir}/cgi-bin
+export kde_confdir = \$${sysconfdir}/trinity
+export kde_htmldir = \$${datadir}/doc/tde/HTML
+
+DEB_KDE_ENABLE_FINAL := yes
+DEB_INSTALL_DOCS_ALL :=
+
+DEB_DH_MAKESHLIBS_ARGS_ALL := -V
+DEB_SHLIBDEPS_INCLUDE = $(foreach p,$(PACKAGES_WITH_LIBS),debian/$(p)/usr/lib)
+
+DEB_AC_AUX_DIR = $(DEB_SRCDIR)/admin
+DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include"
+DEB_COMPRESS_EXCLUDE_ALL += .dcl .docbook -license .tag .sty .el
+
+# 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
+
+ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ cdbs_treat_me_gently_arches := arm m68k alpha ppc64 armel armeb
+ ifeq (,$(filter $(DEB_HOST_ARCH_CPU),$(cdbs_treat_me_gently_arches)))
+ cdbs_kde_enable_final = $(if $(DEB_KDE_ENABLE_FINAL),--enable-final,)
+ else
+ cdbs_kde_enable_final =
+ endif
+endif
+
+ifneq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_final =
+ cdbs_kde_enable_debug = --enable-debug=yes
+else
+ cdbs_kde_enable_debug = --disable-debug
+endif
+
+ifneq (,$(filter debug,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_debug = --enable-debug=full
+endif
+
+DEB_BUILD_PARALLEL ?= true
+
+cdbs_configure_flags += \
+ --with-qt-dir=/usr/share/qt3 \
+ --disable-rpath \
+ --with-xinerama \
+ $(cdbs_kde_enable_final) \
+ $(cdbs_kde_enable_debug)
+
+
+# This is a convenience target for calling manually.
+# It's not part of the build process.
+buildprep: clean apply-patches
+ifndef _cdbs_class_cmake
+ $(MAKE) -f admin/Makefile.common dist
+endif
+ debian/rules clean
+
+.tdepkginfo:
+ echo "# TDE package information" >.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Source: |Name: |p" >>.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Version: |Version: |p" >>.tdepkginfo
+ date +"DateTime: %m/%d/%Y %H:%M" -u -d "$$(dpkg-parsechangelog | sed -n 's|^Date: ||p')" >>.tdepkginfo
+
+post-patches:: .tdepkginfo
+
+common-build-arch:: debian/stamp-man-pages
+debian/stamp-man-pages:
+ if ! test -d debian/man/out; then mkdir -p debian/man/out; fi
+ for f in $$(find debian/man -name '*.sgml'); do \
+ docbook-to-man $$f > debian/man/out/`basename $$f .sgml`.1; \
+ done
+ for f in $$(find debian/man -name '*.man'); do \
+ soelim -I debian/man $$f \
+ > debian/man/out/`basename $$f .man`.`head -n1 $$f | awk '{print $$NF}'`; \
+ done
+ touch debian/stamp-man-pages
+
+common-binary-indep::
+ ( set -e; \
+ tmpf=`mktemp debian/versions.XXXXXX`; \
+ perl debian/cdbs/versions.pl >$$tmpf; \
+ for p in $(DEB_INDEP_PACKAGES); do \
+ cat $$tmpf >>debian/$$p.substvars; \
+ done; \
+ rm -f $$tmpf )
+
+common-binary-arch::
+ ( set -e; \
+ tmpf=`mktemp debian/versions.XXXXXX`; \
+ perl debian/cdbs/versions.pl >$$tmpf; \
+ for p in $(DEB_ARCH_PACKAGES); do \
+ cat $$tmpf >>debian/$$p.substvars; \
+ done; \
+ rm -f $$tmpf )
+ # update multi-arch path in install files
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
+ [ -d $$a ] || [ -f $$a.arch ] || \
+ ! grep -q "\$$(DEB_HOST_MULTIARCH)" $$a || \
+ sed -i.arch "s|\$$(DEB_HOST_MULTIARCH)|$(DEB_HOST_MULTIARCH)|g" $$a; \
+ done
+
+clean::
+ rm -rf debian/man/out
+ -rmdir debian/man
+ rm -f debian/stamp-man-pages
+ rm -rf debian/shlibs-check
+ # revert multi-arch path in install files
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
+ [ ! -f $$a.arch ] || \
+ mv $$a.arch $$a; \
+ done
+
+$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
+ if test -x /usr/bin/dh_icons; then dh_icons -p$(cdbs_curpkg) $(DEB_DH_ICONCACHE_ARGS); fi
+ if test -x /usr/bin/dh_desktop; then dh_desktop -p$(cdbs_curpkg) $(DEB_DH_DESKTOP_ARGS); fi
+ if test -e debian/$(cdbs_curpkg).lintian; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).lintian \
+ debian/$(cdbs_curpkg)/usr/share/lintian/overrides/$(cdbs_curpkg); \
+ fi
+ if test -e debian/$(cdbs_curpkg).presubj; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).presubj \
+ debian/$(cdbs_curpkg)/usr/share/bug/$(cdbs_curpkg)/presubj; \
+ fi
+ if test -d debian/$(cdbs_curpkg)/opt/trinity/lib && \
+ test $$(find debian/$(cdbs_curpkg)/opt/trinity/lib -name "*.so" | wc -l) -gt 0; then \
+ echo "# Triggers added by cdbs/debian-tde.mk" >> debian/.debhelper/generated/$(cdbs_curpkg)/triggers; \
+ echo "activate-noawait ldconfig" >> debian/.debhelper/generated/$(cdbs_curpkg)/triggers; \
+ fi
+
+binary-install/$(DEB_SOURCE_PACKAGE)-doc-html::
+ set -e; \
+ for doc in `cd $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en; find . -name index.docbook`; do \
+ pkg=$${doc%/index.docbook}; pkg=$${pkg#./}; \
+ echo Building $$pkg HTML docs...; \
+ mkdir -p $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ cd $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ /opt/trinity/bin/meinproc $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en/$$pkg/index.docbook; \
+ done
+ for pkg in $(DOC_HTML_PRUNE) ; do \
+ rm -rf debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ done
+
+common-build-indep:: debian/stamp-kde-apidox
+debian/stamp-kde-apidox:
+ $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) apidox)
+ touch $@
+
+common-install-indep:: common-install-kde-apidox
+common-install-kde-apidox::
+ $(if $(DEB_KDE_APIDOX),+DESTDIR=$(DEB_DESTDIR) $(DEB_MAKE_INVOKE) install-apidox)
+
+cleanbuilddir::
+ -$(if $(call cdbs_streq,$(DEB_BUILDDIR),$(DEB_SRCDIR)),,rm -rf $(DEB_BUILDDIR))
+
+clean::
+ifndef _cdbs_class_cmake
+ if test -n "$(DEB_KDE_CVS_MAKE)" && test -d $(DEB_SRCDIR); then \
+ cd $(DEB_SRCDIR); \
+ find . -name Makefile.in -print | \
+ xargs --no-run-if-empty rm -f; \
+ rm -f Makefile.am acinclude.m4 aclocal.m4 config.h.in \
+ configure configure.files configure.in stamp-h.in \
+ subdirs; \
+ fi
+endif
+ rm -f .tdepkginfo
+ rm -f debian/stamp-kde-apidox
+ rm -f debian/stamp-cvs-make
+
+endif
diff --git a/debian/_base/applications/utilities/kchmviewer/debian/cdbs/versions.pl b/debian/_base/applications/utilities/kchmviewer/debian/cdbs/versions.pl
new file mode 100644
index 000000000..1b110f7af
--- /dev/null
+++ b/debian/_base/applications/utilities/kchmviewer/debian/cdbs/versions.pl
@@ -0,0 +1,19 @@
+#!/usr/bin/env perl
+
+use strict;
+use warnings;
+
+my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`;
+my ($version3, $version3_next);
+my ($version2, $version2_next);
+
+($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/;
+($version2 = $version3) =~ s/\.[^.]+$//;
+
+($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e;
+($version2_next = $version2) =~ s/(?<=\.)(\d+)$/($1+1)/e;
+
+print "TDE-Version3=$version3\n";
+print "TDE-Version2=$version2\n";
+print "TDE-Next-Version3=$version3_next\n";
+print "TDE-Next-Version2=$version2_next\n";
diff --git a/debian/_base/applications/utilities/kchmviewer/debian/changelog b/debian/_base/applications/utilities/kchmviewer/debian/changelog
new file mode 100644
index 000000000..91fe29383
--- /dev/null
+++ b/debian/_base/applications/utilities/kchmviewer/debian/changelog
@@ -0,0 +1,125 @@
+kchmviewer-trinity (3.1.2-0ubuntu4) karmic; urgency=low
+
+ * Karmic rebuild
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 02 Jul 2009 16:08:00 -0600
+
+kchmviewer-trinity (3.1.2-0ubuntu3) intrepid; urgency=low
+
+ * Added -trinity suffix
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 25 Jun 2009 09:54:00 -0600
+
+kchmviewer (3.1.2-0ubuntu2) intrepid; urgency=low
+
+ * debian/rules:
+ - fix dpatch support
+ - fix debian-rules-ignores-make-clean-error lintian warning
+ * Add patch fix_gcc4.3.dpatch to fix FTBFS due to gcc 4.3 (LP: #240085)
+ Thanks to Chris Lamb <chris@chris-lamb.co.uk>
+ * Update debian/watch
+ * Bump Standards-Version to 3.8.0:
+ - add Homepage: field in debian/control
+ - update debian/menu
+ * debian/control:
+ - fix spelling-error-in-description lintian warning
+ * Modify Maintainer value to match the DebianMaintainerField
+ specification.
+
+ -- Cesare Tirabassi <norsetto@ubuntu.com> Sun, 15 Jun 2008 13:11:01 +0200
+
+kchmviewer (3.1.2-0ubuntu1) gutsy; urgency=low
+
+ * New upstream release
+
+ -- Anthony Mercatante <tonio@ubuntu.com> Sun, 01 Jul 2007 00:22:53 +0200
+
+kchmviewer (2.7-1ubuntu1) feisty; urgency=low
+
+ * Merge from Debian unstable, remaining Ubuntu changes:
+ - debian/control: Conflict: kchmviewer-nokde
+ builds without KDE support
+ * Added dpatch to debian/control dependencies to build nokde support
+
+ -- Richard A. Johnson <nixternal@ubuntu.com> Fri, 5 Jan 2007 19:27:31 -0600
+
+kchmviewer (2.7-1) unstable; urgency=low
+
+ * New upstream version
+ - Should fix crashes due to bad encoding detection (Closes: #390329)
+
+ -- Jose Luis Tallon <jltallon@adv-solutions.net> Fri, 8 Dec 2006 02:11:46 +0100
+
+kchmviewer (2.7-0ubuntu1) feisty; urgency=low
+
+ * New upstream release
+ * Removed obsolete 01_kchmviewwindow_cpp.dpatch
+
+ -- Anthony Mercatante <tonio@ubuntu.com> Thu, 7 Dec 2006 12:24:41 +0100
+
+kchmviewer (2.6-1) unstable; urgency=low
+
+ * New upstream version
+
+ -- Jose Luis Tallon <jltallon@adv-solutions.net> Thu, 31 Aug 2006 02:56:52 +0200
+
+kchmviewer (2.6-0ubuntu1) edgy; urgency=low
+
+ * New upstream release.
+ * Added a patch for kchvviewwindow.cpp to avoid a compile error when
+ compiling against QT alone.
+ * Added a variant kchmviewer-nokde that is built without KDE support.
+
+ -- Ahmed El-Mahmoudy <aelmahmoudy@users.sourceforge.net> Thu, 31 Aug 2006 15:05:01 +0300
+
+kchmviewer (2.5-2ubuntu1) edgy; urgency=low
+
+ * Rebuild so it doesnt depend on libgamin0
+
+ -- Sarah Hobbs <hobbsee@ubuntu.com> Tue, 18 Jul 2006 20:24:36 -0500
+
+kchmviewer (2.5-2) unstable; urgency=low
+
+ * Fix FTBFS with g++4.1 (Closes: #372168)
+
+ -- Jose Luis Tallon <jltallon@adv-solutions.net> Thu, 08 Jun 2006 20:08:39 +0200
+
+kchmviewer (2.5-1) unstable; urgency=low
+
+ * New upstream version
+
+ * Fix building with g++4.1 (Closes: #356517)
+
+ * Updated to standards version 3.7.2 with no changes
+
+ -- Jose Luis Tallon <jltallon@adv-solutions.net> Thu, 11 May 2006 2:32:41 +0200
+
+kchmviewer (2.0-1) unstable; urgency=low
+
+ * New upstream version (Closes: #353709)
+ - included proper icons from upstream :-)
+
+ * Package sponsored by Tommaso Moroni
+
+ -- Jose Luis Tallon <jltallon@adv-solutions.net> Mon, 20 Feb 2006 22:19:57 +0100
+
+kchmviewer (1.3a-1) unstable; urgency=low
+
+ * First upload to the Archive (Closes: #312700)
+
+ * Package sponsored by Tommaso Moroni
+
+ -- Jose Luis Tallon <jltallon@adv-solutions.net> Sun, 1 Jan 2006 2:33:38 +0100
+
+kchmviewer (1.2a-1) unstable; urgency=low
+
+ [ Tommaso Moroni ]
+ * Initial packaging, incomplete
+
+ [ Jose Luis Tallon ]
+ * Initial release
+ - Fixed to use libchm instead of chmlib
+ - Added icons and manpage (1.2 -> 1.2a)
+
+ -- Jose Luis Tallon <jltallon@adv-solutions.net> Sat, 10 Dec 2005 18:48:17 +0100
+
diff --git a/debian/_base/applications/utilities/kchmviewer/debian/compat b/debian/_base/applications/utilities/kchmviewer/debian/compat
new file mode 100644
index 000000000..f599e28b8
--- /dev/null
+++ b/debian/_base/applications/utilities/kchmviewer/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/_base/applications/utilities/kchmviewer/debian/control b/debian/_base/applications/utilities/kchmviewer/debian/control
new file mode 100644
index 000000000..8f5ba9018
--- /dev/null
+++ b/debian/_base/applications/utilities/kchmviewer/debian/control
@@ -0,0 +1,35 @@
+Source: kchmviewer-trinity
+Section: tde
+Priority: optional
+Maintainer: TDE Debian Team <team-debian@trinitydesktop.org>
+XSBC-Original-Maintainer: Jose Luis Tallon <jltallon@adv-solutions.net>
+Build-Depends: cdbs, debhelper (>= 10~), quilt, tde-cmake, ninja-build, tdelibs14-trinity-dev, libchm-dev
+Standards-Version: 3.8.4
+Homepage: http://www.kchmviewer.net/
+
+Package: kchmviewer-trinity
+Architecture: any
+Conflicts: kchmviewer-nokde-trinity
+Replaces: kchmviewer-trinity (<< 4:14.0.0~)
+Breaks: kchmviewer-trinity (<< 4:14.0.0~)
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: CHM viewer for Trinity
+ KchmViewer is a chm (MS HTML help file format) viewer, written in C++.
+ Unlike most existing CHM viewers for Unix, it uses Trolltech Qt widget
+ library, and does not depend on TDE, KDE or GNOME. However, it may be compiled
+ with full Trinity support, including Trinity widgets and KIO/TDEHTML.
+ .
+ The main advantage of KchmViewer is non-English language support. Unlike
+ others, KchmViewer in most cases correctly detects help file encoding,
+ correctly shows tables of context of Russian, Korean, Chinese and Japanese
+ help files, and correctly searches in non-English help files (search for
+ MBCS languages - ja/ko/ch is still in progress).
+ .
+ Completely safe and harmless. Does not support JavaScript in any way,
+ optionally warns you before opening an external web page, or switching to
+ another help file. Shows an appropriate image for every TOC entry.
+ .
+ KchmViewer Has complete chm index support, including multiple index entries,
+ cross-links and parent/child entries in index as well as Persistent bookmarks
+ support. Correctly detects and shows encoding of any valid chm file.
+
diff --git a/debian/_base/applications/utilities/kchmviewer/debian/copyright b/debian/_base/applications/utilities/kchmviewer/debian/copyright
new file mode 100644
index 000000000..b221828b7
--- /dev/null
+++ b/debian/_base/applications/utilities/kchmviewer/debian/copyright
@@ -0,0 +1,26 @@
+This package was debianized by Tommaso Moroni <moronito@debian.org> on
+Sat, 24 Sep 2005 18:52:09 +0200.
+..and later redone by Jose Luis Tallon <jltallon@adv-solutions.net>
+
+It was downloaded from http://kchmviewer.sourceforge.net
+
+Copyright Holder: Georgy Gunayev <tim@krasnogorsk.ru>
+
+
+License statement:
+ 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.
+
+Additional Licenses:
+ The 'kio-msits' KIOSlave module is covered by the GNU LGPL license.
+
+
+On Debian systems, the complete text of the GNU GPL2 and LGPL licenses
+can be found at `/usr/share/common-licenses'.
diff --git a/debian/_base/applications/utilities/kchmviewer/debian/dirs b/debian/_base/applications/utilities/kchmviewer/debian/dirs
new file mode 100644
index 000000000..9d345cd36
--- /dev/null
+++ b/debian/_base/applications/utilities/kchmviewer/debian/dirs
@@ -0,0 +1,2 @@
+opt/trinity/bin
+opt/trinity/lib/trinity
diff --git a/debian/_base/applications/utilities/kchmviewer/debian/docs b/debian/_base/applications/utilities/kchmviewer/debian/docs
new file mode 100644
index 000000000..b72409e5a
--- /dev/null
+++ b/debian/_base/applications/utilities/kchmviewer/debian/docs
@@ -0,0 +1,3 @@
+AUTHORS
+FAQ
+README.md
diff --git a/debian/_base/applications/utilities/kchmviewer/debian/kchmviewer-trinity.menu b/debian/_base/applications/utilities/kchmviewer/debian/kchmviewer-trinity.menu
new file mode 100644
index 000000000..694dda9e9
--- /dev/null
+++ b/debian/_base/applications/utilities/kchmviewer/debian/kchmviewer-trinity.menu
@@ -0,0 +1,2 @@
+?package(kchmviewer-trinity):needs="X11" section="Applications/Viewers"\
+ title="kchmviewer" command="/opt/trinity/bin/kchmviewer"
diff --git a/debian/_base/applications/utilities/kchmviewer/debian/patches/.gitignore b/debian/_base/applications/utilities/kchmviewer/debian/patches/.gitignore
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/_base/applications/utilities/kchmviewer/debian/patches/.gitignore
diff --git a/debian/_base/applications/utilities/kchmviewer/debian/rules b/debian/_base/applications/utilities/kchmviewer/debian/rules
new file mode 100755
index 000000000..5a0da42af
--- /dev/null
+++ b/debian/_base/applications/utilities/kchmviewer/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/cmake.mk
+include debian/cdbs/debian-tde.mk
+
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc" \
+ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DBUILD_ALL="ON" \
+ -DWITH_ALL_OPTIONS="ON"
diff --git a/debian/_base/applications/utilities/kchmviewer/debian/source/format b/debian/_base/applications/utilities/kchmviewer/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/debian/_base/applications/utilities/kchmviewer/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/_base/applications/utilities/kchmviewer/debian/source/options b/debian/_base/applications/utilities/kchmviewer/debian/source/options
new file mode 100644
index 000000000..72f1f5450
--- /dev/null
+++ b/debian/_base/applications/utilities/kchmviewer/debian/source/options
@@ -0,0 +1,6 @@
+# Use xz instead of gzip
+compression = "xz"
+compression-level = 9
+
+# Don't run differences
+diff-ignore = .*
diff --git a/debian/_base/applications/utilities/kcpuload/debian/cdbs/debian-tde.mk b/debian/_base/applications/utilities/kcpuload/debian/cdbs/debian-tde.mk
new file mode 100644
index 000000000..aba508624
--- /dev/null
+++ b/debian/_base/applications/utilities/kcpuload/debian/cdbs/debian-tde.mk
@@ -0,0 +1,251 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2003 Christopher L Cheney <ccheney@debian.org>
+# Copyright © 2019 TDE Team
+# Description: A class for TDE packages; sets TDE environment variables, etc
+#
+# This program 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, or (at
+# your option) any later version.
+#
+# This program 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, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+ifndef _cdbs_bootstrap
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+endif
+
+ifndef _cdbs_class_debian-qt-kde
+_cdbs_class_debian-qt-kde := 1
+
+# for dh_icons
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), debhelper (>= 5.0.7ubuntu4)
+
+# Note: This _must_ be included before autotools.mk, or it won't work.
+common-configure-arch common-configure-indep:: debian/stamp-cvs-make
+debian/stamp-cvs-make:
+ifndef _cdbs_class_cmake
+ cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
+ $(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
+endif
+ touch debian/stamp-cvs-make
+
+include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
+
+ifdef _cdbs_tarball_dir
+DEB_BUILDDIR = $(_cdbs_tarball_dir)/obj-$(DEB_BUILD_GNU_TYPE)
+else
+DEB_BUILDDIR = obj-$(DEB_BUILD_GNU_TYPE)
+endif
+
+ifndef _cdbs_class_cmake
+include $(_cdbs_class_path)/autotools.mk$(_cdbs_makefile_suffix)
+endif
+
+ifdef _cdbs_class_cmake
+ifneq "$(wildcard /usr/bin/ninja)" ""
+MAKE = ninja -v
+DEB_MAKE_ENVVARS += DESTDIR=$(DEB_DESTDIR)
+DEB_MAKE_INSTALL_TARGET = install
+DEB_CMAKE_NORMAL_ARGS += -GNinja
+endif
+endif
+
+ifndef _cdbs_rules_patchsys_quilt
+DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
+
+export kde_cgidir = \$${libdir}/cgi-bin
+export kde_confdir = \$${sysconfdir}/trinity
+export kde_htmldir = \$${datadir}/doc/tde/HTML
+
+DEB_KDE_ENABLE_FINAL := yes
+DEB_INSTALL_DOCS_ALL :=
+
+DEB_DH_MAKESHLIBS_ARGS_ALL := -V
+DEB_SHLIBDEPS_INCLUDE = $(foreach p,$(PACKAGES_WITH_LIBS),debian/$(p)/usr/lib)
+
+DEB_AC_AUX_DIR = $(DEB_SRCDIR)/admin
+DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include"
+DEB_COMPRESS_EXCLUDE_ALL += .dcl .docbook -license .tag .sty .el
+
+# 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
+
+ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ cdbs_treat_me_gently_arches := arm m68k alpha ppc64 armel armeb
+ ifeq (,$(filter $(DEB_HOST_ARCH_CPU),$(cdbs_treat_me_gently_arches)))
+ cdbs_kde_enable_final = $(if $(DEB_KDE_ENABLE_FINAL),--enable-final,)
+ else
+ cdbs_kde_enable_final =
+ endif
+endif
+
+ifneq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_final =
+ cdbs_kde_enable_debug = --enable-debug=yes
+else
+ cdbs_kde_enable_debug = --disable-debug
+endif
+
+ifneq (,$(filter debug,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_debug = --enable-debug=full
+endif
+
+DEB_BUILD_PARALLEL ?= true
+
+cdbs_configure_flags += \
+ --with-qt-dir=/usr/share/qt3 \
+ --disable-rpath \
+ --with-xinerama \
+ $(cdbs_kde_enable_final) \
+ $(cdbs_kde_enable_debug)
+
+
+# This is a convenience target for calling manually.
+# It's not part of the build process.
+buildprep: clean apply-patches
+ifndef _cdbs_class_cmake
+ $(MAKE) -f admin/Makefile.common dist
+endif
+ debian/rules clean
+
+.tdepkginfo:
+ echo "# TDE package information" >.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Source: |Name: |p" >>.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Version: |Version: |p" >>.tdepkginfo
+ date +"DateTime: %m/%d/%Y %H:%M" -u -d "$$(dpkg-parsechangelog | sed -n 's|^Date: ||p')" >>.tdepkginfo
+
+post-patches:: .tdepkginfo
+
+common-build-arch:: debian/stamp-man-pages
+debian/stamp-man-pages:
+ if ! test -d debian/man/out; then mkdir -p debian/man/out; fi
+ for f in $$(find debian/man -name '*.sgml'); do \
+ docbook-to-man $$f > debian/man/out/`basename $$f .sgml`.1; \
+ done
+ for f in $$(find debian/man -name '*.man'); do \
+ soelim -I debian/man $$f \
+ > debian/man/out/`basename $$f .man`.`head -n1 $$f | awk '{print $$NF}'`; \
+ done
+ touch debian/stamp-man-pages
+
+common-binary-indep::
+ ( set -e; \
+ tmpf=`mktemp debian/versions.XXXXXX`; \
+ perl debian/cdbs/versions.pl >$$tmpf; \
+ for p in $(DEB_INDEP_PACKAGES); do \
+ cat $$tmpf >>debian/$$p.substvars; \
+ done; \
+ rm -f $$tmpf )
+
+common-binary-arch::
+ ( set -e; \
+ tmpf=`mktemp debian/versions.XXXXXX`; \
+ perl debian/cdbs/versions.pl >$$tmpf; \
+ for p in $(DEB_ARCH_PACKAGES); do \
+ cat $$tmpf >>debian/$$p.substvars; \
+ done; \
+ rm -f $$tmpf )
+ # update multi-arch path in install files
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
+ [ -d $$a ] || [ -f $$a.arch ] || \
+ ! grep -q "\$$(DEB_HOST_MULTIARCH)" $$a || \
+ sed -i.arch "s|\$$(DEB_HOST_MULTIARCH)|$(DEB_HOST_MULTIARCH)|g" $$a; \
+ done
+
+clean::
+ rm -rf debian/man/out
+ -rmdir debian/man
+ rm -f debian/stamp-man-pages
+ rm -rf debian/shlibs-check
+ # revert multi-arch path in install files
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
+ [ ! -f $$a.arch ] || \
+ mv $$a.arch $$a; \
+ done
+
+$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
+ if test -x /usr/bin/dh_icons; then dh_icons -p$(cdbs_curpkg) $(DEB_DH_ICONCACHE_ARGS); fi
+ if test -x /usr/bin/dh_desktop; then dh_desktop -p$(cdbs_curpkg) $(DEB_DH_DESKTOP_ARGS); fi
+ if test -e debian/$(cdbs_curpkg).lintian; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).lintian \
+ debian/$(cdbs_curpkg)/usr/share/lintian/overrides/$(cdbs_curpkg); \
+ fi
+ if test -e debian/$(cdbs_curpkg).presubj; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).presubj \
+ debian/$(cdbs_curpkg)/usr/share/bug/$(cdbs_curpkg)/presubj; \
+ fi
+ if test -d debian/$(cdbs_curpkg)/opt/trinity/lib && \
+ test $$(find debian/$(cdbs_curpkg)/opt/trinity/lib -name "*.so" | wc -l) -gt 0; then \
+ echo "# Triggers added by cdbs/debian-tde.mk" >> debian/.debhelper/generated/$(cdbs_curpkg)/triggers; \
+ echo "activate-noawait ldconfig" >> debian/.debhelper/generated/$(cdbs_curpkg)/triggers; \
+ fi
+
+binary-install/$(DEB_SOURCE_PACKAGE)-doc-html::
+ set -e; \
+ for doc in `cd $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en; find . -name index.docbook`; do \
+ pkg=$${doc%/index.docbook}; pkg=$${pkg#./}; \
+ echo Building $$pkg HTML docs...; \
+ mkdir -p $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ cd $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ /opt/trinity/bin/meinproc $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en/$$pkg/index.docbook; \
+ done
+ for pkg in $(DOC_HTML_PRUNE) ; do \
+ rm -rf debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ done
+
+common-build-indep:: debian/stamp-kde-apidox
+debian/stamp-kde-apidox:
+ $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) apidox)
+ touch $@
+
+common-install-indep:: common-install-kde-apidox
+common-install-kde-apidox::
+ $(if $(DEB_KDE_APIDOX),+DESTDIR=$(DEB_DESTDIR) $(DEB_MAKE_INVOKE) install-apidox)
+
+cleanbuilddir::
+ -$(if $(call cdbs_streq,$(DEB_BUILDDIR),$(DEB_SRCDIR)),,rm -rf $(DEB_BUILDDIR))
+
+clean::
+ifndef _cdbs_class_cmake
+ if test -n "$(DEB_KDE_CVS_MAKE)" && test -d $(DEB_SRCDIR); then \
+ cd $(DEB_SRCDIR); \
+ find . -name Makefile.in -print | \
+ xargs --no-run-if-empty rm -f; \
+ rm -f Makefile.am acinclude.m4 aclocal.m4 config.h.in \
+ configure configure.files configure.in stamp-h.in \
+ subdirs; \
+ fi
+endif
+ rm -f .tdepkginfo
+ rm -f debian/stamp-kde-apidox
+ rm -f debian/stamp-cvs-make
+
+endif
diff --git a/debian/_base/applications/utilities/kcpuload/debian/cdbs/versions.pl b/debian/_base/applications/utilities/kcpuload/debian/cdbs/versions.pl
new file mode 100644
index 000000000..1b110f7af
--- /dev/null
+++ b/debian/_base/applications/utilities/kcpuload/debian/cdbs/versions.pl
@@ -0,0 +1,19 @@
+#!/usr/bin/env perl
+
+use strict;
+use warnings;
+
+my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`;
+my ($version3, $version3_next);
+my ($version2, $version2_next);
+
+($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/;
+($version2 = $version3) =~ s/\.[^.]+$//;
+
+($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e;
+($version2_next = $version2) =~ s/(?<=\.)(\d+)$/($1+1)/e;
+
+print "TDE-Version3=$version3\n";
+print "TDE-Version2=$version2\n";
+print "TDE-Next-Version3=$version3_next\n";
+print "TDE-Next-Version2=$version2_next\n";
diff --git a/debian/_base/applications/utilities/kcpuload/debian/changelog b/debian/_base/applications/utilities/kcpuload/debian/changelog
new file mode 100644
index 000000000..d1d932a9d
--- /dev/null
+++ b/debian/_base/applications/utilities/kcpuload/debian/changelog
@@ -0,0 +1,251 @@
+kcpuload-trinity (2.00-0ubuntu4) karmic; urgency=low
+
+ * Karmic rebuild
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 02 Jul 2009 16:08:00 -0600
+
+kcpuload-trinity (2.00-0ubuntu3) intrepid; urgency=low
+
+ * Moved Trinity to /opt/trinity
+ * Integrated properly with KDE4.2+
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Wed, 04 March 2009 01:11:00 -0600
+
+kcpuload-trinity (2.00-0ubuntu1) intrepid; urgency=low
+
+ * Added multicore support
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Fri, 20 Feb 2009 14:00:00 -0600
+
+kcpuload-trinity (1.99-0ubuntu1) intrepid; urgency=low
+
+ * Added -trinity suffix
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Fri, 19 Dec 2008 12:57:00 -0600
+
+kcpuload (1.99-14ubuntu1) intrepid; urgency=low
+
+ * Drop recommends on kicker (LP: #283543)
+
+ -- Harald Sitter <apachelogger@ubuntu.com> Wed, 15 Oct 2008 12:37:18 +0200
+
+kcpuload (1.99-14) unstable; urgency=low
+
+ * Fixed popup so it doesn't have a taskbar button appearing
+ (closes: #343558).
+
+ -- Helen Faulkner <helen@debian.org> Sat, 19 Jan 2008 03:59:11 +1100
+
+kcpuload (1.99-13) unstable; urgency=low
+
+ * New maintainer. Thankyou to Ben for looking after this for much longer
+ than he expected to.
+ * Removed versioned depends on tdelibs4-dev, since tdelibs4-dev_4:3.4.2* is
+ the current version in unstable now, and to make backports easier.
+
+ -- Helen Faulkner <helen@debian.org> Sat, 10 Sep 2005 10:38:49 +1000
+
+kcpuload (1.99-12) unstable; urgency=low
+
+ * Rebuilt against KDE 3.4 with g++-4 for the C++ ABI transition. Adjusted
+ KDE build-depends accordingly.
+ * Updated FSF postal address in the copyright file.
+ * Bumped standards-version to 3.6.2.1 (no changes required).
+
+ -- Ben Burton <bab@debian.org> Thu, 1 Sep 2005 09:04:24 +1000
+
+kcpuload (1.99-11) unstable; urgency=low
+
+ * Updated config.{sub,guess} for building on GNU/k*BSD (closes: #306544).
+
+ -- Ben Burton <bab@debian.org> Thu, 28 Apr 2005 08:27:37 +1000
+
+kcpuload (1.99-10) unstable; urgency=low
+
+ * Fixed SMP detection to work in both 2.4 and 2.6 kernels; previously it
+ worked only in 2.4 (closes: #274739).
+ * Removed the debian/CVS directory, since debian packaging files have been
+ removed from CVS upstream.
+
+ -- Ben Burton <bab@debian.org> Fri, 25 Mar 2005 19:49:08 +1100
+
+kcpuload (1.99-9) unstable; urgency=low
+
+ * Added explicit copyright statements to debian/copyright.
+
+ -- Ben Burton <bab@debian.org> Wed, 19 Jan 2005 08:39:03 +1100
+
+kcpuload (1.99-8) unstable; urgency=low
+
+ * Rebuilt against KDE 3.2 for nicer docs.
+ * More quoting for the debian menu file.
+
+ -- Ben Burton <bab@debian.org> Sat, 3 Jul 2004 09:36:46 +1000
+
+kcpuload (1.99-7) unstable; urgency=low
+
+ * Built against new libXrender.
+ * Bumped standards-version to 3.6.1.
+
+ -- Ben Burton <bab@debian.org> Fri, 2 Jan 2004 18:13:07 +1100
+
+kcpuload (1.99-6) unstable; urgency=low
+
+ * Using high colour pixmap for debian menu entry.
+ * Updated SEE ALSO section of manpage.
+ * Bumped standards-version to 3.6.0.
+ * Updated package sections.
+
+ -- Ben Burton <bab@debian.org> Wed, 27 Aug 2003 20:04:25 +1000
+
+kcpuload (1.99-5) unstable; urgency=low
+
+ * Patched admin/acinclude.m4.in for s390 build (closes: #186814).
+ * Using AM_MAINTAINER_MODE.
+
+ -- Ben Burton <bab@debian.org> Tue, 8 Apr 2003 09:27:53 +1000
+
+kcpuload (1.99-4) unstable; urgency=low
+
+ * Removed dangling symlink (closes: #186168).
+
+ -- Ben Burton <bab@debian.org> Wed, 26 Mar 2003 14:06:57 +1100
+
+kcpuload (1.99-3) unstable; urgency=low
+
+ * Updated admin/debianrules for new Qt dirs (closes: #184688).
+ * Removed alpha compile flags.
+
+ -- Ben Burton <bab@debian.org> Sun, 16 Mar 2003 16:00:19 +1100
+
+kcpuload (1.99-2) unstable; urgency=low
+
+ * First Trinity upload to debian!
+ * Build-depends on debhelper v4.
+
+ -- Ben Burton <bab@debian.org> Mon, 3 Feb 2003 10:40:27 +1100
+
+kcpuload (1.99-1) unstable; urgency=low
+
+ * New upstream version.
+ * Bumped standards-version to 3.5.8.
+
+ -- Ben Burton <bab@debian.org> Tue, 14 Jan 2003 19:23:14 +1100
+
+kcpuload (1.90-trinity-1) unstable; urgency=low
+
+ * Ported to Trinity.
+
+ -- Ben Burton <benb@acm.org> Mon, 2 Sep 2002 12:57:36 +1000
+
+kcpuload (1.90-16) unstable; urgency=low
+
+ * Fixed spelling error (closes: Bug#124783).
+
+ -- Ben Burton <benb@acm.org> Wed, 19 Dec 2001 21:52:05 +1000
+
+kcpuload (1.90-15) unstable; urgency=low
+
+ * Fixed the alpha build _again_.
+
+ -- Ben Burton <benb@acm.org> Sun, 4 Nov 2001 11:12:23 -0600
+
+kcpuload (1.90-14) unstable; urgency=low
+
+ * No longer runs ./configure a second time (fixes alpha builds).
+
+ -- Ben Burton <benb@acm.org> Mon, 29 Oct 2001 10:43:01 -0600
+
+kcpuload (1.90-13) unstable; urgency=low
+
+ * Consecutive builds now produce the same source diffs.
+
+ -- Ben Burton <benb@acm.org> Thu, 11 Oct 2001 14:09:31 -0500
+
+kcpuload (1.90-12) unstable; urgency=low
+
+ * Builds with automake 1.5.
+ * Updated config.guess and config.sub (closes: Bug#115030).
+
+ -- Ben Burton <benb@acm.org> Thu, 11 Oct 2001 09:41:57 -0500
+
+kcpuload (1.90-11) unstable; urgency=low
+
+ * Updated parameters for alpha build.
+
+ -- Ben Burton <benb@acm.org> Sun, 23 Sep 2001 23:07:01 -0500
+
+kcpuload (1.90-10) unstable; urgency=low
+
+ * objprelink: now you see it, now you don't (removed).
+
+ -- Ben Burton <benb@acm.org> Sun, 16 Sep 2001 12:22:33 -0500
+
+kcpuload (1.90-9) unstable; urgency=low
+
+ * Uses objprelink.
+
+ -- Ben Burton <benb@acm.org> Thu, 30 Aug 2001 09:10:08 -0500
+
+kcpuload (1.90-8) unstable; urgency=low
+
+ * Cleaned up debian/rules.
+
+ -- Ben Burton <benb@acm.org> Wed, 8 Aug 2001 19:08:30 +1000
+
+kcpuload (1.90-7) unstable; urgency=low
+
+ * Builds on alpha.
+ * Upped standards-version to 3.5.6.
+
+ -- Ben Burton <benb@acm.org> Sat, 4 Aug 2001 00:32:46 +1000
+
+kcpuload (1.90-6) unstable; urgency=low
+
+ * Removed redundancies from build-depends.
+ * Cosmetic change to doc-base registration.
+
+ -- Ben Burton <benb@acm.org> Mon, 21 May 2001 10:48:13 -0500
+
+kcpuload (1.90-5) unstable; urgency=low
+
+ * Fleshed out man page.
+
+ -- Ben Burton <benb@acm.org> Mon, 7 May 2001 07:58:17 -0500
+
+kcpuload (1.90-4) unstable; urgency=low
+
+ * Updated debian/rules to DH_COMPAT=3.
+ * Build-Depends: required version (>> 3.0.0) of debhelper.
+ * Updated Standards-Version to 3.5.2.
+ * Added kderemove="1" to the debian menu item.
+ * Miscellaneous tidying in debian/.
+
+ -- Ben Burton <benb@acm.org> Thu, 26 Apr 2001 12:47:52 -0500
+
+kcpuload (1.90-3) unstable; urgency=low
+
+ * Added Suggests: knetload.
+ * Removed dh_testversion from debian/rules.
+
+ -- Ben Burton <benb@acm.org> Wed, 28 Mar 2001 13:32:24 -0600
+
+kcpuload (1.90-2) unstable; urgency=low
+
+ * Rebuilt for new libqt2 libraries.
+
+ -- Ben Burton <benb@acm.org> Tue, 6 Mar 2001 07:49:40 -0600
+
+kcpuload (1.90-1) unstable; urgency=low
+
+ * Initial Release (closes: Bug#86936).
+ * Added a man page.
+ * Added an icon in /usr/share/pixmaps/.
+ * Moved HTML documentation from /usr/share/apps/kcpuload/docs/ to
+ /usr/share/doc/tde/HTML/en/kcpuload/ so that dwww can access it.
+
+ -- Ben Burton <benb@acm.org> Wed, 21 Feb 2001 12:08:01 -0600
+
+Local variables:
+mode: debian-changelog
+End:
diff --git a/debian/_base/applications/utilities/kcpuload/debian/compat b/debian/_base/applications/utilities/kcpuload/debian/compat
new file mode 100644
index 000000000..f599e28b8
--- /dev/null
+++ b/debian/_base/applications/utilities/kcpuload/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/_base/applications/utilities/kcpuload/debian/control b/debian/_base/applications/utilities/kcpuload/debian/control
new file mode 100644
index 000000000..88f98f018
--- /dev/null
+++ b/debian/_base/applications/utilities/kcpuload/debian/control
@@ -0,0 +1,22 @@
+Source: kcpuload-trinity
+Section: tde
+Priority: optional
+Maintainer: TDE Debian Team <team-debian@trinitydesktop.org>
+XSBC-Original-Maintainer: Helen Faulkner <helen@debian.org>
+Build-Depends: cdbs, debhelper (>= 10~), quilt, tde-cmake, ninja-build, tdelibs14-trinity-dev
+Standards-Version: 3.8.4
+
+Package: kcpuload-trinity
+Architecture: any
+Section: tde
+Replaces: kcpuload-trinity (<< 4:14.0.0~)
+Breaks: kcpuload-trinity (<< 4:14.0.0~)
+Depends: ${shlibs:Depends}
+Suggests: knetload-trinity
+Description: a CPU meter for Kicker [Trinity]
+ KCPULoad is a small program for Kicker (the TDE panel). It shows a
+ recent history of CPU usage in the form of one or two configurable
+ diagrams in the system tray. These diagrams have settings for colours
+ and various different styles.
+ .
+ KCPULoad has support for SMP and separate user/system loads.
diff --git a/debian/_base/applications/utilities/kcpuload/debian/copyright b/debian/_base/applications/utilities/kcpuload/debian/copyright
new file mode 100644
index 000000000..a5ee5d69c
--- /dev/null
+++ b/debian/_base/applications/utilities/kcpuload/debian/copyright
@@ -0,0 +1,28 @@
+This package was debianized by Ben Burton <bab@debian.org> on
+Wed, 21 Feb 2001 12:08:01 -0600.
+
+It was downloaded via CVS from cvs.kde.org.
+
+Upstream Authors: Markus Gustavsson <mighty@fragzone.se>,
+ Ben Burton <bab@debian.org>
+
+Copyright:
+
+ Copyright (c) 1999-2000, Markus Gustavsson
+ (c) 2002, Ben Burton
+
+ 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.
+
+ 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/applications/utilities/kcpuload/debian/doc-base b/debian/_base/applications/utilities/kcpuload/debian/doc-base
new file mode 100644
index 000000000..ad25937a7
--- /dev/null
+++ b/debian/_base/applications/utilities/kcpuload/debian/doc-base
@@ -0,0 +1,11 @@
+Document: kcpuload-trinity
+Title: KCPULoad Handbook
+Author: Markus Gustavsson <mighty@fragzone.se> and Ben Burton <bab@debian.org>
+Abstract: KCPULoad is a simple CPU meter which graphs a recent history
+ of CPU usage in the system tray. It has support for SMP and separate
+ user/system loads.
+Section: Applications/System/Monitoring
+
+Format: HTML
+Index: /opt/trinity/share/doc/kcpuload/html/index.html
+Files: /opt/trinity/share/doc/kcpuload/html/*.html
diff --git a/debian/_base/applications/utilities/kcpuload/debian/docs b/debian/_base/applications/utilities/kcpuload/debian/docs
new file mode 100644
index 000000000..ca0272abf
--- /dev/null
+++ b/debian/_base/applications/utilities/kcpuload/debian/docs
@@ -0,0 +1,3 @@
+AUTHORS
+README
+TODO
diff --git a/debian/_base/applications/utilities/kcpuload/debian/kcpuload-trinity.install b/debian/_base/applications/utilities/kcpuload/debian/kcpuload-trinity.install
new file mode 100644
index 000000000..d3c2fb81c
--- /dev/null
+++ b/debian/_base/applications/utilities/kcpuload/debian/kcpuload-trinity.install
@@ -0,0 +1 @@
+debian/kcpuload.xpm /opt/trinity/share/pixmaps
diff --git a/debian/_base/applications/utilities/kcpuload/debian/kcpuload-trinity.lintian b/debian/_base/applications/utilities/kcpuload/debian/kcpuload-trinity.lintian
new file mode 100644
index 000000000..d53421bab
--- /dev/null
+++ b/debian/_base/applications/utilities/kcpuload/debian/kcpuload-trinity.lintian
@@ -0,0 +1,2 @@
+# This tag is required for apps already in the TDE menu.
+kcpuload-trinity: menu-item-contains-unknown-tag kderemove /usr/share/menu/kcpuload-trinity:7
diff --git a/debian/_base/applications/utilities/kcpuload/debian/kcpuload.xpm b/debian/_base/applications/utilities/kcpuload/debian/kcpuload.xpm
new file mode 100644
index 000000000..3c49eab7e
--- /dev/null
+++ b/debian/_base/applications/utilities/kcpuload/debian/kcpuload.xpm
@@ -0,0 +1,125 @@
+/* XPM */
+static char *kcpuload[] = {
+/* columns rows colors chars-per-pixel */
+"32 32 87 1",
+" c black",
+". c #001A00",
+"X c #001E00",
+"o c #002200",
+"O c #002400",
+"+ c #002600",
+"@ c #002700",
+"# c #002A00",
+"$ c #002D00",
+"% c #002E00",
+"& c #003300",
+"* c #003400",
+"= c #003600",
+"- c #003900",
+"; c #003C00",
+": c #003F00",
+"> c #004100",
+", c #004400",
+"< c #004500",
+"1 c #004800",
+"2 c #004B00",
+"3 c #004C00",
+"4 c #004E00",
+"5 c #005400",
+"6 c #005500",
+"7 c #005A00",
+"8 c #005B00",
+"9 c #005C00",
+"0 c #005F00",
+"q c #006600",
+"w c #006800",
+"e c #006900",
+"r c #006C00",
+"t c #007200",
+"y c #007300",
+"u c #007500",
+"i c #007700",
+"p c #007800",
+"a c #007E00",
+"s c #4C4C4C",
+"d c gray47",
+"f c #008200",
+"g c #008500",
+"h c #008700",
+"j c #008800",
+"k c #008A00",
+"l c #008F00",
+"z c #009000",
+"x c #009300",
+"c c #009600",
+"v c #009800",
+"b c #009900",
+"n c #009C00",
+"m c #00A100",
+"M c #00A200",
+"N c #00A500",
+"B c #00A800",
+"V c #00A900",
+"C c #00AA00",
+"Z c #00AB00",
+"A c #00B400",
+"S c #00B600",
+"D c #00B800",
+"F c #00BB00",
+"G c #00BD00",
+"H c #00BE00",
+"J c #00C300",
+"K c #00C600",
+"L c #00CC00",
+"P c #00CF00",
+"I c #00D000",
+"U c #00D100",
+"Y c #00D200",
+"T c #00D800",
+"R c #00DD00",
+"E c #00E100",
+"W c #00E400",
+"Q c #00E600",
+"! c #00E700",
+"~ c #00EA00",
+"^ c #00EE00",
+"/ c #00F000",
+"( c #00F700",
+") c #00FC00",
+"_ c #00FD00",
+"` c green",
+"' c gray100",
+/* pixels */
+"ssssssssssssssssssssssssssssssss",
+"s '",
+"s '",
+"s '",
+"s '",
+"s '",
+"s '",
+"s '",
+"s ( '",
+"s ~ '",
+"s ddRdd`d`dddddddddddddddd '",
+"s P / / // '",
+"s ` J `E E WE '",
+"s ^ A`/P P PP '",
+"s R V~RJ J( JJ ( '",
+"s LdnTLA`AW`AA```dd(`dW`(` '",
+"s D`xJHN~NP~NNW~~``W~`P~~~ '",
+"s VWfAVvPxJYxxPPPW~PPWJPPP '",
+"s vPimvgHgVHgkHHHPLHHLVHHH '",
+"s kDqxkpVivVpiNVVDDVVDvVNV '",
+"s im8aiexegxeexxxmmxxmgxxx '",
+"s qk4rq8a8ya88aaakkaakyaaa '",
+"s 5y,852e29e22eeeyyeey9eee '",
+"s <8&<,:5-25:-555995594555 '",
+"s &<+=&%:%-:%%:::<<::<-::: '",
+"s o%.+oX#X+#XX###%%##%+### '",
+"s '",
+"s '",
+"s '",
+"s '",
+"s '",
+"s'''''''''''''''''''''''''''''''"
+};
diff --git a/debian/_base/applications/utilities/kcpuload/debian/links b/debian/_base/applications/utilities/kcpuload/debian/links
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/_base/applications/utilities/kcpuload/debian/links
diff --git a/debian/_base/applications/utilities/kcpuload/debian/menu b/debian/_base/applications/utilities/kcpuload/debian/menu
new file mode 100644
index 000000000..88ff824b6
--- /dev/null
+++ b/debian/_base/applications/utilities/kcpuload/debian/menu
@@ -0,0 +1,7 @@
+?package(kcpuload-trinity):needs="X11"\
+ section="Applications/System/Monitoring"\
+ hints="TDE"\
+ kderemove="1"\
+ title="KCPULoad"\
+ command="/opt/trinity/bin/kcpuload"\
+ icon="/opt/trinity/share/pixmaps/kcpuload.xpm"
diff --git a/debian/_base/applications/utilities/kcpuload/debian/rules b/debian/_base/applications/utilities/kcpuload/debian/rules
new file mode 100755
index 000000000..f39393c74
--- /dev/null
+++ b/debian/_base/applications/utilities/kcpuload/debian/rules
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/cmake.mk
+include debian/cdbs/debian-tde.mk
+
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc/trinity" \
+ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DBUILD_ALL="ON" \
+ -DWITH_ALL_OPTIONS="ON"
diff --git a/debian/_base/applications/utilities/kcpuload/debian/source/format b/debian/_base/applications/utilities/kcpuload/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/debian/_base/applications/utilities/kcpuload/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/_base/applications/utilities/kcpuload/debian/source/options b/debian/_base/applications/utilities/kcpuload/debian/source/options
new file mode 100644
index 000000000..72f1f5450
--- /dev/null
+++ b/debian/_base/applications/utilities/kcpuload/debian/source/options
@@ -0,0 +1,6 @@
+# Use xz instead of gzip
+compression = "xz"
+compression-level = 9
+
+# Don't run differences
+diff-ignore = .*
diff --git a/debian/_base/applications/utilities/kdirstat/debian/cdbs/debian-tde.mk b/debian/_base/applications/utilities/kdirstat/debian/cdbs/debian-tde.mk
new file mode 100644
index 000000000..aba508624
--- /dev/null
+++ b/debian/_base/applications/utilities/kdirstat/debian/cdbs/debian-tde.mk
@@ -0,0 +1,251 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2003 Christopher L Cheney <ccheney@debian.org>
+# Copyright © 2019 TDE Team
+# Description: A class for TDE packages; sets TDE environment variables, etc
+#
+# This program 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, or (at
+# your option) any later version.
+#
+# This program 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, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+ifndef _cdbs_bootstrap
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+endif
+
+ifndef _cdbs_class_debian-qt-kde
+_cdbs_class_debian-qt-kde := 1
+
+# for dh_icons
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), debhelper (>= 5.0.7ubuntu4)
+
+# Note: This _must_ be included before autotools.mk, or it won't work.
+common-configure-arch common-configure-indep:: debian/stamp-cvs-make
+debian/stamp-cvs-make:
+ifndef _cdbs_class_cmake
+ cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
+ $(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
+endif
+ touch debian/stamp-cvs-make
+
+include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
+
+ifdef _cdbs_tarball_dir
+DEB_BUILDDIR = $(_cdbs_tarball_dir)/obj-$(DEB_BUILD_GNU_TYPE)
+else
+DEB_BUILDDIR = obj-$(DEB_BUILD_GNU_TYPE)
+endif
+
+ifndef _cdbs_class_cmake
+include $(_cdbs_class_path)/autotools.mk$(_cdbs_makefile_suffix)
+endif
+
+ifdef _cdbs_class_cmake
+ifneq "$(wildcard /usr/bin/ninja)" ""
+MAKE = ninja -v
+DEB_MAKE_ENVVARS += DESTDIR=$(DEB_DESTDIR)
+DEB_MAKE_INSTALL_TARGET = install
+DEB_CMAKE_NORMAL_ARGS += -GNinja
+endif
+endif
+
+ifndef _cdbs_rules_patchsys_quilt
+DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
+
+export kde_cgidir = \$${libdir}/cgi-bin
+export kde_confdir = \$${sysconfdir}/trinity
+export kde_htmldir = \$${datadir}/doc/tde/HTML
+
+DEB_KDE_ENABLE_FINAL := yes
+DEB_INSTALL_DOCS_ALL :=
+
+DEB_DH_MAKESHLIBS_ARGS_ALL := -V
+DEB_SHLIBDEPS_INCLUDE = $(foreach p,$(PACKAGES_WITH_LIBS),debian/$(p)/usr/lib)
+
+DEB_AC_AUX_DIR = $(DEB_SRCDIR)/admin
+DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include"
+DEB_COMPRESS_EXCLUDE_ALL += .dcl .docbook -license .tag .sty .el
+
+# 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
+
+ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ cdbs_treat_me_gently_arches := arm m68k alpha ppc64 armel armeb
+ ifeq (,$(filter $(DEB_HOST_ARCH_CPU),$(cdbs_treat_me_gently_arches)))
+ cdbs_kde_enable_final = $(if $(DEB_KDE_ENABLE_FINAL),--enable-final,)
+ else
+ cdbs_kde_enable_final =
+ endif
+endif
+
+ifneq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_final =
+ cdbs_kde_enable_debug = --enable-debug=yes
+else
+ cdbs_kde_enable_debug = --disable-debug
+endif
+
+ifneq (,$(filter debug,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_debug = --enable-debug=full
+endif
+
+DEB_BUILD_PARALLEL ?= true
+
+cdbs_configure_flags += \
+ --with-qt-dir=/usr/share/qt3 \
+ --disable-rpath \
+ --with-xinerama \
+ $(cdbs_kde_enable_final) \
+ $(cdbs_kde_enable_debug)
+
+
+# This is a convenience target for calling manually.
+# It's not part of the build process.
+buildprep: clean apply-patches
+ifndef _cdbs_class_cmake
+ $(MAKE) -f admin/Makefile.common dist
+endif
+ debian/rules clean
+
+.tdepkginfo:
+ echo "# TDE package information" >.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Source: |Name: |p" >>.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Version: |Version: |p" >>.tdepkginfo
+ date +"DateTime: %m/%d/%Y %H:%M" -u -d "$$(dpkg-parsechangelog | sed -n 's|^Date: ||p')" >>.tdepkginfo
+
+post-patches:: .tdepkginfo
+
+common-build-arch:: debian/stamp-man-pages
+debian/stamp-man-pages:
+ if ! test -d debian/man/out; then mkdir -p debian/man/out; fi
+ for f in $$(find debian/man -name '*.sgml'); do \
+ docbook-to-man $$f > debian/man/out/`basename $$f .sgml`.1; \
+ done
+ for f in $$(find debian/man -name '*.man'); do \
+ soelim -I debian/man $$f \
+ > debian/man/out/`basename $$f .man`.`head -n1 $$f | awk '{print $$NF}'`; \
+ done
+ touch debian/stamp-man-pages
+
+common-binary-indep::
+ ( set -e; \
+ tmpf=`mktemp debian/versions.XXXXXX`; \
+ perl debian/cdbs/versions.pl >$$tmpf; \
+ for p in $(DEB_INDEP_PACKAGES); do \
+ cat $$tmpf >>debian/$$p.substvars; \
+ done; \
+ rm -f $$tmpf )
+
+common-binary-arch::
+ ( set -e; \
+ tmpf=`mktemp debian/versions.XXXXXX`; \
+ perl debian/cdbs/versions.pl >$$tmpf; \
+ for p in $(DEB_ARCH_PACKAGES); do \
+ cat $$tmpf >>debian/$$p.substvars; \
+ done; \
+ rm -f $$tmpf )
+ # update multi-arch path in install files
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
+ [ -d $$a ] || [ -f $$a.arch ] || \
+ ! grep -q "\$$(DEB_HOST_MULTIARCH)" $$a || \
+ sed -i.arch "s|\$$(DEB_HOST_MULTIARCH)|$(DEB_HOST_MULTIARCH)|g" $$a; \
+ done
+
+clean::
+ rm -rf debian/man/out
+ -rmdir debian/man
+ rm -f debian/stamp-man-pages
+ rm -rf debian/shlibs-check
+ # revert multi-arch path in install files
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
+ [ ! -f $$a.arch ] || \
+ mv $$a.arch $$a; \
+ done
+
+$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
+ if test -x /usr/bin/dh_icons; then dh_icons -p$(cdbs_curpkg) $(DEB_DH_ICONCACHE_ARGS); fi
+ if test -x /usr/bin/dh_desktop; then dh_desktop -p$(cdbs_curpkg) $(DEB_DH_DESKTOP_ARGS); fi
+ if test -e debian/$(cdbs_curpkg).lintian; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).lintian \
+ debian/$(cdbs_curpkg)/usr/share/lintian/overrides/$(cdbs_curpkg); \
+ fi
+ if test -e debian/$(cdbs_curpkg).presubj; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).presubj \
+ debian/$(cdbs_curpkg)/usr/share/bug/$(cdbs_curpkg)/presubj; \
+ fi
+ if test -d debian/$(cdbs_curpkg)/opt/trinity/lib && \
+ test $$(find debian/$(cdbs_curpkg)/opt/trinity/lib -name "*.so" | wc -l) -gt 0; then \
+ echo "# Triggers added by cdbs/debian-tde.mk" >> debian/.debhelper/generated/$(cdbs_curpkg)/triggers; \
+ echo "activate-noawait ldconfig" >> debian/.debhelper/generated/$(cdbs_curpkg)/triggers; \
+ fi
+
+binary-install/$(DEB_SOURCE_PACKAGE)-doc-html::
+ set -e; \
+ for doc in `cd $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en; find . -name index.docbook`; do \
+ pkg=$${doc%/index.docbook}; pkg=$${pkg#./}; \
+ echo Building $$pkg HTML docs...; \
+ mkdir -p $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ cd $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ /opt/trinity/bin/meinproc $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en/$$pkg/index.docbook; \
+ done
+ for pkg in $(DOC_HTML_PRUNE) ; do \
+ rm -rf debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ done
+
+common-build-indep:: debian/stamp-kde-apidox
+debian/stamp-kde-apidox:
+ $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) apidox)
+ touch $@
+
+common-install-indep:: common-install-kde-apidox
+common-install-kde-apidox::
+ $(if $(DEB_KDE_APIDOX),+DESTDIR=$(DEB_DESTDIR) $(DEB_MAKE_INVOKE) install-apidox)
+
+cleanbuilddir::
+ -$(if $(call cdbs_streq,$(DEB_BUILDDIR),$(DEB_SRCDIR)),,rm -rf $(DEB_BUILDDIR))
+
+clean::
+ifndef _cdbs_class_cmake
+ if test -n "$(DEB_KDE_CVS_MAKE)" && test -d $(DEB_SRCDIR); then \
+ cd $(DEB_SRCDIR); \
+ find . -name Makefile.in -print | \
+ xargs --no-run-if-empty rm -f; \
+ rm -f Makefile.am acinclude.m4 aclocal.m4 config.h.in \
+ configure configure.files configure.in stamp-h.in \
+ subdirs; \
+ fi
+endif
+ rm -f .tdepkginfo
+ rm -f debian/stamp-kde-apidox
+ rm -f debian/stamp-cvs-make
+
+endif
diff --git a/debian/_base/applications/utilities/kdirstat/debian/cdbs/versions.pl b/debian/_base/applications/utilities/kdirstat/debian/cdbs/versions.pl
new file mode 100644
index 000000000..1b110f7af
--- /dev/null
+++ b/debian/_base/applications/utilities/kdirstat/debian/cdbs/versions.pl
@@ -0,0 +1,19 @@
+#!/usr/bin/env perl
+
+use strict;
+use warnings;
+
+my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`;
+my ($version3, $version3_next);
+my ($version2, $version2_next);
+
+($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/;
+($version2 = $version3) =~ s/\.[^.]+$//;
+
+($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e;
+($version2_next = $version2) =~ s/(?<=\.)(\d+)$/($1+1)/e;
+
+print "TDE-Version3=$version3\n";
+print "TDE-Version2=$version2\n";
+print "TDE-Next-Version3=$version3_next\n";
+print "TDE-Next-Version2=$version2_next\n";
diff --git a/debian/_base/applications/utilities/kdirstat/debian/changelog b/debian/_base/applications/utilities/kdirstat/debian/changelog
new file mode 100644
index 000000000..bf0c6d43b
--- /dev/null
+++ b/debian/_base/applications/utilities/kdirstat/debian/changelog
@@ -0,0 +1,118 @@
+kdirstat-trinity (2.4.4-1ubuntu0) karmic; urgency=low
+
+ * Karmic rebuild
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 02 Jul 2009 16:08:00 -0600
+
+kdirstat-trinity (2.4.4-0ubuntu3) intrepid; urgency=low
+
+ * Moved Trinity to /opt/trinity
+ * Integrated properly with KDE4.2+
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 05 March 2009 29:52:00 -0600
+
+kdirstat-trinity (2.4.4-0ubuntu2) intrepid; urgency=low
+
+ * Added -trinity suffix
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Sat, 27 Dec 2008 12:49:00 -0600
+
+kdirstat (2.4.4-4) unstable; urgency=low
+
+ * Updated standards version
+ * Added Homepage control field
+ * Removed build dependency on libqt3-compat-headers (patch by Barry
+ deFreese) (closes: #464475)
+
+ -- Peter Eisentraut <petere@debian.org> Thu, 07 Feb 2008 12:34:42 +0100
+
+kdirstat (2.4.4-3) unstable; urgency=low
+
+ * New maintainer (closes: #392205)
+ * Switched to CDBS
+ * Packaging cleanup
+ * Updated standards version
+ * Updated watch file
+ * Changed to Debhelper level 5
+ * Fixed spelling mistake in package description (closes: #364141)
+ * Removed xutils build dependency
+ * Built new man page using kdemangen.pl
+ * Added linker option --as-needed
+
+ -- Peter Eisentraut <petere@debian.org> Thu, 26 Oct 2006 19:59:33 +0200
+
+kdirstat (2.4.4-2) unstable; urgency=low
+
+ * Rebuilt for gcc-4.0 transition. (closes: #328012)
+
+ -- Mike Schacht <mschacht@alumni.washington.edu> Sat, 3 Sep 2005 15:16:39 -0600
+
+kdirstat (2.4.4-1) unstable; urgency=low
+
+ * New upstream release (closes: #285278)
+ * Upstream configure kde details reorganized. Previous mucking about with
+ docdir and such no longer necessary and extra configure flags that
+ implemented them are removed.
+ * Changed to debhelper 4 [Peter Eisentraut]
+ * Corrected use of configure --build and --host options [Peter Eisentraut]
+ * Do not compress .docbook files (closes: #303809) [Peter Eisentraut]
+
+ -- Mike Schacht <mschacht@alumni.washington.edu> Fri, 15 Apr 2005 06:59:26 -0600
+
+kdirstat (2.4.0-2) unstable; urgency=low
+
+ * Patched to fix broken gcc-3.4 build. (closes: #262136)
+
+ -- Mike Schacht <mschacht@alumni.washington.edu> Sun, 21 Nov 2004 05:57:22 -0700
+
+kdirstat (2.4.0-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Mike Schacht <mschacht@alumni.washington.edu> Wed, 1 Oct 2003 12:09:52 -0500
+
+kdirstat (2.3.7-1) unstable; urgency=low
+
+ * New upstream release (closes: #200993, #200995)
+ * Upstream configure fixes /lib64 problem so previous fix discarded.
+ * debian/rules#clean: rm -f po/fr.gmo leftover from make distclean
+
+ -- Mike Schacht <mschacht@alumni.washington.edu> Sat, 12 Jul 2003 12:47:34 -0500
+
+kdirstat (2.3.6-2) unstable; urgency=low
+
+ * debian/control: Include xutils in Build-Depends to fix broken configure on
+ sparc/s390/arm (closes: #189106)
+ * configure: test for /lib64 disabled to fix broken configure on s390
+ (closes: #190007)
+
+ -- Mike Schacht <mschacht@alumni.washington.edu> Tue, 29 Apr 2003 15:03:04 -0500
+
+kdirstat (2.3.6-1) unstable; urgency=low
+
+ * New upstream release (closes: #187039)
+ * debian/rules#clean: rm -f po/ja.gmo leftover from make distclean
+
+ -- Mike Schacht <mschacht@alumni.washington.edu> Sun, 13 Apr 2003 13:34:47 -0500
+
+kdirstat (2.2.0-1) unstable; urgency=low
+
+ * New upstream release
+ * debian/control: Change Build-Depend for qt3.
+ * debian/rules: --with-qt-includes=... in configure.
+
+ -- Mike Schacht <mschacht@alumni.washington.edu> Sun, 2 Mar 2003 14:55:48 -0600
+
+kdirstat (2.0.1-1) unstable; urgency=low
+
+ * Initial Release (closes: #162015)
+ * Changed LN_S args at doc/en/Makefile.in:384 to make symbolic link
+ relative.
+ * Added --disable-rpath to configure in rules.
+ * Added check for noopt in DEBIAN_BUILD_OPTIONS in rules.
+ * Changed doc/en/Makefile.in:95 to set kde_htmldir to
+ /share/doc/tde/HTML explicity. configure seems to pick up
+ /share/doc/tde/HTML instead.
+
+ -- Mike Schacht <mschacht@alumni.washington.edu> Sat, 16 Nov 2002 17:56:14 -0600
+
diff --git a/debian/_base/applications/utilities/kdirstat/debian/compat b/debian/_base/applications/utilities/kdirstat/debian/compat
new file mode 100644
index 000000000..f599e28b8
--- /dev/null
+++ b/debian/_base/applications/utilities/kdirstat/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/_base/applications/utilities/kdirstat/debian/control b/debian/_base/applications/utilities/kdirstat/debian/control
new file mode 100644
index 000000000..c0f6ef898
--- /dev/null
+++ b/debian/_base/applications/utilities/kdirstat/debian/control
@@ -0,0 +1,22 @@
+Source: kdirstat-trinity
+Section: misc
+Priority: optional
+Maintainer: TDE Debian Team <team-debian@trinitydesktop.org>
+Build-Depends: cdbs, debhelper (>= 10~), quilt, tde-cmake, ninja-build, tdelibs14-trinity-dev
+Standards-Version: 3.8.4
+Homepage: http://kdirstat.sourceforge.net/
+
+Package: kdirstat-trinity
+Architecture: any
+Depends: ${shlibs:Depends}
+Replaces: kdirstat-trinity (<< 4:14.0.0~)
+Breaks: kdirstat-trinity (<< 4:14.0.0~)
+Description: graphical disk usage display with cleanup facilities [Trinity]
+ KDirStat (TDE Directory Statistics) is a small utility program that sums
+ up disk usage for directory trees, very much like the Unix 'du' command.
+ It displays the disk space used up by a directory tree, both numerically
+ and graphically. It is network transparent (i.e., you can use it to sum
+ up FTP servers), and comes with predefined and user configurable cleanup
+ actions. You can directly open a directory branch in Konqueror or the
+ shell of your choice, compress it to a .tar.bz2 archive, or define your
+ own cleanup actions.
diff --git a/debian/_base/applications/utilities/kdirstat/debian/copyright b/debian/_base/applications/utilities/kdirstat/debian/copyright
new file mode 100644
index 000000000..5230f7951
--- /dev/null
+++ b/debian/_base/applications/utilities/kdirstat/debian/copyright
@@ -0,0 +1,19 @@
+This package was debianized by Mike Schacht <mschacht@alumni.washington.edu> on
+Fri, 20 Sep 2002 06:11:53 -0500.
+
+It was downloaded from <http://kdirstat.sourceforge.net/download>.
+
+Upstream authors:
+
+ Stefan Hundhammer <sh@suse.de>
+ Alexander Rawass <alexannika@users.sourceforge.net>
+
+Copyright:
+
+ This software is copyright (c) by Stefan Hundhammer and Alexander Rawass.
+
+ You are free to distribute this software under the terms of the GNU
+ General Public License.
+
+On Debian systems, the complete text of the GNU General Public License
+can be found in the file /usr/share/common-licenses/GPL.
diff --git a/debian/_base/applications/utilities/kdirstat/debian/docs b/debian/_base/applications/utilities/kdirstat/debian/docs
new file mode 100644
index 000000000..871711684
--- /dev/null
+++ b/debian/_base/applications/utilities/kdirstat/debian/docs
@@ -0,0 +1,4 @@
+AUTHORS
+CREDITS
+README.md
+TODO
diff --git a/debian/_base/applications/utilities/kdirstat/debian/patches/series b/debian/_base/applications/utilities/kdirstat/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/_base/applications/utilities/kdirstat/debian/patches/series
diff --git a/debian/_base/applications/utilities/kdirstat/debian/rules b/debian/_base/applications/utilities/kdirstat/debian/rules
new file mode 100755
index 000000000..a6797f19a
--- /dev/null
+++ b/debian/_base/applications/utilities/kdirstat/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/cmake.mk
+include debian/cdbs/debian-tde.mk
+
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc/trinity" \
+ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DBUILD_ALL="ON" \
+ -DWITH_ALL_OPTIONS="ON"
diff --git a/debian/_base/applications/utilities/kdirstat/debian/source/format b/debian/_base/applications/utilities/kdirstat/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/debian/_base/applications/utilities/kdirstat/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/_base/applications/utilities/kdirstat/debian/source/options b/debian/_base/applications/utilities/kdirstat/debian/source/options
new file mode 100644
index 000000000..72f1f5450
--- /dev/null
+++ b/debian/_base/applications/utilities/kdirstat/debian/source/options
@@ -0,0 +1,6 @@
+# Use xz instead of gzip
+compression = "xz"
+compression-level = 9
+
+# Don't run differences
+diff-ignore = .*
diff --git a/debian/_base/applications/utilities/keep/debian/cdbs/debian-tde.mk b/debian/_base/applications/utilities/keep/debian/cdbs/debian-tde.mk
new file mode 100644
index 000000000..aba508624
--- /dev/null
+++ b/debian/_base/applications/utilities/keep/debian/cdbs/debian-tde.mk
@@ -0,0 +1,251 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2003 Christopher L Cheney <ccheney@debian.org>
+# Copyright © 2019 TDE Team
+# Description: A class for TDE packages; sets TDE environment variables, etc
+#
+# This program 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, or (at
+# your option) any later version.
+#
+# This program 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, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+ifndef _cdbs_bootstrap
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+endif
+
+ifndef _cdbs_class_debian-qt-kde
+_cdbs_class_debian-qt-kde := 1
+
+# for dh_icons
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), debhelper (>= 5.0.7ubuntu4)
+
+# Note: This _must_ be included before autotools.mk, or it won't work.
+common-configure-arch common-configure-indep:: debian/stamp-cvs-make
+debian/stamp-cvs-make:
+ifndef _cdbs_class_cmake
+ cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
+ $(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
+endif
+ touch debian/stamp-cvs-make
+
+include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
+
+ifdef _cdbs_tarball_dir
+DEB_BUILDDIR = $(_cdbs_tarball_dir)/obj-$(DEB_BUILD_GNU_TYPE)
+else
+DEB_BUILDDIR = obj-$(DEB_BUILD_GNU_TYPE)
+endif
+
+ifndef _cdbs_class_cmake
+include $(_cdbs_class_path)/autotools.mk$(_cdbs_makefile_suffix)
+endif
+
+ifdef _cdbs_class_cmake
+ifneq "$(wildcard /usr/bin/ninja)" ""
+MAKE = ninja -v
+DEB_MAKE_ENVVARS += DESTDIR=$(DEB_DESTDIR)
+DEB_MAKE_INSTALL_TARGET = install
+DEB_CMAKE_NORMAL_ARGS += -GNinja
+endif
+endif
+
+ifndef _cdbs_rules_patchsys_quilt
+DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
+
+export kde_cgidir = \$${libdir}/cgi-bin
+export kde_confdir = \$${sysconfdir}/trinity
+export kde_htmldir = \$${datadir}/doc/tde/HTML
+
+DEB_KDE_ENABLE_FINAL := yes
+DEB_INSTALL_DOCS_ALL :=
+
+DEB_DH_MAKESHLIBS_ARGS_ALL := -V
+DEB_SHLIBDEPS_INCLUDE = $(foreach p,$(PACKAGES_WITH_LIBS),debian/$(p)/usr/lib)
+
+DEB_AC_AUX_DIR = $(DEB_SRCDIR)/admin
+DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include"
+DEB_COMPRESS_EXCLUDE_ALL += .dcl .docbook -license .tag .sty .el
+
+# 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
+
+ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ cdbs_treat_me_gently_arches := arm m68k alpha ppc64 armel armeb
+ ifeq (,$(filter $(DEB_HOST_ARCH_CPU),$(cdbs_treat_me_gently_arches)))
+ cdbs_kde_enable_final = $(if $(DEB_KDE_ENABLE_FINAL),--enable-final,)
+ else
+ cdbs_kde_enable_final =
+ endif
+endif
+
+ifneq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_final =
+ cdbs_kde_enable_debug = --enable-debug=yes
+else
+ cdbs_kde_enable_debug = --disable-debug
+endif
+
+ifneq (,$(filter debug,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_debug = --enable-debug=full
+endif
+
+DEB_BUILD_PARALLEL ?= true
+
+cdbs_configure_flags += \
+ --with-qt-dir=/usr/share/qt3 \
+ --disable-rpath \
+ --with-xinerama \
+ $(cdbs_kde_enable_final) \
+ $(cdbs_kde_enable_debug)
+
+
+# This is a convenience target for calling manually.
+# It's not part of the build process.
+buildprep: clean apply-patches
+ifndef _cdbs_class_cmake
+ $(MAKE) -f admin/Makefile.common dist
+endif
+ debian/rules clean
+
+.tdepkginfo:
+ echo "# TDE package information" >.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Source: |Name: |p" >>.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Version: |Version: |p" >>.tdepkginfo
+ date +"DateTime: %m/%d/%Y %H:%M" -u -d "$$(dpkg-parsechangelog | sed -n 's|^Date: ||p')" >>.tdepkginfo
+
+post-patches:: .tdepkginfo
+
+common-build-arch:: debian/stamp-man-pages
+debian/stamp-man-pages:
+ if ! test -d debian/man/out; then mkdir -p debian/man/out; fi
+ for f in $$(find debian/man -name '*.sgml'); do \
+ docbook-to-man $$f > debian/man/out/`basename $$f .sgml`.1; \
+ done
+ for f in $$(find debian/man -name '*.man'); do \
+ soelim -I debian/man $$f \
+ > debian/man/out/`basename $$f .man`.`head -n1 $$f | awk '{print $$NF}'`; \
+ done
+ touch debian/stamp-man-pages
+
+common-binary-indep::
+ ( set -e; \
+ tmpf=`mktemp debian/versions.XXXXXX`; \
+ perl debian/cdbs/versions.pl >$$tmpf; \
+ for p in $(DEB_INDEP_PACKAGES); do \
+ cat $$tmpf >>debian/$$p.substvars; \
+ done; \
+ rm -f $$tmpf )
+
+common-binary-arch::
+ ( set -e; \
+ tmpf=`mktemp debian/versions.XXXXXX`; \
+ perl debian/cdbs/versions.pl >$$tmpf; \
+ for p in $(DEB_ARCH_PACKAGES); do \
+ cat $$tmpf >>debian/$$p.substvars; \
+ done; \
+ rm -f $$tmpf )
+ # update multi-arch path in install files
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
+ [ -d $$a ] || [ -f $$a.arch ] || \
+ ! grep -q "\$$(DEB_HOST_MULTIARCH)" $$a || \
+ sed -i.arch "s|\$$(DEB_HOST_MULTIARCH)|$(DEB_HOST_MULTIARCH)|g" $$a; \
+ done
+
+clean::
+ rm -rf debian/man/out
+ -rmdir debian/man
+ rm -f debian/stamp-man-pages
+ rm -rf debian/shlibs-check
+ # revert multi-arch path in install files
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
+ [ ! -f $$a.arch ] || \
+ mv $$a.arch $$a; \
+ done
+
+$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
+ if test -x /usr/bin/dh_icons; then dh_icons -p$(cdbs_curpkg) $(DEB_DH_ICONCACHE_ARGS); fi
+ if test -x /usr/bin/dh_desktop; then dh_desktop -p$(cdbs_curpkg) $(DEB_DH_DESKTOP_ARGS); fi
+ if test -e debian/$(cdbs_curpkg).lintian; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).lintian \
+ debian/$(cdbs_curpkg)/usr/share/lintian/overrides/$(cdbs_curpkg); \
+ fi
+ if test -e debian/$(cdbs_curpkg).presubj; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).presubj \
+ debian/$(cdbs_curpkg)/usr/share/bug/$(cdbs_curpkg)/presubj; \
+ fi
+ if test -d debian/$(cdbs_curpkg)/opt/trinity/lib && \
+ test $$(find debian/$(cdbs_curpkg)/opt/trinity/lib -name "*.so" | wc -l) -gt 0; then \
+ echo "# Triggers added by cdbs/debian-tde.mk" >> debian/.debhelper/generated/$(cdbs_curpkg)/triggers; \
+ echo "activate-noawait ldconfig" >> debian/.debhelper/generated/$(cdbs_curpkg)/triggers; \
+ fi
+
+binary-install/$(DEB_SOURCE_PACKAGE)-doc-html::
+ set -e; \
+ for doc in `cd $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en; find . -name index.docbook`; do \
+ pkg=$${doc%/index.docbook}; pkg=$${pkg#./}; \
+ echo Building $$pkg HTML docs...; \
+ mkdir -p $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ cd $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ /opt/trinity/bin/meinproc $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en/$$pkg/index.docbook; \
+ done
+ for pkg in $(DOC_HTML_PRUNE) ; do \
+ rm -rf debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ done
+
+common-build-indep:: debian/stamp-kde-apidox
+debian/stamp-kde-apidox:
+ $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) apidox)
+ touch $@
+
+common-install-indep:: common-install-kde-apidox
+common-install-kde-apidox::
+ $(if $(DEB_KDE_APIDOX),+DESTDIR=$(DEB_DESTDIR) $(DEB_MAKE_INVOKE) install-apidox)
+
+cleanbuilddir::
+ -$(if $(call cdbs_streq,$(DEB_BUILDDIR),$(DEB_SRCDIR)),,rm -rf $(DEB_BUILDDIR))
+
+clean::
+ifndef _cdbs_class_cmake
+ if test -n "$(DEB_KDE_CVS_MAKE)" && test -d $(DEB_SRCDIR); then \
+ cd $(DEB_SRCDIR); \
+ find . -name Makefile.in -print | \
+ xargs --no-run-if-empty rm -f; \
+ rm -f Makefile.am acinclude.m4 aclocal.m4 config.h.in \
+ configure configure.files configure.in stamp-h.in \
+ subdirs; \
+ fi
+endif
+ rm -f .tdepkginfo
+ rm -f debian/stamp-kde-apidox
+ rm -f debian/stamp-cvs-make
+
+endif
diff --git a/debian/_base/applications/utilities/keep/debian/cdbs/versions.pl b/debian/_base/applications/utilities/keep/debian/cdbs/versions.pl
new file mode 100644
index 000000000..1b110f7af
--- /dev/null
+++ b/debian/_base/applications/utilities/keep/debian/cdbs/versions.pl
@@ -0,0 +1,19 @@
+#!/usr/bin/env perl
+
+use strict;
+use warnings;
+
+my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`;
+my ($version3, $version3_next);
+my ($version2, $version2_next);
+
+($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/;
+($version2 = $version3) =~ s/\.[^.]+$//;
+
+($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e;
+($version2_next = $version2) =~ s/(?<=\.)(\d+)$/($1+1)/e;
+
+print "TDE-Version3=$version3\n";
+print "TDE-Version2=$version2\n";
+print "TDE-Next-Version3=$version3_next\n";
+print "TDE-Next-Version2=$version2_next\n";
diff --git a/debian/_base/applications/utilities/keep/debian/changelog b/debian/_base/applications/utilities/keep/debian/changelog
new file mode 100644
index 000000000..4cbeb0449
--- /dev/null
+++ b/debian/_base/applications/utilities/keep/debian/changelog
@@ -0,0 +1,82 @@
+keep-trinity (0.4.0-0ubuntu3) karmic; urgency=low
+
+ * Karmic rebuild
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 02 Jul 2009 16:08:00 -0600
+
+keep-trinity (0.4.0-0ubuntu2) intrepid; urgency=low
+
+ * Moved Trinity to /opt/trinity
+ * Integrated properly with KDE4.2+
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 05 March 2009 29:52:00 -0600
+
+keep-trinity (0.4.0-0ubuntu1) intrepid; urgency=low
+
+ * Added -trinity suffix
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Fri, 12 Dec 2008 14:24:00 -0600
+
+keep (0.4.0-1ubuntu3) hardy; urgency=low
+
+ * Rebuild with recent g++ compiler version.
+
+ -- Matthias Klose <doko@ubuntu.com> Thu, 03 Apr 2008 11:24:35 +0000
+
+keep (0.4.0-1ubuntu2) gutsy; urgency=low
+
+ * Build-depend on automake1.9. LP: #127208.
+
+ -- Matthias Klose <doko@ubuntu.com> Thu, 30 Aug 2007 09:54:29 +0000
+
+keep (0.4.0-1ubuntu1) gutsy; urgency=low
+
+ * Merge from Debian (different .orig.tar.gz's); remaining changes:
+ - debian/patches/kubuntu_01_kdepot.diff.
+
+ -- Matthias Klose <doko@ubuntu.com> Thu, 24 May 2007 10:34:18 +0200
+
+keep (0.4.0-1) unstable; urgency=low
+
+ * New upstream release
+ * Remove gcc fix patch, merged upstream
+
+ -- Fathi Boudra <fboudra@free.fr> Thu, 9 Nov 2006 10:52:56 +0100
+
+keep (0.4.0-0ubuntu2) feisty; urgency=low
+
+ * Rebuild for changes in the amd64 toolchain.
+ * Set Ubuntu maintainer address.
+
+ -- Matthias Klose <doko@ubuntu.com> Mon, 5 Mar 2007 01:19:28 +0000
+
+keep (0.4.0-0ubuntu1) feisty; urgency=low
+
+ * New upstream release
+ * Removed obsolete kubuntu_02_gcc_fix.diff
+
+ -- Anthony Mercatante <tonio@ubuntu.com> Tue, 05 Dec 2006 16:31:45 +0100
+
+keep (0.3.0-0ubuntu3) edgy; urgency=low
+
+ * Rebuild for dh_iconcache
+
+ -- Anthony Mercatante <tonio@ubuntu.com> Fri, 9 Sep 2006 15:43:59 +0200
+
+keep (0.3.0-0ubuntu2) edgy; urgency=low
+
+ * Rebuild to remove dependency on gamin
+ * Add kubuntu_02_gcc_fix.diff fix compile error with GCC 4.1
+
+ -- Jonathan Riddell <jriddell@ubuntu.com> Fri, 14 Jul 2006 12:42:59 +0000
+
+keep (0.3.0-0ubuntu1) dapper; urgency=low
+
+ * Initial release
+ * Added kubuntu_01_kdepot for pot file extraction and inclusion in Rosetta
+ * Sponsored upload for Anthony Mercatante <anthony.mercatante@laposte.net>
+
+ -- Jonathan Riddell <jriddell@ubuntu.com> Thu, 9 Feb 2006 11:47:23 +0100
+
+
+
diff --git a/debian/_base/applications/utilities/keep/debian/compat b/debian/_base/applications/utilities/keep/debian/compat
new file mode 100644
index 000000000..f599e28b8
--- /dev/null
+++ b/debian/_base/applications/utilities/keep/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/_base/applications/utilities/keep/debian/control b/debian/_base/applications/utilities/keep/debian/control
new file mode 100644
index 000000000..1877002bd
--- /dev/null
+++ b/debian/_base/applications/utilities/keep/debian/control
@@ -0,0 +1,19 @@
+Source: keep-trinity
+Section: tde
+Priority: optional
+Maintainer: TDE Debian Team <team-debian@trinitydesktop.org>
+XSBC-Original-Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
+Uploaders: Fathi Boudra <fboudra@free.fr>, Mark Purcell <msp@debian.org>
+Build-Depends: cdbs, debhelper (>= 10~), quilt, tde-cmake, ninja-build, tdelibs14-trinity-dev
+Standards-Version: 3.8.4
+
+Package: keep-trinity
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, rdiff-backup
+Replaces: keep-trinity (<< 4:14.0.0~)
+Breaks: keep-trinity (<< 4:14.0.0~)
+Description: backup system for TDE [Trinity]
+ Keep is an automatic backup program that allows users to set the parameters of
+ the backup, including the frequency and the number of backups.
+ .
+ Homepage: http://jr.falleri.free.fr/keep
diff --git a/debian/_base/applications/utilities/keep/debian/copyright b/debian/_base/applications/utilities/keep/debian/copyright
new file mode 100644
index 000000000..ee2494fd8
--- /dev/null
+++ b/debian/_base/applications/utilities/keep/debian/copyright
@@ -0,0 +1,33 @@
+This package was debianized by Fathi Boudra <fboudra@free.fr> on
+Tue, 1 Aug 2006 11:21:11 +0200.
+
+It was downloaded from http://jr.falleri.free.fr/keep
+
+Upstream Author: Jean-Rémy Falleri <jr.falleri@laposte.net>
+
+Copyright: (C) 2005-2006 Jean-Rémy Falleri <jr.falleri@laposte.net>
+
+The keep manpage is (C) 2005-2006, Anthony Mercatante
+<anthony.mercatante@laposte.net> and is licensed under the GPL, see below.
+
+License:
+
+ 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 package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+The Debian packaging is (C) 2006, Fathi Boudra <fboudra@free.fr> and
+is licensed under the GPL, see above.
diff --git a/debian/_base/applications/utilities/keep/debian/docs b/debian/_base/applications/utilities/keep/debian/docs
new file mode 100644
index 000000000..76c3076c9
--- /dev/null
+++ b/debian/_base/applications/utilities/keep/debian/docs
@@ -0,0 +1,3 @@
+AUTHORS
+README.md
+TODO
diff --git a/debian/_base/applications/utilities/keep/debian/patches/series b/debian/_base/applications/utilities/keep/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/_base/applications/utilities/keep/debian/patches/series
diff --git a/debian/_base/applications/utilities/keep/debian/rules b/debian/_base/applications/utilities/keep/debian/rules
new file mode 100755
index 000000000..5a0da42af
--- /dev/null
+++ b/debian/_base/applications/utilities/keep/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/cmake.mk
+include debian/cdbs/debian-tde.mk
+
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc" \
+ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DBUILD_ALL="ON" \
+ -DWITH_ALL_OPTIONS="ON"
diff --git a/debian/_base/applications/utilities/keep/debian/source/format b/debian/_base/applications/utilities/keep/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/debian/_base/applications/utilities/keep/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/_base/applications/utilities/keep/debian/source/options b/debian/_base/applications/utilities/keep/debian/source/options
new file mode 100644
index 000000000..72f1f5450
--- /dev/null
+++ b/debian/_base/applications/utilities/keep/debian/source/options
@@ -0,0 +1,6 @@
+# Use xz instead of gzip
+compression = "xz"
+compression-level = 9
+
+# Don't run differences
+diff-ignore = .*
diff --git a/debian/_base/applications/utilities/knutclient/debian/cdbs/debian-tde.mk b/debian/_base/applications/utilities/knutclient/debian/cdbs/debian-tde.mk
new file mode 100644
index 000000000..aba508624
--- /dev/null
+++ b/debian/_base/applications/utilities/knutclient/debian/cdbs/debian-tde.mk
@@ -0,0 +1,251 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2003 Christopher L Cheney <ccheney@debian.org>
+# Copyright © 2019 TDE Team
+# Description: A class for TDE packages; sets TDE environment variables, etc
+#
+# This program 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, or (at
+# your option) any later version.
+#
+# This program 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, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+ifndef _cdbs_bootstrap
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+endif
+
+ifndef _cdbs_class_debian-qt-kde
+_cdbs_class_debian-qt-kde := 1
+
+# for dh_icons
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), debhelper (>= 5.0.7ubuntu4)
+
+# Note: This _must_ be included before autotools.mk, or it won't work.
+common-configure-arch common-configure-indep:: debian/stamp-cvs-make
+debian/stamp-cvs-make:
+ifndef _cdbs_class_cmake
+ cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
+ $(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
+endif
+ touch debian/stamp-cvs-make
+
+include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
+
+ifdef _cdbs_tarball_dir
+DEB_BUILDDIR = $(_cdbs_tarball_dir)/obj-$(DEB_BUILD_GNU_TYPE)
+else
+DEB_BUILDDIR = obj-$(DEB_BUILD_GNU_TYPE)
+endif
+
+ifndef _cdbs_class_cmake
+include $(_cdbs_class_path)/autotools.mk$(_cdbs_makefile_suffix)
+endif
+
+ifdef _cdbs_class_cmake
+ifneq "$(wildcard /usr/bin/ninja)" ""
+MAKE = ninja -v
+DEB_MAKE_ENVVARS += DESTDIR=$(DEB_DESTDIR)
+DEB_MAKE_INSTALL_TARGET = install
+DEB_CMAKE_NORMAL_ARGS += -GNinja
+endif
+endif
+
+ifndef _cdbs_rules_patchsys_quilt
+DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
+
+export kde_cgidir = \$${libdir}/cgi-bin
+export kde_confdir = \$${sysconfdir}/trinity
+export kde_htmldir = \$${datadir}/doc/tde/HTML
+
+DEB_KDE_ENABLE_FINAL := yes
+DEB_INSTALL_DOCS_ALL :=
+
+DEB_DH_MAKESHLIBS_ARGS_ALL := -V
+DEB_SHLIBDEPS_INCLUDE = $(foreach p,$(PACKAGES_WITH_LIBS),debian/$(p)/usr/lib)
+
+DEB_AC_AUX_DIR = $(DEB_SRCDIR)/admin
+DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include"
+DEB_COMPRESS_EXCLUDE_ALL += .dcl .docbook -license .tag .sty .el
+
+# 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
+
+ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ cdbs_treat_me_gently_arches := arm m68k alpha ppc64 armel armeb
+ ifeq (,$(filter $(DEB_HOST_ARCH_CPU),$(cdbs_treat_me_gently_arches)))
+ cdbs_kde_enable_final = $(if $(DEB_KDE_ENABLE_FINAL),--enable-final,)
+ else
+ cdbs_kde_enable_final =
+ endif
+endif
+
+ifneq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_final =
+ cdbs_kde_enable_debug = --enable-debug=yes
+else
+ cdbs_kde_enable_debug = --disable-debug
+endif
+
+ifneq (,$(filter debug,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_debug = --enable-debug=full
+endif
+
+DEB_BUILD_PARALLEL ?= true
+
+cdbs_configure_flags += \
+ --with-qt-dir=/usr/share/qt3 \
+ --disable-rpath \
+ --with-xinerama \
+ $(cdbs_kde_enable_final) \
+ $(cdbs_kde_enable_debug)
+
+
+# This is a convenience target for calling manually.
+# It's not part of the build process.
+buildprep: clean apply-patches
+ifndef _cdbs_class_cmake
+ $(MAKE) -f admin/Makefile.common dist
+endif
+ debian/rules clean
+
+.tdepkginfo:
+ echo "# TDE package information" >.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Source: |Name: |p" >>.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Version: |Version: |p" >>.tdepkginfo
+ date +"DateTime: %m/%d/%Y %H:%M" -u -d "$$(dpkg-parsechangelog | sed -n 's|^Date: ||p')" >>.tdepkginfo
+
+post-patches:: .tdepkginfo
+
+common-build-arch:: debian/stamp-man-pages
+debian/stamp-man-pages:
+ if ! test -d debian/man/out; then mkdir -p debian/man/out; fi
+ for f in $$(find debian/man -name '*.sgml'); do \
+ docbook-to-man $$f > debian/man/out/`basename $$f .sgml`.1; \
+ done
+ for f in $$(find debian/man -name '*.man'); do \
+ soelim -I debian/man $$f \
+ > debian/man/out/`basename $$f .man`.`head -n1 $$f | awk '{print $$NF}'`; \
+ done
+ touch debian/stamp-man-pages
+
+common-binary-indep::
+ ( set -e; \
+ tmpf=`mktemp debian/versions.XXXXXX`; \
+ perl debian/cdbs/versions.pl >$$tmpf; \
+ for p in $(DEB_INDEP_PACKAGES); do \
+ cat $$tmpf >>debian/$$p.substvars; \
+ done; \
+ rm -f $$tmpf )
+
+common-binary-arch::
+ ( set -e; \
+ tmpf=`mktemp debian/versions.XXXXXX`; \
+ perl debian/cdbs/versions.pl >$$tmpf; \
+ for p in $(DEB_ARCH_PACKAGES); do \
+ cat $$tmpf >>debian/$$p.substvars; \
+ done; \
+ rm -f $$tmpf )
+ # update multi-arch path in install files
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
+ [ -d $$a ] || [ -f $$a.arch ] || \
+ ! grep -q "\$$(DEB_HOST_MULTIARCH)" $$a || \
+ sed -i.arch "s|\$$(DEB_HOST_MULTIARCH)|$(DEB_HOST_MULTIARCH)|g" $$a; \
+ done
+
+clean::
+ rm -rf debian/man/out
+ -rmdir debian/man
+ rm -f debian/stamp-man-pages
+ rm -rf debian/shlibs-check
+ # revert multi-arch path in install files
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
+ [ ! -f $$a.arch ] || \
+ mv $$a.arch $$a; \
+ done
+
+$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
+ if test -x /usr/bin/dh_icons; then dh_icons -p$(cdbs_curpkg) $(DEB_DH_ICONCACHE_ARGS); fi
+ if test -x /usr/bin/dh_desktop; then dh_desktop -p$(cdbs_curpkg) $(DEB_DH_DESKTOP_ARGS); fi
+ if test -e debian/$(cdbs_curpkg).lintian; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).lintian \
+ debian/$(cdbs_curpkg)/usr/share/lintian/overrides/$(cdbs_curpkg); \
+ fi
+ if test -e debian/$(cdbs_curpkg).presubj; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).presubj \
+ debian/$(cdbs_curpkg)/usr/share/bug/$(cdbs_curpkg)/presubj; \
+ fi
+ if test -d debian/$(cdbs_curpkg)/opt/trinity/lib && \
+ test $$(find debian/$(cdbs_curpkg)/opt/trinity/lib -name "*.so" | wc -l) -gt 0; then \
+ echo "# Triggers added by cdbs/debian-tde.mk" >> debian/.debhelper/generated/$(cdbs_curpkg)/triggers; \
+ echo "activate-noawait ldconfig" >> debian/.debhelper/generated/$(cdbs_curpkg)/triggers; \
+ fi
+
+binary-install/$(DEB_SOURCE_PACKAGE)-doc-html::
+ set -e; \
+ for doc in `cd $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en; find . -name index.docbook`; do \
+ pkg=$${doc%/index.docbook}; pkg=$${pkg#./}; \
+ echo Building $$pkg HTML docs...; \
+ mkdir -p $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ cd $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ /opt/trinity/bin/meinproc $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en/$$pkg/index.docbook; \
+ done
+ for pkg in $(DOC_HTML_PRUNE) ; do \
+ rm -rf debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ done
+
+common-build-indep:: debian/stamp-kde-apidox
+debian/stamp-kde-apidox:
+ $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) apidox)
+ touch $@
+
+common-install-indep:: common-install-kde-apidox
+common-install-kde-apidox::
+ $(if $(DEB_KDE_APIDOX),+DESTDIR=$(DEB_DESTDIR) $(DEB_MAKE_INVOKE) install-apidox)
+
+cleanbuilddir::
+ -$(if $(call cdbs_streq,$(DEB_BUILDDIR),$(DEB_SRCDIR)),,rm -rf $(DEB_BUILDDIR))
+
+clean::
+ifndef _cdbs_class_cmake
+ if test -n "$(DEB_KDE_CVS_MAKE)" && test -d $(DEB_SRCDIR); then \
+ cd $(DEB_SRCDIR); \
+ find . -name Makefile.in -print | \
+ xargs --no-run-if-empty rm -f; \
+ rm -f Makefile.am acinclude.m4 aclocal.m4 config.h.in \
+ configure configure.files configure.in stamp-h.in \
+ subdirs; \
+ fi
+endif
+ rm -f .tdepkginfo
+ rm -f debian/stamp-kde-apidox
+ rm -f debian/stamp-cvs-make
+
+endif
diff --git a/debian/_base/applications/utilities/knutclient/debian/cdbs/versions.pl b/debian/_base/applications/utilities/knutclient/debian/cdbs/versions.pl
new file mode 100644
index 000000000..1b110f7af
--- /dev/null
+++ b/debian/_base/applications/utilities/knutclient/debian/cdbs/versions.pl
@@ -0,0 +1,19 @@
+#!/usr/bin/env perl
+
+use strict;
+use warnings;
+
+my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`;
+my ($version3, $version3_next);
+my ($version2, $version2_next);
+
+($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/;
+($version2 = $version3) =~ s/\.[^.]+$//;
+
+($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e;
+($version2_next = $version2) =~ s/(?<=\.)(\d+)$/($1+1)/e;
+
+print "TDE-Version3=$version3\n";
+print "TDE-Version2=$version2\n";
+print "TDE-Next-Version3=$version3_next\n";
+print "TDE-Next-Version2=$version2_next\n";
diff --git a/debian/_base/applications/utilities/knutclient/debian/changelog b/debian/_base/applications/utilities/knutclient/debian/changelog
new file mode 100644
index 000000000..e63f05435
--- /dev/null
+++ b/debian/_base/applications/utilities/knutclient/debian/changelog
@@ -0,0 +1,242 @@
+knutclient-trinity (0.9.5-0ubuntu1) karmic; urgency=low
+
+ * Karmic build
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Wed, 09 Dec 2009 21:24:00 -0600
+
+knutclient (0.9.5-1ubuntu1) karmic; urgency=low
+
+ * Merge from debian unstable (LP: #369649), remaining changes:
+ - debian/rules: Dropped arts support by adding --without-arts parameter to
+ configure script call
+ - debian/rules: Use dh_icons
+
+ -- Fabrice Coutadeur <fabricesp@ubuntu.com> Thu, 30 Apr 2009 05:42:32 +0200
+
+knutclient (0.9.5-1) unstable; urgency=low
+
+ * New upstream release
+ * debian/rules: remove the empty TODO file from dh_installdocs
+ * debian/control: add a missing comma on Depends
+
+ -- Arnaud Quette <aquette@debian.org> Mon, 30 Mar 2009 09:29:30 +0200
+
+knutclient (0.9.4-1ubuntu2) jaunty; urgency=low
+
+ * debian/rules: added --without-arts parameter to configure script call to
+ rebuild without arts support (LP: #320915)
+
+ -- Fabrice Coutadeur <fabricesp@ubuntu.com> Sat, 18 Apr 2009 05:54:52 +0000
+
+knutclient (0.9.4-1ubuntu1) jaunty; urgency=low
+
+ * Merge from Debian unstable. Remaining Ubuntu changes:
+ - debian/rules: Use dh_icons
+
+ -- Andreas Wenning <awen@awen.dk> Tue, 11 Nov 2008 19:17:11 +0100
+
+knutclient (0.9.4-1) unstable; urgency=low
+
+ * New upstream release
+ * Merge back Ubuntu changes
+ * debian/knutclient.menu: update section to fix lintian warnings
+ * debian/watch: update the pattern for matching new releases (Closes: #471247)
+ * debian/control:
+ - move Homepage to the field and update the URL
+ - update Standards-Version to 3.8.0
+ - update debhelper Build-Depends to 5.0.51
+ - add automake and autoconf to Build-Depends
+ - update NUT URL
+ * debian/rules:
+ - fix lintian warning debian-rules-ignores-make-clean-error
+ - add a commented call to dh_icons
+
+ -- Arnaud Quette <aquette@debian.org> Thu, 19 Jun 2008 11:09:50 +0200
+
+knutclient (0.9.3-1.1ubuntu1) intrepid; urgency=low
+
+ * Merge from debian unstable, remaining changes:
+ - debian/rules:
+ + Replace dh_iconcache with dh_icons.
+ + Fix lintian warning: debian-rules-ignores-make-clean-error
+ - debian/control:
+ + Build-depend on debhelper >= 5.0.51 (for dh_icons).
+ + MOTU maintainer update
+ * debian/control:
+ + Add Homepage field and update homepage
+
+ -- Andreas Wenning <awen@awen.dk> Tue, 03 Jun 2008 23:32:28 +0200
+
+knutclient (0.9.3-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Fix gcc-4.3 FTBFS, patch by KiBi (Closes: #455358)
+
+ -- Marc 'HE' Brockschmidt <he@debian.org> Sun, 16 Mar 2008 18:36:10 +0100
+
+knutclient (0.9.3-1ubuntu2) hardy; urgency=low
+
+ * debian/rules:
+ + Replace dh_iconcache with dh_icons.
+ + Fix lintian warning: debian-rules-ignores-make-clean-error
+ * debian/control:
+ + Build-depend on debhelper >= 5.0.51 (for dh_icons).
+
+ -- Michael Bienia <geser@ubuntu.com> Sun, 02 Mar 2008 01:08:40 +0100
+
+knutclient (0.9.3-1ubuntu1) feisty; urgency=low
+
+ * UVE Exception: New Upstream release
+ * Fixes BTS #410405 (FTBFS on x86_64)
+ * debian/rules:
+ - commented out dh_iconcache call
+ * debian/control:
+ - Added Ubuntu MOTU Maintainer Field
+ - Moved old Maintainer field to Original-Maintainer
+ * debian/changelog:
+ - Merged Ubuntu Changelog entries
+
+ -- Stephan Hermann <sh@sourcecode.de> Thu, 8 Mar 2007 16:08:31 +0100
+
+knutclient (0.9.3-1) unstable; urgency=low
+
+ * New upstream release (Closes: #410405)
+ * debian/watch: remove the stable directory from the URL. This symlink seems
+ to break uscan.
+ * debian/rules: add a commented call to dh_iconcache (Ubuntu patch)
+
+ -- Arnaud Quette <aquette@debian.org> Mon, 19 Feb 2007 09:36:52 +0100
+
+knutclient (0.9.2-1) unstable; urgency=low
+
+ * New upstream release (Closes: #337211)
+ * debian/control: update the Standards-Version to 3.7.2
+ * debian/rules: dh_clean also suppress po/*gmo in the clean rule
+
+ -- Arnaud Quette <aquette@debian.org> Thu, 8 Feb 2007 12:58:35 +0100
+
+knutclient (0.8.6-2ubuntu1) dapper; urgency=low
+
+ * Added dh_iconcache
+
+ -- Sarah Hobbs <hobbsee@ubuntu.com> Sat, 13 May 2006 21:04:15 +1000
+
+knutclient (0.8.6-2build1) dapper; urgency=low
+
+ * Rebuild KDE universe for libstdc++ transition
+
+ -- Jonathan Riddell <jriddell@ubuntu.com> Sat, 17 Dec 2005 16:24:48 +0000
+
+knutclient (0.8.6-2) unstable; urgency=low
+
+ * Rebuilt against KDE 3.4 with g++-4 for the C++ ABI transition
+ (closes: #327959). Build-dependencies and shlibs updated accordingly.
+ * debian/control: change Section to kde, and rework a bit the Homepage URL
+
+ -- Arnaud Quette <aquette@debian.org> Tue, 13 Sep 2005 11:12:18 +0200
+
+knutclient (0.8.6-1) unstable; urgency=low
+
+ * New upstream release (closes: #314005)
+ * debian/control: update Standard to 3.6.2
+
+ -- Arnaud Quette <aquette@debian.org> Tue, 19 Jul 2005 09:03:18 +0200
+
+knutclient (0.8.5-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Arnaud Quette <aquette@debian.org> Sun, 17 Oct 2004 20:01:05 +0200
+
+knutclient (0.8.4-1) unstable; urgency=low
+
+ * New upstream release (closes: #265446)
+ * debian/watch: update to new format
+ * debian/knutclient.menu: change section to System
+
+ -- Arnaud Quette <aquette@debian.org> Sat, 11 Sep 2004 21:32:08 +0200
+
+knutclient (0.8.3-1) unstable; urgency=low
+
+ * New upstream release (closes: #259038)
+ * debian/rules: properly install menu file by fixing dh_installmenu call
+
+ -- Arnaud Quette <aquette@debian.org> Thu, 12 Aug 2004 22:24:08 +0200
+
+knutclient (0.8.2-2) unstable; urgency=low
+
+ * debian/knutclient.menu: renamed from debian/menu
+ * debian/knutclient.menu: reformat, complete command path and quotes strings
+ * debian.knutclient.1x: change forgotten section, and update NUT URL
+
+ -- Arnaud Quette <aquette@debian.org> Thu, 8 Jul 2004 21:16:23 +0200
+
+knutclient (0.8.2-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Arnaud Quette <aquette@debian.org> Thu, 8 Jul 2004 13:26:43 +0200
+
+knutclient (0.8.1-1) unstable; urgency=low
+
+ * New upstream release
+ * debian/watch: update target
+
+ -- Arnaud Quette <aquette@debian.org> Tue, 20 Apr 2004 21:08:38 +0200
+
+knutclient (0.7.5-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Arnaud Quette <aquette@debian.org> Sat, 14 Feb 2004 14:06:54 +0100
+
+knutclient (0.7.4-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Arnaud Quette <aquette@debian.org> Wed, 21 Jan 2004 22:17:05 +0100
+
+knutclient (0.7.3-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Arnaud Quette <aquette@debian.org> Wed, 5 Nov 2003 18:45:06 +0100
+
+knutclient (0.7.2-release-1) unstable; urgency=low
+
+ * New upstream release
+ * debian/rules: add --enable-mt to configure call
+
+ -- Arnaud Quette <aquette@debian.org> Sat, 18 Oct 2003 15:52:04 +0200
+
+knutclient (0.7.2-pre2-1) unstable; urgency=low
+
+ * New upstream release
+ * admin/debianrules has been updated to fix KDE doc path
+ problems (thanks to Ben Burton) (closes: Bug#210962)
+ * debian/preinst: add script for cleaning /usr/share/doc/tde/HTML/*/knutclient/
+ on upgrading from previous release
+ * debian/control: add Homepage to Description
+ * debian/control: change maintainer address to the good debian's one
+
+ -- Arnaud Quette <aquette@debian.org> Sun, 12 Oct 2003 18:32:02 +0200
+
+knutclient (0.7.1-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Arnaud Quette <arnaud.quette@debian.org> Thu, 11 Sep 2003 21:25:22 +0200
+
+knutclient (0.7.0-release-1) unstable; urgency=low
+
+ * New upstream release
+ * debian/control: change Maintainer address to debian.org
+
+ -- Arnaud Quette <arnaud.quette@debian.org> Thu, 4 Sep 2003 23:42:05 +0200
+
+knutclient (0.7.0-pre2-1) unstable; urgency=low
+
+ * Initial Release (closes: Bug#201015).
+
+ -- Arnaud Quette <arnaud.quette@free.fr> Tue, 19 Aug 2003 18:44:47 +0200
+
diff --git a/debian/_base/applications/utilities/knutclient/debian/compat b/debian/_base/applications/utilities/knutclient/debian/compat
new file mode 100644
index 000000000..f599e28b8
--- /dev/null
+++ b/debian/_base/applications/utilities/knutclient/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/_base/applications/utilities/knutclient/debian/control b/debian/_base/applications/utilities/knutclient/debian/control
new file mode 100644
index 000000000..91182e136
--- /dev/null
+++ b/debian/_base/applications/utilities/knutclient/debian/control
@@ -0,0 +1,19 @@
+Source: knutclient-trinity
+Section: tde
+Priority: optional
+Maintainer: TDE Debian Team <team-debian@trinitydesktop.org>
+XSBC-Original-Maintainer: Arnaud Quette <aquette@debian.org>
+Standards-Version: 3.8.4
+Build-Depends: cdbs, debhelper (>= 10~), quilt, tde-cmake, ninja-build, tdelibs14-trinity-dev
+Homepage: http://www.knut.noveradsl.cz/knutclient/
+
+Package: knutclient-trinity
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Replaces: knutclient-trinity (<< 4:14.0.0~)
+Breaks: knutclient-trinity (<< 4:14.0.0~)
+Description: A TDE GUI that displays UPS statistics from NUT's upsd [Trinity]
+ KNutClient monitors UPS statistics through the NUT (Network UPS Tools,
+ http://www.networkupstools.org/) framework on Linux and other systems. This
+ information, presented in a nice visual format, can be invaluable on
+ stations using an UPS.
diff --git a/debian/_base/applications/utilities/knutclient/debian/copyright b/debian/_base/applications/utilities/knutclient/debian/copyright
new file mode 100644
index 000000000..2d9b4b658
--- /dev/null
+++ b/debian/_base/applications/utilities/knutclient/debian/copyright
@@ -0,0 +1,15 @@
+This package was debianized by Arnaud Quette <arnaud.quette@free.fr> on
+Thu, 10 Jul 2003 14:13:53 +0200.
+
+It was downloaded from ftp://ftp.buzuluk.cz/pub/alo/knutclient
+
+Upstream Author: Daniel Prynych <Daniel.Prynych at alo.cz>
+
+Copyright:
+
+KNutClient is copyright (c) 2001-2003 by Daniel Prynych and licensed through
+the GNU General Public License v2. Read the COPYING file for the complete
+GNU license.
+
+On Debian systems, the full text of the GNU General Public Licesne can
+be found in /usr/share/common-licenses/GPL.
diff --git a/debian/_base/applications/utilities/knutclient/debian/docs b/debian/_base/applications/utilities/knutclient/debian/docs
new file mode 100644
index 000000000..0b6e0f321
--- /dev/null
+++ b/debian/_base/applications/utilities/knutclient/debian/docs
@@ -0,0 +1,2 @@
+AUTHORS
+README.md
diff --git a/debian/_base/applications/utilities/knutclient/debian/knutclient-trinity.menu b/debian/_base/applications/utilities/knutclient/debian/knutclient-trinity.menu
new file mode 100644
index 000000000..c6844afcc
--- /dev/null
+++ b/debian/_base/applications/utilities/knutclient/debian/knutclient-trinity.menu
@@ -0,0 +1,7 @@
+?package(knutclient-trinity):\
+ needs="X11"\
+ section="Applications/System/Monitoring"\
+ hints="TDE"\
+ title="KNutClient"\
+ command="/opt/trinity/bin/knutclient"
+
diff --git a/debian/_base/applications/utilities/knutclient/debian/rules b/debian/_base/applications/utilities/knutclient/debian/rules
new file mode 100755
index 000000000..a6797f19a
--- /dev/null
+++ b/debian/_base/applications/utilities/knutclient/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/cmake.mk
+include debian/cdbs/debian-tde.mk
+
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc/trinity" \
+ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DBUILD_ALL="ON" \
+ -DWITH_ALL_OPTIONS="ON"
diff --git a/debian/_base/applications/utilities/knutclient/debian/source/format b/debian/_base/applications/utilities/knutclient/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/debian/_base/applications/utilities/knutclient/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/_base/applications/utilities/knutclient/debian/source/options b/debian/_base/applications/utilities/knutclient/debian/source/options
new file mode 100644
index 000000000..72f1f5450
--- /dev/null
+++ b/debian/_base/applications/utilities/knutclient/debian/source/options
@@ -0,0 +1,6 @@
+# Use xz instead of gzip
+compression = "xz"
+compression-level = 9
+
+# Don't run differences
+diff-ignore = .*
diff --git a/debian/_base/applications/utilities/kommando/debian/cdbs/debian-tde.mk b/debian/_base/applications/utilities/kommando/debian/cdbs/debian-tde.mk
new file mode 100644
index 000000000..aba508624
--- /dev/null
+++ b/debian/_base/applications/utilities/kommando/debian/cdbs/debian-tde.mk
@@ -0,0 +1,251 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2003 Christopher L Cheney <ccheney@debian.org>
+# Copyright © 2019 TDE Team
+# Description: A class for TDE packages; sets TDE environment variables, etc
+#
+# This program 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, or (at
+# your option) any later version.
+#
+# This program 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, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+ifndef _cdbs_bootstrap
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+endif
+
+ifndef _cdbs_class_debian-qt-kde
+_cdbs_class_debian-qt-kde := 1
+
+# for dh_icons
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), debhelper (>= 5.0.7ubuntu4)
+
+# Note: This _must_ be included before autotools.mk, or it won't work.
+common-configure-arch common-configure-indep:: debian/stamp-cvs-make
+debian/stamp-cvs-make:
+ifndef _cdbs_class_cmake
+ cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
+ $(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
+endif
+ touch debian/stamp-cvs-make
+
+include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
+
+ifdef _cdbs_tarball_dir
+DEB_BUILDDIR = $(_cdbs_tarball_dir)/obj-$(DEB_BUILD_GNU_TYPE)
+else
+DEB_BUILDDIR = obj-$(DEB_BUILD_GNU_TYPE)
+endif
+
+ifndef _cdbs_class_cmake
+include $(_cdbs_class_path)/autotools.mk$(_cdbs_makefile_suffix)
+endif
+
+ifdef _cdbs_class_cmake
+ifneq "$(wildcard /usr/bin/ninja)" ""
+MAKE = ninja -v
+DEB_MAKE_ENVVARS += DESTDIR=$(DEB_DESTDIR)
+DEB_MAKE_INSTALL_TARGET = install
+DEB_CMAKE_NORMAL_ARGS += -GNinja
+endif
+endif
+
+ifndef _cdbs_rules_patchsys_quilt
+DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
+
+export kde_cgidir = \$${libdir}/cgi-bin
+export kde_confdir = \$${sysconfdir}/trinity
+export kde_htmldir = \$${datadir}/doc/tde/HTML
+
+DEB_KDE_ENABLE_FINAL := yes
+DEB_INSTALL_DOCS_ALL :=
+
+DEB_DH_MAKESHLIBS_ARGS_ALL := -V
+DEB_SHLIBDEPS_INCLUDE = $(foreach p,$(PACKAGES_WITH_LIBS),debian/$(p)/usr/lib)
+
+DEB_AC_AUX_DIR = $(DEB_SRCDIR)/admin
+DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include"
+DEB_COMPRESS_EXCLUDE_ALL += .dcl .docbook -license .tag .sty .el
+
+# 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
+
+ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ cdbs_treat_me_gently_arches := arm m68k alpha ppc64 armel armeb
+ ifeq (,$(filter $(DEB_HOST_ARCH_CPU),$(cdbs_treat_me_gently_arches)))
+ cdbs_kde_enable_final = $(if $(DEB_KDE_ENABLE_FINAL),--enable-final,)
+ else
+ cdbs_kde_enable_final =
+ endif
+endif
+
+ifneq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_final =
+ cdbs_kde_enable_debug = --enable-debug=yes
+else
+ cdbs_kde_enable_debug = --disable-debug
+endif
+
+ifneq (,$(filter debug,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_debug = --enable-debug=full
+endif
+
+DEB_BUILD_PARALLEL ?= true
+
+cdbs_configure_flags += \
+ --with-qt-dir=/usr/share/qt3 \
+ --disable-rpath \
+ --with-xinerama \
+ $(cdbs_kde_enable_final) \
+ $(cdbs_kde_enable_debug)
+
+
+# This is a convenience target for calling manually.
+# It's not part of the build process.
+buildprep: clean apply-patches
+ifndef _cdbs_class_cmake
+ $(MAKE) -f admin/Makefile.common dist
+endif
+ debian/rules clean
+
+.tdepkginfo:
+ echo "# TDE package information" >.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Source: |Name: |p" >>.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Version: |Version: |p" >>.tdepkginfo
+ date +"DateTime: %m/%d/%Y %H:%M" -u -d "$$(dpkg-parsechangelog | sed -n 's|^Date: ||p')" >>.tdepkginfo
+
+post-patches:: .tdepkginfo
+
+common-build-arch:: debian/stamp-man-pages
+debian/stamp-man-pages:
+ if ! test -d debian/man/out; then mkdir -p debian/man/out; fi
+ for f in $$(find debian/man -name '*.sgml'); do \
+ docbook-to-man $$f > debian/man/out/`basename $$f .sgml`.1; \
+ done
+ for f in $$(find debian/man -name '*.man'); do \
+ soelim -I debian/man $$f \
+ > debian/man/out/`basename $$f .man`.`head -n1 $$f | awk '{print $$NF}'`; \
+ done
+ touch debian/stamp-man-pages
+
+common-binary-indep::
+ ( set -e; \
+ tmpf=`mktemp debian/versions.XXXXXX`; \
+ perl debian/cdbs/versions.pl >$$tmpf; \
+ for p in $(DEB_INDEP_PACKAGES); do \
+ cat $$tmpf >>debian/$$p.substvars; \
+ done; \
+ rm -f $$tmpf )
+
+common-binary-arch::
+ ( set -e; \
+ tmpf=`mktemp debian/versions.XXXXXX`; \
+ perl debian/cdbs/versions.pl >$$tmpf; \
+ for p in $(DEB_ARCH_PACKAGES); do \
+ cat $$tmpf >>debian/$$p.substvars; \
+ done; \
+ rm -f $$tmpf )
+ # update multi-arch path in install files
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
+ [ -d $$a ] || [ -f $$a.arch ] || \
+ ! grep -q "\$$(DEB_HOST_MULTIARCH)" $$a || \
+ sed -i.arch "s|\$$(DEB_HOST_MULTIARCH)|$(DEB_HOST_MULTIARCH)|g" $$a; \
+ done
+
+clean::
+ rm -rf debian/man/out
+ -rmdir debian/man
+ rm -f debian/stamp-man-pages
+ rm -rf debian/shlibs-check
+ # revert multi-arch path in install files
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
+ [ ! -f $$a.arch ] || \
+ mv $$a.arch $$a; \
+ done
+
+$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
+ if test -x /usr/bin/dh_icons; then dh_icons -p$(cdbs_curpkg) $(DEB_DH_ICONCACHE_ARGS); fi
+ if test -x /usr/bin/dh_desktop; then dh_desktop -p$(cdbs_curpkg) $(DEB_DH_DESKTOP_ARGS); fi
+ if test -e debian/$(cdbs_curpkg).lintian; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).lintian \
+ debian/$(cdbs_curpkg)/usr/share/lintian/overrides/$(cdbs_curpkg); \
+ fi
+ if test -e debian/$(cdbs_curpkg).presubj; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).presubj \
+ debian/$(cdbs_curpkg)/usr/share/bug/$(cdbs_curpkg)/presubj; \
+ fi
+ if test -d debian/$(cdbs_curpkg)/opt/trinity/lib && \
+ test $$(find debian/$(cdbs_curpkg)/opt/trinity/lib -name "*.so" | wc -l) -gt 0; then \
+ echo "# Triggers added by cdbs/debian-tde.mk" >> debian/.debhelper/generated/$(cdbs_curpkg)/triggers; \
+ echo "activate-noawait ldconfig" >> debian/.debhelper/generated/$(cdbs_curpkg)/triggers; \
+ fi
+
+binary-install/$(DEB_SOURCE_PACKAGE)-doc-html::
+ set -e; \
+ for doc in `cd $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en; find . -name index.docbook`; do \
+ pkg=$${doc%/index.docbook}; pkg=$${pkg#./}; \
+ echo Building $$pkg HTML docs...; \
+ mkdir -p $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ cd $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ /opt/trinity/bin/meinproc $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en/$$pkg/index.docbook; \
+ done
+ for pkg in $(DOC_HTML_PRUNE) ; do \
+ rm -rf debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ done
+
+common-build-indep:: debian/stamp-kde-apidox
+debian/stamp-kde-apidox:
+ $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) apidox)
+ touch $@
+
+common-install-indep:: common-install-kde-apidox
+common-install-kde-apidox::
+ $(if $(DEB_KDE_APIDOX),+DESTDIR=$(DEB_DESTDIR) $(DEB_MAKE_INVOKE) install-apidox)
+
+cleanbuilddir::
+ -$(if $(call cdbs_streq,$(DEB_BUILDDIR),$(DEB_SRCDIR)),,rm -rf $(DEB_BUILDDIR))
+
+clean::
+ifndef _cdbs_class_cmake
+ if test -n "$(DEB_KDE_CVS_MAKE)" && test -d $(DEB_SRCDIR); then \
+ cd $(DEB_SRCDIR); \
+ find . -name Makefile.in -print | \
+ xargs --no-run-if-empty rm -f; \
+ rm -f Makefile.am acinclude.m4 aclocal.m4 config.h.in \
+ configure configure.files configure.in stamp-h.in \
+ subdirs; \
+ fi
+endif
+ rm -f .tdepkginfo
+ rm -f debian/stamp-kde-apidox
+ rm -f debian/stamp-cvs-make
+
+endif
diff --git a/debian/_base/applications/utilities/kommando/debian/cdbs/versions.pl b/debian/_base/applications/utilities/kommando/debian/cdbs/versions.pl
new file mode 100644
index 000000000..1b110f7af
--- /dev/null
+++ b/debian/_base/applications/utilities/kommando/debian/cdbs/versions.pl
@@ -0,0 +1,19 @@
+#!/usr/bin/env perl
+
+use strict;
+use warnings;
+
+my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`;
+my ($version3, $version3_next);
+my ($version2, $version2_next);
+
+($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/;
+($version2 = $version3) =~ s/\.[^.]+$//;
+
+($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e;
+($version2_next = $version2) =~ s/(?<=\.)(\d+)$/($1+1)/e;
+
+print "TDE-Version3=$version3\n";
+print "TDE-Version2=$version2\n";
+print "TDE-Next-Version3=$version3_next\n";
+print "TDE-Next-Version2=$version2_next\n";
diff --git a/debian/_base/applications/utilities/kommando/debian/changelog b/debian/_base/applications/utilities/kommando/debian/changelog
new file mode 100644
index 000000000..6259ef8bc
--- /dev/null
+++ b/debian/_base/applications/utilities/kommando/debian/changelog
@@ -0,0 +1,67 @@
+kommando-trinity (0.5.2-0) unstable; urgency=low
+
+ * Trinity version
+
+ -- Michele Calgaro <michele.calgaro@yahoo.it> Sun, 23 Jul 2023 11:50:46 +0900
+
+kommando (0.5.1-2) unstable; urgency=low
+
+ * Upload to unstable
+
+ -- Sune Vuorela <debian@pusling.com> Fri, 13 Apr 2007 23:49:21 +0200
+
+kommando (0.5.1-1) experimental; urgency=low
+
+ * New upstream release.
+ - Removing kommandorc from root of tarball.
+ * Removing patch to move conffile. Integrated upstream.
+ * kommando is now a kded module, not a stand alone program.
+ - menu file removed.
+ - man page removed.
+ - NEWS.Debian added.
+
+ -- Sune Vuorela <debian@pusling.com> Thu, 28 Dec 2006 16:47:01 +0100
+
+kommando (0.4.1-2) unstable; urgency=low
+
+ * Fixed problems with moving of kommandorc
+
+ -- Sune Vuorela <debian@pusling.com> Sun, 29 Jan 2006 19:54:32 +0100
+
+kommando (0.4.1-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Sune Vuorela <debian@pusling.com> Fri, 27 Jan 2006 22:26:33 +0000
+
+kommando (0.4.0-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Sune Vuorela <debian@pusling.com> Wed, 25 Jan 2006 22:06:50 +0000
+
+kommando (0.3.0-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Sune Vuorela <debian@pusling.com> Sat, 19 Nov 2005 22:35:44 +0000
+
+kommando (0.2-2) unstable; urgency=low
+
+ * Passes lintian
+ * First debian release Closes: #336607
+
+ -- Sune Vuorela <debian@pusling.com> Tue, 1 Nov 2005 13:00:00 +0100
+
+kommando (0.2-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Sune Vuorela <debian@pusling.com> Sun, 2 Oct 2005 21:51:18 +0000
+
+kommando (0.1.2-1) unstable; urgency=low
+
+ * Initial release
+
+ -- Sune Vuorela <debian@pusling.com> Tue, 27 Sep 2005 21:37:53 +0000
+
diff --git a/debian/_base/applications/utilities/kommando/debian/compat b/debian/_base/applications/utilities/kommando/debian/compat
new file mode 100644
index 000000000..f599e28b8
--- /dev/null
+++ b/debian/_base/applications/utilities/kommando/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/_base/applications/utilities/kommando/debian/control b/debian/_base/applications/utilities/kommando/debian/control
new file mode 100644
index 000000000..e29e23d86
--- /dev/null
+++ b/debian/_base/applications/utilities/kommando/debian/control
@@ -0,0 +1,15 @@
+Source: kommando-trinity
+Section: tde
+Priority: optional
+Maintainer: TDE Debian Team <team-debian@trinitydesktop.org>
+XSBC-Original-Maintainer: Sune Vuorela <debian@pusling.com>
+Build-Depends: cdbs, debhelper (>= 10~), quilt, tde-cmake, ninja-build, tdelibs14-trinity-dev, libxmu-dev
+Standards-Version: 3.8.4
+
+Package: kommando-trinity
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: a TDE wheel-menu to quickly pick menu items with the mouse
+ It allows rapid access to user defined applications and shell
+ commands and is of course a nice piece of eyecandy to improve the
+ look and usability of TDE.
diff --git a/debian/_base/applications/utilities/kommando/debian/copyright b/debian/_base/applications/utilities/kommando/debian/copyright
new file mode 100644
index 000000000..be9aabb0b
--- /dev/null
+++ b/debian/_base/applications/utilities/kommando/debian/copyright
@@ -0,0 +1,39 @@
+This code was ported to TDE and packaged for Debian by:
+ Michele Calgaro <michele.calgaro@yahoo.it>
+and is based on the code downloaded from Debian Snapshot Archive at:
+ https://snapshot.debian.org/package/kommando/0.5.1-/
+and from the KDE store:
+ https://store.kde.org/p/1081202/
+All original code was released under GPL2 license.
+
+Original code was packaged for Debian by:
+ Sune Vuorela <debian@pusling.com> on
+Tue, 27 Sep 2005 21:37:53 +0000.
+
+It was downloaded from http://www.kde-look.org/content/show.php?content=29514
+
+Copyright Holder (C) 2005,2006: Daniel Stoeckel <the_docter (at) gmx.net>
+
+License:
+
+
+ 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 package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+The Debian packaging is (C) 2005-2007, Sune Vuorela <debian@pusling.com> and
+is licensed under the GPL, see above.
+
diff --git a/debian/_base/applications/utilities/kommando/debian/docs b/debian/_base/applications/utilities/kommando/debian/docs
new file mode 100644
index 000000000..6f83607c1
--- /dev/null
+++ b/debian/_base/applications/utilities/kommando/debian/docs
@@ -0,0 +1,3 @@
+AUTHORS
+NEWS
+README
diff --git a/debian/_base/applications/utilities/kommando/debian/patches/series b/debian/_base/applications/utilities/kommando/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/_base/applications/utilities/kommando/debian/patches/series
diff --git a/debian/_base/applications/utilities/kommando/debian/rules b/debian/_base/applications/utilities/kommando/debian/rules
new file mode 100755
index 000000000..a6797f19a
--- /dev/null
+++ b/debian/_base/applications/utilities/kommando/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/cmake.mk
+include debian/cdbs/debian-tde.mk
+
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc/trinity" \
+ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DBUILD_ALL="ON" \
+ -DWITH_ALL_OPTIONS="ON"
diff --git a/debian/_base/applications/utilities/kommando/debian/source/format b/debian/_base/applications/utilities/kommando/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/debian/_base/applications/utilities/kommando/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/_base/applications/utilities/kommando/debian/source/options b/debian/_base/applications/utilities/kommando/debian/source/options
new file mode 100644
index 000000000..72f1f5450
--- /dev/null
+++ b/debian/_base/applications/utilities/kommando/debian/source/options
@@ -0,0 +1,6 @@
+# Use xz instead of gzip
+compression = "xz"
+compression-level = 9
+
+# Don't run differences
+diff-ignore = .*
diff --git a/debian/_base/applications/utilities/kompose/debian/cdbs/debian-tde.mk b/debian/_base/applications/utilities/kompose/debian/cdbs/debian-tde.mk
new file mode 100644
index 000000000..aba508624
--- /dev/null
+++ b/debian/_base/applications/utilities/kompose/debian/cdbs/debian-tde.mk
@@ -0,0 +1,251 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2003 Christopher L Cheney <ccheney@debian.org>
+# Copyright © 2019 TDE Team
+# Description: A class for TDE packages; sets TDE environment variables, etc
+#
+# This program 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, or (at
+# your option) any later version.
+#
+# This program 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, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+ifndef _cdbs_bootstrap
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+endif
+
+ifndef _cdbs_class_debian-qt-kde
+_cdbs_class_debian-qt-kde := 1
+
+# for dh_icons
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), debhelper (>= 5.0.7ubuntu4)
+
+# Note: This _must_ be included before autotools.mk, or it won't work.
+common-configure-arch common-configure-indep:: debian/stamp-cvs-make
+debian/stamp-cvs-make:
+ifndef _cdbs_class_cmake
+ cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
+ $(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
+endif
+ touch debian/stamp-cvs-make
+
+include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
+
+ifdef _cdbs_tarball_dir
+DEB_BUILDDIR = $(_cdbs_tarball_dir)/obj-$(DEB_BUILD_GNU_TYPE)
+else
+DEB_BUILDDIR = obj-$(DEB_BUILD_GNU_TYPE)
+endif
+
+ifndef _cdbs_class_cmake
+include $(_cdbs_class_path)/autotools.mk$(_cdbs_makefile_suffix)
+endif
+
+ifdef _cdbs_class_cmake
+ifneq "$(wildcard /usr/bin/ninja)" ""
+MAKE = ninja -v
+DEB_MAKE_ENVVARS += DESTDIR=$(DEB_DESTDIR)
+DEB_MAKE_INSTALL_TARGET = install
+DEB_CMAKE_NORMAL_ARGS += -GNinja
+endif
+endif
+
+ifndef _cdbs_rules_patchsys_quilt
+DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
+
+export kde_cgidir = \$${libdir}/cgi-bin
+export kde_confdir = \$${sysconfdir}/trinity
+export kde_htmldir = \$${datadir}/doc/tde/HTML
+
+DEB_KDE_ENABLE_FINAL := yes
+DEB_INSTALL_DOCS_ALL :=
+
+DEB_DH_MAKESHLIBS_ARGS_ALL := -V
+DEB_SHLIBDEPS_INCLUDE = $(foreach p,$(PACKAGES_WITH_LIBS),debian/$(p)/usr/lib)
+
+DEB_AC_AUX_DIR = $(DEB_SRCDIR)/admin
+DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include"
+DEB_COMPRESS_EXCLUDE_ALL += .dcl .docbook -license .tag .sty .el
+
+# 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
+
+ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ cdbs_treat_me_gently_arches := arm m68k alpha ppc64 armel armeb
+ ifeq (,$(filter $(DEB_HOST_ARCH_CPU),$(cdbs_treat_me_gently_arches)))
+ cdbs_kde_enable_final = $(if $(DEB_KDE_ENABLE_FINAL),--enable-final,)
+ else
+ cdbs_kde_enable_final =
+ endif
+endif
+
+ifneq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_final =
+ cdbs_kde_enable_debug = --enable-debug=yes
+else
+ cdbs_kde_enable_debug = --disable-debug
+endif
+
+ifneq (,$(filter debug,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_debug = --enable-debug=full
+endif
+
+DEB_BUILD_PARALLEL ?= true
+
+cdbs_configure_flags += \
+ --with-qt-dir=/usr/share/qt3 \
+ --disable-rpath \
+ --with-xinerama \
+ $(cdbs_kde_enable_final) \
+ $(cdbs_kde_enable_debug)
+
+
+# This is a convenience target for calling manually.
+# It's not part of the build process.
+buildprep: clean apply-patches
+ifndef _cdbs_class_cmake
+ $(MAKE) -f admin/Makefile.common dist
+endif
+ debian/rules clean
+
+.tdepkginfo:
+ echo "# TDE package information" >.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Source: |Name: |p" >>.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Version: |Version: |p" >>.tdepkginfo
+ date +"DateTime: %m/%d/%Y %H:%M" -u -d "$$(dpkg-parsechangelog | sed -n 's|^Date: ||p')" >>.tdepkginfo
+
+post-patches:: .tdepkginfo
+
+common-build-arch:: debian/stamp-man-pages
+debian/stamp-man-pages:
+ if ! test -d debian/man/out; then mkdir -p debian/man/out; fi
+ for f in $$(find debian/man -name '*.sgml'); do \
+ docbook-to-man $$f > debian/man/out/`basename $$f .sgml`.1; \
+ done
+ for f in $$(find debian/man -name '*.man'); do \
+ soelim -I debian/man $$f \
+ > debian/man/out/`basename $$f .man`.`head -n1 $$f | awk '{print $$NF}'`; \
+ done
+ touch debian/stamp-man-pages
+
+common-binary-indep::
+ ( set -e; \
+ tmpf=`mktemp debian/versions.XXXXXX`; \
+ perl debian/cdbs/versions.pl >$$tmpf; \
+ for p in $(DEB_INDEP_PACKAGES); do \
+ cat $$tmpf >>debian/$$p.substvars; \
+ done; \
+ rm -f $$tmpf )
+
+common-binary-arch::
+ ( set -e; \
+ tmpf=`mktemp debian/versions.XXXXXX`; \
+ perl debian/cdbs/versions.pl >$$tmpf; \
+ for p in $(DEB_ARCH_PACKAGES); do \
+ cat $$tmpf >>debian/$$p.substvars; \
+ done; \
+ rm -f $$tmpf )
+ # update multi-arch path in install files
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
+ [ -d $$a ] || [ -f $$a.arch ] || \
+ ! grep -q "\$$(DEB_HOST_MULTIARCH)" $$a || \
+ sed -i.arch "s|\$$(DEB_HOST_MULTIARCH)|$(DEB_HOST_MULTIARCH)|g" $$a; \
+ done
+
+clean::
+ rm -rf debian/man/out
+ -rmdir debian/man
+ rm -f debian/stamp-man-pages
+ rm -rf debian/shlibs-check
+ # revert multi-arch path in install files
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
+ [ ! -f $$a.arch ] || \
+ mv $$a.arch $$a; \
+ done
+
+$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
+ if test -x /usr/bin/dh_icons; then dh_icons -p$(cdbs_curpkg) $(DEB_DH_ICONCACHE_ARGS); fi
+ if test -x /usr/bin/dh_desktop; then dh_desktop -p$(cdbs_curpkg) $(DEB_DH_DESKTOP_ARGS); fi
+ if test -e debian/$(cdbs_curpkg).lintian; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).lintian \
+ debian/$(cdbs_curpkg)/usr/share/lintian/overrides/$(cdbs_curpkg); \
+ fi
+ if test -e debian/$(cdbs_curpkg).presubj; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).presubj \
+ debian/$(cdbs_curpkg)/usr/share/bug/$(cdbs_curpkg)/presubj; \
+ fi
+ if test -d debian/$(cdbs_curpkg)/opt/trinity/lib && \
+ test $$(find debian/$(cdbs_curpkg)/opt/trinity/lib -name "*.so" | wc -l) -gt 0; then \
+ echo "# Triggers added by cdbs/debian-tde.mk" >> debian/.debhelper/generated/$(cdbs_curpkg)/triggers; \
+ echo "activate-noawait ldconfig" >> debian/.debhelper/generated/$(cdbs_curpkg)/triggers; \
+ fi
+
+binary-install/$(DEB_SOURCE_PACKAGE)-doc-html::
+ set -e; \
+ for doc in `cd $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en; find . -name index.docbook`; do \
+ pkg=$${doc%/index.docbook}; pkg=$${pkg#./}; \
+ echo Building $$pkg HTML docs...; \
+ mkdir -p $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ cd $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ /opt/trinity/bin/meinproc $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en/$$pkg/index.docbook; \
+ done
+ for pkg in $(DOC_HTML_PRUNE) ; do \
+ rm -rf debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ done
+
+common-build-indep:: debian/stamp-kde-apidox
+debian/stamp-kde-apidox:
+ $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) apidox)
+ touch $@
+
+common-install-indep:: common-install-kde-apidox
+common-install-kde-apidox::
+ $(if $(DEB_KDE_APIDOX),+DESTDIR=$(DEB_DESTDIR) $(DEB_MAKE_INVOKE) install-apidox)
+
+cleanbuilddir::
+ -$(if $(call cdbs_streq,$(DEB_BUILDDIR),$(DEB_SRCDIR)),,rm -rf $(DEB_BUILDDIR))
+
+clean::
+ifndef _cdbs_class_cmake
+ if test -n "$(DEB_KDE_CVS_MAKE)" && test -d $(DEB_SRCDIR); then \
+ cd $(DEB_SRCDIR); \
+ find . -name Makefile.in -print | \
+ xargs --no-run-if-empty rm -f; \
+ rm -f Makefile.am acinclude.m4 aclocal.m4 config.h.in \
+ configure configure.files configure.in stamp-h.in \
+ subdirs; \
+ fi
+endif
+ rm -f .tdepkginfo
+ rm -f debian/stamp-kde-apidox
+ rm -f debian/stamp-cvs-make
+
+endif
diff --git a/debian/_base/applications/utilities/kompose/debian/cdbs/versions.pl b/debian/_base/applications/utilities/kompose/debian/cdbs/versions.pl
new file mode 100644
index 000000000..1b110f7af
--- /dev/null
+++ b/debian/_base/applications/utilities/kompose/debian/cdbs/versions.pl
@@ -0,0 +1,19 @@
+#!/usr/bin/env perl
+
+use strict;
+use warnings;
+
+my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`;
+my ($version3, $version3_next);
+my ($version2, $version2_next);
+
+($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/;
+($version2 = $version3) =~ s/\.[^.]+$//;
+
+($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e;
+($version2_next = $version2) =~ s/(?<=\.)(\d+)$/($1+1)/e;
+
+print "TDE-Version3=$version3\n";
+print "TDE-Version2=$version2\n";
+print "TDE-Next-Version3=$version3_next\n";
+print "TDE-Next-Version2=$version2_next\n";
diff --git a/debian/_base/applications/utilities/kompose/debian/changelog b/debian/_base/applications/utilities/kompose/debian/changelog
new file mode 100644
index 000000000..f0d588126
--- /dev/null
+++ b/debian/_base/applications/utilities/kompose/debian/changelog
@@ -0,0 +1,139 @@
+kompose-trinity (0.5.4-3) testing; urgency=low
+
+ * Initial release for TDE
+
+ -- Michele Calgaro <michele.calgaro@yahoo.it> Sun, 06 Apr 2021 11:12:07 +0900
+
+kompose (0.5.4-3) unstable; urgency=low
+
+ * Relocate patches to not use -p0. (Closes: #484954)
+
+ -- Ana Beatriz Guerrero Lopez <ana@debian.org> Mon, 23 Jun 2008 13:16:59 +0200
+
+kompose (0.5.4-2) unstable; urgency=low
+
+ * Update to Standards-Version 3.7.3, no changes required.
+ * Bump to debhelper 6.
+ * Move Homepage into source field.
+ * Fix clean target in debian/rules.
+ * Patch desktop file:
+ - Add categories to the desktop file. (Closes: #448828)
+ - Remove deprecated TerminalOptions entry.
+ * Replace (c) by © in the copyright file to make lintian happy.
+
+ -- Ana Beatriz Guerrero Lopez <ana@debian.org> Sun, 10 Feb 2008 03:25:20 +0100
+
+kompose (0.5.4-1) unstable; urgency=low
+
+ * New maintainers. (Closes: #393035)
+ * New upstream release. (Closes: #390087)
+ * Acknowledge NMU. (Closes: #342994)
+
+ [ Ana Beatriz Guerrero Lopez ]
+ * Bumped compat to 5.
+ * Bumped Build-Depends to 3.7.2, no changes required.
+ * Added Homepage to description.
+ * Moved .desktop file to the right place.
+ * Added quilt to manage patches.
+ * Added patch to fix kompose version number.
+ * Improved debian/copyright file.
+
+ [ Sune Vuorela ]
+ * Added a patch from gentoo bugtracker to make it build
+ (10_fix-komposetaskprefswidget.cpp.diff)
+ * Added 01_autoconf-2.6.diff to be able to create 98_buildprep.diff
+ * While I am at buildprep, take the 'common' patches from kde packaging
+ * Improved debian/copyright file.
+ * Added 02_no-libxfixes-configure-in-in.diff to not link against non-needed
+ libxfixes.
+ * Added 03_fix-ld-flags.diff to not link against multiple non-needed
+ libraries.
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Sat, 28 Oct 2006 02:29:39 +0200
+
+kompose (0.5.3-1.3) unstable; urgency=high
+
+ * Non-maintainer upload.
+ * Split xlibs-dev build-dep (Closes: #347079).
+ * Remove explicit build-dep on g++-3.4 (Closes: #342994).
+
+ -- Luk Claes <luk@debian.org> Wed, 11 Jan 2006 16:24:15 +0100
+
+kompose (0.5.3-1.2) unstable; urgency=low
+
+ * Non-maintainer upload to complete the previous one.
+ * Upstream's tarball has some botched timestamps in autotools files;
+ introduce some touch-fu in debian/rules to allow compilation without
+ automake and autoconf.
+
+ -- Adeodato Simó <dato@net.com.org.es> Sat, 10 Dec 2005 16:58:47 +0100
+
+kompose (0.5.3-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Upload to get rebuilt against kdelibs4c2a after failed binNMU.
+ * Do not build-depend on removed automake1.6, since it is not needed (not
+ called from debian/rules, no Makefile.am touched from diff.gz); instead,
+ build-depend on autotools-dev for the update of config.{sub,guess}
+ snippet. (Closes: #335126)
+
+ -- Adeodato Simó <dato@net.com.org.es> Fri, 09 Dec 2005 03:42:22 +0100
+
+kompose (0.5.3-1) unstable; urgency=low
+
+ * New upstream release. (Closes: #299654)
+
+ -- Luis Mayoral <mayoral@linuxadicto.org> Sat, 8 Oct 2005 21:58:46 +0200
+
+kompose (0.5.1-2.2) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Build-dep on g++-3.4 on arm, hppa and m68k (Closes: #330938)
+
+ -- Luk Claes <luk@debian.org> Sat, 1 Oct 2005 19:53:58 +0200
+
+kompose (0.5.1-2.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Trigger rebuild for the Qt/KDE transition, no source changes needed.
+ (Closes: #327970)
+
+ -- Adeodato Simó <asp16@alu.ua.es> Tue, 27 Sep 2005 16:07:53 +0200
+
+kompose (0.5.1-2) unstable; urgency=low
+
+ * Added xlibs-dev to Build-Depends.
+
+ -- Luis Mayoral <mayoral@linuxadicto.org> Fri, 11 Feb 2005 13:12:15 +0100
+
+kompose (0.5.1-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Luis Mayoral <mayoral@linuxadicto.org> Wed, 9 Feb 2005 13:01:28 +0100
+
+kompose (0.5-2) unstable; urgency=low
+
+ * Fixed Build-Depends in debian/control (closes: Bug#287104).
+
+ -- Luis Mayoral <mayoral@linuxadicto.org> Fri, 24 Dec 2004 19:47:34 +0100
+
+kompose (0.5-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Luis Mayoral <mayoral@linuxadicto.org> Tue, 19 Oct 2004 10:44:38 +0200
+
+kompose (0.4.2-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Luis Mayoral <mayoral@linuxadicto.org> Sun, 5 Sep 2004 14:15:04 +0200
+
+kompose (0.4.1-1) unstable; urgency=low
+
+ * Initial Release (closes: Bug#267579).
+ * Modified src/Makefile.in in order to fix a bug in imlib2-config.
+
+ -- Luis Mayoral <mayoral@linuxadicto.org> Mon, 23 Aug 2004 19:56:57 +0200
+
diff --git a/debian/_base/applications/utilities/kompose/debian/compat b/debian/_base/applications/utilities/kompose/debian/compat
new file mode 100644
index 000000000..f599e28b8
--- /dev/null
+++ b/debian/_base/applications/utilities/kompose/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/_base/applications/utilities/kompose/debian/control b/debian/_base/applications/utilities/kompose/debian/control
new file mode 100644
index 000000000..a808f8827
--- /dev/null
+++ b/debian/_base/applications/utilities/kompose/debian/control
@@ -0,0 +1,18 @@
+Source: kompose-trinity
+Section: admin
+Priority: optional
+Maintainer: TDE Debian Team <team-debian@trinitydesktop.org>
+XSBC-Original-Maintainer: Ana Beatriz Guerrero Lopez <ana@debian.org>, Sune Vuorela <debian@pusling.com>
+Build-Depends: cdbs, debhelper (>= 10~), quilt, tde-cmake, ninja-build, tdelibs14-trinity-dev, libimlib2-dev, libx11-dev, libxdamage-dev, libxcomposite-dev
+Standards-Version: 3.8.4
+
+Package: kompose-trinity
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Replaces: kompose-trinity (<< 4:14.0.0~)
+Breaks: kompose-trinity (<< 4:14.0.0~)
+Description: full screen task manager for TDE
+ Kompose offers a great new way to manage a big number of windows on
+ different Virtual Desktops. It creates a fullscreen view where every
+ window is represented by a scaled screenshot of its own.
+
diff --git a/debian/_base/applications/utilities/kompose/debian/copyright b/debian/_base/applications/utilities/kompose/debian/copyright
new file mode 100644
index 000000000..442aca6c0
--- /dev/null
+++ b/debian/_base/applications/utilities/kompose/debian/copyright
@@ -0,0 +1,35 @@
+This package was debianized by Luis Mayoral <mayoral@linuxadicto.org> on
+Mon, 23 Aug 2004 19:56:57 +0200.
+Maintenance was taken over by Debian KDE Extras Team
+<pkg-kde-extras@lists.alioth.debian.org> on Fri, 27 Oct 2006 17:55:21 +0200
+
+It was downloaded from http://kompose.berlios.de
+
+Upstream Author: Hans Oischinger <oisch@waidlafragger.de>
+
+Copyright:
+ © 2004-2006, Hans Oischinger <oisch@waidlafragger.de>
+
+License terms:
+
+ 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 package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+This program is released under the Gnu Public License version 2.
+Fhe full text of the GNU General Public License version 2 is available on
+Debian systems in /usr/share/common-licenses/GPL-2.
+
+The Debian packaging is under the same license as the program.
+ (C) 2004-2005 Luis Mayoral <mayoral@linuxadicto.org>
+ (C) 2006 Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
diff --git a/debian/_base/applications/utilities/kompose/debian/docs b/debian/_base/applications/utilities/kompose/debian/docs
new file mode 100644
index 000000000..6f12db508
--- /dev/null
+++ b/debian/_base/applications/utilities/kompose/debian/docs
@@ -0,0 +1,2 @@
+AUTHORS
+README
diff --git a/debian/_base/applications/utilities/kompose/debian/kompose-trinity.menu b/debian/_base/applications/utilities/kompose/debian/kompose-trinity.menu
new file mode 100644
index 000000000..089419f7b
--- /dev/null
+++ b/debian/_base/applications/utilities/kompose/debian/kompose-trinity.menu
@@ -0,0 +1,5 @@
+?package(kompose-trinity):needs="X11"\
+ section="Apps/System"\
+ hints="TDE,kompose"\
+ title="kompose"\
+ command="/opt/trinity/bin/kompose"
diff --git a/debian/_base/applications/utilities/kompose/debian/patches/series b/debian/_base/applications/utilities/kompose/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/_base/applications/utilities/kompose/debian/patches/series
diff --git a/debian/_base/applications/utilities/kompose/debian/rules b/debian/_base/applications/utilities/kompose/debian/rules
new file mode 100755
index 000000000..5a0da42af
--- /dev/null
+++ b/debian/_base/applications/utilities/kompose/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/cmake.mk
+include debian/cdbs/debian-tde.mk
+
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc" \
+ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DBUILD_ALL="ON" \
+ -DWITH_ALL_OPTIONS="ON"
diff --git a/debian/_base/applications/utilities/kompose/debian/source/format b/debian/_base/applications/utilities/kompose/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/debian/_base/applications/utilities/kompose/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/_base/applications/utilities/kompose/debian/source/options b/debian/_base/applications/utilities/kompose/debian/source/options
new file mode 100644
index 000000000..72f1f5450
--- /dev/null
+++ b/debian/_base/applications/utilities/kompose/debian/source/options
@@ -0,0 +1,6 @@
+# Use xz instead of gzip
+compression = "xz"
+compression-level = 9
+
+# Don't run differences
+diff-ignore = .*
diff --git a/debian/_base/applications/utilities/krename/debian/cdbs/debian-tde.mk b/debian/_base/applications/utilities/krename/debian/cdbs/debian-tde.mk
new file mode 100644
index 000000000..aba508624
--- /dev/null
+++ b/debian/_base/applications/utilities/krename/debian/cdbs/debian-tde.mk
@@ -0,0 +1,251 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2003 Christopher L Cheney <ccheney@debian.org>
+# Copyright © 2019 TDE Team
+# Description: A class for TDE packages; sets TDE environment variables, etc
+#
+# This program 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, or (at
+# your option) any later version.
+#
+# This program 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, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+ifndef _cdbs_bootstrap
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+endif
+
+ifndef _cdbs_class_debian-qt-kde
+_cdbs_class_debian-qt-kde := 1
+
+# for dh_icons
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), debhelper (>= 5.0.7ubuntu4)
+
+# Note: This _must_ be included before autotools.mk, or it won't work.
+common-configure-arch common-configure-indep:: debian/stamp-cvs-make
+debian/stamp-cvs-make:
+ifndef _cdbs_class_cmake
+ cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
+ $(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
+endif
+ touch debian/stamp-cvs-make
+
+include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
+
+ifdef _cdbs_tarball_dir
+DEB_BUILDDIR = $(_cdbs_tarball_dir)/obj-$(DEB_BUILD_GNU_TYPE)
+else
+DEB_BUILDDIR = obj-$(DEB_BUILD_GNU_TYPE)
+endif
+
+ifndef _cdbs_class_cmake
+include $(_cdbs_class_path)/autotools.mk$(_cdbs_makefile_suffix)
+endif
+
+ifdef _cdbs_class_cmake
+ifneq "$(wildcard /usr/bin/ninja)" ""
+MAKE = ninja -v
+DEB_MAKE_ENVVARS += DESTDIR=$(DEB_DESTDIR)
+DEB_MAKE_INSTALL_TARGET = install
+DEB_CMAKE_NORMAL_ARGS += -GNinja
+endif
+endif
+
+ifndef _cdbs_rules_patchsys_quilt
+DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
+
+export kde_cgidir = \$${libdir}/cgi-bin
+export kde_confdir = \$${sysconfdir}/trinity
+export kde_htmldir = \$${datadir}/doc/tde/HTML
+
+DEB_KDE_ENABLE_FINAL := yes
+DEB_INSTALL_DOCS_ALL :=
+
+DEB_DH_MAKESHLIBS_ARGS_ALL := -V
+DEB_SHLIBDEPS_INCLUDE = $(foreach p,$(PACKAGES_WITH_LIBS),debian/$(p)/usr/lib)
+
+DEB_AC_AUX_DIR = $(DEB_SRCDIR)/admin
+DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include"
+DEB_COMPRESS_EXCLUDE_ALL += .dcl .docbook -license .tag .sty .el
+
+# 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
+
+ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ cdbs_treat_me_gently_arches := arm m68k alpha ppc64 armel armeb
+ ifeq (,$(filter $(DEB_HOST_ARCH_CPU),$(cdbs_treat_me_gently_arches)))
+ cdbs_kde_enable_final = $(if $(DEB_KDE_ENABLE_FINAL),--enable-final,)
+ else
+ cdbs_kde_enable_final =
+ endif
+endif
+
+ifneq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_final =
+ cdbs_kde_enable_debug = --enable-debug=yes
+else
+ cdbs_kde_enable_debug = --disable-debug
+endif
+
+ifneq (,$(filter debug,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_debug = --enable-debug=full
+endif
+
+DEB_BUILD_PARALLEL ?= true
+
+cdbs_configure_flags += \
+ --with-qt-dir=/usr/share/qt3 \
+ --disable-rpath \
+ --with-xinerama \
+ $(cdbs_kde_enable_final) \
+ $(cdbs_kde_enable_debug)
+
+
+# This is a convenience target for calling manually.
+# It's not part of the build process.
+buildprep: clean apply-patches
+ifndef _cdbs_class_cmake
+ $(MAKE) -f admin/Makefile.common dist
+endif
+ debian/rules clean
+
+.tdepkginfo:
+ echo "# TDE package information" >.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Source: |Name: |p" >>.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Version: |Version: |p" >>.tdepkginfo
+ date +"DateTime: %m/%d/%Y %H:%M" -u -d "$$(dpkg-parsechangelog | sed -n 's|^Date: ||p')" >>.tdepkginfo
+
+post-patches:: .tdepkginfo
+
+common-build-arch:: debian/stamp-man-pages
+debian/stamp-man-pages:
+ if ! test -d debian/man/out; then mkdir -p debian/man/out; fi
+ for f in $$(find debian/man -name '*.sgml'); do \
+ docbook-to-man $$f > debian/man/out/`basename $$f .sgml`.1; \
+ done
+ for f in $$(find debian/man -name '*.man'); do \
+ soelim -I debian/man $$f \
+ > debian/man/out/`basename $$f .man`.`head -n1 $$f | awk '{print $$NF}'`; \
+ done
+ touch debian/stamp-man-pages
+
+common-binary-indep::
+ ( set -e; \
+ tmpf=`mktemp debian/versions.XXXXXX`; \
+ perl debian/cdbs/versions.pl >$$tmpf; \
+ for p in $(DEB_INDEP_PACKAGES); do \
+ cat $$tmpf >>debian/$$p.substvars; \
+ done; \
+ rm -f $$tmpf )
+
+common-binary-arch::
+ ( set -e; \
+ tmpf=`mktemp debian/versions.XXXXXX`; \
+ perl debian/cdbs/versions.pl >$$tmpf; \
+ for p in $(DEB_ARCH_PACKAGES); do \
+ cat $$tmpf >>debian/$$p.substvars; \
+ done; \
+ rm -f $$tmpf )
+ # update multi-arch path in install files
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
+ [ -d $$a ] || [ -f $$a.arch ] || \
+ ! grep -q "\$$(DEB_HOST_MULTIARCH)" $$a || \
+ sed -i.arch "s|\$$(DEB_HOST_MULTIARCH)|$(DEB_HOST_MULTIARCH)|g" $$a; \
+ done
+
+clean::
+ rm -rf debian/man/out
+ -rmdir debian/man
+ rm -f debian/stamp-man-pages
+ rm -rf debian/shlibs-check
+ # revert multi-arch path in install files
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
+ [ ! -f $$a.arch ] || \
+ mv $$a.arch $$a; \
+ done
+
+$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
+ if test -x /usr/bin/dh_icons; then dh_icons -p$(cdbs_curpkg) $(DEB_DH_ICONCACHE_ARGS); fi
+ if test -x /usr/bin/dh_desktop; then dh_desktop -p$(cdbs_curpkg) $(DEB_DH_DESKTOP_ARGS); fi
+ if test -e debian/$(cdbs_curpkg).lintian; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).lintian \
+ debian/$(cdbs_curpkg)/usr/share/lintian/overrides/$(cdbs_curpkg); \
+ fi
+ if test -e debian/$(cdbs_curpkg).presubj; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).presubj \
+ debian/$(cdbs_curpkg)/usr/share/bug/$(cdbs_curpkg)/presubj; \
+ fi
+ if test -d debian/$(cdbs_curpkg)/opt/trinity/lib && \
+ test $$(find debian/$(cdbs_curpkg)/opt/trinity/lib -name "*.so" | wc -l) -gt 0; then \
+ echo "# Triggers added by cdbs/debian-tde.mk" >> debian/.debhelper/generated/$(cdbs_curpkg)/triggers; \
+ echo "activate-noawait ldconfig" >> debian/.debhelper/generated/$(cdbs_curpkg)/triggers; \
+ fi
+
+binary-install/$(DEB_SOURCE_PACKAGE)-doc-html::
+ set -e; \
+ for doc in `cd $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en; find . -name index.docbook`; do \
+ pkg=$${doc%/index.docbook}; pkg=$${pkg#./}; \
+ echo Building $$pkg HTML docs...; \
+ mkdir -p $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ cd $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ /opt/trinity/bin/meinproc $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en/$$pkg/index.docbook; \
+ done
+ for pkg in $(DOC_HTML_PRUNE) ; do \
+ rm -rf debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ done
+
+common-build-indep:: debian/stamp-kde-apidox
+debian/stamp-kde-apidox:
+ $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) apidox)
+ touch $@
+
+common-install-indep:: common-install-kde-apidox
+common-install-kde-apidox::
+ $(if $(DEB_KDE_APIDOX),+DESTDIR=$(DEB_DESTDIR) $(DEB_MAKE_INVOKE) install-apidox)
+
+cleanbuilddir::
+ -$(if $(call cdbs_streq,$(DEB_BUILDDIR),$(DEB_SRCDIR)),,rm -rf $(DEB_BUILDDIR))
+
+clean::
+ifndef _cdbs_class_cmake
+ if test -n "$(DEB_KDE_CVS_MAKE)" && test -d $(DEB_SRCDIR); then \
+ cd $(DEB_SRCDIR); \
+ find . -name Makefile.in -print | \
+ xargs --no-run-if-empty rm -f; \
+ rm -f Makefile.am acinclude.m4 aclocal.m4 config.h.in \
+ configure configure.files configure.in stamp-h.in \
+ subdirs; \
+ fi
+endif
+ rm -f .tdepkginfo
+ rm -f debian/stamp-kde-apidox
+ rm -f debian/stamp-cvs-make
+
+endif
diff --git a/debian/_base/applications/utilities/krename/debian/cdbs/versions.pl b/debian/_base/applications/utilities/krename/debian/cdbs/versions.pl
new file mode 100644
index 000000000..1b110f7af
--- /dev/null
+++ b/debian/_base/applications/utilities/krename/debian/cdbs/versions.pl
@@ -0,0 +1,19 @@
+#!/usr/bin/env perl
+
+use strict;
+use warnings;
+
+my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`;
+my ($version3, $version3_next);
+my ($version2, $version2_next);
+
+($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/;
+($version2 = $version3) =~ s/\.[^.]+$//;
+
+($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e;
+($version2_next = $version2) =~ s/(?<=\.)(\d+)$/($1+1)/e;
+
+print "TDE-Version3=$version3\n";
+print "TDE-Version2=$version2\n";
+print "TDE-Next-Version3=$version3_next\n";
+print "TDE-Next-Version2=$version2_next\n";
diff --git a/debian/_base/applications/utilities/krename/debian/changelog b/debian/_base/applications/utilities/krename/debian/changelog
new file mode 100644
index 000000000..d574638b6
--- /dev/null
+++ b/debian/_base/applications/utilities/krename/debian/changelog
@@ -0,0 +1,129 @@
+krename-trinity (3.0.14~1ubuntu0) karmic; urgency=low
+
+ * Karmic rebuild
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 02 Jul 2009 16:08:00 -0600
+
+krename-trinity (3.0.14~0ubuntu6) intrepid; urgency=low
+
+ * Moved Trinity to /opt/trinity
+ * Integrated properly with KDE4.2+
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 05 March 2009 29:52:00 -0600
+
+krename-trinity (3.0.14~0ubuntu5) intrepid; urgency=low
+
+ * Added -trinity suffix
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Fri, 12 Dec 2008 14:34:00 -0600
+
+krename (3.0.14-1) unstable; urgency=low
+
+ * New Upstream Release (Closes: #402859, #423440)
+ * Adopted Package - New Maintainer & Uploaders
+ * debian/control:
+ - Maintainer set to Debian KDE Extras Team
+ - Richard A. Johnson set to uploaders
+ - updated standards to version 3.7.2 - no changes necessary
+ - updated build-dep debhelper >= 5 (changes to compat)
+ - added libtool and automake1.10 to build-dep for Relibtoolization
+ - added Krenames URL to description
+ * debian/rules:
+ - cleaned out commented lines
+ - Relibtoolization at build time
+ * Updated debian/copyright
+
+ -- Richard A. Johnson <nixternal@ubuntu.com> Fri, 18 May 2007 21:54:22 -0500
+
+krename (3.0.9-2.1) unstable; urgency=low
+
+ * NMU.
+ * Remove build dependency on g++-3.4. Closes: #385835.
+
+ -- Matthias Klose <doko@debian.org> Sun, 3 Sep 2006 13:41:32 +0000
+
+krename (3.0.9-2) unstable; urgency=low
+
+ * No more Build-Depend on xlibs-dev
+
+ -- Roman Kreisel <roman.kreisel@web.de> Wed, 30 Nov 2005 13:46:48 +0100
+
+krename (3.0.9-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Roman Kreisel <roman.kreisel@web.de> Fri, 28 Oct 2005 21:56:34 +0200
+
+krename (3.0.8-1) unstable; urgency=low
+
+ * New upstream release (Closes: #329969)
+
+ -- Roman Kreisel <roman.kreisel@web.de> Sat, 24 Sep 2005 19:22:44 +0200
+
+krename (3.0.7-4) unstable; urgency=low
+
+ * Use GCC 3.4 on arm, m68k and hppa
+ * updated manpage
+ * Build-Dependency on xlibs-dev
+ * moved from "utils - optional" to "kde - optional"
+
+ -- Roman Kreisel <roman.kreisel@web.de> Tue, 6 Sep 2005 01:30:57 +0200
+
+krename (3.0.7-3) unstable; urgency=low
+
+ * moved from dpatch to simple-patchsys of cdbs
+ * Corrected a typo in copyright-file (wrong telephone-no. of fsf)
+ * No more "0 errors occurred"-Message on successful operation. Fixed by
+ upstream. (Closes: #309253)
+
+ -- Roman Kreisel <roman.kreisel@web.de> Fri, 2 Sep 2005 16:15:32 +0200
+
+krename (3.0.7-2) unstable; urgency=low
+
+ * Updated/corrected german translation (Closes: #313984)
+
+ -- Roman Kreisel <roman.kreisel@web.de> Fri, 2 Sep 2005 14:59:04 +0200
+
+krename (3.0.7-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Roman Kreisel <roman.kreisel@web.de> Mon, 29 Aug 2005 16:13:56 +0200
+
+krename (3.0.6-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Roman Kreisel <roman.kreisel@web.de> Thu, 18 Aug 2005 15:34:07 +0200
+
+krename (3.0.4-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Roman Kreisel <roman.kreisel@web.de> Thu, 21 Apr 2005 18:00:14 +0200
+
+krename (3.0.3-2) unstable; urgency=low
+
+ * Initial Debian release (Closes: #286278, #279143)
+
+ -- Roman Kreisel <roman.kreisel@web.de> Mon, 14 Feb 2005 20:38:59 +0100
+
+krename (3.0.3-1) unstable; urgency=low
+
+ * New upstream release
+ * Fixed Build-Depends
+
+ -- Roman Kreisel <roman.kreisel@web.de> Mon, 14 Feb 2005 20:27:10 +0100
+
+krename (3.0.2-2) staging; urgency=low
+
+ * Added debian/watch for easier updating
+
+ -- Roman Kreisel <roman.kreisel@web.de> Sat, 15 Jan 2005 18:46:03 +0100
+
+krename (3.0.2-1) staging; urgency=low
+
+ * Initial Release.
+
+ -- Roman Kreisel <roman.kreisel@web.de> Sun, 14 Nov 2004 23:23:38 +0100
+
diff --git a/debian/_base/applications/utilities/krename/debian/compat b/debian/_base/applications/utilities/krename/debian/compat
new file mode 100644
index 000000000..f599e28b8
--- /dev/null
+++ b/debian/_base/applications/utilities/krename/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/_base/applications/utilities/krename/debian/control b/debian/_base/applications/utilities/krename/debian/control
new file mode 100644
index 000000000..a1a17df3f
--- /dev/null
+++ b/debian/_base/applications/utilities/krename/debian/control
@@ -0,0 +1,20 @@
+Source: krename-trinity
+Section: tde
+Priority: optional
+Maintainer: TDE Debian Team <team-debian@trinitydesktop.org>
+Uploaders: Richard A. Johnson <nixternal@ubuntu.com>
+Build-Depends: cdbs, debhelper (>= 10~), quilt, tde-cmake, ninja-build, tdelibs14-trinity-dev, libx11-dev, libxext-dev, libxpm-dev, x-dev | x11proto-core-dev | libx11-dev, perl
+Standards-Version: 3.8.4
+
+Package: krename-trinity
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Replaces: krename-trinity (<< 4:14.0.0~)
+Breaks: krename-trinity (<< 4:14.0.0~)
+Description: Powerful batch renamer for TDE [Trinity]
+ This package contains a very powerful batch file renamer for Trinity
+ which can rename a list of files based on a set of expressions.
+ It can copy/move the files to another directory or simply rename
+ the input files.
+ .
+ Homepage: http://www.krename.net
diff --git a/debian/_base/applications/utilities/krename/debian/copyright b/debian/_base/applications/utilities/krename/debian/copyright
new file mode 100644
index 000000000..e90f32cab
--- /dev/null
+++ b/debian/_base/applications/utilities/krename/debian/copyright
@@ -0,0 +1,34 @@
+This package was debianized by Roman Kreisel <roman.kreisel@web.de> on
+Sun, 14 Nov 2004 23:23:38 +0100.
+
+Maintenance was taken over by the Debian KDE Extras Team on Thu, 17 May 2007
+15:01:00 -0600
+
+It was downloaded from http://www.krename.net/
+
+Copyright: 2001-2007 Dominik Seichter <domseichter@web.de>
+
+Upstream Author: Dominik Seichter
+
+License:
+
+ 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.
+
+ 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 systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+The Debian packaging is
+(C) 2007 Richard A. Johnson <nixternal@ubuntu.com>
+and is licensed under the GPL, see above.
diff --git a/debian/_base/applications/utilities/krename/debian/docs b/debian/_base/applications/utilities/krename/debian/docs
new file mode 100644
index 000000000..76c3076c9
--- /dev/null
+++ b/debian/_base/applications/utilities/krename/debian/docs
@@ -0,0 +1,3 @@
+AUTHORS
+README.md
+TODO
diff --git a/debian/_base/applications/utilities/krename/debian/patches/series b/debian/_base/applications/utilities/krename/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/_base/applications/utilities/krename/debian/patches/series
diff --git a/debian/_base/applications/utilities/krename/debian/rules b/debian/_base/applications/utilities/krename/debian/rules
new file mode 100755
index 000000000..a6797f19a
--- /dev/null
+++ b/debian/_base/applications/utilities/krename/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/cmake.mk
+include debian/cdbs/debian-tde.mk
+
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc/trinity" \
+ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DBUILD_ALL="ON" \
+ -DWITH_ALL_OPTIONS="ON"
diff --git a/debian/_base/applications/utilities/krename/debian/source/format b/debian/_base/applications/utilities/krename/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/debian/_base/applications/utilities/krename/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/_base/applications/utilities/krename/debian/source/options b/debian/_base/applications/utilities/krename/debian/source/options
new file mode 100644
index 000000000..72f1f5450
--- /dev/null
+++ b/debian/_base/applications/utilities/krename/debian/source/options
@@ -0,0 +1,6 @@
+# Use xz instead of gzip
+compression = "xz"
+compression-level = 9
+
+# Don't run differences
+diff-ignore = .*
diff --git a/debian/_base/applications/utilities/ksensors/debian/cdbs/debian-tde.mk b/debian/_base/applications/utilities/ksensors/debian/cdbs/debian-tde.mk
new file mode 100644
index 000000000..aba508624
--- /dev/null
+++ b/debian/_base/applications/utilities/ksensors/debian/cdbs/debian-tde.mk
@@ -0,0 +1,251 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2003 Christopher L Cheney <ccheney@debian.org>
+# Copyright © 2019 TDE Team
+# Description: A class for TDE packages; sets TDE environment variables, etc
+#
+# This program 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, or (at
+# your option) any later version.
+#
+# This program 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, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+ifndef _cdbs_bootstrap
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+endif
+
+ifndef _cdbs_class_debian-qt-kde
+_cdbs_class_debian-qt-kde := 1
+
+# for dh_icons
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), debhelper (>= 5.0.7ubuntu4)
+
+# Note: This _must_ be included before autotools.mk, or it won't work.
+common-configure-arch common-configure-indep:: debian/stamp-cvs-make
+debian/stamp-cvs-make:
+ifndef _cdbs_class_cmake
+ cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
+ $(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
+endif
+ touch debian/stamp-cvs-make
+
+include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
+
+ifdef _cdbs_tarball_dir
+DEB_BUILDDIR = $(_cdbs_tarball_dir)/obj-$(DEB_BUILD_GNU_TYPE)
+else
+DEB_BUILDDIR = obj-$(DEB_BUILD_GNU_TYPE)
+endif
+
+ifndef _cdbs_class_cmake
+include $(_cdbs_class_path)/autotools.mk$(_cdbs_makefile_suffix)
+endif
+
+ifdef _cdbs_class_cmake
+ifneq "$(wildcard /usr/bin/ninja)" ""
+MAKE = ninja -v
+DEB_MAKE_ENVVARS += DESTDIR=$(DEB_DESTDIR)
+DEB_MAKE_INSTALL_TARGET = install
+DEB_CMAKE_NORMAL_ARGS += -GNinja
+endif
+endif
+
+ifndef _cdbs_rules_patchsys_quilt
+DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
+
+export kde_cgidir = \$${libdir}/cgi-bin
+export kde_confdir = \$${sysconfdir}/trinity
+export kde_htmldir = \$${datadir}/doc/tde/HTML
+
+DEB_KDE_ENABLE_FINAL := yes
+DEB_INSTALL_DOCS_ALL :=
+
+DEB_DH_MAKESHLIBS_ARGS_ALL := -V
+DEB_SHLIBDEPS_INCLUDE = $(foreach p,$(PACKAGES_WITH_LIBS),debian/$(p)/usr/lib)
+
+DEB_AC_AUX_DIR = $(DEB_SRCDIR)/admin
+DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include"
+DEB_COMPRESS_EXCLUDE_ALL += .dcl .docbook -license .tag .sty .el
+
+# 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
+
+ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ cdbs_treat_me_gently_arches := arm m68k alpha ppc64 armel armeb
+ ifeq (,$(filter $(DEB_HOST_ARCH_CPU),$(cdbs_treat_me_gently_arches)))
+ cdbs_kde_enable_final = $(if $(DEB_KDE_ENABLE_FINAL),--enable-final,)
+ else
+ cdbs_kde_enable_final =
+ endif
+endif
+
+ifneq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_final =
+ cdbs_kde_enable_debug = --enable-debug=yes
+else
+ cdbs_kde_enable_debug = --disable-debug
+endif
+
+ifneq (,$(filter debug,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_debug = --enable-debug=full
+endif
+
+DEB_BUILD_PARALLEL ?= true
+
+cdbs_configure_flags += \
+ --with-qt-dir=/usr/share/qt3 \
+ --disable-rpath \
+ --with-xinerama \
+ $(cdbs_kde_enable_final) \
+ $(cdbs_kde_enable_debug)
+
+
+# This is a convenience target for calling manually.
+# It's not part of the build process.
+buildprep: clean apply-patches
+ifndef _cdbs_class_cmake
+ $(MAKE) -f admin/Makefile.common dist
+endif
+ debian/rules clean
+
+.tdepkginfo:
+ echo "# TDE package information" >.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Source: |Name: |p" >>.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Version: |Version: |p" >>.tdepkginfo
+ date +"DateTime: %m/%d/%Y %H:%M" -u -d "$$(dpkg-parsechangelog | sed -n 's|^Date: ||p')" >>.tdepkginfo
+
+post-patches:: .tdepkginfo
+
+common-build-arch:: debian/stamp-man-pages
+debian/stamp-man-pages:
+ if ! test -d debian/man/out; then mkdir -p debian/man/out; fi
+ for f in $$(find debian/man -name '*.sgml'); do \
+ docbook-to-man $$f > debian/man/out/`basename $$f .sgml`.1; \
+ done
+ for f in $$(find debian/man -name '*.man'); do \
+ soelim -I debian/man $$f \
+ > debian/man/out/`basename $$f .man`.`head -n1 $$f | awk '{print $$NF}'`; \
+ done
+ touch debian/stamp-man-pages
+
+common-binary-indep::
+ ( set -e; \
+ tmpf=`mktemp debian/versions.XXXXXX`; \
+ perl debian/cdbs/versions.pl >$$tmpf; \
+ for p in $(DEB_INDEP_PACKAGES); do \
+ cat $$tmpf >>debian/$$p.substvars; \
+ done; \
+ rm -f $$tmpf )
+
+common-binary-arch::
+ ( set -e; \
+ tmpf=`mktemp debian/versions.XXXXXX`; \
+ perl debian/cdbs/versions.pl >$$tmpf; \
+ for p in $(DEB_ARCH_PACKAGES); do \
+ cat $$tmpf >>debian/$$p.substvars; \
+ done; \
+ rm -f $$tmpf )
+ # update multi-arch path in install files
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
+ [ -d $$a ] || [ -f $$a.arch ] || \
+ ! grep -q "\$$(DEB_HOST_MULTIARCH)" $$a || \
+ sed -i.arch "s|\$$(DEB_HOST_MULTIARCH)|$(DEB_HOST_MULTIARCH)|g" $$a; \
+ done
+
+clean::
+ rm -rf debian/man/out
+ -rmdir debian/man
+ rm -f debian/stamp-man-pages
+ rm -rf debian/shlibs-check
+ # revert multi-arch path in install files
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
+ [ ! -f $$a.arch ] || \
+ mv $$a.arch $$a; \
+ done
+
+$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
+ if test -x /usr/bin/dh_icons; then dh_icons -p$(cdbs_curpkg) $(DEB_DH_ICONCACHE_ARGS); fi
+ if test -x /usr/bin/dh_desktop; then dh_desktop -p$(cdbs_curpkg) $(DEB_DH_DESKTOP_ARGS); fi
+ if test -e debian/$(cdbs_curpkg).lintian; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).lintian \
+ debian/$(cdbs_curpkg)/usr/share/lintian/overrides/$(cdbs_curpkg); \
+ fi
+ if test -e debian/$(cdbs_curpkg).presubj; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).presubj \
+ debian/$(cdbs_curpkg)/usr/share/bug/$(cdbs_curpkg)/presubj; \
+ fi
+ if test -d debian/$(cdbs_curpkg)/opt/trinity/lib && \
+ test $$(find debian/$(cdbs_curpkg)/opt/trinity/lib -name "*.so" | wc -l) -gt 0; then \
+ echo "# Triggers added by cdbs/debian-tde.mk" >> debian/.debhelper/generated/$(cdbs_curpkg)/triggers; \
+ echo "activate-noawait ldconfig" >> debian/.debhelper/generated/$(cdbs_curpkg)/triggers; \
+ fi
+
+binary-install/$(DEB_SOURCE_PACKAGE)-doc-html::
+ set -e; \
+ for doc in `cd $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en; find . -name index.docbook`; do \
+ pkg=$${doc%/index.docbook}; pkg=$${pkg#./}; \
+ echo Building $$pkg HTML docs...; \
+ mkdir -p $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ cd $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ /opt/trinity/bin/meinproc $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en/$$pkg/index.docbook; \
+ done
+ for pkg in $(DOC_HTML_PRUNE) ; do \
+ rm -rf debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ done
+
+common-build-indep:: debian/stamp-kde-apidox
+debian/stamp-kde-apidox:
+ $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) apidox)
+ touch $@
+
+common-install-indep:: common-install-kde-apidox
+common-install-kde-apidox::
+ $(if $(DEB_KDE_APIDOX),+DESTDIR=$(DEB_DESTDIR) $(DEB_MAKE_INVOKE) install-apidox)
+
+cleanbuilddir::
+ -$(if $(call cdbs_streq,$(DEB_BUILDDIR),$(DEB_SRCDIR)),,rm -rf $(DEB_BUILDDIR))
+
+clean::
+ifndef _cdbs_class_cmake
+ if test -n "$(DEB_KDE_CVS_MAKE)" && test -d $(DEB_SRCDIR); then \
+ cd $(DEB_SRCDIR); \
+ find . -name Makefile.in -print | \
+ xargs --no-run-if-empty rm -f; \
+ rm -f Makefile.am acinclude.m4 aclocal.m4 config.h.in \
+ configure configure.files configure.in stamp-h.in \
+ subdirs; \
+ fi
+endif
+ rm -f .tdepkginfo
+ rm -f debian/stamp-kde-apidox
+ rm -f debian/stamp-cvs-make
+
+endif
diff --git a/debian/_base/applications/utilities/ksensors/debian/cdbs/versions.pl b/debian/_base/applications/utilities/ksensors/debian/cdbs/versions.pl
new file mode 100644
index 000000000..1b110f7af
--- /dev/null
+++ b/debian/_base/applications/utilities/ksensors/debian/cdbs/versions.pl
@@ -0,0 +1,19 @@
+#!/usr/bin/env perl
+
+use strict;
+use warnings;
+
+my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`;
+my ($version3, $version3_next);
+my ($version2, $version2_next);
+
+($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/;
+($version2 = $version3) =~ s/\.[^.]+$//;
+
+($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e;
+($version2_next = $version2) =~ s/(?<=\.)(\d+)$/($1+1)/e;
+
+print "TDE-Version3=$version3\n";
+print "TDE-Version2=$version2\n";
+print "TDE-Next-Version3=$version3_next\n";
+print "TDE-Next-Version2=$version2_next\n";
diff --git a/debian/_base/applications/utilities/ksensors/debian/changelog b/debian/_base/applications/utilities/ksensors/debian/changelog
new file mode 100644
index 000000000..e9f5198ae
--- /dev/null
+++ b/debian/_base/applications/utilities/ksensors/debian/changelog
@@ -0,0 +1,442 @@
+ksensors-trinity (0.7.3-18) unstable; urgency=low
+
+ * Initial Release for TDE
+
+ -- Slávek Banko <slavek.banko@axis.cz> Fri, 26 Jul 2013 15:48:38 +0200
+
+ksensors (0.7.3-18) unstable; urgency=low
+
+ * Link the ksensors binary with libtqt-mt (closes: bug#555063).
+ * Apply patch from Michael Schuele to fix multi-core sensors (closes:
+ bug#494090).
+ * Bumped standard version to 3.8.3 (no changes).
+
+ -- Aurelien Jarno <aurel32@debian.org> Sat, 14 Nov 2009 13:50:57 +0000
+
+ksensors (0.7.3-17) unstable; urgency=low
+
+ * Switch to debhelper 5.
+ * Bumped standard version to 3.8.2 (no changes).
+ * Don't assume config.guess and config.sub are updated by libtoolize
+ (Closes: bug#533987).
+
+ -- Aurelien Jarno <aurel32@debian.org> Tue, 30 Jun 2009 14:45:13 +0200
+
+ksensors (0.7.3-16) unstable; urgency=medium
+
+ * Bumped standard version to 3.8.0 (no changes).
+ * Get rid of libqt3-compat-headers, patch by Barry de Freese (closes:
+ bug#464657).
+ * Use to libsensors4 API.
+
+ -- Aurelien Jarno <aurel32@debian.org> Mon, 30 Jun 2008 16:12:07 +0200
+
+ksensors (0.7.3-15) unstable; urgency=low
+
+ * Update menu to match the new Debian menu subpolicy.
+
+ -- Aurelien Jarno <aurel32@debian.org> Mon, 30 Jul 2007 19:36:50 +0200
+
+ksensors (0.7.3-14) unstable; urgency=low
+
+ * Remove debconf templates as version 0.6.0 is now very old (not even
+ in sarge).
+ * Fix the installation path of the sound files (closes: bug#406706).
+
+ -- Aurelien Jarno <aurel32@debian.org> Thu, 21 Jun 2007 21:01:59 +0200
+
+ksensors (0.7.3-13) unstable; urgency=medium
+
+ * Fix the parsing of hddtemp output (closes: bug#394057).
+
+ -- Aurelien Jarno <aurel32@debian.org> Thu, 19 Oct 2006 17:46:29 +0200
+
+ksensors (0.7.3-12) unstable; urgency=medium
+
+ * Backports Norvegian translation from CVS.
+ * Add support for sensors without min/max settings (closes: bug#391922).
+
+ -- Aurelien Jarno <aurel32@debian.org> Tue, 10 Oct 2006 22:41:09 +0200
+
+ksensors (0.7.3-11) unstable; urgency=low
+
+ * Fixed a silly test of the autoconf version in the KDE scripts.
+ * Bumped standard version to 3.7.2 (no changes).
+
+ -- Aurelien Jarno <aurel32@debian.org> Fri, 21 Jul 2006 19:20:41 +0200
+
+ksensors (0.7.3-10) unstable; urgency=low
+
+ * Put all QRadioButtons of the alarm tab into a QButtonGroup widget
+ instead of a QLayout widget (closes: bug#353553).
+
+ -- Aurelien Jarno <aurel32@debian.org> Sun, 19 Feb 2006 22:32:06 +0100
+
+ksensors (0.7.3-9) unstable; urgency=low
+
+ * Relibtoolize the package to get rid of a lot of unneeded
+ dependencies,
+
+ -- Aurelien Jarno <aurel32@debian.org> Thu, 24 Nov 2005 20:35:47 +0100
+
+ksensors (0.7.3-8) unstable; urgency=low
+
+ * Added Swedish translation of ksensors. Thanks to Daniel Nylander (closes:
+ bug#337117).
+
+ -- Aurelien Jarno <aurel32@debian.org> Thu, 3 Nov 2005 01:59:54 +0100
+
+ksensors (0.7.3-7) unstable; urgency=low
+
+ * Patches pulled from CVS:
+ - Polish translation.
+ - Support for reading temperature from SCSI disks. Thanks to James
+ Stark (closes: bug#334614).
+
+ -- Aurelien Jarno <aurel32@debian.org> Wed, 19 Oct 2005 22:19:56 +0200
+
+ksensors (0.7.3-6) unstable; urgency=low
+
+ * Added Swedish debconf translation. Thanks to Daniel Nylander (closes:
+ bug#330609).
+
+ -- Aurelien Jarno <aurel32@debian.org> Mon, 3 Oct 2005 00:27:51 +0200
+
+ksensors (0.7.3-5) unstable; urgency=low
+
+ * C++ transition: build-depends on libqt3-mt-dev (>= 3:3.3.4-7) and
+ kdelibs4-dev (>= 4:3.4.2-1).
+ * Bumped Standards-Version to 3.6.2 (no changes).
+
+ -- Aurelien Jarno <aurel32@debian.org> Thu, 18 Aug 2005 11:05:13 +0200
+
+ksensors (0.7.3-4) unstable; urgency=low
+
+ * Added Vietnamese debconf translation. Thanks to Clytie Siddall (closes
+ bug#312175).
+ * Fixed a typo in the debconf template. Thanks to Clytie Siddall (closes:
+ bug#312176).
+
+ -- Aurelien Jarno <aurel32@debian.org> Tue, 7 Jun 2005 01:15:46 +0200
+
+ksensors (0.7.3-3) unstable; urgency=low
+
+ * Added Czech debconf translation. Thanks to Miroslav Kure (closes:
+ bug#293619).
+
+ -- Aurelien Jarno <aurel32@debian.org> Fri, 4 Feb 2005 21:41:06 +0100
+
+ksensors (0.7.3-2) unstable; urgency=low
+
+ * Added Italian debconf translation. Thanks to Luca Monducci. (closes:
+ bug#272147).
+
+ -- Aurelien Jarno <aurel32@debian.org> Sun, 26 Sep 2004 00:57:43 +0200
+
+ksensors (0.7.3-1) unstable; urgency=low
+
+ * New upstream version:
+ - Added support for reading ACPI temperatures (closes: bug#255079).
+
+ -- Aurelien Jarno <aurel32@debian.org> Thu, 19 Aug 2004 00:06:13 +0200
+
+ksensors (0.7.2-17) unstable; urgency=low
+
+ * Fixed display of values in the panel (closes: bug#265807).
+ * Fixed segfault when removing an info panel (closes: bug#225712,
+ #265806).
+ * Added an alarm sound (closes: bug#231280).
+
+ -- Aurelien Jarno <aurel32@debian.org> Tue, 17 Aug 2004 01:45:27 +0200
+
+ksensors (0.7.2-16) unstable; urgency=low
+
+ * Dont build-depends on make, it is a build-essential package.
+ * Applied a patch from Geoff Oakham to fix a freeze when used with hddtemp.
+ Thanks! (closes: bug#249093).
+
+ -- Aurelien Jarno <aurel32@debian.org> Sat, 15 May 2004 21:50:48 +0200
+
+ksensors (0.7.2-15) unstable; urgency=low
+
+ * Build-Depends on libsensors-dev (>= 2.8.4-1) so KSensors will be
+ built against libsensors3.
+
+ -- Aurelien Jarno <aurel32@debian.org> Sun, 29 Feb 2004 18:58:22 +0100
+
+ksensors (0.7.2-14) unstable; urgency=low
+
+ * Moved ja.po in the right directory (closes: bug#227820).
+
+ -- Aurelien Jarno <aurel32@debian.org> Sun, 15 Feb 2004 23:20:17 +0100
+
+ksensors (0.7.2-13) unstable; urgency=low
+
+ * Added Japanese debconf translation. Thanks to Hideki Yamane. (closes:
+ bug#227820).
+
+ -- Aurelien Jarno <aurel32@debian.org> Tue, 10 Feb 2004 23:58:39 +0100
+
+ksensors (0.7.2-12) unstable; urgency=low
+
+ * Added de debconf translation. Thanks to the german Skolelinux team
+ (closes: bug#2223114).
+
+ -- Aurelien Jarno <aurel32@debian.org> Sat, 6 Dec 2003 23:45:54 +0100
+
+ksensors (0.7.2-11) unstable; urgency=low
+
+ * Added dependency on lm-sensors (closes: Bug#215794).
+
+ -- Aurelien Jarno <aurel32@debian.org> Tue, 14 Oct 2003 21:48:13 +0200
+
+ksensors (0.7.2-10) unstable; urgency=low
+
+ * Build-Depends on libsensors-dev (>= 2.8.0-2) so KSensors will be
+ built against libsensors2 (closes: Bug#203953, Bug#212938).
+ * Added ru debconf translation. Thanks to Ilgiz Kalmetev (closes:
+ Bug#214366).
+
+ -- Aurelien Jarno <aurel32@debian.org> Mon, 6 Oct 2003 11:01:36 +0200
+
+ksensors (0.7.2-9) unstable; urgency=low
+
+ * The nl debconf translation is from Bart Cornelis and not Wessel
+ Dankers. Updated the changelog. Sorry Bart.
+
+ -- Aurelien Jarno <aurel32@debian.org> Wed, 20 Aug 2003 12:37:05 +0200
+
+ksensors (0.7.2-8) unstable; urgency=low
+
+ * Added nl debconf translation. Thanks to Bart Cornelis (closes:
+ Bug#204919).
+ * Bumped Standards-Version to 3.6.1.
+
+ -- Aurelien Jarno <aurel32@debian.org> Wed, 20 Aug 2003 11:24:53 +0200
+
+ksensors (0.7.2-7) unstable; urgency=low
+
+ * Added es debconf translation. Thanks to Carlos Alberto Martín Edo
+ (closes: Bug#201571).
+ * Bumped Standards-Version to 3.6.0.
+
+ -- Aurelien Jarno <aurel32@debian.org> Wed, 16 Jul 2003 17:36:03 +0200
+
+ksensors (0.7.2-6) unstable; urgency=low
+
+ * Added pt_BR debconf translations. Thanks to Andre Luis Lopes
+ (closes: Bug#198362).
+
+ -- Aurelien Jarno <aurel32@debian.org> Sun, 22 Jun 2003 02:59:03 +0200
+
+ksensors (0.7.2-5) unstable; urgency=low
+
+ * Rebuilt against latests libsensors-1debian1.
+ * Build-Depends on libsensors-dev (>= 2.7.0-4).
+ * Bumped Standards-Version to 3.5.10.
+ * Changed icon to full colors.
+
+ -- Aurelien Jarno <aurel32@debian.org> Sun, 1 Jun 2003 23:52:09 +0200
+
+ksensors (0.7.2-4) unstable; urgency=low
+
+ * Rebuilt against latest libsensors1 (closes: Bug#191562).
+ * Depends on libsensors1 (>> 2.7.0) as this libraries has some lack
+ of dependencies.
+
+ -- Aurelien Jarno <aurel32@debian.org> Thu, 1 May 2003 21:50:57 +0200
+
+ksensors (0.7.2-3) unstable; urgency=low
+
+ * Bumped Standards-Version to 3.5.9.
+ * Changed section from x11 to kde.
+
+ -- Aurelien Jarno <aurel32@debian.org> Sat, 19 Apr 2003 15:31:26 +0200
+
+ksensors (0.7.2-2) unstable; urgency=low
+
+ * Debconf templates are now managed with po-debconf.
+ * Depends on ${misc:Depends}.
+ * Don't depends on both xlibs (>> 4.1.0) and xlibs (>> 4.2.0).
+
+ -- Aurelien Jarno <aurel32@debian.org> Tue, 4 Mar 2003 23:19:44 +0100
+
+ksensors (0.7.2-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Aurelien Jarno <aurel32@debian.org> Mon, 24 Feb 2003 09:42:58 +0100
+
+ksensors (0.7-11) unstable; urgency=low
+
+ * Build-depends on libqt3-compat-headers.
+ * Fixed a bug introduced by KDE 3 (closes: Bug#180982).
+
+ -- Aurelien Jarno <aurel32@debian.org> Sun, 16 Feb 2003 17:48:52 +0100
+
+ksensors (0.7-10) unstable; urgency=low
+
+ * Rebuilt for KDE 3.1.
+
+ -- Aurelien Jarno <aurel32@debian.org> Wed, 5 Feb 2003 22:51:50 +0100
+
+ksensors (0.7-9) unstable; urgency=low
+
+ * Force build with gcc-2.95 on most archs, gcc-2.96 on ia64 and gcc-3.0 on
+ hppa.
+
+ -- Aurelien Jarno <aurel32@debian.org> Wed, 8 Jan 2003 14:53:22 +0100
+
+ksensors (0.7-8) unstable; urgency=low
+
+ * Updated the code for hddtemp-0.3.
+
+ -- Aurelien Jarno <aurel32@debian.org> Sat, 4 Jan 2003 10:11:30 +0100
+
+ksensors (0.7-7) unstable; urgency=low
+
+ * Standards-Version bumped to 3.5.8.
+ * Changed icon to 24 colors to follow the menu policy.
+ * Updated copyright file.
+
+ -- Aurelien Jarno <aurel32@debian.org> Fri, 20 Dec 2002 19:08:58 +0100
+
+ksensors (0.7-6) unstable; urgency=low
+
+ * Added a patch to handle temperature sensors whose name doesn't begin with
+ "temp" or "temp1" correctly (closes: Bug#165353).
+
+ -- Aurelien Jarno <aurel32@debian.org> Sat, 19 Oct 2002 20:56:32 +0200
+
+ksensors (0.7-5) unstable; urgency=low
+
+ * Added a patch to save the config on KDE exit (closes: Bug#158164).
+
+ -- Aurelien Jarno <aurel32@debian.org> Tue, 8 Oct 2002 01:13:24 +0200
+
+ksensors (0.7-4) unstable; urgency=low
+
+ * Updated the code to correctly handle the degree sign in the output of
+ hddtemp.
+
+ -- Aurelien Jarno <aurel32@debian.org> Thu, 26 Sep 2002 02:24:47 +0200
+
+ksensors (0.7-3) unstable; urgency=low
+
+ * Added an autostart option in configuration dialog (closes: Bug#155532).
+
+ -- Aurelien Jarno <aurel32@debian.org> Sat, 7 Sep 2002 11:59:19 +0200
+
+ksensors (0.7-2) unstable; urgency=low
+
+ * Added a patch to open the panel on same desktop as on exit
+ (closes: Bug#158164).
+ * Updated Policy standard compliance to 3.5.7
+
+ -- Aurelien Jarno <aurel32@debian.org> Wed, 4 Sep 2002 15:04:42 +0200
+
+ksensors (0.7-1) unstable; urgency=low
+
+ * New upstream release
+ Changelog:
+ - Allow docking fan and voltage sensors
+ - Configuration dialog redesign (more modular).
+ - Several panel sizes
+ For more information, please see the full Changelog in
+ /usr/share/doc/ksensors.
+
+ -- Aurelien Jarno <aurel32@debian.org> Thu, 13 Jun 2002 17:49:49 +0200
+
+ksensors (0.6.1-2) unstable; urgency=low
+
+ * Now depends on debconf.
+ * Now recommends hddtemp.
+
+ -- Aurelien Jarno <aurel32@debian.org> Wed, 8 May 2002 22:45:50 +0200
+
+ksensors (0.6.1-1) unstable; urgency=low
+
+ * New upstream release.
+ Changelog:
+ - New Hardisks Temperatures sensor panels
+ - Changed cpu state, swap and ram panels appearance.
+ - Added splash screen.
+ - Added --nodock option.
+ - Configurable Panels colors.
+ - Support for multiple lm-sensors chips.
+ For more information, please see the full Changelog in
+ /usr/share/doc/ksensors.
+
+ -- Aurelien Jarno <aurel32@debian.org> Thu, 2 May 2002 01:09:17 +0200
+
+ksensors (0.5-8) unstable; urgency=low
+
+ * This time with a correct "Maintainer" field.
+
+ -- Aurelien Jarno <aurel32@debian.org> Wed, 10 Apr 2002 23:05:17 +0200
+
+ksensors (0.5-7) unstable; urgency=low
+
+ * Rebuild ksensors under pbuilder so it will depends on libsensors1
+ (closes: Bug#142218).
+
+ -- Aurelien Jarno <aurel32@debian.org> Wed, 10 Apr 2002 21:29:53 +0200
+
+ksensors (0.5-6) unstable; urgency=low
+
+ * Added Build-Depends.
+
+ -- Aurelien Jarno <aurel32@debian.org> Sun, 31 Mar 2002 13:26:10 +0200
+
+ksensors (0.5-5) unstable; urgency=low
+
+ * Changed my maintainer e-mail address to <aurel32@debian.org>. :)
+
+ -- Aurelien Jarno <aurel32@debian.org> Mon, 18 Mar 2002 21:24:46 +0100
+
+ksensors (0.5-4) unstable; urgency=low
+
+ * Created an autostart file (closes: Bug#136562).
+
+ -- Aurelien Jarno <aurelien@aurel32.net> Sun, 3 Mar 2002 19:51:32 +0100
+
+ksensors (0.5-3) unstable; urgency=low
+
+ * Initial Debian upload (closes: Bug#129913).
+
+ -- Aurelien Jarno <aurelien@aurel32.net> Fri, 8 Feb 2002 14:23:09 +0100
+
+ksensors (0.5-2) unstable; urgency=low
+
+ * Add Build-Depends.
+
+ -- Aurelien Jarno <aurelien@aurel32.net> Thu, 24 Jan 2002 15:49:03 +0100
+
+ksensors (0.5-1) unstable; urgency=low
+
+ * New upstream release.
+ Changelog:
+ * Added Voltage Sensors panels
+ * Added Cpu state and Uptime panels
+ * Temperatures in celsius,farenheit or kelvin scales
+ * Configurable update intervals for sensors and system info panels
+ * English, spanish, french, german and dutch translations
+ * Configuration dialog redesign
+
+ -- Aurelien Jarno <aurelien@aurel32.net> Sun, 12 Jan 2002 23:41:57 +0100
+
+sensors (0.4-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Aurelien Jarno <aurelien@aurel32.net> Mon, 07 Jan 2002 09:43:17 +0100
+
+ksensors (0.3-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Aurelien Jarno <aurelien@aurel32.net> Wed, 12 Dec 2001 16:49:52 +0100
+
+Local variables:
+mode: debian-changelog
+End:
diff --git a/debian/_base/applications/utilities/ksensors/debian/compat b/debian/_base/applications/utilities/ksensors/debian/compat
new file mode 100644
index 000000000..f599e28b8
--- /dev/null
+++ b/debian/_base/applications/utilities/ksensors/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/_base/applications/utilities/ksensors/debian/control b/debian/_base/applications/utilities/ksensors/debian/control
new file mode 100644
index 000000000..497a3b570
--- /dev/null
+++ b/debian/_base/applications/utilities/ksensors/debian/control
@@ -0,0 +1,18 @@
+Source: ksensors-trinity
+Section: tde
+Priority: optional
+Maintainer: TDE Debian Team <team-debian@trinitydesktop.org>
+Build-Depends: cdbs, debhelper (>= 10~), quilt, tde-cmake, ninja-build, libsensors-dev | libsensors4-dev, tdelibs14-trinity-dev, imagemagick
+Build-Conflicts: autoconf2.13
+Standards-Version: 3.8.3
+
+Package: ksensors-trinity
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, lm-sensors
+Recommends: hddtemp (>= 0.3beta2-1)
+Description: lm-sensors frontend for TDE
+ This is a lm-sensors frontend for TDE for monitoring a motherboard.
+ It allows you to access information from temperature and fan speed
+ sensors.
+ .
+ You will need lm-sensors kernel modules to use this package.
diff --git a/debian/_base/applications/utilities/ksensors/debian/copyright b/debian/_base/applications/utilities/ksensors/debian/copyright
new file mode 100644
index 000000000..354853a55
--- /dev/null
+++ b/debian/_base/applications/utilities/ksensors/debian/copyright
@@ -0,0 +1,16 @@
+This package was debianized by Aurelien Jarno <aurelien@aurel32.net> on
+Wed, 12 Dec 2001 16:49:52 +0100
+
+It was downloaded from http://ksensors.sourceforge.net
+
+Upstream Authors:
+ Miguel Novas <michaell@teleline.es>
+
+Copyright:
+ (C) 2001-2002 by Miguel Novas <michaell@teleline.es>
+
+
+
+You are free to distribute this software under the terms of the GNU General
+Public License. On Debian systems, the complete text of the GNU General Public
+License can be found in /usr/share/common-licenses/GPL file.
diff --git a/debian/_base/applications/utilities/ksensors/debian/dirs b/debian/_base/applications/utilities/ksensors/debian/dirs
new file mode 100644
index 000000000..cae0d6764
--- /dev/null
+++ b/debian/_base/applications/utilities/ksensors/debian/dirs
@@ -0,0 +1,2 @@
+opt/trinity/share/pixmaps
+opt/trinity/share/sounds
diff --git a/debian/_base/applications/utilities/ksensors/debian/docs b/debian/_base/applications/utilities/ksensors/debian/docs
new file mode 100644
index 000000000..76c3076c9
--- /dev/null
+++ b/debian/_base/applications/utilities/ksensors/debian/docs
@@ -0,0 +1,3 @@
+AUTHORS
+README.md
+TODO
diff --git a/debian/_base/applications/utilities/ksensors/debian/ksensors-trinity.menu b/debian/_base/applications/utilities/ksensors/debian/ksensors-trinity.menu
new file mode 100644
index 000000000..b4a2919d6
--- /dev/null
+++ b/debian/_base/applications/utilities/ksensors/debian/ksensors-trinity.menu
@@ -0,0 +1,7 @@
+?package(ksensors-trinity): \
+ needs="X11" \
+ section="Applications/System/Hardware" \
+ hints="TDE" \
+ title="KSensors" \
+ command="/opt/trinity/bin/ksensors" \
+ icon="/opt/trinity/share/pixmaps/ksensors.xpm"
diff --git a/debian/_base/applications/utilities/ksensors/debian/patches/series b/debian/_base/applications/utilities/ksensors/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/_base/applications/utilities/ksensors/debian/patches/series
diff --git a/debian/_base/applications/utilities/ksensors/debian/rules b/debian/_base/applications/utilities/ksensors/debian/rules
new file mode 100755
index 000000000..4437933c3
--- /dev/null
+++ b/debian/_base/applications/utilities/ksensors/debian/rules
@@ -0,0 +1,21 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/cmake.mk
+include debian/cdbs/debian-tde.mk
+
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc/trinity" \
+ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DBUILD_ALL="ON" \
+ -DWITH_ALL_OPTIONS="ON"
+
+binary-install/ksensors-trinity::
+ # Installing icons
+ /usr/bin/convert $(CURDIR)/src/pics/hi16-app-ksensors.png $(CURDIR)/debian/ksensors-trinity/opt/trinity/share/pixmaps/ksensors.xpm
diff --git a/debian/_base/applications/utilities/ksensors/debian/source/format b/debian/_base/applications/utilities/ksensors/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/debian/_base/applications/utilities/ksensors/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/_base/applications/utilities/ksensors/debian/source/options b/debian/_base/applications/utilities/ksensors/debian/source/options
new file mode 100644
index 000000000..72f1f5450
--- /dev/null
+++ b/debian/_base/applications/utilities/ksensors/debian/source/options
@@ -0,0 +1,6 @@
+# Use xz instead of gzip
+compression = "xz"
+compression-level = 9
+
+# Don't run differences
+diff-ignore = .*
diff --git a/debian/_base/applications/utilities/mathemagics/debian/cdbs/debian-tde.mk b/debian/_base/applications/utilities/mathemagics/debian/cdbs/debian-tde.mk
new file mode 100644
index 000000000..aba508624
--- /dev/null
+++ b/debian/_base/applications/utilities/mathemagics/debian/cdbs/debian-tde.mk
@@ -0,0 +1,251 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2003 Christopher L Cheney <ccheney@debian.org>
+# Copyright © 2019 TDE Team
+# Description: A class for TDE packages; sets TDE environment variables, etc
+#
+# This program 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, or (at
+# your option) any later version.
+#
+# This program 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, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+ifndef _cdbs_bootstrap
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+endif
+
+ifndef _cdbs_class_debian-qt-kde
+_cdbs_class_debian-qt-kde := 1
+
+# for dh_icons
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), debhelper (>= 5.0.7ubuntu4)
+
+# Note: This _must_ be included before autotools.mk, or it won't work.
+common-configure-arch common-configure-indep:: debian/stamp-cvs-make
+debian/stamp-cvs-make:
+ifndef _cdbs_class_cmake
+ cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
+ $(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
+endif
+ touch debian/stamp-cvs-make
+
+include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
+
+ifdef _cdbs_tarball_dir
+DEB_BUILDDIR = $(_cdbs_tarball_dir)/obj-$(DEB_BUILD_GNU_TYPE)
+else
+DEB_BUILDDIR = obj-$(DEB_BUILD_GNU_TYPE)
+endif
+
+ifndef _cdbs_class_cmake
+include $(_cdbs_class_path)/autotools.mk$(_cdbs_makefile_suffix)
+endif
+
+ifdef _cdbs_class_cmake
+ifneq "$(wildcard /usr/bin/ninja)" ""
+MAKE = ninja -v
+DEB_MAKE_ENVVARS += DESTDIR=$(DEB_DESTDIR)
+DEB_MAKE_INSTALL_TARGET = install
+DEB_CMAKE_NORMAL_ARGS += -GNinja
+endif
+endif
+
+ifndef _cdbs_rules_patchsys_quilt
+DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
+
+export kde_cgidir = \$${libdir}/cgi-bin
+export kde_confdir = \$${sysconfdir}/trinity
+export kde_htmldir = \$${datadir}/doc/tde/HTML
+
+DEB_KDE_ENABLE_FINAL := yes
+DEB_INSTALL_DOCS_ALL :=
+
+DEB_DH_MAKESHLIBS_ARGS_ALL := -V
+DEB_SHLIBDEPS_INCLUDE = $(foreach p,$(PACKAGES_WITH_LIBS),debian/$(p)/usr/lib)
+
+DEB_AC_AUX_DIR = $(DEB_SRCDIR)/admin
+DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include"
+DEB_COMPRESS_EXCLUDE_ALL += .dcl .docbook -license .tag .sty .el
+
+# 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
+
+ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ cdbs_treat_me_gently_arches := arm m68k alpha ppc64 armel armeb
+ ifeq (,$(filter $(DEB_HOST_ARCH_CPU),$(cdbs_treat_me_gently_arches)))
+ cdbs_kde_enable_final = $(if $(DEB_KDE_ENABLE_FINAL),--enable-final,)
+ else
+ cdbs_kde_enable_final =
+ endif
+endif
+
+ifneq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_final =
+ cdbs_kde_enable_debug = --enable-debug=yes
+else
+ cdbs_kde_enable_debug = --disable-debug
+endif
+
+ifneq (,$(filter debug,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_debug = --enable-debug=full
+endif
+
+DEB_BUILD_PARALLEL ?= true
+
+cdbs_configure_flags += \
+ --with-qt-dir=/usr/share/qt3 \
+ --disable-rpath \
+ --with-xinerama \
+ $(cdbs_kde_enable_final) \
+ $(cdbs_kde_enable_debug)
+
+
+# This is a convenience target for calling manually.
+# It's not part of the build process.
+buildprep: clean apply-patches
+ifndef _cdbs_class_cmake
+ $(MAKE) -f admin/Makefile.common dist
+endif
+ debian/rules clean
+
+.tdepkginfo:
+ echo "# TDE package information" >.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Source: |Name: |p" >>.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Version: |Version: |p" >>.tdepkginfo
+ date +"DateTime: %m/%d/%Y %H:%M" -u -d "$$(dpkg-parsechangelog | sed -n 's|^Date: ||p')" >>.tdepkginfo
+
+post-patches:: .tdepkginfo
+
+common-build-arch:: debian/stamp-man-pages
+debian/stamp-man-pages:
+ if ! test -d debian/man/out; then mkdir -p debian/man/out; fi
+ for f in $$(find debian/man -name '*.sgml'); do \
+ docbook-to-man $$f > debian/man/out/`basename $$f .sgml`.1; \
+ done
+ for f in $$(find debian/man -name '*.man'); do \
+ soelim -I debian/man $$f \
+ > debian/man/out/`basename $$f .man`.`head -n1 $$f | awk '{print $$NF}'`; \
+ done
+ touch debian/stamp-man-pages
+
+common-binary-indep::
+ ( set -e; \
+ tmpf=`mktemp debian/versions.XXXXXX`; \
+ perl debian/cdbs/versions.pl >$$tmpf; \
+ for p in $(DEB_INDEP_PACKAGES); do \
+ cat $$tmpf >>debian/$$p.substvars; \
+ done; \
+ rm -f $$tmpf )
+
+common-binary-arch::
+ ( set -e; \
+ tmpf=`mktemp debian/versions.XXXXXX`; \
+ perl debian/cdbs/versions.pl >$$tmpf; \
+ for p in $(DEB_ARCH_PACKAGES); do \
+ cat $$tmpf >>debian/$$p.substvars; \
+ done; \
+ rm -f $$tmpf )
+ # update multi-arch path in install files
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
+ [ -d $$a ] || [ -f $$a.arch ] || \
+ ! grep -q "\$$(DEB_HOST_MULTIARCH)" $$a || \
+ sed -i.arch "s|\$$(DEB_HOST_MULTIARCH)|$(DEB_HOST_MULTIARCH)|g" $$a; \
+ done
+
+clean::
+ rm -rf debian/man/out
+ -rmdir debian/man
+ rm -f debian/stamp-man-pages
+ rm -rf debian/shlibs-check
+ # revert multi-arch path in install files
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
+ [ ! -f $$a.arch ] || \
+ mv $$a.arch $$a; \
+ done
+
+$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
+ if test -x /usr/bin/dh_icons; then dh_icons -p$(cdbs_curpkg) $(DEB_DH_ICONCACHE_ARGS); fi
+ if test -x /usr/bin/dh_desktop; then dh_desktop -p$(cdbs_curpkg) $(DEB_DH_DESKTOP_ARGS); fi
+ if test -e debian/$(cdbs_curpkg).lintian; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).lintian \
+ debian/$(cdbs_curpkg)/usr/share/lintian/overrides/$(cdbs_curpkg); \
+ fi
+ if test -e debian/$(cdbs_curpkg).presubj; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).presubj \
+ debian/$(cdbs_curpkg)/usr/share/bug/$(cdbs_curpkg)/presubj; \
+ fi
+ if test -d debian/$(cdbs_curpkg)/opt/trinity/lib && \
+ test $$(find debian/$(cdbs_curpkg)/opt/trinity/lib -name "*.so" | wc -l) -gt 0; then \
+ echo "# Triggers added by cdbs/debian-tde.mk" >> debian/.debhelper/generated/$(cdbs_curpkg)/triggers; \
+ echo "activate-noawait ldconfig" >> debian/.debhelper/generated/$(cdbs_curpkg)/triggers; \
+ fi
+
+binary-install/$(DEB_SOURCE_PACKAGE)-doc-html::
+ set -e; \
+ for doc in `cd $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en; find . -name index.docbook`; do \
+ pkg=$${doc%/index.docbook}; pkg=$${pkg#./}; \
+ echo Building $$pkg HTML docs...; \
+ mkdir -p $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ cd $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ /opt/trinity/bin/meinproc $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en/$$pkg/index.docbook; \
+ done
+ for pkg in $(DOC_HTML_PRUNE) ; do \
+ rm -rf debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ done
+
+common-build-indep:: debian/stamp-kde-apidox
+debian/stamp-kde-apidox:
+ $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) apidox)
+ touch $@
+
+common-install-indep:: common-install-kde-apidox
+common-install-kde-apidox::
+ $(if $(DEB_KDE_APIDOX),+DESTDIR=$(DEB_DESTDIR) $(DEB_MAKE_INVOKE) install-apidox)
+
+cleanbuilddir::
+ -$(if $(call cdbs_streq,$(DEB_BUILDDIR),$(DEB_SRCDIR)),,rm -rf $(DEB_BUILDDIR))
+
+clean::
+ifndef _cdbs_class_cmake
+ if test -n "$(DEB_KDE_CVS_MAKE)" && test -d $(DEB_SRCDIR); then \
+ cd $(DEB_SRCDIR); \
+ find . -name Makefile.in -print | \
+ xargs --no-run-if-empty rm -f; \
+ rm -f Makefile.am acinclude.m4 aclocal.m4 config.h.in \
+ configure configure.files configure.in stamp-h.in \
+ subdirs; \
+ fi
+endif
+ rm -f .tdepkginfo
+ rm -f debian/stamp-kde-apidox
+ rm -f debian/stamp-cvs-make
+
+endif
diff --git a/debian/_base/applications/utilities/mathemagics/debian/cdbs/versions.pl b/debian/_base/applications/utilities/mathemagics/debian/cdbs/versions.pl
new file mode 100644
index 000000000..1b110f7af
--- /dev/null
+++ b/debian/_base/applications/utilities/mathemagics/debian/cdbs/versions.pl
@@ -0,0 +1,19 @@
+#!/usr/bin/env perl
+
+use strict;
+use warnings;
+
+my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`;
+my ($version3, $version3_next);
+my ($version2, $version2_next);
+
+($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/;
+($version2 = $version3) =~ s/\.[^.]+$//;
+
+($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e;
+($version2_next = $version2) =~ s/(?<=\.)(\d+)$/($1+1)/e;
+
+print "TDE-Version3=$version3\n";
+print "TDE-Version2=$version2\n";
+print "TDE-Next-Version3=$version3_next\n";
+print "TDE-Next-Version2=$version2_next\n";
diff --git a/debian/_base/applications/utilities/mathemagics/debian/changelog b/debian/_base/applications/utilities/mathemagics/debian/changelog
new file mode 100644
index 000000000..590a849e0
--- /dev/null
+++ b/debian/_base/applications/utilities/mathemagics/debian/changelog
@@ -0,0 +1,5 @@
+mathemagics-trinity (1.1-0) buster; urgency=low
+
+ * Initial Release for TDE.
+
+ -- Slávek Banko <slavek.banko@axis.cz> Sun, 10 Aug 2020 23:32:23 +0200
diff --git a/debian/_base/applications/utilities/mathemagics/debian/compat b/debian/_base/applications/utilities/mathemagics/debian/compat
new file mode 100644
index 000000000..f599e28b8
--- /dev/null
+++ b/debian/_base/applications/utilities/mathemagics/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/_base/applications/utilities/mathemagics/debian/control b/debian/_base/applications/utilities/mathemagics/debian/control
new file mode 100644
index 000000000..3128539a1
--- /dev/null
+++ b/debian/_base/applications/utilities/mathemagics/debian/control
@@ -0,0 +1,14 @@
+Source: mathemagics-trinity
+Section: tde
+Priority: optional
+Maintainer: TDE Debian Team <team-debian@trinitydesktop.org>
+Build-Depends: cdbs, debhelper (>= 10~), quilt, tde-cmake, ninja-build, tdelibs14-trinity-dev
+Standards-Version: 3.8.4
+
+Package: mathemagics-trinity
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: A RPN scientific calculator for TDE
+ Mathemagics makes use of the Reverse Polish Notation or RPN.
+ Mathemagics can store and use user-defined functions and variables,
+ It comes with large number of built-in functions as well.
diff --git a/debian/_base/applications/utilities/mathemagics/debian/copyright b/debian/_base/applications/utilities/mathemagics/debian/copyright
new file mode 100644
index 000000000..b04d202a4
--- /dev/null
+++ b/debian/_base/applications/utilities/mathemagics/debian/copyright
@@ -0,0 +1,12 @@
+This package was debianized by Slávek Banko <slavek.banko@axis.cz> on
+Sun, 10 Aug 2020 23:32:23 +0200.
+
+Upstream Author: Jason Katz-Brown <jason@katzbrown.com>
+
+mathemagics 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.
+
+On Debian systems, the full text of GNU's GPL can be found in
+/usr/share/common-licenses/GPL-2
diff --git a/debian/_base/applications/utilities/mathemagics/debian/docs b/debian/_base/applications/utilities/mathemagics/debian/docs
new file mode 100644
index 000000000..0b6e0f321
--- /dev/null
+++ b/debian/_base/applications/utilities/mathemagics/debian/docs
@@ -0,0 +1,2 @@
+AUTHORS
+README.md
diff --git a/debian/_base/applications/utilities/mathemagics/debian/patches/series b/debian/_base/applications/utilities/mathemagics/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/_base/applications/utilities/mathemagics/debian/patches/series
diff --git a/debian/_base/applications/utilities/mathemagics/debian/rules b/debian/_base/applications/utilities/mathemagics/debian/rules
new file mode 100755
index 000000000..a6797f19a
--- /dev/null
+++ b/debian/_base/applications/utilities/mathemagics/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/cmake.mk
+include debian/cdbs/debian-tde.mk
+
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc/trinity" \
+ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DBUILD_ALL="ON" \
+ -DWITH_ALL_OPTIONS="ON"
diff --git a/debian/_base/applications/utilities/mathemagics/debian/source/format b/debian/_base/applications/utilities/mathemagics/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/debian/_base/applications/utilities/mathemagics/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/_base/applications/utilities/mathemagics/debian/source/options b/debian/_base/applications/utilities/mathemagics/debian/source/options
new file mode 100644
index 000000000..72f1f5450
--- /dev/null
+++ b/debian/_base/applications/utilities/mathemagics/debian/source/options
@@ -0,0 +1,6 @@
+# Use xz instead of gzip
+compression = "xz"
+compression-level = 9
+
+# Don't run differences
+diff-ignore = .*
diff --git a/debian/_base/applications/utilities/qalculate-tde/debian/cdbs/debian-tde.mk b/debian/_base/applications/utilities/qalculate-tde/debian/cdbs/debian-tde.mk
new file mode 100644
index 000000000..aba508624
--- /dev/null
+++ b/debian/_base/applications/utilities/qalculate-tde/debian/cdbs/debian-tde.mk
@@ -0,0 +1,251 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2003 Christopher L Cheney <ccheney@debian.org>
+# Copyright © 2019 TDE Team
+# Description: A class for TDE packages; sets TDE environment variables, etc
+#
+# This program 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, or (at
+# your option) any later version.
+#
+# This program 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, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+ifndef _cdbs_bootstrap
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+endif
+
+ifndef _cdbs_class_debian-qt-kde
+_cdbs_class_debian-qt-kde := 1
+
+# for dh_icons
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), debhelper (>= 5.0.7ubuntu4)
+
+# Note: This _must_ be included before autotools.mk, or it won't work.
+common-configure-arch common-configure-indep:: debian/stamp-cvs-make
+debian/stamp-cvs-make:
+ifndef _cdbs_class_cmake
+ cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
+ $(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
+endif
+ touch debian/stamp-cvs-make
+
+include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
+
+ifdef _cdbs_tarball_dir
+DEB_BUILDDIR = $(_cdbs_tarball_dir)/obj-$(DEB_BUILD_GNU_TYPE)
+else
+DEB_BUILDDIR = obj-$(DEB_BUILD_GNU_TYPE)
+endif
+
+ifndef _cdbs_class_cmake
+include $(_cdbs_class_path)/autotools.mk$(_cdbs_makefile_suffix)
+endif
+
+ifdef _cdbs_class_cmake
+ifneq "$(wildcard /usr/bin/ninja)" ""
+MAKE = ninja -v
+DEB_MAKE_ENVVARS += DESTDIR=$(DEB_DESTDIR)
+DEB_MAKE_INSTALL_TARGET = install
+DEB_CMAKE_NORMAL_ARGS += -GNinja
+endif
+endif
+
+ifndef _cdbs_rules_patchsys_quilt
+DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
+
+export kde_cgidir = \$${libdir}/cgi-bin
+export kde_confdir = \$${sysconfdir}/trinity
+export kde_htmldir = \$${datadir}/doc/tde/HTML
+
+DEB_KDE_ENABLE_FINAL := yes
+DEB_INSTALL_DOCS_ALL :=
+
+DEB_DH_MAKESHLIBS_ARGS_ALL := -V
+DEB_SHLIBDEPS_INCLUDE = $(foreach p,$(PACKAGES_WITH_LIBS),debian/$(p)/usr/lib)
+
+DEB_AC_AUX_DIR = $(DEB_SRCDIR)/admin
+DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include"
+DEB_COMPRESS_EXCLUDE_ALL += .dcl .docbook -license .tag .sty .el
+
+# 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
+
+ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ cdbs_treat_me_gently_arches := arm m68k alpha ppc64 armel armeb
+ ifeq (,$(filter $(DEB_HOST_ARCH_CPU),$(cdbs_treat_me_gently_arches)))
+ cdbs_kde_enable_final = $(if $(DEB_KDE_ENABLE_FINAL),--enable-final,)
+ else
+ cdbs_kde_enable_final =
+ endif
+endif
+
+ifneq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_final =
+ cdbs_kde_enable_debug = --enable-debug=yes
+else
+ cdbs_kde_enable_debug = --disable-debug
+endif
+
+ifneq (,$(filter debug,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_debug = --enable-debug=full
+endif
+
+DEB_BUILD_PARALLEL ?= true
+
+cdbs_configure_flags += \
+ --with-qt-dir=/usr/share/qt3 \
+ --disable-rpath \
+ --with-xinerama \
+ $(cdbs_kde_enable_final) \
+ $(cdbs_kde_enable_debug)
+
+
+# This is a convenience target for calling manually.
+# It's not part of the build process.
+buildprep: clean apply-patches
+ifndef _cdbs_class_cmake
+ $(MAKE) -f admin/Makefile.common dist
+endif
+ debian/rules clean
+
+.tdepkginfo:
+ echo "# TDE package information" >.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Source: |Name: |p" >>.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Version: |Version: |p" >>.tdepkginfo
+ date +"DateTime: %m/%d/%Y %H:%M" -u -d "$$(dpkg-parsechangelog | sed -n 's|^Date: ||p')" >>.tdepkginfo
+
+post-patches:: .tdepkginfo
+
+common-build-arch:: debian/stamp-man-pages
+debian/stamp-man-pages:
+ if ! test -d debian/man/out; then mkdir -p debian/man/out; fi
+ for f in $$(find debian/man -name '*.sgml'); do \
+ docbook-to-man $$f > debian/man/out/`basename $$f .sgml`.1; \
+ done
+ for f in $$(find debian/man -name '*.man'); do \
+ soelim -I debian/man $$f \
+ > debian/man/out/`basename $$f .man`.`head -n1 $$f | awk '{print $$NF}'`; \
+ done
+ touch debian/stamp-man-pages
+
+common-binary-indep::
+ ( set -e; \
+ tmpf=`mktemp debian/versions.XXXXXX`; \
+ perl debian/cdbs/versions.pl >$$tmpf; \
+ for p in $(DEB_INDEP_PACKAGES); do \
+ cat $$tmpf >>debian/$$p.substvars; \
+ done; \
+ rm -f $$tmpf )
+
+common-binary-arch::
+ ( set -e; \
+ tmpf=`mktemp debian/versions.XXXXXX`; \
+ perl debian/cdbs/versions.pl >$$tmpf; \
+ for p in $(DEB_ARCH_PACKAGES); do \
+ cat $$tmpf >>debian/$$p.substvars; \
+ done; \
+ rm -f $$tmpf )
+ # update multi-arch path in install files
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
+ [ -d $$a ] || [ -f $$a.arch ] || \
+ ! grep -q "\$$(DEB_HOST_MULTIARCH)" $$a || \
+ sed -i.arch "s|\$$(DEB_HOST_MULTIARCH)|$(DEB_HOST_MULTIARCH)|g" $$a; \
+ done
+
+clean::
+ rm -rf debian/man/out
+ -rmdir debian/man
+ rm -f debian/stamp-man-pages
+ rm -rf debian/shlibs-check
+ # revert multi-arch path in install files
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
+ [ ! -f $$a.arch ] || \
+ mv $$a.arch $$a; \
+ done
+
+$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
+ if test -x /usr/bin/dh_icons; then dh_icons -p$(cdbs_curpkg) $(DEB_DH_ICONCACHE_ARGS); fi
+ if test -x /usr/bin/dh_desktop; then dh_desktop -p$(cdbs_curpkg) $(DEB_DH_DESKTOP_ARGS); fi
+ if test -e debian/$(cdbs_curpkg).lintian; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).lintian \
+ debian/$(cdbs_curpkg)/usr/share/lintian/overrides/$(cdbs_curpkg); \
+ fi
+ if test -e debian/$(cdbs_curpkg).presubj; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).presubj \
+ debian/$(cdbs_curpkg)/usr/share/bug/$(cdbs_curpkg)/presubj; \
+ fi
+ if test -d debian/$(cdbs_curpkg)/opt/trinity/lib && \
+ test $$(find debian/$(cdbs_curpkg)/opt/trinity/lib -name "*.so" | wc -l) -gt 0; then \
+ echo "# Triggers added by cdbs/debian-tde.mk" >> debian/.debhelper/generated/$(cdbs_curpkg)/triggers; \
+ echo "activate-noawait ldconfig" >> debian/.debhelper/generated/$(cdbs_curpkg)/triggers; \
+ fi
+
+binary-install/$(DEB_SOURCE_PACKAGE)-doc-html::
+ set -e; \
+ for doc in `cd $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en; find . -name index.docbook`; do \
+ pkg=$${doc%/index.docbook}; pkg=$${pkg#./}; \
+ echo Building $$pkg HTML docs...; \
+ mkdir -p $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ cd $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ /opt/trinity/bin/meinproc $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en/$$pkg/index.docbook; \
+ done
+ for pkg in $(DOC_HTML_PRUNE) ; do \
+ rm -rf debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ done
+
+common-build-indep:: debian/stamp-kde-apidox
+debian/stamp-kde-apidox:
+ $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) apidox)
+ touch $@
+
+common-install-indep:: common-install-kde-apidox
+common-install-kde-apidox::
+ $(if $(DEB_KDE_APIDOX),+DESTDIR=$(DEB_DESTDIR) $(DEB_MAKE_INVOKE) install-apidox)
+
+cleanbuilddir::
+ -$(if $(call cdbs_streq,$(DEB_BUILDDIR),$(DEB_SRCDIR)),,rm -rf $(DEB_BUILDDIR))
+
+clean::
+ifndef _cdbs_class_cmake
+ if test -n "$(DEB_KDE_CVS_MAKE)" && test -d $(DEB_SRCDIR); then \
+ cd $(DEB_SRCDIR); \
+ find . -name Makefile.in -print | \
+ xargs --no-run-if-empty rm -f; \
+ rm -f Makefile.am acinclude.m4 aclocal.m4 config.h.in \
+ configure configure.files configure.in stamp-h.in \
+ subdirs; \
+ fi
+endif
+ rm -f .tdepkginfo
+ rm -f debian/stamp-kde-apidox
+ rm -f debian/stamp-cvs-make
+
+endif
diff --git a/debian/_base/applications/utilities/qalculate-tde/debian/cdbs/versions.pl b/debian/_base/applications/utilities/qalculate-tde/debian/cdbs/versions.pl
new file mode 100644
index 000000000..1b110f7af
--- /dev/null
+++ b/debian/_base/applications/utilities/qalculate-tde/debian/cdbs/versions.pl
@@ -0,0 +1,19 @@
+#!/usr/bin/env perl
+
+use strict;
+use warnings;
+
+my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`;
+my ($version3, $version3_next);
+my ($version2, $version2_next);
+
+($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/;
+($version2 = $version3) =~ s/\.[^.]+$//;
+
+($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e;
+($version2_next = $version2) =~ s/(?<=\.)(\d+)$/($1+1)/e;
+
+print "TDE-Version3=$version3\n";
+print "TDE-Version2=$version2\n";
+print "TDE-Next-Version3=$version3_next\n";
+print "TDE-Next-Version2=$version2_next\n";
diff --git a/debian/_base/applications/utilities/qalculate-tde/debian/changelog b/debian/_base/applications/utilities/qalculate-tde/debian/changelog
new file mode 100644
index 000000000..d322cc29b
--- /dev/null
+++ b/debian/_base/applications/utilities/qalculate-tde/debian/changelog
@@ -0,0 +1,276 @@
+qalculate-trinity (0.9.7-1debian7.0.0+0) wheezy; urgency=low
+
+ * Initial Release for TDE
+
+ -- Slávek Banko <slavek.banko@axis.cz> Sat, 09 Apr 2016 16:30:50 +0200
+
+qalculate-kde (0.9.7-1) unstable; urgency=low
+
+ * New upstream version
+ * debian/control:
+ - Update Standards-Version to 3.8.4
+ - Add Build-Depends on autotools-dev to update config.guess and config.sub
+ - Update libqalculate-dev Build-Depends to 0.9.7
+ * debian/copyright: Use GPL-2 instead of GPL
+ * debian/rules: Use chrpath to remove the RPATH in /usr/bin/qalculate-kde
+ * Switch to 3.0 (quilt) source format:
+ - debian/README.source: Removed
+ - Remove patching/unpatching code in debian/rules
+ - Switch from simple-patchsys to quilt
+
+ -- Vincent Legout <vincent@legout.info> Tue, 02 Feb 2010 22:59:47 +0800
+
+qalculate-kde (0.9.6-3) unstable; urgency=low
+
+ * New maintainer (Closes: #509913)
+ * Bump debhelper compat to 5.
+ * debian/control:
+ - Update Standards-Version to 3.8.0.
+ - Remove Vcs-Git and Vcs-Browser fields.
+ - Fix debhelper-but-no-misc-depends lintian warning by adding
+ ${misc:Depends} to the Depends field of the binary package.
+ * 01_qalculate_kde_desktop.patch: remove Encoding key in desktop file.
+ * Add README.source.
+ * Add manpage.
+ * Fix watch file.
+
+ -- Vincent Legout <vincent@legout.info> Mon, 29 Dec 2008 15:41:15 +0100
+
+qalculate-kde (0.9.6-2) unstable; urgency=low
+
+ * rebuild against newer cln version
+ * update Standards-Version
+
+ -- Martin Waitz <tali@debian.org> Thu, 24 Jan 2008 22:52:05 +0100
+
+qalculate-kde (0.9.6-1) unstable; urgency=low
+
+ * New upstream release.
+ * debian/control: add new Homepage: and Vcs-*: fields
+ * debian/qalculate-kde.menu: update section names
+
+ -- Martin Waitz <tali@debian.org> Sun, 25 Nov 2007 19:39:46 +0100
+
+qalculate-kde (0.9.4-2) unstable; urgency=low
+
+ * debian/control: build depend on libqalculate-0.9.4
+
+ -- Martin Waitz <tali@debian.org> Fri, 30 Jun 2006 02:21:54 +0200
+
+qalculate-kde (0.9.4-1) unstable; urgency=low
+
+ * New upstream release
+ * New Standards-Version
+
+ -- Martin Waitz <tali@debian.org> Thu, 29 Jun 2006 22:58:51 +0200
+
+qalculate-kde (0.9.3.1-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Martin Waitz <tali@debian.org> Wed, 29 Mar 2006 23:34:19 +0200
+
+qalculate-kde (0.9.2-1) unstable; urgency=low
+
+ * New upstream release
+ * debian/watch: fix tarball name
+
+ -- Martin Waitz <tali@debian.org> Wed, 11 Jan 2006 00:11:29 +0100
+
+qalculate-kde (0.9.0-2) unstable; urgency=low
+
+ * Use CDBS kde.mk to fix documentation location (Closes: #344683)
+
+ -- Martin Waitz <tali@debian.org> Sun, 25 Dec 2005 19:42:37 +0100
+
+qalculate-kde (0.9.0-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Martin Waitz <tali@debian.org> Tue, 29 Nov 2005 22:02:15 +0100
+
+qalculate-kde (0.8.2-2) unstable; urgency=low
+
+ * debian/control: use versioned build dependency on libqalculate-dev
+ (Closes: #334675)
+
+ -- Martin Waitz <tali@debian.org> Thu, 20 Oct 2005 18:54:25 +0200
+
+qalculate-kde (0.8.2-1) unstable; urgency=low
+
+ * New upstream release
+ * debian/control: drop wget dependency
+
+ -- Martin Waitz <tali@debian.org> Tue, 18 Oct 2005 01:01:01 +0200
+
+qalculate-kde (0.8.1.1-1) unstable; urgency=low
+
+ * New upstream version
+ * Split source packages according to new upstream packaging
+ * Add new qalculate-kde package
+
+ -- Martin Waitz <tali@debian.org> Tue, 19 Jul 2005 14:23:03 +0200
+
+qalculate (0.7.2-3) unstable; urgency=low
+
+ * Recompile using atk 1.8 (Closes: #300662)
+
+ -- Martin Waitz <tali@debian.org> Fri, 25 Mar 2005 20:07:35 +0100
+
+qalculate (0.7.2-2) unstable; urgency=low
+
+ * debian/control: qalc Replaces: qalculate (Closes: #300240)
+
+ -- Martin Waitz <tali@debian.org> Sun, 20 Mar 2005 19:01:50 +0100
+
+qalculate (0.7.2-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Martin Waitz <tali@debian.org> Thu, 3 Feb 2005 21:40:50 +0100
+
+qalculate (0.7.1-2) unstable; urgency=low
+
+ * Split command line version into a new package. (Closes: #287331)
+
+ -- Martin Waitz <tali@debian.org> Wed, 29 Dec 2004 18:10:41 +0100
+
+qalculate (0.7.1-1) unstable; urgency=low
+
+ * New upstream release
+ - can convert number base without loosing precision (Closes: #278973)
+ - only uses available Unicode characters (Closes: #281096)
+
+ -- Martin Waitz <tali@debian.org> Mon, 22 Nov 2004 21:25:04 +0100
+
+qalculate (0.7.0-2) unstable; urgency=low
+
+ * Link with libreadline4
+
+ -- Martin Waitz <tali@debian.org> Sun, 7 Nov 2004 21:10:26 +0100
+
+qalculate (0.7.0-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Martin Waitz <tali@debian.org> Thu, 21 Oct 2004 22:56:06 +0200
+
+qalculate-gtk (0.6.3-1) unstable; urgency=low
+
+ * New upstream release
+ * debian/control: use policy version 3.6.1.0
+
+ -- Martin Waitz <tali@debian.org> Wed, 25 Aug 2004 12:58:50 +0200
+
+qalculate-gtk (0.6.2-3) unstable; urgency=low
+
+ * update libtool to reduce dependencies.
+ * debian/watch: use ftp instead of http
+
+ -- Martin Waitz <tali@debian.org> Tue, 10 Aug 2004 20:07:55 +0200
+
+qalculate-gtk (0.6.2-2) unstable; urgency=low
+
+ * debian/control: Build depend on libgnome using gnutls11 (Closes: #263657)
+ * debian/watch: add
+
+ -- Martin Waitz <tali@debian.org> Sat, 7 Aug 2004 15:04:44 +0200
+
+qalculate-gtk (0.6.2-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Martin Waitz <tali@debian.org> Tue, 20 Jul 2004 23:48:38 +0200
+
+qalculate-gtk (0.6.1-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Martin Waitz <tali@debian.org> Fri, 9 Jul 2004 13:30:45 +0200
+
+qalculate-gtk (0.5.1-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Martin Waitz <tali@debian.org> Fri, 16 Apr 2004 20:26:57 +0200
+
+qalculate-gtk (0.5-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Martin Waitz <tali@debian.org> Mon, 29 Mar 2004 21:20:32 +0200
+
+qalculate-gtk (0.4.2a-2) unstable; urgency=low
+
+ * debian/control: once again add more build depends...
+ libgnome2-dev, scrollkeeper
+
+ -- Martin Waitz <tali@debian.org> Sun, 28 Mar 2004 23:58:12 +0200
+
+qalculate-gtk (0.4.2a-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Martin Waitz <tali@debian.org> Thu, 18 Mar 2004 20:23:37 +0100
+
+qalculate-gtk (0.4.1-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Martin Waitz <tali@debian.org> Mon, 1 Mar 2004 21:39:48 +0100
+
+qalculate-gtk (0.4-2) unstable; urgency=low
+
+ * debian/control: Build-depend on libxml-parser-perl
+
+ -- Martin Waitz <tali@debian.org> Thu, 19 Feb 2004 23:29:13 +0100
+
+qalculate-gtk (0.4-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Martin Waitz <tali@debian.org> Thu, 19 Feb 2004 00:02:07 +0100
+
+qalculate-gtk (0.3.1.1-2) unstable; urgency=low
+
+ * data/qalculate.desktop.in: fix command name again (Closes: #231631)
+
+ -- Martin Waitz <tali@debian.org> Sun, 8 Feb 2004 00:49:55 +0100
+
+qalculate-gtk (0.3.1.1-1) unstable; urgency=low
+
+ * New upstream release
+ - fixes 1/sqrt 4 bug (Closes: #228517)
+ - src/calclib/util.[ch] patches applied upstream
+ * debian/control: don't do a versioned build-dep on libcln
+ * debian/{rules,control}: convert packaging to cdbs
+
+ -- Martin Waitz <tali@debian.org> Sat, 31 Jan 2004 01:07:27 +0100
+
+qalculate-gtk (0.3.1-4) unstable; urgency=low
+
+ * rebuild against new libcln
+
+ -- Martin Waitz <tali@debian.org> Thu, 22 Jan 2004 22:16:21 +0100
+
+qalculate-gtk (0.3.1-3) unstable; urgency=low
+
+ * src/calclib/util.{h,cc}: remove gcd_d function
+ it is not used and fails to compile on many arches
+ * debian/copyright: add more info about GPL
+
+ -- Martin Waitz <tali@debian.org> Wed, 21 Jan 2004 00:18:26 +0100
+
+qalculate-gtk (0.3.1-2) unstable; urgency=low
+
+ * add libgmp3-dev build dependency (Closes: #221091)
+ * fix command name in menu entry (Closes: #220335)
+ * fix command name in desktop file
+
+ -- Martin Waitz <tali@debian.org> Sun, 16 Nov 2003 21:27:58 +0100
+
+qalculate-gtk (0.3.1-1) unstable; urgency=low
+
+ * Initial Release. (Closes: #217565)
+
+ -- Martin Waitz <tali@debian.org> Sun, 2 Nov 2003 17:39:58 +0100
diff --git a/debian/_base/applications/utilities/qalculate-tde/debian/compat b/debian/_base/applications/utilities/qalculate-tde/debian/compat
new file mode 100644
index 000000000..f599e28b8
--- /dev/null
+++ b/debian/_base/applications/utilities/qalculate-tde/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/_base/applications/utilities/qalculate-tde/debian/control b/debian/_base/applications/utilities/qalculate-tde/debian/control
new file mode 100644
index 000000000..4cce4bb33
--- /dev/null
+++ b/debian/_base/applications/utilities/qalculate-tde/debian/control
@@ -0,0 +1,20 @@
+Source: qalculate-trinity
+Section: math
+Priority: optional
+Maintainer: TDE Debian Team <team-debian@trinitydesktop.org>
+X-Original-Maintainer: Vincent Legout <vincent@legout.info>
+Build-Depends: cdbs, debhelper (>= 10~), quilt, tde-cmake, ninja-build, tdelibs-trinity-dev, libqalculate-dev (>= 0.9.6)
+Standards-Version: 3.8.4
+Homepage: http://qalculate.sourceforge.net/
+
+Package: qalculate-trinity
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, qalc, gnuplot
+Description: Powerful and easy to use desktop calculator - TDE version
+ Qalculate! is small and simple to use but with much power and versatility
+ underneath. Features include customizable functions, units, arbitrary
+ precision, plotting, and a graphical interface that uses a one-line
+ fault-tolerant expression entry (although it supports optional traditional
+ buttons).
+ .
+ This package contains the TDE user interface of qalculate.
diff --git a/debian/_base/applications/utilities/qalculate-tde/debian/copyright b/debian/_base/applications/utilities/qalculate-tde/debian/copyright
new file mode 100644
index 000000000..7c32b7295
--- /dev/null
+++ b/debian/_base/applications/utilities/qalculate-tde/debian/copyright
@@ -0,0 +1,24 @@
+This package was debianized by Martin Waitz <tali@debian.org> on
+Sat, 25 Oct 2003 21:54:01 +0200.
+
+It was downloaded from http://qalculate.sourceforge.net/
+
+Upstream Author: Niklas Knutsson <nq@altern.org>
+
+Copyright (c) 2003 Niklas Knutsson
+
+This program 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 program 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, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+A copy of the GPL can be found in /usr/share/common-licenses/GPL-2.
diff --git a/debian/_base/applications/utilities/qalculate-tde/debian/docs b/debian/_base/applications/utilities/qalculate-tde/debian/docs
new file mode 100644
index 000000000..0b6e0f321
--- /dev/null
+++ b/debian/_base/applications/utilities/qalculate-tde/debian/docs
@@ -0,0 +1,2 @@
+AUTHORS
+README.md
diff --git a/debian/_base/applications/utilities/qalculate-tde/debian/patches/series b/debian/_base/applications/utilities/qalculate-tde/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/_base/applications/utilities/qalculate-tde/debian/patches/series
diff --git a/debian/_base/applications/utilities/qalculate-tde/debian/qalculate-trinity.menu b/debian/_base/applications/utilities/qalculate-tde/debian/qalculate-trinity.menu
new file mode 100644
index 000000000..e6339a3d8
--- /dev/null
+++ b/debian/_base/applications/utilities/qalculate-tde/debian/qalculate-trinity.menu
@@ -0,0 +1,5 @@
+?package(qalculate-trinity):\
+ needs="X11"\
+ section="Applications/Science/Mathematics" \
+ title="Qalculate"\
+ command="/opt/trinity/bin/qalculate-tde"
diff --git a/debian/_base/applications/utilities/qalculate-tde/debian/qalculate-trinity.postinst b/debian/_base/applications/utilities/qalculate-tde/debian/qalculate-trinity.postinst
new file mode 100644
index 000000000..399ab32a3
--- /dev/null
+++ b/debian/_base/applications/utilities/qalculate-tde/debian/qalculate-trinity.postinst
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+
+#DEBHELPER#
+
+update-alternatives --install /usr/bin/qalculate qalculate \
+ /opt/trinity/bin/qalculate-tde 10
diff --git a/debian/_base/applications/utilities/qalculate-tde/debian/qalculate-trinity.prerm b/debian/_base/applications/utilities/qalculate-tde/debian/qalculate-trinity.prerm
new file mode 100644
index 000000000..8777b6c35
--- /dev/null
+++ b/debian/_base/applications/utilities/qalculate-tde/debian/qalculate-trinity.prerm
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+#DEBHELPER#
+
+update-alternatives --remove qalculate /opt/trinity/bin/qalculate-tde
diff --git a/debian/_base/applications/utilities/qalculate-tde/debian/rules b/debian/_base/applications/utilities/qalculate-tde/debian/rules
new file mode 100755
index 000000000..a6797f19a
--- /dev/null
+++ b/debian/_base/applications/utilities/qalculate-tde/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/cmake.mk
+include debian/cdbs/debian-tde.mk
+
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc/trinity" \
+ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DBUILD_ALL="ON" \
+ -DWITH_ALL_OPTIONS="ON"
diff --git a/debian/_base/applications/utilities/qalculate-tde/debian/source/format b/debian/_base/applications/utilities/qalculate-tde/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/debian/_base/applications/utilities/qalculate-tde/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/_base/applications/utilities/qalculate-tde/debian/source/options b/debian/_base/applications/utilities/qalculate-tde/debian/source/options
new file mode 100644
index 000000000..72f1f5450
--- /dev/null
+++ b/debian/_base/applications/utilities/qalculate-tde/debian/source/options
@@ -0,0 +1,6 @@
+# Use xz instead of gzip
+compression = "xz"
+compression-level = 9
+
+# Don't run differences
+diff-ignore = .*