Re: gEDA-user: [PATCH 1/7] PCB localization
Hi Peter and all, > -Original Message- > From: geda-user-boun...@moria.seul.org > [mailto:geda-user-boun...@moria.seul.org] On Behalf Of Peter Clifton > Sent: Tuesday, May 25, 2010 8:29 PM > To: gEDA user mailing list > Subject: Re: gEDA-user: [PATCH 1/7] PCB localization > > On Tue, 2010-05-25 at 07:16 -0400, Ales Hvezda wrote: > > [snip] > > >Ales - is it possible to configure mailman not to munch [PATCH...] > > >emails? It has stripped some leading whitespace from the > context, and > > >appended a footer which is confusing patch. > > > > > > > I looked and I don't see a way of doing that sort of > (non)filtering > > with mailman. I do recommend that people submit patches to the > > trackers since 1) no munching and 2) ability to track them. > > By email also has its advantages: > > 1. Email means the patches get seen and reviewed 2. Git sends > the email for you - so no extra work for the sender 3. I can > save the patches without having to poke sourceforge 4. I can > save the patches without having to poke sourceforge > > (If I agree to push some patches - send them privately to me). > > Best wishes, > > -- > Peter Clifton > > Electrical Engineering Division, > Engineering Department, > University of Cambridge, > 9, JJ Thomson Avenue, > Cambridge > CB3 0FA > > Tel: +44 (0)7729 980173 - (No signal in the lab!) > Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me) > > 5. *all* the impatient geda-users can apply the patches to their local repository themselves, and have a test drive, without having to poke sourceforge. 6. *all* impatient geda-devs can apply the patches to their local repository themselves, and have a test drive, without having to poke sourceforge ;-) Kind regards, Bert Timmerman. @Peter: I had a lovely holiday in Kent, will surely return next year ;-). ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: [PATCH 1/7] PCB localization
On Tue, 2010-05-25 at 07:16 -0400, Ales Hvezda wrote: > [snip] > >Ales - is it possible to configure mailman not to munch [PATCH...] > >emails? It has stripped some leading whitespace from the context, and > >appended a footer which is confusing patch. > > > > I looked and I don't see a way of doing that sort of (non)filtering > with mailman. I do recommend that people submit patches to the trackers > since 1) no munching and 2) ability to track them. By email also has its advantages: 1. Email means the patches get seen and reviewed 2. Git sends the email for you - so no extra work for the sender 3. I can save the patches without having to poke sourceforge 4. I can save the patches without having to poke sourceforge (If I agree to push some patches - send them privately to me). Best wishes, -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me) ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: [PATCH 1/7] PCB localization
[snip] >Ales - is it possible to configure mailman not to munch [PATCH...] >emails? It has stripped some leading whitespace from the context, and >appended a footer which is confusing patch. > I looked and I don't see a way of doing that sort of (non)filtering with mailman. I do recommend that people submit patches to the trackers since 1) no munching and 2) ability to track them. -Ales ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: [PATCH 1/7] PCB localization
Hi Sergey, Please send this patch series to me directly, and I'll apply them. The mailing list software to have munged the patches so badly I can't go through and fix them all up manually. It "might" have been my mail client, but I don't think so - a resend direct to my address should identify which is to blame. Ales - is it possible to configure mailman not to munch [PATCH...] emails? It has stripped some leading whitespace from the context, and appended a footer which is confusing patch. -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me) ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
gEDA-user: [PATCH 1/7] PCB localization
Move internationalization macros to one header diff --git a/src/global.h b/src/global.h index 1082dd1..b7c9d0f 100644 --- a/src/global.h +++ b/src/global.h @@ -60,7 +60,24 @@ typedef struct AttributeListType AttributeListType, *AttributeListTypePtr; #include "hid.h" #include "polyarea.h" -#define _(S) (S) +/* Internationalization support. */ +#ifdef ENABLE_NLS +# include +# define _(S) gettext(S) +# if defined(gettext_noop) +# define N_(S) gettext_noop(S) +# else +# define N_(S) (S) +# endif +#else +# define _(S) (S) +# define N_(S) (S) +# define textdomain(S) (S) +# define gettext(S) (S) +# define dgettext(D, S) (S) +# define dcgettext(D, S, T) (S) +# define bindtextdomain(D, Dir) (D) +#endif /* ENABLE_NLS */ typedef int LocationType; typedef int BDimension;/* big dimension */ diff --git a/src/hid/gtk/gui.h b/src/hid/gtk/gui.h index 610f30e..0a2e747 100644 --- a/src/hid/gtk/gui.h +++ b/src/hid/gtk/gui.h @@ -37,27 +37,6 @@ #include -/* Internationalization support. -*/ -#if defined (ENABLE_NLS) -#include -# undef _ -# define _(String) dgettext(GETTEXT_PACKAGE,String) -# if defined(gettext_noop) -# define N_(String) gettext_noop(String) -# else -# define N_(String) (String) -# endif /* gettext_noop */ -#else -# undef _ -# define _(String) (String) -# define N_(String) (String) -# define textdomain(String) (String) -# define gettext(String) (String) -# define dgettext(Domain,String) (String) -# define dcgettext(Domain,String,Type) (String) -# define bindtextdomain(Domain,Directory) (Domain) -#endif /* ENABLE_NLS */ /* Silk and rats lines are the two additional selectable to draw on. ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user