From a07f4deaab05e18d07153ef0abe8a5715e03b1f4 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Tue, 18 Sep 2012 15:43:59 +0200 Subject: [PATCH] Update to 1.11.6 - Drop upstreamed cogl-1.11.4-mesa-strings.patch --- cogl-1.11.4-mesa-strings.patch | 38 ---------------------------------- cogl.spec | 13 ++++++------ sources | 2 +- 3 files changed, 8 insertions(+), 45 deletions(-) delete mode 100644 cogl-1.11.4-mesa-strings.patch diff --git a/cogl-1.11.4-mesa-strings.patch b/cogl-1.11.4-mesa-strings.patch deleted file mode 100644 index e20d6fb..0000000 --- a/cogl-1.11.4-mesa-strings.patch +++ /dev/null @@ -1,38 +0,0 @@ -From dfacbbd96f3fbadaffa4a76dfd71c47ece6ed6a3 Mon Sep 17 00:00:00 2001 -From: Robert Bragg -Date: Wed, 12 Sep 2012 13:36:00 +0000 -Subject: gpu-info: Match latest Mesa strings - -Mesa now reports a vendor string of "Mesa Project" instead of "VMWare, -Inc." and the software rasterizer renderer string is now "Software -Rasterizer". This update cogl-gpu-info.c to recognize these new strings. - -Thanks to Alexander Larsson for the original patch. - -https://bugzilla.gnome.org/show_bug.cgi?id=683818 ---- -diff --git a/cogl/cogl-gpu-info.c b/cogl/cogl-gpu-info.c -index 8e64d04..5bb0e65 100644 ---- a/cogl/cogl-gpu-info.c -+++ b/cogl/cogl-gpu-info.c -@@ -182,6 +182,8 @@ check_mesa_vendor (const CoglGpuInfoStrings *strings) - return TRUE; - else if (strcmp (strings->vendor_string, "VMware, Inc.") == 0) - return TRUE; -+ else if (strcmp (strings->vendor_string, "Mesa Project") == 0) -+ return TRUE; - - return FALSE; - } -@@ -214,7 +216,8 @@ check_softpipe_architecture (const CoglGpuInfoStrings *strings) - static CoglBool - check_swrast_architecture (const CoglGpuInfoStrings *strings) - { -- return match_phrase (strings->renderer_string, "software rasterizer"); -+ return match_phrase (strings->renderer_string, "software rasterizer") || -+ match_phrase (strings->renderer_string, "Software Rasterizer"); - } - - static CoglBool --- -cgit v0.9.0.2 diff --git a/cogl.spec b/cogl.spec index eebac89..5a90480 100644 --- a/cogl.spec +++ b/cogl.spec @@ -1,14 +1,12 @@ Name: cogl -Version: 1.11.4 -Release: 2%{?dist} +Version: 1.11.6 +Release: 1%{?dist} Summary: A library for using 3D graphics hardware to draw pretty pictures Group: Development/Libraries License: LGPLv2+ URL: http://www.clutter-project.org/ -Source0: http://download.gnome.org/sources/cogl/1.10/cogl-%{version}.tar.xz - -Patch0: cogl-1.11.4-mesa-strings.patch +Source0: http://download.gnome.org/sources/cogl/1.11/cogl-%{version}.tar.xz BuildRequires: cairo-devel BuildRequires: gdk-pixbuf2-devel @@ -62,7 +60,6 @@ This package contains documentation for %{name}. %prep %setup -q -%patch0 -p1 -b .mesa-strings %build CFLAGS="$RPM_OPT_FLAGS -fPIC" @@ -102,6 +99,10 @@ rm %{buildroot}%{_datadir}/cogl/examples-data/crate.jpg %{_datadir}/gtk-doc/html/cogl-2.0-experimental %changelog +* Tue Sep 18 2012 Kalev Lember - 1.11.6-1 +- Update to 1.11.6 +- Drop upstreamed cogl-1.11.4-mesa-strings.patch + * Mon Sep 17 2012 Adam Jackson 1.11.4-2 - cogl-1.11.4-mesa-strings.patch: Update match strings for Mesa. diff --git a/sources b/sources index 65799bb..9d2a634 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0b78a727cd17e39e0c8ec7d63a6c0cb2 cogl-1.11.4.tar.xz +bf27504f2f869754e9363924744acb86 cogl-1.11.6.tar.xz