From bc80cf7c2a23a9d9580f3db36652165fd307b598 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Sun, 4 May 2014 03:19:38 +0000 Subject: Sun May 4 03:18:33 UTC 2014 --- community/muffin/PKGBUILD | 15 +++---- community/muffin/cogl_ABI.patch | 86 ----------------------------------------- 2 files changed, 5 insertions(+), 96 deletions(-) delete mode 100644 community/muffin/cogl_ABI.patch (limited to 'community/muffin') diff --git a/community/muffin/PKGBUILD b/community/muffin/PKGBUILD index 99f4e2aa6..02974536a 100644 --- a/community/muffin/PKGBUILD +++ b/community/muffin/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 109803 2014-04-19 00:45:07Z bgyorgy $ +# $Id: PKGBUILD 110555 2014-05-03 17:27:50Z faidoc $ # Maintainer: Alexandre Filgueira # Contributor: Adam Hani Schakaki # Contributor: Ner0 pkgname=muffin -pkgver=2.2.1 -pkgrel=2 +pkgver=2.2.2 +pkgrel=1 pkgdesc="Cinnamon window manager based on Mutter" arch=('i686' 'x86_64') url="https://github.com/linuxmint/muffin" @@ -15,16 +15,11 @@ depends=('clutter' 'gobject-introspection' 'cinnamon-desktop' 'libcanberra' 'lib makedepends=('intltool' 'gnome-doc-utils' 'gnome-common') options=('!emptydirs') install=$pkgname.install -source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/muffin/archive/$pkgver.tar.gz" - cogl_ABI.patch) -sha256sums=('aec5062ca53364e5077694ef0848b7a4efe384f19d41736c2f7d86e53ce5c009' - 'bce6cf03f7d635345db8a664084b98122aa23802867c7e6e4573273ffccc01e5') +source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/muffin/archive/$pkgver.tar.gz") +sha256sums=('1f39bb8d76ed0fa5704c5cb336ea86e6871396e92fca8a1ff0671be0b4d30739') prepare() { cd ${pkgname}-${pkgver} - - # Port to cogl 1.18 - patch -Np1 -i ../cogl_ABI.patch } build() { diff --git a/community/muffin/cogl_ABI.patch b/community/muffin/cogl_ABI.patch deleted file mode 100644 index 408b1d9dd..000000000 --- a/community/muffin/cogl_ABI.patch +++ /dev/null @@ -1,86 +0,0 @@ -From d2a1db8834bf0a9007bf6924b006a6f2c94ce88d Mon Sep 17 00:00:00 2001 -From: Jasper St. Pierre -Date: Mon, 13 Jan 2014 18:03:19 +0000 -Subject: Update for Cogl API breaks - ---- -(limited to 'src/compositor') - -diff --git a/src/compositor/meta-texture-rectangle.c b/src/compositor/meta-texture-rectangle.c -index 3fc9430..450155d 100644 ---- a/src/compositor/meta-texture-rectangle.c -+++ b/src/compositor/meta-texture-rectangle.c -@@ -35,10 +35,8 @@ CoglTexture * - meta_texture_rectangle_new (unsigned int width, - unsigned int height, - CoglPixelFormat format, -- CoglPixelFormat internal_format, - unsigned int rowstride, -- const guint8 *data, -- GError **error) -+ const guint8 *data) - { - ClutterBackend *backend = - clutter_get_default_backend (); -@@ -46,10 +44,7 @@ meta_texture_rectangle_new (unsigned int width, - clutter_backend_get_cogl_context (backend); - CoglTextureRectangle *tex_rect; - -- tex_rect = cogl_texture_rectangle_new_with_size (context, -- width, height, -- internal_format, -- error); -+ tex_rect = cogl_texture_rectangle_new_with_size (context, width, height); - if (tex_rect == NULL) - return NULL; - -diff --git a/src/compositor/meta-texture-rectangle.h b/src/compositor/meta-texture-rectangle.h -index 30f60d3..7b84229 100644 ---- a/src/compositor/meta-texture-rectangle.h -+++ b/src/compositor/meta-texture-rectangle.h -@@ -34,10 +34,8 @@ CoglTexture * - meta_texture_rectangle_new (unsigned int width, - unsigned int height, - CoglPixelFormat format, -- CoglPixelFormat internal_format, - unsigned int rowstride, -- const guint8 *data, -- GError **error); -+ const guint8 *data); - - gboolean - meta_texture_rectangle_check (CoglTexture *texture); -diff --git a/src/compositor/meta-texture-tower.c b/src/compositor/meta-texture-tower.c -index 9a30de0..019aaf4 100644 ---- a/src/compositor/meta-texture-tower.c -+++ b/src/compositor/meta-texture-tower.c -@@ -365,13 +365,9 @@ texture_tower_create_texture (MetaTextureTower *tower, - meta_texture_rectangle_new (width, height, - /* data format */ - TEXTURE_FORMAT, -- /* internal cogl format */ -- TEXTURE_FORMAT, - /* rowstride */ - width * 4, - /* data */ -- NULL, -- /* error */ - NULL); - } - else ---- a/src/compositor/meta-shaped-texture.c -+++ b/src/compositor/meta-shaped-texture.c -@@ -295,10 +295,7 @@ meta_shaped_texture_ensure_mask (MetaSha - if (meta_texture_rectangle_check (paint_tex)) - priv->mask_texture = meta_texture_rectangle_new (tex_width, tex_height, - COGL_PIXEL_FORMAT_A_8, -- COGL_PIXEL_FORMAT_A_8, -- stride, -- mask_data, -- NULL /* error */); -+ stride, mask_data); - else - priv->mask_texture = cogl_texture_new_from_data (tex_width, tex_height, - COGL_TEXTURE_NONE, --- -cgit v0.9.2 -- cgit v1.2.3-54-g00ecf