pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Why can't I see/use plugins in www/liferea?
On Sat, 28 Aug 2021 at 09:37, Thomas Klausner <wiz%netbsd.org@localhost> wrote:
>
> On Sat, Aug 28, 2021 at 09:29:15AM +0100, Chavdar Ivanov wrote:
> > On Sat, 28 Aug 2021 at 09:04, Thomas Klausner <wiz%netbsd.org@localhost> wrote:
> > >
> > > Hi!
> > >
> > > I've just enabled python3 support in libpeas by default.
> > > I hope this fixes the original problem, let me know!
> > > Thomas
> >
> >
> > Not with python3.7, as it lacks python-3.7-embed.pc as follows:
> >
> > # See: man pkg-config
> > prefix=/usr/pkg
> > exec_prefix=${prefix}
> > libdir=${exec_prefix}/lib
> > includedir=${prefix}/include
> >
> > Name: Python
> > Description: Embed Python into an application
> > Requires:
> > Version: 3.7
> > Libs.private: -lcrypt -lintl -lpthread -lutil -lm
> > Libs: -Wl,-R${libdir} -L${libdir} -lpython3.7
> > Cflags: -I${includedir}/python3.7
> >
> > Later python versions do have the corresponding file and should work,
> > but I haven't tried them.
> >
> > I was able to build the package by placing the above file in
> > work/.buildlinks/lib/pkgconfig and rebuilding in place (rm
> > work/.configure_done work/.build_done; rm -r
> > work/libpeas-1.26.0/output; make).
> >
>
> I've changed the package to not allow python 3.7.
> Thomas
Perhaps this is worse - now attempt to build it goes through building
the newly-needed python3.(9 in my case) packages and subsequent
installation fails as in:
...
=> Creating binary package
/usr/pkgsrc/graphics/py-cairo/work/.packages/py39-cairo-1.20.1.tgz
===> Building binary package for py39-cairo-1.20.1
=> Creating binary package /usr/pkgsrc/packages/All/py39-cairo-1.20.1.tgz
===> Installing binary package of py39-cairo-1.20.1
pkg_add: Conflicting PLIST with py37-cairo-1.20.1: include/pycairo/py3cairo.h
pkg_add: 1 package addition failed
*** Error code 1
....
thereby requiring a full switch from python3.7 to 3.9...
I would suggest adding the abovementioned pyhon-3.7-embed.pc to
python37 package, which should allow embedding it elsewhere as well; I
do not know why this file is missing in 3.7 and present in the others
when it actually works.
By the way, as far as the original discussed package - www/liferea -
is concerned, the version in pkgsrc is 1.12.8; the current version is
1.13.6. If one applies the trivial patch (just upping the version in
Makefile and distinfo; make distinfo && make package && make
print-PLIST > PLIST && make repackage) it actually builds and runs,
but does not display the feeds at all, sans any error messages, so for
now I'd stick to the working version.
Chavdar
--
----
Home |
Main Index |
Thread Index |
Old Index