Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-1314 eselect opengl bugs
  3. FL-696

USE flag changes in mesa leaves dangling symbolic files behind

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None
    • None
    • Funtoo current, 64bit arch.

      After trying to build mesa with openvg and reverting without it's support, some dangling symbolic files are left in /usr/include/VG that point to non-existent files in /usr/lib64/opengl/xorg-x11/include/VG/*

      This made me think about why those headers are installed there in the first place.

      It doesn't make sense to package Khronos header files part of mesa, and then to install them all in a folder specific to opengl, which can be misleading as it's only one of the standards. I know right now most openvg implementations rely on opengl, but it wasn't designed that way, and there is already work being done in direct hardware acceleration.

      I suggest to package the khronos header files as a separate package from:
      http://www.khronos.org/registry/, with maybe a flag to control which standard headers should be copied to the system.

      This will avoid also file conflicts on laptops that have different opengl implementations (optimus cards) if any.

      I haven't given this solution much thought, so it might not be the right approach to solve this. But changing the use flag on mesa should definitely not lead to broken symbolic files.

        1. mesa-content.log
          1 kB
        2. mesa-content-openvg.log
          2 kB
        3. mesa-content-openvg-symlink.log
          0.6 kB
        4. mesa-content -symlink.log
          0.5 kB

            mgorny Michał Górny
            placidrage Joe R. Nassimian
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: