Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Finn Haedicke (f939da6d63eaf83d6309cb4ef820b649fdc6c048)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Finn Haedicke <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Finn Haedicke (f939da6d63eaf83d6309cb4ef820b649fdc6c048)
  • Date: Mon, 30 Nov 2009 06:19:32 -0600

GIT changes to master grimoire by Finn Haedicke <finn_haedicke AT gmx.net>:

ftp-libs/rb-libtorrent/BUILD | 2 ++
ftp-libs/rb-libtorrent/CONFIGURE | 2 ++
ftp-libs/rb-libtorrent/DEPENDS | 7 ++++++-
ftp-libs/rb-libtorrent/HISTORY | 4 ++++
ftp-libs/rb-libtorrent/PRE_SUB_DEPENDS | 6 ++++++
ftp-libs/rb-libtorrent/SUB_DEPENDS | 12 ++++++++++++
video/miro/DEPENDS | 1 +
video/miro/HISTORY | 3 +++
8 files changed, 36 insertions(+), 1 deletion(-)

New commits:
commit f939da6d63eaf83d6309cb4ef820b649fdc6c048
Author: Finn Haedicke <finn_haedicke AT gmx.net>
Commit: Finn Haedicke <finn_haedicke AT gmx.net>

miro: use external rb-libtorrent

commit f8b89a60bc10a833ea398ed9fee03f21e6b8c610
Author: Finn Haedicke <finn_haedicke AT gmx.net>
Commit: Finn Haedicke <finn_haedicke AT gmx.net>

rb-libtorrent: aded (PRE_)SUB_DEPENDS for PYTHON bindings

commit 56109fdf267f3bc1c4ac2292b8d58ef85961d4a5
Author: Finn Haedicke <finn_haedicke AT gmx.net>
Commit: Finn Haedicke <finn_haedicke AT gmx.net>

rb-libtorrent: query for python bindings

diff --git a/ftp-libs/rb-libtorrent/BUILD b/ftp-libs/rb-libtorrent/BUILD
new file mode 100755
index 0000000..06932b9
--- /dev/null
+++ b/ftp-libs/rb-libtorrent/BUILD
@@ -0,0 +1,2 @@
+OPTS="$RB_LIBTORRENT_OPTS $OPTS" &&
+default_build
diff --git a/ftp-libs/rb-libtorrent/CONFIGURE
b/ftp-libs/rb-libtorrent/CONFIGURE
new file mode 100755
index 0000000..03cc550
--- /dev/null
+++ b/ftp-libs/rb-libtorrent/CONFIGURE
@@ -0,0 +1,2 @@
+config_query_option RB_LIBTORRENT_OPTS "build python bindings?" n \
+ "--enable-python-binding" "--disable-python-binding"
diff --git a/ftp-libs/rb-libtorrent/DEPENDS b/ftp-libs/rb-libtorrent/DEPENDS
index 7190911..223a481 100755
--- a/ftp-libs/rb-libtorrent/DEPENDS
+++ b/ftp-libs/rb-libtorrent/DEPENDS
@@ -4,4 +4,9 @@ sub_depends boost THREAD &&
sub_depends boost FILESYSTEM &&
sub_depends boost DATE_TIME &&
sub_depends boost REGEX &&
-sub_depends boost PROGRAM_OPTIONS
+sub_depends boost PROGRAM_OPTIONS &&
+
+if list_find "$RB_LIBTORRENT_OPTS" "--enable-python-binding"
+then
+ sub_depends boost PYTHON
+fi
diff --git a/ftp-libs/rb-libtorrent/HISTORY b/ftp-libs/rb-libtorrent/HISTORY
index bc85057..317ad35 100644
--- a/ftp-libs/rb-libtorrent/HISTORY
+++ b/ftp-libs/rb-libtorrent/HISTORY
@@ -1,3 +1,7 @@
+2009-11-30 Finn Haedicke <finn AT sourcemage.org>
+ * CONFIGURE, BUILD, DEPENDS: query for python bindings
+ * {PRE_,}SUB_DEPENDS: added for python bindings
+
2009-11-19 Bor Kraljič <pyrobor AT ver.si>
* DETAILS: updated spell to 0.14.7

diff --git a/ftp-libs/rb-libtorrent/PRE_SUB_DEPENDS
b/ftp-libs/rb-libtorrent/PRE_SUB_DEPENDS
new file mode 100755
index 0000000..ba56605
--- /dev/null
+++ b/ftp-libs/rb-libtorrent/PRE_SUB_DEPENDS
@@ -0,0 +1,6 @@
+case $THIS_SUB_DEPENDS in
+ PYTHON) list_find "$RB_LIBTORRENT_OPTS" "--enable-python-binding" &&
return 0;;
+ *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL
$THIS_SUB_DEPENDS${DEFAULT_COLOR}"
+ return 1;;
+esac
+return 1
diff --git a/ftp-libs/rb-libtorrent/SUB_DEPENDS
b/ftp-libs/rb-libtorrent/SUB_DEPENDS
new file mode 100755
index 0000000..e1e4a49
--- /dev/null
+++ b/ftp-libs/rb-libtorrent/SUB_DEPENDS
@@ -0,0 +1,12 @@
+# On branch devel-miro
+# Changed but not updated:
+case $THIS_SUB_DEPENDS in
+ PYTHON)
+ message "$SPELL with Python requested, forcing boost python dependency"
&&
+ RB_LIBTORRENT_OPTS="--enable-python-binding"
+ sub_depends boost PYTHON
+ ;;
+ *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL
$THIS_SUB_DEPENDS${DEFAULT_COLOR}"
+ return 1;;
+esac
+
diff --git a/video/miro/DEPENDS b/video/miro/DEPENDS
index ef02100..a8c05fe 100755
--- a/video/miro/DEPENDS
+++ b/video/miro/DEPENDS
@@ -1,5 +1,6 @@
depends python &&
depends gnome-python-extras &&
+depends -sub PYTHON rb-libtorrent
depends xine-lib &&
depends XULRUNNER &&
depends gst-python &&
diff --git a/video/miro/HISTORY b/video/miro/HISTORY
index 2588c14..6b2ebea 100644
--- a/video/miro/HISTORY
+++ b/video/miro/HISTORY
@@ -1,3 +1,6 @@
+2009-11-30 Finn Haedicke <finn AT sourcemage.org>
+ * DEPENDS: use external rb-libtorrent
+
2009-10-29 Bor Kraljič <pyrobor AT ver.si>
* DETAILS: Fixed SOURCE & SOURCE_DIRECTORY
updated spell to 2.5.3



  • [SM-Commit] GIT changes to master grimoire by Finn Haedicke (f939da6d63eaf83d6309cb4ef820b649fdc6c048), Finn Haedicke, 11/30/2009

Archive powered by MHonArc 2.6.24.

Top of Page