[Musicpd-dev-team] Make a single static build for OS X?

2013-03-09 Thread zw g
Dear list,


I want to share MPD with my friends who are work on *Mac OS X* platform.

Is there a way to compile/package *MPD and all the common dependencies* to
a *single static build* like ffmpeg did?

What i want is to finally make a single MPD static build file and plus a
mpd.conf file, then send this to my friends, they'll be able to run MPD in
their terminal, or through a script i made.

My friends they are not technical type, so compile MPD is not an option:(

Like below, i found the link on *ffmpeg* official website, unzip the file
below you will get a single  executable *ffmpeg* binary file, and i tried,
it works great.
http://www.evermeet.cx/ffmpeg/ffmpeg-1.1.3.7z

I have no C/C++ related skills, only some python script experience.
So i hope someone can help or guide me to do this by telling me how can i
make it step by steps. If there are some documents, it would be great.

I know i may ask too much, but is there any chance?
Thanks in advance.
--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] Make a single static build for OS X?

2013-03-09 Thread Alexander Sack
On Sat, Mar 9, 2013 at 11:45 AM, zw g pekingmas...@gmail.com wrote:
 Dear list,


 I want to share MPD with my friends who are work on Mac OS X platform.

 Is there a way to compile/package MPD and all the common dependencies to a
 single static build like ffmpeg did?


No need. MPD is maintained by MacPorts:

http://www.macports.org/

Install ports then simply do:

$ sudo port info mpd
mpd @0.17.3 (audio)
Variants: ffmpeg, mad, mod, modplug, mpg123, universal

Description:  Music Player Daemon (MPD) allows remote access
for playing music (MP3, Ogg Vorbis, FLAC, AAC, Mod, and wave files)
and managing playlists. MPD is designed for integrating a computer
into a stereo system that provides control for music playback over a
  local network. It also makes a great desktop
music player, especially if you are a console junkie, like frontend
options, or restart X often.
Homepage: http://www.musicpd.org/

Build Dependencies:   pkgconfig
Library Dependencies: audiofile, cdparanoia, curl, faad2, flac, glib2,
libcue, libiconv, libid3tag, libmpcdec, libogg, libvorbis, zlib
Platforms:darwin
License:  GPL-2+ LGPL-2.1
Maintainers:  rmstonecip...@macports.org, openmaintai...@macports.org

$ sudo port install mpd

etc.

Your script can do that for them.

-aps

--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] Make a single static build for OS X?

2013-03-09 Thread zw g
Thank you,* *Alexander*.*
*
*
The method you told is indeed a good way to achieve the purpose. (By
macports)
Actually, that's how i install MPD on my MacBook Pro.

But that needs people to (They are not technocial type again):
1)  first have a working internet network,
2)  then install macports by hand,
3)  then issue *sudo port install mpd* to download all the dependencies,
(may by script)
4)  compile all thoes packages on the target machine (by macports)
5)  some people may not like to install to many stuff on the machine;
...

What if i insist to build a static build of MPD?
That would be handy, allow me to just copy the static build file(and config
file) to my friends.

Sorry for all the bothers above, if you want to know why i'm so bother for
this?
That is becasue i'm writing a simple GUI interface to control MPD, i want
to share it with my friends in the future.

So...
Thank you again.

Gui


On Sun, Mar 10, 2013 at 5:00 AM, Alexander Sack pisym...@gmail.com wrote:

 On Sat, Mar 9, 2013 at 11:45 AM, zw g pekingmas...@gmail.com wrote:
  Dear list,
 
 
  I want to share MPD with my friends who are work on Mac OS X platform.
 
  Is there a way to compile/package MPD and all the common dependencies to
 a
  single static build like ffmpeg did?
 

 No need. MPD is maintained by MacPorts:

 http://www.macports.org/

 Install ports then simply do:

 $ sudo port info mpd
 mpd @0.17.3 (audio)
 Variants: ffmpeg, mad, mod, modplug, mpg123, universal

 Description:  Music Player Daemon (MPD) allows remote access
 for playing music (MP3, Ogg Vorbis, FLAC, AAC, Mod, and wave files)
 and managing playlists. MPD is designed for integrating a computer
 into a stereo system that provides control for music playback over a
   local network. It also makes a great desktop
 music player, especially if you are a console junkie, like frontend
 options, or restart X often.
 Homepage: http://www.musicpd.org/

 Build Dependencies:   pkgconfig
 Library Dependencies: audiofile, cdparanoia, curl, faad2, flac, glib2,
 libcue, libiconv, libid3tag, libmpcdec, libogg, libvorbis, zlib
 Platforms:darwin
 License:  GPL-2+ LGPL-2.1
 Maintainers:  rmstonecip...@macports.org,
 openmaintai...@macports.org

 $ sudo port install mpd

 etc.

 Your script can do that for them.

 -aps

--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team