diff options
author | Mounir Lamouri <volkmar@gentoo.org> | 2009-06-18 18:57:17 +0000 |
---|---|---|
committer | Mounir Lamouri <volkmar@gentoo.org> | 2009-06-18 18:57:17 +0000 |
commit | 54def72ea0ac6926f9199d44fc6f2c70d250f107 (patch) | |
tree | 711f5912f37ec738d5d28784ac4b105e4b36d5fc /net-libs | |
parent | Remove old version. (diff) | |
download | historical-54def72ea0ac6926f9199d44fc6f2c70d250f107.tar.gz historical-54def72ea0ac6926f9199d44fc6f2c70d250f107.tar.bz2 historical-54def72ea0ac6926f9199d44fc6f2c70d250f107.zip |
initial commit, bug 179471
Package-Manager: portage-2.1.6.13/cvs/Linux ppc
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/clinkcc/ChangeLog | 10 | ||||
-rw-r--r-- | net-libs/clinkcc/Manifest | 7 | ||||
-rw-r--r-- | net-libs/clinkcc/clinkcc-1.7.1.ebuild | 67 | ||||
-rw-r--r-- | net-libs/clinkcc/files/clinkcc-1.7.1-gentoo.patch | 335 | ||||
-rw-r--r-- | net-libs/clinkcc/metadata.xml | 13 |
5 files changed, 432 insertions, 0 deletions
diff --git a/net-libs/clinkcc/ChangeLog b/net-libs/clinkcc/ChangeLog new file mode 100644 index 000000000000..caa7a7af8451 --- /dev/null +++ b/net-libs/clinkcc/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-libs/clinkcc +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/clinkcc/ChangeLog,v 1.1 2009/06/18 18:57:17 volkmar Exp $ + +*clinkcc-1.7.1 (18 Jun 2009) + + 18 Jun 2009; Mounir Lamouri <volkmar@gentoo.org> + +files/clinkcc-1.7.1-gentoo.patch, +metadata.xml, +clinkcc-1.7.1.ebuild: + Initial commit. Fixes bug 179471. + diff --git a/net-libs/clinkcc/Manifest b/net-libs/clinkcc/Manifest new file mode 100644 index 000000000000..b9f8e7a6ce14 --- /dev/null +++ b/net-libs/clinkcc/Manifest @@ -0,0 +1,7 @@ +AUX clinkcc-1.7.1-gentoo.patch 11387 RMD160 69dfbd5dc687f975854cf37df2231d284633a33f SHA1 09e2c2ac8c5ba5049c42d301058d53f0b24e8b50 SHA256 ebe08b76232d38f783c351627a06fc39d2e8f0025429cdc8b4beb2cba57c44a9 +DIST clinkcc171.tar.gz 8880329 RMD160 e30274cef5b4a919964e18b4fc7a50e002b10ee4 SHA1 8b3e55edca59789fc32f8866ca31d31218514b74 SHA256 84f114fda1d8d5644b524d683359fec88af4ffdb51ebd86811f1431d17fca102 +DIST clinkccdoxygen170.zip 1293309 RMD160 4906740d9e3de99fcaa1b06df05c78dc2221c479 SHA1 e7f7b613374ecf50d7e30f8e9fbabe8b78990310 SHA256 824fdc24a5edfadf70c3fdb8348f5552143b7d9dd151fbbd20627768c2df9801 +DIST clinkccproguide170.pdf 743695 RMD160 125e8dde53283fa3b2f7aa13e20837c5d74bb897 SHA1 3662d8ee538f3a1f6361b57d223aa1b35dc41279 SHA256 ca6e1d27a68e6fe75644a4f0b051c6eab1eea0a4ddc51a32092c7d851044b48f +EBUILD clinkcc-1.7.1.ebuild 1883 RMD160 fbf492bb1cc41b2e1adefa033ecd4f4422cd97b0 SHA1 94a37d0d23cb673253f7c13d0135eca71e3847ac SHA256 7558c8ad3d2c095c4b54db0bf32dabb809b226a152c6b6a5fb996eabe70032b7 +MISC ChangeLog 399 RMD160 3a2830369b643fdeb830b2fd7668398cdba410fd SHA1 14ef10a360194def7282f4d39ea6138e572ad856 SHA256 8484bcb5fb0db03f5a7868802e284f35d5e91848cdd837e0055a6d757d537059 +MISC metadata.xml 323 RMD160 104fa96b06148441ff0cb8a2685fc2470bb088d5 SHA1 9c0b49870e9a7f955a1953d9f09915d8041eaab3 SHA256 30f3724e37b6027484a9e0a795799ffd01365065cbb715b594736c21decc52cf diff --git a/net-libs/clinkcc/clinkcc-1.7.1.ebuild b/net-libs/clinkcc/clinkcc-1.7.1.ebuild new file mode 100644 index 000000000000..3d0493fbe2ee --- /dev/null +++ b/net-libs/clinkcc/clinkcc-1.7.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/clinkcc/clinkcc-1.7.1.ebuild,v 1.1 2009/06/18 18:57:17 volkmar Exp $ + +EAPI="2" + +inherit autotools eutils versionator + +MY_PV=$(delete_all_version_separators) +MY_P=${PN}${MY_PV} +DOC_PV=170 + +DESCRIPTION="CyberLink for C++ is a development package for UPnP" +HOMEPAGE="http://sourceforge.net/projects/clinkcc/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz + doc? ( mirror://sourceforge/${PN}/${PN}doxygen${DOC_PV}.zip + mirror://sourceforge/${PN}/${PN}proguide${DOC_PV}.pdf )" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~ppc ~x86" +IUSE="doc examples expat mythtv xml" + +RDEPEND="expat? ( >=dev-libs/expat-1.95 ) + mythtv? ( virtual/mysql ) + xml? ( >=dev-libs/libxml2-2.6.20 ) + !expat? ( !xml? ( >=dev-libs/xerces-c-2.3.0 ) ) + virtual/libiconv" +DEPEND="${RDEPEND} + doc? ( app-arch/unzip )" + +S=${WORKDIR}/CyberLink + +src_prepare() { + # do not build examples (fix in .am as we _have_ to do an autoreconf) + sed -i -e "s:sample::" Makefile.am || die "sed failed" + + epatch "${FILESDIR}"/${P}-gentoo.patch + + eautoreconf # fix install-sh permission denied +} + +src_configure() { + econf \ + --disable-dependency-tracking \ + $(use_enable expat) \ + $(use_enable mythtv) \ + $(use_enable xml libxml2) +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed" + + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins -r sample/* || die "doins failed" + ewarn "Installed examples Makefiles will probably not work." + ewarn "If you want easy-to-compile examples, you should use ${PN} tarball." + fi + + if use doc; then + dohtml -r "${WORKDIR}"/clinkccdoxygen/html/* || die "dohtml failed" + dodoc "${DISTDIR}"/${PN}proguide${DOC_PV}.pdf || die "dodoc failed" + fi +} diff --git a/net-libs/clinkcc/files/clinkcc-1.7.1-gentoo.patch b/net-libs/clinkcc/files/clinkcc-1.7.1-gentoo.patch new file mode 100644 index 000000000000..984ae6205602 --- /dev/null +++ b/net-libs/clinkcc/files/clinkcc-1.7.1-gentoo.patch @@ -0,0 +1,335 @@ +Fix various gcc and glibc isues +and more trivial ones. + +By Mounir Lamouri (volkmar) for Gentoo + +--- src/cybergarage/io/File.cpp.old 2009-06-17 01:53:25.000000000 +0200 ++++ src/cybergarage/io/File.cpp 2009-06-17 01:54:06.000000000 +0200 +@@ -37,6 +37,7 @@ + #endif + + #include <stdio.h> ++#include <string.h> + + #if defined(WIN32) + #include <windows.h> +--- src/cybergarage/io/StringBufferInputStream.cpp.old 2009-06-17 01:58:57.000000000 +0200 ++++ src/cybergarage/io/StringBufferInputStream.cpp 2009-06-17 01:59:16.000000000 +0200 +@@ -13,6 +13,8 @@ + * + ******************************************************************/ + ++#include <string.h> ++ + #include <cybergarage/io/StringBufferInputStream.h> + + using namespace CyberIO; +--- src/cybergarage/net/DatagramSocket.cpp.old 2009-06-17 02:01:50.000000000 +0200 ++++ src/cybergarage/net/DatagramSocket.cpp 2009-06-17 02:02:14.000000000 +0200 +@@ -30,6 +30,8 @@ + #include <cybergarage/net/SocketUtil.h> + + #include <stdio.h> ++#include <string.h> ++#include <stdlib.h> + + using namespace CyberNet; + +--- src/cybergarage/net/HostInterface.cpp.old 2009-06-17 02:03:40.000000000 +0200 ++++ src/cybergarage/net/HostInterface.cpp 2009-06-17 02:03:54.000000000 +0200 +@@ -38,6 +38,7 @@ + #endif + + #include <stdio.h> ++#include <stdlib.h> + + #if (defined(WIN32) || defined(__CYGWIN__)) && !defined(ITRON) + #include <Iptypes.h> +--- src/cybergarage/net/MulticastSocket.cpp.old 2009-06-17 02:04:19.000000000 +0200 ++++ src/cybergarage/net/MulticastSocket.cpp 2009-06-17 02:04:30.000000000 +0200 +@@ -28,6 +28,7 @@ + #include <cybergarage/net/HostInterface.h> + #include <cybergarage/util/StringUtil.h> + #include <stdio.h> ++#include <string.h> + + using namespace CyberNet; + +--- src/cybergarage/net/SocketUtil.cpp.old 2009-06-17 02:05:47.000000000 +0200 ++++ src/cybergarage/net/SocketUtil.cpp 2009-06-17 02:06:23.000000000 +0200 +@@ -24,6 +24,7 @@ + #include <cybergarage/net/SocketUtil.h> + + #include <stdio.h> ++#include <string.h> + + using namespace CyberNet; + +--- src/cybergarage/http/HTTPHeader.cpp.old 2009-06-17 02:07:57.000000000 +0200 ++++ src/cybergarage/http/HTTPHeader.cpp 2009-06-17 02:08:12.000000000 +0200 +@@ -17,6 +17,7 @@ + ******************************************************************/
+
+ #include <string>
++#include <stdlib.h>
+ #include <cybergarage/http/HTTPHeader.h>
+ #include <cybergarage/util/StringUtil.h>
+ #include <cybergarage/io/StringReader.h>
+--- include/cybergarage/http/HTTPPacket.h.old 2009-06-17 13:07:58.000000000 +0200 ++++ include/cybergarage/http/HTTPPacket.h 2009-06-17 13:08:17.000000000 +0200 +@@ -24,6 +24,7 @@ + #include <string> + #include <vector> + #include <sstream> ++#include <stdlib.h> + + namespace CyberHTTP { + +--- src/cybergarage/http/HTTPRequest.cpp.old 2009-06-17 13:08:54.000000000 +0200 ++++ src/cybergarage/http/HTTPRequest.cpp 2009-06-17 13:09:09.000000000 +0200 +@@ -53,6 +53,7 @@ + #include <string> + #include <iostream> + #include <sstream> ++#include <string.h> + + using namespace std; + using namespace CyberNet; +--- src/cybergarage/http/HTTPPacket.cpp.old 2009-06-17 13:10:52.000000000 +0200 ++++ src/cybergarage/http/HTTPPacket.cpp 2009-06-17 13:11:04.000000000 +0200 +@@ -86,6 +86,7 @@ + #include <string> + #include <sstream> + #include <stdlib.h> ++#include <string.h> + + using namespace std; + using namespace CyberHTTP; +--- src/cybergarage/http/HTTPStatus.cpp.old 2009-06-17 13:13:08.000000000 +0200 ++++ src/cybergarage/http/HTTPStatus.cpp 2009-06-17 13:13:27.000000000 +0200 +@@ -26,6 +26,8 @@ + #include <cybergarage/util/StringTokenizer.h> + #include <cybergarage/util/StringUtil.h> + ++#include <stdlib.h> ++ + using namespace CyberHTTP; + using namespace CyberUtil; + +--- src/cybergarage/xml/Node.cpp.old 2009-06-17 13:15:02.000000000 +0200 ++++ src/cybergarage/xml/Node.cpp 2009-06-17 13:15:34.000000000 +0200 +@@ -32,6 +32,8 @@ + #include <cybergarage/xml/Node.h> + + #include <stdio.h> ++#include <stdlib.h> ++#include <string.h> + + using namespace std; + using namespace CyberXML; +--- include/cybergarage/xml/Parser.h.old 2009-06-17 13:27:05.000000000 +0200 ++++ include/cybergarage/xml/Parser.h 2009-06-17 13:27:23.000000000 +0200 +@@ -18,6 +18,7 @@ + + #include <stdio.h> + #include <string> ++#include <string.h> + #include <cybergarage/xml/XML.h> + #include <cybergarage/xml/Node.h> + #include <cybergarage/io/File.h> +--- src/cybergarage/xml/XML.cpp.old 2009-06-17 13:28:00.000000000 +0200 ++++ src/cybergarage/xml/XML.cpp 2009-06-17 13:29:31.000000000 +0200 +@@ -51,6 +51,7 @@ + #endif + + #include <stdio.h> ++#include <stdlib.h> + + using namespace std; + using namespace CyberXML; +@@ -123,7 +124,7 @@ + char *cpbuf = strdup(str); + if (cpbuf == NULL) + return NULL; +- const char *inbuf = cpbuf; ++ char *inbuf = cpbuf; + size_t inbyteleft = strlen(str); + size_t outbufSize = inbyteleft * sizeof(UnicodeStr) * 4; + UnicodeStr *outbuf = new UnicodeStr[outbufSize + 1]; +--- src/cybergarage/xml/libxml2/Libxml2Parser.cpp.old 2009-06-17 13:33:14.000000000 +0200 ++++ src/cybergarage/xml/libxml2/Libxml2Parser.cpp 2009-06-17 13:33:26.000000000 +0200 +@@ -124,7 +124,7 @@ + xmlNodePtr child = cur->xmlChildrenNode;
+ while ( child != NULL ) {
+
+- Node *newChildNode = convertToCLinkFormat( doc, child, depth 1 );
++ Node *newChildNode = convertToCLinkFormat( doc, child, depth + 1 );
+ if ( newChildNode ) {
+ newNode->addNode( newChildNode );
+ }
+--- include/cybergarage/upnp/xml/ServiceData.h.old 2009-06-17 13:37:18.000000000 +0200 ++++ include/cybergarage/upnp/xml/ServiceData.h 2009-06-17 13:37:24.000000000 +0200 +@@ -58,7 +58,7 @@ + + public: + +- void ServiceData::setService(Service *serv) ++ void setService(Service *serv) + { + service = serv; + } +--- include/cybergarage/upnp/Argument.h.old 2009-06-17 13:40:06.000000000 +0200 ++++ include/cybergarage/upnp/Argument.h 2009-06-17 13:40:23.000000000 +0200 +@@ -20,6 +20,8 @@ + #include <cybergarage/xml/Node.h> + #include <cybergarage/upnp/xml/ArgumentData.h> + ++#include <stdlib.h> ++ + namespace CyberLink{ + + class Service; +--- src/cybergarage/upnp/event/SubscriptionRequest.cpp.old 2009-06-17 13:50:07.000000000 +0200 ++++ src/cybergarage/upnp/event/SubscriptionRequest.cpp 2009-06-17 13:50:43.000000000 +0200 +@@ -28,6 +28,7 @@ + #include <cybergarage/net/URL.h>
+
+ #include <string>
++#include <string.h>
+ #include <sstream>
+
+ using namespace std;
+--- src/cybergarage/upnp/ssdp/SSDP.cpp.old 2009-06-17 14:13:19.000000000 +0200 ++++ src/cybergarage/upnp/ssdp/SSDP.cpp 2009-06-17 14:13:31.000000000 +0200 +@@ -14,6 +14,8 @@ + ******************************************************************/ + + #include <string> ++#include <string.h> ++#include <stdlib.h> + #include <cybergarage/upnp/ssdp/SSDP.h> + + using namespace std; +--- src/cybergarage/upnp/media/server/ContentDirectory.cpp.old 2009-06-17 14:16:37.000000000 +0200 ++++ src/cybergarage/upnp/media/server/ContentDirectory.cpp 2009-06-17 14:17:11.000000000 +0200 +@@ -43,6 +43,7 @@ + #include <cybergarage/upnp/media/server/object/search/IdSearchCap.h> + + #include <sstream> ++#include <string.h> + + using namespace std; + using namespace CyberLink; +--- include/cybergarage/upnp/media/server/object/ContentProperty.h.old 2009-06-17 16:04:24.000000000 +0200 ++++ include/cybergarage/upnp/media/server/object/ContentProperty.h 2009-06-17 16:04:48.000000000 +0200 +@@ -18,6 +18,7 @@ +
+ #include <string>
+ #include <sstream>
++#include <stdlib.h>
+ #include <cybergarage/xml/AttributeList.h>
+
+ namespace CyberLink {
+--- include/cybergarage/upnp/media/server/object/ContentNode.h.old 2009-06-17 16:05:31.000000000 +0200 ++++ include/cybergarage/upnp/media/server/object/ContentNode.h 2009-06-17 16:05:41.000000000 +0200 +@@ -19,6 +19,7 @@ + #include <string> + #include <sstream> + #include <iostream> ++#include <stdlib.h> + + #include <cybergarage/xml/Node.h> + #include <cybergarage/upnp/media/server/UPnP.h> +--- src/cybergarage/upnp/media/server/object/format/ID3Frame.cpp.old 2009-06-17 16:12:39.000000000 +0200 ++++ src/cybergarage/upnp/media/server/object/format/ID3Frame.cpp 2009-06-17 16:12:54.000000000 +0200 +@@ -14,6 +14,7 @@ + ******************************************************************/
+
+ #include <cybergarage/upnp/media/server/object/format/ID3Frame.h>
++#include <string.h>
+
+ using namespace std;
+ using namespace CyberLink;
+--- src/cybergarage/upnp/media/server/object/format/GIFFormat.cpp.old 2009-06-17 16:17:18.000000000 +0200 ++++ src/cybergarage/upnp/media/server/object/format/GIFFormat.cpp 2009-06-17 16:17:29.000000000 +0200 +@@ -14,6 +14,7 @@ + ******************************************************************/
+
+ #include <stdio.h>
++#include <string.h>
+ #include <cybergarage/upnp/media/server/object/format/GIFFormat.h>
+
+ using namespace CyberLink;
+--- src/cybergarage/upnp/media/server/object/format/PNGFormat.cpp.old 2009-06-17 16:25:40.000000000 +0200 ++++ src/cybergarage/upnp/media/server/object/format/PNGFormat.cpp 2009-06-17 16:26:00.000000000 +0200 +@@ -14,6 +14,7 @@ + ******************************************************************/
+
+ #include <stdio.h>
++#include <string.h>
+ #include <cybergarage/upnp/media/server/object/format/PNGFormat.h>
+
+ using namespace CyberLink;
+--- src/cybergarage/upnp/media/server/object/search/TitleSearchCap.cpp.old 2009-06-17 16:31:57.000000000 +0200 ++++ src/cybergarage/upnp/media/server/object/search/TitleSearchCap.cpp 2009-06-17 16:32:06.000000000 +0200 +@@ -14,6 +14,7 @@ + ******************************************************************/ + + #include <string> ++#include <string.h> + #include <cybergarage/upnp/media/server/object/ContentNode.h> + #include <cybergarage/upnp/media/server/object/search/TitleSearchCap.h> + +--- src/cybergarage/upnp/media/server/object/search/IdSearchCap.cpp.old 2009-06-17 16:34:46.000000000 +0200 ++++ src/cybergarage/upnp/media/server/object/search/IdSearchCap.cpp 2009-06-17 16:34:54.000000000 +0200 +@@ -14,6 +14,7 @@ + ******************************************************************/ + + #include <string> ++#include <string.h> + #include <cybergarage/upnp/media/server/object/ContentNode.h> + #include <cybergarage/upnp/media/server/object/search/IdSearchCap.h> + +--- sample/clock/ClockDevice.cpp.old 2009-06-17 16:38:22.000000000 +0200 ++++ sample/clock/ClockDevice.cpp 2009-06-17 16:38:43.000000000 +0200 +@@ -13,6 +13,7 @@ +
+ #include <iostream>
+ #include <sstream>
++#include <string.h> + + using namespace std; + using namespace CyberLink; +--- sample/tv/TvDevice.cpp.old 2009-06-17 16:42:20.000000000 +0200 ++++ sample/tv/TvDevice.cpp 2009-06-17 16:42:51.000000000 +0200 +@@ -12,6 +12,7 @@ + + #include <iostream>
+ #include <sstream>
++#include <string.h> +
+ using namespace std; + using namespace CyberLink; +--- sample/media/server/unix/MediaGateMain.cpp.old 2009-06-17 16:45:39.000000000 +0200 ++++ sample/media/server/unix/MediaGateMain.cpp 2009-06-17 17:23:20.000000000 +0200 +@@ -20,7 +20,7 @@ + #include <iostream> + + #include <stdio.h> +-#include <stdio.h> ++#include <string.h> + #if defined(WIN32) && !defined(__CYGWIN__) + #include <conio.h> + #else +@@ -67,9 +67,9 @@ + for (n=1; n<argc; n++) { + #ifdef SUPPORT_MYTHTV
+ if (strcmp(MediaGate::MYTHTV_OPT_STRING, argv[n]) == 0) +- mode = MediaGate::MYTHTV_MODE;
++ option = MediaGate::MYTHTV_MODE;
+ if (strcmp(MediaGate::MYTHTV_OPT_STRING_OLD, argv[n]) == 0)
+- mode = MediaGate::MYTHTV_MODE;
++ option = MediaGate::MYTHTV_MODE;
+ #endif + if (strcmp(VERBOSE_ARG, argv[n]) == 0) + Debug::on(); diff --git a/net-libs/clinkcc/metadata.xml b/net-libs/clinkcc/metadata.xml new file mode 100644 index 000000000000..a708fef8c827 --- /dev/null +++ b/net-libs/clinkcc/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>volkmar@gentoo.org</email> + <name>Mounir Lamouri</name> + </maintainer> + <use> + <flag name="mythtv">Enable MythTV support</flag> + </use> +</pkgmetadata> + |