Mageia Bugzilla – Attachment 2923 Details for
Bug 7717
Mageia needs open source drivers for glamor and radeon SI - patches are included
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
port to mageia from suse of glamor rpm
glamor.spec (text/x-rpm-spec), 5.02 KB, created by
Joseph Wang
on 2012-10-05 14:44:00 CEST
(
hide
)
Description:
port to mageia from suse of glamor rpm
Filename:
MIME Type:
Creator:
Joseph Wang
Created:
2012-10-05 14:44:00 CEST
Size:
5.02 KB
patch
obsolete
># ># spec file for package glamor ># ># Copyright (c) 2012 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 ># upon. The license for this file, and modifications and additions to the ># file, is the same license as for the pristine package itself (unless the ># license for the pristine package is not an Open Source License, in which ># case the license is the MIT License). An "Open Source License" is a ># license that conforms to the Open Source Definition (Version 1.9) ># published by the Open Source Initiative. > ># Please submit bugfixes or comments via http://bugs.opensuse.org/ ># > > >Name: glamor >Version: 0.5 >Release: %mkrel 1 >Summary: Open-source X.org graphics common driver based on GL library >License: MIT >Group: System/X11/Servers/XF86_4 >Url: http://www.freedesktop.org/wiki/Software/Glamor >Source: %{name}-%{version}.tar.bz2 >BuildRequires: autoconf >BuildRequires: automake >BuildRequires: libtool >BuildRequires: pkgconfig >BuildRequires: pkgconfig(dri2proto) >= 2.6 >BuildRequires: pkgconfig(egl) >BuildRequires: pkgconfig(gbm) >BuildRequires: pkgconfig(gl) >= 7.1.0 >BuildRequires: pkgconfig(glesv2) >BuildRequires: pkgconfig(libdrm) >= 2.4.23 >BuildRequires: pkgconfig(xorg-server) >= 1.10 >BuildRoot: %{_tmppath}/%{name}-%{version}-build ># make sure we rebuild when Mesa changes >#%requires_eq Mesa-libGL1 > >%description >The glamor module is an open-source 2D graphics common driver for the X Window >System as implemented by X.org. It supports a variety of graphics chipsets which >have OpenGL/EGL/GBM supports. > >Itâs a GL-based rendering acceleration library for X server: > > * It uses GL functions and shader to complete the 2D graphics operations. > * It uses normal texture to represent a drawable pixmap if possible. > * It calls GL functions to render to the texture directly. > >Itâs somehow hardware independently. And could be a building block of any >X serverâs DDX driver: > > * Xorgâs DDX driver could leverage glamor-egl package to create an egl context > without any native X system. Now the xf86-intel-video driver uses glamor as > one of its option. When you build it with --enable-glamor, then it will use > glamor as its rendering enginee. > >This package can support every platform which has OpenGL and gbm and drm libraries. > >%package devel >Summary: Development files for %{name} >Group: Development/Languages/C and C++ >Requires: %{name} = %{version} > >%description devel >Development files for %{name} > >%prep >%setup -q > >%build >autoreconf -fi >%configure \ > --disable-static \ > --with-xorg-conf-dir=%{_sysconfdir}/X11/xorg.conf.d \ > --enable-glamor-gles2 >make %{?_smp_mflags} LDFLAGS='' > >%install >make install DESTDIR=%{buildroot} >mv %{buildroot}%{_sysconfdir}/X11/xorg.conf.d/glamor.conf \ > %{buildroot}%{_sysconfdir}/X11/xorg.conf.d/05-glamor.conf >mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d/ >cat <<EOF >%{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}.conf >%{_libdir}/xorg/modules >EOF > >%post -p /sbin/ldconfig > >%postun -p /sbin/ldconfig > >%files >%defattr(-,root,root) >%doc COPYING README ReleaseNote >%{_sysconfdir}/ld.so.conf.d/%{name}.conf >%{_libdir}/xorg/modules/libglamor.so >%{_libdir}/xorg/modules/libglamoregl.so >%config %{_sysconfdir}/X11/xorg.conf.d/05-glamor.conf > >%files devel >%defattr(-,root,root) >%{_libdir}/pkgconfig/%{name}.pc >%{_libdir}/pkgconfig/%{name}-egl.pc >%{_includedir}/xorg/glamor.h >%exclude %{_libdir}/xorg/modules/*.la > >%changelog >* Thu Sep 27 2012 joequant <joequant> 0.5-1.mga3 >- Port glamor from suse to mageia >* Tue Sep 25 2012 coolo@suse.com >- glamor needs to be in sync with Mesa, so rebuild glamor whenever > Mesa changes >* Mon Aug 13 2012 tobias.johannes.klausmann@mni.thm.de >- Update to version 0.5: >- The major improvements are as below: > + Support tiling large pixmap to multiple small textures. > + Enable gradient shader. > + Optimize glyphs rendering performance > + Implement first shader to generate trapezoids. >- Note: > + Glamor has a restriction with xserver branch 1.12.x. The main > issue is that glamor rely on the module loading sequence which > is not guaranteed by current xserver. Will be fixed in the > next version. >* Mon Jun 25 2012 sndirsch@suse.com >- add /usr/%%{_lib}/xorg/modules to ldconfig path, so intel gfx > driver still can find it, if glamoregl Xserver module has been > disabled manually in /etc/X11/xorg.conf.d/05-glamor.conf >* Wed May 30 2012 sndirsch@suse.com >- no longer explicitely enable gles2 and glx-tls >* Wed May 30 2012 sndirsch@suse.com >- removed obsolete or even wrong LDFLAGS (broke debuginfo > packages) >* Wed May 30 2012 sndirsch@suse.com >- no longer specify the source URL in specfile; apparently the > source gets regenerated daily (same content, but binary tarball > differs), which then confuses "osc service localrun download_files" > command >* Wed May 30 2012 sndirsch@suse.com >- added missing specfile copyright >* Sat May 26 2012 sndirsch@suse.com >- created package
# # spec file for package glamor # # Copyright (c) 2012 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: glamor Version: 0.5 Release: %mkrel 1 Summary: Open-source X.org graphics common driver based on GL library License: MIT Group: System/X11/Servers/XF86_4 Url: http://www.freedesktop.org/wiki/Software/Glamor Source: %{name}-%{version}.tar.bz2 BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: pkgconfig(dri2proto) >= 2.6 BuildRequires: pkgconfig(egl) BuildRequires: pkgconfig(gbm) BuildRequires: pkgconfig(gl) >= 7.1.0 BuildRequires: pkgconfig(glesv2) BuildRequires: pkgconfig(libdrm) >= 2.4.23 BuildRequires: pkgconfig(xorg-server) >= 1.10 BuildRoot: %{_tmppath}/%{name}-%{version}-build # make sure we rebuild when Mesa changes #%requires_eq Mesa-libGL1 %description The glamor module is an open-source 2D graphics common driver for the X Window System as implemented by X.org. It supports a variety of graphics chipsets which have OpenGL/EGL/GBM supports. Itâs a GL-based rendering acceleration library for X server: * It uses GL functions and shader to complete the 2D graphics operations. * It uses normal texture to represent a drawable pixmap if possible. * It calls GL functions to render to the texture directly. Itâs somehow hardware independently. And could be a building block of any X serverâs DDX driver: * Xorgâs DDX driver could leverage glamor-egl package to create an egl context without any native X system. Now the xf86-intel-video driver uses glamor as one of its option. When you build it with --enable-glamor, then it will use glamor as its rendering enginee. This package can support every platform which has OpenGL and gbm and drm libraries. %package devel Summary: Development files for %{name} Group: Development/Languages/C and C++ Requires: %{name} = %{version} %description devel Development files for %{name} %prep %setup -q %build autoreconf -fi %configure \ --disable-static \ --with-xorg-conf-dir=%{_sysconfdir}/X11/xorg.conf.d \ --enable-glamor-gles2 make %{?_smp_mflags} LDFLAGS='' %install make install DESTDIR=%{buildroot} mv %{buildroot}%{_sysconfdir}/X11/xorg.conf.d/glamor.conf \ %{buildroot}%{_sysconfdir}/X11/xorg.conf.d/05-glamor.conf mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d/ cat <<EOF >%{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}.conf %{_libdir}/xorg/modules EOF %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc COPYING README ReleaseNote %{_sysconfdir}/ld.so.conf.d/%{name}.conf %{_libdir}/xorg/modules/libglamor.so %{_libdir}/xorg/modules/libglamoregl.so %config %{_sysconfdir}/X11/xorg.conf.d/05-glamor.conf %files devel %defattr(-,root,root) %{_libdir}/pkgconfig/%{name}.pc %{_libdir}/pkgconfig/%{name}-egl.pc %{_includedir}/xorg/glamor.h %exclude %{_libdir}/xorg/modules/*.la %changelog * Thu Sep 27 2012 joequant <joequant> 0.5-1.mga3 - Port glamor from suse to mageia * Tue Sep 25 2012 coolo@suse.com - glamor needs to be in sync with Mesa, so rebuild glamor whenever Mesa changes * Mon Aug 13 2012 tobias.johannes.klausmann@mni.thm.de - Update to version 0.5: - The major improvements are as below: + Support tiling large pixmap to multiple small textures. + Enable gradient shader. + Optimize glyphs rendering performance + Implement first shader to generate trapezoids. - Note: + Glamor has a restriction with xserver branch 1.12.x. The main issue is that glamor rely on the module loading sequence which is not guaranteed by current xserver. Will be fixed in the next version. * Mon Jun 25 2012 sndirsch@suse.com - add /usr/%%{_lib}/xorg/modules to ldconfig path, so intel gfx driver still can find it, if glamoregl Xserver module has been disabled manually in /etc/X11/xorg.conf.d/05-glamor.conf * Wed May 30 2012 sndirsch@suse.com - no longer explicitely enable gles2 and glx-tls * Wed May 30 2012 sndirsch@suse.com - removed obsolete or even wrong LDFLAGS (broke debuginfo packages) * Wed May 30 2012 sndirsch@suse.com - no longer specify the source URL in specfile; apparently the source gets regenerated daily (same content, but binary tarball differs), which then confuses "osc service localrun download_files" command * Wed May 30 2012 sndirsch@suse.com - added missing specfile copyright * Sat May 26 2012 sndirsch@suse.com - created package
View Attachment As Raw
Actions:
View
Attachments on
bug 7717
:
2922
|
2923
|
2924
|
2925
|
2926
|
2927