Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: netnomad on April 15, 2012, 04:25:27 AM

Title: xonclock - missing dependency
Post by: netnomad on April 15, 2012, 04:25:27 AM
hi friends,

xonclock has a missing dependency:
fontconfig.tcz
perhaps this missing dep has it's origin in the further deps of
xonclock.tcz
   graphics-libs-1.tcz
   Xorg-7.6-lib.tcz?

thank you for your help and commitment.
Title: Re: xonclock - missing dependency
Post by: gutmensch on April 15, 2012, 05:23:43 AM
added fontconfig.tcz as dep, thanks! the issue was probably caused by removing the X server from the dep file in TC 4.x, but just a guess.
Title: Re: xonclock - missing dependency
Post by: AbNoRMiS on April 15, 2012, 05:25:51 AM
fontconfig.tcz don't required
xonclock requires freetype which included to Xlibs
when ran xonclock then reported
Code: [Select]
tc@box:~$ xonclock
xonclock-0.0.9.2: parse.c:117 Unable to open config file: /home/tc/.xonclockrc
xonclock-0.0.9.2: loaders/png.c:86 Unable to open /usr/local/share/xonclock/skin
need to run
Code: [Select]
cp /usr/local/share/xonclock/xonclockrc-example /home/$USER/.xonclockrc
sudo cp /usr/local/share/xonclock/skins/chrome-128.png /usr/local/share/xonclock/skins/xonclock.png

p.s.
Xorg-7.6-lib.tcz is included to deps
Title: Re: xonclock - missing dependency
Post by: AbNoRMiS on April 15, 2012, 05:35:28 AM
need to report to Curaga to fix boot script xonclock
Title: Re: xonclock - missing dependency
Post by: gutmensch on April 15, 2012, 05:42:42 AM
fontconfig.tcz don't required
wrong.
proof:
Code: [Select]
tc@box:/tmp/tmp.YZrR4c$ ldd squashfs-root/usr/local/bin/xonclock | grep local
   libfontconfig.so.1 => /usr/local/lib/libfontconfig.so.1 (0xb760b000)
   libtiff.so.3 => /usr/local/lib/libtiff.so.3 (0xb7528000)
   libexpat.so.1 => /usr/local/lib/libexpat.so.1 (0xb7392000)
Title: Re: xonclock - missing dependency
Post by: AbNoRMiS on April 15, 2012, 05:52:08 AM
may be optional
because xonclock works without fontconfig
Title: Re: xonclock - missing dependency
Post by: gutmensch on April 15, 2012, 06:08:55 AM
it's linked to fontconfig, so without a code review there's no point in arguing about "maybe optional". linkage means the program will most likely use code from that library sooner or later and in the case fontconfig is not available, it will definitely crash. if it would be optional, there wouldn't have to be a link. if you want to dig deeper, please report upstream at xonclock development if fontconfig is really needed or not ;)
Title: Re: xonclock - missing dependency
Post by: AbNoRMiS on April 15, 2012, 06:32:29 AM
before the upstream reporting
need that maintainer looked
and expressed their solutions

i given my decision
in which xonclock is work fine
 :)

p.s.
strange but xonclock not shows the date
as on screenshots from the official site
even if has installed fontconfig
(http://xonclock.sourceforge.net/thumb.png)

(http://xonclock.sourceforge.net/thumb1.png)

(http://sourceforge.net/projects/xonclock/screenshots/30128)
Title: Re: xonclock - missing dependency
Post by: gutmensch on April 15, 2012, 08:26:01 AM
Well, your ignorance is a bit annoying but I will leave it here. If you don't want to understand the basics of shared code, I cannot help and it's not my problem either. fontconfig stands as dep. EOF ;)
Title: Re: xonclock - missing dependency
Post by: beroje on April 15, 2012, 08:35:36 AM
tc@box:~$
tc@box:~$ xonclock
xonclock-0.0.9.2: parse.c:117 Unable to open config file: /home/tc/.xonclockrc
xonclock-0.0.9.2: loaders/png.c:86 Unable to open /usr/local/share/xonclock/skins/xonclock.png
xonclock-0.0.9.2: xonclock.c:732 Error occured while loading a skin file: /usr/local/share/xonclock/skins/xonclock.png
tc@box:~$
tc@box:~$ sudo xonclock
Title: Re: xonclock - missing dependency
Post by: AbNoRMiS on April 15, 2012, 08:44:49 AM
Well, your ignorance is a bit annoying but I will leave it here. If you don't want to understand the basics of shared code, I cannot help and it's not my problem either. fontconfig stands as dep. EOF ;)
nothing can be impeccable in this imperfect world :D
Title: Re: xonclock - missing dependency
Post by: AbNoRMiS on April 15, 2012, 08:50:42 AM
tc@box:~$
tc@box:~$ xonclock
xonclock-0.0.9.2: parse.c:117 Unable to open config file: /home/tc/.xonclockrc
xonclock-0.0.9.2: loaders/png.c:86 Unable to open /usr/local/share/xonclock/skins/xonclock.png
xonclock-0.0.9.2: xonclock.c:732 Error occured while loading a skin file: /usr/local/share/xonclock/skins/xonclock.png
tc@box:~$
tc@box:~$ sudo xonclock
Quote
tc@box:~$ cat /usr/local/tce.installed/xonclock
#!/bin/sh
[ ! -e "$HOME/.xonclockrc" ] && cp /usr/local/share/xonclock/xonclockrc-example ~/.xonclockrc
chown 1001:50 ~/.xonclockrc
Quote
tc@box:~$ ls -a1 /
./
../
bin/
dev/
etc/
home/
init
lib/
mnt/
opt/
proc/
root/
run/
sbin/
sys/
tmp/
usr/
var/
.xonclockrc
Title: Re: xonclock - missing dependency
Post by: curaga on April 15, 2012, 11:03:33 AM
Startup script updated, thanks.
Title: Re: xonclock - missing dependency
Post by: AbNoRMiS on April 15, 2012, 11:28:41 AM
but what about deps?
Title: Re: xonclock - missing dependency
Post by: curaga on April 15, 2012, 12:18:54 PM
It does require fontconfig, and gutmensch already added that.
Title: Re: xonclock - missing dependency
Post by: AbNoRMiS on April 15, 2012, 12:49:05 PM
upgraded for myself
thanks
 :)
Title: Re: xonclock - missing dependency
Post by: AbNoRMiS on April 15, 2012, 12:55:28 PM
strange but  deps info yet not updated in appbrowser
i did update from ftp
Title: Re: xonclock - missing dependency
Post by: curaga on April 16, 2012, 08:12:52 AM
The dep change should be instant, but the tree files can lag a bit (the sizes tab).
Title: Re: xonclock - missing dependency
Post by: AbNoRMiS on April 16, 2012, 09:01:39 AM
this is strange because if i was not mistaken then deps changed in the apps(browser) only after reboot