> On July 5, 2013, 2:50 p.m., Kenneth Giusti wrote:
> > http://svn.apache.org/repos/asf/qpid/proton/trunk/examples/include/pncompat/internal/getopt.h,
> >  line 15
> > <https://reviews.apache.org/r/12275/diff/1/?file=318334#file318334line15>
> >
> >     I suspect that this condition conflicts with the ASL license.  It is 
> > certainly "more restrictive" than the ASL.
> >     
> >     I'm not a lawyer, though.  But as a layman, this seems like it would 
> > require all binary copies of proton to have to reproduce this license (how? 
> >  via a text display?  or include a text file?)
> >     
> >
> 
> Kenneth Giusti wrote:
>     Maybe the solution is to include this license in a top-level NOTICE file? 
>  The ASL requires all derivative works (including binaries) to include the 
> NOTICE file if present.   
>     Again, IANAL....
>

My recollection is that this license was on the ASL approved list (straight BSD 
and that's why we chose it), note that the license file is just being moved in 
the tree.  

The only platform that would ship it in binary form would be Windows.  I don't 
know if msrg-send is to be shipped in binary form or just built on a test 
system, the examples shouldn't be precompiled.  That leaves proton.c and I 
think Rafi wanted to retire it.

Perhaps I should raise a JIRA to track windows packaging for this issue?


- Cliff


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/12275/#review22782
-----------------------------------------------------------


On July 5, 2013, 6:17 a.m., Cliff Jansen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/12275/
> -----------------------------------------------------------
> 
> (Updated July 5, 2013, 6:17 a.m.)
> 
> 
> Review request for qpid, Andrew Stitcher, Kenneth Giusti, and Rafael 
> Schloming.
> 
> 
> Bugs: proton-348
>     https://issues.apache.org/jira/browse/proton-348
> 
> 
> Repository: qpid
> 
> 
> Description
> -------
> 
> This patch tries to minimize the impact of incorporating platform neutral 
> code into the examples and the native C++ tests.
> 
> I dislike the thought of dragging around a compatibility library that needs 
> to be linked to some examples and not others.  I am also not keen to have the 
> qpid-proton library expose non-core functionality that users start using in 
> real code and expect to be around for all time.
> 
> As a further wrinkle, we may wish to distribute examples with Visual Studio 
> projects to Windows users without the benefit of CMake infrastructure.  The 
> implication being that some platform magic that works in the main build 
> courtesy of CMake may need to be implemented differently.
> 
> The proposed patch is not particularly pretty, but hopefully leaves light 
> footprints when the helper functions are needed.  The code needs to be 
> included exactly once per executable when needed.  A portable "pragma weak" 
> directive, if it existed, could have made this simpler.
> 
>  * Usage for a single compilation unit:
>  *
>  *  #include "pncompat/misc_funcs.i"
>  *
>  * Usage for multiple combined compilation units: chose one to include
>  * "pncompat/misc_funcs.i" as above and in each other unit needing the
>  * definitions use
>  *
>  *  #include "pncompat/misc_defs.h"
> 
> 
> The include/pncompat directory is placed under trunk/examples since you can't 
> build the examples without it and the examples might be packaged separately.  
> However the tests and even proton.c can find them when they are normally 
> built.
> 
> 
> Diffs
> -----
> 
>   
> http://svn.apache.org/repos/asf/qpid/proton/trunk/examples/include/pncompat/internal/LICENSE
>  PRE-CREATION 
>   
> http://svn.apache.org/repos/asf/qpid/proton/trunk/examples/include/pncompat/internal/getopt.h
>  PRE-CREATION 
>   
> http://svn.apache.org/repos/asf/qpid/proton/trunk/examples/include/pncompat/internal/getopt.c
>  PRE-CREATION 
>   
> http://svn.apache.org/repos/asf/qpid/proton/trunk/examples/include/pncompat/misc_defs.h
>  PRE-CREATION 
>   
> http://svn.apache.org/repos/asf/qpid/proton/trunk/examples/include/pncompat/misc_funcs.i
>  PRE-CREATION 
>   
> http://svn.apache.org/repos/asf/qpid/proton/trunk/examples/messenger/c/recv.c 
> 1499652 
>   
> http://svn.apache.org/repos/asf/qpid/proton/trunk/examples/messenger/c/send.c 
> 1499652 
>   http://svn.apache.org/repos/asf/qpid/proton/trunk/proton-c/CMakeLists.txt 
> 1499652 
>   
> http://svn.apache.org/repos/asf/qpid/proton/trunk/proton-c/include/proton/object.h
>  1499652 
>   http://svn.apache.org/repos/asf/qpid/proton/trunk/proton-c/src/proton.c 
> 1499652 
>   
> http://svn.apache.org/repos/asf/qpid/proton/trunk/proton-c/wincompat/getopt.h 
> 1499652 
>   
> http://svn.apache.org/repos/asf/qpid/proton/trunk/proton-c/wincompat/internal/LICENSE
>  1499652 
>   
> http://svn.apache.org/repos/asf/qpid/proton/trunk/proton-c/wincompat/internal/getopt.h
>  1499652 
>   
> http://svn.apache.org/repos/asf/qpid/proton/trunk/proton-c/wincompat/internal/getopt.c
>  1499652 
>   
> http://svn.apache.org/repos/asf/qpid/proton/trunk/tests/tools/apps/c/msgr-common.h
>  1499652 
>   
> http://svn.apache.org/repos/asf/qpid/proton/trunk/tests/tools/apps/c/msgr-common.c
>  1499652 
> 
> Diff: https://reviews.apache.org/r/12275/diff/
> 
> 
> Testing
> -------
> 
> windows, rhel6
> 
> 
> Thanks,
> 
> Cliff Jansen
> 
>

Reply via email to