From owner-freebsd-questions@FreeBSD.ORG Sun Sep 7 17:23:19 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0213B906 for ; Sun, 7 Sep 2014 17:23:19 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AE3AD13C5 for ; Sun, 7 Sep 2014 17:23:18 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XQgBG-0001Gc-Ia for freebsd-questions@freebsd.org; Sun, 07 Sep 2014 19:23:14 +0200 Received: from pool-173-79-82-127.washdc.fios.verizon.net ([173.79.82.127]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 Sep 2014 19:23:14 +0200 Received: from nightrecon by pool-173-79-82-127.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 Sep 2014 19:23:14 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Subject: Re: missing lipmp3lame with openshot Date: Sun, 07 Sep 2014 13:23:02 -0400 Lines: 53 Message-ID: References: <540B5779.9020706@dreamchaser.org> <540B8CAB.5090801@dreamchaser.org> <540BEE34.2030108@dreamchaser.org> <540C7BB3.5000204@dreamchaser.org> Reply-To: nightrecon@hotmail.com Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-82-127.washdc.fios.verizon.net X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Sep 2014 17:23:19 -0000 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