--- yahtzeesharp-1.1.orig/debian/copyright +++ yahtzeesharp-1.1/debian/copyright @@ -0,0 +1,28 @@ +Name: yahtzeesharp +Maintainer: Andrew York +Source: http://www.brdstudio.net/yahtzeesharp + +Files: * +Copyright: Copyright (c) 2009, Andrew York +License: GPL-3+ + On Debian systems the full text of the GNU General Public License can be found + in the `/usr/share/common-licenses/GPL-3' file. + +Files: debian/* +Copyright: Copyright 2009, Stefan Ebner +License: GPL-3+ + On Debian systems the full text of the GNU General Public License can be found + in the `/usr/share/common-licenses/GPL-3' file. + +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 3 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, see . --- yahtzeesharp-1.1.orig/debian/yahtzeesharp.1 +++ yahtzeesharp-1.1/debian/yahtzeesharp.1 @@ -0,0 +1,18 @@ +.TH YAHTZEESHARP 1 "January 31, 2009" + +.SH NAME +yahtzeesharp \- sort of poker with dice and less money +.SH DESCRIPTION +\fBYahtzeesharp\fP is an implementation of yahtzee. +Yahtzee is sort of poker with dice and less money. +You roll five dice three times and try to create the best "hand." +Your two rerolls may include any or all of your dice. + +.SH AUTHORS +\fBYahtzeesharp\fP was created by Andrew York +and this manual page was written by Stefan Ebner . + +.SH LICENSE +\fBYahtzeesharp\fP has been released under the GNU General Public License, +version 3. + --- yahtzeesharp-1.1.orig/debian/changelog +++ yahtzeesharp-1.1/debian/changelog @@ -0,0 +1,46 @@ +yahtzeesharp (1.1-5) unstable; urgency=low + + * No-change rebuild for Mono 2.10 transition + + -- Jo Shields Wed, 18 Jan 2012 23:43:12 +0000 + +yahtzeesharp (1.1-4) unstable; urgency=low + + * debian/control: + + Use GTK#'s -dev package to prevent FTBFS + + -- Jo Shields Thu, 07 Jan 2010 01:01:50 +0000 + +yahtzeesharp (1.1-3) unstable; urgency=low + + * debian/control: + + Point to new VCS location (git) + + Bump Standards-Version to 3.8.3 + * debian/rules: + + Pass mono-csc to configure instead of csc + * debian/copyright: + + Add WARRANTY notice as told by GPL + * Add debian/README.source as part of the new policy + + -- Stefan Ebner Thu, 27 Aug 2009 22:42:14 +0200 + +yahtzeesharp (1.1-2) unstable; urgency=low + + * debian/control: + + Bump mono-devel dependency to >= 2.4.2.3 and cli-common-dev to >= 0.7 + for cli policy 0.7 compliance + * debian/rules: + + Convert, resize and install the xpm icon at build time. + + Improve get-orig-source rule + * Delete yahtzeesharp.install and yahtzeesharp.xpm + * Add usr/share/pixmaps to debian/dirs + * debian/control: Add build-dependency on imagemagick + + -- Stefan Ebner Thu, 06 Aug 2009 10:29:29 +0200 + +yahtzeesharp (1.1-1) unstable; urgency=low + + * Initial release (Closes: #510436) + + -- Stefan Ebner Sat, 30 May 2009 12:50:51 +0200 + --- yahtzeesharp-1.1.orig/debian/watch +++ yahtzeesharp-1.1/debian/watch @@ -0,0 +1,4 @@ +version=3 + +http://sf.net/yahtzeesharp/yahtzeesharp-(.*)\.tar\.gz + --- yahtzeesharp-1.1.orig/debian/yahtzeesharp.manpages +++ yahtzeesharp-1.1/debian/yahtzeesharp.manpages @@ -0,0 +1 @@ +debian/yahtzeesharp.1 --- yahtzeesharp-1.1.orig/debian/README.source +++ yahtzeesharp-1.1/debian/README.source @@ -0,0 +1,57 @@ +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +To configure quilt to use debian/patches instead of patches, you want +either to export QUILT_PATCHES=debian/patches in your environment +or use this snippet in your ~/.quiltrc: + + for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do + if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then + export QUILT_PATCHES=debian/patches + fi + done + +To get the fully patched source after unpacking the source package, cd to +the root level of the source package and run: + + quilt push -a + +The last patch listed in debian/patches/series will become the current +patch. + +To add a new set of changes, first run quilt push -a, and then run: + + quilt new + +where is a descriptive name for the patch, used as the filename in +debian/patches. Then, for every file that will be modified by this patch, +run: + + quilt add + +before editing those files. You must tell quilt with quilt add what files +will be part of the patch before making changes or quilt will not work +properly. After editing the files, run: + + quilt refresh + +to save the results as a patch. + +Alternately, if you already have an external patch and you just want to +add it to the build system, run quilt push -a and then: + + quilt import -P /path/to/patch + quilt push -a + +(add -p 0 to quilt import if needed). as above is the filename to +use in debian/patches. The last quilt push -a will apply the patch to +make sure it works properly. + +To remove an existing patch from the list of patches that will be applied, +run: + + quilt delete + +You may need to run quilt pop -a to unapply patches first before running +this command. --- yahtzeesharp-1.1.orig/debian/rules +++ yahtzeesharp-1.1/debian/rules @@ -0,0 +1,54 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE=1 + +MAKEFILE = $(firstword $(MAKEFILE_LIST)) +DEBIAN_DIR = $(dir $(MAKEFILE)) +SOURCE_DIR = $(DEBIAN_DIR)/.. + +DEB_SOURCE_NAME = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^Source | cut -d" " -f2) +DEB_VERSION = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^Version | cut -d" " -f2) +VERSION = $(shell echo $(DEB_VERSION) | cut -d"-" -f1 | sed 's/+dfsg.*//') + + +include /usr/share/cli-common/cli.make +include /usr/share/quilt/quilt.make + + +get-orig-source: + uscan \ + --package $(DEB_SOURCE_NAME) \ + --watchfile $(DEBIAN_DIR)/watch \ + --upstream-version $(VERSION) \ + --download-version $(VERSION) \ + --destdir . \ + --force-download \ + --rename + + if [ -d $(DEB_SOURCE_NAME)-$(VERSION) ]; then \ + echo "$(DEB_SOURCE_NAME)-$(VERSION) is in the way, bailing out!"; \ + exit 1; \ + fi + tar -xzf $(DEB_SOURCE_NAME)_$(VERSION).orig.tar.gz + rm $(DEB_SOURCE_NAME)_$(VERSION).orig.tar.gz + mkdir $(DEB_SOURCE_NAME) + mv -f README AUTHORS COPYING CHANGELOG $(DEB_SOURCE_NAME)-$(VERSION)/* $(DEB_SOURCE_NAME) + rm -r $(DEB_SOURCE_NAME)-$(VERSION) + mv -f $(DEB_SOURCE_NAME) $(DEB_SOURCE_NAME)-$(VERSION) + tar --mtime=@0 -cf $(DEB_SOURCE_NAME)_$(VERSION).orig.tar $(DEB_SOURCE_NAME)-$(VERSION) + gzip -9fn $(DEB_SOURCE_NAME)_$(VERSION).orig.tar + rm -r $(DEB_SOURCE_NAME)-$(VERSION) + +override_dh_auto_configure: + dh_auto_configure -- GMCS=/usr/bin/mono-csc CSC=/usr/bin/mono-csc \ + --prefix=/usr --bindir=/usr/games + +override_dh_auto_install: + dh_auto_install + convert $(CURDIR)/YahtzeeSharp/work-files/YSlogo.png -resize 32x32 \ + $(CURDIR)/debian/yahtzeesharp/usr/share/pixmaps/yahtzeesharp.xpm + +%: + dh --with quilt $@ + +.PHONY: get-orig-source --- yahtzeesharp-1.1.orig/debian/compat +++ yahtzeesharp-1.1/debian/compat @@ -0,0 +1 @@ +7 --- yahtzeesharp-1.1.orig/debian/dirs +++ yahtzeesharp-1.1/debian/dirs @@ -0,0 +1,2 @@ +usr/games +usr/share/pixmaps --- yahtzeesharp-1.1.orig/debian/control +++ yahtzeesharp-1.1/debian/control @@ -0,0 +1,21 @@ +Source: yahtzeesharp +Section: games +Priority: optional +Maintainer: Debian CLI Applications Team +Uploaders: Stefan Ebner +Build-Depends: debhelper (>= 7.0.50), quilt (>= 0.46-7~), + cli-common-dev (>= 0.7), imagemagick +Build-Depends-Indep: mono-devel (>= 2.4.2.3), + libglib2.0-cil-dev, libgtk2.0-cil-dev, libart2.0-cil-dev +Standards-Version: 3.8.3 +Homepage: http://www.brdstudio.net/yahtzeesharp/ +Vcs-Git: git://git.debian.org/pkg-cli-apps/packages/yahtzeesharp.git +Vcs-Browser: http://git.debian.org/?p=pkg-cli-apps/packages/yahtzeesharp.git + +Package: yahtzeesharp +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, ${cli:Depends} +Description: game similar to poker with dice and less money + Yahtzeesharp is a sort of poker with dice and less money. + You roll five dice three times and try to create the best hand. + Your two rerolls may include any or all of your dice. --- yahtzeesharp-1.1.orig/debian/menu +++ yahtzeesharp-1.1/debian/menu @@ -0,0 +1,3 @@ +?package(yahtzeesharp):needs="X11" section="Games/Card"\ + title="yahtzeesharp" command="/usr/games/yahtzeesharp"\ + icon="yahtzeesharp.xpm" --- yahtzeesharp-1.1.orig/debian/patches/01_fix_build_system +++ yahtzeesharp-1.1/debian/patches/01_fix_build_system @@ -0,0 +1,60 @@ +Index: yahtzeesharp/Makefile.in +Force build system to use the csc compiler +=================================================================== +--- yahtzeesharp/Makefile.in 2009-03-21 11:59:24.000000000 +0100 ++++ yahtzeesharp/Makefile.in 2009-03-21 12:00:04.000000000 +0100 +@@ -82,7 +82,7 @@ + ECHO_T = @ECHO_T@ + GLIB_SHARP_20_CFLAGS = @GLIB_SHARP_20_CFLAGS@ + GLIB_SHARP_20_LIBS = @GLIB_SHARP_20_LIBS@ +-GMCS = @GMCS@ ++GMCS = @CSC@ + GTK_SHARP_20_CFLAGS = @GTK_SHARP_20_CFLAGS@ + GTK_SHARP_20_LIBS = @GTK_SHARP_20_LIBS@ + INSTALL = @INSTALL@ +Index: yahtzeesharp/YahtzeeSharp/Makefile.am +=================================================================== +--- yahtzeesharp/YahtzeeSharp/Makefile.am 2009-03-21 12:00:41.000000000 +0100 ++++ yahtzeesharp/YahtzeeSharp/Makefile.am 2009-03-21 12:01:08.000000000 +0100 +@@ -4,7 +4,7 @@ + # Warning: This is an automatically generated file, do not edit! + + if ENABLE_DEBUG +-ASSEMBLY_COMPILER_COMMAND = gmcs ++ASSEMBLY_COMPILER_COMMAND = @GMCS@ + ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- "-main:MainClass" + + ASSEMBLY = bin/Debug/YahtzeeSharp.exe +@@ -18,7 +18,7 @@ + endif + + if ENABLE_RELEASE +-ASSEMBLY_COMPILER_COMMAND = gmcs ++ASSEMBLY_COMPILER_COMMAND = @GMCS@ + ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ -debug -define:DEBUG "-main:MainClass" + + ASSEMBLY = bin/Release/YahtzeeSharp.exe +Index: yahtzeesharp/YahtzeeSharp/Makefile.in +=================================================================== +--- yahtzeesharp/YahtzeeSharp/Makefile.in 2009-03-21 12:00:41.000000000 +0100 ++++ yahtzeesharp/YahtzeeSharp/Makefile.in 2009-03-21 12:01:43.000000000 +0100 +@@ -72,7 +72,7 @@ + ECHO_T = @ECHO_T@ + GLIB_SHARP_20_CFLAGS = @GLIB_SHARP_20_CFLAGS@ + GLIB_SHARP_20_LIBS = @GLIB_SHARP_20_LIBS@ +-GMCS = @GMCS@ ++GMCS = @CSC@ + GTK_SHARP_20_CFLAGS = @GTK_SHARP_20_CFLAGS@ + GTK_SHARP_20_LIBS = @GTK_SHARP_20_LIBS@ + INSTALL = @INSTALL@ +@@ -144,8 +144,8 @@ + $(DATA_FILES) $(build_culture_res_files) + + # Warning: This is an automatically generated file, do not edit! +-@ENABLE_DEBUG_TRUE@ASSEMBLY_COMPILER_COMMAND = gmcs +-@ENABLE_RELEASE_TRUE@ASSEMBLY_COMPILER_COMMAND = gmcs ++@ENABLE_DEBUG_TRUE@ASSEMBLY_COMPILER_COMMAND = @GMCS@ ++@ENABLE_RELEASE_TRUE@ASSEMBLY_COMPILER_COMMAND = @GMCS@ + @ENABLE_DEBUG_TRUE@ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- "-main:MainClass" + @ENABLE_RELEASE_TRUE@ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ -debug -define:DEBUG "-main:MainClass" + @ENABLE_DEBUG_TRUE@ASSEMBLY = bin/Debug/YahtzeeSharp.exe --- yahtzeesharp-1.1.orig/debian/patches/02_fix_desktop_file +++ yahtzeesharp-1.1/debian/patches/02_fix_desktop_file @@ -0,0 +1,19 @@ +Index: yahtzeesharp/YahtzeeSharp/YahtzeeSharp.desktop +Fix the .desktop file +=================================================================== +--- yahtzeesharp/YahtzeeSharp/YahtzeeSharp.desktop 2009-03-21 12:02:24.000000000 +0100 ++++ yahtzeesharp/YahtzeeSharp/YahtzeeSharp.desktop 2009-03-21 12:05:17.000000000 +0100 +@@ -1,10 +1,10 @@ +- + [Desktop Entry] +-Encoding=UTF-8 ++Version=1.0 + Type=Application + Name=YahtzeeSharp ++GenericName=YahtzeeSharp ++Icon=yahtzeesharp + Exec=yahtzeesharp + Terminal=false +-GenericName=YahtzeeSharp + Comment=An open source Yahtzee like game written in C# + Categories=Game;BoardGame; --- yahtzeesharp-1.1.orig/debian/patches/series +++ yahtzeesharp-1.1/debian/patches/series @@ -0,0 +1,2 @@ +01_fix_build_system +02_fix_desktop_file