WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Xlibs.tcz missing in ghostscript.tcz.dep and libgs.tcz.dep  (Read 2459 times)

Offline caminati

  • Full Member
  • ***
  • Posts: 184
    • Homepage
Xlibs.tcz missing in ghostscript.tcz.dep and libgs.tcz.dep
« on: October 14, 2012, 03:51:16 PM »
Needed at least to provide libjpeg.so

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: Xlibs.tcz missing in ghostscript.tcz.dep and libgs.tcz.dep
« Reply #1 on: October 15, 2012, 10:46:41 AM »
OK, but wouldn't the same comment also apply to gtk1, gtk2, gtk3 and many other apps that can only run with X and thus Xlibs loaded?

Offline caminati

  • Full Member
  • ***
  • Posts: 184
    • Homepage
Re: Xlibs.tcz missing in ghostscript.tcz.dep and libgs.tcz.dep
« Reply #2 on: October 15, 2012, 03:55:34 PM »
OK, but wouldn't the same comment also apply to gtk1, gtk2, gtk3 and many other apps that can only run with X and thus Xlibs loaded?

There is a fundamental difference: gs won't even run without Xlibs because of a dynamic library missing, while an X app can possibly run without X, to immediately abort upon not finding a screen.
This is not merely conceptual: for example, to make my printer work, I need cups, ghostscript*.tcz, AND Xlibs.tcz (not Xorg neither Xvesa nor Xprogs). The latter is only needed to supply libjpeg to gs, which is needed not as a X app, but as a filter for cups; and without Xlibs the printer won't print because of that!

So I insist that Xlibs should be in ghostscript.tcz.dep, and, similarly, in libgs.tcz.dep.
It shouldn't be included in a generic X app's dep files, because this is another matter.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Xlibs.tcz missing in ghostscript.tcz.dep and libgs.tcz.dep
« Reply #3 on: October 15, 2012, 04:19:53 PM »
Hi caminati
Maybe  libjpeg-utils.tcz  would suffice as a dependency for  ghostscript*.tcz? It provides:
Code: [Select]
usr/local/lib/libjpeg.so
usr/local/lib/libjpeg.so.8
usr/local/lib/libjpeg.so.8.0.0

Offline caminati

  • Full Member
  • ***
  • Posts: 184
    • Homepage
Re: Xlibs.tcz missing in ghostscript.tcz.dep and libgs.tcz.dep
« Reply #4 on: October 15, 2012, 04:50:21 PM »
Hi caminati
Maybe  libjpeg-utils.tcz  would suffice as a dependency for  ghostscript*.tcz? It provides:
Code: [Select]
usr/local/lib/libjpeg.so
usr/local/lib/libjpeg.so.8
usr/local/lib/libjpeg.so.8.0.0

Thanks, I will check that and report.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: Xlibs.tcz missing in ghostscript.tcz.dep and libgs.tcz.dep
« Reply #5 on: October 15, 2012, 10:02:17 PM »
It'll probably make more sense that I add Xlibs as a dep, since that is what ghostscript/libgs were compiled against - I'll do this as soon as I get access back to ibiblio.

Edit: done
« Last Edit: October 16, 2012, 12:24:29 AM by Juanito »

Offline caminati

  • Full Member
  • ***
  • Posts: 184
    • Homepage