Bug 73032

Summary: New port: audio/gnomoradio, a program for finding and playing free music from the Internet
Product: Ports & Packages Reporter: Jean-Yves Lefort <jylefort>
Component: Individual Port(s)Assignee: Edwin Groothuis <edwin>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.shar none

Description Jean-Yves Lefort 2004-10-23 09:20:14 UTC
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.
Comment 1 Alexander Nedotsukov freebsd_committer freebsd_triage 2004-11-14 08:45:46 UTC
Responsible Changed
From-To: freebsd-ports-bugs->bland

There is a 0.15.1 version of gnomoradio available which make use 
of latest *mm stuff. Could you update your port first to make it 
available for 4.x users too?
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2004-12-22 03:47:53 UTC
State Changed
From-To: open->feedback

With libtool 15 I get this: 

===>  Building for gnomoradio-0.14.1 
make  all-recursive 
Making all in rainbow 
if /bin/sh /usr/local/bin/libtool15 --mode=compile g++34 -DHAVE_CONFIG_H  -I. -I. -I.. -I.. -D_THREAD_SAFE -I/usr/local/lib/sigc++-1.2/include -I/usr/local/include/sigc++-1.2 -I/usr/local/include/libxml++-1.0 -I/usr/local/lib/libxml++-1.0/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/gtkmm-2.0 -I/usr/X11R6/lib/gtkmm-2.0/include  -I/usr/local/include   -O -pipe -mcpu=pentiumpro -MT init.lo -MD -MP -MF ".deps/init.Tpo" -c -o init.lo init.cc;  then mv -f ".deps/init.Tpo" ".deps/init.Plo"; else rm -f ".deps/init.Tpo"; exit 1; fi 
libtool15: compile: unable to infer tagged configuration 
libtool15: compile: specify a tag with `--tag' 
*** Error code 1 

Any suggestions? 



Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2004-12-22 03:47:53 UTC
Responsible Changed
From-To: bland->edwin

take over!
Comment 4 Jean-Yves Lefort 2005-01-05 02:55:14 UTC
0.15.1:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	gnomoradio
#	gnomoradio/pkg-plist
#	gnomoradio/pkg-descr
#	gnomoradio/distinfo
#	gnomoradio/Makefile
#	gnomoradio/files
#	gnomoradio/files/patch-rainbow::license.cc
#	gnomoradio/files/patch-rainbow::rdf-resource.cc
#
echo c - gnomoradio
mkdir -p gnomoradio > /dev/null 2>&1
echo x - gnomoradio/pkg-plist
sed 's/^X//' >gnomoradio/pkg-plist << 'END-of-gnomoradio/pkg-plist'
Xbin/gnomoradio
Xbin/rainbow-get
Xinclude/rainbow/alarm.h
Xinclude/rainbow/http-client.h
Xinclude/rainbow/http-server.h
Xinclude/rainbow/hub-client.h
Xinclude/rainbow/init.h
Xinclude/rainbow/license.h
Xinclude/rainbow/rdf-resource.h
Xinclude/rainbow/util.h
Xinclude/roboradio/init.h
Xinclude/roboradio/player.h
Xinclude/roboradio/recommendation.h
Xinclude/roboradio/song-list-automatic.h
Xinclude/roboradio/song-list-cache.h
Xinclude/roboradio/song-list-history.h
Xinclude/roboradio/song-list-library.h
Xinclude/roboradio/song-list-radio.h
Xinclude/roboradio/song-list-search.h
Xinclude/roboradio/song-list.h
Xinclude/roboradio/song-local.h
Xinclude/roboradio/song-rainbow.h
Xinclude/roboradio/song.h
Xinclude/roboradio/sort-songs.h
Xinclude/roboradio/state.h
Xinclude/roboradio/xspf.h
Xlib/librainbow.a
Xlib/librainbow.so
Xlib/librainbow.so.0
Xlib/libroboradio-audio.a
Xlib/libroboradio-audio.so
Xlib/libroboradio-audio.so.0
Xlib/libroboradio-mp3.a
Xlib/libroboradio-mp3.so
Xlib/libroboradio-mp3.so.0
Xlib/libroboradio.a
Xlib/libroboradio.so
Xlib/libroboradio.so.0
Xsbin/rainbow-hub
Xshare/gnome/applications/gnomoradio.desktop
Xshare/gnome/pixmaps/gnomoradio.png
Xshare/gnome/pixmaps/gnomoradio/gnomoradio-heart.png
X@dirrm include/rainbow
X@dirrm include/roboradio
X@dirrm share/gnome/pixmaps/gnomoradio
END-of-gnomoradio/pkg-plist
echo x - gnomoradio/pkg-descr
sed 's/^X//' >gnomoradio/pkg-descr << 'END-of-gnomoradio/pkg-descr'
XGnomoradio is quickly becoming a fully-featured music player and peer
Xto peer file sharing system. Here is a quick outline of its current
Xfeatures that more or less work:
X
X	* Finds and plays mp3's and ogg's that are located on the
X	  user's hard drive
X	* Sorts songs in playlists, including search playlists for
X	  songs that match a given criteria
X	* Searches for, downloads and shares songs that are available
X	  under a Creative Commons license
X	* Recommends songs based on a user's listening preferences,
X	  almost like a totally personalized radio broadcast
X
XWWW: http://www.gnomoradio.org/
X
X- Jean-Yves Lefort
Xjylefort@brutele.be
END-of-gnomoradio/pkg-descr
echo x - gnomoradio/distinfo
sed 's/^X//' >gnomoradio/distinfo << 'END-of-gnomoradio/distinfo'
XMD5 (gnomoradio-0.15.1.tar.gz) = 1ca31f4e9fb77adb5e7261e190ecb20a
XSIZE (gnomoradio-0.15.1.tar.gz) = 482339
END-of-gnomoradio/distinfo
echo x - gnomoradio/Makefile
sed 's/^X//' >gnomoradio/Makefile << 'END-of-gnomoradio/Makefile'
X# New ports collection makefile for:	gnomoradio
X# Date created:			23 Oct 2004
X# Whom:				Jean-Yves Lefort <jylefort@brutele.be>
X#
X# $FreeBSD$
X#
X
XPORTNAME=		gnomoradio
XPORTVERSION=		0.15.1
XCATEGORIES=		audio net
XMASTER_SITES=		${MASTER_SITE_SAVANNAH}
XMASTER_SITE_SUBDIR=	${PORTNAME}
X
XMAINTAINER=		jylefort@brutele.be
XCOMMENT=		A program for finding and playing free music from the Internet
X
XLIB_DEPENDS=		sigc-2.0:${PORTSDIR}/devel/libsigc++20 \
X			gtkmm-2.4:${PORTSDIR}/x11-toolkits/gtkmm24 \
X			gconfmm-2.6:${PORTSDIR}/devel/gconfmm26 \
X			xml\\+\\+-2.6:${PORTSDIR}/textproc/libxml++26 \
X			vorbis:${PORTSDIR}/audio/libvorbis \
X			ao:${PORTSDIR}/audio/libao
X
XUSE_X_PREFIX=		yes
XUSE_GCC=		3.4
XUSE_GNOME=		gnomehack gnomeprefix
XUSE_REINPLACE=		yes
XINSTALLS_SHLIB=		yes
XUSE_LIBTOOL_VER=	15
XCONFIGURE_ENV=		CPPFLAGS="-I${LOCALBASE}/include" \
X			LDFLAGS="-L${LOCALBASE}/lib"
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|CCLD = $$(CC)|CCLD = $$(CXX)|' \
X		${WRKSRC}/roboradio/mp3/Makefile.in
X
X.include <bsd.port.mk>
END-of-gnomoradio/Makefile
echo c - gnomoradio/files
mkdir -p gnomoradio/files > /dev/null 2>&1
echo x - gnomoradio/files/patch-rainbow::license.cc
sed 's/^X//' >gnomoradio/files/patch-rainbow::license.cc << 'END-of-gnomoradio/files/patch-rainbow::license.cc'
X--- rainbow/license.cc.orig	Wed Dec 22 11:05:36 2004
X+++ rainbow/license.cc	Wed Dec 22 11:06:49 2004
X@@ -54,7 +54,7 @@
X 	}
X 	
X 	if (done) {
X-		signal<void,ref_ptr<License> > sig;
X+		sigc::signal<void,ref_ptr<License> > sig;
X 		sig.connect(slot);
X 		sig(license);
X 	} else {
END-of-gnomoradio/files/patch-rainbow::license.cc
echo x - gnomoradio/files/patch-rainbow::rdf-resource.cc
sed 's/^X//' >gnomoradio/files/patch-rainbow::rdf-resource.cc << 'END-of-gnomoradio/files/patch-rainbow::rdf-resource.cc'
X--- rainbow/rdf-resource.cc.orig	Wed Dec 22 11:07:54 2004
X+++ rainbow/rdf-resource.cc	Wed Dec 22 11:09:33 2004
X@@ -35,7 +35,7 @@
X 		resource = ref_ptr<RdfResource>(p->second);
X 		if (resource->downloaded) { // already downloaded
X 			map<Glib::ustring,xmlpp::Element*>::iterator el = resource->id_map.find(id);
X-			signal<void,xmlpp::Element*,ref_ptr<RdfResource> > sig;
X+			sigc::signal<void,xmlpp::Element*,ref_ptr<RdfResource> > sig;
X 			sig.connect(slot);
X 			sig(el != resource->id_map.end() ? el->second : 0, resource);
X 			return;
X@@ -47,7 +47,7 @@
X 		Glib::ustring host, file;
X 		unsigned short port;
X 		if (!HttpClient::parse_url(uri, host, port, file)) {
X-			signal<void,xmlpp::Element*,ref_ptr<RdfResource> > sig;
X+			sigc::signal<void,xmlpp::Element*,ref_ptr<RdfResource> > sig;
X 			sig.connect(slot);
X 			sig(0, resource);
X 			return;
X@@ -55,14 +55,14 @@
X 	}
X 
X 	// connect mem_fun to appropriate signal
X-	map<Glib::ustring,signal<void,xmlpp::Element*, ref_ptr<RdfResource> >*>::iterator sig;
X+	map<Glib::ustring,sigc::signal<void,xmlpp::Element*, ref_ptr<RdfResource> >*>::iterator sig;
X 	sig = resource->signal_map.find(id);
X 	if (sig != resource->signal_map.end()) {
X 		// found existing signal for id
X 		sig->second->connect(slot);
X 	} else {
X 		// need to create new signal to handle id
X-		signal<void,xmlpp::Element*,ref_ptr<RdfResource> > *signal_ = new signal<void,xmlpp::Element*,ref_ptr<RdfResource> >;
X+		sigc::signal<void,xmlpp::Element*,ref_ptr<RdfResource> > *signal_ = new sigc::signal<void,xmlpp::Element*,ref_ptr<RdfResource> >;
X 		signal_->connect(slot);
X 		resource->signal_map.insert(make_pair(id, signal_));
X 	}
X@@ -190,7 +190,7 @@
X 
X  error:
X 	// call all signals
X-	map<Glib::ustring,signal<void,xmlpp::Element*,ref_ptr<RdfResource> >*>::iterator signal;
X+	map<Glib::ustring,sigc::signal<void,xmlpp::Element*,ref_ptr<RdfResource> >*>::iterator signal;
X 	for (signal = signal_map.begin(); signal != signal_map.end(); ++signal) {
X 		map<Glib::ustring,xmlpp::Element*>::iterator el = id_map.find(signal->first);
X 		signal->second->emit(el != id_map.end() ? el->second : 0, ref_ptr<RdfResource>(this));
X@@ -204,7 +204,7 @@
X 
X void Rainbow::RdfResource::clear_signal_map ()
X {
X-	map<Glib::ustring,signal<void,xmlpp::Element*,ref_ptr<RdfResource> >*>::iterator signal;
X+	map<Glib::ustring,sigc::signal<void,xmlpp::Element*,ref_ptr<RdfResource> >*>::iterator signal;
X 	for (signal = signal_map.begin(); signal != signal_map.end(); ++signal)
X 		delete signal->second;
X 	signal_map.clear();
END-of-gnomoradio/files/patch-rainbow::rdf-resource.cc
exit
Comment 5 Jean-Yves Lefort 2005-01-05 03:00:54 UTC
The following reply was made to PR ports/73032; it has been noted by GNATS.

From: Jean-Yves Lefort <jylefort@brutele.be>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/73032: New port: audio/gnomoradio, a program for finding
 and playing free music from the Internet
Date: Wed, 5 Jan 2005 03:55:14 +0100

 0.15.1:
 
 # This is a shell archive.  Save it in a file, remove anything before
 # this line, and then unpack it by entering "sh file".  Note, it may
 # create directories; files and directories will be owned by you and
 # have default permissions.
 #
 # This archive contains:
 #
 #	gnomoradio
 #	gnomoradio/pkg-plist
 #	gnomoradio/pkg-descr
 #	gnomoradio/distinfo
 #	gnomoradio/Makefile
 #	gnomoradio/files
 #	gnomoradio/files/patch-rainbow::license.cc
 #	gnomoradio/files/patch-rainbow::rdf-resource.cc
 #
 echo c - gnomoradio
 mkdir -p gnomoradio > /dev/null 2>&1
 echo x - gnomoradio/pkg-plist
 sed 's/^X//' >gnomoradio/pkg-plist << 'END-of-gnomoradio/pkg-plist'
 Xbin/gnomoradio
 Xbin/rainbow-get
 Xinclude/rainbow/alarm.h
 Xinclude/rainbow/http-client.h
 Xinclude/rainbow/http-server.h
 Xinclude/rainbow/hub-client.h
 Xinclude/rainbow/init.h
 Xinclude/rainbow/license.h
 Xinclude/rainbow/rdf-resource.h
 Xinclude/rainbow/util.h
 Xinclude/roboradio/init.h
 Xinclude/roboradio/player.h
 Xinclude/roboradio/recommendation.h
 Xinclude/roboradio/song-list-automatic.h
 Xinclude/roboradio/song-list-cache.h
 Xinclude/roboradio/song-list-history.h
 Xinclude/roboradio/song-list-library.h
 Xinclude/roboradio/song-list-radio.h
 Xinclude/roboradio/song-list-search.h
 Xinclude/roboradio/song-list.h
 Xinclude/roboradio/song-local.h
 Xinclude/roboradio/song-rainbow.h
 Xinclude/roboradio/song.h
 Xinclude/roboradio/sort-songs.h
 Xinclude/roboradio/state.h
 Xinclude/roboradio/xspf.h
 Xlib/librainbow.a
 Xlib/librainbow.so
 Xlib/librainbow.so.0
 Xlib/libroboradio-audio.a
 Xlib/libroboradio-audio.so
 Xlib/libroboradio-audio.so.0
 Xlib/libroboradio-mp3.a
 Xlib/libroboradio-mp3.so
 Xlib/libroboradio-mp3.so.0
 Xlib/libroboradio.a
 Xlib/libroboradio.so
 Xlib/libroboradio.so.0
 Xsbin/rainbow-hub
 Xshare/gnome/applications/gnomoradio.desktop
 Xshare/gnome/pixmaps/gnomoradio.png
 Xshare/gnome/pixmaps/gnomoradio/gnomoradio-heart.png
 X@dirrm include/rainbow
 X@dirrm include/roboradio
 X@dirrm share/gnome/pixmaps/gnomoradio
 END-of-gnomoradio/pkg-plist
 echo x - gnomoradio/pkg-descr
 sed 's/^X//' >gnomoradio/pkg-descr << 'END-of-gnomoradio/pkg-descr'
 XGnomoradio is quickly becoming a fully-featured music player and peer
 Xto peer file sharing system. Here is a quick outline of its current
 Xfeatures that more or less work:
 X
 X	* Finds and plays mp3's and ogg's that are located on the
 X	  user's hard drive
 X	* Sorts songs in playlists, including search playlists for
 X	  songs that match a given criteria
 X	* Searches for, downloads and shares songs that are available
 X	  under a Creative Commons license
 X	* Recommends songs based on a user's listening preferences,
 X	  almost like a totally personalized radio broadcast
 X
 XWWW: http://www.gnomoradio.org/
 X
 X- Jean-Yves Lefort
 Xjylefort@brutele.be
 END-of-gnomoradio/pkg-descr
 echo x - gnomoradio/distinfo
 sed 's/^X//' >gnomoradio/distinfo << 'END-of-gnomoradio/distinfo'
 XMD5 (gnomoradio-0.15.1.tar.gz) = 1ca31f4e9fb77adb5e7261e190ecb20a
 XSIZE (gnomoradio-0.15.1.tar.gz) = 482339
 END-of-gnomoradio/distinfo
 echo x - gnomoradio/Makefile
 sed 's/^X//' >gnomoradio/Makefile << 'END-of-gnomoradio/Makefile'
 X# New ports collection makefile for:	gnomoradio
 X# Date created:			23 Oct 2004
 X# Whom:				Jean-Yves Lefort <jylefort@brutele.be>
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=		gnomoradio
 XPORTVERSION=		0.15.1
 XCATEGORIES=		audio net
 XMASTER_SITES=		${MASTER_SITE_SAVANNAH}
 XMASTER_SITE_SUBDIR=	${PORTNAME}
 X
 XMAINTAINER=		jylefort@brutele.be
 XCOMMENT=		A program for finding and playing free music from the Internet
 X
 XLIB_DEPENDS=		sigc-2.0:${PORTSDIR}/devel/libsigc++20 \
 X			gtkmm-2.4:${PORTSDIR}/x11-toolkits/gtkmm24 \
 X			gconfmm-2.6:${PORTSDIR}/devel/gconfmm26 \
 X			xml\\+\\+-2.6:${PORTSDIR}/textproc/libxml++26 \
 X			vorbis:${PORTSDIR}/audio/libvorbis \
 X			ao:${PORTSDIR}/audio/libao
 X
 XUSE_X_PREFIX=		yes
 XUSE_GCC=		3.4
 XUSE_GNOME=		gnomehack gnomeprefix
 XUSE_REINPLACE=		yes
 XINSTALLS_SHLIB=		yes
 XUSE_LIBTOOL_VER=	15
 XCONFIGURE_ENV=		CPPFLAGS="-I${LOCALBASE}/include" \
 X			LDFLAGS="-L${LOCALBASE}/lib"
 X
 Xpost-patch:
 X	@${REINPLACE_CMD} -e 's|CCLD = $$(CC)|CCLD = $$(CXX)|' \
 X		${WRKSRC}/roboradio/mp3/Makefile.in
 X
 X.include <bsd.port.mk>
 END-of-gnomoradio/Makefile
 echo c - gnomoradio/files
 mkdir -p gnomoradio/files > /dev/null 2>&1
 echo x - gnomoradio/files/patch-rainbow::license.cc
 sed 's/^X//' >gnomoradio/files/patch-rainbow::license.cc << 'END-of-gnomoradio/files/patch-rainbow::license.cc'
 X--- rainbow/license.cc.orig	Wed Dec 22 11:05:36 2004
 X+++ rainbow/license.cc	Wed Dec 22 11:06:49 2004
 X@@ -54,7 +54,7 @@
 X 	}
 X 	
 X 	if (done) {
 X-		signal<void,ref_ptr<License> > sig;
 X+		sigc::signal<void,ref_ptr<License> > sig;
 X 		sig.connect(slot);
 X 		sig(license);
 X 	} else {
 END-of-gnomoradio/files/patch-rainbow::license.cc
 echo x - gnomoradio/files/patch-rainbow::rdf-resource.cc
 sed 's/^X//' >gnomoradio/files/patch-rainbow::rdf-resource.cc << 'END-of-gnomoradio/files/patch-rainbow::rdf-resource.cc'
 X--- rainbow/rdf-resource.cc.orig	Wed Dec 22 11:07:54 2004
 X+++ rainbow/rdf-resource.cc	Wed Dec 22 11:09:33 2004
 X@@ -35,7 +35,7 @@
 X 		resource = ref_ptr<RdfResource>(p->second);
 X 		if (resource->downloaded) { // already downloaded
 X 			map<Glib::ustring,xmlpp::Element*>::iterator el = resource->id_map.find(id);
 X-			signal<void,xmlpp::Element*,ref_ptr<RdfResource> > sig;
 X+			sigc::signal<void,xmlpp::Element*,ref_ptr<RdfResource> > sig;
 X 			sig.connect(slot);
 X 			sig(el != resource->id_map.end() ? el->second : 0, resource);
 X 			return;
 X@@ -47,7 +47,7 @@
 X 		Glib::ustring host, file;
 X 		unsigned short port;
 X 		if (!HttpClient::parse_url(uri, host, port, file)) {
 X-			signal<void,xmlpp::Element*,ref_ptr<RdfResource> > sig;
 X+			sigc::signal<void,xmlpp::Element*,ref_ptr<RdfResource> > sig;
 X 			sig.connect(slot);
 X 			sig(0, resource);
 X 			return;
 X@@ -55,14 +55,14 @@
 X 	}
 X 
 X 	// connect mem_fun to appropriate signal
 X-	map<Glib::ustring,signal<void,xmlpp::Element*, ref_ptr<RdfResource> >*>::iterator sig;
 X+	map<Glib::ustring,sigc::signal<void,xmlpp::Element*, ref_ptr<RdfResource> >*>::iterator sig;
 X 	sig = resource->signal_map.find(id);
 X 	if (sig != resource->signal_map.end()) {
 X 		// found existing signal for id
 X 		sig->second->connect(slot);
 X 	} else {
 X 		// need to create new signal to handle id
 X-		signal<void,xmlpp::Element*,ref_ptr<RdfResource> > *signal_ = new signal<void,xmlpp::Element*,ref_ptr<RdfResource> >;
 X+		sigc::signal<void,xmlpp::Element*,ref_ptr<RdfResource> > *signal_ = new sigc::signal<void,xmlpp::Element*,ref_ptr<RdfResource> >;
 X 		signal_->connect(slot);
 X 		resource->signal_map.insert(make_pair(id, signal_));
 X 	}
 X@@ -190,7 +190,7 @@
 X 
 X  error:
 X 	// call all signals
 X-	map<Glib::ustring,signal<void,xmlpp::Element*,ref_ptr<RdfResource> >*>::iterator signal;
 X+	map<Glib::ustring,sigc::signal<void,xmlpp::Element*,ref_ptr<RdfResource> >*>::iterator signal;
 X 	for (signal = signal_map.begin(); signal != signal_map.end(); ++signal) {
 X 		map<Glib::ustring,xmlpp::Element*>::iterator el = id_map.find(signal->first);
 X 		signal->second->emit(el != id_map.end() ? el->second : 0, ref_ptr<RdfResource>(this));
 X@@ -204,7 +204,7 @@
 X 
 X void Rainbow::RdfResource::clear_signal_map ()
 X {
 X-	map<Glib::ustring,signal<void,xmlpp::Element*,ref_ptr<RdfResource> >*>::iterator signal;
 X+	map<Glib::ustring,sigc::signal<void,xmlpp::Element*,ref_ptr<RdfResource> >*>::iterator signal;
 X 	for (signal = signal_map.begin(); signal != signal_map.end(); ++signal)
 X 		delete signal->second;
 X 	signal_map.clear();
 END-of-gnomoradio/files/patch-rainbow::rdf-resource.cc
 exit
Comment 6 Edwin Groothuis freebsd_committer freebsd_triage 2005-01-20 06:25:12 UTC
State Changed
From-To: feedback->closed

Committed, thanks!