delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2014/01/23/18:10:23

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type;
bh=BEpv9lx+DHwRKHNm4akXM/IqanHmWiisUdjLZiXFSLg=;
b=fdFAffiCPJVrCkrav1DBKKR3gogscK3Vyi3kyZ/GNrPdG/uod7V+rLcw/uYhQn7vU+
BEMCtARnlPEepCpqy556YN2LZRQ5zhVGD64WEoxE1/PZ2fOZWFIaczJBWXhCeYWrB/ZP
ddFj8hdHjaAvG6bItxcrPvJHoYoFT5YUU84LfeacMF4JSu6MDf31pg+OHROxJ7SsEWtV
tOlo+hbHrw53zkzwN3ddwOrH/rb7ePG4R12cthgzS62DoeP6oo0PtIpc5ZTUc915jm9l
9+niE7ParEafHWzN/J3cQWtS4wo0oi5yv149IfhPEd3W9qpqHCQiyJ0peS6AaB3f1sHI
jC3w==
MIME-Version: 1.0
X-Received: by 10.60.144.228 with SMTP id sp4mr72365oeb.29.1390518573645; Thu,
23 Jan 2014 15:09:33 -0800 (PST)
In-Reply-To: <CAG4ve9JyWzw90ij9v9aE2NebR61usZPma=zhqSTdppsCN9dN1Q@mail.gmail.com>
References: <CAG4ve9K=uYwmRn6npM=jq-AGpZ1najFFyz19m0VdNsgnx4oQ0w AT mail DOT gmail DOT com>
<CAOxVtST0iYht7aJHAh+sF4HnFSgYFk6nZwWO=0tOhh5+FZ9XYw AT mail DOT gmail DOT com>
<CAG4ve9JGK5mMGAhLu65kSmEAC1b-P1XMCJBL1tayqF6VdY_oQw AT mail DOT gmail DOT com>
<CAOxVtSRQ33u5HSnhZoeirfVO60ZSBjrfrfPVQpS6c4M1DtYQTg AT mail DOT gmail DOT com>
<CAG4ve9KervakvzK+KUGdp5vx4dv_Y3LbDHA+LC1wx0XHABKhPQ AT mail DOT gmail DOT com>
<CAOxVtSS-uVoAwLU9UkZ41y8o042nT2bOuCHYXPZEcDMKY7hwwQ AT mail DOT gmail DOT com>
<CAG4ve9JyWzw90ij9v9aE2NebR61usZPma=zhqSTdppsCN9dN1Q AT mail DOT gmail DOT com>
Date: Fri, 24 Jan 2014 03:09:33 +0400
Message-ID: <CAG4ve9LQSv9z+qSEoRZJ9WzNqAMb0Au3T46LqBi0OP+PZPKyqA@mail.gmail.com>
Subject: Re: [geda-user] gnetlist localization patch
From: =?KOI8-R?B?4czFy9PFyiDowdLYy8/X08vJyg==?= <svetonomer AT gmail DOT com>
To: geda-user AT delorie DOT com
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

--047d7b41ccbca2c57804f0ab559e
Content-Type: text/plain; charset=KOI8-R
Content-Transfer-Encoding: quoted-printable

When patched changes will be added to git?


2014/1/23 =E1=CC=C5=CB=D3=C5=CA =E8=C1=D2=D8=CB=CF=D7=D3=CB=C9=CA <svetonom=
er AT gmail DOT com>

> Sorry for me. I dont seen rules of source development.
> This rows I have simply copied from gschem.c file  :)
>
>
> 2014/1/23 Sergey Alyoshin <alyoshin DOT s AT gmail DOT com>
>
>> On Thu, Jan 23, 2014 at 1:22 AM, =E1=CC=C5=CB=D3=C5=CA =E8=C1=D2=D8=CB=
=CF=D7=D3=CB=C9=CA
>> <svetonomer AT gmail DOT com> wrote:
>> > leha AT dom ~ $ cat .gEDA/gafrc
>> >
>> > (component-library-search "/home/leha/.gEDA/symbols" "local_lib")
>> >
>> > leha AT dom ~ $
>> >
>> > :)
>> >
>> > Save
>> > =EB293=EB=F011-1.sym
>> > to this dir :)
>> >
>> >
>> >
>> > 2014/1/22 Sergey Alyoshin <alyoshin DOT s AT gmail DOT com>
>> >>
>> >> On Wed, Jan 22, 2014 at 9:44 PM, =E1=CC=C5=CB=D3=C5=CA =E8=C1=D2=D8=
=CB=CF=D7=D3=CB=C9=CA
>> >> <svetonomer AT gmail DOT com> wrote:
>> >> > Have you russian components or symbol?
>> >>
>> >> No, but I can test it. Can I see you ~/.gEDA/gafrc ?
>> >>
>> >> > I nave some components with Ru.utf8 filenames in componts path.
>> >> > Example:
>> >> > =EB293=EB=F011-1.sym
>> >> > gnetlist terminated with errors.
>> >> > gschem NOT terminated and allowing to use this component.
>> >> >
>> >> > In gschem.c in main() I see :
>> >> > setlocale(LC_ALL, "")
>> >> > setlocale(LC_NUMERIC, "C"));
>> >> > and it works.
>> >> >
>> >> > Therefore I wrote this in gnetlist and it works too.
>> >> > Therefore this is really needed.
>> >>
>> >
>>
>> Confirming, somehow in gnetlist main() LC_ALL is set to "C".
>> As for gnetlist_localization.patch, please, pay more attention for codin=
g
>> style.
>> In this case: indentation is 4 space and it is space before function
>> parentheses.
>> Confirming to this, patch should look like in attachment.
>>
>
>

--047d7b41ccbca2c57804f0ab559e
Content-Type: text/html; charset=KOI8-R
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">When patched changes will be added to git?<br></div><div c=
lass=3D"gmail_extra"><br><br><div class=3D"gmail_quote">2014/1/23 =E1=CC=C5=
=CB=D3=C5=CA =E8=C1=D2=D8=CB=CF=D7=D3=CB=C9=CA <span dir=3D"ltr">&lt;<a hre=
f=3D"mailto:svetonomer AT gmail DOT com" target=3D"_blank">svetonomer AT gmail DOT com</a=
>&gt;</span><br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div>Sorry for me. I dont s=
een rules of source development.<br></div>This rows I have simply copied fr=
om gschem.c file=9A :)<br>
</div><div class=3D"HOEnZb"><div class=3D"h5"><div class=3D"gmail_extra"><b=
r><br><div class=3D"gmail_quote">2014/1/23 Sergey Alyoshin <span dir=3D"ltr=
">&lt;<a href=3D"mailto:alyoshin DOT s AT gmail DOT com" target=3D"_blank">alyoshin.s@=
gmail.com</a>&gt;</span><br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div><div>On Thu, Jan 23, 2014 at 1:22 AM, =
=E1=CC=C5=CB=D3=C5=CA =E8=C1=D2=D8=CB=CF=D7=D3=CB=C9=CA<br>
&lt;<a href=3D"mailto:svetonomer AT gmail DOT com" target=3D"_blank">svetonomer AT gm=
ail.com</a>&gt; wrote:<br>
&gt; leha AT dom ~ $ cat .gEDA/gafrc<br>
&gt;<br>
&gt; (component-library-search &quot;/home/leha/.gEDA/symbols&quot; &quot;l=
ocal_lib&quot;)<br>
&gt;<br>
&gt; leha AT dom ~ $<br>
&gt;<br>
&gt; :)<br>
&gt;<br>
&gt; Save<br>
&gt; =EB293=EB=F011-1.sym<br>
&gt; to this dir :)<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; 2014/1/22 Sergey Alyoshin &lt;<a href=3D"mailto:alyoshin DOT s AT gmail DOT com" =
target=3D"_blank">alyoshin DOT s AT gmail DOT com</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Wed, Jan 22, 2014 at 9:44 PM, =E1=CC=C5=CB=D3=C5=CA =E8=C1=D2=
=D8=CB=CF=D7=D3=CB=C9=CA<br>
&gt;&gt; &lt;<a href=3D"mailto:svetonomer AT gmail DOT com" target=3D"_blank">svet=
onomer AT gmail DOT com</a>&gt; wrote:<br>
&gt;&gt; &gt; Have you russian components or symbol?<br>
&gt;&gt;<br>
&gt;&gt; No, but I can test it. Can I see you ~/.gEDA/gafrc ?<br>
&gt;&gt;<br>
&gt;&gt; &gt; I nave some components with Ru.utf8 filenames in componts pat=
h.<br>
&gt;&gt; &gt; Example:<br>
&gt;&gt; &gt; =EB293=EB=F011-1.sym<br>
&gt;&gt; &gt; gnetlist terminated with errors.<br>
&gt;&gt; &gt; gschem NOT terminated and allowing to use this component.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; In gschem.c in main() I see :<br>
&gt;&gt; &gt; setlocale(LC_ALL, &quot;&quot;)<br>
&gt;&gt; &gt; setlocale(LC_NUMERIC, &quot;C&quot;));<br>
&gt;&gt; &gt; and it works.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Therefore I wrote this in gnetlist and it works too.<br>
&gt;&gt; &gt; Therefore this is really needed.<br>
&gt;&gt;<br>
&gt;<br>
<br>
</div></div>Confirming, somehow in gnetlist main() LC_ALL is set to &quot;C=
&quot;.<br>
As for gnetlist_localization.patch, please, pay more attention for coding s=
tyle.<br>
In this case: indentation is 4 space and it is space before function<br>
parentheses.<br>
Confirming to this, patch should look like in attachment.<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>

--047d7b41ccbca2c57804f0ab559e--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019