diff --git a/packages/opencv_core/example/ios/Podfile.lock b/packages/opencv_core/example/ios/Podfile.lock new file mode 100644 index 00000000..2d928ddc --- /dev/null +++ b/packages/opencv_core/example/ios/Podfile.lock @@ -0,0 +1,64 @@ +PODS: + - DartCvIOS (4.10.0.3): + - DartCvIOS/calib3d (= 4.10.0.3) + - DartCvIOS/contrib (= 4.10.0.3) + - DartCvIOS/core (= 4.10.0.3) + - DartCvIOS/features2d (= 4.10.0.3) + - DartCvIOS/imgproc (= 4.10.0.3) + - DartCvIOS/objdetect (= 4.10.0.3) + - DartCvIOS/photo (= 4.10.0.3) + - DartCvIOS/stitching (= 4.10.0.3) + - DartCvIOS/video (= 4.10.0.3) + - DartCvIOS/calib3d (4.10.0.3): + - DartCvIOS/core + - DartCvIOS/contrib (4.10.0.3): + - DartCvIOS/core + - DartCvIOS/core (4.10.0.3) + - DartCvIOS/dnn (4.10.0.3): + - DartCvIOS/core + - DartCvIOS/features2d (4.10.0.3): + - DartCvIOS/core + - DartCvIOS/imgproc (4.10.0.3): + - DartCvIOS/core + - DartCvIOS/objdetect (4.10.0.3): + - DartCvIOS/core + - DartCvIOS/photo (4.10.0.3): + - DartCvIOS/core + - DartCvIOS/stitching (4.10.0.3): + - DartCvIOS/core + - DartCvIOS/video (4.10.0.3): + - DartCvIOS/core + - Flutter (1.0.0) + - image_picker_ios (0.0.1): + - Flutter + - opencv_core (0.0.1): + - DartCvIOS (= 4.10.0.3) + - DartCvIOS/dnn (= 4.10.0.3) + - Flutter + +DEPENDENCIES: + - Flutter (from `Flutter`) + - image_picker_ios (from `.symlinks/plugins/image_picker_ios/ios`) + - opencv_core (from `.symlinks/plugins/opencv_core/ios`) + +SPEC REPOS: + trunk: + - DartCvIOS + +EXTERNAL SOURCES: + Flutter: + :path: Flutter + image_picker_ios: + :path: ".symlinks/plugins/image_picker_ios/ios" + opencv_core: + :path: ".symlinks/plugins/opencv_core/ios" + +SPEC CHECKSUMS: + DartCvIOS: a92134352b918dd2525d2b856fc1d0fe461f7e5d + Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7 + image_picker_ios: c560581cceedb403a6ff17f2f816d7fea1421fc1 + opencv_core: c077e770a9c7442bb28ad53e66485fc794d056ba + +PODFILE CHECKSUM: 7be2f5f74864d463a8ad433546ed1de7e0f29aef + +COCOAPODS: 1.16.1 diff --git a/packages/opencv_core/example/ios/Runner.xcodeproj/project.pbxproj b/packages/opencv_core/example/ios/Runner.xcodeproj/project.pbxproj index e41cdeee..32828c96 100644 --- a/packages/opencv_core/example/ios/Runner.xcodeproj/project.pbxproj +++ b/packages/opencv_core/example/ios/Runner.xcodeproj/project.pbxproj @@ -10,6 +10,8 @@ 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C807B294A618700263BE5 /* RunnerTests.swift */; }; 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; + 633E5294CB86EAA77E707CD9 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D8215C0F984E4BFB16777D19 /* Pods_Runner.framework */; }; + 64D1F6C87F21DBDBB153B3DF /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4A8DCE251E35F7948C12B47C /* Pods_RunnerTests.framework */; }; 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; @@ -42,9 +44,14 @@ /* Begin PBXFileReference section */ 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; + 24A2C55B15A29F7F7C5F390B /* Pods-RunnerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.debug.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.debug.xcconfig"; sourceTree = ""; }; + 2DE3AC7F570AB8FA2ACFB6C7 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; }; + 31BF28DE7D94CA06ED5F48C8 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; }; 331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = ""; }; 331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; + 4A8DCE251E35F7948C12B47C /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 658A74FF2D1FF635A047D183 /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = ""; }; 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; @@ -55,13 +62,25 @@ 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + B2C5A6D9E71382106DE5853B /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = ""; }; + D490A4F0D40FBE354CA9D879 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; }; + D8215C0F984E4BFB16777D19 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ + 7E6BC748ECB5FEEF2E706ADA /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 64D1F6C87F21DBDBB153B3DF /* Pods_RunnerTests.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 97C146EB1CF9000F007C117D /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 633E5294CB86EAA77E707CD9 /* Pods_Runner.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -76,6 +95,29 @@ path = RunnerTests; sourceTree = ""; }; + 51C3F3F02132D1334D0F9609 /* Pods */ = { + isa = PBXGroup; + children = ( + 31BF28DE7D94CA06ED5F48C8 /* Pods-Runner.debug.xcconfig */, + D490A4F0D40FBE354CA9D879 /* Pods-Runner.release.xcconfig */, + 2DE3AC7F570AB8FA2ACFB6C7 /* Pods-Runner.profile.xcconfig */, + 24A2C55B15A29F7F7C5F390B /* Pods-RunnerTests.debug.xcconfig */, + 658A74FF2D1FF635A047D183 /* Pods-RunnerTests.release.xcconfig */, + B2C5A6D9E71382106DE5853B /* Pods-RunnerTests.profile.xcconfig */, + ); + name = Pods; + path = Pods; + sourceTree = ""; + }; + 6497E16088442CAA46FF51AA /* Frameworks */ = { + isa = PBXGroup; + children = ( + D8215C0F984E4BFB16777D19 /* Pods_Runner.framework */, + 4A8DCE251E35F7948C12B47C /* Pods_RunnerTests.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; 9740EEB11CF90186004384FC /* Flutter */ = { isa = PBXGroup; children = ( @@ -94,6 +136,8 @@ 97C146F01CF9000F007C117D /* Runner */, 97C146EF1CF9000F007C117D /* Products */, 331C8082294A63A400263BE5 /* RunnerTests */, + 51C3F3F02132D1334D0F9609 /* Pods */, + 6497E16088442CAA46FF51AA /* Frameworks */, ); sourceTree = ""; }; @@ -128,8 +172,10 @@ isa = PBXNativeTarget; buildConfigurationList = 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */; buildPhases = ( + E1BB2CFDA2CAE5130740E912 /* [CP] Check Pods Manifest.lock */, 331C807D294A63A400263BE5 /* Sources */, 331C807F294A63A400263BE5 /* Resources */, + 7E6BC748ECB5FEEF2E706ADA /* Frameworks */, ); buildRules = ( ); @@ -145,12 +191,14 @@ isa = PBXNativeTarget; buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; buildPhases = ( + C40D9333ABF3BCFCD7E1A34D /* [CP] Check Pods Manifest.lock */, 9740EEB61CF901F6004384FC /* Run Script */, 97C146EA1CF9000F007C117D /* Sources */, 97C146EB1CF9000F007C117D /* Frameworks */, 97C146EC1CF9000F007C117D /* Resources */, 9705A1C41CF9048500538489 /* Embed Frameworks */, 3B06AD1E1E4923F5004D2608 /* Thin Binary */, + 4BF6C666CECC0EF843FE6775 /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -238,6 +286,23 @@ shellPath = /bin/sh; shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; }; + 4BF6C666CECC0EF843FE6775 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist", + ); + name = "[CP] Embed Pods Frameworks"; + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; alwaysOutOfDate = 1; @@ -253,6 +318,50 @@ shellPath = /bin/sh; shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; }; + C40D9333ABF3BCFCD7E1A34D /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; + E1BB2CFDA2CAE5130740E912 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-RunnerTests-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ @@ -378,6 +487,7 @@ }; 331C8088294A63A400263BE5 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 24A2C55B15A29F7F7C5F390B /* Pods-RunnerTests.debug.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; CODE_SIGN_STYLE = Automatic; @@ -395,6 +505,7 @@ }; 331C8089294A63A400263BE5 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 658A74FF2D1FF635A047D183 /* Pods-RunnerTests.release.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; CODE_SIGN_STYLE = Automatic; @@ -410,6 +521,7 @@ }; 331C808A294A63A400263BE5 /* Profile */ = { isa = XCBuildConfiguration; + baseConfigurationReference = B2C5A6D9E71382106DE5853B /* Pods-RunnerTests.profile.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; CODE_SIGN_STYLE = Automatic; diff --git a/packages/opencv_core/example/ios/Runner.xcworkspace/contents.xcworkspacedata b/packages/opencv_core/example/ios/Runner.xcworkspace/contents.xcworkspacedata index 1d526a16..21a3cc14 100644 --- a/packages/opencv_core/example/ios/Runner.xcworkspace/contents.xcworkspacedata +++ b/packages/opencv_core/example/ios/Runner.xcworkspace/contents.xcworkspacedata @@ -4,4 +4,7 @@ + + diff --git a/packages/opencv_core/example/macos/Podfile.lock b/packages/opencv_core/example/macos/Podfile.lock index 8cd092dc..2c3a621a 100644 --- a/packages/opencv_core/example/macos/Podfile.lock +++ b/packages/opencv_core/example/macos/Podfile.lock @@ -1,36 +1,39 @@ PODS: - - "DartCvMacOS (4.10.0+2)": - - "DartCvMacOS/calib3d (= 4.10.0+2)" - - "DartCvMacOS/contrib (= 4.10.0+2)" - - "DartCvMacOS/core (= 4.10.0+2)" - - "DartCvMacOS/features2d (= 4.10.0+2)" - - "DartCvMacOS/imgproc (= 4.10.0+2)" - - "DartCvMacOS/objdetect (= 4.10.0+2)" - - "DartCvMacOS/photo (= 4.10.0+2)" - - "DartCvMacOS/stitching (= 4.10.0+2)" - - "DartCvMacOS/video (= 4.10.0+2)" - - "DartCvMacOS/calib3d (4.10.0+2)": + - DartCvMacOS (4.10.0.3): + - DartCvMacOS/calib3d (= 4.10.0.3) + - DartCvMacOS/contrib (= 4.10.0.3) + - DartCvMacOS/core (= 4.10.0.3) + - DartCvMacOS/features2d (= 4.10.0.3) + - DartCvMacOS/imgproc (= 4.10.0.3) + - DartCvMacOS/objdetect (= 4.10.0.3) + - DartCvMacOS/photo (= 4.10.0.3) + - DartCvMacOS/stitching (= 4.10.0.3) + - DartCvMacOS/video (= 4.10.0.3) + - DartCvMacOS/calib3d (4.10.0.3): - DartCvMacOS/core - - "DartCvMacOS/contrib (4.10.0+2)": + - DartCvMacOS/contrib (4.10.0.3): - DartCvMacOS/core - - "DartCvMacOS/core (4.10.0+2)" - - "DartCvMacOS/features2d (4.10.0+2)": + - DartCvMacOS/core (4.10.0.3) + - DartCvMacOS/dnn (4.10.0.3): - DartCvMacOS/core - - "DartCvMacOS/imgproc (4.10.0+2)": + - DartCvMacOS/features2d (4.10.0.3): - DartCvMacOS/core - - "DartCvMacOS/objdetect (4.10.0+2)": + - DartCvMacOS/imgproc (4.10.0.3): - DartCvMacOS/core - - "DartCvMacOS/photo (4.10.0+2)": + - DartCvMacOS/objdetect (4.10.0.3): - DartCvMacOS/core - - "DartCvMacOS/stitching (4.10.0+2)": + - DartCvMacOS/photo (4.10.0.3): - DartCvMacOS/core - - "DartCvMacOS/video (4.10.0+2)": + - DartCvMacOS/stitching (4.10.0.3): + - DartCvMacOS/core + - DartCvMacOS/video (4.10.0.3): - DartCvMacOS/core - file_selector_macos (0.0.1): - FlutterMacOS - FlutterMacOS (1.0.0) - opencv_core (0.0.1): - - "DartCvMacOS (= 4.10.0+2)" + - DartCvMacOS (= 4.10.0.3) + - DartCvMacOS/dnn (= 4.10.0.3) - FlutterMacOS DEPENDENCIES: @@ -51,11 +54,11 @@ EXTERNAL SOURCES: :path: Flutter/ephemeral/.symlinks/plugins/opencv_core/macos SPEC CHECKSUMS: - DartCvMacOS: 9dfb2345a8d97cdddd49620385f9d848a05aa80a + DartCvMacOS: 203fec6e3ad5ee9f4b1b83c593f2239ab3c1294f file_selector_macos: cc3858c981fe6889f364731200d6232dac1d812d FlutterMacOS: 8f6f14fa908a6fb3fba0cd85dbd81ec4b251fb24 - opencv_core: 3384a05cdbe7d464ac615e961c9fd882628898d2 + opencv_core: e34947c8ed2e43b8071add614a97de2447474582 PODFILE CHECKSUM: 9ebaf0ce3d369aaa26a9ea0e159195ed94724cf3 -COCOAPODS: 1.15.2 +COCOAPODS: 1.16.1 diff --git a/packages/opencv_core/images/opencv_core_size_report.svg b/packages/opencv_core/images/opencv_core_size_report.svg index c10afdc0..4f82214e 100644 --- a/packages/opencv_core/images/opencv_core_size_report.svg +++ b/packages/opencv_core/images/opencv_core_size_report.svg @@ -169,8 +169,8 @@ Total: - 71.33 MB + 70.62 MB Package: - 21.72 MB + 21.01 MB \ No newline at end of file diff --git a/packages/opencv_core/ios/opencv_core.podspec b/packages/opencv_core/ios/opencv_core.podspec index 2ca8c866..68b2587d 100644 --- a/packages/opencv_core/ios/opencv_core.podspec +++ b/packages/opencv_core/ios/opencv_core.podspec @@ -2,6 +2,13 @@ # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html. # Run `pod lib lint opencv_core.podspec` to validate before publishing. # +require 'psych' + +proj_dir = File.dirname(File.dirname(__FILE__)) +pubspec_path = File.join(proj_dir, "pubspec.yaml") +pubspec = Psych.load(File.read(pubspec_path)) +dartcv_version = pubspec["dartcv_version"].strip + Pod::Spec.new do |s| s.name = 'opencv_core' s.version = '0.0.1' @@ -10,7 +17,7 @@ Pod::Spec.new do |s| OpenCV bindings for Dart. Without highgui and videoio. DESC s.homepage = 'https://github.com/rainyl/opencv_dart' - s.license = { :file => '../LICENSE' } + s.license = { :type => 'Apache License 2.0', :file => '../LICENSE' } s.author = { 'Rainyl' => 'rainyliusy3@gmail.com' } # This will ensure the source files in Classes/ are included in the native @@ -20,8 +27,8 @@ Pod::Spec.new do |s| s.source = { :path => '.' } # s.source_files = 'Classes/**/*' s.dependency 'Flutter' - s.dependency 'DartCvIOS', '4.10.0+2' - s.dependency 'DartCvIOS/dnn', '4.10.0+2' + s.dependency 'DartCvIOS', "#{dartcv_version}" + s.dependency 'DartCvIOS/dnn', "#{dartcv_version}" s.platform = :ios, '12.0' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' } diff --git a/packages/opencv_core/macos/opencv_core.podspec b/packages/opencv_core/macos/opencv_core.podspec index bf927a70..494b8053 100644 --- a/packages/opencv_core/macos/opencv_core.podspec +++ b/packages/opencv_core/macos/opencv_core.podspec @@ -2,6 +2,13 @@ # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html. # Run `pod lib lint opencv_core.podspec` to validate before publishing. # +require 'psych' + +proj_dir = File.dirname(File.dirname(__FILE__)) +pubspec_path = File.join(proj_dir, "pubspec.yaml") +pubspec = Psych.load(File.read(pubspec_path)) +dartcv_version = pubspec["dartcv_version"] + Pod::Spec.new do |s| s.name = 'opencv_core' s.version = '0.0.1' @@ -10,7 +17,7 @@ Pod::Spec.new do |s| OpenCV bindings for Dart, without highgui and videoio. DESC s.homepage = 'https://github.com/rainyl/opencv_dart' - s.license = { :file => '../LICENSE' } + s.license = { :type => 'Apache License 2.0', :file => '../LICENSE' } s.author = { 'Rainyl' => 'rainyliusy3@gmail.com' } # This will ensure the source files in Classes/ are included in the native @@ -20,8 +27,8 @@ Pod::Spec.new do |s| s.source = { :path => '.' } # s.source_files = 'Classes/**/*' s.dependency 'FlutterMacOS' - s.dependency 'DartCvMacOS', '4.10.0+2' - s.dependency 'DartCvMacOS/dnn', '4.10.0+2' + s.dependency 'DartCvMacOS', "#{dartcv_version}" + s.dependency 'DartCvMacOS/dnn', "#{dartcv_version}" s.platform = :osx, '10.15' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } s.swift_version = '5.0' diff --git a/packages/opencv_core/pubspec.yaml b/packages/opencv_core/pubspec.yaml index 518e23ca..ad894393 100644 --- a/packages/opencv_core/pubspec.yaml +++ b/packages/opencv_core/pubspec.yaml @@ -3,9 +3,9 @@ description: | OpenCV4 bindings for Flutter. This plugin does NOT include `highgui` and `videoio`, if you need them, please use `opencv_dart` instead. -version: 1.3.0 +version: 1.3.1 opencv_version: 4.10.0+9 -dartcv_version: 4.10.0+2 +dartcv_version: 4.10.0.3 repository: https://github.com/rainyl/opencv_dart homepage: https://github.com/rainyl/opencv_dart/tree/main/packages/opencv_core diff --git a/packages/opencv_dart/example/ios/Podfile.lock b/packages/opencv_dart/example/ios/Podfile.lock deleted file mode 100644 index f4d18c18..00000000 --- a/packages/opencv_dart/example/ios/Podfile.lock +++ /dev/null @@ -1,28 +0,0 @@ -PODS: - - Flutter (1.0.0) - - image_picker_ios (0.0.1): - - Flutter - - opencv_dart (0.0.1): - - Flutter - -DEPENDENCIES: - - Flutter (from `Flutter`) - - image_picker_ios (from `.symlinks/plugins/image_picker_ios/ios`) - - opencv_dart (from `.symlinks/plugins/opencv_dart/ios`) - -EXTERNAL SOURCES: - Flutter: - :path: Flutter - image_picker_ios: - :path: ".symlinks/plugins/image_picker_ios/ios" - opencv_dart: - :path: ".symlinks/plugins/opencv_dart/ios" - -SPEC CHECKSUMS: - Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7 - image_picker_ios: c560581cceedb403a6ff17f2f816d7fea1421fc1 - opencv_dart: 818b078a7168d455a7b84e1b1a0f444835ad666b - -PODFILE CHECKSUM: 819463e6a0290f5a72f145ba7cde16e8b6ef0796 - -COCOAPODS: 1.15.2 diff --git a/packages/opencv_dart/example/macos/Podfile.lock b/packages/opencv_dart/example/macos/Podfile.lock deleted file mode 100644 index 62e0d948..00000000 --- a/packages/opencv_dart/example/macos/Podfile.lock +++ /dev/null @@ -1,67 +0,0 @@ -PODS: - - "DartCvMacOS (4.10.0+2)": - - "DartCvMacOS/calib3d (= 4.10.0+2)" - - "DartCvMacOS/contrib (= 4.10.0+2)" - - "DartCvMacOS/core (= 4.10.0+2)" - - "DartCvMacOS/features2d (= 4.10.0+2)" - - "DartCvMacOS/imgproc (= 4.10.0+2)" - - "DartCvMacOS/objdetect (= 4.10.0+2)" - - "DartCvMacOS/photo (= 4.10.0+2)" - - "DartCvMacOS/stitching (= 4.10.0+2)" - - "DartCvMacOS/video (= 4.10.0+2)" - - "DartCvMacOS/calib3d (4.10.0+2)": - - DartCvMacOS/core - - "DartCvMacOS/contrib (4.10.0+2)": - - DartCvMacOS/core - - "DartCvMacOS/core (4.10.0+2)" - - "DartCvMacOS/dnn (4.10.0+2)": - - DartCvMacOS/core - - "DartCvMacOS/features2d (4.10.0+2)": - - DartCvMacOS/core - - "DartCvMacOS/imgproc (4.10.0+2)": - - DartCvMacOS/core - - "DartCvMacOS/objdetect (4.10.0+2)": - - DartCvMacOS/core - - "DartCvMacOS/photo (4.10.0+2)": - - DartCvMacOS/core - - "DartCvMacOS/stitching (4.10.0+2)": - - DartCvMacOS/core - - "DartCvMacOS/video (4.10.0+2)": - - DartCvMacOS/core - - "DartCvMacOS/videoio (4.10.0+2)": - - DartCvMacOS/core - - file_selector_macos (0.0.1): - - FlutterMacOS - - FlutterMacOS (1.0.0) - - opencv_dart (0.0.1): - - "DartCvMacOS (= 4.10.0+2)" - - "DartCvMacOS/dnn (= 4.10.0+2)" - - "DartCvMacOS/videoio (= 4.10.0+2)" - - FlutterMacOS - -DEPENDENCIES: - - file_selector_macos (from `Flutter/ephemeral/.symlinks/plugins/file_selector_macos/macos`) - - FlutterMacOS (from `Flutter/ephemeral`) - - opencv_dart (from `Flutter/ephemeral/.symlinks/plugins/opencv_dart/macos`) - -SPEC REPOS: - trunk: - - DartCvMacOS - -EXTERNAL SOURCES: - file_selector_macos: - :path: Flutter/ephemeral/.symlinks/plugins/file_selector_macos/macos - FlutterMacOS: - :path: Flutter/ephemeral - opencv_dart: - :path: Flutter/ephemeral/.symlinks/plugins/opencv_dart/macos - -SPEC CHECKSUMS: - DartCvMacOS: 9dfb2345a8d97cdddd49620385f9d848a05aa80a - file_selector_macos: cc3858c981fe6889f364731200d6232dac1d812d - FlutterMacOS: 8f6f14fa908a6fb3fba0cd85dbd81ec4b251fb24 - opencv_dart: b2c040bac530fad54c8146ffed77e86fae930ea9 - -PODFILE CHECKSUM: 9ebaf0ce3d369aaa26a9ea0e159195ed94724cf3 - -COCOAPODS: 1.15.2 diff --git a/packages/opencv_dart/images/opencv_dart_size_report.svg b/packages/opencv_dart/images/opencv_dart_size_report.svg index 73a1cb67..ddaa23cc 100644 --- a/packages/opencv_dart/images/opencv_dart_size_report.svg +++ b/packages/opencv_dart/images/opencv_dart_size_report.svg @@ -169,8 +169,8 @@ Total: - 71.56 MB + 70.85 MB Package: - 21.95 MB + 21.24 MB \ No newline at end of file diff --git a/packages/opencv_dart/ios/opencv_dart.podspec b/packages/opencv_dart/ios/opencv_dart.podspec index b8712b3f..c5dc2230 100644 --- a/packages/opencv_dart/ios/opencv_dart.podspec +++ b/packages/opencv_dart/ios/opencv_dart.podspec @@ -2,6 +2,13 @@ # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html. # Run `pod lib lint opencv_dart.podspec` to validate before publishing. # +require 'psych' + +proj_dir = File.dirname(File.dirname(__FILE__)) +pubspec_path = File.join(proj_dir, "pubspec.yaml") +pubspec = Psych.load(File.read(pubspec_path)) +dartcv_version = pubspec["dartcv_version"] + Pod::Spec.new do |s| s.name = 'opencv_dart' s.version = '0.0.1' @@ -10,7 +17,7 @@ Pod::Spec.new do |s| OpenCV bindings for Dart. DESC s.homepage = 'https://github.com/rainyl/opencv_dart' - s.license = { :file => '../LICENSE' } + s.license = { :type => 'Apache License 2.0', :file => '../LICENSE' } s.author = { 'Rainyl' => 'rainyliusy3@gmail.com' } # This will ensure the source files in Classes/ are included in the native @@ -20,9 +27,9 @@ Pod::Spec.new do |s| s.source = { :path => '.' } # s.source_files = 'Classes/**/*' s.dependency 'Flutter' - s.dependency 'DartCvIOS', '4.10.0+2' - s.dependency 'DartCvIOS/dnn', '4.10.0+2' - s.dependency 'DartCvIOS/videoio', '4.10.0+2' + s.dependency 'DartCvIOS', "#{dartcv_version}" + s.dependency 'DartCvIOS/dnn', "#{dartcv_version}" + s.dependency 'DartCvIOS/videoio', "#{dartcv_version}" s.platform = :ios, '12.0' diff --git a/packages/opencv_dart/macos/opencv_dart.podspec b/packages/opencv_dart/macos/opencv_dart.podspec index 96e343e9..82f5ff2b 100644 --- a/packages/opencv_dart/macos/opencv_dart.podspec +++ b/packages/opencv_dart/macos/opencv_dart.podspec @@ -2,6 +2,13 @@ # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html. # Run `pod lib lint opencv_dart.podspec` to validate before publishing. # +require 'psych' + +proj_dir = File.dirname(File.dirname(__FILE__)) +pubspec_path = File.join(proj_dir, "pubspec.yaml") +pubspec = Psych.load(File.read(pubspec_path)) +dartcv_version = pubspec["dartcv_version"] + Pod::Spec.new do |s| s.name = 'opencv_dart' s.version = '0.0.1' @@ -10,7 +17,7 @@ Pod::Spec.new do |s| OpenCV bindings for Dart. DESC s.homepage = 'https://github.com/rainyl/opencv_dart' - s.license = { :file => '../LICENSE' } + s.license = { :type => 'Apache License 2.0', :file => '../LICENSE' } s.author = { 'Rainyl' => 'rainyliusy3@gmail.com' } # This will ensure the source files in Classes/ are included in the native @@ -20,9 +27,9 @@ Pod::Spec.new do |s| s.source = { :path => '.' } # s.source_files = 'Classes/**/*' s.dependency 'FlutterMacOS' - s.dependency 'DartCvMacOS', '4.10.0+2' - s.dependency 'DartCvMacOS/dnn', '4.10.0+2' - s.dependency 'DartCvMacOS/videoio', '4.10.0+2' + s.dependency 'DartCvMacOS', "#{dartcv_version}" + s.dependency 'DartCvMacOS/dnn', "#{dartcv_version}" + s.dependency 'DartCvMacOS/videoio', "#{dartcv_version}" s.platform = :osx, '10.15' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } diff --git a/packages/opencv_dart/pubspec.yaml b/packages/opencv_dart/pubspec.yaml index 7a305744..4848353e 100644 --- a/packages/opencv_dart/pubspec.yaml +++ b/packages/opencv_dart/pubspec.yaml @@ -3,9 +3,9 @@ description: | OpenCV4 bindings for Flutter, using dart:ffi. This plugin include `videoio` module, if you don't need it, please use `opencv_core` instead. -version: 1.3.0 +version: 1.3.1 opencv_version: 4.10.0+9 -dartcv_version: 4.10.0+2 +dartcv_version: 4.10.0.3 repository: https://github.com/rainyl/opencv_dart homepage: https://github.com/rainyl/opencv_dart/tree/main/packages/opencv_dart