linuxdeploy-plugin-gtk icon indicating copy to clipboard operation
linuxdeploy-plugin-gtk copied to clipboard

gtksourceview-4-common files are not copied along with library

Open rolandlo opened this issue 2 years ago • 3 comments

We use linuxdeploy and its Gtk plugin to build an AppImage on Ubuntu 20.04. Our package uses libgtksourceview-4-0 (which depends on libgtksourceview-4-common). While the gtksourceview library is installed automatically in the AppImage, the styles and language definitions are not:

~/Downloads/squashfs-root$ find ./usr -name *sourceview*
./usr/share/doc/libgtksourceview-4-0
./usr/lib/libgtksourceview-4.so.0

I suggest that the Gtk plugin copies the (style and language defintion) files from /usr/share/gtksourceview-4/ and the files /usr/share/locale/*/LC_MESSAGES/gtksourceview-4.mo when the library is copied.

rolandlo avatar Aug 26 '23 06:08 rolandlo

I found the same issue, in my case I'm using gtksourceview3 and my AppImage doesn't work properly unless gtksourceview3 is also installed in the system ( https://github.com/giuspen/cherrytree/issues/2493 )

giuspen avatar Apr 30 '24 21:04 giuspen

PRs welcome.

TheAssassin avatar Apr 30 '24 21:04 TheAssassin

I will give it a try, if I succeed I'll open a PR

giuspen avatar Apr 30 '24 21:04 giuspen