(Needs mesa 7.5rc2) mesa doesn't install dri.pc

Bug #379797 reported by Tom Jaeger
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mesa (Debian)
Fix Released
Undecided
Unassigned
mesa (Ubuntu)
Fix Released
High
Bryce Harrington

Bug Description

Newer versions of the X server (master, xi2) require the dri package in order to build, which the ubunu mesa currently doesn't provide. Here's how I solved the problem in my xorg-xi2 PPA, but this might not be the cleanest solution.

diff -Nru /tmp/c1Y6T9RNXo/mesa-7.4.1/debian/mesa-common-dev.install /tmp/vYhIt3jUok/mesa-7.4.1/debian/mesa-common-dev.install
--- mesa-7.4.1/debian/mesa-common-dev.install 2009-05-23 02:24:10.000000000 +0100
+++ mesa-7.4.1/debian/mesa-common-dev.install 2009-05-23 02:02:21.000000000 +0100
@@ -3,3 +3,4 @@
 usr/include/GL/gl_mangle.h
 usr/include/GL/glx*.h
 usr/include/GL/internal/dri_interface.h
+usr/lib/pkgconfig/dri.pc
diff -Nru /tmp/c1Y6T9RNXo/mesa-7.4.1/debian/rules /tmp/vYhIt3jUok/mesa-7.4.1/debian/rules
--- mesa-7.4.1/debian/rules 2009-05-23 02:24:10.000000000 +0100
+++ mesa-7.4.1/debian/rules 2009-05-23 01:53:04.000000000 +0100
@@ -188,6 +188,7 @@
  dh_clean -k
  dh_installdirs
  $(MAKE) -f debian/rules $(INSTALL_TARGETS)
+ cp debian/tmp/usr/lib/glx/pkgconfig/dri.pc debian/tmp/usr/lib/pkgconfig/dri.pc

 install-%: $(STAMP)-build-%
  cd $(DEB_BUILD_DIR)/$* && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install

Related branches

Changed in mesa (Debian):
status: Unknown → New
Bryce Harrington (bryce)
Changed in mesa (Ubuntu):
assignee: nobody → Bryce Harrington (bryceharrington)
importance: Undecided → High
milestone: none → karmic-alpha-3
status: New → Triaged
Revision history for this message
Robert Hooker (sarvatt) wrote :

Fixed now in debian-experimental by this commit which should make its way down to ubuntu when mesa gets upgraded to 7.5rc2 (or newer).

http://git.debian.org/?p=pkg-xorg/lib/mesa.git;a=commit;h=537f3e7a1ef969b191f3d751f17563ab620d3676

Bryce Harrington (bryce)
summary: - mesa doesn't install dri.pc
+ (Needs mesa 7.5rc2) mesa doesn't install dri.pc
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mesa - 7.4.1-1ubuntu6

---------------
mesa (7.4.1-1ubuntu6) karmic; urgency=low

  * Install dri.pc in libgl1-mesa-dev as well
    (LP: #379797)

 -- Robert Hooker <email address hidden> Wed, 24 Jun 2009 17:47:08 -0400

Changed in mesa (Ubuntu):
status: Triaged → Fix Released
Robert Hooker (sarvatt)
Changed in mesa (Debian):
importance: Unknown → Undecided
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.