Author: qboosh                       Date: Sat Nov 26 08:08:52 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added ruby1.9 patch (ruby 1.9 needs encoding specified)
- build docs by default

---- Files affected:
packages/gegl:
   gegl.spec (1.27 -> 1.28) , gegl-ruby1.9.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/gegl/gegl.spec
diff -u packages/gegl/gegl.spec:1.27 packages/gegl/gegl.spec:1.28
--- packages/gegl/gegl.spec:1.27        Sat Nov 26 07:12:23 2011
+++ packages/gegl/gegl.spec     Sat Nov 26 09:08:47 2011
@@ -3,7 +3,7 @@
 # Conditional build:
 %bcond_with    mmx     # use MMX instructions
 %bcond_with    sse     # use SSE instructions
-%bcond_with    doc     # apidocs (fail to build)
+%bcond_without doc     # apidocs
 %bcond_without vala    # Vala API
 #
 %ifarch %{x8664} athlon pentium3 pentium4
@@ -23,6 +23,7 @@
 # Source0-md5: c8279b86b3d584ee4f503839fc500425
 Patch0:                %{name}-lua.patch
 Patch1:                %{name}-ffmpeg.patch
+Patch2:                %{name}-ruby1.9.patch
 URL:           http://www.gegl.org/
 BuildRequires: OpenEXR-devel
 BuildRequires: SDL-devel
@@ -53,7 +54,7 @@
 BuildRequires: pango-devel >= 1:1.10
 BuildRequires: perl-base
 BuildRequires: pkgconfig
-BuildRequires: ruby
+BuildRequires: ruby >= 1.9
 %{?with_vala:BuildRequires:    vala}
 Requires:      babl >= 0.1.6
 Requires:      glib2 >= 1:2.28.0
@@ -135,6 +136,7 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %{__libtoolize}
@@ -156,7 +158,7 @@
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT \
-       help_dir=$RPM_BUILD_ROOT%{_gtkdocdir}/gegl
+       gtkdochtmldir=%{_gtkdocdir}/gegl
 
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gegl-0.1/*.{a,la}
 
@@ -206,6 +208,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.28  2011/11/26 08:08:47  qboosh
+- added ruby1.9 patch (ruby 1.9 needs encoding specified)
+- build docs by default
+
 Revision 1.27  2011/11/26 06:12:23  qboosh
 - updated to 0.1.8
 - removed obsolete ffmpeg-0.8 patch

================================================================
Index: packages/gegl/gegl-ruby1.9.patch
diff -u /dev/null packages/gegl/gegl-ruby1.9.patch:1.1
--- /dev/null   Sat Nov 26 09:08:52 2011
+++ packages/gegl/gegl-ruby1.9.patch    Sat Nov 26 09:08:47 2011
@@ -0,0 +1,8 @@
+--- gegl-0.1.8/tools/create-reference.rb.orig  2011-11-18 17:00:53.000000000 
+0100
++++ gegl-0.1.8/tools/create-reference.rb       2011-11-26 08:00:21.108041541 
+0100
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env ruby
++#!/usr/bin/ruby -Eutf-8
+ 
+ # GEGL API creator Øyvind Kolås 2007,
+ #
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gegl/gegl.spec?r1=1.27&r2=1.28&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to