summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2008-05-07 05:32:40 +0000
committerTiziano Müller <dev-zero@gentoo.org>2008-05-07 05:32:40 +0000
commita7e4a4fcc56cd48a3f2b97ef43e99489eee96395 (patch)
tree70892d0c48589e6e3009bbd91345741023e822f9 /dev-cpp
parentKeyword for mips. (diff)
downloadhistorical-a7e4a4fcc56cd48a3f2b97ef43e99489eee96395.tar.gz
historical-a7e4a4fcc56cd48a3f2b97ef43e99489eee96395.tar.bz2
historical-a7e4a4fcc56cd48a3f2b97ef43e99489eee96395.zip
Fixed problem with autoconf-2.62 (bug #219192), had to update the gcc42_atomicity.patch for that as well. Version bump.
Package-Manager: portage-2.1.5_rc6
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/commoncpp2/ChangeLog11
-rw-r--r--dev-cpp/commoncpp2/Manifest10
-rw-r--r--dev-cpp/commoncpp2/commoncpp2-1.6.1.ebuild7
-rw-r--r--dev-cpp/commoncpp2/commoncpp2-1.6.2.ebuild72
-rw-r--r--dev-cpp/commoncpp2/files/1.6.1-autoconf.patch11
-rw-r--r--dev-cpp/commoncpp2/files/1.6.1-gcc42_atomicity.patch42
-rw-r--r--dev-cpp/commoncpp2/files/1.6.2-autoconf.patch11
7 files changed, 130 insertions, 34 deletions
diff --git a/dev-cpp/commoncpp2/ChangeLog b/dev-cpp/commoncpp2/ChangeLog
index 7a24d0e20f65..b633e27e1ad1 100644
--- a/dev-cpp/commoncpp2/ChangeLog
+++ b/dev-cpp/commoncpp2/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for dev-cpp/commoncpp2
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/commoncpp2/ChangeLog,v 1.41 2008/03/04 07:31:37 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/commoncpp2/ChangeLog,v 1.42 2008/05/07 05:32:39 dev-zero Exp $
+
+*commoncpp2-1.6.2 (07 May 2008)
+
+ 07 May 2008; Tiziano Müller <dev-zero@gentoo.org>
+ +files/1.6.1-autoconf.patch, +files/1.6.2-autoconf.patch,
+ files/1.6.1-gcc42_atomicity.patch, commoncpp2-1.6.1.ebuild,
+ +commoncpp2-1.6.2.ebuild:
+ Fixed problem with autoconf-2.62 (bug #219192), had to update the
+ gcc42_atomicity.patch for that as well. Version bump.
04 Mar 2008; Tiziano Müller <dev-zero@gentoo.org>
-files/1.5.7-as-needed.patch, -files/1.5.7-ssl_config.patch,
diff --git a/dev-cpp/commoncpp2/Manifest b/dev-cpp/commoncpp2/Manifest
index a42539c20af0..aa9824dc88c3 100644
--- a/dev-cpp/commoncpp2/Manifest
+++ b/dev-cpp/commoncpp2/Manifest
@@ -1,5 +1,9 @@
-AUX 1.6.1-gcc42_atomicity.patch 2639 RMD160 0916103aaba35a52489e31dd51b772b7884580a9 SHA1 8bee6826e92d5706c6589a86b61498b59c2caff5 SHA256 8675d295fc33c3468d4ec33dfc3f6ff6114b939c03f45f6f026bfa5bc2293587
+AUX 1.6.1-autoconf.patch 247 RMD160 7a5754c6340f0b841bc38ebefcf54808d3aa766f SHA1 464d2c29bc0ad4c65344c206dba78d2dacab6d03 SHA256 dfd1953311e525e4fd9b0283397233c09e0fc7f1781acfcf76331a995993baec
+AUX 1.6.1-gcc42_atomicity.patch 2138 RMD160 1aab622488272235a14f7f866742df05b7cc4816 SHA1 5bf7d94c8256ceda13ab22fd73d4699146c4c430 SHA256 45eccbd6bf9a2db5491a9b6545a47d3ed3ff35f6735cee9dc47a6f09f014a7bb
+AUX 1.6.2-autoconf.patch 247 RMD160 3cf119e6c7f5cf482e83dc7a996a23e941640a12 SHA1 e0e5084f0c82b30399ad881c714cfaa2f44e52b0 SHA256 2ecefc39dab185473be409631517f7e71e5f5a8222b494ea1fe679b6150d85b1
DIST commoncpp2-1.6.1.tar.gz 864006 RMD160 ed78367610464fc5cff488f29f9371636098b55c SHA1 f72956dee03c0b83dd6ef77b905ff6a98163c963 SHA256 54dd187608917fa7f3368b70e637c27fe2d0b2996463d6ef6373f1b9f99bbeb2
-EBUILD commoncpp2-1.6.1.ebuild 1898 RMD160 3db4c11dd5b8cf584d398df8bc15f17a31c3b6cc SHA1 88fddd309f7f05958488505bd72a1f2cb2536e78 SHA256 76e17ce5c0875eb3428e8058f5bf4b60da4207330d19e3683de2e5c423658ea8
-MISC ChangeLog 6883 RMD160 b466855c2c143f5dda2a70b0635c199882eb4a4b SHA1 9fd2babea902cfb3bd4e16a8087c76e95a2816c8 SHA256 40f0e78e5286751a3a6f11ef7764f76b619e8c86964fcf0290dc42705e400cb1
+DIST commoncpp2-1.6.2.tar.gz 871333 RMD160 baa7b98540b5d35f2179e3c253e96366e05c7ea9 SHA1 6291ff4182abef3fdf3b5f39cd306cdf24588cb6 SHA256 a8870aa2becf2d66740c50646f006c7188cc8236cc7393731079d9f4fbe79f8f
+EBUILD commoncpp2-1.6.1.ebuild 1954 RMD160 e09295acaf0dbb1e9ce90e8384a2c60dfb81ce7c SHA1 ffa9b059e92936dbfc72b429afe70e0bf883759c SHA256 a57b688da4ac4f084d98fe0bc37c39f04c1d5b3d2cdc6a605932631a59413cc0
+EBUILD commoncpp2-1.6.2.ebuild 1958 RMD160 c2cc7c202b9eb2dccf60c562de9cecaa1bc40084 SHA1 dd5bf0db40d698923c8bf5703cfc184487e975a2 SHA256 4b51e6beed5667c0dbbb48e3a6a6164e46d27e9ef15f132b3b489d1d34717801
+MISC ChangeLog 7244 RMD160 3e68ac9ba09b07fdfddecc08d86c433f55e458d8 SHA1 19e8fda0e21082ad08a80a69b667c768d8f749db SHA256 3ff561484fd09a295949a84682f8b6bb10301a46185990be00e35fc81b7170fd
MISC metadata.xml 156 RMD160 537178ef5a820896e97475fb9aded47d50474bef SHA1 2a4ef4879b918a28132d21cd6d1bbaa2a30dccde SHA256 0e8490f9c62cb74e5894b52f643a02de0024d97dbfebad43082dce6bcb39555f
diff --git a/dev-cpp/commoncpp2/commoncpp2-1.6.1.ebuild b/dev-cpp/commoncpp2/commoncpp2-1.6.1.ebuild
index 685014930c0c..c634c42063e1 100644
--- a/dev-cpp/commoncpp2/commoncpp2-1.6.1.ebuild
+++ b/dev-cpp/commoncpp2/commoncpp2-1.6.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/commoncpp2/commoncpp2-1.6.1.ebuild,v 1.6 2008/02/17 12:46:47 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/commoncpp2/commoncpp2-1.6.1.ebuild,v 1.7 2008/05/07 05:32:39 dev-zero Exp $
inherit eutils autotools
@@ -23,8 +23,9 @@ src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}/${PV}-gcc42_atomicity.patch"
- eautoconf
+ epatch "${FILESDIR}/${PV}-gcc42_atomicity.patch" \
+ "${FILESDIR}/${PV}-autoconf.patch"
+ AT_M4DIR="m4" eautoreconf
}
src_compile() {
diff --git a/dev-cpp/commoncpp2/commoncpp2-1.6.2.ebuild b/dev-cpp/commoncpp2/commoncpp2-1.6.2.ebuild
new file mode 100644
index 000000000000..2f9e5166bddd
--- /dev/null
+++ b/dev-cpp/commoncpp2/commoncpp2-1.6.2.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/commoncpp2/commoncpp2-1.6.2.ebuild,v 1.1 2008/05/07 05:32:39 dev-zero Exp $
+
+inherit eutils autotools
+
+DESCRIPTION="GNU Common C++ is a C++ framework offering portable support for threading, sockets, file access, daemons, persistence, serial I/O, XML parsing, and system services"
+SRC_URI="mirror://gnu/commoncpp/${P}.tar.gz"
+HOMEPAGE="http://www.gnu.org/software/commoncpp/"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="debug doc examples ipv6 gnutls"
+
+RDEPEND="gnutls? ( dev-libs/libgcrypt
+ net-libs/gnutls )
+ !gnutls? ( dev-libs/openssl )
+ sys-libs/zlib"
+DEPEND="doc? ( >=app-doc/doxygen-1.3.6 )
+ ${RDEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/1.6.1-gcc42_atomicity.patch" \
+ "${FILESDIR}/${PV}-autoconf.patch"
+ AT_M4DIR="m4" eautoreconf
+}
+
+src_compile() {
+ use doc || \
+ sed -i "s/^DOXYGEN=.*/DOXYGEN=no/" configure || die "sed failed"
+
+ local myconf
+ use gnutls || myconf="--with-openssl"
+
+ econf \
+ $(use_enable debug) \
+ $(use_with ipv6 ) \
+ ${myconf} || die "econf failed"
+ emake -j1 || die "emake failed"
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc AUTHORS NEWS ChangeLog README THANKS TODO COPYING.addendum
+
+ # Only install html docs
+ # man and latex available, but seems a little wasteful
+ use doc && dohtml doc/html/*
+
+ if use examples ; then
+ insinto /usr/share/doc/${PF}/examples
+ cd demo
+ doins *.cpp *.h *.xml README
+ fi
+}
+
+pkg_postinst() {
+ ewarn "There's a change in the ABI between version 1.5.x and 1.6.x, please"
+ ewarn "run the following command to find broken packages and rebuild them:"
+ ewarn " revdep-rebuild --library=libccext2-1.5.so"
+}
+
+# Some of the tests hang forever
+#src_test() {
+# cd "${S}/tests"
+# emake || die "emake tests failed"
+# ./test.sh || die "tests failed"
+#}
diff --git a/dev-cpp/commoncpp2/files/1.6.1-autoconf.patch b/dev-cpp/commoncpp2/files/1.6.1-autoconf.patch
new file mode 100644
index 000000000000..b2befd567582
--- /dev/null
+++ b/dev-cpp/commoncpp2/files/1.6.1-autoconf.patch
@@ -0,0 +1,11 @@
+--- configure.ac.orig 2008-05-06 10:41:53.000000000 +0200
++++ configure.ac 2008-05-06 10:42:19.000000000 +0200
+@@ -10,6 +10,8 @@
+
+ AC_INIT(src/thread.cpp)
+
++m4_pattern_allow([^LT_VERSION$])
++
+ VERSION="1.6.1"
+ LT_RELEASE="1.6"
+ LT_VERSION="0:1"
diff --git a/dev-cpp/commoncpp2/files/1.6.1-gcc42_atomicity.patch b/dev-cpp/commoncpp2/files/1.6.1-gcc42_atomicity.patch
index 423defe8f7ac..da30105f8cf4 100644
--- a/dev-cpp/commoncpp2/files/1.6.1-gcc42_atomicity.patch
+++ b/dev-cpp/commoncpp2/files/1.6.1-gcc42_atomicity.patch
@@ -1,31 +1,6 @@
-diff -Naur commoncpp2-1.6.1.orig/config.h.in commoncpp2-1.6.1/config.h.in
---- commoncpp2-1.6.1.orig/config.h.in 2007-12-24 09:45:11.000000000 +0100
-+++ commoncpp2-1.6.1/config.h.in 2007-12-24 10:25:43.000000000 +0100
-@@ -239,6 +239,9 @@
- /* Define to 1 if you have the <bits/atomicity.h> header file. */
- #undef HAVE_BITS_ATOMICITY_H
-
-+/* Define to 1 if you have the <ext/atomicity.h> header file. */
-+#undef HAVE_EXT_ATOMICITY_H
-+
- /* Define to 1 if you have the <bits/wordsize.h> header file. */
- #undef HAVE_BITS_WORDSIZE_H
-
-@@ -1088,7 +1091,11 @@
-
- #if defined(__cplusplus)
- #if defined(HAVE_GCC_BITS_ATOMIC) || defined(HAVE_GCC_CXX_BITS_ATOMIC)
-+#if (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 2))
-+#include <ext/atomicity.h>
-+#else
- #include <bits/atomicity.h>
-+#endif
- #define HAVE_ATOMIC
- #endif
- #endif
diff -Naur commoncpp2-1.6.1.orig/m4/ost_pthread.m4 commoncpp2-1.6.1/m4/ost_pthread.m4
---- commoncpp2-1.6.1.orig/m4/ost_pthread.m4 2007-12-24 09:45:11.000000000 +0100
-+++ commoncpp2-1.6.1/m4/ost_pthread.m4 2007-12-24 10:12:24.000000000 +0100
+--- commoncpp2-1.6.1.orig/m4/ost_pthread.m4 2008-05-06 10:47:42.000000000 +0200
++++ commoncpp2-1.6.1/m4/ost_pthread.m4 2008-05-06 16:11:05.000000000 +0200
@@ -92,7 +92,9 @@
dnl check for gcc's bits/atomicity and the atomic functions therein
AC_CHECK_HEADERS([bits/atomicity.h],
@@ -73,3 +48,16 @@ diff -Naur commoncpp2-1.6.1.orig/m4/ost_pthread.m4 commoncpp2-1.6.1/m4/ost_pthre
AC_MSG_RESULT($ost_cv_gcc_cxx_atomic)
fi
+@@ -438,7 +458,11 @@
+
+ #if defined(__cplusplus)
+ #if defined(HAVE_GCC_BITS_ATOMIC) || defined(HAVE_GCC_CXX_BITS_ATOMIC)
+-#include <bits/atomicity.h>
++#if (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 2))
++ #include <ext/atomicity.h>
++#else
++ #include <bits/atomicity.h>
++#endif
+ #define HAVE_ATOMIC
+ #endif
+ #endif
diff --git a/dev-cpp/commoncpp2/files/1.6.2-autoconf.patch b/dev-cpp/commoncpp2/files/1.6.2-autoconf.patch
new file mode 100644
index 000000000000..fcba56dccb4b
--- /dev/null
+++ b/dev-cpp/commoncpp2/files/1.6.2-autoconf.patch
@@ -0,0 +1,11 @@
+--- configure.ac.orig 2008-05-06 10:41:53.000000000 +0200
++++ configure.ac 2008-05-06 10:42:19.000000000 +0200
+@@ -10,6 +10,8 @@
+
+ AC_INIT(src/thread.cpp)
+
++m4_pattern_allow([^LT_VERSION$])
++
+ VERSION="1.6.2"
+ LT_RELEASE="1.6"
+ LT_VERSION="0:2"