-
Notifications
You must be signed in to change notification settings - Fork 637
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to OpenCV 4.5.5 and add Mac M1 architecture #1084 #1125
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prefer to include i686 and s390x version in binary distribution package:
diff --git a/dcm4che-assembly/pom.xml b/dcm4che-assembly/pom.xml
index 8ee13852e..3a14c1b4a 100644
--- a/dcm4che-assembly/pom.xml
+++ b/dcm4che-assembly/pom.xml
@@ -544,6 +544,13 @@
<type>so</type>
<classifier>linux-x86</classifier>
</dependency>
+ <dependency>
+ <groupId>org.weasis.thirdparty.org.opencv</groupId>
+ <artifactId>libopencv_java</artifactId>
+ <version>${weasis.opencv.native.version}</version>
+ <type>so</type>
+ <classifier>linux-s390x</classifier>
+ </dependency>
<dependency>
<groupId>org.weasis.thirdparty.org.opencv</groupId>
<artifactId>libopencv_java</artifactId>
diff --git a/dcm4che-assembly/src/main/assembly/component.xml b/dcm4che-assembly/src/main/assembly/component.xml
index 17bf68857..bb8b32ec2 100644
--- a/dcm4che-assembly/src/main/assembly/component.xml
+++ b/dcm4che-assembly/src/main/assembly/component.xml
@@ -231,6 +231,22 @@
</includes>
<useProjectArtifact>false</useProjectArtifact>
</dependencySet>
+ <dependencySet>
+ <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
+ <outputDirectory>lib/linux-x86</outputDirectory>
+ <includes>
+ <include>*:*:so:linux-x86:*</include>
+ </includes>
+ <useProjectArtifact>false</useProjectArtifact>
+ </dependencySet>
+ <dependencySet>
+ <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
+ <outputDirectory>lib/linux-s390x</outputDirectory>
+ <includes>
+ <include>*:*:so:linux-s390x:*</include>
+ </includes>
+ <useProjectArtifact>false</useProjectArtifact>
+ </dependencySet>
<dependencySet>
Not sure about appropriate sub directory names in the distribution package. NativeLibraryResourceLoader of jboss-modules expects linux-i686
for x86 32-bit arch - and it does not support loading s390x native libraries, so I agree to keep the s390x version excluded from dcm4che-jboss-modules assembly.
The directory name must match with the package name in the table above. |
So
looks ok for you? @nroduit We may think about to provide os-arch specific binary distribution packages to reduce download bandwidth in a separate step... |
dcm4che uses a native library for the compression and decompression of images. Here is the list of supported systems and architectures:
*
*
* The binary is not included in the dcm4che package but downloaded at the first use.