Re: quodlibet looking for wrong python binary

Ian D. Leroux <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.review
Message-ID <87iq2tshhi.wl%[email protected]>
At Sun, 29 Aug 2010 12:00:00 +0200,
Grégoire Sutre wrote:
> 
> On 08/29/2010 05:29 AM, Ian D. Leroux wrote:
> 
> > I just tried out wip/quodlibet and got an error because
> > /usr/pkg/bin/quodlibet expects a binary named python wheareas by
> > default pkgsrc installed /usr/pkg/bin/python2.6
> >
> > I'm not sure if this is a problem with the quodlibet package or with
> > the python installation, but since none of the other python packages
> > on my system have a problem I thought I'd ask here first: what's the
> > correct fix for this?  A patch that gets applied to quodlibet at make
> > patch time?
> 
> You could use REPLACE_PYTHON (see lang/python/application.mk).

Thank you for the tip.  The following patch fixes that problem.  Now
quodlibet runs but dumps core with a memory fault.  One step forward,
two steps back...

Ian Leroux

--- Makefile.old	2010-08-29 08:41:56.000000000 -0400
+++ Makefile	2010-08-29 08:52:11.000000000 -0400
@@ -25,6 +25,8 @@
 
 PYDISTUTILSPKG= yes
 
+PYTHON_PATCH_SCRIPTS= exfalso.py quodlibet.py
+
 .include "../../devel/py-ctypes/buildlink3.mk"
 .include "../../devel/py-gobject/buildlink3.mk"
 .include "../../devel/pango/buildlink3.mk"
@@ -35,4 +37,5 @@
 .include "../../sysutils/py-dbus/buildlink3.mk"
 .include "../../x11/py-gtk2/buildlink3.mk"
 .include "../../lang/python/extension.mk"
+.include "../../lang/python/application.mk"
 .include "../../mk/bsd.pkg.mk"

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
pkgsrc-wip-review mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-review
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.