Subversion Repositories eduke32

Rev

Rev 5342 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5342 Rev 6005
Line 61... Line 61...
61
Download: flac-<version>.tar.xz
61
Download: flac-<version>.tar.xz
62
However, Git HEAD is highly recommended.
62
However, Git HEAD is highly recommended.
63
  * Stable: https://www.xiph.org/downloads/
63
  * Stable: https://www.xiph.org/downloads/
64
  * Git: git://git.xiph.org/flac.git
64
  * Git: git://git.xiph.org/flac.git
65
### Build ###
65
### Build ###
66
    make -f Makefile.lite libFLAC CUSTOM_CFLAGS="-fno-stack-check -fno-stack-protector -mno-stack-arg-probe"
66
    make -f Makefile.lite libFLAC
67
### Desired Results ###
67
### Desired Results ###
68
  * headers: FLAC/all.h FLAC/assert.h FLAC/callback.h FLAC/export.h FLAC/format.h FLAC/metadata.h FLAC/ordinals.h FLAC/stream_decoder.h FLAC/stream_encoder.h
68
  * headers: FLAC/all.h FLAC/assert.h FLAC/callback.h FLAC/export.h FLAC/format.h FLAC/metadata.h FLAC/ordinals.h FLAC/stream_decoder.h FLAC/stream_encoder.h
69
  * libraries: libFLAC.a
69
  * libraries: libFLAC.a
70
70
71
71
Line 76... Line 76...
76
  * Stable: http://zlib.net/
76
  * Stable: http://zlib.net/
77
  * Git: git://github.com/madler/zlib.git
77
  * Git: git://github.com/madler/zlib.git
78
### Modifications ###
78
### Modifications ###
79
  * Modify win32/Makefile.gcc as follows:
79
  * Modify win32/Makefile.gcc as follows:
80
      * CFLAGS: change -O3 to -O2 for stability and possibly performance benefits.
80
      * CFLAGS: change -O3 to -O2 for stability and possibly performance benefits.
81
      * CFLAGS: add: -fno-stack-check -fno-stack-protector -mno-stack-arg-probe
-
 
82
### Build ###
81
### Build ###
83
    make -f win32/Makefile.gcc
82
    make -f win32/Makefile.gcc
84
    ar rcs libz_mini.a crc32.o deflate.o adler32.o zutil.o trees.o
83
    ar rcs libz_mini.a crc32.o deflate.o adler32.o zutil.o trees.o
85
### Desired Results ###
84
### Desired Results ###
86
  * headers: (none)
85
  * headers: (none)
Line 95... Line 94...
95
  * Stable: http://www.libpng.org/pub/png/libpng.html
94
  * Stable: http://www.libpng.org/pub/png/libpng.html
96
  * Git: git://git.code.sf.net/p/libpng/code
95
  * Git: git://git.code.sf.net/p/libpng/code
97
### Modifications ###
96
### Modifications ###
98
  * Modify scripts/Makefile.gcc as follows:
97
  * Modify scripts/Makefile.gcc as follows:
99
      * Ensure ZLIBINC and ZLIBLIB point to the directory of zlib from above, or, rename your zlib directory so that, relative to the libpng directory, it is "../zlib". You will get a compile-time error if this is omitted or done incorrectly.
98
      * Ensure ZLIBINC and ZLIBLIB point to the directory of zlib from above, or, rename your zlib directory so that, relative to the libpng directory, it is "../zlib". You will get a compile-time error if this is omitted or done incorrectly.
100
      * CFLAGS: add: -fno-stack-check -fno-stack-protector -mno-stack-arg-probe
-
 
101
  * Copy the file "minipng.dfa" to the root of the libpng data.
99
  * Copy the file "minipng.dfa" to the root of the libpng data.
102
### Build ###
100
### Build ###
103
    make -f scripts/pnglibconf.mak DFA_XTRA=./minipng.dfa CPP="gcc -E"
101
    make -f scripts/pnglibconf.mak DFA_XTRA=./minipng.dfa CPP="gcc -E"
104
    make -f scripts/makefile.gcc libpng.a
102
    make -f scripts/makefile.gcc libpng.a
105
    ren libpng.a libpng_mini.a
103
    ren libpng.a libpng_mini.a
Line 118... Line 116...
118
  * Git: https://chromium.googlesource.com/webm/libvpx
116
  * Git: https://chromium.googlesource.com/webm/libvpx
119
### Modifications ###
117
### Modifications ###
120
If the configure scripts do not recognize your 64-bit compiler, you may need to run the following:
118
If the configure scripts do not recognize your 64-bit compiler, you may need to run the following:
121
    git apply "libvpx with MinGW-w64.patch"
119
    git apply "libvpx with MinGW-w64.patch"
122
### Build ###
120
### Build ###
123
    sh ./configure --disable-vp8-encoder --disable-vp9-encoder --disable-multithread --disable-spatial-resampling --as=yasm --extra-cflags="-fno-stack-check -fno-stack-protector -mno-stack-arg-probe" && make
121
    sh ./configure --disable-vp8-encoder --disable-vp9-encoder --disable-multithread --disable-spatial-resampling --as=yasm && make
124
### Desired Results ###
122
### Desired Results ###
125
  * headers: vpx/vp8.h vpx/vp8dx.h vpx/vpx_codec.h vpx/vpx_codec_impl_bottom.h vpx/vpx_codec_impl_top.h vpx/vpx_decoder.h vpx/vpx_decoder_compat.h vpx/vpx_image.h vpx/vpx_integer.h
123
  * headers: vpx/vp8.h vpx/vp8dx.h vpx/vpx_codec.h vpx/vpx_codec_impl_bottom.h vpx/vpx_codec_impl_top.h vpx/vpx_decoder.h vpx/vpx_decoder_compat.h vpx/vpx_image.h vpx/vpx_integer.h
126
  * libraries: libvpx.a libvpx_g.a
124
  * libraries: libvpx.a libvpx_g.a
127
125
128
126