--- kplayer-0.7.orig/debian/control +++ kplayer-0.7/debian/control @@ -0,0 +1,40 @@ +Source: kplayer +Section: kde +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Christian Marillat +Bugs: mailto:marillat@debian.org +Standards-Version: 3.7.3 +Build-Depends: debhelper (>= 5.0.51), cmake, kdelibs5-dev, ccache, libice-dev, + libxft-dev, libxcursor-dev, libsm-dev, quilt + +Package: kplayer +Architecture: any +Depends: ${shlibs:Depends}, kplayer-data (= ${source:Version}), mplayer | mplayer-nogui +Suggests: kplayer-doc +Description: A KDE media player based on MPlayer + KPlayer is a multimedia player based on the popular MPlayer. It provides + video, audio and subtitle playback from files, URLs, DVDs, VCDs, audio CDs, + TV, DVB and KDE I/O Slaves as well as global and file specific options, + various controls, playlist, progress and status display, and a message log. + +Package: kplayer-doc +Architecture: all +Section: doc +Depends: kplayer +Replaces: kplayer (<= 0.5.3-0.4) +Description: Documentation for kplayer + KPlayer is a multimedia player based on the popular MPlayer. It provides + video, audio and subtitle playback from files, URLs, DVDs, VCDs, audio CDs, + TV, DVB and KDE I/O Slaves as well as global and file specific options, + various controls, playlist, progress and status display, and a message log. + +Package: kplayer-data +Architecture: all +Replaces: kplayer (<= 0.7-0.1) +Suggests: kplayer +Description: Data files for kplayer + KPlayer is a multimedia player based on the popular MPlayer. It provides + video, audio and subtitle playback from files, URLs, DVDs, VCDs, audio CDs, + TV, DVB and KDE I/O Slaves as well as global and file specific options, + various controls, playlist, progress and status display, and a message log. --- kplayer-0.7.orig/debian/kplayer.1 +++ kplayer-0.7/debian/kplayer.1 @@ -0,0 +1,73 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36. +.TH kplayer "1" "May 2008" "kplayer" +.SH NAME +kplayer \- KDE Media Player +.SH SYNOPSIS +.B kplayer +[\fIQt-options\fR] [\fIKDE-options\fR] [\fIoptions\fR] [\fIfiles\fR] +.SH DESCRIPTION +KPlayer is a front end for \fBmplayer\fR(1) with a GUI interface for KDE 4. +.SH OPTIONS +.SS Generic options: +.TP +\fB\-\-help\fR +Show help about options +.TP +\fB\-\-help\-qt\fR +Show Qt specific options +.TP +\fB\-\-help\-kde\fR +Show KDE specific options +.TP +\fB\-\-help\-all\fR +Show all options +.TP +\fB\-\-author\fR +Show author information +.TP +\fB\-v\fR, \fB\-\-version\fR +Show version information +.TP +\fB\-\-license\fR +Show license information +.TP +\fB\-\-\fR +End of options +.TP +\fB\-\-play\fR +Play the files immediately (default) +.TP +\fB\-\-queue\fR +Queue the files for playing +.TP +\fB\-\-play\-next\fR +Play the files after the currently played file finishes +.TP +\fB\-\-queue\-next\fR +Queue the files for playing after the currently played file +.TP +\fB\-\-add\-to\-new\-playlist\fR +Add the files to a new playlist +.TP +\fB\-\-add\-to\-playlists\fR +Add the files to the list of playlists +.TP +\fB\-\-add\-to\-collection\fR +Add the files to the multimedia collection +.SS Arguments: +.TP +.B files +File(s), directory/ies, or URL(s) +.SH "SEE ALSO" +\fBmplayer\fR(1) +.SH AUTHOR +The author of KPlayer is kiriuja . + +This manual page was written by Matvey Kozhev for the +Ubuntu project (but may be used by others). + +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU General Public License, Version 2 or any later +version published by the Free Software Foundation. On Debian systems, the +complete text of the GNU General Public License can be found in +\fB/usr/share/common-licenses/GPL\fR. --- kplayer-0.7.orig/debian/rules +++ kplayer-0.7/debian/rules @@ -0,0 +1,108 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE=1 + +include /usr/share/quilt/quilt.make + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +NCPUS := $(shell getconf _NPROCESSORS_ONLN 2>/dev/null || echo 1) + +ifeq ($(NCPUS),-1) + NCPUS:=1 +endif + +ifeq ($(NCPUS),0) + NCPUS:=1 +endif + +LDFLAGS:=-Wl,--as-needed + +configure: configure.stamp +configure.stamp: + dh_testdir + + mkdir build + cp README COPYING CMakeLists.txt build + cp -r doc build + cp -r icons build + cp -r kplayer build + cp -r po build + + cd build && CC="$(CC)" CXX="$(CXX)" LDFLAGS="$(LDFLAGS)" cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_SKIP_RPATH:BOOL=YES -DCMAKE_BUILD_TYPE=release \ + -DQT_QT_INCLUDE_DIR=/usr/include/qt4 \ + -DHTML_INSTALL_DIR=/usr/share/doc/kde4/HTML + + touch $@ + +build: build-stamp + +build-stamp: patch configure.stamp + dh_testdir + + cd build && $(MAKE) -j $(NCPUS) + + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + rm -rf build + rm -f build-stamp configure.stamp + rm -rf .pc + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + cd build && $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + + rm debian/tmp/usr/share/kde4/apps/kplayer/COPYING + + dh_install --fail-missing + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + dh_testdir -i + dh_testroot -i + dh_installchangelogs -i ChangeLog + dh_installdocs -i + dh_installman -i + dh_icons -i + dh_desktop -i + dh_link -i + dh_compress -i -X.docbook + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir -a + dh_testroot -a + dh_installchangelogs -a ChangeLog + dh_installdocs -a + dh_installman -a + dh_icons -a + dh_desktop -a + dh_link -a + dh_strip -a + dh_compress -a + dh_fixperms -a + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- kplayer-0.7.orig/debian/watch +++ kplayer-0.7/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://sf.net/kplayer/kplayer-(.*).tar.bz2 --- kplayer-0.7.orig/debian/changelog +++ kplayer-0.7/debian/changelog @@ -0,0 +1,113 @@ +kplayer (0.7-0.1ubuntu2) intrepid; urgency=low + + * Remove kde4-config path and ccache (fixes build with new kdelibs). + + -- Matvey Kozhev Mon, 16 Jun 2008 10:32:05 +0700 + +kplayer (0.7-0.1ubuntu1) intrepid; urgency=low + + * First upload to Ubuntu from debian-multimedia.org. + * debian/patches/desktop.patch: + - Remove Encoding key from desktop file. + * debian/control: + - Set maintainer field. + - Build-depend on quilt. + - Build-depend on debhelper >= 5.0.51 (for dh_icons). + - Depend on mplayer | mplayer-nogui. + - Added kplayer-data package. + * debian/rules: + - Specify kde4-config path. + - Fixed path to COPYING file to remove. + - Build with -Wl,--as-needed. + - Call dh_installman, dh_icons and dh_desktop. + - Delete .pc in clean. + * debian/install: + - Moved everything usr/share to kplayer-data. + * debian/kplayer-data.install: + - New file. + - Fixed path to usr/share/apps. + + -- Matvey Kozhev Sat, 10 May 2008 15:51:13 +0700 + +kplayer (0.7-0.1) unstable; urgency=low + + * Change section to kde. + * Added support for ccache. + * Make the build more clean (I hate cmake). + * Really strange, but added libice-dev, libxft-dev, libsm-dev and + libxcursor-dev in Build-Depends. + + -- Christian Marillat Tue, 22 Apr 2008 11:32:28 +0200 + +kplayer (0.7-0.0) unstable; urgency=low + + * New upstream release. + + -- Christian Marillat Fri, 11 Jan 2008 16:20:20 +0100 + +kplayer (0.6.3-0.1) unstable; urgency=low + + * Build with --disable-debug + + -- Christian Marillat Sun, 07 Oct 2007 19:00:59 +0200 + +kplayer (0.6.3-0.0) unstable; urgency=low + + * New upstream release. + + -- Christian Marillat Sun, 29 Jul 2007 10:19:18 +0200 + +kplayer (0.6.2-0.0) unstable; urgency=low + + * New upstream release. + + -- Christian Marillat Sun, 13 May 2007 22:16:14 +0200 + +kplayer (0.6.1-0.1) unstable; urgency=low + + * Use -j NCPUS instead of -j 2 + + -- Christian Marillat Mon, 5 Mar 2007 17:20:52 +0100 + +kplayer (0.6.1-0.0) unstable; urgency=low + + * New upstream release. + + -- Christian Marillat Mon, 5 Mar 2007 16:46:09 +0100 + +kplayer (0.6.0-0.0) unstable; urgency=low + + * New upstream release. + + -- Christian Marillat Tue, 16 Jan 2007 09:13:48 +0100 + +kplayer (0.5.3-0.4) unstable; urgency=low + + * Build for amd64. + + -- Christian Marillat Mon, 12 Jun 2006 09:45:29 +0200 + +kplayer (0.5.3-0.3) unstable; urgency=low + + * Rebuild against kdelibs4c2a + + -- Christian Marillat Tue, 6 Dec 2005 09:00:06 +0100 + +kplayer (0.5.3-0.2) unstable; urgency=low + + * Don't remove .la files. + + -- Christian Marillat Thu, 20 Oct 2005 16:41:46 +0200 + +kplayer (0.5.3-0.1) unstable; urgency=low + + * Removed mmst.protocol already in KDE 3.4 + + -- Christian Marillat Thu, 18 Aug 2005 10:42:11 +0200 + +kplayer (0.5.3-0.0) unstable; urgency=low + + * Initial Release. + + -- Christian Marillat Tue, 22 Feb 2005 11:29:51 +0100 + --- kplayer-0.7.orig/debian/manpages +++ kplayer-0.7/debian/manpages @@ -0,0 +1 @@ +debian/kplayer.1 --- kplayer-0.7.orig/debian/compat +++ kplayer-0.7/debian/compat @@ -0,0 +1 @@ +5 --- kplayer-0.7.orig/debian/kplayer-data.install +++ kplayer-0.7/debian/kplayer-data.install @@ -0,0 +1,4 @@ +debian/tmp/usr/share/icons +debian/tmp/usr/share/kde4/apps +debian/tmp/usr/share/locale +debian/tmp/usr/share/kde4/services/kplayerpart.desktop --- kplayer-0.7.orig/debian/patches/series +++ kplayer-0.7/debian/patches/series @@ -0,0 +1 @@ +desktop.patch --- kplayer-0.7.orig/debian/patches/desktop.patch +++ kplayer-0.7/debian/patches/desktop.patch @@ -0,0 +1,10 @@ +Index: kplayer-0.7/kplayer/kplayer.desktop +=================================================================== +--- kplayer-0.7.orig/kplayer/kplayer.desktop 2008-05-10 17:23:17.000000000 +0700 ++++ kplayer-0.7/kplayer/kplayer.desktop 2008-05-10 17:23:23.000000000 +0700 +@@ -1,5 +1,4 @@ + [Desktop Entry] +-Encoding=UTF-8 + Type=Application + Exec=kplayer -- %U + Icon=kplayer.png --- kplayer-0.7.orig/debian/copyright +++ kplayer-0.7/debian/copyright @@ -0,0 +1,12 @@ +This package was debianized by kiriuja on Tue, 4 Feb 2003 12:18:32 -0500. + +It was downloaded from http://sourceforge.net/projects/kplayer/ + +Upstream Author: kiriuja + +This software is copyright (c) 2002-2004 by kiriuja + + You should have received a copy of the GNU General Public License with the + Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL; if + not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth + Floor, Boston, MA 02110-1301, USA. --- kplayer-0.7.orig/debian/kplayer-doc.install +++ kplayer-0.7/debian/kplayer-doc.install @@ -0,0 +1 @@ +debian/tmp/usr/share/doc/kde4 --- kplayer-0.7.orig/debian/install +++ kplayer-0.7/debian/install @@ -0,0 +1,3 @@ +debian/tmp/usr/bin/kplayer +debian/tmp/usr/lib/kde4/libkplayerpart.so +debian/tmp/usr/share/applications/kde4/kplayer.desktop