The Testing Area :: April extensions



Quote

I can't find libXau.so.0 and libXfont.so.0 in any version of xfree86 or xorg. Googling both library names gives very few results. I have no idea how to get these 2 libraries.


http://www.linuxfromscratch.org/blfs/view/svn/x/libXau.html

http://cgit.freedesktop.org/xorg/lib/libXfont

Etch sources here. so should be able to find similar link to Woody's in Debian archives:

http://ftp.de.debian.org/debian.....tar.gz

Ping Robert: don't no how relevant this is to DSL but while googling I noticed libXfont was reported as having a nasty buffer overflow vulberability:

http://lwn.net/Alerts/265758/
http://www.gentoo.org/security/en/glsa/glsa-200609-04.xml

WDef:
Thank you for your kind help, but I still cannot find either libXau.so.0 or libXfont.so.0.

This link
http://www.linuxfromscratch.org/blfs/view/svn/x/libXau.html
refers to libXau 1.0.3, which will produce libXau.so.1, not libXau.so.0.

This link
http://cgit.freedesktop.org/xorg/lib/libXfont
has a history of libXfont going back to xorg 6.7.0.
The revision of libXfont in xorg 6.7.0 is 1.5 (libXfont.so.1.5).
(To verify this, you can see xc/config/cf/X11.tmpl in xorg 6.7.0 and look for SharedLibFont and SharedFontRev.
There is no mention of LibFont and SharedFontRev in X11.tmpl in xorg 6.6.)

Earliest appearance of libXfont in xfree86 is in xfree86 4.0.0, SharedFontRev is 1.3 (libXfont.so.1.3).

Regarding this link:
http://ftp.de.debian.org/debian.....tar.gz
Debian Potato (Debian 2.2):
http://archive.debian.org/dists....-12.deb
This contains libXfont.so.1.3.
I couldn't find libXfont in any older Debian release.

Tried
http://www.google.com/search?q=libxfont.so.0
which gives 2 irrelevant results.

Conclusion:
Still can't find the origin of
/usr/local/lib/libXau.so.0 and
/usr/local/lib/libXfont.so.0 in DSL.

Juanito,
Your sane.uci works like a charm.  I had to just copy over stuff from /opt/sane/etc/sane.d_conf/ to /etc/sane.d/ for xsane to work.  So it is almost point and click.  

I am putting together a .uci of gsview 4.9  built with GPL Ghostscript 8.62 and will hopefully have it submitted tonight.  It works well with pdf files that cause xpdf to crash.  I would appreciate any testing when it is posted.

Quote
Your sane.uci works like a charm. I had to just copy over stuff from /opt/sane/etc/sane.d_conf/ to /etc/sane.d/ for xsane to work. So it is almost point and click.

- Good to hear, I thought about having a startup script copy files to /etc/sane.d but there are so many possibilties I dropped the idea.

Just for interests sake, what scanner do you have and what file(s) did you need in /etc.sane.d?

I'm working on adding a menu item/icon for xsane - I also need to check if xsane depends on gimp when compiled for the gimp plug-in, I have a feeling it does...

I'll look forward to trying out gsview.

Xsane does depend on gimp-1.2.  I have a UMAX Astra 1220U scanner.  I copied the umax stuff, but truth be told, if all the files in /opt/sane/etc/sane.d_conf/ were copied over then Xsane would be just point and click for everyone I believe.  Or maybe if Sane was built with the configure option --sysconfdir=/opt/sane/etc/sane.d or something like it. (EDIT: that would be read-only and not much use).  A wrapper could be made that checks to see if the files are in /etc/sane.d and copies them if they are not that would make it more user friendly.  But hey, you have it all documented anyway, so it is not a big deal.

I packaged up gsview in a bare bones reader-only extension that is still a 7 MB .uci.  No create, convert, print, and all that.  That to me would warrant a seperate extension.  This is a reader only.  Hopefully it will be useful.

Next Page...
original here.