[packages/ruby-RMagick] 0 updated to 2.13.2

baggins baggins at pld-linux.org
Sat Apr 6 17:16:10 CEST 2013


commit eb8d99df23962231ef63b10b649b58a427fd4338
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Apr 6 17:15:58 2013 +0200

    0 updated to 2.13.2

 ruby-RMagick-IM.patch | 54 ---------------------------------------------------
 ruby-RMagick.spec     | 10 +++++-----
 2 files changed, 5 insertions(+), 59 deletions(-)
---
diff --git a/ruby-RMagick.spec b/ruby-RMagick.spec
index ee41a17..e65792f 100644
--- a/ruby-RMagick.spec
+++ b/ruby-RMagick.spec
@@ -2,12 +2,12 @@
 Summary:	Graphics Processing library for Ruby
 Summary(pl.UTF-8):	Biblioteka przetwarzania grafiki dla Ruby
 Name:		ruby-%{pkgname}
-Version:	2.13.1
-Release:	8
+Version:	2.13.2
+Release:	1
 License:	Ruby-alike
 Group:		Development/Languages
-Source0:	http://rubyforge.org/frs/download.php/70067/%{pkgname}-%{version}.tar.bz2
-# Source0-md5:	fa419869d5533884e4556c8b8b390adb
+Source0:	http://rubyforge.org/frs/download.php/76735/%{pkgname}-%{version}.tar.bz2
+# Source0-md5:	6af8dde463c2f7ec3e40bb75b28aa236
 Patch0:		%{name}-IM.patch
 URL:		http://rmagick.rubyforge.org/
 BuildRequires:	ImageMagick-coder-dot
@@ -29,7 +29,7 @@ BuildRequires:	rpmbuild(macros) >= 1.484
 BuildRequires:	ruby >= 1:1.8.6
 BuildRequires:	ruby-devel
 BuildRequires:	ruby-modules
-#BuildRequires:	ruby-rdoc
+BuildRequires:	ruby-rdoc
 BuildConflicts:	ruby-RMagick < 1.7.2
 %{?ruby_mod_ver_requires_eq}
 %requires_eq_to	ImageMagick-libs ImageMagick-devel
diff --git a/ruby-RMagick-IM.patch b/ruby-RMagick-IM.patch
index d7eddfc..c4b11d4 100644
--- a/ruby-RMagick-IM.patch
+++ b/ruby-RMagick-IM.patch
@@ -27,57 +27,3 @@
    # Save flags
    $CFLAGS     = ENV["CFLAGS"].to_s   + " " + `Magick-config --cflags`.chomp
    $CPPFLAGS   = ENV["CPPFLAGS"].to_s + " " + `Magick-config --cppflags`.chomp
-diff --git a/README b/README
-new file mode 100644
-index 0000000..cb658c5
---- /dev/null
-+++ b/README
-@@ -0,0 +1,7 @@
-+Hi, everyone -
-+
-+We're happy to announce that we have found a new developer for RMagick: Moncef Maiza.
-+
-+Please join us in welcoming him. Thank you for taking this project on, Moncef!
-+
-+- Benjamin and Omer.
-diff --git a/build_tarball.rake b/build_tarball.rake
-index dfe2167..c5e678f 100644
---- a/build_tarball.rake
-+++ b/build_tarball.rake
-@@ -68,7 +68,7 @@ def reversion_file(name)
-   tmp_name = name + "_tmp"
-   mv name, tmp_name
-   begin
--    File.open(name, "w") { |f| f.write lines }
-+    File.open(name, "w") { |f| lines.each { |line| f.write line } }
-   rescue
-     mv tmp_name, name
-   ensure
-diff --git a/ext/RMagick/extconf.rb b/ext/RMagick/extconf.rb
-index 78a6260..425b560 100644
---- a/ext/RMagick/extconf.rb
-+++ b/ext/RMagick/extconf.rb
-@@ -244,6 +244,7 @@ have_func("snprintf", headers)
-    "SetMagickMemoryMethods",         # 6.4.1
-    "SparseColorImage",               # 6.3.6-?
-    "SyncAuthenticPixels",            # 6.4.5-6
-+   "TransformImageColorspace",       # 6.5.1
-    "TransparentPaintImage",          # 6.3.7-10
-    "TransparentPaintImageChroma"     # 6.4.5-6
-    ].each do |func|
-diff --git a/ext/RMagick/rmimage.c b/ext/RMagick/rmimage.c
-index fdf8cf8..64de23a 100644
---- a/ext/RMagick/rmimage.c
-+++ b/ext/RMagick/rmimage.c
-@@ -2993,7 +2993,11 @@ Image_colorspace_eq(VALUE self, VALUE colorspace)
- 
-     image = rm_check_frozen(self);
-     VALUE_TO_ENUM(colorspace, new_cs, ColorspaceType);
-+#if defined(HAVE_TRANSFORMIMAGECOLORSPACE)
-+    (void) TransformImageColorspace(image, new_cs);
-+#else
-     (void) SetImageColorspace(image, new_cs);
-+#endif
- 
-     return self;
- }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-RMagick.git/commitdiff/eb8d99df23962231ef63b10b649b58a427fd4338



More information about the pld-cvs-commit mailing list