From Fedora Project Wiki
m (Change announced)
m
 
(17 intermediate revisions by 3 users not shown)
Line 23: Line 23:
  
 
== Summary ==
 
== Summary ==
Language support groups in Comps file will get replaced by langpacks package. With this Change we want meta-packages like langpacks-ja to also install required fonts and input-methods for the given language.
+
Language support groups in Comps file will get replaced by weak rich dependencies in the langpacks package.
 +
 
 +
With this Change meta-packages like langpacks-ja will also install required fonts and input-methods for the given language.
  
 
== Owner ==
 
== Owner ==
* Name: [[User:petersen| Jens Petersen]]
 
* Email:  petersen at fedoraproject dot org
 
 
* Name: [[User:pnemade| Parag Nemade]]
 
* Name: [[User:pnemade| Parag Nemade]]
 
* Email: pnemade at fedoraproject dot org
 
* Email: pnemade at fedoraproject dot org
 +
* Name: [[User:Petersen| Jens Petersen]]
 +
* Email:  petersen at fedoraproject dot org
  
 
* Release notes owner: <!--- To be assigned by docs team [[User:FASAccountName| Release notes owner name]] <email address> -->
 
* Release notes owner: <!--- To be assigned by docs team [[User:FASAccountName| Release notes owner name]] <email address> -->
Line 38: Line 40:
 
== Current status ==
 
== Current status ==
 
* Targeted release: [[Releases/30 | Fedora 30 ]]  
 
* Targeted release: [[Releases/30 | Fedora 30 ]]  
* Last updated: 09-Jan-2019
+
* Last updated: {{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}
 
<!-- After the change proposal is accepted by FESCo, tracking bug is created in Bugzilla and linked to this page  
 
<!-- After the change proposal is accepted by FESCo, tracking bug is created in Bugzilla and linked to this page  
 
Bugzilla states meaning as usual:
 
Bugzilla states meaning as usual:
Line 47: Line 49:
 
CLOSED as NEXTRELEASE -> change is completed and verified and will be delivered in next release under development
 
CLOSED as NEXTRELEASE -> change is completed and verified and will be delivered in next release under development
 
-->
 
-->
* Tracker bug: <will be assigned by the Wrangler>
+
* Tracker bug: [https://bugzilla.redhat.com/show_bug.cgi?id=1670375 #1670375]
 +
* Release notes tracker: [https://pagure.io/fedora-docs/release-notes/issue/289 #289]
  
 
== Detailed Description ==
 
== Detailed Description ==
 
{{admon/note|This change will remove the need of having the language specific comps groups in Fedora}}
 
{{admon/note|This change will remove the need of having the language specific comps groups in Fedora}}
We already have ''langpacks-*'' packages in Fedora since F24. Currently they are installing language packages for translations, dictionaries etc. but not fonts or input-methods. With this Change we will try to install fonts and input-methods as well.
+
''langpacks-*'' meta-packages have been in Fedora since F24. Currently they only install locales, translation langpacks, and dictionaries, but not fonts or input-methods, etc. With this Change they will install required fonts and input-methods for a language as well.
E.g. if you net-install Fedora in Japanese language then installation of any base package like libreoffice-core or man-pages are installing automatically libreoffice-langpack-ja or man-pages-ja but langpacks-ja is not installing any Japanese font or input-method.
+
 
But now with using RPM tags or weak dependencies like Supplements, we can get font as well as input-method packages installed as well on the system.
+
e.g. When you do a net-install of Fedora in Japanese then with langpacks-ja the installation of any base package like libreoffice-core or man-pages causes libreoffice-langpack-ja or man-pages-ja to be installed. After this change using weak dependencies like Recommends in langpacks, Japanese fonts and input-method can also get installed if appropriate.
There is no need of language comps groups to exist, they will be replaced by langpacks.
+
 
 +
Then there is no need for language comps groups to exist: they will be handled by the langpacks package. It is found that some languages do not have any anaconda or Gnome package translations. Therefore brx, doi, kok, ks, lep, mni, sa, sat, sd languages are not moved into any langpacks packages.
  
This Change is originally submitted at https://pagure.io/i18n/issue/97
+
See https://pagure.io/i18n/issue/97 for more background discussion.
  
 
== Benefit to Fedora ==
 
== Benefit to Fedora ==
Users can install complete language support now using langpacks only. This will also help to remove the language support groups from the comps file.
+
Users can install complete language support now using langpacks only. This will also help to remove the long deprecated language support groups from comps.
  
 
== Scope ==
 
== Scope ==
* Proposal owners: Check all langpacks providing packages (like fonts, input-methods) add Supplements tag in their SPEC file and build them. We will track the progress of this Change in [https://copr.fedorainfracloud.org/coprs/pnemade/langpacks/ Langpacks Copr] project.
+
* Proposal owners:
 +
** Move comps language groups packages into rich weak dependencies in langpacks package.
 +
** Test each langpacks package can pull in the fonts and input-methods as required for that language.
 +
** Initial development of this Change will be testable from this [https://copr.fedorainfracloud.org/coprs/pnemade/langpacks/ Langpacks Copr] project.
 +
** Update 'fedora-kickstarts/l10n/' files to switch from language support groups to langpacks meta packages.
 +
** Removal all language support groups from comps-f30.xml.in via a pull request.
 
<!-- What work do the feature owners have to accomplish to complete the feature in time for release?  Is it a large change affecting many parts of the distribution or is it a very isolated change? What are those changes?-->
 
<!-- What work do the feature owners have to accomplish to complete the feature in time for release?  Is it a large change affecting many parts of the distribution or is it a very isolated change? What are those changes?-->
  
* Other developers: To all other developers of packages who provides langpacks, they need to add the Supplements tag as given in this [https://fedoraproject.org/wiki/Packaging:Langpacks Langpacks guideline] to each langpack subpackage.
+
* Other developers: can help provide langpacks support if needed by adding a Recommends tag as given in this [https://fedoraproject.org/wiki/Packaging:Langpacks Langpacks guideline] to each langpack subpackage.
 
<!-- What work do other developers have to accomplish to complete the feature in time for release?  Is it a large change affecting many parts of the distribution or is it a very isolated change? What are those changes?-->
 
<!-- What work do other developers have to accomplish to complete the feature in time for release?  Is it a large change affecting many parts of the distribution or is it a very isolated change? What are those changes?-->
  
Line 82: Line 91:
  
 
== User Experience ==
 
== User Experience ==
Currently users can get complete language support installed only using "''dnf group install <lang-support>''" command. After this Change gets implemented end users can get language support installed using meta-packages "''langpacks-<langcode>"'' only
+
Currently users can get complete language support installed only using "''dnf group install <language>-support''" command. After this Change gets implemented end users can get their language support installed using the meta-package "''langpacks-<langcode>"''.
  
 
== Dependencies ==
 
== Dependencies ==
Line 89: Line 98:
 
== Contingency Plan ==
 
== Contingency Plan ==
 
<!-- If you cannot complete your feature by the final development freeze, what is the backup plan?  This might be as simple as "Revert the shipped configuration".  Or it might not (e.g. rebuilding a number of dependent packages).  If you feature is not completed in time we want to assure others that other parts of Fedora will not be in jeopardy.  -->
 
<!-- If you cannot complete your feature by the final development freeze, what is the backup plan?  This might be as simple as "Revert the shipped configuration".  Or it might not (e.g. rebuilding a number of dependent packages).  If you feature is not completed in time we want to assure others that other parts of Fedora will not be in jeopardy.  -->
* Contingency mechanism: If this change is not completed by final development freeze then we need to target this for F31. We are just proposing to add additional information in langpacks packages that is Supplements tag. This should not affect individual langpacks packages installation by dnf.
+
* Contingency mechanism:  
 +
** revert the comps changes (leaving the language groups there for now has no averse affects and don't affect langpacks behaviour)
 +
** If this change is not completed by final development freeze then the remaining work will be targetted for F31.
  
 
<!-- When is the last time the contingency mechanism can be put in place?  This will typically be the beta freeze. -->
 
<!-- When is the last time the contingency mechanism can be put in place?  This will typically be the beta freeze. -->
Line 107: Line 118:
 
-->
 
-->
  
[[Category:ChangeAnnounced]]
+
[[Category:ChangeAcceptedF30]]
 
<!-- When your change proposal page is completed and ready for review and announcement -->
 
<!-- When your change proposal page is completed and ready for review and announcement -->
 
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler -->
 
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler -->

Latest revision as of 06:19, 15 February 2019


Replace Comps Language Group With Langpacks

Summary

Language support groups in Comps file will get replaced by weak rich dependencies in the langpacks package.

With this Change meta-packages like langpacks-ja will also install required fonts and input-methods for the given language.

Owner

  • Release notes owner:

Current status

Detailed Description

Note.png
This change will remove the need of having the language specific comps groups in Fedora

langpacks-* meta-packages have been in Fedora since F24. Currently they only install locales, translation langpacks, and dictionaries, but not fonts or input-methods, etc. With this Change they will install required fonts and input-methods for a language as well.

e.g. When you do a net-install of Fedora in Japanese then with langpacks-ja the installation of any base package like libreoffice-core or man-pages causes libreoffice-langpack-ja or man-pages-ja to be installed. After this change using weak dependencies like Recommends in langpacks, Japanese fonts and input-method can also get installed if appropriate.

Then there is no need for language comps groups to exist: they will be handled by the langpacks package. It is found that some languages do not have any anaconda or Gnome package translations. Therefore brx, doi, kok, ks, lep, mni, sa, sat, sd languages are not moved into any langpacks packages.

See https://pagure.io/i18n/issue/97 for more background discussion.

Benefit to Fedora

Users can install complete language support now using langpacks only. This will also help to remove the long deprecated language support groups from comps.

Scope

  • Proposal owners:
    • Move comps language groups packages into rich weak dependencies in langpacks package.
    • Test each langpacks package can pull in the fonts and input-methods as required for that language.
    • Initial development of this Change will be testable from this Langpacks Copr project.
    • Update 'fedora-kickstarts/l10n/' files to switch from language support groups to langpacks meta packages.
    • Removal all language support groups from comps-f30.xml.in via a pull request.
  • Other developers: can help provide langpacks support if needed by adding a Recommends tag as given in this Langpacks guideline to each langpack subpackage.
  • Release engineering: none
  • Policies and guidelines: none

Upgrade/compatibility impact

None.

How To Test

User Experience

Currently users can get complete language support installed only using "dnf group install <language>-support" command. After this Change gets implemented end users can get their language support installed using the meta-package "langpacks-<langcode>".

Dependencies

No Other Change depend on this.

Contingency Plan

  • Contingency mechanism:
    • revert the comps changes (leaving the language groups there for now has no averse affects and don't affect langpacks behaviour)
    • If this change is not completed by final development freeze then the remaining work will be targetted for F31.
  • Contingency deadline: I don't think we will need anything to revert or apply any contingency plan here if this is not completed by beta freeze.
  • Blocks release? No
  • Blocks product? N/A

Documentation

  • Need to add about this in the Release notes

Release Notes