Opened 14 years ago

Closed 14 years ago

#27800 closed defect (fixed)

opencv+libdc1394 breaks iSight FireWire camera compatibility; no qt4 support.

Reported by: njbutko@… Owned by: stante@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: haspatch Cc:
Port: opencv

Description (last modified by mf2k (Frank Schima))

By default, macports opencv2.2 tries to install and link to libdc1394, which makes old iSight cameras not work. There is no variant to turn libdc1394 off.

Also, there are no variants to enable the new qt4 backend for graphical interfaces.

I am attaching a patch with two improvements:

  1. libdc1394 variant makes libdc1394 support opt-in.
  2. qt4 variant enables qt4 backend for graphical interface.

Attachments (3)

opencv_Portfile.patch (741 bytes) - added by njbutko@… 14 years ago.
patch for graphics/opencv/Portfile
Portfile (5.4 KB) - added by njbutko@… 14 years ago.
New Portfile (after patch)
opencv_Portfile_diffu.patch (1.5 KB) - added by njbutko@… 14 years ago.
Patch in diff -u format.

Download all attachments as: .zip

Change History (12)

Changed 14 years ago by njbutko@…

Attachment: opencv_Portfile.patch added

patch for graphics/opencv/Portfile

Changed 14 years ago by njbutko@…

Attachment: Portfile added

New Portfile (after patch)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: haspatch added
Owner: changed from macports-tickets@… to stante@…

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Note that patches in unified format (diff -u) are preferred as they are easier to review.

Changed 14 years ago by njbutko@…

Attachment: opencv_Portfile_diffu.patch added

Patch in diff -u format.

comment:3 Changed 14 years ago by njbutko@…

Can we get this patch applied soon? I want to install opencv+qt4 on several lab computers.

comment:4 in reply to:  3 Changed 14 years ago by tingfan@…

Replying to njbutko@…:

Can we get this patch applied soon? I want to install opencv+qt4 on several lab computers.

Thanks for the patch, it fixed my problem

comment:5 Changed 14 years ago by njbutko@…

ping

comment:6 Changed 14 years ago by njbutko@…

ping

comment:7 Changed 14 years ago by njbutko@…

ping

comment:8 Changed 14 years ago by mf2k (Frank Schima)

comment:9 Changed 14 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.