Author: qboosh                       Date: Tue May  8 19:29:15 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new; pc patch not to reference xorg modules at compilation time

---- Files affected:
packages/glamor:
   glamor-pc.patch (NONE -> 1.1)  (NEW), glamor.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/glamor/glamor-pc.patch
diff -u /dev/null packages/glamor/glamor-pc.patch:1.1
--- /dev/null   Tue May  8 21:29:15 2012
+++ packages/glamor/glamor-pc.patch     Tue May  8 21:29:10 2012
@@ -0,0 +1,18 @@
+--- glamor-0.4.1/glamor-egl.pc.in.orig 2012-04-28 12:28:33.000000000 +0200
++++ glamor-0.4.1/glamor-egl.pc.in      2012-05-08 21:22:20.456236911 +0200
+@@ -10,5 +10,5 @@
+ Name: glamor-egl
+ Description: X.Org glamor common library.
+ Version: @PACKAGE_VERSION@
+-Cflags: -I${sdkdir} -L${moduledir} ${GLAMOR_GL_CFLAGS} ${GLAMOR_EGL_CFLAGS}
++Cflags: -I${sdkdir} ${GLAMOR_GL_CFLAGS} ${GLAMOR_EGL_CFLAGS}
+ 
+--- glamor-0.4.1/glamor.pc.in.orig     2012-04-28 12:28:33.000000000 +0200
++++ glamor-0.4.1/glamor.pc.in  2012-05-08 21:23:23.999568920 +0200
+@@ -9,5 +9,5 @@
+ Name: glamor
+ Description: X.Org glamor common library.
+ Version: @PACKAGE_VERSION@
+-Cflags: -I${sdkdir} -L${moduledir} -lglamor ${GLAMOR_GL_CFLAGS}
++Cflags: -I${sdkdir} ${GLAMOR_GL_CFLAGS}
+ 

================================================================
Index: packages/glamor/glamor.spec
diff -u /dev/null packages/glamor/glamor.spec:1.1
--- /dev/null   Tue May  8 21:29:15 2012
+++ packages/glamor/glamor.spec Tue May  8 21:29:10 2012
@@ -0,0 +1,122 @@
+# $Revision$, $Date$
+Summary:       Open-source X.org graphics common driver based on GL library
+Summary(pl.UTF-8):     Ogólny sterownik graficzny X.org o otwartych źródłach, 
oparty na bibliotece GL
+Name:          glamor
+Version:       0.4.1
+Release:       1
+License:       MIT
+Group:         Libraries
+Source0:       
http://cgit.freedesktop.org/xorg/driver/glamor/snapshot/%{name}-%{version}.tar.gz
+# Source0-md5: 073652c66d89576bdf22543fdcbf49b3
+Patch0:                %{name}-pc.patch
+URL:           http://www.freedesktop.org/wiki/Software/Glamor
+BuildRequires: Mesa-libEGL-devel
+BuildRequires: Mesa-libGL-devel >= 7.1.0
+BuildRequires: Mesa-libgbm-devel
+BuildRequires: autoconf >= 2.63
+BuildRequires: automake
+BuildRequires: libdrm-devel >= 2.4.23
+BuildRequires: libtool >= 2:2.2
+BuildRequires: pixman-devel >= 0.21.8
+BuildRequires: pkgconfig
+BuildRequires: xorg-proto-dri2proto-devel >= 2.6
+BuildRequires: xorg-util-util-macros >= 1.8
+BuildRequires: xorg-xserver-server-devel >= 1.10
+Requires:      Mesa-libGL >= 7.1.0
+Requires:      libdrm >= 2.4.23
+Requires:      pixman >= 0.21.8
+Requires:      xorg-xserver-server >= 1.10
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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. This package can support every platform
+which has OpenGL and gbm and drm libraries.
+
+%description -l pl.UTF-8
+Moduł glamor to mający otwarte źródła ogólny sterownik grafiki 2D dla
+systemu X Window w implementacji X.org. Obsługuje różne układy
+graficzne, obsługiwane przez kod biblioteki OpenGL/EGL/GBM.
+
+Jest to oparta na GL biblioteka akceleracji renderowania dla serwera
+X:
+ - wykorzystuje funkcje GL i shader do wykonywania operacji
+   graficznych 2D,
+ - używa zwykłych tekstur do reprezentacji map bitowych do rysowania,
+ - wywołuje funkcje GL do bezpośredniego renderowania tekstur.
+
+Jest w pewien sposób niezależna od sprzętu. Może być blokiem tworzącym
+dowolny sterownik DDX serwera X. Ten pakiet może obsłużyć dowolną
+platformę, mającą biblioteki OpenGL, gbm i drm.
+
+%package devel
+Summary:       Header file for Glamor modules API
+Summary(pl.UTF-8):     Plik nagłówkowy API modułów Glamor
+Group:         Development/Libraries
+Requires:      Mesa-libEGL-devel
+Requires:      libdrm-devel >= 2.4.23
+Requires:      xorg-xserver-server-devel >= 1.10
+
+%description devel
+Header file for Glamor modules API.
+
+%description devel -l pl.UTF-8
+Plik nagłówkowy API modułów Glamor.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+       --disable-static \
+       --enable-glx-tls
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc COPYING README ReleaseNote
+%attr(755,root,root) %{_libdir}/xorg/modules/libglamor.so
+%attr(755,root,root) %{_libdir}/xorg/modules/libglamoregl.so
+%{_datadir}/X11/xorg.conf.d/glamor.conf
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/xorg/glamor.h
+%{_pkgconfigdir}/glamor.pc
+%{_pkgconfigdir}/glamor-egl.pc
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[email protected]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2012/05/08 19:29:10  qboosh
+- new; pc patch not to reference xorg modules at compilation time
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to