Open nh2 opened 1 year ago
Thanks @nh2 ! We have a bunch of commits in our circuithub fork. I'm on holiday for the next two weeks, but I'll try and get on top of things when I'm back and we get this all ship shape again
Another thing that could be done:
The SIFT patent expired in 2020 (https://opencv.org/blog/2020/07/18/opencv-4-4-0/) so we should be able to change our code here to move that out of the enable-nonfree
Cabal flag I'm adding in this PR.
@ocharles Do you want to do a short call regarding this?
I'm also in London starting from tonight in case you want to hang out :)
Hey @nh2, sorry for not getting back earlier! A call sounds good - can you do next week some time? And how long are you in London for?
@ocharles Afternoons from 16:00 work for me (except Monday), I'm in London at least the whole week, probably more.
Hey @nh2, sorry I never got back to you! Unfortunately time has been very short recently, and as things go that isn't looking to change any time soon :sweat_smile: I don't think I have time for a call, but I have viewed all your changes here and they look excellent. I'm very happy for you to just crack on with this and merge/release as necessary. If there's anything in particular you want to talk about, let me know. This looks like a sensible and incremental path forward though, and I can't see anything remotely controversial. Good work!
In this PR I modernise
opencv
:opencv-extra
code didn't seem to compile.TemplateHaskell
change in theDoE
constructor.haskell-src-meta
; it broke because its dependencyhaskell-src-exts
evolved its API, see:haskell-src-meta
which supports everything except*
syntax for kinds (that syntax is now deprecated), so switching*
toType
fixed that, see https://github.com/bmillwood/haskell-src-meta/pull/54#issuecomment-1708908138.enable-nonfree
to enable those modules that require the system OpenCV 4 to be compiled with the OPENCV_ENABLE_NONFREE option (most OpenCV installations lack this by default). This was previously enabled unconditionally, which worked fine for OpenCV 3 but not OpenCV 4.FYI @ocharles
TODO
aruco
API broke between OpenCV 4.6 and 4.7, and the current Ubuntu 22.04 LTS has 4.5 while NixOS has 4.7.stack.yaml
'snix
section.enable-nonfree
compiles fine.CHANGELOG
.repa
added back, so thatopencv
can be added back.touch
compatibility: https://github.com/haskell-repa/repa/issues/26stack test opencv --ta --quickcheck-replay=369455
: