[MacPorts] #50476: Portfile for GNOME Internet Radio Locator (GIRL) version 8.0.1
MacPorts
noreply at macports.org
Sun Jan 31 01:51:03 PST 2016
#50476: Portfile for GNOME Internet Radio Locator (GIRL) version 8.0.1
-------------------------+------------------------
Reporter: ole@… | Owner: devans@…
Type: submission | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: maintainer
Port: girl |
-------------------------+------------------------
Comment (by devans@…):
I've managed to build the port and have done some preliminary testing.
See the attached patch for the additional changes that I think are
necessary.
build dependencies: I've added dependencies under depends_build that are
necessary to configure & build the program but are not necessary at run
time.
lib dependencies: I've added desktop-file-utils which provides the utility
`update-desktop-database` required in the post-activate processing
section. In addition, for port glib2 I've used a path-style dependency
declaration rather than just the port. This allows either port glib2 or
port glib2-devel (current unstable version of glib2) to satisfy the
dependency with glib2 as the default. This is standard throughout
MacPorts.
intltool: MacPorts uses a specially patched version of intltool.m4 which
generally requires any port that uses it to be reconfigured. In addition,
the current version of intltool is 0.51 which introduces changes that
necessitate rerunning intltoolize as well. This is most easily done by
using the port's own autogen.sh to regenerate the configuration files.
Since your tarball does not include the autogen.sh file, I've copied it
from your git repo into the port's `files` directory and added code to
reinstall it during the post-patch phase. This is after extraction of the
tarball and before configuration begins. The configuration cmd is then
set to `./autogen.sh` to
start the reconfiguration.
post-activate processing: the post activate phase occurs after the
contents of the port are unpacked into the target install location. As
you can see, during this phase we regenerate the hicolor icon cache to
include your icons and regenerate the desktop database to include the
information from your `girl.desktop` file.
livecheck: comes at the end by convention.
After applying this patch to your submitted Portfile, the port builds and
installs as expected. I'm then able to run the `girl` program, select a
station and have it play in totem. Not every station produces a playable
stream but perhaps this is normal. No North America stations appear to
have any active streams but most European and Australian ones work fine.
I tried recording a stream but the program froze after I hit the Record
button so I wasn't able to stop the recording or play it back. Perhaps
you can advise what to do here -- I'm not really familiar with the
program. I also notice that the port installs help files that can be
displayed using yelp but there is no Help menu to invoke yelp to display
it.
Let me know if you have any questions or other changes that you would like
to see. If the modified Portfile looks good to you, I'll be happy to
commit it.
--
Ticket URL: <https://trac.macports.org/ticket/50476#comment:5>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list