summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-p2p/btg/ChangeLog8
-rw-r--r--net-p2p/btg/Manifest11
-rw-r--r--net-p2p/btg/btg-0.9.7.ebuild81
-rw-r--r--net-p2p/btg/files/btg-0.9.7-broken_bundled_plotmm_sigc.patch100
4 files changed, 195 insertions, 5 deletions
diff --git a/net-p2p/btg/ChangeLog b/net-p2p/btg/ChangeLog
index 3472c05ed5df..d618351d185f 100644
--- a/net-p2p/btg/ChangeLog
+++ b/net-p2p/btg/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-p2p/btg
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/btg/ChangeLog,v 1.7 2008/06/20 10:09:57 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/btg/ChangeLog,v 1.8 2008/06/20 17:28:42 angelos Exp $
+
+*btg-0.9.7 (20 Jun 2008)
+
+ 20 Jun 2008; Christoph Mende <angelos@gentoo.org>
+ +files/btg-0.9.7-broken_bundled_plotmm_sigc.patch, +btg-0.9.7.ebuild:
+ Version bump, bug 214491
20 Jun 2008; Christoph Mende <angelos@gentoo.org> btg-0.9.6-r1.ebuild:
Changed rb_libtorrent dependency to =0.12*
diff --git a/net-p2p/btg/Manifest b/net-p2p/btg/Manifest
index 177353985cf2..d62cb3e84d0f 100644
--- a/net-p2p/btg/Manifest
+++ b/net-p2p/btg/Manifest
@@ -1,16 +1,19 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX btg-0.9.7-broken_bundled_plotmm_sigc.patch 4177 RMD160 f2514633c587c0650966ef9cd48996b8f29db1a7 SHA1 f64aa392beefaef9d4c8a004ee03ed4d69e59f05 SHA256 30c73fb4dfc103674a8791d2aa5275ad8d888ddb0dcc71d538d93f824eceb556
AUX btgd-confd 356 RMD160 4a5f537a334ed848d739ef0b80a93b34a4bcd393 SHA1 0b5f812cd19aa0c146a113d1d5baaff14d8ca2b1 SHA256 7feba6c4e38b11c8bafb56dcc7865efd90d88e8f08dd6366ae81c38c78f5f5a8
AUX btgd-init 1015 RMD160 c70fd1f49e83b318ca7e65bc4ca6a1af7a23f4f0 SHA1 ac5aa7b44b31778383f8300e7c07a9559852cabb SHA256 0ce7a6af95c1a9bda8f890b54e3815785c2c213360f2cf383bac1f9423bdc410
DIST btg-0.9.6-p1.tar.gz 1073862 RMD160 4b3d9f96481eafd4115cdef3047f1d4f80ca7bb8 SHA1 2ec586301d1f11475cb8a9c9c34e9ed45ca6b78d SHA256 862b670aff709762be2c8ec6b79d2d7d40268061660e5d3a4fa3db76a02af60c
+DIST btg-0.9.7.tar.gz 1175042 RMD160 a97d9082f39c8eb8f0e0afe2c678d53584591dec SHA1 5cb01f105e71eb524db8c65bf81b0d1f6a3c4beb SHA256 31237c4b7881b9d3534b476ed986596db4acae0460772eed7364f455da2d89ac
EBUILD btg-0.9.6-r1.ebuild 2430 RMD160 1634351ae04411049a76b184060e8580f80365ec SHA1 e86ed30353db1a862d45c5308f2cd37d1ea655dc SHA256 32e9db5c079848a379a215239f890a24e78e836d1f7617d343c4491218a89797
-MISC ChangeLog 1146 RMD160 d8d6c95cb35088f4584abd2dd387e56ddd098a78 SHA1 57c497b0c865a8524da3508e0eebabedf5c185fa SHA256 f0bbec20108ed91ac16f360976c8483b7880abda6caae841347b3e67d61397b2
+EBUILD btg-0.9.7.ebuild 1943 RMD160 6cf09342724986ed39f190d6a536e930e23a4e96 SHA1 13ae1fa7303bb17331dc0ea6d3bf472c41c5aba4 SHA256 9050dd57653d98d7e2d0b68fdd066d80ddbab5ad6297f50904d3c6286eb68c96
+MISC ChangeLog 1324 RMD160 681141ee23ac79af6a4e1fd51ca8a5fd3a14ca3f SHA1 afd0654bdab6b6b7766fe27e0b1ad9d8d0a0c57c SHA256 2cf3fb8fe0f7b56934b1f156ac3bb5c6fb1648507bedb1318b690b4e85a0335e
MISC metadata.xml 258 RMD160 6d4c6c4e7c021a3fc82145a078f8e113eb6f521a SHA1 02004f2821b6ac3f69abfbfdafc9744008535258 SHA256 ee85021b7ae93a2e1442a570b114d3c9bf2e577c16b7b1b409914983d5d55485
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkhbggEACgkQKhnDs22gwa9a7wCcCYbbxsx3kqJysdq7eyUYj8o/
-JIwAoLAewf52a5nvqKs72kmTsqftHqTP
-=LeL2
+iEYEARECAAYFAkhb6NMACgkQKhnDs22gwa/5cwCdEnZ+7bCf4blJqwqPpGgbmqKY
+wyIAnjKePBhvIAmwLp6yaOszDJtS8g2U
+=7aLh
-----END PGP SIGNATURE-----
diff --git a/net-p2p/btg/btg-0.9.7.ebuild b/net-p2p/btg/btg-0.9.7.ebuild
new file mode 100644
index 000000000000..790b4b37ab5a
--- /dev/null
+++ b/net-p2p/btg/btg-0.9.7.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/btg/btg-0.9.7.ebuild,v 1.1 2008/06/20 17:28:42 angelos Exp $
+
+EAPI=1
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="bittorrent client using rb_libtorrent"
+HOMEPAGE="http://btg.berlios.de/"
+SRC_URI="mirror://berlios/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug doc event-callback gtk minimal ncurses session test webinterface"
+
+RDEPEND=">=dev-libs/boost-1.34.1
+ dev-libs/expat
+ dev-libs/libgcrypt
+ dev-libs/libgpg-error
+ dev-libs/libtasn1
+ dev-util/dialog
+ net-libs/gnutls
+ >=net-libs/rb_libtorrent-0.13_rc1
+ gtk? ( dev-cpp/gtkmm:2.4
+ dev-libs/libsigc++:2
+ x11-libs/pango )
+ test? ( dev-util/cppunit )
+ webinterface? ( =dev-lang/php-5* virtual/httpd-cgi )"
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.21
+ doc? ( app-doc/doxygen )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${P}-broken_bundled_plotmm_sigc.patch
+}
+
+src_compile() {
+ filter-ldflags -Wl,--as-needed --as-needed
+
+ econf \
+ $(use_enable debug) \
+ $(use_enable gtk gui) \
+ $(use_enable ncurses cli) \
+ $(use_enable event-callback) \
+ $(use_enable session session-saving) \
+ $(use_enable test unittest) \
+ $(use_enable webinterface www) \
+ $(use_enable !minimal command-list) \
+ --enable-btg-config \
+ --disable-upnp \
+ --disable-dependency-tracking \
+ || die
+
+ emake || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ dodoc AUTHORS ChangeLog README TODO
+
+ newinitd "${FILESDIR}/btgd-init" ${PN}
+ newconfd "${FILESDIR}/btgd-confd" ${PN}
+
+ use gtk && make_desktop_entry btgui "BTG GUI Client" btg "Network;P2P"
+}
+
+pkg_postinst() {
+ enewgroup p2p
+ enewuser p2p -1 -1 /home/p2p p2p
+
+ echo
+ elog "BTG needs a daemon.ini and client.ini, to create them run btg-config"
+ elog "and put them in the home of the user running btg (/home/p2p/.btg by default)"
+ echo
+}
diff --git a/net-p2p/btg/files/btg-0.9.7-broken_bundled_plotmm_sigc.patch b/net-p2p/btg/files/btg-0.9.7-broken_bundled_plotmm_sigc.patch
new file mode 100644
index 000000000000..2522484c0e55
--- /dev/null
+++ b/net-p2p/btg/files/btg-0.9.7-broken_bundled_plotmm_sigc.patch
@@ -0,0 +1,100 @@
+diff -Naur btg-0.9.7.orig/external/plotmm/compat.h btg-0.9.7/external/plotmm/compat.h
+--- btg-0.9.7.orig/external/plotmm/compat.h 2008-03-25 13:49:08.000000000 +0100
++++ btg-0.9.7/external/plotmm/compat.h 2008-03-25 14:21:18.000000000 +0100
+@@ -59,7 +59,7 @@
+ #else
+
+ namespace PlotMM {
+- typedef SigC::ObjectBase ObjectBase;
++ typedef sigc::ObjectBase ObjectBase;
+ }
+
+ #endif
+diff -Naur btg-0.9.7.orig/external/plotmm/curve.h btg-0.9.7/external/plotmm/curve.h
+--- btg-0.9.7.orig/external/plotmm/curve.h 2008-03-25 13:49:08.000000000 +0100
++++ btg-0.9.7/external/plotmm/curve.h 2008-03-25 14:21:18.000000000 +0100
+@@ -140,7 +140,7 @@
+ int from = 0, int to = -1);
+
+ //! Signals that this curve has changed in some way or the other
+- SigC::Signal0<void> signal_curve_changed;
++ sigc::signal0<void> signal_curve_changed;
+
+ protected:
+ virtual void init(const Glib::ustring &title);
+diff -Naur btg-0.9.7.orig/external/plotmm/plot.cc btg-0.9.7/external/plotmm/plot.cc
+--- btg-0.9.7.orig/external/plotmm/plot.cc 2008-03-25 13:49:08.000000000 +0100
++++ btg-0.9.7/external/plotmm/plot.cc 2008-03-25 14:21:18.000000000 +0100
+@@ -322,7 +322,7 @@
+ connect(sigc::mem_fun(*this,&Plot::on_canvas_expose_event));
+ #else
+ canvas_.signal_expose_event().
+- connect(SigC::slot(*this,&Plot::on_canvas_expose_event));
++ connect(sigc::slot(*this,&Plot::on_canvas_expose_event));
+ #endif
+
+ show_all();
+@@ -406,19 +406,19 @@
+ }
+
+ //! Return the signal owned by plot canvas
+-SigC::Signal3<void,int,int,GdkEventButton*> Plot::signal_plot_mouse_press()
++sigc::signal3<void,int,int,GdkEventButton*> Plot::signal_plot_mouse_press()
+ {
+ return canvas_.signal_plot_mouse_press;
+ }
+
+ //! Return the signal owned by plot canvas
+-SigC::Signal3<void,int,int,GdkEventButton*> Plot::signal_plot_mouse_release()
++sigc::signal3<void,int,int,GdkEventButton*> Plot::signal_plot_mouse_release()
+ {
+ return canvas_.signal_plot_mouse_release;
+ }
+
+ //! Return the signal owned by plot canvas
+-SigC::Signal3<void,int,int,GdkEventMotion*> Plot::signal_plot_mouse_move()
++sigc::signal3<void,int,int,GdkEventMotion*> Plot::signal_plot_mouse_move()
+ {
+ return canvas_.signal_plot_mouse_move;
+ }
+diff -Naur btg-0.9.7.orig/external/plotmm/plot.h btg-0.9.7/external/plotmm/plot.h
+--- btg-0.9.7.orig/external/plotmm/plot.h 2008-03-25 13:49:08.000000000 +0100
++++ btg-0.9.7/external/plotmm/plot.h 2008-03-25 14:21:18.000000000 +0100
+@@ -79,9 +79,9 @@
+ virtual void clear();
+ virtual void end_replot();
+
+- SigC::Signal3<void,int,int,GdkEventButton*> signal_plot_mouse_press;
+- SigC::Signal3<void,int,int,GdkEventButton*> signal_plot_mouse_release;
+- SigC::Signal3<void,int,int,GdkEventMotion*> signal_plot_mouse_move;
++ sigc::signal3<void,int,int,GdkEventButton*> signal_plot_mouse_press;
++ sigc::signal3<void,int,int,GdkEventButton*> signal_plot_mouse_release;
++ sigc::signal3<void,int,int,GdkEventMotion*> signal_plot_mouse_move;
+
+ protected:
+ virtual bool on_expose_event(GdkEventExpose* event);
+@@ -141,9 +141,9 @@
+ Scale *scale(PlotAxisID id) { return tickMark_[id]; }
+ PlotLabel *label(PlotAxisID id) { return axisLabel_[id]; }
+
+- SigC::Signal3<void,int,int,GdkEventButton*> signal_plot_mouse_press();
+- SigC::Signal3<void,int,int,GdkEventButton*> signal_plot_mouse_release();
+- SigC::Signal3<void,int,int,GdkEventMotion*> signal_plot_mouse_move();
++ sigc::signal3<void,int,int,GdkEventButton*> signal_plot_mouse_press();
++ sigc::signal3<void,int,int,GdkEventButton*> signal_plot_mouse_release();
++ sigc::signal3<void,int,int,GdkEventMotion*> signal_plot_mouse_move();
+
+ void set_selection(const Rectangle &r);
+ Rectangle get_selection() { return select_; }
+diff -Naur btg-0.9.7.orig/external/plotmm/scale.h btg-0.9.7/external/plotmm/scale.h
+--- btg-0.9.7.orig/external/plotmm/scale.h 2008-03-25 13:49:08.000000000 +0100
++++ btg-0.9.7/external/plotmm/scale.h 2008-03-25 14:21:18.000000000 +0100
+@@ -133,7 +133,7 @@
+ /*! This signal is thrown whenever the scale is enabled or disabled
+ * \sa set_enabled, enabled
+ */
+- SigC::Signal1<void,bool> signal_enabled;
++ sigc::signal1<void,bool> signal_enabled;
+
+ protected:
+ virtual void on_realize();