Hello community,

here is the log from the commit of package gegl for openSUSE:Factory checked in 
at 2012-05-21 08:05:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gegl (Old)
 and      /work/SRC/openSUSE:Factory/.gegl.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gegl", Maintainer is "sbra...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/gegl/gegl.changes        2012-04-17 
21:58:34.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.gegl.new/gegl.changes   2012-05-21 
08:05:14.000000000 +0200
@@ -1,0 +2,7 @@
+Fri May 18 09:50:52 UTC 2012 - dims...@opensuse.org
+
+- Add gegl-ruby19.patch: Fix build with ruby 1.9.
+- Add liberation-fonts: the documentation references bitstream
+  vera sans font, so we need to provide it for the build.
+
+-------------------------------------------------------------------

New:
----
  gegl-ruby19.patch

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

Other differences:
------------------
++++++ gegl.spec ++++++
--- /var/tmp/diff_new_pack.VxHJdc/_old  2012-05-21 08:05:18.000000000 +0200
+++ /var/tmp/diff_new_pack.VxHJdc/_new  2012-05-21 08:05:18.000000000 +0200
@@ -32,6 +32,8 @@
 BuildRequires:  gtk2-devel
 BuildRequires:  intltool
 BuildRequires:  lensfun-devel
+# Needed to build the doc, as Bitstream Vera Sans is the referenced font.
+BuildRequires:  liberation-fonts
 BuildRequires:  libexiv2-devel
 BuildRequires:  libjasper-devel >= 1.900.1
 BuildRequires:  libjpeg-devel
@@ -66,6 +68,8 @@
 Source:         http://ftp.gtk.org/pub/gegl/0.2/%{name}-%{version}.tar.bz2
 # PATCH-FIX-UPSTREAM gegl-lua52.patch bgo#667675 vu...@opensuse.org -- Fix 
build with lua 5.2
 Patch0:         gegl-lua52.patch
+# PATCH-FIX-UPSTREAM gegl-ruby19.patch dims...@opensuse.org -- Fix build with 
ruby 1.9
+Patch1:         gegl-ruby19.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %define debug_package_requires libgegl-0_2-0 = %{version}-%{release}
 
@@ -144,6 +148,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 # docs-build-fix.diff
 
 %build

++++++ gegl-ruby19.patch ++++++
commit 809642a08787638d9682149de25d36ee273902ff
Author: Øvind Kolå<pippin gimp org>
Date:   Thu Apr 5 18:49:54 2012 +0200

    tools/create-reference.rb: fix utf8 handling for ruby >= 1.9.x
    
    A patch from Tim Mooney, fixing bug #673523

 tools/create-reference.rb |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
Index: gegl-0.2.0/tools/create-reference.rb
===================================================================
--- gegl-0.2.0.orig/tools/create-reference.rb
+++ gegl-0.2.0/tools/create-reference.rb
@@ -5,6 +5,11 @@
 # Use under a public domain license.
 #
 
+if RUBY_VERSION =~ /^1.9/ or RUBY_VERSION =~ /^[2345]/
+  Encoding.default_external = Encoding::UTF_8
+  Encoding.default_internal = Encoding::UTF_8
+end
+
 class Argument
     attr_accessor :name, :data_type, :doc
     def initialize
Index: gegl-0.2.0/tools/gobj2dot.rb
===================================================================
--- gegl-0.2.0.orig/tools/gobj2dot.rb
+++ gegl-0.2.0/tools/gobj2dot.rb
@@ -15,6 +15,11 @@
 #
 # Copyright (C) 2009 Henrik Akesson
 
+if RUBY_VERSION =~ /^1.9/ or RUBY_VERSION =~ /^[2345]/
+  Encoding.default_external = Encoding::UTF_8
+  Encoding.default_internal = Encoding::UTF_8
+end
+
 require 'find'
 
 if ARGV[0] == nil or ARGV.length != 1 or ARGV[0] == "-h"
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to