--- kdiamond-kde4-0.2.orig/debian/changelog +++ kdiamond-kde4-0.2/debian/changelog @@ -0,0 +1,18 @@ +kdiamond-kde4 (0.2-0ubuntu1) hardy; urgency=low + + * New upstream release (LP: #192296) + - port to Qt's Graphics View framework + - new default theme with remove animation + - greeter removed; replaced by popup items on the board + - timer can show minutes separately + - sound events; configuration dialog to change the sounds + * Added libqt4-dev build-dep + + -- Steve Stalcup Fri, 15 Feb 2008 22:38:08 -0500 + +kdiamond-kde4 (0.1-0ubuntu1) hardy; urgency=low + + * Initial release (LP: #191286) + + -- Steve Stalcup Mon, 11 Feb 2008 20:42:23 -0500 + --- kdiamond-kde4-0.2.orig/debian/compat +++ kdiamond-kde4-0.2/debian/compat @@ -0,0 +1 @@ +5 --- kdiamond-kde4-0.2.orig/debian/cdbs/cmake.mk +++ kdiamond-kde4-0.2/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 + --- kdiamond-kde4-0.2.orig/debian/cdbs/kde.mk +++ kdiamond-kde4-0.2/debian/cdbs/kde.mk @@ -0,0 +1,105 @@ +# 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" \ + -DXDG_APPS_INSTALL_DIR=/usr/share/applications/kde4/ \ + -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 + +#For Kubuntu paths create custom binary wrapper and .desktop menu files +kde4-wrapper-creation: + if [ -e $(DEB_DESTDIR)/usr/share/applications/kde4/ ]; then \ + for file in `ls $(DEB_DESTDIR)/usr/share/applications/kde4/`; do \ + sed -i 's,Exec=,Exec=/usr/lib/kde4/bin/,' $(DEB_DESTDIR)/usr/share/applications/kde4/$${file}; \ + done; \ + fi + +common-install-indep:: kde4-wrapper-creation +common-install-arch:: kde4-wrapper-creation + --- kdiamond-kde4-0.2.orig/debian/copyright +++ kdiamond-kde4-0.2/debian/copyright @@ -0,0 +1,33 @@ +This package was debianized by Steve Stalcup on +Mon, 11 Feb 2008 20:42:23 -0500. + +It was downloaded from http://kdiamond.ages-skripte.org/ + +Upstream Author: + Stefan Majewsky + +Copyright: + (C) 2008 Stefan Majewsky + +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 Debian packaging is (C) 2008, Steve Stalcup and +is licensed under the GPL, either version 2, or (at your option) any later +version, see above. --- kdiamond-kde4-0.2.orig/debian/rules +++ kdiamond-kde4-0.2/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +export LDFLAGS+="-Wl,--as-needed" + +include debian/cdbs/kde.mk + + --- kdiamond-kde4-0.2.orig/debian/control +++ kdiamond-kde4-0.2/debian/control @@ -0,0 +1,17 @@ +Source: kdiamond-kde4 +Section: kde +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Steve Stalcup +Build-Depends: cdbs, debhelper (>= 5), cmake, quilt, kdelibs5-dev (>= 4:4.0.1), + libkdegames-dev-kde4, libxss-dev, libphonon-dev, libqt4-dev +Standards-Version: 3.7.3 +Homepage: http://kdiamond.ages-skripte.org/ + +Package: kdiamond-kde4 +Architecture: any +Depends: ${shlibs:Depends} +Description: A three-in-a-row game for the KDE 4 desktop + Much like Bejeweled, KDiamond offers unlimited fun with randomly generated + games, five difficulty levels with varying number of diamond colors and board + sizes, and a groovy high-score dialog