r14810 - in packages/branches/love/0.4/debian: . patches

Miriam Ruiz miriam at moszumanska.debian.org
Mon Jan 13 19:29:29 UTC 2014


Author: miriam
Date: 2014-01-13 19:29:29 +0000 (Mon, 13 Jan 2014)
New Revision: 14810

Added:
   packages/branches/love/0.4/debian/patches/securify.patch
Modified:
   packages/branches/love/0.4/debian/changelog
   packages/branches/love/0.4/debian/control
   packages/branches/love/0.4/debian/love-0.4.desktop
   packages/branches/love/0.4/debian/patches/series
   packages/branches/love/0.4/debian/rules
Log:
Improve package



Modified: packages/branches/love/0.4/debian/changelog
===================================================================
--- packages/branches/love/0.4/debian/changelog	2014-01-13 06:59:44 UTC (rev 14809)
+++ packages/branches/love/0.4/debian/changelog	2014-01-13 19:29:29 UTC (rev 14810)
@@ -3,7 +3,7 @@
   [ Miriam Ruiz ]
   * Changed package name
   * Prepare package for co-existence with other versions
-  * Upgrade Standards-Version from 3.8.0 to 3.9.1
+  * Upgrade Standards-Version from 3.8.0 to 3.9.4
   * Moved to source format 3.0 (quilt). See http://wiki.debian.org/Projects/DebSrc3.0
   * Removed dependency from SNG
   * Removed love-dev package

Modified: packages/branches/love/0.4/debian/control
===================================================================
--- packages/branches/love/0.4/debian/control	2014-01-13 06:59:44 UTC (rev 14809)
+++ packages/branches/love/0.4/debian/control	2014-01-13 19:29:29 UTC (rev 14810)
@@ -6,7 +6,7 @@
 Build-Depends: debhelper (>= 7), quilt, dh-buildinfo, lua5.1, liblua5.1-expat0,
  libboost-dev, libsdl1.2-dev, libsdl-mixer1.2-dev, liblua5.1-0-dev,
  libphysfs-dev, libdevil-dev, libfreetype6-dev 
-Standards-Version: 3.9.1
+Standards-Version: 3.9.4
 Homepage: http://love2d.org/
 Vcs-Svn: svn://anonscm.debian.org/pkg-games/packages/branches/love/0.4/
 Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-games/packages/branches/love/0.4/

Modified: packages/branches/love/0.4/debian/love-0.4.desktop
===================================================================
--- packages/branches/love/0.4/debian/love-0.4.desktop	2014-01-13 06:59:44 UTC (rev 14809)
+++ packages/branches/love/0.4/debian/love-0.4.desktop	2014-01-13 19:29:29 UTC (rev 14810)
@@ -1,11 +1,11 @@
 [Desktop Entry]
-Name=Löve Game
+Name=Löve v0.4 Game
 Type=Application
-Exec=love %f
-Icon=love-app-64.png
-Encoding=UTF-8
-Comment=Run Löve game
-Comment[es]=Ejecutar juego de Löve
+Exec=love-0.4 %f
+Icon=love-app-0.4
+Comment=Run Löve v0.4 game
+Comment[es]=Ejecutar juego de Löve v0.4
+NoDisplay=true
 Terminal=false
-MimeType=application/x-love-game
+MimeType=application/x-love-game;
 Categories=Game;

Added: packages/branches/love/0.4/debian/patches/securify.patch
===================================================================
--- packages/branches/love/0.4/debian/patches/securify.patch	                        (rev 0)
+++ packages/branches/love/0.4/debian/patches/securify.patch	2014-01-13 19:29:29 UTC (rev 14810)
@@ -0,0 +1,13 @@
+Index: love-0.4/src/opengl/Image.cpp
+===================================================================
+--- love-0.4.orig/src/opengl/Image.cpp	2014-01-13 19:59:17.000000000 +0100
++++ love-0.4/src/opengl/Image.cpp	2014-01-13 20:04:39.718288019 +0100
+@@ -176,7 +176,7 @@
+ 
+ 		// Check for errors
+ 		if(!success)
+-			printf((const char *)iluErrorString(ilGetError()));
++			printf("%s", (const char *)iluErrorString(ilGetError()));
+ 
+ 		this->width	= (float)ilGetInteger(IL_IMAGE_WIDTH);
+ 		this->height = (float)ilGetInteger(IL_IMAGE_HEIGHT);

Modified: packages/branches/love/0.4/debian/patches/series
===================================================================
--- packages/branches/love/0.4/debian/patches/series	2014-01-13 06:59:44 UTC (rev 14809)
+++ packages/branches/love/0.4/debian/patches/series	2014-01-13 19:29:29 UTC (rev 14810)
@@ -2,3 +2,4 @@
 headers.patch
 ilvoid.patch
 include.patch
+securify.patch

Modified: packages/branches/love/0.4/debian/rules
===================================================================
--- packages/branches/love/0.4/debian/rules	2014-01-13 06:59:44 UTC (rev 14809)
+++ packages/branches/love/0.4/debian/rules	2014-01-13 19:29:29 UTC (rev 14810)
@@ -2,11 +2,11 @@
 
 PRG_SUFFIX=0.4
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
- 
-LDFLAGS=-Wl,-z,defs -Wl,-as-needed
- 
+CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
+CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
+CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
+LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) -Wl,-z,defs -Wl,-as-needed
+
 patch:
 	$(MAKE) -f /usr/share/quilt/quilt.make patch
 
@@ -21,7 +21,9 @@
 	$(MAKE) \
 		CFLAGS="$(CFLAGS)" \
 		CFLAGS_MOD="$(CFLAGS)" \
-		LDFLAGS="$(LDFLAGS)"
+		LDFLAGS="$(LDFLAGS)" \
+		CPPFLAGS="$(CPPFLAGS)" \
+		CXXFLAGS="$(CXXFLAGS)"
 	touch $@
 
 build-indep: build-indep-stamp
@@ -68,7 +70,7 @@
 	dh_installexamples -i
 	dh_install -i
 	dh_link -i
-	dh_compress -i
+	dh_compress -i --exclude=.love --exclude=.lua
 	dh_fixperms -i
 	test -e /usr/bin/dh_buildinfo && dh_buildinfo -i
 	dh_installdeb -i
@@ -90,7 +92,7 @@
 	dh_installman debian/love-$(PRG_SUFFIX).1 -a
 	dh_link -a
 	dh_strip --dbg-package=love$(PRG_SUFFIX)-dbg -a
-	dh_compress -a
+	dh_compress -a --exclude=.love --exclude=.lua
 	dh_fixperms -a
 #	dh_makeshlibs -a
 	test -e /usr/bin/dh_buildinfo && dh_buildinfo -a




More information about the Pkg-games-commits mailing list