--- corewars-0.9.13+ds.orig/debian/control +++ corewars-0.9.13+ds/debian/control @@ -0,0 +1,17 @@ +Source: corewars +Section: games +Priority: optional +Maintainer: Debian Games Team +Uploaders: Barry deFreese , Michael Vogt +Standards-Version: 3.8.0 +Build-Depends: debhelper (>= 5.0.0), quilt, autoconf, automake, flex, bison, libgtk2.0-dev +Vcs-Git: git://git.debian.org/git/pkg-games/corewars.git + +Package: corewars +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: the classic corewars game with a gtk-look + Corewars is a game which simulates a virtual machine with a number of programs. + Each program tries to crash the others. The program that lasts the longest + time wins. A number of sample programs are provided and new programs can be + written by the player. --- corewars-0.9.13+ds.orig/debian/changelog +++ corewars-0.9.13+ds/debian/changelog @@ -0,0 +1,136 @@ +corewars (0.9.13+ds-1) unstable; urgency=low + + [ Barry deFreese ] + * New maintainer. Debian Games Team. + + With permission from current maintainer. + + Move Michael Vogt to uploader. Thanks for all the work! + + Add myself as an uploader. + * Build with Gtk2. (Closes: #515268). + + Replace libgtk1.2-dev and libglib1.2-dev with libgtk2.0-dev. + + 01_gtk2.diff - Modify configure.ac to find gtk2 and small fixes. + * Repack tarball to remove upstream debian dir. + * Quote strings in menu file. + * Fix format of short description. + * Add ${misc:Depends} for debhelper package. + * Make clean not ignore errors. + * Add appropriate copyright holders in debian/copyright. + * Version GPL path in debian/copyright. (GPL-2). + * Remove unneeded dirs file. + * Add watch file. + * Version debhelper build-depends and set to >= 5.0.0. + + Move DH_COMPAT from rules to compat and set to 5. + * Bump Standards Version to 3.8.0. + + -- Barry deFreese Fri, 20 Feb 2009 22:42:36 -0500 + +corewars (0.9.13-1) unstable; urgency=low + + * New upstream release + + -- Michael Vogt Fri, 1 Nov 2002 00:29:55 +0100 + +corewars (0.9.12-5) unstable; urgency=low + + * removed the lintian warnings + + -- Michael Vogt Mon, 4 Feb 2002 23:56:29 +0100 + +corewars (0.9.12-4) unstable; urgency=low + + * applied a patch from J. Morrison + to make corewars build on the hurd. see #113433 for details. + closes: #113433 + + -- Michael Vogt Mon, 1 Oct 2001 10:23:23 +0200 + +corewars (0.9.12-3) unstable; urgency=low + + * changed -O3 to -O2, this make it build on hppa (closes: #104839) + + -- Michael Vogt Thu, 19 Jul 2001 14:11:48 +0200 + +corewars (0.9.12-2) unstable; urgency=low + + * closes: #82250 + + -- Michael Vogt Mon, 14 Jan 2001 12:10:11 +0200 + +corewars (0.9.12-1) unstable; urgency=low + + * new upstream release + + -- Michael Vogt Tue, 17 Oct 2000 12:10:11 +0200 + +corewars (0.9.11-1) unstable; urgency=low + + * new upstream release + + -- Michael Vogt Wed, 12 Apr 2000 23:33:50 +0200 + +corewars (0.9.10-1) unstable; urgency=low + + * new upstream release + + -- Michael Vogt Mon, 3 Apr 2000 01:49:56 +0200 + +corewars (0.9.9-1) unstable; urgency=low + + * new upstream release + + -- Michael Vogt Mon, 27 Mar 2000 23:58:35 +0200 + +corewars (0.9.8-1) unstable; urgency=low + + * new upstream release + + -- Michael Vogt Fri, 24 Mar 2000 07:48:22 +0100 + +corewars (0.9.7-1) unstable; urgency=low + + * new upstream version + + -- Michael Vogt Thu, 23 Mar 2000 00:15:00 +0100 + +corewars (0.9.6-1) unstable; urgency=low + + * packed latest upstream version + + -- Michael Vogt Tue, 21 Mar 2000 21:36:09 +0100 + +corewars (0.9.5-2) unstable; urgency=low + + * fixed stupid typo in build-depends + + -- Michael Vogt Fri, 17 Mar 2000 16:46:45 +0100 + +corewars (0.9.5-1) unstable; urgency=low + + * updatet to latest upstream version + + -- Michael Vogt Thu, 14 Mar 2000 13:29:01 +0100 + +corewars (0.9.2-3) unstable; urgency=low + + * added libgtk1.2-dev, libglib1.2-dev to build-depends + + -- Michael Vogt Mon, 13 Mar 2000 22:49:10 +0100 + +corewars (0.9.2-2) unstable; urgency=low + + * added debhelper to build depends (thanks to Christian Steigies) + + -- Michael Vogt Sun, 12 Mar 2000 23:38:47 +0100 + +corewars (0.9.2-1) unstable; urgency=low + + * update to version 0.9.2 + + -- Michael Vogt Fri, 3 Mar 2000 23:57:06 +0100 + +corewars (0.9.0-1) unstable; urgency=low + + * Initial Release. + + -- Michael Vogt Wed, 1 Mar 2000 03:00:47 +0100 + + --- corewars-0.9.13+ds.orig/debian/install +++ corewars-0.9.13+ds/debian/install @@ -0,0 +1,5 @@ +debian/tmp/usr/games/* usr/games +debian/tmp/usr/share/* usr/share +contrib/corewars-mode.el usr/share/doc/corewars/contrib +contrib/cw.vim usr/share/doc/corewars/contrib + --- corewars-0.9.13+ds.orig/debian/docs +++ corewars-0.9.13+ds/debian/docs @@ -0,0 +1,4 @@ +README +doc/INTERESTING-COMBINATIONS +doc/DIFFERENCES +doc/TODO --- corewars-0.9.13+ds.orig/debian/menu +++ corewars-0.9.13+ds/debian/menu @@ -0,0 +1,2 @@ +?package(corewars):needs="X11" section="Games/Strategy" \ + title="corewars" command="/usr/games/corewars" --- corewars-0.9.13+ds.orig/debian/watch +++ corewars-0.9.13+ds/debian/watch @@ -0,0 +1,4 @@ +version=3 + +opts=dversionmangle=s/\+ds// \ +http://sf.net/corewars/corewars-([\d.]+)\.tar\.gz --- corewars-0.9.13+ds.orig/debian/compat +++ corewars-0.9.13+ds/debian/compat @@ -0,0 +1 @@ +5 --- corewars-0.9.13+ds.orig/debian/copyright +++ corewars-0.9.13+ds/debian/copyright @@ -0,0 +1,15 @@ +This package was debianized by Michael Vogt on +Wed, 1 Mar 2000 03:00:47 +0100. + +It was downloaded from http://download.sourceforge.net/corewars/ + +Upstream Author: Walter Hofmann + +Copyright: + Copyright (C) 1999, 2000 Walter Hofmann + Copyright (C) 1984, 1989, 1990, 1996, 1997, 1998, 2000, 2001, 2002 Free Software + Copyright (C) 1998-1999 Mikael Alm, Olle Hallnas, Thomas Nilsson and 4Front Technologies + +License: +GNU GENERAL PUBLIC LICENSE, +see /usr/share/common-licenses/GPL-2 --- corewars-0.9.13+ds.orig/debian/rules +++ corewars-0.9.13+ds/debian/rules @@ -0,0 +1,86 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +configure: configure-stamp +configure-stamp: + dh_testdir + + QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2 + + aclocal --force + + autoreconf -f -i + + ./configure --prefix=/usr \ + --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info \ + --bindir=\$${prefix}/games + + touch configure-stamp + +build: build-stamp +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f configure-stamp build-stamp + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) distclean + + QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2 + + #Remove generated files. + rm -f configure config.h.in~ config.h.in aclocal.m4 + rm -f build/install-sh build/mkinstalldirs build/missing build/ylwrap build/depcomp + rm -rf .pc + find ./ -name Makefile.in |xargs rm -rf + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + + # Add here commands to install the package into debian/tmp. + $(MAKE) install prefix=$(CURDIR)/debian/tmp/usr + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installexamples + dh_installmenu + dh_install + dh_installman + dh_installinfo + dh_installchangelogs + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- corewars-0.9.13+ds.orig/debian/README.debian +++ corewars-0.9.13+ds/debian/README.debian @@ -0,0 +1,23 @@ +Corewars for Debian +------------------- + +You can find some sample programs at /usr/share/corewars. +A formal description on the programming language can be found +in the file /usr/share/doc/corewars/README. + +The homepage of this corewars implementation is http://corewars.sourceforge.net. + +Additional information about corewars can be found at +http://www.corewars.org + + +Have fun! + + + + Michael + +On 2009-02-20 the upstream tarball was repacked to remove the upstream +debian directory. + +--- Barry deFreese --- corewars-0.9.13+ds.orig/debian/patches/series +++ corewars-0.9.13+ds/debian/patches/series @@ -0,0 +1 @@ +01_gtk2.diff --- corewars-0.9.13+ds.orig/debian/patches/01_gtk2.diff +++ corewars-0.9.13+ds/debian/patches/01_gtk2.diff @@ -0,0 +1,61 @@ +# Find Gtk2 and small C changes to build with it. + +Index: corewars-0.9.13/configure.ac +=================================================================== +--- corewars-0.9.13.orig/configure.ac 2009-02-23 15:13:11.000000000 -0500 ++++ corewars-0.9.13/configure.ac 2009-02-23 15:15:23.000000000 -0500 +@@ -36,23 +36,22 @@ + AC_PROG_LN_S + + COREWARS=corewars +-AM_PATH_GLIB(1.2.0,,COREWARS=;AC_MSG_ERROR([ ++AM_PATH_GLIB_2_0(2.0.0,,COREWARS=;AC_MSG_ERROR([ + + ************************************************************************ +- *** GLIB >= 1.2.0 not installed - cannot build GUI client without it *** ++ *** GLIB >= 2.0.0 not installed - cannot build GUI client without it *** + ************************************************************************ + ])) +-AM_PATH_GTK(1.2.0,,COREWARS=;AC_MSG_ERROR([ ++AM_PATH_GTK_2_0(2.0.0,,COREWARS=;AC_MSG_ERROR([ + + ************************************************************************ +- *** GTK+ >= 1.2.0 not installed - cannot build GUI client without it *** ++ *** GTK+ >= 2.0.0 not installed - cannot build GUI client without it *** + ************************************************************************ + ])) + + LIBS="$LIBS $GTK_LIBS" +-GTK_INCLUDE=`gtk-config --cflags` + AC_SUBST(INCLUDES) +-INCLUDES="$INCLUDES $GTK_INCLUDE" ++INCLUDES="$INCLUDES $GTK_CFLAGS" + + dnl Checks for header files. + AC_HEADER_DIRENT +Index: corewars-0.9.13/src/main-gui.c +=================================================================== +--- corewars-0.9.13.orig/src/main-gui.c 2009-02-23 15:15:40.000000000 -0500 ++++ corewars-0.9.13/src/main-gui.c 2009-02-23 15:16:46.000000000 -0500 +@@ -348,7 +348,7 @@ + gtk_item_factory_create_items (item_factory, nmenu_items, menu_items, NULL); + + /* Attach the new accelerator group to the window. */ +- gtk_accel_group_attach (accel_group, GTK_OBJECT (window)); ++ gtk_window_add_accel_group(GTK_OBJECT (window), accel_group); + + menu_file_start = gtk_item_factory_get_widget (item_factory, "/File/Start"); + menu_file_pause = gtk_item_factory_get_widget (item_factory, "/File/Pause"); +Index: corewars-0.9.13/src/dirbrowser.c +=================================================================== +--- corewars-0.9.13.orig/src/dirbrowser.c 2009-02-23 15:17:05.000000000 -0500 ++++ corewars-0.9.13/src/dirbrowser.c 2009-02-23 15:17:40.000000000 -0500 +@@ -232,7 +232,7 @@ + DirNode *dirnode; + gboolean leaf; + +- window=gtk_window_new(GTK_WINDOW_DIALOG); ++ window=gtk_window_new(GTK_WINDOW_TOPLEVEL); + gtk_window_set_title(GTK_WINDOW(window),title); + gtk_container_border_width(GTK_CONTAINER(window),10); +