Skip to content

Commit

Permalink
jngl: 1.1.0-1~getdeb2~raring
Browse files Browse the repository at this point in the history
  * Rebuild for raring.
  • Loading branch information
Christoph Korn committed May 9, 2013
1 parent 08b864f commit 8185a20
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 1 deletion.
6 changes: 6 additions & 0 deletions jngl/changelog
@@ -1,3 +1,9 @@
jngl (1.1.0-1~getdeb2~raring) raring; urgency=low

* Rebuild for raring.

-- Christoph Korn <christoph.korn@getdeb.net> Wed, 08 May 2013 21:18:13 +0200

jngl (1.1.0-1~getdeb1) quantal; urgency=low

* New upstream version
Expand Down
2 changes: 1 addition & 1 deletion jngl/control
Expand Up @@ -22,7 +22,7 @@ Build-Depends: debhelper (>= 9),
libboost-python-dev,
libglew1.6-dev | libglew-dev,
libwebp-dev
Standards-Version: 3.9.3
Standards-Version: 3.9.4
Section: libs
Homepage: http://jngl.watteimdocht.de

Expand Down
14 changes: 14 additions & 0 deletions jngl/patches/missing_libs.patch
@@ -0,0 +1,14 @@
### Add missing libs to compile the test program.
Index: jngl-1.1.0/SConstruct
===================================================================
--- jngl-1.1.0.orig/SConstruct 2013-05-08 21:06:32.840405664 +0200
+++ jngl-1.1.0/SConstruct 2013-05-08 21:15:42.008389328 +0200
@@ -99,7 +99,7 @@
env.Append(LIBPATH='.', CPPPATH='src')
testEnv = env.Clone()
testEnv.ParseConfig("pkg-config --cflags --libs jngl.pc")
- testEnv.Program('test', testSrc, CPPFLAGS="-std=c++0x")
+ testEnv.Program('test', testSrc, CPPFLAGS="-std=c++0x", LIBS=Split("jngl GL GLU jpeg openal webp png12 glib-2.0 Xxf86vm freetype fontconfig vorbisfile GLEW vorbis m ogg X11"))
if env['python']:
env = env.Clone()
env.ParseConfig("pkg-config --cflags --libs jngl.pc")
17 changes: 17 additions & 0 deletions jngl/patches/python3.3.patch
@@ -0,0 +1,17 @@
### raring has python3.3. Change accordingly.
Index: jngl-1.1.0/SConstruct
===================================================================
--- jngl-1.1.0.orig/SConstruct 2013-05-08 20:49:25.000000000 +0200
+++ jngl-1.1.0/SConstruct 2013-05-08 21:06:32.840405664 +0200
@@ -103,9 +103,9 @@
if env['python']:
env = env.Clone()
env.ParseConfig("pkg-config --cflags --libs jngl.pc")
- env.Append(CPPPATH="/usr/include/python3.2",
+ env.Append(CPPPATH="/usr/include/python3.3m",
LIBPATH=Split("src ./python"),
- LIBS=Split("python3.2mu boost_python-py32"),
+ LIBS=Split("python3.3m boost_python-py33"),
CPPFLAGS="-std=c++11")
env.SharedLibrary(target="python/libjngl.so",
source="python/main.cpp")
2 changes: 2 additions & 0 deletions jngl/patches/series
@@ -1 +1,3 @@
scons.patch
python3.3.patch
missing_libs.patch

0 comments on commit 8185a20

Please sign in to comment.