public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/opencv] opencv5: Try improve Java Bindings
Date: Fri, 28 Aug 2026 13:31:08 GMT [thread overview]
Message-ID: <178792386810.1.6491940847071849033.rpms-opencv-3c68ac1afc40@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/opencv
Branch : opencv5
Commit : 3c68ac1afc40dae8513f3ea3d168736849509955
Author : Sérgio M. Basto <sergio@serjux.com>
Date : 2019-05-20T19:05:15+01:00
Stats : +13/-7 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/opencv/c/3c68ac1afc40dae8513f3ea3d168736849509955?branch=opencv5
Log:
Try improve Java Bindings
---
diff --git a/opencv.spec b/opencv.spec
index f11915b..1b58656 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -49,6 +49,7 @@
%global srcname opencv
%global abiver 3.4
+%global javaver 344
# Required because opencv-core has lot of spurious dependencies
# (despite supposed to be "-core")
@@ -58,7 +59,7 @@
Name: opencv
Version: 3.4.4
-Release: 9%{?dist}
+Release: 10%{?dist}
Summary: Collection of algorithms for computer vision
# This is normal three clause BSD.
License: BSD
@@ -323,11 +324,11 @@ popd
find %{buildroot} -name '*.la' -delete
rm -rf %{buildroot}%{_datadir}/OpenCV/licenses/
%if %{with java}
-mv %{buildroot}/usr/share/OpenCV/java/libopencv_java344.so %{buildroot}%{_libdir}/libopencv_java.so.%{version}
-ln -s -r %{buildroot}%{_libdir}/libopencv_java.so.%{version} %{buildroot}%{_libdir}/libopencv_java.so.%{abiver}
+mv %{buildroot}/usr/share/OpenCV/java/libopencv_java%{javaver}.so %{buildroot}%{_libdir}
+ln -s -r %{buildroot}%{_libdir}/libopencv_java%{javaver}.so %{buildroot}%{_libdir}/libopencv_java.so
mkdir -p %{buildroot}%{_jnidir}
-mv %{buildroot}/usr/share/OpenCV/java/opencv-344.jar %{buildroot}%{_jnidir}/opencv.jar.%{version}
-ln -s -r %{buildroot}%{_jnidir}/opencv.jar.%{version} %{buildroot}%{_jnidir}/opencv.jar.%{abiver}
+mv %{buildroot}/usr/share/OpenCV/java/opencv-%{javaver}.jar %{buildroot}%{_jnidir}/
+ln -s -r %{buildroot}%{_jnidir}/opencv-%{javaver}.jar %{buildroot}%{_jnidir}/opencv.jar
%endif
%check
@@ -398,8 +399,10 @@ popd
%if %{with java}
%files java
-%{_libdir}/libopencv_java.so.%{abiver}*
-%{_jnidir}/opencv.jar.%{abiver}*
+%{_libdir}/libopencv_java%{javaver}.so
+%{_libdir}/libopencv_java.so
+%{_jnidir}/opencv-%{javaver}.jar
+%{_jnidir}/opencv.jar
%endif
%files contrib
@@ -435,6 +438,9 @@ popd
%{_libdir}/libopencv_xphoto.so.%{abiver}*
%changelog
+* Mon May 20 2019 Sérgio Basto <sergio@serjux.com> - 3.4.4-10
+- Try improve Java Bindings
+
* Sun May 12 2019 Sérgio Basto <sergio@serjux.com> - 3.4.4-9
- Enable Java Bindings (contribution of Ian Wallace)
- Obsoletes python2-opencv to fix upgrade path
reply other threads:[~2026-08-28 13:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178792386810.1.6491940847071849033.rpms-opencv-3c68ac1afc40@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox