Commit graph

2376 commits

Author SHA1 Message Date
Robert Millan
26743e871b Resync. 2009-11-23 15:19:43 +00:00
Robert Millan
ea1dd8bf0a 2009-11-23 Robert Millan <rmh.grub@aybabtu.com>
* Makefile.in ($(srcdir)/po/$(PACKAGE).pot): Pass --keyword=N_ to
        `$(XGETTEXT)'.
        * include/grub/i18n.h (N_): New macro.
        * util/mkisofs/mkisofs.h: Likewise.
        * util/mkisofs/mkisofs.c (ld_options): Wrap all translatable strings
        around N_().
        (usage): Use gettext() to translate help strings when printing them.
2009-11-23 13:18:07 +00:00
Robert Millan
57082942dd Add auto-generated gcrypt files. 2009-11-23 12:18:37 +00:00
Robert Millan
0c14062641 2009-11-23 Robert Millan <rmh.grub@aybabtu.com>
Based on patch from Bean
        (http://lists.gnu.org/archive/html/grub-devel/2009-08/msg00384.html)

        * video/efi_fb.c: New file.
        * conf/i386-efi.rmk (pkglib_MODULES): Add `efi_fb.mod'.
        (efi_fb_mod_SOURCES, efi_fb_mod_CFLAGS, efi_fb_mod_LDFLAGS): New
        variables.
        * conf/x86_64-efi.rmk: Likewise.
2009-11-23 11:17:50 +00:00
Vladimir 'phcoder' Serbinenko
5acc2aba78 merged mainline into PCI 2009-11-23 11:15:24 +01:00
Carles Pina i Estany
9874f05759 2009-11-22 Carles Pina i Estany <carles@pina.cat>
* normal/menu_text.c (get_spaces): New function.
	(print_timeout): Gettextize, add spaces to the localized string.
2009-11-22 23:41:06 +00:00
Carles Pina i Estany
4d1f668fd9 2009-11-22 Carles Pina i Estany <carles@pina.cat>
* normal/menu_text.c: Gettexttize but not print_timeout function.
	* normal/main.c: Gettexttize.
	* normal/menu_entry.c: Likewise.
2009-11-22 22:24:54 +00:00
Carles Pina i Estany
4baf87d9e4 merging to trunk... 2009-11-22 21:45:40 +00:00
Carles Pina i Estany
347687cf6e Removes the non-gettext string 2009-11-22 21:42:28 +00:00
Carles Pina i Estany
6e2621b9ff Final touches (don't gettextize a string, chang setted by set) 2009-11-22 21:41:33 +00:00
Carles Pina i Estany
b6c871b0d7 Some more changes... 2009-11-22 18:58:19 +00:00
Carles Pina i Estany
3014405923 Changes catalan strings like it was before (test) 2009-11-22 16:59:20 +00:00
Carles Pina i Estany
c505aa627f Removes a debug variable (new_fd) 2009-11-22 16:57:17 +00:00
Carles Pina i Estany
938d89c04d Corrects Catalan translation 2009-11-22 13:01:49 +00:00
Carles Pina i Estany
e5fb78c684 This commit is the same than gettext08.patch (see mailing list) 2009-11-22 12:50:46 +00:00
Vladimir 'phcoder' Serbinenko
937d332db3 compile and configuration fixes 2009-11-22 13:15:49 +01:00
Carles Pina i Estany
39eaee93f1 Sync with trunk 2009-11-22 11:56:10 +00:00
Carles Pina i Estany
0648f857ea Different changes following Robert's email 20091121230904.GA29740@thorin 2009-11-22 11:49:54 +00:00
Vladimir 'phcoder' Serbinenko
7f4f3f581c Unify grub-install.in for sparc64 with i386-ieee1275 2009-11-22 12:22:19 +01:00
Vladimir 'phcoder' Serbinenko
4fe6aa0961 synced with mainstream 2009-11-22 12:11:17 +01:00
Robert Millan
87d58298fd 2009-11-22 Robert Millan <rmh.grub@aybabtu.com>
* util/i386/pc/grub-mkimage.c: Ungettextize grub_util_info() strings.
        * util/i386/pc/grub-setup.c: Likewise.
2009-11-22 10:20:14 +00:00
Carles Pina i Estany
ee99edc809 Some comments following Grub standard of code. 2009-11-21 23:11:14 +00:00
Carles Pina i Estany
43fa69467c Moves where pkglib_MODULS += gettext.mod is defined 2009-11-21 23:06:37 +00:00
Felix Zielcke
8e3be195c4 Merge remote 2009-11-21 23:25:20 +01:00
Felix Zielcke
26a61d6a59 2009-11-21 Felix Zielcke <fzielcke@z-51.de>
* Makefile.in (target): Use make's builtin $(shell) function
	instead of calling directly $(SHELL) to create the locale directories,
	inside the $(foreach) function.
2009-11-21 23:23:35 +01:00
Carles Pina i Estany
414092d75a Adds the ChangeLog.gettext file 2009-11-21 22:19:16 +00:00
Robert Millan
d2be748185 2009-11-21 Robert Millan <rmh.grub@aybabtu.com>
* maintainance/gentrigtables.py: Remove.
        * lib/trig.c: Likewise.

        * gentrigtables.c: New file.  C rewrite of gentrigtables.py.

        * conf/common.rmk (trig_mod_SOURCES): Replace `lib/trig.c' with
        `trigtables.c'.
        (trigtables.c): New rule.
        (gentrigtables): Likewise.
        (DISTCLEANFILES): Add `trigtables.c' and `gentrigtables'.
2009-11-21 21:44:08 +00:00
Carles Pina i Estany
cb681ffd7a Deletes grub-gettext_lib.in (not needed after Robert's changes) 2009-11-21 21:18:12 +00:00
Carles Pina i Estany
a239a5e9cc merge with Trunk 2009-11-21 21:05:15 +00:00
Robert Millan
f5b23252e2 2009-11-21 Robert Millan <rmh.grub@aybabtu.com>
* maintainance/gentrigtables.py: Avoid duplicate hardcoding of
        integer constants.
2009-11-21 20:59:48 +00:00
Samuel Thibault
994cc3a308 2009-11-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
* util/getroot.c [__GNU__]: Include <hurd.h>, <hurd/lookup.h>, and
	<hurd/fs.h>
	[__GNU__] (grub_guess_root_device): Call file_name_lookup and
	file_get_storage_info to implement grub_guess_root_device.
2009-11-21 18:00:23 +01:00
Vladimir 'phcoder' Serbinenko
87efa251d5 Fix a bug in icondir handling 2009-11-21 17:48:05 +01:00
Felix Zielcke
74ff1dd52b 2009-11-21 Felix Zielcke <fzielcke@z-51.de>
* util/grub-mkrescue.in: Print an error and usage if output option
	has not been given.
2009-11-21 17:40:55 +01:00
Felix Zielcke
97951fb232 Merge trunk 2009-11-21 15:49:21 +01:00
Felix Zielcke
0b787d0e99 2009-11-21 Felix Zielcke <fzielcke@z-51.de>
Patch from Loïc Minier <loic.minier@ubuntu.com>.
	* util/grub.d/30_os-prober.in: Cope with Linux entries where
	root and /boot are on different devices.
2009-11-21 15:41:46 +01:00
Vladimir 'phcoder' Serbinenko
aff798d6f4 icondir support 2009-11-21 15:29:12 +01:00
Robert Millan
1164b2708e 2009-11-21 Robert Millan <rmh.grub@aybabtu.com>
Fix build for srcdir != objdir.

        * Makefile.in (po/$(PACKAGE).pot): Rename to ...
        ($(srcdir)/po/$(PACKAGE).pot): ... this.  Run $(XGETTEXT) from
        $(srcdir).
        ($(foreach lang, $(LINGUAS), po/$(lang).po)): Rename to ...
        ($(foreach lang, $(LINGUAS), $(srcdir)/po/$(lang).po): ... this. Use $^
        reference for input.
2009-11-21 13:48:15 +00:00
Robert Millan
13774a2f94 2009-11-21 Robert Millan <rmh.grub@aybabtu.com>
* util/grub-mkrescue.in: Use source directory direcly (without copiing
        or hardlinking it).  Remove -J option, Joliet is not compatible with
        multiple source directories.
2009-11-21 13:22:41 +00:00
Robert Millan
efda854e68 2009-11-21 Carles Pina i Estany <carles@pina.cat>
2009-11-21  Robert Millan  <rmh.grub@aybabtu.com>

        * util/grub-mkrescue.in: Recognize `--override-directory' option.
        (process_input_dir): New function.  Process an arbitrary input
        directory.
        Misc adjustments to support both "override mode" and system-wide mode.
2009-11-21 13:11:38 +00:00
Vladimir 'phcoder' Serbinenko
e4eff4ed62 changed leftover 32 to XX 2009-11-20 23:37:33 +01:00
Felix Zielcke
6c09890c87 2009-11-20 Felix Zielcke <fzielcke@z-51.de>
* configure.ac (UNIFONT_BDF): Rename to ...
	(FONT_SOURCE): ... this.  Update all users.
2009-11-20 22:39:07 +01:00
Vladimir 'phcoder' Serbinenko
8dec533a1c ChangeLog 2009-11-20 22:26:08 +01:00
Felix Zielcke
68b44b1d2d Revert accidently renaming of UNIFONT_BDF in configure.ac 2009-11-20 21:13:50 +01:00
Felix Zielcke
a797824f12 2009-11-20 Felix Zielcke <fzielcke@z-51.de>
* configure.ac: Add `/usr/share/fonts/X11/misc/unifont.pcf.gz'
	to the list of unifont files to look for.
2009-11-20 21:08:29 +01:00
Vladimir 'phcoder' Serbinenko
704e21180e At least it compiles now 2009-11-20 16:07:16 +01:00
Colin D Bennett
d45b547fa6 merge trigonometry 2009-11-20 16:03:44 +01:00
Colin D Bennett
d920a32ab6 gfxmenu import 2009-11-20 16:02:58 +01:00
Vladimir 'phcoder' Serbinenko
1f1551457f ChangeLog 2009-11-20 16:00:13 +01:00
Colin D Bennett
bd86691a07 2009-11-20 Colin D Bennett <colin@gibibit.com>
* include/grub/misc.h (grub_iscntrl): New inline function.
	(grub_isalnum): Likewise.
	(grub_strtol): Likewise.
2009-11-20 15:09:48 +01:00
Colin D Bennett
cbf97a87d9 * include/grub/menu_viewer.h (grub_menu_viewer_init): New prototype.
(grub_menu_viewer_should_return): Likewise.
	* normal/main.c (GRUB_MOD_INIT (normal)): Call grub_menu_viewer_init.
	* normal/menu_text.c (run_menu): Enable menu switching.
	* normal/menu_viewer.c (should_return): New variable.
	(menu_viewer_changed): Likewise.
	(grub_menu_viewer_show_menu): Handle menu viewer changes.
	(grub_menu_viewer_should_return): New function.
	(menuviewer_write_hook): Likewise.
	(grub_menu_viewer_init): Likewise.
2009-11-20 14:51:01 +01:00