autobuild 1.5.31 → 1.5.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Changes.txt +21 -10
- data/lib/autobuild/importer.rb +1 -0
- data/lib/autobuild/package.rb +6 -3
- data/lib/autobuild/packages/orogen.rb +4 -0
- data/lib/autobuild/version.rb +1 -1
- metadata +4 -4
data/Changes.txt
CHANGED
|
@@ -1,16 +1,27 @@
|
|
|
1
|
+
== Version 1.5.32
|
|
2
|
+
* autobuild importers delete the source directory when
|
|
3
|
+
initial checkouts fail. They now display a message
|
|
4
|
+
when they do so to avoid user confusion
|
|
5
|
+
* the Autobuild::Orogen.transports array can be used to
|
|
6
|
+
configure which transports are generated in orogen
|
|
7
|
+
packages
|
|
8
|
+
|
|
1
9
|
== Version 1.5.31
|
|
2
|
-
* allow to override the type export policy for oroGen
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
10
|
+
* allow to override the type export policy for oroGen
|
|
11
|
+
>= 1.1
|
|
12
|
+
* allow to provide CMAKE_MODULE_PATH in the cmake
|
|
13
|
+
handler. Unfortunately, cmake does not support
|
|
14
|
+
setting this through environment variables, so we
|
|
15
|
+
have to pass it as -D
|
|
16
|
+
* make ignore_errors work for updates as well. We
|
|
17
|
+
obviously still have to fail on checkout
|
|
8
18
|
|
|
9
19
|
== Version 1.5.30
|
|
10
|
-
* make the autotools handler behave more normally,
|
|
11
|
-
--no-create and not
|
|
12
|
-
|
|
13
|
-
|
|
20
|
+
* make the autotools handler behave more normally,
|
|
21
|
+
calling "configure" without --no-create and not
|
|
22
|
+
calling config.status before make by default. The old
|
|
23
|
+
behaviour can be restored by setting
|
|
24
|
+
#force_config_status to true on the package.
|
|
14
25
|
|
|
15
26
|
== Version 1.5.29
|
|
16
27
|
* added --version
|
data/lib/autobuild/importer.rb
CHANGED
|
@@ -111,6 +111,7 @@ class Importer
|
|
|
111
111
|
FileUtils.rm_rf package.srcdir
|
|
112
112
|
fallback(e, package, :import, package)
|
|
113
113
|
rescue Exception
|
|
114
|
+
package.progress "checkout of %s failed, deleting the source directory #{package.srcdir}"
|
|
114
115
|
FileUtils.rm_rf package.srcdir
|
|
115
116
|
raise
|
|
116
117
|
end
|
data/lib/autobuild/package.rb
CHANGED
|
@@ -107,6 +107,7 @@ module Autobuild
|
|
|
107
107
|
@parallel_build_level = nil
|
|
108
108
|
@statistics = Hash.new
|
|
109
109
|
@failures = Array.new
|
|
110
|
+
@post_install_blocks = Array.new
|
|
110
111
|
|
|
111
112
|
if Hash === spec
|
|
112
113
|
name, depends = spec.to_a.first
|
|
@@ -279,7 +280,9 @@ module Autobuild
|
|
|
279
280
|
# Install the result in prefix
|
|
280
281
|
def install
|
|
281
282
|
Dir.chdir(srcdir) do
|
|
282
|
-
|
|
283
|
+
@post_install_blocks.each do |b|
|
|
284
|
+
Autobuild.apply_post_install(name, b)
|
|
285
|
+
end
|
|
283
286
|
end
|
|
284
287
|
Autobuild.touch_stamp(installstamp)
|
|
285
288
|
update_environment
|
|
@@ -381,9 +384,9 @@ module Autobuild
|
|
|
381
384
|
|
|
382
385
|
def post_install(*args, &block)
|
|
383
386
|
if args.empty?
|
|
384
|
-
@
|
|
387
|
+
@post_install_blocks << block
|
|
385
388
|
elsif !block
|
|
386
|
-
@
|
|
389
|
+
@post_install_blocks << args
|
|
387
390
|
else
|
|
388
391
|
raise ArgumentError, "cannot set both arguments and block"
|
|
389
392
|
end
|
|
@@ -167,8 +167,11 @@ module Autobuild
|
|
|
167
167
|
|
|
168
168
|
class << self
|
|
169
169
|
attr_accessor :default_type_export_policy
|
|
170
|
+
# The list of enabled transports as an array of strings (default: typelib, corba)
|
|
171
|
+
attr_reader :transports
|
|
170
172
|
end
|
|
171
173
|
@default_type_export_policy = :used
|
|
174
|
+
@transports = %w{corba typelib}
|
|
172
175
|
|
|
173
176
|
def self.orogen_bin
|
|
174
177
|
if @orogen_bin
|
|
@@ -330,6 +333,7 @@ module Autobuild
|
|
|
330
333
|
end
|
|
331
334
|
if version >= "1.1"
|
|
332
335
|
cmdline << "--type-export-policy=#{Orogen.default_type_export_policy}"
|
|
336
|
+
cmdline << "--transports=#{Orogen.transports.join(",")}"
|
|
333
337
|
end
|
|
334
338
|
end
|
|
335
339
|
|
data/lib/autobuild/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: autobuild
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 67
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 5
|
|
9
|
-
-
|
|
10
|
-
version: 1.5.
|
|
9
|
+
- 32
|
|
10
|
+
version: 1.5.32
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Sylvain Joyeux
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-01-
|
|
18
|
+
date: 2011-01-24 00:00:00 +01:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|