On Sun, Mar 17, 2013 at 8:22 PM, Ankur Sinha <span dir="ltr"><<a href="mailto:sanjay.ankur@gmail.com" target="_blank">sanjay.ankur@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">On Sat, 2013-03-16 at 16:29 -0700, William Woodall wrote:<br>
</div>> CATKIN_BUILD_BINARY_PACKAGE=1<br>
<br>
Hi William<br>
<br>
Is this a cmake variable, ie, do I run<br>
<br>
$ cmake -DCATKIN_BUILD_BINARY_PACKAGE="1" ..<br>
<br>
or is to be specified in another way. (I tried the above method and it<br>
still creates the .rosinstall and .catkin files)<br></blockquote><div><br></div><div><div>Unfortunately, I am not sure that there is an option to prevent catkin from producing these files for itself, the way that we use that option is to prevent other packages (i.e. not catkin) from creating these files. This prevents a conflict when targeting them to the same prefix and packaging them into debs separately. But in our use case we still want catkin to provide these files as they are useful when we are targeting a prefix other than `/usr` or `/usr/local`.</div>

<div><br></div><div>Maybe Dirk Thomas can give some insight on how to disable this for catkin too.</div></div><div><br></div><div>Likely what we will need to do is modify this line:</div><div><br></div><div><a href="https://github.com/ros/catkin/blob/groovy-devel/cmake/all.cmake#L181">https://github.com/ros/catkin/blob/groovy-devel/cmake/all.cmake#L181</a></div>

<div><br></div><div>To read:</div><div><br></div>if(CATKIN_BUILD_BINARY_PACKAGE)</div><div class="gmail_quote"><br></div><div class="gmail_quote">And then specifically not pass that argument to catkin only when we are releasing for a prefix other than `/usr`.</div>

<div class="gmail_quote"><br></div><div class="gmail_quote">I have opened a ticket about this on the catkin issue tracker, we should continue the discussion there:</div><div class="gmail_quote"><br></div><div class="gmail_quote">

<a href="https://github.com/ros/catkin/issues/395">https://github.com/ros/catkin/issues/395</a></div><div class="gmail_quote"><br></div><div class="gmail_quote">Also, we try to keep the traffic on ros-users low, so we should continue any discussion on the issue tracker or as a question/answer on <a href="http://answers.ros.org">answers.ros.org</a>.</div>

<div class="gmail_quote"><br></div><div class="gmail_quote">Thanks!</div><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">--<br>
Thanks,<br>
Warm regards,<br>
Ankur: "FranciscoD"<br>
<br>
Please only print if necessary.<br>
<br>
Looking to contribute to Fedora? Look here: <a href="https://fedoraproject.org/wiki/Fedora_Join_SIG" target="_blank">https://fedoraproject.org/wiki/Fedora_Join_SIG</a><br>
<br>
<a href="http://fedoraproject.org/wiki/User:Ankursinha" target="_blank">http://fedoraproject.org/wiki/User:Ankursinha</a><br>
<a href="http://dodoincfedora.wordpress.com/" target="_blank">http://dodoincfedora.wordpress.com/</a><br>
</div></div><br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br>