dvdrip confusion

Jan Stary hans at stare.cz
Sun Oct 27 23:51:31 PDT 2013


On Oct 27 17:12:56, bunk3m at gmail.com wrote:
>    sudo port content dvdrip shows:
> 
>      /opt/local/libexec/perl5.12/sitebin/dvdrip
>      /opt/local/libexec/perl5.12/sitebin/dvdrip-exec
>      /opt/local/libexec/perl5.12/sitebin/dvdrip-master
>      /opt/local/libexec/perl5.12/sitebin/dvdrip-multitee
>      /opt/local/libexec/perl5.12/sitebin/dvdrip-progress
>      /opt/local/libexec/perl5.12/sitebin/dvdrip-replex
>      /opt/local/libexec/perl5.12/sitebin/dvdrip-splash
>      /opt/local/libexec/perl5.12/sitebin/dvdrip-splitpipe
>      /opt/local/libexec/perl5.12/sitebin/dvdrip-subpng
>      /opt/local/libexec/perl5.12/sitebin/dvdrip-thumb
>      /opt/local/libexec/perl5.12/sitebin/execflow

These are the binaries of dvdrip.
If you symlink them to /opt/local/bin
or add /opt/local/libexec/perl5.12/sitebin/ to your PATH,
everything should work as expected. Does it?

>      /opt/local/share/doc/dvdrip/COPYRIGHT
>      /opt/local/share/doc/dvdrip/Changes
>      /opt/local/share/doc/dvdrip/Changes.0.46
>      /opt/local/share/doc/dvdrip/Credits
>      /opt/local/share/doc/dvdrip/README
>      /opt/local/share/doc/dvdrip/TODO

Have you read the README? Does it mention this situation,
i.e. binaries not in PATH that need to be symlinked?
If it doesn't, it probably should, right?

>      /opt/local/share/perl5.12/siteman/man1/dvdrip-progress.1pm
>      /opt/local/share/perl5.12/siteman/man1/dvdrip-splitpipe.1pm
>      /opt/local/share/perl5.12/siteman/man1/dvdrip.1pm
>      /opt/local/share/perl5.12/siteman/man3/AE.3pm
>      /opt/local/share/perl5.12/siteman/man3/...

Similar situation as with the binaries: you should add
/opt/local/share/perl5.12/siteman/ to your MANPATH.
And the port message should mentions that.
See manpath(1).


On Oct 28 00:03:36, allbery.b at gmail.com wrote:
> 
> These are the programs you expect. They're not in /opt/local/bin because
> you could also install dvdrip in perl5.14 and perl5.16 and probably some
> other Perl versions... which one wins?

Do we really have other versions of dvdrip?
The Portfile says explicitly it depends on

	port:p5.12-libintl-perl
	port:transcode \
	port:p5.12-gtk2

> It's the price we pay for
> supporting more than one concurrently installed version of Perl.

Should a message be displayed to the user
after installing such a port? In the same situation
(many possible pythons), OpenBSD's port system says


  Information for inst:python-2.7.5

  Install notice:
  If you want to use this package as your default system python, as root
  create symbolic links like so (overwriting any previous default):
    ln -sf /usr/local/bin/python2.7 /usr/local/bin/python
    ln -sf /usr/local/bin/python2.7-2to3 /usr/local/bin/2to3
    ln -sf /usr/local/bin/python2.7-config /usr/local/bin/python-config
    ln -sf /usr/local/bin/pydoc2.7 /usr/local/bin/pydoc




More information about the macports-users mailing list