summaryrefslogtreecommitdiffstats
path: root/ubuntu/precise/applications/kile/debian
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/precise/applications/kile/debian')
-rw-r--r--ubuntu/precise/applications/kile/debian/README.Debian10
-rw-r--r--ubuntu/precise/applications/kile/debian/TODO.Debian5
-rw-r--r--ubuntu/precise/applications/kile/debian/cdbs/buildvars.mk86
-rw-r--r--ubuntu/precise/applications/kile/debian/cdbs/debian-qt-kde.mk109
-rw-r--r--ubuntu/precise/applications/kile/debian/cdbs/kde.mk97
-rw-r--r--ubuntu/precise/applications/kile/debian/cdbs/team-members16
-rw-r--r--ubuntu/precise/applications/kile/debian/cdbs/uploaders.mk29
-rw-r--r--ubuntu/precise/applications/kile/debian/cdbs/versions.pl19
-rw-r--r--ubuntu/precise/applications/kile/debian/changelog425
-rw-r--r--ubuntu/precise/applications/kile/debian/compat1
-rw-r--r--ubuntu/precise/applications/kile/debian/control526
-rw-r--r--ubuntu/precise/applications/kile/debian/copyright88
-rw-r--r--ubuntu/precise/applications/kile/debian/docs2
-rw-r--r--ubuntu/precise/applications/kile/debian/kile-trinity.install8
-rw-r--r--ubuntu/precise/applications/kile/debian/kile-trinity.links1
-rw-r--r--ubuntu/precise/applications/kile/debian/kile.164
-rw-r--r--ubuntu/precise/applications/kile/debian/kile.xpm176
-rw-r--r--ubuntu/precise/applications/kile/debian/menu7
-rw-r--r--ubuntu/precise/applications/kile/debian/patches/.gitignore0
-rwxr-xr-xubuntu/precise/applications/kile/debian/rules63
-rw-r--r--ubuntu/precise/applications/kile/debian/source/format1
-rw-r--r--ubuntu/precise/applications/kile/debian/source/options6
-rw-r--r--ubuntu/precise/applications/kile/debian/watch2
23 files changed, 1741 insertions, 0 deletions
diff --git a/ubuntu/precise/applications/kile/debian/README.Debian b/ubuntu/precise/applications/kile/debian/README.Debian
new file mode 100644
index 000000000..5339affff
--- /dev/null
+++ b/ubuntu/precise/applications/kile/debian/README.Debian
@@ -0,0 +1,10 @@
+kile for Debian
+---------------
+
+Kile no longer comes with a Gnuplot front end. The Gnuplot front end that used
+to be part of Kile is now a separate application named Qgfe maintained by
+Pascal Brachet at http://www.xm1math.net/qgfe/ .
+
+Syntax files bibtex.xml and latex.xml are provided by tdelibs-data package.
+
+ -- Ben Burton <bab@debian.org>, Sat, 23 Oct 2004 12:56:57 +1000
diff --git a/ubuntu/precise/applications/kile/debian/TODO.Debian b/ubuntu/precise/applications/kile/debian/TODO.Debian
new file mode 100644
index 000000000..7fe556fd4
--- /dev/null
+++ b/ubuntu/precise/applications/kile/debian/TODO.Debian
@@ -0,0 +1,5 @@
+* confirm #319409 resolution.
+* Add script to keep bibtex.xml and latex.xml up-to-date in tdelibs-data
+ (Closes: #358863).
+ Updated issue: highlighters will be shipped with tdelibs and users could
+ use "load new highlightings" button in the configuration dialog.
diff --git a/ubuntu/precise/applications/kile/debian/cdbs/buildvars.mk b/ubuntu/precise/applications/kile/debian/cdbs/buildvars.mk
new file mode 100644
index 000000000..23d4709dc
--- /dev/null
+++ b/ubuntu/precise/applications/kile/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/kile/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/kile/debian/cdbs/debian-qt-kde.mk
new file mode 100644
index 000000000..311dc059d
--- /dev/null
+++ b/ubuntu/precise/applications/kile/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/kile/debian/cdbs/kde.mk b/ubuntu/precise/applications/kile/debian/cdbs/kde.mk
new file mode 100644
index 000000000..765560c89
--- /dev/null
+++ b/ubuntu/precise/applications/kile/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/kile/debian/cdbs/team-members b/ubuntu/precise/applications/kile/debian/cdbs/team-members
new file mode 100644
index 000000000..05761af6e
--- /dev/null
+++ b/ubuntu/precise/applications/kile/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/kile/debian/cdbs/uploaders.mk b/ubuntu/precise/applications/kile/debian/cdbs/uploaders.mk
new file mode 100644
index 000000000..31adfe31e
--- /dev/null
+++ b/ubuntu/precise/applications/kile/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/kile/debian/cdbs/versions.pl b/ubuntu/precise/applications/kile/debian/cdbs/versions.pl
new file mode 100644
index 000000000..9ce11d8a3
--- /dev/null
+++ b/ubuntu/precise/applications/kile/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/kile/debian/changelog b/ubuntu/precise/applications/kile/debian/changelog
new file mode 100644
index 000000000..855ceef5e
--- /dev/null
+++ b/ubuntu/precise/applications/kile/debian/changelog
@@ -0,0 +1,425 @@
+kile-trinity (1:2.0.2-1ubuntu0) karmic; urgency=low
+
+ * Karmic rebuild
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 02 July 2009 16:08:00 -0600
+
+kile-trinity (1:2.0.2-0ubuntu5) intrepid; urgency=low
+
+ * Moved Trinity to /opt/trinity
+ * Integrated properly with KDE4.2+
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 05 March 2009 29:52:00 -0600
+
+kile-trinity (1:2.0.2-0ubuntu3) intrepid; urgency=low
+
+ * Remove prior Intrepid Okular changes
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 11 Dec 2008 13:45:00 -0600
+
+kile (1:2.0.1-1ubuntu1) intrepid; urgency=low
+
+ * Kile should work with okular. (LP: #282311)
+ - Add patch kubuntu_01_use_okular.diff to have DVI/PS/PDF view
+ options for Okular and set these as default.
+ - Add okular to recommends for package kile.
+ - Remove recommends on kghostview, kpdf as they are not in intrepid
+ and replaced by okular.
+ * Modify Maintainer value to match the DebianMaintainerField
+ specification.
+
+ -- Andreas Wenning <awen@awen.dk> Sat, 18 Oct 2008 00:24:14 +0200
+
+kile (1:2.0.1-1) unstable; urgency=low
+
+ * New upstream release (Closes: #458512)
+ * Bump compat/debhelper to 6
+
+ -- Fathi Boudra <fabo@debian.org> Sat, 17 May 2008 20:26:09 +0200
+
+kile (1:2.0.1~rc1-1) unstable; urgency=low
+
+ * New upstream release
+ * Remove automake1.9 and libtool build dependencies
+ * Switch to quilt patch system
+ * Bump Standards-Version to 3.7.3
+ * Add Vcs-Browser and Vcs-Svn fields
+ * Use Homepage field
+ * Add Arabic, Bulgarian, Malay, Low Saxon and Thai translations packages
+ * Update copyright
+ * Update menu file to latest Debian menu policy
+ * Use --as-needed flags
+ * Promote kpdf to Recommends
+ * Add dvipng to Recommends
+
+ -- Fathi Boudra <fabo@debian.org> Mon, 17 Mar 2008 16:41:14 +0100
+
+kile (1:2.0-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Mark Purcell <msp@debian.org> Tue, 20 Nov 2007 20:47:13 +0000
+
+kile (1:2.0~b1-1) unstable; urgency=low
+
+ * New Upstream Release
+ * Remove obsolete patches:
+ - debian/patches/03_libtool_update.diff
+ - debian/patches/11_fifo_in_tmp.diff
+ - debian/patches/12_remove_kilespell.diff
+ - debian/patches/07_remove_tips_cpp.diff
+
+ -- Mark Purcell <msp@debian.org> Thu, 06 Sep 2007 10:53:22 +0100
+
+kile (1:1.9.3-4) unstable; urgency=low
+
+ * Fix wrong conflicts/replaces of kile-i18n-* packages. (Closes: 428340)
+ Thanks to Michael Biebl.
+ * Remove Ana from uploaders field as she requested.
+
+ -- Fathi Boudra <fboudra@free.fr> Mon, 11 Jun 2007 19:47:43 +0200
+
+kile (1:1.9.3-3) unstable; urgency=low
+
+ * Update tex documentation location and fifo in tmp patches.
+ * Add patch to remove tips.cpp. Fix FTBFS on Ubuntu.
+ * Add patch to remove kilespell. (Closes: #416936)
+ * Split kile-i18n in kile-i18n-*. (Closes: #425996)
+ * Update control:
+ * Remove tetex-* Depends/Recommends. (Closes: #419763)
+ * Replace texlive-base-bin by texlive-latex-base
+
+ -- Fathi Boudra <fboudra@free.fr> Sat, 26 May 2007 13:07:10 +0200
+
+kile (1:1.9.3-2) unstable; urgency=low
+
+ * Suggest: kpdf, gv (Closes: #408824)
+ - kile: Kile should suggest/recommend kpdf and gv
+ * Basic get-orig-source target
+ * Apply fifo-in-tmp patch from Thomas Braun
+ - kile becomes CPU hog when "Let Kile process LyX..." is checked in
+ config (Closes: #406470)
+
+ -- Mark Purcell <msp@debian.org> Thu, 22 Mar 2007 22:02:39 +0000
+
+kile (1:1.9.3-1) unstable; urgency=low
+
+ [Fathi Boudra]
+ * New upstream release
+
+ -- Fathi Boudra <fboudra@free.fr> Mon, 20 Nov 2006 10:28:34 +0100
+
+kile (1:1.9.2-2) unstable; urgency=low
+
+ [Fathi Boudra]
+ * Fix tex help path. Thanks to Thomas Braun (Closes: #359872)
+ * Fix not-binnmuable-all-depends-any
+
+ -- Fathi Boudra <fboudra@free.fr> Mon, 16 Oct 2006 15:35:17 +0200
+
+kile (1:1.9.2-1) unstable; urgency=low
+
+ [Fathi Boudra]
+ * New upstream release (Closes: #337550, #359932, #382317)
+
+ -- Fathi Boudra <fboudra@free.fr> Sat, 19 Aug 2006 15:45:38 +0200
+
+kile (1:1.9.1-2) unstable; urgency=low
+
+ [Mark Purcell]
+ * Update debian/watch
+
+ [Ana Beatriz Guerrero Lopez]
+ * Dropping re-libtoolizing at build time, instead updating libtool
+ with a patch. (Closes: #379827).
+
+ -- Ana Beatriz Guerrero Lopez <ana@ekaia.org> Fri, 28 Jul 2006 22:20:06 +0200
+
+kile (1:1.9.1-1) unstable; urgency=low
+
+ [Fathi Boudra]
+ * New maintainers with Ben's agreement
+ * Maintainer: KDE Extras Team
+ * Uploaders: Ana Beatriz Guerrero Lopez, Mark Purcell and Fathi Boudra
+ * New upstream release (Closes: #337550, #358250, #358857, #276348, #221898,
+ #285035)
+ * Converted package to cdbs
+ * compat: bumped to 5
+ * control:
+ * removed unneeded Build-depends: libqt3-compat-headers and g++-3.4
+ (Closes: #342995)
+ * bumped Standards-Version to 3.7.2
+ * added texlive-base-bin in Depends (Closes: #372191)
+ * added Homepage in long description
+ * copyright:
+ * added missing copyright for kile grep dialog, plain to latex converter,
+ quick document dialog, stats dialog, and create package script
+ * docs: merged kile.docs and kile-i18n.docs
+ * kile-i18n.install: added es documentation
+ * kile.manpages: removed, replaced by an entry in rules
+ * kile.menu: renamed to menu
+ * README.Debian: merged kile.README.Debian and kile-i18n.README.Debian
+ * Added watch file
+
+ [Ana Beatriz Guerrero Lopez]
+ * re-libtoolizing at build time, so now the package doesn't depend from
+ libfreetype6 and other spurious libraries.
+ * removed kile.doc-base
+ * fixed perms of runTests.sh
+ * cosmetic changes in long description
+
+ -- Fathi Boudra <fboudra@free.fr> Sun, 25 Jun 2006 10:58:50 +0200
+
+kile (1:1.8.1-3.2) unstable; urgency=low
+
+ * Non-maintainer upload with maintainer's consent.
+ * No source-changes upload to make kile-i18n installable again after its
+ binNMU. (Closes: #342229)
+
+ -- Adeodato Simó <dato@net.com.org.es> Fri, 09 Dec 2005 13:44:02 +0100
+
+kile (1:1.8.1-3.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * work around gcc-4.0 FTBFS on some architectures
+
+ -- LaMont Jones <lamont@debian.org> Fri, 14 Oct 2005 19:28:34 +0000
+
+kile (1:1.8.1-3) unstable; urgency=low
+
+ * Rebuilt against libfam-dev instead of libgamin-dev.
+ * Removed obsolete kderemove tag from the debian menu entry.
+
+ -- Ben Burton <bab@debian.org> Sun, 4 Sep 2005 10:58:17 +1000
+
+kile (1:1.8.1-2) unstable; urgency=low
+
+ * First g++-4 upload to sid.
+ * Adjusted build-dependencies for the C++ ABI transition. Removed the
+ versioned build-dependency on libqt3-mt-dev, since the new versioned
+ tdelibs4-dev build-dependency makes it redundant.
+ * Updated FSF address in the copyright file.
+ * Bumped standards-version to 3.6.2.1 (no changes required).
+
+ -- Ben Burton <bab@debian.org> Thu, 1 Sep 2005 09:04:24 +1000
+
+kile (1:1.8.1-1) unstable; urgency=low
+
+ * New upstream release.
+ * Now that sarge is out, remove the transitional ktexmaker2 package.
+ * The i18n files for kile are back in the kile source package. Create
+ the binary kile-i18n package from here instead of a separate kile-i18n
+ source. Kile-i18n is dead, long live kile-i18n.
+ * Now uses [Desktop Entry] instead of [KDE Desktop Entry] (closes: #308440).
+
+ -- Ben Burton <bab@debian.org> Tue, 21 Jun 2005 22:55:20 +1000
+
+kile (1:1.7.1-3) unstable; urgency=low
+
+ * Added full text of the GFDL to debian/copyright, since the docbook
+ documentation is under this license.
+
+ -- Ben Burton <bab@debian.org> Sat, 26 Mar 2005 15:02:14 +1100
+
+kile (1:1.7.1-2) unstable; urgency=low
+
+ * Suggests kile-i18n, which has now been uploaded as a separate package
+ (built from a separate source as of kile 1.7).
+ * Fixed copyright file to explicitly refer to GPL v2 (not v2 or later).
+
+ -- Ben Burton <bab@debian.org> Sat, 13 Nov 2004 08:20:53 +1100
+
+kile (1:1.7.1-1) unstable; urgency=low
+
+ * New upstream release (closes: #277974).
+ * Kile no longer comes with a Gnuplot front end; this is now maintained
+ separately by Pascal Brachet at http://www.xm1math.net/qgfe/.
+ * Added a dependency on tetex-bin.
+ * Recommends tetex-doc, since Kile now integrates the teTeX help system
+ into its own help system.
+
+ -- Ben Burton <bab@debian.org> Sat, 23 Oct 2004 12:56:57 +1000
+
+kile (1:1.6.3-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Ben Burton <bab@debian.org> Sun, 20 Jun 2004 19:04:02 +1000
+
+kile (1:1.6.2-1) unstable; urgency=low
+
+ * New upstream release.
+ * Build-depends on KDE 3.2 or later (closes: #246514).
+ * No longer crashes when trying to open kdvi if kdvi is not installed
+ (closes: #210817).
+
+ -- Ben Burton <bab@debian.org> Sat, 8 May 2004 21:23:29 +1000
+
+kile (1:1.6-1) unstable; urgency=low
+
+ * New upstream release.
+ * Uses katepart for its editor (closes: #221232).
+ * Includes a document statistics dialog (closes: #222806).
+
+ -- Ben Burton <bab@debian.org> Mon, 8 Dec 2003 15:40:21 +1100
+
+kile (1:1.5.2-3) unstable; urgency=low
+
+ * Applied the 1.5.2-patch1 patches from upstream.
+ * Added symlink /usr/share/apps/kile/doc so that the LaTeX reference manual
+ can be found (closes: #213617).
+ * Bumped standards-version to 3.6.1.
+
+ -- Ben Burton <bab@debian.org> Mon, 13 Oct 2003 10:01:12 +1000
+
+kile (1:1.5.2-2) unstable; urgency=low
+
+ * Rebuilt against Qt 3.2 to stop kile from crashing (closes: #208169).
+ * Added versioned build-depends on libqt3-mt-dev (>= 3:3.2.1).
+ * Using $(objdir) in debian/rules.
+ * Updated list of authors.
+
+ -- Ben Burton <bab@debian.org> Fri, 5 Sep 2003 00:18:52 +1000
+
+kile (1:1.5.2-1) unstable; urgency=low
+
+ * New upstream release.
+ * Split title into title/longtitle for debian menu entry (closes: #196665).
+ * Updated SEE ALSO section of manpage.
+ * New upstream URL in copyright file.
+ * Bumped standards-version to 3.6.0.
+
+ -- Ben Burton <bab@debian.org> Wed, 27 Aug 2003 20:04:25 +1000
+
+kile (1:1.5-2) unstable; urgency=low
+
+ * Using ostringstream instead of ostrstream (closes: #194963).
+ * Building with objdir == srcdir to fix problem with missing i18n files.
+ * Fresh admin/ update from KDE CVS.
+ * Using a full colour pixmap again.
+ * Bumped standards-version to 3.5.10.0.
+
+ -- Ben Burton <bab@debian.org> Thu, 5 Jun 2003 10:53:40 +1000
+
+kile (1:1.5-1) unstable; urgency=low
+
+ * New upstream release.
+ * Recommends: tetex-extra instead of tetex-base.
+ * Using a policy-conformant colour map for the debian menu icon.
+ * Major rework of debian/rules.
+
+ -- Ben Burton <bab@debian.org> Sun, 11 May 2003 10:19:49 +1000
+
+kile (1:1.3.2-5) unstable; urgency=low
+
+ * Build-depends on libqt3-compat-headers. Truly (closes: #185612).
+
+ -- Ben Burton <bab@debian.org> Sat, 22 Mar 2003 17:32:28 +1100
+
+kile (1:1.3.2-4) unstable; urgency=low
+
+ * Build-depends on libqt3-compat-headers (closes: #184700).
+ * Removed alpha compile flags.
+ * Updated admin/debianrules.
+
+ -- Ben Burton <bab@debian.org> Sun, 16 Mar 2003 16:00:19 +1100
+
+kile (1:1.3.2-3) unstable; urgency=low
+
+ * Using AM_MAINTAINER_MODE (closes: #181653).
+
+ -- Ben Burton <bab@debian.org> Thu, 20 Feb 2003 18:18:43 +1100
+
+kile (1:1.3.2-2) unstable; urgency=low
+
+ * Depends on konsole to avoid crashing when the konsole part is loaded
+ (closes: #181374).
+ * Recommends (instead of depends on) kghostview since kile no longer
+ crashes when kghostview is missing (closes: #181255).
+ * Added --with-qt-includes to compensate for relocated Qt headers.
+
+ -- Ben Burton <bab@debian.org> Tue, 18 Feb 2003 23:31:16 +1100
+
+kile (1:1.3.2-1) unstable; urgency=low
+
+ * New upstream release.
+ * First Trinity upload to debian!
+ * Merged the dummy ktexmaker2 upgrade package into the kile sources.
+ * Rolled the epoch to replace both the unofficial kile 1.32 packages and
+ the old ktexmaker2 1.7 packages.
+ * Supports accentuated characters in filenames (closes: #126588).
+ * No longer crashes if kghostview is missing (closes: #159993).
+ * Session management works properly (closes: #165763).
+ * Switching between kdvi and xdvi works (closes: #168440).
+ * Bumped standards-version to 3.5.8.
+ * New maintainer email address.
+
+ -- Ben Burton <bab@debian.org> Thu, 30 Jan 2003 15:37:56 +1100
+
+kile (1.3beta-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Ben Burton <benb@acm.org> Fri, 4 Oct 2002 17:18:38 +1000
+
+kile (1.2-1) unstable; urgency=low
+
+ * Name change from ktexmaker2 to kile.
+ * New upstream release.
+ * Built for Trinity.
+
+ -- Ben Burton <benb@acm.org> Mon, 2 Sep 2002 15:21:22 +1000
+
+ktexmaker2 (1.7-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Ben Burton <benb@acm.org> Thu, 20 Dec 2001 22:30:55 +1000
+
+ktexmaker2 (1.6-2) unstable; urgency=low
+
+ * Added patches to build with gcc3.
+
+ -- Ben Burton <benb@acm.org> Sun, 9 Dec 2001 10:11:21 -0600
+
+ktexmaker2 (1.6-1) unstable; urgency=low
+
+ * New upstream release.
+ * Don't compress symbols.ps (closes: Bug#122048).
+ * Suggests gnuplot and xfig.
+ * Updated description and man page to include Gnuplot front end.
+
+ -- Ben Burton <benb@acm.org> Sun, 2 Dec 2001 12:34:55 -0600
+
+ktexmaker2 (1.5.0-2) unstable; urgency=low
+
+ * Fixed alpha build. Again.
+
+ -- Ben Burton <benb@acm.org> Sun, 11 Nov 2001 10:56:48 -0600
+
+ktexmaker2 (1.5.0-1) unstable; urgency=low
+
+ * Replaced PNGs that were really XPMs with true PNGs (hence new sourceball).
+ * Builds with automake 1.5.
+ * Updated config.guess and config.sub (closes: Bug#115011).
+
+ -- Ben Burton <benb@acm.org> Thu, 11 Oct 2001 09:35:21 -0500
+
+ktexmaker2 (1.5-3) unstable; urgency=low
+
+ * Updated parameters for alpha build.
+
+ -- Ben Burton <benb@acm.org> Sun, 23 Sep 2001 23:07:01 -0500
+
+ktexmaker2 (1.5-2) unstable; urgency=low
+
+ * Oops, added in Recommends: and Suggests: for tools that are used.
+
+ -- Ben Burton <benb@acm.org> Fri, 21 Sep 2001 10:41:46 -0500
+
+ktexmaker2 (1.5-1) unstable; urgency=low
+
+ * Initial Release (closes: Bug#98590).
+
+ -- Ben Burton <benb@acm.org> Sun, 16 Sep 2001 15:09:22 -0500
+
diff --git a/ubuntu/precise/applications/kile/debian/compat b/ubuntu/precise/applications/kile/debian/compat
new file mode 100644
index 000000000..1e8b31496
--- /dev/null
+++ b/ubuntu/precise/applications/kile/debian/compat
@@ -0,0 +1 @@
+6
diff --git a/ubuntu/precise/applications/kile/debian/control b/ubuntu/precise/applications/kile/debian/control
new file mode 100644
index 000000000..b39ba1894
--- /dev/null
+++ b/ubuntu/precise/applications/kile/debian/control
@@ -0,0 +1,526 @@
+Source: kile-trinity
+Section: tex
+Priority: optional
+Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+XSBC-Original-Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
+Uploaders: Fathi Boudra <fabo@debian.org>, Mark Purcell <msp@debian.org>
+Build-Depends: cdbs, debhelper (>= 6), quilt, tdelibs4-trinity-dev, pkg-config, automake, autoconf, libtool, libltdl-dev
+Standards-Version: 3.8.4
+Homepage: http://kile.sourceforge.net
+
+Package: kile-trinity
+Architecture: any
+Section: tex
+Replaces: kile-trinity (<< 4:14.0.0)
+Breaks: kile-trinity (<< 4:14.0.0)
+Depends: ${shlibs:Depends}, konsole-trinity, texlive-latex-base
+Recommends: kdvi-trinity, dvipng, kghostview-trinity, kpdf-trinity
+Suggests: gbib, latex2html, pybliographer, xfig, kile-trinity-i18n, gv
+Description: KDE Integrated LaTeX Environment [Trinity]
+ Kile is a user-friendly LaTeX source editor and TeX shell for KDE.
+ .
+ The source editor is a multi-document editor designed for .tex and .bib
+ files. Menus, wizards and auto-completion are provided to assist with
+ tag insertion and code generation. A structural view of the document
+ assists with navigation within source files.
+ .
+ The TeX shell integrates the various tools required for TeX processing.
+ It assists with LaTeX compilation, DVI and postscript document viewing,
+ generation of bibliographies and indices and other common tasks.
+ .
+ Kile can support large projects consisting of several smaller files.
+
+Package: kile-trinity-i18n-ar
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-ar (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-ar (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-ar
+Provides: kile-trinity-i18n
+Description: Arabic (ar) translations for Kile [Trinity]
+ This package contains the Arabic translations for Kile.
+
+Package: kile-trinity-i18n-bg
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-bg (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-bg (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-bg
+Provides: kile-trinity-i18n
+Description: Bulgarian (bg) translations for Kile [Trinity]
+ This package contains the Bulgarian translations for Kile.
+
+Package: kile-trinity-i18n-br
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-br (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-br (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-br
+Provides: kile-trinity-i18n
+Description: Brazilian (br) translations for Kile [Trinity]
+ This package contains the Brazilian translations for Kile.
+
+Package: kile-trinity-i18n-ca
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-ca (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-ca (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-ca
+Provides: kile-trinity-i18n
+Description: Catalan (ca) translations for Kile [Trinity]
+ This package contains the Catalan translations for Kile.
+
+Package: kile-trinity-i18n-cs
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-cs (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-cs (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-cs
+Provides: kile-trinity-i18n
+Description: Czech (cs) translations for Kile [Trinity]
+ This package contains the Czech translations for Kile.
+
+Package: kile-trinity-i18n-cy
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-cy (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-cy (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-cy
+Provides: kile-trinity-i18n
+Description: Welsh (cy) translations for Kile [Trinity]
+ This package contains the Welsh translations for Kile.
+
+Package: kile-trinity-i18n-da
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-da (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-da (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-da
+Provides: kile-trinity-i18n
+Description: Danish (da) translations for Kile [Trinity]
+ This package contains the Danish translations for Kile.
+
+Package: kile-trinity-i18n-de
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-de (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-de (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-de
+Provides: kile-trinity-i18n
+Description: German (de) translations for Kile [Trinity]
+ This package contains the German translations for Kile.
+
+Package: kile-trinity-i18n-el
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-el (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-el (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-el
+Provides: kile-trinity-i18n
+Description: Greek (el) translations for Kile [Trinity]
+ This package contains the greek translations for Kile.
+
+Package: kile-trinity-i18n-engb
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-engb (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-engb (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-engb
+Provides: kile-trinity-i18n
+Description: British English (en_GB) translations for Kile [Trinity]
+ This package contains the British English (en_GB) translations for Kile [Trinity].
+
+Package: kile-trinity-i18n-es
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-es (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-es (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-es
+Provides: kile-trinity-i18n
+Description: Spanish (es) translations for Kile [Trinity]
+ This package contains the Spanish translations for Kile.
+
+Package: kile-trinity-i18n-et
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-et (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-et (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-et
+Provides: kile-trinity-i18n
+Description: Estonian (et) translations for Kile [Trinity]
+ This package contains the Estonian translations for Kile.
+
+Package: kile-trinity-i18n-eu
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-eu (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-eu (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-eu
+Provides: kile-trinity-i18n
+Description: Basque (eu) translations for Kile [Trinity]
+ This package contains the Basque translations for Kile.
+
+Package: kile-trinity-i18n-fi
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-fi (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-fi (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-fi
+Provides: kile-trinity-i18n
+Description: Finnish (fi) translations for Kile [Trinity]
+ This package contains the Finnish translations for Kile.
+
+Package: kile-trinity-i18n-fr
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-fr (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-fr (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-fr
+Provides: kile-trinity-i18n
+Description: French (fr) translations for Kile [Trinity]
+ This package contains the French translations for Kile.
+
+Package: kile-trinity-i18n-ga
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-ga (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-ga (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-ga
+Provides: kile-trinity-i18n
+Description: Irish Gaelic (ga) translations for Kile [Trinity]
+ This package contains the Irish Gaelic translations for Kile.
+
+Package: kile-trinity-i18n-gl
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-gl (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-gl (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-gl
+Provides: kile-trinity-i18n
+Description: Galician (gl) translations for Kile [Trinity]
+ This package contains the Galician translations for Kile.
+
+Package: kile-trinity-i18n-hi
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-hi (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-hi (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-hi
+Provides: kile-trinity-i18n
+Description: Hindi (hi) translations for Kile [Trinity]
+ This package contains the Hindi translations for Kile.
+
+Package: kile-trinity-i18n-hu
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-hu (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-hu (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-hu
+Provides: kile-trinity-i18n
+Description: Hungarian (hu) translations for Kile [Trinity]
+ This package contains the Hungarian translations for Kile.
+
+Package: kile-trinity-i18n-is
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-is (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-is (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-is
+Provides: kile-trinity-i18n
+Description: Icelandic (is) translations for Kile [Trinity]
+ This package contains the Icelandic translations for Kile.
+
+Package: kile-trinity-i18n-it
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-it (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-it (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-it
+Provides: kile-trinity-i18n
+Description: Italian (it) translations for Kile [Trinity]
+ This package contains the Italian translations for Kile.
+
+Package: kile-trinity-i18n-ja
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-ja (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-ja (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-ja
+Provides: kile-trinity-i18n
+Description: Japanese (ja) translations for Kile [Trinity]
+ This package contains the Japanese translations for Kile.
+
+Package: kile-trinity-i18n-lt
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-lt (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-lt (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-lt
+Provides: kile-trinity-i18n
+Description: Lithuanian (lt) translations for Kile [Trinity]
+ This package contains the Lithuanian translations for Kile.
+
+Package: kile-trinity-i18n-ms
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-ms (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-ms (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-ms
+Provides: kile-trinity-i18n
+Description: Malay (ms) translations for Kile [Trinity]
+ This package contains the Malay translations for Kile.
+
+Package: kile-trinity-i18n-mt
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-mt (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-mt (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Provides: kile-trinity-i18n
+Description: Maltese (mt) translations for Kile [Trinity]
+ This package contains the Maltese translations for Kile.
+
+Package: kile-trinity-i18n-nb
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-nb (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-nb (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-nb
+Provides: kile-trinity-i18n
+Description: Norwegian Bookmal (nb) translations for Kile [Trinity]
+ This package contains the Norwegian Bookmal translations for Kile.
+
+Package: kile-trinity-i18n-nds
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-nds (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-nds (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-nds
+Provides: kile-trinity-i18n
+Description: Low Saxon (nds) translations for Kile [Trinity]
+ This package contains the Low Saxon translations for Kile.
+
+Package: kile-trinity-i18n-nl
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-nl (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-nl (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-nl
+Provides: kile-trinity-i18n
+Description: Dutch (nl) translations for Kile [Trinity]
+ This package contains the Dutch translations for Kile.
+
+Package: kile-trinity-i18n-nn
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-nn (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-nn (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-nn
+Provides: kile-trinity-i18n
+Description: Norwegian Nynorsk (nn) translations for Kile [Trinity]
+ This package contains the Norwegian Nynorsk translations for Kile.
+
+Package: kile-trinity-i18n-pa
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-pa (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-pa (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-pa
+Provides: kile-trinity-i18n
+Description: Punjabi (pa) translations for Kile [Trinity]
+ This package contains the Punjabi translations for Kile.
+
+Package: kile-trinity-i18n-pl
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-pl (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-pl (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-pl
+Provides: kile-trinity-i18n
+Description: Polish (pl) translations for Kile [Trinity]
+ This package contains the Polish translations for Kile.
+
+Package: kile-trinity-i18n-pt
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-pt (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-pt (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-pt
+Provides: kile-trinity-i18n
+Description: Portuguese (pt) translations for Kile [Trinity]
+ This package contains the Portuguese translations for Kile.
+
+Package: kile-trinity-i18n-ptbr
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-ptbr (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-ptbr (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-ptbr
+Provides: kile-trinity-i18n
+Description: Brazilian Portuguese (pt_BR) translations for Kile [Trinity]
+ This package contains the Brazilian Portuguese translations for Kile.
+
+Package: kile-trinity-i18n-ro
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-ro (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-ro (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-ro
+Provides: kile-trinity-i18n
+Description: Romanian (ro) translations for Kile [Trinity]
+ This package contains the Romanian translations for Kile.
+
+Package: kile-trinity-i18n-ru
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-ru (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-ru (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-ru
+Provides: kile-trinity-i18n
+Description: Russian (ru) translations for Kile [Trinity]
+ This package contains the Russian translations for Kile.
+
+Package: kile-trinity-i18n-rw
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-rw (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-rw (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-rw
+Provides: kile-trinity-i18n
+Description: Kinyarwanda (rw) translations for Kile [Trinity]
+ This package contains the Kinyarwanda translations for Kile.
+
+Package: kile-trinity-i18n-sk
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-sk (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-sk (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-sk
+Provides: kile-trinity-i18n
+Description: Slovak (sk) translations for Kile [Trinity]
+ This package contains the Slovak translations for Kile.
+
+Package: kile-trinity-i18n-sr
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-sr (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-sr (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-sr
+Provides: kile-trinity-i18n
+Description: Serbian (sr) translations for Kile [Trinity]
+ This package contains the Serbian translations for Kile.
+
+Package: kile-trinity-i18n-srlatin
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-srlatin (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-srlatin (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-srlatin
+Provides: kile-trinity-i18n
+Description: Latin Serbian (sr@Latn) translations for Kile [Trinity]
+ This package contains the Latin Serbian translations for Kile.
+
+Package: kile-trinity-i18n-sv
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-sv (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-sv (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-sv
+Provides: kile-trinity-i18n
+Description: Swedish (sv) translations for Kile [Trinity]
+ This package contains the Swedish translations for Kile.
+
+Package: kile-trinity-i18n-ta
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-ta (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-ta (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-ta
+Provides: kile-trinity-i18n
+Description: Tamil (ta) translations for Kile [Trinity]
+ This package contains the Tamil translations for Kile.
+
+Package: kile-trinity-i18n-th
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-th (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-th (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-th
+Provides: kile-trinity-i18n
+Description: Thai (th) translations for Kile [Trinity]
+ This package contains the Thai translations for Kile.
+
+Package: kile-trinity-i18n-tr
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-tr (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-tr (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-tr
+Provides: kile-trinity-i18n
+Description: Turkish (tr) translations for Kile [Trinity]
+ This package contains the Turkish translations for Kile.
+
+Package: kile-trinity-i18n-uk
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-uk (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-uk (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-uk
+Provides: kile-trinity-i18n
+Description: Ukrainian (uk) translations for Kile [Trinity]
+ This package contains the Ukrainian translations for Kile.
+
+Package: kile-trinity-i18n-zhcn
+Architecture: all
+Section: tex
+Replaces: kile-trinity-i18n-zhcn (<< 4:14.0.0)
+Breaks: kile-trinity-i18n-zhcn (<< 4:14.0.0)
+Depends: kile-trinity (>= ${source:Version})
+Recommends: kde-trinity-i18n-zhcn
+Provides: kile-trinity-i18n
+Description: Chinese Simplified (zh_CN) translations for Kile [Trinity]
+ This package contains the Chinese Simplified translations for Kile.
+
diff --git a/ubuntu/precise/applications/kile/debian/copyright b/ubuntu/precise/applications/kile/debian/copyright
new file mode 100644
index 000000000..513a8f2ca
--- /dev/null
+++ b/ubuntu/precise/applications/kile/debian/copyright
@@ -0,0 +1,88 @@
+This package was debianised by Ben Burton <bab@debian.org> on
+Sun, 16 Sep 2001 15:09:22 -0500.
+
+It was downloaded from http://kile.sourceforge.net
+
+Upstream Authors:
+
+ Jeroen Wijnhout <Jeroen.Wijnhout@kdemail.net>
+ Holger Danielsson <holger.danielsson@t-online.de>
+ Michel Ludwig <michel.ludwig@kdemail.net>
+ Thomas Braun <braun@physik.fu-berlin.de>
+ Pascal Brachet <pascal.brachet@club-internet.fr>
+ with contributions from many others
+
+Copyright:
+
+ © 2003-2005 Jeroen Wijnout <Jeroen.Wijnhout_at_kdemail.net>
+ © 2004-2007 Holger Danielsson <holger.danielsson_at_t-online.de>
+ © 2006-2007 Michel Ludwig <michel.ludwig@kdemail.net>
+ © 2005-2007 Thomas Braun <braun@physik.fu-berlin.de>
+ © 2002-2003 Pascal Brachet <pascal.brachet@club-internet.fr>
+
+Copyright for kile grep dialog:
+
+ © 2001-2003 Joseph Wenninger <jowenn@kde.org>
+ © 2001 Christoph Cullmann <cullmann@kde.org>
+ © 2001 Anders Lund <anders.lund@lund.tdcadsl.dk>
+ © 2003 Jan-Marek Glogowski <glogow@stud.fbi.fh-darmstadt.de>
+ © 2005 Holger Danielsson <holgerdanielsson@t-online.de>
+
+Copyright for plain to latex converter:
+
+ © 2004 Simon MARTIN <simartin@users.sourceforge.net>
+
+Copyright for quick document dialog:
+
+ © 2004 Thomas Fischer <t-fisch@users.sourceforge.net>
+ © 2004 Holger Danielsson <holgerdanielsson@t-online.de>
+
+Copyright for create package script:
+
+ © 2005 Michael Buesch <mbuesch@freenet.de>
+ © 2004-2005 Jeroen Wijnhout <Jeroen.Wijnhout@kdemail.net>
+ © 2003-2004 Sebastian Trueg
+ © 2002-2004 Klas Kalass
+ © 2002 Aurelien Gateau
+
+Copyright for kile jscript:
+
+ © 1999-2003 Harri Porten <porten@kde.org>
+ © 2001-2003 David Faure <faure@kde.org>
+ © 2001, 2003 Peter Kelly <pmk@post.com>
+ © 2003 Apple Computer Inc.
+
+Copyright for kile preview widget:
+
+ © Mathias Soeken <msoeken@informatik.uni-bremen.de>
+
+Copyright for kile file select:
+
+ © Matt Newell
+
+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 documentations provided with kile 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/ubuntu/precise/applications/kile/debian/docs b/ubuntu/precise/applications/kile/debian/docs
new file mode 100644
index 000000000..724e08449
--- /dev/null
+++ b/ubuntu/precise/applications/kile/debian/docs
@@ -0,0 +1,2 @@
+README
+TODO
diff --git a/ubuntu/precise/applications/kile/debian/kile-trinity.install b/ubuntu/precise/applications/kile/debian/kile-trinity.install
new file mode 100644
index 000000000..52d706863
--- /dev/null
+++ b/ubuntu/precise/applications/kile/debian/kile-trinity.install
@@ -0,0 +1,8 @@
+opt/trinity/bin/kile
+/opt/trinity/share/applications/tde/kile.desktop
+/opt/trinity/share/apps/kconf_update
+/opt/trinity/share/apps/kile
+/opt/trinity/share/config.kcfg/kile.kcfg
+/opt/trinity/share/doc/tde/HTML/en/kile
+/opt/trinity/share/icons
+/opt/trinity/share/mimelnk/text/x-kilepr.desktop
diff --git a/ubuntu/precise/applications/kile/debian/kile-trinity.links b/ubuntu/precise/applications/kile/debian/kile-trinity.links
new file mode 100644
index 000000000..ebafda14f
--- /dev/null
+++ b/ubuntu/precise/applications/kile/debian/kile-trinity.links
@@ -0,0 +1 @@
+/opt/trinity/share/doc/tde/HTML/en/kile /opt/trinity/share/apps/kile/doc
diff --git a/ubuntu/precise/applications/kile/debian/kile.1 b/ubuntu/precise/applications/kile/debian/kile.1
new file mode 100644
index 000000000..bbcde5836
--- /dev/null
+++ b/ubuntu/precise/applications/kile/debian/kile.1
@@ -0,0 +1,64 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH KILE 1 "June 22, 2005"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+kile \- the KDE Integrated LaTeX Environment
+.SH SYNOPSIS
+.B kile [ \fIgeneric-options\fP ]
+[ \fB\-\-line\fP \fIline\fP ] [ \fB\-\-new\fP ]
+[ \fIfile\fP ]
+.SH DESCRIPTION
+\fBKile\fP (the KDE Integrated LaTeX Environment) is a user-friendly
+LaTeX source editor and TeX shell for KDE.
+.PP
+The source editor is a multi-document editor designed for .tex and .bib
+files. Menus, wizards and auto-completion are provided to assist with
+tag insertion and code generation. A structural view of the document
+assists with navigation within source files.
+.PP
+The TeX shell integrates the various tools required for TeX processing.
+It assists with LaTeX compilation, DVI and postscript document viewing,
+generation of bibliographies and indices and other common tasks.
+.PP
+Kile can support large projects consisting of several smaller files.
+.SH OPTIONS
+Below are the kile-specific options.
+For a full summary of options, run \fIkile \-\-help\fP.
+.TP
+\fB\-\-line\fP \fIline\fP
+Jump to the given line in the file that is opened.
+.TP
+\fB\-\-new\fP
+Start a new Kile main window.
+.SH SEE ALSO
+Full user documentation is available through the KDE Help Centre.
+You can also enter the URL
+\fIhelp:/kile/\fP
+directly into konqueror or you can run
+`\fIkhelpcenter help:/kile/\fP'
+from the command-line.
+.PP
+If the KDE Help Centre is not installed then you can
+read this documentation in HTML format from
+\fI/usr/share/doc/tde/HTML/en/kile/\fP.
+.SH AUTHOR
+Kile was written by Pascal Brachet <pascal.brachet_at_club-internet.fr> and
+Jeroen Wijnhout <Jeroen.Wijnhout_at_kdemail.net> with contributions from
+many others.
+.br
+This manual page was prepared by Ben Burton <bab@debian.org>
+for the Debian GNU/Linux system (but may be used by others).
diff --git a/ubuntu/precise/applications/kile/debian/kile.xpm b/ubuntu/precise/applications/kile/debian/kile.xpm
new file mode 100644
index 000000000..408d2710b
--- /dev/null
+++ b/ubuntu/precise/applications/kile/debian/kile.xpm
@@ -0,0 +1,176 @@
+/* XPM */
+static char *kile[] = {
+/* columns rows colors chars-per-pixel */
+"32 32 138 2",
+" c black",
+". c #015FBC",
+"X c #1067BE",
+"o c #005DC0",
+"O c #0063C3",
+"+ c #006BC9",
+"@ c #0A6EC9",
+"# c #0071CC",
+"$ c #0E76CE",
+"% c #0076D0",
+"& c #007BD2",
+"* c #0978D0",
+"= c #1467C0",
+"- c #1468C1",
+"; c #136FC9",
+": c #1A6AC1",
+"> c #1372CA",
+", c #1C7BCE",
+"< c #1B7DD0",
+"1 c #267ACD",
+"2 c #2878C6",
+"3 c #2C7ECE",
+"4 c #207ED0",
+"5 c #3D7BC1",
+"6 c #3F83BB",
+"7 c #0080D6",
+"8 c #0086DA",
+"9 c #008ADC",
+"0 c #0A85D8",
+"q c #0C8BDB",
+"w c #1A81D2",
+"e c #2F81D0",
+"r c #2B89D4",
+"t c #2A98D9",
+"y c #3D80C2",
+"u c #3D8ACB",
+"i c #328BD5",
+"p c #3985D0",
+"a c #3A89D3",
+"s c #3D90CF",
+"d c #3296DC",
+"f c #3D92D0",
+"g c #399CDF",
+"h c #399EE0",
+"j c #20A0E4",
+"k c #4981C2",
+"l c #468DD3",
+"z c #4C8DD2",
+"x c #4891D6",
+"c c #518EC8",
+"v c #5C8EC5",
+"b c #5B9ECF",
+"n c #5493D5",
+"m c #519CD1",
+"M c #549ADA",
+"N c #5D98D7",
+"B c #5F9AD8",
+"V c #4FA2DF",
+"C c #53A0DD",
+"Z c #5BA4D2",
+"A c #5BA3DE",
+"S c #40A7E4",
+"D c #4DA4E1",
+"F c #53A9E3",
+"G c #629CD9",
+"H c #7999C3",
+"J c #6DA2DB",
+"K c #79A8CD",
+"L c #71A5DC",
+"P c #73A8DD",
+"I c #7AABDE",
+"U c #6DADE2",
+"Y c #63B2E6",
+"T c #77AEE1",
+"R c #75B4E5",
+"E c #7EB3E3",
+"W c #79BAE8",
+"Q c #829DC4",
+"! c #82A2C7",
+"~ c #82A7CA",
+"^ c #89B6D8",
+"/ c #88BCDF",
+"( c #92A6C5",
+") c #92AECA",
+"_ c #91B3CF",
+"` c #96B6D0",
+"' c #9BBCD5",
+"] c #84B2E1",
+"[ c #8EB7E3",
+"{ c #8EBBE5",
+"} c #92BAE5",
+"| c #98BEE6",
+" . c #A1BED5",
+".. c #B6B6C5",
+"X. c #87C9EF",
+"o. c #95C2E9",
+"O. c #9CC0E7",
+"+. c #9AC5EA",
+"@. c #ADC2D6",
+"#. c #BEC1CF",
+"$. c #B2C2D4",
+"%. c #B6C4DA",
+"&. c #BDC8D7",
+"*. c #A4C5E9",
+"=. c #A1C8E3",
+"-. c #ABCBEB",
+";. c #AAD0EF",
+":. c #AAD3F0",
+">. c #B1CDEC",
+",. c #B5D0ED",
+"<. c #BDD5ED",
+"1. c #B7D6F1",
+"2. c #B4D8F2",
+"3. c #BBD7F0",
+"4. c #BFE6F9",
+"5. c #C0C9D7",
+"6. c #C1CCDD",
+"7. c #C0D6EF",
+"8. c #C6DBEC",
+"9. c #C8D2E0",
+"0. c #C0D7F0",
+"q. c #C3DAF0",
+"w. c #C9DDF2",
+"e. c #D1DEEC",
+"r. c #C6E8FA",
+"t. c #CDE0F3",
+"y. c #D2E3F4",
+"u. c #D4EBF9",
+"i. c #DBE8F6",
+"p. c #DBEDF9",
+"a. c #E1ECF7",
+"s. c #E5EEF8",
+"d. c #E6F1F9",
+"f. c #E9F3FB",
+"g. c #F1F6FB",
+"h. c #F6F9FD",
+"j. c #FEFEFE",
+"k. c None",
+/* pixels */
+"k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.",
+"k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.",
+"k.k.k.k.k.k.k.k.k.k.k... .%.&.&.&.&.@.' ....k.k.k.k.k.k.k.k.k.k.",
+"k.k.k.k.k.k.k.k.k.....9.r.p.f.f.f.f.u.4.<.$...k.k.k.k.k.k.k.k.k.",
+"k.k.k.k.k.k.k...#.e.s.s.s.s.s.s.f.d.s.s.d.s.8.%.....k.k.k.k.k.k.",
+"k.k.k.k.k.k...6.e.i.i.i.i.i.i.i.i.i.i.i.i.i.p.y.=.` k.k.k.k.k.k.",
+"k.k.k.k.k...6.t.y.w.w.y.y.w.w.y.t.t.t.y.t.w.y.w.w.X._ ..k.k.k.k.",
+"k.k.k.k...%.7.7.q.8.0.8.7.w.w.0.7.w.q.7.8.q.7.8.8.3./ ..k.k.k.k.",
+"k.k.k...^ 1.y.t.t.<.>.,.>.7.w.y.i.y.y.0.>.>.>.1.>.1.+.j ..k.k.k.",
+"k.k.k...Y s.j.j.j.w.-.-.-.-.g.j.j.j.s.>.>.-.>.-.-.-.*.S Z ..k.k.",
+"k.k._ t R i.j.j.j.7.*.| *.i.j.j.j.g.>.*.O.O.| | | O.| F t ) k.k.",
+"k.k.K q U i.j.j.j.>.} } 7.h.j.j.h.0.| } } } } } } } } D 9 K k.k.",
+"k...m 9 C y.j.j.j.-.^ O.h.j.j.h.>.] ] ] ^ ] ] } -.=.o.W 9 9 ..k.",
+"k...8 8 d t.j.j.j.*.[ s.j.j.h.q.] ] ] ] I I ] w.j.a.O.f.q 8 N ..",
+"..~ 7 7 0 2.j.j.j.*.y.j.j.j.>.^ ] I I G J J | f.-.y.C r.h 7 s ..",
+"..f 7 7 7 :.j.j.j.i.j.j.j.i.I P L L G G G G | s.] 8.d u.h 7 s ..",
+"..f & & & :.j.j.j.j.j.j.j.s.J G G N N n n n L s.y.i.y.p.& & f ..",
+"..u & & & :.j.j.j.j.j.j.j.j.<.G n n n n l z l U i.j.y.D & & u ..",
+"..u % % % -.j.j.j.q.o.h.j.j.h.*.z z l p e < * % % % % % % % u ..",
+"..u # % # :.j.j.j.F w 1.j.j.j.g.M 1 , $ r +.:.:.:.:.-.:.# % u ..",
+"k...# # # -.j.j.j.C # < p.j.j.j.y.i # # r ,.t.q.q.t.q.t.# # u ..",
+"k.k.c + # -.j.j.j.M + + B d.j.j.j.;.+ + # < < < w < < < + + ! ..",
+"k.k.H + + -.j.j.j.M + + @ T j.j.j.j.] @ , E a E { { { { + H k.k.",
+"k.k.( 2 O -.j.j.j.M + O + @ 7.j.j.j.s.x a s.P s.j.h.j.j.+ H k.k.",
+"k.k...v O 1 a p p ; O O O + ; a a a a 3 O O O O O O O O 5 6 k.k.",
+"k.k.k...O O o . O o o O o o O + O + O O O o O O O O O o ....k.k.",
+"k.k.k.k...5 . o o . o o o O O + O O o o . o o o . o - Q k.k.k.k.",
+"k.k.k.k...Q o o o o o o o o o o o o o o o o o o . o Q ..k.k.k.k.",
+"k.k.k.k.k.k.Q 5 o o o o o o o o o o o o o o o o 5 Q k.k.k.k.k.k.",
+"k.k.k.k.k.k.....= o o o o o o o o o o o o o o . ....k.k.k.k.k.k.",
+"k.k.k.k.k.k.k.k.....Q 5 o o o o o o o o - : ....k.k.k.k.k.k.k.k.",
+"k.k.k.k.k.k.k.k.k.k.....k H H H H H H k 5 ..k.k.k.k.k.k.k.k.k.k."
+};
diff --git a/ubuntu/precise/applications/kile/debian/menu b/ubuntu/precise/applications/kile/debian/menu
new file mode 100644
index 000000000..2d5ca41b0
--- /dev/null
+++ b/ubuntu/precise/applications/kile/debian/menu
@@ -0,0 +1,7 @@
+?package(kile):needs="X11" \
+ section="Applications/Editors" \
+ hints="TDE" \
+ title="Kile" \
+ longtitle="Kile (LaTeX development environment)" \
+ command="/opt/trinity/bin/kile" \
+ icon="/usr/share/pixmaps/kile.xpm"
diff --git a/ubuntu/precise/applications/kile/debian/patches/.gitignore b/ubuntu/precise/applications/kile/debian/patches/.gitignore
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/kile/debian/patches/.gitignore
diff --git a/ubuntu/precise/applications/kile/debian/rules b/ubuntu/precise/applications/kile/debian/rules
new file mode 100755
index 000000000..3e19a08ea
--- /dev/null
+++ b/ubuntu/precise/applications/kile/debian/rules
@@ -0,0 +1,63 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include debian/cdbs/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_DH_INSTALL_ARGS := --sourcedir=debian/tmp
+DEB_INSTALL_MANPAGES_kile := debian/kile.1
+DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde
+
+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/kile-trinity-i18n-br::
+ -for language in `cd translations; ls -1d */`; do \
+ cd $(CURDIR)/$(DEB_BUILDDIR)/translations/$$language; \
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/kile-trinity-i18n-$$language; \
+ done
+
+ cd $(CURDIR)/$(DEB_BUILDDIR)/translations/en_GB/; \
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/kile-trinity-i18n-engb
+
+ cd $(CURDIR)/$(DEB_BUILDDIR)/translations/pt_BR/; \
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/kile-trinity-i18n-ptbr
+
+ cd $(CURDIR)/$(DEB_BUILDDIR)/translations/sr@Latn/;\
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/kile-trinity-i18n-srlatin
+
+ cd $(CURDIR)/$(DEB_BUILDDIR)/translations/zh_CN/; \
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/kile-trinity-i18n-zhcn
+
+install/kile-trinity::
+ # Install pixmap
+ install -D -p -m0644 debian/kile.xpm debian/kile-trinity/opt/trinity/share/pixmaps/kile.xpm
+
+ chmod +x debian/tmp/opt/trinity/share/apps/kile/test/runTests.sh
+
+clean::
+ rm -rf debian/kile-trinity-i18n-*
+
+get-orig-source:
+ @@dh_testdir
+ @@[ -d ../tarballs/. ]
+ @@dpatch-get-origtargz ../tarballs
+
diff --git a/ubuntu/precise/applications/kile/debian/source/format b/ubuntu/precise/applications/kile/debian/source/format
new file mode 100644
index 000000000..89ae9db8f
--- /dev/null
+++ b/ubuntu/precise/applications/kile/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)
diff --git a/ubuntu/precise/applications/kile/debian/source/options b/ubuntu/precise/applications/kile/debian/source/options
new file mode 100644
index 000000000..9d7c8e036
--- /dev/null
+++ b/ubuntu/precise/applications/kile/debian/source/options
@@ -0,0 +1,6 @@
+# Use bzip2 instead of gzip
+compression = "bzip2"
+compression-level = 9
+
+# Don't run differences
+diff-ignore = .*
diff --git a/ubuntu/precise/applications/kile/debian/watch b/ubuntu/precise/applications/kile/debian/watch
new file mode 100644
index 000000000..e372a7062
--- /dev/null
+++ b/ubuntu/precise/applications/kile/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/kile/kile-([\d\.].[\d])\.tar\.bz2 debian svn-upgrade