cookbook 'ds_opencv', '~> 3.0.0'
The ds_opencv cookbook has been deprecated
Author provided reason for deprecation:
The ds_opencv cookbook has been deprecated and is no longer being maintained by its authors. Use of the ds_opencv cookbook is no longer recommended.
You may find that the opencv cookbook is a suitable alternative.
ds_opencv (6) Versions 3.0.0 Follow0
Builds and installs opencv
cookbook 'ds_opencv', '~> 3.0.0', :supermarket
knife supermarket install ds_opencv
knife supermarket download ds_opencv
ds_opencv
Cookbook to build and install OpenCV
Supported versions
The following table describes which OpenCV versions this cookbook supports:
Cookbook version | Ubuntu version | OpenCV versions | x86_64 binaries available |
---|---|---|---|
1.x | 16.04 | 3.x | |
>= 2.0.0 | 18.04 | 3.x, 2.x | |
>= 2.1.0 | 18.04 | 4.x, 3.x, 2.x | |
>= 3.0.0 | 18.04 | 4.x, 3.x, 2.x | 4.3.0 |
Usage
- Include
ds_opencv::default
in your wrapper cookbook - Set the
node['ds_opencv']['opencv']['version']
in your wrapper.
Packaging binaries for a new OpenCV version
Installing OpenCV from binary debian packages is substantially faster than compiling from source.
If you would like to add a binary for a version of OpenCV you are using in your cookbook, follow these steps:
- Bump your downstream cookbook to ds_opencv 3.0.0 or later.
- Either by using kitchen or an existing instance, collect the debian packages in /opt/opencv-VERSION/ (downloading with
scp -r instance:/opt/OPENCVDIR/*.deb ~/
) worked for me. Every installation of ds_opencv 3.0.0 or later includes flags to build these packages, however this is not the default. - Upload those debian packages to
s3:darksky-ops/pkg/opencv_public/
with a prefix that matches the existing formatCVVERSION-ARCH-UBUNTUVERSION
. Make sure those files (but not the whole bucket!) have public read permissions. - Add the name of each of those packages to the hash at the top of the default recipe in this repository.
- Release a new version of this cookbook. You're good to go!
Dependent cookbooks
apt >= 0.0.0 |
build-essential >= 0.0.0 |
git >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
CHANGELOG for ds_opencv
cookbook
v1.3.2
- Fix up Test Kitchen + Travis CI setup
v1.3.1
- Fix unit test to go with 2dedba1a4d26d6d6724d3930e8f5eaeb1f65ef6b
v1.3.0
- Use
apt
cookbook instead of directly callingapt_update
resource
v1.2.0
- Add tests
- Fix incorrect path to library to improve idempotency
- Open source the cookbook
- Initial release to Supermarket
v1.1.0
- Add some parallelism to opencv make
v1.0.0
- Initial release
Collaborator Number Metric
3.0.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
3.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
3.0.0 failed this metric
FC121: Cookbook depends on cookbook made obsolete by Chef 14: ds_opencv/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
3.0.0 passed this metric
Testing File Metric
3.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
3.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
3.0.0 failed this metric
3.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
3.0.0 failed this metric
FC121: Cookbook depends on cookbook made obsolete by Chef 14: ds_opencv/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
3.0.0 passed this metric
Testing File Metric
3.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
3.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
3.0.0 failed this metric
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
3.0.0 passed this metric
Testing File Metric
3.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
3.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
3.0.0 failed this metric
3.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number