Opened 18 years ago

Closed 18 years ago

#1567 closed patch (fixed)

detection for Debian GL header location

Reported by: visit0r Owned by: danielk
Priority: minor Milestone: 0.20
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

Debian and Ubuntu install NVIDIA GL headers to a weird location in order not to overwrite the headers installed from Mesa, etc. This patch adds a trivial detection to configure for this case, and adds the correct include location to the include paths.

The patch is against 0.19, but should trivially apply to HEAD also.

Attachments (2)

detect_debian_gl_header_location.diff (649 bytes) - added by visit0r 18 years ago.
patch against 0.19-fixes
detect_debian_gl_header_location.2.diff (834 bytes) - added by visit0r 18 years ago.
Should now add the correct include path even if the opengl-vsync is not used.

Download all attachments as: .zip

Change History (5)

Changed 18 years ago by visit0r

patch against 0.19-fixes

comment:1 Changed 18 years ago by visit0r

I realized that MythTV uses OpenGL now for other things (the new UI stuff, etc.) so the detection should be moved out from the if block, so the include path is added also when the OpenGL vsync is not enabled.

Changed 18 years ago by visit0r

Should now add the correct include path even if the opengl-vsync is not used.

comment:2 Changed 18 years ago by danielk

Owner: changed from Isaac Richards to danielk
Version: 0.19head

comment:3 Changed 18 years ago by danielk

Resolution: fixed
Status: newclosed

(In [9977]) Fixes #1567. Adjust for non-standard locations where Debian sticks the nvidia's opengl headers.

Since nVidia's driver packages are not considered part of the distribution they aren't installed in the proper locations, but instead are put in documentation or share directories from which the user is expected to manually install them. Since few users do this, this just makes MythTV check those locations and adds them to the include path if needed.

Note: See TracTickets for help on using tickets.