FS#32430 - [opencv] opencv.pc broken
Attached to Project:
Arch Linux
Opened by Jan Alexander Steffens (heftig) - Saturday, 03 November 2012, 19:55 GMT
Last edited by Eric Belanger (Snowman) - Monday, 05 November 2012, 02:49 GMT
Opened by Jan Alexander Steffens (heftig) - Saturday, 03 November 2012, 19:55 GMT
Last edited by Eric Belanger (Snowman) - Monday, 05 November 2012, 02:49 GMT
|
Details
opencv.pc currently looks like this:
# Package Information for pkg-config prefix=/usr exec_prefix=${prefix} libdir= includedir_old=${prefix}/include/opencv includedir_new=${prefix}/include Name: OpenCV Description: Open Source Computer Vision Library Version: 2.4.2 Libs: ${exec_prefix}/lib/libopencv_calib3d.so ${exec_prefix}/lib/libopencv_contrib.so ${exec_prefix}/lib/libopencv_core.so ${exec_prefix}/lib/libopencv_features2d.so ${exec_prefix}/lib/libopencv_flann.so ${exec_prefix}/lib/libopencv_gpu.so ${exec_prefix}/lib/libopencv_highgui.so ${exec_prefix}/lib/libopencv_imgproc.so ${exec_prefix}/lib/libopencv_legacy.so ${exec_prefix}/lib/libopencv_ml.so ${exec_prefix}/lib/libopencv_nonfree.so ${exec_prefix}/lib/libopencv_objdetect.so ${exec_prefix}/lib/libopencv_photo.so ${exec_prefix}/lib/libopencv_stitching.so ${exec_prefix}/lib/libopencv_ts.so ${exec_prefix}/lib/libopencv_video.so ${exec_prefix}/lib/libopencv_videostab.so Cflags: -I${includedir_old} -I${includedir_new} --- However, it should be looking like this: # Package Information for pkg-config prefix=/usr exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir_old=${prefix}/include/opencv includedir_new=${prefix}/include Name: OpenCV Description: Open Source Computer Vision Library Version: 2.4.2 Libs: -L${libdir} -lopencv_calib3d -lopencv_contrib -lopencv_core -lopencv_features2d -lopencv_flann -lopencv_gpu -lopencv_highgui -lopencv_imgproc -lopencv_legacy -lopencv_ml -lopencv_nonfree -lopencv_objdetect -lopencv_photo -lopencv_stitching -lopencv_ts -lopencv_video -lopencv_videostab Cflags: -I${includedir_old} -I${includedir_new} --- Otherwise, standard use of pkg-config --libs is broken. |
This task depends upon
Closed by Eric Belanger (Snowman)
Monday, 05 November 2012, 02:49 GMT
Reason for closing: Fixed
Additional comments about closing: opencv 2.4.3-1
Monday, 05 November 2012, 02:49 GMT
Reason for closing: Fixed
Additional comments about closing: opencv 2.4.3-1
So, I really don't know what they're up to. Should we just patch it out, and post something upstream letting them know about this mess?
[1] https://gist.github.com/4008832
[2] https://gist.github.com/4008833
http://pkgs.fedoraproject.org/cgit/opencv.git/tree/opencv-pkgcmake.patch
Will get to it.