[Mageia-dev] Introducing several rpm macro

2011-07-05 Thread Funda Wang
Hello,

I would like to introduce several rpm autoprovs, such as mimehandler,
fontconfig, the same as fedora, opensuse and mandriva. So that we
could eventually doing something like 'urpmi font(:lang=jp)
mimehandler(audio/x-mp3).

WDYT?

And, will we cooperate with mandriva with urpmi backend for packagekit?


Re: [Mageia-dev] Introducing several rpm macro

2011-07-05 Thread Kira

在 Tue, 05 Jul 2011 15:45:50 +0800, Funda Wang fundaw...@gmail.com寫道:


Hello,

I would like to introduce several rpm autoprovs, such as mimehandler,
fontconfig, the same as fedora, opensuse and mandriva. So that we
could eventually doing something like 'urpmi font(:lang=jp)
mimehandler(audio/x-mp3).

WDYT?

And, will we cooperate with mandriva with urpmi backend for packagekit?


Would you please more clearly?

urpmi font(:lang=jp) means install those who usually used by jp?

urpmi mimihandler(audio/x-mp3) would install codec for mp3?


Re: [Mageia-dev] Introducing several rpm macro

2011-07-05 Thread Funda Wang
在 2011年7月5日 下午4:04,Kira elegant.pega...@gmail.com 写道:
 在 Tue, 05 Jul 2011 15:45:50 +0800, Funda Wang fundaw...@gmail.com寫道:

 Hello,

 I would like to introduce several rpm autoprovs, such as mimehandler,
 fontconfig, the same as fedora, opensuse and mandriva. So that we
 could eventually doing something like 'urpmi font(:lang=jp)
 mimehandler(audio/x-mp3).

 WDYT?

 And, will we cooperate with mandriva with urpmi backend for packagekit?

 Would you please more clearly?

 urpmi font(:lang=jp) means install those who usually used by jp?
Current in Mandriva:
$ urpmq --whatprovides  'font(:lang=ja)'
fonts-ttf-japanese-extra|fonts-ttf-japanese-ipamona|fonts-ttf-unifont|fonts-ttf-japanese-mplus_ipagothic|fonts-ttf-wqy-microhei|fonts-ttf-chinese-opendesktop|fonts-ttf-droid|fonts-ttf-japanese|x11-font-misc-misc

so urpmi font(:lang=ja) will ask the user which package he want to
isntall. And we could set a prefer font via rpmsrate.

 urpmi mimihandler(audio/x-mp3) would install codec for mp3?
No, it will install a mp3 player, such as amarok. For installing
codec, we currenly use codeina I guess.




Re: [Mageia-dev] Introducing several rpm macro

2011-07-05 Thread Dexter Morgan
On Tue, Jul 5, 2011 at 9:45 AM, Funda Wang fundaw...@gmail.com wrote:
 Hello,

 I would like to introduce several rpm autoprovs, such as mimehandler,
 fontconfig, the same as fedora, opensuse and mandriva. So that we
 could eventually doing something like 'urpmi font(:lang=jp)
 mimehandler(audio/x-mp3).

 WDYT?

 And, will we cooperate with mandriva with urpmi backend for packagekit?


we already have the fontconfig macro since mga 1


Re: [Mageia-dev] Introducing several rpm macro

2011-07-05 Thread Funda Wang
2011/7/5 Dexter Morgan dmorga...@gmail.com:
 On Tue, Jul 5, 2011 at 9:45 AM, Funda Wang fundaw...@gmail.com wrote:
 Hello,

 I would like to introduce several rpm autoprovs, such as mimehandler,
 fontconfig, the same as fedora, opensuse and mandriva. So that we
 could eventually doing something like 'urpmi font(:lang=jp)
 mimehandler(audio/x-mp3).

 WDYT?

 And, will we cooperate with mandriva with urpmi backend for packagekit?


 we already have the fontconfig macro since mga 1
Then maybe we should rebuild those packages?
$ rpm -qp --provides fonts-ttf-wqy-microhei-0.2.0-5.mga1.noarch.rpm
fonts-ttf-wqy-microhei = 0.2.0-5.mga1


Re: [Mageia-dev] Introducing several rpm macro

2011-07-05 Thread Dexter Morgan
On Tue, Jul 5, 2011 at 11:54 AM, Funda Wang fundaw...@gmail.com wrote:
 2011/7/5 Dexter Morgan dmorga...@gmail.com:
 On Tue, Jul 5, 2011 at 9:45 AM, Funda Wang fundaw...@gmail.com wrote:
 Hello,

 I would like to introduce several rpm autoprovs, such as mimehandler,
 fontconfig, the same as fedora, opensuse and mandriva. So that we
 could eventually doing something like 'urpmi font(:lang=jp)
 mimehandler(audio/x-mp3).

 WDYT?

 And, will we cooperate with mandriva with urpmi backend for packagekit?


 we already have the fontconfig macro since mga 1
 Then maybe we should rebuild those packages?
 $ rpm -qp --provides fonts-ttf-wqy-microhei-0.2.0-5.mga1.noarch.rpm
 fonts-ttf-wqy-microhei = 0.2.0-5.mga1


yes it needs a rebuild to give the correct provides.

some fonts have been introduced before we add this provide script so
some fonts may not have the good provides and need a rebuild


Re: [Mageia-dev] Introducing several rpm macro

2011-07-05 Thread andre999

Funda Wang a écrit :

Hello,

I would like to introduce several rpm autoprovs, such as mimehandler,
fontconfig, the same as fedora, opensuse and mandriva. So that we
could eventually doing something like 'urpmi font(:lang=jp)
mimehandler(audio/x-mp3).

WDYT?


If it provides extra functionality present in the other rpm distros, it sounds 
like a good idea.



And, will we cooperate with mandriva with urpmi backend for packagekit?

I think it is a very good idea, since we have that in common, and urpm* are 
nice tools.


--
André


Re: [Mageia-dev] Introducing several rpm macro

2011-07-05 Thread Kira

在 Wed, 06 Jul 2011 09:56:10 +0800, andre999 and...@laposte.net寫道:


Funda Wang a écrit :

Hello,

I would like to introduce several rpm autoprovs, such as mimehandler,
fontconfig, the same as fedora, opensuse and mandriva. So that we
could eventually doing something like 'urpmi font(:lang=jp)
mimehandler(audio/x-mp3).

WDYT?


If it provides extra functionality present in the other rpm distros, it  
sounds like a good idea.

I agree that we can add some more functionalities to urpmi/rpm,

but the user experience should be consistent.

urpmi font(:lang=jp) is quite abnormal.




And, will we cooperate with mandriva with urpmi backend for packagekit?

I think it is a very good idea, since we have that in common, and urpm*  
are nice tools.


Re: [Mageia-dev] Introducing several rpm macro

2011-07-05 Thread Ahmad Samir
On 6 July 2011 06:30, Kira elegant.pega...@gmail.com wrote:
 在 Wed, 06 Jul 2011 09:56:10 +0800, andre999 and...@laposte.net寫道:

 Funda Wang a écrit :

 Hello,

 I would like to introduce several rpm autoprovs, such as mimehandler,
 fontconfig, the same as fedora, opensuse and mandriva. So that we
 could eventually doing something like 'urpmi font(:lang=jp)
 mimehandler(audio/x-mp3).

 WDYT?

 If it provides extra functionality present in the other rpm distros, it
 sounds like a good idea.

 I agree that we can add some more functionalities to urpmi/rpm,

 but the user experience should be consistent.

 urpmi font(:lang=jp) is quite abnormal.


Ideally, it won't be run by the user, but triggered automatically by
packagekit when needed, IIUC.


 And, will we cooperate with mandriva with urpmi backend for packagekit?

 I think it is a very good idea, since we have that in common, and urpm*
 are nice tools.




-- 
Ahmad Samir