rmagick 2.13.2 → 2.13.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (218) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +21 -0
  3. data/.travis.yml +57 -0
  4. data/CONTRIBUTING.md +22 -0
  5. data/ChangeLog +47 -4
  6. data/Gemfile +7 -0
  7. data/LICENSE +20 -0
  8. data/README.textile +161 -0
  9. data/Rakefile +176 -0
  10. data/before_install_linux.sh +12 -0
  11. data/before_install_osx.sh +2 -0
  12. data/doc/.cvsignore +1 -0
  13. data/doc/comtasks.html +2 -2
  14. data/doc/constants.html +2 -2
  15. data/doc/draw.html +2 -2
  16. data/doc/ex/PreserveAspectRatio.rb +0 -0
  17. data/doc/ex/ViewBox.rb +0 -0
  18. data/doc/ex/adaptive_threshold.rb +0 -0
  19. data/doc/ex/add_noise.rb +0 -0
  20. data/doc/ex/affine.rb +0 -0
  21. data/doc/ex/affine_transform.rb +0 -0
  22. data/doc/ex/arc.rb +0 -0
  23. data/doc/ex/arcpath.rb +0 -0
  24. data/doc/ex/average.rb +0 -0
  25. data/doc/ex/axes.rb +0 -0
  26. data/doc/ex/bilevel_channel.rb +0 -0
  27. data/doc/ex/blur_image.rb +0 -0
  28. data/doc/ex/border.rb +0 -0
  29. data/doc/ex/bounding_box.rb +0 -0
  30. data/doc/ex/cbezier1.rb +0 -0
  31. data/doc/ex/cbezier2.rb +0 -0
  32. data/doc/ex/cbezier3.rb +0 -0
  33. data/doc/ex/cbezier4.rb +0 -0
  34. data/doc/ex/cbezier5.rb +0 -0
  35. data/doc/ex/cbezier6.rb +0 -0
  36. data/doc/ex/channel.rb +0 -0
  37. data/doc/ex/charcoal.rb +0 -0
  38. data/doc/ex/chop.rb +0 -0
  39. data/doc/ex/circle.rb +0 -0
  40. data/doc/ex/clip_path.rb +0 -0
  41. data/doc/ex/coalesce.rb +0 -0
  42. data/doc/ex/color_fill_to_border.rb +0 -0
  43. data/doc/ex/color_floodfill.rb +0 -0
  44. data/doc/ex/color_histogram.rb +0 -0
  45. data/doc/ex/color_reset.rb +0 -0
  46. data/doc/ex/colorize.rb +0 -0
  47. data/doc/ex/colors.rb +0 -0
  48. data/doc/ex/composite.rb +0 -0
  49. data/doc/ex/composite_layers.rb +0 -0
  50. data/doc/ex/contrast.rb +0 -0
  51. data/doc/ex/crop.rb +0 -0
  52. data/doc/ex/cycle_colormap.rb +0 -0
  53. data/doc/ex/drawcomp.rb +0 -0
  54. data/doc/ex/drop_shadow.rb +0 -0
  55. data/doc/ex/edge.rb +0 -0
  56. data/doc/ex/ellipse.rb +0 -0
  57. data/doc/ex/emboss.rb +0 -0
  58. data/doc/ex/enhance.rb +0 -0
  59. data/doc/ex/equalize.rb +0 -0
  60. data/doc/ex/evenodd.rb +0 -0
  61. data/doc/ex/flatten_images.rb +0 -0
  62. data/doc/ex/flip.rb +0 -0
  63. data/doc/ex/flop.rb +0 -0
  64. data/doc/ex/fonts.rb +0 -0
  65. data/doc/ex/frame.rb +0 -0
  66. data/doc/ex/gaussian_blur.rb +0 -0
  67. data/doc/ex/get_pixels.rb +0 -0
  68. data/doc/ex/gradientfill.rb +0 -0
  69. data/doc/ex/grav.rb +0 -0
  70. data/doc/ex/gravity.rb +0 -0
  71. data/doc/ex/hatchfill.rb +0 -0
  72. data/doc/ex/images/image_with_profile.jpg +0 -0
  73. data/doc/ex/images/logo400x83.gif +0 -0
  74. data/doc/ex/implode.rb +0 -0
  75. data/doc/ex/level.rb +0 -0
  76. data/doc/ex/line.rb +0 -0
  77. data/doc/ex/mask.rb +1 -1
  78. data/doc/ex/matte_fill_to_border.rb +0 -0
  79. data/doc/ex/matte_floodfill.rb +0 -0
  80. data/doc/ex/matte_replace.rb +0 -0
  81. data/doc/ex/median_filter.rb +0 -0
  82. data/doc/ex/modulate.rb +0 -0
  83. data/doc/ex/mono.rb +0 -0
  84. data/doc/ex/morph.rb +0 -0
  85. data/doc/ex/mosaic.rb +0 -0
  86. data/doc/ex/motion_blur.rb +0 -0
  87. data/doc/ex/negate.rb +0 -0
  88. data/doc/ex/nested_rvg.rb +0 -0
  89. data/doc/ex/nonzero.rb +0 -0
  90. data/doc/ex/normalize.rb +0 -0
  91. data/doc/ex/oil_paint.rb +0 -0
  92. data/doc/ex/opacity.rb +0 -0
  93. data/doc/ex/ordered_dither.rb +0 -0
  94. data/doc/ex/path.rb +0 -0
  95. data/doc/ex/pattern1.rb +0 -0
  96. data/doc/ex/pattern2.rb +0 -0
  97. data/doc/ex/polygon.rb +0 -0
  98. data/doc/ex/polyline.rb +0 -0
  99. data/doc/ex/preview.rb +0 -0
  100. data/doc/ex/qbezierpath.rb +0 -0
  101. data/doc/ex/quantize-m.rb +0 -0
  102. data/doc/ex/radial_blur.rb +0 -0
  103. data/doc/ex/raise.rb +0 -0
  104. data/doc/ex/rectangle.rb +0 -0
  105. data/doc/ex/reduce_noise.rb +0 -0
  106. data/doc/ex/roll.rb +0 -0
  107. data/doc/ex/rotate.rb +0 -0
  108. data/doc/ex/rotate_f.rb +0 -0
  109. data/doc/ex/roundrect.rb +0 -0
  110. data/doc/ex/rubyname.rb +0 -0
  111. data/doc/ex/rvg_linecap.rb +0 -0
  112. data/doc/ex/rvg_linejoin.rb +0 -0
  113. data/doc/ex/rvg_opacity.rb +0 -0
  114. data/doc/ex/rvg_stroke_dasharray.rb +0 -0
  115. data/doc/ex/segment.rb +0 -0
  116. data/doc/ex/shade.rb +0 -0
  117. data/doc/ex/shave.rb +0 -0
  118. data/doc/ex/shear.rb +0 -0
  119. data/doc/ex/sketch.rb +0 -0
  120. data/doc/ex/skewx.rb +0 -0
  121. data/doc/ex/skewy.rb +0 -0
  122. data/doc/ex/smile.rb +0 -0
  123. data/doc/ex/solarize.rb +0 -0
  124. data/doc/ex/spread.rb +0 -0
  125. data/doc/ex/stegano.rb +0 -0
  126. data/doc/ex/stroke_dasharray.rb +0 -0
  127. data/doc/ex/stroke_fill.rb +0 -0
  128. data/doc/ex/stroke_linecap.rb +0 -0
  129. data/doc/ex/stroke_linejoin.rb +0 -0
  130. data/doc/ex/stroke_width.rb +0 -0
  131. data/doc/ex/swirl.rb +0 -0
  132. data/doc/ex/text.rb +0 -0
  133. data/doc/ex/text_align.rb +0 -0
  134. data/doc/ex/text_antialias.rb +0 -0
  135. data/doc/ex/text_undercolor.rb +0 -0
  136. data/doc/ex/texture_fill_to_border.rb +0 -0
  137. data/doc/ex/texture_floodfill.rb +0 -0
  138. data/doc/ex/texturefill.rb +0 -0
  139. data/doc/ex/threshold.rb +0 -0
  140. data/doc/ex/to_blob.rb +0 -0
  141. data/doc/ex/translate.rb +0 -0
  142. data/doc/ex/transparent.rb +0 -0
  143. data/doc/ex/unsharp_mask.rb +0 -0
  144. data/doc/ex/wave.rb +0 -0
  145. data/doc/ilist.html +2 -2
  146. data/doc/image1.html +2 -2
  147. data/doc/image2.html +2 -2
  148. data/doc/image3.html +2 -2
  149. data/doc/imageattrs.html +2 -2
  150. data/doc/imusage.html +2 -2
  151. data/doc/index.html +3 -3
  152. data/doc/info.html +2 -2
  153. data/doc/magick.html +2 -2
  154. data/doc/optequiv.html +2 -2
  155. data/doc/rvg.html +2 -2
  156. data/doc/rvgclip.html +2 -2
  157. data/doc/rvggroup.html +2 -2
  158. data/doc/rvgimage.html +2 -2
  159. data/doc/rvgpattern.html +2 -2
  160. data/doc/rvgshape.html +2 -2
  161. data/doc/rvgstyle.html +2 -2
  162. data/doc/rvgtext.html +2 -2
  163. data/doc/rvgtspan.html +2 -2
  164. data/doc/rvgtut.html +2 -2
  165. data/doc/rvguse.html +2 -2
  166. data/doc/rvgxform.html +2 -2
  167. data/doc/struct.html +2 -2
  168. data/doc/usage.html +2 -2
  169. data/examples/crop_with_gravity.rb +0 -0
  170. data/examples/demo.rb +0 -0
  171. data/examples/describe.rb +0 -0
  172. data/examples/identify.rb +1 -1
  173. data/examples/rotating_text.rb +0 -0
  174. data/ext/RMagick/extconf.rb +59 -30
  175. data/ext/RMagick/rmagick.c +15 -15
  176. data/ext/RMagick/rmagick.h +9 -7
  177. data/ext/RMagick/rmdraw.c +12 -12
  178. data/ext/RMagick/rmenum.c +2 -2
  179. data/ext/RMagick/rmfill.c +25 -25
  180. data/ext/RMagick/rmilist.c +121 -104
  181. data/ext/RMagick/rmimage.c +738 -547
  182. data/ext/RMagick/rminfo.c +15 -15
  183. data/ext/RMagick/rmmain.c +27 -3
  184. data/ext/RMagick/rmpixel.c +25 -27
  185. data/ext/RMagick/rmstruct.c +1 -1
  186. data/ext/RMagick/rmutil.c +18 -18
  187. data/lib/RMagick.rb +1 -1962
  188. data/lib/rmagick/version.rb +5 -0
  189. data/lib/rmagick.rb +1 -0
  190. data/lib/rmagick_internal.rb +1964 -0
  191. data/rmagick.gemspec +21 -9
  192. data/test/Draw.rb +121 -0
  193. data/test/Image1.rb +763 -0
  194. data/test/Image2.rb +1312 -0
  195. data/test/Image3.rb +1033 -0
  196. data/test/ImageList1.rb +808 -0
  197. data/test/ImageList2.rb +389 -0
  198. data/test/Image_attributes.rb +700 -0
  199. data/test/Import_Export.rb +126 -0
  200. data/test/Info.rb +349 -0
  201. data/test/Magick.rb +324 -0
  202. data/test/Pixel.rb +119 -0
  203. data/test/Preview.rb +62 -0
  204. data/test/cmyk.icm +0 -0
  205. data/test/srgb.icm +0 -0
  206. data/test/test_all_basic.rb +34 -0
  207. data/test/tmpnam_test.rb +50 -0
  208. metadata +373 -322
  209. data/README-Mac-OSX.txt +0 -1
  210. data/README.html +0 -10
  211. data/build_tarball.rake +0 -215
  212. data/ext/RMagick/MANIFEST +0 -358
  213. data/metaconfig +0 -7
  214. data/post-clean.rb +0 -12
  215. data/post-install.rb +0 -50
  216. data/post-setup.rb +0 -254
  217. data/setup.rb +0 -1585
  218. data/uninstall.rb +0 -76
data/README-Mac-OSX.txt DELETED
@@ -1 +0,0 @@
1
- For installation instructions see http://rmagick.rubyforge.org/install-osx.html
data/README.html DELETED
@@ -1,10 +0,0 @@
1
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
- <html>
3
- <head>
4
- <title>RMagick 2.13.2 README</title>
5
- <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
6
- <meta name="GENERATOR" content="RedCloth">
7
- </head>
8
- <body>
9
- ["<h1>RMagick 2.13.2 <span class=\"caps\">README</span></h1>\n", "<h2>02/02/13</h2>\n", "<h3>Table of Contents</h3>\n", "<ul>\n", "\t<li><a href=\"#intro\">Introduction</a></li>\n", "\t<li><a href=\"#prereq\">Prerequisites</a></li>\n", "\t<li><a href=\"#install\">Installing RMagick</a></li>\n", "\t<li><a href=\"#config\">Configuration Options</a></li>\n", "\t<li><a href=\"#wrong\">Things that can go wrong</a></li>\n", "\t<li><a href=\"#upgrade\">Upgrading</a></li>\n", "\t<li><a href=\"#uninstall\">Uninstalling</a></li>\n", "\t<li><a href=\"#samples\">More samples</a></li>\n", "\t<li><a href=\"#bugs\">Reporting Bugs</a></li>\n", "\t<li><a href=\"#contact\">Contact Information</a></li>\n", "\t<li><a href=\"#credits\">Credits</a></li>\n", "\t<li><a href=\"#license\">License</a></li>\n", "</ul>\n", "<h2 id=\"intro\">Introduction</h2>\n", "<p>RMagick is an interface between the Ruby programming language and the<br />\n", "ImageMagick image processing library.</p>\n", "<h2 id=\"prereq\">Prerequisites</h2>\n", "<p><strong>O/S</strong> Linux, &#042;<span class=\"caps\">BSD</span>, OS X, Windows 2000, XP, Vista, other &#042;nix-like systems.</p>\n", "<p><strong>Ruby</strong> Version 1.8.2 or later. You can get Ruby from <a href=\"http://www.ruby-lang.org\">www.ruby-lang.org</a>.<br />\n", "The use of versions of Ruby older than 1.8.4 with RMagick is deprecated. Support will be<br />\n", "removed in a future release.</p>\n", "<p><strong>ImageMagick</strong> Version 6.3.0 or later. You can get ImageMagick from <a href=\"http://www.imagemagick.org\">www.imagemagick.org</a>.</p>\n", "<h2 id=\"install\">Installing RMagick</h2>\n", "<p>First install ImageMagick. Complete and up-to-date instructions for installing<br />\n", "ImageMagick on Linux, &#042;<span class=\"caps\">BSD</span>, and other &#042;nix-type O/S&#8217;s are available<br />\n", "<a href=\"http://rmagick.rubyforge.org/install-linux.html\">here</a>. Use steps 0, 1, and 2.<br />\n", "Similarly, instructions for installing ImageMagick using MacPorts on OS X<br />\n", "are available <a href=\"http://rmagick.rubyforge.org/install-osx.html\">here</a>. Use steps<br />\n", "1 and 2.</p>\n", "<p>This release of RMagick uses Minero Aoki&#8217;s setup.rb script for installation.<br />\n", "See the next section for configuration options. Usually you do not need to<br />\n", "specify any of these options. You can get more information about setup.rb from<br />\n", "his &#8220;web site&#8221;:&lt;http://i.loveruby.net.</p>\n", "<p>I assume you&#8217;ve already decompressed the tarball, or you wouldn&#8217;t be reading<br />\n", "this. If you have not decompressed the tarball, do so with one of these commands,<br />\n", "depending on which tarball you have:</p>\n", "<pre>\n", " tar xvzf RMagick-2.13.2-tar.gz (gzipped tarball)\n", " tar xvjf RMagick-2.13.2-tar.bz2 (bzipped tarball)\n", " 7z e RMagick-x.y.z.tar.lzma -so | tar xv (7zipped tarball)\n", "</pre>\n", "<p>Change to the RMagick-2.13.2 directory. If you are not using any<br />\n", "configuration options (usually you don&#8217;t need to) enter the command</p>\n", "<pre>\n", " ruby setup.rb\n", "</pre>\n", "<p>Note that setup.rb executes all the example programs, so this can take<br />\n", "some time. This process both builds the example images used in the<br />\n", "documentation and validates your RMagick installation.</p>\n", "<p>After this command completes, make sure you have root privileges (that<br />\n", "is, login as root or use su or sudo) and enter the command</p>\n", "<pre>\n", " ruby setup.rb install\n", "</pre>\n", "<h2 id=\"config\">Configuration options</h2>\n", "<p>Type <code>ruby setup.rb --help</code> to see a list of configuration options. In<br />\n", "addition to the regular options, there are a few RMagick-specific options:</p>\n", "<h4>&#8212;doc-dir=directory</h4>\n", "<p>Specify the directory to install the RMagick documentation.<br />\n", "By default this is $prefix/share/RMagick, where $prefix is the<br />\n", "prefix specified by &#8212;prefix. For example, to install the<br />\n", "documentation in /Users/me/RMagick, specify:</p>\n", "<pre>\n", " ruby setup.rb --doc-dir=/Users/me/RMagick\n", "</pre>\n", "<h4>&#8212;allow-example-errors</h4>\n", "<p>Normally the documentation installation terminates if 5 examples fail.<br />\n", "If you use this option, the installation does not check for failing<br />\n", "examples and will always complete. This option is useful if you&#8217;re<br />\n", "having trouble installing RMagick and you want to see all the failing examples.</p>\n", "<h4>&#8212; disable-htmldoc</h4>\n", "<p>By default the install process runs all the RMagick example programs and<br />\n", "generates <span class=\"caps\">HTML</span> versions of all the examples. This option causes the<br />\n", "install process to skip this step. No install verification will take<br />\n", "place and no documentation will be installed.</p>\n", "<h2 id=\"wrong\">Things that can go wrong</h2>\n", "<p>The <a href=\"http://rmagick.rubyforge.org/install-faq.html\">RMagick installation <span class=\"caps\">FAQ</span></a><br />\n", "has answers to the most commonly reported problems.</p>\n", "<h4>Can&#8217;t install RMagick. Can&#8217;t find libMagick or one of the dependent libraries. Check the mkmf.log file for more detailed information.</h4>\n", "<p>Typically this message means that one or more of the libraries that ImageMagick<br />\n", "depends on hasn&#8217;t been installed. Examine the mkmf.log file in the ext/RMagick<br />\n", "subdirectory of the installation directory for any error messages. These messages<br />\n", "typically contain enough additional information for you to be able to diagnose<br />\n", "the problem. Also see <a href=\"http://rmagick.rubyforge.org/install-faq.html#libmagick\">this <span class=\"caps\">FAQ</span></a>.</p>\n", "<h4>Cannot open shared object file</h4>\n", "<p>If you get a message like this:</p>\n", "<pre>\n", " $DIR/RMagick.rb:11:in `require': libMagick.so.0:\n", " cannot open shared object file: No such file or directory -\n", " $DIR/RMagick2.so (LoadError)\n", "</pre>\n", "<p>you probably do not have the directory in which the ImageMagick library<br />\n", "is installed in your load path. An easy way to fix this is to define<br />\n", "the directory in the LD_LIBRARY_PATH environment variable. For<br />\n", "example, suppose you installed the ImageMagick library libMagick.so in<br />\n", "/usr/local/lib. (By default this is where it is installed.) Create the<br />\n", "LD_LIBRARY_PATH variable like this:</p>\n", "<pre>\n", " export LD_LIBRARY_PATH=/usr/local/lib\n", "</pre>\n", "<p>On Linux, see <code>ld(1)</code> and <code>ld.so(8)</code> for more information. On other operating<br />\n", "systems, see the documentation for the dynamic loading facility.</p>\n", "<h4>No such file or directory &#8211; &#8220;/tmp/rmagick6872.6&#8221;</h4>\n", "<p>When setup.rb is running the examples, if you get a message like this:</p>\n", "<pre>\n", " hook /home/me/src/RMagick-2.13.2/./post-setup.rb failed:\n", " No such file or directory - \"/tmp/rmagick6872.6\"\n", "</pre>\n", "<p>you probably do not have a temporary directory environment variable set. Set<br />\n", "the <span class=\"caps\">TMPDIR</span> environment variable to your temporary directory. For example:</p>\n", "<pre>\n", " export TMPDIR=/home/me/tmp\n", "</pre>\n", "<h2 id=\"upgrade\">Upgrading</h2>\n", "<p>If you upgrade to a newer release of ImageMagick, make sure you&#8217;re using a<br />\n", "release of RMagick that supports that release. It&#8217;s safe to install a new<br />\n", "release of RMagick over an earlier release.</p>\n", "<h2 id=\"uninstall\">Uninstalling</h2>\n", "<p>The uninstall.rb script will uninstall RMagick completely. Make sure you<br />\n", "have administrator priviledges. Then run this command:</p>\n", "<pre>\n", " ruby uninstall.rb\n", "</pre>\n", "<h2 id=\"samples\">More samples</h2>\n", "<p>You can find more sample RMagick programs in the /example directory.<br />\n", "These programs are not installed in the RMagick documentation tree.</p>\n", "<h2 id=\"bugs\">Reporting bugs</h2>\n", "<p>Please report bugs in RMagick, its documentation, or its installation<br />\n", "programs to me via the bug tracker on the <a href=\"http://rubyforge.org/projects/rmagick\">RMagick project page</a>.<br />\n", "However, I can&#8217;t help with Ruby installation and configuration or ImageMagick<br />\n", "installation and configuration. Information about reporting problems and<br />\n", "getting help for ImageMagick is available at the <a href=\"http://www.imagemagick.org\">ImageMagick web site</a><br />\n", "or the <a href=\"http://www.imagemagick.org/discourse-server\">ImageMagick Forum</a>.</p>\n", "<h2 id=\"contact\">Contact Information</h2>\n", "<p><strong>Author:</strong> Tim Hunter, Omer Bar-or, Benjamin Thomas</p>\n", "<p><strong>Email:</strong> <a href=\"mailto:rmagick@rubyforge.org\">rmagick@rubyforge.org</a></p>\n", "<p><strong>Web site:</strong> <a href=\"http://rmagick.rubyforge.org\">http://rmagick.rubyforge.org</a></p>\n", "<h2 id=\"credits\">Credits</h2>\n", "<p>Thanks to <a href=\"http://www.imagemagick.org\">ImageMagick Studio <span class=\"caps\">LLC</span></a> for ImageMagick<br />\n", "and for hosting the RMagick documentation.</p>\n", "<h2 id=\"license\">License</h2>\n", "<pre>\n", "Copyright &amp;copy; 2002-2009 by Timothy P. Hunter\n", "\n", "Changes since Nov. 2009 copyright &amp;copy; by Benjamin Thomas and Omer Bar-or\n", "\n", "Permission is hereby granted, free of charge, to any person obtaining a\n", "copy of this software and associated documentation files (the \"Software\"),\n", "to deal in the Software without restriction, including without limitation\n", "the rights to use, copy, modify, merge, publish, distribute, sublicense,\n", "and/or sell copies of the Software, and to permit persons to whom the\n", "Software is furnished to do so, subject to the following conditions:\n", "\n", "The above copyright notice and this permission notice shall be included in\n", "all copies or substantial portions of the Software.\n", "\n", "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n", "IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n", "FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n", "THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n", "LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n", "FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n", "DEALINGS IN THE SOFTWARE.\n", "</pre>\n", "<hr>\n", "<p>This file is marked up using <a href=\"http://hobix.com/textile/\">Textile</a> and converted<br />\n", "to <span class=\"caps\">HTML</span> with <a href=\"http://whytheluckystiff.net/ruby/redcloth/\">RedCloth</a>.</p>\n"] </body>
10
- </html>
data/build_tarball.rake DELETED
@@ -1,215 +0,0 @@
1
-
2
- # Build the tar.gz, tar.bz2, and .gem files for an RMagick Release
3
- # Expects the CVS tag for release RMagick x.y.z to be in the form RMagick_x-y-z.
4
- # To use: cd to $HOME
5
- # run: rake -f path/to/build_tarball.rake clean
6
- # rake -f path/to/build_tarball.rake release=tag beta=whatever
7
- #
8
- # Specify the release as release=RMagick_x-y-z or nothing if release=HEAD
9
- # Specify a beta Release as beta=beta1
10
-
11
- require 'rubygems'
12
- require 'redcloth'
13
- require 'find'
14
- require 'fileutils'
15
- include FileUtils
16
-
17
-
18
- CVSSERVER = ":ext:rmagick@rubyforge.org/var/cvs/rmagick"
19
-
20
-
21
- # CVS_Tag is the CVS tag for this release. Dist_Directory is CVS_Tag,
22
- # modified for use as a directory name.
23
- if ENV.include?("release")
24
- CVS_Tag = ENV["release"]
25
- Dist_Directory = CVS_Tag.tr('_-','-.')
26
- else
27
- CVS_Tag = "HEAD"
28
- Dist_Directory = "RMagick-0.0.0"
29
- end
30
-
31
-
32
- # RMagick_Version is just X.Y.Z
33
- RMagick_Version = Dist_Directory.sub(/RMagick-/, "")
34
-
35
- # RMagick_Version2 is X.Y.Z + "-beta1" if beta=beta1
36
- RMagick_Version2 = RMagick_Version + (ENV.include?("beta") ? "-" + ENV["beta"] : "")
37
-
38
- # Release is RMagick-X.Y.Z, plus "-beta1" if beta=beta1
39
- Release = Dist_Directory + (ENV.include?("beta") ? "-" + ENV["beta"] : "")
40
-
41
- README = "README.html"
42
- MANIFEST = "ext/RMagick/MANIFEST"
43
-
44
-
45
-
46
-
47
- # Change the version number placeholders in a file.
48
- # Returns an array of lines from the file.
49
- def reversion(name)
50
- now = Time.new
51
- now = now.strftime("%m/%d/%y")
52
-
53
- lines = File.readlines name
54
- lines.each do |line|
55
- line.gsub!(%r{0\.0\.0\$}, RMagick_Version2)
56
- line.gsub!(%r{0\.0\.0}, RMagick_Version)
57
- line.gsub!(%r{YY/MM/DD}, now)
58
- end
59
- lines
60
- end
61
-
62
-
63
-
64
-
65
- # Rewrite a file containing embedded version number placeholders.
66
- def reversion_file(name)
67
- lines = reversion(name)
68
- tmp_name = name + "_tmp"
69
- mv name, tmp_name
70
- begin
71
- File.open(name, "w") { |f| lines.each { |line| f.write line } }
72
- rescue
73
- mv tmp_name, name
74
- ensure
75
- rm tmp_name
76
- end
77
- end
78
-
79
-
80
-
81
-
82
- task :extconf do
83
- Dir.chdir(Dist_Directory) { reversion_file "ext/RMagick/extconf.rb" }
84
- end
85
-
86
-
87
-
88
-
89
- task :gemspec do
90
- Dir.chdir(Dist_Directory) { reversion_file "rmagick.gemspec" }
91
- end
92
-
93
-
94
-
95
-
96
- task "README.txt" do
97
- Dir.chdir Dist_Directory do
98
- reversion_file "README.rc"
99
- body = File.readlines "README.rc"
100
- body = RedCloth.new(body.join).to_html + "\n"
101
- File.open("README.txt", "w") { |f| f.write body }
102
- end
103
- end
104
-
105
-
106
-
107
-
108
- task README => "README.txt" do
109
- puts "writing #{README}"
110
- Dir.chdir Dist_Directory do
111
- File.open(README, "w") do |html|
112
- html.write <<END_HTML_HEAD
113
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
114
- <html>
115
- <head>
116
- <title>RMagick #{RMagick_Version2} README</title>
117
- <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
118
- <meta name="GENERATOR" content="RedCloth">
119
- </head>
120
- <body>
121
- END_HTML_HEAD
122
- html.write File.readlines("README.txt")
123
- html.write <<END_HTML_TAIL
124
- </body>
125
- </html>
126
- END_HTML_TAIL
127
- end
128
- end
129
- end
130
-
131
-
132
-
133
-
134
- task :doc do
135
- Dir.chdir(File.join(Dist_Directory, "doc")) do
136
- FileList["*.html"].each { |d| reversion_file(d) }
137
- end
138
- end
139
-
140
-
141
-
142
-
143
- # Remove files we don't want in the tarball.
144
- # Ensure files are not executable. (ref: bug #10080)
145
- task :fix_files do
146
- Dir.chdir Dist_Directory do
147
- rm_rf "test", :verbose => true
148
- rm "lib/rvg/to_c.rb", :verbose => true
149
- rm "README.rc", :verbose => true
150
- rm "README.txt", :verbose => true
151
- chmod 0644, FileList["doc/*.html", "doc/ex/*.rb", "doc/ex/images/*", "examples/*.rb"]
152
- end
153
- end
154
-
155
-
156
-
157
-
158
- task :manifest do
159
- now = Time.new
160
- now = now.strftime("%H:%M:%S %m/%d/%y")
161
- puts "generating #{MANIFEST}"
162
-
163
- Dir.chdir Dist_Directory do
164
- File.open(MANIFEST, "w") do |f|
165
- f.puts "MANIFEST for #{Release} - #{now}\n\n"
166
- Find.find('.') do |name|
167
- next if File.directory? name
168
- f.puts name[2..-1] # remove leading "./"
169
- end
170
- end
171
- end
172
- end
173
-
174
-
175
-
176
-
177
- task :export do
178
- sh "cvs -d#{CVSSERVER} export -r #{CVS_Tag} -d #{Dist_Directory} RMagick"
179
- end
180
-
181
-
182
-
183
-
184
- task :collateral => [README, :gemspec, :extconf, :doc]
185
-
186
- GEM = Dist_Directory.downcase + ".gem"
187
-
188
- task :default => [:export, :collateral, :fix_files, :manifest] do
189
- sh "tar czf #{Release}.tar.gz #{Dist_Directory}"
190
- sh "tar cjf #{Release}.tar.bz2 #{Dist_Directory}"
191
- sh "tar c #{Release} | 7z a -t7z -m0=lzma -mx=9 -mfb=64 -ms=on -si#{Release}.tar #{Release}.tar.lzma"
192
-
193
- # Extract with
194
- # 7z e RMagick-x.y.z.tar.lzma -so | tar xv
195
- #sh "tar cf #{Release}.tar #{Dist_Directory}"
196
- #sh "7z a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on #{Release}.tar.lzma #{Release}.tar"
197
- #rm_rf Release+".tar", :verbose => true
198
-
199
- Dir.chdir(Dist_Directory) do
200
- sh "gem build rmagick.gemspec"
201
- mv GEM, "../", :verbose => true
202
- end
203
- end
204
-
205
-
206
-
207
-
208
- task :clean do
209
- rm_rf Dist_Directory, :verbose => true
210
- rm_rf Release+".tar.gz", :verbose => true
211
- rm_rf Release+".tar.bz2", :verbose => true
212
- rm_rf Release+".tar.lzma", :verbose => true
213
- rm_rf GEM, :verbose => true
214
- end
215
-
data/ext/RMagick/MANIFEST DELETED
@@ -1,358 +0,0 @@
1
- MANIFEST for RMagick-2.13.2 - 16:03:50 02/02/13
2
-
3
- ChangeLog
4
- Doxyfile
5
- README-Mac-OSX.txt
6
- README.html
7
- build_tarball.rake
8
- doc/.cvsignore
9
- doc/comtasks.html
10
- doc/constants.html
11
- doc/css/doc.css
12
- doc/css/popup.css
13
- doc/css/ref.css
14
- doc/draw.html
15
- doc/ex/InitialCoords.rb
16
- doc/ex/NewCoordSys.rb
17
- doc/ex/OrigCoordSys.rb
18
- doc/ex/PreserveAspectRatio.rb
19
- doc/ex/RotateScale.rb
20
- doc/ex/Skew.rb
21
- doc/ex/Use01.rb
22
- doc/ex/Use02.rb
23
- doc/ex/Use03.rb
24
- doc/ex/ViewBox.rb
25
- doc/ex/adaptive_threshold.rb
26
- doc/ex/add_noise.rb
27
- doc/ex/affine.rb
28
- doc/ex/affine_transform.rb
29
- doc/ex/arc.rb
30
- doc/ex/arcpath.rb
31
- doc/ex/arcs01.rb
32
- doc/ex/arcs02.rb
33
- doc/ex/average.rb
34
- doc/ex/axes.rb
35
- doc/ex/baseline_shift01.rb
36
- doc/ex/bilevel_channel.rb
37
- doc/ex/blur_image.rb
38
- doc/ex/border.rb
39
- doc/ex/bounding_box.rb
40
- doc/ex/cbezier1.rb
41
- doc/ex/cbezier2.rb
42
- doc/ex/cbezier3.rb
43
- doc/ex/cbezier4.rb
44
- doc/ex/cbezier5.rb
45
- doc/ex/cbezier6.rb
46
- doc/ex/channel.rb
47
- doc/ex/charcoal.rb
48
- doc/ex/chop.rb
49
- doc/ex/circle.rb
50
- doc/ex/circle01.rb
51
- doc/ex/clip_path.rb
52
- doc/ex/coalesce.rb
53
- doc/ex/color_fill_to_border.rb
54
- doc/ex/color_floodfill.rb
55
- doc/ex/color_histogram.rb
56
- doc/ex/color_reset.rb
57
- doc/ex/colorize.rb
58
- doc/ex/colors.rb
59
- doc/ex/compose_mask.rb
60
- doc/ex/composite.rb
61
- doc/ex/composite_layers.rb
62
- doc/ex/composite_tiled.rb
63
- doc/ex/contrast.rb
64
- doc/ex/crop.rb
65
- doc/ex/crop_with_gravity.rb
66
- doc/ex/cubic01.rb
67
- doc/ex/cubic02.rb
68
- doc/ex/cycle_colormap.rb
69
- doc/ex/dissolve.rb
70
- doc/ex/drawcomp.rb
71
- doc/ex/drop_shadow.rb
72
- doc/ex/edge.rb
73
- doc/ex/ellipse.rb
74
- doc/ex/ellipse01.rb
75
- doc/ex/emboss.rb
76
- doc/ex/enhance.rb
77
- doc/ex/equalize.rb
78
- doc/ex/evenodd.rb
79
- doc/ex/fill_pattern.rb
80
- doc/ex/flatten_images.rb
81
- doc/ex/flip.rb
82
- doc/ex/flop.rb
83
- doc/ex/font_styles.rb
84
- doc/ex/fonts.rb
85
- doc/ex/frame.rb
86
- doc/ex/gaussian_blur.rb
87
- doc/ex/get_multiline_type_metrics.rb
88
- doc/ex/get_pixels.rb
89
- doc/ex/get_type_metrics.rb
90
- doc/ex/gradientfill.rb
91
- doc/ex/grav.rb
92
- doc/ex/gravity.rb
93
- doc/ex/group.rb
94
- doc/ex/hatchfill.rb
95
- doc/ex/image.rb
96
- doc/ex/images/Apple.miff
97
- doc/ex/images/Ballerina.jpg
98
- doc/ex/images/Ballerina3.jpg
99
- doc/ex/images/Button_0.gif
100
- doc/ex/images/Button_1.gif
101
- doc/ex/images/Button_2.gif
102
- doc/ex/images/Button_3.gif
103
- doc/ex/images/Button_4.gif
104
- doc/ex/images/Button_5.gif
105
- doc/ex/images/Button_6.gif
106
- doc/ex/images/Button_7.gif
107
- doc/ex/images/Button_8.gif
108
- doc/ex/images/Button_9.gif
109
- doc/ex/images/Button_A.gif
110
- doc/ex/images/Button_B.gif
111
- doc/ex/images/Button_C.gif
112
- doc/ex/images/Button_D.gif
113
- doc/ex/images/Button_E.gif
114
- doc/ex/images/Button_F.gif
115
- doc/ex/images/Button_G.gif
116
- doc/ex/images/Button_H.gif
117
- doc/ex/images/Button_I.gif
118
- doc/ex/images/Button_J.gif
119
- doc/ex/images/Button_K.gif
120
- doc/ex/images/Button_L.gif
121
- doc/ex/images/Button_M.gif
122
- doc/ex/images/Button_N.gif
123
- doc/ex/images/Button_O.gif
124
- doc/ex/images/Button_P.gif
125
- doc/ex/images/Button_Q.gif
126
- doc/ex/images/Button_R.gif
127
- doc/ex/images/Button_S.gif
128
- doc/ex/images/Button_T.gif
129
- doc/ex/images/Button_U.gif
130
- doc/ex/images/Button_V.gif
131
- doc/ex/images/Button_W.gif
132
- doc/ex/images/Button_X.gif
133
- doc/ex/images/Button_Y.gif
134
- doc/ex/images/Button_Z.gif
135
- doc/ex/images/Cheetah.jpg
136
- doc/ex/images/Coffee.wmf
137
- doc/ex/images/Flower_Hat.jpg
138
- doc/ex/images/Gold_Statue.jpg
139
- doc/ex/images/Hot_Air_Balloons.jpg
140
- doc/ex/images/Hot_Air_Balloons_H.jpg
141
- doc/ex/images/Leaf.miff
142
- doc/ex/images/No.wmf
143
- doc/ex/images/Polynesia.jpg
144
- doc/ex/images/Red_Rocks.jpg
145
- doc/ex/images/Rocks_On_Beach.miff
146
- doc/ex/images/Shorts.jpg
147
- doc/ex/images/Snake.wmf
148
- doc/ex/images/Violin.jpg
149
- doc/ex/images/Yellow_Rose.miff
150
- doc/ex/images/big-duck.gif
151
- doc/ex/images/duck.gif
152
- doc/ex/images/duck0.gif
153
- doc/ex/images/duck1.gif
154
- doc/ex/images/duck10.gif
155
- doc/ex/images/duck11.gif
156
- doc/ex/images/duck12.gif
157
- doc/ex/images/duck13.gif
158
- doc/ex/images/duck14.gif
159
- doc/ex/images/duck15.gif
160
- doc/ex/images/duck2.gif
161
- doc/ex/images/duck3.gif
162
- doc/ex/images/duck4.gif
163
- doc/ex/images/duck5.gif
164
- doc/ex/images/duck6.gif
165
- doc/ex/images/duck7.gif
166
- doc/ex/images/duck8.gif
167
- doc/ex/images/duck9.gif
168
- doc/ex/images/graydient230x6.gif
169
- doc/ex/images/logo400x83.gif
170
- doc/ex/images/model.miff
171
- doc/ex/images/notimplemented.gif
172
- doc/ex/images/smile.miff
173
- doc/ex/images/spin.gif
174
- doc/ex/implode.rb
175
- doc/ex/level.rb
176
- doc/ex/level_colors.rb
177
- doc/ex/line.rb
178
- doc/ex/line01.rb
179
- doc/ex/mask.rb
180
- doc/ex/matte_fill_to_border.rb
181
- doc/ex/matte_floodfill.rb
182
- doc/ex/matte_replace.rb
183
- doc/ex/median_filter.rb
184
- doc/ex/modulate.rb
185
- doc/ex/mono.rb
186
- doc/ex/morph.rb
187
- doc/ex/mosaic.rb
188
- doc/ex/motion_blur.rb
189
- doc/ex/negate.rb
190
- doc/ex/negate_channel.rb
191
- doc/ex/nested_rvg.rb
192
- doc/ex/nonzero.rb
193
- doc/ex/normalize.rb
194
- doc/ex/oil_paint.rb
195
- doc/ex/opacity.rb
196
- doc/ex/ordered_dither.rb
197
- doc/ex/path.rb
198
- doc/ex/pattern1.rb
199
- doc/ex/pattern2.rb
200
- doc/ex/polaroid.rb
201
- doc/ex/polygon.rb
202
- doc/ex/polygon01.rb
203
- doc/ex/polyline.rb
204
- doc/ex/polyline01.rb
205
- doc/ex/posterize.rb
206
- doc/ex/preview.rb
207
- doc/ex/qbezierpath.rb
208
- doc/ex/quad01.rb
209
- doc/ex/quantize-m.rb
210
- doc/ex/radial_blur.rb
211
- doc/ex/raise.rb
212
- doc/ex/random_threshold_channel.rb
213
- doc/ex/rect01.rb
214
- doc/ex/rect02.rb
215
- doc/ex/rectangle.rb
216
- doc/ex/reduce_noise.rb
217
- doc/ex/remap.rb
218
- doc/ex/remap_images.rb
219
- doc/ex/resize_to_fill.rb
220
- doc/ex/resize_to_fit.rb
221
- doc/ex/roll.rb
222
- doc/ex/rotate.rb
223
- doc/ex/rotate_f.rb
224
- doc/ex/roundrect.rb
225
- doc/ex/rubyname.rb
226
- doc/ex/rvg_clippath.rb
227
- doc/ex/rvg_linecap.rb
228
- doc/ex/rvg_linejoin.rb
229
- doc/ex/rvg_opacity.rb
230
- doc/ex/rvg_pattern.rb
231
- doc/ex/rvg_stroke_dasharray.rb
232
- doc/ex/segment.rb
233
- doc/ex/sepiatone.rb
234
- doc/ex/shade.rb
235
- doc/ex/shadow.rb
236
- doc/ex/shave.rb
237
- doc/ex/shear.rb
238
- doc/ex/sketch.rb
239
- doc/ex/skewx.rb
240
- doc/ex/skewy.rb
241
- doc/ex/smile.rb
242
- doc/ex/solarize.rb
243
- doc/ex/sparse_color.rb
244
- doc/ex/splice.rb
245
- doc/ex/spread.rb
246
- doc/ex/stegano.rb
247
- doc/ex/stroke_dasharray.rb
248
- doc/ex/stroke_fill.rb
249
- doc/ex/stroke_linecap.rb
250
- doc/ex/stroke_linejoin.rb
251
- doc/ex/stroke_width.rb
252
- doc/ex/swirl.rb
253
- doc/ex/text.rb
254
- doc/ex/text01.rb
255
- doc/ex/text_align.rb
256
- doc/ex/text_antialias.rb
257
- doc/ex/text_styles.rb
258
- doc/ex/text_undercolor.rb
259
- doc/ex/texture_fill_to_border.rb
260
- doc/ex/texture_floodfill.rb
261
- doc/ex/texturefill.rb
262
- doc/ex/threshold.rb
263
- doc/ex/to_blob.rb
264
- doc/ex/translate.rb
265
- doc/ex/transparent.rb
266
- doc/ex/transpose.rb
267
- doc/ex/transverse.rb
268
- doc/ex/tref01.rb
269
- doc/ex/triangle01.rb
270
- doc/ex/trim.rb
271
- doc/ex/tspan01.rb
272
- doc/ex/tspan02.rb
273
- doc/ex/tspan03.rb
274
- doc/ex/unsharp_mask.rb
275
- doc/ex/viewex.rb
276
- doc/ex/vignette.rb
277
- doc/ex/watermark.rb
278
- doc/ex/wave.rb
279
- doc/ex/wet_floor.rb
280
- doc/ex/writing_mode01.rb
281
- doc/ex/writing_mode02.rb
282
- doc/ilist.html
283
- doc/image1.html
284
- doc/image2.html
285
- doc/image3.html
286
- doc/imageattrs.html
287
- doc/imusage.html
288
- doc/index.html
289
- doc/info.html
290
- doc/magick.html
291
- doc/optequiv.html
292
- doc/rvg.html
293
- doc/rvgclip.html
294
- doc/rvggroup.html
295
- doc/rvgimage.html
296
- doc/rvgpattern.html
297
- doc/rvgshape.html
298
- doc/rvgstyle.html
299
- doc/rvgtext.html
300
- doc/rvgtspan.html
301
- doc/rvgtut.html
302
- doc/rvguse.html
303
- doc/rvgxform.html
304
- doc/scripts/doc.js
305
- doc/scripts/stripeTables.js
306
- doc/struct.html
307
- doc/usage.html
308
- examples/constitute.rb
309
- examples/crop_with_gravity.rb
310
- examples/demo.rb
311
- examples/describe.rb
312
- examples/find_similar_region.rb
313
- examples/histogram.rb
314
- examples/identify.rb
315
- examples/image_opacity.rb
316
- examples/import_export.rb
317
- examples/pattern_fill.rb
318
- examples/rotating_text.rb
319
- examples/spinner.rb
320
- examples/thumbnail.rb
321
- examples/vignette.rb
322
- ext/RMagick/MANIFEST
323
- ext/RMagick/extconf.rb
324
- ext/RMagick/rmagick.c
325
- ext/RMagick/rmagick.h
326
- ext/RMagick/rmdraw.c
327
- ext/RMagick/rmenum.c
328
- ext/RMagick/rmfill.c
329
- ext/RMagick/rmilist.c
330
- ext/RMagick/rmimage.c
331
- ext/RMagick/rminfo.c
332
- ext/RMagick/rmmain.c
333
- ext/RMagick/rmmontage.c
334
- ext/RMagick/rmpixel.c
335
- ext/RMagick/rmstruct.c
336
- ext/RMagick/rmutil.c
337
- lib/RMagick.rb
338
- lib/rvg/clippath.rb
339
- lib/rvg/container.rb
340
- lib/rvg/deep_equal.rb
341
- lib/rvg/describable.rb
342
- lib/rvg/embellishable.rb
343
- lib/rvg/misc.rb
344
- lib/rvg/paint.rb
345
- lib/rvg/pathdata.rb
346
- lib/rvg/rvg.rb
347
- lib/rvg/stretchable.rb
348
- lib/rvg/stylable.rb
349
- lib/rvg/text.rb
350
- lib/rvg/transformable.rb
351
- lib/rvg/units.rb
352
- metaconfig
353
- post-clean.rb
354
- post-install.rb
355
- post-setup.rb
356
- rmagick.gemspec
357
- setup.rb
358
- uninstall.rb
data/metaconfig DELETED
@@ -1,7 +0,0 @@
1
- # define additional install.rb config options
2
- # add --allow-example-errors - default is false (only allow 5 examples to fail)
3
- add_bool_config('allow-example-errors', false, 'Allow installation to proceed even if a lot of examples fail')
4
- # add --disable-htmldoc - default is false, if true don't build doc and examples
5
- add_bool_config('disable-htmldoc', false, "don't build HTML doc and examples")
6
- # add --doc-dir - default is $prefix/share/RMagick
7
- add_path_config('doc-dir', "$prefix/share/RMagick", 'where to install RMagick documentation')
data/post-clean.rb DELETED
@@ -1,12 +0,0 @@
1
- # delete RMagick documentation created by post-setup.rb
2
- # doc/*.rb.html
3
- # doc/ex/* (!rb)
4
- # Bug #246: Don't use chdir!
5
- require 'fileutils'
6
-
7
- targets = Dir['doc/*.rb.html']
8
- FileUtils.safe_unlink(targets) unless targets.empty?
9
-
10
- targets = Dir['doc/ex/*']
11
- targets.delete_if { |entry| File.directory?(entry) || %r{\.rb\z}.match(entry) }
12
- FileUtils.safe_unlink(targets) unless targets.empty?
data/post-install.rb DELETED
@@ -1,50 +0,0 @@
1
- # install RMagick documentation
2
-
3
- require 'fileutils'
4
- require 'find'
5
-
6
- if defined?(Installer) && self.class == Installer
7
-
8
- BUILD_HTMLDOC = get_config('disable-htmldoc') != 'yes'
9
-
10
- $docdir = nil
11
-
12
- # Where to install the documentation
13
- def docdir
14
- return $docdir if $docdir
15
- dir = get_config('doc-dir')+'/'
16
- dir.sub!(/\A$prefix/, get_config('prefix'))
17
- $docdir = dir
18
- end
19
- else
20
-
21
- BUILD_HTMLDOC = true
22
-
23
- def docdir
24
- return ARGV[0]
25
- end
26
- end
27
-
28
- if BUILD_HTMLDOC
29
-
30
- puts "\npost-install.rb: installing documentation..."
31
-
32
- Find.find('doc') do |file|
33
- next if FileTest.directory? file
34
- target = file.sub(/^doc\//,docdir())
35
- unless FileTest.exists? File.dirname(target)
36
- FileUtils.mkdir_p(File.dirname(target), :verbose => true)
37
- # Mark this directory as one we created so
38
- # that uninstall.rb knows it's okay to delete
39
- FileUtils.touch("#{File.dirname(target)}/.rmagick")
40
- end
41
- FileUtils.install(file, target, :mode => 0644)
42
- end
43
-
44
- else
45
-
46
- puts "\npost-install.rb: --disable-htmldoc specified. No documentation will be installed."
47
-
48
- end
49
-
50
- exit