--- dragonplayer-1.99~rc1.orig/debian/copyright +++ dragonplayer-1.99~rc1/debian/copyright @@ -0,0 +1,64 @@ +This package was debianized by Harald Sitter on +Wed, 09 Jan 2008 20:43:37 +0100. + +It was downloaded from http: www.dragonplayer.org + +Upstream Author: Ian Monroe + +Copyright: + (C) 2005 Max Howell + (C) 2007 Ian Monroe + +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) version 3 or any later version + accepted by the membership of KDE e.V. (or its successor approved + by the membership of KDE e.V.), which shall act as a proxy + defined in Section 14 of version 3 of the license. + + 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, see . + +On Debian systems, the complete text of the GNU General Public License +can be found in '/usr/share/common-licenses/GPL'. + + +The following files have a different copyright holder and license statement: +src/app/fht.cpp +src/app/fht.h + Copyright (C) 2004 Melchior FRANZ + + 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, 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA + +On Debian systems, the complete text of the GNU General Public License +can be found in '/usr/share/common-licenses/GPL-2'. + + +Documentation is licensed under GFDL. +On Debian systems, the complete text of the GNU Free Documentation License +can be found in '/usr/share/common-licenses/GFDL'. + + +The Debian packaging is (C) 2008, Harald Sitter and +is licensed under the GPL version 2, or (at your option) +any later version, see `/usr/share/common-licenses/GPL-2'. --- dragonplayer-1.99~rc1.orig/debian/rules +++ dragonplayer-1.99~rc1/debian/rules @@ -0,0 +1,30 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE=1 + +include debian/cdbs/kde.mk + +kde4-wrapper-creation: + mkdir -p $(DEB_DESTDIR)/usr/bin + for file in `ls $(DEB_DESTDIR)/usr/lib/kde4/bin/`; do \ + echo "#!/bin/sh" > $(DEB_DESTDIR)/usr/bin/$${file}-kde4; \ + echo export LD_LIBRARY_PATH=/usr/lib/kde4/lib >> $(DEB_DESTDIR)/usr/bin/$${file}-kde4; \ + echo export KDEHOME=~/.kde4 >> $(DEB_DESTDIR)/usr/bin/$${file}-kde4; \ + echo export KDEDIRS=/usr/lib/kde4 >> $(DEB_DESTDIR)/usr/bin/$${file}-kde4; \ + echo export PATH=/usr/lib/kde4/bin:\$$PATH >> $(DEB_DESTDIR)/usr/bin/$${file}-kde4; \ + echo /usr/lib/kde4/bin/$${file} \"\$$@\" >> $(DEB_DESTDIR)/usr/bin/$${file}-kde4; \ + chmod 755 $(DEB_DESTDIR)/usr/bin/$${file}-kde4; \ + done + + mkdir -p $(DEB_DESTDIR)/usr/share/applications + for file in `ls $(DEB_DESTDIR)/usr/lib/kde4/share/applications/kde4/`; do \ + cat $(DEB_DESTDIR)/usr/lib/kde4/share/applications/kde4/$${file} \ + | sed 's/Name.*=.*$$/& KDE 4/' \ + | sed 's/Exec=[a-z]*/&-kde4/' \ + | sed 's,Icon=,Icon=/usr/lib/kde4/share/icons/hicolor/32x32/apps/,' \ + | sed 's/Icon=.*$$/&.png/' \ + > $(DEB_DESTDIR)/usr/share/applications/kde4-$${file}; \ + done + +common-install-indep:: kde4-wrapper-creation +common-install-arch:: kde4-wrapper-creation --- dragonplayer-1.99~rc1.orig/debian/changelog +++ dragonplayer-1.99~rc1/debian/changelog @@ -0,0 +1,12 @@ +dragonplayer (1.99~rc1-0ubuntu1) hardy; urgency=low + + * New upstream release + * Transition to kde4-wrapper-creation + + -- Harald Sitter Mon, 28 Jan 2008 16:50:38 +0100 + +dragonplayer (1.99~beta1-0ubuntu1) hardy; urgency=low + + * Initial release (LP: #178062). + + -- Harald Sitter Wed, 09 Jan 2008 20:43:37 +0100 --- dragonplayer-1.99~rc1.orig/debian/control +++ dragonplayer-1.99~rc1/debian/control @@ -0,0 +1,22 @@ +Source: dragonplayer +Section: kde +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Harald Sitter +Build-Depends: debhelper (>= 5), cdbs, cmake, quilt, kdelibs5-dev, libxine-dev, + libphonon-dev +Standards-Version: 3.7.3 +Homepage: http://www.dragonplayer.org + +Package: dragonplayer +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Simple KDE 4 video player + A video player with a different philosophy: Simple, uncluttered interface + . + Features: + - Plays DVDs, VCDs, all video formats supported by Xine + - Bundled with a simple web-page KPart + - Starts quickly + . + This is the KDE 4 version of the Codeine video player. --- dragonplayer-1.99~rc1.orig/debian/compat +++ dragonplayer-1.99~rc1/debian/compat @@ -0,0 +1 @@ +5 --- dragonplayer-1.99~rc1.orig/debian/cdbs/kde.mk +++ dragonplayer-1.99~rc1/debian/cdbs/kde.mk @@ -0,0 +1,93 @@ +# until bug 377524 resolved. +include debian/cdbs/cmake.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk +include /usr/share/cdbs/1/rules/utils.mk + +DEB_COMPRESS_EXCLUDE = .dcl .docbook -license .tag .sty .el +DEB_CMAKE_EXTRA_FLAGS += \ + $(DEB_CMAKE_DEBUG_FLAGS) \ + $(KDE4-ENABLE-FINAL) \ + -DKDE4_BUILD_TESTS=true \ + -DKDE_DISTRIBUTION_TEXT="Kubuntu packages" \ + -DCONFIG_INSTALL_DIR=$(DEB_CMAKE_PREFIX)/etc/kde4 \ + -DDATA_INSTALL_DIR=$(DEB_CMAKE_PREFIX)/share/kde4/apps \ + -DHTML_INSTALL_DIR=$(DEB_CMAKE_PREFIX)/share/doc/kde4/HTML \ + -DKCFG_INSTALL_DIR=$(DEB_CMAKE_PREFIX)/share/kde4/config.kcfg \ + -DLIB_INSTALL_DIR=$(DEB_CMAKE_PREFIX)/lib \ + -DSYSCONF_INSTALL_DIR=$(DEB_CMAKE_PREFIX)/etc \ + -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--no-undefined -Wl,--as-needed" \ + -DCMAKE_MODULE_LINKER_FLAGS="-Wl,--no-undefined -Wl,--as-needed" \ + -DCMAKE_EXE_LINKER_FLAGS="-Wl,--no-undefined -Wl,--as-needed" + +DEB_CMAKE_PREFIX = /usr/lib/kde4 +DEB_DH_INSTALL_ARGS = --sourcedir=debian/tmp +DEB_DH_SHLIBDEPS_ARGS = -l/usr/lib/kde4/lib/ +DEB_KDE_ENABLE_FINAL ?= +#DEB_MAKE_ENVVARS += XDG_CONFIG_DIRS=/etc/xdg XDG_DATA_DIRS=/usr/share +#DEB_STRIP_EXCLUDE = so + +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))) + KDE4-ENABLE-FINAL = $(if $(DEB_KDE_ENABLE_FINAL),-DKDE4_ENABLE_FINAL=true,) + else + KDE4-ENABLE-FINAL = + endif +endif + +ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + #no optimizations, full debug + DEB_CMAKE_DEBUG_FLAGS = -DCMAKE_BUILD_TYPE=debugfull +else + #This is around -O2 -g + DEB_CMAKE_DEBUG_FLAGS = -DCMAKE_BUILD_TYPE=relwithdebinfo +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 + +clean:: +ifndef THIS_SHOULD_GO_TO_UNSTABLE + #guard against experimental uploads to unstable + #dpkg-parsechangelog | grep ^Distribution | grep -q experimental +endif + rm -rf debian/man/out + -rmdir debian/man + rm -f debian/stamp-man-pages + rm -f CMakeCache.txt + + +$(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)/usr/share/doc/kde/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/usr/share/doc/kde/HTML/en/$$pkg; \ + cd $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/usr/share/doc/kde/HTML/en/$$pkg; \ + meinproc4 $(DEB_DESTDIR)/usr/share/doc/kde/HTML/en/$$pkg/index.docbook; \ + done + for pkg in $(DOC_HTML_PRUNE) ; do \ + rm -rf debian/$(DEB_SOURCE_PACKAGE)-doc-html/usr/share/doc/kde/HTML/en/$$pkg; \ + done + --- dragonplayer-1.99~rc1.orig/debian/cdbs/cmake.mk +++ dragonplayer-1.99~rc1/debian/cdbs/cmake.mk @@ -0,0 +1,60 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright (C) 2006 Peter Rockai +# Copyright (C) 2006 Fathi Boudra +# Description: A class for cmake packages +# +# 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. + +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_cmake +_cdbs_class_cmake := 1 + +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 + +DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(DEB_DESTDIR) +DEB_CMAKE_PREFIX =/usr + +# Overriden from makefile-vars.mk +# We pass CFLAGS and friends to ./configure, so no need to pass them to make +DEB_MAKE_INVOKE = $(DEB_MAKE_ENVVARS) $(MAKE) -C $(DEB_BUILDDIR) + +include $(_cdbs_class_path)/makefile.mk$(_cdbs_makefile_suffix) + +common-configure-arch common-configure-indep:: common-configure-impl +common-configure-impl:: $(DEB_BUILDDIR)/CMakeCache.txt +$(DEB_BUILDDIR)/CMakeCache.txt: + cd $(DEB_BUILDDIR) && cmake $(CURDIR)/$(DEB_SRCDIR) \ + -DCMAKE_INSTALL_PREFIX="$(DEB_CMAKE_PREFIX)" \ + $(DEB_CMAKE_EXTRA_FLAGS) -DCMAKE_CXX_FLAGS="$(CXXFLAGS)" \ + -DCMAKE_C_FLAGS="$(CFLAGS)" -DCMAKE_VERBOSE_MAKEFILE=ON + mkdir -p $(DEB_DESTDIR) + +cleanbuilddir:: + -if test "$(DEB_BUILDDIR)" != "$(DEB_SRCDIR)"; then rm -rf $(DEB_BUILDDIR); fi + +endif + --- dragonplayer-1.99~rc1.orig/debian/watch +++ dragonplayer-1.99~rc1/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://dragonplayer.org/dragonplayer-(.*)\.tar\.bz2