r10777 - in packages/branches/love/0.5.0/debian: . patches

Miriam Ruiz miriam at alioth.debian.org
Tue Feb 2 20:55:42 UTC 2010


Author: miriam
Date: 2010-02-02 20:55:42 +0000 (Tue, 02 Feb 2010)
New Revision: 10777

Added:
   packages/branches/love/0.5.0/debian/README.source
   packages/branches/love/0.5.0/debian/love0.5.install
   packages/branches/love/0.5.0/debian/love0.5.postinst
   packages/branches/love/0.5.0/debian/love0.5.prerm
   packages/branches/love/0.5.0/debian/patches/cstdio.patch
Removed:
   packages/branches/love/0.5.0/debian/love.install
Modified:
   packages/branches/love/0.5.0/debian/changelog
   packages/branches/love/0.5.0/debian/control
   packages/branches/love/0.5.0/debian/copyright
   packages/branches/love/0.5.0/debian/patches/series
   packages/branches/love/0.5.0/debian/rules
Log:
Make package compile



Added: packages/branches/love/0.5.0/debian/README.source
===================================================================
--- packages/branches/love/0.5.0/debian/README.source	                        (rev 0)
+++ packages/branches/love/0.5.0/debian/README.source	2010-02-02 20:55:42 UTC (rev 10777)
@@ -0,0 +1,2 @@
+This package uses quilt for patch management, for more information see
+the file /usr/share/doc/quilt/README.source in the quilt package.

Modified: packages/branches/love/0.5.0/debian/changelog
===================================================================
--- packages/branches/love/0.5.0/debian/changelog	2010-02-02 20:30:41 UTC (rev 10776)
+++ packages/branches/love/0.5.0/debian/changelog	2010-02-02 20:55:42 UTC (rev 10777)
@@ -1,6 +1,7 @@
-love (0.5.0-2) UNRELEASED; urgency=low
+love0.5 (0.5.0-1) UNRELEASED; urgency=low
 
   [ Miriam Ruiz ]
+  * Changed package name
   * Prepare package for co-existence with 0.6.0
   * Upgrade Standards-Version from 3.8.1 to 3.8.3
 

Modified: packages/branches/love/0.5.0/debian/control
===================================================================
--- packages/branches/love/0.5.0/debian/control	2010-02-02 20:30:41 UTC (rev 10776)
+++ packages/branches/love/0.5.0/debian/control	2010-02-02 20:55:42 UTC (rev 10777)
@@ -9,8 +9,8 @@
  lua5.1, liblua5.1-expat0
 Standards-Version: 3.8.3
 Homepage: http://love2d.org/
-Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/love/
-Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/love/?op=log
+Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/branches/love/0.5.0/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/branches/love/0.5.0/?op=log
 
 Package: love0.5
 Architecture: any

Modified: packages/branches/love/0.5.0/debian/copyright
===================================================================
--- packages/branches/love/0.5.0/debian/copyright	2010-02-02 20:30:41 UTC (rev 10776)
+++ packages/branches/love/0.5.0/debian/copyright	2010-02-02 20:55:42 UTC (rev 10777)
@@ -305,43 +305,6 @@
     * SWIG (BSD, /usr/share/common-licenses/BSD)
 
 
-
-Documentation (debian/doc):
-
-    Documentation building system downloaded from:
-        http://love.svn.sourceforge.net/viewvc/love/tags/0.5.0/docs2/
-
-    Copyright (C) 2006-2008 LÖVE Development Team. All rights reserved.
-
-    The documentation is licensed under the The FreeBSD Documentation license.
-    This is similar to ZLIB, but meant for written documents as opposed to
-    software.
-
-    Redistribution and use in source (XML) and compiled forms (HTML) with or
-    without modification, are permitted provided that the following conditions
-    are met:
- 
-    1. Redistributions of source code (XML) must retain the above copyright
-    notice, this list of conditions and the following disclaimer as the first
-    lines of this file unmodified.
- 
-    2. Redistributions in compiled form (HTML) must reproduce the above
-    copyright notice, this list of conditions and the following disclaimer
-    in the documentation and/or other materials provided with the distribution.
- 
-    THIS DOCUMENTATION IS PROVIDED BY THE LOVE DEVELOPMENT TEAM "AS IS" AND
-    ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-    ARE DISCLAIMED. IN NO EVENT SHALL THE LOVE DEVELOPMENT TEAM BE LIABLE FOR
-    ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-    DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
-    SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-    CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-    LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-    OUT OF THE USE OF THIS DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY
-    OF SUCH DAMAGE.
-
-
 Artwork (debian/logos and debian/pixmaps):
 
     Downloaded from http://love2d.org/logos/

Deleted: packages/branches/love/0.5.0/debian/love.install
===================================================================
--- packages/branches/love/0.5.0/debian/love.install	2010-02-02 20:30:41 UTC (rev 10776)
+++ packages/branches/love/0.5.0/debian/love.install	2010-02-02 20:55:42 UTC (rev 10777)
@@ -1,5 +0,0 @@
-#bin/love* usr/games/
-debian/scripts/* usr/share/doc/love/scripts/
-debian/*.desktop usr/share/applications/
-debian/pixmaps/*.xpm usr/share/pixmaps/
-debian/pixmaps/*.png usr/share/pixmaps/

Copied: packages/branches/love/0.5.0/debian/love0.5.install (from rev 10776, packages/branches/love/0.5.0/debian/love.install)
===================================================================
--- packages/branches/love/0.5.0/debian/love0.5.install	                        (rev 0)
+++ packages/branches/love/0.5.0/debian/love0.5.install	2010-02-02 20:55:42 UTC (rev 10777)
@@ -0,0 +1,3 @@
+debian/*.desktop usr/share/applications/
+debian/pixmaps/*.xpm usr/share/pixmaps/
+debian/pixmaps/*.png usr/share/pixmaps/

Added: packages/branches/love/0.5.0/debian/love0.5.postinst
===================================================================
--- packages/branches/love/0.5.0/debian/love0.5.postinst	                        (rev 0)
+++ packages/branches/love/0.5.0/debian/love0.5.postinst	2010-02-02 20:55:42 UTC (rev 10777)
@@ -0,0 +1,44 @@
+#!/bin/sh
+# postinst script for #PACKAGE#
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <postinst> `abort-remove'
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    configure)
+        update-alternatives --quiet --install \
+            /usr/bin/love \
+            love \
+            /usr/bin/love-0.5 \
+           9
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0

Added: packages/branches/love/0.5.0/debian/love0.5.prerm
===================================================================
--- packages/branches/love/0.5.0/debian/love0.5.prerm	                        (rev 0)
+++ packages/branches/love/0.5.0/debian/love0.5.prerm	2010-02-02 20:55:42 UTC (rev 10777)
@@ -0,0 +1,41 @@
+#!/bin/sh
+# prerm script for #PACKAGE#
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <prerm> `remove'
+#        * <old-prerm> `upgrade' <new-version>
+#        * <new-prerm> `failed-upgrade' <old-version>
+#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+#        * <deconfigured's-prerm> `deconfigure' `in-favour'
+#          <package-being-installed> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    remove|upgrade|deconfigure)
+        update-alternatives --quiet --remove \
+            love \
+            /usr/bin/love-0.5
+    ;;
+
+    failed-upgrade)
+    ;;
+
+    *)
+        echo "prerm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0

Added: packages/branches/love/0.5.0/debian/patches/cstdio.patch
===================================================================
--- packages/branches/love/0.5.0/debian/patches/cstdio.patch	                        (rev 0)
+++ packages/branches/love/0.5.0/debian/patches/cstdio.patch	2010-02-02 20:55:42 UTC (rev 10777)
@@ -0,0 +1,10 @@
+--- a/src/opengl/ImageFont.cpp
++++ b/src/opengl/ImageFont.cpp
+@@ -1,6 +1,7 @@
+ #include "ImageFont.h"
+ 
+ #include <SDL_opengl.h>
++#include <cstdio>
+ 
+ using std::string;
+ 

Modified: packages/branches/love/0.5.0/debian/patches/series
===================================================================
--- packages/branches/love/0.5.0/debian/patches/series	2010-02-02 20:30:41 UTC (rev 10776)
+++ packages/branches/love/0.5.0/debian/patches/series	2010-02-02 20:55:42 UTC (rev 10777)
@@ -1,2 +1,3 @@
 cstrings.patch
 no-ILvoid-type.diff
+cstdio.patch

Modified: packages/branches/love/0.5.0/debian/rules
===================================================================
--- packages/branches/love/0.5.0/debian/rules	2010-02-02 20:30:41 UTC (rev 10776)
+++ packages/branches/love/0.5.0/debian/rules	2010-02-02 20:55:42 UTC (rev 10777)
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+PRG_SUFFIX=0.5
+
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
  
@@ -35,7 +37,6 @@
 build-indep: build-indep-stamp
 build-indep-stamp: configure-stamp  
 	dh_testdir
-	$(MAKE) -C debian/doc
 	touch $@
 
 build: build-indep build-arch
@@ -50,7 +51,6 @@
 	rm -rf obj/*
 	rm -f `find . -name "*.o"`
 	rm -f debian/pixmaps/*.png
-	$(MAKE) -C debian/doc clean
 	$(MAKE) -f /usr/share/quilt/quilt.make unpatch
 	dh_clean 
 
@@ -59,7 +59,8 @@
 	dh_testroot
 	dh_prep -a
 	dh_installdirs -a
-	$(MAKE) DESTDIR=$(CURDIR)/debian/love install
+	$(MAKE) DESTDIR=$(CURDIR)/debian/love$(PRG_SUFFIX) install
+	mv debian/love$(PRG_SUFFIX)/usr/bin/love debian/love$(PRG_SUFFIX)/usr/bin/love-$(PRG_SUFFIX)
 
 install-indep: build-indep-stamp
 	dh_testdir
@@ -95,10 +96,9 @@
 #	dh_installmenu -a
 	dh_installmime -a
 #	dh_installinfo -a
-	dh_installman debian/love.1 -a
-	dh_desktop -a
+	dh_installman debian/love-$(PRG_SUFFIX).1 -a
 	dh_link -a
-	dh_strip --dbg-package=love-dbg -a
+	dh_strip --dbg-package=love$(PRG_SUFFIX)-dbg -a
 	dh_compress -a
 	dh_fixperms -a
 #	dh_makeshlibs -a




More information about the Pkg-games-commits mailing list