[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Generating VC6 project files for swig bindings

From: Russell Yanofsky <rey4_at_columbia.edu>
Date: 2003-06-24 05:35:16 CEST

Branko Cibej wrote:
> This seems to work fine on Windows, but I'm worried about the change
> in gen_base.py -- I can't easily test it on Unix right now. Could
> somebody
> who regularly builds SWIG bindings on Unix test this patch, please?

The changes to gen_base worked on windows and not unix because the .dsp projects
called swig with the -noproxy option while the makefile invoked swig
without -noproxy. A new patch which leaves out -noproxy on windows and doesn't
require changes to gen_base.py is attached.

This new patch conflicts with DJ's refactoring patch. If you commit his patch
first, I can update and resubmit this one.

Log Message:

* build/generator/gen_win.py (WinGeneratorBase.get_win_defines): Removed
  STATIC_LINKED preprocessor definition for swig bindings.

* build/generator/msvc_dsp.ezt: Got rid of -noproxy argument for swig.
  Added new property sources.swig_target which holds the same path
  sources.swig_output except that swig_output uses forward slashes
  and swig_target uses backslashes

* build/generator/gen_msvc_dsp.py (Generator.write_project): Removed
  extraneous arguments to two _item constructor calls.
  Added new source property "swig_target".

* subversion/bindings/swig/INSTALL: Updated instructions.

begin 666 swig5.diff
M26YD97@Z(&)U:6QD+V=E;F5R871O<B]M<W9C7V1S<"YE>G0*/3T]/3T]/3T]
M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]
M/3T]/3T]/3T]/3T]/0HM+2T@8G5I;&0O9V5N97)A=&]R+VUS=F-?9'-P+F5Z
M= DH<F5V:7-I;VX@-C,R,RD**RLK(&)U:6QD+V=E;F5R871O<B]M<W9C7V1S
M<"YE>G0)*'=O<FMI;F<@8V]P>2D*0$ @+38X+#@@*S8X+#@@0$ *( H@26YP
M=710871H/5MS;W5R8V5S+G!A=&A="B *+5MS;W5R8V5S+G-W:6=?;W5T<'5T
M72 Z("0H4T]54D-%*2 B)"A)3E1$25(I(B B)"A/551$25(I(@HM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;&%C92AC;V)J+F9N86UE+" G+R<L
M("=<7"<I"BT@(" @(" @(" @(" @('-O=7)C97,N87!P96YD*%]I=&5M*'!A
M=&@]8W-R8RP@<F5L9&ER/4YO;F4L('-W:6=?;&%N9W5A9V4]3F]N92P*+2 @
M(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @<W=I9U]O=71P=70]
M3F]N92DI"BL@(" @(" @(" @(" @('-O=7)C97,N87!P96YD*%]I=&5M*'!A
M=&@]8W-R8RP@<F5L9&ER/4YO;F4L('-W:6=?;&%N9W5A9V4]3F]N92DI"B *
M*R @(" @(" @(" @(" @(R!O=71P=70@<&%T:"!P87-S960@=&\@<W=I9R!H
M87,@=&\@=7-E(&9O<G=A<F0@<VQA<VAE<RP@;W1H97)W:7-E"BL@(" @(" @
M(" @(" @(",@=&AE(&=E;F5R871A=&5D('!Y=&AO;B!F:6QE<R H9F]R('-H
M861O=R!C;&%S<V5S*2!W:6QL(&)E('-A=F5D"BL@(" @(" @(" @(" @(",@
M=&\@=&AE('=R;VYG(&1I<F5C=&]R>0HK(" @(" @(" @(" @("!C;W5T(#T@
M<W1R:6YG+G)E<&QA8V4H;W,N<&%T:"YJ;VEN*')O;W1P871H+"!C;V)J+F9N
M86UE*2P@;W,N<V5P+" G+R<I"BL*(" @(" @(" @(" @(" @9F]R(&EF:6QE
M(&EN('-E;&8N9W)A<&@N9V5T7W-O=7)C97,H9V5N7V)A<V4N1%1?4U=)1U]#
M+"!C;V)J*3H*(" @(" @(" @(" @(" @("!I<W)C(#T@<F]O='!A=&@@*R G
M7%PG("L@<W1R:6YG+G)E<&QA8V4H:69I;&4L("<O)RP@)UQ<)RD*(" @(" @
M(" @(" @(" @("!S;W5R8V5S+F%P<&5N9"A?:71E;2AP871H/6ES<F,L(')E
M;&1I<CU.;VYE+" *(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @
M(" @("!S=VEG7VQA;F=U86=E/71A<F=E="YL86YG+ HM(" @(" @(" @(" @
M(" @("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9O;&1E<BX*
M*PHK(" @(" @($]P=&EO;F%L;'DL('EO=2!C86X@<G5N('1H92!F;VQL;W=I
M;F<@8V]M;6%N9',@=&\@8V]M<&EL92!T:&4@<'ET:&]N"B @(" @(" @<V]U
M<F-E<R!I;G1O(&)Y=&5C;V1E.@HM(" @(" @( HK"B @(" @(" @("!P>71H
M;VX@/%!95$A/3CY<;&EB7&-O;7!I;&5A;&PN<'D@/%!95$A/3CY<3&EB7'-I
M=&4M<&%C:V%G97-<<W9N"BT@(" @(" @(" **R @(" @(" @('!Y=&AO;B \
M4%E42$]./EQL:6)<8V]M<&EL96%L;"YP>2 \4%E42$]./EQ,:6)<<VET92UP
M86-K86=E<UQL:6)S=FX**PH@(" @(" @(%1H:7,@8V%N(&UA:V4@=&AE(&UO
M9'5L97,@;&]A9"!F87-T97(@9F]R('5S97)S('=I=&AO=70@=W)I=&4@86-C
M97-S"BT@(" @(" @=&\@/%!95$A/3CY<3&EB7'-I=&4M<&%C:V%G97-<<W9N
M+B @(" @(" **R @(" @("!T;R!T:&4@<VET92UP86-K86=E<R!D:7)E8W1O
M<GDN"B *(" @(#,N("!697)I9GD@=&AA="!A;B G<W9N)R!P86-K86=E(&AA
M<R!B965N(&EN<W1A;&QE9"!C;W)R96-T;'DN("!9;W4@8V%N"B @(" @(" @
M9&\@=&AI<R!B>2!R=6YN:6YG('!Y=&AO;B!V:6$@)W!Y=&AO;B M8R B9G)O
7;2!S=FX@:6UP;W)T(&-L:65N="(G+@H`
`
end

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jun 24 05:36:48 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.