Changeset 489c95cabeb65e9184174ae02af24c173997382b
- Timestamp:
- 11/09/08 20:09:06
(3 months ago)
- Author:
- Jean-Baptiste Kempf <jb@videolan.org>
- git-committer:
- Jean-Baptiste Kempf <jb@videolan.org> 1221156546 +0200
- git-parent:
[5ecef9fc2f16566bd4268e56e531ac705174435f]
- git-author:
- Jean-Baptiste Kempf <jb@videolan.org> 1221156546 +0200
- Message:
Contribs cleanup. Merging of configure flags when possible.
Please launch autotools ONLY after patch, not everytime your reconfigure.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r5ecef9f |
r489c95c |
|
| 370 | 370 | patch -d pkgconfig/glib-1.2.8 -p 1 < Patches/glib.patch |
|---|
| 371 | 371 | patch -d pkgconfig -p0 < Patches/pkgcfg.patch |
|---|
| | 372 | (cd $@; autoconf) |
|---|
| 372 | 373 | |
|---|
| 373 | 374 | .pkgcfg: pkgconfig |
|---|
| 374 | | (cd pkgconfig; autoconf && ./configure --prefix=$(PREFIX) --disable-shared --enable-static && make && make install) |
|---|
| | 375 | (cd pkgconfig; ./configure --prefix=$(PREFIX) --disable-shared --enable-static && make && make install) |
|---|
| 375 | 376 | touch $@ |
|---|
| 376 | 377 | |
|---|
| … | … | |
| 468 | 469 | patch -p0 < Patches/fontconfig.patch |
|---|
| 469 | 470 | patch -p0 < Patches/fontconfig-nodocs.patch |
|---|
| | 471 | (cd $@; autoreconf) |
|---|
| 470 | 472 | |
|---|
| 471 | 473 | .fontconfig: fontconfig .xml .freetype |
|---|
| 472 | 474 | ifdef HAVE_WIN32 |
|---|
| 473 | 475 | ifdef HAVE_CYGWIN |
|---|
| 474 | | (cd $<; autoreconf && LIBXML2_CFLAGS=`$(PREFIX)/bin/xml2-config --cflags` ./configure --target=$(HOST) --disable-pic --disable-shared --disable-docs --with-cache-dir=WINDOWSTEMPDIR --with-arch=i686 --with-default-fonts=C:\\windows\fonts --with-add-fonts=C:\\winnt\fonts --prefix=$(PREFIX) --with-freetype-config=$(PREFIX)/bin/freetype-config --enable-libxml2 && make && make install) |
|---|
| | 476 | (cd $<; LIBXML2_CFLAGS=`$(PREFIX)/bin/xml2-config --cflags` ./configure --target=$(HOST) --disable-pic --disable-shared --disable-docs --with-cache-dir=WINDOWSTEMPDIR --with-arch=i686 --with-default-fonts=C:\\windows\fonts --with-add-fonts=C:\\winnt\fonts --prefix=$(PREFIX) --with-freetype-config=$(PREFIX)/bin/freetype-config --enable-libxml2 && make && make install) |
|---|
| 475 | 477 | else |
|---|
| 476 | | (cd $<; autoreconf && $(HOSTCC) LIBXML2_CFLAGS=`$(PREFIX)/bin/xml2-config --cflags` ./configure $(HOSTCONF) --with-cache-dir=WINDOWSTEMPDIR --with-arch=i686 --with-default-fonts=C:\\windows\fonts --with-add-fonts=C:\\winnt\fonts --prefix=$(PREFIX) --with-freetype-config=$(PREFIX)/bin/freetype-config --enable-libxml2 --disable-docs && make && make install) |
|---|
| | 478 | (cd $<; $(HOSTCC) LIBXML2_CFLAGS=`$(PREFIX)/bin/xml2-config --cflags` ./configure $(HOSTCONF) --with-cache-dir=WINDOWSTEMPDIR --with-arch=i686 --with-default-fonts=C:\\windows\fonts --with-add-fonts=C:\\winnt\fonts --prefix=$(PREFIX) --with-freetype-config=$(PREFIX)/bin/freetype-config --enable-libxml2 --disable-docs && make && make install) |
|---|
| 477 | 479 | endif |
|---|
| 478 | 480 | else |
|---|
| 479 | 481 | ifdef HAVE_DARWIN_OS |
|---|
| 480 | | (cd $<; autoreconf && $(HOSTCC) LIBXML2_CFLAGS=`xml2-config --cflags` LIBXML2_LIBS=`xml2-config --libs` ./configure $(HOSTCONF) --with-cache-dir=/var/cache/fontconfig --with-default-fonts=/System/Library/Fonts --with-add-fonts=/Library/Fonts,~/Library/Fonts --prefix=$(PREFIX) --with-freetype-config=$(PREFIX)/bin/freetype-config --enable-libxml2 --disable-docs && make && make install-exec && (cd fontconfig ; make install-data) && cp fontconfig.pc $(PKG_CONFIG_LIBDIR)) |
|---|
| | 482 | (cd $<; $(HOSTCC) LIBXML2_CFLAGS=`xml2-config --cflags` LIBXML2_LIBS=`xml2-config --libs` ./configure $(HOSTCONF) --with-cache-dir=/var/cache/fontconfig --with-default-fonts=/System/Library/Fonts --with-add-fonts=/Library/Fonts,~/Library/Fonts --prefix=$(PREFIX) --with-freetype-config=$(PREFIX)/bin/freetype-config --enable-libxml2 --disable-docs && make && make install-exec && (cd fontconfig ; make install-data) && cp fontconfig.pc $(PKG_CONFIG_LIBDIR)) |
|---|
| 481 | 483 | else |
|---|
| 482 | | (cd $<; autoreconf && $(HOSTCC) LIBXML2_CFLAGS=`$(PREFIX)/bin/xml2-config --cflags` ./configure $(HOSTCONF) --prefix=$(PREFIX) --with-freetype-config=$(PREFIX)/bin/freetype-config --enable-libxml2 --disable-docs && make && make install) |
|---|
| | 484 | (cd $<; $(HOSTCC) LIBXML2_CFLAGS=`$(PREFIX)/bin/xml2-config --cflags` ./configure $(HOSTCONF) --prefix=$(PREFIX) --with-freetype-config=$(PREFIX)/bin/freetype-config --enable-libxml2 --disable-docs && make && make install) |
|---|
| 483 | 485 | endif |
|---|
| 484 | 486 | endif |
|---|
| … | … | |
| 523 | 525 | $(EXTRACT_GZ) |
|---|
| 524 | 526 | patch -p0 < Patches/fribidi.patch |
|---|
| | 527 | ( cd $@; rm -f configure; ./bootstrap) |
|---|
| 525 | 528 | |
|---|
| 526 | 529 | .fribidi: fribidi .iconv |
|---|
| 527 | | (cd $<; rm -f configure; ./bootstrap && $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) && make && make install) |
|---|
| | 530 | (cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) && make && make install) |
|---|
| 528 | 531 | $(INSTALL_NAME) |
|---|
| 529 | 532 | touch $@ |
|---|
| … | … | |
| 727 | 730 | |
|---|
| 728 | 731 | .vorbis: libvorbis .ogg |
|---|
| 729 | | # FIXME: shared libs disabled for now because of linking errors |
|---|
| 730 | | # -- titer 2005/09/16 |
|---|
| 731 | | (cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --disable-shared && make && make install) |
|---|
| | 732 | (cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) && make && make install) |
|---|
| 732 | 733 | # $(INSTALL_NAME) |
|---|
| 733 | 734 | touch $@ |
|---|
| … | … | |
| 789 | 790 | (cd $@; autoconf) |
|---|
| 790 | 791 | |
|---|
| | 792 | THEORACONF = --disable-sdltest --disable-oggtest --disable-vorbistest --disable-examples |
|---|
| | 793 | |
|---|
| 791 | 794 | .theora: libtheora .ogg |
|---|
| 792 | 795 | ifdef HAVE_BEOS |
|---|
| 793 | | (cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --disable-sdltest --disable-oggtest --disable-vorbistest --disable-asm --disable-examples && make && make install) |
|---|
| | 796 | (cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) $(THEORACONF) --disable-asm && make && make install) |
|---|
| 794 | 797 | else |
|---|
| 795 | 798 | ifdef NO_TEXT_RELOCATION |
|---|
| 796 | | (cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --disable-asm --disable-sdltest --disable-oggtest --disable-vorbistest --disable-asm --disable-examples && make && make install) |
|---|
| | 799 | (cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --disable-asm $(THEORACONF) && make && make install) |
|---|
| 797 | 800 | else |
|---|
| 798 | | (cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --disable-sdltest --disable-oggtest --disable-vorbistest --disable-examples && make && make install) |
|---|
| | 801 | (cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) $(THEORACONF)&& make && make install) |
|---|
| 799 | 802 | endif |
|---|
| 800 | 803 | endif |
|---|
| … | … | |
| 1103 | 1106 | endif |
|---|
| 1104 | 1107 | |
|---|
| | 1108 | |
|---|
| | 1109 | FFMPEGCONF = --enable-gpl --enable-postproc --disable-vhook --disable-ffserver --disable-ffmpeg --disable-ffplay --disable-devices --disable-protocols --disable-network --disable-filters |
|---|
| | 1110 | |
|---|
| 1105 | 1111 | ifdef HAVE_WINCE |
|---|
| 1106 | 1112 | .ffmpeg: ffmpeg .zlib |
|---|
| … | … | |
| 1112 | 1118 | endif |
|---|
| 1113 | 1119 | endif |
|---|
| 1114 | | |
|---|
| 1115 | | (cd $<; $(HOSTCC) ./configure $(FFMPEGCONF) --prefix=$(PREFIX) --extra-cflags="$(CFLAGS) $(FFMPEG_CFLAGS) -DRUNTIME_CPUDETECT" --extra-ldflags="$(LDFLAGS)" --enable-gpl --enable-postproc --disable-vhook --disable-ffserver --disable-ffmpeg --disable-ffplay --disable-devices --disable-protocols --disable-network --disable-filters --disable-shared --enable-static && make && make install-libs install-headers) |
|---|
| | 1120 | (cd $<; $(HOSTCC) ./configure $(FFMPEGCONF) --prefix=$(PREFIX) --extra-cflags="$(CFLAGS) $(FFMPEG_CFLAGS) -DRUNTIME_CPUDETECT" --extra-ldflags="$(LDFLAGS)" $(FFMPEGCONF) --disable-shared --enable-static && make && make install-libs install-headers) |
|---|
| 1116 | 1121 | touch $@ |
|---|
| 1117 | 1122 | |
|---|
| … | … | |
| 1661 | 1666 | patch -p0 < Patches/xml2-win32.patch |
|---|
| 1662 | 1667 | rm -f xml/aclocal.m4 |
|---|
| | 1668 | (cd $@; aclocal && automake && autoreconf) |
|---|
| 1663 | 1669 | endif |
|---|
| 1664 | 1670 | ifdef HAVE_UCLIBC |
|---|
| … | … | |
| 1666 | 1672 | endif |
|---|
| 1667 | 1673 | |
|---|
| | 1674 | XMLCONF = --with-minimal --with-catalog --with-reader --with-tree --with-push --with-xptr --with-valid --with-xpath --with-xinclude --with-sax1 --without-zlib --without-iconv --without-http --without-ftp --without-debug --without-docbook --without-regexps |
|---|
| | 1675 | |
|---|
| 1668 | 1676 | .xml: xml |
|---|
| 1669 | | ifdef HAVE_WIN32 |
|---|
| 1670 | | (cd xml; aclocal && automake && autoreconf) |
|---|
| 1671 | | endif |
|---|
| 1672 | 1677 | ifdef HAVE_CYGWIN |
|---|
| 1673 | | (cd xml; ac_cv_header_pthread_h="no" CFLAGS="-DLIBXML_STATIC" $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --with-minimal --with-catalog --with-reader --with-tree --with-push --with-xptr --with-valid --with-xpath --with-xinclude --with-sax1 --without-zlib --without-iconv --without-http --without-ftp --without-debug --without-docbook --without-regexps && make && make install) |
|---|
| | 1678 | (cd xml; ac_cv_header_pthread_h="no" CFLAGS="-DLIBXML_STATIC" $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) $(XMLCONF) && make && make install) |
|---|
| 1674 | 1679 | else |
|---|
| 1675 | | (cd xml; CFLAGS="-DLIBXML_STATIC" $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --with-minimal --with-catalog --with-reader --with-tree --with-push --with-xptr --with-valid --with-xpath --with-xinclude --with-sax1 --without-zlib --without-iconv --without-http --without-ftp --without-debug --without-docbook --without-regexps && make && make install) |
|---|
| | 1680 | (cd xml; CFLAGS="-DLIBXML_STATIC" $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) $(XMLCONF) && make && make install) |
|---|
| 1676 | 1681 | endif |
|---|
| 1677 | 1682 | ifndef HAVE_DARWIN_OS |
|---|
| … | … | |
| 1696 | 1701 | patch -p0 < Patches/twolame-BeOS.patch |
|---|
| 1697 | 1702 | endif |
|---|
| 1698 | | |
|---|
| 1699 | | .twolame: twolame |
|---|
| 1700 | 1703 | ifdef HAVE_WIN32 |
|---|
| 1701 | 1704 | (cd twolame/win32; $(WGET) "http://twolame.svn.sourceforge.net/viewvc/*checkout*/twolame/trunk/win32/winutil.h") |
|---|
| 1702 | 1705 | endif |
|---|
| | 1706 | |
|---|
| | 1707 | .twolame: twolame |
|---|
| 1703 | 1708 | (cd twolame; $(HOSTCC) CFLAGS="${CFLAGS} -DLIBTWOLAME_STATIC" ./configure $(HOSTCONF) --prefix=$(PREFIX) && cd libtwolame && make && make install) |
|---|
| 1704 | 1709 | $(INSTALL_NAME) |
|---|
| … | … | |
| 1917 | 1922 | patch -p0 < Patches/gnutls-win32.patch |
|---|
| 1918 | 1923 | (cd $@; cd lgl; ln -sf alloca_.h alloca.h;) |
|---|
| | 1924 | (cd $@; autoconf) |
|---|
| 1919 | 1925 | endif |
|---|
| 1920 | 1926 | |
|---|
| 1921 | 1927 | .gnutls: gnutls .opencdk .gcrypt .gpg-error |
|---|
| 1922 | 1928 | ifdef HAVE_WIN32 |
|---|
| 1923 | | (cd $<; autoconf && $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) CFLAGS="$(CFLAGS)" --target=i586-mingw32msvc --disable-cxx -disable-shared --enable-static --disable-nls --with-included-opencdk --with-included-libtasn1 && cd lgl && make && cd ../gl && make && cd ../lib &&make && make install && cd ../includes && make install) |
|---|
| | 1929 | (cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) CFLAGS="$(CFLAGS)" --target=i586-mingw32msvc --disable-cxx -disable-shared --enable-static --disable-nls --with-included-opencdk --with-included-libtasn1 && cd lgl && make && cd ../gl && make && cd ../lib &&make && make install && cd ../includes && make install) |
|---|
| 1924 | 1930 | else |
|---|
| 1925 | 1931 | (cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) CFLAGS="$(CFLAGS)" --disable-cxx --with-libopencdk-prefix=$(PREFIX) --disable-guile && make && make install) |
|---|
| … | … | |
| 2260 | 2266 | patch -p0 < Patches/clinkcc_osx.patch |
|---|
| 2261 | 2267 | endif |
|---|
| | 2268 | (cd $@; ./bootstrap) |
|---|
| 2262 | 2269 | |
|---|
| 2263 | 2270 | .clinkcc: clinkcc |
|---|
| 2264 | | (cd $<; ./bootstrap && ./configure --prefix=$(PREFIX) --enable-expat && make && chmod 755 config/install-sh && make install ) |
|---|
| | 2271 | (cd $<;./configure --prefix=$(PREFIX) --enable-expat && make && chmod 755 config/install-sh && make install ) |
|---|
| 2265 | 2272 | touch $@ |
|---|
| 2266 | 2273 | |
|---|