SHA256
1
0
forked from pool/Mesa

Accepting request 149732 from X11:XOrg

- reverted removing Libs.private/Requires.private in pkgconfig
  files

- enable llvm backend also for ARM

- Add requires for Mesa to Mesa-libGL1 in baselibs.conf
 * Mesa required for many applications in wine
 * wine-32bit pulls through Mesa-libGL1-32bit without Mesa-32bit

- Remove Requires.private and Libs.private from *.pc files
 * Both are needed only for static linking
 * This package provides only shared libraries
 * the rpm pkgconfig dependency generator considers "Requires.private"
   a valid dependency even though there are no static libraries in the 
   packages
 * This cause bloat and hides broken "buildRequires" in other packages.

OBS-URL: https://build.opensuse.org/request/show/149732
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Mesa?expand=0&rev=163
This commit is contained in:
Stephan Kulow 2013-01-24 09:44:52 +00:00 committed by Git OBS Bridge
commit 94617b348a
3 changed files with 36 additions and 3 deletions

View File

@ -1,3 +1,31 @@
-------------------------------------------------------------------
Wed Jan 23 11:55:36 UTC 2013 - sndirsch@suse.com
- reverted removing Libs.private/Requires.private in pkgconfig
files
-------------------------------------------------------------------
Sat Jan 19 14:32:46 UTC 2013 - dmueller@suse.com
- enable llvm backend also for ARM
-------------------------------------------------------------------
Fri Jan 18 17:04:12 UTC 2013 - rbrownccb@opensuse.org
- Add requires for Mesa to Mesa-libGL1 in baselibs.conf
* Mesa required for many applications in wine
* wine-32bit pulls through Mesa-libGL1-32bit without Mesa-32bit
-------------------------------------------------------------------
Sat Jan 5 15:28:51 UTC 2013 - crrodriguez@opensuse.org
- Remove Requires.private and Libs.private from *.pc files
* Both are needed only for static linking
* This package provides only shared libraries
* the rpm pkgconfig dependency generator considers "Requires.private"
a valid dependency even though there are no static libraries in the
packages
* This cause bloat and hides broken "buildRequires" in other packages.
-------------------------------------------------------------------
Fri Dec 14 11:00:21 UTC 2012 - tobias.johannes.klausmann@mni.thm.de

View File

@ -1,7 +1,7 @@
#
# spec file for package Mesa
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -54,7 +54,7 @@ BuildRequires: pkgconfig(xdamage)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xfixes)
BuildRequires: pkgconfig(xxf86vm)
%ifarch %ix86 x86_64
%ifarch %arm %ix86 x86_64
BuildRequires: llvm-devel
%endif
BuildRequires: libXvMC-devel
@ -502,7 +502,7 @@ autoreconf -fi
--enable-glx-tls \
%endif
--with-dri-searchpath=/usr/%{_lib}/dri/updates:/usr/%{_lib}/dri \
%ifarch %ix86 x86_64
%ifarch %arm %ix86 x86_64
--enable-gallium-llvm \
--with-dri-drivers=i915,i965,nouveau,r200,radeon \
--with-gallium-drivers=r300,r600,nouveau,swrast,svga \
@ -554,6 +554,10 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \
mkdir -p $RPM_BUILD_ROOT/etc
install -m 644 $RPM_SOURCE_DIR/drirc $RPM_BUILD_ROOT/etc
%fdupes -s $RPM_BUILD_ROOT/%_mandir
### disabled for now on request of Coolo
### "please take out this libs things from Cristian for 12.3 - I have no interest in debugging
### broken build dependencies at this point"
#sed -i -e '/^Libs.private/d' -e '/^Requires.private/d' %{buildroot}%{_libdir}/pkgconfig/*.pc
%post -p /sbin/ldconfig

View File

@ -22,6 +22,7 @@ Mesa-libEGL-devel
requires -Mesa-libEGL-<targettype>
requires "Mesa-libEGL1-<targettype> = <version>"
Mesa-libGL1
requires "Mesa-<targettype>"
Mesa-libGL-devel
requires -Mesa-libGL-<targettype>
requires "Mesa-libGL1-<targettype> = <version>"