[DRE-commits] [SCM] ruby-rmagick.git branch, master, updated. 8f9061a6d7efdf721cb3a53f54a46536822d3825

Vincent Fourmond fourmond at debian.org
Tue Jun 7 00:18:54 UTC 2011


The following commit has been merged in the master branch:
commit d4ebc4f5e3cb202ab5c4e3ddf0d52f85722f8243
Author: Vincent Fourmond <fourmond at debian.org>
Date:   Tue Jun 7 01:30:24 2011 +0200

    Build all samples unconditionally of the existence of the target file

diff --git a/debian/changelog b/debian/changelog
index fbf70f7..f91d76c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,8 +8,10 @@ ruby-rmagick (2.13.1-3) experimental; urgency=low
   * Upload to experimental to avoid disturbing ongoing imagemagick
     transition
   * Use the new rubysetuprb build system
+  * buid-samples-unconditionally.diff to force rebuilding of examples for
+    all versions of ruby
 
- -- Vincent Fourmond <fourmond at debian.org>  Tue, 07 Jun 2011 01:23:06 +0200
+ -- Vincent Fourmond <fourmond at debian.org>  Tue, 07 Jun 2011 01:29:33 +0200
 
 librmagick-ruby (2.13.1-2) unstable; urgency=medium
 
diff --git a/debian/patches/buid-samples-unconditionally.diff b/debian/patches/buid-samples-unconditionally.diff
new file mode 100644
index 0000000..4b6a00b
--- /dev/null
+++ b/debian/patches/buid-samples-unconditionally.diff
@@ -0,0 +1,13 @@
+Index: ruby-rmagick/post-setup.rb
+===================================================================
+--- ruby-rmagick.orig/post-setup.rb	2011-06-07 01:29:12.670529194 +0200
++++ ruby-rmagick/post-setup.rb	2011-06-07 01:29:18.750529196 +0200
+@@ -236,7 +236,7 @@
+     examples -= DONT_RUN
+     es = ExampleSet.new(examples.length)
+     begin
+-      examples.each { |example| es.update(example) }
++      examples.each { |example| es.build(example) }
+     ensure
+       es.persist
+     end
diff --git a/debian/patches/series b/debian/patches/series
index baf8e5e..fbbf4c1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,5 @@
 # fix-missing-MagickLibSubversion.diff
+buid-samples-unconditionally.diff
 relative_paths_on_examples
 disable-version-check.diff
 fail-on-doc-failure.dpatch

-- 
ruby-rmagick.git



More information about the Pkg-ruby-extras-commits mailing list