[Mageia-dev] bogus packages that provides fonts-ttf-dejavu

Colin Guthrie mageia at colin.guthr.ie
Wed Mar 13 10:25:03 CET 2013


'Twas brillig, and Thierry Vignaud at 12/03/13 21:33 did gyre and gimble:
> Hi
> 
> As seen in bug #8820 (https://bugs.mageia.org/show_bug.cgi?id=8820),
> some packages bogusly package DejaVu fonts instead of requiring
> fonts-ttf-dejavu.
> This makes them bogusly provide 'font(XX)' (eg: 'font(fr)' which breaks urpmi
> since perl-URPM will only show arched packages when there's both arched &
> nonarch packages providing the same provides
> 
> $ urpmf DejaVuSans.ttf|grep -v fonts-ttf|sed -e 's!:.*!!'|sort -u
...
> None of those should do this.
> All these packages should be fixed to require fonts-ttf-dejavu instead
> of  packaging.


I wonder if these packages will break if they simply remove the fonts.
Perhaps the packaging should be such that they symlink the fonts to the
folder they expect them to be in also?

Or perhaps, alternatively, whatever is responsible for the automatic
font(XX) provides should only look at files in /usr/share/fonts/ and not
in any other folders. That would presumably also solve the problem
(assuming the packages listed are just rebuilt.

Col


-- 

Colin Guthrie
colin(at)mageia.org
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/


More information about the Mageia-dev mailing list