1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

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>
This commit is contained in:
Edwin Groothuis 2005-01-20 06:25:13 +00:00
parent 2be36ae5aa
commit bececa38ea
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=126897
7 changed files with 168 additions and 0 deletions

View File

@ -133,6 +133,7 @@
SUBDIR += gnapster
SUBDIR += gnomeaudio2
SUBDIR += gnomemedia2
SUBDIR += gnomoradio
SUBDIR += gnowavcut
SUBDIR += gnump3d
SUBDIR += gnupod

37
audio/gnomoradio/Makefile Normal file
View File

@ -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>

View File

@ -0,0 +1,2 @@
MD5 (gnomoradio-0.15.1.tar.gz) = 1ca31f4e9fb77adb5e7261e190ecb20a
SIZE (gnomoradio-0.15.1.tar.gz) = 482339

View File

@ -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 {

View File

@ -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();

View File

@ -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

View File

@ -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