[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#431173: tasksel: please provide localized tasks for each desktops



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

At Sat, 30 Jun 2007 13:29:58 -0400,
Joey Hess wrote:
> Kenshi Muto wrote:
> > It would be great if we can provide the tasks for each desktops, such as
> > <language>-desktop (common), <language>-gnome-desktop,
> > <language>-kde-desktop, and <language>-xfce-desktop.
> 
> tasksel should already support this, it's just a matter of splitting the
> tasks up and testing.

Excellent.
Well, I've tested that and find a strange.

1. I made <japanese|french|welsh>-<gnome|kde>-desktop tasks.
- ------------------------
Task: japanese-gnome-desktop
Enhances: gnome-desktop, japanese
Section: l10n
Description: Japanese GNOME desktop
 This task localises the GNOME desktop in Japanese.
Key:
Packages: task-fields
Packages-list:
 uim-applet-gnome

Task: japanese-kde-desktop
Enhances: kde-desktop, japanese
Section: l10n
Description: Japanese KDE desktop
 This task localises the KDE desktop in Japanese.
Key:
Packages: task-fields
Packages-list:
  kde-i18n-ja
  uim-applet-kde
- ------------------------
  (french and welsh tasks are very similar version.)

2. I built and installed tasksel-data package.

3. Now I tried tasksel -t --new-insall command with each LANGs and each
   tasksel/desktop variables; gnome and kde.

LANG=ja_JP.UTF-8:
  gnome: debconf-apt-progress -- aptitude -q --without-recommends -y install ~t^desktop$ ~t^gnome-desktop$ ~t^japanese$ ~t^japanese-desktop$ ~t^japanese-gnome-desktop$ ~t^laptop$ ~pstandard ~prequired ~pimportant
  kde: debconf-apt-progress -- aptitude -q --without-recommends -y install ~t^desktop$ ~t^japanese$ ~t^japanese-desktop$ ~t^kde-desktop$ ~t^laptop$ ~pstandard ~prequired ~pimportant

LANG=fr_FR.UTF-8:
  gnome: debconf-apt-progress -- aptitude -q --without-recommends -y install ~t^desktop$ ~t^french$ ~t^french-desktop$ ~t^gnome-desktop$ ~t^laptop$ ~pstandard ~prequired ~pimportant
  kde: debconf-apt-progress -- aptitude -q --without-recommends -y install ~t^desktop$ ~t^french$ ~t^french-desktop$ ~t^kde-desktop$ ~t^laptop$ ~pstandard ~prequired ~pimportant

LANG=cy_GB.UTF-8:
  gnome: debconf-apt-progress -- aptitude -q --without-recommends -y install ~t^desktop$ ~t^gnome-desktop$ ~t^laptop$ ~pstandard ~prequired ~pimportant ~t^welsh$ ~t^welsh-desktop$ ~t^welsh-gnome-desktop$
  kde: debconf-apt-progress -- aptitude -q --without-recommends -y install ~t^desktop$ ~t^kde-desktop$ ~t^laptop$ ~pstandard ~prequired ~pimportant ~t^welsh$ ~t^welsh-desktop$ ~t^welsh-kde-desktop$

Japanese lacks japanese-kde-desktop. French lacks both french-*-desktop.
Welsh succeeds to support both.
This seems an alphabet order issue.
Even if I changed the task name to znome-french-gnome-desktop,
it won't work.

I haven't understood tasksel code completely yet, but I think
a logic problem exists in tasksel.

Thanks,
- -- 
Kenshi Muto
kmuto@debian.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8+ <http://mailcrypt.sourceforge.net/>

iEYEARECAAYFAkaIR9wACgkQQKW+7XLQPLFqxgCfSlWYyWYpSwZ//729bwC1d0Kv
WyQAn0CyERJVy4QPYVoAvN2CwTHKKa+a
=66TU
-----END PGP SIGNATURE-----



Reply to: