From nobody@FreeBSD.org  Sun Dec 16 01:37:50 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 8F229C73
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 16 Dec 2012 01:37:50 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 657638FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 16 Dec 2012 01:37:50 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qBG1boYQ082230
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 16 Dec 2012 01:37:50 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id qBG1boLj082229;
	Sun, 16 Dec 2012 01:37:50 GMT
	(envelope-from nobody)
Message-Id: <201212160137.qBG1boLj082229@red.freebsd.org>
Date: Sun, 16 Dec 2012 01:37:50 GMT
From: "Tim &#268;as" <ports@stdrand.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: New port: devel/ChipmunkPhysics - A 2D physics engine written in C
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         174465
>Category:       ports
>Synopsis:       New port: devel/ChipmunkPhysics - A 2D physics engine written in C
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bdrewery
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 16 01:40:00 UTC 2012
>Closed-Date:    Fri Dec 28 09:57:44 CST 2012
>Last-Modified:  Fri Dec 28 16:00:00 UTC 2012
>Originator:     Tim &#268;as
>Release:        9.1-RC3
>Organization:
n/a
>Environment:
FreeBSD tsibsd.tsi 9.1-RC3 FreeBSD 9.1-RC3 #0 r242324: Tue Oct 30 00:58:57 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Tested to work on the following compilers:

- FreeBSD clang version 3.1 (branches/release_31 156863) 20120523
  Target: x86_64-unknown-freebsd9.0
  Thread model: posix
This is the compiler that's in 9.1-RC3 core.

- All sorts of versions of GCC, both for x86 and amd64 architectures

The library is also known to work on ARM platforms, but I haven't tested it myself.

NOTE: This port does *NOT* work with clang 3.0. Collision detection does not work for some reason (I suspect a compiler bug for reasons I will not go into here) if the library is compiled with that compiler.
>How-To-Repeat:
n/a
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	ChipmunkPhysics
#	ChipmunkPhysics/pkg-descr
#	ChipmunkPhysics/pkg-plist
#	ChipmunkPhysics/distinfo
#	ChipmunkPhysics/Makefile
#
echo c - ChipmunkPhysics
mkdir -p ChipmunkPhysics > /dev/null 2>&1
echo x - ChipmunkPhysics/pkg-descr
sed 's/^X//' >ChipmunkPhysics/pkg-descr << 'c1aac77d96f1c9251f9034a2dc2befcb'
XChipmunk is a simple, lightweight, fast and portable 2D rigid body physics
Xlibrary written in C. It's licensed under the unrestrictive, OSI approved MIT
Xlicense.
X
XWWW: http://chipmunk-physics.net/
c1aac77d96f1c9251f9034a2dc2befcb
echo x - ChipmunkPhysics/pkg-plist
sed 's/^X//' >ChipmunkPhysics/pkg-plist << 'fa4a7a6794330afb2ee2cb5f2174c4b2'
Xlib/libchipmunk.so.6.1.2
Xlib/libchipmunk.so
Xlib/libchipmunk.a
Xinclude/chipmunk/cpBody.h
Xinclude/chipmunk/chipmunk_unsafe.h
Xinclude/chipmunk/cpVect.h
Xinclude/chipmunk/cpSpatialIndex.h
Xinclude/chipmunk/chipmunk_ffi.h
Xinclude/chipmunk/chipmunk.h
Xinclude/chipmunk/cpShape.h
Xinclude/chipmunk/cpSpace.h
Xinclude/chipmunk/cpPolyShape.h
Xinclude/chipmunk/chipmunk_types.h
Xinclude/chipmunk/cpArbiter.h
Xinclude/chipmunk/cpBB.h
Xinclude/chipmunk/chipmunk_private.h
Xinclude/chipmunk/constraints/cpConstraint.h
Xinclude/chipmunk/constraints/util.h
Xinclude/chipmunk/constraints/cpGearJoint.h
Xinclude/chipmunk/constraints/cpGrooveJoint.h
Xinclude/chipmunk/constraints/cpSlideJoint.h
Xinclude/chipmunk/constraints/cpDampedRotarySpring.h
Xinclude/chipmunk/constraints/cpPivotJoint.h
Xinclude/chipmunk/constraints/cpDampedSpring.h
Xinclude/chipmunk/constraints/cpRatchetJoint.h
Xinclude/chipmunk/constraints/cpSimpleMotor.h
Xinclude/chipmunk/constraints/cpRotaryLimitJoint.h
Xinclude/chipmunk/constraints/cpPinJoint.h
X@dirrm include/chipmunk/constraints
X@dirrm include/chipmunk
fa4a7a6794330afb2ee2cb5f2174c4b2
echo x - ChipmunkPhysics/distinfo
sed 's/^X//' >ChipmunkPhysics/distinfo << '537375e7c769027f598d827bb407173f'
XSHA256 (Chipmunk-6.1.2.tgz) = f9d3e7d2480e50b034081613c18fa90421d5bf002af813ef1443e832dac43fc2
XSIZE (Chipmunk-6.1.2.tgz) = 324892
537375e7c769027f598d827bb407173f
echo x - ChipmunkPhysics/Makefile
sed 's/^X//' >ChipmunkPhysics/Makefile << 'b80ce814beb73d1a0b93b84898a3a8a0'
X# Created by: Tim Cas <ports@stdrand.com>
X# $FreeBSD$
X
XPORTNAME=		ChipmunkPhysics
XPORTVERSION=		6.1.2
XCATEGORIES=		devel
XMASTER_SITES=		http://chipmunk-physics.net/release/Chipmunk-6.x/ \
X			http://files.libsiege.org/chipmunk/
XDISTNAME=		Chipmunk-${PORTVERSION}
XEXTRACT_SUFX=		.tgz
X
XMAINTAINER=	ports@stdrand.com
XCOMMENT=	A 2D physics engine written in C
X
XLICENSE=	MIT
XLICENSE_FILE=	${WRKSRC}/LICENSE.txt
X
X#OPTIONS_DEFINE=	DEMO
X#DEMO_DESC=	Build and install the demo program
X
XUSE_CMAKE=	yes
XCMAKE_ARGS=	-DBUILD_DEMOS=OFF
X
XUSE_LDCONFIG=	yes
X
X.include <bsd.port.mk>
b80ce814beb73d1a0b93b84898a3a8a0
exit


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	ChipmunkPhysics
#	ChipmunkPhysics/pkg-descr
#	ChipmunkPhysics/pkg-plist
#	ChipmunkPhysics/distinfo
#	ChipmunkPhysics/Makefile
#
echo c - ChipmunkPhysics
mkdir -p ChipmunkPhysics > /dev/null 2>&1
echo x - ChipmunkPhysics/pkg-descr
sed 's/^X//' >ChipmunkPhysics/pkg-descr << 'c1aac77d96f1c9251f9034a2dc2befcb'
XChipmunk is a simple, lightweight, fast and portable 2D rigid body physics
Xlibrary written in C. It's licensed under the unrestrictive, OSI approved MIT
Xlicense.
X
XWWW: http://chipmunk-physics.net/
c1aac77d96f1c9251f9034a2dc2befcb
echo x - ChipmunkPhysics/pkg-plist
sed 's/^X//' >ChipmunkPhysics/pkg-plist << 'fa4a7a6794330afb2ee2cb5f2174c4b2'
Xlib/libchipmunk.so.6.1.2
Xlib/libchipmunk.so
Xlib/libchipmunk.a
Xinclude/chipmunk/cpBody.h
Xinclude/chipmunk/chipmunk_unsafe.h
Xinclude/chipmunk/cpVect.h
Xinclude/chipmunk/cpSpatialIndex.h
Xinclude/chipmunk/chipmunk_ffi.h
Xinclude/chipmunk/chipmunk.h
Xinclude/chipmunk/cpShape.h
Xinclude/chipmunk/cpSpace.h
Xinclude/chipmunk/cpPolyShape.h
Xinclude/chipmunk/chipmunk_types.h
Xinclude/chipmunk/cpArbiter.h
Xinclude/chipmunk/cpBB.h
Xinclude/chipmunk/chipmunk_private.h
Xinclude/chipmunk/constraints/cpConstraint.h
Xinclude/chipmunk/constraints/util.h
Xinclude/chipmunk/constraints/cpGearJoint.h
Xinclude/chipmunk/constraints/cpGrooveJoint.h
Xinclude/chipmunk/constraints/cpSlideJoint.h
Xinclude/chipmunk/constraints/cpDampedRotarySpring.h
Xinclude/chipmunk/constraints/cpPivotJoint.h
Xinclude/chipmunk/constraints/cpDampedSpring.h
Xinclude/chipmunk/constraints/cpRatchetJoint.h
Xinclude/chipmunk/constraints/cpSimpleMotor.h
Xinclude/chipmunk/constraints/cpRotaryLimitJoint.h
Xinclude/chipmunk/constraints/cpPinJoint.h
X@dirrm include/chipmunk/constraints
X@dirrm include/chipmunk
fa4a7a6794330afb2ee2cb5f2174c4b2
echo x - ChipmunkPhysics/distinfo
sed 's/^X//' >ChipmunkPhysics/distinfo << '537375e7c769027f598d827bb407173f'
XSHA256 (Chipmunk-6.1.2.tgz) = f9d3e7d2480e50b034081613c18fa90421d5bf002af813ef1443e832dac43fc2
XSIZE (Chipmunk-6.1.2.tgz) = 324892
537375e7c769027f598d827bb407173f
echo x - ChipmunkPhysics/Makefile
sed 's/^X//' >ChipmunkPhysics/Makefile << 'b80ce814beb73d1a0b93b84898a3a8a0'
X# Created by: Tim Cas <ports@stdrand.com>
X# $FreeBSD$
X
XPORTNAME=		ChipmunkPhysics
XPORTVERSION=		6.1.2
XCATEGORIES=		devel
XMASTER_SITES=		http://chipmunk-physics.net/release/Chipmunk-6.x/ \
X			http://files.libsiege.org/chipmunk/
XDISTNAME=		Chipmunk-${PORTVERSION}
XEXTRACT_SUFX=		.tgz
X
XMAINTAINER=	ports@stdrand.com
XCOMMENT=	A 2D physics engine written in C
X
XLICENSE=	MIT
XLICENSE_FILE=	${WRKSRC}/LICENSE.txt
X
X#OPTIONS_DEFINE=	DEMO
X#DEMO_DESC=	Build and install the demo program
X
XUSE_CMAKE=	yes
XCMAKE_ARGS=	-DBUILD_DEMOS=OFF
X
XUSE_LDCONFIG=	yes
X
X.include <bsd.port.mk>
b80ce814beb73d1a0b93b84898a3a8a0
exit



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->bdrewery 
Responsible-Changed-By: bdrewery 
Responsible-Changed-When: Sun Dec 16 10:22:01 CST 2012 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=174465 

From: =?UTF-8?B?VGltIMSMYXM=?= <darkuranium@gmail.com>
To: bug-followup@FreeBSD.org, ports@stdrand.com
Cc:  
Subject: Re: ports/174465: New port: devel/ChipmunkPhysics - A 2D physics
 engine written in C
Date: Sat, 22 Dec 2012 15:24:08 +0100

 --14dae9399dbd9d74c804d171b7f2
 Content-Type: text/plain; charset=ISO-8859-1
 
 Do you reckon that it should be "devel/chipmunk-physics" instead? I can
 easily modify the port.
 
 The reason it's not simply "devel/chipmunk" is that the name "chipmunk" is
 already taken by "cad/chipmunk".
 
 --14dae9399dbd9d74c804d171b7f2
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 Do you reckon that it should be &quot;devel/chipmunk-physics&quot; instead?=
  I can easily modify the port.<br><br>The reason it&#39;s not simply &quot;=
 devel/chipmunk&quot; is that the name &quot;chipmunk&quot; is already taken=
  by &quot;cad/chipmunk&quot;.<br>
 
 --14dae9399dbd9d74c804d171b7f2--
State-Changed-From-To: open->closed 
State-Changed-By: bdrewery 
State-Changed-When: Fri Dec 28 09:57:43 CST 2012 
State-Changed-Why:  
New port added, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=174465 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/174465: commit references a PR
Date: Fri, 28 Dec 2012 15:57:46 +0000 (UTC)

 Author: bdrewery
 Date: Fri Dec 28 15:57:37 2012
 New Revision: 309574
 URL: http://svnweb.freebsd.org/changeset/ports/309574
 
 Log:
   Chipmunk is a simple, lightweight, fast and portable 2D rigid body physics
   library written in C. It's licensed under the unrestrictive, OSI approved MIT
   license.
   
   WWW: http://chipmunk-physics.net/
   
   PR:		ports/174465
   Submitted by:	"Tim &#268;as" <ports@stdrand.com>
 
 Added:
   head/devel/ChipmunkPhysics/
   head/devel/ChipmunkPhysics/Makefile   (contents, props changed)
   head/devel/ChipmunkPhysics/distinfo   (contents, props changed)
   head/devel/ChipmunkPhysics/pkg-descr   (contents, props changed)
   head/devel/ChipmunkPhysics/pkg-plist   (contents, props changed)
 Modified:
   head/devel/Makefile
 
 Added: head/devel/ChipmunkPhysics/Makefile
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/devel/ChipmunkPhysics/Makefile	Fri Dec 28 15:57:37 2012	(r309574)
 @@ -0,0 +1,23 @@
 +# Created by: Tim Cas <ports@stdrand.com>
 +# $FreeBSD$
 +
 +PORTNAME=	ChipmunkPhysics
 +PORTVERSION=	6.1.2
 +CATEGORIES=	devel
 +MASTER_SITES=	http://chipmunk-physics.net/release/Chipmunk-6.x/ \
 +		http://files.libsiege.org/chipmunk/
 +DISTNAME=	Chipmunk-${PORTVERSION}
 +EXTRACT_SUFX=	.tgz
 +
 +MAINTAINER=	ports@stdrand.com
 +COMMENT=	2D physics engine written in C
 +
 +LICENSE=	MIT
 +LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 +
 +USE_CMAKE=	yes
 +CMAKE_ARGS=	-DBUILD_DEMOS=OFF
 +
 +USE_LDCONFIG=	yes
 +
 +.include <bsd.port.mk>
 
 Added: head/devel/ChipmunkPhysics/distinfo
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/devel/ChipmunkPhysics/distinfo	Fri Dec 28 15:57:37 2012	(r309574)
 @@ -0,0 +1,2 @@
 +SHA256 (Chipmunk-6.1.2.tgz) = f9d3e7d2480e50b034081613c18fa90421d5bf002af813ef1443e832dac43fc2
 +SIZE (Chipmunk-6.1.2.tgz) = 324892
 
 Added: head/devel/ChipmunkPhysics/pkg-descr
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/devel/ChipmunkPhysics/pkg-descr	Fri Dec 28 15:57:37 2012	(r309574)
 @@ -0,0 +1,5 @@
 +Chipmunk is a simple, lightweight, fast and portable 2D rigid body physics
 +library written in C. It's licensed under the unrestrictive, OSI approved MIT
 +license.
 +
 +WWW: http://chipmunk-physics.net/
 
 Added: head/devel/ChipmunkPhysics/pkg-plist
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/devel/ChipmunkPhysics/pkg-plist	Fri Dec 28 15:57:37 2012	(r309574)
 @@ -0,0 +1,30 @@
 +lib/libchipmunk.so.6.1.2
 +lib/libchipmunk.so
 +lib/libchipmunk.a
 +include/chipmunk/cpBody.h
 +include/chipmunk/chipmunk_unsafe.h
 +include/chipmunk/cpVect.h
 +include/chipmunk/cpSpatialIndex.h
 +include/chipmunk/chipmunk_ffi.h
 +include/chipmunk/chipmunk.h
 +include/chipmunk/cpShape.h
 +include/chipmunk/cpSpace.h
 +include/chipmunk/cpPolyShape.h
 +include/chipmunk/chipmunk_types.h
 +include/chipmunk/cpArbiter.h
 +include/chipmunk/cpBB.h
 +include/chipmunk/chipmunk_private.h
 +include/chipmunk/constraints/cpConstraint.h
 +include/chipmunk/constraints/util.h
 +include/chipmunk/constraints/cpGearJoint.h
 +include/chipmunk/constraints/cpGrooveJoint.h
 +include/chipmunk/constraints/cpSlideJoint.h
 +include/chipmunk/constraints/cpDampedRotarySpring.h
 +include/chipmunk/constraints/cpPivotJoint.h
 +include/chipmunk/constraints/cpDampedSpring.h
 +include/chipmunk/constraints/cpRatchetJoint.h
 +include/chipmunk/constraints/cpSimpleMotor.h
 +include/chipmunk/constraints/cpRotaryLimitJoint.h
 +include/chipmunk/constraints/cpPinJoint.h
 +@dirrm include/chipmunk/constraints
 +@dirrm include/chipmunk
 
 Modified: head/devel/Makefile
 ==============================================================================
 --- head/devel/Makefile	Fri Dec 28 15:54:54 2012	(r309573)
 +++ head/devel/Makefile	Fri Dec 28 15:57:37 2012	(r309574)
 @@ -4,6 +4,7 @@
      COMMENT = Development utilities
  
      SUBDIR += 9base
 +    SUBDIR += ChipmunkPhysics
      SUBDIR += ElectricFence
      SUBDIR += ORBit
      SUBDIR += ORBit2
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
