Skip to contentSkip to conversation

babl: update to 0.1.10

PATCH New Andreas Müller 1 participant 3 messages Dec 1, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 babl: update to 0.1.10

---
 .../babl/{babl_0.1.6.bb => babl_0.1.10.bb}         |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-graphics/babl/{babl_0.1.6.bb => babl_0.1.10.bb} (73%)
meta-oe/recipes-graphics/babl/babl_0.1.10.bb renamed from meta-oe/recipes-graphics/babl/babl_0.1.6.bb +2 -2
similarity index 73%
rename from meta-oe/recipes-graphics/babl/babl_0.1.6.bb
rename to meta-oe/recipes-graphics/babl/babl_0.1.10.bb
index 005b85e..689c4fa 100644
@@ -5,8 +5,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6a6a8e020838b23406c81b19c1d46df6"
 inherit gnome
 
 SRC_URI = "ftp://ftp.gimp.org/pub/${PN}/0.1/${PN}-${PV}.tar.bz2"
-SRC_URI[md5sum] = "dc960981a5ec5330fc1c177be9f59068"
-SRC_URI[sha256sum] = "319b9004a5366101fd522da02cc983a5d0f50a17af0fa5cbce3535e31bce19a4"
+SRC_URI[md5sum] = "9e1542ab5c0b12ea3af076a9a2f02d79"
+SRC_URI[sha256sum] = "943fc36ceac7dd25bc928256bc7b535a42989c6b971578146869eee5fe5955f4"
 
 FILES_${PN} += "${libdir}/babl-*/*.so"
 FILES_${PN}-dev += "${libdir}/babl-*/*.la"
Signature · 1 line
1.7.4.4
#1 lore raw

PATCH 2/3 gegl: update to 0.2.0

---
 .../gegl/{gegl_0.1.8.bb => gegl_0.2.0.bb}          |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-graphics/gegl/{gegl_0.1.8.bb => gegl_0.2.0.bb} (68%)
meta-oe/recipes-graphics/gegl/gegl_0.2.0.bb renamed from meta-oe/recipes-graphics/gegl/gegl_0.1.8.bb +3 -3
similarity index 68%
rename from meta-oe/recipes-graphics/gegl/gegl_0.1.8.bb
rename to meta-oe/recipes-graphics/gegl/gegl_0.2.0.bb
index 5ae2082..a68dc20 100644
@@ -7,9 +7,9 @@ inherit gnome
 
 EXTRA_OECONF = "--disable-docs "
 
-SRC_URI = "ftp://ftp.gimp.org/pub/${PN}/0.1/${PN}-${PV}.tar.bz2"
-SRC_URI[md5sum] = "c8279b86b3d584ee4f503839fc500425"
-SRC_URI[sha256sum] = "106b9574b6d5fb282683794f7a7f090a1a3f4a388890e592b202827a4ca76f75"
+SRC_URI = "ftp://ftp.gimp.org/pub/${PN}/0.2/${PN}-${PV}.tar.bz2"
+SRC_URI[md5sum] = "32b00002f1f1e316115c4ed922e1dec8"
+SRC_URI[sha256sum] = "df2e6a0d9499afcbc4f9029c18d9d1e0dd5e8710a75e17c9b1d9a6480dd8d426"
 
 FILES_${PN} += "${libdir}/gegl-*/*.so"
 FILES_${PN}-dev += "${libdir}/gegl-*/*.la"
Signature · 1 line
1.7.4.4
#2 lore raw

PATCH 3/3 gimp: update to 2.8.2

In reply to Andreas Müller
---
 .../gimp/gimp/gimp-2.6.11-poppler18.patch          |  150 --------------------
 .../gimp/{gimp_2.6.11.bb => gimp_2.8.2.bb}         |   13 +-
 2 files changed, 5 insertions(+), 158 deletions(-)
 delete mode 100644 meta-oe/recipes-graphics/gimp/gimp/gimp-2.6.11-poppler18.patch
 rename meta-oe/recipes-graphics/gimp/{gimp_2.6.11.bb => gimp_2.8.2.bb} (60%)
meta-oe/recipes-graphics/gimp/gimp/gimp-2.6.11-poppler18.patch deleted +0 -150
deleted file mode 100644
index 0ebfd89..0000000
@@ -1,150 +0,0 @@
-From 9b3e1c91fd2eac69da6947ec9c7fbf10096ba237 Mon Sep 17 00:00:00 2001
-From: Mukund Sivaraman <[email protected]>
-Date: Wed, 20 Apr 2011 13:25:44 +0000
-Subject: file-pdf-load: Don't use deprecated API (bug #646947)
-
-Upstream-Status: Applied
-
----
-diff --git a/plug-ins/common/file-pdf-load.c b/plug-ins/common/file-pdf-load.c
-index c2d5512..6183403 100644
---- a/plug-ins/common/file-pdf.c
-+++ b/plug-ins/common/file-pdf.c
-@@ -4,6 +4,9 @@
-  *
-  * Copyright (C) 2005 Nathan Summers
-  *
-+ * Some code borrowed from poppler.git/glib/poppler-page.cc
-+ * Copyright (C) 2005, Red Hat, Inc.
-+ *
-  * This program is free software; you can redistribute it and/or modify
-  * it under the terms of the GNU General Public License as published by
-  * the Free Software Foundation; either version 2 of the License, or
-@@ -582,6 +585,84 @@ layer_from_pixbuf (gint32        image,
-   return layer;
- }
- 
-+static void
-+copy_cairo_surface_to_pixbuf (cairo_surface_t *surface,
-+                              GdkPixbuf       *pixbuf)
-+{
-+  int cairo_width, cairo_height, cairo_rowstride;
-+  unsigned char *pixbuf_data, *dst, *cairo_data;
-+  int pixbuf_rowstride, pixbuf_n_channels;
-+  unsigned int *src;
-+  int x, y;
-+
-+  cairo_width = cairo_image_surface_get_width (surface);
-+  cairo_height = cairo_image_surface_get_height (surface);
-+  cairo_rowstride = cairo_image_surface_get_stride (surface);
-+  cairo_data = cairo_image_surface_get_data (surface);
-+
-+  pixbuf_data = gdk_pixbuf_get_pixels (pixbuf);
-+  pixbuf_rowstride = gdk_pixbuf_get_rowstride (pixbuf);
-+  pixbuf_n_channels = gdk_pixbuf_get_n_channels (pixbuf);
-+
-+  if (cairo_width > gdk_pixbuf_get_width (pixbuf))
-+    cairo_width = gdk_pixbuf_get_width (pixbuf);
-+  if (cairo_height > gdk_pixbuf_get_height (pixbuf))
-+    cairo_height = gdk_pixbuf_get_height (pixbuf);
-+
-+  for (y = 0; y < cairo_height; y++)
-+    {
-+      src = (unsigned int *) (cairo_data + y * cairo_rowstride);
-+      dst = pixbuf_data + y * pixbuf_rowstride;
-+
-+      for (x = 0; x < cairo_width; x++)
-+        {
-+          dst[0] = (*src >> 16) & 0xff;
-+          dst[1] = (*src >> 8) & 0xff;
-+          dst[2] = (*src >> 0) & 0xff;
-+
-+          if (pixbuf_n_channels == 4)
-+            dst[3] = (*src >> 24) & 0xff;
-+
-+          dst += pixbuf_n_channels;
-+          src++;
-+        }
-+    }
-+}
-+
-+static GdkPixbuf *
-+render_page_to_pixbuf (PopplerPage *page,
-+                       int          width,
-+                       int          height,
-+                       double       scale)
-+{
-+  GdkPixbuf *pixbuf;
-+  cairo_surface_t *surface;
-+  cairo_t *cr;
-+
-+  pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB, FALSE, 8, width, height);
-+  surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, width, height);
-+  cr = cairo_create (surface);
-+
-+  cairo_save (cr);
-+  cairo_translate (cr, 0.0, 0.0);
-+
-+  if (scale != 1.0)
-+    cairo_scale (cr, scale, scale);
-+
-+  poppler_page_render (page, cr);
-+  cairo_restore (cr);
-+
-+  cairo_set_operator (cr, CAIRO_OPERATOR_DEST_OVER);
-+  cairo_set_source_rgb (cr, 1.0, 1.0, 1.0);
-+  cairo_paint (cr);
-+
-+  cairo_destroy (cr);
-+  copy_cairo_surface_to_pixbuf (surface, pixbuf);
-+  cairo_surface_destroy (surface);
-+
-+  return pixbuf;
-+}
-+
- static gint32
- load_image (PopplerDocument        *doc,
-             const gchar            *filename,
-@@ -613,7 +694,7 @@ load_image (PopplerDocument        *doc,
-       gdouble      page_width;
-       gdouble      page_height;
- 
--      GdkPixbuf   *buf;
-+      GdkPixbuf   *pixbuf;
-       gint         width;
-       gint         height;
- 
-@@ -643,15 +724,13 @@ load_image (PopplerDocument        *doc,
-           gimp_image_set_resolution (image_ID, resolution, resolution);
-         }
- 
--      buf = gdk_pixbuf_new (GDK_COLORSPACE_RGB, FALSE, 8, width, height);
--
--      poppler_page_render_to_pixbuf (page, 0, 0, width, height, scale, 0, buf);
-+      pixbuf = render_page_to_pixbuf (page, width, height, scale);
- 
--      layer_from_pixbuf (image_ID, page_label, i, buf,
-+      layer_from_pixbuf (image_ID, page_label, i, pixbuf,
-                          doc_progress, 1.0 / pages->n_pages);
- 
-       g_free (page_label);
--      g_object_unref (buf);
-+      g_object_unref (pixbuf);
- 
-       doc_progress = (double) (i + 1) / pages->n_pages;
-       gimp_progress_update (doc_progress);
-@@ -729,11 +808,7 @@ get_thumbnail (PopplerDocument *doc,
-       width  *= scale;
-       height *= scale;
- 
--      pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB, FALSE, 8,
--                               width, height);
--
--      poppler_page_render_to_pixbuf (page,
--                                     0, 0, width, height, scale, 0, pixbuf);
-+      pixbuf = render_page_to_pixbuf (page, width, height, scale);
-     }
- 
-   g_object_unref (page);
---
-cgit v0.9.0.2
meta-oe/recipes-graphics/gimp/gimp_2.8.2.bb renamed from meta-oe/recipes-graphics/gimp/gimp_2.6.11.bb +5 -8
similarity index 60%
rename from meta-oe/recipes-graphics/gimp/gimp_2.6.11.bb
rename to meta-oe/recipes-graphics/gimp/gimp_2.8.2.bb
index f952883..44e66ea 100644
@@ -1,19 +1,16 @@
 DESCRIPTION = "The GIMP is the GNU Image Manipulation Program."
 HOMEPAGE = "http://www.gimp.org"
 SECTION = "x11/graphics"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=878e3965c7b52d85827c75f5a2f3b314"
+LICENSE = "GPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 
 DEPENDS = "babl gdk-pixbuf-native libart-lgpl gtk+ jpeg libpng libexif tiff webkit-gtk lcms gegl poppler"
 
-PR = "r1"
-
 inherit gnome
 
-SRC_URI = "ftp://ftp.gimp.org/pub/gimp/v2.6/gimp-${PV}.tar.bz2 \
-           file://gimp-2.6.11-poppler18.patch"
-SRC_URI[md5sum] = "bb2939fe13e54fc7255cef5d097bb5dd"
-SRC_URI[sha256sum] = "9b6d08d0803b3912ea596d1b77b9c21ee13778c23388a225c004b8c1587cb0a1"
+SRC_URI = "ftp://ftp.gimp.org/pub/gimp/v2.8/gimp-${PV}.tar.bz2"
+SRC_URI[md5sum] = "b542138820ca3a41cbd63fc331907955"
+SRC_URI[sha256sum] = "0cd1a7e67e132ead810e16e31ff929394c83fcf841e4a295c45d6f3829601ad9"
 
 EXTRA_OECONF = "--disable-python \
                 --without-wmf"
Signature · 1 line
1.7.4.4