rho-tau-extensions 7.1.17 → 7.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: c7abd2b22f8aaff6b3d8c15f4eaf207dca261b82
4
- data.tar.gz: 37fbf2d341cd389c85a70fd0f4f91d6df49092ad
2
+ SHA256:
3
+ metadata.gz: 8ad14a2c0cb595534afe4aeb3d441419b0a3f1f1b47999b2c9774d4b6893465a
4
+ data.tar.gz: 3d89183dd62f260aa2cabc46ce728f219e3ac7c480f8b3e1fe1768fab6fcf957
5
5
  SHA512:
6
- metadata.gz: 7c539de5fb125d67b5eac7c6b01488eca73a10e8749d6011a7524c601ed1579697fe4fb9703c8c8f492e478ef8fc5e83b283753c277e4e8ad8e50cb86c1fa305
7
- data.tar.gz: 732f00615d541d3f9aeb7af723fcf797f3a37e00d6715bb9040c9a8326416ccfaf5911dd3f4fd3f2a2ad1d9d92fd741bb39c25cc5f4526f4dd71b08f81e0cca5
6
+ metadata.gz: a4acb91d4bf5443b9b4ce436a8663d6dc2f1a8bd28308631cd5a00b79a38be7a840627029214c8062de1b39639ed9459ae0ebe0a9bb78163fb527a0066340f55
7
+ data.tar.gz: 3658201ca1cc06d2802732cca073fa054eed865ded37d2d8bbff5a4a79a6b6a1566640fded01c82f28d23b8dab382e210b20c5e89561756b8380cc0d64f15977
@@ -0,0 +1,22 @@
1
+ #!/bin/sh
2
+
3
+
4
+ if [ "$RHO_PLATFORM" = "android" ]; then
5
+
6
+ cd platform/android
7
+ rake --trace
8
+
9
+ elif [ "$RHO_PLATFORM" = "iphone" ]; then
10
+
11
+ cd platform/iphone
12
+ rake --trace
13
+
14
+ elif [ "$RHO_PLATFORM" = "linux" ]; then
15
+
16
+ cd platform/qt
17
+ rake --trace
18
+
19
+ fi
20
+
21
+
22
+
@@ -0,0 +1,44 @@
1
+
2
+ if "%RHO_PLATFORM%" == "android" (
3
+
4
+ cd platform\android
5
+ rake --trace
6
+
7
+ )
8
+
9
+ if "%RHO_PLATFORM%" == "iphone" (
10
+
11
+ cd platform\phone
12
+ rake --trace
13
+
14
+ )
15
+
16
+ if "%RHO_PLATFORM%" == "wm" (
17
+
18
+ cd platform\wm
19
+ rake --trace
20
+
21
+ )
22
+
23
+ if "%RHO_PLATFORM%" == "win32" (
24
+
25
+ call %RHO_VSCMNTOOLS%
26
+ cd platform\qt
27
+ rake --trace
28
+
29
+ )
30
+
31
+ if "%RHO_PLATFORM%" == "sailfish" (
32
+
33
+ cd platform\qt
34
+ rake --trace
35
+
36
+ )
37
+
38
+ if "%RHO_PLATFORM%" == "bb" (
39
+
40
+ cd platform\bb
41
+ rake --trace
42
+
43
+ )
44
+
@@ -0,0 +1,9 @@
1
+ entry: Init_Android_Net_Native_Extension
2
+ libraries: ["AndroidNetNative"]
3
+
4
+ android:
5
+ exttype: prebuilt
6
+ preload_java_classes:
7
+ [ RHODES_JAVA_CLASS_NETREQUEST, "com/rhomobile/rhodes/NetRequest" ]
8
+
9
+ platforms: ["android"]
@@ -1,69 +1,20 @@
1
1
  require 'fileutils'
2
2
 
3
- require ENV['RHO_ROOT']+'/lib/build/jake.rb'
4
-
5
-
6
- USE_STLPORT = true
7
-
8
-
9
3
  namespace "build" do
10
- task :config do
11
- $targetdir = ENV['TARGET_TEMP_DIR']
12
- raise "TARGET_TEMP_DIR is not set" if $targetdir.nil?
13
- $tempdir = ENV['TEMP_FILES_DIR']
14
- raise "TEMP_FILES_DIR is not set" if $tempdir.nil?
15
- $rootdir = ENV['RHO_ROOT']
16
- raise "RHO_ROOT is not set" if $rootdir.nil?
17
-
18
- $xcodebuild = ENV['XCODEBUILD']
19
- raise "XCODEBUILD is not set" if $xcodebuild.nil?
20
-
21
- $configuration = ENV['CONFIGURATION']
22
- raise "CONFIGURATION is not set" if $configuration.nil?
23
-
24
- $sdk = ENV['SDK_NAME']
25
- raise "SDK_NAME is not set" if $sdk.nil?
26
-
27
- $bindir = ENV['PLATFORM_DEVELOPER_BIN_DIR']
28
- raise "PLATFORM_DEVELOPER_BIN_DIR is not set" if $bindir.nil?
29
-
30
- $sdkroot = ENV['SDKROOT']
31
- raise "SDKROOT is not set" if $sdkroot.nil?
32
-
4
+ task :all do
5
+ rhorootdir = ENV['RHO_ROOT']
6
+ raise "RHO_ROOT is not set" if rhorootdir.nil?
33
7
 
34
- $arch = ENV['ARCHS']
35
- raise "ARCHS is not set" if $arch.nil?
36
-
37
- $gccbin = $bindir + '/gcc-4.2'
38
- $arbin = $bindir + '/ar'
8
+ require File.join(rhorootdir, 'platform','iphone','rbuild','buildextension')
39
9
 
40
- end
10
+ IPhoneBuild.load_env_for_build_rhodes_ios_extension
41
11
 
42
- task :all => :config do
12
+ extension_name = "Barcode"
13
+ extension_lib_name = extension_name
14
+ extension_xcode_target_name = extension_name
43
15
 
44
- iphone_path = '.'
45
-
46
-
47
- simulator = $sdk =~ /iphonesimulator/
48
-
49
- if $configuration == 'Distribution'
50
- $configuration = 'Release'
16
+ ret= IPhoneBuild.build_rhodes_ios_extension(extension_name, extension_lib_name, extension_xcode_target_name)
51
17
  end
52
-
53
- chdir iphone_path
54
- args = ['build', '-target', 'Barcode', '-configuration', $configuration, '-sdk', $sdk]
55
-
56
- puts Jake.run($xcodebuild,args)
57
- ret = $?
58
-
59
- # copy result to $targetdir
60
- result_lib = iphone_path + '/build/' + $configuration + '-' + ( simulator ? "iphonesimulator" : "iphoneos") + '/libBarcode.a'
61
- target_lib = $targetdir + '/libBarcode.a'
62
-
63
- mkdir_p $targetdir
64
- cp result_lib,target_lib
65
-
66
- end
67
18
  end
68
19
 
69
20
  task :default => "build:all"
@@ -8,7 +8,7 @@
8
8
 
9
9
  <provider
10
10
  android:name="com.google.firebase.provider.FirebaseInitProvider"
11
- android:authorities="<%=@appPackageName%>.firebaseinitprovider"
11
+ android:authorities="com.rhomobile.firebasepushtest.firebaseinitprovider"
12
12
  android:exported="false"
13
13
  android:initOrder="100" />
14
14
 
@@ -1,81 +1,30 @@
1
1
  require 'fileutils'
2
2
 
3
- USE_STLPORT = true
4
-
5
- puts "fcm-push extension !"
6
-
7
3
  namespace "build" do
4
+ task :all do
5
+ rhorootdir = ENV['RHO_ROOT']
6
+ raise "RHO_ROOT is not set" if rhorootdir.nil?
8
7
 
9
- task :config do
10
-
11
- $targetdir = ENV['TARGET_TEMP_DIR']
12
- raise "TARGET_TEMP_DIR is not set" if $targetdir.nil?
13
-
14
- $tempdir = ENV['TEMP_FILES_DIR']
15
- raise "TEMP_FILES_DIR is not set" if $tempdir.nil?
16
-
17
- $rootdir = ENV['RHO_ROOT']
18
- raise "RHO_ROOT is not set" if $rootdir.nil?
8
+ $app_path = ENV["RHO_APP_DIR"]
9
+ raise "RHO_APP_DIR is not set" if $app_path.nil?
19
10
 
20
- $xcodebuild = ENV['XCODEBUILD']
21
- raise "XCODEBUILD is not set" if $xcodebuild.nil?
22
-
23
- $configuration = ENV['CONFIGURATION']
24
- raise "CONFIGURATION is not set" if $configuration.nil?
11
+ require File.join(rhorootdir, 'platform','iphone','rbuild','buildextension')
25
12
 
26
- $sdk = ENV['SDK_NAME']
27
- raise "SDK_NAME is not set" if $sdk.nil?
13
+ IPhoneBuild.load_env_for_build_rhodes_ios_extension
28
14
 
29
- $bindir = ENV['PLATFORM_DEVELOPER_BIN_DIR']
30
- raise "PLATFORM_DEVELOPER_BIN_DIR is not set" if $bindir.nil?
31
-
32
- $sdkroot = ENV['SDKROOT']
33
- raise "SDKROOT is not set" if $sdkroot.nil?
34
15
 
35
- $arch = ENV['ARCHS']
36
- raise "ARCHS is not set" if $arch.nil?
16
+ iphone_path = '.'
17
+ target_app = File.join($app_path, 'project', 'iphone')
37
18
 
38
- $app_path = ENV["RHO_APP_DIR"]
39
- raise "RHO_APP_DIR is not set" if $app_path.nil?
19
+ cp_r File.join(iphone_path, 'Frameworks'), target_app
20
+ cp_r File.join($app_path, 'GoogleService-Info.plist'), target_app
40
21
 
41
-
42
- $gccbin = $bindir + '/gcc-4.2'
43
- $arbin = $bindir + '/ar'
22
+ extension_name = "fcm-push"
23
+ extension_lib_name = extension_name
24
+ extension_xcode_target_name = extension_name
44
25
 
45
- end
46
-
47
- task :all => :config do
48
-
49
- iphone_path = '.'
50
-
51
- simulator = $sdk =~ /iphonesimulator/
52
-
53
- if $configuration == 'Distribution'
54
- $configuration = 'Release'
26
+ ret= IPhoneBuild.build_rhodes_ios_extension(extension_name, extension_lib_name, extension_xcode_target_name)
55
27
  end
56
-
57
- result_lib = iphone_path + '/build/' + $configuration + '-' + ( simulator ? "iphonesimulator" : "iphoneos") + '/libfcm-push.a'
58
- target_lib = $targetdir + '/libfcm-push.a'
59
- target_app = File.join($app_path, 'project', 'iphone')
60
-
61
- cp_r File.join(iphone_path, 'Frameworks'), target_app
62
- cp_r File.join($app_path, 'GoogleService-Info.plist'), target_app
63
-
64
- rm_rf 'build'
65
- rm_rf target_lib
66
-
67
- args = ['build', '-target', 'fcm-push', '-configuration', $configuration, '-sdk', $sdk]
68
-
69
- require File.join(ENV['RHO_ROOT'], 'platform','iphone','rbuild','iphonecommon')
70
-
71
- ret = IPhoneBuild.run_and_trace($xcodebuild,args)
72
-
73
- # copy result to $targetdir
74
- cp result_lib,target_lib
75
-
76
- end
77
-
78
-
79
28
  end
80
29
 
81
30
  task :default => "build:all"
@@ -1,73 +1,20 @@
1
1
  require 'fileutils'
2
2
 
3
- USE_STLPORT = true
4
-
5
- puts "Nodejs extension !"
6
-
7
3
  namespace "build" do
4
+ task :all do
5
+ rhorootdir = ENV['RHO_ROOT']
6
+ raise "RHO_ROOT is not set" if rhorootdir.nil?
8
7
 
9
- task :config do
10
-
11
- $targetdir = ENV['TARGET_TEMP_DIR']
12
- raise "TARGET_TEMP_DIR is not set" if $targetdir.nil?
13
-
14
- $tempdir = ENV['TEMP_FILES_DIR']
15
- raise "TEMP_FILES_DIR is not set" if $tempdir.nil?
16
-
17
- $rootdir = ENV['RHO_ROOT']
18
- raise "RHO_ROOT is not set" if $rootdir.nil?
19
-
20
- $xcodebuild = ENV['XCODEBUILD']
21
- raise "XCODEBUILD is not set" if $xcodebuild.nil?
22
-
23
- $configuration = ENV['CONFIGURATION']
24
- raise "CONFIGURATION is not set" if $configuration.nil?
25
-
26
- $sdk = ENV['SDK_NAME']
27
- raise "SDK_NAME is not set" if $sdk.nil?
28
-
29
- $bindir = ENV['PLATFORM_DEVELOPER_BIN_DIR']
30
- raise "PLATFORM_DEVELOPER_BIN_DIR is not set" if $bindir.nil?
31
-
32
- $sdkroot = ENV['SDKROOT']
33
- raise "SDKROOT is not set" if $sdkroot.nil?
34
-
35
- $arch = ENV['ARCHS']
36
- raise "ARCHS is not set" if $arch.nil?
37
-
38
- $gccbin = $bindir + '/gcc-4.2'
39
- $arbin = $bindir + '/ar'
40
-
41
- end
8
+ require File.join(rhorootdir, 'platform','iphone','rbuild','buildextension')
42
9
 
43
- task :all => :config do
10
+ IPhoneBuild.load_env_for_build_rhodes_ios_extension
44
11
 
45
- iphone_path = '.'
12
+ extension_name = "Nodejs"
13
+ extension_lib_name = extension_name
14
+ extension_xcode_target_name = extension_name
46
15
 
47
- simulator = $sdk =~ /iphonesimulator/
48
-
49
- if $configuration == 'Distribution'
50
- $configuration = 'Release'
16
+ ret= IPhoneBuild.build_rhodes_ios_extension(extension_name, extension_lib_name, extension_xcode_target_name)
51
17
  end
52
-
53
- result_lib = iphone_path + '/build/' + $configuration + '-' + ( simulator ? "iphonesimulator" : "iphoneos") + '/libNodejs.a'
54
- target_lib = $targetdir + '/libNodejs.a'
55
-
56
- rm_rf 'build'
57
- rm_rf target_lib
58
-
59
- args = ['build', '-target', 'Nodejs', '-configuration', $configuration, '-sdk', $sdk]
60
-
61
- require File.join(ENV['RHO_ROOT'], 'platform','iphone','rbuild','iphonecommon')
62
-
63
- ret = IPhoneBuild.run_and_trace($xcodebuild,args)
64
-
65
- # copy result to $targetdir
66
- cp result_lib,target_lib
67
-
68
- end
69
-
70
-
71
18
  end
72
19
 
73
20
  task :default => "build:all"
data/version CHANGED
@@ -1 +1 @@
1
- 7.1.17
1
+ 7.6.0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rho-tau-extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.1.17
4
+ version: 7.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tau Technologies Dev Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-28 00:00:00.000000000 Z
11
+ date: 2024-02-15 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Rhodes extensions developed by Tau Technologies
14
14
  email: info@tau-technologies.com
@@ -22,6 +22,13 @@ files:
22
22
  - LICENSE
23
23
  - README.md
24
24
  - Rakefile
25
+ - libs/android_net_native_prebuilt/ext.yml
26
+ - libs/android_net_native_prebuilt/ext/build
27
+ - libs/android_net_native_prebuilt/ext/build.bat
28
+ - libs/android_net_native_prebuilt/ext/platform/android/android_net_native.jar
29
+ - libs/android_net_native_prebuilt/ext/platform/android/lib/aarch64/libandroid_net_native.a
30
+ - libs/android_net_native_prebuilt/ext/platform/android/lib/armeabi/libandroid_net_native.a
31
+ - libs/android_net_native_prebuilt/ext/platform/android/lib/x86/libandroid_net_native.a
25
32
  - libs/crosswalk.rb
26
33
  - libs/crosswalk/crosswalk.rb
27
34
  - libs/crosswalk/ext.yml
@@ -811,8 +818,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
811
818
  - !ruby/object:Gem::Version
812
819
  version: '0'
813
820
  requirements: []
814
- rubyforge_project: rho-tau-extensions
815
- rubygems_version: 2.4.5.1
821
+ rubygems_version: 3.0.3.1
816
822
  signing_key:
817
823
  specification_version: 4
818
824
  summary: Set of developed by Tau Technologies extensions for Rhodes based applications.