Skip to content
Snippets Groups Projects
  1. Mar 10, 2020
    • Mike Gilbert's avatar
      po: Fix replacement of %m in sed programs · 2e246b6f
      Mike Gilbert authored
      
      When running make dist, I hit this error:
      
        rm -f en@arabic.gmo && /usr/bin/gmsgfmt -c --statistics --verbose -o en@arabic.gmo en@arabic.po
        en@arabic.po:5312: 'msgstr' is not a valid C format string, unlike 'msgid'.
        Reason: The character that terminates the directive number 3 is not a valid conversion specifier.
        /usr/bin/gmsgfmt: found 1 fatal error
      
      This was caused by "%m" being replaced with foreign Unicode characters.
      For example:
      
        msgid "cannot rename the file %s to %s: %m"
        msgstr "ﺹﺎﻨﻧﻮﺗ ﺮﻌﻧﺎﻤﻋ ﺖﻬﻋ ﻒִﻴﻠﻋ %s ﺕﻭ %s: %ﻡ"
      
      Mimic the workaround used for "%s" by reversing the replacement of "%m" at
      the end of the sed programs.
      
      Signed-off-by: default avatarMike Gilbert <floppym@gentoo.org>
      Reviewed-by: default avatarDaniel Kiper <daniel.kiper@oracle.com>
      2e246b6f
    • Colin Watson's avatar
      gettext: Restore patches to po/Makefile.in.in · ac116bd6
      Colin Watson authored
      These were inadvertently lost during the conversion to Gnulib (gnulib:
      Upgrade Gnulib and switch to bootstrap tool; commit 35b90906). The
      files in po/gettext-patches/ can be imported using "git am" on top of
      the gettext tag corresponding to AM_GNU_GETTEXT_VERSION in configure.ac
      (currently 0.18.3). They handle translation of messages in shell files,
      make msgfmt output in little-endian format, and arrange to use @SHELL@
      rather than /bin/sh.
      
      There were some changes solely for the purpose of distributing extra
      files; for ease of maintenance, I've added these to
      conf/Makefile.extra-dist instead.
      
      Fixes: https://savannah.gnu.org/bugs/?57298
      
      
      
      Signed-off-by: default avatarColin Watson <cjwatson@ubuntu.com>
      Reviewed-by: default avatarDaniel Kiper <daniel.kiper@oracle.com>
      ac116bd6
  2. Jun 25, 2019
  3. Mar 05, 2019
    • Colin Watson's avatar
      gnulib: Upgrade Gnulib and switch to bootstrap tool · 35b90906
      Colin Watson authored
      
      Upgrade Gnulib files to 20190105.
      
      It's much easier to maintain GRUB's use of portability support files
      from Gnulib when the process is automatic and driven by a single
      configuration file, rather than by maintainers occasionally running
      gnulib-tool and committing the result.  Removing these
      automatically-copied files from revision control also removes the
      temptation to hack the output in ways that are difficult for future
      maintainers to follow.  Gnulib includes a "bootstrap" program which is
      designed for this.
      
      The canonical way to bootstrap GRUB from revision control is now
      "./bootstrap", but "./autogen.sh" is still useful if you just want to
      generate the GRUB-specific parts of the build system.
      
      GRUB now requires Autoconf >= 2.63 and Automake >= 1.11, in line with
      Gnulib.
      
      Gnulib source code is now placed in grub-core/lib/gnulib/ (which should
      not be edited directly), and GRUB's patches are in
      grub-core/lib/gnulib-patches/.  I've added a few notes to the developer
      manual on how to maintain this.
      
      Signed-off-by: default avatarColin Watson <cjwatson@ubuntu.com>
      Reviewed-by: default avatarDaniel Kiper <daniel.kiper@oracle.com>
      35b90906
  4. Apr 10, 2018
  5. Feb 17, 2018
  6. May 03, 2017
  7. Nov 08, 2015
  8. Jul 23, 2015
  9. Feb 28, 2015
  10. Dec 23, 2013
  11. Dec 18, 2013
  12. Dec 17, 2013
  13. Nov 16, 2013
  14. Oct 03, 2013
  15. Aug 08, 2013
    • Vladimir Testov's avatar
      * docs/grub.texi: Introduce terminal window position options: · b4743461
      Vladimir Testov authored
              terminal-left: terminal window's left position
              terminal-top: terminal window's top position
              terminal-width: terminal window's width
              terminal-height: terminal window's height
              * grub-core/gfxmenu/theme-loader.c: Likewise.
              * include/grub/gfxmenu_view.h: Likewise.
              * po/exlude.pot: Likewise.
              * grub-core/gfxmenu/view.c: Likewise.
              Also updated minimal window size.
              Also terminal_sanity_check function has been introduced.
      b4743461
  16. Aug 02, 2013
  17. May 14, 2013
  18. May 10, 2013
  19. May 07, 2013
  20. Apr 28, 2013
  21. Apr 11, 2013
  22. Mar 21, 2013
  23. Jan 29, 2013
  24. Jul 31, 2012
  25. Jun 18, 2012
  26. May 03, 2012
  27. Apr 04, 2012
  28. Apr 01, 2012
  29. Mar 08, 2012
  30. Mar 03, 2012
  31. Feb 29, 2012
  32. Feb 28, 2012
    • Vladimir 'phcoder' Serbinenko's avatar
      Fix make dist. · 2702b4e4
      Vladimir 'phcoder' Serbinenko authored
      	* Makefile.am (starfield_theme_files): New var.
      	(starfield_DATA): Use starfield_theme_files.
      	(EXTRA_DIST): Add starfield_theme_files. Add starfield source files.
      	Add bootcheck-related files.
      	* conf/Makefile.extra-dist (EXTRA_DIST): Add several missing files.
      	* docs/Makefile.am (EXTRA_DIST): Add font_char_metrics.png
      	and font_char_metrics.txt.
      	* grub-core/Makefile.core.def (kernel): Update extra_dist.
      	(setjmp): Add lib/ia64/longjmp.S.
      	* po/Makefile.in.in (DISTFILES): Add POTFILES-shell.in and grub.d.sed.
      	* po/POTFILES.in: Regenerate.
      	* po/Rules-swiss: use DISTFILES.common.extra2 and not
      	DISTFILES.common.extra1.
      	* util/devicemap.c: Removed.
      	* grub-core/lib/i386/relocator_backward.S: Likewise.
      	* util/import_gcry.py: Remove unused files. Add extra_dist for
      	ChangeLog.
      2702b4e4
  33. Feb 27, 2012
  34. Feb 26, 2012
  35. Feb 25, 2012
    • Vladimir 'phcoder' Serbinenko's avatar
      Convert grub-emu to argp. · 6a656b0e
      Vladimir 'phcoder' Serbinenko authored
      	* grub-core/Makefile.core.def (kernel): Add kern/emu/argp_common.c on
      	emu.
      	* util/argp_common.c: Rename to ...
      	* grub-core/kern/emu/argp_common.c: ... this. All users updated.
      	Add missing includes.
      	* grub-core/kern/emu/main.c: Convert to argp.
      	* po/POTFILES.in: Regenerate.
      	* util/grub-install.in (usage): Make first letter lowcase in messages
      	for uniformity.
      	* util/grub-setup.c (options): Likewise.
      6a656b0e
Loading