r2corba 1.5.1-universal-java → 1.6.1-universal-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/LICENSE +5 -5
- data/README.rdoc +62 -0
- data/THANKS +4 -4
- data/lib/corba/cbase/IORMap.rb +0 -1
- data/lib/corba/cbase/ORB.rb +26 -24
- data/lib/corba/cbase/Request.rb +4 -5
- data/lib/corba/cbase/Streams.rb +2 -3
- data/lib/corba/cbase/Stub.rb +0 -1
- data/lib/corba/cbase/Typecode.rb +6 -7
- data/lib/corba/cbase/Values.rb +4 -3
- data/lib/corba/cbase/exception.rb +6 -5
- data/lib/corba/cbase/poa.rb +1 -2
- data/lib/corba/cbase/policies.rb +3 -4
- data/lib/corba/cbase/post_require.rb +1 -2
- data/lib/corba/cbase/require.rb +10 -2
- data/lib/corba/cmds/base.rb +1 -2
- data/lib/corba/cmds/test.rb +0 -1
- data/lib/corba/common/Any.rb +3 -3
- data/lib/corba/common/IDL.rb +6 -10
- data/lib/corba/common/ORB.rb +22 -23
- data/lib/corba/common/Object.rb +18 -15
- data/lib/corba/common/Request.rb +1 -2
- data/lib/corba/common/Servant.rb +4 -5
- data/lib/corba/common/Struct.rb +1 -2
- data/lib/corba/common/Stub.rb +6 -7
- data/lib/corba/common/Typecode.rb +91 -65
- data/lib/corba/common/Union.rb +6 -2
- data/lib/corba/common/Values.rb +2 -2
- data/lib/corba/common/const.rb +2 -3
- data/lib/corba/common/exception.rb +2 -2
- data/lib/corba/common/require.rb +8 -1
- data/lib/corba/common/version.rb +3 -4
- data/lib/corba/idl/BiDirPolicyC.rb +2 -3
- data/lib/corba/idl/CosNamingC.rb +4 -5
- data/lib/corba/idl/CosNamingS.rb +2 -3
- data/lib/corba/idl/IDL.rb +1 -2
- data/lib/corba/idl/IORTable.pidl +0 -1
- data/lib/corba/idl/MessagingC.rb +2 -3
- data/lib/corba/idl/POAC.rb +10 -11
- data/lib/corba/idl/TAO_Ext.pidl +0 -1
- data/lib/corba/idl/r2c_orb.rb +5 -6
- data/lib/corba/idl/require.rb +0 -1
- data/lib/corba/jbase/Any.rb +29 -28
- data/lib/corba/jbase/IORMap.rb +1 -2
- data/lib/corba/jbase/ORB.rb +5 -6
- data/lib/corba/jbase/Object.rb +13 -14
- data/lib/corba/jbase/Request.rb +9 -10
- data/lib/corba/jbase/Servant.rb +11 -12
- data/lib/corba/jbase/ServerRequest.rb +8 -9
- data/lib/corba/jbase/Streams.rb +68 -5
- data/lib/corba/jbase/Stub.rb +0 -1
- data/lib/corba/jbase/Typecode.rb +17 -17
- data/lib/corba/jbase/Values.rb +2 -1
- data/lib/corba/jbase/exception.rb +2 -2
- data/lib/corba/jbase/poa.rb +21 -22
- data/lib/corba/jbase/policies.rb +33 -34
- data/lib/corba/jbase/post_require.rb +0 -1
- data/lib/corba/jbase/require.rb +5 -2
- data/lib/corba/naming.rb +0 -1
- data/lib/corba/naming_service.rb +0 -1
- data/lib/corba/poa.rb +1 -2
- data/lib/corba/policies.rb +1 -2
- data/lib/corba/require.rb +2 -3
- data/lib/corba/svcs/ins/cos_naming.rb +74 -68
- data/lib/corba/svcs/ins/ins.rb +58 -59
- data/lib/corba/svcs/ins/naming_service.rb +9 -10
- data/lib/corba.rb +1 -2
- data/lib/ridlbe/ruby/config.rb +78 -74
- data/lib/ridlbe/ruby/orb.pidlc +0 -0
- data/lib/ridlbe/ruby/require.rb +0 -1
- data/lib/ridlbe/ruby/walker.rb +311 -288
- data/mkrf_conf_bingem.rb +4 -6
- data/rakelib/bin.rake +2 -3
- data/rakelib/bin.rb +4 -5
- data/rakelib/build.rake +22 -22
- data/rakelib/config.rake +2 -3
- data/rakelib/config.rb +32 -34
- data/rakelib/gem.rake +53 -38
- data/rakelib/gem.rb +9 -10
- data/rakelib/package.rake +2 -3
- data/rakelib/test.rake +0 -1
- data/test/BiDirectional/Test.idl +0 -1
- data/test/BiDirectional/client.rb +18 -19
- data/test/BiDirectional/run_test.rb +11 -12
- data/test/BiDirectional/server.rb +21 -23
- data/test/CORBA_Services/Naming/BindingIterator/Test.idl +0 -1
- data/test/CORBA_Services/Naming/BindingIterator/client.rb +17 -18
- data/test/CORBA_Services/Naming/BindingIterator/run_test.rb +13 -14
- data/test/CORBA_Services/Naming/BindingIterator/server.rb +19 -20
- data/test/CORBA_Services/Naming/Corbaname/Test.idl +0 -1
- data/test/CORBA_Services/Naming/Corbaname/client.rb +15 -16
- data/test/CORBA_Services/Naming/Corbaname/run_test.rb +13 -14
- data/test/CORBA_Services/Naming/Corbaname/server.rb +27 -28
- data/test/CORBA_Services/Naming/Simple/Test.idl +0 -1
- data/test/CORBA_Services/Naming/Simple/client.rb +16 -17
- data/test/CORBA_Services/Naming/Simple/run_test.rb +13 -14
- data/test/CORBA_Services/Naming/Simple/server.rb +19 -20
- data/test/Collocation/Diamond.idl +0 -1
- data/test/Collocation/run_test.rb +10 -11
- data/test/Collocation/test.rb +27 -21
- data/test/Connect_Timeout/Test.idl +0 -1
- data/test/Connect_Timeout/client.rb +16 -18
- data/test/Connect_Timeout/run_test.rb +10 -11
- data/test/DII/Test.idl +0 -1
- data/test/DII/client.rb +30 -31
- data/test/DII/run_test.rb +11 -12
- data/test/DII/server.rb +16 -17
- data/test/DSI/Test.idl +0 -1
- data/test/DSI/client.rb +16 -17
- data/test/DSI/run_test.rb +11 -12
- data/test/DSI/server.rb +17 -18
- data/test/Exceptions/Test.idl +0 -1
- data/test/Exceptions/client.rb +22 -23
- data/test/Exceptions/run_test.rb +11 -12
- data/test/Exceptions/server.rb +16 -17
- data/test/Hello/Test.idl +0 -1
- data/test/Hello/client.rb +16 -17
- data/test/Hello/run_test.rb +11 -12
- data/test/Hello/server.rb +17 -18
- data/test/IDL_Test/Test.idl +4 -1
- data/test/IDL_Test/client.rb +24 -23
- data/test/IDL_Test/run_test.rb +11 -12
- data/test/IDL_Test/server.rb +23 -19
- data/test/IORMap/Test.idl +0 -1
- data/test/IORMap/client.rb +14 -15
- data/test/IORMap/run_test.rb +11 -12
- data/test/IORMap/server.rb +23 -24
- data/test/IORTable/Test.idl +0 -1
- data/test/IORTable/client.rb +14 -15
- data/test/IORTable/run_test.rb +11 -12
- data/test/IORTable/server.rb +23 -24
- data/test/Implicit_Conversion/Test.idl +0 -1
- data/test/Implicit_Conversion/client.rb +20 -18
- data/test/Implicit_Conversion/run_test.rb +11 -12
- data/test/Implicit_Conversion/server.rb +16 -17
- data/test/Multi_Threading/Multiple_ORB/Test.idl +0 -1
- data/test/Multi_Threading/Multiple_ORB/client.rb +14 -15
- data/test/Multi_Threading/Multiple_ORB/run_test.rb +12 -13
- data/test/Multi_Threading/Multiple_ORB/server.rb +17 -18
- data/test/Multi_Threading/Simple/Test.idl +0 -1
- data/test/Multi_Threading/Simple/client.rb +17 -18
- data/test/Multi_Threading/Simple/run_test.rb +11 -12
- data/test/Multi_Threading/Simple/server.rb +17 -18
- data/test/Multi_Threading/Threads/Test.idl +0 -4
- data/test/Multi_Threading/Threads/client.rb +23 -26
- data/test/Multi_Threading/Threads/run_test.rb +11 -12
- data/test/Multi_Threading/Threads/server.rb +19 -22
- data/test/Multi_Threading/Threads/watchdog.rb +16 -16
- data/test/Multiple_Servant_Interfaces/Test.idl +0 -1
- data/test/Multiple_Servant_Interfaces/client.rb +14 -15
- data/test/Multiple_Servant_Interfaces/run_test.rb +11 -12
- data/test/Multiple_Servant_Interfaces/server.rb +18 -19
- data/test/Nil/Test.idl +0 -1
- data/test/Nil/run_test.rb +10 -11
- data/test/Nil/test.rb +22 -20
- data/test/OBV/AbstractInterface/client.rb +14 -15
- data/test/OBV/AbstractInterface/run_test.rb +11 -12
- data/test/OBV/AbstractInterface/server.rb +20 -20
- data/test/OBV/AbstractInterface/test.idl +0 -1
- data/test/OBV/Custom/OBV_impl.rb +2 -1
- data/test/OBV/Custom/client.rb +14 -15
- data/test/OBV/Custom/run_test.rb +11 -12
- data/test/OBV/Custom/server.rb +16 -17
- data/test/OBV/Simple/OBV_impl.rb +1 -1
- data/test/OBV/Simple/client.rb +14 -15
- data/test/OBV/Simple/run_test.rb +11 -12
- data/test/OBV/Simple/server.rb +16 -17
- data/test/OBV/Simple_Event/Event_impl.rb +1 -1
- data/test/OBV/Simple_Event/client.rb +14 -15
- data/test/OBV/Simple_Event/run_test.rb +11 -12
- data/test/OBV/Simple_Event/server.rb +16 -17
- data/test/OBV/Supports/client.rb +19 -20
- data/test/OBV/Supports/run_test.rb +11 -12
- data/test/OBV/Supports/server.rb +15 -16
- data/test/OBV/Supports/supports.idl +0 -1
- data/test/OBV/Supports/supports_impl.rb +3 -1
- data/test/OBV/Tree/client.rb +14 -15
- data/test/OBV/Tree/run_test.rb +11 -12
- data/test/OBV/Tree/server.rb +19 -20
- data/test/OBV/Tree/test.idl +0 -1
- data/test/OBV/Truncatable/Extra.idl +0 -1
- data/test/OBV/Truncatable/Truncatable_impl.rb +1 -2
- data/test/OBV/Truncatable/client.rb +57 -58
- data/test/OBV/Truncatable/run_test.rb +11 -12
- data/test/OBV/Truncatable/server.rb +15 -16
- data/test/OBV/ValueBox/client.rb +154 -154
- data/test/OBV/ValueBox/run_test.rb +11 -12
- data/test/OBV/ValueBox/server.rb +42 -42
- data/test/Object/Test.idl +0 -1
- data/test/Object/client.rb +15 -16
- data/test/Object/run_test.rb +11 -12
- data/test/Object/server.rb +19 -20
- data/test/POA/run_test.rb +10 -11
- data/test/POA/test.rb +17 -18
- data/test/Param_Test/client.rb +53 -54
- data/test/Param_Test/run_test.rb +11 -12
- data/test/Param_Test/server.rb +60 -61
- data/test/Performance/Simple/Test.idl +0 -1
- data/test/Performance/Simple/client.rb +16 -17
- data/test/Performance/Simple/run_test.rb +11 -12
- data/test/Performance/Simple/server.rb +16 -17
- data/test/Policies/Test.idl +0 -1
- data/test/Policies/run_test.rb +10 -11
- data/test/Policies/test.rb +23 -25
- data/test/Timeout/client.rb +21 -22
- data/test/Timeout/run_test.rb +11 -12
- data/test/Timeout/server.rb +19 -20
- data/test/Timeout/test.idl +0 -1
- data/test/lib/assert.rb +0 -2
- data/test/lib/test.rb +29 -25
- data/test/test_runner.rb +22 -24
- metadata +27 -64
- data/README +0 -62
- data/jacorb/lib/antlr-2.7.2.jar +0 -0
- data/jacorb/lib/jacorb-3.5.jar +0 -0
- data/jacorb/lib/jacorb-omgapi-3.5.jar +0 -0
- data/jacorb/lib/jacorb-services-3.5.jar +0 -0
- data/jacorb/lib/slf4j-api-1.7.6.jar +0 -0
- data/jacorb/lib/slf4j-jdk14-1.7.6.jar +0 -0
- data/test/BiDirectional/server.ior +0 -1
- data/test/CORBA_Services/Naming/BindingIterator/ins.ior +0 -1
- data/test/CORBA_Services/Naming/Corbaname/corbaname.ior +0 -1
- data/test/CORBA_Services/Naming/Corbaname/ins.ior +0 -1
- data/test/CORBA_Services/Naming/Simple/ins.ior +0 -1
- data/test/DII/server.ior +0 -1
- data/test/DSI/server.ior +0 -1
- data/test/Exceptions/server.ior +0 -1
- data/test/Hello/gateway.ior +0 -1
- data/test/IDL_Test/server.ior +0 -1
- data/test/IORMap/server.ior +0 -1
- data/test/IORTable/server.ior +0 -0
- data/test/Implicit_Conversion/server.ior +0 -1
- data/test/Multi_Threading/Multiple_ORB/server0.ior +0 -1
- data/test/Multi_Threading/Multiple_ORB/server1.ior +0 -1
- data/test/Multi_Threading/Simple/server.ior +0 -1
- data/test/Multi_Threading/Threads/server.ior +0 -1
- data/test/Multi_Threading/Threads/watchdog.ior +0 -1
- data/test/Multiple_Servant_Interfaces/server.ior +0 -1
- data/test/OBV/AbstractInterface/server.ior +0 -1
- data/test/OBV/Custom/server.ior +0 -1
- data/test/OBV/Simple/server.ior +0 -1
- data/test/OBV/Simple_Event/server.ior +0 -1
- data/test/OBV/Supports/server.ior +0 -1
- data/test/OBV/Tree/server.ior +0 -1
- data/test/OBV/Truncatable/server.ior +0 -1
- data/test/OBV/ValueBox/server.ior +0 -1
- data/test/Object/server.ior +0 -1
- data/test/Param_Test/server.ior +0 -1
- data/test/Performance/Simple/server.ior +0 -1
- data/test/Timeout/server.ior +0 -1
- data/test/test.log +0 -20
- data/test/test2.log +0 -5000
data/mkrf_conf_bingem.rb
CHANGED
@@ -8,7 +8,6 @@
|
|
8
8
|
# included with this program.
|
9
9
|
#
|
10
10
|
# Copyright (c) Remedy IT Expertise BV
|
11
|
-
# Chamber of commerce Rotterdam nr.276339, The Netherlands
|
12
11
|
#--------------------------------------------------------------------
|
13
12
|
|
14
13
|
# generate Rakefile with appropriate default task (all actual task in rakelib)
|
@@ -24,7 +23,6 @@ File.open('Rakefile', 'w') do |f|
|
|
24
23
|
# included with this program.
|
25
24
|
#
|
26
25
|
# Copyright (c) Remedy IT Expertise BV
|
27
|
-
# Chamber of commerce Rotterdam nr.276339, The Netherlands
|
28
26
|
#--------------------------------------------------------------------
|
29
27
|
|
30
28
|
if defined?(JRUBY_VERSION)
|
@@ -38,7 +36,7 @@ end
|
|
38
36
|
if defined?(JRUBY_VERSION)
|
39
37
|
|
40
38
|
unless system("ruby -S rake -- configure --jacorb-home=#{File.expand_path('ext')}")
|
41
|
-
$stderr.puts
|
39
|
+
$stderr.puts 'Failed to configure R2CORBA'
|
42
40
|
exit(1)
|
43
41
|
end
|
44
42
|
|
@@ -143,9 +141,9 @@ else
|
|
143
141
|
|
144
142
|
end
|
145
143
|
|
146
|
-
puts
|
147
|
-
unless system(
|
148
|
-
puts
|
144
|
+
puts 'Running rake -- configure --without-tao'
|
145
|
+
unless system('rake -- configure --without-tao')
|
146
|
+
puts 'Failed to configure R2CORBA.'
|
149
147
|
exit(1)
|
150
148
|
end
|
151
149
|
end
|
data/rakelib/bin.rake
CHANGED
@@ -8,7 +8,6 @@
|
|
8
8
|
# included with this program.
|
9
9
|
#
|
10
10
|
# Copyright (c) Remedy IT Expertise BV
|
11
|
-
# Chamber of commerce Rotterdam nr.276339, The Netherlands
|
12
11
|
#--------------------------------------------------------------------
|
13
12
|
|
14
13
|
require File.join(File.dirname(__FILE__), 'bin.rb')
|
@@ -43,9 +42,9 @@ namespace :r2corba do
|
|
43
42
|
|
44
43
|
task :check do
|
45
44
|
R2CORBA::Bin.binaries.each do |bin|
|
46
|
-
if File.
|
45
|
+
if File.exist?(File.join('bin', bin))
|
47
46
|
content = IO.read(File.join('bin', bin))
|
48
|
-
rm_f(File.join('bin', bin)) unless content == R2CORBA::Bin.__send__(bin.gsub('.','_').to_sym)
|
47
|
+
rm_f(File.join('bin', bin)) unless content == R2CORBA::Bin.__send__(bin.gsub('.', '_').to_sym)
|
49
48
|
end
|
50
49
|
end
|
51
50
|
end
|
data/rakelib/bin.rb
CHANGED
@@ -8,7 +8,6 @@
|
|
8
8
|
# included with this program.
|
9
9
|
#
|
10
10
|
# Copyright (c) Remedy IT Expertise BV
|
11
|
-
# Chamber of commerce Rotterdam nr.276339, The Netherlands
|
12
11
|
#--------------------------------------------------------------------
|
13
12
|
|
14
13
|
require File.join(File.dirname(__FILE__), 'config.rb')
|
@@ -19,7 +18,7 @@ module R2CORBA
|
|
19
18
|
|
20
19
|
def self.ridlc
|
21
20
|
<<_SH_TXT
|
22
|
-
#!#{Config.is_win32 ? '/bin/' : (`which env`).strip+' '}#{R2CORBA::RB_CONFIG['ruby_install_name']}
|
21
|
+
#!#{Config.is_win32 ? '/bin/' : (`which env`).strip + ' '}#{R2CORBA::RB_CONFIG['ruby_install_name']}
|
23
22
|
#---------------------------------
|
24
23
|
# This file is generated
|
25
24
|
#---------------------------------
|
@@ -87,7 +86,7 @@ _BAT_TXT
|
|
87
86
|
|
88
87
|
def self.rins
|
89
88
|
<<_SH_TXT
|
90
|
-
#!#{Config.is_win32 ? '/bin/' : (`which env`).strip+' '}#{R2CORBA::RB_CONFIG['ruby_install_name']}
|
89
|
+
#!#{Config.is_win32 ? '/bin/' : (`which env`).strip + ' '}#{R2CORBA::RB_CONFIG['ruby_install_name']}
|
91
90
|
#---------------------------------
|
92
91
|
# This file is generated
|
93
92
|
#---------------------------------
|
@@ -99,7 +98,7 @@ _SH_TXT
|
|
99
98
|
|
100
99
|
def self.r2corba
|
101
100
|
<<_SH_TXT
|
102
|
-
#!#{Config.is_win32 ? '/bin/' : (`which env`).strip+' '}#{R2CORBA::RB_CONFIG['ruby_install_name']}
|
101
|
+
#!#{Config.is_win32 ? '/bin/' : (`which env`).strip + ' '}#{R2CORBA::RB_CONFIG['ruby_install_name']}
|
103
102
|
#---------------------------------
|
104
103
|
# This file is generated
|
105
104
|
#---------------------------------
|
@@ -143,4 +142,4 @@ _BAT_TXT
|
|
143
142
|
|
144
143
|
end # Bin
|
145
144
|
|
146
|
-
end # R2CORBA
|
145
|
+
end # R2CORBA
|
data/rakelib/build.rake
CHANGED
@@ -8,7 +8,6 @@
|
|
8
8
|
# included with this program.
|
9
9
|
#
|
10
10
|
# Copyright (c) Remedy IT Expertise BV
|
11
|
-
# Chamber of commerce Rotterdam nr.276339, The Netherlands
|
12
11
|
#--------------------------------------------------------------------
|
13
12
|
|
14
13
|
require File.join(File.dirname(__FILE__), 'config.rb')
|
@@ -32,56 +31,57 @@ task :build => 'r2corba:build'
|
|
32
31
|
|
33
32
|
## compile base IDL
|
34
33
|
|
35
|
-
r2c_idlc_root = File.join('lib','corba','idl')
|
34
|
+
r2c_idlc_root = File.join('lib', 'corba', 'idl')
|
35
|
+
stdidl_root = File.join('lib', 'idl')
|
36
36
|
|
37
|
-
orb_pidlc = File.join('lib', 'ridlbe','ruby','orb.pidlc')
|
37
|
+
orb_pidlc = File.join('lib', 'ridlbe', 'ruby', 'orb.pidlc')
|
38
38
|
file orb_pidlc => [R2CORBA::BUILD_CFG] do |t|
|
39
|
-
sh("#{R2CORBA::Config.ridlc} --preprocess --output #{t.name} --
|
39
|
+
sh("#{R2CORBA::Config.ridlc} --preprocess --output #{t.name} --include=#{stdidl_root} orb.idl")
|
40
40
|
end
|
41
41
|
Rake::Task['r2corba:build_idl'].enhance [orb_pidlc]
|
42
42
|
CLOBBER.include orb_pidlc
|
43
43
|
|
44
|
-
file File.join(r2c_idlc_root,'r2c_orb.rb') => [R2CORBA::BUILD_CFG, orb_pidlc] do |t|
|
44
|
+
file File.join(r2c_idlc_root, 'r2c_orb.rb') => [R2CORBA::BUILD_CFG, orb_pidlc] do |t|
|
45
45
|
cmd = R2CORBA::Config.ridlc
|
46
|
-
cmd << " --ignore-pidl --output #{t.name} --namespace=R2CORBA --
|
47
|
-
|
46
|
+
cmd << " --ignore-pidl --output #{t.name} --namespace=R2CORBA --include=#{stdidl_root}" <<
|
47
|
+
' --stubs-only --expand-includes --search-includepath --no-libinit --interface-as-class=TypeCode orb.idl'
|
48
48
|
sh(cmd)
|
49
49
|
end
|
50
|
-
Rake::Task['r2corba:build_idl'].enhance [File.join(r2c_idlc_root,'r2c_orb.rb')]
|
51
|
-
CLOBBER.include File.join(r2c_idlc_root,'r2c_orb.rb')
|
50
|
+
Rake::Task['r2corba:build_idl'].enhance [File.join(r2c_idlc_root, 'r2c_orb.rb')]
|
51
|
+
CLOBBER.include File.join(r2c_idlc_root, 'r2c_orb.rb')
|
52
52
|
|
53
53
|
[ ['POA', 'PortableServer.pidl'],
|
54
54
|
['Messaging', 'Messaging.pidl'],
|
55
55
|
['BiDirPolicy', 'BiDirPolicy.pidl'],
|
56
56
|
].each do |stub, pidl|
|
57
|
-
file File.join(r2c_idlc_root,stub+'C.rb') => [R2CORBA::BUILD_CFG, orb_pidlc] do |t|
|
57
|
+
file File.join(r2c_idlc_root, stub + 'C.rb') => [R2CORBA::BUILD_CFG, orb_pidlc] do |t|
|
58
58
|
cmd = R2CORBA::Config.ridlc
|
59
|
-
cmd << " --output #{t.name} --namespace=R2CORBA --
|
59
|
+
cmd << " --output #{t.name} --namespace=R2CORBA --include=#{stdidl_root} --stubs-only --expand-includes --search-includepath --no-libinit #{pidl}"
|
60
60
|
sh(cmd)
|
61
61
|
end
|
62
|
-
Rake::Task['r2corba:build_idl'].enhance [File.join(r2c_idlc_root,stub+'C.rb')]
|
63
|
-
CLOBBER.include File.join(r2c_idlc_root,stub+'C.rb')
|
62
|
+
Rake::Task['r2corba:build_idl'].enhance [File.join(r2c_idlc_root, stub + 'C.rb')]
|
63
|
+
CLOBBER.include File.join(r2c_idlc_root, stub + 'C.rb')
|
64
64
|
end
|
65
65
|
|
66
66
|
unless defined?(JRUBY_VERSION)
|
67
|
-
r2tao_root = File.join('lib','corba','cbase')
|
67
|
+
r2tao_root = File.join('lib', 'corba', 'cbase')
|
68
68
|
tao_root = get_config('taoroot')
|
69
69
|
[ 'TAO_Ext', 'IORTable' ].each do |stub|
|
70
|
-
file File.join(r2c_idlc_root,stub+'C.rb') => [R2CORBA::BUILD_CFG, orb_pidlc] do |t|
|
70
|
+
file File.join(r2c_idlc_root, stub + 'C.rb') => [R2CORBA::BUILD_CFG, orb_pidlc] do |t|
|
71
71
|
cmd = R2CORBA::Config.ridlc
|
72
|
-
cmd << " --output #{t.name} --namespace=R2CORBA --
|
73
|
-
" --search-includepath --no-libinit #{File.join(r2c_idlc_root, stub+'.pidl')}"
|
72
|
+
cmd << " --output #{t.name} --namespace=R2CORBA --include=#{stdidl_root} --stubs-only --expand-includes -I#{tao_root}" <<
|
73
|
+
" --search-includepath --no-libinit #{File.join(r2c_idlc_root, stub + '.pidl')}"
|
74
74
|
sh(cmd)
|
75
75
|
end
|
76
|
-
Rake::Task['r2corba:build_idl'].enhance [File.join(r2c_idlc_root,stub+'C.rb')]
|
77
|
-
CLOBBER.include File.join(r2c_idlc_root,stub+'C.rb')
|
76
|
+
Rake::Task['r2corba:build_idl'].enhance [File.join(r2c_idlc_root, stub + 'C.rb')]
|
77
|
+
CLOBBER.include File.join(r2c_idlc_root, stub + 'C.rb')
|
78
78
|
end
|
79
79
|
end
|
80
80
|
|
81
81
|
file File.join(r2c_idlc_root, 'CosNamingC.rb') => [R2CORBA::BUILD_CFG, orb_pidlc] do |t|
|
82
82
|
cmd = R2CORBA::Config.ridlc
|
83
|
-
cmd << " -o #{r2c_idlc_root} --
|
83
|
+
cmd << " -o #{r2c_idlc_root} --include=#{stdidl_root} --expand-includes --search-includepath CosNaming.idl"
|
84
84
|
sh(cmd)
|
85
85
|
end
|
86
|
-
Rake::Task['r2corba:build_idl'].enhance [File.join(r2c_idlc_root,'CosNamingC.rb')]
|
87
|
-
CLOBBER.include File.join(r2c_idlc_root,'CosNamingC.rb')
|
86
|
+
Rake::Task['r2corba:build_idl'].enhance [File.join(r2c_idlc_root, 'CosNamingC.rb')]
|
87
|
+
CLOBBER.include File.join(r2c_idlc_root, 'CosNamingC.rb')
|
data/rakelib/config.rake
CHANGED
@@ -8,7 +8,6 @@
|
|
8
8
|
# included with this program.
|
9
9
|
#
|
10
10
|
# Copyright (c) Remedy IT Expertise BV
|
11
|
-
# Chamber of commerce Rotterdam nr.276339, The Netherlands
|
12
11
|
#--------------------------------------------------------------------
|
13
12
|
|
14
13
|
require File.join(File.dirname(__FILE__), 'config.rb')
|
@@ -30,7 +29,7 @@ namespace :r2corba do
|
|
30
29
|
namespace :config do
|
31
30
|
task :show do
|
32
31
|
R2CORBA::CFGKEYS.each do |ck|
|
33
|
-
puts
|
32
|
+
puts '%20s => %s' % [ck, get_config(ck)]
|
34
33
|
end
|
35
34
|
end
|
36
35
|
end
|
@@ -49,4 +48,4 @@ file R2CORBA::BUILD_CFG do
|
|
49
48
|
end
|
50
49
|
end
|
51
50
|
|
52
|
-
CLOBBER.include R2CORBA::BUILD_CFG
|
51
|
+
CLOBBER.include R2CORBA::BUILD_CFG
|
data/rakelib/config.rb
CHANGED
@@ -8,7 +8,6 @@
|
|
8
8
|
# included with this program.
|
9
9
|
#
|
10
10
|
# Copyright (c) Remedy IT Expertise BV
|
11
|
-
# Chamber of commerce Rotterdam nr.276339, The Netherlands
|
12
11
|
#--------------------------------------------------------------------
|
13
12
|
|
14
13
|
require 'rbconfig'
|
@@ -87,8 +86,8 @@ if (Rake::Version::MAJOR.to_i == 10 &&
|
|
87
86
|
|
88
87
|
begin
|
89
88
|
return OptionParser.new do |opts|
|
90
|
-
opts.banner =
|
91
|
-
opts.separator
|
89
|
+
opts.banner = ''
|
90
|
+
opts.separator ''
|
92
91
|
|
93
92
|
standard_rake_options.each { |args| opts.on(*args) }
|
94
93
|
opts.environment('RAKEOPT')
|
@@ -172,7 +171,7 @@ module R2CORBA
|
|
172
171
|
:aceinstdir => '',
|
173
172
|
:'with-ipv6' => false,
|
174
173
|
:'with-ssl' => false,
|
175
|
-
:sslroot => ENV['SSL_ROOT'] || (RUBY_PLATFORM =~ /
|
174
|
+
:sslroot => ENV['SSL_ROOT'] || (RUBY_PLATFORM =~ /mingw/ ? '' : '/usr'),
|
176
175
|
:'with-debug' => false,
|
177
176
|
})
|
178
177
|
BUILD_CFG = '.rconfig'
|
@@ -206,18 +205,17 @@ module R2CORBA
|
|
206
205
|
@@ruby_ver[2]
|
207
206
|
end
|
208
207
|
|
209
|
-
@@is_win32 = RUBY_PLATFORM =~ /
|
208
|
+
@@is_win32 = RUBY_PLATFORM =~ /mingw/ ? true : false
|
210
209
|
@@is_win64 = (@@is_win32 && (RUBY_PLATFORM =~ /x64/)) ? true : false
|
211
210
|
@@is_linux = RB_CONFIG['target_os'] =~ /linux/ ? true : false
|
212
211
|
@@is_osx = RUBY_PLATFORM =~ /darwin/ ? true : false
|
213
212
|
|
214
213
|
if @@is_linux
|
215
214
|
# determin distro
|
216
|
-
io_args = [$/, {:encoding => 'utf-8'}] if rb_ver_major > 1 || (rb_ver_minor > 8 && rb_ver_major == 1)
|
217
215
|
name = 'linux'
|
218
216
|
if File.readable?('/etc/os-release')
|
219
217
|
# find 'NAME=...'
|
220
|
-
File.foreach('/etc/os-release',
|
218
|
+
File.foreach('/etc/os-release', :encoding => 'utf-8') do |ln|
|
221
219
|
if /^NAME=(.*)$/ =~ ln.strip
|
222
220
|
name = $1.downcase
|
223
221
|
break
|
@@ -225,7 +223,7 @@ module R2CORBA
|
|
225
223
|
end
|
226
224
|
elsif File.readable?('/etc/lsb-release')
|
227
225
|
# find 'DISTRIB_ID='
|
228
|
-
File.foreach('/etc/lsb-release',
|
226
|
+
File.foreach('/etc/lsb-release', :encoding => 'utf-8') do |ln|
|
229
227
|
if /^DISTRIB_ID=(.*)$/ =~ ln.strip
|
230
228
|
name = $1.downcase
|
231
229
|
break
|
@@ -233,9 +231,9 @@ module R2CORBA
|
|
233
231
|
end
|
234
232
|
elsif File.readable?('/etc/redhat-release')
|
235
233
|
name = File.read('/etc/redhat-release').strip.downcase
|
236
|
-
elsif File.
|
234
|
+
elsif File.exist?('/etc/SuSE-release')
|
237
235
|
name = 'suse'
|
238
|
-
elsif File.
|
236
|
+
elsif File.exist?('/etc/debian_version')
|
239
237
|
name = 'debian'
|
240
238
|
end
|
241
239
|
@@linux_distro = case name
|
@@ -274,7 +272,7 @@ module R2CORBA
|
|
274
272
|
@@is_osx
|
275
273
|
end
|
276
274
|
|
277
|
-
@@cpu_cores = (@@is_linux ? `cat /proc/cpuinfo | grep processor | wc -l`.to_i : 1)
|
275
|
+
@@cpu_cores = (@@is_linux ? `cat /proc/cpuinfo | grep processor | wc -l`.to_i : (ENV['NUMBER_OF_PROCESSORS'] || 1).to_i)
|
278
276
|
|
279
277
|
def self.cpu_cores
|
280
278
|
@@cpu_cores
|
@@ -311,14 +309,14 @@ module R2CORBA
|
|
311
309
|
ENV['MPC_ROOT'] = get_config('mpcroot')
|
312
310
|
|
313
311
|
if is_win32
|
314
|
-
ENV['PATH'] = "#{File.join(ENV['ACE_ROOT'],'lib')}#{';'}#{ENV['PATH']}"
|
312
|
+
ENV['PATH'] = "#{File.join(ENV['ACE_ROOT'], 'lib')}#{';'}#{ENV['PATH']}"
|
315
313
|
ENV['SSL_ROOT'] = get_config('sslroot') if get_config('with-ssl')
|
316
314
|
elsif RUBY_PLATFORM =~ /darwin/
|
317
|
-
ENV['DYLD_LIBRARY_PATH'] = "#{File.join(ENV['ACE_ROOT'],'lib')}#{File::PATH_SEPARATOR}#{ENV['DYLD_LIBRARY_PATH'] || ""}"
|
318
|
-
ENV['SSL_ROOT'] = get_config('sslroot') if get_config('with-ssl') && get_config('sslroot')!='/usr'
|
315
|
+
ENV['DYLD_LIBRARY_PATH'] = "#{File.join(ENV['ACE_ROOT'], 'lib')}#{File::PATH_SEPARATOR}#{ENV['DYLD_LIBRARY_PATH'] || ""}"
|
316
|
+
ENV['SSL_ROOT'] = get_config('sslroot') if get_config('with-ssl') && get_config('sslroot') != '/usr'
|
319
317
|
else
|
320
|
-
ENV['LD_LIBRARY_PATH'] = "#{File.join(ENV['ACE_ROOT'],'lib')}#{File::PATH_SEPARATOR}#{ENV['LD_LIBRARY_PATH'] || ""}"
|
321
|
-
ENV['SSL_ROOT'] = get_config('sslroot') if get_config('with-ssl') && get_config('sslroot')!='/usr'
|
318
|
+
ENV['LD_LIBRARY_PATH'] = "#{File.join(ENV['ACE_ROOT'], 'lib')}#{File::PATH_SEPARATOR}#{ENV['LD_LIBRARY_PATH'] || ""}"
|
319
|
+
ENV['SSL_ROOT'] = get_config('sslroot') if get_config('with-ssl') && get_config('sslroot') != '/usr'
|
322
320
|
end
|
323
321
|
|
324
322
|
else
|
@@ -349,7 +347,7 @@ module R2CORBA
|
|
349
347
|
@@ridlc = File.join('bin', 'ridlc')
|
350
348
|
|
351
349
|
# check availability of RIDL; either as gem or in subdir
|
352
|
-
if (@@ridl_local = File.
|
350
|
+
if (@@ridl_local = File.exist?(File.join('ridl', 'lib', 'ridl', 'ridl.rb')))
|
353
351
|
incdirs = [
|
354
352
|
File.expand_path(File.join('ridl', 'lib')),
|
355
353
|
File.expand_path('lib'),
|
@@ -369,9 +367,9 @@ module R2CORBA
|
|
369
367
|
def self.define
|
370
368
|
_argv = Rake.application.cleanup_args(ARGV)
|
371
369
|
OptionParser.new do |opts|
|
372
|
-
opts.banner =
|
370
|
+
opts.banner = 'Usage: rake [rake options] -- configure [options]'
|
373
371
|
|
374
|
-
opts.separator
|
372
|
+
opts.separator ''
|
375
373
|
|
376
374
|
opts.on('--prefix=path',
|
377
375
|
"path prefix of target environment [#{get_config(:prefix)}]") {|v| set_config(:prefix, File.expand_path(v))}
|
@@ -402,7 +400,7 @@ module R2CORBA
|
|
402
400
|
opts.on('--rbdir=path',
|
403
401
|
"the directory for ruby scripts [#{get_config(:rbdir)}]") {|v| CONFIG[:rbdir] = v}
|
404
402
|
opts.on('--sodir=path',
|
405
|
-
"the directory for ruby
|
403
|
+
"the directory for ruby extensions [#{get_config(:sodir)}]") {|v| CONFIG[:sodir] = v}
|
406
404
|
if defined?(JRUBY_VERSION)
|
407
405
|
opts.on('--without-jacorb',
|
408
406
|
"do *not* install JacORB JAR files with R2CORBA [#{get_config('without-jacorb')}]") {|v| CONFIG[:'without-jacorb'] = true}
|
@@ -410,7 +408,7 @@ module R2CORBA
|
|
410
408
|
"the path to the root directory of JacORB [#{get_config(:jacorb_home)}]") {|v| CONFIG[:jacorb_home] = v}
|
411
409
|
else
|
412
410
|
opts.on('--makeprog=name',
|
413
|
-
"the make program to compile ruby
|
411
|
+
"the make program to compile ruby extensions [#{get_config(:makeprog)}]") {|v| CONFIG[:makeprog] = v}
|
414
412
|
opts.on('--without-tao',
|
415
413
|
"do *not* configure/build/clean the ACE+TAO libraries [#{get_config('without-tao')}]") {|v| CONFIG[:'without-tao'] = true }
|
416
414
|
opts.on('--aceroot=path',
|
@@ -431,7 +429,7 @@ module R2CORBA
|
|
431
429
|
"build with debugger support [#{get_config('with-debug')}]") {|v| CONFIG[:'with-debug'] = true}
|
432
430
|
end
|
433
431
|
|
434
|
-
opts.separator
|
432
|
+
opts.separator ''
|
435
433
|
|
436
434
|
opts.on('--help', 'Show this help message') { puts opts; puts; exit }
|
437
435
|
end.parse!(_argv)
|
@@ -440,14 +438,14 @@ module R2CORBA
|
|
440
438
|
def self.check
|
441
439
|
if defined?(JRUBY_VERSION)
|
442
440
|
# check availability of JacORB
|
443
|
-
if get_config('jacorb_home')=='' && File.directory?('jacorb')
|
441
|
+
if get_config('jacorb_home') == '' && File.directory?('jacorb')
|
444
442
|
set_config('jacorb_home', File.expand_path('jacorb'))
|
445
443
|
end
|
446
|
-
raise
|
444
|
+
raise 'Cannot find JacORB. Missing JACORB_HOME configuration!' if get_config('jacorb_home').empty?
|
447
445
|
else
|
448
446
|
if Dir[File.join('ext', 'libACE.*')].empty? # Don't check for ACE/TAO installation when executed for binary gem install
|
449
447
|
|
450
|
-
if get_config('without-tao') && !(File.directory?(File.join('ACE','ACE_wrappers')) || File.directory?(File.join('ACE','ACE')))
|
448
|
+
if get_config('without-tao') && !(File.directory?(File.join('ACE', 'ACE_wrappers')) || File.directory?(File.join('ACE', 'ACE')))
|
451
449
|
|
452
450
|
# check if a user defined ACE/TAO location is specified or we're using a system standard install
|
453
451
|
if get_config('aceroot').empty?
|
@@ -462,14 +460,14 @@ module R2CORBA
|
|
462
460
|
|
463
461
|
else
|
464
462
|
# check availability of ACE/TAO
|
465
|
-
if get_config('aceroot').empty? && (File.directory?(File.join('ACE','ACE_wrappers')) || File.directory?(File.join('ACE','ACE')))
|
466
|
-
set_config('aceroot', File.directory?(File.join('ACE','ACE_wrappers')) ? File.expand_path(File.join('ACE','ACE_wrappers')) : File.expand_path(File.join('ACE','ACE')))
|
463
|
+
if get_config('aceroot').empty? && (File.directory?(File.join('ACE', 'ACE_wrappers')) || File.directory?(File.join('ACE', 'ACE')))
|
464
|
+
set_config('aceroot', File.directory?(File.join('ACE', 'ACE_wrappers')) ? File.expand_path(File.join('ACE', 'ACE_wrappers')) : File.expand_path(File.join('ACE', 'ACE')))
|
467
465
|
end
|
468
|
-
if get_config('taoroot').empty? && (File.directory?(File.join(get_config('aceroot'),'TAO')) || File.directory?(File.join('ACE','TAO')))
|
469
|
-
set_config('taoroot', File.directory?(File.join(get_config('aceroot'),'TAO')) ? File.expand_path(File.join(get_config('aceroot'),'TAO')) : File.expand_path(File.join('ACE','TAO')))
|
466
|
+
if get_config('taoroot').empty? && (File.directory?(File.join(get_config('aceroot'), 'TAO')) || File.directory?(File.join('ACE', 'TAO')))
|
467
|
+
set_config('taoroot', File.directory?(File.join(get_config('aceroot'), 'TAO')) ? File.expand_path(File.join(get_config('aceroot'), 'TAO')) : File.expand_path(File.join('ACE', 'TAO')))
|
470
468
|
end
|
471
|
-
if get_config('mpcroot').empty? && (File.directory?(File.join(
|
472
|
-
set_config('mpcroot', File.directory?(File.join(
|
469
|
+
if get_config('mpcroot').empty? && (File.directory?(File.join('ACE', 'MPC')) || File.directory?(File.join(get_config('aceroot'), 'MPC')))
|
470
|
+
set_config('mpcroot', File.directory?(File.join('ACE', 'MPC')) ? File.expand_path(File.join('ACE', 'MPC')) : File.expand_path(File.join(get_config('aceroot'), 'MPC')))
|
473
471
|
end
|
474
472
|
|
475
473
|
set_config('aceinstdir', get_config('sodir')) if get_config('aceinstdir').empty?
|
@@ -516,8 +514,8 @@ module R2CORBA
|
|
516
514
|
end
|
517
515
|
|
518
516
|
# check availability of RIDL; either as gem or in subdir
|
519
|
-
unless File.
|
520
|
-
raise
|
517
|
+
unless File.exist?(File.join('ridl', 'lib', 'ridl', 'ridl.rb')) || (`gem search -i -q ridl`.strip) == 'true'
|
518
|
+
raise 'Missing RIDL installation. R2CORBA requires RIDL installed either as gem or in subdirectory ridl.'
|
521
519
|
end
|
522
520
|
end
|
523
521
|
|
@@ -541,4 +539,4 @@ end
|
|
541
539
|
include R2CORBA::AccessMethods
|
542
540
|
|
543
541
|
# load current config (if any)
|
544
|
-
R2CORBA::Config.load
|
542
|
+
R2CORBA::Config.load
|
data/rakelib/gem.rake
CHANGED
@@ -8,7 +8,6 @@
|
|
8
8
|
# included with this program.
|
9
9
|
#
|
10
10
|
# Copyright (c) Remedy IT Expertise BV
|
11
|
-
# Chamber of commerce Rotterdam nr.276339, The Netherlands
|
12
11
|
#--------------------------------------------------------------------
|
13
12
|
|
14
13
|
require File.join(File.dirname(__FILE__), 'gem.rb')
|
@@ -26,7 +25,7 @@ namespace :r2corba do
|
|
26
25
|
unless defined?(JRUBY_VERSION) || get_config('without-tao')
|
27
26
|
# install ACE+TAO dlls
|
28
27
|
R2CORBA::Ext.ace_shlibs.each do |acelib|
|
29
|
-
libmask = R2CORBA::Config.is_linux ? acelib+'.*' : acelib
|
28
|
+
libmask = R2CORBA::Config.is_linux ? acelib + '.*' : acelib
|
30
29
|
path = Dir.glob(libmask).first
|
31
30
|
raise "Cannot find ACE+TAO library #{File.basename(acelib)}." unless path
|
32
31
|
FileUtils.install(path, ext_dir, :mode => 0555, :verbose => Rake.verbose)
|
@@ -44,7 +43,7 @@ namespace :r2corba do
|
|
44
43
|
if R2CORBA::Config.is_linux
|
45
44
|
# create unversioned ACE/TAO lib symlinks
|
46
45
|
R2CORBA::Ext.ace_shlibs('.so', 'ext').each do |acelib|
|
47
|
-
acelib_ver = File.expand_path(Dir[acelib+'.*'].first)
|
46
|
+
acelib_ver = File.expand_path(Dir[acelib + '.*'].first)
|
48
47
|
ln_s(acelib_ver, acelib)
|
49
48
|
end
|
50
49
|
end
|
@@ -68,16 +67,20 @@ namespace :r2corba do
|
|
68
67
|
gem.summary = %Q{TAO sourcecode for building R2CORBA}
|
69
68
|
gem.description = %Q{TAO sourcecode for building R2CORBA.}
|
70
69
|
gem.email = 'mcorino@remedy.nl'
|
71
|
-
gem.homepage =
|
72
|
-
gem.authors = ['Martin Corino']
|
70
|
+
gem.homepage = 'https://www.remedy.nl/opensource/r2corba.html'
|
71
|
+
gem.authors = ['Martin Corino', 'Johnny Willemsen']
|
73
72
|
gem.files = Dir['lib/taosource/**/*']
|
74
73
|
gem.files.concat(Dir["src/ACE+TAO-src-#{_ace_ver}.tar.gz"])
|
75
74
|
gem.files << 'mkrf_conf_taogem.rb'
|
76
75
|
gem.extensions = ['mkrf_conf_taogem.rb']
|
77
76
|
gem.require_paths = %w{lib}
|
78
77
|
gem.executables = []
|
79
|
-
gem.required_ruby_version = '>=
|
80
|
-
gem.licenses = ['
|
78
|
+
gem.required_ruby_version = '>= 2.4'
|
79
|
+
gem.licenses = ['DOC']
|
80
|
+
gem.metadata = {
|
81
|
+
'bug_tracker_uri' => 'https://github.com/DOCGroup/ACE_TAO/issues',
|
82
|
+
'source_code_uri' => 'https://github.com/DOCGroup/ACE_TAO'
|
83
|
+
}
|
81
84
|
end
|
82
85
|
R2CORBA::Gem.build_gem(gemspec)
|
83
86
|
end
|
@@ -89,20 +92,24 @@ end
|
|
89
92
|
t_ = file File.join('pkg', "#{R2CORBA::Gem.gem_name('r2corba', R2CORBA::R2CORBA_VERSION)}.gem") => R2CORBA::Gem.manifest do
|
90
93
|
gemspec = R2CORBA::Gem.define_spec('r2corba', R2CORBA::R2CORBA_VERSION) do |gem|
|
91
94
|
gem.summary = %Q{CORBA language mapping implementation for Ruby}
|
92
|
-
gem.description = %Q{OMG CORBA
|
95
|
+
gem.description = %Q{OMG CORBA v3.3 compliant CORBA language mapping implementation for Ruby. Depends on ridl gem for providing native Ruby IDL compiler. }
|
93
96
|
gem.email = 'mcorino@remedy.nl'
|
94
|
-
gem.homepage =
|
95
|
-
gem.authors = ['Martin Corino']
|
97
|
+
gem.homepage = 'https://www.remedy.nl/opensource/r2corba.html'
|
98
|
+
gem.authors = ['Martin Corino', 'Johnny Willemsen']
|
96
99
|
gem.files = R2CORBA::Gem.manifest
|
97
100
|
gem.extensions = ['mkrf_conf_srcgem.rb']
|
98
101
|
gem.require_paths = %w{lib}
|
99
102
|
gem.executables = %w{ridlc rins r2corba}
|
100
|
-
gem.required_ruby_version = '>=
|
101
|
-
gem.licenses = ['
|
103
|
+
gem.required_ruby_version = '>= 2.4'
|
104
|
+
gem.licenses = ['Nonstandard', 'DOC', 'GPL-2.0']
|
102
105
|
gem.require_paths << 'ext'
|
103
|
-
gem.add_dependency 'ridl', '~> 2.
|
104
|
-
gem.add_dependency 'rake', '
|
106
|
+
gem.add_dependency 'ridl', '~> 2.8'
|
107
|
+
gem.add_dependency 'rake', '>= 12.3.3'
|
105
108
|
gem.rdoc_options << '--exclude=\\.dll' << '--exclude=\\.so' << '--exclude=\\.pidlc'
|
109
|
+
gem.metadata = {
|
110
|
+
'bug_tracker_uri' => 'https://github.com/RemedyIT/r2corba/issues',
|
111
|
+
'source_code_uri' => 'https://github.com/RemedyIT/r2corba'
|
112
|
+
}
|
106
113
|
end
|
107
114
|
R2CORBA::Gem.build_gem(gemspec)
|
108
115
|
end
|
@@ -124,21 +131,21 @@ t_ = file File.join('pkg', "#{R2CORBA::Gem.gem_name('r2corba', R2CORBA::R2CORBA_
|
|
124
131
|
begin
|
125
132
|
gemspec = R2CORBA::Gem.define_spec('r2corba', R2CORBA::R2CORBA_VERSION, :extbin) do |gem|
|
126
133
|
gem.summary = %Q{CORBA language mapping implementation for Ruby (extension binaries)}
|
127
|
-
gem.description = %Q{OMG CORBA
|
134
|
+
gem.description = %Q{OMG CORBA v3.3 compliant CORBA language mapping implementation for Ruby. Depends on ridl gem for providing native Ruby IDL compiler. (extension binaries)}
|
128
135
|
gem.email = 'mcorino@remedy.nl'
|
129
|
-
gem.homepage =
|
130
|
-
gem.authors = ['Martin Corino']
|
136
|
+
gem.homepage = 'https://www.remedy.nl/opensource/r2corba.html'
|
137
|
+
gem.authors = ['Martin Corino', 'Johnny Willemsen']
|
131
138
|
gem.files = R2CORBA::Gem.manifest(:extbin)
|
132
139
|
gem.extensions = []
|
133
140
|
gem.require_paths = %w{ext}
|
134
141
|
gem.executables = []
|
135
|
-
|
136
|
-
|
137
|
-
else
|
138
|
-
gem.required_ruby_version = '>= 2.0.0'
|
139
|
-
end
|
140
|
-
gem.licenses = ['R2CORBA', 'ACE']
|
142
|
+
gem.required_ruby_version = '>= 2.4'
|
143
|
+
gem.licenses = ['Nonstandard', 'DOC']
|
141
144
|
gem.rdoc_options << '--exclude=\\.dll' << '--exclude=\\.so'
|
145
|
+
gem.metadata = {
|
146
|
+
'bug_tracker_uri' => 'https://github.com/RemedyIT/r2corba/issues',
|
147
|
+
'source_code_uri' => 'https://github.com/RemedyIT/r2corba'
|
148
|
+
}
|
142
149
|
end
|
143
150
|
R2CORBA::Gem.build_gem(gemspec)
|
144
151
|
ensure
|
@@ -167,27 +174,31 @@ t_ = file File.join('pkg', "#{R2CORBA::Gem.gem_name('r2corba', R2CORBA::R2CORBA_
|
|
167
174
|
# create gemspec
|
168
175
|
gemspec = R2CORBA::Gem.define_spec('r2corba', R2CORBA::R2CORBA_VERSION, :bin) do |gem|
|
169
176
|
gem.summary = %Q{CORBA language mapping implementation for Ruby}
|
170
|
-
gem.description = %Q{OMG CORBA
|
177
|
+
gem.description = %Q{OMG CORBA v3.3 compliant CORBA language mapping implementation for Ruby. Depends on ridl gem for providing native Ruby IDL compiler. }
|
171
178
|
gem.email = 'mcorino@remedy.nl'
|
172
|
-
gem.homepage =
|
173
|
-
gem.authors = ['Martin Corino']
|
179
|
+
gem.homepage = 'https://www.remedy.nl/opensource/r2corba.html'
|
180
|
+
gem.authors = ['Martin Corino', 'Johnny Willemsen']
|
174
181
|
gem.files = R2CORBA::Gem.manifest(:bin)
|
175
182
|
gem.require_paths = %w{lib}
|
176
183
|
gem.executables = %w{ridlc rins r2corba}
|
177
184
|
gem.extensions = ['mkrf_conf_bingem.rb']
|
178
185
|
if defined?(JRUBY_VERSION)
|
179
186
|
gem.require_paths << 'jacorb/lib'
|
180
|
-
gem.required_ruby_version = '>=
|
181
|
-
gem.licenses = ['
|
187
|
+
gem.required_ruby_version = '>= 2.4'
|
188
|
+
gem.licenses = ['Nonstandard', 'GPL-2.0']
|
182
189
|
else
|
183
190
|
gem.files << File.join('ext', '.keep') unless ENV['FULL_BINGEM'] # to force installation of ext folder if libs are left out
|
184
|
-
gem.required_ruby_version = '>=
|
185
|
-
gem.licenses = ['
|
191
|
+
gem.required_ruby_version = '>= 2.4'
|
192
|
+
gem.licenses = ['Nonstandard', 'DOC', 'GPL-2.0']
|
186
193
|
gem.require_paths << 'ext'
|
187
194
|
end
|
188
|
-
gem.add_dependency 'ridl', '~> 2.
|
189
|
-
gem.add_dependency 'rake', '
|
195
|
+
gem.add_dependency 'ridl', '~> 2.8'
|
196
|
+
gem.add_dependency 'rake', '>= 12.3.3'
|
190
197
|
gem.rdoc_options << '--exclude=\\.dll' << '--exclude=\\.so' << '--exclude=\\.pidlc'
|
198
|
+
gem.metadata = {
|
199
|
+
'bug_tracker_uri' => 'https://github.com/RemedyIT/r2corba/issues',
|
200
|
+
'source_code_uri' => 'https://github.com/RemedyIT/r2corba'
|
201
|
+
}
|
191
202
|
end
|
192
203
|
R2CORBA::Gem.build_gem(gemspec)
|
193
204
|
ensure
|
@@ -200,7 +211,7 @@ t_ = file File.join('pkg', "#{R2CORBA::Gem.gem_name('r2corba', R2CORBA::R2CORBA_
|
|
200
211
|
end
|
201
212
|
t_.enhance ['mkrf_conf_bingem.rb']
|
202
213
|
|
203
|
-
unless defined?(JRUBY_VERSION)
|
214
|
+
unless defined?(JRUBY_VERSION)
|
204
215
|
# Devkit faker Gem for binary Windows gems
|
205
216
|
t_devkit = file File.join('pkg', "#{R2CORBA::Gem.gem_name('r2corba_devkit', '1.0.0', :devkit)}.gem") => 'lib/rubygems_plugin.rb' do
|
206
217
|
# create gemspec
|
@@ -208,14 +219,18 @@ unless defined?(JRUBY_VERSION) || !R2CORBA::Config.is_win32
|
|
208
219
|
gem.summary = %Q{R2CORBA Devkit faker for RubyInstaller Rubies}
|
209
220
|
gem.description = %Q{Fake Devkit loader to satisfy stupid RubyInstaller pre-install hook. }
|
210
221
|
gem.email = 'mcorino@remedy.nl'
|
211
|
-
gem.homepage =
|
212
|
-
gem.authors = ['Martin Corino']
|
222
|
+
gem.homepage = 'https://www.remedy.nl/opensource/r2corba.html'
|
223
|
+
gem.authors = ['Martin Corino', 'Johnny Willemsen']
|
213
224
|
gem.files = 'lib/rubygems_plugin.rb'
|
214
225
|
gem.require_paths = %w{lib}
|
215
226
|
gem.executables = []
|
216
227
|
gem.extensions = []
|
217
|
-
gem.required_ruby_version = '>=
|
218
|
-
gem.licenses = ['
|
228
|
+
gem.required_ruby_version = '>= 2.0'
|
229
|
+
gem.licenses = ['Nonstandard']
|
230
|
+
gem.metadata = {
|
231
|
+
'bug_tracker_uri' => 'https://github.com/RemedyIT/r2corba/issues',
|
232
|
+
'source_code_uri' => 'https://github.com/RemedyIT/r2corba'
|
233
|
+
}
|
219
234
|
end
|
220
235
|
R2CORBA::Gem.build_gem(gemspec)
|
221
236
|
end
|
@@ -233,4 +248,4 @@ elsif R2CORBA::Config.is_win32
|
|
233
248
|
task :gem => 'r2corba:gem:bingem'
|
234
249
|
else
|
235
250
|
task :gem => 'r2corba:gem:srcgem'
|
236
|
-
end
|
251
|
+
end
|