Commit 7494d7ef authored by Joey Hess's avatar Joey Hess

Bring back Section in debian-tasks.desc; it it used by debian-cd still.

parent 0a954cc1
......@@ -18,13 +18,14 @@ Debian derived distributions can add a new .desc file to
/usr/share/tasksel/ to add additional tasks, or modify/divert
debian-tasks.desc to remove tasks.
The file format is a rfc-822 style stanza, with fields named Task,
The file format is a rfc-822 style stanza, with fields named Task, Section
Description (which should include an extended description), Key, Packages,
Enhances, Test-, Relevance, and Parent fields. Here is an example:
Task: graphical-games
Relevance: 9
Parent: games
Section: user
Description: Graphical games
This task provides a variety of graphical games. Old-school unix games are
not included.
......@@ -103,6 +104,10 @@ give it a relevance of 1. If a task is not likely to be
used, give it a relevance of 9. Default is 5. Relevance can only be a
single digit.
The Section field is not used by tasksel, but debian-cd currently uses it
to determine if a task is a localization task, or a desktop task, or a
server task.
tasksel also supports preinst, postinst, prerm, and postrm scripts for
tasks. These are run before a task is installed, and after it is removed as
with the dpkg scripts. These scripts sould be installed in
......
......@@ -10,6 +10,7 @@ tasksel (3.27) UNRELEASED; urgency=low
several different places, including debian-cd and d-i boot parameters.
* /usr/lib/tasksel/default_desktop is a shell library that debian-cd
etc can use if they want to know what tasksel's default is.
* Bring back Section in debian-tasks.desc; it it used by debian-cd still.
-- Cyril Brulebois <kibi@debian.org> Sat, 20 Sep 2014 17:43:29 +0200
......
......@@ -93,7 +93,7 @@ sub processfile {
}
}
foreach (qw{task parent relevance description key enhances provides depends packages},
foreach (qw{task parent relevance description key enhances provides depends packages section},
grep(/^test-(.*)/, keys %fields)) {
print OUT ucfirst($_).": ".$fields{$_}."\n" if length $fields{$_};
}
......
Task: albanian-desktop
Test-lang: sq
Enhances: desktop
Section: l10n
Key:
task-albanian-desktop
Task: amharic
Test-lang: am
Section: l10n
Key:
task-amharic
Task: amharic-desktop
Enhances: desktop, amharic
Section: l10n
Key:
task-amharic-desktop
Task: amharic-kde-desktop
Enhances: kde-desktop, amharic-desktop
Section: l10n
Key:
task-amharic-kde-desktop
Task: arabic
Test-lang: ar
Section: l10n
Key:
task-arabic
Task: arabic-desktop
Enhances: desktop, arabic
Section: l10n
Key:
task-arabic-desktop
Task: arabic-kde-desktop
Enhances: kde-desktop, arabic-desktop
Section: l10n
Key:
task-arabic-kde-desktop
Task: asturian
Test-lang: ast
Section: l10n
Key:
task-asturian
Task: asturian-desktop
Enhances: asturian, desktop
Section: l10n
Key:
task-asturian-desktop
Task: basque
Test-lang: eu
Section: l10n
Key:
task-basque
Task: basque-desktop
Enhances: desktop, basque
Section: l10n
Key:
task-basque-desktop
Task: basque-kde-desktop
Enhances: kde-desktop, basque-desktop
Section: l10n
Key:
task-basque-kde-desktop
Task: belarusian
Test-lang: be
Section: l10n
Key:
task-belarusian
Task: belarusian-desktop
Enhances: desktop, belarusian
Section: l10n
Key:
task-belarusian-desktop
Task: belarusian-kde-desktop
Enhances: kde-desktop, belarusian-desktop
Section: l10n
Key:
task-belarusian-kde-desktop
Task: bengali
Test-lang: bn
Section: l10n
Key:
task-bengali
Task: bengali-desktop
Enhances: desktop, bengali
Section: l10n
Key:
task-bengali-desktop
Task: bengali-kde-desktop
Enhances: kde-desktop, bengali-desktop
Section: l10n
Key:
task-bengali-kde-desktop
Task: bosnian
Test-lang: bs
Section: l10n
Key:
task-bosnian
Task: bosnian-desktop
Test-lang: bs
Enhances: desktop, bosnian
Section: l10n
Key:
task-bosnian-desktop
Task: bosnian-kde-desktop
Enhances: kde-desktop, bosnian-desktop
Section: l10n
Key:
task-bosnian-kde-desktop
Task: brazilian-portuguese
Test-lang: pt_BR
Section: l10n
Key:
task-brazilian-portuguese
Task: brazilian-portuguese-desktop
Enhances: desktop, brazilian-portuguese
Section: l10n
Key:
task-brazilian-portuguese-desktop
Task: brazilian-portuguese-kde-desktop
Enhances: kde-desktop, brazilian-portuguese-desktop
Section: l10n
Key:
task-brazilian-portuguese-kde-desktop
Task: british-desktop
Test-lang: en_GB
Enhances: desktop
Section: l10n
Key:
task-british-desktop
Task: british-kde-desktop
Enhances: kde-desktop, british-desktop
Section: l10n
Key:
task-british-kde-desktop
Task: bulgarian
Test-lang: bg
Enhances: cyrillic
Section: l10n
Key:
task-bulgarian
Task: bulgarian-desktop
Enhances: desktop, bulgarian
Section: l10n
Key:
task-bulgarian-desktop
Task: bulgarian-kde-desktop
Enhances: kde-desktop, bulgarian-desktop
Section: l10n
Key:
task-bulgarian-kde-desktop
Task: catalan
Test-lang: ca_ES
Section: l10n
Key:
task-catalan
Task: catalan-desktop
Enhances: desktop, catalan
Section: l10n
Key:
task-catalan-desktop
Task: catalan-kde-desktop
Enhances: kde-desktop, catalan-desktop
Section: l10n
Key:
task-catalan-kde-desktop
Task: chinese-s
Test-lang: zh_CN zh_SG
Section: l10n
Key:
task-chinese-s
Task: chinese-s-desktop
Enhances: desktop, chinese-s
Section: l10n
Key:
task-chinese-s-desktop
Task: chinese-s-kde-desktop
Enhances: kde-desktop, chinese-s-desktop
Section: l10n
Key:
task-chinese-s-kde-desktop
Task: chinese-t
Test-lang: zh_TW zh_HK
Section: l10n
Key:
task-chinese-t
Task: chinese-t-desktop
Enhances: desktop, chinese-t
Section: l10n
Key:
task-chinese-t-desktop
Task: chinese-t-kde-desktop
Enhances: kde-desktop, chinese-t-desktop
Section: l10n
Key:
task-chinese-t-kde-desktop
Task: cinnamon-desktop
Parent: desktop
Test-default-desktop: 1 cinnamon
Section: user
Key:
task-cinnamon-desktop
Task: croatian
Test-lang: hr
Section: l10n
Key:
task-croatian
Task: croatian-desktop
Test-lang: hr
Enhances: desktop, croatian
Section: l10n
Key:
task-croatian-desktop
Task: croatian-kde-desktop
Enhances: kde-desktop, croatian-desktop
Section: l10n
Key:
task-croatian-kde-desktop
Task: cyrillic
Test-lang: be bg kz mk mn ru sr
Section: l10n
Key:
task-cyrillic
Task: cyrillic-desktop
Enhances: desktop, cyrillic
Section: l10n
Key:
task-cyrillic-desktop
Task: cyrillic-kde-desktop
Enhances: kde-desktop, cyrillic-desktop
Section: l10n
Key:
task-cyrillic-kde-desktop
Task: czech
Test-lang: cs
Section: l10n
Key:
task-czech
Task: czech-desktop
Enhances: czech, desktop
Section: l10n
Key:
task-czech-desktop
Task: czech-kde-desktop
Enhances: kde-desktop, czech-desktop
Section: l10n
Key:
task-czech-kde-desktop
Task: danish
Test-lang: da
Section: l10n
Key:
task-danish
Task: danish-desktop
Enhances: desktop, danish
Section: l10n
Key:
task-danish-desktop
Task: danish-kde-desktop
Enhances: kde-desktop, danish-desktop
Section: l10n
Key:
task-danish-kde-desktop
Task: desktop
Relevance: 1
Section: user
Test-desktop: 1
Key:
task-desktop
Task: dutch
Test-lang: nl
Section: l10n
Key:
task-dutch
Task: dutch-desktop
Enhances: desktop, dutch
Section: l10n
Key:
task-dutch-desktop
Task: dutch-kde-desktop
Enhances: kde-desktop, dutch-desktop
Section: l10n
Key:
task-dutch-kde-desktop
Task: dzongkha-desktop
Enhances: desktop
Section: l10n
Test-lang: dz
Key:
task-dzongkha-desktop
Task: dzongkha-kde-desktop
Enhances: kde-desktop, dzongkha-desktop
Section: l10n
Key:
task-dzongkha-kde-desktop
Task: english
Test-lang: en
Section: l10n
Key:
task-english
Task: esperanto
Test-lang: eo
Section: l10n
Key:
task-esperanto
Task: esperanto-desktop
Enhances: desktop, esperanto
Section: l10n
Key:
task-esperanto-desktop
Task: esperanto-kde-desktop
Enhances: kde-desktop, esperanto-desktop
Section: l10n
Key:
task-esperanto-kde-desktop
Task: estonian
Test-lang: et
Section: l10n
Key:
task-estonian
Task: estonian-desktop
Enhances: desktop, estonian
Section: l10n
Key:
task-estonian-desktop
Task: estonian-kde-desktop
Enhances: kde-desktop, estonian-desktop
Section: l10n
Key:
task-estonian-kde-desktop
Task: finnish
Test-lang: fi
Section: l10n
Key:
task-finnish
Task: finnish-desktop
Enhances: finnish, desktop
Section: l10n
Key:
task-finnish-desktop
Task: finnish-kde-desktop
Enhances: kde-desktop, finnish-desktop
Section: l10n
Key:
task-finnish-kde-desktop
Task: french
Test-lang: fr
Section: l10n
Key:
task-french
Task: french-desktop
Enhances: french, desktop
Section: l10n
Key:
task-french-desktop
Task: french-kde-desktop
Enhances: kde-desktop, french-desktop
Section: l10n
Key:
task-french-kde-desktop
Task: galician
Test-lang: gl
Section: l10n
Key:
task-galician
Task: galician-desktop
Enhances: galician, desktop
Section: l10n
Key:
task-galician-desktop
Task: galician-kde-desktop
Enhances: kde-desktop, galician-desktop
Section: l10n
Key:
task-galician-kde-desktop
Task: georgian-desktop
Enhances: desktop
Section: l10n
Test-lang: ka
Key:
task-georgian-desktop
Task: german
Test-lang: de
Section: l10n
Key:
task-german
Task: german-desktop
Enhances: desktop, german
Section: l10n
Key:
task-german-desktop
Task: german-kde-desktop
Enhances: kde-desktop, german-desktop
Section: l10n
Key:
task-german-kde-desktop
......@@ -2,5 +2,6 @@ Task: gnome-desktop
Relevance: 1
Parent: desktop
Test-default-desktop: 3 gnome
Section: user
Key:
task-gnome-desktop
Task: greek
Test-lang: el
Section: l10n
Key:
task-greek
Task: greek-desktop
Enhances: desktop, greek
Section: l10n
Key:
task-greek-desktop
Task: greek-kde-desktop
Enhances: kde-desktop, greek-desktop
Section: l10n
Key:
task-greek-kde-desktop
Task: gujarati
Test-lang: gu
Section: l10n
Key:
task-gujarati
Task: gujarati-desktop
Enhances: desktop, gujarati
Section: l10n
Key:
task-gujarati-desktop
Task: gujarati-kde-desktop
Enhances: kde-desktop, gujarati-desktop
Section: l10n
Key:
task-gujarati-kde-desktop
Task: hebrew
Test-lang: he
Section: l10n
Key:
task-hebrew
Task: hebrew-desktop
Enhances: desktop, hebrew
Section: l10n
Key:
task-hebrew-desktop
Task: hebrew-gnome-desktop
Enhances: gnome-desktop, hebrew-desktop
Section: l10n
Key:
task-hebrew-gnome-desktop
Task: hebrew-kde-desktop
Enhances: kde-desktop, hebrew-desktop
Section: l10n
Key:
task-hebrew-kde-desktop
Task: hindi
Test-lang: hi
Section: l10n
Key:
task-hindi
Task: hindi-desktop
Enhances: desktop, hindi
Section: l10n
Key:
task-hindi-desktop
Task: hindi-kde-desktop
Enhances: kde-desktop, hindi-desktop
Section: l10n
Key:
task-hindi-kde-desktop
Task: hungarian
Test-lang: hu
Section: l10n
Key:
task-hungarian
Task: hungarian-desktop
Enhances: hungarian, desktop
Section: l10n
Key:
task-hungarian-desktop
Task: hungarian-kde-desktop
Enhances: kde-desktop, hungarian-desktop
Section: l10n
Key:
task-hungarian-kde-desktop
Task: icelandic
Test-lang: is
Section: l10n
Key:
task-icelandic
Task: icelandic-desktop
Enhances: icelandic
Section: l10n
Key:
task-icelandic-desktop
Task: icelandic-kde-desktop
Enhances: kde-desktop, icelandic-desktop
Section: l10n
Key:
task-icelandic-kde-desktop
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.