nautilus-annotations icon indicating copy to clipboard operation
nautilus-annotations copied to clipboard

bootstrap script for req packages on ubuntu 2204

Open nrvale0 opened this issue 9 months ago • 3 comments

Howdy.

This is a WIP PR...

I would like to use this extension on Ubuntu 22.04 however I'm not able to get the ./configure script to exit 0. I've added a bootstrap script to be run even before ./bootstrap to try to resolve the missing packages but I'm still running into some problems with automake. See below:

checking pkg-config is at least version 0.9.0... yes
checking for glib-2.0, libadwaita-1, gtk4, gtksourceview-5, libnautilus-extension-4... no
configure: error: Package requirements (glib-2.0, libadwaita-1, gtk4, gtksourceview-5, libnautilus-extension-4) were not met:

No package 'libnautilus-extension-4' found

Any thoughts?

nrvale0 avatar Nov 19 '23 17:11 nrvale0

Hi Nathan

The command responsible for finding libnautilus-extension-4 (the one used by the configure script) is called pkg-config. Could you please paste here the content of /usr/lib/x86_64-linux-gnu/pkgconfig/libnautilus-extension-4.pc?

Unfortunately I don't use Ubuntu, but I was thinking that better than a distro-specific shell script, it would be interesting if you were able to create the recipe for packaging a .deb file. I would be happy to add that to the repository.

--madmurphy

madmurphy avatar Nov 20 '23 09:11 madmurphy

Thanks for the pointer to pkg-config. I was not aware of that tool. I will dig in there next.

re the package, it has been many years since I created a Debian package from scratch. It is a possibility but relatively low probability.

nrvale0 avatar Nov 20 '23 15:11 nrvale0

No problem. I remember reading an article from OMG! Ubuntu about this extension in the past, but no issues were reported concerning libnautilus-extension-4, so it would be interesting to investigate further.

You might also want to have a look at this packaging request.

madmurphy avatar Nov 21 '23 13:11 madmurphy