Opened 13 years ago

Closed 11 years ago

#29854 closed submission (fixed)

GPAC port

Reported by: bsleveritt@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), tonytung@…
Port: gpac

Description

Am I correct in thinking the GPAC library isn't available as a port yet? Fink has a version apparently, so I'm surprised it's not in ports yet, or is there an underlying reason we can't add it to MacPorts?

I'm particularly interested in MP4Box, which I'd like to rope in but haven't ever created a portfile, and I'm kinda confused as to why there isn't one already?

http://gpac.wp.institut-telecom.fr/

Attachments (2)

Portfile (1.3 KB) - added by tonytung@… 13 years ago.
gpac portfile
Portfile.2 (1.6 KB) - added by mf2k (Frank Schima) 11 years ago.

Download all attachments as: .zip

Change History (10)

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

Keywords: MP4Box GPAC removed
Port: GPAC added
Version: 1.9.2

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

I suppose we don't have a port for it because nobody has ever suggested it to us before. Googling "GPAC MacPorts" yields some results, including a thread in 2008 where someone said they were making a Portfile. But it doesn't look like it was ever submitted to us.

I myself just became aware of GPAC and MP4Box a few days ago, and considered making a port for it, but have not yet begun. It looked like it has a bazillion dependencies, which overwhelmed me, and my specific need for the software soon expired.

comment:3 Changed 13 years ago by bsleveritt@…

I've installed it a few times lately, and it's fairly straight forward. The dependancies are listed in a recent news article from the source:

" To install all required packages, type: sudo port install zlib openssl libpng jpeg spidermonkey libsdl-devel ffmpeg faad2 libmad xvid libogg libvorbis libtheora a52dec openjpeg "

Since I'm not mad (and it's not actually present yet), I might give a portfile a shot. Course, I'll have to figure out how to do that. Time to study the guide.

Changed 13 years ago by tonytung@…

Attachment: Portfile added

gpac portfile

comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: GPAC port requestGPAC port
Type: requestsubmission

comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: tonytung@… added

tonytung, thank you for the Portfile, but it raises several issues.

  • The Portfile claims this is version 0.4.6, but based on the fact that you're fetching from svn, and the revision you're fetching from doesn't mention anything about it being a final version of 0.4.6, and appears merely to be the latest revision at the time you wrote the Portfile, I believe it's only a development version leading up to 0.4.6. So the version field should be something else. Perhaps a datestamp.
  • "nobody" is not a valid value for the maintainers line. You probably meant "nomaintainer".
  • "master_sites" is not used when fetching from svn and is thus unnecessary.
  • "use_configure yes" is the default and is thus unnecessary.
  • You list a dependency on libsdl-devel. Would libsdl not suffice? You list a dependency on ffmpeg. Would ffmpeg-devel not suffice? Dependencies on ports that have -devel and non-devel versions should be written in path:-style not port:-style if either version will work. See #14540.

comment:6 Changed 13 years ago by tonytung@…

I got the list of dependencies from http://gpac.wp.institut-telecom.fr/2011/05/02/compiling-gpac-for-macos-x/

The rest should probably be fixed.

comment:7 Changed 11 years ago by mf2k (Frank Schima)

I have made the changes that Ryan suggested and switched to downloading from sourceforge. But I'm getting a weird permissions error. I assume I'm doing something wrong.

Changed 11 years ago by mf2k (Frank Schima)

Attachment: Portfile.2 added

comment:8 Changed 11 years ago by mf2k (Frank Schima)

Port: gpac added; GPAC removed
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.