WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Core 4.2: flwm_topside.tcz depends on Xprog.tcz  (Read 3979 times)

Offline vitex

  • Full Member
  • ***
  • Posts: 113
Core 4.2: flwm_topside.tcz depends on Xprog.tcz
« on: December 28, 2011, 12:10:38 AM »
Boot the Core 4.2 ISO without any bootcodes.

Code: [Select]
tc@box:~$ tce-load -wi flwm_topside
Downloading: fltk-1.10.tcz
Connecting to distro.ibiblio.org (152.19.134.43:80)
fltk-1.10.tcz        100% |*******************************|   288k  0:00:00 ETA
fltk-1.10.tcz: OK
Downloading: flwm_topside.tcz
Connecting to distro.ibiblio.org (152.19.134.43:80)
flwm_topside.tcz     100% |*******************************| 32768   0:00:00 ETA
flwm_topside.tcz: OK
/usr/bin/tce-load: line 289: desktop.sh: not found

The error message goes away if Xprogs.tcz, which contains desktop.sh, is loaded before flwm_topside.tcz.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Core 4.2: flwm_topside.tcz depends on Xprog.tcz
« Reply #1 on: December 28, 2011, 12:53:59 AM »
You had better check for updates, as desktop.sh is in Xlibs.tcz, only fltk gui programs are in Xprogs.tcz.
10+ Years Contributing to Linux Open Source Projects.

Offline vitex

  • Full Member
  • ***
  • Posts: 113
Re: Core 4.2: flwm_topside.tcz depends on Xlibs.tcz (Was: Xprog.tcz)
« Reply #2 on: December 28, 2011, 09:07:55 AM »
You had better check for updates, as desktop.sh is in Xlibs.tcz, only fltk gui programs are in Xprogs.tcz.

The error is real; my dependency analysis was wrong.  The missing dependency is Xlibs.tcz, not Xprogs.tcz.



Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Core 4.2: flwm_topside.tcz depends on Xprog.tcz
« Reply #3 on: January 02, 2012, 11:13:18 AM »
Then every X extension would need an additional dependency of Xlibs, or perhaps common sense could prevail?
10+ Years Contributing to Linux Open Source Projects.

Offline vitex

  • Full Member
  • ***
  • Posts: 113
Re: Core 4.2: flwm_topside.tcz depends on Xprog.tcz
« Reply #4 on: January 02, 2012, 05:42:25 PM »
Then every X extension would need an additional dependency of Xlibs, or perhaps common sense could prevail?

The issue that I raised is a specialized one and has nothing to do with adding Xlibs.tcz as a dependency of every X-related extension.

The team designed tce-load to call the script desktop.sh during loading of special extensions (e.g., flwm_topside.tcz) but provided no mechanism to ensure that desktop.sh has itself been loaded.  With the current implementation, tce-load will fail while loading a special extension unless Xlibs.tcz, which contains desktop.sh, has already been loaded.

If you feel comfortable leaving this failure mode in Core, so be it.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11704
Re: Core 4.2: flwm_topside.tcz depends on Xprog.tcz
« Reply #5 on: January 02, 2012, 09:24:37 PM »
Hi vitex
Quote
If you feel comfortable leaving this failure mode in Core, so be it.
Being confrontational is uncalled for and will not serve you well in making your point.
Roberts listens to all input and does his best to accommodate where he feels it makes sense. While
I don't expect you to agree with every decision he makes, I do expect you to keep all dialog civil.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Core 4.2: flwm_topside.tcz depends on Xprog.tcz
« Reply #6 on: January 02, 2012, 09:40:14 PM »
This is no different from the previous microcore plus extensions.
Most X extensions did not depend on Xlibs simply because tinycore did not reveal to tce-load that Xlibs was loaded.
Now that there is no tinycore.gz, loading applications work as they always did for microcore.
I always have Xlibs first in onboot.lst when using X.
When I am not using X, I don't try to run X applications.

One of the advantages of the new core approach is that now it will be possible to include Xlibs as a dependency,
where this was not practical with tinycore.

So, unless/until all X program maintainers update the all the X extensions, you will just have to live with it and use your head.