[arch-commits] Commit in libtorrent-rasterbar/repos (6 files)

Felix Yan fyan at archlinux.org
Tue Jan 12 03:15:24 UTC 2016


    Date: Tuesday, January 12, 2016 @ 04:15:24
  Author: fyan
Revision: 257956

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  libtorrent-rasterbar/repos/extra-i686/PKGBUILD
    (from rev 257955, libtorrent-rasterbar/trunk/PKGBUILD)
  libtorrent-rasterbar/repos/extra-i686/boost-1.60.patch
    (from rev 257955, libtorrent-rasterbar/trunk/boost-1.60.patch)
  libtorrent-rasterbar/repos/extra-x86_64/PKGBUILD
    (from rev 257955, libtorrent-rasterbar/trunk/PKGBUILD)
  libtorrent-rasterbar/repos/extra-x86_64/boost-1.60.patch
    (from rev 257955, libtorrent-rasterbar/trunk/boost-1.60.patch)
Deleted:
  libtorrent-rasterbar/repos/extra-i686/PKGBUILD
  libtorrent-rasterbar/repos/extra-x86_64/PKGBUILD

-------------------------------+
 /PKGBUILD                     |   86 ++++++++++++++++++++++++++++++++++++++++
 extra-i686/PKGBUILD           |   34 ---------------
 extra-i686/boost-1.60.patch   |   22 ++++++++++
 extra-x86_64/PKGBUILD         |   34 ---------------
 extra-x86_64/boost-1.60.patch |   22 ++++++++++
 5 files changed, 130 insertions(+), 68 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2016-01-12 03:14:31 UTC (rev 257955)
+++ extra-i686/PKGBUILD	2016-01-12 03:15:24 UTC (rev 257956)
@@ -1,34 +0,0 @@
-# $Id$
-# Maintainer : Ionut Biru <ibiru at archlinux.org>
-# Contributor: Hugo Doria <hugo at archlinux.org>
-
-pkgname=libtorrent-rasterbar
-pkgver=1.0.7
-pkgrel=3
-epoch=1
-pkgdesc="A C++ BitTorrent library that aims to be a good alternative to all the other implementations around"
-url="http://www.rasterbar.com/products/libtorrent/"
-arch=('i686' 'x86_64')
-license=('BSD')
-depends=('boost-libs' 'geoip' 'python2')
-makedepends=('boost')
-options=('!emptydirs')
-source=(https://github.com/arvidn/libtorrent/releases/download/libtorrent-${pkgver//./_}/$pkgname-$pkgver.tar.gz)
-sha1sums=('db272a0c09a1fad721fe88e6e3942b9160bd0c61')
-
-build() {
-  cd $pkgname-$pkgver
-  PYTHON=/usr/bin/python2 \
-  ./configure \
-    --prefix=/usr \
-    --enable-python-binding \
-    --with-libgeoip=system \
-    --with-libiconv
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: libtorrent-rasterbar/repos/extra-i686/PKGBUILD (from rev 257955, libtorrent-rasterbar/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2016-01-12 03:15:24 UTC (rev 257956)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Hugo Doria <hugo at archlinux.org>
+
+pkgname=libtorrent-rasterbar
+pkgver=1.0.7
+pkgrel=4
+epoch=1
+pkgdesc="A C++ BitTorrent library that aims to be a good alternative to all the other implementations around"
+url="http://www.rasterbar.com/products/libtorrent/"
+arch=('i686' 'x86_64')
+license=('BSD')
+depends=('boost-libs' 'geoip' 'python2')
+makedepends=('boost')
+options=('!emptydirs')
+source=(https://github.com/arvidn/libtorrent/releases/download/libtorrent-${pkgver//./_}/$pkgname-$pkgver.tar.gz
+        boost-1.60.patch)
+sha1sums=('db272a0c09a1fad721fe88e6e3942b9160bd0c61'
+          'aeef8300f91b2842776feac8ca3717f62539ac74')
+
+prepare() {
+  cd $pkgname-$pkgver
+  # FS#47519
+  patch -p1 -i ../boost-1.60.patch
+}
+
+build() {
+  cd $pkgname-$pkgver
+  PYTHON=/usr/bin/python2 \
+  ./configure \
+    --prefix=/usr \
+    --enable-python-binding \
+    --with-libgeoip=system \
+    --with-libiconv
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Copied: libtorrent-rasterbar/repos/extra-i686/boost-1.60.patch (from rev 257955, libtorrent-rasterbar/trunk/boost-1.60.patch)
===================================================================
--- extra-i686/boost-1.60.patch	                        (rev 0)
+++ extra-i686/boost-1.60.patch	2016-01-12 03:15:24 UTC (rev 257956)
@@ -0,0 +1,22 @@
+From 5330ba5af717b983e456be9f576d66b78d9ca214 Mon Sep 17 00:00:00 2001
+From: Andrew Resch <andrewresch at gmail.com>
+Date: Sat, 2 Jan 2016 14:40:02 -0800
+Subject: [PATCH] register_ptr_to_python for boost::shared_ptr<alert>
+
+---
+ bindings/python/src/session.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/bindings/python/src/session.cpp b/bindings/python/src/session.cpp
+index fe53e10..727a54a 100644
+--- a/bindings/python/src/session.cpp
++++ b/bindings/python/src/session.cpp
+@@ -799,7 +799,7 @@ void bind_session()
+         .def("settings", &get_feed_settings)
+     ;
+ 
+-    register_ptr_to_python<std::auto_ptr<alert> >();
++    register_ptr_to_python<boost::shared_ptr<alert> >();
+ 
+     def("high_performance_seed", high_performance_seed);
+     def("min_memory_usage", min_memory_usage);

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2016-01-12 03:14:31 UTC (rev 257955)
+++ extra-x86_64/PKGBUILD	2016-01-12 03:15:24 UTC (rev 257956)
@@ -1,34 +0,0 @@
-# $Id$
-# Maintainer : Ionut Biru <ibiru at archlinux.org>
-# Contributor: Hugo Doria <hugo at archlinux.org>
-
-pkgname=libtorrent-rasterbar
-pkgver=1.0.7
-pkgrel=3
-epoch=1
-pkgdesc="A C++ BitTorrent library that aims to be a good alternative to all the other implementations around"
-url="http://www.rasterbar.com/products/libtorrent/"
-arch=('i686' 'x86_64')
-license=('BSD')
-depends=('boost-libs' 'geoip' 'python2')
-makedepends=('boost')
-options=('!emptydirs')
-source=(https://github.com/arvidn/libtorrent/releases/download/libtorrent-${pkgver//./_}/$pkgname-$pkgver.tar.gz)
-sha1sums=('db272a0c09a1fad721fe88e6e3942b9160bd0c61')
-
-build() {
-  cd $pkgname-$pkgver
-  PYTHON=/usr/bin/python2 \
-  ./configure \
-    --prefix=/usr \
-    --enable-python-binding \
-    --with-libgeoip=system \
-    --with-libiconv
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: libtorrent-rasterbar/repos/extra-x86_64/PKGBUILD (from rev 257955, libtorrent-rasterbar/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2016-01-12 03:15:24 UTC (rev 257956)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Hugo Doria <hugo at archlinux.org>
+
+pkgname=libtorrent-rasterbar
+pkgver=1.0.7
+pkgrel=4
+epoch=1
+pkgdesc="A C++ BitTorrent library that aims to be a good alternative to all the other implementations around"
+url="http://www.rasterbar.com/products/libtorrent/"
+arch=('i686' 'x86_64')
+license=('BSD')
+depends=('boost-libs' 'geoip' 'python2')
+makedepends=('boost')
+options=('!emptydirs')
+source=(https://github.com/arvidn/libtorrent/releases/download/libtorrent-${pkgver//./_}/$pkgname-$pkgver.tar.gz
+        boost-1.60.patch)
+sha1sums=('db272a0c09a1fad721fe88e6e3942b9160bd0c61'
+          'aeef8300f91b2842776feac8ca3717f62539ac74')
+
+prepare() {
+  cd $pkgname-$pkgver
+  # FS#47519
+  patch -p1 -i ../boost-1.60.patch
+}
+
+build() {
+  cd $pkgname-$pkgver
+  PYTHON=/usr/bin/python2 \
+  ./configure \
+    --prefix=/usr \
+    --enable-python-binding \
+    --with-libgeoip=system \
+    --with-libiconv
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Copied: libtorrent-rasterbar/repos/extra-x86_64/boost-1.60.patch (from rev 257955, libtorrent-rasterbar/trunk/boost-1.60.patch)
===================================================================
--- extra-x86_64/boost-1.60.patch	                        (rev 0)
+++ extra-x86_64/boost-1.60.patch	2016-01-12 03:15:24 UTC (rev 257956)
@@ -0,0 +1,22 @@
+From 5330ba5af717b983e456be9f576d66b78d9ca214 Mon Sep 17 00:00:00 2001
+From: Andrew Resch <andrewresch at gmail.com>
+Date: Sat, 2 Jan 2016 14:40:02 -0800
+Subject: [PATCH] register_ptr_to_python for boost::shared_ptr<alert>
+
+---
+ bindings/python/src/session.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/bindings/python/src/session.cpp b/bindings/python/src/session.cpp
+index fe53e10..727a54a 100644
+--- a/bindings/python/src/session.cpp
++++ b/bindings/python/src/session.cpp
+@@ -799,7 +799,7 @@ void bind_session()
+         .def("settings", &get_feed_settings)
+     ;
+ 
+-    register_ptr_to_python<std::auto_ptr<alert> >();
++    register_ptr_to_python<boost::shared_ptr<alert> >();
+ 
+     def("high_performance_seed", high_performance_seed);
+     def("min_memory_usage", min_memory_usage);



More information about the arch-commits mailing list