[Bug 237135] [patch] Repocopy graphics/opencv to graphics/opencv3 and update to 3.4.5 with slave ports

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Apr 9 07:11:29 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237135

            Bug ID: 237135
           Summary: [patch] Repocopy graphics/opencv to graphics/opencv3
                    and update to 3.4.5 with slave ports
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: hiroo.ono+freebsd at gmail.com

Created attachment 203513
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=203513&action=edit
opencv-3.4.5 patch.

Here is a patch to update opencv 3.4.1 to 3.4.5.
Regarding bug #234147, repocopy
  from graphics/opencv to graphics/opencv3,
  from graphics/py-opencv to graphics/py-opencv3,
  from graphics/opencv3-java to graphics/opencv3-java,
and apply the patch.

I am working on 3.4.1 -> 3.4.5 update, and arnov is working on 4.0.1 port.
(see:
https://forums.freebsd.org/threads/make-extract-extracts-two-files-to-the-same-location.69940/
)
So, I decided to make subdirectories for 3.4.5 as below, to be able to also
install 4.0.1.

/usr/local/bin/opencv_annotation ->
/usr/local/bin/opencv-3.4.5/opencv_annotation
/usr/local/lib/libopencv_core.so ->
/usr/local/lib/opencv-3.4.5/libopencv_core.so
/usr/local/share/OpenCV -> /usr/local/lib/OpenCV/3.4.5

Problem 1: How should I separate opencv python library between 3.4.5 and 4.0.1?
I have no idea and left the directory layout as it was.
Thus, graphics/py-opencv3 will confict with (coming) opencv 4.0.1 python
library.

Todo:
1) There are about 42 ports that have direct dependency on graphics/opencv.
   I need to make change and test if these ports work, but it will take time.
2) I did not yet verified arnov's OpenCV 4.0.1 port do not really conflict
   with this 3.4.5 update. I will need to check and make change to the patch
   once he files the 4.0.1 port.
3) Though it is an option, there is dependency on graphics/ogre3d, but version
   1.10 or later. To update graphics/ogre3d, games/opendungeons,
   games/stuntrarry and misc/visp needs update and patches. The former two
   seem to have pull requests to make them work with ogre 1.11, but I am not
   sure about misc/visp (for visp, graphics/ogre3d is also an option.)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list