grub/po
Vladimir 'phcoder' Serbinenko d3c13cbd62 Integrate hints into autogeneration scripts.
* docs/grub.texi (Filesystems): Add a hostdisk example.
	* Makefile.util.def (grub-mkdevicemap): Remove ofpath.
	(grub-probe): Add ofpath.
	* gentpl.py: Remove group nosparc64.
	* grub-core/commands/search.c (cache_entry): New struct.
	(cache): New var.
	(FUNC_NAME): Use and save cache. Fix handling of trailing comma.
	* grub-core/commands/search_wrap.c (options): Add platform-specific
	hint options.
	(grub_cmd_search): Handle platform-specific hints.
	(GRUB_MOD_INIT): Declare grub_cmd_search as accept_dash.
	* grub-core/kern/emu/hostdisk.c (map): New field device_map.
	(grub_util_biosdisk_data): Likewise.
	(grub_util_biosdisk_open): Set device_map.
	(read_device_map): Handle "" as indication of no map.
	Set device_map.
	(find_system_device): Add hostdisk/ prefix for autogenerated entries.
	(grub_util_biosdisk_get_compatibility_hint): New function.
	* grub-core/normal/main.c (features): Add feature_platform_search_hint.
	* include/grub/emu/hostdisk.h
	(grub_util_biosdisk_get_compatibility_hint): New proto.
	* util/grub-install.in: Don't call grub-mkdevicemap.
	Add platform-specific hint to load.cfg.
	* util/grub-mkconfig.in: Don't call grub-mkdevicemap.
	* util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Add
	hints. Set root preliminary to compatibility hint, not to OS name.
	* util/grub-probe.c (PRINT_*): Add hints.
	(print): Make static.
	(escape_of_path): New function.
	(guess_bios_drive): Likewise.
	(guess_efi_drive): Likewise.
	(guess_baremetal_drive): Likewise.
	(print_full_name): Likewise.
	(probe): Handle hints.
	(main): Likewise.
	* util/ieee1275/devicemap.c: Removed.
	* util/ieee1275/ofpath.c (find_obppath): Allow to fail. All users
	updated.
	(grub_util_devname_to_ofpath): Return NULL on failure.

	* grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_get_grub_dev): Fix
	resource leak.
	* util/getroot.c (grub_util_pull_device): Fix memory leak.

	* po/POTFILES.in: Regenerated.

	Allow purely long options

	* grub-core/lib/arg.c (SHORT_ARG_HELP): Removed.
	(SHORT_ARG_USAGE): Likewise.
	(grub_arg_show_help): Compare opt with help_options.
	(parse_option): Receive opt as argument. If makes big simplificatons.
	All users updated
2011-12-24 15:09:26 +01:00
..
boldquot.sed Fix po directory handling. 2010-09-21 00:09:23 +01:00
en@boldquot.header Fix po directory handling. 2010-09-21 00:09:23 +01:00
en@quot.header Fix po directory handling. 2010-09-21 00:09:23 +01:00
grub.d.sed * util/grub-mkconfig_lib.in (gettext_quoted): Add clarifying 2010-12-21 12:49:29 +00:00
insert-header.sin Fix po directory handling. 2010-09-21 00:09:23 +01:00
Makefile.in.in * po/Makefile.in.in: Add missing escape-continuation. 2011-11-25 14:16:44 +01:00
Makevars Fix po directory handling. 2010-09-21 00:09:23 +01:00
POTFILES-shell.in Fix po directory handling. 2010-09-21 00:09:23 +01:00
POTFILES.in Integrate hints into autogeneration scripts. 2011-12-24 15:09:26 +01:00
quot.sed Fix po directory handling. 2010-09-21 00:09:23 +01:00
README * po/README: Add instructions for creating po/LINGUAS. 2011-04-21 15:47:58 +01:00
remove-potcdate.sin Fix po directory handling. 2010-09-21 00:09:23 +01:00
Rules-quot Fix po directory handling. 2010-09-21 00:09:23 +01:00

If you checked out this source tree directly from GRUB Bazaar, you might
be wondering where are the POT and PO files.  Here are some instructions
that will hopefully clarify the situation.

  - If you're a user or a distributor, simply fill the po directory by
    importing translations from the Translation Project:

      rsync -Lrtvz  translationproject.org::tp/latest/grub/ po

    Then create a po/LINGUAS file listing all the language codes:

      (cd po && ls *.po | cut -d. -f1 | xargs) >po/LINGUAS

    GRUB's build system will automatically detect those and include them
    in your install.

  - If you're a translator and want to add a new translation or improve an
    existing one, get in touch with the Translation Project
    (http://translationproject.org/).  The GRUB project doesn't interact
    with translators directly (but we dearly appreciate your work!).

  - If you're a developer adding/removing/modifiing translatable strings,
    you can check that these turn into a sane POT file by using the
    `po/grub.pot' make rule.

  - If you're the maintainer of GNU GRUB preparing a new release, don't
    forget to include the latest PO files in your source tarball!