Skip to contentSkip to conversation

libtorrent: drop sigc dep & switch homepage

PATCH New Gustavo Zacarias 2 participants 4 messages Oct 5, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 libtorrent: drop sigc dep & switch homepage

libsigc isn't used/needed any longer so drop it.
And switch to the proper homepage rather than the tarball repository.

---
 package/libtorrent/Config.in     | 3 +--
 package/libtorrent/libtorrent.mk | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)
package/libtorrent/Config.in +1 -2
index 02ed73a..48e6add 100644
@@ -3,11 +3,10 @@ config BR2_PACKAGE_LIBTORRENT
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_ARCH_HAS_ATOMICS
-	select BR2_PACKAGE_LIBSIGC
 	help
 	  BitTorrent library written in C++ for *nix
 
-	  http://rtorrent.net/downloads/
+	  https://github.com/rakshasa/libtorrent
 
 comment "libtorrent needs a toolchain w/ C++, threads"
 	depends on BR2_ARCH_HAS_ATOMICS
package/libtorrent/libtorrent.mk +1 -1
index 9690acb..633b86a 100644
@@ -6,7 +6,7 @@
 
 LIBTORRENT_VERSION = 0.13.6
 LIBTORRENT_SITE = http://rtorrent.net/downloads
-LIBTORRENT_DEPENDENCIES = host-pkgconf libsigc \
+LIBTORRENT_DEPENDENCIES = host-pkgconf \
 	$(if $(BR2_PACKAGE_OPENSSL),openssl) \
 	$(if $(BR2_PACKAGE_ZLIB),zlib)
 LIBTORRENT_CONF_OPTS = --enable-aligned \
Signature · 1 line
2.4.9
#1 lore raw

PATCH 2/3 rtorrent: drop sigc dep & switch homepage

libsigc isn't used/needed any longer so drop it.
And switch to the proper homepage rather than the tarball repository.

---
 package/rtorrent/Config.in   | 3 +--
 package/rtorrent/rtorrent.mk | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)
package/rtorrent/Config.in +1 -2
index 77ab595..0583152 100644
@@ -6,14 +6,13 @@ config BR2_PACKAGE_RTORRENT
 	depends on BR2_USE_MMU # fork()
 	depends on BR2_ARCH_HAS_ATOMICS # libtorrent
 	select BR2_PACKAGE_LIBCURL
-	select BR2_PACKAGE_LIBSIGC
 	select BR2_PACKAGE_LIBTORRENT
 	select BR2_PACKAGE_NCURSES
 	select BR2_PACKAGE_OPENSSL
 	help
 	  BitTorrent Client using libtorrent
 
-	  http://rtorrent.net/downloads/
+	  https://github.com/rakshasa/rtorrent
 
 comment "rtorrent needs a toolchain w/ C++, threads, wchar"
 	depends on BR2_USE_MMU
package/rtorrent/rtorrent.mk +1 -1
index bedf404..edde02e 100644
@@ -6,7 +6,7 @@
 
 RTORRENT_VERSION = 0.9.6
 RTORRENT_SITE = http://rtorrent.net/downloads
-RTORRENT_DEPENDENCIES = host-pkgconf libcurl libsigc libtorrent ncurses
+RTORRENT_DEPENDENCIES = host-pkgconf libcurl libtorrent ncurses
 RTORRENT_AUTORECONF = YES
 RTORRENT_LICENSE = GPLv2
 RTORRENT_LICENSE_FILES = COPYING
Signature · 1 line
2.4.9
#2 lore raw

PATCH 3/3 libtorrent: zlib is mandatory

In reply to Gustavo Zacarias

zlib isn't optional even though it seems like it, fixes build failure such as:

log.cc:51:18: fatal error: zlib.h: No such file or directory

---
 package/libtorrent/Config.in     | 1 +
 package/libtorrent/libtorrent.mk | 9 ++++-----
 2 files changed, 5 insertions(+), 5 deletions(-)
package/libtorrent/Config.in +1 -0
index 48e6add..17a1f23 100644
@@ -3,6 +3,7 @@ config BR2_PACKAGE_LIBTORRENT
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_ARCH_HAS_ATOMICS
+	select BR2_PACKAGE_ZLIB
 	help
 	  BitTorrent library written in C++ for *nix
 
package/libtorrent/libtorrent.mk +4 -5
index 633b86a..ef1c75f 100644
@@ -6,13 +6,12 @@
 
 LIBTORRENT_VERSION = 0.13.6
 LIBTORRENT_SITE = http://rtorrent.net/downloads
-LIBTORRENT_DEPENDENCIES = host-pkgconf \
-	$(if $(BR2_PACKAGE_OPENSSL),openssl) \
-	$(if $(BR2_PACKAGE_ZLIB),zlib)
+LIBTORRENT_DEPENDENCIES = host-pkgconf zlib \
+	$(if $(BR2_PACKAGE_OPENSSL),openssl)
 LIBTORRENT_CONF_OPTS = --enable-aligned \
 	--disable-instrumentation \
-	$(if $(BR2_PACKAGE_OPENSSL),--enable-openssl,--disable-openssl) \
-	$(if $(BR2_PACKAGE_ZLIB),--with-zlib=$(STAGING_DIR)/usr,--without-zlib)
+	--with-zlib=$(STAGING_DIR)/usr \
+	$(if $(BR2_PACKAGE_OPENSSL),--enable-openssl,--disable-openssl)
 LIBTORRENT_INSTALL_STAGING = YES
 LIBTORRENT_AUTORECONF = YES
 LIBTORRENT_LICENSE = GPLv2
Signature · 1 line
2.4.9
#3 lore raw

PATCH 1/3 libtorrent: drop sigc dep & switch homepage

In reply to Gustavo Zacarias
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

libsigc isn't used/needed any longer so drop it.
And switch to the proper homepage rather than the tarball repository.

Committed all 3, thanks.

Signature · 1 line
Bye, Peter Korsgaard