Tiny Core Linux
dCore Import Debian Packages to Mountable SCE extensions => dCore X86 => dCore x86 Imported Extensions => Topic started by: jls on July 14, 2015, 05:16:17 AM
-
Running /usr/bin/gdk-pixbuf-query-loaders --update-cache as root
as I found in https://bbs.archlinux.org/viewtopic.php?id=171188 (https://bbs.archlinux.org/viewtopic.php?id=171188)
-
I was going to ask what application so I could add "/usr/local/postinst/libgdk-pixbuf2.0-0 trigger" to it (this is the Debian startup script command that does the same), but adding this to sce-load would prevent any future issue and prevent having to hunt down offending packages and create individual startup scripts.
The below logic will let sce-load run this command when needed, like we do depmod when there are kernel modules in an SCE being loaded:
Basically, if the below directory exists inside an SCE, then run "/usr/local/postinst/libgdk-pixbuf2.0-0 trigger"
/usr/lib/i386-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/
-
Ok, I have used checking for pixbuf loaders as well as gtk2 and gtk3 immodules upon sce-load. This should prevent any issues with loaders or immodules in apps. The commands take a fraction of a second and will prevent existing breakage and the need for individual startup scripts involving these cache updates sometimes needed.
It should work, please test on the offending extension and and verify. Uploaded to release.
-
what about
6 /usr/lib/i386-linux-gnu/glib-2.0/glib-compile-schemas /usr/share/glib-2.0/schemas/
-
Ok, I can put a check for that in as well.
-
Hi
I see the problem still exists.
Trying shotwell for example, I need to :
sudo /usr/lib/i386-linux-gnu/glib-2.0/glib-compile-schemas /usr/share
/glib-2.0/schemas/
sudo /usr/local/postinst/libgdk-pixbuf2.0-0 trigger
for shotwell to start I need to remove /usr/bin/shotwell and copy it from the one in tcloop.
Thanks
PS. using shotwell from the yorba's ppa
-
This is also a problem when shotwell is compiled on tc - it will not work until copied into the root filesystem
-
Thanks JLS and Juanito for the info of the needed copy over, will add it in the startup script.
EDIT: added now.
-
Hi
Thaks Jason,
I still eed to run:
sudo /usr/lib/i386-linux-gnu/glib-2.0/glib-compile-schemas /usr/share/glib-2.0/schemas/
to avoid:
L 22279 2016-03-29 13:29:13 [CRT] ConfigurationInterfaces.vala:371: configuratio
n engine 'GSettings' reports ENGINE_ERROR: schema 'org.yorba.shotwell.preference
s.window' is not installed
and also:
sudo /usr/local/postinst/libgdk-pixbuf2.0-0 trigger
to avoid
L 23146 2016-03-29 13:32:03 [CRT] Resources.vala:918: Unable to load stock icon
shotwell-pin-toolbar: Impossibile riconoscere il formato di immagine per il file
«/usr/share/shotwell/icons/pin-toolbar.svg»
-
Ok, I will add it in. thanks.