Package: supertuxkart / 0.8.1-2

remove_irrlicht_embedded_libs.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
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@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)