WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: xonclock - missing dependency  (Read 4281 times)

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
xonclock - missing dependency
« 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.

Offline gutmensch

  • Administrator
  • Hero Member
  • *****
  • Posts: 605
  • I can make it disappear, have no fear!
    • remembrance blog
Re: xonclock - missing dependency
« Reply #1 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.
If I seem unduly clear to you, you must have misunderstood what I said. (Alan Greenspan)

Offline AbNoRMiS

  • Hero Member
  • *****
  • Posts: 550
  • nothing can be impeccable in this imperfect world
    • @ß№®M!$
Re: xonclock - missing dependency
« Reply #2 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
« Last Edit: April 15, 2012, 05:29:32 AM by AbNoRMiS »
Basic Design Concept © @ß№®M!$
please forgive my terrible english :)

Offline AbNoRMiS

  • Hero Member
  • *****
  • Posts: 550
  • nothing can be impeccable in this imperfect world
    • @ß№®M!$
Re: xonclock - missing dependency
« Reply #3 on: April 15, 2012, 05:35:28 AM »
need to report to Curaga to fix boot script xonclock
Basic Design Concept © @ß№®M!$
please forgive my terrible english :)

Offline gutmensch

  • Administrator
  • Hero Member
  • *****
  • Posts: 605
  • I can make it disappear, have no fear!
    • remembrance blog
Re: xonclock - missing dependency
« Reply #4 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)
If I seem unduly clear to you, you must have misunderstood what I said. (Alan Greenspan)

Offline AbNoRMiS

  • Hero Member
  • *****
  • Posts: 550
  • nothing can be impeccable in this imperfect world
    • @ß№®M!$
Re: xonclock - missing dependency
« Reply #5 on: April 15, 2012, 05:52:08 AM »
may be optional
because xonclock works without fontconfig
Basic Design Concept © @ß№®M!$
please forgive my terrible english :)

Offline gutmensch

  • Administrator
  • Hero Member
  • *****
  • Posts: 605
  • I can make it disappear, have no fear!
    • remembrance blog
Re: xonclock - missing dependency
« Reply #6 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 ;)
« Last Edit: April 15, 2012, 06:12:28 AM by gutmensch »
If I seem unduly clear to you, you must have misunderstood what I said. (Alan Greenspan)

Offline AbNoRMiS

  • Hero Member
  • *****
  • Posts: 550
  • nothing can be impeccable in this imperfect world
    • @ß№®M!$
Re: xonclock - missing dependency
« Reply #7 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




« Last Edit: April 15, 2012, 07:08:58 AM by AbNoRMiS »
Basic Design Concept © @ß№®M!$
please forgive my terrible english :)

Offline gutmensch

  • Administrator
  • Hero Member
  • *****
  • Posts: 605
  • I can make it disappear, have no fear!
    • remembrance blog
Re: xonclock - missing dependency
« Reply #8 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 ;)
If I seem unduly clear to you, you must have misunderstood what I said. (Alan Greenspan)

Offline beroje

  • Full Member
  • ***
  • Posts: 130
Re: xonclock - missing dependency
« Reply #9 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

Offline AbNoRMiS

  • Hero Member
  • *****
  • Posts: 550
  • nothing can be impeccable in this imperfect world
    • @ß№®M!$
Re: xonclock - missing dependency
« Reply #10 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
Basic Design Concept © @ß№®M!$
please forgive my terrible english :)

Offline AbNoRMiS

  • Hero Member
  • *****
  • Posts: 550
  • nothing can be impeccable in this imperfect world
    • @ß№®M!$
Re: xonclock - missing dependency
« Reply #11 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
Basic Design Concept © @ß№®M!$
please forgive my terrible english :)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10962
Re: xonclock - missing dependency
« Reply #12 on: April 15, 2012, 11:03:33 AM »
Startup script updated, thanks.
The only barriers that can stop you are the ones you create yourself.

Offline AbNoRMiS

  • Hero Member
  • *****
  • Posts: 550
  • nothing can be impeccable in this imperfect world
    • @ß№®M!$
Re: xonclock - missing dependency
« Reply #13 on: April 15, 2012, 11:28:41 AM »
but what about deps?
Basic Design Concept © @ß№®M!$
please forgive my terrible english :)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10962
Re: xonclock - missing dependency
« Reply #14 on: April 15, 2012, 12:18:54 PM »
It does require fontconfig, and gutmensch already added that.
The only barriers that can stop you are the ones you create yourself.