This is because the DRI2 code in hw/xfree86/dri2 is no sufficiently generic to be shared. Drivers rely on the symbols in the DRI2 code to work, so splitting it out would require us to keep odd symbols around and have to be very careful not to break anything.
I discussed this in XDC 2015 and people agreed it wasn't really suitable to be split out. Hopefully we can switch to DRI3 at some point. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1499245 Title: Xmir has its own modified copy of libdri2 Status in xorg-server package in Ubuntu: New Bug description: Xmir has its own modified copy of libdri2. And I have no idea why... $ diff -qr ./hw/xfree86/dri2 hw/xmir/dri2 Files ./hw/xfree86/dri2/dri2.c and hw/xmir/dri2/dri2.c differ Files ./hw/xfree86/dri2/dri2ext.c and hw/xmir/dri2/dri2ext.c differ Files ./hw/xfree86/dri2/dri2.h and hw/xmir/dri2/dri2.h differ Files ./hw/xfree86/dri2/Makefile.am and hw/xmir/dri2/Makefile.am differ Only in ./hw/xfree86/dri2: pci_ids To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1499245/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp