<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Am 09.07.2013 10:34, schrieb Sylvain
Joyeux:<br>
</div>
<blockquote cite="mid:51DBCB0A.7000709@dfki.de" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">On 07/08/2013 07:22 PM, Sascha Arnold
wrote:<br>
</div>
<blockquote cite="mid:51DAF550.9090906@dfki.de" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<meta http-equiv="CONTENT-TYPE" content="text/html;
charset=ISO-8859-1">
<p style="margin-bottom: 0cm" lang="en-US">Hi,<br>
I need to override two packages in the spacebot package set
normally provided in the rock package set.<br>
<br>
I already overrode them in the source.yml and also applied own
patches.<br>
So far it works, but then it won't apply the flags defined in
cmake_package in libs.autobuild witch are still defined in
rock.<br>
And if I redefine them in the libs.autobuild of the spacebot
package set I get the message that I have two definitions and
that the one from rock will be used.<br>
</p>
</blockquote>
- if you only want to override the source information, you do not
need to redefine the package in spacebot's autobuild files. Simply
add the updated source information in the overrides: section of
source.yml<br>
</blockquote>
That is exactly what I did. It just doesn't apply the configurations
done in cmake_package then. Btw I'm working in next.<br>
<br>
<blockquote cite="mid:51DBCB0A.7000709@dfki.de" type="cite"> - if
you do want to change how the package is configured, you should
use setup_package<br>
<br>
setup_package 'package_name' do |pkg|<br>
# Do stuff here<br>
end<br>
</blockquote>
I tried that now in libs.autobuild of the spacebot package_set but
it doesn't seem to work.<br>
<br>
<blockquote cite="mid:51DBCB0A.7000709@dfki.de" type="cite"> <br>
This will allow you to modify the original configuration. You
should redefine the package using cmake_package, ... only if you
want to completely replace the configuration.<br>
<pre class="moz-signature" cols="72">--
Sylvain Joyeux (Dr.Ing.)
Senior Researcher
Space & Security Robotics
Underwater Robotics
!!! Achtung, neue Telefonnummer!!!
Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany
Phone: +49 (0)421 178-454136
Fax: +49 (0)421 218-454150
E-Mail: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:robotik@dfki.de">robotik@dfki.de</a>
Weitere Informationen: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.dfki.de/robotik">http://www.dfki.de/robotik</a>
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.: DE 148646973
Steuernummer: 19/673/0060/3
----------------------------------------------------------------------- </pre>
</blockquote>
<br>
</body>
</html>