mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: EGRY Gabor <gaboregry1@t-online.hu>
Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-kernel@zh-kernel.org, mikael.starvik@axis.com,
	jesper.nilsson@axis.com
Subject: Re: [PATCH 1/10] kconfig: update-po-config info
Date: Sat, 12 Jan 2008 09:03:36 +0100	[thread overview]
Message-ID: <20080112080336.GB30402@uranus.ravnborg.org> (raw)
In-Reply-To: <1200091200.10603.30.camel@localhost.localdomain>

On Fri, Jan 11, 2008 at 11:40:00PM +0100, EGRY Gabor wrote:
> 
> This patch adds tracking messages.
> 
> Signed-off-by: Egry Gabor <gaboregry1@t-online.hu>
> Reviewed-by: Sam Ravnborg <sam@ravnborg.org>

To anyone that try out this patch serie just a minor note.
"make update-po-config" will fail if applied
on top of kbuild.git.

This is because cris does some tricks with symlinks to
source the correct Kconfig file.

The Axis' people already fixed this and the fix is in -mm
and so I asked Egry not to workaround this issue in this patchset.

The quick workaround is to just delete the cris directory in
arch/ if you try it out.
When we hit the merge window it will be fixed in a proper
way by the patch from Axis.

At present menuconfig does not support wide chars which
I guess some would like to see. I know Egry has this in
the works and I hope to apply that patch soon.

The full patch serie posted here will apprear in kbuild.git
later today so we hopefully can have it beaten a little in
-mm before the merge window.

It is late in the cycle but the patches are nicely splitted
and easy to review.

	Sam 


> ---
> 
>  kbuild-szilard/scripts/kconfig/Makefile |   18 +++++++++++-------
>  1 file changed, 11 insertions(+), 7 deletions(-)
> 
> diff -puN scripts/kconfig/Makefile~kconfig-i18n-02-update-po-fix scripts/kconfig/Makefile
> --- kbuild/scripts/kconfig/Makefile~kconfig-i18n-02-update-po-fix	2008-01-11 22:16:06.000000000 +0100
> +++ kbuild-szilard/scripts/kconfig/Makefile	2008-01-11 22:27:38.000000000 +0100
> @@ -24,22 +24,25 @@ oldconfig: $(obj)/conf
>  silentoldconfig: $(obj)/conf
>  	$< -s $(Kconfig)
>  
> -# Create new linux.po file
> +# Create new linux.pot file
>  # Adjust charset to UTF-8 in .po file to accept UTF-8 in Kconfig files
>  # The symlink is used to repair a deficiency in arch/um
>  update-po-config: $(obj)/kxgettext
> -	xgettext --default-domain=linux                  \
> +	$(Q)echo "  GEN config"
> +	$(Q)xgettext --default-domain=linux              \
>  	    --add-comments --keyword=_ --keyword=N_      \
>  	    --from-code=UTF-8                            \
>  	    --files-from=scripts/kconfig/POTFILES.in     \
>  	    --output $(obj)/config.pot
>  	$(Q)sed -i s/CHARSET/UTF-8/ $(obj)/config.pot
>  	$(Q)ln -fs Kconfig.i386 arch/um/Kconfig.arch
> -	(for i in `ls arch/`;                            \
> -	do                                               \
> -	    $(obj)/kxgettext arch/$$i/Kconfig;           \
> -	done ) >> $(obj)/config.pot
> -	msguniq --sort-by-file --to-code=UTF-8 $(obj)/config.pot \
> +	$(Q)(for i in `ls arch/`;                        \
> +	    do                                           \
> +		echo "  GEN $$i";                        \
> +		$(obj)/kxgettext arch/$$i/Kconfig        \
> +		     >> $(obj)/config.pot;               \
> +	    done )
> +	$(Q)msguniq --sort-by-file --to-code=UTF-8 $(obj)/config.pot \
>  	    --output $(obj)/linux.pot
>  	$(Q)rm -f arch/um/Kconfig.arch
>  	$(Q)rm -f $(obj)/config.pot
> @@ -138,6 +141,7 @@ endif
>  clean-files	:= lkc_defs.h qconf.moc .tmp_qtcheck \
>  		   .tmp_gtkcheck zconf.tab.c lex.zconf.c zconf.hash.c
>  clean-files     += mconf qconf gconf
> +clean-files     += config.pot linux.pot
>  
>  # Check that we have the required ncurses stuff installed for lxdialog (menuconfig)
>  PHONY += $(obj)/dochecklxdialog
> _
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

      reply	other threads:[~2008-01-12  8:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-11 22:40 EGRY Gabor
2008-01-12  8:03 ` Sam Ravnborg [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080112080336.GB30402@uranus.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=gaboregry1@t-online.hu \
    --cc=jesper.nilsson@axis.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kernel@zh-kernel.org \
    --cc=mikael.starvik@axis.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®