rpms/gegl/devel gegl-0.1.2-processor-leak.patch, NONE, 1.1 .cvsignore, 1.10, 1.11 gegl.spec, 1.24, 1.25 sources, 1.10, 1.11 gegl-0.1.0-cflags.patch, 1.1, NONE gegl-babl-instrumentation.patch, 1.1, NONE

Nils Philippsen nphilipp at fedoraproject.org
Tue Feb 16 16:17:50 UTC 2010


Author: nphilipp

Update of /cvs/pkgs/rpms/gegl/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2249

Modified Files:
	.cvsignore gegl.spec sources 
Added Files:
	gegl-0.1.2-processor-leak.patch 
Removed Files:
	gegl-0.1.0-cflags.patch gegl-babl-instrumentation.patch 
Log Message:
version 0.1.2
remove obsolete cflags, babl-instrumentation, autoreconf patches
backported: don't leak each node set on a GeglProcessor


gegl-0.1.2-processor-leak.patch:
 gegl-processor.c |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

--- NEW FILE gegl-0.1.2-processor-leak.patch ---
>From fc207f85521c3939600bd3e5a337c6ed2dfaa950 Mon Sep 17 00:00:00 2001
From: Michael Natterer <mitch at gimp.org>
Date: Mon, 8 Feb 2010 23:47:08 +0100
Subject: [PATCH] process: don't leak each node set on a GeglProcessor

At some point a g_value_get_boxed() was bogusly replaced by a
g_value_dup_boxed(). Also added notifications for "node" and
"rectangle".
---
 gegl/process/gegl-processor.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/gegl/process/gegl-processor.c b/gegl/process/gegl-processor.c
index be90881..8d5e2fb 100644
--- a/gegl/process/gegl-processor.c
+++ b/gegl/process/gegl-processor.c
@@ -194,7 +194,7 @@ gegl_processor_set_property (GObject      *gobject,
   switch (property_id)
     {
       case PROP_NODE:
-        gegl_processor_set_node (self, g_value_dup_object (value));
+        gegl_processor_set_node (self, g_value_get_object (value));
         break;
 
       case PROP_CHUNK_SIZE:
@@ -278,6 +278,8 @@ gegl_processor_set_node (GeglProcessor *processor,
     }
 
   g_object_ref (processor->input);
+
+  g_object_notify (G_OBJECT (processor), "node");
 }
 
 
@@ -354,6 +356,8 @@ gegl_processor_set_rectangle (GeglProcessor       *processor,
       gegl_operation_context_set_need_rect   (processor->context,
                                               &processor->rectangle);
     }
+
+  g_object_notify (G_OBJECT (processor), "rectangle");
 }
 
 /* Will generate band_sizes that are adapted to the size of the tiles */
-- 
1.6.6



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gegl/devel/.cvsignore,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -p -r1.10 -r1.11
--- .cvsignore	3 Jul 2009 13:06:40 -0000	1.10
+++ .cvsignore	16 Feb 2010 16:17:49 -0000	1.11
@@ -1,2 +1 @@
-gegl-0.1.0.tar.bz2
-gegl-0.1.0-autoreconf.patch.bz2
+gegl-0.1.2.tar.bz2


Index: gegl.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gegl/devel/gegl.spec,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -p -r1.24 -r1.25
--- gegl.spec	25 Jan 2010 02:49:54 -0000	1.24
+++ gegl.spec	16 Feb 2010 16:17:49 -0000	1.25
@@ -1,18 +1,15 @@
 Summary:	A graph based image processing framework
 Name:		gegl
-Version:	0.1.0
-Release:	3%{?dist}
+Version:	0.1.2
+Release:	1%{?dist}
 # The binary is under the GPL, while the libs are under LGPL
 License:	LGPLv3+ and GPLv3+
 Group:		System Environment/Libraries
 URL:		http://www.gegl.org/
 Source0:	ftp://ftp.gtk.org/pub/gegl/0.1/%{name}-%{version}.tar.bz2
-# http://bugzilla.gnome.org/show_bug.cgi?id=587684
-# "building gegl fails in operations/workshop/external"
-Patch0:		gegl-0.1.0-cflags.patch
-# don't run autoreconf while building
-Patch1:		gegl-0.1.0-autoreconf.patch.bz2
-Patch2:		gegl-babl-instrumentation.patch
+# backported git commit fc207f85521c3939600bd3e5a337c6ed2dfaa950
+# "process: don't leak each node set on a GeglProcessor"
+Patch0:     gegl-0.1.2-processor-leak.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:	asciidoc
 BuildRequires:	babl-devel >= 0.1.0
@@ -54,10 +51,10 @@ developing with %{name}.
 
 %prep
 %setup -q
-chmod -x operations/external/ff-load.c operations/common/perlin/perlin.*
-%patch0 -p1 -b .cflags
-%patch1 -p1 -b .autoreconf
-%patch2 -p0 -b .babl
+
+chmod -x docs/devhelp.css operations/external/ff-load.c operations/workshop/external/ff-save.c operations/common/perlin/perlin.?
+
+%patch0 -p1 -b .processor-leak
 
 %build
 %configure				\
@@ -110,6 +107,11 @@ rm -rf %{buildroot}
 %{_libdir}/pkgconfig/%{name}.pc
 
 %changelog
+* Tue Feb 16 2010 Nils Philippsen <nils at redhat.com> - 0.1.2-1
+- version 0.1.2
+- remove obsolete cflags, babl-instrumentation, autoreconf patches
+- backported: don't leak each node set on a GeglProcessor
+
 * Sat Jan 23 2010 Deji Akingunola <dakingun at gmail.com> - 0.1.0-3
 - Rebuild for babl-0.1.2
 - Backport upstream patch that removed babl processing time instrumentation


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gegl/devel/sources,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -p -r1.10 -r1.11
--- sources	3 Jul 2009 13:06:40 -0000	1.10
+++ sources	16 Feb 2010 16:17:49 -0000	1.11
@@ -1,2 +1 @@
-5a989ad617801c5dbec3d47c30bd64f0  gegl-0.1.0.tar.bz2
-b571b86849b943955208fb7caf02d079  gegl-0.1.0-autoreconf.patch.bz2
+d35ffe17dc042652eca3205488ece262  gegl-0.1.2.tar.bz2


--- gegl-0.1.0-cflags.patch DELETED ---


--- gegl-babl-instrumentation.patch DELETED ---



More information about the scm-commits mailing list