Opened 15 years ago

Closed 13 years ago

#24867 closed submission (fixed)

darkice is ready for Mac OSX

Reported by: nielsd (Niels Dettenbach) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: bikefridaywalter@…, ryandesign (Ryan Carsten Schmidt), pixilla (Bradley Giesbrecht)
Port: darkice

Description

The famous audio (live) encoding (mp3, AAC, ogg etc.) and streaming software "darkice" is now ready to compile and work on Mac OSX 10.6.

http://code.google.com/p/darkice/

Is here someone who is adding this to MacPorts or should i have to do it byself?

Sorry, but i'm new to MacPorts. ;)

many thanx,

Niels.

---

Niels Dettenbach

http://www.syndicat.com

Attachments (4)

Portfile (1.2 KB) - added by nielsd (Niels Dettenbach) 14 years ago.
audio/darkice/Portfile
Portfile.2 (2.6 KB) - added by nielsd (Niels Dettenbach) 14 years ago.
Darkice Portfile - updated #01
Portfile.3 (2.4 KB) - added by nielsd (Niels Dettenbach) 14 years ago.
updated Portfile (just some cosmetics and typo removed)
Portfile-ryandesign (2.0 KB) - added by ryandesign (Ryan Carsten Schmidt) 14 years ago.
ryan's changes

Download all attachments as: .zip

Change History (31)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Cc: nd@… removed
Keywords: audio streaming mp3 aac ogg live radio lame twolame faad removed
Milestone: MacPorts Future
Type: submissionrequest
Version: 1.8.99

Ideally, you should attach a portfile for this.

comment:2 Changed 15 years ago by nielsd (Niels Dettenbach)

ok,

thank you very much.

Will do the port tomorrow as i have the time to dive into MacPorts because of public holiday here ;).

cu tomorrow...

Niels.

Changed 14 years ago by nielsd (Niels Dettenbach)

Attachment: Portfile added

audio/darkice/Portfile

comment:3 Changed 14 years ago by nielsd (Niels Dettenbach)

audio/darkice/Portfile added now

(the official website http://darkice.org as in portfile will be published within next hours).

many thanks and have a nice weekend,

Niels.

comment:4 Changed 14 years ago by mf2k (Frank Schima)

Priority: Not setNormal
Type: requestsubmission

comment:5 Changed 14 years ago by jmroot (Joshua Root)

You appear to be using other ports without declaring dependencies on them. If you don't want users to have to install all possible ports that this one can make use of, you should provide variants to select which ones to use.

comment:6 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Requested again in #27664.

comment:7 Changed 14 years ago by nielsd (Niels Dettenbach)

Ok, i will fullfill the port incl. current darkice version within next two days.

It would be nice to get any responses / testimonials form users.

Hope this is OK...

Changed 14 years ago by nielsd (Niels Dettenbach)

Attachment: Portfile.2 added

Darkice Portfile - updated #01

comment:8 Changed 14 years ago by nielsd (Niels Dettenbach)

Uploaded a new Portfile for current stable darkice 1.0 now.

Feel free to discuss here.

cheers,

Niels. --- http://www.syndicat.com

comment:9 Changed 14 years ago by bikefridaywalter@…

I'm not clear that this is Intel and/or Snow Leopard only or not. What architecture/OS is required?

comment:10 Changed 14 years ago by bikefridaywalter@…

Cc: bikefridaywalter@… added

Cc Me!

comment:11 Changed 14 years ago by nielsd (Niels Dettenbach)

I work with it on OSX (Intel / Snow Leopard - lack of PCC hardware to test) and *BSD - but i'm not shure how far darkice and/or recommended / required libs are compiling / working under PPC as some of them use arch dependent code (optimizations etc.).

Afaik there are some guys on the darkice mailing list which are using Darkice on different Mac platforms - but not shure how far...

So pls feel free to test it under PPC and other archs and report results.

Is there anything more required within the Portfile to get accepted within Macports?

Niels.

comment:12 in reply to:  5 Changed 14 years ago by nielsd (Niels Dettenbach)

Replying to jmr@…:

You appear to be using other ports without declaring dependencies on them. If you don't want users to have to install all possible ports that this one can make use of, you should provide variants to select which ones to use.

Ok, i've provided all variantes and default variants.

Is the portfile ready for submission now (as attached today as Portfile.2)? Do i need submit it again here or to the sys?

Sorry, but im new to the Macports sys...

comment:13 Changed 14 years ago by bikefridaywalter@…

Seems there's a RPM for ppc32 so that's a good sign, but I can't find any conclusive evidence that someone is running it on OS X < 10.6. I'd be happy to test it out if it is indeed ready. Ryan?

comment:14 Changed 14 years ago by nielsd (Niels Dettenbach)

The ppc rpm seem's to be a "little bit" outdated - not shure if someone tested it nor used it in any kind of production at that time. Darkice currently "needs" jack for live streaming functionality on Mac OSX. Coreaudio support is afaik on the way.

It would be very nice to get some feedback from PPC users.

comment:15 Changed 14 years ago by bikefridaywalter@…

well there goes using Soundflower. Oh well, Jack works.

Changed 14 years ago by nielsd (Niels Dettenbach)

Attachment: Portfile.3 added

updated Portfile (just some cosmetics and typo removed)

comment:16 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Sorry, I forgot to Cc myself on this ticket and forgot about it. Has duplicate #28320. In the future, if a ticket is not addressed in a timely manner, please notify the macports-dev mailing list; do not file a duplicate ticket.

comment:17 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Problem when using the samplerate variant; filed as a bug in libsamplerate in #28324.

comment:18 Changed 14 years ago by nielsd (Niels Dettenbach)

Sorry, may be i swapped the new with the initial version of the Portfile (i'm on a cellphone here) again.

Please take a look at "Portfile.3" (8 weeks ago from me here) here which still describes the required dependencies by variants (as the required dependencies depend from the variant choosen) and was added by all the variants available.

Is this incorrect? If so, what's still wrong?

Many thanks for your time,

Niels.

comment:19 Changed 14 years ago by pixilla (Bradley Giesbrecht)

Cc: pixilla@… added

Cc Me!

comment:20 in reply to:  18 Changed 14 years ago by pixilla (Bradley Giesbrecht)

I am interested in this port. I am doing a build test of your Portfile.3.

Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: Portfile-ryandesign added

ryan's changes

comment:21 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Looks like the port behavior with its variants is mostly fine (except see below). I was objecting to the verbiage added to the description in #28320, and the behavior it implied (which the port does not exhibit anymore).

If I install the port with no variants, configuration fails. jack and lame are default variants; if I disable them, I get:

sudo port -d install -- -lame -jack
[snip]
checking for lame library at /usr ... configure: WARNING: not found, building without lame
checking for vorbis libraries at /usr ... configure: WARNING: not found, building without Ogg Vorbis
checking for faac library at /usr ... configure: WARNING: not found, building without faac
checking for aacplus library at /usr ... configure: WARNING: not found, building without aacplus
checking for twolame library at /usr ... configure: WARNING: not found, building without twolame
configure: error: neither lame, Ogg Vorbis, faac, aac+ nor twolame configured

Do all these libraries need to be variants? I realize Joshua said above that you could add variants, but fewer variants is better, so it would be simpler if the variants were deleted and the dependencies added to the port directly. Are any of these libraries unusual -- in that they are very large, take a long time to compile, provide added capability to darkice that hardly anybody would want? If so, then that would be a good reason to make it a variant. Otherwise, the port should just directly include it.

I'm attaching a revised Portfile with these changes:

  • add modeline
  • some reformatting
  • change googlecode master_sites part to just "googlecode"
  • remove md5 checksum type (md5 is kind of obsolete)
  • remove "configure.args --mandir=${prefix}/share/man" (not needed)

I have not yet done anything about the variants, pending your input.

comment:22 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

In fact, I just committed it like that in r75791. We can always commit additional changes later as desired.

comment:23 in reply to:  21 Changed 14 years ago by nielsd (Niels Dettenbach)

Thank you for your help, will work with your revised version for future.

All these things i defined as variants are build options incl. dependencies which are completely independent from each other and depend from target usage - for proper work the build needs at least one audio subsystem (jack or crystal - but crystal is still under construction, alsa or oss is afaik n.A. on Mac OS X...).

I defined "+jack" as default variant to leave a later option to switch to another sound subsys.

I defined "+lame" as default variant as at least one encoder is required for proper work.

This means from my view there are no static dependencies independent from the choosen variants and all the options has to be defined as variants.

Darkice is delivered with a generic rc-script - not shure how i can adopt it for Mac OS X or how far this makes any sense.

Hope this is OK. Pls correct me if / where i'm wrong...

Cheers,

Niels.

comment:24 Changed 14 years ago by pixilla (Bradley Giesbrecht)

Ryan: regarding variants and compile time, on my 2GHz iMac it took a little over 6 min. to destroot all variant deps.
I don't think there would be many new dep ports to build on most systems if all variants were removed and made standard features.

port rdeps darkice +faac +jack +lame +samplerate +twolame +vorbis

comment:25 Changed 14 years ago by pixilla (Bradley Giesbrecht)

comment:26 Changed 14 years ago by pixilla (Bradley Giesbrecht)

Niels: I'm working on a startupitem (rc-script) for darkice. It looks to me like the default darkice.cfg has some things that will need to be changed to work for Mac OS X. Is there a write up anywhere on configuring darkice on osx?

comment:27 Changed 13 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Port is in the repo so this submission ticket should be closed. File new tickets for bugs and enhancements.

Note: See TracTickets for help on using tickets.