Skip to content

Improve generating of LINGUAS

Glenn Washburn grub-devel 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 1 replyIn review
  2. v34 patches 2 repliesSuperseded
  3. v24 patches 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch3 repliesSuperseded

Changes in v4 from the cover letter

* List wget as a soft requirement in INSTALL

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4bootstrap: Run linguas.sh in bootstrap epilogueINSTALL bootstrap.conf+14 -110 replies
2/4bootstrap: Migrate linguas.sh into bootstrap.confbootstrap.conf+18 -60 replies
3/4bootstrap: Condense and simplify LINGUAS generationINSTALL bootstrap.conf+12 -120 replies
4/4INSTALL: Fix a grammatical errorINSTALL+4 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/4] Improve generating of LINGUAS

I've seen several times and believe that quite often people building GRUB forget to run linguas.sh to download and setup the build for the external translations. So make setting up LINGUAS happen by default when running bootstrap. If a user does not want to setup LINGUAS it can be skipped by running bootstrap with the existing --skip-po argument. In fact, bootstrap already has functionality that automatically downloads a projects translations, so switch to using that in patch #2. Also it is needed to run some extra code because bootstrap will not add GRUB's autogenerated languages. In patch #3 simplify the LINGUAS generation and patch #4 fixes a couple issues in the INSTALL that is dependent on patch #1.

v4:
* List wget as a soft requirement in INSTALL

v3:
* Fix an issue where basename could be called by xargs with no arguments

v2:
* There wasn't intentionally a v1, but I accidentally created a patch series, and then I realized that patch #2 depends on patch #1.

Glenn

Glenn Washburn (4):
bootstrap: Run linguas.sh in bootstrap epilogue
bootstrap: Migrate linguas.sh into bootstrap.conf
bootstrap: Condense and simplify LINGUAS generation
INSTALL: Fix a grammatical error

 INSTALL        | 26 ++++++++++++--------------
 bootstrap.conf | 21 +++++++++++++++++++--
 2 files changed, 31 insertions(+), 16 deletions(-)

Range-diff against v3:

1:  20d27aed572a = 1:  20d27aed572a bootstrap: Run linguas.sh in bootstrap epilogue
2:  6b6fed0beba3 = 2:  6b6fed0beba3 bootstrap: Migrate linguas.sh into bootstrap.conf
3:  3678bd68c4b6 ! 3:  966d24067f97 bootstrap: Condense and simplify LINGUAS generation

@@ Commit message
Use existing LINGUAS created by bootstrap instead of finding po files again.

+ Add wget as a soft requirement now that we are using bootstrap's code
+ for updating translation files. This should only be needed if updated
+ translations are desired, which is the default. There should be older
+ translation files already, and wget is not necessary if those will
+ suffice.
+
+ ## INSTALL ##
+@@ INSTALL: configuring the GRUB.
+ * Flex 2.5.35 or later
+ * pkg-config
+ * GNU patch
++* wget (for downloading updated translations)
+ * Other standard GNU/Unix tools
+ * a libc with large file support (e.g. glibc 2.1 or later) +
+
## bootstrap.conf ##
@@ bootstrap.conf: bootstrap_epilogue () {
# languages.
4: c74c01d6fd85 = 4: fe15bb1a05bf INSTALL: Fix a grammatical error

Signature · 7 lines
2.34.1


_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel