Tiny Core Linux

dCore Import Debian Packages to Mountable SCE extensions => dCore X86 => Topic started by: sm8ps on June 13, 2015, 07:59:52 AM

Title: Suspend, hibernate working through pm-utils on ub-dCore
Post by: sm8ps on June 13, 2015, 07:59:52 AM
PM-utils work without a flaw as outlined in the wiki (http://wiki.tinycorelinux.net/dcore:system_software?&#additional_system_software).

I have noticed that I have lately been doing a considerable part of my computer work on dCore and this new find will make it even more useful to me. Hope for others, too!
Title: Re: Suspend, hibernate working through pm-utils on ub-dCore
Post by: Jason W on June 13, 2015, 01:32:34 PM
That is good to hear.  I read the page and see bash is needed by pm-utils.  I will add bash to the dependency list of pm-utils.  Whenever a package needs another to function, it should be added to it's dep list.  Anyone let me know when they see such a case.
Title: Evince & glib-compile-schemas
Post by: sm8ps on June 14, 2015, 05:26:16 AM
Thanks for your response, Jason!
On a similar note as the dependency on Bash, I found out that Evince needs to have its GTK-scheme compiled, cf. the wiki page on desktop applications (http://wiki.tinycorelinux.net/dcore:desktop_applications#pdf-viewer).
Mainly for the sake of curiosity, do you see a way to have these steps automated in dCore?
Title: Evince & glib-compile-schemas
Post by: Jason W on June 14, 2015, 09:25:57 AM
Putting the below in the startup script of evince should do it.  I have added it in, please test by re-importing. 


/usr/local/postinst/libglib2.0-0 trigger
Title: Evince & glib-compile-schemas
Post by: sm8ps on June 15, 2015, 04:59:26 AM
AFAIKT it is not working yet. /usr/share/glib2.0/schemas/gschemas-compiled is not updated upon importing or loading evince-gtk. Manually issueing ''sudo /usr/local/postinst/libglib2.0-0 trigger'', however, does do its job. The package libglib2.0-bin does not seem needed.

What script are you refering to? Under /usr/local/tce.installed I find evince-{gtk,common} which execute ''/usr/local/postinst/evince-{gtk,common} configure'', neither one doing anything like triggering libglib2.0-0.

Could it be that my machine is not updating from repo.tinycorelinux.net? If so, how could I check? Neither is it answering to ping requests at 89.22.99.37 nor does the url http://repo.tinycorelinux.net show anything to a browser.
Title: Re: Suspend, hibernate working through pm-utils on ub-dCore
Post by: Jason W on June 15, 2015, 11:57:37 AM
You first mentioned evince, evince-gtk does not have evince in it's deps so the evince.deb2sce that I uploaded is still needed by evince but I have now evince-gtk.deb2sce.   Mentioning the specific package name is helpful.  :-)

Re-import and it should work. 
Title: Re: Suspend, hibernate working through pm-utils on ub-dCore
Post by: Jason W on June 15, 2015, 12:00:55 PM
The deb2sce scripts get installed as /usr/local/tce.installed/PKGNAME. and are executed on sce loading.
Title: Re: Evince & glib-compile-schemas
Post by: curaga on June 15, 2015, 02:04:14 PM
Could it be that my machine is not updating from repo.tinycorelinux.net? If so, how could I check? Neither is it answering to ping requests at 89.22.99.37 nor does the url http://repo.tinycorelinux.net show anything to a browser.

The server considers pings a start of a port scan, and blocks you for a short while.
Title: Re: Suspend, hibernate working through pm-utils on ub-dCore
Post by: sm8ps on June 15, 2015, 02:36:16 PM
You first mentioned evince, evince-gtk does not have evince in it's deps so the evince.deb2sce that I uploaded is still needed by evince but I have now evince-gtk.deb2sce.   Mentioning the specific package name is helpful.  :-)
(...)
The deb2sce scripts get installed as /usr/local/tce.installed/PKGNAME. and are executed on sce loading.
Re-import and it should work.

Now it does work, of course. Sorry for the confusion and thanks for the explanation about the start scripts, too!
evince works without any hick-up while evince-gtk does not play well as ondemand application since the name of its executable (evince) differs from the package name. So I have adapted the wiki page.
Title: Re: Evince & glib-compile-schemas
Post by: sm8ps on June 15, 2015, 02:38:22 PM
The server considers pings a start of a port scan, and blocks you for a short while.
Thanks for that explanation! In fact, I have wondered occasionally about the connection and my first check is always ping responses. That was anything but helpful here as it turns out.  :o