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 Fri, 27 Aug 2021 at 10:49, Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:
>
> Tested under NetBSD-current of today and current pkgsrc.
>
> liferea plugin system is enabled when --enable-introspection is given
> on the configure command line - which is not in the current package
> build state.
>
> I distcleaned the work directory and reran configure as below,
>
> This fails with my system make (bmake in your context) in
> /usr/pkg/share/gobject-introspection-1.0/Makefile.introspection, which
> apparently needs gmake. I was able to go a bit further by running the
> configure script with /usr/pkg/gnu/bin in front of the PATH, but it
> failed the final link stage - it reported not being able to find
> LibXinerama.so.2, which I couldn't figure out - the configure
> invocation was:
>
> ./configure --x-includes=/usr/X11R7/include
> --x-libraries=/usr/X11R7/lib --prefix=/usr/pkg --build=x86_64--netbsd
> --host=x86_64--netbsd --mandir=/usr/pkg/man
> --enable-option-checking=yes --enable-introspection
>
> so it should have been found.
>
> Chavdar

It turned out the reason is that devel/libpeas does not include the loaders:
....
(liferea:11173): libpeas-WARNING **: 12:34:25.653: Failed to load
module 'python3loader': Cannot open
"/usr/pkg/lib/libpeas-1.0/loaders/libpython3loader.so"
....

even if I added CONFIGURE_ARGS+=        --enable-introspection to the Makefile.

I tried to mess with libpeas, but I can't get it to build the loaders,
even when enabling them in the Makefile, which contains:
...
# XXX: revisit at later date if something needs this
...
and disables the loaders; I guess the maintainer should do just that,
as plugins are disabled for other programs using them, i.e. gedit:

...
(gedit:12666): libpeas-WARNING **: 12:37:09.554: Failed to load module
'python3loader': Cannot open
"/usr/pkg/lib/libpeas-1.0/loaders/libpython3loader.so"

(gedit:12666): libpeas-WARNING **: 12:37:09.554: Could not load plugin
loader 'python3'
...

A pr perhaps...
...


>
> On Fri, 27 Aug 2021 at 09:32, Ottavio Caruso
> <ottavio2006-usenet2012%yahoo.com@localhost> wrote:
> >
> > Hi,
> >
> > User error/bug? You decide.
> >
> > $ uname -a
> > Linux e130 4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30)
> > x86_64 GNU/Linux
> >
> > pkgsrc = current
> >
> > $ cat /etc/debian_version
> > 10.2
> >
> > Liferea native Debian:
> > $ /usr/bin/liferea -v
> > Liferea 1.12.6
> >
> > Liferea from pkgsrc:
> > $ /usr/pkg/bin/liferea -v
> > Liferea 1.12.8
> >
> > I hope you can all see the attached pictures (if not, please let me know).
> >
> > As you can see from liferea-debian*, I can click on Tools > Plugins
> > and see all plugins + I can also download additinal plugins.
> >
> > But on the pkgsrc version of Liferea, I don't have this luxury, see
> > iiferea-pkgsrc.png
> >
> > In the PLIST changelog:
> > http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/www/liferea/PLIST
> >
> > I see:
> >
> > 1.12.2
> > ------
> >  * Adding a plugin installer plugin that allows discovering
> >    and automatically installing 3rd party plugins
> >
> > So, where is this plugin installer supposed to be?
> >
> > I have checked the Debian Liferea sources:
> > https://packages.debian.org/en/buster/amd64/liferea/filelist
> >
> > and they look quite plain vanilla to me, so I have no clue how this
> > can possibly happen.
> >
> > Any input is welcome.
> >
> >
> > --
> > Ottavio Caruso
>
>
>
> --
> ----



-- 
----


Home | Main Index | Thread Index | Old Index