Description of problem: Connecting to Freenode network in Xchat, and a prompt appears noting Xchat wants to install a font, Japanese. "An additional font is required to view this document correctly Japanese Do you want to search for a suitable package now?" It then selects a list of font packages to install, but fails with this dependancy error: vlgothic-fonts-common = 20090204-3.fc11 is needed by package vlgothic-p-fonts-20090204-3.fc11.noarch (fedora) vlgothic-fonts-common = 20090204-3.fc11 is needed by package vlgothic-fonts-20090204-3.fc11.noarch (fedora) Version-Release number of selected component (if applicable): Name : xchat Arch : x86_64 Epoch : 1 Version : 2.8.6 Release : 11.fc11 Name : PackageKit Arch : x86_64 Version : 0.4.8 Release : 2.fc11 Name : vlgothic-fonts-common Arch : noarch Version : 20090612 Release : 1.fc11 Size : 16 k Repo : updates **NOT INSTALLED** How reproducible: Most times connecting to Freenode (defaults to UTC encoding), in #fedora, and few other channels. Steps to Reproduce: 1. Open Xchat 2. Connect to Freenode 3. Prompt appears for the font, to search or close. 4. Search for font 5. List of packages appears, so click 'Install' 6. Dependancy error appears. Actual results: "An additional font is required to view this document correctly Japanese Do you want to search for a suitable package now?" It then selects a list of font packages to install, but fails with this dependancy error: vlgothic-fonts-common = 20090204-3.fc11 is needed by package vlgothic-p-fonts-20090204-3.fc11.noarch (fedora) vlgothic-fonts-common = 20090204-3.fc11 is needed by package vlgothic-fonts-20090204-3.fc11.noarch (fedora) Expected results: If Xchat has a dependancy for the Japanese font for any reason, this should be installed when Xchat is installed, not when connecting to a network. Also, the dependancy issue with the vlgothic fonts should not happen, as the vlgothic-fonts-common package is clearly available in the repository. Additional info:
The error is a packaging bug with the vlgothic-fonts, reassigning. As for the idea of installing fonts from the network, that one also has nothing to do with XChat, but is implemented entirely on the library level: https://fedoraproject.org/wiki/Features/AutoFontsAndMimeInstaller Complain to the Pango maintainers if you don't like that feature. There's also an option in some config file to turn it off, but I can't find it now.
Well the pop-up to install a Japanese font is very annoying, because I have never seen any chat in any of the channels that would require a Japanese font to display (they're all English channels!). If the default UTC encoding of channels in Xchat requires non-English fonts to display UTC encoding correctly, they need to be included in dependancies. And lastly, there is no 'ignore' option to avoid installing fonts that I don't require to view English language channels.
What's a packaging bug? "yum install vlgothic-fonts vlgothic-p-fonts" works. apparently AutoFontsInstaller feature doesn't resolve dependencies properly. a subpackage vlgothic-fonts-common are allowed in the font packaging policy. I don't see anything wrong in vlgothic-fonts package here.
1. If the text stack incorrectly decides to install a japanese font, it's a either a fontconfig (bad definition of japanese glyphs) or pango (bad detection) bug. If there is some japanese to display in (for example in one of the nicks), the autoinstall suggestion is correct 2. However once it has decided to install a japanese font, if it fails, that's clearly a pk bug
Given that it's a package bug, what would you suggest to get it working? I have only idea to stop subpackaging -common though.
(In reply to comment #5) > Given that it's a package bug, what would you suggest to get it working? I have > only idea to stop subpackaging -common though. If manual yum install works but PK font autoinstall does not that's not a package bug that's a packagekit bug
Any comments Richard? -- Steven M. Parrish - KDE Triage Master - PackageKit Triager Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers
commit b4369cb7084e0690041f62231fc9eb45d9e004bb Author: Richard Hughes <richard> Date: Tue Nov 17 13:38:41 2009 +0000 Also add xchat to the list of applications we ignore