Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140104 - xnview requires font-bh-lucidatypewriter-{75,100}dpi for modular X
Summary: xnview requires font-bh-lucidatypewriter-{75,100}dpi for modular X
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Desktop Misc. Team
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on: 140262
Blocks:
  Show dependency tree
 
Reported: 2006-07-12 05:27 UTC by Denilson Sá Maia
Modified: 2006-07-20 10:09 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Denilson Sá Maia 2006-07-12 05:27:39 UTC
After updating to X.org 7.0, I get this error when trying to open XnView:

$ xnview somefile_or_somedir
** XnView v1.70 Copyright 1991-2005 Pierre-E Gougelet (Sep  6 2005/15:28:24) **
        Version for Linux x86/Motif (All rights reserved)
** This is freeware software (for non commercial use)

     Type xnview -help, for more information
X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  45 (X_OpenFont)
  Serial number of failed request:  929
  Current serial number in output stream:  1092


Check this forum topic for a workaround:
http://forums.gentoo.org/viewtopic-t-222743.html

If this font must be installed, then it should be a dependency of xnview package, or of xorg-x11 package. Maybe add a meta-package xorg-common-fonts or something like this, to install most common needed fonts.
Comment 1 Krzysztof Pawlik (RETIRED) gentoo-dev 2006-07-13 06:05:24 UTC
Fixed, thanks.
Comment 2 Denilson Sá Maia 2006-07-13 09:23:31 UTC
Not really fixed... Need to mark those font packages as stable. Should I submit another bug report or reopen this one?


# emerge -pv xnview

These are the packages that would be merged, in order:

Calculating dependencies -
!!! All ebuilds that could satisfy "media-fonts/font-bh-lucidatypewriter-100dpi" have been masked.
!!! One of the following masked packages is required to complete your request:
- media-fonts/font-bh-lucidatypewriter-100dpi-1.0.0 (masked by: ~x86 keyword)

For more information, see MASKED PACKAGES section in the emerge man page or 
refer to the Gentoo Handbook.
(dependency required by "x11-misc/xnview-1.70-r1" [ebuild])
Comment 3 Krzysztof Pawlik (RETIRED) gentoo-dev 2006-07-13 09:33:45 UTC
Those fonts should be stable along with modular X, please file another bug.
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2006-07-13 14:02:00 UTC
Krzysiek: You have "fixed" it only for 1.70, but not 1.50. And don't add a testing dependency again to stable ebuild, but contact the X11 team in advance. This tree breakage isn't acceptable. repoman should have warned you, no?!
Comment 5 Krzysztof Pawlik (RETIRED) gentoo-dev 2006-07-13 14:30:07 UTC
(In reply to comment #4)
> Krzysiek: You have "fixed" it only for 1.70, but not 1.50.

On my TODO list for tomorrow.

>  And don't add a
> testing dependency again to stable ebuild, but contact the X11 team in advance.

My mistake - will fix.

> This tree breakage isn't acceptable. repoman should have warned you, no?!

No:

nelchael@nelchael xnview$ pwd
/home/nelchael/gentoo-x86/x11-misc/xnview
nelchael@nelchael xnview$ repoman full

Setting paths:
PORTDIR = "/home/nelchael/gentoo-x86"
PORTDIR_OVERLAY = ""

RepoMan scours the neighborhood...

  digest.assumed                 3
   digest-xnview-1.50::XnView-static-1.50.ppc.rpm
   digest-xnview-1.50::XnView-static-1.50.i386.rpm
   digest-xnview-1.70-r1::XnView-x86-unknown-linux2.x-static-fc4.tgz
RepoMan sez: "You're only giving me a partial QA payment?
              I'll take it this time, but I'm not happy."

nelchael@nelchael xnview$
Comment 6 Krzysztof Pawlik (RETIRED) gentoo-dev 2006-07-14 03:48:01 UTC
xnview-1.50-r1 and xnview-1.70-r2 contain the fix, keywords:

Keywords for x11-misc/xnview:

        | a a a h i m m p p p s s s x x
        | l m r p a 6 i p p p 3 h p 8 8
        | p d m p 6 8 p c c c 9   a 6 6
        | h 6   a 4 k s   6 - 0   r   -
        | a 4             4 m     c   f
        |                   a         b
        |                   c         s
        |                   o         d
        |                   s
--------+------------------------------
1.50    | * * * * * * * + * * * * * * *
1.50-r1 | * * * * * * * ~ * * * * * * *
1.70-r1 | * * * * * * * * * * * * * + *
1.70-r2 | * * * * * * * * * * * * * ~ *
Comment 7 Denilson Sá Maia 2006-07-14 17:55:20 UTC
I don't want to bother you a little more, but shouldn't the new version (with the fix) be marked stable? (since now both this and 140262 bugs are marked as fixed)
Comment 8 Denilson Sá Maia 2006-07-16 10:20:25 UTC
Well... On my system, the 100dpi font has been installed, and I kept getting that X_OpenFont error. This has only been fixed after emerging font-bh-lucidatypewriter-75dpi. For me, only the 75dpi version was needed.

I suggest adding dependency on both fonts.

Sorry for not noticing this before.
Comment 9 Denilson Sá Maia 2006-07-20 10:09:38 UTC
It is fixed now, closing this bug.