r415 - in packages: . cube cube/trunk cube/trunk/debian cube/trunk/debian/patches

Gonéri Le Bouder goneri-guest at costa.debian.org
Sun Apr 2 01:41:20 UTC 2006


Author: goneri-guest
Date: 2006-04-02 01:41:18 +0000 (Sun, 02 Apr 2006)
New Revision: 415

Added:
   packages/cube/
   packages/cube/tags/
   packages/cube/trunk/
   packages/cube/trunk/debian/
   packages/cube/trunk/debian/README.Debian
   packages/cube/trunk/debian/changelog
   packages/cube/trunk/debian/compat
   packages/cube/trunk/debian/control
   packages/cube/trunk/debian/copyright
   packages/cube/trunk/debian/patches/
   packages/cube/trunk/debian/patches/00list
   packages/cube/trunk/debian/patches/01_permissive_gcc.patch
   packages/cube/trunk/debian/rules
Log:
begin of a package for cube


Added: packages/cube/trunk/debian/README.Debian
===================================================================
--- packages/cube/trunk/debian/README.Debian	2006-04-01 23:51:33 UTC (rev 414)
+++ packages/cube/trunk/debian/README.Debian	2006-04-02 01:41:18 UTC (rev 415)
@@ -0,0 +1,6 @@
+cube for Debian
+---------------
+
+<possible notes regarding this package - if none, delete this file>
+
+ -- Gonéri Le Bouder <goneri at rulezlan.org>, Sun,  2 Apr 2006 02:31:24 +0200

Added: packages/cube/trunk/debian/changelog
===================================================================
--- packages/cube/trunk/debian/changelog	2006-04-01 23:51:33 UTC (rev 414)
+++ packages/cube/trunk/debian/changelog	2006-04-02 01:41:18 UTC (rev 415)
@@ -0,0 +1,6 @@
+cube (2005.08.29-1) unstable; urgency=low
+
+  * Initial release Closes: #360414
+
+ -- Gonéri Le Bouder <goneri at rulezlan.org>  Sun,  2 Apr 2006 02:31:24 +0200
+

Added: packages/cube/trunk/debian/compat
===================================================================
--- packages/cube/trunk/debian/compat	2006-04-01 23:51:33 UTC (rev 414)
+++ packages/cube/trunk/debian/compat	2006-04-02 01:41:18 UTC (rev 415)
@@ -0,0 +1 @@
+5

Added: packages/cube/trunk/debian/control
===================================================================
--- packages/cube/trunk/debian/control	2006-04-01 23:51:33 UTC (rev 414)
+++ packages/cube/trunk/debian/control	2006-04-02 01:41:18 UTC (rev 415)
@@ -0,0 +1,13 @@
+Source: cube
+Section: games
+Priority: optional
+Maintainer: Alioth Games Devel Team <pkg-games-devel at lists.alioth.debian.org>
+Uploaders: Gonéri Le Bouder <goneri at rulezlan.org>
+Build-Depends: debhelper (>= 5.0.0), dpatch, tofrodos
+Standards-Version: 3.6.2
+
+Package: cube
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: <insert up to 60 chars description>
+ <insert long description, indented with spaces>

Added: packages/cube/trunk/debian/copyright
===================================================================
--- packages/cube/trunk/debian/copyright	2006-04-01 23:51:33 UTC (rev 414)
+++ packages/cube/trunk/debian/copyright	2006-04-02 01:41:18 UTC (rev 415)
@@ -0,0 +1,10 @@
+This package was debianized by Gonéri Le Bouder <goneri at rulezlan.org> on
+Sun,  2 Apr 2006 02:31:24 +0200.
+
+It was downloaded from http://www.cubeengine.com/ 
+
+Copyright (C) 2001-2005 Wouter van Oortmerssen.
+
+License:
+zlib license
+http://www.opensource.org/licenses/zlib-license.php

Added: packages/cube/trunk/debian/patches/00list
===================================================================
--- packages/cube/trunk/debian/patches/00list	2006-04-01 23:51:33 UTC (rev 414)
+++ packages/cube/trunk/debian/patches/00list	2006-04-02 01:41:18 UTC (rev 415)
@@ -0,0 +1 @@
+01_permissive_gcc.patch

Added: packages/cube/trunk/debian/patches/01_permissive_gcc.patch
===================================================================
--- packages/cube/trunk/debian/patches/01_permissive_gcc.patch	2006-04-01 23:51:33 UTC (rev 414)
+++ packages/cube/trunk/debian/patches/01_permissive_gcc.patch	2006-04-02 01:41:18 UTC (rev 415)
@@ -0,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Gonéri Le Bouder <goneri at rulezlan.org>
+## DP: a the -fpermissive  flag to gcc
+## DP: Warning: ^M end line caractere is normal 
+
+
+ at DPATCH@
+
+diff -ru cube-2005.08.29.orig/src/Makefile cube-2005.08.29/src/Makefile
+--- cube-2005.08.29.orig/src/Makefile	2006-04-02 02:38:50.000000000 +0200
++++ cube-2005.08.29/src/Makefile	2006-04-02 03:29:25.000000000 +0200
+@@ -1,6 +1,6 @@
+ CXX=g++
+ CXXOPTFLAGS=-Wall -O3 -fsigned-char -fomit-frame-pointer
+-CXXFLAGS=$(CXXOPTFLAGS) -I../enet/include `sdl-config --cflags`
++CXXFLAGS=$(CXXOPTFLAGS) -I../enet/include `sdl-config --cflags` -fpermissive
+ 
+ CLIENT_LIBS=-L../enet -lenet `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL -lGLU 
+ CLIENT_OBJS= \


Property changes on: packages/cube/trunk/debian/patches/01_permissive_gcc.patch
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/cube/trunk/debian/rules
===================================================================
--- packages/cube/trunk/debian/rules	2006-04-01 23:51:33 UTC (rev 414)
+++ packages/cube/trunk/debian/rules	2006-04-02 01:41:18 UTC (rev 415)
@@ -0,0 +1,110 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+	dos2unix src/* # FIXME Is it useful?
+	cd enet && sh configure
+	touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: patch configure-stamp 
+	dh_testdir
+	
+	# Add here commands to compile the package.
+	cd src && $(MAKE) CXXFLAGS="-fpermissive -O2 -Wall `sdl-config --cflags` -I../enet/include"
+
+	#docbook-to-man debian/cube.sgml > cube.1
+
+	touch build-stamp
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	cd src && $(MAKE) clean
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/cube.
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/cube
+
+
+# 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_installchangelogs 
+	dh_installdocs
+	dh_installexamples
+#	dh_install
+#	dh_installmenu
+#	dh_installdebconf	
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_perl
+#	dh_python
+#	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+
+patch: patch-stamp
+patch-stamp:
+	dpatch apply-all
+
+unpatch:
+	dpatch deapply-all
+	rm -rf patch-stamp debian/patched
+
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure patch unpatch


Property changes on: packages/cube/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-games-devel mailing list