From f70f436e9d1da20cd41a9fed45c96d798fc7e4ef53d2c0e39ce4e6094f8258e6 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Mon, 27 Oct 2014 07:38:50 +0000 Subject: [PATCH] Accepting request 258365 from home:mayerjosua:branches:X11:XOrg move dri devle files from Mesa-devel to their own package. This prevents pkgconfig(dri) from pulling in *all* of Mesa, which can be troublesome if one uses his own non-mesa packages for libraries such as libGL and libGLESv2. OBS-URL: https://build.opensuse.org/request/show/258365 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=403 --- Mesa.changes | 7 +++++++ Mesa.spec | 17 +++++++++++++++-- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/Mesa.changes b/Mesa.changes index f9602ed..7f1d8ec 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat Oct 25 10:24:33 UTC 2014 - josua.mayer97@gmail.com + +- add Mesa-devel-dri package: + This way dri.pc will no longer pull in all of Mesa, just as + packages requiring dri do not have to require Mesa-devel anymore + ------------------------------------------------------------------- Mon Oct 13 19:48:42 UTC 2014 - seanpwatson@live.com diff --git a/Mesa.spec b/Mesa.spec index 857a1df..f633161 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -167,6 +167,7 @@ just Mesa or The Mesa 3-D graphics library. Summary: Libraries, includes and more to develop Mesa applications Group: Development/Libraries/X11 Requires: Mesa = %version +Requires: Mesa-dri-devel = %version Requires: Mesa-libEGL-devel = %version Requires: Mesa-libGL-devel = %version Requires: Mesa-libGLESv1_CM-devel = %version @@ -380,6 +381,15 @@ Development files for the Mesa GL API module which is responsible for dispatching all the gl* functions. It is intended to be mainly used by the Mesa-libGLES* packages. +%package -n Mesa-dri-devel +Summary: Development files for the DRI API +Group: Development/Libraries/C and C++ +Requires: Mesa = %version + +%description -n Mesa-dri-devel +This package contains the development environment required for +compiling programs and libraries using the DRI API. + %package -n libgbm1 Summary: Generic buffer management API Group: System/Libraries @@ -833,10 +843,13 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \ %defattr(-,root,root) %_libdir/libglapi.so -%files devel +%files -n Mesa-dri-devel %defattr(-,root,root) -%doc docs/*.html %_includedir/GL/internal %_libdir/pkgconfig/dri.pc +%files devel +%defattr(-,root,root) +%doc docs/*.html + %changelog