autoproj 1.6.0.rc6 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,12 @@
1
1
  = Version 1.6.0
2
- * version that will be used in the Orocos project
3
- * the osdeps management is now fully configurable. What is means is that you
4
- can ask autoproj to *not* install osdeps packages at all
2
+ * starting this version, autoproj becomes the official build system for the
3
+ Orocos Toolchain project
4
+ * the osdeps management is now configurable: one can request autoproj to not
5
+ install osdeps, to ask each time and/or to simply wait when osdeps should
6
+ be installed
7
+ * autoproj stops bailing out on OSes that it does not know. It simply does
8
+ not offer to install OS dependencies on these operating systems
9
+ * quite a few small bugfixes
5
10
 
6
11
  = Version 1.5.8
7
12
  * add a way to add some ignore regexp to the dependency tracking. Updated user
@@ -669,16 +669,50 @@ end
669
669
 
670
670
  DEFS = <<EODEFS
671
671
  ---
672
+ svn:
673
+ arch: subversion
674
+ gentoo: dev-util/subversion
675
+ debian,ubuntu: subversion
676
+ autobuild: gem
677
+ zlib:
678
+ debian,ubuntu: zlib1g-dev
679
+ libxml2:
680
+ arch: libxml2
681
+ gentoo: dev-libs/libxml2
682
+ debian,ubuntu: libxml2-dev
672
683
  none: ignore
684
+ autotools:
685
+ arch: automake autoconf
686
+ gentoo:
687
+ - sys-devel/automake:1.9
688
+ - sys-devel/autoconf
689
+ debian,ubuntu:
690
+ - automake1.9
691
+ - autoconf
692
+ autoproj: gem
693
+ archive:
694
+ arch:
695
+ - tar
696
+ - unzip
697
+ gentoo:
698
+ - app-arch/tar
699
+ - app-arch/unzip
700
+ debian,ubuntu:
701
+ - tar
702
+ - unzip
703
+ lsb_release:
704
+ arch:
705
+ gentoo: sys-apps/lsb-release
706
+ debian,ubuntu: lsb-release
673
707
  ruby18:
708
+ gentoo:
709
+ - dev-lang/ruby:1.8
674
710
  debian,ubuntu:
675
711
  - ruby1.8-dev
676
712
  - ruby1.8
677
713
  - rubygems1.8
678
714
  - ri1.8
679
715
  - libopenssl-ruby1.8
680
- gentoo:
681
- - dev-lang/ruby:1.8
682
716
  ruby19:
683
717
  debian:
684
718
  squeeze,sid:
@@ -689,67 +723,33 @@ ruby19:
689
723
  - ruby1.9.1
690
724
  - ruby1.9.1-dev
691
725
  - rubygems1.9.1
726
+ arch:
727
+ - ruby
728
+ gentoo:
729
+ - dev-lang/ruby:1.9
692
730
  ubuntu:
693
731
  - ruby1.9.1
694
732
  - ruby1.9.1-dev
695
733
  - rubygems1.9.1
696
734
  - ri1.9.1
697
735
  - libopenssl-ruby1.9.1
698
- gentoo:
699
- - dev-lang/ruby:1.9
700
- arch:
701
- - ruby
702
- rdoc: gem
703
- build-essential:
704
- debian,ubuntu: build-essential
705
- gentoo:
706
- arch:
707
- libxml2:
708
- debian,ubuntu: libxml2-dev
709
- gentoo: dev-libs/libxml2
710
- arch: libxml2
711
- libxslt:
712
- debian,ubuntu: libxslt1-dev
713
- gentoo: dev-libs/libxslt
714
- arch: libxslt
715
- zlib:
716
- debian,ubuntu: zlib1g-dev
717
- autobuild: gem
718
- autoproj: gem
719
736
  git:
720
- debian,ubuntu: git-core
721
- gentoo: dev-vcs/git
722
737
  arch: git
723
- svn:
724
- debian,ubuntu: subversion
725
- gentoo: dev-util/subversion
726
- arch: subversion
738
+ gentoo: dev-vcs/git
739
+ debian,ubuntu: git-core
727
740
  cmake:
728
- debian,ubuntu: cmake
729
- gentoo: dev-util/cmake
730
741
  arch: cmake
731
- autotools:
732
- debian,ubuntu:
733
- - automake1.9
734
- - autoconf
735
- gentoo:
736
- - sys-devel/automake:1.9
737
- - sys-devel/autoconf
738
- arch: automake autoconf
739
- lsb_release:
740
- debian,ubuntu: lsb-release
741
- gentoo: sys-apps/lsb-release
742
+ gentoo: dev-util/cmake
743
+ debian,ubuntu: cmake
744
+ build-essential:
742
745
  arch:
743
- archive:
744
- debian,ubuntu:
745
- - tar
746
- - unzip
747
746
  gentoo:
748
- - app-arch/tar
749
- - app-arch/unzip
750
- arch:
751
- - tar
752
- - unzip
747
+ debian,ubuntu: build-essential
748
+ libxslt:
749
+ arch: libxslt
750
+ gentoo: dev-libs/libxslt
751
+ debian,ubuntu: libxslt1-dev
752
+ rdoc: gem
753
753
 
754
754
  EODEFS
755
755
 
@@ -109,6 +109,10 @@ module Autoproj
109
109
  end
110
110
  end
111
111
 
112
+ # Returns the information about the file that is currently being loaded
113
+ #
114
+ # The return value is [source, path], where +source+ is the Source instance
115
+ # and +path+ is the path of the file w.r.t. the autoproj root directory
112
116
  def self.current_file
113
117
  @file_stack.last
114
118
  end
@@ -141,7 +145,7 @@ module Autoproj
141
145
  def self.import_autobuild_file(source, path)
142
146
  return if @loaded_autobuild_files.include?(path)
143
147
 
144
- @file_stack.push([source, File.basename(path)])
148
+ @file_stack.push([source, File.expand_path(path).gsub(/^#{Regexp.quote(Autoproj.root_dir)}\//, '')])
145
149
  begin
146
150
  Kernel.load path
147
151
  rescue ConfigError => e
@@ -166,11 +170,11 @@ end
166
170
  def package_common(package_type, spec, &block) # :nodoc:
167
171
  package_name = Autoproj.package_name_from_options(spec)
168
172
 
169
- begin
170
- Rake::Task[package_name]
171
- Autoproj.warn "#{package_name} from #{Autoproj.current_file[0]} is overriden by the definition in #{Autoproj.definition_source(package_name)}"
173
+ if Autobuild::Package[package_name]
174
+ current_file = Autoproj.current_file[1]
175
+ old_file = Autoproj.manifest.definition_file(package_name)
176
+ Autoproj.warn "#{package_name} from #{current_file} is overriden by the definition in #{old_file}"
172
177
  return
173
- rescue
174
178
  end
175
179
 
176
180
  # Check if this package is ignored
@@ -185,13 +185,6 @@ OS dependencies through autoproj.
185
185
  Autoproj.import_autobuild_file source, name
186
186
  end
187
187
 
188
- # Load the package's override files. each_source must not load the
189
- # source.yml file, as init.rb may define configuration options that are used
190
- # there
191
- manifest.each_source(false).to_a.reverse.each do |source|
192
- Autoproj.load_if_present(source, source.local_dir, "overrides.rb")
193
- end
194
-
195
188
  # Now, load the package's importer configurations (from the various
196
189
  # source.yml files)
197
190
  manifest.load_importers
@@ -269,6 +262,13 @@ OS dependencies through autoproj.
269
262
  end
270
263
  end
271
264
 
265
+ # Load the package's override files. each_source must not load the
266
+ # source.yml file, as init.rb may define configuration options that are used
267
+ # there
268
+ manifest.each_source(false).to_a.reverse.each do |source|
269
+ Autoproj.load_if_present(source, source.local_dir, "overrides.rb")
270
+ end
271
+
272
272
  # We now have processed the process setup blocks. All configuration
273
273
  # should be done and we can save the configuration data.
274
274
  Autoproj.save_config
@@ -1,3 +1,3 @@
1
1
  module Autoproj
2
- VERSION = "1.6.0.rc6"
2
+ VERSION = "1.6.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autoproj
3
3
  version: !ruby/object:Gem::Version
4
- hash: 977940587
5
- prerelease: true
4
+ hash: 15
5
+ prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 6
9
9
  - 0
10
- - rc6
11
- version: 1.6.0.rc6
10
+ version: 1.6.0
12
11
  platform: ruby
13
12
  authors:
14
13
  - Sylvain Joyeux
@@ -16,7 +15,7 @@ autorequire:
16
15
  bindir: bin
17
16
  cert_chain: []
18
17
 
19
- date: 2010-08-13 00:00:00 +02:00
18
+ date: 2010-08-16 00:00:00 +02:00
20
19
  default_executable:
21
20
  dependencies:
22
21
  - !ruby/object:Gem::Dependency
@@ -274,14 +273,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
274
273
  required_rubygems_version: !ruby/object:Gem::Requirement
275
274
  none: false
276
275
  requirements:
277
- - - ">"
276
+ - - ">="
278
277
  - !ruby/object:Gem::Version
279
- hash: 25
278
+ hash: 3
280
279
  segments:
281
- - 1
282
- - 3
283
- - 1
284
- version: 1.3.1
280
+ - 0
281
+ version: "0"
285
282
  requirements: []
286
283
 
287
284
  rubyforge_project: autobuild