Re: culmus-fonts packaging bug / Non-responsive maintainer

2010-06-06 Thread Nicolas Mailhot

Le mercredi 02 juin 2010 à 13:33 +0200, Michael Schwendt a écrit :
 On Wed, 02 Jun 2010 20:12:08 +0900, Mamoru wrote:
 
   http://bugzilla.redhat.com/570819
 
  I will vote that this must be fixed in yum side (or fontconfig or rpm).
 
 It could be that a policy is needed. Similar to
   https://fedoraproject.org/wiki/Packaging:Guidelines#Non-ASCII_Filenames
 but for RPM Tags (Provides, Requires, Obsoletes, …).
 
 As long as the encoding of those tags cannot be specified, it must be
 assumed that it is UTF-8.
 
  Also:
  [tasa...@localhost ~]$ rpm -q vlgothic-p-fonts
  vlgothic-p-fonts-20100416-3.fc14.noarch
  [tasa...@localhost ~]$ rpm -q --provides vlgothic-p-fonts | grep ゴシック
  font(vlpゴシック)
 
 It doesn't cause the repo metadata parser to complain, so probably
 it's UTF-8.

Those tags are info extracted by fontconfig from font files, and
fontconfig is UTF-8-clean I think. Since fonts are created all over the
world some can (and do) export local names, that can not be restricted
to basic latin (and sometimes there is not basic latin name at all)

If you find a case where fontconfig output is not UTF-8 please open a
fontconfig bug. This output is not used only in rpm, and needs to be
safely encoded for apps to use it.

-- 
Nicolas Mailhot


-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: culmus-fonts packaging bug / Non-responsive maintainer

2010-06-02 Thread प्रविण सातपुते
On 2 June 2010 15:19, Michael Schwendt mschwe...@gmail.com wrote:

 http://bugzilla.redhat.com/570819

 A ticket opened on March 5th, but Pravin Satpute just doesn't
 respond.


I am not much clear how to fix it.
We will discuss this bug in next fedora fonts meeting. I think we need some
attention from upstream for this one.

Thanks,
Pravin S
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: culmus-fonts packaging bug / Non-responsive maintainer

2010-06-02 Thread Mamoru Tasaka
Michael Schwendt wrote, at 06/02/2010 06:49 PM +9:00:
 http://bugzilla.redhat.com/570819

 A ticket opened on March 5th, but Pravin Satpute just doesn't
 respond.

 Does anyone know the languages involved here (lang=he, lang=yi)
 and can fix this fonts package, please? Thanks in advance.

I will vote that this must be fixed in yum side (or fontconfig or rpm).

This provides is automatically generated by /usr/lib/rpm/fontconfig.prov
and this reads:

 13  fcquery=/usr/bin/fc-query
 14
 15  [ -x $fcquery ] || exit 0
 16
 17  # filter out anything outside main fontconfig path
 18  grep /usr/share/fonts/ |
 19  while read fn; do
 20  $fcquery --format '%{=pkgkit}' ${fn} 2 /dev/null
 21  done
-

So:
$ fc-query --format '%{=pkgkit}' MiriamCLM-Bold.ttf
font(miriamclm)
font(מרים)
font(:lang=he)
font(:lang=yi)

Also:
[tasa...@localhost ~]$ rpm -q vlgothic-p-fonts
vlgothic-p-fonts-20100416-3.fc14.noarch
[tasa...@localhost ~]$ rpm -q --provides vlgothic-p-fonts | grep ゴシック
font(vlpゴシック)

So I guess this issue will affect other fonts related packages.

Regards,
Mamoru

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: culmus-fonts packaging bug / Non-responsive maintainer

2010-06-02 Thread Mamoru Tasaka
Mamoru Tasaka wrote, at 06/02/2010 08:12 PM +9:00:
 Michael Schwendt wrote, at 06/02/2010 06:49 PM +9:00:
 http://bugzilla.redhat.com/570819

 A ticket opened on March 5th, but Pravin Satpute just doesn't
 respond.

 Does anyone know the languages involved here (lang=he, lang=yi)
 and can fix this fonts package, please? Thanks in advance.

 I will vote that this must be fixed in yum side (or fontconfig or rpm).

 This provides is automatically generated by /usr/lib/rpm/fontconfig.prov
 and this reads:
 
   13  fcquery=/usr/bin/fc-query
   14
   15  [ -x $fcquery ] || exit 0
   16
   17  # filter out anything outside main fontconfig path
   18  grep /usr/share/fonts/ |
   19  while read fn; do
   20  $fcquery --format '%{=pkgkit}' ${fn} 2  /dev/null
   21  done
 -

 So:
 $ fc-query --format '%{=pkgkit}' MiriamCLM-Bold.ttf
 font(miriamclm)
 font(מרים)
 font(:lang=he)
 font(:lang=yi)

 Also:
 [tasa...@localhost ~]$ rpm -q vlgothic-p-fonts
 vlgothic-p-fonts-20100416-3.fc14.noarch
 [tasa...@localhost ~]$ rpm -q --provides vlgothic-p-fonts | grep ゴシック
 font(vlpゴシック)

 So I guess this issue will affect other fonts related packages.


By the way מרים (\xd7\x9e\xd7\xa8\xd7\x99\xd7\x9d) itself seems a valid 
UTF-8 string.

Mamoru

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: culmus-fonts packaging bug / Non-responsive maintainer

2010-06-02 Thread Toshio Kuratomi
On Wed, Jun 02, 2010 at 08:12:08PM +0900, Mamoru Tasaka wrote:
 Michael Schwendt wrote, at 06/02/2010 06:49 PM +9:00:
  http://bugzilla.redhat.com/570819
 
  A ticket opened on March 5th, but Pravin Satpute just doesn't
  respond.
 
  Does anyone know the languages involved here (lang=he, lang=yi)
  and can fix this fonts package, please? Thanks in advance.
 
 I will vote that this must be fixed in yum side (or fontconfig or rpm).
 
What's a commandline I can use to reproduce the warning?  I can look at
converting all of the data into bytes if I know how to test.

-Toshio


pgpZ0KMxWVsyn.pgp
Description: PGP signature
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: culmus-fonts packaging bug / Non-responsive maintainer

2010-06-02 Thread Mamoru Tasaka
Toshio Kuratomi wrote, at 06/02/2010 11:51 PM +9:00:
 On Wed, Jun 02, 2010 at 08:12:08PM +0900, Mamoru Tasaka wrote:
 Michael Schwendt wrote, at 06/02/2010 06:49 PM +9:00:
 http://bugzilla.redhat.com/570819

 A ticket opened on March 5th, but Pravin Satpute just doesn't
 respond.

 Does anyone know the languages involved here (lang=he, lang=yi)
 and can fix this fonts package, please? Thanks in advance.

 I will vote that this must be fixed in yum side (or fontconfig or rpm).

 What's a commandline I can use to reproduce the warning?  I can look at
 converting all of the data into bytes if I know how to test.

Well, I just looked at the bug and I don't know how to reproduce this
bug exactly.

Mamoru
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel


Re: culmus-fonts packaging bug / Non-responsive maintainer

2010-06-02 Thread Michael Schwendt
On Thu, 03 Jun 2010 00:07:24 +0900, Mamoru wrote:

 Toshio Kuratomi wrote, at 06/02/2010 11:51 PM +9:00:
  On Wed, Jun 02, 2010 at 08:12:08PM +0900, Mamoru Tasaka wrote:
  Michael Schwendt wrote, at 06/02/2010 06:49 PM +9:00:
  http://bugzilla.redhat.com/570819
 
  A ticket opened on March 5th, but Pravin Satpute just doesn't
  respond.
 
  Does anyone know the languages involved here (lang=he, lang=yi)
  and can fix this fonts package, please? Thanks in advance.
 
  I will vote that this must be fixed in yum side (or fontconfig or rpm).
 
  What's a commandline I can use to reproduce the warning?  I can look at
  converting all of the data into bytes if I know how to test.
 
 Well, I just looked at the bug and I don't know how to reproduce this
 bug exactly.

Most simple test-case:

1) use Fedora 13
2) yum -y install yum-utils
3) repoclosure -n
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel


Re: culmus-fonts packaging bug / Non-responsive maintainer

2010-06-02 Thread Toshio Kuratomi
On Wed, Jun 02, 2010 at 06:49:53PM +0200, Michael Schwendt wrote:
 On Thu, 03 Jun 2010 00:07:24 +0900, Mamoru wrote:
 
  Toshio Kuratomi wrote, at 06/02/2010 11:51 PM +9:00:
   On Wed, Jun 02, 2010 at 08:12:08PM +0900, Mamoru Tasaka wrote:
   Michael Schwendt wrote, at 06/02/2010 06:49 PM +9:00:
   http://bugzilla.redhat.com/570819
  
 
 Most simple test-case:
 
 1) use Fedora 13
 2) yum -y install yum-utils
 3) repoclosure -n

Thanks!  patch for yum attached to the bug.

-Toshio


pgpMl4BxPR088.pgp
Description: PGP signature
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel