From: Jean-Baptiste Kempf Date: Tue, 24 Aug 2010 17:00:34 +0000 (+0200) Subject: Contribs: remove clinkcc X-Git-Tag: 1.2.0-pre1~5353 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=e3edfb6b75ee1af7adacc019907a055102e7c166;p=vlc Contribs: remove clinkcc --- diff --git a/extras/contrib/src/Distributions/darwin.mak b/extras/contrib/src/Distributions/darwin.mak index d093c357af..2df0d6ade7 100644 --- a/extras/contrib/src/Distributions/darwin.mak +++ b/extras/contrib/src/Distributions/darwin.mak @@ -7,7 +7,7 @@ all: .autoconf .gnumake .automake .libtool .intl .pkgcfg .yasm .freetype \ .SDL_image .gecko .mpcdec .dirac_encoder .dirac_decoder \ .dca .tag .x264 .goom2k4 .lua .zvbi .fontconfig .ncurses .liboil \ .schroedinger .libass .libupnp .kate .sqlite3 .Sparkle .aclocal -# .expat .clinkcc don't work with SDK yet +# .expat don't work with SDK yet # .glib .IDL .gecko are required to build the mozilla plugin # .mozilla-macosx will build an entire mozilla. it can be used if we need to create a new .gecko package diff --git a/extras/contrib/src/Distributions/darwin64.mak b/extras/contrib/src/Distributions/darwin64.mak index d147a4f43d..775df4c880 100644 --- a/extras/contrib/src/Distributions/darwin64.mak +++ b/extras/contrib/src/Distributions/darwin64.mak @@ -7,7 +7,7 @@ all: .autoconf .gnumake .automake .libtool .intl .pkgcfg .yasm .freetype \ .gecko .mpcdec .dirac_encoder .dirac_decoder \ .dca .tag .x264 .lua .zvbi .fontconfig .ncurses .liboil \ .schroedinger .libass .libupnp .kate .sqlite3 .Sparkle .aclocal -# .expat .clinkcc don't work with SDK yet +# .expat don't work with SDK yet # .glib .IDL .gecko are required to build the mozilla plugin # .mozilla-macosx will build an entire mozilla. it can be used if we need to create a new .gecko package diff --git a/extras/contrib/src/Makefile b/extras/contrib/src/Makefile index e7f16b776a..61d5ee7aa6 100644 --- a/extras/contrib/src/Makefile +++ b/extras/contrib/src/Makefile @@ -2117,31 +2117,6 @@ CLEAN_FILE += .expat CLEAN_PKG += expat DISTCLEAN_PKG += expat-$(EXPAT_VERSION).tar.gz -# *************************************************************************** -# CyberLink C++ UPnP library -# *************************************************************************** - -clinkcc$(CLINKCC_VERSION).tar.gz: - $(WGET) $(CLINKCC_URL) - -clinkcc: clinkcc$(CLINKCC_VERSION).tar.gz - tar xzf $< - mv $(patsubst %.tar.gz,Cyberlink,$(patsubst %.tgz,Cyberlink,$(notdir $<))) $@ || true - touch $@ - patch -p0 < Patches/clinkcc.patch -ifdef HAVE_DARWIN_OS - patch -p0 < Patches/clinkcc_osx.patch -endif - (cd $@; ./bootstrap) - -.clinkcc: clinkcc - (cd $<;./configure --prefix=$(PREFIX) --enable-expat && make && chmod 755 config/install-sh && make install ) - touch $@ - -CLEAN_FILE += .clinkcc -CLEAN_PKG += clinkcc -DISTCLEAN_PKG += clinkcc$(CLINKCC_VERSION).tar.gz - # *************************************************************************** # YASM assembler # *************************************************************************** diff --git a/extras/contrib/src/Patches/clinkcc.patch b/extras/contrib/src/Patches/clinkcc.patch deleted file mode 100644 index 65b99bf48a..0000000000 --- a/extras/contrib/src/Patches/clinkcc.patch +++ /dev/null @@ -1,35 +0,0 @@ -diff -ru clinkcc.orig/configure.in clinkcc/configure.in ---- clinkcc.orig/configure.in 2005-11-14 18:08:07.000000000 +0100 -+++ clinkcc/configure.in 2005-11-14 18:08:13.000000000 +0100 -@@ -150,6 +150,7 @@ - AC_CHECK_FUNCS([iconv]) - AC_CHECK_HEADERS([iconv.h]) - AC_CHECK_LIB([iconv],[main]) -+AM_ICONV - - ############################## - # Checks for pthread -diff -ru clinkcc.orig/src/cybergarage/xml/XML.cpp clinkcc/src/cybergarage/xml/XML.cpp ---- clinkcc.orig/src/cybergarage/xml/XML.cpp 2005-11-14 18:08:07.000000000 +0100 -+++ clinkcc/src/cybergarage/xml/XML.cpp 2005-11-14 18:08:13.000000000 +0100 -@@ -123,7 +123,7 @@ - char *cpbuf = strdup(str); - if (cpbuf == NULL) - return NULL; -- const char *inbuf = cpbuf; -+ ICONV_CONST char *inbuf = cpbuf; - size_t inbyteleft = strlen(str); - size_t outbufSize = inbyteleft * sizeof(UnicodeStr) * 4; - UnicodeStr *outbuf = new UnicodeStr[outbufSize + 1]; -diff -ru clinkcc.orig/src/cybergarage/xml/libxml2/Libxml2Parser.cpp clinkcc/src/cybergarage/xml/libxml2/Libxml2Parser.cpp ---- clinkcc.orig/src/cybergarage/xml/libxml2/Libxml2Parser.cpp 2005-11-14 18:08:07.000000000 +0100 -+++ clinkcc/src/cybergarage/xml/libxml2/Libxml2Parser.cpp 2005-11-14 18:08:44.000000000 +0100 -@@ -124,7 +124,7 @@ - xmlNodePtr child = cur->xmlChildrenNode; - while ( child != NULL ) { - -- Node *newChildNode = convertToCLinkFormat( doc, child, depth 1 ); -+ Node *newChildNode = convertToCLinkFormat( doc, child, depth ); - if ( newChildNode ) { - newNode->addNode( newChildNode ); - } diff --git a/extras/contrib/src/Patches/clinkcc_osx.patch b/extras/contrib/src/Patches/clinkcc_osx.patch deleted file mode 100644 index 53ba29ecb1..0000000000 --- a/extras/contrib/src/Patches/clinkcc_osx.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -ru clinkcc.orig/src/cybergarage/xml/XML.cpp clinkcc/src/cybergarage/xml/XML.cpp ---- clinkcc.orig/src/cybergarage/xml/XML.cpp 2005-11-14 18:11:07.000000000 +0100 -+++ clinkcc/src/cybergarage/xml/XML.cpp 2005-11-14 18:12:27.000000000 +0100 -@@ -117,7 +117,7 @@ - } - utf8str[outLen] = '\0'; - return utf8str; --#elif defined(HAVE_ICONV) || defined(HAVE_ICONV_H) -+/*#elif defined(HAVE_ICONV) || defined(HAVE_ICONV_H) - iconvMutex.lock(); - - char *cpbuf = strdup(str); -@@ -166,7 +166,7 @@ - free(cpbuf); - iconvMutex.unlock(); - -- return unistr; -+ return unistr;*/ - #else - outLen = strlen(str); - UnicodeStr *utf8str = new UnicodeStr[outLen+1];