Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 527728 - x11-misc/xxkb-1.11-r3 USE=-svg - flag image displayed incorrectly
Summary: x11-misc/xxkb-1.11-r3 USE=-svg - flag image displayed incorrectly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 523158
  Show dependency tree
 
Reported: 2014-11-01 09:52 UTC by Alex Efros
Modified: 2014-11-22 11:25 UTC (History)
0 users

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 Alex Efros 2014-11-01 09:52:01 UTC
When built with USE=svg it correctly install *.svg files into /usr/share/xxkb/, but looks like it tries to show .xpm files instead of .svg. When it started I got these errors and fluxbox's tray area contain empty box instead of language flag:
  $ xxkb &
  [1] 25579
  $ xxkb: SVG file `/usr/share/xxkb/en48.xpm': Operation not supported
  xxkb: SVG file `/usr/share/xxkb/ru48.xpm': Operation not supported
  xxkb: SVG file `/usr/share/xxkb/su48.xpm': Operation not supported

This happens because svg-appdefaults.patch wasn't applied.


When built with USE=-svg it correctly install *{15,48}.xpm files into /usr/share/xxkb/, but looks like it tries to show *48.xpm files instead of *15.xpm, and thus in fluxbox tray area I see only (I think) left top 15x15 corner of 48x48 image. This may be because of my ~/.xxkbrc, so here is it contents:

XXkb.mainwindow.enable:	yes
XXkb.mainwindow.type: tray
XXkb*label.text.1: En
XXkb*label.text.2: Ru
XXkb.mainwindow.label.enable: no
XXkb.mainwindow.geometry: 15x15+10+10
XXkb.mainwindow.label.background: #003F00
XXkb.mainwindow.label.foreground: white
XXkb.mainwindow.label.font: -*-terminus-*-*-*-*-14-*-*-*-*-*-*-*
XXkb.button.enable:	no
XXkb.button.geometry:	15x15-52+4
XXkb.app_list.wm_class_class.ignore:	opera
XXkb.app_list.wm_name.ignore:	amaroK
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-11-22 11:25:01 UTC
Fixed without revision bump, and in 1.11.1 as well.