summaryrefslogtreecommitdiffstats
path: root/ubuntu/_base/applications/kmplayer
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2019-04-03 23:02:46 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-04-03 23:02:46 +0900
commitfcad8b8d150fb9f508973e3044a103de74ec3877 (patch)
treeca34a8cf3bfbe08335d40c47863b4901e1d19609 /ubuntu/_base/applications/kmplayer
parent5d8ed1fab813d86b04383f7fcf8ab2c994cbea30 (diff)
downloadtde-packaging-fcad8b8d150fb9f508973e3044a103de74ec3877.tar.gz
tde-packaging-fcad8b8d150fb9f508973e3044a103de74ec3877.zip
DEB: use _base folder for a distro instead of specific distros (squeeze and maverick).
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ubuntu/_base/applications/kmplayer')
-rw-r--r--ubuntu/_base/applications/kmplayer/debian/README.Debian107
-rw-r--r--ubuntu/_base/applications/kmplayer/debian/cdbs/debian-qt-kde.mk115
-rw-r--r--ubuntu/_base/applications/kmplayer/debian/cdbs/kde.mk89
-rw-r--r--ubuntu/_base/applications/kmplayer/debian/cdbs/versions.pl19
-rw-r--r--ubuntu/_base/applications/kmplayer/debian/changelog343
-rw-r--r--ubuntu/_base/applications/kmplayer/debian/compat1
-rw-r--r--ubuntu/_base/applications/kmplayer/debian/control68
-rw-r--r--ubuntu/_base/applications/kmplayer/debian/copyright147
-rw-r--r--ubuntu/_base/applications/kmplayer/debian/kmplayer-base-trinity.install15
-rw-r--r--ubuntu/_base/applications/kmplayer/debian/kmplayer-konq-plugins-trinity.install5
-rw-r--r--ubuntu/_base/applications/kmplayer/debian/kmplayer-trinity-doc.install1
-rw-r--r--ubuntu/_base/applications/kmplayer/debian/kmplayer-trinity.install7
-rw-r--r--ubuntu/_base/applications/kmplayer/debian/kmplayer.1.docbook122
-rw-r--r--ubuntu/_base/applications/kmplayer/debian/menu6
-rw-r--r--ubuntu/_base/applications/kmplayer/debian/patches/series0
-rwxr-xr-xubuntu/_base/applications/kmplayer/debian/rules49
-rw-r--r--ubuntu/_base/applications/kmplayer/debian/source/format1
-rw-r--r--ubuntu/_base/applications/kmplayer/debian/source/options6
-rw-r--r--ubuntu/_base/applications/kmplayer/debian/watch4
19 files changed, 1105 insertions, 0 deletions
diff --git a/ubuntu/_base/applications/kmplayer/debian/README.Debian b/ubuntu/_base/applications/kmplayer/debian/README.Debian
new file mode 100644
index 000000000..b0302c211
--- /dev/null
+++ b/ubuntu/_base/applications/kmplayer/debian/README.Debian
@@ -0,0 +1,107 @@
+Debian kde-extras Team
+----------------------
+
+1. Contacts
+-----------
+
+General help requests
+ <debian-kde@lists.debian.org> mailing list
+ #debian-kde on irc
+
+Packaging queries
+ <debian-qt-kde@lists.debian.org> mailing list
+ #debian-qt-kde on irc
+
+Maintainers
+ <pkg-kde-extras@lists.alioth.debian.org> mailing list
+
+
+2. Subversion repository
+------------------------
+
+You can browse it only at:
+
+http://svn.debian.org/wsvn/pkg-kde/kde-extras/
+
+To "checkout" the repository use these commands:
+
+ $ svn co svn+ssh://${ALIOTH_USERNAME}@svn.debian.org/svn/pkg-kde/kde-extras
+
+Authorized SSH keys are controlled at https://alioth.debian.org/account/
+
+The repository layout is:
+
+- packagename/
+    - trunk/
+    - branches/
+    - tags/
+        - 0.7.2-1/
+        - 0.7.2-2/
+        - 0.7.2-2ubuntu1/
+        - 0.7.2-2ubuntu2/
+        - 0.7.2-2ubuntu3/
+        - 0.8.0/
+        ...
+
+If only one version of the package is available at the time, development must
+be made at trunk/ dir, copying the dir to tags/'pkg-version' each time a new
+release is made.
+
+When, at some point, the need to have two different versions at the same time
+arises (for example, if we need a version to be in unstable and a different one
+to be in experimental), experimental development will be made in trunk/ and
+if a new unstable package needs to be cooked, copying
+tag/'latest_version_in_sid' to tag/'latest_version_in_sid'+1 will make the
+trick.
+
+3. Using svn-buildpackage
+--------------------------
+
+Packages with an upstream tarball will require you to set the mergeWithUpstream
+property first (from the package root) so that svn-buildpackage will look for
+the .orig.tar.gz in the ../tarballs directory.
+
+ % svn propset mergeWithUpstream 1 debian
+
+Please note that this only works for packages which have only the debian/
+directory committed. Consequently, you must use CDBS's simple-patchsys.mk or
+dpatch to modify the upstream sources.
+
+After you have finished and committed your Debian patches via
+
+ % svn commit [PACKAGE]
+
+as well as copying the orig.tar.gz to ../tarballs/ if necessary, you may build
+your package with the following commands:
+
+ % svn-buildpackage --svn-ignore-new -rfakeroot
+
+Please, don't commit tarballs/ or build-area/ directories to SVN.
+
+4. Tarballs and Build-area directories
+------------------------------------
+
+During pkg development before uploaded to debian the tarballs can be found at:
+
+ http://pkg-kde.alioth.debian.org/kde-extra/orig.tar.gz/
+
+You need to place those dirs in the parent directory of the one from which you're
+running svn-buildpackage. Usually this means placing tarballs/ and build-area/ dirs
+in 'pkgname'/ dir, at the same level as trunk/
+
+If you want to compile inside one version in tags/ dir, you'll need to place those
+dirs inside that dir. Of course the easiest and cleanest way of doing it is
+by making a symlink of those dirs inside tags/ dir.
+
+5. Using svn-inject
+-------------------
+
+To inject a new package into the Debian KDE Extras svn archive you should use svn-inject(1)
+as follows:
+
+ svn-inject -o <package>.dsc svn+ssh://${ALIOTH_USERNAME}@svn.debian.org/svn/pkg-kde/kde-extras
+
+Type in your alioth password a few hundred times :-) and your package should be
+uploaded to the archive. Note you will also need to manually copy the
+package.orig.tar.gz to your tarballs directory. The -o option is important as
+this ensures that we 'Only keep modified files under SVN control'
diff --git a/ubuntu/_base/applications/kmplayer/debian/cdbs/debian-qt-kde.mk b/ubuntu/_base/applications/kmplayer/debian/cdbs/debian-qt-kde.mk
new file mode 100644
index 000000000..9f8f97776
--- /dev/null
+++ b/ubuntu/_base/applications/kmplayer/debian/cdbs/debian-qt-kde.mk
@@ -0,0 +1,115 @@
+ifndef _cdbs_bootstrap
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+endif
+
+ifndef _cdbs_class_debian-qt-kde
+_cdbs_class_debian-qt-kde := 1
+
+# Note: This _must_ be included before autotools.mk, or it won't work.
+common-configure-arch common-configure-indep:: debian/stamp-cvs-make
+debian/stamp-cvs-make:
+ cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
+ $(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
+ touch debian/stamp-cvs-make
+
+include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
+
+ifndef _cdbs_rules_patchsys_quilt
+DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
+
+DEB_KDE_ENABLE_FINAL := yes
+DEB_INSTALL_DOCS_ALL :=
+
+DEB_DH_MAKESHLIBS_ARGS_ALL := -V
+DEB_SHLIBDEPS_INCLUDE = $(foreach p,$(PACKAGES_WITH_LIBS),debian/$(p)/usr/lib)
+
+ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ cdbs_treat_me_gently_arches := arm m68k alpha ppc64 armel armeb
+ ifeq (,$(filter $(DEB_HOST_ARCH_CPU),$(cdbs_treat_me_gently_arches)))
+ cdbs_kde_enable_final = $(if $(DEB_KDE_ENABLE_FINAL),--enable-final,)
+ else
+ cdbs_kde_enable_final =
+ endif
+endif
+
+common-build-arch:: debian/stamp-man-pages
+debian/stamp-man-pages:
+ if ! test -d debian/man/out; then mkdir -p debian/man/out; fi
+ for f in $$(find debian/man -name '*.sgml'); do \
+ docbook-to-man $$f > debian/man/out/`basename $$f .sgml`.1; \
+ done
+ for f in $$(find debian/man -name '*.man'); do \
+ soelim -I debian/man $$f \
+ > debian/man/out/`basename $$f .man`.`head -n1 $$f | awk '{print $$NF}'`; \
+ done
+ touch debian/stamp-man-pages
+
+common-binary-indep::
+ ( set -e; \
+ tmpf=`mktemp debian/versions.XXXXXX`; \
+ perl debian/cdbs/versions.pl >$$tmpf; \
+ for p in $(DEB_INDEP_PACKAGES); do \
+ cat $$tmpf >>debian/$$p.substvars; \
+ done; \
+ rm -f $$tmpf )
+
+common-binary-arch::
+ ( set -e; \
+ tmpf=`mktemp debian/versions.XXXXXX`; \
+ perl debian/cdbs/versions.pl >$$tmpf; \
+ for p in $(DEB_ARCH_PACKAGES); do \
+ cat $$tmpf >>debian/$$p.substvars; \
+ done; \
+ rm -f $$tmpf )
+
+clean::
+ rm -rf debian/man/out
+ -rmdir debian/man
+ rm -f debian/stamp-man-pages
+ rm -rf debian/shlibs-check
+
+$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
+ if test -x /usr/bin/dh_desktop; then dh_desktop -p$(cdbs_curpkg) $(DEB_DH_DESKTOP_ARGS); fi
+ if test -e debian/$(cdbs_curpkg).lintian; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).lintian \
+ debian/$(cdbs_curpkg)/usr/share/lintian/overrides/$(cdbs_curpkg); \
+ fi
+ if test -e debian/$(cdbs_curpkg).presubj; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).presubj \
+ debian/$(cdbs_curpkg)/usr/share/bug/$(cdbs_curpkg)/presubj; \
+ fi
+
+binary-install/$(DEB_SOURCE_PACKAGE)-doc-html::
+ set -e; \
+ for doc in `cd $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en; find . -name index.docbook`; do \
+ pkg=$${doc%/index.docbook}; pkg=$${pkg#./}; \
+ echo Building $$pkg HTML docs...; \
+ mkdir -p $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ cd $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ /opt/trinity/bin/meinproc $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en/$$pkg/index.docbook; \
+ done
+ for pkg in $(DOC_HTML_PRUNE) ; do \
+ rm -rf debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ done
+
+clean::
+ if test -n "$(DEB_KDE_CVS_MAKE)" && test -d $(DEB_SRCDIR); then \
+ cd $(DEB_SRCDIR); \
+ find . -name Makefile.in -print | \
+ xargs --no-run-if-empty rm -f; \
+ rm -f Makefile.am acinclude.m4 aclocal.m4 config.h.in \
+ configure configure.files configure.in stamp-h.in \
+ subdirs; \
+ fi
+ rm -f debian/stamp-cvs-make
+
+endif
diff --git a/ubuntu/_base/applications/kmplayer/debian/cdbs/kde.mk b/ubuntu/_base/applications/kmplayer/debian/cdbs/kde.mk
new file mode 100644
index 000000000..1ac26c4b7
--- /dev/null
+++ b/ubuntu/_base/applications/kmplayer/debian/cdbs/kde.mk
@@ -0,0 +1,89 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2003 Christopher L Cheney <ccheney@debian.org>
+# Description: A class for KDE packages; sets KDE environment variables, etc
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2, or (at
+# your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+
+ifndef _cdbs_class_kde
+_cdbs_class_kde := 1
+
+# for dh_icons
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), debhelper (>= 5.0.7ubuntu4)
+
+include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
+
+ifdef _cdbs_tarball_dir
+DEB_BUILDDIR = $(_cdbs_tarball_dir)/obj-$(DEB_BUILD_GNU_TYPE)
+else
+DEB_BUILDDIR = obj-$(DEB_BUILD_GNU_TYPE)
+endif
+
+include $(_cdbs_class_path)/autotools.mk$(_cdbs_makefile_suffix)
+
+export kde_cgidir = \$${libdir}/cgi-bin
+export kde_confdir = \$${sysconfdir}/trinity
+export kde_htmldir = \$${datadir}/doc/tde/HTML
+
+ifeq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_final = $(if $(DEB_KDE_ENABLE_FINAL),--enable-final,)
+endif
+
+ifneq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_final =
+ cdbs_kde_enable_debug = --enable-debug=yes
+else
+ cdbs_kde_enable_debug = --disable-debug
+endif
+
+ifneq (,$(filter debug,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_debug = --enable-debug=full
+endif
+
+cdbs_configure_flags += --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+
+DEB_AC_AUX_DIR = $(DEB_SRCDIR)/admin
+DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include/tde"
+DEB_COMPRESS_EXCLUDE = .dcl .docbook -license .tag .sty .el
+
+$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
+ if test -x /usr/bin/dh_icons; then dh_icons -p$(cdbs_curpkg) $(DEB_DH_ICONCACHE_ARGS); fi
+
+cleanbuilddir::
+ -$(if $(call cdbs_streq,$(DEB_BUILDDIR),$(DEB_SRCDIR)),,rm -rf $(DEB_BUILDDIR))
+
+common-build-arch common-build-indep:: debian/stamp-kde-apidox
+debian/stamp-kde-apidox:
+ $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) apidox)
+ touch $@
+
+common-install-arch common-install-indep:: common-install-kde-apidox
+common-install-kde-apidox::
+ $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) install-apidox DESTDIR=$(DEB_DESTDIR))
+
+clean::
+ rm -f debian/stamp-kde-apidox
+
+# This is a convenience target for calling manually. It's not part of
+# the build process.
+buildprep: clean apply-patches
+ $(MAKE) -f admin/Makefile.common dist
+ debian/rules clean
+
+endif
diff --git a/ubuntu/_base/applications/kmplayer/debian/cdbs/versions.pl b/ubuntu/_base/applications/kmplayer/debian/cdbs/versions.pl
new file mode 100644
index 000000000..1b110f7af
--- /dev/null
+++ b/ubuntu/_base/applications/kmplayer/debian/cdbs/versions.pl
@@ -0,0 +1,19 @@
+#!/usr/bin/env perl
+
+use strict;
+use warnings;
+
+my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`;
+my ($version3, $version3_next);
+my ($version2, $version2_next);
+
+($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/;
+($version2 = $version3) =~ s/\.[^.]+$//;
+
+($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e;
+($version2_next = $version2) =~ s/(?<=\.)(\d+)$/($1+1)/e;
+
+print "TDE-Version3=$version3\n";
+print "TDE-Version2=$version2\n";
+print "TDE-Next-Version3=$version3_next\n";
+print "TDE-Next-Version2=$version2_next\n";
diff --git a/ubuntu/_base/applications/kmplayer/debian/changelog b/ubuntu/_base/applications/kmplayer/debian/changelog
new file mode 100644
index 000000000..94fbc450d
--- /dev/null
+++ b/ubuntu/_base/applications/kmplayer/debian/changelog
@@ -0,0 +1,343 @@
+kmplayer-trinity (1:0.10.0c-0ubuntu4) karmic; urgency=low
+
+ * Karmic rebuild
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 02 Jul 2009 16:08:00 -0600
+
+kmplayer-trinity (1:0.10.0c-0ubuntu3) intrepid; urgency=low
+
+ * Moved Trinity to /opt/trinity
+ * Integrated properly with KDE4.2+
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 05 March 2009 29:52:00 -0600
+
+kmplayer-trinity (1:0.10.0c-0ubuntu1) intrepid; urgency=low
+
+ * Added -trinity suffix
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Wed, 31 Dec 2008 15:38:00 -0600
+
+kmplayer (1:0.10.0c-0ubuntu3) hardy; urgency=low
+
+ * Drop /usr/share/doc/tde/HTML from kmplayer, as it's already in
+ kmplayer-doc (LP: #210443).
+
+ -- Colin Watson <cjwatson@ubuntu.com> Tue, 15 Apr 2008 02:22:14 +0100
+
+kmplayer (1:0.10.0c-0ubuntu2) hardy; urgency=low
+
+ * dapper -> hardy upgrade fixes, kmplayer replaces old kmplayer-doc
+ and vice-versa
+
+ -- Jonathan Riddell <jriddell@ubuntu.com> Wed, 19 Mar 2008 15:38:32 +0000
+
+kmplayer (1:0.10.0c-0ubuntu1) hardy; urgency=low
+
+ * New upstream release.
+ * Merged Debian changelog, remaining changes in 0.10.0a-2ubuntu1 entry.
+ * Cleaned up rules file.
+
+ -- Jonathan Patrick Davies <jpatrick@kubuntu.org> Fri, 22 Dec 2007 11:23:40 +0100
+
+kmplayer (1:0.10.0b-1) unstable; urgency=low
+
+ * New upstream release. (Closes: #454794)
+ * Update my e-mail address.
+ * Bump Standards-Version to 3.7.3.
+ * Use Homepage field.
+ * Build with --as-needed linker flags.
+
+ -- Fathi Boudra <fabo@debian.org> Thu, 06 Dec 2007 09:26:27 +0100
+
+kmplayer (1:0.10.0b-0ubuntu1) hardy; urgency=low
+
+ * New upstream release.
+ * Dropped kubuntu_02_use_default_config_with_tdeparts_.diff - applied upstream.
+ * Updated email in kmplayer.1.docbook.
+ * Updated Standards-Version to 3.7.3.0.
+
+ -- Jonathan Patrick Davies <jpatrick@kubuntu.org> Fri, 7 Dec 2007 18:56:10 +0100
+
+kmplayer (1:0.10.0a-2ubuntu4) hardy; urgency=low
+
+ * Fix kmplayer-doc.install to include all documentation.
+ * Removed "debian/tmp/" from *.install's.
+
+ -- Jonathan Patrick Davies <jpatrick@kubuntu.org> Mon, 12 Nov 2007 22:25:24 +0100
+
+kmplayer (1:0.10.0a-2ubuntu3) hardy; urgency=low
+
+ * Reuploaded as the buildd seems to be fixed
+
+ -- Anthony Mercatante <tonio@ubuntu.com> Mon, 12 Nov 2007 14:14:56 +0100
+
+kmplayer (1:0.10.0a-2ubuntu2) hardy; urgency=low
+
+ * Re-add kubuntu_03_no_audio_mimetypes, not merged upstream
+
+ -- Anthony Mercatante <tonio@ubuntu.com> Sat, 10 Nov 2007 10:20:27 +0100
+
+kmplayer (1:0.10.0a-2ubuntu1) hardy; urgency=low
+
+ * Merge from debian unstable, remaining changes:
+ - Ubuntu maintainer spec.
+ - kmplayer-base instead of kmplayer-common.
+ - kmplayer-konq-plugin instead of kmplayer-plugin.
+ - Added kubuntu_ patches to series.
+ - No overrides.
+ - Remove 10_xine_default_player.diff - done by kubuntu_01_kmplayerrc.diff.
+ - Drop 12_remove_audio_mimetypes and kubuntu_04_real_mimetype - applied
+ upstream.
+ - docbook2x dep for docbooks.
+ * New upstream release. (LP: #131620)
+ * Adjust kmplayer's xine deps for new packages. (LP: #159338)
+ * Bumped Standards-Version to 3.7.2.2.
+ * Updated kmplayer.1.docbook.
+ * New Homepage field location.
+ * Drop kubuntu_03_no_audio_mimetypes - applied upstream.
+ * Drop kubuntu_05_gxx32 - changed upstream.
+ * Remove quilt patch system.
+ * And drop build dep on quilt.
+
+ -- Jonathan Patrick Davies <jpatrick@kubuntu.org> Sat, 03 Nov 2007 12:26:24 +0100
+
+kmplayer (1:0.10.0a-2) unstable; urgency=low
+
+ * Add Depends: libxine1-x
+
+ -- Mark Purcell <msp@debian.org> Thu, 25 Oct 2007 21:45:35 +0100
+
+kmplayer (1:0.10.0a-1) unstable; urgency=low
+
+ * New upstream release.
+ * Update patches. Remove 14_use_pkgconfig_for_nspr_cfg patch.
+ * Remove libnspr4-dev build dependency.
+
+ -- Fathi Boudra <fboudra@free.fr> Sat, 20 Oct 2007 12:09:01 +0200
+
+kmplayer (1:0.10.0-1) unstable; urgency=low
+
+ * New upstream release. (Closes: #437982)
+ * Update menu file to latest Debian menu policy.
+
+ -- Fathi Boudra <fboudra@free.fr> Wed, 03 Oct 2007 10:37:32 +0200
+
+kmplayer (1:0.10.0~pre3-1) unstable; urgency=low
+
+ * New upstream release
+ - Fixes: ftbfs with g++-4.3/gcc-snapshot (Closes: #441548)
+
+ -- Mark Purcell <msp@debian.org> Sun, 30 Sep 2007 11:53:49 +0100
+
+kmplayer (1:0.10.0~pre2-2) unstable; urgency=low
+
+ * Add knpplayer to kmplayer-common package.
+
+ -- Fathi Boudra <fboudra@free.fr> Mon, 30 Jul 2007 11:54:42 +0200
+
+kmplayer (1:0.10.0~pre2-1) unstable; urgency=low
+
+ * New upstream release.
+ * Add libdbus-1-dev, libdbus-glib-1-dev, libdbus-qt-1-dev, libgtk2.0-dev and
+ libnspr4-dev build dependencies.
+ * Remove libcairo-dev build dependency.
+ * Update copyright. Add moz-sdk related licences.
+
+ -- Fathi Boudra <fboudra@free.fr> Sat, 28 Jul 2007 11:18:55 +0200
+
+kmplayer (1:0.9.4a-2) unstable; urgency=low
+
+ * Update debian/watch
+ * Build-Depends: libcairo2-dev | libcairo-dev
+ - libcairo is missing in dependency (Closes: #422431)
+
+ -- Mark Purcell <msp@debian.org> Thu, 17 May 2007 16:45:55 +0100
+
+kmplayer (1:0.9.4a-1) unstable; urgency=low
+
+ * New upstream release.
+ * Add patch to replace deprecated -vop flag by -vf.
+
+ -- Fathi Boudra <fboudra@free.fr> Tue, 15 May 2007 22:01:53 +0200
+
+kmplayer (1:0.9.4-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Mark Purcell <msp@debian.org> Sat, 3 Mar 2007 13:01:59 +0000
+
+kmplayer (1:0.9.3a-1) experimental; urgency=low
+
+ * New upstream release
+
+ [ Fathi Boudra ]
+ * Add patch to remove audio mimetypes
+ * Add missing documentation and locales
+
+ [ Mark Purcell ]
+ * While I enjoy kmplayer, lets lower .desktop InitialPreference to 5
+
+ -- Fathi Boudra <fboudra@free.fr> Sun, 7 Jan 2007 18:50:55 +0100
+
+kmplayer (1:0.9.3-2) unstable; urgency=low
+
+ * Epoc to ensure version compatability with debian-multimedia.org
+ * debian/watch to only review x.x.x
+
+ -- Mark Purcell <msp@debian.org> Mon, 30 Oct 2006 18:04:39 +0000
+
+kmplayer (0.9.4a-0ubuntu2) gutsy; urgency=low
+
+ * Build with -fpermissive when building with g++-4.3. LP: #138604.
+
+ -- Matthias Klose <doko@ubuntu.com> Thu, 13 Sep 2007 19:53:49 +0200
+
+kmplayer (0.9.4a-0ubuntu1) gutsy; urgency=low
+
+ * New upstream release
+
+ -- Anthony Mercatante <tonio@ubuntu.com> Sat, 30 Jun 2007 22:55:48 +0200
+
+kmplayer (0.9.4-0ubuntu4) gutsy; urgency=low
+
+ * debian/control: Dropped unnecessary Build-dep on xlibs-dev.
+
+ -- Timo Aaltonen <tepsipakki@ubuntu.com> Wed, 16 May 2007 14:42:30 +0300
+
+kmplayer (0.9.4-0ubuntu3) gutsy; urgency=low
+
+ * Fix typo in kubuntu_03_no_audio_mimetypes.patch
+
+ -- Andrew Ash <ash211@gmail.com> Fri, 27 Apr 2007 19:08:56 -0400
+
+kmplayer (0.9.4-0ubuntu2) feisty; urgency=low
+
+ * Add kubuntu_04_real_mimetype.diff to support real -plugin mimetype
+
+ -- Jonathan Riddell <jriddell@ubuntu.com> Mon, 26 Mar 2007 12:37:14 +0100
+
+kmplayer (0.9.4-0ubuntu1) feisty; urgency=low
+
+ * New upstream release
+
+ -- Anthony Mercatante <tonio@ubuntu.com> Thu, 15 Mar 2007 11:28:27 +0100
+
+kmplayer (0.9.3a-0ubuntu1) feisty; urgency=low
+
+ * New upstream release
+
+ -- Anthony Mercatante <tonio@ubuntu.com> Monday, 8 Jan 2007 11:58:34 +0100
+
+kmplayer (0.9.3-1) unstable; urgency=low
+
+ [ Fathi Boudra ]
+ * New upstream release
+ * control: add mplayer to Suggests (Closes: #381971)
+ * copyright: update author mail
+
+ -- Fathi Boudra <fboudra@free.fr> Wed, 20 Sep 2006 11:47:59 +0200
+
+kmplayer (0.9.3-0ubuntu4) feisty; urgency=low
+
+ * Fix typo in kubuntu_03_no_audio_mimetypes.patch
+
+ -- Jonathan Riddell <jriddell@ubuntu.com> Sun, 7 Jan 2007 18:48:42 +0000
+
+kmplayer (0.9.3-0ubuntu3) feisty; urgency=low
+
+ * Rebuilt without gstreamer support
+
+ -- Anthony Mercatante <tonio@ubuntu.com> Thu, 07 Dec 2006 12:57:04 +0100
+
+kmplayer (0.9.3-0ubuntu2) feisty; urgency=low
+
+ * Add kubuntu_03_no_audio_mimetypes.patch to remove
+ audio mymetypes.
+
+ -- Anthony Mercatante <tonio@ubuntu.com> Fri, 20 Oct 2006 17:58:05 +0200
+
+kmplayer (0.9.3-0ubuntu1) edgy; urgency=low
+
+ * New upstream release
+
+ -- Anthony Mercatante <tonio@ubuntu.com> Wed, 27 Sep 2006 05:08:05 +0200
+
+kmplayer (0.9.2a-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Fathi Boudra <fboudra@free.fr> Mon, 12 Jun 2006 12:51:35 +0200
+
+kmplayer (0.9.2a-0ubuntu1) edgy; urgency=low
+
+ * New upstream maintainace release.
+ * Merge Debian changelog, keep Debian defaults and add Debian: build-dep:
+ libxv-dev and ${shlibs:Depends}.
+
+ -- Jonathan Patrick Davies <jpatrick@ubuntu.com> Sun, 11 Jun 2006 13:22:04 +0200
+
+kmplayer (0.9.2-1) unstable; urgency=low
+
+ [ Fathi Boudra ]
+ * Initial release (Closes: #360092)
+ * Set Xine as default player
+ * Add libgstreamer-plugins-base0.10-dev to build-depends
+ * Force a call to ldconfig for postrm/postinst
+ * Bumped Standards-Version to current policy
+ * Update debian/copyright according to GFDL documentations
+
+ [ Mark Purcell ]
+ * Update debian/watch to use svn-upgrade
+ * Update debian/copyright
+ * Add Depends: ${shlibs:Depends}
+ * Add Build-Depends: libxv-dev
+
+ -- Fathi Boudra <fboudra@free.fr> Thu, 18 May 2006 19:40:27 +0100
+
+kmplayer (0.9.1.99+0.9.2-rc1-0ubuntu1) dapper; urgency=low
+
+ * New upstream release.
+ * Merge Debian changelog.
+ * Enable gstreamer0.10 support.
+ * Added kubuntu_01_kmplayerrc.diff: extra recorder using Xine (which
+ has an extra benefit that it records while playing).
+ * Remove kubuntu_01_use_xine_by_default: now in kubuntu_01_kmplayerrc.
+
+ -- Jonathan Patrick Davies <jpatrick@ubuntu.com> Sat, 08 Apr 2006 11:04:34 +0200
+
+kmplayer (0.9.2-pre3-1) unstable; urgency=low
+
+ [ Fathi Boudra ]
+ * Initial release Closes: #360092
+ * Set Xine as default player and disable gstreamer support
+
+ [ Mark Purcell ]
+ * Update debian/watch to use svn-upgrade
+
+ -- Mark Purcell <msp@debian.org> Fri, 7 Apr 2006 23:39:00 +0100
+
+kmplayer (0.9.1.99+0.9.2-pre3-0ubuntu2) dapper; urgency=low
+
+ * Remove suggests on gstreamer, we don't use gstreamer 0.8
+
+ -- Jonathan Riddell <jriddell@ubuntu.com> Thu, 30 Mar 2006 17:01:59 +0100
+
+kmplayer (0.9.1.99+0.9.2-pre3-0ubuntu1) dapper; urgency=low
+
+ * Initial release
+
+ [Achim Bonnet]
+ * Defined package structure
+
+ [Jonathan Patrick Davies]
+ * Global packaging
+
+ [Anthony Mercatante]
+ * Package polishing (debian/copyright, debian/rules...)
+ * Added kubuntu_01_use_xine_by_default.patch to make usage of wine by default
+ * Added kubuntu_02_use_default_config_with_tdeparts_.patch to enable default
+ config in the konqueror plugin
+ * Tarball rebuilt to remove obsolete debian/ folder in it
+
+ -- Anthony Mercatante <tonio@ubuntu.com> Sun, 26 Mar 2006 16:03:54 +0100
+
diff --git a/ubuntu/_base/applications/kmplayer/debian/compat b/ubuntu/_base/applications/kmplayer/debian/compat
new file mode 100644
index 000000000..7f8f011eb
--- /dev/null
+++ b/ubuntu/_base/applications/kmplayer/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/ubuntu/_base/applications/kmplayer/debian/control b/ubuntu/_base/applications/kmplayer/debian/control
new file mode 100644
index 000000000..421b3d6b3
--- /dev/null
+++ b/ubuntu/_base/applications/kmplayer/debian/control
@@ -0,0 +1,68 @@
+Source: kmplayer-trinity
+Section: tde
+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 <fboudra@free.fr>, Mark Purcell <msp@debian.org>
+Build-Depends: cdbs, debhelper (>= 7.0.50~), quilt, tdelibs14-trinity-dev,
+ libcairo2-dev, libdbus-1-dev, libdbus-glib-1-dev, libdbus-tqt-1-dev,
+ libgstreamer-plugins-base1.0-dev | libgstreamer-plugins-base0.10-dev,
+ libgtk2.0-dev, libxine2-dev | libxine-dev, libxv-dev, docbook2x,
+ automake, autoconf, libtool, libltdl-dev
+Standards-Version: 3.8.4
+Homepage: http://kmplayer.kde.org
+
+Package: kmplayer-trinity
+Architecture: any
+Depends: ${shlibs:Depends}, kmplayer-base-trinity (= ${binary:Version}), libxine2-x | libxine1-x (<< 1.1.20) | libxine1 (<< 1.1.8-2)
+Replaces: kmplayer-kde3 (<< 4:14.0.0~), kmplayer-trinity (<< 4:14.0.0~)
+Breaks: kmplayer-kde3 (<< 4:14.0.0~), kmplayer-trinity (<< 4:14.0.0~)
+Recommends: kmplayer-plugin-trinity (= ${binary:Version})
+Suggests: libav-tools | ffmpeg, vdr, xawtv, mplayer
+Description: media player for Trinity
+ A basic audio/video viewer application for Trinity.
+ .
+ KMPlayer can:
+ * play DVD (DVDNav only with the Xine player)
+ * play VCD
+ * let the backend players play from a pipe (read from stdin)
+ * play from a TV device (experimental)
+ * show backend player's console output
+ * launch ffserver (only 0.4.8 works) when viewing from a v4l device
+ * DCOP KMediaPlayer interface support
+ * VDR viewer frontend (with *kxvplayer), configure VDR keys with standard TDE
+ shortcut configure window
+ * Lots of configurable shortcuts. Highly recommended for the VDR keys
+ (if you have VDR) and volume increase/decrease
+
+Package: kmplayer-base-trinity
+Architecture: any
+Section: tde
+Replaces: kmplayer-base-kde3 (<< 4:14.0.0~), kmplayer-base-trinity (<< 4:14.0.0~)
+Breaks: kmplayer-base-kde3 (<< 4:14.0.0~), kmplayer-base-trinity (<< 4:14.0.0~)
+Depends: ${shlibs:Depends}
+Description: Base files for KMPlayer [Trinity]
+ Core files needed for KMPlayer.
+ .
+ Homepage: http://kmplayer.kde.org
+
+Package: kmplayer-konq-plugins-trinity
+Architecture: any
+Section: tde
+Replaces: kmplayer-konq-plugins-kde3 (<< 4:14.0.0~), kmplayer-konq-plugins-trinity (<< 4:14.0.0~)
+Breaks: kmplayer-konq-plugins-kde3 (<< 4:14.0.0~), kmplayer-konq-plugins-trinity (<< 4:14.0.0~)
+Depends: ${shlibs:Depends}, kmplayer-base-trinity (= ${binary:Version}), konqueror-trinity
+Description: KMPlayer plugin for TDEHTML/Konqueror [Trinity]
+ This plugin enables audio/video playback inside konqueror, using Xine (with
+ *kxineplayer) or GStreamer (with *kgstplayer), such as movie trailers, web
+ tv or radio. It mimics QuickTime, MS Media Player and RealPlayer plugin
+ browser plugins.
+
+Package: kmplayer-trinity-doc
+Architecture: all
+Section: tde
+Replaces: kmplayer-kde3-doc (<< 4:14.0.0~), kmplayer-trinity-doc (<< 4:14.0.0~)
+Breaks: kmplayer-kde3-doc (<< 4:14.0.0~), kmplayer-trinity-doc (<< 4:14.0.0~)
+Depends: ${shlibs:Depends}, kmplayer-trinity
+Description: Handbook for KMPlayer [Trinity]
+ Documention for KMPlayer, a basic audio/video viewer application for TDE.
diff --git a/ubuntu/_base/applications/kmplayer/debian/copyright b/ubuntu/_base/applications/kmplayer/debian/copyright
new file mode 100644
index 000000000..749b0db05
--- /dev/null
+++ b/ubuntu/_base/applications/kmplayer/debian/copyright
@@ -0,0 +1,147 @@
+This package was debianized by Jonathan Patrick Davies <jpatrick@ubuntu.com> on
+Thr, 09 Feb 2006 18:31:54 +0100.
+
+It was downloaded from http://kmplayer.kde.org
+
+Upstream Author: Koos Vriezen <koos.vriezen@gmail.com>
+
+Copyright:
+
+ (C) 2002-2007 Koos Vriezen <koos.vriezen@gmail.com>
+ (C) 2003 Joonas Koivunen <rzei@mbnet.fi>
+
+Copyright for moz-sdk (except npruntime.h):
+
+ (C) 1993-1998 Netscape Communications Corporation
+ (C) 2000 International Business Machines Corporation
+
+Copyright for npruntime.h:
+
+ (C) 2004 Apple Computer Inc. and The Mozilla Foundation
+
+moz-sdk licence:
+
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is
+ * Netscape Communications Corporation.
+ * Portions created by the Initial Developer are Copyright (C) 1998
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ *
+ * Alternatively, the contents of this file may be used under the terms of
+ * either the GNU General Public License Version 2 or later (the "GPL"), or
+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
+ * in which case the provisions of the GPL or the LGPL are applicable instead
+ * of those above. If you wish to allow use of your version of this file only
+ * under the terms of either the GPL or the LGPL, and not to allow others to
+ * use your version of this file under the terms of the MPL, indicate your
+ * decision by deleting the provisions above and replace them with the notice
+ * and other provisions required by the GPL or the LGPL. If you do not delete
+ * the provisions above, a recipient may use your version of this file under
+ * the terms of any one of the MPL, the GPL or the LGPL.
+ *
+ * ***** END LICENSE BLOCK ***** */
+
+npruntime.h licence:
+
+ * Copyright (C) 2004, Apple Computer, Inc. and The Mozilla Foundation.
+ * All rights reserved.
+ *
+ * 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.
+ * 3. Neither the names of Apple Computer, Inc. ("Apple") or The Mozilla
+ * Foundation ("Mozilla") nor the names of their contributors may be used
+ * to endorse or promote products derived from this software without
+ * specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE, MOZILLA AND THEIR CONTRIBUTORS "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 APPLE, MOZILLA OR
+ * THEIR CONTRIBUTORS 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.
+
+kmplayer license:
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software Foundation,
+ Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA
+
+ On Debian GNU/Linux systems, the complete text of the GNU General
+ Public License can be found in the /usr/share/common-licenses/GPL file.
+
+Copyright:
+
+All the software:
+ Copyright (C) 2003 Koos Vriezen <koos.vriezen@xs4all.nl>
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL-2'.
+
+The kmplayer application is licensed under GPL-2.
+
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version.
+
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL-2'.
+
+The documentations provided with kmplayer 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).
+
+pref.cp, pref.h
+ Copyright (C) 2003 Joonas Koivunen <rzei@mbnet.fi>
+ Copyright (C) 2003 Koos Vriezen <koos.vriezen@xs4all.nl
+
+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/_base/applications/kmplayer/debian/kmplayer-base-trinity.install b/ubuntu/_base/applications/kmplayer/debian/kmplayer-base-trinity.install
new file mode 100644
index 000000000..7e7f44aec
--- /dev/null
+++ b/ubuntu/_base/applications/kmplayer/debian/kmplayer-base-trinity.install
@@ -0,0 +1,15 @@
+opt/trinity/lib/libkmplayercommon.so
+opt/trinity/lib/libkmplayercommon.la
+opt/trinity/bin/kxineplayer
+etc/trinity/kmplayerrc
+/opt/trinity/share/apps/kmplayer/bookmarks.xml
+/opt/trinity/share/apps/kmplayer/noise.gif
+/opt/trinity/share/mimelnk/application/x-kmplayer.desktop
+/opt/trinity/share/mimelnk/video/x-ms-wmp.desktop
+/opt/trinity/share/icons/hicolor/16x16/apps/kmplayer.png
+/opt/trinity/share/icons/hicolor/22x22/apps/kmplayer.png
+/opt/trinity/share/icons/hicolor/32x32/apps/kmplayer.png
+/opt/trinity/share/icons/hicolor/48x48/apps/kmplayer.png
+/opt/trinity/share/icons/hicolor/64x64/apps/kmplayer.png
+/opt/trinity/share/icons/hicolor/128x128/apps/kmplayer.png
+/opt/trinity/share/icons/hicolor/scalable/apps/kmplayer.svgz
diff --git a/ubuntu/_base/applications/kmplayer/debian/kmplayer-konq-plugins-trinity.install b/ubuntu/_base/applications/kmplayer/debian/kmplayer-konq-plugins-trinity.install
new file mode 100644
index 000000000..4590b56f4
--- /dev/null
+++ b/ubuntu/_base/applications/kmplayer/debian/kmplayer-konq-plugins-trinity.install
@@ -0,0 +1,5 @@
+opt/trinity/lib/trinity/libkmplayerpart.so
+opt/trinity/lib/trinity/libkmplayerpart.la
+/opt/trinity/share/apps/kmplayer/kmplayerpartui.rc
+/opt/trinity/share/apps/kmplayer/pluginsinfo
+/opt/trinity/share/services/kmplayer_part.desktop
diff --git a/ubuntu/_base/applications/kmplayer/debian/kmplayer-trinity-doc.install b/ubuntu/_base/applications/kmplayer/debian/kmplayer-trinity-doc.install
new file mode 100644
index 000000000..9b26532f3
--- /dev/null
+++ b/ubuntu/_base/applications/kmplayer/debian/kmplayer-trinity-doc.install
@@ -0,0 +1 @@
+/opt/trinity/share/doc/*
diff --git a/ubuntu/_base/applications/kmplayer/debian/kmplayer-trinity.install b/ubuntu/_base/applications/kmplayer/debian/kmplayer-trinity.install
new file mode 100644
index 000000000..f27e64ad7
--- /dev/null
+++ b/ubuntu/_base/applications/kmplayer/debian/kmplayer-trinity.install
@@ -0,0 +1,7 @@
+opt/trinity/lib/libtdeinit_kmplayer.so
+opt/trinity/lib/trinity/kmplayer.so
+opt/trinity/bin/kmplayer
+opt/trinity/bin/kxvplayer
+/opt/trinity/share/apps/kmplayer/kmplayerui.rc
+/opt/trinity/share/applications/tde/kmplayer.desktop
+/opt/trinity/share/locale
diff --git a/ubuntu/_base/applications/kmplayer/debian/kmplayer.1.docbook b/ubuntu/_base/applications/kmplayer/debian/kmplayer.1.docbook
new file mode 100644
index 000000000..dabfff5f0
--- /dev/null
+++ b/ubuntu/_base/applications/kmplayer/debian/kmplayer.1.docbook
@@ -0,0 +1,122 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+]>
+<refentry>
+ <refentryinfo>
+ <author>
+ <firstname>Jonathan Patrick</firstname>
+ <surname>Davies</surname>
+ <email>jpatrick@kubuntu.org</email>
+ </author>
+ <copyright>
+ <year>2006-2007</year>
+ <holder>Jonathan Patrick Davies</holder>
+ </copyright>
+ <!-- XXX IMPORTANT XXX -->
+ <!-- Keep this date up to date: -->
+ <date>2007-11-03</date>
+ <!-- ^^^^^^^^^^ -->
+ </refentryinfo>
+ <refmeta>
+ <refentrytitle>kmplayer</refentrytitle>
+ <manvolnum>1</manvolnum>
+ </refmeta>
+ <refnamediv>
+ <refname>kmplayer</refname>
+ <refpurpose>a media player for TDE</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <cmdsynopsis>
+ <command>kmplayer</command>
+ <arg choice="opt">
+ <option><replaceable>Qt-options</replaceable></option>
+ </arg>
+ <arg choice="opt">
+ <option><replaceable>TDE-options</replaceable></option>
+ </arg>
+ </cmdsynopsis>
+ </refsynopsisdiv>
+ <refsect1>
+ <title>DESCRIPTION</title>
+ <para>
+ KMPlayer is a basic audio/video viewer application for TDE.<br />
+ <br />
+ KMPlayer can:<br />
+ * play DVD (DVDNav only with the Xine player).<br />
+ * play VCD.<br />
+ * let the backend players play from a pipe (read from stdin).<br />
+ * play from a TV device (experimental).<br />
+ * show backend player's console output.<br />
+ * launch ffserver (only 0.4.8 works) when viewing from a v4l device.<br />
+ * DCOP KMediaPlayer interface support.<br />
+ * VDR viewer frontend (with *kxvplayer), configure VDR keys with standard TDE<br />
+ shortcut configure window.<br />
+ * Lots of configurable shortcuts. Highly recommended for the VDR keys<br />
+ (if you have VDR) and volume increase/decrease.<br />
+ </para>
+ </refsect1>
+ <refsect1>
+ <title>OPTIONS</title>
+ <para>
+ All <productname>TDE</productname> and <productname>Qt</productname>
+ programs accept a some common command-line options. KMPlayer has no
+ application-specific options.
+ </para>
+ <para>
+ <variablelist>
+ <title>Generic options:</title>
+ <varlistentry>
+ <term> <option>--help</option> </term>
+ <listitem> <para>Show help about options</para> </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term> <option>--help-qt</option> </term>
+ <listitem> <para>Show Qt specific options</para> </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term> <option>--help-tde</option> </term>
+ <listitem> <para>Show TDE specific options</para> </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term> <option>--help-all</option> </term>
+ <listitem> <para>Show all options</para> </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term> <option>--author</option> </term>
+ <listitem> <para>Show author information</para> </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term> <option>-v</option>, <option>--version</option> </term>
+ <listitem> <para>Show version information</para> </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term> <option>--license</option> </term>
+ <listitem> <para>Show license information</para> </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term> <option>--</option> </term>
+ <listitem> <para>Indicates end of options</para> </listitem>
+ </varlistentry>
+ </variablelist>
+ <!-- TODO * add all the rest of the options, but maybe find an automated
+ way to keep it up to date -->
+ </para>
+ </refsect1>
+ <refsect1>
+ <title>COPYRIGHT</title>
+ <para>
+ This manual page was written by Jonathan Patrick Davies
+ <email>jpatrick@kubuntu.org</email> for the
+ <productname>Ubuntu</productname> system (but may be used by others).
+ Permission is granted to copy, distribute and/or modify this document
+ under the terms of the <acronym>GNU</acronym> General Public License,
+ Version 2 or any later version published by the Free Software Foundation.
+ </para>
+ <para>
+ On Debian systems, the complete text of the GNU General Public
+ License can be found in
+ <filename>/usr/share/common-licenses/GPL</filename>.
+ </para>
+ </refsect1>
+</refentry>
diff --git a/ubuntu/_base/applications/kmplayer/debian/menu b/ubuntu/_base/applications/kmplayer/debian/menu
new file mode 100644
index 000000000..792ed1a5b
--- /dev/null
+++ b/ubuntu/_base/applications/kmplayer/debian/menu
@@ -0,0 +1,6 @@
+?package(kmplayer-trinity):\
+ needs="X11"\
+ section="Applications/Video"\
+ hints="TDE"\
+ title="Kmplayer"\
+ command="/opt/trinity/bin/kmplayer"
diff --git a/ubuntu/_base/applications/kmplayer/debian/patches/series b/ubuntu/_base/applications/kmplayer/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/_base/applications/kmplayer/debian/patches/series
diff --git a/ubuntu/_base/applications/kmplayer/debian/rules b/ubuntu/_base/applications/kmplayer/debian/rules
new file mode 100755
index 000000000..e5bb714ad
--- /dev/null
+++ b/ubuntu/_base/applications/kmplayer/debian/rules
@@ -0,0 +1,49 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+#include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+include debian/cdbs/kde.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)
+
+_P=)
+GCC_VERSION := $(shell gcc --version | sed -n "/^gcc/s/^[^$(_P)]*$(_P) \(.\..\).*/\1/p")
+ifeq ($(GCC_VERSION),4.3)
+ CXX = g++ -fpermissive
+endif
+
+DEB_CONFIGURE_EXTRA_FLAGS := --enable-maintainer-mode --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde
+DEB_DH_INSTALL_ARGS = --sourcedir=debian/tmp
+DEB_INSTALL_MANPAGES_kmplayer = kmplayer.1
+
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
+post-patches:: debian/stamp-bootstrap
+
+debian/stamp-bootstrap:
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
+ cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
+ cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
+ cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+
+ make -f admin/Makefile.common cvs
+ touch debian/stamp-bootstrap
+
+build/kmplayer-trinity::
+ docbook2x-man debian/kmplayer.1.docbook
+
+clean::
+ rm -f kmplayer.1
diff --git a/ubuntu/_base/applications/kmplayer/debian/source/format b/ubuntu/_base/applications/kmplayer/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/ubuntu/_base/applications/kmplayer/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/ubuntu/_base/applications/kmplayer/debian/source/options b/ubuntu/_base/applications/kmplayer/debian/source/options
new file mode 100644
index 000000000..72f1f5450
--- /dev/null
+++ b/ubuntu/_base/applications/kmplayer/debian/source/options
@@ -0,0 +1,6 @@
+# Use xz instead of gzip
+compression = "xz"
+compression-level = 9
+
+# Don't run differences
+diff-ignore = .*
diff --git a/ubuntu/_base/applications/kmplayer/debian/watch b/ubuntu/_base/applications/kmplayer/debian/watch
new file mode 100644
index 000000000..d809e2ca1
--- /dev/null
+++ b/ubuntu/_base/applications/kmplayer/debian/watch
@@ -0,0 +1,4 @@
+# debian/watch file for KMPlayer.
+version=3
+
+http://kmplayer.kde.org/pkgs/kmplayer-(.*)\.tar\.bz2