Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193749 - xprint startup script complains about missing dirs
Summary: xprint startup script complains about missing dirs
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-25 13:29 UTC by Andy Crook
Modified: 2009-02-20 13:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for xorg-server-1.3.0.0 ebuild via symlink (symlink.patch,444 bytes, patch)
2007-09-25 13:34 UTC, Andy Crook
Details | Diff
xprint-encodings.dir.patch (xprint-encodings.dir.patch,783 bytes, patch)
2007-09-27 20:58 UTC, Ed Catmur
Details | Diff
(hope) final patch (xprint-init-fonts.patch,1.33 KB, patch)
2007-10-15 14:27 UTC, Andy Crook
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Crook 2007-09-25 13:29:53 UTC
When starting /etc/init.d/xprint i get following message:

find: `/usr/X11R6/lib/X11/fonts': No such file or directory
/usr/lib/misc/xprint: ## WARNING: Can't find "/usr/X11R6/lib/X11/fonts/encodings/encodings.dir", TrueType font support may not work.

AFAIK this dir doesn't exist in Gentoo distro now.
We need to make a symlink or patch original (rather old) xprint RH-styled init script.

Reproducible: Always

Steps to Reproduce:
Comment 1 Andy Crook 2007-09-25 13:34:44 UTC
Created attachment 131857 [details, diff]
patch for xorg-server-1.3.0.0 ebuild via symlink

also works for 1.4
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-09-25 14:06:13 UTC
Comment on attachment 131857 [details, diff]
patch for xorg-server-1.3.0.0 ebuild via symlink

Why don't you fix the real issue instead of creating deprecated symlinks?
Comment 3 Ed Catmur 2007-09-25 21:55:44 UTC
Do either /usr/X11 or /usr/X11R6 exist?
Comment 4 Andy Crook 2007-09-26 08:32:33 UTC
(In reply to comment #3)
> Do either /usr/X11 or /usr/X11R6 exist?

/usr/X11R6 is a symlink to ../usr

(In reply to comment #2)
> Why don't you fix the real issue instead of creating deprecated symlinks?
 
I was going to do it a little bit later. This was just a quickfix for me. There are 2 minor issues with xprint still not reported. I'll fix them, submit bugs/patches and then'll return to this one.
Comment 5 Ed Catmur 2007-09-27 20:58:38 UTC
Created attachment 132035 [details, diff]
xprint-encodings.dir.patch

Try this.  /usr/share/fonts/encodings/encodings.dir is provided by media-fonts/encodings, which is a dependency of anything that uses fonts.eclass.
Comment 6 Andy Crook 2007-10-15 14:27:04 UTC
Created attachment 133541 [details, diff]
(hope) final patch

slightly modified Ed's patch to look more original-script-way and get rid of unnecessary checking.
Comment 7 Rémi Cardona (RETIRED) gentoo-dev 2009-02-20 13:43:04 UTC
XPrint has been removed from the offical Xorg sources and we're in the process of cleaning it out from Gentoo due to lack of interest. As such, I'll be closing that bug WONTFIX.

Thanks