[vlc-commits] commit: Contribs: simplify mozilla dependencies (Jean-Baptiste Kempf )
git at videolan.org
git at videolan.org
Mon May 3 15:59:44 CEST 2010
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon May 3 15:28:50 2010 +0200| [b8fd723b6725da3de6c0c8a40aeca21ad2b7d023] | committer: Jean-Baptiste Kempf
Contribs: simplify mozilla dependencies
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b8fd723b6725da3de6c0c8a40aeca21ad2b7d023
---
extras/contrib/src/Makefile | 97 +--------------------------------------
extras/contrib/src/packages.mak | 9 ----
2 files changed, 2 insertions(+), 104 deletions(-)
diff --git a/extras/contrib/src/Makefile b/extras/contrib/src/Makefile
index 81cf0c7..0d40dea 100644
--- a/extras/contrib/src/Makefile
+++ b/extras/contrib/src/Makefile
@@ -1903,50 +1903,10 @@ CLEAN_PKG += libopendaap
DISTCLEAN_PKG += libopendaap-$(DAAP_VERSION).tar.bz2
# ***************************************************************************
-# glib
-# ***************************************************************************
-
-glib-$(GLIB_VERSION).tar.bz2:
- $(WGET) $(GLIB_URL)
-
-glib: glib-$(GLIB_VERSION).tar.bz2
- $(EXTRACT_BZ2)
- (cd $@; patch -p0 < ../Patches/glib-remove-gtkdoc.patch)
-ifdef HAVE_DARWIN_64
- (cd $@; patch -p0 < ../Patches/glib-Darwin64.patch)
-endif
-
-.glib: glib
- (cd $<; sh autogen.sh --prefix=$(PREFIX) --host=$(HOST) && make && make install)
- touch $@
-
-CLEAN_FILE += .glib
-CLEAN_PKG += glib
-DISTCLEAN_PKG += glib-$(GLIB_VERSION).tar.gz
-
-# ***************************************************************************
-# libIDL
-# ***************************************************************************
-
-libIDL-$(LIBIDL_VERSION).tar.bz2:
- $(WGET) $(LIBIDL_URL)
-
-libIDL: libIDL-$(LIBIDL_VERSION).tar.bz2
- $(EXTRACT_BZ2)
-
-.IDL: libIDL
- (cd $<; ./configure --prefix=$(PREFIX) --host=$(HOST) && make && make install )
- touch $@
-
-CLEAN_FILE += .IDL
-CLEAN_PKG += libIDL
-DISTCLEAN_PKG += libIDL-$(LIBIDL_VERSION).tar.gz
-
-# ***************************************************************************
# Gecko SDK
# ***************************************************************************
-gecko-sdk:
+gecko-sdk:
$(SVN) co $(NPAPI_HEADERS_SVN_URL) -r $(NPAPI_HEADERS_SVN_REVISION) gecko-sdk/include
.gecko: gecko-sdk
@@ -1958,60 +1918,7 @@ gecko-sdk:
CLEAN_FILE += .gecko
CLEAN_PKG += gecko-sdk
-DISTCLEAN_PKG += xulrunner-1.9.2.en-US.mac-i386.sdk.tar.bz2
-
-# ***************************************************************************
-# Gecko SDK win32
-# ***************************************************************************
-
-xulrunner-1.9.2.en-US.win32.sdk.zip:
- $(WGET) $(GECKO_SDK_WIN32_URL)
-
-libIDL-0.6.3-win32-bin.zip:
- $(WGET) $(LIBIDL_WIN32_BIN_URL)
-
-glib-19990228.zip:
- $(WGET) $(GLIB_WIN32_BIN_URL)
-
-.gecko-win32: xulrunner-1.9.2.en-US.win32.sdk.zip libIDL-0.6.3-win32-bin.zip glib-19990228.zip
- unzip xulrunner-1.9.2.en-US.win32.sdk.zip
- rm -rf $(PREFIX)/gecko-sdk
- mv xulrunner-sdk $(PREFIX)/gecko-sdk
- unzip -j libIDL-0.6.3-win32-bin.zip libIDL-0.6.3-win32-bin/libIDL-0.6.dll -d $(PREFIX)/gecko-sdk/bin
- unzip glib-19990228.zip glib-1.2.dll -d $(PREFIX)/gecko-sdk/bin
- chmod a+x $(PREFIX)/gecko-sdk/bin/*
- touch $@
-
-CLEAN_FILE += .gecko-win32
-CLEAN_PKG += gecko-sdk-win32
-DISTCLEAN_PKG += xulrunner-1.9.2.en-US.win32.sdk.zip libIDL-0.6.3-win32-bin.zip glib-19990228.zip
-
-# ***************************************************************************
-# mozilla-macosx
-#
-# Note that this dependency needs to be compiled against the 10.4u SDK using
-# using GCC-4.0. Using newer releases of one of these won't lead to a
-# successful compilation! Adapt the respective variables in ../config.mak!
-# ***************************************************************************
-
-firefox-$(MOZILLA_VERSION)-source.tar.bz2:
- $(WGET) $(MOZILLA_URL)
-
-mozilla: firefox-$(MOZILLA_VERSION)-source.tar.bz2
- $(EXTRACT_BZ2)
- (cd $@; patch -p0 < ../Patches/firefox-darwin.patch)
-
-.mozilla-macosx: mozilla .glib .IDL
- ifneq($(SDK_TARGET),"10.4")
- echo "Compiling the mozilla target requires the 10.4 SDK!"
- exit -1
- endif
- (cd $<; ./configure --prefix=$(PREFIX)/gecko-sdk-new --enable-default-toolkit=cairo-cocoa --enable-standalone-modules=xpcom,plugin --enable-application=xulrunner && make && make install)
- touch $@
-
-CLEAN_FILE += .mozilla-macosx
-CLEAN_PKG += mozilla
-DISTCLEAN_PKG += firefox-source-$(MOZILLA_VERSION).tar.bz2
+DISTCLEAN_PKG += gecko-sdk
# ***************************************************************************
# libjpeg
diff --git a/extras/contrib/src/packages.mak b/extras/contrib/src/packages.mak
index de2f45c..06afbc9 100644
--- a/extras/contrib/src/packages.mak
+++ b/extras/contrib/src/packages.mak
@@ -153,18 +153,9 @@ OPENCDK_VERSION=0.6.6
OPENCDK_URL=http://www.gnu.org/software/gnutls/releases/opencdk/opencdk-$(OPENCDK_VERSION).tar.bz2
DAAP_VERSION=0.4.0
DAAP_URL=http://craz.net/programs/itunes/files/libopendaap-$(DAAP_VERSION).tar.bz2
-GLIB_VERSION=2.20.4
-GLIB_URL=http://ftp.gnome.org/pub/gnome/sources/glib/2.20/glib-$(GLIB_VERSION).tar.bz2
-LIBIDL_VERSION=0.8.12
-LIBIDL_URL=http://ftp.gnome.org/pub/gnome/sources/libIDL/0.8/libIDL-$(LIBIDL_VERSION).tar.bz2
NPAPI_HEADERS_SVN_URL=http://npapi-headers.googlecode.com/svn/trunk/
# NPAPI_HEADERS_SVN_REVISION can be a revision number, or just HEAD for the latest
NPAPI_HEADERS_SVN_REVISION=3
-GECKO_SDK_WIN32_URL=http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/1.9.2/sdk/xulrunner-1.9.2.en-US.win32.sdk.zip
-LIBIDL_WIN32_BIN_URL=ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/historic/vc6/libIDL-0.6.3-win32-bin.zip
-GLIB_WIN32_BIN_URL=ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/historic/vc6/glib-19990228.zip
-MOZILLA_VERSION=3.0.11
-MOZILLA_URL=http://releases.mozilla.org/pub/mozilla.org/firefox/releases/$(MOZILLA_VERSION)/source/firefox-$(MOZILLA_VERSION)-source.tar.bz2
TWOLAME_VERSION=0.3.12
TWOLAME_URL=$(SF)/twolame/twolame-$(TWOLAME_VERSION).tar.gz
X264_VERSION=20050609
More information about the vlc-commits
mailing list