Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sound
In directory
sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv15253/10.4/unstable/main/finkinfo/sound
Added Files:
peercast.info peercast.patch
Log Message:
Add missing GCC tag, discover that it's not gcc4 compat, so revive it
in 10.4 distro with g++-3.3
--- NEW FILE: peercast.info ---
Package: peercast
Version: 0.120+svn20040716
Revision: 1
Description: P2P broadcasting for everyone
License: GPL
Maintainer: ASARI Takashi <[EMAIL PROTECTED]>
Depends: daemonic
Architecture: powerpc
BuildDepends: gcc3.3
GCC: 3.3
Source: http://fink.sodan.ecc.u-tokyo.ac.jp/sources/%n-%v.tar.gz
NoSourceDirectory: true
Source-MD5: 1fa7b9011cd9f0eb327a22b1c40b2453
PatchScript: <<
/usr/bin/sed 's|@PREFIX@|%p|g' < %a/%n.patch | /usr/bin/patch -p1
/usr/bin/find . -type d -name .svn | /usr/bin/xargs rm -rf
<<
CompileScript: cd ui/osx; make CC=g++-3.3 LD=g++-3.3
InstallScript: <<
/usr/bin/install -d -m 755 %i/bin
/usr/bin/install -d -m 755 %i/share/%n
/usr/bin/install -m 755 ui/osx/peercast %i/bin
/bin/cp -R ui/html %i/share/%n
<<
DocFiles: core/LICENSE
PostInstScript: <<
daemonic install peercast
<<
PreRmScript: <<
if [ $1 != "upgrade" ]; then
daemonic remove peercast
fi
<<
DaemonicFile: <<
<service>
<description>PeerCast P2P Radio</description>
<message>PeeaCast P2P Radio</message>
<daemon name="peercast">
<executable background="yes">%p/bin/peercast</executable>
</daemon>
</service>
<<
Homepage: http://www.peercast.org/
DescDetail: <<
PeerCast is a new, free way to listen to radio and watch video on the Internet.
It uses P2P technology to let anyone become a broadcaster without the costs of
traditional streaming. This means you get to hear and watch stations not
normally found on commercially funded sites.
* Stream MP3, OGG Theora/Vorbis, WMA, WMV and NSV.
* Low memory footprint and CPU load.
* Support for all popular media players, WinAmp, XMMS etc..
* Works through firewalls, routers and NAT.
* Windows, WinAmp, Linux and Mac OSX clients available.
* Open source
<<
DescUsage: <<
1. $ sudo daemonic enable peercast
2. Restart your computer.
3. Visit http://127.0.0.1:7144/ .
4. Download a playlist file from YellowPage.
5. Open it with your favorite player (e.g. VLC).
Config file is located in %p/etc/peercast
For more information, please visit the web page (www.peercast.org).
<<
DescPackaging: <<
This version is compiled with g++-3.3, even in the 10.4 tree. If it is
ever updated to a more recent compiler, any packages which depend on
this one must be updated at the same time.
gnutella.cpp doesn't compile with g++4.0
<<
--- NEW FILE: peercast.patch ---
diff -Naur peercast.orig/core/common/peercast.h
peercast.fink/core/common/peercast.h
--- peercast.orig/core/common/peercast.h Sun Aug 15 07:23:12 2004
+++ peercast.fink/core/common/peercast.h Sun Aug 15 07:26:41 2004
@@ -64,8 +64,8 @@
{
public:
- virtual const char * APICALL getPath() {return "./";}
- virtual const char * APICALL getIniFilename() {return "peercast.ini";}
+ virtual const char * APICALL getPath() {return
"@PREFIX@/share/peercast/";}
+ virtual const char * APICALL getIniFilename() {return
"@PREFIX@/etc/peercast";}
virtual void APICALL printLog(LogBuffer::TYPE, const char *) {}
virtual void APICALL addChannel(ChanInfo *) {}
virtual void APICALL delChannel(ChanInfo *) {}
diff -Naur peercast.orig/core/unix/usocket.h peercast.fink/core/unix/usocket.h
--- peercast.orig/core/unix/usocket.h Sun Aug 15 07:23:13 2004
+++ peercast.fink/core/unix/usocket.h Sun Aug 15 07:25:45 2004
@@ -21,6 +21,10 @@
#ifndef _USOCKET_H
#define _USOCKET_H
+#ifndef _BSD_SOCKLEN_T_
+#define _BSD_SOCKLEN_T_ int32_t
+#endif
+
#include "socket.h"
#include <sys/socket.h>
#include <netinet/in.h>
diff -Naur peercast.orig/ui/osx/main.cpp peercast.fink/ui/osx/main.cpp
--- peercast.orig/ui/osx/main.cpp Sun Aug 15 07:23:16 2004
+++ peercast.fink/ui/osx/main.cpp Sun Aug 15 07:27:24 2004
@@ -95,7 +95,7 @@
int main(int argc, char* argv[])
{
- iniFileName.set("peercast.ini");
+ iniFileName.set("@PREFIX@/etc/peercast");
if (argc > 2)
if (strcmp(argv[1],"-inifile")==0)
diff -Naur peercast.orig/ui/osx/makedepend peercast.fink/ui/osx/makedepend
--- peercast.orig/ui/osx/makedepend Thu Jan 1 09:00:00 1970
+++ peercast.fink/ui/osx/makedepend Sun Aug 15 07:25:45 2004
@@ -0,0 +1 @@
+
diff -Naur peercast.orig/ui/osx/makefile peercast.fink/ui/osx/makefile
--- peercast.orig/ui/osx/makefile Sun Aug 15 07:23:16 2004
+++ peercast.fink/ui/osx/makefile Sun Aug 15 07:25:45 2004
@@ -85,7 +85,7 @@
$(CC) $(INCLUDES) $(CPPFLAGS) -MD $(CORESOURCE) $(MACOSXSOURCE) >>
$(DEPENDFILE)
$(TARGET): $(MACOSXOBJ) $(COREOBJ)
- $(LD) $(LDFLAGS) -o $@ $(MACOSXOBJ) $(COREOBJ) $(LIBS)
+ $(LD) $(LDFLAGS) -o $@ $(MACOSXOBJ) $(COREOBJ) $(LIBS) -framework
CoreFoundation -framework ApplicationServices
include $(DEPENDFILE)
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits