summaryrefslogtreecommitdiffstats
path: root/debian/_base/libraries
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2019-04-03 22:56:40 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-04-03 22:56:40 +0900
commit11394aecd1f906fee2ebd2b90412aeba4651fbff (patch)
treebcf750380e6d9fc7dbe524e16bbe2afde25dcfa0 /debian/_base/libraries
parentd24bd898174453b586ac90f2ef7a60165fa26fde (diff)
downloadtde-packaging-11394aecd1f906fee2ebd2b90412aeba4651fbff.tar.gz
tde-packaging-11394aecd1f906fee2ebd2b90412aeba4651fbff.zip
DEB: use _base folder for a distro instead of specific distros (squeeze
and maverick). Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian/_base/libraries')
-rw-r--r--debian/_base/libraries/kipi-plugins/debian/TODO41
-rw-r--r--debian/_base/libraries/kipi-plugins/debian/cdbs/debian-qt-kde.mk115
-rw-r--r--debian/_base/libraries/kipi-plugins/debian/cdbs/kde.mk89
-rw-r--r--debian/_base/libraries/kipi-plugins/debian/cdbs/versions.pl19
-rw-r--r--debian/_base/libraries/kipi-plugins/debian/changelog510
-rw-r--r--debian/_base/libraries/kipi-plugins/debian/compat1
-rw-r--r--debian/_base/libraries/kipi-plugins/debian/control90
-rw-r--r--debian/_base/libraries/kipi-plugins/debian/copyright264
-rw-r--r--debian/_base/libraries/kipi-plugins/debian/kipi-plugins-trinity-doc.install2
-rw-r--r--debian/_base/libraries/kipi-plugins/debian/kipi-plugins-trinity.install7
-rw-r--r--debian/_base/libraries/kipi-plugins/debian/kipi-plugins-trinity.manpages1
-rw-r--r--debian/_base/libraries/kipi-plugins/debian/patches/series0
-rwxr-xr-xdebian/_base/libraries/kipi-plugins/debian/rules26
-rw-r--r--debian/_base/libraries/kipi-plugins/debian/source/format1
-rw-r--r--debian/_base/libraries/kipi-plugins/debian/source/options6
-rw-r--r--debian/_base/libraries/kipi-plugins/debian/watch5
-rw-r--r--debian/_base/libraries/libkdcraw/debian/cdbs/debian-qt-kde.mk115
-rw-r--r--debian/_base/libraries/libkdcraw/debian/cdbs/kde.mk89
-rw-r--r--debian/_base/libraries/libkdcraw/debian/cdbs/versions.pl19
-rw-r--r--debian/_base/libraries/libkdcraw/debian/changelog128
-rw-r--r--debian/_base/libraries/libkdcraw/debian/compat1
-rw-r--r--debian/_base/libraries/libkdcraw/debian/control39
-rw-r--r--debian/_base/libraries/libkdcraw/debian/copyright72
-rw-r--r--debian/_base/libraries/libkdcraw/debian/docs2
-rw-r--r--debian/_base/libraries/libkdcraw/debian/libkdcraw3-trinity-dev.install4
-rw-r--r--debian/_base/libraries/libkdcraw/debian/libkdcraw3-trinity.install1
-rwxr-xr-xdebian/_base/libraries/libkdcraw/debian/rules25
-rw-r--r--debian/_base/libraries/libkdcraw/debian/source/format1
-rw-r--r--debian/_base/libraries/libkdcraw/debian/source/options6
-rw-r--r--debian/_base/libraries/libkdcraw/debian/watch3
-rw-r--r--debian/_base/libraries/libkexiv2/debian/README.Debian107
-rw-r--r--debian/_base/libraries/libkexiv2/debian/cdbs/debian-qt-kde.mk119
-rw-r--r--debian/_base/libraries/libkexiv2/debian/cdbs/kde.mk91
-rw-r--r--debian/_base/libraries/libkexiv2/debian/cdbs/versions.pl19
-rw-r--r--debian/_base/libraries/libkexiv2/debian/changelog73
-rw-r--r--debian/_base/libraries/libkexiv2/debian/compat1
-rw-r--r--debian/_base/libraries/libkexiv2/debian/control32
-rw-r--r--debian/_base/libraries/libkexiv2/debian/copyright32
-rw-r--r--debian/_base/libraries/libkexiv2/debian/libkexiv2-3-trinity-dev.install4
-rw-r--r--debian/_base/libraries/libkexiv2/debian/libkexiv2-3-trinity.install1
-rw-r--r--debian/_base/libraries/libkexiv2/debian/patches/.gitignore0
-rwxr-xr-xdebian/_base/libraries/libkexiv2/debian/rules20
-rw-r--r--debian/_base/libraries/libkexiv2/debian/source/format1
-rw-r--r--debian/_base/libraries/libkexiv2/debian/source/options6
-rw-r--r--debian/_base/libraries/libkipi/debian/README.Debian107
-rw-r--r--debian/_base/libraries/libkipi/debian/TODO8
-rw-r--r--debian/_base/libraries/libkipi/debian/cdbs/debian-qt-kde.mk119
-rw-r--r--debian/_base/libraries/libkipi/debian/cdbs/kde.mk91
-rw-r--r--debian/_base/libraries/libkipi/debian/cdbs/versions.pl19
-rw-r--r--debian/_base/libraries/libkipi/debian/changelog236
-rw-r--r--debian/_base/libraries/libkipi/debian/compat1
-rw-r--r--debian/_base/libraries/libkipi/debian/control42
-rw-r--r--debian/_base/libraries/libkipi/debian/copyright327
-rw-r--r--debian/_base/libraries/libkipi/debian/libkipi0-trinity-dev.install4
-rw-r--r--debian/_base/libraries/libkipi/debian/libkipi0-trinity.install5
-rw-r--r--debian/_base/libraries/libkipi/debian/patches/series0
-rwxr-xr-xdebian/_base/libraries/libkipi/debian/rules20
-rw-r--r--debian/_base/libraries/libkipi/debian/source/format1
-rw-r--r--debian/_base/libraries/libkipi/debian/source/options6
-rw-r--r--debian/_base/libraries/libksquirrel/debian/changelog32
-rw-r--r--debian/_base/libraries/libksquirrel/debian/compat1
-rw-r--r--debian/_base/libraries/libksquirrel/debian/control37
-rw-r--r--debian/_base/libraries/libksquirrel/debian/copyright274
-rw-r--r--debian/_base/libraries/libksquirrel/debian/libksquirrel-tools-trinity.install1
-rw-r--r--debian/_base/libraries/libksquirrel/debian/libksquirrel-trinity-dev.install7
-rw-r--r--debian/_base/libraries/libksquirrel/debian/libksquirrel0-trinity.install3
-rw-r--r--debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-camera2ppm.119
-rw-r--r--debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-dcraw.1113
-rw-r--r--debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-dicom2png.119
-rw-r--r--debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-fig2ppm.119
-rw-r--r--debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-iff2ppm.119
-rw-r--r--debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-leaf2ppm.119
-rw-r--r--debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-ljpeg2ppm-s.119
-rw-r--r--debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-ljpeg2ppm.119
-rw-r--r--debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-mac2ppm.119
-rw-r--r--debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-neo2ppm.119
-rw-r--r--debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-pi12ppm.119
-rw-r--r--debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-pi32ppm.119
-rw-r--r--debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-svg2png.119
-rw-r--r--debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-ttf2pnm.119
-rw-r--r--debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-utah2ppm.119
-rw-r--r--debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-xcf2pnm.119
-rw-r--r--debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-xim2ppm.119
-rw-r--r--debian/_base/libraries/libksquirrel/debian/patches/.gitignore0
-rwxr-xr-xdebian/_base/libraries/libksquirrel/debian/rules103
-rw-r--r--debian/_base/libraries/libksquirrel/debian/source/format1
-rw-r--r--debian/_base/libraries/libksquirrel/debian/source/options6
-rw-r--r--debian/_base/libraries/libksquirrel/debian/watch2
-rw-r--r--debian/_base/libraries/libtdeldap/debian/cdbs/debian-qt-kde.mk119
-rw-r--r--debian/_base/libraries/libtdeldap/debian/cdbs/kde.mk91
-rw-r--r--debian/_base/libraries/libtdeldap/debian/cdbs/versions.pl19
-rw-r--r--debian/_base/libraries/libtdeldap/debian/changelog5
-rw-r--r--debian/_base/libraries/libtdeldap/debian/compat1
-rw-r--r--debian/_base/libraries/libtdeldap/debian/control22
-rw-r--r--debian/_base/libraries/libtdeldap/debian/copyright31
-rw-r--r--debian/_base/libraries/libtdeldap/debian/docs1
-rw-r--r--debian/_base/libraries/libtdeldap/debian/libtdeldap-trinity-dev.install3
-rw-r--r--debian/_base/libraries/libtdeldap/debian/libtdeldap-trinity.install1
-rw-r--r--debian/_base/libraries/libtdeldap/debian/patches/series0
-rwxr-xr-xdebian/_base/libraries/libtdeldap/debian/rules25
-rw-r--r--debian/_base/libraries/libtdeldap/debian/source/format1
-rw-r--r--debian/_base/libraries/libtdeldap/debian/source/options6
-rw-r--r--debian/_base/libraries/libtqt-perl/debian/changelog142
-rw-r--r--debian/_base/libraries/libtqt-perl/debian/compat1
-rw-r--r--debian/_base/libraries/libtqt-perl/debian/control18
-rw-r--r--debian/_base/libraries/libtqt-perl/debian/copyright38
-rw-r--r--debian/_base/libraries/libtqt-perl/debian/docs3
-rw-r--r--debian/_base/libraries/libtqt-perl/debian/examples1
-rw-r--r--debian/_base/libraries/libtqt-perl/debian/manpages3
-rw-r--r--debian/_base/libraries/libtqt-perl/debian/pqtapi.140
-rw-r--r--debian/_base/libraries/libtqt-perl/debian/pqtsh.121
-rw-r--r--debian/_base/libraries/libtqt-perl/debian/puic.165
-rwxr-xr-xdebian/_base/libraries/libtqt-perl/debian/rules63
-rw-r--r--debian/_base/libraries/libtqt-perl/debian/source/format1
-rw-r--r--debian/_base/libraries/libtqt-perl/debian/source/options6
-rw-r--r--debian/_base/libraries/libtqt-perl/debian/watch2
-rw-r--r--debian/_base/libraries/pytdeextensions/debian/README.Debian107
-rw-r--r--debian/_base/libraries/pytdeextensions/debian/changelog134
-rw-r--r--debian/_base/libraries/pytdeextensions/debian/compat1
-rw-r--r--debian/_base/libraries/pytdeextensions/debian/control51
-rw-r--r--debian/_base/libraries/pytdeextensions/debian/copyright48
-rw-r--r--debian/_base/libraries/pytdeextensions/debian/docs1
-rw-r--r--debian/_base/libraries/pytdeextensions/debian/libpythonize0-trinity-dev.install4
-rw-r--r--debian/_base/libraries/pytdeextensions/debian/libpythonize0-trinity.install1
-rw-r--r--debian/_base/libraries/pytdeextensions/debian/patches/.gitignore0
-rw-r--r--debian/_base/libraries/pytdeextensions/debian/patches/11_fix_get_libdir_name.diff15
-rw-r--r--debian/_base/libraries/pytdeextensions/debian/patches/series1
-rw-r--r--debian/_base/libraries/pytdeextensions/debian/pycompat1
-rw-r--r--debian/_base/libraries/pytdeextensions/debian/pytdeextensions-trinity.install7
-rw-r--r--debian/_base/libraries/pytdeextensions/debian/pytdeextensions-trinity.lintian-overrides10
-rw-r--r--debian/_base/libraries/pytdeextensions/debian/python-distutils-jaunty.mk297
-rw-r--r--debian/_base/libraries/pytdeextensions/debian/pyversions1
-rwxr-xr-xdebian/_base/libraries/pytdeextensions/debian/rules60
-rw-r--r--debian/_base/libraries/pytdeextensions/debian/source/format1
-rw-r--r--debian/_base/libraries/pytdeextensions/debian/source/options6
-rw-r--r--debian/_base/libraries/python-trinity/debian/NEWS.Debian10
-rw-r--r--debian/_base/libraries/python-trinity/debian/changelog386
-rw-r--r--debian/_base/libraries/python-trinity/debian/compat1
-rw-r--r--debian/_base/libraries/python-trinity/debian/control56
-rw-r--r--debian/_base/libraries/python-trinity/debian/copyright30
-rw-r--r--debian/_base/libraries/python-trinity/debian/patches/.gitignore0
-rw-r--r--debian/_base/libraries/python-trinity/debian/pytdeconfig.py11
-rw-r--r--debian/_base/libraries/python-trinity/debian/python-trinity-trinity-dev.dirs1
-rw-r--r--debian/_base/libraries/python-trinity/debian/python-trinity-trinity-dev.install2
-rw-r--r--debian/_base/libraries/python-trinity/debian/python-trinity-trinity-doc.dirs3
-rw-r--r--debian/_base/libraries/python-trinity/debian/python-trinity-trinity-doc.doc-base12
-rw-r--r--debian/_base/libraries/python-trinity/debian/python-trinity-trinity-doc.examples1
-rw-r--r--debian/_base/libraries/python-trinity/debian/python-trinity-trinity-doc.install1
-rw-r--r--debian/_base/libraries/python-trinity/debian/python-trinity-trinity.install3
-rwxr-xr-xdebian/_base/libraries/python-trinity/debian/rules172
-rw-r--r--debian/_base/libraries/python-trinity/debian/source/format1
-rw-r--r--debian/_base/libraries/python-trinity/debian/source/options6
-rw-r--r--debian/_base/libraries/python-trinity/debian/watch3
153 files changed, 6232 insertions, 0 deletions
diff --git a/debian/_base/libraries/kipi-plugins/debian/TODO b/debian/_base/libraries/kipi-plugins/debian/TODO
new file mode 100644
index 000000000..d5025974d
--- /dev/null
+++ b/debian/_base/libraries/kipi-plugins/debian/TODO
@@ -0,0 +1,41 @@
+TODO for next release: 0.1.4
+
+o add libkcal2-dev build-dep (for calendar plugin)
+
+- add kphotoalbum (kimdaba successor) to Enhances when it enters
+ the debian and/or kubuntu archive
+
+-----------------------------------------------
+
+o commit debian/patches/14_Makefile.am_use_only_used_libs.diff upstream
+ without the LIB_QT and IMLIB2_LIBS replacement. Check if there are
+ more plugins than in rc1
+
+o ??? Add README.packaging that explains the apply-patches
+ target and create-buildprep stuff.
+
+o Suggests to recommends for all external tools?
+
+-----------------------------------------------
+
+o check again documentation copyright holder
+
+o Copy-, dist- rights: Still on TODO upstream
+
+$ licensecheck `find . -name \*.cpp -o -name \*.h` | grep -v GPL
+./kameraklient/mtlist.h: no_copyright
+./kameraklient/cameraselection.h: no_copyright
+./kameraklient/savefiledialog.h: no_copyright
+./kameraklient/thumbitem.cpp: no_copyright
+./kameraklient/savefiledialog.cpp: no_copyright
+./kameraklient/thumbitem.h: no_copyright
+./kameraklient/mtqueue.h: no_copyright
+./kameraklient/thumbview.cpp: no_copyright
+./kameraklient/thumbview.h: no_copyright
+./kameraklient/cameraselection.cpp: no_copyright
+./jpeglossless/transupp.h: unknown
+./jpeglossless/jinclude.h: unknown
+./jpeglossless/jpegint.h: unknown
+$
+
+__END__
diff --git a/debian/_base/libraries/kipi-plugins/debian/cdbs/debian-qt-kde.mk b/debian/_base/libraries/kipi-plugins/debian/cdbs/debian-qt-kde.mk
new file mode 100644
index 000000000..9f8f97776
--- /dev/null
+++ b/debian/_base/libraries/kipi-plugins/debian/cdbs/debian-qt-kde.mk
@@ -0,0 +1,115 @@
+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
+
+# 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:
+ 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;
+ touch debian/stamp-cvs-make
+
+include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
+
+ifndef _cdbs_rules_patchsys_quilt
+DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
+
+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)
+
+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
+
+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 )
+
+clean::
+ rm -rf debian/man/out
+ -rmdir debian/man
+ rm -f debian/stamp-man-pages
+ rm -rf debian/shlibs-check
+
+$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
+ 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
+
+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
+
+clean::
+ 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
+ rm -f debian/stamp-cvs-make
+
+endif
diff --git a/debian/_base/libraries/kipi-plugins/debian/cdbs/kde.mk b/debian/_base/libraries/kipi-plugins/debian/cdbs/kde.mk
new file mode 100644
index 000000000..1ac26c4b7
--- /dev/null
+++ b/debian/_base/libraries/kipi-plugins/debian/cdbs/kde.mk
@@ -0,0 +1,89 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2003 Christopher L Cheney <ccheney@debian.org>
+# Description: A class for KDE packages; sets KDE 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.
+
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+
+ifndef _cdbs_class_kde
+_cdbs_class_kde := 1
+
+# for dh_icons
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), debhelper (>= 5.0.7ubuntu4)
+
+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
+
+include $(_cdbs_class_path)/autotools.mk$(_cdbs_makefile_suffix)
+
+export kde_cgidir = \$${libdir}/cgi-bin
+export kde_confdir = \$${sysconfdir}/trinity
+export kde_htmldir = \$${datadir}/doc/tde/HTML
+
+ifeq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_final = $(if $(DEB_KDE_ENABLE_FINAL),--enable-final,)
+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
+
+cdbs_configure_flags += --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+
+DEB_AC_AUX_DIR = $(DEB_SRCDIR)/admin
+DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include/tde"
+DEB_COMPRESS_EXCLUDE = .dcl .docbook -license .tag .sty .el
+
+$(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
+
+cleanbuilddir::
+ -$(if $(call cdbs_streq,$(DEB_BUILDDIR),$(DEB_SRCDIR)),,rm -rf $(DEB_BUILDDIR))
+
+common-build-arch common-build-indep:: debian/stamp-kde-apidox
+debian/stamp-kde-apidox:
+ $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) apidox)
+ touch $@
+
+common-install-arch common-install-indep:: common-install-kde-apidox
+common-install-kde-apidox::
+ $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) install-apidox DESTDIR=$(DEB_DESTDIR))
+
+clean::
+ rm -f debian/stamp-kde-apidox
+
+# This is a convenience target for calling manually. It's not part of
+# the build process.
+buildprep: clean apply-patches
+ $(MAKE) -f admin/Makefile.common dist
+ debian/rules clean
+
+endif
diff --git a/debian/_base/libraries/kipi-plugins/debian/cdbs/versions.pl b/debian/_base/libraries/kipi-plugins/debian/cdbs/versions.pl
new file mode 100644
index 000000000..1b110f7af
--- /dev/null
+++ b/debian/_base/libraries/kipi-plugins/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/libraries/kipi-plugins/debian/changelog b/debian/_base/libraries/kipi-plugins/debian/changelog
new file mode 100644
index 000000000..cc84eae54
--- /dev/null
+++ b/debian/_base/libraries/kipi-plugins/debian/changelog
@@ -0,0 +1,510 @@
+kipi-plugins-trinity (0.1.6-0ubuntu1) karmic; urgency=low
+
+ * Karmic rebuild
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 02 Jul 2009 16:08:00 -0600
+
+kipi-plugins-trinity (0.1.5-0ubuntu4) intrepid; urgency=low
+
+ * Moved Trinity to /opt/trinity
+ * Integrated properly with KDE4.2+
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 05 March 2009 19:52:00 -0600
+
+kipi-plugins-trinity (0.1.5-0ubuntu1) intrepid; urgency=low
+
+ * Added -trinity suffix
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Sat, 07 Feb 2009 20:17:00 -0600
+
+kipi-plugins (0.1.5-1) unstable; urgency=low
+
+ * New upstream release
+
+ [ Mark Purcell ]
+ * Change Build-Depends: libgpod-nogtk-dev
+ - kipi-plugins should depend on libgpod3-nogtk (Closes: #457835)
+
+ [ Achim Bohnet]
+ * Bump Standards-Version to 3.7.3. No changes necessary
+ * Build with --as-needed flag
+ * Bump libkdcraw build dependency to 0.1.4.
+ RawConverter relies on new libkdcraw3 API
+ * debian/control: VCS-Browser URL: show svn log, not svn directory listing
+ * Drop relibtoolization patches:
+ + 01_admin_cleanup.diff
+ + 02_autotools_update.diff
+ + 03_libtool_update.diff
+ + 04_am_maintainer_mode.diff
+ + 05_pedantic-errors.diff
+ + 06_disable_no_undefined.diff
+ + 98_buildprep.diff
+ instead LDFLAGS="-Wl,--as-needed"
+ * drop 40_fix_ipod_export_linking.diff: No longer required
+ * Update build-dep:
+ + remove automake: not needed
+ + remove libexif-dev: replaced upstream by libexiv2-dev
+ * Cherry pick fixes from SVN:
+ + 40_tdesvn786355_timeadjusst_fix_filestat.diff
+ + 40_tdesvn786363_timeAdjust_update_DateTimeOriginal.diff
+ + 40_tdesvn786549_99_rawDecoding_jpeg_compression.diff
+ Thx to upstream for pointing me to those patches.
+
+ [ Fathi Boudra ]
+ * Update copyright file
+ * Add myself in Uploaders field
+ * Remove Paul Telford from Uploaders field
+ * Refresh patches. Drop 99_configure_relibtool hack
+ * Bump compat to 5
+ * Bump debhelper to 5
+ * Use Homepage field
+ * Clean up watch file
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Tue, 25 Mar 2008 22:39:26 +0100
+
+kipi-plugins (0.1.5~beta1-3) experimental; urgency=low
+
+ * Add Build-Depends: libltdl3-dev
+ - kipi-plugins_0.1.5~beta1-2(alpha/experimental): FTBFS:
+ /usr/lib/libltdl.la: No such file or directory (Closes: #448429)
+
+ -- Mark Purcell <msp@debian.org> Tue, 30 Oct 2007 23:28:39 +0000
+
+kipi-plugins (0.1.5~beta1-2) experimental; urgency=low
+
+ * Add Build-Depends: automake
+ - kipi-plugins_0.1.5~beta1-1(hppa/experimental): FTBFS: ./configure:
+ No such file or directory (Closes: #446675)
+
+ -- Mark Purcell <msp@debian.org> Thu, 25 Oct 2007 21:20:02 +0100
+
+kipi-plugins (0.1.5~beta1-1) experimental; urgency=low
+
+ * New upstream release
+ - New Plugin PicasaWebExport
+ . kipi-plugins with PicasaWeb support (Closes: #444797)
+ - PrintWizard enhancements
+ - SlideShow drop Build-Depends: libimlib2-dev
+
+ -- Mark Purcell <msp@debian.org> Fri, 12 Oct 2007 20:04:00 +0100
+
+kipi-plugins (0.1.4-1) unstable; urgency=low
+
+ * New upstream release
+
+ [ Achim Bohnet ]
+ * remove 'da' and 'pt' from kipi-pluigns-doc long description.
+ Danish and Portuguese docs not included in this version.
+ * update debian/copyright
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Tue, 03 Jul 2007 14:10:23 +0100
+
+kipi-plugins (0.1.4~beta2-1) experimental; urgency=low
+
+ * New upstream release
+ - beta releases to experimental
+
+ [ Achim Bohnet ]
+ * add new build dependencies: libkdcraw-dev >= 0.1.1 and libkcal-dev
+ * relibtoolization: Dependencies drop from 35 to 21
+ + debian/patches/03_libtool_update.diff: updated from common-patches
+ + debian/patches/02_autotools_update.diff: deleted no longer necessary
+ regenerated with create-buildprep2:
+ + debian/patches/98_buildprep.diff
+ + debian/patches/98_configure.diff
+ * cleanup debian/rules clean target: debian/patches/space.png.tar.gz.uu not
+ longer included
+
+ [ Mark Purcell ]
+ * Patches removed as included upstream:
+ 50_libkexiv2-0.patch
+ 50_libkexiv2-1.patch
+ 50_libkexiv2-2.patch
+ 15_tdesvn_655231_fix-gallery-2.2-export.diff
+ Bug#417297-GCC4.3.diff
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Tue, 26 Jun 2007 23:28:36 +0100
+
+kipi-plugins (0.1.3-5) unstable; urgency=low
+
+ [ Achim Bohnet ]
+ * debian/control: set kipi-plugins-doc section to doc. Fixes override
+ disparity on uploads.
+ * Add debian/patches/15_tdesvn_655231_fix-gallery-2.2-export.diff
+ Fixes export to gallery 2.2: http://bugs.kde.org/show_bug.cgi?id=142259
+ * Add debian/patches/50_libkexiv2-{1,2,3}.patch: Fixes FTBFS with
+ libexiv2 0.14. This adds also a build dependency on libkexiv2-dev
+ >=0.1.5. Thx to Angelo Naselli <anaselli@linux.it> for the patches.
+ - FTBFS: error: request for member 'c_str' in '((Exiv2::Error*)e)-
+ >Exiv2::Error::what()', which is of non-class type 'const char*'
+ (Closes: #423783)
+ * debian/changelog: Fix XS-Vcs-* packaging now done on trunk.
+
+ [ Mark Purcell ]
+ * Include gcc4.3 patch from Martin (Closes: #417297)
+ * Include icedove patch from Gonéri (Closes: #410479)
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Thu, 17 May 2007 17:17:05 +0100
+
+kipi-plugins (0.1.3-4) unstable; urgency=low
+
+ [ Mark Purcell ]
+ * Recommends: mpg123 (Closes: #397122: kipi-plugins: MPEGEncoder
+ require mpg123 to mux audio)
+ * Upload to unstable - relax version Depends on libgpod-dev
+ - Ipod plugin won't be built until unstable has libgpod-dev (>= 0.4.2)
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Mon, 02 Apr 2007 18:36:16 +0100
+
+kipi-plugins (0.1.3-3) experimental; urgency=low
+
+ [ Achim Bohnet ]
+ * Merge all kubuntu changes (all by Anthony Mercatante <tonio@ubuntu.com>)
+ + recommend graphicsmagick-imagemagick-compat instead of imagemagick
+ + split kipi-plugins into kipi-plugins and kipi-plugins-doc
+
+ * Long description: refer to -doc package. kipi-plugins-doc: list available
+ translations
+ * kipi-plugins suggests kipi-plugins-doc
+ * kipi-plugins-doc:
+ + suggest kipi-plugins instead of depending on it.
+ + depend on khelpcenter for reading docs
+ * add manpage and libkipiplugins library in kipi-plugins package.
+ * remove ${shlibs:Depends} from architecture all -doc package
+ * kipi-plugins-doc: add replaces: kipi-plugins (<= 0.1.3-1)
+ so upgrading from kipi-plugins without the -doc split does not
+ fail with trying to overwrite `...`, which is also in package
+ kipi-plugins
+ * debian/rules: add utils.mk to make it easier to check package split
+ * README.Debian: fix encoding: 8859-1 -> utf8
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Tue, 20 Feb 2007 00:40:51 +0100
+
+kipi-plugins (0.1.3-2) experimental; urgency=low
+
+ [ Achim Bohnet ]
+ * add build-dep on libxslt1-dev. Required for htmlexport plugin.
+ * Remove build-dep: libmagick++9-dev | libmagick++-dev.
+ kipi-plugins needs only to the command line tools during runtime
+ * remove recommends on dcraw. Kipi-plugins uses a copy installed
+ as kipidcraw, due to dcraw upstream keeps breaking cli interface with
+ each new release
+
+ [ Mark Purcell ]
+ * Build-Depends: libgpod-dev (>=0.4.2) - enable IpodExport plugin
+ * debian/rules get-orig-source more robust
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Sun, 18 Feb 2007 20:21:37 +0000
+
+kipi-plugins (0.1.3-1) experimental; urgency=low
+
+ * New upstream release
+
+ [ Achim Bohnet ]
+ * Prepare support for ipodexport. Can't be enabled until libgpod 0.4.2
+ is in experimental:
+ + ipodexport fix for relibtoolization (KDE bug 140279):
+ ipodexport is calling g_type_init() explicitely without linking
+ against libgobject-2.0: debian/patches/40_fix_ipod_export_linking.diff
+ * remove patches/10_tdesvn_618170_Makefile.am_libs_used_only.diff and
+ patches/30_tdesvn_625568_pod.patch. Included upstream.
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Thu, 25 Jan 2007 21:34:40 +0100
+
+kipi-plugins (0.1.3~rc1-1) experimental; urgency=low
+
+ * new upstream release
+
+ [ Mark Purcell ]
+ * Update ./debian/rules get-orig-source for http://buildserver.net
+ * IpodExport plugin will not build until libgpod > 0.4.0 is availble
+ - however we can still add Build-Depends: libgpod-dev
+ * Distribution experimental for libexiv2 (0.12) & rc1 version
+
+ [ Achim Bohnet ]
+ * debian/control:
+ + Bump build-deps for libkipi to >= 0.1.5. and add exiv2 >= 0.12.
+ Required according to release notes
+ + remove libkexif build depencency replaced by exiv2
+ + Set standards-version to 3.7.2. No changes necessary.
+ + Add XS-Vcs-Svn and XS-Vcs-Browser fields
+ + Update homepage URL to the new site: http://www.kipi-plugins.org/
+ * remove patches/kbugs132659.diff. Fix included in the upstream release.
+ * debian/rules:
+ + remove buildprep target. Included in kde.mk from cdbs now
+ + add new new plugins to long description
+ + order plugins list in long description as in README
+ + avoid term 'plugins' in short description of the plugins
+ * relibtoolization:
+ add patches/10_tdesvn_618170_Makefile.am_libs_used_only.diff
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Fri, 29 Dec 2006 13:46:46 +0100
+
+kipi-plugins (0.1.2-3) unstable; urgency=low
+
+ [ Mark Purcell ]
+ * Grab flickr API patch from upstream
+ http://bugs.kde.org/show_bug.cgi?id=132659
+ - Flickr upload fails (Closes: #385201)
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Sun, 17 Sep 2006 14:11:10 +0100
+
+kipi-plugins (0.1.2-2) unstable; urgency=low
+
+ [ Mark Purcell ]
+ * Add 420mpeg2.patch to set default chroma
+ - MPEG Slideshow does not work with mjpegtools 1:1.8.0-0.0 from
+ ftp.nerim.net (Closes: #344987)
+ - mpegencoder: fails to create SVCD from album (Closes: #374340)
+ * kipi-plugins(GNU/k*BSD): FTBFS: out of date libtool scripts (Closes:
+ #343949)
+ * Lintian cleanup: extended-description-line-too-long
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Sat, 2 Sep 2006 12:03:27 +0100
+
+kipi-plugins (0.1.2-1) unstable; urgency=low
+
+ [ Tom Albers ]
+ * New upstream release (adds missing translations and a bugfix for
+ sendimages plugin)
+ * Updated the copyright file with the current maintainer.
+ * Removed imagesgallery from copyright file, as that is replaced by
+ the htmlexport plugin.
+ * Added myself as uploader.
+ * Removed sharutils build-dep as patch 13 required it in the past,
+ but is removed.
+ * Added konqueror as recommend because flickr-plugin needs it.
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Sat, 10 Jul 2006 18:25:00 +0200
+
+kipi-plugins (0.1.1-3) unstable; urgency=low
+
+ [ Achim Bohnet ]
+ * added missing debian/98_buildprep.diff
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Tue, 27 Jun 2006 22:11:40 +0200
+
+kipi-plugins (0.1.1-2) unstable; urgency=low
+
+ * Build-Depends: libmagick++9-dev
+ - FTBFS: No libmagick9++-dev package. (Closes: #375714)
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Tue, 27 Jun 2006 20:32:54 +0100
+
+kipi-plugins (0.1.1-1) unstable; urgency=low
+
+ [ Mark Purcell ]
+ * New upstream release
+ - Delete: debian/patches/13_10_pull_from_upstreamsvn_from_r460242.diff
+ * Add debian/rules print-version & get-orig-source targets
+ * Recommends: tdeprint
+ * Build-Depends: libmagick9++-dev | libmagick++-dev
+ * Relibtoolize from /pkg-kde/trunk/common-patches/ for 3.5.2
+ + patches/02_autotools_update.diff
+ + patches/03_libtool_update.diff
+ + patches/04_am_maintainer_mode.diff
+ + patches/05_pedantic-errors.diff
+ * Enhances: digikam, kimdaba, showimg, gwenview
+
+ [ Achim Bohnet ]
+ * remove space.png.tar.gz.uu: Included now in upstream
+ * update relibtoolization patches:
+ + 11_aclocal.m4_update.diff
+ + 14_Makefile.am_use_only_used_libs.diff
+ + 98_buildprep.diff
+ + 99_configure_relibtool_hack.diff
+ * cherry pick bug fixes from upstream
+ + 20_kde_540632-540657_calendar_honour_start_of_week.diff
+ + 21_kde_r541235_mpegencoder_rgb_value.diff
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Mon, 26 Jun 2006 23:26:27 +0100
+
+kipi-plugins (0.1+rc1-3) unstable; urgency=low
+
+ [ Achim Bohnet ]
+ * add build-depends on sharutil so uudecode is available.
+ uudecode is used to decode added PNG icons in debian/. Fixes:
+ FTBFS: uudecode: command not found. (Closes: #353072)
+ * update 98_buildprep.diff
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Fri, 17 Feb 2006 00:59:14 +0100
+
+kipi-plugins (0.1+rc1-2) unstable; urgency=low
+
+ [ Achim Bohnet ]
+ * relibtoolization:
+ + use tools and patches of Debian Qt/KDE Team packages:
+ patches/0*.diff
+ + patches/03_libtool_update.diff: update to libtool 1.5.20-2
+ + patches/06_aclocal_update.diff: this update gets trigger by the
+ create-buildprep run
+ + rules: add buildprep target for 98_buildprep.diff creation
+ + patches/11_Makefile.am_use_only_used_libs.diff: list all libs
+ which contain used symbols. Replace LIB_QT, IMLIB2_LIBS with
+ -lqt-mt and -lImlib2, respectively, because the variables list
+ libraries only used indirectly by the kipi-plugins
+ Result: kipi-plugins now depends on 14 instead of 31 packages
+
+ [ Tom Albers ]
+ * added patches/13_10_pull_from_upstreamsvn_from_r460242.diff
+ which is a complete pull from upstream svn since the release candidate.
+ It consists some important fixes for printing and prevents a crash in
+ imagegallery. It also includes the new simpleviewerexport plugin.
+ * added r501143 and r501136 to that patch, to make the new plugin work
+ in konqueror and remove faulty flash detect lines
+
+ [ Mark Purcell ]
+ * Add debian/watch: sf.net kipi project will be used for
+ future releases
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Sat, 19 Nov 2005 21:22:11 +0100
+
+kipi-plugins (0.1+rc1-1) unstable; urgency=low
+
+ * New upstream release
+ * Pkg now maintained by Debian KDE Extras Team
+
+ [ Achim Bohnet ]
+ * Now that the pkgs are build on all archs, fix build dependencies
+ + tdelibs4-dev: remove version
+ + libkexif1-dev (>= 0.2-1), libkipi0-dev (>= 0.1-1): (re)set
+ versions to last API change. (Helps backporting.)
+ * patches/01_rawconverter_dcraw7.0+trinity.4-fixes-from-head.diff removed.
+ Fixed upstream
+
+ [ Mark Purcell ]
+ * Bump Suggests: to Recommends: these would be found together in all but
+ unusual situations
+ - tdeprinter - PrintWizard
+ - kmail - SendImages
+ - sane-utils - AcquireImages
+ - k3b - CdArchiving
+ - imagemagic - ConvertImages
+ - kooka - AcquireImages
+ - imagemagic - BorderImages/ ColorImages/ ConvertImages/ EffectImages/
+ FilterImages
+ - gimp - PrintWizard (Suggests:)
+ - gallery - ImagesGallery (Suggests:)
+ - dcraw - RawConverter
+ * Include FlickRexport in debian/control & Copyrights
+ * Fix old-fsf-address-in-copyright-file
+ * CdArchiving does not function when 'Build CD HTML Interface' is
+ selected (Closes: #328928)
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Sat, 24 Sep 2005 12:08:52 +0100
+
+kipi-plugins (0.1+beta2-22) unstable; urgency=low
+
+ * C++ transition package
+ * Upgrade Build-Depends: tdelibs4-dev (>= 3.4.2-1), libkexif1-dev (>=
+ 0.2.1-5), libkipi0-dev (>= 0.1.1-3)
+
+ -- Mark Purcell <msp@debian.org> Sun, 21 Aug 2005 10:48:53 +0100
+
+kipi-plugins (0.1+beta2-21) unstable; urgency=low
+
+ * patches/01_rawconverter_dcraw7.0+trinity.4-fixes-from-head.diff
+ rawconverter plugin broken. dcraw changed interface
+ somewhere in 5.xx series. Now plugin works again with
+ 5.88 in sarge and 7.02 in sid. (Closes: #306212)
+ * remove mjpegtools (>= 1.6.0) from suggests. It's from
+ 'ftp://ftp.nerim.net/debian-marillat <dist> main'.
+
+ -- Achim Bohnet <ach@mpe.mpg.de> Thu, 14 Apr 2005 01:45:40 +0200
+
+kipi-plugins (0.1+beta2-20) unstable; urgency=low
+
+ * rebuild with libkexif1 dependency. Therefore bump version
+ to -20. Incase the 'linked-against-libkexif0' on in debian
+ needs bugfix uploads.
+
+ -- Achim Bohnet <ach@mpe.mpg.de> Thu, 10 Mar 2005 03:43:48 +0100
+
+kipi-plugins (0.1+beta2-2) unstable; urgency=low
+
+ * Initial upload (Closes: #280442)
+ * debian/copyright: add Gerhard Kulzer to doc authors
+
+ -- Achim Bohnet <ach@mpe.mpg.de> Tue, 8 Mar 2005 20:50:39 +0100
+
+kipi-plugins (0.1+beta2-1) unstable; urgency=low
+
+ * new upstream beta release
+ * long description: update homepage URL
+ * debian/copyright: add a copy of libjpeg copy- and distribution
+ rights
+ * remove 00-remove-entity-rune-in-da-index-docbook.diff no
+ longer needed (and disable simple-patchsys.mk in rules)
+
+ -- Achim Bohnet <ach@mpe.mpg.de> Mon, 14 Feb 2005 23:50:35 +0100
+
+kipi-plugins (0.0.cvs20041212-1) unstable; urgency=low
+
+ * include GFDL into debian/copyright
+
+ -- Achim Bohnet <ach@mpe.mpg.de> Mon, 20 Dec 2004 01:04:42 +0100
+
+kipi-plugins (0.0.cvs20041212-0) unstable; urgency=low
+
+ * cvs update: Fixes several bugs reported at bugs.kde.org
+ * remove debian/changelog.save
+ * use cdbs' simple-patchsys for patches
+ * debian/patches/00-remove-entity-rune-in-da-index-docbook.diff
+ remove undefined entity &rune.*.
+ * add new GalleryExport to long description
+
+ -- Achim Bohnet <ach@mpe.mpg.de> Sun, 12 Dec 2004 14:01:01 +0100
+
+kipi-plugins (0.0.cvs20041110-2) unstable; urgency=low
+
+ * Initial upload (Closes: #280442)
+ * Fix Makefile.in rebuilds:
+ remove Makefile.in changes from diff and rebuild
+ source tree vi tar x and zcat | patch
+
+ -- Achim Bohnet <ach@mpe.mpg.de> Thu, 11 Nov 2004 00:51:00 +0100
+
+kipi-plugins (0.0.cvs20041110-1~kalyxo1) unstable; urgency=low
+
+ * Initial upload (Closes: #280442)
+ * new upstream release
+ * add suggests for external tools:
+ k3b, mjpegtools, imagemagick, dcraw
+
+ -- Achim Bohnet <ach@mpe.mpg.de> Wed, 10 Nov 2004 19:32:40 +0100
+
+kipi-plugins (0.0.cvs20041018-1) experimental; urgency=low
+
+ * added homepage URL to extended description
+
+ -- Achim Bohnet <ach@mpe.mpg.de> Sun, 17 Oct 2004 10:12:28 +0200
+
+kipi-plugins (0.0.cvs20040921-2) experimental; urgency=low
+
+ * control: remove final dot in short description to make
+ lintian happy
+ * add pkg-config to build-deps (now used upstream)
+
+ -- Achim Bohnet <ach@mpe.mpg.de> Tue, 21 Sep 2004 00:50:29 +0200
+
+kipi-plugins (0.0.cvs20040824-2) experimental; urgency=low
+
+ * use --enable-opengl because qt wind 3.3.2 load gl via dlopen
+ and configure test does not find it anymore.
+
+ -- Achim Bohnet <ach@mpe.mpg.de> Wed, 25 Aug 2004 22:03:57 +0200
+
+kipi-plugins (0.0.cvs20040726-1) experimental; urgency=low
+
+ * cvs update 26-Jul-2004
+ * add Replaces: digikam-plugins to prevent images2mpg clash
+
+ -- Achim Bohnet <ach@mpe.mpg.de> Mon, 26 Jul 2004 23:55:23 +0200
+
+kipi-plugins (0.0.cvs20040721-1) experimental; urgency=low
+
+ * Initial Release.
+ * WARNING: experimental pkg
+
+ -- Achim Bohnet <ach@mpe.mpg.de> Wed, 21 Jul 2004 02:15:56 +0200
+
diff --git a/debian/_base/libraries/kipi-plugins/debian/compat b/debian/_base/libraries/kipi-plugins/debian/compat
new file mode 100644
index 000000000..7f8f011eb
--- /dev/null
+++ b/debian/_base/libraries/kipi-plugins/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/_base/libraries/kipi-plugins/debian/control b/debian/_base/libraries/kipi-plugins/debian/control
new file mode 100644
index 000000000..e859463bb
--- /dev/null
+++ b/debian/_base/libraries/kipi-plugins/debian/control
@@ -0,0 +1,90 @@
+Source: kipi-plugins-trinity
+Section: tde
+Priority: optional
+Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Uploaders: Mark Purcell <msp@debian.org>, Achim Bohnet <ach@mpe.mpg.de>, Fathi Boudra <fabo@debian.org>
+Build-Depends: cdbs, debhelper (>= 7.0.50~), quilt, pkg-config, tdelibs14-trinity-dev,
+ libexiv2-dev, libgphoto2-dev | libgphoto2-6-dev | libgphoto2-2-dev, libgpod-nogtk-dev | libgpod-dev (>> 0.8.3-8),
+ libtdepim1-trinity-dev, libkdcraw3-trinity-dev, libkexiv2-3-trinity-dev,
+ libkipi0-trinity-dev, libtiff-dev, libxslt1-dev, tdepim-trinity-dev,
+ automake, autoconf, libtool, libltdl-dev
+Standards-Version: 3.8.4
+Homepage: http://www.kipi-plugins.org/
+
+Package: kipi-plugins-trinity
+Architecture: any
+Depends: ${shlibs:Depends}
+Replaces: kipi-plugins-trinity (<< 4:14.0.0~)
+Breaks: kipi-plugins-trinity (<< 4:14.0.0~)
+Recommends: k3b-trinity, graphicsmagick-imagemagick-compat (>=1.1.7) | imagemagick (>=5.4.8), kmail-trinity, tdeprint-trinity, sane-utils, kooka-trinity, konqueror-trinity, mpg123
+Suggests: gimp, gallery, kipi-plugins-trinity-doc
+Enhances: digikam-trinity, kphotoalbum-trinity, showimg, gwenview-trinity
+Description: image manipulation/handling plugins for KIPI aware programs [Trinity]
+ KIPI plugins (TDE Image Plugin Interface) is an effort to develop a
+ common plugin structure for Digikam, KPhotoAlbum (formerly known as
+ KimDaBa), Showimg and Gwenview.
+ Its aim is to share image plugins among graphic applications.
+ .
+ Plugins available are:
+ .
+ RawConverter: Raw image converter for digital cameras
+ SlideShow: Slideshow with effects ripped out from kslideshow
+ and 3D effects using OpenGL
+ MpegEncoder: Create an MPEG slideshow from your images
+ PrintWizard: A wizard to print images in various format
+ JpegLossLess: Batch process your JPEG images without losing meta
+ information and compression
+ CdArchiving: Archive your albums on CD or DVD using K3b
+ ScanImages: Scanner management using Kooka
+ ScreenshotImages: Snap screen based on KSnapshot and adapted to Kipi
+ Calendar: Sreate calendars with images
+ SendImages: Send images by email, allowing resizing
+ and recompressing before sending
+ RenameImages: Batch image renamer
+ ConvertImages: Batch image converter
+ BorderImages: Add border to your images in batch
+ FilterImages: Batch image enhancer using digital filters
+ ColorImages: Batch image color enhancer
+ EffectImages: Batch image transformation effects
+ ResizeImages: Batch image resizer
+ RecompressImages: Batch image recompressor
+ FindDuplicateImages: Find duplicate images in albums
+ TimeAdjust: Adjust image file time and date
+ WallPaper: Set your image as wallpaper
+ FindImages: Find duplicate images in albums
+ GalleryExport: Interface for export images collections to remote
+ Gallery (and Gallery 2) servers
+ FlickrExport: Export images to a remote Flickr web service
+ HTMLGallery: Export images to HTML
+ SimpleviewerExport: Export images in a nice flash movie
+ GPSSync: Geolocalize pictures
+ MetadataEdit: Edit EXIF and IPTC pictures metadata
+ IpodExport: Export images to an ipod device
+ PicasaWebExport: Export pictures to Picasa web service
+ .
+ Documentation of the plugins is available in the package kipi-plugins-doc.
+
+Package: kipi-plugins-trinity-doc
+Architecture: all
+Section: doc
+Replaces: kipi-plugins-trinity-doc (<< 4:14.0.0~)
+Breaks: kipi-plugins-trinity-doc (<< 4:14.0.0~)
+Depends: khelpcenter-trinity
+Suggests: kipi-plugins-trinity
+Description: kipi-plugins documentation [Trinity]
+ KIPI plugins (TDE Image Plugin Interface) is an effort to develop a
+ common plugin structure for Digikam, KPhotoAlbum (formerly known as
+ KimDaBa), Showimg and Gwenview.
+ Its aim is to share image plugins among graphic applications.
+ .
+ Kipi-plugins-doc contains the handbooks for the following languages:
+ .
+ de - German
+ en - English
+ es - Spanish
+ et - Estonian
+ it - Italien
+ nl - Dutch
+ pt(BR) - Brazilian
+ sv - Swedish
+
diff --git a/debian/_base/libraries/kipi-plugins/debian/copyright b/debian/_base/libraries/kipi-plugins/debian/copyright
new file mode 100644
index 000000000..3df46fc7f
--- /dev/null
+++ b/debian/_base/libraries/kipi-plugins/debian/copyright
@@ -0,0 +1,264 @@
+This package was debianized by Achim Bohnet <ach@mpe.mpg.de>
+on Mon, 21 Jun 2004 02:12:22 +0200
+
+It was downloaded from http://www.kipi-plugins.org
+
+Upstream authors and copyright holders:
+
+ MAIN DEVELOPERS:
+
+ Gilles Caulier <caulier.gilles@kdemail.net>
+ Marcel Wiesweg <marcel.wiesweg@gmx.de>
+ Vardhman Jain <vardhman@gmail.com>
+ Colin Guthrie <kde@colin.guthr.ie>
+ Aurelien Gateau <aurelien.gateau@free.fr>
+ Valerio Fuoglio <valerio.fuoglio@gmail.com>
+ Angelo Naselli <anaselli@linux.it>
+ Seb Ruiz <me@sebruiz.net>
+ Jesper K. Pedersen <blackie@kde.org>
+
+ CONTRIBUTORS:
+
+ Gerhard Kulzer <gerhard@kulzer.net>
+ Orgad Shaneh <orgads@gmail.com>
+ Achim Bohnet <ach@mpe.mpg.de>
+ Michael Höchstetter <michae.hoechstetter@gmx.de>
+ Joern Ahrens <joern.ahrens@kdemail.net>
+ Rüdiger Bente <ruediger.bente@gmx.de>
+ Beth Marmorstein <purplegamba@cox.net>
+ Tudor Calin <tudor@1xtech.com>
+ Robert Marmorstein <rmmarm@sdf.lonestar.org>
+ Owen Hirst <n8rider@sbcglobal.net>
+ Richard Groult <Richard.Groult@jalix.org>
+ Todd Shoemaker <todd@theshoemakers.net>
+ Gregory Kokanosky <gregory.kokanosky@free.fr>
+ Maciek Borowka <maciek@borowka.net>
+ Stéphane Pontier <shadow.walker@free.fr>
+ Lukas Tinkl <lukas@kde.org>
+ Andreas Schlapbach <schlpbch@iam.unibe.ch>
+ Marti Maria
+ Richard J. Moore
+ Matthias Ettrich
+ Aaron J. Seigo
+
+ FORMER MAINTAINER:
+
+ Renchi Raju <renchi@pooh.tam.uiuc.edu>
+ Tom Albers <tomalbers@kde.nl>
+ Ralf Hoelzer <kde@ralfhoelzer.com>
+
+ PLUGINS MAINTAINERS:
+
+ Acquire Images: Jesper K. Pedersen <blackie@kde.org>
+ Batch Process: Aurelien Gateau <aurelien.gateau@free.fr>
+ Calendar: Orgad Shaneh <orgads@gmail.com>
+ CD Archiving: Angelo Naselli <anaselli@linux.it>
+ Find Images: Jesper K. Pedersen <blackie@kde.org>
+ Richard Groult <Richard.Groult@jalix.org>
+ Flickr Export: Vardhman Jain <vardhman@gmail.com>
+ Gallery Export: Colin Guthrie <kde@colin.guthr.ie>
+ GPSSync: Gilles Caulier <caulier.gilles@kdemail.net>
+ HTML Export: Aurelien Gateau <aurelien.gateau@free.fr>
+ Image Viewer: Markus Leuthold <kusi@forum.titlis.org>
+ IPod Export: Seb Ruiz <me@sebruiz.net>
+ Jpeglossless: Gilles Caulier <caulier.gilles@kdemail.net>
+ Kamera Klient: Aurelien Gateau <aurelien.gateau@free.fr>
+ Michael J. Gruber <michaeljgruber+kphotoalbum@fastmail.fm>
+ MetadataEdit: Gilles Caulier <caulier.gilles@kdemail.net>
+ MPEG Encoder: Angelo Naselli <anaselli@linux.it>
+ Valerio Fuoglio <valerio.fuoglio@gmail com>
+ Picasa Web Export: Vardhman Jain <vardhman@gmail.com>
+ Print Wizard: Angelo Naselli <anaselli@linux.it>
+ RAW Converter: Gilles Caulier <caulier.gilles@kdemail.net>
+ Sendimages: Michael Höchstetter <michael.hoechstetter@gmx.de>
+ Simpleviewer Export: Joern Ahrens <joern.ahrens@kdemail.net>
+ Slideshow: Valerio Fuoglio <valerio.ulteo.com>
+ Time Adjust: Gilles Caulier <caulier.gilles@kdemail.net>
+ Wallpaper: Jesper K. Pedersen <blackie@kde.org>
+
+Documentation:
+
+ Gilles Caulier <caulier.gilles@gmail.com>
+ Gerhard Kulzer <gerhard@kulzer.net>
+
+Licenses:
+
+The plugins use the GPL:
+
+ acquireimage, batchprocessimages, calendar, cdarching,
+ findimages, helloworld, gpssync, ipodexport, jpeglossless, galleryexport
+ kameraimage, metadataedit, mpegencoder, printwizard, rawconverter,
+ sendimages, simpleviewer, slideshow, timeadjust, flickrexport,
+ ipodexport, gpssync, metadata, wallpaper and picasawebexport.
+
+For GPL two variants are used one with and one without the 3rd paragraph:
+
+ 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.
+
+and
+
+ 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.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in /usr/share/common-licenses/GPL file.
+
+kipi-plugins/rawconverter/iccjpeg.h uses X11 (BSD like) license:
+
+ * 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.
+
+
+jpeglossless plugins contains jpegint.h and jinclude.h from
+libjpeg62. Here's the copy- and distribution rights part from
+kipi-plugins/jpeglossless/libjpeg62.README in the source:
+
+
+ The Independent JPEG Group's JPEG software
+ ==========================================
+
+ README for release 6b of 27-Mar-1998
+ ====================================
+
+ This distribution contains the sixth public release of the Independent JPEG
+ Group's free JPEG software. You are welcome to redistribute this software and
+ to use it for any purpose, subject to the conditions under LEGAL ISSUES, below.
+
+ [...]
+
+ LEGAL ISSUES
+ ============
+
+ In plain English:
+
+ 1. We don't promise that this software works. (But if you find any bugs,
+ please let us know!)
+ 2. You can use this software for whatever you want. You don't have to pay us.
+ 3. You may not pretend that you wrote this software. If you use it in a
+ program, you must acknowledge somewhere in your documentation that
+ you've used the IJG code.
+
+ In legalese:
+
+ The authors make NO WARRANTY or representation, either express or implied,
+ with respect to this software, its quality, accuracy, merchantability, or
+ fitness for a particular purpose. This software is provided "AS IS", and you,
+ its user, assume the entire risk as to its quality and accuracy.
+
+ This software is copyright (C) 1991-1998, Thomas G. Lane.
+ All Rights Reserved except as specified below.
+
+ Permission is hereby granted to use, copy, modify, and distribute this
+ software (or portions thereof) for any purpose, without fee, subject to these
+ conditions:
+ (1) If any part of the source code for this software is distributed, then this
+ README file must be included, with this copyright and no-warranty notice
+ unaltered; and any additions, deletions, or changes to the original files
+ must be clearly indicated in accompanying documentation.
+ (2) If only executable code is distributed, then the accompanying
+ documentation must state that "this software is based in part on the work of
+ the Independent JPEG Group".
+ (3) Permission for use of this software is granted only if the user accepts
+ full responsibility for any undesirable consequences; the authors accept
+ NO LIABILITY for damages of any kind.
+
+ These conditions apply to any software derived from or based on the IJG code,
+ not just to the unmodified library. If you use our work, you ought to
+ acknowledge us.
+
+ Permission is NOT granted for the use of any IJG author's name or company name
+ in advertising or publicity relating to this software or products derived from
+ it. This software may be referred to only as "the Independent JPEG Group's
+ software".
+
+ We specifically permit and encourage the use of this software as the basis of
+ commercial products, provided that all warranty or liability claims are
+ assumed by the product vendor.
+
+
+ ansi2knr.c is included in this distribution by permission of L. Peter Deutsch,
+ sole proprietor of its copyright holder, Aladdin Enterprises of Menlo Park, CA.
+ ansi2knr.c is NOT covered by the above copyright and conditions, but instead
+ by the usual distribution terms of the Free Software Foundation; principally,
+ that you must include source code if you redistribute it. (See the file
+ ansi2knr.c for full details.) However, since ansi2knr.c is not needed as part
+ of any program generated from the IJG code, this does not limit you more than
+ the foregoing paragraphs do.
+
+ The Unix configuration script "configure" was produced with GNU Autoconf.
+ It is copyright by the Free Software Foundation but is freely distributable.
+ The same holds for its supporting scripts (config.guess, config.sub,
+ ltconfig, ltmain.sh). Another support script, install-sh, is copyright
+ by M.I.T. but is also freely distributable.
+
+ It appears that the arithmetic coding option of the JPEG spec is covered by
+ patents owned by IBM, AT&T, and Mitsubishi. Hence arithmetic coding cannot
+ legally be used without obtaining one or more licenses. For this reason,
+ support for arithmetic coding has been removed from the free JPEG software.
+ (Since arithmetic coding provides only a marginal gain over the unpatented
+ Huffman mode, it is unlikely that very many implementations will support it.)
+ So far as we are aware, there are no patent restrictions on the remaining
+ code.
+
+ The IJG distribution formerly included code to read and write GIF files.
+ To avoid entanglement with the Unisys LZW patent, GIF reading support has
+ been removed altogether, and the GIF writer has been simplified to produce
+ "uncompressed GIFs". This technique does not use the LZW algorithm; the
+ resulting GIF files are larger than usual, but are readable by all standard
+ GIF decoders.
+
+ We are required to state that
+ "The Graphics Interchange Format(c) is the Copyright property of
+ CompuServe Incorporated. GIF(sm) is a Service Mark property of
+ CompuServe Incorporated."
+
+
+ REFERENCES
+ ==========
+
+ [...]
+
+The documentations provided with kipi-plugins is distributed under
+the GNU Free Documentation License (FDL). They are considered free with
+regards to the Debian Free Software Guidelines (DFSG) because they don't
+contain any unmodifiable parts (invariant sections).
+
+On Debian systems, the complete text of the GNU Free Documentation
+License can be found in `/usr/share/common-licenses/GFDL'.
diff --git a/debian/_base/libraries/kipi-plugins/debian/kipi-plugins-trinity-doc.install b/debian/_base/libraries/kipi-plugins/debian/kipi-plugins-trinity-doc.install
new file mode 100644
index 000000000..458ab7b51
--- /dev/null
+++ b/debian/_base/libraries/kipi-plugins/debian/kipi-plugins-trinity-doc.install
@@ -0,0 +1,2 @@
+debian/tmp/opt/trinity/share/doc/*
+debian/tmp/opt/trinity/share/applnk/.hidden/kipi-plugins.desktop
diff --git a/debian/_base/libraries/kipi-plugins/debian/kipi-plugins-trinity.install b/debian/_base/libraries/kipi-plugins/debian/kipi-plugins-trinity.install
new file mode 100644
index 000000000..b01d3720f
--- /dev/null
+++ b/debian/_base/libraries/kipi-plugins/debian/kipi-plugins-trinity.install
@@ -0,0 +1,7 @@
+debian/tmp/opt/trinity/share/services/kipiplugin*
+debian/tmp/opt/trinity/share/apps/kipi*
+debian/tmp/opt/trinity/share/config.kcfg/htmlexportconfig.kcfg
+debian/tmp/opt/trinity/share/locale/*
+debian/tmp/opt/trinity/lib/trinity/kipiplugin*
+debian/tmp/opt/trinity/lib/libkipiplugins.*
+debian/tmp/opt/trinity/bin/*
diff --git a/debian/_base/libraries/kipi-plugins/debian/kipi-plugins-trinity.manpages b/debian/_base/libraries/kipi-plugins/debian/kipi-plugins-trinity.manpages
new file mode 100644
index 000000000..9d593ba97
--- /dev/null
+++ b/debian/_base/libraries/kipi-plugins/debian/kipi-plugins-trinity.manpages
@@ -0,0 +1 @@
+debian/tmp/opt/trinity/share/man/man1/images2mpg.1
diff --git a/debian/_base/libraries/kipi-plugins/debian/patches/series b/debian/_base/libraries/kipi-plugins/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/_base/libraries/kipi-plugins/debian/patches/series
diff --git a/debian/_base/libraries/kipi-plugins/debian/rules b/debian/_base/libraries/kipi-plugins/debian/rules
new file mode 100755
index 000000000..069780e39
--- /dev/null
+++ b/debian/_base/libraries/kipi-plugins/debian/rules
@@ -0,0 +1,26 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include debian/cdbs/debian-qt-kde.mk
+#include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+include /usr/share/cdbs/1/rules/utils.mk
+
+DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
+DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
+DEB_CONFIGURE_PREFIX := /opt/trinity
+DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
+
+cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+
+DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-Wl,--as-needed"
+
+DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde
+
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
+clean ::
+ rm -f po/*/*.gmo
+
+binary-install/kipi-plugins-trinity::
+ mv debian/kipi-plugins-trinity/usr/share/man debian/kipi-plugins-trinity/opt/trinity/share/
diff --git a/debian/_base/libraries/kipi-plugins/debian/source/format b/debian/_base/libraries/kipi-plugins/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/debian/_base/libraries/kipi-plugins/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/_base/libraries/kipi-plugins/debian/source/options b/debian/_base/libraries/kipi-plugins/debian/source/options
new file mode 100644
index 000000000..72f1f5450
--- /dev/null
+++ b/debian/_base/libraries/kipi-plugins/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/libraries/kipi-plugins/debian/watch b/debian/_base/libraries/kipi-plugins/debian/watch
new file mode 100644
index 000000000..8e5bdb026
--- /dev/null
+++ b/debian/_base/libraries/kipi-plugins/debian/watch
@@ -0,0 +1,5 @@
+# See uscan(1) for format
+version=3
+opts=dversionmangle=s/~/-/ \
+ http://sf.net/kipi/kipi-plugins-(.*)\.tar\.bz2 debian svn-upgrade
+
diff --git a/debian/_base/libraries/libkdcraw/debian/cdbs/debian-qt-kde.mk b/debian/_base/libraries/libkdcraw/debian/cdbs/debian-qt-kde.mk
new file mode 100644
index 000000000..9f8f97776
--- /dev/null
+++ b/debian/_base/libraries/libkdcraw/debian/cdbs/debian-qt-kde.mk
@@ -0,0 +1,115 @@
+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
+
+# 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:
+ 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;
+ touch debian/stamp-cvs-make
+
+include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
+
+ifndef _cdbs_rules_patchsys_quilt
+DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
+
+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)
+
+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
+
+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 )
+
+clean::
+ rm -rf debian/man/out
+ -rmdir debian/man
+ rm -f debian/stamp-man-pages
+ rm -rf debian/shlibs-check
+
+$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
+ 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
+
+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
+
+clean::
+ 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
+ rm -f debian/stamp-cvs-make
+
+endif
diff --git a/debian/_base/libraries/libkdcraw/debian/cdbs/kde.mk b/debian/_base/libraries/libkdcraw/debian/cdbs/kde.mk
new file mode 100644
index 000000000..1ac26c4b7
--- /dev/null
+++ b/debian/_base/libraries/libkdcraw/debian/cdbs/kde.mk
@@ -0,0 +1,89 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2003 Christopher L Cheney <ccheney@debian.org>
+# Description: A class for KDE packages; sets KDE 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.
+
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+
+ifndef _cdbs_class_kde
+_cdbs_class_kde := 1
+
+# for dh_icons
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), debhelper (>= 5.0.7ubuntu4)
+
+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
+
+include $(_cdbs_class_path)/autotools.mk$(_cdbs_makefile_suffix)
+
+export kde_cgidir = \$${libdir}/cgi-bin
+export kde_confdir = \$${sysconfdir}/trinity
+export kde_htmldir = \$${datadir}/doc/tde/HTML
+
+ifeq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_final = $(if $(DEB_KDE_ENABLE_FINAL),--enable-final,)
+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
+
+cdbs_configure_flags += --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+
+DEB_AC_AUX_DIR = $(DEB_SRCDIR)/admin
+DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include/tde"
+DEB_COMPRESS_EXCLUDE = .dcl .docbook -license .tag .sty .el
+
+$(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
+
+cleanbuilddir::
+ -$(if $(call cdbs_streq,$(DEB_BUILDDIR),$(DEB_SRCDIR)),,rm -rf $(DEB_BUILDDIR))
+
+common-build-arch common-build-indep:: debian/stamp-kde-apidox
+debian/stamp-kde-apidox:
+ $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) apidox)
+ touch $@
+
+common-install-arch common-install-indep:: common-install-kde-apidox
+common-install-kde-apidox::
+ $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) install-apidox DESTDIR=$(DEB_DESTDIR))
+
+clean::
+ rm -f debian/stamp-kde-apidox
+
+# This is a convenience target for calling manually. It's not part of
+# the build process.
+buildprep: clean apply-patches
+ $(MAKE) -f admin/Makefile.common dist
+ debian/rules clean
+
+endif
diff --git a/debian/_base/libraries/libkdcraw/debian/cdbs/versions.pl b/debian/_base/libraries/libkdcraw/debian/cdbs/versions.pl
new file mode 100644
index 000000000..1b110f7af
--- /dev/null
+++ b/debian/_base/libraries/libkdcraw/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/libraries/libkdcraw/debian/changelog b/debian/_base/libraries/libkdcraw/debian/changelog
new file mode 100644
index 000000000..8e67c2b79
--- /dev/null
+++ b/debian/_base/libraries/libkdcraw/debian/changelog
@@ -0,0 +1,128 @@
+libkdcraw-trinity (0.1.9-0ubuntu1) karmic; urgency=low
+
+ * Karmic rebuild
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 02 Jul 2009 16:08:00 -0600
+
+libkdcraw-trinity (0.1.4-0ubuntu2) intrepid; urgency=low
+
+ * Moved Trinity to /opt/trinity
+ * Integrated properly with KDE4.2+
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Wed, 05 March 2009 01:11:00 -0600
+
+libkdcraw-trinity (0.1.4-0ubuntu1) intrepid; urgency=low
+
+ * Added -trinity suffix
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Wed, 17 Dec 2008 15:41:00 -0600
+
+libkdcraw (0.1.4-2ubuntu1) intrepid; urgency=low
+
+ * Rename libkdcraw-dev to libkdcraw3-dev (new libkdcraw-dev is
+ KDE 4 version).
+
+ -- Jonathan Riddell <jriddell@ubuntu.com> Thu, 11 Sep 2008 13:38:38 +0100
+
+libkdcraw (0.1.4-2) unstable; urgency=low
+
+ [ Achim Bohnet ]
+ * Don't install translation and icon. Their path or filename should
+ include API major version. We working with upstream on solution
+ for the next release.
+ * debian/copyright: replace the last 'Copyright (C)' with (C).
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Sun, 16 Mar 2008 15:24:00 +0100
+
+libkdcraw (0.1.4-1) unstable; urgency=low
+
+ * New upstream release:
+ + new API breaks backward compatibility
+ + updates dcraw to 8.83
+
+ [ Achim Bohnet ]
+ * Adapt for API major 2 -> 3: debian/control debian/libkdcraw3.install
+ * Update debian/copyright
+ * Bump standards version 3.7.2 -> 3.7.3: No changes necessary
+
+ [ Fathi Boudra ]
+ * Add myself in Uploaders
+ * Switch to quilt patch system
+ * Install kdcraw icons and libkdcraw translations
+ * Clean up debian/rules:
+ * Drop autotools.mk include
+ * Drop -fpermissive flag
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Sun, 16 Mar 2008 14:05:34 +0100
+
+libkdcraw (0.1.3-1) unstable; urgency=low
+
+ * New upstream release
+
+ [ Achim Bohnet ]
+ * debian/copyright:
+ + new, again DSFG compliant, dcwraw license.
+ + upstream authors.
+ * debian/control:
+ + use Vcs-* instead of XS-Vcs-* as Vcs-* are now official.
+ + add the new Homepage header field. Remove homepage URL from long
+ the description.
+ * debian/rules: use LDFLAGS="-Wl,--no-undefined -Wl,--as-needed" to
+ reference only to libs that are really needed. Dependency count
+ drops from 25 to 6.
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Sat, 29 Dec 2007 23:31:02 +0100
+
+libkdcraw (0.1.2-1) unstable; urgency=low
+
+ * New upstream release
+ * Bump soname to package libkdcraw2
+
+ -- Mark Purcell <msp@debian.org> Fri, 28 Sep 2007 17:47:35 +0100
+
+
+libkdcraw (0.1.1-2) unstable; urgency=low
+
+ [ Achim Bohnet ]
+ * relibtoolize libkdcraw: Depends now on 7 packages instead of 25.
+ Add simple-patchsys.mk to debian/rules to apply the patches:
+ patches/03_libtool_update.diff
+ patches/04_am_maintainer_mode.diff
+ patches/05_pedantic-errors.diff
+ patches/98_buildprep.diff
+ patches/98_configure.diff: makes $LIB_QT only -lqt-mt and LIB_TDECORE
+ only -ltdecore
+ * Add utils.mk to debian/rules to have list-missing target
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Tue, 26 Jun 2007 07:31:15 +0100
+
+libkdcraw (0.1.1-1) experimental; urgency=low
+
+ * New upstream release
+ * new ABI major version - bump soname libkdcraw1
+
+ [ Achim Bohnet ]
+ * remove libkdcraw-runtime pkgs. The library helper application
+ kdcraw is now in a libary private dir, as required by
+ http://www.pathname.com/fhs/pub/fhs-2.3.html#USRLIBLIBRARIESFORPROGRAMMINGANDPA
+ * adapt debian packaging files for ABI major version change from 0 -> 1
+ * Build depends: add pkg-config. Used in tests of configure.
+
+ [ Mark Purcell ]
+ * Lintian cleanup: substvar-source-version-is-deprecated
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Thu, 14 Jun 2007 18:03:36 +0100
+
+libkdcraw (0.1.0-2) unstable; urgency=low
+
+ [ Mark Purcell ]
+ * Add libkdcraw-runtime to package kdcraw runtime binary
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Sun, 20 May 2007 18:31:43 +0100
+
+libkdcraw (0.1.0-1) unstable; urgency=low
+
+ * Initial release. (Closes: #411783: ITP: libkdcraw -- Raw picture
+ decoding C++ library - Debian Bug report logs)
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Wed, 09 May 2007 21:14:12 +0100
diff --git a/debian/_base/libraries/libkdcraw/debian/compat b/debian/_base/libraries/libkdcraw/debian/compat
new file mode 100644
index 000000000..7f8f011eb
--- /dev/null
+++ b/debian/_base/libraries/libkdcraw/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/_base/libraries/libkdcraw/debian/control b/debian/_base/libraries/libkdcraw/debian/control
new file mode 100644
index 000000000..5b7f34285
--- /dev/null
+++ b/debian/_base/libraries/libkdcraw/debian/control
@@ -0,0 +1,39 @@
+Source: libkdcraw-trinity
+Section: libs
+Priority: optional
+Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+XSBC-Original-Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
+Uploaders: Mark Purcell <msp@debian.org>, Achim Bohnet <ach@mpe.mpg.de>, Fathi Boudra <fabo@debian.org>
+Build-Depends: cdbs, debhelper (>= 7.0.50~), quilt, tdelibs14-trinity-dev,
+ liblcms2-dev | liblcms1-dev, libjpeg-dev, pkg-config,
+ automake, autoconf, libtool, libltdl-dev
+Standards-Version: 3.8.4
+Homepage: http://www.kipi-plugins.org/
+
+Package: libkdcraw3-trinity-dev
+Section: libdevel
+Architecture: any
+Replaces: libkdcraw3-trinity-dev (<< 4:14.0.0~)
+Breaks: libkdcraw3-trinity-dev (<< 4:14.0.0~)
+Depends: libkdcraw3-trinity (= ${binary:Version}), ${lcms-dev}, pkg-config
+Conflicts: libkdcraw-dev
+Description: RAW picture decoding C++ library (development) [Trinity]
+ Libkdcraw is a C++ interface around dcraw binary program used to
+ decode Raw picture files.
+ .
+ libkdcraw-dev contains development files and documentation. The
+ library documentation is available on kdcraw.h header file.
+
+Package: libkdcraw3-trinity
+Section: libs
+Architecture: any
+Replaces: libkdcraw3-trinity (<< 4:14.0.0~)
+Breaks: libkdcraw3-trinity (<< 4:14.0.0~)
+Depends: ${shlibs:Depends}
+Description: Raw picture decoding C++ library (runtime) [Trinity]
+ C++ interface around dcraw binary program used to decode RAW
+ picture files.
+ .
+ This library is used by kipi-plugins, digiKam and others kipi host programs.
+ .
+ libkdcraw3 contains the library of libkdcraw.
diff --git a/debian/_base/libraries/libkdcraw/debian/copyright b/debian/_base/libraries/libkdcraw/debian/copyright
new file mode 100644
index 000000000..05b67ad60
--- /dev/null
+++ b/debian/_base/libraries/libkdcraw/debian/copyright
@@ -0,0 +1,72 @@
+This package was debianized by Achim Bohnet <ach@mpe.mpg.de>
+on Tue, 20-Feb-2007.
+
+It was downloaded from https://sourceforge.net/projects/kipi
+
+Upstream authors (from AUTHORS file):
+
+ Library wrapper:
+ Caulier Gilles <caulier.gilles@gmail.com>
+ Marcel Wiesweg <marcel.wiesweg@gmx.de>
+
+ CONTRIBUTORS:
+
+ Angelo Naselli <anaselli@linux.it>
+ Gerhard Kulzer <gerhard@kulzer.net>
+ Achim Bohnet <ach@mpe.mpg.de>
+ Guillaume Castagnino <casta@xwing.info>
+
+ (k)dcraw source and manpage
+ Dave Coffin <dcoffin@cybercom.net>
+
+AUTHORS AND MAINTAINERS :
+
+Copyright:
+
+ © 2005-2008 Gilles Caulier <caulier.gilles@gmail.com>
+ © 2006-2008 Marcel Wiesweg <marcel.wiesweg@gmx.de>
+ © 2007-2008 Guillaume Castagnino <casta@xwing.info>
+ © 2005 Laurent Montel <montel@kde.org>
+ © 1997-2008 Dave Coffin <dcoffin@cybercom.net>
+
+License:
+
+ 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.
+
+The Debian packaging is
+ © 2007 Mark Purcell <msp@debian.org>,
+ © 2007,2008 Achim Bohnet <ach@mpe.mpg.de>
+and is licensed under the GPL, see above.
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+libkdcraw/dcraw/ contains a copy of dcraw code. dcraw Copyright:
+
+ dcraw.c -- Dave Coffin's raw photo decoder
+ Copyright 1997-2008 by Dave Coffin, dcoffin a cybercom o net
+
+ This is a command-line ANSI C program to convert raw photos from
+ any digital camera on any computer running any operating system.
+
+ No license is required to download and use dcraw.c. However,
+ to lawfully redistribute dcraw, you must either (a) offer, at
+ no extra charge, full source code* for all executable files
+ containing RESTRICTED functions, (b) distribute this code under
+ the GPL Version 2 or later, (c) remove all RESTRICTED functions,
+ re-implement them, or copy them from an earlier, unrestricted
+ Revision of dcraw.c, or (d) purchase a license from the author.
+
+ The functions that process Foveon images have been RESTRICTED
+ since Revision 1.237. All other code remains free for all uses.
+
+ *If you have not modified dcraw.c in any way, a link to my
+ homepage qualifies as "full source code".
diff --git a/debian/_base/libraries/libkdcraw/debian/docs b/debian/_base/libraries/libkdcraw/debian/docs
new file mode 100644
index 000000000..50bd824bb
--- /dev/null
+++ b/debian/_base/libraries/libkdcraw/debian/docs
@@ -0,0 +1,2 @@
+NEWS
+README
diff --git a/debian/_base/libraries/libkdcraw/debian/libkdcraw3-trinity-dev.install b/debian/_base/libraries/libkdcraw/debian/libkdcraw3-trinity-dev.install
new file mode 100644
index 000000000..c07b71b2d
--- /dev/null
+++ b/debian/_base/libraries/libkdcraw/debian/libkdcraw3-trinity-dev.install
@@ -0,0 +1,4 @@
+/opt/trinity/include/*
+opt/trinity/lib/lib*.so
+opt/trinity/lib/pkgconfig/*
+opt/trinity/lib/*.la
diff --git a/debian/_base/libraries/libkdcraw/debian/libkdcraw3-trinity.install b/debian/_base/libraries/libkdcraw/debian/libkdcraw3-trinity.install
new file mode 100644
index 000000000..cdef643e7
--- /dev/null
+++ b/debian/_base/libraries/libkdcraw/debian/libkdcraw3-trinity.install
@@ -0,0 +1 @@
+opt/trinity/lib/lib*.so.*
diff --git a/debian/_base/libraries/libkdcraw/debian/rules b/debian/_base/libraries/libkdcraw/debian/rules
new file mode 100755
index 000000000..bdf76c112
--- /dev/null
+++ b/debian/_base/libraries/libkdcraw/debian/rules
@@ -0,0 +1,25 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include debian/cdbs/debian-qt-kde.mk
+#include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+include /usr/share/cdbs/1/rules/utils.mk
+
+DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
+DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
+DEB_CONFIGURE_PREFIX := /opt/trinity
+DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
+
+cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+
+DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-Wl,--no-undefined -Wl,--as-needed"
+DEB_DH_INSTALL_ARGS := --sourcedir=debian/tmp
+
+DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib
+
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
+# add installed liblcms*-dev to libkdcraw3-trinity-dev depends
+common-binary-arch::
+ (dpkg --get-selections "liblcms*-dev" | awk '{split($$1, p, ":"); lcms=lcms p[1] ","} END { print "lcms-dev=" lcms}' >>debian/libkdcraw3-trinity-dev.substvars)
diff --git a/debian/_base/libraries/libkdcraw/debian/source/format b/debian/_base/libraries/libkdcraw/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/debian/_base/libraries/libkdcraw/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/_base/libraries/libkdcraw/debian/source/options b/debian/_base/libraries/libkdcraw/debian/source/options
new file mode 100644
index 000000000..72f1f5450
--- /dev/null
+++ b/debian/_base/libraries/libkdcraw/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/libraries/libkdcraw/debian/watch b/debian/_base/libraries/libkdcraw/debian/watch
new file mode 100644
index 000000000..ba648e43d
--- /dev/null
+++ b/debian/_base/libraries/libkdcraw/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://sf.net/kipi/libkdcraw-(.*)\.tar\.bz2 debian svn-upgrade
+
diff --git a/debian/_base/libraries/libkexiv2/debian/README.Debian b/debian/_base/libraries/libkexiv2/debian/README.Debian
new file mode 100644
index 000000000..b49d315a1
--- /dev/null
+++ b/debian/_base/libraries/libkexiv2/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/libraries/libkexiv2/debian/cdbs/debian-qt-kde.mk b/debian/_base/libraries/libkexiv2/debian/cdbs/debian-qt-kde.mk
new file mode 100644
index 000000000..60310a01a
--- /dev/null
+++ b/debian/_base/libraries/libkexiv2/debian/cdbs/debian-qt-kde.mk
@@ -0,0 +1,119 @@
+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
+
+# 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 debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
+
+ifndef _cdbs_rules_patchsys_quilt
+DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
+
+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)
+
+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
+
+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 )
+
+clean::
+ rm -rf debian/man/out
+ -rmdir debian/man
+ rm -f debian/stamp-man-pages
+ rm -rf debian/shlibs-check
+
+$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
+ 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
+
+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
+
+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 debian/stamp-cvs-make
+
+endif
diff --git a/debian/_base/libraries/libkexiv2/debian/cdbs/kde.mk b/debian/_base/libraries/libkexiv2/debian/cdbs/kde.mk
new file mode 100644
index 000000000..80176d63e
--- /dev/null
+++ b/debian/_base/libraries/libkexiv2/debian/cdbs/kde.mk
@@ -0,0 +1,91 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2003 Christopher L Cheney <ccheney@debian.org>
+# Description: A class for KDE packages; sets KDE 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.
+
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+
+ifndef _cdbs_class_kde
+_cdbs_class_kde := 1
+
+# for dh_icons
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), debhelper (>= 5.0.7ubuntu4)
+
+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
+
+export kde_cgidir = \$${libdir}/cgi-bin
+export kde_confdir = \$${sysconfdir}/trinity
+export kde_htmldir = \$${datadir}/doc/tde/HTML
+
+ifeq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_final = $(if $(DEB_KDE_ENABLE_FINAL),--enable-final,)
+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
+
+cdbs_configure_flags += --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+
+DEB_AC_AUX_DIR = $(DEB_SRCDIR)/admin
+DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include"
+DEB_COMPRESS_EXCLUDE = .dcl .docbook -license .tag .sty .el
+
+$(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
+
+cleanbuilddir::
+ -$(if $(call cdbs_streq,$(DEB_BUILDDIR),$(DEB_SRCDIR)),,rm -rf $(DEB_BUILDDIR))
+
+common-build-arch common-build-indep:: debian/stamp-kde-apidox
+debian/stamp-kde-apidox:
+ $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) apidox)
+ touch $@
+
+common-install-arch common-install-indep:: common-install-kde-apidox
+common-install-kde-apidox::
+ $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) install-apidox DESTDIR=$(DEB_DESTDIR))
+
+clean::
+ rm -f debian/stamp-kde-apidox
+
+# This is a convenience target for calling manually. It's not part of
+# the build process.
+buildprep: clean apply-patches
+ $(MAKE) -f admin/Makefile.common dist
+ debian/rules clean
+
+endif
diff --git a/debian/_base/libraries/libkexiv2/debian/cdbs/versions.pl b/debian/_base/libraries/libkexiv2/debian/cdbs/versions.pl
new file mode 100644
index 000000000..1b110f7af
--- /dev/null
+++ b/debian/_base/libraries/libkexiv2/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/libraries/libkexiv2/debian/changelog b/debian/_base/libraries/libkexiv2/debian/changelog
new file mode 100644
index 000000000..9070cbb58
--- /dev/null
+++ b/debian/_base/libraries/libkexiv2/debian/changelog
@@ -0,0 +1,73 @@
+libkexiv2-trinity (0.1.7-0ubuntu4) karmic; urgency=low
+
+ * Karmic rebuild
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 02 Jul 2009 16:08:00 -0600
+
+libkexiv2-trinity (0.1.7-0ubuntu2) intrepid; urgency=low
+
+ * Moved Trinity to /opt/trinity
+ * Integrated properly with KDE4.2+
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Wed, 05 March 2009 01:11:00 -0600
+
+libkexiv2-trinity (0.1.7-0ubuntu1) intrepid; urgency=low
+
+ * Added -trinity suffix
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Wed, 17 Dec 2008 15:46:00 -0600
+
+libkexiv2 (0.1.7-1ubuntu1) intrepid; urgency=low
+
+ * Rename libkexiv2-dev to libkexiv2-3-dev (new libkexiv2-dev is KDE 4 version)
+
+ -- Jonathan Riddell <jriddell@ubuntu.com> Thu, 11 Sep 2008 13:42:39 +0100
+
+libkexiv2 (0.1.7-1) unstable; urgency=low
+
+ * New upstream release
+ - digikam: digikam aborts: MakerTagInfo registry full (Closes:
+ #465495)
+
+ -- Mark Purcell <msp@debian.org> Tue, 22 Apr 2008 22:04:16 +1000
+
+libkexiv2 (0.1.6-1) unstable; urgency=low
+
+ * New upstream release
+ * lintian cleanup:
+ - use ${binary:Version} substvar-source-version-is-deprecated libkexiv2-dev
+ - Bump soname: package-name-doesnt-match-sonames libkexiv2-3
+
+ -- Mark Purcell <msp@debian.org> Fri, 28 Sep 2007 17:19:19 +0100
+
+libkexiv2 (0.1.5-1) unstable; urgency=low
+
+ * New upstream release
+
+ [Achim Bohnet]
+ * adapt packaging according to the API bump: libkexiv2.so.0 ->
+ libkexiv2.so.1
+ * libkexiv2-dev: depend on pkg-config because it contains a .pc file
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Fri, 11 May 2007 06:33:46 +0100
+
+libkexiv2 (0.1.1-1) unstable; urgency=low
+
+ * new upstream bugfix release
+
+ [ Achim Bohnet ]
+ * fix encoding of README.Debian: 8859-1 -> utf8. Thx to J. Riddell for
+ noticing.
+ * Update debian/copyright: Gilles email changed
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Sat, 24 Feb 2007 22:24:50 +0100
+
+libkexiv2 (0.1.0-1) unstable; urgency=low
+
+ [ Achim Bohnet ]
+ * Initial upload (Closes: #408758)
+
+ [ Mark Purcell ]
+ * Provide more robust debian/rules get-orig-source
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Sun, 18 Feb 2007 19:03:10 +0000
diff --git a/debian/_base/libraries/libkexiv2/debian/compat b/debian/_base/libraries/libkexiv2/debian/compat
new file mode 100644
index 000000000..7f8f011eb
--- /dev/null
+++ b/debian/_base/libraries/libkexiv2/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/_base/libraries/libkexiv2/debian/control b/debian/_base/libraries/libkexiv2/debian/control
new file mode 100644
index 000000000..6efeba28a
--- /dev/null
+++ b/debian/_base/libraries/libkexiv2/debian/control
@@ -0,0 +1,32 @@
+Source: libkexiv2-trinity
+Section: libs
+Priority: optional
+Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+XSBC-Original-Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
+Uploaders: Achim Bohnet <ach@mpe.mpg.de>, Mark Purcell <msp@debian.org>
+Build-Depends: debhelper (>= 7.0.50~), cdbs, cmake, libexiv2-dev, tdelibs14-trinity-dev
+Standards-Version: 3.8.4
+Homepage: http://www.kipi-plugins.org/
+
+Package: libkexiv2-3-trinity-dev
+Section: libdevel
+Architecture: any
+Replaces: libkexiv2-3-trinity-dev (<< 4:14.0.0~)
+Breaks: libkexiv2-3-trinity-dev (<< 4:14.0.0~)
+Depends: libkexiv2-3-trinity (= ${binary:Version}), pkg-config
+Description: Qt like interface for the libexiv2 library (development) [Trinity]
+ libkexif2-dev contains development files and documentation for libkexiv2
+ library. The library documentation is available on kexiv2.h header file.
+ .
+ Libkexif is a wrapper around Exiv2 library to manipulate pictures metadata.
+
+Package: libkexiv2-3-trinity
+Section: libs
+Architecture: any
+Replaces: libkexiv2-3-trinity (<< 4:14.0.0~)
+Breaks: libkexiv2-3-trinity (<< 4:14.0.0~)
+Depends: ${shlibs:Depends}
+Description: Qt like interface for the libexiv2 library (runtime) [Trinity]
+ libkexif2 contains the library of libkexiv2.
+ .
+ Libkexif is a wrapper around Exiv2 library to manipulate pictures metadata.
diff --git a/debian/_base/libraries/libkexiv2/debian/copyright b/debian/_base/libraries/libkexiv2/debian/copyright
new file mode 100644
index 000000000..2e711aec5
--- /dev/null
+++ b/debian/_base/libraries/libkexiv2/debian/copyright
@@ -0,0 +1,32 @@
+This package was debianized by Achim Bohnet on
+Sat, 27-Jan-2007.
+
+
+Upstream authors are (from AUTHORS file):
+
+ Caulier Gilles <caulier dot gilles at kdemail dot net>
+ Marcel Wiesweg <marcel dot wiesweg at gmx dot de>
+
+
+Copyrights:
+
+ Copyright 2006-2007 by Gilles Caulier <caulier dot gilles at gmail dot com>
+ Copyright 2006-2007 by Marcel Wiesweg <marcel dot wiesweg at gmx dot de>
+ Copyright 2005 Laurent Montel <montel@kde.org>
+
+
+License:
+
+ 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.
+
+The GNU General Public License version 2 can be found at
+/usr/share/common-licenses/GPL-2.
diff --git a/debian/_base/libraries/libkexiv2/debian/libkexiv2-3-trinity-dev.install b/debian/_base/libraries/libkexiv2/debian/libkexiv2-3-trinity-dev.install
new file mode 100644
index 000000000..1333fe738
--- /dev/null
+++ b/debian/_base/libraries/libkexiv2/debian/libkexiv2-3-trinity-dev.install
@@ -0,0 +1,4 @@
+debian/tmp/opt/trinity/include/*
+debian/tmp/opt/trinity/lib/pkgconfig/*
+debian/tmp/opt/trinity/lib/*.la
+debian/tmp/opt/trinity/lib/lib*.so
diff --git a/debian/_base/libraries/libkexiv2/debian/libkexiv2-3-trinity.install b/debian/_base/libraries/libkexiv2/debian/libkexiv2-3-trinity.install
new file mode 100644
index 000000000..11882501a
--- /dev/null
+++ b/debian/_base/libraries/libkexiv2/debian/libkexiv2-3-trinity.install
@@ -0,0 +1 @@
+debian/tmp/opt/trinity/lib/lib*.so.*
diff --git a/debian/_base/libraries/libkexiv2/debian/patches/.gitignore b/debian/_base/libraries/libkexiv2/debian/patches/.gitignore
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/_base/libraries/libkexiv2/debian/patches/.gitignore
diff --git a/debian/_base/libraries/libkexiv2/debian/rules b/debian/_base/libraries/libkexiv2/debian/rules
new file mode 100755
index 000000000..e5c16cf8a
--- /dev/null
+++ b/debian/_base/libraries/libkexiv2/debian/rules
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/cmake.mk
+#include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+include debian/cdbs/debian-qt-kde.mk
+
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
+DEB_CMAKE_EXTRA_FLAGS := \
+ -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/libraries/libkexiv2/debian/source/format b/debian/_base/libraries/libkexiv2/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/debian/_base/libraries/libkexiv2/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/_base/libraries/libkexiv2/debian/source/options b/debian/_base/libraries/libkexiv2/debian/source/options
new file mode 100644
index 000000000..72f1f5450
--- /dev/null
+++ b/debian/_base/libraries/libkexiv2/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/libraries/libkipi/debian/README.Debian b/debian/_base/libraries/libkipi/debian/README.Debian
new file mode 100644
index 000000000..b0302c211
--- /dev/null
+++ b/debian/_base/libraries/libkipi/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/libraries/libkipi/debian/TODO b/debian/_base/libraries/libkipi/debian/TODO
new file mode 100644
index 000000000..383c04cea
--- /dev/null
+++ b/debian/_base/libraries/libkipi/debian/TODO
@@ -0,0 +1,8 @@
+o check for doxygen docs -> -dev pkg (+ add to build deps)
+o add -dbg pkg
+o for parallel libkipi1 libkipi2 installs (see libkexif):
+ o append soname to msg catalog
+ o add a note in dev package about the renamed msg catalog
+ o check rdepends for addcatalogs(libkipi) calls and file
+ bug reports if necessary
+__END__
diff --git a/debian/_base/libraries/libkipi/debian/cdbs/debian-qt-kde.mk b/debian/_base/libraries/libkipi/debian/cdbs/debian-qt-kde.mk
new file mode 100644
index 000000000..60310a01a
--- /dev/null
+++ b/debian/_base/libraries/libkipi/debian/cdbs/debian-qt-kde.mk
@@ -0,0 +1,119 @@
+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
+
+# 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 debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
+
+ifndef _cdbs_rules_patchsys_quilt
+DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
+
+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)
+
+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
+
+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 )
+
+clean::
+ rm -rf debian/man/out
+ -rmdir debian/man
+ rm -f debian/stamp-man-pages
+ rm -rf debian/shlibs-check
+
+$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
+ 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
+
+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
+
+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 debian/stamp-cvs-make
+
+endif
diff --git a/debian/_base/libraries/libkipi/debian/cdbs/kde.mk b/debian/_base/libraries/libkipi/debian/cdbs/kde.mk
new file mode 100644
index 000000000..80176d63e
--- /dev/null
+++ b/debian/_base/libraries/libkipi/debian/cdbs/kde.mk
@@ -0,0 +1,91 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2003 Christopher L Cheney <ccheney@debian.org>
+# Description: A class for KDE packages; sets KDE 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.
+
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+
+ifndef _cdbs_class_kde
+_cdbs_class_kde := 1
+
+# for dh_icons
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), debhelper (>= 5.0.7ubuntu4)
+
+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
+
+export kde_cgidir = \$${libdir}/cgi-bin
+export kde_confdir = \$${sysconfdir}/trinity
+export kde_htmldir = \$${datadir}/doc/tde/HTML
+
+ifeq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_final = $(if $(DEB_KDE_ENABLE_FINAL),--enable-final,)
+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
+
+cdbs_configure_flags += --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+
+DEB_AC_AUX_DIR = $(DEB_SRCDIR)/admin
+DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include"
+DEB_COMPRESS_EXCLUDE = .dcl .docbook -license .tag .sty .el
+
+$(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
+
+cleanbuilddir::
+ -$(if $(call cdbs_streq,$(DEB_BUILDDIR),$(DEB_SRCDIR)),,rm -rf $(DEB_BUILDDIR))
+
+common-build-arch common-build-indep:: debian/stamp-kde-apidox
+debian/stamp-kde-apidox:
+ $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) apidox)
+ touch $@
+
+common-install-arch common-install-indep:: common-install-kde-apidox
+common-install-kde-apidox::
+ $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) install-apidox DESTDIR=$(DEB_DESTDIR))
+
+clean::
+ rm -f debian/stamp-kde-apidox
+
+# This is a convenience target for calling manually. It's not part of
+# the build process.
+buildprep: clean apply-patches
+ $(MAKE) -f admin/Makefile.common dist
+ debian/rules clean
+
+endif
diff --git a/debian/_base/libraries/libkipi/debian/cdbs/versions.pl b/debian/_base/libraries/libkipi/debian/cdbs/versions.pl
new file mode 100644
index 000000000..1b110f7af
--- /dev/null
+++ b/debian/_base/libraries/libkipi/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/libraries/libkipi/debian/changelog b/debian/_base/libraries/libkipi/debian/changelog
new file mode 100644
index 000000000..a08df16a5
--- /dev/null
+++ b/debian/_base/libraries/libkipi/debian/changelog
@@ -0,0 +1,236 @@
+libkipi-trinity (0.1.5-3intrepid0) karmic; urgency=low
+
+ * Karmic rebuild
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 02 Jul 2009 16:08:00 -0600
+
+libkipi-trinity (0.1.5-2intrepid6) jaunty; urgency=low
+
+ * Jaunty rebuild
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Tue, 28 April 2009 13:23:00 -0600
+
+libkipi-trinity (0.1.5-2intrepid5) intrepid; urgency=low
+
+ * Moved Trinity to /opt/trinity
+ * Integrated properly with KDE4.2+
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Wed, 05 March 2009 01:11:00 -0600
+
+libkipi-trinity (0.1.5-2intrepid3) intrepid; urgency=low
+
+ [ Timothy Pearson ]
+ * Added -trinity prefix
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Tue, 2 Dec 2008 01:33:00 -0600
+
+libkipi (0.1.5-2) unstable; urgency=low
+
+ [ Mark Purcell ]
+ * Merge branches/experimental with trunk and upload 1.5 to unstable
+ * libkipi-dev Depends: pkg-config
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Sat, 3 Mar 2007 18:17:38 +0000
+
+libkipi (0.1.5-1) experimental; urgency=low
+
+ * New upstream release
+
+ [ Mark Purcell ]
+ * Add Build-Depends: autotools-dev
+
+ [ Achim Bohnet ]
+ * Relibtoolization patches:
+ + remove patches/05_pedantic-errors.diff. No need to be more pedantic than
+ upstream.
+ + remove patches/10_aclocal.m4_update.diff, debian/patches/99_only_-lqt-mt.diff
+ no longer necessary
+ + regenerate patches/98_buildpref.diff and patches/98_configure.diff
+ * Set standards-version to 3.7.2. No changes necessary.
+ * Add XS-Vcs-Svn and XS-Vcs-Browser info to debian/control
+ * Long description: update homepage URL to new http://www.kipi-plugins.org/
+ site
+ * Check sources for licenses/copyrights. No changes in debian/copyright
+ necessary.
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Fri, 29 Dec 2006 14:34:34 +0100
+
+libkipi (0.1.4-1) unstable; urgency=low
+
+ [ Achim Bohnet ]
+ * new upstream release. Fixes FTBFS on first installation.
+ * Remove 11_tdesvn_r540613_fix_include_path.diff. Included upstream
+ * Remove 06_disable_no_undefined.diff. Not needed. Pkg is properly
+ relibtoolized
+ * Update relibtoolization patches: 98_buildprep.diff 99_only_-lqt-mt.diff
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Tue, 16 May 2006 20:55:30 +0200
+
+libkipi (0.1.3-2) unstable; urgency=low
+
+ [ Achim Bohnet ]
+ * Add 11_tdesvn_r540613_fix_include_path.diff. Closes: #366933: libkipi -
+ FTBFS: error: libkipi/interface.h: No such file or directory
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Sun, 14 May 2006 11:03:25 +0200
+
+libkipi (0.1.3-1) unstable; urgency=low
+
+ [ Mark Purcell ]
+ * New upstream release
+ * Relibtoolize from /pkg-kde/trunk/common-patches/ for 3.5.2
+ * Dropped from debian/patches (seems OK)
+ + 08_disable-visibility.diff
+
+ [ Achim Bohnet ]
+ o Update 98_buildprep.diff
+ o Replace 10_link_to_right_libs.diff with 99_only_-lqt-mt.diff
+ Relibtoolization patch was accepted upstream, except for LIB_QT hack.
+ Now patch configure to hardcode LIB_QT to -lqt-mt instead of
+ patching every Makefile.am/.in.
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Tue, 9 May 2006 22:45:55 +0100
+
+libkipi (0.1.2-4) unstable; urgency=low
+
+ [ Mark Purcell ]
+ * Rebuild for libXrender.la
+ * Package needs to be rebuilt against new version of libxrender-dev.
+ Cannot build KphotoAlbum against it. (Closes: #363918)
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Thu, 20 Apr 2006 18:30:51 +0100
+
+libkipi (0.1.2-3) unstable; urgency=low
+
+ [ Achim Bohnet ]
+ * relibtoolize libkipi:
+ + Closes #304336 libkipi_0.1.1-2(GNU/k*BSD): FTBFS: out of date
+ libtool scripts
+ + use tool/patches of Debian Qt/KDE Team packages: patches/0*.diff
+ + update 03_libtool_update.diff to libtool 1.5.20-2
+ + debian/rules: add buildprep rule to recreate the buildpref diff
+ + add 06_aclocal_update.diff: aclocal.m4 gets recreated after each
+ new buildprep diff
+ + patches/10_link_to_right_libs.diff: add missing libraries -ltdecore
+ -lqt-mt
+ Result: libkipi0 now depends on 5 instead of 25 packages
+ * remove unnecessary build dependency on libimlib2-dev
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Wed, 28 Dec 2005 00:07:03 +0100
+
+libkipi (0.1.2-2) unstable; urgency=low
+
+ [ Mark Purcell ]
+ * Add debian/watch: sf.net kipi project will be used for
+ future releases
+
+ [ Achim Bohnet ]
+ * 2nd g++ v4 ABI change: Because we already depend on tdelibs4c2a,
+ remove c2 that was unnecessarily introduced for the 1st g++ v4.0
+ ABI change. Now backporting and sync with kunbuntu needs no
+ source changes again.
+ * rules:
+ + use utils.mk from cdbs instead of calling dh_install with
+ --list-missing
+ + remove unnecessary --disable-debug configure option
+ + build with --enable-final
+ * Temporarily Build-Depend on tdelibs4-dev (>= 4:3.4.3-2) to make
+ sure we build against tdelibs4c2a
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Fri, 2 Dec 2005 15:49:45 +0100
+
+libkipi (0.1.2-1) unstable; urgency=low
+
+ * New upstream release
+ * Pkg now maintained by Debian KDE Extras Team
+
+ +++ Changes by Achim Bohnet:
+
+ * remove versioned build-dependency of tdelibs4-dev now that
+ it's build on all archs with new C++ ABI.
+ * patches/00_fix-home-page-url.patch removed. Fixed upstream.
+ * updated debian/copyright for 0.1.2 tarball
+
+ -- Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Thu, 15 Sep 2005 02:29:15 +0200
+
+libkipi (0.1.1-4) unstable; urgency=low
+
+ * Conflicts:/ Replaces: libkipi0
+ * libkipi0-dev Depends: libkipi0c2
+
+ -- Mark Purcell <msp@debian.org> Fri, 19 Aug 2005 17:49:41 +0100
+
+libkipi (0.1.1-3) unstable; urgency=low
+
+ * C++ transition package
+ * Upgrade Build-Depends: tdelibs4-dev (>= 3.4.2-1)
+ * Uploaders: Achim Bohnet <ach@mpe.mpg.de>, Mark Purcell
+ <msp@debian.org>
+
+ -- Mark Purcell <msp@debian.org> Thu, 18 Aug 2005 17:52:32 +0100
+
+libkipi (0.1.1-2) unstable; urgency=low
+
+ * debian/copyright: fix typo
+
+ -- Achim Bohnet <ach@mpe.mpg.de> Thu, 10 Mar 2005 01:52:32 +0100
+
+libkipi (0.1.1-1) unstable; urgency=low
+
+ * new upstream release
+ * control: removed unused misc:Depends var
+ * control: update homepage URL (closes: #294947)
+ * updated debian/copyright
+ * fix homepage URL in About dialogs (use simplepatchsys)
+
+ -- Achim Bohnet <ach@mpe.mpg.de> Mon, 14 Feb 2005 22:16:20 +0100
+
+libkipi (0.1-2~kalyxo1) unstable; urgency=low
+
+ * Initial upload (Closes: #280439)
+ * get rid of debug output (configure with --disable-debug)
+
+ -- Achim Bohnet <ach@mpe.mpg.de> Tue, 9 Nov 2004 23:31:13 +0100
+
+libkipi (0.1-1) unstable; urgency=low
+
+ * control: remove libkexif0-dev build dependency
+ * libkipi/Makefile.am: fix compilation without libkipi0-dev
+ installed
+ * change distribtion to unstable
+
+ -- Achim Bohnet <ach@mpe.mpg.de> Tue, 19 Oct 2004 00:48:03 +0200
+
+libkipi (0.1-0) experimental; urgency=low
+
+ * first upstream release
+ * added homepage URL to extended description
+ * add translation to libkipi0 deb
+ * main.cpp: fix URL
+ * copyright: mention the 3 GPL files, rest LGPL
+ * install libkipi/design as doc to -dev pkgs
+
+ -- Achim Bohnet <ach@mpe.mpg.de> Sun, 17 Oct 2004 00:50:36 +0200
+
+libkipi (0.0.cvs20040802-1) experimental; urgency=low
+
+ * sync with cvs
+ * fix libkexif.install to install icons servicetypes and apps dirs
+
+ -- Achim Bohnet <ach@mpe.mpg.de> Tue, 3 Aug 2004 01:18:47 +0200
+
+libkipi (0.0.cvs20040726-1) experimental; urgency=low
+
+ * rebuild against new libkexif (should fix rpath stuff)
+ * all build-deps on one line (lintian)
+ * use configure --disable-rpath
+
+ -- Achim Bohnet <ach@mpe.mpg.de> Mon, 26 Jul 2004 21:42:03 +0200
+
+libkipi (0.0.cvs20040721-1) unstable; urgency=low
+
+ * Initial Release
+ * WARNING experimental pkg!
+
+ -- Achim Bohnet <ach@mpe.mpg.de> Wed, 21 Jul 2004 01:25:11 +0200
+
diff --git a/debian/_base/libraries/libkipi/debian/compat b/debian/_base/libraries/libkipi/debian/compat
new file mode 100644
index 000000000..7f8f011eb
--- /dev/null
+++ b/debian/_base/libraries/libkipi/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/_base/libraries/libkipi/debian/control b/debian/_base/libraries/libkipi/debian/control
new file mode 100644
index 000000000..669724b1f
--- /dev/null
+++ b/debian/_base/libraries/libkipi/debian/control
@@ -0,0 +1,42 @@
+Source: libkipi-trinity
+Section: libs
+Priority: optional
+Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Uploaders: Achim Bohnet <ach@mpe.mpg.de>, Mark Purcell <msp@debian.org>
+Build-Depends: cdbs, debhelper (>= 7.0.50~), quilt, cmake, libexif-dev, tdelibs14-trinity-dev (>= 4:3.4.3-2)
+Standards-Version: 3.8.4
+
+Package: libkipi0-trinity-dev
+Provides: libkipi-trinity-dev
+Conflicts: libkipi-trinity-dev
+Replaces: libkipi0-trinity-dev (<< 4:14.0.0~)
+Breaks: libkipi0-trinity-dev (<< 4:14.0.0~)
+Section: libdevel
+Architecture: any
+Depends: libkipi0-trinity (= ${source:Version}), pkg-config
+Description: library for apps that want to use kipi-plugins (development version) [Trinity]
+ Libkipi is a library
+ .
+ o that contains common routines and widget used by kipi-plugins
+ o to ease implementation of the kipi-plugins interface in an application
+ that wants to use kipi-plugins
+ .
+ This pkg contains development files and documentation for libkipi library.
+ .
+ Homepage: http://www.kipi-plugins.org/
+
+Package: libkipi0-trinity
+Conflicts: libkipi0c2-trinity
+Section: libs
+Replaces: libkipi0-trinity (<< 4:14.0.0~)
+Breaks: libkipi0-trinity (<< 4:14.0.0~)
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: library for apps that want to use kipi-plugins (runtime version) [Trinity]
+ Libkipi is a library
+ .
+ o that contains common routines and widget used by kipi-plugins
+ o to ease implementation of the kipi-plugins interface in an application
+ that wants to use kipi-plugins
+ .
+ Homepage: http://extragear.kde.org/apps/kipi
diff --git a/debian/_base/libraries/libkipi/debian/copyright b/debian/_base/libraries/libkipi/debian/copyright
new file mode 100644
index 000000000..46dc95db6
--- /dev/null
+++ b/debian/_base/libraries/libkipi/debian/copyright
@@ -0,0 +1,327 @@
+This package was debianized by Achim Bohnet on
+Tue, 21 Jul 2004 01:29:01 +0200.
+
+Upstream authors are the 'KIPI Team' (from AUTHORS file):
+
+ Renchi Raju <renchi at pooh.tam.uiuc.edu>
+ Caulier Gilles <caulier dot gilles at free.fr>
+ Jesper K. Pedersen <blackie at kde.org>
+ Aurelien Gateau <aurelien dot gateau at free.fr>
+
+
+Copyrights:
+
+ Copyright 2004 by the KIPI team
+ Copyright 2004 by Renchi Raju
+ Copyright 2004 by Jesper K. Pedersen
+ Copyright (C) 2002-2004 Renchi Raju <renchi at pooh.tam.uiuc.edu>
+ Gilles CAULIER <caulier dot gilles at free.fr>
+ Jesper K. Pedersen <blackie at kde.org>
+ Aurelien Gateau <aurelien dot gateau at free.fr>
+ Copyright (C) 2003,2004 Gilles Caulier <caulier dot gilles at free.fr>
+ Copyright (C) 2001-2005 Klarälvdalens Datakonsult AB
+ Copyright (c) 2005 Laurent Montel <montel@kde.org>
+
+
+
+Licenses:
+
+version.h:
+
+ 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.
+
+
+KDStream.cpp, KDStream.h are dual licensed: GPL V2 or
+'KD Tools Commercial License':
+
+
+ This file may be distributed and/or modified under the terms of the
+ GNU General Public License version 2 as published by the Free Software
+ Foundation and appearing in the file LICENSE.GPL included in the
+ packaging of this file.
+
+ Licensees holding valid commercial KD Tools licenses may use this file in
+ accordance with the KD Tools Commercial License Agreement provided with
+ the Software.
+
+ This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
+ WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
+ See http://www.klaralvdalens-datakonsult.se/?page=products for
+ information about KD Tools Commercial License Agreements.
+
+ Contact info@klaralvdalens-datakonsult.se if any conditions of this
+ licensing are not clear to you.
+
+
+the GNU General Public License version 2 can be found at
+/usr/share/common-licenses/GPL-2.
+
+KDTools-License-US:
+
+ KD Tools COMMERCIAL LICENSE AGREEMENT
+ FOR COMMERCIAL VERSIONS
+ March 27, 2002
+
+
+ IMPORTANT-READ CAREFULLY: This Klarälvdalens Datakonsult AB End-User
+ License Agreement ("EULA") is a legal agreement between you (either an
+ individual or a legal entity) and Klarälvdalens Datakonsult AB
+ ("KDAB") for the Klarälvdalens Datakonsult AB software product(s)
+ accompanying this EULA, which include(s) computer software and may
+ include "online" or electronic documentation, associated media, and
+ printed materials ("Licensed Product").
+
+ The Licensed Product is protected by copyright laws and international
+ copyright treaties, as well as other intellectual property laws and
+ treaties. The Licensed Product is licensed, not sold.
+
+ By installing, copying, or otherwise using the Licensed Product, you
+ agree to be bound by the terms of this EULA. If you do not agree to
+ the terms of this EULA, do not install, copy, or otherwise use the
+ Licensed Product; you may, however, return it to your place of
+ purchase for a full refund. In addition, by installing, copying, or
+ otherwise using any updates or other components of the Licensed
+ Product that you receive separately as part of the Licensed Product
+ ("Updates"), you agree to be bound by any additional license terms
+ that accompany such Updates. If you do not agree to the additional
+ license terms that accompany such Updates, you may not install, copy,
+ or otherwise use such Updates.
+
+ Upon your acceptance of the terms and conditions of this EULA, KDAB
+ grants you the right to use the Licensed Product in the manner
+ provided below.
+
+ KDAB grants to you as an individual a personal, nonexclusive,
+ nontransferable license to make and use copies of the Licensed Product
+ for the sole purposes of designing, developing, and testing your
+ software product(s) ("Applications"). You may install copies of the
+ Licensed Product on an unlimited number of computers provided that you
+ are the only individual using the Licensed Product. If you are an
+ entity, KDAB grants you the right to designate one, and only one,
+ individual within your organization who shall have the sole right to
+ use the Licensed Product in the manner provided above. You may at any
+ time, but not more frequently that once every six (6) months,
+ designate another individual to replace the current designated user by
+ notifying KDAB, so long as there is no more than one designated user
+ at any given time.
+
+
+ GENERAL TERMS THAT APPLY TO APPLICATIONS AND REDISTRIBUTABLES
+ KDAB grants you a nonexclusive, royalty-free right to reproduce and
+ distribute the object code form of any portion of the Licensed Product
+ ("Redistributables") for execution on any operating system of a type
+ listed in the License Certificate ("Platforms"). Copies of
+ Redistributables may only be distributed with and for the sole purpose
+ of executing Applications permitted under this License Agreement that
+ you have created using the Licensed Product. Under no circumstances
+ may any copies of Redistributables be distributed separately.
+
+ The license granted in this EULA for you to create your own
+ Applications and distribute them and the Redistributables (if any) to
+ your customers is subject to all of the following conditions: (i) all
+ copies of the Applications you create must bear a valid copyright
+ notice, either your own or the copyright notice that appears on the
+ Licensed Product; (ii) you may not remove or alter any copyright,
+ trademark or other proprietary rights notice contained in any portion
+ of the Licensed Product; (iii) Redistributables, if any, shall be
+ licensed to your customer "as is" (KDAB MAKES NO WARRANTIES OR
+ REPRESENTATIONS VIS-A-VIS YOUR CUSTOMER WITH RESPECT TO
+ REDISTRIBUTABLES, AND KDAB EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES
+ VIS-A-VIS YOUR CUSTOMER, WHETHER EXPRESS OR IMPLIED, ORAL OR WRITTEN,
+ INCLUDING, BUT NOT LIMITED TO ANY IMPLIED WARRANTY OF MERCHANTABILITY
+ OR FITNESS FOR ANY PARTICULAR PURPOSE, WHETHER OR NOT KDAB KNOWS, HAS
+ REASON TO KNOW, HAS BEEN ADVISED OR IS OTHERWISE AWARE OF SUCH
+ PURPOSE); (iv) you will indemnify and hold KDAB, its related companies
+ and its suppliers, harmless from and against any claims or liabilities
+ arising out of the use, reproduction or distribution of your
+ Applications; (v) your Applications must be written using a licensed,
+ registered copy of the Licensed Product; (vi) your Applications must
+ add primary and substantial functionality to the Licensed Product;
+ (vii) your Applications may not pass on functionality which in any way
+ makes it possible for others to create Applications with the Software;
+ (viii) your Applications may not compete with the Licensed Product;
+ (ix)) you may not use KDAB's or any of its suppliers' names, logos, or
+ trademarks to market your programs, except to state that your program
+ was written using the Licensed Product.
+
+
+ WARRANTY DISCLAIMER
+ THE LICENSED PRODUCT IS LICENSED TO YOU "AS IS". TO THE MAXIMUM
+ EXTENT PERMITTED BY APPLICABLE LAW, KDAB ON BEHALF OF ITSELF AND ITS
+ SUPPLIERS, DISCLAIMS ALL WARRANTIES AND CONDITIONS, EITHER EXPRESS OR
+ IMPLIED, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
+ NON-INFRINGEMENT WITH REGARD TO THE LICENSED PRODUCT. THIS WARRANTY
+ DISCLAIMER NOTWITHSTANDING, YOU MAY HAVE SPECIFIC LEGAL RIGHTS WHICH
+ MAY VARY FROM STATE/JURISDICTION TO STATE/JURISDICTION.
+
+
+ LIMITATION OF LIABILITY
+ IF, KDAB'S WARRANTY DISCLAIMER NOTWITHSTANDING, KDAB IS HELD LIABLE TO
+ YOU, WHETHER IN CONTRACT, TORT OR ANY OTHER LEGAL THEORY, BASED ON THE
+ LICENSED PRODUCT, KDAB'S ENTIRE LIABILITY TO YOU AND YOUR EXCLUSIVE
+ REMEDY SHALL BE, AT KDAB'S OPTION, EITHER (A) RETURN OF THE PRICE YOU
+ PAID FOR THE LICENSED PRODUCT, OR (B) REPAIR OR REPLACEMENT OF THE
+ LICENSED PRODUCT, PROVIDED YOU RETURN TO KDAB ALL COPIES OF THE
+ LICENSED PRODUCT AS ORIGINALLY DELIVERED TO YOU. KDAB SHALL NOT UNDER
+ ANY CIRCUMSTANCES BE LIABLE TO YOU BASED ON FAILURE OF THE LICENSED
+ PRODUCT IF THE FAILURE RESULTED FROM ACCIDENT, ABUSE OR
+ MISAPPLICATION, NOR SHALL KDAB UNDER ANY CIRCUMSTANCES BE LIABLE FOR
+ SPECIAL DAMAGES, PUNITIVE OR EXEMPLARY DAMAGES, DAMAGES FOR LOSS OF
+ PROFITS OR INTERRUPTION OF BUSINESS OR FOR LOSS OR CORRUPTION OF DATA.
+ ANY AWARD OF DAMAGES FROM KDAB TO YOU SHALL NOT EXCEED THE TOTAL AMOUNT
+ YOU HAVE PAID TO KDAB IN CONNECTION WITH THIS EULA.
+
+
+ SUPPORT AND UPDATES
+ You will receive email based, software developer support and access to
+ Updates to the Licensed Product for one year from the date of initial
+ delivery, in accordance with KDAB support policies and procedures.
+ Such policies and procedures may be changed from time to time.
+
+
+ GENERAL PROVISIONS
+ This EULA may only be modified in writing signed by you and an
+ authorized officer of KDAB. All terms of any purchase order or other
+ ordering document shall be superseded by this EULA. If any provision
+ of the EULA is found void or unenforceable, the remainder will remain
+ valid and enforceable according to its terms. If any remedy provided
+ is determined to have failed for its essential purpose, all
+ limitations of liability and exclusions of damages set forth in this
+ EULA shall remain in effect.
+
+ This EULA shall be construed, interpreted and governed by the laws of
+ Sweden, the venue to be Sunne Tingsrätt. The EULA gives you specific
+ legal rights; you may have others, which vary from state to state and
+ from country to country. KDAB reserves all rights not specifically
+ granted in this EULA.
+
+
+KDTools-License-non-US:
+
+
+ KD Tools COMMERCIAL LICENSE AGREEMENT
+ FOR COMMERCIAL VERSIONS
+ Version 1.0
+
+ Copyright of this license text (C) 2001 Trolltech AS and (C) 2002
+ Klarälvdalens Datakonsult AB. All rights reserved. License text used
+ with kind permission of Trolltech AS. The software and accompanying
+ material is Copyright (C) 2002 Klarälvdalens Datakonsult AB.
+
+ This non-exclusive non-transferable License Agreement ("Agreement") is
+ between you ("Licensee") and Klarälvdalens Datakonsult AB (KDAB), and
+ pertains to the Klarälvdalens Datakonsult AB software product(s)
+ accompanying this Agreement, which include(s) computer software and
+ may include "online" or electronic documentation, associated media,
+ and printed materials, including the source code, example programs and
+ the documentation ("Software").
+
+
+ COPYRIGHT AND RESTRICTIONS
+
+ 1. All intellectual property rights in the Software are owned by KDAB
+ and are protected by Swedish copyright laws, other applicable
+ copyright laws, and international treaty provisions. KDAB retains all
+ rights not expressly granted. No title, property rights or copyright
+ in the Software or in any modifications to the Software shall pass to
+ the Licensee under any circumstances. The Software is licensed, not
+ sold.
+
+ 2. By installing, copying, or otherwise using the Software, you agree
+ to be bound by the terms of this agreement. If you do not agree to the
+ terms of this Agreement, do not install, copy, or otherwise use the
+ Software.
+
+ 3. Upon your acceptance of the terms and conditions of this Agreement,
+ KDAB grants you the right to use the Software in the manner provided
+ below.
+
+ 4. KDAB grants to you as an individual a personal, nonexclusive,
+ non-transferable license to make and use copies of the Software for
+ the sole purposes of designing, developing, testing and distributing
+ your software product(s) ("Applications"). You may install copies of
+ the Software on an unlimited number of computers provided that you are
+ the only individual using the Software. If you are an entity, KDAB
+ grants you the right to designate one, and only one, individual within
+ your organization who shall have the sole right to use the Software in
+ the manner provided above.
+
+ 5. The license granted in this Agreement for you to create and
+ distribute your own Applications is subject to all of the following
+ conditions: (i) all copies of the Applications you create must bear a
+ valid copyright notice, either your own or the copyright notice that
+ appears on the Software; (ii) you may not remove or alter any
+ copyright, trademark or other proprietary rights notice contained in
+ any portion of the Software; (iii) you will indemnify and hold KDAB, its
+ related companies and its suppliers, harmless from and against any
+ claims or liabilities arising out of the use and/or reproduction of
+ your Applications; (iv) your Applications must be written using a
+ licensed, registered copy of the Software; (v) your Applications must
+ add primary and substantial functionality to the Software; (vi) your
+ Applications may not pass on functionality which in any way makes it
+ possible for others to create Applications with the Software; (vii)
+ your Applications may not compete with the Software; (viii) you may
+ not use KDAB's or any of its suppliers' names, logos, or trademarks to
+ market your programs, except to state that your program was written
+ using the Software.
+
+ 6. WARRANTY DISCLAIMER
+ THE SOFTWARE IS LICENSED TO YOU "AS IS". TO THE MAXIMUM EXTENT
+ PERMITTED BY APPLICABLE LAW, KDAB ON BEHALF OF ITSELF AND ITS SUPPLIERS,
+ DISCLAIMS ALL WARRANTIES AND CONDITIONS, EITHER EXPRESS OR IMPLIED,
+ INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT WITH
+ REGARD TO THE SOFTWARE.
+
+ 7. LIMITATION OF LIABILITY
+ IF, KDAB'S WARRANTY DISCLAIMER NOTWITHSTANDING, KDAB IS HELD LIABLE TO
+ YOU BASED ON THE SOFTWARE, KDAB'S ENTIRE LIABILITY TO YOU AND YOUR
+ EXCLUSIVE REMEDY SHALL BE, AT REPAIR OR REPLACEMENT OF THE SOFTWARE,
+ PROVIDED YOU RETURN TO KDAB ALL COPIES OF THE SOFTWARE AS ORIGINALLY
+ DELIVERED TO YOU. KDAB SHALL NOT UNDER ANY CIRCUMSTANCES BE LIABLE TO
+ YOU BASED ON FAILURE OF THE SOFTWARE IF THE FAILURE RESULTED FROM
+ ACCIDENT, ABUSE OR MISAPPLICATION, NOR SHALL KDAB UNDER ANY
+ CIRCUMSTANCES BE LIABLE FOR SPECIAL DAMAGES, PUNITIVE OR EXEMPLARY
+ DAMAGES, DAMAGES FOR LOSS OF PROFITS OR INTERRUPTION OF BUSINESS OR
+ FOR LOSS OR CORRUPTION OF DATA.
+
+ 9. This Agreement may only be modified in writing signed by you and an
+ authorized officer of KDAB. All terms of any purchase order or other
+ ordering document shall be superseded by this Agreement.
+
+ 10. This Agreement shall be construed, interpreted and governed by the
+ laws of Sweden, the venue to be Sunne Tingsrätt.
+
+
+The other files are distributed under the GNU Library General Public
+License, LGPL:
+
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Library 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 Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA.
+
+A copy of the GNU Library General Public License can be found at
+/usr/share/common-licenses/LGPL.
+
diff --git a/debian/_base/libraries/libkipi/debian/libkipi0-trinity-dev.install b/debian/_base/libraries/libkipi/debian/libkipi0-trinity-dev.install
new file mode 100644
index 000000000..1333fe738
--- /dev/null
+++ b/debian/_base/libraries/libkipi/debian/libkipi0-trinity-dev.install
@@ -0,0 +1,4 @@
+debian/tmp/opt/trinity/include/*
+debian/tmp/opt/trinity/lib/pkgconfig/*
+debian/tmp/opt/trinity/lib/*.la
+debian/tmp/opt/trinity/lib/lib*.so
diff --git a/debian/_base/libraries/libkipi/debian/libkipi0-trinity.install b/debian/_base/libraries/libkipi/debian/libkipi0-trinity.install
new file mode 100644
index 000000000..6f99e7cb2
--- /dev/null
+++ b/debian/_base/libraries/libkipi/debian/libkipi0-trinity.install
@@ -0,0 +1,5 @@
+debian/tmp/opt/trinity/lib/lib*.so.*
+debian/tmp/opt/trinity/share/apps/kipi
+debian/tmp/opt/trinity/share/icons
+debian/tmp/opt/trinity/share/servicetypes
+debian/tmp/opt/trinity/share/locale
diff --git a/debian/_base/libraries/libkipi/debian/patches/series b/debian/_base/libraries/libkipi/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/_base/libraries/libkipi/debian/patches/series
diff --git a/debian/_base/libraries/libkipi/debian/rules b/debian/_base/libraries/libkipi/debian/rules
new file mode 100755
index 000000000..e5c16cf8a
--- /dev/null
+++ b/debian/_base/libraries/libkipi/debian/rules
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/cmake.mk
+#include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+include debian/cdbs/debian-qt-kde.mk
+
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
+DEB_CMAKE_EXTRA_FLAGS := \
+ -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/libraries/libkipi/debian/source/format b/debian/_base/libraries/libkipi/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/debian/_base/libraries/libkipi/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/_base/libraries/libkipi/debian/source/options b/debian/_base/libraries/libkipi/debian/source/options
new file mode 100644
index 000000000..72f1f5450
--- /dev/null
+++ b/debian/_base/libraries/libkipi/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/libraries/libksquirrel/debian/changelog b/debian/_base/libraries/libksquirrel/debian/changelog
new file mode 100644
index 000000000..8adf184a4
--- /dev/null
+++ b/debian/_base/libraries/libksquirrel/debian/changelog
@@ -0,0 +1,32 @@
+libksquirrel-trinity (0.8.0-1ubuntu2) karmic; urgency=low
+
+ * Karmic rebuild
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Sun, 18 Oct 2009 16:21:00 -0600
+
+libksquirrel (0.8.0-0ubuntu4) intrepid; urgency=low
+
+ * debian/patches/001_missing_declarations.patch: drop an extraneous change
+ that snuck in while trying to test-build on amd64, which in turn breaks
+ the build on 32-bit systems that this package currently supports.
+
+ -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 29 Sep 2008 16:20:23 -0700
+
+libksquirrel (0.8.0-0ubuntu3) intrepid; urgency=low
+
+ * debian/patches/001_missing_declarations.patch: fix a build failure
+ due to missing #includes for C functions.
+
+ -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 29 Sep 2008 18:29:36 +0000
+
+libksquirrel (0.8.0-0ubuntu2) intrepid; urgency=low
+
+ * No-change rebuild against libopenexr6.
+
+ -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 29 Sep 2008 11:38:13 +0000
+
+libksquirrel (0.8.0-0ubuntu1) hardy; urgency=low
+
+ * Initial release (LP: #172740)
+
+ -- Harald Sitter <apachelogger@ubuntu.com> Sun, 18 Nov 2007 23:36:24 +0100
diff --git a/debian/_base/libraries/libksquirrel/debian/compat b/debian/_base/libraries/libksquirrel/debian/compat
new file mode 100644
index 000000000..7f8f011eb
--- /dev/null
+++ b/debian/_base/libraries/libksquirrel/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/_base/libraries/libksquirrel/debian/control b/debian/_base/libraries/libksquirrel/debian/control
new file mode 100644
index 000000000..f8989026e
--- /dev/null
+++ b/debian/_base/libraries/libksquirrel/debian/control
@@ -0,0 +1,37 @@
+Source: libksquirrel-trinity
+Section: libs
+Priority: optional
+Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+XSBC-Original-Maintainer: Harald Sitter <apachelogger@ubuntu.com>
+Build-Depends: debhelper (>= 7.0.50~), cdbs, pkg-config, libmng-dev,librsvg2-bin,
+ medcon, libjasper-dev, libgif-dev, libwmf-dev, libopenexr-dev,
+ djvulibre-bin, transfig, x11proto-core-dev, netpbm, libtiff-dev,
+ libkonq4-trinity-dev, kipi-plugins-trinity, libkipi0-trinity-dev, quilt, build-essential,
+ automake, autoconf, libtool, libltdl-dev
+Standards-Version: 3.8.4
+Homagepage: http://ksquirrel.sourceforge.net
+
+Package: libksquirrel0-trinity
+Architecture: any
+Depends: ${shlibs:Depends}
+Replaces: libksquirrel0-trinity (<< 4:14.0.0~)
+Breaks: libksquirrel0-trinity (<< 4:14.0.0~)
+Description: Trinity image viewer
+ Runtime libraries for KSquirrel.
+
+Package: libksquirrel-trinity-dev
+Section: libdevel
+Architecture: any
+Replaces: libksquirrel-trinity-dev (<< 4:14.0.0~)
+Breaks: libksquirrel-trinity-dev (<< 4:14.0.0~)
+Depends: ${shlibs:Depends}, libksquirrel0-trinity (= ${binary:Version})
+Description: Trinity image viewer
+ Development libraries for KSquirrel.
+
+Package: libksquirrel-tools-trinity
+Architecture: any
+Depends: ${shlibs:Depends}, libksquirrel0-trinity (= ${binary:Version})
+Replaces: libksquirrel-tools-trinity (<< 4:14.0.0~)
+Breaks: libksquirrel-tools-trinity (<< 4:14.0.0~)
+Description: Trinity image viewer
+ Tools for KSquirrel.
diff --git a/debian/_base/libraries/libksquirrel/debian/copyright b/debian/_base/libraries/libksquirrel/debian/copyright
new file mode 100644
index 000000000..7d13d101a
--- /dev/null
+++ b/debian/_base/libraries/libksquirrel/debian/copyright
@@ -0,0 +1,274 @@
+This package was debianized by Harald Sitter <apachelogger@ubuntu.com> on
+Sun, 18 Nov 2007 23:36:24 +0100.
+
+It was downloaded from http://ksquirrel.sourceforge.net
+
+Upstream Author: Dmitry Baryshev <ksquirrel@tut.by>
+
+Copyright:
+ (C) 2004-2007 Dmitry Baryshev <ksquirrel@tut.by>
+
+License:
+
+ This package is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser 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
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser 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 Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL`
+
+
+Various files have different copyright holders and/or licenses:
+
+# DDS ##########################################################################
+kernel/kls_dds/dds.cpp
+ Copyright (C) 2003 Ignacio Castano <castano@ludicon.com>
+
+# WMF ##########################################################################
+kernel/kls_wmf/wmf2mem.cpp
+ Copyright (C) 2000 - various
+
+# JBIG #########################################################################
+kernel/kls_jbig/jbig2mem.cpp
+kernel/kls_jbig/libjbig/*
+ Copyright (C) Markus Kuhn
+
+ 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
+
+On Debian systems, the complete text of the GNU General Public License version 2
+can be found in '/usr/share/common-licenses/GPL'.
+
+# XCF ##########################################################################
+kernel/kls_xcf/xcf2pnm/*
+ Copyright (C) 2006 Henning Makholm
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of version 2 of the GNU General Public License 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
+ 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
+
+On Debian systems, the complete text of the GNU General Public License version 2
+can be found in '/usr/share/common-licenses/GPL-2'.
+
+# TTF ##########################################################################
+kernel/kls_tff/ftview/*
+ Copyright 1996-2000, 2003-2005 (C) D. Turner, R. Wilhelm, and W. Lemberg
+
+# JPEG2000 #####################################################################
+kernel/kls_jpeg2000/fmt_codec_jpeg2000.cpp
+Most code in this library was taken from jasper.c from jasper distribution
+ Copyright (C) 2001-2006 Michael David Adams
+ Copyright (C) 1999-2000 Image Power, Inc.
+ Copyright (C) 1999-2000 The University of British Columbia
+
+ All rights reserved.
+
+ Permission is hereby granted, free of charge, to any person (the
+ "User") 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, 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:
+
+ 1. The above copyright notices and this permission notice (which
+ includes the disclaimer below) shall be included in all copies or
+ substantial portions of the Software.
+
+ 2. The name of a copyright holder shall not be used to endorse or
+ promote products derived from the Software without specific prior
+ written permission.
+
+ THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS
+ LICENSE. NO USE OF THE SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER
+ THIS DISCLAIMER. THE SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS
+ "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 OF THIRD PARTY RIGHTS. IN NO
+ EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
+ INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
+ FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+ NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. NO ASSURANCES ARE
+ PROVIDED BY THE COPYRIGHT HOLDERS THAT THE SOFTWARE DOES NOT INFRINGE
+ THE PATENT OR OTHER INTELLECTUAL PROPERTY RIGHTS OF ANY OTHER ENTITY.
+ EACH COPYRIGHT HOLDER DISCLAIMS ANY LIABILITY TO THE USER FOR CLAIMS
+ BROUGHT BY ANY OTHER ENTITY BASED ON INFRINGEMENT OF INTELLECTUAL
+ PROPERTY RIGHTS OR OTHERWISE. AS A CONDITION TO EXERCISING THE RIGHTS
+ GRANTED HEREUNDER, EACH USER HEREBY ASSUMES SOLE RESPONSIBILITY TO SECURE
+ ANY OTHER INTELLECTUAL PROPERTY RIGHTS NEEDED, IF ANY. THE SOFTWARE
+ IS NOT FAULT-TOLERANT AND IS NOT INTENDED FOR USE IN MISSION-CRITICAL
+ SYSTEMS, SUCH AS THOSE USED IN THE OPERATION OF NUCLEAR FACILITIES,
+ AIRCRAFT NAVIGATION OR COMMUNICATION SYSTEMS, AIR TRAFFIC CONTROL
+ SYSTEMS, DIRECT LIFE SUPPORT MACHINES, OR WEAPONS SYSTEMS, IN WHICH
+ THE FAILURE OF THE SOFTWARE OR SYSTEM COULD LEAD DIRECTLY TO DEATH,
+ PERSONAL INJURY, OR SEVERE PHYSICAL OR ENVIRONMENTAL DAMAGE ("HIGH
+ RISK ACTIVITIES"). THE COPYRIGHT HOLDERS SPECIFICALLY DISCLAIM ANY
+ EXPRESS OR IMPLIED WARRANTY OF FITNESS FOR HIGH RISK ACTIVITIES.
+
+# LJPEG ########################################################################
+kernel/kls_ljpeg/ljpeg2ppm/huffd.c
+kernel/kls_ljpeg/ljpeg2ppm/io.h
+kernel/kls_ljpeg/ljpeg2ppm/proto.h
+kernel/kls_ljpeg/ljpeg2ppm/jpeg.h
+kernel/kls_ljpeg/ljpeg2ppm/read.c
+kernel/kls_ljpeg/ljpeg2ppm/util.c
+kernel/kls_ljpeg/ljpeg2ppm/ljpgtopnm.c
+kernel/kls_ljpeg/ljpeg2ppm/mcu.h
+ Copyright (C) 1991, 1992, Thomas G. Lane.
+ Part of the Independent JPEG Group's software.
+ The authors make NO WARRANTY or representation, either express or
+ implied, with respect to this software, its quality, accuracy,
+ merchantability, or fitness for a particular purpose. This software is
+ provided "AS IS", and you, its user, assume the entire risk as to its
+ quality and accuracy.
+
+All files stated above +
+kernel/kls_ljpeg/mcu.c
+ Copyright (C) 1993 Brian C. Smith, The Regents of the University
+ of California
+ All rights reserved.
+
+ Permission to use, copy, modify, and distribute this software and its
+ documentation for any purpose, without fee, and without written
+ agreement is hereby granted, provided that the above copyright notice
+ and the following two paragraphs appear in all copies of this
+ software.
+
+ IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
+ FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
+ ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
+ THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.
+
+ THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
+ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
+ PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
+ CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
+ ENHANCEMENTS, OR MODIFICATIONS.
+
+All files stated above +
+kernel/kls_ljpeg/mcu.c
+kernel/kls_ljpeg/predictor.c
+kernel/kls_ljpeg/predictor.h
+ Copyright (C) 1994 Kongji Huang and Brian C. Smith.
+ Cornell University
+ All rights reserved.
+
+ Permission to use, copy, modify, and distribute this software and its
+ documentation for any purpose, without fee, and without written
+ agreement is hereby granted, provided that the above copyright notice
+ and the following two paragraphs appear in all copies of this
+ software.
+
+ IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
+ FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
+ ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
+ THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.
+
+ CORNELL UNIVERSITY SPECIFICALLY DISCLAIMS ANY WARRANTIES,
+ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
+ PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
+ CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
+ ENHANCEMENTS, OR MODIFICATIONS.
+
+# PNG ##########################################################################
+kernel/kls_png/ksquirrel-libs-png/*
+ Copyright (C) 1998, 1999, 2000 Glenn Randers-Pehrson
+ Copyright (C) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.
+ Copyright (C) 1996, 1997 Andreas Dilger
+
+ The PNG Reference Library is supplied "AS IS". The Contributing Authors
+ and Group 42, Inc. disclaim all warranties, expressed or implied,
+ including, without limitation, the warranties of merchantability and of
+ fitness for any purpose. The Contributing Authors and Group 42, Inc.
+ assume no liability for direct, indirect, incidental, special, exemplary,
+ or consequential damages, which may result from the use of the PNG
+ Reference Library, even if advised of the possibility of such damage.
+
+ Permission is hereby granted to use, copy, modify, and distribute this
+ source code, or portions hereof, for any purpose, without fee, subject
+ to the following restrictions:
+
+ 1. The origin of this source code must not be misrepresented.
+
+ 2. Altered versions must be plainly marked as such and
+ must not be misrepresented as being the original source.
+
+ 3. This Copyright notice may not be removed or altered from
+ any source or altered source distribution.
+
+ The Contributing Authors and Group 42, Inc. specifically permit, without
+ fee, and encourage the use of this source code as a component to
+ supporting the PNG file format in commercial products. If you use this
+ source code in a product, acknowledgment is not required but would be
+ appreciated.
+
+ Copyright (C) 2004, 2006-2007 Glenn Randers-Pehrson
+ Copyright (C) 2000-2002 Glenn Randers-Pehrson
+ with the following additions to the disclaimer:
+
+ There is no warranty against interference with your enjoyment of the
+ library or against infringement. There is no warranty that our
+ efforts or the library will fulfill any of your particular purposes
+ or needs. This library is provided with all faults, and the entire
+ risk of satisfactory quality, performance, accuracy, and effort is with
+ the user.
+
+# CAMERA #######################################################################
+kernel/kls_camera/dcraw.c
+ Copyright (C) 1997-2007 Dave Coffin <dcoffin@cybercom.net>
+
+ No license is required to download and use dcraw.c. However,
+ to lawfully redistribute dcraw, you must either (a) offer, at
+ no extra charge, full source code* for all executable files
+ containing RESTRICTED functions, (b) distribute this code under
+ the GPL Version 2 or later, (c) remove all RESTRICTED functions,
+ re-implement them, or copy them from an earlier, unrestricted
+ Revision of dcraw.c, or (d) purchase a license from the author.
+
+# ADMIN ########################################################################
+Various files in the admin directory are also covered by the GNU LGP (as above).
+
+The file admin/am_edit is licensed under the following terms:
+
+ "This is really free software, unencumbered by the GPL.
+ You can do anything you like with it except sueing me."
+
+
+The Debian packaging is (C) 2007, Harald Sitter <apachelogger@ubuntu.com> and
+is licensed under the GPL version 2, or (at your option)
+any later version, see `/usr/share/common-licenses/GPL'.
diff --git a/debian/_base/libraries/libksquirrel/debian/libksquirrel-tools-trinity.install b/debian/_base/libraries/libksquirrel/debian/libksquirrel-tools-trinity.install
new file mode 100644
index 000000000..70a5cfea3
--- /dev/null
+++ b/debian/_base/libraries/libksquirrel/debian/libksquirrel-tools-trinity.install
@@ -0,0 +1 @@
+debian/tmp/opt/trinity/bin/*
diff --git a/debian/_base/libraries/libksquirrel/debian/libksquirrel-trinity-dev.install b/debian/_base/libraries/libksquirrel/debian/libksquirrel-trinity-dev.install
new file mode 100644
index 000000000..1ca5e8e1f
--- /dev/null
+++ b/debian/_base/libraries/libksquirrel/debian/libksquirrel-trinity-dev.install
@@ -0,0 +1,7 @@
+debian/tmp/opt/trinity/include/*
+debian/tmp/opt/trinity/lib/libksquirrel-libs*.la
+debian/tmp/opt/trinity/lib/libksquirrel-libs*.so
+debian/tmp/opt/trinity/lib/ksquirrel-libs/libkls*.la
+debian/tmp/opt/trinity/lib/ksquirrel-libs/libkls*.so
+debian/tmp/opt/trinity/lib/pkgconfig/*
+debian/tmp/opt/trinity/share/doc/ksquirrel-libs/*
diff --git a/debian/_base/libraries/libksquirrel/debian/libksquirrel0-trinity.install b/debian/_base/libraries/libksquirrel/debian/libksquirrel0-trinity.install
new file mode 100644
index 000000000..9b1cac640
--- /dev/null
+++ b/debian/_base/libraries/libksquirrel/debian/libksquirrel0-trinity.install
@@ -0,0 +1,3 @@
+debian/tmp/opt/trinity/lib/libksquirrel-libs*.so.*
+debian/tmp/opt/trinity/lib/ksquirrel-libs/libkls*.so.*
+debian/tmp/opt/trinity/share/ksquirrel-libs/*
diff --git a/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-camera2ppm.1 b/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-camera2ppm.1
new file mode 100644
index 000000000..51c0b6a04
--- /dev/null
+++ b/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-camera2ppm.1
@@ -0,0 +1,19 @@
+.\" This file was written by Harald Sitter <apachelogger@ubuntu.com>
+.TH ksquirrel-libs-camera2ppm 1 "Jan 2008" "Dmitry Baryshev" "Backend script used by KSquirrel"
+.SH NAME
+ksquirrel-libs-camera2ppm
+\- backend script used by KSquirrel
+.SH SYNOPSIS
+ksquirrel-libs-camera2ppm
+.SH DESCRIPTION
+Backend script used by KSquirrel
+ Homepage: http://ksquirrel.sourceforge.net
+.SH AUTHORS
+.nf
+Dmitry Baryshev <ksquirrel@tut.by>
+.br
+.SH OTHER
+.nf
+This manual page was written by Harald Sitter <apachelogger@ubuntu.com> for the Debian
+system (but may be used by others).
+.br
diff --git a/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-dcraw.1 b/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-dcraw.1
new file mode 100644
index 000000000..df2cd06d1
--- /dev/null
+++ b/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-dcraw.1
@@ -0,0 +1,113 @@
+.\" This file was written by Harald Sitter <apachelogger@ubuntu.com>
+.TH ksquirrel-libs-dicom2png 1 "Jan 2008" "Dmitry Baryshev" "Backend script used by KSquirrel"
+.SH NAME
+ksquirrel-libs-dicom2png
+\- backend script used by KSquirrel
+.SH SYNOPSIS
+ksquirrel-libs-dicom2png [OPTION]... [FILE]...
+.SH DESCRIPTION
+Backend script used by KSquirrel
+ Homepage: http://ksquirrel.sourceforge.net
+.SH OPTIONS
+.TP
+.B \-v
+Print verbose messages
+.TP
+.B \-c
+Write image data to standard output
+.TP
+.B \-e
+Extract embedded thumbnail image
+.TP
+.B \-i
+Identify files without decoding them
+.TP
+.B \-i -v
+Identify files and show metadata
+.TP
+.B \-z
+Change file dates to camera timestamp
+.TP
+.B \-w
+Use camera white balance, if possible
+.TP
+.B \-a
+Average the whole image for white balance
+.TP
+.B \-A <x y w h>
+Average a grey box for white balance
+.TP
+.B \-r <r g b g>
+Set custom white balance
+.TP
+.B \+M\/\-M
+Use/don't use an embedded color matrix
+.TP
+.B \-C <r b>
+Correct chromatic aberration
+.TP
+.B \-b <num>
+Adjust brightness (default = 1.0)
+.TP
+.B \-n <num>
+Set threshold for wavelet denoising
+.TP
+.B \-k <num>
+Set black point
+.TP
+.B \-K <file>
+Subtract dark frame (16-bit raw PGM)
+.TP
+.B \-H [0-9]
+Highlight mode (0=clip, 1=unclip, 2=blend, 3+=rebuild)
+.TP
+.B \-t [0-7]
+Flip image (0=none, 3=180, 5=90CCW, 6=90CW)
+.TP
+.B \-o [0-5]
+Output colorspace (raw,sRGB,Adobe,Wide,ProPhoto,XYZ)
+.TP
+.B \-o <file>
+Apply output ICC profile from file
+.TP
+.B \-p <file>
+Apply camera ICC profile from file or "embed"
+.TP
+.B \-d
+Document mode (no color, no interpolation)
+.TP
+.B \-D
+Document mode without scaling (totally raw)
+.TP
+.B \-j
+Don't stretch or rotate raw pixels
+.TP
+.B \-q [0-3]
+Set the interpolation quality
+.TP
+.B \-h
+Half-size color image (twice as fast as "-q 0")
+.TP
+.B \-f
+Interpolate RGGB as four colors
+.TP
+.B \-m <num>
+Apply a 3x3 median filter to R-G and B-G
+.TP
+.B \-s [0..N-1]
+Select one raw image or "all" from each file
+.TP
+.B \-4
+Write 16-bit linear instead of 8-bit with gamma
+.TP
+.B \-T
+Write TIFF instead of PPM
+.SH AUTHORS
+.nf
+Dmitry Baryshev <ksquirrel@tut.by>
+.br
+.SH OTHER
+.nf
+This manual page was written by Harald Sitter <apachelogger@ubuntu.com> for the Debian
+system (but may be used by others).
+.br
diff --git a/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-dicom2png.1 b/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-dicom2png.1
new file mode 100644
index 000000000..cfe155b5a
--- /dev/null
+++ b/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-dicom2png.1
@@ -0,0 +1,19 @@
+.\" This file was written by Harald Sitter <apachelogger@ubuntu.com>
+.TH ksquirrel-libs-dicom2png 1 "Jan 2008" "Dmitry Baryshev" "Backend script used by KSquirrel"
+.SH NAME
+ksquirrel-libs-dicom2png
+\- backend script used by KSquirrel
+.SH SYNOPSIS
+ksquirrel-libs-dicom2png
+.SH DESCRIPTION
+Backend script used by KSquirrel
+ Homepage: http://ksquirrel.sourceforge.net
+.SH AUTHORS
+.nf
+Dmitry Baryshev <ksquirrel@tut.by>
+.br
+.SH OTHER
+.nf
+This manual page was written by Harald Sitter <apachelogger@ubuntu.com> for the Debian
+system (but may be used by others).
+.br
diff --git a/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-fig2ppm.1 b/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-fig2ppm.1
new file mode 100644
index 000000000..9ddc44614
--- /dev/null
+++ b/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-fig2ppm.1
@@ -0,0 +1,19 @@
+.\" This file was written by Harald Sitter <apachelogger@ubuntu.com>
+.TH ksquirrel-libs-fig2ppm 1 "Jan 2008" "Dmitry Baryshev" "Backend script used by KSquirrel"
+.SH NAME
+ksquirrel-libs-fig2ppm
+\- backend script used by KSquirrel
+.SH SYNOPSIS
+ksquirrel-libs-fig2ppm
+.SH DESCRIPTION
+Backend script used by KSquirrel
+ Homepage: http://ksquirrel.sourceforge.net
+.SH AUTHORS
+.nf
+Dmitry Baryshev <ksquirrel@tut.by>
+.br
+.SH OTHER
+.nf
+This manual page was written by Harald Sitter <apachelogger@ubuntu.com> for the Debian
+system (but may be used by others).
+.br
diff --git a/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-iff2ppm.1 b/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-iff2ppm.1
new file mode 100644
index 000000000..4b1477bef
--- /dev/null
+++ b/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-iff2ppm.1
@@ -0,0 +1,19 @@
+.\" This file was written by Harald Sitter <apachelogger@ubuntu.com>
+.TH ksquirrel-libs-iff2ppm 1 "Jan 2008" "Dmitry Baryshev" "Backend script used by KSquirrel"
+.SH NAME
+ksquirrel-libs-iff2ppm
+\- backend script used by KSquirrel
+.SH SYNOPSIS
+ksquirrel-libs-iff2ppm
+.SH DESCRIPTION
+Backend script used by KSquirrel
+ Homepage: http://ksquirrel.sourceforge.net
+.SH AUTHORS
+.nf
+Dmitry Baryshev <ksquirrel@tut.by>
+.br
+.SH OTHER
+.nf
+This manual page was written by Harald Sitter <apachelogger@ubuntu.com> for the Debian
+system (but may be used by others).
+.br
diff --git a/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-leaf2ppm.1 b/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-leaf2ppm.1
new file mode 100644
index 000000000..81ce62873
--- /dev/null
+++ b/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-leaf2ppm.1
@@ -0,0 +1,19 @@
+.\" This file was written by Harald Sitter <apachelogger@ubuntu.com>
+.TH ksquirrel-libs-leaf2ppm 1 "Jan 2008" "Dmitry Baryshev" "Backend script used by KSquirrel"
+.SH NAME
+ksquirrel-libs-leaf2ppm
+\- backend script used by KSquirrel
+.SH SYNOPSIS
+ksquirrel-libs-leaf2ppm
+.SH DESCRIPTION
+Backend script used by KSquirrel
+ Homepage: http://ksquirrel.sourceforge.net
+.SH AUTHORS
+.nf
+Dmitry Baryshev <ksquirrel@tut.by>
+.br
+.SH OTHER
+.nf
+This manual page was written by Harald Sitter <apachelogger@ubuntu.com> for the Debian
+system (but may be used by others).
+.br
diff --git a/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-ljpeg2ppm-s.1 b/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-ljpeg2ppm-s.1
new file mode 100644
index 000000000..6b38ef8da
--- /dev/null
+++ b/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-ljpeg2ppm-s.1
@@ -0,0 +1,19 @@
+.\" This file was written by Harald Sitter <apachelogger@ubuntu.com>
+.TH ksquirrel-libs-ljpeg2ppm-s 1 "Jan 2008" "Dmitry Baryshev" "Backend script used by KSquirrel"
+.SH NAME
+ksquirrel-libs-ljpeg2ppm-s
+\- backend script used by KSquirrel
+.SH SYNOPSIS
+ksquirrel-libs-ljpeg2ppm-s
+.SH DESCRIPTION
+Backend script used by KSquirrel
+ Homepage: http://ksquirrel.sourceforge.net
+.SH AUTHORS
+.nf
+Dmitry Baryshev <ksquirrel@tut.by>
+.br
+.SH OTHER
+.nf
+This manual page was written by Harald Sitter <apachelogger@ubuntu.com> for the Debian
+system (but may be used by others).
+.br
diff --git a/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-ljpeg2ppm.1 b/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-ljpeg2ppm.1
new file mode 100644
index 000000000..21109a348
--- /dev/null
+++ b/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-ljpeg2ppm.1
@@ -0,0 +1,19 @@
+.\" This file was written by Harald Sitter <apachelogger@ubuntu.com>
+.TH ksquirrel-libs-ljpeg2ppm 1 "Jan 2008" "Dmitry Baryshev" "Backend script used by KSquirrel"
+.SH NAME
+ksquirrel-libs-ljpeg2ppm
+\- backend script used by KSquirrel
+.SH SYNOPSIS
+ksquirrel-libs-ljpeg2ppm [ -v -h ] [ inFile [outFile] ]
+.SH DESCRIPTION
+Backend script used by KSquirrel
+ Homepage: http://ksquirrel.sourceforge.net
+.SH AUTHORS
+.nf
+Dmitry Baryshev <ksquirrel@tut.by>
+.br
+.SH OTHER
+.nf
+This manual page was written by Harald Sitter <apachelogger@ubuntu.com> for the Debian
+system (but may be used by others).
+.br
diff --git a/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-mac2ppm.1 b/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-mac2ppm.1
new file mode 100644
index 000000000..26aa84076
--- /dev/null
+++ b/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-mac2ppm.1
@@ -0,0 +1,19 @@
+.\" This file was written by Harald Sitter <apachelogger@ubuntu.com>
+.TH ksquirrel-libs-mac2ppm 1 "Jan 2008" "Dmitry Baryshev" "Backend script used by KSquirrel"
+.SH NAME
+ksquirrel-libs-mac2ppm
+\- backend script used by KSquirrel
+.SH SYNOPSIS
+ksquirrel-libs-mac2ppm
+.SH DESCRIPTION
+Backend script used by KSquirrel
+ Homepage: http://ksquirrel.sourceforge.net
+.SH AUTHORS
+.nf
+Dmitry Baryshev <ksquirrel@tut.by>
+.br
+.SH OTHER
+.nf
+This manual page was written by Harald Sitter <apachelogger@ubuntu.com> for the Debian
+system (but may be used by others).
+.br
diff --git a/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-neo2ppm.1 b/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-neo2ppm.1
new file mode 100644
index 000000000..fcd6d5171
--- /dev/null
+++ b/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-neo2ppm.1
@@ -0,0 +1,19 @@
+.\" This file was written by Harald Sitter <apachelogger@ubuntu.com>
+.TH ksquirrel-libs-neo2ppm 1 "Jan 2008" "Dmitry Baryshev" "Backend script used by KSquirrel"
+.SH NAME
+ksquirrel-libs-neo2ppm
+\- backend script used by KSquirrel
+.SH SYNOPSIS
+ksquirrel-libs-neo2ppm
+.SH DESCRIPTION
+Backend script used by KSquirrel
+ Homepage: http://ksquirrel.sourceforge.net
+.SH AUTHORS
+.nf
+Dmitry Baryshev <ksquirrel@tut.by>
+.br
+.SH OTHER
+.nf
+This manual page was written by Harald Sitter <apachelogger@ubuntu.com> for the Debian
+system (but may be used by others).
+.br
diff --git a/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-pi12ppm.1 b/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-pi12ppm.1
new file mode 100644
index 000000000..ba620502c
--- /dev/null
+++ b/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-pi12ppm.1
@@ -0,0 +1,19 @@
+.\" This file was written by Harald Sitter <apachelogger@ubuntu.com>
+.TH ksquirrel-libs-pi12ppm 1 "Jan 2008" "Dmitry Baryshev" "Backend script used by KSquirrel"
+.SH NAME
+ksquirrel-libs-pi12ppm
+\- backend script used by KSquirrel
+.SH SYNOPSIS
+ksquirrel-libs-pi12ppm
+.SH DESCRIPTION
+Backend script used by KSquirrel
+ Homepage: http://ksquirrel.sourceforge.net
+.SH AUTHORS
+.nf
+Dmitry Baryshev <ksquirrel@tut.by>
+.br
+.SH OTHER
+.nf
+This manual page was written by Harald Sitter <apachelogger@ubuntu.com> for the Debian
+system (but may be used by others).
+.br
diff --git a/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-pi32ppm.1 b/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-pi32ppm.1
new file mode 100644
index 000000000..d662bec23
--- /dev/null
+++ b/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-pi32ppm.1
@@ -0,0 +1,19 @@
+.\" This file was written by Harald Sitter <apachelogger@ubuntu.com>
+.TH ksquirrel-libs-pi32ppm 1 "Jan 2008" "Dmitry Baryshev" "Backend script used by KSquirrel"
+.SH NAME
+ksquirrel-libs-pi32ppm
+\- backend script used by KSquirrel
+.SH SYNOPSIS
+ksquirrel-libs-pi32ppm
+.SH DESCRIPTION
+Backend script used by KSquirrel
+ Homepage: http://ksquirrel.sourceforge.net
+.SH AUTHORS
+.nf
+Dmitry Baryshev <ksquirrel@tut.by>
+.br
+.SH OTHER
+.nf
+This manual page was written by Harald Sitter <apachelogger@ubuntu.com> for the Debian
+system (but may be used by others).
+.br
diff --git a/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-svg2png.1 b/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-svg2png.1
new file mode 100644
index 000000000..585d8cb36
--- /dev/null
+++ b/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-svg2png.1
@@ -0,0 +1,19 @@
+.\" This file was written by Harald Sitter <apachelogger@ubuntu.com>
+.TH ksquirrel-libs-svg2png 1 "Jan 2008" "Dmitry Baryshev" "Backend script used by KSquirrel"
+.SH NAME
+ksquirrel-libs-svg2png
+\- backend script used by KSquirrel
+.SH SYNOPSIS
+ksquirrel-libs-svg2png
+.SH DESCRIPTION
+Backend script used by KSquirrel
+ Homepage: http://ksquirrel.sourceforge.net
+.SH AUTHORS
+.nf
+Dmitry Baryshev <ksquirrel@tut.by>
+.br
+.SH OTHER
+.nf
+This manual page was written by Harald Sitter <apachelogger@ubuntu.com> for the Debian
+system (but may be used by others).
+.br
diff --git a/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-ttf2pnm.1 b/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-ttf2pnm.1
new file mode 100644
index 000000000..7c0950acd
--- /dev/null
+++ b/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-ttf2pnm.1
@@ -0,0 +1,19 @@
+.\" This file was written by Harald Sitter <apachelogger@ubuntu.com>
+.TH ksquirrel-libs-ttf2pnm 1 "Jan 2008" "Dmitry Baryshev" "Backend script used by KSquirrel"
+.SH NAME
+ksquirrel-libs-ttf2pnm
+\- backend script used by KSquirrel
+.SH SYNOPSIS
+ksquirrel-libs-ttf2pnm
+.SH DESCRIPTION
+Backend script used by KSquirrel
+ Homepage: http://ksquirrel.sourceforge.net
+.SH AUTHORS
+.nf
+Dmitry Baryshev <ksquirrel@tut.by>
+.br
+.SH OTHER
+.nf
+This manual page was written by Harald Sitter <apachelogger@ubuntu.com> for the Debian
+system (but may be used by others).
+.br
diff --git a/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-utah2ppm.1 b/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-utah2ppm.1
new file mode 100644
index 000000000..ddec06008
--- /dev/null
+++ b/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-utah2ppm.1
@@ -0,0 +1,19 @@
+.\" This file was written by Harald Sitter <apachelogger@ubuntu.com>
+.TH ksquirrel-libs-utah2ppm 1 "Jan 2008" "Dmitry Baryshev" "Backend script used by KSquirrel"
+.SH NAME
+ksquirrel-libs-utah2ppm
+\- backend script used by KSquirrel
+.SH SYNOPSIS
+ksquirrel-libs-utah2ppm
+.SH DESCRIPTION
+Backend script used by KSquirrel
+ Homepage: http://ksquirrel.sourceforge.net
+.SH AUTHORS
+.nf
+Dmitry Baryshev <ksquirrel@tut.by>
+.br
+.SH OTHER
+.nf
+This manual page was written by Harald Sitter <apachelogger@ubuntu.com> for the Debian
+system (but may be used by others).
+.br
diff --git a/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-xcf2pnm.1 b/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-xcf2pnm.1
new file mode 100644
index 000000000..3148b5faa
--- /dev/null
+++ b/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-xcf2pnm.1
@@ -0,0 +1,19 @@
+.\" This file was written by Harald Sitter <apachelogger@ubuntu.com>
+.TH ksquirrel-libs-xcf2pnm 1 "Jan 2008" "Dmitry Baryshev" "Backend script used by KSquirrel"
+.SH NAME
+ksquirrel-libs-xcf2pnm
+\- backend script used by KSquirrel
+.SH SYNOPSIS
+ksquirrel-libs-xcf2pnm
+.SH DESCRIPTION
+Backend script used by KSquirrel
+ Homepage: http://ksquirrel.sourceforge.net
+.SH AUTHORS
+.nf
+Dmitry Baryshev <ksquirrel@tut.by>
+.br
+.SH OTHER
+.nf
+This manual page was written by Harald Sitter <apachelogger@ubuntu.com> for the Debian
+system (but may be used by others).
+.br
diff --git a/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-xim2ppm.1 b/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-xim2ppm.1
new file mode 100644
index 000000000..041fdb9ed
--- /dev/null
+++ b/debian/_base/libraries/libksquirrel/debian/mans/ksquirrel-libs-xim2ppm.1
@@ -0,0 +1,19 @@
+.\" This file was written by Harald Sitter <apachelogger@ubuntu.com>
+.TH ksquirrel-libs-xim2ppm 1 "Jan 2008" "Dmitry Baryshev" "Backend script used by KSquirrel"
+.SH NAME
+ksquirrel-libs-xim2ppm
+\- backend script used by KSquirrel
+.SH SYNOPSIS
+ksquirrel-libs-xim2ppm
+.SH DESCRIPTION
+Backend script used by KSquirrel
+ Homepage: http://ksquirrel.sourceforge.net
+.SH AUTHORS
+.nf
+Dmitry Baryshev <ksquirrel@tut.by>
+.br
+.SH OTHER
+.nf
+This manual page was written by Harald Sitter <apachelogger@ubuntu.com> for the Debian
+system (but may be used by others).
+.br
diff --git a/debian/_base/libraries/libksquirrel/debian/patches/.gitignore b/debian/_base/libraries/libksquirrel/debian/patches/.gitignore
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/_base/libraries/libksquirrel/debian/patches/.gitignore
diff --git a/debian/_base/libraries/libksquirrel/debian/rules b/debian/_base/libraries/libksquirrel/debian/rules
new file mode 100755
index 000000000..15f00b785
--- /dev/null
+++ b/debian/_base/libraries/libksquirrel/debian/rules
@@ -0,0 +1,103 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
+DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
+DEB_CONFIGURE_PREFIX := /opt/trinity
+DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
+
+cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+config.status: configure
+ dh_testdir
+
+configure:
+ dh_testdir
+
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
+ cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
+ cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
+ cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+ cp -f /usr/share/misc/config.sub admin/config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+ cp -f /usr/share/misc/config.guess admin/config.guess
+endif
+
+ make -f admin/Makefile.common cvs
+ touch debian/stamp-bootstrap
+
+ # Add here commands to configure the package.
+ ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/opt/trinity --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" --disable-rpath
+# Tricks for Intrepid
+#--disable-kexif --enable-mt --x-includes=/usr/include/qt4/Qt
+
+build: build-stamp
+
+build-stamp: config.status
+ dh_testdir
+
+ # Add here commands to compile the package.
+ $(MAKE)
+ #docbook-to-man debian/ksquirrel.sgml > ksquirrel.1
+
+ touch $@
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the package into debian/ksquirrel.
+ $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs ChangeLog
+ dh_installdocs
+ dh_installexamples
+ dh_install
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb $(DEB_DH_BUILDDEB_ARGS)
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
diff --git a/debian/_base/libraries/libksquirrel/debian/source/format b/debian/_base/libraries/libksquirrel/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/debian/_base/libraries/libksquirrel/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/_base/libraries/libksquirrel/debian/source/options b/debian/_base/libraries/libksquirrel/debian/source/options
new file mode 100644
index 000000000..72f1f5450
--- /dev/null
+++ b/debian/_base/libraries/libksquirrel/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/libraries/libksquirrel/debian/watch b/debian/_base/libraries/libksquirrel/debian/watch
new file mode 100644
index 000000000..d9b799728
--- /dev/null
+++ b/debian/_base/libraries/libksquirrel/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/ksquirrel/ksquirrel-libs-(.+).tar.bz2
diff --git a/debian/_base/libraries/libtdeldap/debian/cdbs/debian-qt-kde.mk b/debian/_base/libraries/libtdeldap/debian/cdbs/debian-qt-kde.mk
new file mode 100644
index 000000000..60310a01a
--- /dev/null
+++ b/debian/_base/libraries/libtdeldap/debian/cdbs/debian-qt-kde.mk
@@ -0,0 +1,119 @@
+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
+
+# 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 debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
+
+ifndef _cdbs_rules_patchsys_quilt
+DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
+
+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)
+
+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
+
+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 )
+
+clean::
+ rm -rf debian/man/out
+ -rmdir debian/man
+ rm -f debian/stamp-man-pages
+ rm -rf debian/shlibs-check
+
+$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
+ 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
+
+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
+
+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 debian/stamp-cvs-make
+
+endif
diff --git a/debian/_base/libraries/libtdeldap/debian/cdbs/kde.mk b/debian/_base/libraries/libtdeldap/debian/cdbs/kde.mk
new file mode 100644
index 000000000..80176d63e
--- /dev/null
+++ b/debian/_base/libraries/libtdeldap/debian/cdbs/kde.mk
@@ -0,0 +1,91 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2003 Christopher L Cheney <ccheney@debian.org>
+# Description: A class for KDE packages; sets KDE 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.
+
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+
+ifndef _cdbs_class_kde
+_cdbs_class_kde := 1
+
+# for dh_icons
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), debhelper (>= 5.0.7ubuntu4)
+
+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
+
+export kde_cgidir = \$${libdir}/cgi-bin
+export kde_confdir = \$${sysconfdir}/trinity
+export kde_htmldir = \$${datadir}/doc/tde/HTML
+
+ifeq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_final = $(if $(DEB_KDE_ENABLE_FINAL),--enable-final,)
+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
+
+cdbs_configure_flags += --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+
+DEB_AC_AUX_DIR = $(DEB_SRCDIR)/admin
+DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include"
+DEB_COMPRESS_EXCLUDE = .dcl .docbook -license .tag .sty .el
+
+$(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
+
+cleanbuilddir::
+ -$(if $(call cdbs_streq,$(DEB_BUILDDIR),$(DEB_SRCDIR)),,rm -rf $(DEB_BUILDDIR))
+
+common-build-arch common-build-indep:: debian/stamp-kde-apidox
+debian/stamp-kde-apidox:
+ $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) apidox)
+ touch $@
+
+common-install-arch common-install-indep:: common-install-kde-apidox
+common-install-kde-apidox::
+ $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) install-apidox DESTDIR=$(DEB_DESTDIR))
+
+clean::
+ rm -f debian/stamp-kde-apidox
+
+# This is a convenience target for calling manually. It's not part of
+# the build process.
+buildprep: clean apply-patches
+ $(MAKE) -f admin/Makefile.common dist
+ debian/rules clean
+
+endif
diff --git a/debian/_base/libraries/libtdeldap/debian/cdbs/versions.pl b/debian/_base/libraries/libtdeldap/debian/cdbs/versions.pl
new file mode 100644
index 000000000..1b110f7af
--- /dev/null
+++ b/debian/_base/libraries/libtdeldap/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/libraries/libtdeldap/debian/changelog b/debian/_base/libraries/libtdeldap/debian/changelog
new file mode 100644
index 000000000..d564a4a8a
--- /dev/null
+++ b/debian/_base/libraries/libtdeldap/debian/changelog
@@ -0,0 +1,5 @@
+libtdeldap-trinity (0.5-0ubuntu0) karmic; urgency=low
+
+ * Karmic rebuild
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 02 Jul 2009 16:08:00 -0600
diff --git a/debian/_base/libraries/libtdeldap/debian/compat b/debian/_base/libraries/libtdeldap/debian/compat
new file mode 100644
index 000000000..7f8f011eb
--- /dev/null
+++ b/debian/_base/libraries/libtdeldap/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/_base/libraries/libtdeldap/debian/control b/debian/_base/libraries/libtdeldap/debian/control
new file mode 100644
index 000000000..1debe6d5d
--- /dev/null
+++ b/debian/_base/libraries/libtdeldap/debian/control
@@ -0,0 +1,22 @@
+Source: libtdeldap-trinity
+Section: tde
+Priority: optional
+Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Build-Depends: debhelper (>= 7.0.50~), quilt, cdbs, cmake, tdelibs14-trinity-dev, libldap2-dev, heimdal-multidev
+Standards-Version: 3.8.4
+
+Package: libtdeldap-trinity
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, heimdal-clients, nss-updatedb
+Description: LDAP interface library for TDE
+ LDAP interface library for TDE management modules.
+ .
+ libtdeldap-trinity contains the library of libtdeldap.
+
+Package: libtdeldap-trinity-dev
+Architecture: any
+Depends: libtdeldap-trinity (= ${binary:Version}), tdelibs14-trinity-dev, libldap2-dev, heimdal-multidev
+Description: LDAP interface library for TDE
+ LDAP interface library for TDE management modules.
+ .
+ libtdeldap-trinity-dev contains development files and documentation.
diff --git a/debian/_base/libraries/libtdeldap/debian/copyright b/debian/_base/libraries/libtdeldap/debian/copyright
new file mode 100644
index 000000000..540709e87
--- /dev/null
+++ b/debian/_base/libraries/libtdeldap/debian/copyright
@@ -0,0 +1,31 @@
+This package was debianized by Timothy Pearson <kb9vqf@pearsoncomputing.net> on
+Thu, 17 May 2012 19:52:51 +0100.
+
+It was downloaded from http://www.trinitydesktop.org
+
+Upstream Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+
+copyright (C) 2012 Timothy Pearson <kb9vqf@pearsoncomputing.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) 2012, Timothy Pearson <kb9vqf@pearsoncomputing.net> and
+is licensed under the GPL, see above.
+
diff --git a/debian/_base/libraries/libtdeldap/debian/docs b/debian/_base/libraries/libtdeldap/debian/docs
new file mode 100644
index 000000000..62deb0497
--- /dev/null
+++ b/debian/_base/libraries/libtdeldap/debian/docs
@@ -0,0 +1 @@
+AUTHORS
diff --git a/debian/_base/libraries/libtdeldap/debian/libtdeldap-trinity-dev.install b/debian/_base/libraries/libtdeldap/debian/libtdeldap-trinity-dev.install
new file mode 100644
index 000000000..5b15c89d1
--- /dev/null
+++ b/debian/_base/libraries/libtdeldap/debian/libtdeldap-trinity-dev.install
@@ -0,0 +1,3 @@
+debian/tmp/opt/trinity/include/*
+debian/tmp/opt/trinity/lib/lib*.so
+debian/tmp/opt/trinity/lib/*.la
diff --git a/debian/_base/libraries/libtdeldap/debian/libtdeldap-trinity.install b/debian/_base/libraries/libtdeldap/debian/libtdeldap-trinity.install
new file mode 100644
index 000000000..11882501a
--- /dev/null
+++ b/debian/_base/libraries/libtdeldap/debian/libtdeldap-trinity.install
@@ -0,0 +1 @@
+debian/tmp/opt/trinity/lib/lib*.so.*
diff --git a/debian/_base/libraries/libtdeldap/debian/patches/series b/debian/_base/libraries/libtdeldap/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/_base/libraries/libtdeldap/debian/patches/series
diff --git a/debian/_base/libraries/libtdeldap/debian/rules b/debian/_base/libraries/libtdeldap/debian/rules
new file mode 100755
index 000000000..1934c8278
--- /dev/null
+++ b/debian/_base/libraries/libtdeldap/debian/rules
@@ -0,0 +1,25 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/cmake.mk
+#include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+include debian/cdbs/debian-qt-kde.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_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
+DEB_CMAKE_EXTRA_FLAGS := \
+ -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/libraries/libtdeldap/debian/source/format b/debian/_base/libraries/libtdeldap/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/debian/_base/libraries/libtdeldap/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/_base/libraries/libtdeldap/debian/source/options b/debian/_base/libraries/libtdeldap/debian/source/options
new file mode 100644
index 000000000..72f1f5450
--- /dev/null
+++ b/debian/_base/libraries/libtdeldap/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/libraries/libtqt-perl/debian/changelog b/debian/_base/libraries/libtqt-perl/debian/changelog
new file mode 100644
index 000000000..c5a93479e
--- /dev/null
+++ b/debian/_base/libraries/libtqt-perl/debian/changelog
@@ -0,0 +1,142 @@
+libtqt-perl (3.008-0ubuntu0) maverick; urgency=low
+
+ * Absorbed upstream
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Sun, 18 Dec 2011 03:09:00 -0600
+
+libqt-perl (3.008-4ubuntu7) oneiric; urgency=low
+
+ * Oneiric upload
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Mon, 15 Aug 2011 13:47:00 -0600
+
+libqt-perl (3.008-4ubuntu1) karmic; urgency=low
+
+ * Fixing FTBFS
+ + debian/rules:
+ - Fixed cp command for libtool.m4 from /usr/share/libtool to /usr/share/aclocal
+ - Fixed cp command for ltmain.sh from /usr/share/libtool to /usr/share/libtool/config
+
+ -- Stephan Hermann <sh@sourcecode.de> Thu, 13 Aug 2009 06:12:48 +0000
+
+libqt-perl (3.008-4) unstable; urgency=low
+
+ * Ack NMU.
+ * Fix build on GNU/k*BSD. Closes: #511429.
+ - admin/cvs.sh: Added autoconf*2.6* and autoconf*2.6*.
+ - debian/control: libtool >= 1.5.2.
+ - debian/rules: Updated the pre-build rule, see #511429.
+ * debian/copyright: Fixed copyright-without-copyright-notice.
+ * debian/control: Fixed debhelper-but-no-misc-depends and
+ out-of-date-standards-version.
+
+ -- Bart Martens <bartm@debian.org> Thu, 12 Feb 2009 19:19:43 +0100
+
+libqt-perl (3.008-3.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Use patch from Steve Cotton <steve0001@s.cotton.clara.co.uk>
+ to break a ``use'' cycle between Qt and Qt::debug. Closes: #481642
+
+ -- Marc 'HE' Brockschmidt <he@debian.org> Sat, 06 Sep 2008 22:09:32 +0200
+
+libqt-perl (3.008-3) unstable; urgency=low
+
+ * New maintainer. Closes: #379681.
+ * debian/compat, debian/control, debian/examples, debian/manpages,
+ debian/rules: Repackaged using dh-make and cdbs. Closes: #463089.
+ * debian/control, debian/rules: Using chrpath to remove rpath.
+ * config.h.in, PerlTQt/bin/pqtapi, PerlTQt/bin/pqtsh: Removed previously
+ automatically added changes.
+ * debian/watch: Added.
+
+ -- Bart Martens <bartm@debian.org> Sat, 09 Feb 2008 14:45:59 +0100
+
+libqt-perl (3.008-2) unstable; urgency=low
+
+ * QA Upload (Ack NMU; Closes: #327326,#327993,#274779,#289658)
+ * Set Maintainer to QA Group; Orphaned: #379681
+ * Higher compat level, depend on at least dh 4.0.0
+ * Update debian/copyright
+ * "Fix" removing of empty directoriese in debian/rules (-exec instead
+ of |xargs which will produce a warning)
+ * Conforms to latest Standards Version 3.7.2
+
+ -- Michael Ablassmeier <abi@debian.org> Tue, 8 Aug 2006 15:29:52 +0200
+
+libqt-perl (3.008-1.4) unstable; urgency=low
+
+ * Non-maintainer upload.
+
+ * Rebuild against transitioned Qt libraries. (Closes: #327993)
+
+ * Now that libsmokeqt1 is available everywhere, don't use the internal copy
+ of the library on mips and mipsel. Changes:
+
+ + debian/control:
+ - build-depend on libsmokeqt-dev on all arches
+ - drop build-dependency on chrpath
+ - remove ${mipsen:Conflicts} from libqt-perl's Conflicts line
+
+ + debian/rules:
+ - no --enable-smoke for ./configure
+ - no make -C smoke call
+ - no chrpath invocation
+ - no -Vmipsen:Conflicts for dh_gencontrol
+
+ -- Adeodato Simó <asp16@alu.ua.es> Wed, 26 Oct 2005 22:42:24 +0200
+
+libqt-perl (3.008-1.3) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Use -Wa,-xgot on mipsel when building libsmokeqt, otherwise we
+ overflow the symbol table and the package fails to build.
+ Closes: #289658.
+
+ -- Steve Langasek <vorlon@debian.org> Mon, 10 Jan 2005 04:16:37 -0800
+
+libqt-perl (3.008-1.2) unstable; urgency=high
+
+ * Non-maintainer upload, with thanks to Adeodato Simó for his help in
+ preparing it
+ * High-urgency upload for sarge-targetted RC bugfix
+ * Revert the changes in the previous upload for mips and mipsel,
+ required for libqt-perl to be buildable on all arches and eligible
+ for sarge. (See discussion in Bug#274779).
+ * Make sure to keep --disable-rpath on all architectures and re-add
+ LD_RUN_PATH='', as this is still needed.
+ * Make libqt-perl conflict libsmokeqt1 and libsmokeqt-dev on mipsen.
+
+ -- Steve Langasek <vorlon@debian.org> Fri, 7 Jan 2005 18:13:13 -0800
+
+libqt-perl (3.008-1.1) unstable; urgency=low
+
+ * Non maintainer upload.
+ * Do not build libsmokeqt, as it already exists in the libsmokeqt1 package.
+ (Closes: #274779)
+ * List of changes:
+ - added versioned Build-Dependency on libsmokeqt-dev.
+ - remove --disable-rpath and --enable-smoke from ./configure invocation.
+ - do not set LD_RUN_PATH when calling make.
+ - remove chrpath on no-longer built libsmokeqt.so, remove Build-Dependency
+ on chrpath too.
+
+ -- Adeodato Simó <asp16@alu.ua.es> Thu, 07 Oct 2004 20:55:04 +0200
+
+libqt-perl (3.008-1) unstable; urgency=low
+
+ * New upstream release.
+ * This updated tarball appears to happily build from source again. I
+ couldn't reproduce the exact bug described by the submitter, however I did
+ fix the other FTBFS bug I found by the version update (g++ 3.3
+ incompatibilities). I'll assume things are ok now unless proved otherwise.
+ (closes: #215048)
+
+ -- Peter Hawkins <peterh@debian.org> Sat, 11 Oct 2003 09:47:11 +1000
+
+libqt-perl (3.006-1) unstable; urgency=low
+
+ * Initial Release. (closes: #177909)
+
+ -- Peter Hawkins <peterh@debian.org> Fri, 24 Jan 2003 10:02:36 +0800
+
diff --git a/debian/_base/libraries/libtqt-perl/debian/compat b/debian/_base/libraries/libtqt-perl/debian/compat
new file mode 100644
index 000000000..7f8f011eb
--- /dev/null
+++ b/debian/_base/libraries/libtqt-perl/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/_base/libraries/libtqt-perl/debian/control b/debian/_base/libraries/libtqt-perl/debian/control
new file mode 100644
index 000000000..58c1330af
--- /dev/null
+++ b/debian/_base/libraries/libtqt-perl/debian/control
@@ -0,0 +1,18 @@
+Source: libtqt-perl
+Section: perl
+Priority: optional
+Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+XSBC-Original-Maintainer: Bart Martens <bartm@debian.org>
+Build-Depends: cdbs, debhelper (>= 7.0.50~), autotools-dev, libtqtinterface-dev, perl (>= 5.8.0), automake, autoconf, tdelibs14-trinity-dev, libsmoketqt-trinity-dev, chrpath, libtool (>= 1.5.2)
+Build-Conflicts: libtqt-perl
+Standards-Version: 3.8.4
+
+Package: libtqt-perl
+Architecture: any
+Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends}
+Replaces: libtqt-perl (<< 4:14.0.0~)
+Breaks: libtqt-perl (<< 4:14.0.0~)
+Conflicts: libqt-perl
+Description: Perl bindings for the TQt library
+ This module lets you use the TQt library from Perl.
+ It provides an object-oriented interface and is easy to use.
diff --git a/debian/_base/libraries/libtqt-perl/debian/copyright b/debian/_base/libraries/libtqt-perl/debian/copyright
new file mode 100644
index 000000000..ae0fd0e46
--- /dev/null
+++ b/debian/_base/libraries/libtqt-perl/debian/copyright
@@ -0,0 +1,38 @@
+This package was debianized by Peter Hawkins <peterh@debian.org> on
+Fri, 24 Jan 2003 10:02:36 +0800.
+
+It was downloaded from http://perlqt.sourceforge.net/
+
+Copyright (c) 2002 Ashley Winters
+Copyright (c) 2002-2003 Germain Garand
+Copyright (C) 1992-2002 Trolltech AS.
+Copyright (c) 2001 Phil Thompson <phil@river-bank.demon.co.uk>
+Copyright (C) 1999 Sirtaj Singh Kang <taj@kde.org>
+Copyright (C) 2000-2002, Lost Highway Ltd
+Copyright (C) 1998 Kalle Dalheimer <kalle@kde.org>
+Copyright (C) 2002 by the KDE developers
+Copyright (C) 1997 Janos Farkas (chexum@shadow.banki.hu)
+Copyright (C) 1997-1999, 2001 Stephan Kulow (coolo@kde.org)
+Copyright (c) 2002 Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+Copyright (C) 1998-1999 Matthew D. Langston <langston@SLAC.Stanford.EDU>
+Copyright (C) 1989-2002 Free Software Foundation, Inc.
+
+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'.
+
diff --git a/debian/_base/libraries/libtqt-perl/debian/docs b/debian/_base/libraries/libtqt-perl/debian/docs
new file mode 100644
index 000000000..60566c90c
--- /dev/null
+++ b/debian/_base/libraries/libtqt-perl/debian/docs
@@ -0,0 +1,3 @@
+README
+TODO
+PerlTQt/tutorials
diff --git a/debian/_base/libraries/libtqt-perl/debian/examples b/debian/_base/libraries/libtqt-perl/debian/examples
new file mode 100644
index 000000000..50594b81e
--- /dev/null
+++ b/debian/_base/libraries/libtqt-perl/debian/examples
@@ -0,0 +1 @@
+PerlTQt/examples/*
diff --git a/debian/_base/libraries/libtqt-perl/debian/manpages b/debian/_base/libraries/libtqt-perl/debian/manpages
new file mode 100644
index 000000000..d8b17c191
--- /dev/null
+++ b/debian/_base/libraries/libtqt-perl/debian/manpages
@@ -0,0 +1,3 @@
+debian/pqtsh.1
+debian/pqtapi.1
+debian/puic.1
diff --git a/debian/_base/libraries/libtqt-perl/debian/pqtapi.1 b/debian/_base/libraries/libtqt-perl/debian/pqtapi.1
new file mode 100644
index 000000000..f6005623a
--- /dev/null
+++ b/debian/_base/libraries/libtqt-perl/debian/pqtapi.1
@@ -0,0 +1,40 @@
+.TH PERLQT 1 "July 31, 2002"
+.SH NAME
+pqtapi \- PerlTQt introspection tool
+.SH SYNOPSIS
+.B pqtapi
+.RI " [ " -r " " <re> " ] [ " <class> " ]
+
+.SH DESCRIPTION
+This manual page documents briefly the
+.B pqtapi
+command.
+.PP
+\fBpqtapi\fP is a PerlTQt Introspection tool.
+
+For example:
+$ pqtapi -ir 'setpoint.* int'
+ void QCanvasLine::setPoints(int, int, int, int)
+ void QPointArray::setPoint(uint, int, int)
+
+For more information, please see the documentation on the PerlTQt website
+http://perlqt.sourceforge.net/
+
+.SH OPTIONS
+A summary of options is included below.
+.TP
+.B \-r <re>
+Find all functions matching a regular expression/keyword <re>.
+.TP
+.B \-i
+Together with -r, perform a case-insensitive search.
+.TP
+.B \-v
+Display version information.
+.TP
+.B \-h
+Display usage information.
+
+.SH AUTHOR
+This manual page was written by Peter Hawkins <peter@hawkins.emu.id.au>,
+for the Debian GNU/Linux system (but may be used by others).
diff --git a/debian/_base/libraries/libtqt-perl/debian/pqtsh.1 b/debian/_base/libraries/libtqt-perl/debian/pqtsh.1
new file mode 100644
index 000000000..19c7a93a0
--- /dev/null
+++ b/debian/_base/libraries/libtqt-perl/debian/pqtsh.1
@@ -0,0 +1,21 @@
+.TH PERLQT 1 "July 31, 2002"
+.SH NAME
+pqtsh \- PerlTQt Graphical shell
+.SH SYNOPSIS
+.B pqtsh
+
+.SH DESCRIPTION
+This manual page documents briefly the
+.B pqtsh
+command.
+.PP
+\fBpqtsh\fP is a graphical shell that can be used to test and experiment
+with the PerlTQt api interactively. It is fairly self-explanatory and includes
+an interactive example (Help -> Example).
+
+For more information, please see the documentation on the PerlTQt website
+http://perlqt.sourceforge.net/
+
+.SH AUTHOR
+This manual page was written by Peter Hawkins <peter@hawkins.emu.id.au>,
+for the Debian GNU/Linux system (but may be used by others).
diff --git a/debian/_base/libraries/libtqt-perl/debian/puic.1 b/debian/_base/libraries/libtqt-perl/debian/puic.1
new file mode 100644
index 000000000..671bd97fd
--- /dev/null
+++ b/debian/_base/libraries/libtqt-perl/debian/puic.1
@@ -0,0 +1,65 @@
+.TH PERLQT 1 "July 31, 2002"
+.SH NAME
+puic \- Perl-QT User Interface Compiler
+.SH SYNOPSIS
+.B puic
+.RI " [ " options " ] [ " mode " ] " <uifile.ui> "
+
+
+Generate implementation:
+
+.B puic
+.RI " [ " options " ] " <input.ui> "
+
+
+Generate image collection:
+
+.B puic
+.RI " [ " options " ] " -embed " " <project> " " <image1> " " ... "
+
+
+Generate subclass implementation:
+
+.B puic
+.RI " [ " options " ] " -subclass " " <classname> " " <uifile.ui> "
+
+.SH DESCRIPTION
+This manual page documents briefly the
+.B puic
+command.
+.PP
+\fBpuic\fP is a program that generates a Perl package from a User Interface
+file created with the Qt Designer package. This will generate the package
+defined in the UI file and a basic main package for testing purposes.
+
+For more information, please see the documentation on the PerlTQt website
+http://perlqt.sourceforge.net/
+
+.SH OPTIONS
+A summary of options is included below.
+.TP
+.B \-o <output filename>
+Specify the name of the output file. If no output file is specified, stdout
+will be used.
+.TP
+.B \-p <indent>
+Set the indent in spaces (0 to use a tab)
+.TP
+.B \-nofwd
+Omit imports of custom widgets
+.TP
+.B \-tr <func>
+Use func(...) rather than trUtf8(...) for i18n
+.TP
+.B \-x
+Generate extra code to test the class.
+.TP
+.B \-version
+Display version information.
+.TP
+.B \-help
+Display usage information.
+
+.SH AUTHOR
+This manual page was written by Peter Hawkins <peter@hawkins.emu.id.au>,
+for the Debian GNU/Linux system (but may be used by others).
diff --git a/debian/_base/libraries/libtqt-perl/debian/rules b/debian/_base/libraries/libtqt-perl/debian/rules
new file mode 100755
index 000000000..28a9c7817
--- /dev/null
+++ b/debian/_base/libraries/libtqt-perl/debian/rules
@@ -0,0 +1,63 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+
+SAVERESTORE=\
+ acinclude.m4 \
+ aclocal.m4 \
+ admin/config.guess \
+ admin/config.sub \
+ admin/libtool.m4.in \
+ admin/ltmain.sh \
+ config.h.in \
+ configure \
+ Makefile.in \
+ puic/Makefile.in \
+ smoke/Makefile.in \
+ smoke/tqt/Makefile.in \
+ PerlTQt/bin \
+
+DEB_AUTO_UPDATE_AUTOCONF := 2.61
+
+DEB_CONFIGURE_EXTRA_FLAGS += \
+ --prefix=/opt/trinity \
+ --mandir=\$${prefix}/share/man \
+ --infodir=\$${prefix}/share/info \
+ --with-qt-dir=/usr/share/tqt3 \
+ --disable-rpath \
+
+DEB_MAKE_INSTALL_TARGET := install \
+ prefix=/usr \
+ DESTDIR=$(CURDIR)/debian/libtqt-perl
+
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
+pre-build:: pre-build-stamp
+
+pre-build-stamp:
+ for f in $(SAVERESTORE) ; do [ -e $$f.d-r-orig ] || cp -rp $$f $$f.d-r-orig ; done
+ cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
+ cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
+ cp -f /usr/share/misc/config.guess admin/config.guess
+ cp -f /usr/share/misc/config.sub admin/config.sub
+ make -f admin/Makefile.common
+ touch pre-build-stamp
+
+build/libtqt-perl::
+ chrpath -d puic/puic
+
+clean::
+ rm -f PerlTQt/bin/.exists
+ for f in $(SAVERESTORE) ; do [ ! -e $$f.d-r-orig ] || ( rm -rf $$f && mv $$f.d-r-orig $$f ) ; done
+ rm -f pre-build-stamp
+
+repair:
+ for f in $(SAVERESTORE) ; do rm -f $$f ; cp -p ../orig/*/$$f $$f ; done
+
diff --git a/debian/_base/libraries/libtqt-perl/debian/source/format b/debian/_base/libraries/libtqt-perl/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/debian/_base/libraries/libtqt-perl/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/_base/libraries/libtqt-perl/debian/source/options b/debian/_base/libraries/libtqt-perl/debian/source/options
new file mode 100644
index 000000000..72f1f5450
--- /dev/null
+++ b/debian/_base/libraries/libtqt-perl/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/libraries/libtqt-perl/debian/watch b/debian/_base/libraries/libtqt-perl/debian/watch
new file mode 100644
index 000000000..18c470968
--- /dev/null
+++ b/debian/_base/libraries/libtqt-perl/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/perlqt/PerlTQt-([^b]+)\.tar\.gz
diff --git a/debian/_base/libraries/pytdeextensions/debian/README.Debian b/debian/_base/libraries/pytdeextensions/debian/README.Debian
new file mode 100644
index 000000000..b0302c211
--- /dev/null
+++ b/debian/_base/libraries/pytdeextensions/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/libraries/pytdeextensions/debian/changelog b/debian/_base/libraries/pytdeextensions/debian/changelog
new file mode 100644
index 000000000..cf8999ac1
--- /dev/null
+++ b/debian/_base/libraries/pytdeextensions/debian/changelog
@@ -0,0 +1,134 @@
+pytdeextensions-trinity (0.4.0-6ubuntu6) karmic; urgency=low
+
+ * Karmic rebuild
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 02 Jul 2009 16:08:00 -0600
+
+pytdeextensions-trinity (0.4.0-5ubuntu5) intrepid; urgency=low
+
+ * Added -trinity suffix
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Wed, 03 Dec 2008 21:38:00 -0600
+
+pytdeextensions (0.4.0-5ubuntu3) hardy; urgency=low
+
+ * Re-add libpythoniz0 dependency on python-dev to work around
+ libpythonize0 dlopening libpython2.5.so and not ...so.1 (LP: #179668)
+
+ -- Scott Kitterman <scott@kitterman.com> Sat, 01 Mar 2008 11:15:08 -0500
+
+pytdeextensions (0.4.0-5ubuntu2) hardy; urgency=low
+
+ * debian/control:
+ - remove the python-all-dev dependency in libpythonize0
+ - remove python2.5-dev dependency in libpythonize0-dev, this
+ gets pulled in via libpythonize0
+
+ -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 17 Dec 2007 12:38:49 +0100
+
+pytdeextensions (0.4.0-5ubuntu1) hardy; urgency=low
+
+ * Merge with Debian, remaining changes:
+ - libpythonize0 depends on python2.5-dev, it tries to load .so file
+
+ -- Jonathan Riddell <jriddell@ubuntu.com> Thu, 29 Nov 2007 17:59:47 +0000
+
+pytdeextensions (0.4.0-5) unstable; urgency=low
+
+ * Add python-qt-dev build dependency.
+ pyqtconfig moved from python-qt3 to python-qt-dev. (Closes: #439504)
+ * Build with python 2.4/2.5. (Closes: #424505, #445292)
+ * Revert previous pyversions.
+ * Revert python-all-dev build dependency.
+ * Replace 12_force_python2.4_script patch.
+ * Remove *.py[co] files.
+ * lintian cleanup: substvar-source-version-is-deprecated.
+ Use ${binary:Version}.
+ * Make pytdeextensions package arch all.
+
+ -- Fathi Boudra <fboudra@free.fr> Sun, 07 Oct 2007 12:06:15 +0200
+
+pytdeextensions (0.4.0-4ubuntu4) gutsy; urgency=low
+
+ * Fix depends to python2.5-dev
+
+ -- Jonathan Riddell <jriddell@ubuntu.com> Tue, 25 Sep 2007 18:48:45 +0100
+
+pytdeextensions (0.4.0-4ubuntu3) gutsy; urgency=low
+
+ * Add libpython2.5-dev as a depends for libpythonize0, it wants to
+ load libpython2.5.so, reverts change from previous upload, LP: #84689,
+ LP: #144815
+
+ -- Jonathan Riddell <jriddell@ubuntu.com> Tue, 25 Sep 2007 16:32:17 +0100
+
+pytdeextensions (0.4.0-4ubuntu2) gutsy; urgency=low
+
+ * Fix build failure, build-depend on python-qt-dev.
+ * Use the unversioned python interpreter for scripts.
+ * Don't include byte-compiled files. LP: #36733.
+ * libpythonize0: Remove dependency on python2.5-dev. LP: #84689.
+
+ -- Matthias Klose <doko@ubuntu.com> Wed, 29 Aug 2007 20:48:25 +0000
+
+pytdeextensions (0.4.0-4ubuntu1) gutsy; urgency=low
+
+ * Merge with Debian, remaining changes:
+ - build on python 2.5
+
+ -- Jonathan Riddell <jriddell@ubuntu.com> Sun, 03 Jun 2007 13:51:42 +0100
+
+pytdeextensions (0.4.0-4) unstable; urgency=low
+
+ * Update pyversions. Force to build with python2.4 only. (Closes: #424505)
+ * Remove python-all-dev build dependency. Replaced by python-dev.
+ * Remove pycompat. Deprecated.
+
+ -- Fathi Boudra <fboudra@free.fr> Wed, 16 May 2007 11:02:06 +0200
+
+pytdeextensions (0.4.0-3ubuntu1) feisty; urgency=low
+
+ * Force to build with python2.5.
+ * FIXME: The package is unlikely to work with python2.4; maybe
+ just drop the build dependency on python-all-dev.
+
+ -- Matthias Klose <doko@ubuntu.com> Sun, 14 Jan 2007 16:42:27 +0000
+
+pytdeextensions (0.4.0-3) unstable; urgency=low
+
+ * Converted package to python-support
+ * Added pycompat and pyversions
+ * Force to use python2.4 (Closes: #375618)
+ * Added to Build-Depends: python-support, python-all-dev,
+ tdelibs4c2a (for tde-config)
+ * Updated libpythonize0-dev, libpythonize0, and pytdextensions install files
+ * Cleaned up rules
+ * Added 12_force_python2.4_script.diff to force python2.4 in scripts
+
+ -- Fathi Boudra <fboudra@free.fr> Thu, 29 Jun 2006 15:41:39 +0200
+
+pytdeextensions (0.4.0-2) unstable; urgency=low
+
+ * Converted package to cdbs
+ * Added 2 patches (thanks to Jonathan Riddell)
+ * 10_qt_candidate_paths.diff
+ * 11_fix_get_libdir_name.diff (Closes: #357775)
+ * Updated control file
+ * Bumped debian policy version
+
+ -- Fathi Boudra <fboudra@free.fr> Tue, 6 Jun 2006 08:56:40 +0200
+
+pytdeextensions (0.4.0-1) unstable; urgency=low
+
+ [ Fathi Boudra ]
+ * Initial Debian release Closes: #340141
+
+ [ Jonathan Riddell ]
+ * Add depends on python2.x-dev to libpythonize0 to bring in libpython2.x.so
+
+ [ Mark Purcell ]
+ * Maintainer: Debian KDE Extras Team <pkg-kde-
+ extras@lists.alioth.debian.org>
+
+ -- Mark Purcell <msp@debian.org> Tue, 28 Feb 2006 19:24:38 +0000
+
diff --git a/debian/_base/libraries/pytdeextensions/debian/compat b/debian/_base/libraries/pytdeextensions/debian/compat
new file mode 100644
index 000000000..7f8f011eb
--- /dev/null
+++ b/debian/_base/libraries/pytdeextensions/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/_base/libraries/pytdeextensions/debian/control b/debian/_base/libraries/pytdeextensions/debian/control
new file mode 100644
index 000000000..554d973d9
--- /dev/null
+++ b/debian/_base/libraries/pytdeextensions/debian/control
@@ -0,0 +1,51 @@
+Source: pytdeextensions-trinity
+Section: tde
+Priority: optional
+Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Uploaders: Fathi Boudra <fboudra@free.fr>, Mark Purcell <msp@debian.org>
+Build-Depends: cdbs, debhelper (>= 7.0.50~), chrpath, quilt, tdelibs14-trinity, libtool-bin | libtool (<< 2.4.2-1.11), libtool,
+ libxml2-utils, libxrandr-dev, libxxf86vm-dev, pytqt-tools, python-trinity-trinity,
+ python-tqt-dev, python-sip-tqt-dev, python-support (>= 0.6) | dh-python, python (>= 2.5), python-all-dev (>= 2.5)
+Standards-Version: 3.8.4
+
+Package: pytdeextensions-trinity
+Architecture: all
+Depends: ${python:Depends}
+Replaces: pykdeextensions-trinity (<< 4:14.0.0~)
+Breaks: pykdeextensions-trinity (<< 4:14.0.0~)
+Conflicts: pykdeextensions
+Provides: ${python:Provides}
+Description: Python packages to support TDE applications (scripts) [Trinity]
+ PyTDE Extensions is a collection of software and Python packages
+ to support the creation and installation of TDE applications.
+ .
+ Homepage: http://www.simonzone.com/software/pytdeextensions
+
+Package: libpythonize0-trinity-dev
+Architecture: any
+Section: libdevel
+Replaces: libpythonize0-trinity-dev (<< 4:14.0.0~)
+Breaks: libpythonize0-trinity-dev (<< 4:14.0.0~)
+Depends: libpythonize0-trinity (= ${binary:Version}), python-all-dev
+Description: Python packages to support TDE applications (development) [Trinity]
+ PyTDE Extensions is a collection of software and Python packages
+ to support the creation and installation of TDE applications.
+ .
+ This package contains the libpythonize development files.
+ .
+ Homepage: http://www.simonzone.com/software/pytdeextensions
+
+Package: libpythonize0-trinity
+Architecture: any
+Section: libs
+Replaces: libpythonize0-trinity (<< 4:14.0.0~)
+Breaks: libpythonize0-trinity (<< 4:14.0.0~)
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Conflicts: libpythonize0
+Description: Python packages to support TDE applications (library) [Trinity]
+ PyTDE Extensions is a collection of software and Python packages
+ to support the creation and installation of TDE applications.
+ .
+ This package contains the libpythonize library files.
+ .
+ Homepage: http://www.simonzone.com/software/pytdeextensions
diff --git a/debian/_base/libraries/pytdeextensions/debian/copyright b/debian/_base/libraries/pytdeextensions/debian/copyright
new file mode 100644
index 000000000..9ed7bf6cd
--- /dev/null
+++ b/debian/_base/libraries/pytdeextensions/debian/copyright
@@ -0,0 +1,48 @@
+This package was debianized by Fathi Boudra <fboudra@free.fr> on
+Wed, 27 Jul 2005 20:19:26 +0200.
+
+It was downloaded from <http://www.simonzone.com/software/pytdeextensions>
+
+Application templates and pytde helper modules copyright:
+ Simon Edwards <simon@simonzone.com>
+
+License:
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Library 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 Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL-2'.
+
+libpythonize: Copyright 2003 Jim Bublitz <jbublitz@nwinternet.com>
+
+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'.
+
diff --git a/debian/_base/libraries/pytdeextensions/debian/docs b/debian/_base/libraries/pytdeextensions/debian/docs
new file mode 100644
index 000000000..e845566c0
--- /dev/null
+++ b/debian/_base/libraries/pytdeextensions/debian/docs
@@ -0,0 +1 @@
+README
diff --git a/debian/_base/libraries/pytdeextensions/debian/libpythonize0-trinity-dev.install b/debian/_base/libraries/pytdeextensions/debian/libpythonize0-trinity-dev.install
new file mode 100644
index 000000000..5e9fd1f3e
--- /dev/null
+++ b/debian/_base/libraries/pytdeextensions/debian/libpythonize0-trinity-dev.install
@@ -0,0 +1,4 @@
+opt/trinity/include/pythonize.h
+opt/trinity/lib/libpythonize.a
+opt/trinity/lib/libpythonize.la
+opt/trinity/lib/libpythonize.so
diff --git a/debian/_base/libraries/pytdeextensions/debian/libpythonize0-trinity.install b/debian/_base/libraries/pytdeextensions/debian/libpythonize0-trinity.install
new file mode 100644
index 000000000..48601d2d0
--- /dev/null
+++ b/debian/_base/libraries/pytdeextensions/debian/libpythonize0-trinity.install
@@ -0,0 +1 @@
+opt/trinity/lib/libpythonize.so.*
diff --git a/debian/_base/libraries/pytdeextensions/debian/patches/.gitignore b/debian/_base/libraries/pytdeextensions/debian/patches/.gitignore
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/_base/libraries/pytdeextensions/debian/patches/.gitignore
diff --git a/debian/_base/libraries/pytdeextensions/debian/patches/11_fix_get_libdir_name.diff b/debian/_base/libraries/pytdeextensions/debian/patches/11_fix_get_libdir_name.diff
new file mode 100644
index 000000000..3a65ff190
--- /dev/null
+++ b/debian/_base/libraries/pytdeextensions/debian/patches/11_fix_get_libdir_name.diff
@@ -0,0 +1,15 @@
+Index: b/src/tdedistutils.py
+===================================================================
+--- a/src/tdedistutils.py
++++ b/src/tdedistutils.py
+@@ -2272,7 +2272,7 @@
+
+ ###########################################################################
+ def get_libdir_name():
+- if os.uname()[4] in ['x86_64','mips64','ppc64','sparc64','s390x']:
+- return 'lib64'
+- else:
++ #if os.uname()[4] in ['x86_64','mips64','ppc64','sparc64','s390x']:
++ # return 'lib64'
++ #else:
+ return 'lib'
diff --git a/debian/_base/libraries/pytdeextensions/debian/patches/series b/debian/_base/libraries/pytdeextensions/debian/patches/series
new file mode 100644
index 000000000..4e4c2c945
--- /dev/null
+++ b/debian/_base/libraries/pytdeextensions/debian/patches/series
@@ -0,0 +1 @@
+11_fix_get_libdir_name.diff
diff --git a/debian/_base/libraries/pytdeextensions/debian/pycompat b/debian/_base/libraries/pytdeextensions/debian/pycompat
new file mode 100644
index 000000000..0cfbf0888
--- /dev/null
+++ b/debian/_base/libraries/pytdeextensions/debian/pycompat
@@ -0,0 +1 @@
+2
diff --git a/debian/_base/libraries/pytdeextensions/debian/pytdeextensions-trinity.install b/debian/_base/libraries/pytdeextensions/debian/pytdeextensions-trinity.install
new file mode 100644
index 000000000..1d69ae1ee
--- /dev/null
+++ b/debian/_base/libraries/pytdeextensions/debian/pytdeextensions-trinity.install
@@ -0,0 +1,7 @@
+usr/lib/python*/dist-packages
+opt/trinity/share/apps/pytdeextensions/AUTHORS
+opt/trinity/share/apps/pytdeextensions/ChangeLog
+opt/trinity/share/apps/pytdeextensions/INSTALL
+opt/trinity/share/apps/pytdeextensions/NEWS
+opt/trinity/share/apps/pytdeextensions/app_templates
+opt/trinity/share/doc/tde/HTML/en/pytdeextensions
diff --git a/debian/_base/libraries/pytdeextensions/debian/pytdeextensions-trinity.lintian-overrides b/debian/_base/libraries/pytdeextensions/debian/pytdeextensions-trinity.lintian-overrides
new file mode 100644
index 000000000..7cd5d5817
--- /dev/null
+++ b/debian/_base/libraries/pytdeextensions/debian/pytdeextensions-trinity.lintian-overrides
@@ -0,0 +1,10 @@
+pytdeextensions-trinity: desktop-entry-contains-unknown-key ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop:4 name[en_GB]
+pytdeextensions-trinity: desktop-command-not-in-package ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop tdecmshell
+pytdeextensions-trinity: desktop-entry-invalid-category QT ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
+pytdeextensions-trinity: desktop-entry-invalid-category X-TDE-settings-system ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
+pytdeextensions-trinity: desktop-entry-lacks-main-category ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
+pytdeextensions-trinity: desktop-command-not-in-package ./opt/trinity/share/apps/pytdeextensions/app_templates/kdeapp/src/kdeapp.desktop $APPNAMELC$
+pytdeextensions-trinity: desktop-command-not-in-package ./opt/trinity/share/apps/pytdeextensions/app_templates/kdeutility/src/kdeutility.desktop $APPNAMELC$
+
+pytdeextensions-trinity: executable-not-elf-or-script ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/KcontrolModuleWidgetUI.py
+pytdeextensions-trinity: executable-not-elf-or-script ./opt/trinity/share/apps/pytdeextensions/app_templates/kdeutility/src/KDEUtilityDialogUI.py
diff --git a/debian/_base/libraries/pytdeextensions/debian/python-distutils-jaunty.mk b/debian/_base/libraries/pytdeextensions/debian/python-distutils-jaunty.mk
new file mode 100644
index 000000000..1a1ec9a8e
--- /dev/null
+++ b/debian/_base/libraries/pytdeextensions/debian/python-distutils-jaunty.mk
@@ -0,0 +1,297 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2003 Colin Walters <walters@debian.org>
+# Copyright © 2006 Marc Dequènes (Duck) <Duck@DuckCorp.org>
+#
+# Description: manage Python public modules build
+# This class is designed to work with Python packages using the
+# 'distutils' build system and comply to the new policy established
+# during summer 2006. Use of the debhelper class to make use of the
+# new dh_python is strongly advised. (This is still left as optional
+# in line with CDBS' flexible behavior.)
+#
+# 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., 51 Franklin St, Fifth Floor, Boston, MA
+# 02111-1307 USA.
+#
+
+# This class provides rules for old and new Python policy. Leaving
+# DEB_PYTHON_SYSTEM unset selects the old behavior. The pysupport and
+# pycentral methods are available to comply with new policy. Don't forget
+# to update your 'debian/control'. (Build-Depends are correctly generated
+# if you are using the auto control generation feature.)
+
+# Once all old-style packages are removed before etch, some of the old
+# can be refactored or removed.
+
+
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+
+ifndef _cdbs_class_python_distutils
+_cdbs_class_python_distutils = 1
+
+include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
+include $(_cdbs_class_path)/langcore.mk$(_cdbs_makefile_suffix)
+
+
+# check python system
+cdbs_use_xs_field := $(shell grep -q "^XS-Python-Version:" debian/control && echo yes)
+cdbs_selected_pycompat := $(shell if [ -e debian/pycompat ]; then cat debian/pycompat; fi)
+cdbs_pycompat = $(cdbs_selected_pycompat)
+ifeq (pysupport, $(DEB_PYTHON_SYSTEM))
+ cdbs_python_support_path = usr/share/python-support/$(DEB_PYTHON_MODULE_PACKAGE)
+ ifeq (, $(cdbs_selected_pycompat))
+ cdbs_pycompat = 2
+ endif # use pycompat
+ # warning pysupport compatibility mode
+ ifneq (, $(cdbs_use_xs_field))
+ $(warning WARNING: Use of XS-Python-Version and XB-Python-Version fields in debian/control is deprecated with pysupport method; use debian/pyversions if you need to specify specific versions.)
+ endif # use XS field (compat)
+else
+ ifeq (pycentral, $(DEB_PYTHON_SYSTEM))
+ ifeq (, $(cdbs_selected_pycompat))
+ cdbs_pycompat = 2
+ endif # use pycompat
+ else
+ ifneq (, $(DEB_PYTHON_SYSTEM))
+ $(error unsupported Python system: $(DEB_PYTHON_SYSTEM) (select either pysupport or pycentral))
+ else
+ ifneq (, $(cdbs_use_xs_field))
+ $(error package uses the new Python policy; DEB_PYTHON_SYSTEM must be set to "pysupport" or "pycentral")
+ endif
+ ifneq (, $(cdbs_selected_pycompat))
+ ifeq (yes, $(shell expr $(cdbs_selected_pycompat) \> 1 >/dev/null && echo yes))
+ $(error package uses the new Python policy; DEB_PYTHON_SYSTEM must be set to "pysupport" or "pycentral")
+ endif
+ endif # use pycompat
+ endif # unknown method
+ endif # pycentral
+endif # pysupport
+
+
+ifndef DEB_PYTHON_SYSTEM
+DEB_PYTHON_COMPILE_VERSION =
+DEB_PYTHON_VERSIONS = 2.1 2.2 2.3 2.4 2.5 2.6 2.7
+else
+# default package is the first one declared in 'debian/control'
+# (override if necessary)
+DEB_PYTHON_MODULE_PACKAGE = $(firstword $(filter-out %-doc %-dev %-common, $(DEB_PACKAGES)))
+DEB_PYTHON_PRIVATE_MODULES_DIRS =
+endif
+
+# common variables
+DEB_PYTHON_SETUP_CMD = setup.py
+DEB_PYTHON_CLEAN_ARGS = -a
+DEB_PYTHON_BUILD_ARGS = --build-base="$(CURDIR)/$(DEB_BUILDDIR)/build"
+DEB_PYTHON_INSTALL_ARGS_ALL = --no-compile -O0 --prefix=/usr
+
+
+ifndef DEB_PYTHON_SYSTEM
+########################### old policy method ###########################
+
+$(warning =======================================================)
+$(warning Your package does not conform to the new Python policy.)
+$(warning Please consider updating. Here is some documentation:)
+$(warning http://wiki.debian.org/DebianPython/NewPolicy)
+$(warning http://wiki.debian.org/DebianPythonFAQ)
+$(warning =======================================================)
+
+# make: *** No rule to make target `voodoo'. Stop.
+DEB_PYTHON_REAL_LIB_PACKAGES = $(strip $(filter $(patsubst %,python%%,$(DEB_PYTHON_VERSIONS)),$(filter-out $(DEB_PYTHON_PACKAGES_EXCLUDE),$(DEB_ALL_PACKAGES))))
+# If no versioned python library packages found, grab all simpler ones
+ifeq (,$(DEB_PYTHON_REAL_LIB_PACKAGES))
+DEB_PYTHON_SIMPLE_PACKAGES = $(strip $(filter python-%,$(filter-out $(DEB_PYTHON_PACKAGES_EXCLUDE),$(DEB_ALL_PACKAGES))))
+endif
+
+cdbs_python_ver = $(filter-out -%,$(subst -, -,$(patsubst python%,%,$(cdbs_curpkg))))
+
+common-build-arch common-build-indep:: common-build-impl
+common-build-impl::
+ cd $(DEB_SRCDIR) && PATH=/opt/trinity/bin:$(PATH) python$(DEB_PYTHON_COMPILE_VERSION) $(DEB_PYTHON_SETUP_CMD) build $(DEB_PYTHON_BUILD_ARGS)
+
+
+# See if this package doesn't appear to need to be compiled by multiple
+# Python versions.
+ifeq (,$(DEB_PYTHON_REAL_LIB_PACKAGES))
+common-install-arch common-install-indep:: common-install-impl
+common-install-impl::
+ cd $(DEB_SRCDIR) && PATH=/opt/trinity/bin:$(PATH) python$(DEB_PYTHON_COMPILE_VERSION) $(DEB_PYTHON_SETUP_CMD) install --root=$(DEB_DESTDIR) $(DEB_PYTHON_INSTALL_ARGS_ALL) $(DEB_PYTHON_INSTALL_ARGS_$(cdbs_curpkg))
+ for ddir in $(DEB_DESTDIR)/usr/lib/python?.?/dist-packages; do \
+ sdir=$$(dirname $$ddir)/site-packages; \
+ mkdir -p $$sdir; \
+ tar -c -f - -C $$ddir . | tar -x -f - -C $$sdir; \
+ rm -rf $$ddir; \
+ done
+else
+$(patsubst %,install/%,$(DEB_PYTHON_REAL_LIB_PACKAGES)) :: install/% :
+ cd $(DEB_SRCDIR) && PATH=/opt/trinity/bin:$(PATH) python$(cdbs_python_ver) $(DEB_PYTHON_SETUP_CMD) install --root=$(CURDIR)/debian/$(cdbs_curpkg) $(DEB_PYTHON_INSTALL_ARGS_ALL) $(DEB_PYTHON_INSTALL_ARGS_$(cdbs_curpkg))
+ for ddir in $(CURDIR)/debian/$(cdbs_curpkg)/usr/lib/python?.?/dist-packages; do \
+ sdir=$$(dirname $$ddir)/site-packages; \
+ mkdir -p $$sdir; \
+ tar -c -f - -C $$ddir . | tar -x -f - -C $$sdir; \
+ rm -rf $$ddir; \
+ done
+endif
+
+$(patsubst %,install/%,$(DEB_PYTHON_SIMPLE_PACKAGES)) :: install/% :
+ cd $(DEB_SRCDIR) && PATH=/opt/trinity/bin:$(PATH) python $(DEB_PYTHON_SETUP_CMD) install --root=$(CURDIR)/debian/$(cdbs_curpkg) $(DEB_PYTHON_INSTALL_ARGS_ALL) $(DEB_PYTHON_INSTALL_ARGS_$(cdbs_curpkg))
+ifeq (pysupport, $(DEB_PYTHON_SYSTEM))
+ for ddir in $(CURDIR)/debian/$(cdbs_curpkg)/usr/lib/python?.?/dist-packages; do \
+ sdir=$$(dirname $$ddir)/site-packages; \
+ mkdir -p $$sdir; \
+ tar -c -f - -C $$ddir . | tar -x -f - -C $$sdir; \
+ rm -rf $$ddir; \
+ done
+endif
+
+# This class can optionally utilize debhelper's "dh_python" command. Just
+# be sure you include debhelper.mk before including this file.
+ifdef _cdbs_rules_debhelper
+
+DEB_DH_PYTHON_ARGS = $(addprefix -V ,$(DEB_PYTHON_COMPILE_VERSION)) $(DEB_DH_PYTHON_ARGS_ALL) $(DEB_DH_PYTHON_ARGS_$(cdbs_curpkg))
+DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_python)
+
+$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
+ ${DH_PYTHON2} -p$(cdbs_curpkg) $(DEB_DH_PYTHON_ARGS)
+endif
+
+
+# Ignore errors from this rule. In a tarball build, the file may not
+# exist.
+ifeq (,$(DEB_PYTHON_REAL_LIB_PACKAGES))
+clean::
+ -python$(DEB_PYTHON_COMPILE_VERSION) $(DEB_PYTHON_SETUP_CMD) clean $(DEB_PYTHON_CLEAN_ARGS)
+else
+clean:: $(patsubst %,python-cleanbuilddir/%,$(DEB_PYTHON_REAL_LIB_PACKAGES))
+
+$(patsubst %,python-cleanbuilddir/%,$(DEB_PYTHON_REAL_LIB_PACKAGES)) :: python-cleanbuilddir/% :
+ -python$(cdbs_python_ver) $(DEB_PYTHON_SETUP_CMD) clean $(DEB_PYTHON_CLEAN_ARGS)
+endif
+
+else
+########################## new policy methods ###########################
+
+# Calculate cdbs_python_build_versions
+cdbs_python_module_arch := $(strip $(shell perl -e '$$/=""; $$_=(grep {/^Package: $(DEB_PYTHON_MODULE_PACKAGE)$$/m;} (<>))[0]; /^Architecture: (.*)$$/m && print $$1' debian/control))
+cdbs_python_current_version := $(shell pyversions -vd)
+ifeq (all, $(cdbs_python_module_arch))
+ # check if current is in build versions
+ ifneq ($(cdbs_python_current_version), $(filter $(cdbs_python_current_version), $(shell pyversions -vr)))
+ cdbs_python_compile_version := $(firstword $(strip $(sort $(shell pyversions -vr))))
+ cdbs_python_build_versions := $(cdbs_python_compile_version)
+ else
+ cdbs_python_build_versions := $(cdbs_python_current_version)
+ endif
+else
+cdbs_python_build_versions := $(shell pyversions -vr)
+endif # archall
+
+# check if build is possible
+ifeq (, $(cdbs_python_build_versions))
+ifeq (pysupport, $(DEB_PYTHON_SYSTEM))
+$(error invalid setting in debian/pyversions)
+else
+$(error invalid setting for XS-Python-Version)
+endif # system selected
+endif # build versions empty
+
+
+# Declare Build-Deps for packages using this file
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), debhelper (>= 5.0.37.2), cdbs (>= 0.4.43)
+ifeq (all, $(cdbs_python_module_arch))
+ ifneq (, $(cdbs_python_compile_version))
+ CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), python$(cdbs_python_compile_version)-dev, python (>= 2.3.5-11)
+ else
+ CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), python-dev (>= 2.3.5-11)
+ endif
+else
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), python-all-dev (>= 2.3.5-11)
+endif
+ifeq (pysupport, $(DEB_PYTHON_SYSTEM))
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), python-support (>= 0.3.2)
+else
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), python-central (>= 0.6)
+endif
+
+
+cdbs_python_current_binary := $(shell pyversions -d)
+cdbs_python_binary = $(if $(call cdbs_streq,$(cdbs_python_current_binary),$(1)),python,$(1))
+
+# build stage
+common-build-arch common-build-indep:: $(addprefix python-build-stamp-, $(cdbs_python_build_versions))
+python-build-stamp-%:
+ifeq (all, $(cdbs_python_module_arch))
+ cd $(DEB_SRCDIR) && PATH=/opt/trinity/bin:$(PATH) $(call cdbs_python_binary,python$(cdbs_python_compile_version)) $(DEB_PYTHON_SETUP_CMD) build $(DEB_PYTHON_BUILD_ARGS)
+else
+ cd $(DEB_SRCDIR) && PATH=/opt/trinity/bin:$(PATH) $(call cdbs_python_binary,python$*) $(DEB_PYTHON_SETUP_CMD) build $(DEB_PYTHON_BUILD_ARGS)
+endif # archall detection
+ touch $@
+
+
+# install stage
+ifeq (all, $(cdbs_python_module_arch))
+common-install-arch common-install-indep:: python-install-py
+python-install-py:
+ cd $(DEB_SRCDIR) && PATH=/opt/trinity/bin:$(PATH) $(call cdbs_python_binary,python$(cdbs_python_compile_version)) $(DEB_PYTHON_SETUP_CMD) install --root=$(DEB_DESTDIR) $(DEB_PYTHON_INSTALL_ARGS_ALL)
+else
+common-install-arch common-install-indep:: $(addprefix python-install-, $(cdbs_python_build_versions))
+python-install-%:
+ cd $(DEB_SRCDIR) && PATH=/opt/trinity/bin:$(PATH) $(call cdbs_python_binary,python$*) $(DEB_PYTHON_SETUP_CMD) install --root=$(DEB_DESTDIR) $(DEB_PYTHON_INSTALL_ARGS_ALL)
+endif # archall detection
+
+
+# This class can optionally use debhelper's commands. Just
+# be sure you include debhelper.mk before including this file.
+ifdef _cdbs_rules_debhelper
+
+DEB_DH_PYTHON_ARGS = $(DEB_DH_PYTHON_ARGS_ALL) $(DEB_DH_PYTHON_ARGS_$(cdbs_curpkg)) $(DEB_PYTHON_PRIVATE_MODULES_DIRS)
+DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_python)
+
+$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
+ifeq (pysupport, $(DEB_PYTHON_SYSTEM))
+ dh_pysupport -p$(cdbs_curpkg) $(DEB_PYTHON_PRIVATE_MODULES_DIRS)
+else
+ dh_pycentral -p$(cdbs_curpkg)
+endif
+ ${DH_PYTHON2} -p$(cdbs_curpkg) $(DEB_DH_PYTHON_ARGS)
+endif
+
+
+# clean stage
+clean:: $(addprefix python-clean-, $(cdbs_python_build_versions))
+python-clean-%:
+ifeq (all, $(cdbs_python_module_arch))
+ -cd $(DEB_SRCDIR) && $(call cdbs_python_binary,python$(cdbs_python_compile_version)) $(DEB_PYTHON_SETUP_CMD) clean $(DEB_PYTHON_CLEAN_ARGS)
+else
+ -cd $(DEB_SRCDIR) && $(call cdbs_python_binary,python$*) $(DEB_PYTHON_SETUP_CMD) clean $(DEB_PYTHON_CLEAN_ARGS)
+endif # archall detection
+
+clean::
+ifeq (, $(cdbs_selected_pycompat))
+ echo "$(cdbs_pycompat)" >debian/pycompat
+endif # use pycompat
+ rm -f python-build-stamp-*
+
+endif
+
+
+########################## all policy methods ###########################
+
+# Calling setup.py clean may create .pyc files, so we need a final cleanup
+# pass here.
+clean::
+ find . -name '*.pyc' -exec rm '{}' ';'
+
+endif
diff --git a/debian/_base/libraries/pytdeextensions/debian/pyversions b/debian/_base/libraries/pytdeextensions/debian/pyversions
new file mode 100644
index 000000000..0c043f18c
--- /dev/null
+++ b/debian/_base/libraries/pytdeextensions/debian/pyversions
@@ -0,0 +1 @@
+2.6-
diff --git a/debian/_base/libraries/pytdeextensions/debian/rules b/debian/_base/libraries/pytdeextensions/debian/rules
new file mode 100755
index 000000000..188238d79
--- /dev/null
+++ b/debian/_base/libraries/pytdeextensions/debian/rules
@@ -0,0 +1,60 @@
+#!/usr/bin/make -f
+
+DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_pysupport),pysupport)
+DEB_PYTHON2_MODULE_PACKAGES=pytdeextensions-trinity libpythonize0-trinity
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+ifeq (pysupport, $(DEB_PYTHON_SYSTEM))
+ include debian/python-distutils-jaunty.mk
+else
+ include /usr/share/cdbs/1/class/python-distutils.mk
+endif
+#include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+include /usr/share/cdbs/1/rules/utils.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_PYTHON_INSTALL_ARGS_ALL += \
+ --install-clib=/opt/trinity/lib \
+ --install-cheaders=/opt/trinity/include
+
+cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+
+DEB_DH_INSTALL_ARGS = --sourcedir=debian/tmp
+DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include
+
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
+install/pytdeextensions-trinity::
+ # We have no idea if the built product is site-packages or dist-packages
+ cd debian/tmp/usr/lib/python*/ && mv site-packages/ dist-packages/ || echo "site-packages --> dist-packages"
+ rm -rf debian/tmp/usr/lib/python*/site-packages/
+
+ # install lintian overrides
+ install -D -p -m0644 debian/pytdeextensions-trinity.lintian-overrides \
+ debian/pytdeextensions-trinity/usr/share/lintian/overrides/pytdeextensions-trinity
+
+ # fix script-not-executable
+ find debian -type f -name '*.py' | xargs chmod 0755
+
+ # remove extra-license-file
+ find debian -type f -name 'COPYING' | xargs rm -f
+
+ # remove byte-compiled file
+ find . -type f -name '*.py[co]' | xargs rm -f
+
+install/libpythonize0-trinity::
+ # fix binary-or-shlib-defines-rpath
+ chrpath -d debian/tmp/opt/trinity/lib/libpythonize.so.*
+
+clean::
+ rm -rf build
+ rm -f doc/en/*html doc/en/*bz2
+ rm -f install_log.txt
+
+ # remove byte-compiled file
+ find . -type f -name '*.py[co]' | xargs rm -f
diff --git a/debian/_base/libraries/pytdeextensions/debian/source/format b/debian/_base/libraries/pytdeextensions/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/debian/_base/libraries/pytdeextensions/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/_base/libraries/pytdeextensions/debian/source/options b/debian/_base/libraries/pytdeextensions/debian/source/options
new file mode 100644
index 000000000..72f1f5450
--- /dev/null
+++ b/debian/_base/libraries/pytdeextensions/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/libraries/python-trinity/debian/NEWS.Debian b/debian/_base/libraries/python-trinity/debian/NEWS.Debian
new file mode 100644
index 000000000..367c6950d
--- /dev/null
+++ b/debian/_base/libraries/python-trinity/debian/NEWS.Debian
@@ -0,0 +1,10 @@
+python-trinity (3.16.0-3) unstable; urgency=low
+
+ python-trinity-dbg contains modules built for a debug Python interpreter.
+ However, it contains modules only for the default Python version. Also,
+ the debug symbols from python-trinity are not stored inside python-trinity-dbg,
+ in order to keep the package size sane. If you need those debug symbols,
+ locate the dh_strip command in debian/rules and uncomment the "--dbg-package"
+ options.
+
+ -- Torsten Marek <shlomme@debian.org> Sun, 16 Sep 2007 13:57:44 +0200
diff --git a/debian/_base/libraries/python-trinity/debian/changelog b/debian/_base/libraries/python-trinity/debian/changelog
new file mode 100644
index 000000000..12485eccd
--- /dev/null
+++ b/debian/_base/libraries/python-trinity/debian/changelog
@@ -0,0 +1,386 @@
+python-trinity-trinity (3.16.3-0ubuntu4) karmic; urgency=low
+
+ * Karmic rebuild
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Fri, 16 Oct 2009 14:47:00 -0600
+
+python-trinity-trinity (3.16.3-0ubuntu1) karmic; urgency=low
+
+ * Karmic rebuild
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 02 July 2009 16:08:00 -0600
+
+python-trinity-trinity (3.16.2-0ubuntu1) jaunty; urgency=low
+
+ * Jaunty rebuild
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 23 April 2009 13:02:00 -0600
+
+python-trinity (3.16.2-0ubuntu1) jaunty; urgency=low
+
+ [ Matthias Klose ]
+ * Build for python2.6.
+
+ [ William Grant ]
+ * New upstream version. Fixes FTBFS. (LP: #333457)
+
+ -- William Grant <wgrant@ubuntu.com> Mon, 09 Mar 2009 09:04:22 +1100
+
+python-trinity (3.16.1-1ubuntu2) intrepid; urgency=low
+
+ * Actually include the fix for (LP: #229845) I claimed was in the last
+ upload
+
+ -- Scott Kitterman <scott@kitterman.com> Sat, 13 Sep 2008 16:23:41 -0400
+
+python-trinity (3.16.1-1ubuntu1) intrepid; urgency=low
+
+ * Merge from Debian unstable. Remaining Ubuntu changes:
+ - Add kubuntu_04_kdepyuic_i18n.dpatch:
+ - kdepyuic now has a useKDEi18n cmdline option, set
+ to TRUE by default, so that .py files generated from
+ .ui files are using i18n by default.
+ - fixes long options parsing, using a list of string
+ instead of a long string
+ - Patch by Stephan Hermann <sh@sourcecode.de>
+ - Build-dep on python-sip4
+ * Update debian/rules to move kdeconfig files from
+ /usr/lib/python-2.*/site-packages to /usr/lib/python2.4/site-packages so it
+ is in the normal path (LP: #229845)
+ * Dropped kubuntu_03_konsole_setpty and konsole depends since the new
+ version no longer needs them
+
+ -- Scott Kitterman <scott@kitterman.com> Wed, 18 Jun 2008 22:11:32 -0400
+
+python-trinity (3.16.1-1) unstable; urgency=low
+
+ [ Piotr Ożarowski ]
+ * Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now)
+
+ [ Sandro Tosi ]
+ * debian/watch
+ - added missing file
+ * debian/control
+ - uniforming Vcs-Browser field
+ - bump Standard-Version to 3.7.3
+ - capitalized Python in -dbg package description
+ - removed Debian revision from versioned build-dep on libqt3-mt-dev,
+ qt3-apps-dev, qt3-dev-tools
+ * debian/rules
+ - fixed destination dir for -dev package (Closes: #446904)
+ * debian/copyright
+ - clear separation of copyright and license notice
+ - copyright and license indented with 4 spaces
+ - added upstream authors notice
+
+ [ Torsten Marek ]
+ * New upstream release 3.16.1.
+ * Included patch to dcopext.py handling
+ DCOPObj.objmethods being None (Closes: #468248).
+ * Patched dcopext.py to handle strings with non-ASCII
+ characters (Closes: #452443).
+ * Dropped 03-sip-4.7.dpatch, is now included upstream.
+ * debian/control
+ - removed dependency on konsole, because the bindings
+ for the konsole KPart have been removed.
+ * debian/rules
+ - compress debs using bzip2 to reduce the size
+ of the debug packages.
+
+ -- Torsten Marek <shlomme@debian.org> Tue, 11 Mar 2008 01:42:08 +0100
+
+python-trinity (3.16.0-4ubuntu3) hardy; urgency=low
+
+ * Remove build-dep on python-qt3 - No longer needed because pyqtconfig is
+ back in python-qt-dev (LP: #197867)
+
+ -- Scott Kitterman <scott@kitterman.com> Wed, 12 Mar 2008 16:46:05 -0400
+
+python-trinity (3.16.0-4ubuntu2) hardy; urgency=low
+
+ * Add kubuntu_04_kdepyuic_i18n.dpatch:
+ - kdepyuic now has a useKDEi18n cmdline option, set
+ to TRUE by default, so that .py files generated from
+ .ui files are using i18n by default.
+ - fixes long options parsing, using a list of string
+ instead of a long string
+ - Patch by Stephan Hermann <sh@sourcecode.de>
+
+ -- Anthony Mercatante <tonio@kubuntu> Thu, 03 Jan 2008 22:40:39 +0100
+
+python-trinity (3.16.0-4ubuntu1) hardy; urgency=low
+
+ * Merge with debian, remaining change:
+ - kubuntu_03_konsole_setpty.dpatch patch for setpty() support
+ * Build-dep on python-sip4
+ * Build-dep on python-qt3
+
+ -- Jonathan Riddell <jriddell@ubuntu.com> Thu, 29 Nov 2007 18:24:06 +0000
+
+python-trinity (3.16.0-4) unstable; urgency=low
+
+ [ Piotr Ożarowski ]
+ * XS-Vcs-Svn, XS-Vcs-Browser and Homepage fields added
+
+ [ Torsten Marek ]
+ * Added dependency on konsole (Closes: #443819)
+
+ -- Torsten Marek <shlomme@debian.org> Mon, 01 Oct 2007 01:37:23 +0200
+
+python-trinity (3.16.0-3) unstable; urgency=low
+
+ * Merge with Ubuntu:
+ * Unable Konsole bindings.
+ * Build debug modules, but only for the default Python version
+ to keep the size sane. Debug symbols are left out as well.
+ * Adopt DCOP patch from Ubuntu.
+ * Better debian/rules file.
+
+ -- Torsten Marek <shlomme@debian.org> Sun, 16 Sep 2007 13:57:44 +0200
+
+python-trinity (3.16.0-2) unstable; urgency=low
+
+ * Include dcopext.py and dcopexport.py. (Closes: #440633)
+ * Add DPMT to uploaders field.
+
+ -- Torsten Marek <shlomme@debian.org> Mon, 03 Sep 2007 21:27:42 +0200
+
+python-trinity (3.16.0-1) unstable; urgency=low
+
+ * New upstream release. (Closes: #427285, #440028)
+ * Rename method that is also a Python keyword. (Closes: #407894)
+
+ -- Torsten Marek <shlomme@debian.org> Sun, 12 Aug 2007 13:03:11 +0200
+
+python-trinity (3.15.2+20060422-4) unstable; urgency=low
+
+ * Build with sip 4.5 / PyQt 3.17
+
+ -- Torsten Marek <shlomme@debian.org> Wed, 6 Dec 2006 19:18:30 +0100
+
+python-trinity (3.16.0-0ubuntu14) gutsy; urgency=low
+
+ * Split C++ sources in more parts when building with GCC-4.[23].
+
+ -- Matthias Klose <doko@ubuntu.com> Wed, 29 Aug 2007 22:12:01 +0200
+
+python-trinity (3.16.0-0ubuntu13) gutsy; urgency=low
+
+ * debian/control: changed the python-trinity-dev depends;
+ python-trinity-dev depends on python-trinity now.
+
+ -- Martin Böhm <martin.bohm@kubuntu.org> Mon, 06 Aug 2007 13:56:05 +0200
+
+python-trinity (3.16.0-0ubuntu12) gutsy; urgency=low
+
+ * Add patch kubuntu_00_sip-4.7.dpatch, make it compile with
+ sip 4.7 and build-dep on pyqt 3.17.3-1ubuntu1
+
+ -- Jonathan Riddell <jriddell@ubuntu.com> Fri, 03 Aug 2007 17:00:07 +0100
+
+python-trinity (3.16.0-0ubuntu11) feisty; urgency=low
+
+ * Fix copy and paste error, resulting in unusable extensions for
+ the -dbg build.
+
+ -- Matthias Klose <doko@ubuntu.com> Wed, 21 Feb 2007 18:16:52 +0100
+
+python-trinity (3.16.0-0ubuntu10) feisty; urgency=low
+
+ * Don't call ldconfig in the installation target.
+
+ -- Matthias Klose <doko@ubuntu.com> Tue, 20 Feb 2007 21:19:44 +0100
+
+python-trinity (3.16.0-0ubuntu9) feisty; urgency=low
+
+ * Build a python-trinity-dbg package.
+ * Use the dpatch patch system.
+ * Use single targets instead of loops inside a target.
+ * Set Ubuntu maintainer address.
+
+ -- Matthias Klose <doko@ubuntu.com> Tue, 20 Feb 2007 02:09:12 +0100
+
+python-trinity (3.16.0-0ubuntu8) feisty; urgency=low
+
+ [ Michael Vogt ]
+ * Add kubuntu_03_konsole_setpty.diff,
+ adds setPtyFd() to sip/kpart/konsole_kpart.sip
+
+ [ Jonathan Riddell ]
+ * Update build-dep version to tdelibs and konsole 3.5.6
+
+ -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 19 Jan 2007 10:43:29 +0100
+
+python-trinity (3.16.0-0ubuntu7) feisty; urgency=low
+
+ * Fix build failures on 64bit archs with python2.5.
+
+ -- Matthias Klose <doko@ubuntu.com> Sun, 14 Jan 2007 17:05:04 +0100
+
+python-trinity (3.16.0-0ubuntu6) feisty; urgency=low
+
+ * Rebuild for python2.5 as the default python version.
+
+ -- Matthias Klose <doko@ubuntu.com> Fri, 12 Jan 2007 13:18:13 +0000
+
+python-trinity (3.16.0-0ubuntu5) feisty; urgency=low
+
+ * Tighen build-dep on python-qt3 to ensure it builds
+ without visibility=hidden
+
+ -- Jonathan Riddell <jriddell@ubuntu.com> Tue, 5 Dec 2006 11:13:43 +0000
+
+python-trinity (3.16.0-0ubuntu4) feisty; urgency=low
+
+ * Rebuild against Qt without visibility=hidden
+ * Ensure patches are not applied in source package
+
+ -- Jonathan Riddell <jriddell@ubuntu.com> Mon, 4 Dec 2006 13:53:06 +0000
+
+python-trinity (3.16.0-0ubuntu3) feisty; urgency=low
+
+ * Make python-trinity depend on konsole
+
+ -- Jonathan Riddell <jriddell@ubuntu.com> Fri, 24 Nov 2006 14:32:43 +0000
+
+python-trinity (3.16.0-0ubuntu2) feisty; urgency=low
+
+ * Add kubuntu_02_no_konsole_symlink.diff, don't create a symlink from
+ /usr/lib when running make install
+ * Create symlink from debian/rules instead
+
+ -- Jonathan Riddell <jriddell@ubuntu.com> Fri, 24 Nov 2006 00:49:46 +0000
+
+python-trinity (3.16.0-0ubuntu1) feisty; urgency=low
+
+ * New upstream release
+ * Build-depend on pyqt 3.17 and sip 4.5
+ * Add build-depends on /usr/lib/trinity/libkonsolepart.so
+ * Don't build for python 2.5, it fails to build
+ * Merge with Debian, remaining change:
+ - kubuntu_01_dcop.diff patch
+
+ -- Jonathan Riddell <jriddell@ubuntu.com> Wed, 22 Nov 2006 19:03:34 +0000
+
+python-trinity (3.15.2+20060422-3) unstable; urgency=medium
+
+ * Include shlib dependencies (Closes: #378815)
+
+ -- Torsten Marek <shlomme@debian.org> Thu, 28 Sep 2006 20:25:29 +0200
+
+python-trinity (3.15.2+20060422-2) unstable; urgency=low
+
+ * Python policy transition (Closes: #373321)
+
+ -- Torsten Marek <shlomme@debian.org> Wed, 21 Jun 2006 20:44:58 +0200
+
+python-trinity (3.15.2+20060422-1) unstable; urgency=low
+
+ * New upstream release
+ * TDEConfigSkeleton works now (Closes: #310919)
+ * TDEABC is included (Closes: #362443)
+ * Depend on python2.x-sip4 instead of python2.x-sip4-qt3
+ * Bump build-depends on sip4 to 4.4.2 and dependencies on PyQt to 3.16
+ * Raised debhelper compat level to 5
+ * Changed my email address to shlomme@debian.org
+ * Builds fine in pbuilder now, probably a missed build dependency
+ elsewhere (Closes: #351711)
+ * Remove build dependency no c++abi2-dev
+ * Put kdepyuic into python-trinity-dev. Thanks, Stephan Hermann
+
+ -- Torsten Marek <shlomme@debian.org> Tue, 2 May 2006 11:57:51 +0200
+
+python-trinity (3.11.3+20051013-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Torsten Marek <shlomme@gmx.net> Sun, 16 Oct 2005 11:55:45 +0200
+
+python-trinity (3.11.3+20050829-2) unstable; urgency=low
+
+ * Applied patch to klibloader.sip to fix an issue with KParts,
+ thanks to David & Paul Boddie.
+
+ -- Torsten Marek <shlomme@gmx.net> Mon, 10 Oct 2005 22:52:57 +0200
+
+python-trinity (3.11.3+20050829-1) unstable; urgency=low
+
+ * New upstream release (Closes: #304407)
+ * g++ ABI transition,
+ add c++abi2-dev to Build-Depends (Closes: #327949)
+ * Built with sip 4.3 (Closes: #327314)
+ * Built against KDE 3.4.2
+ * Added myself to Uploaders
+ * Bumped all Build-Depends and Depends on sip to
+ be >= 4.3 and << 4.4
+ * Bumped standards version to 3.6.2, no changes involved
+ * Fixed FSF address in copyright file
+ * Include upstream changelog
+ * Added package for Python 2.4
+ * Added the homepage of PyKDE to the package descriptions
+ * HTML documentations is now installed into
+ /usr/share/doc/python-trinity-doc/html
+ * pytdeconfig.py now also knows that the sip files
+ are in /usr/share/sip/trinity, not in /usr/share/sip/kde
+ (Closes: #312708)
+
+ -- Torsten Marek <shlomme@gmx.net> Tue, 20 Sep 2005 01:21:33 +0200
+
+python-trinity (3.11.3-4) unstable; urgency=high
+
+ * Added a direct dependency on the right version of sip
+ * Added python-trinity-dev (Closes: #294076)
+ * Added extra/332 so it builds with KDE 3.3.2 (Closes: #294079)
+
+ -- Ricardo Javier Cardenes Medina <rcardenes@debian.org> Fri, 1 Apr 2005 16:07:33 +0100
+
+python-trinity (3.11.3-3) unstable; urgency=low
+
+ * Changed depend on PyQt >= 3.13-2 to >= 3.13 (I don't know what
+ I was thinking on)
+
+ -- Ricardo Javier Cardenes Medina <rcardenes@debian.org> Thu, 9 Dec 2004 09:36:34 +0000
+
+python-trinity (3.11.3-2) unstable; urgency=low
+
+ * Rebuilt against PyQt 3.13 (bumped debian/control depends too)
+ * Applied a simple patch to build with KDE 3.3.1
+ * Adapted Thiemo Seufer's patch to make it build on mips/mipsel.
+ Closes: Bug#274469
+
+ -- Ricardo Javier Cardenes Medina <rcardenes@debian.org> Mon, 4 Oct 2004 12:28:17 +0100
+
+python-trinity (3.11.3-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- Ricardo Javier Cardenes Medina <rcardenes@debian.org> Mon, 30 Aug 2004 15:40:40 +0100
+
+python-trinity (3.11.1+3.11.2-2) unstable; urgency=low
+
+ * Split the number of generated object files during the building
+ process on some arches, because of hardware limitations (scarce
+ resources, or things like hitting the exported table size limit
+ on Alpha).
+ Closes: Bug#266733
+
+ -- Ricardo Javier Cardenes Medina <rcardenes@debian.org> Thu, 19 Aug 2004 00:41:08 +0100
+
+python-trinity (3.11.1+3.11.2-1) unstable; urgency=low
+
+ * Applied some changes from 3.11.2-snapshot-040816 to make it
+ build with KDE 3.3.
+ * Rebuilt the against KDE 3.3 due to ABI incompatibility.
+ Closes: Bug#266506
+
+ -- Ricardo Javier Cardenes Medina <rcardenes@debian.org> Wed, 18 Aug 2004 19:25:53 +0100
+
+python-trinity (3.11.1a-1) unstable; urgency=low
+
+ * Initial release of this package.
+ Closes: Bug#147965
+ * Added "pyParts.rc" from 3.7 that have been missing on the
+ examples since 3.8 (thanks Patrick McFarland for notifying it)
+ * Includes some patches from development version.
+
+ -- Ricardo Javier Cardenes Medina <rcardenes@debian.org> Sat, 19 Jun 2004 23:07:05 +0100
diff --git a/debian/_base/libraries/python-trinity/debian/compat b/debian/_base/libraries/python-trinity/debian/compat
new file mode 100644
index 000000000..7f8f011eb
--- /dev/null
+++ b/debian/_base/libraries/python-trinity/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/_base/libraries/python-trinity/debian/control b/debian/_base/libraries/python-trinity/debian/control
new file mode 100644
index 000000000..1a4b094c4
--- /dev/null
+++ b/debian/_base/libraries/python-trinity/debian/control
@@ -0,0 +1,56 @@
+Source: python-trinity-trinity
+Section: python
+Priority: optional
+Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+XSBC-Original-Maintainer: Ricardo Javier Cardenes Medina <rcardenes@debian.org>
+Uploaders: Torsten Marek <shlomme@debian.org>, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
+Build-Depends: debhelper (>= 7.0.50~), libtqtinterface-dev, python, python-all-dev, python-all-dbg, python-sip-tqt, python-sip-tqt-dev, python-sip-tqt-dbg, python-tqt-dev, python-tqt-dbg, tdelibs14-trinity-dev
+Standards-Version: 3.8.4
+Homepage: http://www.riverbankcomputing.co.uk/pytde/index.php
+
+Package: python-trinity-trinity
+Architecture: any
+Depends: ${shlibs:Depends}, ${python:Depends}, python-tqt
+Replaces: python-trinity-trinity (<< 4:14.0.0~)
+Breaks: python-trinity-trinity (<< 4:14.0.0~)
+Provides: ${python:Provides}
+Conflicts: python-trinity-trinity
+Description: Trinity bindings for Python [Trinity]
+ Python binding module that provides wide access to the Trinity API,
+ also known as PyTDE. Using this, you'll get (for example) classes
+ from kio, kjs, tdehtml and kprint.
+
+Package: python-trinity-trinity-dbg
+Priority: extra
+Architecture: any
+Replaces: python-trinity-trinity-dbg (<< 4:14.0.0~)
+Breaks: python-trinity-trinity-dbg (<< 4:14.0.0~)
+Depends: python-trinity-trinity (= ${binary:Version}), python-dbg, python-tqt-dbg, ${shlibs:Depends}
+Description: Trinity bindings for Python (debug extensions) [Trinity]
+ Python binding module that provides wide access to the Trinity API,
+ also known as PyTDE. Using this, you'll get (for example) classes
+ from kio, kjs, tdehtml and kprint.
+ .
+ This package contains the extension built for the Python debug interpreter.
+
+Package: python-trinity-trinity-dev
+Section: python
+Architecture: all
+Replaces: python-trinity-trinity-dev (<< 4:14.0.0~)
+Breaks: python-trinity-trinity-dev (<< 4:14.0.0~)
+Depends: pytqt-tools, ${python:Depends}
+Description: Trinity bindings for Python - Development files and scripts [Trinity]
+ Development .sip files with definitions of PyTDE classes. They
+ are needed to build PyTDE, but also as building blocks of other
+ packages based on them.
+ The package also contains tdepyuic, a wrapper script around PyTQt's
+ user interface compiler.
+
+Package: python-trinity-trinity-doc
+Section: doc
+Architecture: all
+Replaces: python-trinity-trinity-doc (<< 4:14.0.0~)
+Breaks: python-trinity-trinity-doc (<< 4:14.0.0~)
+Description: Documentation and examples for PyTDE [Trinity]
+ General documentation and examples for PyTDE providing programming
+ tips and working code you can use to learn from.
diff --git a/debian/_base/libraries/python-trinity/debian/copyright b/debian/_base/libraries/python-trinity/debian/copyright
new file mode 100644
index 000000000..eec6b36a5
--- /dev/null
+++ b/debian/_base/libraries/python-trinity/debian/copyright
@@ -0,0 +1,30 @@
+This package was debianized by Ricardo Javier Cardenes Medina <rcardenes@debian.org> on
+Sat, 19 Jun 2004 23:31:46 +0100.
+
+It was downloaded from http://www.riverbankcomputing.co.uk
+
+Upstream Authors:
+
+ Jim Bublitz <jbublitz@nwinternet.com>
+ PyKDE(KDE2, Trinity)
+ Phil Thompson <phil@river-bank.demon.co.uk>
+ sip, PyQt, original PyKDE (KDE1) and loads of good advice and help
+
+Copyright:
+
+ Copyright 2004 Jim Bublitz <jbublitz@nwinternet.com>
+ Copyright 1998-2002 Jim Bublitz and/or Phil Thompson
+
+License:
+
+ This software 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.
+
+ A copy of the GNU General Public License is available as
+ /usr/share/common-licenses/GPL in the Debian GNU/Linux
+ distribution or on the World Wide Web at
+ http://www.gnu.org/copyleft/gpl.html. You can also obtain it by
+ writing to the Free Software Foundation, Inc., 51 Franklin St,
+ Fifth Floor, Boston, MA 02110-1301 USA.
diff --git a/debian/_base/libraries/python-trinity/debian/patches/.gitignore b/debian/_base/libraries/python-trinity/debian/patches/.gitignore
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/_base/libraries/python-trinity/debian/patches/.gitignore
diff --git a/debian/_base/libraries/python-trinity/debian/pytdeconfig.py b/debian/_base/libraries/python-trinity/debian/pytdeconfig.py
new file mode 100644
index 000000000..eac264752
--- /dev/null
+++ b/debian/_base/libraries/python-trinity/debian/pytdeconfig.py
@@ -0,0 +1,11 @@
+# import the sipconfig.py for the normal or the debug build
+
+import sys
+
+if getattr(sys, "pydebug", False):
+ try:
+ from pytdeconfig_d import *
+ except ImportError, msg:
+ raise ImportError, 'No module named pytdeconfig; package python-trinity-dbg not installed'
+else:
+ from pytdeconfig_nd import *
diff --git a/debian/_base/libraries/python-trinity/debian/python-trinity-trinity-dev.dirs b/debian/_base/libraries/python-trinity/debian/python-trinity-trinity-dev.dirs
new file mode 100644
index 000000000..c395de89f
--- /dev/null
+++ b/debian/_base/libraries/python-trinity/debian/python-trinity-trinity-dev.dirs
@@ -0,0 +1 @@
+opt/trinity/share/sip/trinity
diff --git a/debian/_base/libraries/python-trinity/debian/python-trinity-trinity-dev.install b/debian/_base/libraries/python-trinity/debian/python-trinity-trinity-dev.install
new file mode 100644
index 000000000..f7d970bcb
--- /dev/null
+++ b/debian/_base/libraries/python-trinity/debian/python-trinity-trinity-dev.install
@@ -0,0 +1,2 @@
+sip/* opt/trinity/share/sip/trinity
+contrib/tdepyuic opt/trinity/bin/
diff --git a/debian/_base/libraries/python-trinity/debian/python-trinity-trinity-doc.dirs b/debian/_base/libraries/python-trinity/debian/python-trinity-trinity-doc.dirs
new file mode 100644
index 000000000..96235463f
--- /dev/null
+++ b/debian/_base/libraries/python-trinity/debian/python-trinity-trinity-doc.dirs
@@ -0,0 +1,3 @@
+usr/share/doc/python-trinity-trinity-doc
+usr/share/doc/python-trinity-trinity-doc/examples
+usr/share/doc/python-trinity-trinity-doc/html
diff --git a/debian/_base/libraries/python-trinity/debian/python-trinity-trinity-doc.doc-base b/debian/_base/libraries/python-trinity/debian/python-trinity-trinity-doc.doc-base
new file mode 100644
index 000000000..bb9705168
--- /dev/null
+++ b/debian/_base/libraries/python-trinity/debian/python-trinity-trinity-doc.doc-base
@@ -0,0 +1,12 @@
+Document: PyTDE
+Title: PyTDE developer documentation
+Author: Jim Bublitz, The TDE Team
+Abstract: This documentation describes the PyTDE API
+ PyTDE contains the Python bindings to the TDE core library.
+ This manual contains general handling instructions and
+ a class reference.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/python-trinity-trinity-doc/html/index.html
+Files: /usr/share/doc/python-trinity-trinity-doc/html/*.html
diff --git a/debian/_base/libraries/python-trinity/debian/python-trinity-trinity-doc.examples b/debian/_base/libraries/python-trinity/debian/python-trinity-trinity-doc.examples
new file mode 100644
index 000000000..e39721e20
--- /dev/null
+++ b/debian/_base/libraries/python-trinity/debian/python-trinity-trinity-doc.examples
@@ -0,0 +1 @@
+examples/*
diff --git a/debian/_base/libraries/python-trinity/debian/python-trinity-trinity-doc.install b/debian/_base/libraries/python-trinity/debian/python-trinity-trinity-doc.install
new file mode 100644
index 000000000..20b273acb
--- /dev/null
+++ b/debian/_base/libraries/python-trinity/debian/python-trinity-trinity-doc.install
@@ -0,0 +1 @@
+doc/* usr/share/doc/python-trinity-trinity-doc/html
diff --git a/debian/_base/libraries/python-trinity/debian/python-trinity-trinity.install b/debian/_base/libraries/python-trinity/debian/python-trinity-trinity.install
new file mode 100644
index 000000000..facee2907
--- /dev/null
+++ b/debian/_base/libraries/python-trinity/debian/python-trinity-trinity.install
@@ -0,0 +1,3 @@
+usr/lib/python*/*-packages/*.so
+usr/lib/python*/*-packages/dcop*.py
+
diff --git a/debian/_base/libraries/python-trinity/debian/rules b/debian/_base/libraries/python-trinity/debian/rules
new file mode 100755
index 000000000..a8bd862cd
--- /dev/null
+++ b/debian/_base/libraries/python-trinity/debian/rules
@@ -0,0 +1,172 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+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
+
+cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+export QTDIR=/usr/share/qt3
+export QMAKESPEC=$(QTDIR)/mkspecs/linux-g++
+
+CXXFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CXXFLAGS += -O0
+else
+ CXXFLAGS += -O2
+endif
+
+PYTHONS := $(shell pyversions -vr debian/control)
+DBG_PYTHONS := $(shell pyversions -vd)
+
+DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_python)
+
+GCCVER := $(shell gcc --version | sed -n '/^gcc (GCC)/s/.*(GCC) \(...\).*/\1/p')
+ifneq (,$(filter $(GCCVER),4.2 4.3))
+ SPLIT=20
+else
+ SPLIT=4
+endif
+
+.PRECIOUS: build-%/configure-stamp dbg-build-%/configure-stamp
+
+configure: $(PYTHONS:%=build-%/configure-stamp) $(DBG_PYTHONS:%=dbg-build-%/configure-stamp)
+
+build-%/configure-stamp:
+ dh_testdir
+ mkdir -p build-$*
+ cd build-$* && python$* ../configure.py \
+ -c -u -k /opt/trinity -o /opt/trinity/include -n /opt/trinity/lib \
+ -e python$* \
+ -v /opt/trinity/share/sip/trinity -j $(SPLIT)
+ touch $@
+
+dbg-build-%/configure-stamp:
+ dh_testdir
+ mkdir -p dbg-build-$*
+ cd dbg-build-$* && python$*-dbg ../configure.py \
+ -c -u -k /opt/trinity -o /opt/trinity/include -n /opt/trinity/lib \
+ -e python$* \
+ -v /opt/trinity/share/sip/trinity -j $(SPLIT)
+ touch $@
+
+build build-arch: $(PYTHONS:%=build-%/build-stamp) $(DBG_PYTHONS:%=dbg-build-%/build-stamp)
+build-indep:
+
+build-%/build-stamp: build-%/configure-stamp
+ dh_testdir
+ $(MAKE) -C build-$*
+ touch $@
+
+dbg-build-%/build-stamp: dbg-build-%/configure-stamp
+ dh_testdir
+ $(MAKE) -C dbg-build-$*
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f *-stamp
+ rm -rf $(PYTHONS:%=build-%) $(DBG_PYTHONS:%=dbg-build-%)
+
+# remove autogenerated *mod.sip files and clean up sources
+ for moddir in sip/*;\
+ do\
+ if [ -d $$moddir ]; then\
+ rm -f $$moddir/` basename $${moddir}`mod.sip;\
+ fi;\
+ done
+ dh_clean
+
+install: install-indep install-arch
+
+install-indep:
+ dh_testdir
+ dh_testroot
+ dh_clean -k -i
+ dh_installdirs -i
+ dh_install -i -X'\.diff$$' -X'\.in$$' -X'\.html$$'
+ for version in ${PYTHONS};\
+ do\
+ mkdir -p debian/python-trinity-trinity-dev/opt/trinity/lib/python-$$version/site-packages;\
+ cp debian/pytdeconfig.py debian/python-trinity-trinity-dev/opt/trinity/lib/python-$$version/site-packages/;\
+ cp build-$$version/pytdeconfig.py debian/python-trinity-trinity-dev/opt/trinity/lib/python-$$version/site-packages/pytdeconfig_nd.py;\
+ done
+ for version in ${DBG_PYTHONS};\
+ do\
+ cp dbg-build-$$version/pytdeconfig.py debian/python-trinity-trinity-dev/opt/trinity/lib/python-$$version/site-packages/pytdeconfig_d.py;\
+ done
+
+install-arch:
+ dh_testdir
+ dh_testroot
+ dh_clean -k -a
+ dh_installdirs -a
+ set -e; \
+ for version in ${PYTHONS};\
+ do\
+ $(MAKE) -C build-$$version install DESTDIR=$(CURDIR)/debian/tmp;\
+ done
+
+ set -e; \
+ for version in ${DBG_PYTHONS}; do \
+ $(MAKE) -C dbg-build-$$version install DESTDIR=$(CURDIR)/debian/python-trinity-trinity-dbg;\
+ done
+
+ dh_install -a --sourcedir=$(CURDIR)/debian/tmp
+
+ mkdir -p $(CURDIR)/debian/python-trinity-trinity/opt/trinity/lib/
+ ln -s /opt/trinity/lib/trinity/libkonsolepart.so $(CURDIR)/debian/python-trinity-trinity/opt/trinity/lib/
+ for i in $$(find debian/python-*-dbg -name '*.so'); do \
+ b=$$(basename $$i .so); \
+ mv $$i $$(dirname $$i)/$${b}_d.so; \
+ done
+ find debian/python-*-dbg ! -type d \
+ ! \( -name '*.so' -o -name '*config_d.py' \) | xargs rm -f
+
+ find debian/python-*-dbg -depth -type d -empty -exec rmdir {} \;
+
+
+# Must not depend on anything. This is to be called by
+# binary-arch/binary-indep
+# in another 'make' thread.
+binary-common:
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs ChangeLog
+ dh_installdocs -A THANKS
+ dh_installexamples
+ dh_link
+ifeq (,$(findstring -i, $(DH_OPTIONS)))
+ DH_OPTIONS= dh_strip -ppython-trinity-trinity #--dbg-package=python-trinity-trinity-dbg
+endif
+ dh_compress -X.py -X.ui -X.dtd
+ dh_fixperms
+ ${DH_PYTHON2}
+ dh_installdeb
+ dh_shlibdeps -l /opt/trinity/lib
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb $(DEB_DH_BUILDDEB_ARGS)
+
+# Build architecture independant packages using the common target.
+binary-indep: install-indep
+ $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
+
+# Build architecture dependant packages using the common target.
+binary-arch: build install-arch
+ $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
+
+binary: binary-arch binary-indep
+.PHONY: build build-arch clean binary-indep binary-arch binary install install-indep install-arch configure
diff --git a/debian/_base/libraries/python-trinity/debian/source/format b/debian/_base/libraries/python-trinity/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/debian/_base/libraries/python-trinity/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/_base/libraries/python-trinity/debian/source/options b/debian/_base/libraries/python-trinity/debian/source/options
new file mode 100644
index 000000000..72f1f5450
--- /dev/null
+++ b/debian/_base/libraries/python-trinity/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/libraries/python-trinity/debian/watch b/debian/_base/libraries/python-trinity/debian/watch
new file mode 100644
index 000000000..8b3afcac0
--- /dev/null
+++ b/debian/_base/libraries/python-trinity/debian/watch
@@ -0,0 +1,3 @@
+version=3
+
+http://www.riverbankcomputing.com/Downloads/PyTrinity/PyKDE-(.*)\.tar\.bz2