--- box2d-2.0.1.orig/debian/docs +++ box2d-2.0.1/debian/docs @@ -0,0 +1,2 @@ +Box2D/Readme.txt +Box2D/TODO.txt --- box2d-2.0.1.orig/debian/copyright +++ box2d-2.0.1/debian/copyright @@ -0,0 +1,112 @@ +Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=437 +Upstream-Name: Box2D +Upstream-Maintainer: Erin Catto +Upstream-Source: http://www.box2d.org/ +Files: * +Copyright: Copyright 2007, Erin Catto +License: ZLIB + Copyright (c) 2006-2007 Erin Catto http://www.gphysics.com + . + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + . + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + . + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + +Files: Box2D/Source/Common/jtypes.h +Copyright: Copyright 2005, Michael Noland (joat) +Copyright: Copyright 2005, Jason Rogers (dovoto) +Copyright: Copyright 2005, Dave Murphy (WinterMute) +Copyright: Copyright 2005, Chris Double (doublec) +License: ZLIB + Copyright (c) 2006-2007 Erin Catto http://www.gphysics.com + . + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + . + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + . + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + +Copyright: Copyright 2006, Henry Strickland +Copyright: Copyright 2006, Ryan Seto +Copyright: Copyright 2008, Tobias Weyand +License: MIT + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR + OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. + + +Files: debian/* +Copyright: Copyright 2009, Tanguy Herrmann (dolanor) +License: GPL-2+ + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +X-Comment: On Debian GNU/Linux systems, the complete text of the GNU +General Public License can be found in /usr/share/common-licenses/GPL-2 + +Files: debian/box2d.pc +Copyright: Copyright 2008, Miriam Ruiz +License: ZLIB + Copyright (c) 2008 Miriam Ruiz + . + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + . + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + . + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. --- box2d-2.0.1.orig/debian/libbox2d-dev.install +++ box2d-2.0.1/debian/libbox2d-dev.install @@ -0,0 +1,8 @@ +Box2D/Include/*.h usr/include/box2d/Include +Box2D/Source/Common/*.h usr/include/box2d/Source/Common/ +Box2D/Source/Dynamics/*.h usr/include/box2d/Source/Dynamics/ +Box2D/Source/Dynamics/Contacts/*.h usr/include/box2d/Source/Dynamics/Contacts/ +Box2D/Source/Dynamics/Joints/*.h usr/include/box2d/Source/Dynamics/Joints/ +Box2D/Source/Collision/*.h usr/include/box2d/Source/Collision/ +Box2D/Source/Collision/Shapes/*.h usr/include/box2d/Source/Collision/Shapes/ +debian/box2d.pc usr/lib/pkgconfig/ --- box2d-2.0.1.orig/debian/README.Debian +++ box2d-2.0.1/debian/README.Debian @@ -0,0 +1,18 @@ +Box2D +----- + +The current version on the original SourceForge download page isn't that cool. +I needed to patch-a-lot some minor problem otherwise FTBFS. + +I discover then that upstream was trying to find a better mean to get a +GNU/Linux version. Someone added CMake support and it will be the way to go +next. +They even released an archive on the forum (grab it there : +http://www.box2d.org/forum/download/file.php?id=365) +So I packaged this version instead of the one on the website. It saves +patch/time/complication. The CMake allowed me to change static compilation +to shared with soname in a 2 line patch. +Now they adding those modification on the SVN for a new release. For now, +it is in a branch. + + -- Tanguy Herrmann (dolanor) , Mon, 16 Feb 2009 16:59:37 +0100 --- box2d-2.0.1.orig/debian/compat +++ box2d-2.0.1/debian/compat @@ -0,0 +1 @@ +7 --- box2d-2.0.1.orig/debian/libbox2d2.install +++ box2d-2.0.1/debian/libbox2d2.install @@ -0,0 +1 @@ +build/libbox2d.so.2 usr/lib/ --- box2d-2.0.1.orig/debian/watch +++ box2d-2.0.1/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://sf.net/box2d/Box2D_v([\d.]*)\.zip +#http://box2d.svn.sourceforge.net/viewvc/box2d/branches/groundzero.tar.gz?view=tar&pathrev=([\d.]*) --- box2d-2.0.1.orig/debian/box2d.pc +++ box2d-2.0.1/debian/box2d.pc @@ -0,0 +1,13 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include/box2d/Include/ + +Name: box2d +Description: 2D physics engine +Version: 2.0.1 +Requires: +Conflicts: +Libs: -L${libdir} -lbox2d +Cflags: -I${includedir} + --- box2d-2.0.1.orig/debian/libbox2d-dev.links +++ box2d-2.0.1/debian/libbox2d-dev.links @@ -0,0 +1,3 @@ +usr/lib/libbox2d.so.2 usr/lib/libbox2d.so.2.0.1 +usr/lib/libbox2d.so.2 usr/lib/libbox2d.so.2.0 +usr/lib/libbox2d.so.2 usr/lib/libbox2d.so --- box2d-2.0.1.orig/debian/rules +++ box2d-2.0.1/debian/rules @@ -0,0 +1,17 @@ +#!/usr/bin/make -f + + + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/cmake.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk +#include /usr/share/dpatch/dpatch.make +# Add here any variable or target overrides you need. + +DEB_BUILDDIR=build/ +#DEB_CMAKE_NORMAL_ARGS += Box2D/Source + +cdbs_simple_patchsys_levels = 1 0 2 3 + +DEB_SRCDIR = Box2D/Source +DEB_MAKE_INSTALL_TARGET = --- box2d-2.0.1.orig/debian/control +++ box2d-2.0.1/debian/control @@ -0,0 +1,33 @@ +Source: box2d +Section: libs +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Tanguy Herrmann +Build-Depends: cdbs, debhelper (>= 7), cmake +Standards-Version: 3.8.0 +Homepage: http://www.box2d.org/ + +Package: libbox2d2 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: C++ 2D physics engine for games + 2D rigid body simulation library for games. Programmers can use it in + their games to make objects move in believable ways and make the world + seem more interactive. From the game's point of view a physics engine is + just a system for procedural animation. Rather than paying (or begging) + an animator to move your actors around, you can let Sir Isaac Newton do + the directing. + +Package: libbox2d-dev +Section: libdevel +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: 2D physics engine - development files + 2D rigid body simulation library for games. Programmers can use it in + their games to make objects move in believable ways and make the world + seem more interactive. From the game's point of view a physics engine is + just a system for procedural animation. Rather than paying (or begging) + an animator to move your actors around, you can let Sir Isaac Newton do + the directing. + . + This package contains the development libraries and headers. --- box2d-2.0.1.orig/debian/changelog +++ box2d-2.0.1/debian/changelog @@ -0,0 +1,13 @@ +box2d (2.0.1-0ubuntu1~ppa1) jaunty; urgency=low + + * bla + * + + -- Tanguy Herrmann (dolanor) Mon, 16 Feb 2009 23:55:28 +0100 + +box2d (2.0.1-0ubuntu1) jaunty; urgency=low + + * Initial release (LP: #274943) + + -- Tanguy Herrmann (dolanor) Fri, 13 Feb 2009 21:34:16 +0100 + --- box2d-2.0.1.orig/debian/patches/01_shared_and_soversion.patch +++ box2d-2.0.1/debian/patches/01_shared_and_soversion.patch @@ -0,0 +1,10 @@ +diff -Nur -x '*.orig' -x '*~' box2d-2.0.1/Box2D/Source/CMakeLists.txt box2d-2.0.1.new/Box2D/Source/CMakeLists.txt +--- box2d-2.0.1/Box2D/Source/CMakeLists.txt 2008-10-22 14:18:42.000000000 +0200 ++++ box2d-2.0.1.new/Box2D/Source/CMakeLists.txt 2009-02-16 20:06:34.000000000 +0100 +@@ -32,4 +32,5 @@ + ./Dynamics/b2WorldCallbacks.cpp + ) + +-add_library( Box2D STATIC ${SOURCES} ) ++add_library( box2d SHARED ${SOURCES} ) ++set_target_properties( box2d PROPERTIES SOVERSION 2 )