Hello community,

here is the log from the commit of package cogl for openSUSE:12.3 checked in at 
2013-02-05 11:12:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.3/cogl (Old)
 and      /work/SRC/openSUSE:12.3/.cogl.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cogl", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:12.3/cogl/cogl.changes   2013-01-31 01:14:15.000000000 
+0100
+++ /work/SRC/openSUSE:12.3/.cogl.new/cogl.changes      2013-02-05 
11:12:22.000000000 +0100
@@ -1,0 +2,10 @@
+Mon Feb  4 18:10:08 UTC 2013 - [email protected]
+
+- Introduce with_GLES2 defines to easily enable / disable GLES2
+  support. For now set to 0 and thus disabling the support, as
+  otherwise clutter-gst causes issues with missing shaders.
+  If with_GLES2 is set to true, we:
+  + pass --enable-gles2 and --enable-cogl-gles2 to configure.
+  + Package the resulting library in libcogl-gles2-11.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cogl.spec ++++++
--- /var/tmp/diff_new_pack.mkUsm4/_old  2013-02-05 11:12:23.000000000 +0100
+++ /var/tmp/diff_new_pack.mkUsm4/_new  2013-02-05 11:12:23.000000000 +0100
@@ -16,6 +16,8 @@
 #
 
 
+%define with_GLES2 0
+
 Name:           cogl
 Version:        1.12.2
 Release:        0
@@ -58,6 +60,7 @@
 Cogl is a small open source library for using 3D graphics hardware to draw
 pretty pictures.
 
+%if %{with_GLES2}
 %package -n libcogl-gles2-11
 Summary:        An object oriented GL/GLES Abstraction/Utility Layer -- OpenGL 
ES 2.0 Frontend API
 Group:          System/Libraries
@@ -65,6 +68,7 @@
 %description -n libcogl-gles2-11
 Cogl is a small open source library for using 3D graphics hardware to draw
 pretty pictures
+%endif
 
 %package -n typelib-1_0-Cogl-1_0
 Summary:        An object oriented GL/GLES Abstraction/Utility Layer -- 
Introspection bindings
@@ -100,7 +104,9 @@
 Group:          Development/Libraries/GNOME
 # cogl-defines.h includes GL/gl.h
 Requires:       Mesa-devel
+%if %{with_GLES2}
 Requires:       libcogl-gles2-11 = %{version}
+%endif
 Requires:       libcogl-pango0 = %{version}
 Requires:       libcogl11 = %{version}
 Requires:       typelib-1_0-Cogl-1_0 = %{version}
@@ -119,7 +125,10 @@
         --disable-static \
         --with-pic \
         --enable-gtk-doc \
-        --enable-gles2 --enable-cogl-gles2
+%if %{with_GLES2}
+        --enable-gles2 --enable-cogl-gles2 \
+%endif
+        %{nil}
 make %{?_smp_mflags} V=1
 
 %install
@@ -132,9 +141,11 @@
 
 %postun -n libcogl11 -p /sbin/ldconfig
 
+%if %{with_GLES2}
 %post -n libcogl-gles2-11 -p /sbin/ldconfig
 
 %postun -n libcogl-gles2-11 -p /sbin/ldconfig
+%endif
 
 %post -n libcogl-pango0 -p /sbin/ldconfig
 
@@ -145,9 +156,11 @@
 %doc COPYING NEWS README ChangeLog
 %{_libdir}/libcogl.so.*
 
+%if %{with_GLES2}
 %files -n libcogl-gles2-11
 %defattr(-,root,root)
 %{_libdir}/libcogl-gles2.so.*
+%endif
 
 %files -n typelib-1_0-Cogl-1_0
 %defattr(-,root,root)
@@ -170,7 +183,9 @@
 %{_datadir}/cogl/examples-data/
 %{_libdir}/pkgconfig/cogl-1.0.pc
 %{_libdir}/pkgconfig/cogl-2.0-experimental.pc
+%if %{with_GLES2}
 %{_libdir}/pkgconfig/cogl-gles2-experimental.pc
+%endif
 %{_libdir}/pkgconfig/cogl-gl-1.0.pc
 %{_libdir}/pkgconfig/cogl-pango-1.0.pc
 %{_libdir}/pkgconfig/cogl-pango-2.0-experimental.pc


-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to