pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: print/foliate missing dependencies?
On Sat, Sep 5, 2026 at 7:31 PM Santhosh Raju <fox%netbsd.org@localhost> wrote:
>
> On Sat, Sep 5, 2026 at 4:19 PM Greg Troxel <gdt%lexort.com@localhost> wrote:
> >
> > Rhialto <rhialto%falu.nl@localhost> writes:
> >
> > > On Sat 05 Sep 2026 at 15:02:24 +0200, Rhialto wrote:
> > >> radl:~$ foliate
> > >>
> > >> (gjs:7971): Gjs-CRITICAL **: 14:59:56.058: JS ERROR: Error: Requiring GLib, version 2.0: Typelib file for namespace 'GLib', version '2.0' not found
> > >> @resource:///org/gnome/gjs/modules/script/package.js:13:14
> > >> @/usr/pkg/bin/foliate:2:1
> > >
> > > It is package glib2-introspection, which installs a file
> > > /usr/pkg/share/gir-1.0/GLib-2.0.gir. Which I found mainly by luck by
> > > searching for files with "GLib" in their name.
> >
Looking at the error, it seems lang/gjs errors out missing this GLib
version 2.0 (and not foliate directly).
In the commit history for lang/gjs I see during the "*: more
gobject-introspection clean-ups", lang/gjs lost the runtime dependency
on gobject-introspection (since it shipped GLib-2.0.typelib) before
the split (correct me if I am wrong here) and glib2-introspection
became TOOL_DEPENDS
- https://github.com/NetBSD/pkgsrc/commit/c0b54aac56a3580640ca32237ec1c2eb4940fa9f#diff-7916e8fa36a01988cdf7c70e6f3e1ed04ad675ea7ef79f6f889bcd4956813303
wiz@ do you think glib2-introspection should be DEPENDS in lang/gjs?
The quick fix for print/foliate can be to add glib2-introspection, but
I feel this might be the wrong fix.
Let me know what you think.
--
Santhosh
Home |
Main Index |
Thread Index |
Old Index