Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Sep 2014 13:23:02 -0400
From:      Michael Powell <nightrecon@hotmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: missing lipmp3lame with openshot
Message-ID:  <lui49m$9oj$1@ger.gmane.org>
References:  <540B5779.9020706@dreamchaser.org> <lug0dm$u37$1@ger.gmane.org> <540B8CAB.5090801@dreamchaser.org> <lug553$eq2$1@ger.gmane.org> <540BEE34.2030108@dreamchaser.org> <luh3ak$ej0$1@ger.gmane.org> <540C7BB3.5000204@dreamchaser.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Gary Aitken wrote:

> On 09/07/14 02:00, Michael Powell wrote:
>> Gary Aitken wrote:
>> 
>> [snip]
>>>>>>
>>>>>>> I'm trying out openshot to learn something about video editing.
>>>>>>> When I go to export, it claims: "The following codec(s) are missing
>>>>>>> from your system: libmp3lame"
>>>>>>>
>>>>>>> The openshot executable is statically linked, and there is a
>>>>>>> libmp3lame.a in /usr/local/lib, as a result of installing
>>>>>>> multimedia/gstreamer-ffmpeg, I think.
>>>>>>>
>> [snip]
> 
> The problem appears to be in the Makefile for gtk.
> 
> $pkg info -r python-2.7_2,2
> python-2.7_2,2:
>         gtk2-2.24.22_4

Both machines here at home are servers and have WITHOUT_X11= yes in my 
make.conf, so I would never have seen this.
 
> /usr/ports/x11-toolkits/gtk20/Makefile:
>   python:${PORTSDIR}/lang/python
> 
> /usr/ports/lang/python/Makefile specifies
>   PORTVERSION=    ${PYTHON_DEFAULT}
> /usr/ports/Mk/bsd.default-versions.mk:
>   PYTHON_DEFAULT?=  2.7
> 
> I did the following:
> 
> removed the python: dependency in gtk20 Makefile,
> then make deinstall and make reinstall.
> That fixes the issue in openshot with the missing libmp3lame library.
> 
> I'm not sure what the proper way to modify the gtk20 Makefile is to fix
> this, so I'll just file a bug and let someone with more knowledge do it
> right.
> 

I'm kinda lame about PR filing myself and I know better. Usually when I 
discover something like this I email the port maintainer and even though it 
may not be 'immediate', when they take a look they usually come up with a 
more proper and correct fix. I've had a fair amount of luck in this over the 
years.

-Mike





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?lui49m$9oj$1>