Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: netnomad on April 15, 2012, 07: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.
-
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.
-
fontconfig.tcz don't required
xonclock requires freetype which included to Xlibs
when ran xonclock then reported
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
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
-
need to report to Curaga to fix boot script xonclock
-
fontconfig.tcz don't required
wrong.
proof:
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)
-
may be optional
because xonclock works without fontconfig
-
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 ;)
-
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)
-
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 ;)
-
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
-
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
-
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
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
tc@box:~$ ls -a1 /
./
../
bin/
dev/
etc/
home/
init
lib/
mnt/
opt/
proc/
root/
run/
sbin/
sys/
tmp/
usr/
var/
.xonclockrc
-
Startup script updated, thanks.
-
but what about deps?
-
It does require fontconfig, and gutmensch already added that.
-
upgraded for myself
thanks
:)
-
strange but deps info yet not updated in appbrowser
i did update from ftp
-
The dep change should be instant, but the tree files can lag a bit (the sizes tab).
-
this is strange because if i was not mistaken then deps changed in the apps(browser) only after reboot