[vlc-devel] commit: contribs: slimmed the OS X package ( Felix Paul Kühne )

git version control git at videolan.org
Mon Feb 22 17:55:37 CET 2010


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Feb 22 17:55:22 2010 +0100| [a69ba6d4dd6d0682399f2e49e300f8cf3a56c705] | committer: Felix Paul Kühne 

contribs: slimmed the OS X package

The included share folder was cut down to aclocal, autoconf, automake, gettext and libtool. Additionally, the gecko-sdk is downloaded and installed separately now. This vastly speeds up the installation process.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a69ba6d4dd6d0682399f2e49e300f8cf3a56c705
---

 extras/contrib/Makefile |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/extras/contrib/Makefile b/extras/contrib/Makefile
index b389427..ccb52da 100644
--- a/extras/contrib/Makefile
+++ b/extras/contrib/Makefile
@@ -64,6 +64,8 @@ hosts/$(HOST)/.$(CONTRIBREV): contrib-macosx-$(ARCH)-$(CONTRIBREV).tar.bz2
 	(cd tmp && find . -type d) | while read dir; do mkdir -p -- "$(PREFIX)/$$dir"; done
 	(cd tmp && find . -not -type d) | while read i; do mv -f -- tmp/"$$i" "$(PREFIX)/$$i"; done
 	rm -rf tmp
+	# install the gecko-sdk, which isn't part of the package for size and speed reasons
+	(cd src && rm -rf *gecko* && $(MAKE) .gecko)
     # libiconv.la is no longer present on Snow Leopard, so fix possible references to it, which would
     # result in linking issues
 ifdef HAVE_DARWIN_10
@@ -97,7 +99,9 @@ package-macosx:
 		exit 1 ; \
 	fi
 	mkdir tmp
-	(cd $(PREFIX); tar cf - *) | (cd tmp; tar xf -)
+	rm -rf $(PREFIX)/share/locale $(PREFIX)/share/doc $(PREFIX)/share/man
+	(cd $(PREFIX); tar cf - Sparkle bin sbin include lib share/aclocal* share/autoconf* \
+		share/automake* share/gettext* share/libtool*) | (cd tmp; tar xf -)
 	./change_prefix.sh tmp $(PREFIX) @@CONTRIB_PREFIX@@
 	(cd tmp; tar cf - .) | bzip2 -c > contrib-macosx.tar.bz2
 	rm -rf tmp




More information about the vlc-devel mailing list