pkgsrc-WIP-review archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: quodlibet looking for wrong python binary



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
pkgsrc-wip-review%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-review


Home | Main Index | Thread Index | Old Index