diff options
author | edwin <edwin@FreeBSD.org> | 2005-01-20 14:25:13 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2005-01-20 14:25:13 +0800 |
commit | c087ebf203eeed47d3a6c4d9272ebddef1685ef1 (patch) | |
tree | 76b9e8f596741d9fbbb3ef092a56b60797c81ccf /audio/gnomoradio | |
parent | 45fb58b3f80406ae59f58bb6c81e701e737d4457 (diff) | |
download | freebsd-ports-gnome-c087ebf203eeed47d3a6c4d9272ebddef1685ef1.tar.gz freebsd-ports-gnome-c087ebf203eeed47d3a6c4d9272ebddef1685ef1.tar.zst freebsd-ports-gnome-c087ebf203eeed47d3a6c4d9272ebddef1685ef1.zip |
New port: audio/gnomoradio, a program for finding and playing free
music from the Internet
Note: on 4.x, this port will be compiled with G++ 3.4, but
will attempt to link to libraries compiled with G++ 2.95,
so I guess it'll fail. I suggest to see what happens with
bento and, if needed, mark this port as 5.x-only using
IGNORE.
PR: ports/73032
Submitted by: Jean-Yves Lefort <jylefort@brutele.be>
Diffstat (limited to 'audio/gnomoradio')
-rw-r--r-- | audio/gnomoradio/Makefile | 37 | ||||
-rw-r--r-- | audio/gnomoradio/distinfo | 2 | ||||
-rw-r--r-- | audio/gnomoradio/files/patch-rainbow::license.cc | 11 | ||||
-rw-r--r-- | audio/gnomoradio/files/patch-rainbow::rdf-resource.cc | 55 | ||||
-rw-r--r-- | audio/gnomoradio/pkg-descr | 17 | ||||
-rw-r--r-- | audio/gnomoradio/pkg-plist | 45 |
6 files changed, 167 insertions, 0 deletions
diff --git a/audio/gnomoradio/Makefile b/audio/gnomoradio/Makefile new file mode 100644 index 000000000000..c59b665fd5cf --- /dev/null +++ b/audio/gnomoradio/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: gnomoradio +# Date created: 23 Oct 2004 +# Whom: Jean-Yves Lefort <jylefort@brutele.be> +# +# $FreeBSD$ +# + +PORTNAME= gnomoradio +PORTVERSION= 0.15.1 +CATEGORIES= audio net +MASTER_SITES= ${MASTER_SITE_SAVANNAH} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= jylefort@brutele.be +COMMENT= A program for finding and playing free music from the Internet + +LIB_DEPENDS= sigc-2.0:${PORTSDIR}/devel/libsigc++20 \ + gtkmm-2.4:${PORTSDIR}/x11-toolkits/gtkmm24 \ + gconfmm-2.6:${PORTSDIR}/devel/gconfmm26 \ + xml\\+\\+-2.6:${PORTSDIR}/textproc/libxml++26 \ + vorbis:${PORTSDIR}/audio/libvorbis \ + ao:${PORTSDIR}/audio/libao + +USE_X_PREFIX= yes +USE_GCC= 3.4 +USE_GNOME= gnomehack gnomeprefix +USE_REINPLACE= yes +INSTALLS_SHLIB= yes +USE_LIBTOOL_VER= 15 +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +post-patch: + @${REINPLACE_CMD} -e 's|CCLD = $$(CC)|CCLD = $$(CXX)|' \ + ${WRKSRC}/roboradio/mp3/Makefile.in + +.include <bsd.port.mk> diff --git a/audio/gnomoradio/distinfo b/audio/gnomoradio/distinfo new file mode 100644 index 000000000000..333590a47529 --- /dev/null +++ b/audio/gnomoradio/distinfo @@ -0,0 +1,2 @@ +MD5 (gnomoradio-0.15.1.tar.gz) = 1ca31f4e9fb77adb5e7261e190ecb20a +SIZE (gnomoradio-0.15.1.tar.gz) = 482339 diff --git a/audio/gnomoradio/files/patch-rainbow::license.cc b/audio/gnomoradio/files/patch-rainbow::license.cc new file mode 100644 index 000000000000..0a77cd7e3776 --- /dev/null +++ b/audio/gnomoradio/files/patch-rainbow::license.cc @@ -0,0 +1,11 @@ +--- rainbow/license.cc.orig Wed Dec 22 11:05:36 2004 ++++ rainbow/license.cc Wed Dec 22 11:06:49 2004 +@@ -54,7 +54,7 @@ + } + + if (done) { +- signal<void,ref_ptr<License> > sig; ++ sigc::signal<void,ref_ptr<License> > sig; + sig.connect(slot); + sig(license); + } else { diff --git a/audio/gnomoradio/files/patch-rainbow::rdf-resource.cc b/audio/gnomoradio/files/patch-rainbow::rdf-resource.cc new file mode 100644 index 000000000000..59e878ff7179 --- /dev/null +++ b/audio/gnomoradio/files/patch-rainbow::rdf-resource.cc @@ -0,0 +1,55 @@ +--- rainbow/rdf-resource.cc.orig Wed Dec 22 11:07:54 2004 ++++ rainbow/rdf-resource.cc Wed Dec 22 11:09:33 2004 +@@ -35,7 +35,7 @@ + resource = ref_ptr<RdfResource>(p->second); + if (resource->downloaded) { // already downloaded + map<Glib::ustring,xmlpp::Element*>::iterator el = resource->id_map.find(id); +- signal<void,xmlpp::Element*,ref_ptr<RdfResource> > sig; ++ sigc::signal<void,xmlpp::Element*,ref_ptr<RdfResource> > sig; + sig.connect(slot); + sig(el != resource->id_map.end() ? el->second : 0, resource); + return; +@@ -47,7 +47,7 @@ + Glib::ustring host, file; + unsigned short port; + if (!HttpClient::parse_url(uri, host, port, file)) { +- signal<void,xmlpp::Element*,ref_ptr<RdfResource> > sig; ++ sigc::signal<void,xmlpp::Element*,ref_ptr<RdfResource> > sig; + sig.connect(slot); + sig(0, resource); + return; +@@ -55,14 +55,14 @@ + } + + // connect mem_fun to appropriate signal +- map<Glib::ustring,signal<void,xmlpp::Element*, ref_ptr<RdfResource> >*>::iterator sig; ++ map<Glib::ustring,sigc::signal<void,xmlpp::Element*, ref_ptr<RdfResource> >*>::iterator sig; + sig = resource->signal_map.find(id); + if (sig != resource->signal_map.end()) { + // found existing signal for id + sig->second->connect(slot); + } else { + // need to create new signal to handle id +- signal<void,xmlpp::Element*,ref_ptr<RdfResource> > *signal_ = new signal<void,xmlpp::Element*,ref_ptr<RdfResource> >; ++ sigc::signal<void,xmlpp::Element*,ref_ptr<RdfResource> > *signal_ = new sigc::signal<void,xmlpp::Element*,ref_ptr<RdfResource> >; + signal_->connect(slot); + resource->signal_map.insert(make_pair(id, signal_)); + } +@@ -190,7 +190,7 @@ + + error: + // call all signals +- map<Glib::ustring,signal<void,xmlpp::Element*,ref_ptr<RdfResource> >*>::iterator signal; ++ map<Glib::ustring,sigc::signal<void,xmlpp::Element*,ref_ptr<RdfResource> >*>::iterator signal; + for (signal = signal_map.begin(); signal != signal_map.end(); ++signal) { + map<Glib::ustring,xmlpp::Element*>::iterator el = id_map.find(signal->first); + signal->second->emit(el != id_map.end() ? el->second : 0, ref_ptr<RdfResource>(this)); +@@ -204,7 +204,7 @@ + + void Rainbow::RdfResource::clear_signal_map () + { +- map<Glib::ustring,signal<void,xmlpp::Element*,ref_ptr<RdfResource> >*>::iterator signal; ++ map<Glib::ustring,sigc::signal<void,xmlpp::Element*,ref_ptr<RdfResource> >*>::iterator signal; + for (signal = signal_map.begin(); signal != signal_map.end(); ++signal) + delete signal->second; + signal_map.clear(); diff --git a/audio/gnomoradio/pkg-descr b/audio/gnomoradio/pkg-descr new file mode 100644 index 000000000000..2e247e2e6478 --- /dev/null +++ b/audio/gnomoradio/pkg-descr @@ -0,0 +1,17 @@ +Gnomoradio is quickly becoming a fully-featured music player and peer +to peer file sharing system. Here is a quick outline of its current +features that more or less work: + + * Finds and plays mp3's and ogg's that are located on the + user's hard drive + * Sorts songs in playlists, including search playlists for + songs that match a given criteria + * Searches for, downloads and shares songs that are available + under a Creative Commons license + * Recommends songs based on a user's listening preferences, + almost like a totally personalized radio broadcast + +WWW: http://www.gnomoradio.org/ + +- Jean-Yves Lefort +jylefort@brutele.be diff --git a/audio/gnomoradio/pkg-plist b/audio/gnomoradio/pkg-plist new file mode 100644 index 000000000000..89f2f87ab0c4 --- /dev/null +++ b/audio/gnomoradio/pkg-plist @@ -0,0 +1,45 @@ +bin/gnomoradio +bin/rainbow-get +include/rainbow/alarm.h +include/rainbow/http-client.h +include/rainbow/http-server.h +include/rainbow/hub-client.h +include/rainbow/init.h +include/rainbow/license.h +include/rainbow/rdf-resource.h +include/rainbow/util.h +include/roboradio/init.h +include/roboradio/player.h +include/roboradio/recommendation.h +include/roboradio/song-list-automatic.h +include/roboradio/song-list-cache.h +include/roboradio/song-list-history.h +include/roboradio/song-list-library.h +include/roboradio/song-list-radio.h +include/roboradio/song-list-search.h +include/roboradio/song-list.h +include/roboradio/song-local.h +include/roboradio/song-rainbow.h +include/roboradio/song.h +include/roboradio/sort-songs.h +include/roboradio/state.h +include/roboradio/xspf.h +lib/librainbow.a +lib/librainbow.so +lib/librainbow.so.0 +lib/libroboradio-audio.a +lib/libroboradio-audio.so +lib/libroboradio-audio.so.0 +lib/libroboradio-mp3.a +lib/libroboradio-mp3.so +lib/libroboradio-mp3.so.0 +lib/libroboradio.a +lib/libroboradio.so +lib/libroboradio.so.0 +sbin/rainbow-hub +share/gnome/applications/gnomoradio.desktop +share/gnome/pixmaps/gnomoradio.png +share/gnome/pixmaps/gnomoradio/gnomoradio-heart.png +@dirrm include/rainbow +@dirrm include/roboradio +@dirrm share/gnome/pixmaps/gnomoradio |