/[packages]/cauldron/mesa/current/SPECS/mesa.spec
ViewVC logotype

Diff of /cauldron/mesa/current/SPECS/mesa.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1167695 by tv, Tue Oct 3 08:14:29 2017 UTC revision 1177988 by tmb, Mon Nov 20 22:06:50 2017 UTC
# Line 12  Line 12 
12    
13  # https://cgit.freedesktop.org/mesa/mesa/commit/?h=13.0&id=3bb0415ab96f74183f7aa58c1a543448653ccb3e  # https://cgit.freedesktop.org/mesa/mesa/commit/?h=13.0&id=3bb0415ab96f74183f7aa58c1a543448653ccb3e
14  %define git 0  %define git 0
15  %define git_branch 17.1  %define git_branch 17.3
16    
17  %define opengl_ver 4.5  %define opengl_ver 4.5
18    
19  # define version, RC & release  # define version, RC & release
20  %define main_version            17.2.2  %define main_version            17.3.0
21  #define relc                    5  %define relc                    5
22  %define rel                     2  %define rel                     1
23    
24  %define release                 %mkrel %{?relc:0.rc%{relc}.}%{rel}  %define release                 %mkrel %{?relc:0.rc%{relc}.}%{rel}
25    
# Line 99  Line 99 
99  %define base_drivers swrast,nouveau,radeon,r200  %define base_drivers swrast,nouveau,radeon,r200
100  %ifarch %{ix86} x86_64  %ifarch %{ix86} x86_64
101  %define platform_drivers ,i915,i965  %define platform_drivers ,i915,i965
102    %define gallium_platform_drivers ,svga
103  %endif  %endif
104  %define dri_drivers --with-dri-drivers=%{?base_drivers}%{?platform_drivers}  %define dri_drivers --with-dri-drivers=%{?base_drivers}%{?platform_drivers}
105    
# Line 165  Source3:       make-git-snapshot.sh Line 166  Source3:       make-git-snapshot.sh
166  # In order to update to the branch via patches, issue this command:  # In order to update to the branch via patches, issue this command:
167  # git format-patch --start-number 100 mesa_7_5_1..mesa_7_5_branch | sed 's/^0\([0-9]\+\)-/Patch\1: 0\1-/'  # git format-patch --start-number 100 mesa_7_5_1..mesa_7_5_branch | sed 's/^0\([0-9]\+\)-/Patch\1: 0\1-/'
168    
169    # from mesa master: https://cgit.freedesktop.org/mesa/mesa/commit/?id=c591b1e59454db2e8854e36852e0d413ce38b2f2
170    Patch100:       i965-expose-SRGB-visuals-and-turn-on-EGL_KHR_gl-colorspace.patch
171    
172  # Cherry picks  # Cherry picks
173  # git format-patch --start-number 200 mesa_7_5_branch..mdv-cherry-picks  # git format-patch --start-number 200 mesa_7_5_branch..mdv-cherry-picks
174    
# Line 172  Source3:       make-git-snapshot.sh Line 176  Source3:       make-git-snapshot.sh
176  # http://pkgs.fedoraproject.org/cgit/rpms/mesa.git/  # http://pkgs.fedoraproject.org/cgit/rpms/mesa.git/
177  # git format-patch --start-number 300 mdv-cherry-picks..mdv-redhat  # git format-patch --start-number 300 mdv-cherry-picks..mdv-redhat
178    
179    # https://cgit.freedesktop.org/~ajax/mesa/log/?h=mesa-17.2-s3tc
180    
181  # Patches from ChromiumOS  # Patches from ChromiumOS
182  # http://git.chromium.org/gitweb/?p=chromiumos/overlays/chromiumos-overlay.git;a=tree;f=media-libs/mesa/files;hb=HEAD  # http://git.chromium.org/gitweb/?p=chromiumos/overlays/chromiumos-overlay.git;a=tree;f=media-libs/mesa/files;hb=HEAD
183    
# Line 195  Obsoletes:     %{oldlibglname} < 6.4 Line 201  Obsoletes:     %{oldlibglname} < 6.4
201  Provides:       %{oldlibglname} = %{version}-%{release}  Provides:       %{oldlibglname} = %{version}-%{release}
202  Provides:       %{libglname_virt} = %{version}-%{release}  Provides:       %{libglname_virt} = %{version}-%{release}
203  Requires:       %{dridrivers} >= %{version}-%{release}  Requires:       %{dridrivers} >= %{version}-%{release}
 %if %{build_plf}  
 Requires:       %mklibname txc-dxtn  
 %endif  
204    
205  # (anssi) Forces the upgrade of x11-server-common to happen before  # (anssi) Forces the upgrade of x11-server-common to happen before
206  # alternatives removal, which allows x11-server-common to grab the symlink.  # alternatives removal, which allows x11-server-common to grab the symlink.
# Line 398  Requires:      %{libglesv2name}-devel = %{ver Line 401  Requires:      %{libglesv2name}-devel = %{ver
401    
402  %description  %description
403  Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.  Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
 %if %{build_plf}  
   
 This package is in the "tainted" section because it enables some  
 OpenGL extentions that are covered by software patents.  
 %endif  
404    
405  %description common-devel  %description common-devel
406  Mesa common metapackage devel  Mesa common metapackage devel
# Line 419  EGL development parts. Line 417  EGL development parts.
417  Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.  Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
418  GL and GLX parts.  GL and GLX parts.
419    
 %if %{build_plf}  
 This package is in the "tainted" section because it enables some  
 OpenGL extentions that are covered by software patents.  
 %endif  
   
420  %description -n %{dridrivers}  %description -n %{dridrivers}
421  Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.  Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
422  DRI drivers.  DRI drivers.
# Line 525  This package contains the development fi Line 518  This package contains the development fi
518  %prep  %prep
519  %autosetup -n %{name}-%{version}%{?relc:-rc%{relc}} -p1  %autosetup -n %{name}-%{version}%{?relc:-rc%{relc}} -p1
520    
521    # this is a hack for S3TC support. r200_screen.c is symlinked to
522    # radeon_screen.c in git, but is its own file in the tarball.
523    cp -f src/mesa/drivers/dri/{radeon,r200}/radeon_screen.c
524    
525  %build  %build
526  # (re)generate auto* generated files using our autotools and libtoolize  # (re)generate auto* generated files using our autotools and libtoolize
527  autoreconf -vfi  autoreconf -vfi
# Line 549  automake --add-missing Line 546  automake --add-missing
546                  --enable-gbm \                  --enable-gbm \
547                  --enable-glx \                  --enable-glx \
548                  --enable-glx-tls \                  --enable-glx-tls \
 %if %{build_plf}  
549                  --enable-texture-float=yes  \                  --enable-texture-float=yes  \
 %endif  
550                  --enable-llvm \                  --enable-llvm \
551                  --enable-dri \                  --enable-dri \
552                  --enable-xa \                  --enable-xa \
553                  --enable-nine \                  --enable-nine \
554                  --with-gallium-drivers=r300,r600,radeonsi,nouveau,svga,swrast,virgl \                  --with-gallium-drivers=r300,r600,radeonsi,nouveau,swrast,virgl%{?gallium_platform_drivers} \
555          %{?dri_drivers}          %{?dri_drivers}
556                  # end of configure options                  # end of configure options
557    

Legend:
Removed from v.1167695  
changed lines
  Added in v.1177988

  ViewVC Help
Powered by ViewVC 1.1.26