summaryrefslogtreecommitdiffstats
path: root/ubuntu/precise/applications/gwenview/debian
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-09-10 16:16:32 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-09-10 16:16:32 -0500
commit02dc85a95b228b7242b0d11ea35619faad96db03 (patch)
treee161ba877a0720bbdf7818bdec06eb239d8ad271 /ubuntu/precise/applications/gwenview/debian
parent6f2c7dc70e77d2f768d687838b6cc9f7632f609e (diff)
downloadtde-packaging-02dc85a95b228b7242b0d11ea35619faad96db03.tar.gz
tde-packaging-02dc85a95b228b7242b0d11ea35619faad96db03.zip
Split precise from maverick
Diffstat (limited to 'ubuntu/precise/applications/gwenview/debian')
-rw-r--r--ubuntu/precise/applications/gwenview/debian/cdbs/buildvars.mk86
-rw-r--r--ubuntu/precise/applications/gwenview/debian/cdbs/debian-qt-kde.mk109
-rw-r--r--ubuntu/precise/applications/gwenview/debian/cdbs/kde.mk97
-rw-r--r--ubuntu/precise/applications/gwenview/debian/cdbs/team-members16
-rw-r--r--ubuntu/precise/applications/gwenview/debian/cdbs/uploaders.mk29
-rw-r--r--ubuntu/precise/applications/gwenview/debian/cdbs/versions.pl19
-rw-r--r--ubuntu/precise/applications/gwenview/debian/changelog367
-rw-r--r--ubuntu/precise/applications/gwenview/debian/compat1
-rw-r--r--ubuntu/precise/applications/gwenview/debian/control33
-rw-r--r--ubuntu/precise/applications/gwenview/debian/copyright87
-rw-r--r--ubuntu/precise/applications/gwenview/debian/gwenview.doc-base9
-rw-r--r--ubuntu/precise/applications/gwenview/debian/gwenview.lintian3
-rw-r--r--ubuntu/precise/applications/gwenview/debian/gwenview.xpm554
-rw-r--r--ubuntu/precise/applications/gwenview/debian/menu7
-rw-r--r--ubuntu/precise/applications/gwenview/debian/patches/.gitignore0
-rwxr-xr-xubuntu/precise/applications/gwenview/debian/rules41
-rw-r--r--ubuntu/precise/applications/gwenview/debian/source/format1
-rw-r--r--ubuntu/precise/applications/gwenview/debian/source/options6
18 files changed, 1465 insertions, 0 deletions
diff --git a/ubuntu/precise/applications/gwenview/debian/cdbs/buildvars.mk b/ubuntu/precise/applications/gwenview/debian/cdbs/buildvars.mk
new file mode 100644
index 000000000..23d4709dc
--- /dev/null
+++ b/ubuntu/precise/applications/gwenview/debian/cdbs/buildvars.mk
@@ -0,0 +1,86 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2002,2003 Colin Walters <walters@debian.org>
+# Description: Defines some useful variables, but no rules
+#
+# 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_rules_buildvars
+_cdbs_rules_buildvars = 1
+
+CDBS_VERSION = something
+
+# Common useful variables
+DEB_SOURCE_PACKAGE := $(strip $(shell egrep '^Source: ' debian/control | cut -f 2 -d ':'))
+DEB_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ')
+DEB_NOEPOCH_VERSION := $(shell echo $(DEB_VERSION) | cut -d: -f2-)
+DEB_UPSTREAM_VERSION := $(shell echo $(DEB_NOEPOCH_VERSION) | sed 's/-[^-]*$$//')
+DEB_ISNATIVE := $(shell dpkg-parsechangelog | egrep '^Version:' | perl -ne 'print if not /^Version:\s*.*-/;')
+
+# Split into arch/indep packages
+ifneq ($(DEB_INDEP_PACKAGES),cdbs)
+DEB_INDEP_PACKAGES := $(filter-out $(DONT_BUILD), $(strip $(shell $(_cdbs_scripts_path)/list-packages indep)))
+DEB_ARCH_PACKAGES := $(filter-out $(DONT_BUILD), $(filter-out $(DEB_INDEP_PACKAGES),$(strip $(shell $(_cdbs_scripts_path)/list-packages same))))
+endif
+# Split into normal and udeb packages
+ifeq ($(DEB_UDEB_PACKAGES),)
+DEB_PACKAGES = $(filter-out $(DONT_BUILD), $(filter-out %-udeb, $(DEB_ARCH_PACKAGES) $(DEB_INDEP_PACKAGES)))
+DEB_UDEB_PACKAGES = $(filter-out $(DONT_BUILD),$(filter %-udeb, $(DEB_ARCH_PACKAGES) $(DEB_INDEP_PACKAGES)))
+else
+DEB_PACKAGES = $(filter-out $(DONT_BUILD), $(filter-out $(DEB_UDEB_PACKAGES), $(DEB_ARCH_PACKAGES) $(DEB_INDEP_PACKAGES)))
+endif
+# Too much bother for now. If someone complains we'll fix it.
+#DEB_ARCH_UDEB_PACKAGES = $(filter %-udeb, $(DEB_ARCH_PACKAGES))
+#DEB_INDEP_UDEB_PACKAGES = $(filter %-udeb, $(DEB_INDEP_PACKAGES))
+# A handy list of every package, udeb or not
+DEB_ALL_PACKAGES = $(filter-out $(DONT_BUILD),$(DEB_PACKAGES) $(DEB_UDEB_PACKAGES))
+DEB_INDEP_REGULAR_PACKAGES = $(filter-out $(DONT_BUILD), $(filter-out $(DEB_UDEB_PACKAGES),$(DEB_INDEP_PACKAGES)))
+DEB_ARCH_REGULAR_PACKAGES = $(filter-out $(DONT_BUILD), $(filter-out $(DEB_UDEB_PACKAGES),$(DEB_ARCH_PACKAGES)))
+
+DEB_DBG_PACKAGES = $(filter-out $(DONT_BUILD), $(filter %-dbg, $(DEB_ARCH_PACKAGES) $(DEB_INDEP_PACKAGES)))
+
+# Some support for srcdir != builddir builds.
+# These are relative to the root of the package
+DEB_SRCDIR ?= .
+DEB_BUILDDIR ?= $(strip $(DEB_SRCDIR))
+
+# Miscellaneous bits
+DEB_ARCH = $(shell dpkg --print-architecture)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_HOST_GNU_SYSTEM ?= $(shell dpkg-architecture -qDEB_HOST_GNU_SYSTEM)
+DEB_HOST_GNU_CPU ?= $(shell dpkg-architecture -qDEB_HOST_GNU_CPU)
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
+DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_BUILD_GNU_SYSTEM ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_SYSTEM)
+DEB_BUILD_GNU_CPU ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU)
+DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+DEB_BUILD_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU)
+DEB_BUILD_ARCH_OS ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS)
+
+ifeq ($(words $(DEB_ALL_PACKAGES)),1)
+ DEB_DESTDIR = $(CURDIR)/debian/$(strip $(DEB_ALL_PACKAGES))/
+else
+ DEB_DESTDIR = $(CURDIR)/debian/tmp/
+endif
+
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), cdbs (>= 0.4.23-1.1)
+
+endif
diff --git a/ubuntu/precise/applications/gwenview/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/gwenview/debian/cdbs/debian-qt-kde.mk
new file mode 100644
index 000000000..311dc059d
--- /dev/null
+++ b/ubuntu/precise/applications/gwenview/debian/cdbs/debian-qt-kde.mk
@@ -0,0 +1,109 @@
+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
+ cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+ $(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
+ touch debian/stamp-cvs-make
+
+include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
+include debian/cdbs/uploaders.mk
+
+DEB_PATCHDIRS := debian/patches/common debian/patches
+
+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/ubuntu/precise/applications/gwenview/debian/cdbs/kde.mk b/ubuntu/precise/applications/gwenview/debian/cdbs/kde.mk
new file mode 100644
index 000000000..765560c89
--- /dev/null
+++ b/ubuntu/precise/applications/gwenview/debian/cdbs/kde.mk
@@ -0,0 +1,97 @@
+# -*- 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-prehook-impl::
+ mkdir -p po
+ -XGETTEXT=/usr/bin/kde-xgettext EXTRACTATTR=/opt/trinity/bin/extractattr sh $(DEB_SRCDIR)/admin/cvs.sh extract-messages
+ -for file in po/*pot; do \
+ sed "s/charset=CHARSET/charset=UTF-8/" -i $$file; \
+ done
+
+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
+ rm -rf po/*.pot
+
+# 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/ubuntu/precise/applications/gwenview/debian/cdbs/team-members b/ubuntu/precise/applications/gwenview/debian/cdbs/team-members
new file mode 100644
index 000000000..05761af6e
--- /dev/null
+++ b/ubuntu/precise/applications/gwenview/debian/cdbs/team-members
@@ -0,0 +1,16 @@
+Sune Vuorela <debian@pusling.com>
+Ana Beatriz Guerrero Lopez <ana@debian.org>
+Fathi Boudra <fboudra@free.fr>
+Modestas Vainius <geromanas@mailas.com>
+Josh Metzler <joshdeb@metzlers.org>
+Isaac Clerencia <isaac@debian.org>
+Adeodato Simó <dato@net.com.org.es>
+Adeodato Simo <dato@net.com.org.es>
+Christopher Martin <chrsmrtn@debian.org>
+Daniel Schepler <schepler@debian.org>
+Sarah Hobbs <hobbsee@ubuntu.com>
+Nacho Barrientos Arias <nacho@debian.org>
+Ricardo Javier Cardenes Medina <rcardenes@debian.org>
+Ricardo Cardenes <rcardenes@debian.org>
+Armin Berres <trigger+debian@space-based.de>
+Francesco Pedrini <francesco.pedrini@gmail.com>
diff --git a/ubuntu/precise/applications/gwenview/debian/cdbs/uploaders.mk b/ubuntu/precise/applications/gwenview/debian/cdbs/uploaders.mk
new file mode 100644
index 000000000..31adfe31e
--- /dev/null
+++ b/ubuntu/precise/applications/gwenview/debian/cdbs/uploaders.mk
@@ -0,0 +1,29 @@
+
+MAINTAINER=Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
+UPLOADERS=$(shell grep -e +++ -e "^ -- " debian/changelog | grep -v "debian-qt-kde@lists.debian.org" | head -13 | /bin/sed 's/^\s*//;s/\s*$$//;s/^+++\? Changes by //;s/^+++\? //;s/-- //;s/:$$//;s/ <.*//' | sort -u | while read line ; do grep "$$line" debian/cdbs/team-members ; done | tr "\n" ", " | sed 's/,/, /g;s/, $$//')
+
+
+debian/control.tmp:
+ @if [ ! -e debian/control.in ] ; then \
+ echo "this package is not yet prepared for using automatic update of uploaders"; \
+ echo "Please do so."; \
+ exit 1; \
+ fi
+ @sed 's/@@@UPLOADERS@@@/$(UPLOADERS)/;s#@@@MAINTAINER@@@#$(MAINTAINER)#' debian/control.in > debian/control.tmp
+
+check-uploaders: debian/control.tmp
+ @if ! diff -q debian/control debian/control.tmp ; then \
+ echo "WARNING:: Control file differs from manually generated one" ; \
+ echo "WARNING:: Please update it manually and check it afterwards" ; \
+ echo "WARNING:: Uploaders are updated by debian/rules update-uploaders" ;\
+ echo "WARNING:: If this is a binNMU, NMU or security upload, just ignore" ;\
+ fi
+
+
+clean::
+ rm -f debian/control.tmp
+
+update-uploaders: debian/control.tmp
+ @mv -f debian/control.tmp debian/control
+
+makebuilddir:: check-uploaders
diff --git a/ubuntu/precise/applications/gwenview/debian/cdbs/versions.pl b/ubuntu/precise/applications/gwenview/debian/cdbs/versions.pl
new file mode 100644
index 000000000..9ce11d8a3
--- /dev/null
+++ b/ubuntu/precise/applications/gwenview/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/-[^-]+$//;
+($version2 = $version3) =~ s/\.[^.]+$//;
+
+($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e;
+($version2_next = $version2) =~ s/(?<=\.)(\d+)$/($1+1)/e;
+
+print "KDE-Version3=$version3\n";
+print "KDE-Version2=$version2\n";
+print "KDE-Next-Version3=$version3_next\n";
+print "KDE-Next-Version2=$version2_next\n";
diff --git a/ubuntu/precise/applications/gwenview/debian/changelog b/ubuntu/precise/applications/gwenview/debian/changelog
new file mode 100644
index 000000000..25741414f
--- /dev/null
+++ b/ubuntu/precise/applications/gwenview/debian/changelog
@@ -0,0 +1,367 @@
+gwenview-trinity (4:1.4.2-8) karmic; urgency=low
+
+ * Karmic rebuild
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 02 July 2009 16:08:00 -0600
+
+gwenview-trinity (4:1.4.2-6) jaunty; urgency=low
+
+ * Jaunty rebuild
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Tue, 28 April 2009 20:25:00 -0600
+
+gwenview-trinity (4:1.4.2-5) 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
+
+gwenview-trinity (4:1.4.2-4) intrepid; urgency=low
+
+ * Added -trinity suffix
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Tue, 04 Nov 2008 06:06:15 -0600
+
+gwenview (1.4.2-4) unstable; urgency=low
+
+ * Include patch (not yet committed upstream) that fixes crashes on images
+ with incorrect EXIF information (see http://bugs.kde.org/159522). Thanks
+ to Achim Bohnet for the tip. (Closes: #471742, #471847)
+ * Include further post-release commits to Gwenview's KDE 3 branch:
+ + Fix the loading of 1bpp images, like some BMPs.
+ * Update doc-base file to fix encoding and section.
+
+ -- Christopher Martin <chrsmrtn@debian.org> Fri, 21 Mar 2008 11:54:45 -0400
+
+gwenview (1.4.2-3) unstable; urgency=low
+
+ * Update to Debian Policy 3.7.3. Move Homepage from the package
+ description to a regular debian/control field.
+ * Update debhelper compatibility level to 6. No changes.
+ * Convert debian/copyright to UTF-8.
+
+ * Include post-release commits to Gwenview's KDE 3 branch:
+ + Fix GIMP startup from the External Tools menu (to get this to take
+ effect, users may have delete $HOME/.kde/share/apps/gwenview/tools).
+ + Fix the slideshow icon in the configuration window.
+
+ -- Christopher Martin <chrsmrtn@debian.org> Sun, 13 Jan 2008 14:32:26 -0500
+
+gwenview (1.4.2-2) unstable; urgency=low
+
+ * Remove some unnecessary lintian overrides, now that lintian has been fixed
+ with respect to KDE .desktop files.
+
+ -- Christopher Martin <chrsmrtn@debian.org> Sun, 28 Oct 2007 00:13:27 -0400
+
+gwenview (1.4.2-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Christopher Martin <chrsmrtn@debian.org> Mon, 17 Sep 2007 19:31:17 -0400
+
+gwenview (1.4.1-1) unstable; urgency=low
+
+ * New upstream release, uploaded to unstable.
+
+ -- Christopher Martin <chrsmrtn@debian.org> Sun, 26 Nov 2006 18:41:39 -0500
+
+gwenview (1.4.0-1) experimental; urgency=low
+
+ * Translations are now split-out into gwenview-i18n. Be sure to install that
+ package if you use a non-en_US desktop.
+
+ -- Christopher Martin <chrsmrtn@debian.org> Sat, 21 Oct 2006 14:01:46 -0400
+
+gwenview (1.4.0~debian.1-1) unstable; urgency=low
+
+ * New upstream release.
+ + Upstream now splits the translations out into their own tarball.
+ This is by no means a bad thing, but to avoid having a package stuck
+ in NEW this close to a release, I'm gluing them back in for the
+ moment. Once a releasable package is in Etch, I'll adopt upstream's
+ practices. Hence the wacky package version.
+ + Fixes focus switching. (Closes: #301812)
+
+ * Clarify the package description, as displaying EXIF tags don't require
+ kdegaphics-kfile-plugins (but other features still do). (Closes: #368809)
+
+ * This rebuild eliminates all references to obsolete libX*.la files.
+ (Closes: #381323)
+
+ -- Christopher Martin <chrsmrtn@debian.org> Mon, 18 Sep 2006 22:02:27 -0400
+
+gwenview (1.3.1-3) unstable; urgency=low
+
+ * Clarify the package description, as merely editing EXIF comments doesn't
+ strictly require tdegraphics-kfile-plugins. (Closes: #368809)
+
+ -- Christopher Martin <chrsmrtn@debian.org> Sun, 28 May 2006 11:37:27 -0400
+
+gwenview (1.3.1-2) unstable; urgency=low
+
+ * Add a patch that should fix a build failure on ARM, due
+ to a quirk of its assembler spec.
+
+ -- Christopher Martin <chrsmrtn@debian.org> Wed, 7 Dec 2005 08:41:11 -0500
+
+gwenview (1.3.1-1) unstable; urgency=low
+
+ * Minor upstream update.
+ * Rebuild against tdelibs4c2a.
+ * Bump DH_COMPAT to 5. No changes required.
+
+ -- Christopher Martin <chrsmrtn@debian.org> Mon, 5 Dec 2005 07:46:53 -0500
+
+gwenview (1.3.0-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Christopher Martin <chrsmrtn@debian.org> Thu, 13 Oct 2005 15:49:58 -0400
+
+gwenview (1.2.0-2) unstable; urgency=low
+
+ * Re-package using CDBS.
+ * Re-build for the gcc 4.0 C++ ABI transition.
+ * Rebuild against KDE 3.4. The new trash system is now supported.
+ (Closes: #318477)
+ * Sync with the 1.2 branch, pulling in a number of minor fixes.
+
+ -- Christopher Martin <chrsmrtn@freeshell.org> Wed, 31 Aug 2005 13:20:56 -0400
+
+gwenview (1.2.0-1) unstable; urgency=low
+
+ * New upstream release.
+ + Fixes crashes when using "Back" to navigate. (Closes: #301811)
+ * Enable KIPI support.
+ * Add a doc-base file for the handbook.
+
+ -- Christopher Martin <chrsmrtn@freeshell.org> Wed, 6 Apr 2005 11:33:06 -0400
+
+gwenview (1.1.8+1.2.0pre4-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Christopher Martin <chrsmrtn@freeshell.org> Sat, 19 Mar 2005 14:37:14 -0500
+
+gwenview (1.1.8+1.2.0pre2-1) unstable; urgency=low
+
+ * New upstream release.
+ + New Gwenview handbook.
+
+ -- Christopher Martin <chrsmrtn@freeshell.org> Sun, 13 Feb 2005 20:51:25 -0500
+
+gwenview (1.1.8+1.2.0pre1-1) unstable; urgency=low
+
+ * New upstream release.
+ + Fixes crash when double-clicking on an image using the konqueror kpart.
+ (Closes: #290097)
+ + Gwenview is now a tdeinit module - added appropriate lintian override.
+
+ -- Christopher Martin <chrsmrtn@freeshell.org> Wed, 26 Jan 2005 09:45:17 -0500
+
+gwenview (1.1.8-1) unstable; urgency=low
+
+ * New upstream release.
+ * Minor packaging updates and cleanups to debian/rules.
+ * Fix debian/copyright GPL address: point to GPL-2, not the symlink
+ to the latest GPL version.
+
+ -- Christopher Martin <chrsmrtn@freeshell.org> Mon, 10 Jan 2005 15:51:46 -0500
+
+gwenview (1.1.7-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Christopher Martin <chrsmrtn@freeshell.org> Mon, 20 Dec 2004 16:16:45 -0500
+
+gwenview (1.1.6-1) unstable; urgency=low
+
+ * New upstream release.
+ + Fixes frequent crashes when altering images. (Closes: #266302)
+ + libjpeg-progs is no longer required for lossless JPEG transforms, as this
+ functionality is now built-in.
+
+ -- Christopher Martin <chrsmrtn@freeshell.org> Thu, 28 Oct 2004 17:39:51 -0400
+
+gwenview (1.1.5-1) unstable; urgency=low
+
+ * New upstream release.
+ + Rewrote the manpage from scratch; included by upstream. It now replaces
+ the README.
+
+ -- Christopher Martin <chrsmrtn@freeshell.org> Wed, 22 Sep 2004 08:41:44 -0400
+
+gwenview (1.1.4-1) unstable; urgency=low
+
+ * New upstream release.
+ * Rebuild against Qt 3.3, fixing the failure to exit properly from
+ fullscreen mode.
+ * Added a recommends on tdegraphics-kfile-plugins, which enables the use of
+ EXIF comments.
+
+ -- Christopher Martin <chrsmrtn@freeshell.org> Tue, 10 Aug 2004 18:37:33 -0400
+
+gwenview (1.1.3-3) unstable; urgency=medium
+
+ * Applied a fix that disables input while jpegtran is running, preventing
+ premature saves from corrupting images. Lossless transforms are back.
+
+ -- Christopher Martin <chrsmrtn@freeshell.org> Thu, 8 Jul 2004 17:39:32 -0400
+
+gwenview (1.1.3-2) unstable; urgency=medium
+
+ * Hackishly disabled lossless JPEG transforms, as a temporary measure
+ pending an upstream fix (Closes: #257956). This is a picture munching bug,
+ hence the need to eliminate the risk to users, even if inconvenient. JPEG
+ transforms are now lossy - adjust your "What to do when leaving a modified
+ image" setting in the Misc settings tab accordingly.
+ * As per policy, the NEWS file has been renamed changelog to reflect its
+ contents.
+
+ -- Christopher Martin <chrsmrtn@freeshell.org> Thu, 8 Jul 2004 12:01:21 -0400
+
+gwenview (1.1.3-1) unstable; urgency=low
+
+ * New upstream release. Translations now included.
+
+ -- Christopher Martin <chrsmrtn@freeshell.org> Sun, 13 Jun 2004 18:55:04 -0400
+
+gwenview (1.1.2-1) unstable; urgency=low
+
+ * New maintainer.
+ * New upstream release. (Closes: #198674)
+ * Updated the Debian menu entry, and added an icon.
+ * Added a Recommends on libjpeg-progs (or libjpeg-mmx-progs) for
+ lossless JPEG transforms. (Closes: #217446)
+ * Added a build-conflicts against versions of libart-2.0 with broken shlibs.
+ * Many other minor packaging changes, mainly to appease linda and lintian.
+
+ -- Christopher Martin <chrsmrtn@freeshell.org> Tue, 11 May 2004 13:38:02 -0400
+
+gwenview (0.17.0pre3-2) unstable; urgency=low
+
+ * Fix for hack in rules file from Jiri Barton, causing build to fail
+
+ -- Michael Spanier <mail@michael-spanier.de> Fri, 2 May 2003 15:12:46 +0200
+
+gwenview (0.17.0pre3-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Michael Spanier <mail@michael-spanier.de> Thu, 1 May 2003 23:27:43 +0200
+
+gwenview (0.16.0-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Michael Spanier <mail@michael-spanier.de> Thu, 30 Jan 2003 22:20:40 +0100
+
+gwenview (0.15.0-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Michael Spanier <mail@michael-spanier.de> Tue, 8 Oct 2002 21:44:02 +0200
+
+gwenview (0.14.4-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Michael Spanier <mail@michael-spanier.de> Sun, 28 Jul 2002 21:11:48 +0200
+
+gwenview (0.14.3-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Michael Spanier <mail@michael-spanier.de> Wed, 24 Jul 2002 10:22:01 +0200
+
+gwenview (0.14.1-1) unstable; urgency=low
+
+ * New upstream release
+ * first Trinity
+
+ -- Michael Spanier <mail@michael-spanier.de> Wed, 19 Jun 2002 16:06:22 +0200
+
+gwenview (0.13.0-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Michael Spanier <mail@michael-spanier.de> Sun, 5 May 2002 23:20:42 +0200
+
+gwenview (0.12.0-3) unstable; urgency=low
+
+ * Changed description Layout (closes: #141519)
+ * Thanks to Colin Watson <cjwatson@debian.org> for sponsoring the upload
+
+ -- Michael Spanier <mail@michael-spanier.de> Sun, 7 Apr 2002 13:16:35 +0200
+
+gwenview (0.12.0-2) unstable; urgency=low
+
+ * corrected spelling error in description (closes: #124713)
+ * package rebuild with new libpng (closes: #135758)
+
+ -- Michael Spanier <mail@michael-spanier.de> Wed, 13 Mar 2002 11:38:18 +0100
+
+gwenview (0.12.0-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Michael Spanier <mail@michael-spanier.de> Sun, 10 Mar 2002 14:32:59 +0100
+
+gwenview (0.11.1-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Michael Spanier <mail@michael-spanier.de> Sun, 30 Dec 2001 18:46:52 +0100
+
+gwenview (0.10.1-4) unstable; urgency=low
+
+ * Corrected manpage (closes: #121291)
+ * added kderemove tag (closes: #121170)
+ * moved menuentry to Graphics (closes: #120776)
+ * made description more clear (closes: #120685)
+
+ -- Michael Spanier <mail@michael-spanier.de> Fri, 7 Dec 2001 12:18:42 +0100
+
+gwenview (0.10.1-3.1) unstable; urgency=low
+
+ * NMU
+ * Fix g++ 3.0 compile error. Closes: #121188
+ * New upstream release
+
+ -- LaMont Jones <lamont@debian.org> Sat, 15 Dec 2001 22:44:03 -0700
+
+gwenview (0.10.1-3) unstable; urgency=low
+
+ * First official debian release, sponsored by Jimmy Kaplowitz
+ <jimmy@debian.org>
+ * added manpage for gwenview
+ * changed section from x11 to graphics
+
+ -- Michael Spanier <mail@michael-spanier.de> Wed, 14 Nov 2001 05:28:12 +0100
+
+gwenview (0.10.1-2) unstable; urgency=low
+
+ * Moved debian-specific stuff from .orig.tar.gz to .diff.gz
+
+ -- Michael Spanier <mail@michael-spanier.de> Wed, 14 Nov 2001 04:29:47 +0100
+
+gwenview (0.10.1-1) unstable; urgency=low
+
+ * New upstream release 0.10.1
+
+ -- Michael Spanier <mail@michael-spanier.de> Mon, 12 Nov 2001 00:39:00 +0100
+
+gwenview (0.10.0-1) unstable; urgency=low
+
+ * New upstream release 0.10.0
+
+ -- Michael Spanier <michael@abh-412.abh.uni-karlsruhe.de> Thu, 4 Oct 2001 14:53:16 +0200
+
+gwenview (0.9.2-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Michael Spanier <mail@michael-spanier.de> Sun, 16 Sep 2001 17:57:04 +0200
+
diff --git a/ubuntu/precise/applications/gwenview/debian/compat b/ubuntu/precise/applications/gwenview/debian/compat
new file mode 100644
index 000000000..1e8b31496
--- /dev/null
+++ b/ubuntu/precise/applications/gwenview/debian/compat
@@ -0,0 +1 @@
+6
diff --git a/ubuntu/precise/applications/gwenview/debian/control b/ubuntu/precise/applications/gwenview/debian/control
new file mode 100644
index 000000000..781aec00d
--- /dev/null
+++ b/ubuntu/precise/applications/gwenview/debian/control
@@ -0,0 +1,33 @@
+Source: gwenview-trinity
+Section: tde
+Priority: optional
+Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 6.0.0), tdelibs4-trinity-dev (>= 4:3.4.3), libkipi0-trinity-dev (>= 0.1.2-2), libexiv2-dev, libmng-dev, automake, autoconf, libtool, libltdl-dev
+Standards-Version: 3.8.4
+Homepage: http://gwenview.sourceforge.net
+
+Package: gwenview-trinity
+Architecture: any
+Depends: ${shlibs:Depends}
+Replaces: gwenview-trinity (<< 4:14.0.0)
+Breaks: gwenview-trinity (<< 4:14.0.0)
+Recommends: tdegraphics-kfile-plugins-trinity, kipi-plugins-trinity
+Suggests: gwenview-i18n
+Description: image viewer for TDE
+ Gwenview is an image viewer for the K Desktop Environment. It features a
+ folder tree window and a file list window to provide easy navigation of your
+ file hierarchy. Gwenview uses docked windows, so you can alter its layout
+ any way you wish. You can also browse your images in full-screen mode, or
+ embedded within Konqueror using the Gwenview Image Browser View and Kpart.
+ .
+ Image loading is handled by the Qt library, so Gwenview supports all image
+ formats your Qt installation supports. Gwenview correctly displays images
+ with an alpha channel. Gwenview supports the displaying and editing of EXIF
+ comments, and, if the tdegraphics-kfile-plugins package is installed, other
+ image meta-information as well. Also supported is KIPI, the KDE Image Plugin
+ Interface, a collection of helpful tools provided by the kipi-plugins
+ package. The ability to perform lossless JPEG transforms is built in.
+ .
+ Gwenview's internationalization files (i18n) (translations) are available
+ in the gwenview-i18n package. Users with non-US English desktops should
+ install this package.
diff --git a/ubuntu/precise/applications/gwenview/debian/copyright b/ubuntu/precise/applications/gwenview/debian/copyright
new file mode 100644
index 000000000..d87dc89ff
--- /dev/null
+++ b/ubuntu/precise/applications/gwenview/debian/copyright
@@ -0,0 +1,87 @@
+This package was debianized by Christopher Martin <chrsmrtn@debian.org>
+on Tue, 11 May 2004 13:38:02 -0400.
+
+It was downloaded from: http://gwenview.sourceforge.net
+
+Primary Developers:
+ Aurélien Gâteau <aurelien.gateau@free.fr>
+ Lubos Lunak <l.lunak@suse.cz>
+
+Copyright:
+
+ Gwenview includes code from the Imlib2 library, copyright (c) 2000
+ Carsten Haitzler and various contributors, under the following
+ conditions:
+
+ """
+ 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 of the Software, its documentation and marketing &
+ publicity materials, and acknowledgment shall be given in the
+ documentation, materials and software packages that this Software was
+ used.
+
+ 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 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.
+ """
+
+ Gwenview includes code from Daniel M. Duley <dan.duley@verizon.net>,
+ under the following conditions:
+
+ """
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
+ IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+ """
+
+ Gwenview also includes code from the libjpeg library, developed by
+ "the Independent JPEG Group".
+
+License:
+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; version 2 dated June, 1991.
+
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301, USA.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL-2'.
diff --git a/ubuntu/precise/applications/gwenview/debian/gwenview.doc-base b/ubuntu/precise/applications/gwenview/debian/gwenview.doc-base
new file mode 100644
index 000000000..9efaff358
--- /dev/null
+++ b/ubuntu/precise/applications/gwenview/debian/gwenview.doc-base
@@ -0,0 +1,9 @@
+Document: gwenview
+Title: Gwenview Handbook
+Author: Aurélien Gâteau, Christopher Martin
+Abstract: Gwenview is an image viewer for KDE.
+Section: Viewers
+
+Format: HTML
+Index: /usr/share/doc/tde/HTML/en/gwenview/index.html
+Files: /usr/share/doc/tde/HTML/en/gwenview/*.html
diff --git a/ubuntu/precise/applications/gwenview/debian/gwenview.lintian b/ubuntu/precise/applications/gwenview/debian/gwenview.lintian
new file mode 100644
index 000000000..6fdaead63
--- /dev/null
+++ b/ubuntu/precise/applications/gwenview/debian/gwenview.lintian
@@ -0,0 +1,3 @@
+gwenview binary: non-dev-pkg-with-shlib-symlink opt/trinity/lib/libgwenviewcore.so.1.0.0 opt/trinity/lib/libgwenviewcore.so
+gwenview binary: shlib-missing-in-control-file libtdeinit_gwenview.so for opt/trinity/lib/libtdeinit_gwenview.so
+gwenview binary: package-name-doesnt-match-sonames libgwenviewcore1 libtdeinit-gwenview
diff --git a/ubuntu/precise/applications/gwenview/debian/gwenview.xpm b/ubuntu/precise/applications/gwenview/debian/gwenview.xpm
new file mode 100644
index 000000000..076efa834
--- /dev/null
+++ b/ubuntu/precise/applications/gwenview/debian/gwenview.xpm
@@ -0,0 +1,554 @@
+/* XPM */
+static char * gwenview_xpm[] = {
+"32 32 519 2",
+" c None",
+". c #2D2F32",
+"+ c #3A3C3F",
+"@ c #3C3F42",
+"# c #333538",
+"$ c #5F6164",
+"% c #A0A2A4",
+"& c #CCCDCF",
+"* c #E3E4E5",
+"= c #ECEDEE",
+"- c #EEEFEF",
+"; c #E8E9EA",
+"> c #D7D8DA",
+", c #B4B6B8",
+"' c #7B7D80",
+") c #383A3D",
+"! c #6D7073",
+"~ c #CBCDCF",
+"{ c #F6F7F8",
+"] c #FEFFFF",
+"^ c #FEFEFE",
+"/ c #FCFDFE",
+"( c #FCFDFD",
+"_ c #FDFEFE",
+": c #E5E6E7",
+"< c #9DA0A2",
+"[ c #36383B",
+"} c #323539",
+"| c #ADB0B3",
+"1 c #F3F5F7",
+"2 c #FAFCFD",
+"3 c #F7F9FA",
+"4 c #F8FAFB",
+"5 c #D7DADC",
+"6 c #616468",
+"7 c #3E4145",
+"8 c #C6CACE",
+"9 c #F6F9FB",
+"0 c #F3F7F8",
+"a c #F3F6F8",
+"b c #F5F9FA",
+"c c #E6EAEC",
+"d c #74787C",
+"e c #32363A",
+"f c #C0C7CB",
+"g c #F1F6F8",
+"h c #EFF3F6",
+"i c #F0F5F7",
+"j c #E3E9EC",
+"k c #676C71",
+"l c #A2AAAF",
+"m c #EBF2F6",
+"n c #EDF3F6",
+"o c #EEF4F7",
+"p c #EFF5F7",
+"q c #EFF4F7",
+"r c #EEF4F6",
+"s c #EDF2F5",
+"t c #ECF1F4",
+"u c #EBF0F3",
+"v c #EBF0F4",
+"w c #ECF0F4",
+"x c #ECF1F5",
+"y c #EDF2F6",
+"z c #EEF3F7",
+"A c #EFF4F8",
+"B c #D1D9DD",
+"C c #42474B",
+"D c #686F73",
+"E c #D5DFE3",
+"F c #D1D8DB",
+"G c #C2C7CB",
+"H c #B1B5BA",
+"I c #A1A6AC",
+"J c #949AA0",
+"K c #899298",
+"L c #828D92",
+"M c #7D8C8E",
+"N c #798A8A",
+"O c #778985",
+"P c #778982",
+"Q c #788A7F",
+"R c #7A8B7E",
+"S c #7F8E82",
+"T c #869288",
+"U c #8F9991",
+"V c #9AA29D",
+"W c #A7AEAC",
+"X c #B6BCBD",
+"Y c #C7CCCF",
+"Z c #D4DCE1",
+"` c #A0A8AE",
+" . c #110D12",
+".. c #665A69",
+"+. c #7E6B83",
+"@. c #7F6C87",
+"#. c #877993",
+"$. c #928AA3",
+"%. c #9E9DB2",
+"&. c #AAAFBF",
+"*. c #B5C0CA",
+"=. c #BECCD2",
+"-. c #C4D6D8",
+";. c #C8DCDA",
+">. c #CADED7",
+",. c #CBDFD3",
+"'. c #C9DECD",
+"). c #C5DBC5",
+"!. c #C1D6BE",
+"~. c #BBCFB5",
+"{. c #B4C7A9",
+"]. c #AABB9A",
+"^. c #9FAD8A",
+"/. c #939E79",
+"(. c #888F6B",
+"_. c #808465",
+":. c #787965",
+"<. c #2F2D26",
+"[. c #724051",
+"}. c #AF889E",
+"|. c #D8B3D1",
+"1. c #ECCEED",
+"2. c #F4E1FA",
+"3. c #F7ECFE",
+"4. c #F6F0FF",
+"5. c #F3F2FF",
+"6. c #F1F5FF",
+"7. c #EEF7FF",
+"8. c #ECFAFF",
+"9. c #E9FDFF",
+"0. c #E7FFFC",
+"a. c #E6FFF6",
+"b. c #E4FFF0",
+"c. c #E3FFE9",
+"d. c #E3FFE3",
+"e. c #E6FFE2",
+"f. c #E9FFE1",
+"g. c #ECFFE0",
+"h. c #EFFFDF",
+"i. c #F3FFDD",
+"j. c #F5FFDA",
+"k. c #F6FED3",
+"l. c #F4F7C7",
+"m. c #EAE4B6",
+"n. c #CFBE9B",
+"o. c #A68269",
+"p. c #3F1E13",
+"q. c #6C2632",
+"r. c #FCC0D2",
+"s. c #FDD7EE",
+"t. c #FFD4F8",
+"u. c #FCCEFD",
+"v. c #F3CEFE",
+"w. c #EAD0FE",
+"x. c #E1D2FE",
+"y. c #D7D5FE",
+"z. c #D2DCFE",
+"A. c #CDE5FE",
+"B. c #C9EFFE",
+"C. c #C5F8FD",
+"D. c #C2FDF6",
+"E. c #C1FEE8",
+"F. c #C0FEDA",
+"G. c #BFFECB",
+"H. c #BFFEBF",
+"I. c #C5FEBD",
+"J. c #CCFEBC",
+"K. c #D2FEBB",
+"L. c #DAFEBA",
+"M. c #E1FEB8",
+"N. c #E9FEB7",
+"O. c #F1FEB7",
+"P. c #F9FEB6",
+"Q. c #FEF7BA",
+"R. c #FDE8BF",
+"S. c #FDD8BE",
+"T. c #B96B57",
+"U. c #A44855",
+"V. c #FBB9CF",
+"W. c #F8B6DD",
+"X. c #FDB2EF",
+"Y. c #FAACFC",
+"Z. c #EDAFFE",
+"`. c #DEB4FE",
+" + c #CFB8FE",
+".+ c #C0BDFE",
+"++ c #B8C9FE",
+"@+ c #B2D7FE",
+"#+ c #ABE6FE",
+"$+ c #A5F6FD",
+"%+ c #A1FDF2",
+"&+ c #A0FEDD",
+"*+ c #9FFEC6",
+"=+ c #9DFEB0",
+"-+ c #9FFE9E",
+";+ c #A8FE9B",
+">+ c #B3FE9A",
+",+ c #BDFE99",
+"'+ c #C8FE98",
+")+ c #D3FE97",
+"!+ c #DFFE96",
+"~+ c #EBFE95",
+"{+ c #F7FD94",
+"]+ c #FDF297",
+"^+ c #FBDC9F",
+"/+ c #F4C39F",
+"(+ c #DC816C",
+"_+ c #220502",
+":+ c #B24A58",
+"<+ c #F69ABA",
+"[+ c #F899D1",
+"}+ c #FD92E9",
+"|+ c #F88BFB",
+"1+ c #E68FFE",
+"2+ c #D196FE",
+"3+ c #BC9DFE",
+"4+ c #A9A4FD",
+"5+ c #9DB5FE",
+"6+ c #95C9FE",
+"7+ c #8CDEFE",
+"8+ c #83F2FD",
+"9+ c #7EFDEE",
+"0+ c #7DFED1",
+"a+ c #7CFEB3",
+"b+ c #7BFE94",
+"c+ c #7DFD7D",
+"d+ c #8AFE79",
+"e+ c #99FE78",
+"f+ c #A8FE77",
+"g+ c #B7FE75",
+"h+ c #C5FE74",
+"i+ c #D5FE73",
+"j+ c #E4FE72",
+"k+ c #F5FD71",
+"l+ c #FDEE77",
+"m+ c #FBD282",
+"n+ c #EFAF7F",
+"o+ c #E1765D",
+"p+ c #2A0704",
+"q+ c #AB3849",
+"r+ c #F278A2",
+"s+ c #F67CC5",
+"t+ c #FD72E3",
+"u+ c #F669FB",
+"v+ c #DF6FFE",
+"w+ c #C578FE",
+"x+ c #AA81FD",
+"y+ c #918BFE",
+"z+ c #819FFC",
+"A+ c #74B5F5",
+"B+ c #6CD3FC",
+"C+ c #62F0FD",
+"D+ c #5CFDEA",
+"E+ c #5BFEC5",
+"F+ c #5AFE9F",
+"G+ c #58FE78",
+"H+ c #5CFE5B",
+"I+ c #6CFD56",
+"J+ c #7CF653",
+"K+ c #8FF853",
+"L+ c #A5FE53",
+"M+ c #B8FD52",
+"N+ c #CBFE51",
+"O+ c #DEFE50",
+"P+ c #F2FD4F",
+"Q+ c #FCEA56",
+"R+ c #FAC864",
+"S+ c #EB9A5E",
+"T+ c #D75E3F",
+"U+ c #210502",
+"V+ c #8F1F32",
+"W+ c #EF5488",
+"X+ c #F45FB8",
+"Y+ c #FC53DD",
+"Z+ c #F548FA",
+"`+ c #D850FE",
+" @ c #B95BFE",
+".@ c #9866FE",
+"+@ c #7770F8",
+"@@ c #506AC1",
+"#@ c #3B6FA2",
+"$@ c #3C9DC1",
+"%@ c #40E8F8",
+"&@ c #3BFEE6",
+"*@ c #3AFEBA",
+"=@ c #39FE8C",
+"-@ c #37FE5D",
+";@ c #3CFE3B",
+">@ c #44DA2F",
+",@ c #43A623",
+"'@ c #56AE24",
+")@ c #88E92F",
+"!@ c #ABFE31",
+"~@ c #C2FE30",
+"{@ c #D9FE2F",
+"]@ c #F1FD2E",
+"^@ c #FCE636",
+"/@ c #F8BC45",
+"(@ c #E7833C",
+"_@ c #BB401D",
+":@ c #5C091A",
+"<@ c #E92B6C",
+"[@ c #F13FA8",
+"}@ c #FC34D7",
+"|@ c #F427F9",
+"1@ c #D131FE",
+"2@ c #AC3EFE",
+"3@ c #864BFF",
+"4@ c #5A50E8",
+"5@ c #2D4696",
+"6@ c #22588E",
+"7@ c #1B7495",
+"8@ c #1DD7E7",
+"9@ c #19FEE3",
+"0@ c #18FEAE",
+"a@ c #17FE78",
+"b@ c #15FE42",
+"c@ c #1BFB19",
+"d@ c #21AF0D",
+"e@ c #2A8D0A",
+"f@ c #388D09",
+"g@ c #67C60D",
+"h@ c #9EFF10",
+"i@ c #B8FE0F",
+"j@ c #D3FE0E",
+"k@ c #EEFD0E",
+"l@ c #FCE318",
+"m@ c #F5B027",
+"n@ c #E56D19",
+"o@ c #7C2304",
+"p@ c #1C0006",
+"q@ c #BD084A",
+"r@ c #F02099",
+"s@ c #FD1AD4",
+"t@ c #F20CF9",
+"u@ c #CC18FE",
+"v@ c #A327FE",
+"w@ c #7836FE",
+"x@ c #4D44F5",
+"y@ c #2949B4",
+"z@ c #195998",
+"A@ c #1288B4",
+"B@ c #0BE0F4",
+"C@ c #04FEE1",
+"D@ c #03FFA9",
+"E@ c #03FF6E",
+"F@ c #03FE34",
+"G@ c #0AFE08",
+"H@ c #1BCF01",
+"I@ c #279B01",
+"J@ c #3BA101",
+"K@ c #6DE102",
+"L@ c #98FF02",
+"M@ c #B4FD02",
+"N@ c #D1FE02",
+"O@ c #EFFE02",
+"P@ c #FEE50E",
+"Q@ c #EAA419",
+"R@ c #944609",
+"S@ c #1B0700",
+"T@ c #2D0012",
+"U@ c #9B0E63",
+"V@ c #E810C1",
+"W@ c #F206F8",
+"X@ c #CE14FF",
+"Y@ c #A324FF",
+"Z@ c #7734FF",
+"`@ c #4E45FF",
+" # c #3765F8",
+".# c #2689EC",
+"+# c #19BBF9",
+"@# c #09E9FD",
+"## c #00E5CA",
+"$# c #02C381",
+"%# c #02BF52",
+"&# c #00DD29",
+"*# c #08FB06",
+"=# c #24FD02",
+"-# c #3CF002",
+";# c #59F302",
+"># c #7BFE02",
+",# c #9AFF02",
+"'# c #B7FF02",
+")# c #CDFA00",
+"!# c #D4E200",
+"~# c #B0A00C",
+"{# c #614C1A",
+"]# c #0F0A06",
+"^# c #161117",
+"/# c #6A3C67",
+"(# c #88208E",
+"_# c #8C13AF",
+":# c #801CCB",
+"<# c #652ADE",
+"[# c #443CE7",
+"}# c #315EEA",
+"|# c #2284E6",
+"1# c #139CD2",
+"2# c #128E9D",
+"3# c #4A7E7C",
+"4# c #869796",
+"5# c #8B9A98",
+"6# c #52785B",
+"7# c #1B891A",
+"8# c #1CBD03",
+"9# c #34D300",
+"0# c #4CD400",
+"a# c #60CA00",
+"b# c #6EB804",
+"c# c #749E10",
+"d# c #73862A",
+"e# c #797F57",
+"f# c #7D807B",
+"g# c #494D52",
+"h# c #7B8487",
+"i# c #BFCACB",
+"j# c #9FA4AA",
+"k# c #858294",
+"l# c #706C89",
+"m# c #606285",
+"n# c #586584",
+"o# c #5C7185",
+"p# c #73858E",
+"q# c #A7AEB2",
+"r# c #DAE0E5",
+"s# c #E5EDF2",
+"t# c #DBE3E8",
+"u# c #BABDC2",
+"v# c #B1B5BB",
+"w# c #8D9B95",
+"x# c #798E7B",
+"y# c #7A8D79",
+"z# c #859385",
+"A# c #97A09D",
+"B# c #B0B6BC",
+"C# c #CAD1DA",
+"D# c #C7CED4",
+"E# c #9A9EA1",
+"F# c #242629",
+"G# c #2A2D31",
+"H# c #BFC7CC",
+"I# c #E6F0F5",
+"J# c #E3EDF1",
+"K# c #E1EBEE",
+"L# c #DFE8EB",
+"M# c #DEE6E9",
+"N# c #E0E8EC",
+"O# c #E3EBF0",
+"P# c #E3ECF2",
+"Q# c #E1EAEF",
+"R# c #E0E9EE",
+"S# c #D6DEE3",
+"T# c #D8E0E4",
+"U# c #E2EBF0",
+"V# c #E4EDF2",
+"W# c #E3EBF2",
+"X# c #E4ECF2",
+"Y# c #E4EDF3",
+"Z# c #E3ECF1",
+"`# c #CED5D9",
+" $ c #ADB1B3",
+".$ c #53565A",
+"+$ c #505559",
+"@$ c #D1DADF",
+"#$ c #E1E9EE",
+"$$ c #DEE7EC",
+"%$ c #C6CDD0",
+"&$ c #AFB3B5",
+"*$ c #73777A",
+"=$ c #62666B",
+"-$ c #D3DBE0",
+";$ c #E4ECF1",
+">$ c #E2EAEF",
+",$ c #D8DFE3",
+"'$ c #C5CBCE",
+")$ c #BDC2C5",
+"!$ c #BCC1C4",
+"~$ c #C1C6C9",
+"{$ c #D1D8DC",
+"]$ c #E0E8ED",
+"^$ c #C5CACD",
+"/$ c #AEB1B3",
+"($ c #7D8083",
+"_$ c #565B5F",
+":$ c #C4CBD1",
+"<$ c #E2EBEF",
+"[$ c #CFD5D9",
+"}$ c #CDD3D6",
+"|$ c #D5DCE0",
+"1$ c #DFE6EB",
+"2$ c #DEE6EB",
+"3$ c #C6CBCF",
+"4$ c #AAADAF",
+"5$ c #727578",
+"6$ c #33363A",
+"7$ c #D5DDE2",
+"8$ c #E1E8ED",
+"9$ c #D6DDE1",
+"0$ c #BBC0C3",
+"a$ c #939698",
+"b$ c #4F5255",
+"c$ c #42464A",
+"d$ c #898F94",
+"e$ c #BFC6CB",
+"f$ c #DCE4E8",
+"g$ c #DDE4E9",
+"h$ c #DAE2E6",
+"i$ c #D4DBDF",
+"j$ c #C7CDD0",
+"k$ c #AEB3B6",
+"l$ c #888C8E",
+"m$ c #55575A",
+"n$ c #414447",
+"o$ c #575A5E",
+"p$ c #626569",
+"q$ c #626568",
+"r$ c #575A5D",
+"s$ c #434548",
+"t$ c #292B2D",
+" ",
+" ",
+" ",
+" . + @ # ",
+" $ % & * = - ; > , ' ) ",
+" ! ~ { ] ^ / ( ( / _ ] ( : < [ ",
+" } | 1 2 3 3 3 3 3 3 3 3 3 3 4 2 5 6 ",
+" 7 8 9 0 a a a a a a a a a a a a a b c d ",
+" e f g h h h h h h h h h h h h h h h h i j k ",
+" l m n o p q r n s t u v w x y z o A o o o B C ",
+" D E F G H I J K L M N O P Q R S T U V W X Y Z ` ",
+" ...+.@.#.$.%.&.*.=.-.;.>.,.'.).!.~.{.].^./.(._.:.<. ",
+" [.}.|.1.2.3.4.5.6.7.8.9.0.a.b.c.d.e.f.g.h.i.j.k.l.m.n.o.p. ",
+" q.r.s.t.u.v.w.x.y.z.A.B.C.D.E.F.G.H.I.J.K.L.M.N.O.P.Q.R.S.T. ",
+" U.V.W.X.Y.Z.`. +.+++@+#+$+%+&+*+=+-+;+>+,+'+)+!+~+{+]+^+/+(+_+",
+" :+<+[+}+|+1+2+3+4+5+6+7+8+9+0+a+b+c+d+e+f+g+h+i+j+k+l+m+n+o+p+",
+" q+r+s+t+u+v+w+x+y+z+A+B+C+D+E+F+G+H+I+J+K+L+M+N+O+P+Q+R+S+T+U+",
+" V+W+X+Y+Z+`+ @.@+@@@#@$@%@&@*@=@-@;@>@,@'@)@!@~@{@]@^@/@(@_@ ",
+" :@<@[@}@|@1@2@3@4@5@6@7@8@9@0@a@b@c@d@e@f@g@h@i@j@k@l@m@n@o@ ",
+" p@q@r@s@t@u@v@w@x@y@z@A@B@C@D@E@F@G@H@I@J@K@L@M@N@O@P@Q@R@S@ ",
+" T@U@V@W@X@Y@Z@`@ #.#+#@###$#%#&#*#=#-#;#>#,#'#)#!#~#{#]# ",
+" ^#/#(#_#:#<#[#}#|#1#2#3#4#5#6#7#8#9#0#a#b#c#d#e#f#g# ",
+" h#i#j#k#l#m#n#o#p#q#r#s#t#u#v#w#x#y#z#A#B#C#D#E#F# ",
+" G#H#I#J#K#L#M#N#O#P#Q#R#S#T#U#V#W#W#X#Y#Z#`# $.$ ",
+" +$@$O##$Q#Q#Q#Q##$R##$Q#Q#R##$Q##$Q#$$%$&$*$ ",
+" =$-$;$Q##$Q#>$,$'$)$!$~${$#$>$>$]$^$/$($ ",
+" _$:$;$<$#$>$]$T#[$}$|$1$>$>$2$3$4$5$ ",
+" 6$J 7$;$;$>$U#O#O#O#O#8$9$0$a$b$ ",
+" c$d$e$S#f$g$h$i$j$k$l$m$ ",
+" n$o$p$q$r$s$t$ ",
+" ",
+" "};
diff --git a/ubuntu/precise/applications/gwenview/debian/menu b/ubuntu/precise/applications/gwenview/debian/menu
new file mode 100644
index 000000000..c20d8c34c
--- /dev/null
+++ b/ubuntu/precise/applications/gwenview/debian/menu
@@ -0,0 +1,7 @@
+?package(gwenview):\
+ needs="X11"\
+ section="Applications/Viewers"\
+ hints="KDE,Images"\
+ title="Gwenview"\
+ command="/opt/trinity/bin/gwenview"\
+ icon="/usr/share/pixmaps/gwenview.xpm"
diff --git a/ubuntu/precise/applications/gwenview/debian/patches/.gitignore b/ubuntu/precise/applications/gwenview/debian/patches/.gitignore
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/gwenview/debian/patches/.gitignore
diff --git a/ubuntu/precise/applications/gwenview/debian/rules b/ubuntu/precise/applications/gwenview/debian/rules
new file mode 100755
index 000000000..447938cef
--- /dev/null
+++ b/ubuntu/precise/applications/gwenview/debian/rules
@@ -0,0 +1,41 @@
+#! /usr/bin/make -f
+
+DEB_PATCHDIRS := debian/patches/common debian/patches
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include debian/cdbs/kde.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.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_EXTRA_FLAGS := --enable-kipi --enable-final --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib
+DEB_INSTALL_DOCS_ALL :=
+DEB_INSTALL_CHANGELOGS_ALL := NEWS
+
+DEB_DH_MAKESHLIBS_ARGS_ALL := -V
+DEB_SHLIBDEPS_INCLUDE = debian/gwenview-trinity/opt/trinity/lib
+
+post-patches:: debian/stamp-bootstrap
+
+debian/stamp-bootstrap:
+ ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
+ ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+ cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+ cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+
+ make -f admin/Makefile.common cvs
+ touch debian/stamp-bootstrap
+
+install/gwenview-trinity::
+ install -p -D -m644 debian/gwenview.xpm debian/gwenview/opt/trinity/share/pixmaps/gwenview.xpm
+ install -p -D -m644 debian/gwenview.lintian debian/gwenview/opt/trinity/share/lintian/overrides/gwenview
+
+ cd $(CURDIR)/debian/gwenview/opt/trinity/share/doc/tde/HTML/en/gwenview; \
+ /opt/trinity/bin/meinproc $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en/gwenview/index.docbook
diff --git a/ubuntu/precise/applications/gwenview/debian/source/format b/ubuntu/precise/applications/gwenview/debian/source/format
new file mode 100644
index 000000000..89ae9db8f
--- /dev/null
+++ b/ubuntu/precise/applications/gwenview/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)
diff --git a/ubuntu/precise/applications/gwenview/debian/source/options b/ubuntu/precise/applications/gwenview/debian/source/options
new file mode 100644
index 000000000..9d7c8e036
--- /dev/null
+++ b/ubuntu/precise/applications/gwenview/debian/source/options
@@ -0,0 +1,6 @@
+# Use bzip2 instead of gzip
+compression = "bzip2"
+compression-level = 9
+
+# Don't run differences
+diff-ignore = .*