r14697 - packages/trunk/supertuxkart/debian/patches

Vincent Cheng vincentc-guest at moszumanska.debian.org
Fri Dec 20 10:08:02 UTC 2013


Author: vincentc-guest
Date: 2013-12-20 10:08:02 +0000 (Fri, 20 Dec 2013)
New Revision: 14697

Added:
   packages/trunk/supertuxkart/debian/patches/remove_irrlicht_embedded_libs.patch
Modified:
   packages/trunk/supertuxkart/debian/patches/series
Log:
supertuxkart: And make sure cmake ignores those embedded libs...


Added: packages/trunk/supertuxkart/debian/patches/remove_irrlicht_embedded_libs.patch
===================================================================
--- packages/trunk/supertuxkart/debian/patches/remove_irrlicht_embedded_libs.patch	                        (rev 0)
+++ packages/trunk/supertuxkart/debian/patches/remove_irrlicht_embedded_libs.patch	2013-12-20 10:08:02 UTC (rev 14697)
@@ -0,0 +1,136 @@
+Description: Remove embedded libraries in Irrlicht source (flagged by lintian)
+ Since removing the subdirectories containing libjpeg/libpng/zlib/bzip2/lzma
+ would make this patch way too large, this patch should be applied on top of
+ 	rm -rf lib/irrlicht/source/Irrlicht/jpeglib/
+	rm -rf lib/irrlicht/source/Irrlicht/zlib/
+	rm -rf lib/irrlicht/source/Irrlicht/libpng/
+	rm -rf lib/irrlicht/source/Irrlicht/lzma/
+	rm -rf lib/irrlicht/source/Irrlicht/bzip2/
+ in debian/rules (e.g. in the clean target).
+Forwarded: no
+Author: Vincent Cheng <Vincentc1208 at gmail.com>
+Last-Update: 2013-12-19
+
+--- a/lib/irrlicht/CMakeLists.txt
++++ b/lib/irrlicht/CMakeLists.txt
+@@ -1,10 +1,6 @@
+ # CMakeLists.txt for Irrlicht in STK
+ 
+-include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include/
+-                    ${CMAKE_CURRENT_SOURCE_DIR}/source/Irrlicht/jpeglib
+-                    ${CMAKE_CURRENT_SOURCE_DIR}/source/Irrlicht/libpng
+-                    ${CMAKE_CURRENT_SOURCE_DIR}/source/Irrlicht/zlib
+-                    ${CMAKE_CURRENT_SOURCE_DIR}/source/Irrlicht/bzip2)
++include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include/)
+ 
+ if(APPLE)
+     include_directories(${CMAKE_CURRENT_SOURCE_DIR}/source/Irrlicht/MacOSX ${CMAKE_CURRENT_SOURCE_DIR}/source/Irrlicht)
+@@ -650,108 +646,6 @@
+ include/IBoneSceneNode.h
+ include/IShaderConstantSetCallBack.h
+ include/ITexture.h
+-
+-
+-source/Irrlicht/zlib/infback.c
+-source/Irrlicht/zlib/deflate.c
+-source/Irrlicht/zlib/zutil.c
+-source/Irrlicht/zlib/crc32.c
+-source/Irrlicht/zlib/gzread.c
+-source/Irrlicht/zlib/inffast.c
+-source/Irrlicht/zlib/uncompr.c
+-source/Irrlicht/zlib/inftrees.c
+-source/Irrlicht/zlib/inflate.c
+-source/Irrlicht/zlib/compress.c
+-source/Irrlicht/zlib/adler32.c
+-source/Irrlicht/zlib/gzwrite.c
+-source/Irrlicht/zlib/trees.c
+-source/Irrlicht/zlib/gzlib.c
+-source/Irrlicht/zlib/gzclose.c
+-source/Irrlicht/zlib/inffixed.h
+-source/Irrlicht/zlib/inffast.h
+-source/Irrlicht/zlib/zconf.h
+-source/Irrlicht/zlib/zutil.h
+-source/Irrlicht/zlib/inftrees.h
+-source/Irrlicht/zlib/deflate.h
+-source/Irrlicht/zlib/zlib.h
+-source/Irrlicht/zlib/inflate.h
+-source/Irrlicht/zlib/trees.h
+-source/Irrlicht/zlib/gzguts.h
+-source/Irrlicht/zlib/crc32.h
+-
+-
+-source/Irrlicht/jpeglib/jaricom.c
+-source/Irrlicht/jpeglib/jcapimin.c
+-source/Irrlicht/jpeglib/jcapistd.c
+-source/Irrlicht/jpeglib/jcarith.c
+-source/Irrlicht/jpeglib/jccoefct.c
+-source/Irrlicht/jpeglib/jccolor.c
+-source/Irrlicht/jpeglib/jcdctmgr.c
+-source/Irrlicht/jpeglib/jchuff.c
+-source/Irrlicht/jpeglib/jcinit.c
+-source/Irrlicht/jpeglib/jcmainct.c
+-source/Irrlicht/jpeglib/jcmarker.c
+-source/Irrlicht/jpeglib/jcmaster.c
+-source/Irrlicht/jpeglib/jcomapi.c
+-source/Irrlicht/jpeglib/jcparam.c
+-source/Irrlicht/jpeglib/jcprepct.c
+-source/Irrlicht/jpeglib/jcsample.c
+-source/Irrlicht/jpeglib/jctrans.c
+-source/Irrlicht/jpeglib/jdapimin.c
+-source/Irrlicht/jpeglib/jdapistd.c
+-source/Irrlicht/jpeglib/jdarith.c
+-source/Irrlicht/jpeglib/jdatadst.c
+-source/Irrlicht/jpeglib/jdatasrc.c
+-source/Irrlicht/jpeglib/jdcoefct.c
+-source/Irrlicht/jpeglib/jdcolor.c
+-source/Irrlicht/jpeglib/jddctmgr.c
+-source/Irrlicht/jpeglib/jdhuff.c
+-source/Irrlicht/jpeglib/jdinput.c
+-source/Irrlicht/jpeglib/jdmainct.c
+-source/Irrlicht/jpeglib/jdmarker.c
+-source/Irrlicht/jpeglib/jdmaster.c
+-source/Irrlicht/jpeglib/jdmerge.c
+-source/Irrlicht/jpeglib/jdpostct.c
+-source/Irrlicht/jpeglib/jdsample.c
+-source/Irrlicht/jpeglib/jdtrans.c
+-source/Irrlicht/jpeglib/jerror.c
+-source/Irrlicht/jpeglib/jfdctflt.c
+-source/Irrlicht/jpeglib/jfdctfst.c
+-source/Irrlicht/jpeglib/jfdctint.c
+-source/Irrlicht/jpeglib/jidctflt.c
+-source/Irrlicht/jpeglib/jidctfst.c
+-source/Irrlicht/jpeglib/jidctint.c
+-source/Irrlicht/jpeglib/jmemmgr.c
+-source/Irrlicht/jpeglib/jmemnobs.c
+-source/Irrlicht/jpeglib/jquant1.c
+-source/Irrlicht/jpeglib/jquant2.c
+-source/Irrlicht/jpeglib/jutils.c
+-
+-
+-source/Irrlicht/libpng/pngwutil.c
+-source/Irrlicht/libpng/pngget.c
+-source/Irrlicht/libpng/pngrtran.c
+-source/Irrlicht/libpng/pngrutil.c
+-source/Irrlicht/libpng/pngerror.c
+-source/Irrlicht/libpng/pngset.c
+-source/Irrlicht/libpng/pngtest.c
+-source/Irrlicht/libpng/pngmem.c
+-source/Irrlicht/libpng/pngpread.c
+-source/Irrlicht/libpng/png.c
+-source/Irrlicht/libpng/pngread.c
+-source/Irrlicht/libpng/pngwio.c
+-source/Irrlicht/libpng/pngtrans.c
+-source/Irrlicht/libpng/pngwrite.c
+-source/Irrlicht/libpng/pngwtran.c
+-source/Irrlicht/libpng/example.c
+-source/Irrlicht/libpng/pngrio.c
+-source/Irrlicht/libpng/png.h
+-source/Irrlicht/libpng/pngdebug.h
+-source/Irrlicht/libpng/pngconf.h
+-source/Irrlicht/libpng/pngpriv.h
+-source/Irrlicht/libpng/pnginfo.h
+-source/Irrlicht/libpng/pnglibconf.h
+-source/Irrlicht/libpng/pngstruct.h
+ )
+ 
+ if(APPLE)

Modified: packages/trunk/supertuxkart/debian/patches/series
===================================================================
--- packages/trunk/supertuxkart/debian/patches/series	2013-12-20 09:58:13 UTC (rev 14696)
+++ packages/trunk/supertuxkart/debian/patches/series	2013-12-20 10:08:02 UTC (rev 14697)
@@ -1,6 +1,7 @@
 build_against_system_enet.patch
 link_against_system_libs.patch
 fix_desktop_file.patch
+remove_irrlicht_embedded_libs.patch
 # Irrlicht patches taken directly from irrlicht source package in Debian
 irrlicht/arch-support.diff
 irrlicht/use-system-libs.diff




More information about the Pkg-games-commits mailing list