summaryrefslogtreecommitdiff
path: root/dev-cpp/commoncpp2
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/commoncpp2')
-rw-r--r--dev-cpp/commoncpp2/commoncpp2-1.6.2.ebuild73
l---------dev-cpp/commoncpp2/files/1.6.1-gcc42_atomicity.patch138
l---------dev-cpp/commoncpp2/files/1.6.2-autoconf.patch138
-rw-r--r--dev-cpp/commoncpp2/files/1.6.2-configure_detect_netfilter.patch12
4 files changed, 0 insertions, 361 deletions
diff --git a/dev-cpp/commoncpp2/commoncpp2-1.6.2.ebuild b/dev-cpp/commoncpp2/commoncpp2-1.6.2.ebuild
deleted file mode 100644
index b54d8c5..0000000
--- a/dev-cpp/commoncpp2/commoncpp2-1.6.2.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# 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" \
- "${FILESDIR}/${PV}-configure_detect_netfilter.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-gcc42_atomicity.patch b/dev-cpp/commoncpp2/files/1.6.1-gcc42_atomicity.patch
deleted file mode 120000
index a5e83e7..0000000
--- a/dev-cpp/commoncpp2/files/1.6.1-gcc42_atomicity.patch
+++ /dev/null
@@ -1,138 +0,0 @@
-/var/paludis/repositories/gentoo/dev-cpp/commoncpp2/files/1.6.1-gcc42_atomicity.patch08-11-16 15:24:10.000000000 +0100
-@@ -95,6 +95,9 @@
- AC_CHECK_HEADERS([linux/netfilter_ipv4.h linux/netfilter_ipv6.h],,,
- [#ifdef HAVE_LIMITS_H
- #include <limits.h>
-+ #endif
-+ #ifdef HAVE_NETINET_IN_H
-+ #include <netinet/in.h>
- #endif])
- if test "$ac_cv_header_linux_netfilter_ipv4_h" = "yes" &&
- [ test "$ac_cv_header_linux_netfilter_ipv6_h" = "yes" &&
-ON} ${PCAP_FLAG} ${SSL_FLAG}
-
- install : libnessus.la
- test -d $(DESTDIR)${libdir} || $(INSTALL_DIR) -m 755 $(DESTDIR)${libdir}
-diff -ru nessus-libraries~/nessus.tmpl.in nessus-libraries/nessus.tmpl.in
---- nessus-libraries~/nessus.tmpl.in 2007-01-21 19:49:30.000000000 +0100
-+++ nessus-libraries/nessus.tmpl.in 2007-01-21 20:17:45.000000000 +0100
-@@ -61,6 +61,9 @@
- #
- BUILD_PCAP=@BUILD_PCAP@
-
-+PCAP_FLAG=@pcap_flag@
-+SSL_FLAG=@ssl@
-+
-
- # Some defines you may want to modify
- DEFS=@DEFS@ $(DEBUG_SSL) $(USE_CIPHER) $(DEBUG)
-============================================
---- sv7.orig/synthasm.nas
-+++ sv7/synthasm.nas
-@@ -2225,3 +2225,6 @@ endproc
- ;
- ; end of synthasm.nas
- ;
-+%ifidn __OUTPUT_FORMAT__,elf
-+section .note.GNU-stack noalloc noexec nowrite progbits
-+%endif
-/cheats" ]] ; then
- for cheat in `find "${PSEMUDIR}/cheats" -maxdepth 1 -type f -printf '%f '`; do
- if [[ ! -e "cheats/${cheat}" ]] ; then
- ln -s "${PSEMUDIR}/cheats/${cheat}" "cheats/${cheat}"
- fi
- done
- fi
-
- if [[ -d "${PSEMUDIR}/bios" ]] ; then
- for bios in `find "${PSEMUDIR}/bios" -maxdepth 1 -type f -printf '%f '`; do
- if [[ ! -e "bios/${bios}" ]] ; then
- ln -s "${PSEMUDIR}/bios/${bios}" "bios/${bios}"
- fi
- done
- fi
-fi
-
-# check for bios
-if [[ -z "`cd bios && ls`" ]] ; then
- # if the bios directory is empty, then ... well ...
- echo
- echo "*** Put your BIOS file into ~/.epsxe/bios/"
- echo " or ePSXe may not work!"
- echo
-fi
-
-# execute program (with args)
-export LD_PRELOAD="libpthread.so.0:${LD_PRELOAD}" # fix for Bug #26121
-exec ./epsxe "$@"
-_event.jaxis.axis == 5)
-+ {
-+ return (0x1000 +
-+ (0x100 * sdl_event.jaxis.which + 0xA));
-+ }
-+ }
-+ else
- {
- return (Get_Key ());
- }
---- old/src/gens/util/rom.h 2004-03-14 09:33:06.000000000 -0500
-+++ new/src/gens/util/rom.h 2006-12-30 17:30:58.000000000 -0500
-@@ -52,7 +52,7 @@
- int Detect_Format(char *Name);
-
- int Get_Rom(void);
--
-+int Open_Rom(char *Name);
- int Pre_Load_Rom(char *Name);
- int Load_Rom_CC(char *Name, int Size);
- struct Rom *Load_Bios(char *Name);
---- old/src/gens/util/rom.c 2004-05-18 16:33:59.000000000 -0400
-+++ new/src/gens/util/rom.c 2007-01-05 13:23:45.596482516 -0500
-@@ -99,7 +99,7 @@
- void
- Update_Rom_Dir (char *Path)
- {
-- Get_Dir_From_Path (Path, Rom_Dir);
-+ sprintf (Rom_Dir, "%s", Path);;
- }
-
-
-@@ -390,11 +390,10 @@
- gint res;
- char Name[2048];
- gchar *filename;
-- int sys;
-
- widget =
- create_file_chooser_dialog ("Open Rom", GTK_FILE_CHOOSER_ACTION_OPEN);
--// fileselection_set_dir (fd.filesel, Rom_Dir);
-+ gtk_file_chooser_set_filename (GTK_FILE_CHOOSER(widget), Rom_Dir);
- addRomsFilter (widget);
- res = gtk_dialog_run (GTK_DIALOG (widget));
- if (res == GTK_RESPONSE_OK)
-@@ -407,6 +406,15 @@
- g_free (filename);
- Free_Rom (Game);
-
-+ return Open_Rom(Name);
-+
-+}
-+
-+int
-+Open_Rom(char *Name)
-+{
-+ int sys;
-+
- sys = Detect_Format (Name);
-
- if (sys < 1)
-@@ -458,6 +466,7 @@
- break;
- }
- return -1;
-+
- }
-
- int
---- old/src/gens/gtkui/glade/interface.c 2004-05-19 15:49:28.000000000 -0400
-+++ new/src/gens/gtkui/glade/intep \ No newline at end of file
diff --git a/dev-cpp/commoncpp2/files/1.6.2-autoconf.patch b/dev-cpp/commoncpp2/files/1.6.2-autoconf.patch
deleted file mode 120000
index f3e0abf..0000000
--- a/dev-cpp/commoncpp2/files/1.6.2-autoconf.patch
+++ /dev/null
@@ -1,138 +0,0 @@
-/var/paludis/repositories/gentoo/dev-cpp/commoncpp2/files/1.6.2-autoconf.patcht.m4 2008-11-16 15:24:10.000000000 +0100
-@@ -95,6 +95,9 @@
- AC_CHECK_HEADERS([linux/netfilter_ipv4.h linux/netfilter_ipv6.h],,,
- [#ifdef HAVE_LIMITS_H
- #include <limits.h>
-+ #endif
-+ #ifdef HAVE_NETINET_IN_H
-+ #include <netinet/in.h>
- #endif])
- if test "$ac_cv_header_linux_netfilter_ipv4_h" = "yes" &&
- [ test "$ac_cv_header_linux_netfilter_ipv6_h" = "yes" &&
-ON} ${PCAP_FLAG} ${SSL_FLAG}
-
- install : libnessus.la
- test -d $(DESTDIR)${libdir} || $(INSTALL_DIR) -m 755 $(DESTDIR)${libdir}
-diff -ru nessus-libraries~/nessus.tmpl.in nessus-libraries/nessus.tmpl.in
---- nessus-libraries~/nessus.tmpl.in 2007-01-21 19:49:30.000000000 +0100
-+++ nessus-libraries/nessus.tmpl.in 2007-01-21 20:17:45.000000000 +0100
-@@ -61,6 +61,9 @@
- #
- BUILD_PCAP=@BUILD_PCAP@
-
-+PCAP_FLAG=@pcap_flag@
-+SSL_FLAG=@ssl@
-+
-
- # Some defines you may want to modify
- DEFS=@DEFS@ $(DEBUG_SSL) $(USE_CIPHER) $(DEBUG)
-============================================
---- sv7.orig/synthasm.nas
-+++ sv7/synthasm.nas
-@@ -2225,3 +2225,6 @@ endproc
- ;
- ; end of synthasm.nas
- ;
-+%ifidn __OUTPUT_FORMAT__,elf
-+section .note.GNU-stack noalloc noexec nowrite progbits
-+%endif
-/cheats" ]] ; then
- for cheat in `find "${PSEMUDIR}/cheats" -maxdepth 1 -type f -printf '%f '`; do
- if [[ ! -e "cheats/${cheat}" ]] ; then
- ln -s "${PSEMUDIR}/cheats/${cheat}" "cheats/${cheat}"
- fi
- done
- fi
-
- if [[ -d "${PSEMUDIR}/bios" ]] ; then
- for bios in `find "${PSEMUDIR}/bios" -maxdepth 1 -type f -printf '%f '`; do
- if [[ ! -e "bios/${bios}" ]] ; then
- ln -s "${PSEMUDIR}/bios/${bios}" "bios/${bios}"
- fi
- done
- fi
-fi
-
-# check for bios
-if [[ -z "`cd bios && ls`" ]] ; then
- # if the bios directory is empty, then ... well ...
- echo
- echo "*** Put your BIOS file into ~/.epsxe/bios/"
- echo " or ePSXe may not work!"
- echo
-fi
-
-# execute program (with args)
-export LD_PRELOAD="libpthread.so.0:${LD_PRELOAD}" # fix for Bug #26121
-exec ./epsxe "$@"
-_event.jaxis.axis == 5)
-+ {
-+ return (0x1000 +
-+ (0x100 * sdl_event.jaxis.which + 0xA));
-+ }
-+ }
-+ else
- {
- return (Get_Key ());
- }
---- old/src/gens/util/rom.h 2004-03-14 09:33:06.000000000 -0500
-+++ new/src/gens/util/rom.h 2006-12-30 17:30:58.000000000 -0500
-@@ -52,7 +52,7 @@
- int Detect_Format(char *Name);
-
- int Get_Rom(void);
--
-+int Open_Rom(char *Name);
- int Pre_Load_Rom(char *Name);
- int Load_Rom_CC(char *Name, int Size);
- struct Rom *Load_Bios(char *Name);
---- old/src/gens/util/rom.c 2004-05-18 16:33:59.000000000 -0400
-+++ new/src/gens/util/rom.c 2007-01-05 13:23:45.596482516 -0500
-@@ -99,7 +99,7 @@
- void
- Update_Rom_Dir (char *Path)
- {
-- Get_Dir_From_Path (Path, Rom_Dir);
-+ sprintf (Rom_Dir, "%s", Path);;
- }
-
-
-@@ -390,11 +390,10 @@
- gint res;
- char Name[2048];
- gchar *filename;
-- int sys;
-
- widget =
- create_file_chooser_dialog ("Open Rom", GTK_FILE_CHOOSER_ACTION_OPEN);
--// fileselection_set_dir (fd.filesel, Rom_Dir);
-+ gtk_file_chooser_set_filename (GTK_FILE_CHOOSER(widget), Rom_Dir);
- addRomsFilter (widget);
- res = gtk_dialog_run (GTK_DIALOG (widget));
- if (res == GTK_RESPONSE_OK)
-@@ -407,6 +406,15 @@
- g_free (filename);
- Free_Rom (Game);
-
-+ return Open_Rom(Name);
-+
-+}
-+
-+int
-+Open_Rom(char *Name)
-+{
-+ int sys;
-+
- sys = Detect_Format (Name);
-
- if (sys < 1)
-@@ -458,6 +466,7 @@
- break;
- }
- return -1;
-+
- }
-
- int
---- old/src/gens/gtkui/glade/interface.c 2004-05-19 15:49:28.000000000 -0400
-+++ new/src/gens/gtkui/glade/intep \ No newline at end of file
diff --git a/dev-cpp/commoncpp2/files/1.6.2-configure_detect_netfilter.patch b/dev-cpp/commoncpp2/files/1.6.2-configure_detect_netfilter.patch
deleted file mode 100644
index de532b5..0000000
--- a/dev-cpp/commoncpp2/files/1.6.2-configure_detect_netfilter.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- m4/ost_socket.m4-orig 2008-11-16 15:24:05.000000000 +0100
-+++ m4/ost_socket.m4 2008-11-16 15:24:10.000000000 +0100
-@@ -95,6 +95,9 @@
- AC_CHECK_HEADERS([linux/netfilter_ipv4.h linux/netfilter_ipv6.h],,,
- [#ifdef HAVE_LIMITS_H
- #include <limits.h>
-+ #endif
-+ #ifdef HAVE_NETINET_IN_H
-+ #include <netinet/in.h>
- #endif])
- if test "$ac_cv_header_linux_netfilter_ipv4_h" = "yes" &&
- [ test "$ac_cv_header_linux_netfilter_ipv6_h" = "yes" &&