[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Love in Debian



Hi,

I'm finally uploading Love to Debian. As it is a new package it'll
have to wait for some time in the NEW queue to be approved by the
ftpmasters. Until it finally enters Debian, I'm putting it temporarily
available here: http://users.alioth.debian.org/~miriam/love/

I'm sending attached the small patches I had to apply to make it
compile properly in Debian, in case you're interested.

As far as the documentation goes,
http://love2d.org/ddocs/love-0.4-0-docs.xml doesn't compile to html
with the comment header ("<!--", "-->") so I had to remove it. It's no
big deal as the same copyright and license code is already in text in
the packge, but I thought you might be interested.

As a side note regarding copyright stuff, be aware that you're
including a piece of code ( src/box2d/graham/ ) that is covered under
CPL, which is incompatible with GPL. It is not an issue right now, but
be aware of it because you might have a potential licensing issue with
that in the future.

Thanks a lot for your work :)

Greetings,
Miry
# Copyright (C) 2008  Miriam Ruiz <little_miry@yahoo.es>
# Distributed under the same license as the game. See debian/copyright.

Index: love/Makefile
===================================================================
--- love.orig/Makefile	2008-08-29 01:42:40.000000000 +0200
+++ love/Makefile	2008-08-30 02:55:05.000000000 +0200
@@ -6,6 +6,7 @@
 CC = g++
 CFLAGS = -g0 -O3 -Wall
 CFLAGS_MOD = -g0 -O3
+LDFLAGS =
 BINDIR = bin
 
 # Inclusion paths.
@@ -249,7 +250,7 @@
 $(LOVE_TARGET): $(LOVE_OBJ) $(LIBLOVE_OBJ) $(SDLTIMER_OBJ) $(PHYSFS_OBJ) \
 		  $(OPENGL_OBJ) $(SDLKEYBOARD_OBJ) $(SDLMOUSE_OBJ) \
 		  $(SDLMIXER_OBJ) $(SYSTEM_OBJ) $(BOX2D_OBJ)
-	$(CC) $(LOVE_LDFLAGS) -o $(BINDIR)/$@ $^
+	$(CC) $(LDFLAGS) -o $(BINDIR)/$@ $^ $(LOVE_LDFLAGS)
 
 $(LOVE_OBJDIR)/%.o: $(LOVE_SRCDIR)/%.cpp
 	$(CC) $(CFLAGS) $(LOVE_INCLUDES) -c $< -o $@
# Copyright (C) 2008  Miriam Ruiz <little_miry@yahoo.es>
# Distributed under the same license as the game. See debian/copyright.

Index: love/src/box2d/Source/Collision/b2BroadPhase.cpp
===================================================================
--- love.orig/src/box2d/Source/Collision/b2BroadPhase.cpp	2008-08-30 03:09:48.000000000 +0200
+++ love/src/box2d/Source/Collision/b2BroadPhase.cpp	2008-08-30 03:09:49.000000000 +0200
@@ -18,6 +18,7 @@
 
 #include "b2BroadPhase.h"
 #include <algorithm>
+#include <string.h>
 
 // Notes:
 // - we use bound arrays instead of linked lists for cache coherence.
Index: love/src/box2d/Source/Common/b2BlockAllocator.cpp
===================================================================
--- love.orig/src/box2d/Source/Common/b2BlockAllocator.cpp	2008-08-30 03:09:48.000000000 +0200
+++ love/src/box2d/Source/Common/b2BlockAllocator.cpp	2008-08-30 03:09:49.000000000 +0200
@@ -20,6 +20,7 @@
 #include <cstdlib>
 #include <memory>
 #include <climits>
+#include <string.h>
 
 int32 b2BlockAllocator::s_blockSizes[b2_blockSizes] = 
 {
Index: love/src/box2d/Source/Dynamics/Contacts/b2CircleContact.cpp
===================================================================
--- love.orig/src/box2d/Source/Dynamics/Contacts/b2CircleContact.cpp	2008-08-30 03:09:48.000000000 +0200
+++ love/src/box2d/Source/Dynamics/Contacts/b2CircleContact.cpp	2008-08-30 03:09:49.000000000 +0200
@@ -22,6 +22,7 @@
 #include "../../Common/b2BlockAllocator.h"
 
 #include <new>
+#include <string.h>
 
 b2Contact* b2CircleContact::Create(b2Shape* shape1, b2Shape* shape2, b2BlockAllocator* allocator)
 {
Index: love/src/box2d/Source/Dynamics/Contacts/b2PolyAndCircleContact.cpp
===================================================================
--- love.orig/src/box2d/Source/Dynamics/Contacts/b2PolyAndCircleContact.cpp	2008-08-30 03:09:48.000000000 +0200
+++ love/src/box2d/Source/Dynamics/Contacts/b2PolyAndCircleContact.cpp	2008-08-30 03:09:49.000000000 +0200
@@ -22,6 +22,7 @@
 #include "../../Common/b2BlockAllocator.h"
 
 #include <new>
+#include <string.h>
 
 b2Contact* b2PolyAndCircleContact::Create(b2Shape* shape1, b2Shape* shape2, b2BlockAllocator* allocator)
 {
Index: love/src/box2d/Source/Dynamics/Contacts/b2PolyContact.cpp
===================================================================
--- love.orig/src/box2d/Source/Dynamics/Contacts/b2PolyContact.cpp	2008-08-30 03:10:40.000000000 +0200
+++ love/src/box2d/Source/Dynamics/Contacts/b2PolyContact.cpp	2008-08-30 03:10:52.000000000 +0200
@@ -23,6 +23,7 @@
 
 #include <memory>
 #include <new>
+#include <string.h>
 
 b2Contact* b2PolygonContact::Create(b2Shape* shape1, b2Shape* shape2, b2BlockAllocator* allocator)
 {

Reply to: