sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (771dba72668aeafa333b4575dcbd7e13f76acf3b)
- From: Vlad Glagolev <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (771dba72668aeafa333b4575dcbd7e13f76acf3b)
- Date: Sun, 6 Feb 2011 15:50:34 -0600
GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:
ChangeLog | 4 +++
ftp/museek+/BUILD | 5 ++++
ftp/museek+/CONFIGURE | 27 +++++++++++++++++++++
ftp/museek+/DEPENDS | 61
+++++++++++++++++++++++++++++++++++++++++++++++++
ftp/museek+/DETAILS | 31 ++++++++++++++++++++++++
ftp/museek+/HISTORY | 2 +
ftp/museek+/PRE_BUILD | 14 +++++++++++
ftp/museek+/size.patch | 21 ++++++++++++++++
8 files changed, 165 insertions(+)
New commits:
commit 771dba72668aeafa333b4575dcbd7e13f76acf3b
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
museek+: new spell, file-sharing application for the Soulseek
peer-to-peer network
diff --git a/ChangeLog b/ChangeLog
index 96fd636..2cb2ebe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-02-07 Vlad Glagolev <stealth AT sourcemage.org>
+ * ftp/museek+: new spell, file-sharing application for the Soulseek
+ peer-to-peer network
+
2011-02-06 Vlad Glagolev <stealth AT sourcemage.org>
* python-pypi/geoip-python: new spell, GeoIP Python API
* libs/sexy-python: new spell, Python language bindings for libsexy
diff --git a/ftp/museek+/BUILD b/ftp/museek+/BUILD
new file mode 100755
index 0000000..8013ac7
--- /dev/null
+++ b/ftp/museek+/BUILD
@@ -0,0 +1,5 @@
+OPTS="-DMANDIR=share/man \
+ $MUSEEKPLUS_OPTS \
+ $OPTS" &&
+
+cmake_build
diff --git a/ftp/museek+/CONFIGURE b/ftp/museek+/CONFIGURE
new file mode 100755
index 0000000..2ce9edb
--- /dev/null
+++ b/ftp/museek+/CONFIGURE
@@ -0,0 +1,27 @@
+message " Museek+ can optionally use either pycrypto or its own
PyMucipher\n" \
+ "library. This is required for simple clients and control tools" &&
+
+config_query_list MUSEEKPLUS_HASHLIB "Select which hashing library to use:" \
+ pycrypto \
+ pymucipher \
+ none &&
+
+if [[ $MUSEEKPLUS_HASHLIB != none ]]; then
+ config_query_option MUSEEKPLUS_OPTS "Install simple clients?" y \
+ "-DCLIENTS=ON" \
+ "-DCLIENTS=OFF"
+else
+ MUSEEKPLUS_OPTS="-DCLIENTS=OFF $MUSEEKPLUS_OPTS"
+fi &&
+
+config_query_option MUSEEKPLUS_OPTS "Build daemon?" y \
+ "-DNO_MUSEEKD=OFF" \
+ "-DNO_MUSEEKD=ON" &&
+
+config_query_option MUSEEKPLUS_OPTS "Build tool for scanning shared files?"
y \
+ "-DNO_MUSCAN=OFF" \
+ "-DNO_MUSCAN=ON"
+
+config_query_option MUSEEKPLUS_OPTS "Enable debug mode?" n \
+ "-DCMAKE_BUILD_TYPE=Debug" \
+ "-DCMAKE_BUILD_TYPE=Release"
diff --git a/ftp/museek+/DEPENDS b/ftp/museek+/DEPENDS
new file mode 100755
index 0000000..17e62c6
--- /dev/null
+++ b/ftp/museek+/DEPENDS
@@ -0,0 +1,61 @@
+depends cmake &&
+depends libxml++ &&
+depends libevent &&
+
+if [[ $MUSEEKPLUS_HASHLIB == pycrypto ]]; then
+ depends pycrypto '-DNO_PYMUCIPHER=ON'
+elif [[ $MUSEEKPLUS_HASHLIB == pymucipher ]]; then
+ depends -sub PYTHON swig '-DNO_PYMUCIPHER=OFF'
+fi &&
+
+if [[ $MUSEEKPLUS_HASHLIB != none ]]; then
+ optional_depends ncurses \
+ "-DMUCOUS=ON" \
+ "-DMUCOUS=OFF" \
+ "for ncurses GUI (mucous)"
+else
+ MUSEEKPLUS_OPTS="-DMUCOUS=OFF $MUSEEKPLUS_OPTS"
+fi &&
+
+if [[ $MUSEEKPLUS_HASHLIB == none ]] || ! is_depends_enabled $SPELL ncurses;
then
+ optional_depends python \
+ "-DBINDINGS=ON" \
+ "-DBINDINGS=OFF" \
+ "for Python bindings"
+else
+ depends python '-DBINDINGS=ON'
+fi &&
+
+# prevent from flags reset on next python dependency selection
+if is_depends_enabled $SPELL python; then
+ MUSEEKPLUS_OPTS="-DBINDINGS=ON $MUSEEKPLUS_OPTS"
+fi &&
+
+optional_depends -sub EXPAT python \
+ "-DNO_SETUP=OFF" \
+ "-DNO_SETUP=ON" \
+ "for musetup utility" &&
+
+optional_depends qt4 \
+ "-DNO_MUSEEQ=OFF" \
+ "-DNO_MUSEEQ=ON" \
+ "for QT4 GUI (museeq) support" &&
+
+optional_depends pygtk2 \
+ "-DMURMUR=ON" \
+ "-DMURMUR=OFF" \
+ "for PyGTK+ GUI (murmur)" &&
+
+optional_depends pyqt4 "" "" "for musetup-qt utility" &&
+
+optional_depends FAM "" "" "for file scanning daemon (muscand)" &&
+
+optional_depends libvorbis "" "" "for Ogg metadata generation" &&
+
+if is_depends_enabled $SPELL ncurses || is_depends_enabled $SPELL pygtk2;
then
+ suggest_depends geoip-python "" "" "for GeoIP location support"
+fi &&
+
+if is_depends_enabled $SPELL pygtk2; then
+ suggest_depends sexy-python "" "" "for spell-checking support"
+fi
diff --git a/ftp/museek+/DETAILS b/ftp/museek+/DETAILS
new file mode 100755
index 0000000..75a9c59
--- /dev/null
+++ b/ftp/museek+/DETAILS
@@ -0,0 +1,31 @@
+ SPELL=museek+
+ VERSION=0.2
+ SOURCE=$SPELL-$VERSION.tar.bz2
+
SOURCE_HASH=sha512:778cee1f91a6d5ed6e78f1dd1f3e5afda6ebca052065e3f04bada58edfe0e10983f2cbc3d9c94ff546175d3852e193934412d3b30ad37839f36b46bde0c8bf72
+ SOURCE_URL[0]=$SOURCEFORGE_URL/museek-plus/$SOURCE
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ WEB_SITE=http://www.museek-plus.org/
+ ENTERED=20110206
+ LICENSE[0]=GPL
+ KEYWORDS="p2p"
+ SHORT="file-sharing application for the Soulseek peer-to-peer
network"
+cat << EOF
+Museek+ (or Museek-Plus) can now be considered as a replacement for Museek.
+
+It is actively developed and supports most of Soulseek features (downloads
and
+uploads with rate limiting, searches, wishlist, rooms, interests, browsing,
user
+lists, private chat).
+
+Museek+ is separated into several components:
+ * museekd -- the daemon
+ * museeq -- the Qt4 client (GUI)
+ * murmur -- a PyGTK Museek Client (GUI)
+ * mucous -- a full-featured Curses Python client (GUI)
+ * muscan -- a tool for scanning shared files
+ * muscand -- an automatic file scanning tool
+ * musetup -- the commandline configuration script
+ * musetup-gtk -- the PyGTK configuration app
+ * musetup-qt -- the PyQt?3 configuration app
+ * museekcontrol -- a command-line Python client
+ * Python bindings
+EOF
diff --git a/ftp/museek+/HISTORY b/ftp/museek+/HISTORY
new file mode 100644
index 0000000..42a091a
--- /dev/null
+++ b/ftp/museek+/HISTORY
@@ -0,0 +1,2 @@
+2011-02-06 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, DEPENDS, CONFIGURE, {PRE_,}BUILD, size.patch: spell created
diff --git a/ftp/museek+/PRE_BUILD b/ftp/museek+/PRE_BUILD
new file mode 100755
index 0000000..b9659f7
--- /dev/null
+++ b/ftp/museek+/PRE_BUILD
@@ -0,0 +1,14 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+patch -p0 < "$SPELL_DIRECTORY/size.patch" &&
+
+if [[ $MUSEEKPLUS_HASHLIB != none ]]; then
+ if ! is_depends_enabled $SPELL pyqt4; then
+ sed -i "s:musetup-qt::g" setup/CMakeLists.txt
+ fi &&
+
+ if ! is_depends_enabled $SPELL pygtk2; then
+ sed -i "s:musetup-gtk$::;s:musetup-gtk.1::;s:musetup-gtk, ::"
setup/CMakeLists.txt
+ fi
+fi
diff --git a/ftp/museek+/size.patch b/ftp/museek+/size.patch
new file mode 100644
index 0000000..561bf21
--- /dev/null
+++ b/ftp/museek+/size.patch
@@ -0,0 +1,21 @@
+http://www.museek-plus.org/ticket/191
+--- python-bindings/museek/messages.py.orig 2009-02-20 13:42:45.000000000
+0300
++++ python-bindings/museek/messages.py 2011-02-06 17:12:33.179281238 +0300
+@@ -774,7 +774,7 @@
+ class DownloadFile(BaseMessage):
+ code = 0x0503
+
+- def __init__(self, user = None, path = None, size = None):
++ def __init__(self, user = None, path = None, size = 0):
+ self.user = user
+ self.path = path
+ self.size = size
+@@ -837,7 +837,7 @@
+ class DownloadFileTo(BaseMessage):
+ code = 0x0507
+
+- def __init__(self, user = None, path = None, dpath = None, size =
None):
++ def __init__(self, user = None, path = None, dpath = None, size = 0):
+ self.user = user
+ self.path = path
+ self.dpath = dpath
- [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (771dba72668aeafa333b4575dcbd7e13f76acf3b), Vlad Glagolev, 02/06/2011
Archive powered by MHonArc 2.6.24.