rmagick 1.7.2 → 1.7.3

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rmagick might be problematic. Click here for more details.

data/README.html CHANGED
@@ -1,17 +1,17 @@
1
1
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
2
  <html>
3
3
  <head>
4
- <title>RMagick 1.7.2 README</title>
4
+ <title>RMagick 1.7.3 README</title>
5
5
  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
6
6
  <meta name="GENERATOR" content="BlueCloth">
7
7
  </head>
8
8
  <body>
9
- <p>RMagick 1.7.2</p>
9
+ <p>RMagick 1.7.3</p>
10
10
 
11
11
  <pre><code>README
12
12
 
13
13
 
14
- 02/23/05
14
+ 02/27/05
15
15
 
16
16
 
17
17
  Table of Contents
@@ -211,7 +211,7 @@ addition to the regular options, there are a few RMagick-specific options:</p>
211
211
  <pre><code> Running the |configure| and |make| scripts
212
212
  </code></pre>
213
213
 
214
- <p>De-compress the RMagick-1.7.2.tar.gz archive and enter the
214
+ <p>De-compress the RMagick-1.7.3.tar.gz archive and enter the
215
215
  top directory. Then type:</p>
216
216
 
217
217
  <pre><code>$ ./configure &lt;configuration options&gt;
@@ -231,9 +231,9 @@ $ make
231
231
  <pre><code>When |make| is running the examples, if you get a message like this:
232
232
  </code></pre>
233
233
 
234
- <p>/home/you/RMagick-1.7.2/lib/RMagick.rb:11:in 'require': libMagick.so.0:
234
+ <p>/home/you/RMagick-1.7.3/lib/RMagick.rb:11:in 'require': libMagick.so.0:
235
235
  cannot open shared object file: No such file or directory -
236
- /home/you/RMagick-1.7.2/ext/RMagick/RMagick.so (LoadError)</p>
236
+ /home/you/RMagick-1.7.3/ext/RMagick/RMagick.so (LoadError)</p>
237
237
 
238
238
  <pre><code>you probably do not have the directory in which the ImageMagick or
239
239
  GraphicsMagick library is installed in your load path. An easy way
@@ -256,7 +256,7 @@ facility.
256
256
  <pre><code>When |make| is running the examples, if you get a message like this:
257
257
  </code></pre>
258
258
 
259
- <p>hook /home/me/src/RMagick-1.7.2/./post-setup.rb failed:
259
+ <p>hook /home/me/src/RMagick-1.7.3/./post-setup.rb failed:
260
260
  No such file or directory - "/tmp/rmagick6872.6"</p>
261
261
 
262
262
  <pre><code>you probably do not have a temporary directory environment variable
data/README.txt CHANGED
@@ -1,11 +1,11 @@
1
1
 
2
- RMagick 1.7.2
2
+ RMagick 1.7.3
3
3
 
4
4
 
5
5
  README
6
6
 
7
7
 
8
- 02/23/05
8
+ 02/27/05
9
9
 
10
10
 
11
11
  Table of Contents
@@ -204,7 +204,7 @@ addition to the regular options, there are a few RMagick-specific options:
204
204
 
205
205
  Running the |configure| and |make| scripts
206
206
 
207
- De-compress the RMagick-1.7.2.tar.gz archive and enter the
207
+ De-compress the RMagick-1.7.3.tar.gz archive and enter the
208
208
  top directory. Then type:
209
209
 
210
210
  $ ./configure <configuration options>
@@ -221,9 +221,9 @@ top directory. Then type:
221
221
 
222
222
  When |make| is running the examples, if you get a message like this:
223
223
 
224
- /home/you/RMagick-1.7.2/lib/RMagick.rb:11:in 'require': libMagick.so.0:
224
+ /home/you/RMagick-1.7.3/lib/RMagick.rb:11:in 'require': libMagick.so.0:
225
225
  cannot open shared object file: No such file or directory -
226
- /home/you/RMagick-1.7.2/ext/RMagick/RMagick.so (LoadError)
226
+ /home/you/RMagick-1.7.3/ext/RMagick/RMagick.so (LoadError)
227
227
 
228
228
  you probably do not have the directory in which the ImageMagick or
229
229
  GraphicsMagick library is installed in your load path. An easy way
@@ -243,7 +243,7 @@ export LD_LIBRARY_PATH=/usr/local/lib
243
243
 
244
244
  When |make| is running the examples, if you get a message like this:
245
245
 
246
- hook /home/me/src/RMagick-1.7.2/./post-setup.rb failed:
246
+ hook /home/me/src/RMagick-1.7.3/./post-setup.rb failed:
247
247
  No such file or directory - "/tmp/rmagick6872.6"
248
248
 
249
249
  you probably do not have a temporary directory environment variable
data/configure CHANGED
@@ -1,6 +1,6 @@
1
1
  #! /bin/sh
2
2
  # Guess values for system-dependent variables and create Makefiles.
3
- # Generated by GNU Autoconf 2.59 for RMagick x.y.z.
3
+ # Generated by GNU Autoconf 2.59 for RMagick 1.7.3.
4
4
  #
5
5
  # Report bugs to <rmagick@rubyforge.org>.
6
6
  #
@@ -268,9 +268,9 @@ SHELL=${CONFIG_SHELL-/bin/sh}
268
268
 
269
269
  # Identity of this package.
270
270
  PACKAGE_NAME='RMagick'
271
- PACKAGE_TARNAME='RMagick-x.y.z.tar.gz'
272
- PACKAGE_VERSION='x.y.z'
273
- PACKAGE_STRING='RMagick x.y.z'
271
+ PACKAGE_TARNAME='RMagick-1.7.3.tar.gz'
272
+ PACKAGE_VERSION='1.7.3'
273
+ PACKAGE_STRING='RMagick 1.7.3'
274
274
  PACKAGE_BUGREPORT='rmagick@rubyforge.org'
275
275
 
276
276
  # Factoring default headers for most tests.
@@ -779,7 +779,7 @@ if test "$ac_init_help" = "long"; then
779
779
  # Omit some internal or obsolete options to make the list less imposing.
780
780
  # This message is too long to be a string in the A/UX 3.1 sh.
781
781
  cat <<_ACEOF
782
- \`configure' configures RMagick x.y.z to adapt to many kinds of systems.
782
+ \`configure' configures RMagick 1.7.3 to adapt to many kinds of systems.
783
783
 
784
784
  Usage: $0 [OPTION]... [VAR=VALUE]...
785
785
 
@@ -836,7 +836,7 @@ fi
836
836
 
837
837
  if test -n "$ac_init_help"; then
838
838
  case $ac_init_help in
839
- short | recursive ) echo "Configuration of RMagick x.y.z:";;
839
+ short | recursive ) echo "Configuration of RMagick 1.7.3:";;
840
840
  esac
841
841
  cat <<\_ACEOF
842
842
 
@@ -981,7 +981,7 @@ fi
981
981
  test -n "$ac_init_help" && exit 0
982
982
  if $ac_init_version; then
983
983
  cat <<\_ACEOF
984
- RMagick configure x.y.z
984
+ RMagick configure 1.7.3
985
985
  generated by GNU Autoconf 2.59
986
986
 
987
987
  Copyright (C) 2003 Free Software Foundation, Inc.
@@ -995,7 +995,7 @@ cat >&5 <<_ACEOF
995
995
  This file contains any messages produced by compilers while
996
996
  running configure, to aid debugging if configure makes a mistake.
997
997
 
998
- It was created by RMagick $as_me x.y.z, which was
998
+ It was created by RMagick $as_me 1.7.3, which was
999
999
  generated by GNU Autoconf 2.59. Invocation command line was
1000
1000
 
1001
1001
  $ $0 $@
@@ -6381,6 +6381,127 @@ _ACEOF
6381
6381
  fi
6382
6382
 
6383
6383
 
6384
+ echo "$as_me:$LINENO: checking for Image.quality" >&5
6385
+ echo $ECHO_N "checking for Image.quality... $ECHO_C" >&6
6386
+ if test "${ac_cv_member_Image_quality+set}" = set; then
6387
+ echo $ECHO_N "(cached) $ECHO_C" >&6
6388
+ else
6389
+ cat >conftest.$ac_ext <<_ACEOF
6390
+ /* confdefs.h. */
6391
+ _ACEOF
6392
+ cat confdefs.h >>conftest.$ac_ext
6393
+ cat >>conftest.$ac_ext <<_ACEOF
6394
+ /* end confdefs.h. */
6395
+ #include <stdio.h>
6396
+ #if HAVE_SYS_TYPES_H
6397
+ #include <sys/types.h>
6398
+ #endif
6399
+ #include "magick/api.h"
6400
+
6401
+ int
6402
+ main ()
6403
+ {
6404
+ static Image ac_aggr;
6405
+ if (ac_aggr.quality)
6406
+ return 0;
6407
+ ;
6408
+ return 0;
6409
+ }
6410
+ _ACEOF
6411
+ rm -f conftest.$ac_objext
6412
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6413
+ (eval $ac_compile) 2>conftest.er1
6414
+ ac_status=$?
6415
+ grep -v '^ *+' conftest.er1 >conftest.err
6416
+ rm -f conftest.er1
6417
+ cat conftest.err >&5
6418
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6419
+ (exit $ac_status); } &&
6420
+ { ac_try='test -z "$ac_c_werror_flag"
6421
+ || test ! -s conftest.err'
6422
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6423
+ (eval $ac_try) 2>&5
6424
+ ac_status=$?
6425
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6426
+ (exit $ac_status); }; } &&
6427
+ { ac_try='test -s conftest.$ac_objext'
6428
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6429
+ (eval $ac_try) 2>&5
6430
+ ac_status=$?
6431
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6432
+ (exit $ac_status); }; }; then
6433
+ ac_cv_member_Image_quality=yes
6434
+ else
6435
+ echo "$as_me: failed program was:" >&5
6436
+ sed 's/^/| /' conftest.$ac_ext >&5
6437
+
6438
+ cat >conftest.$ac_ext <<_ACEOF
6439
+ /* confdefs.h. */
6440
+ _ACEOF
6441
+ cat confdefs.h >>conftest.$ac_ext
6442
+ cat >>conftest.$ac_ext <<_ACEOF
6443
+ /* end confdefs.h. */
6444
+ #include <stdio.h>
6445
+ #if HAVE_SYS_TYPES_H
6446
+ #include <sys/types.h>
6447
+ #endif
6448
+ #include "magick/api.h"
6449
+
6450
+ int
6451
+ main ()
6452
+ {
6453
+ static Image ac_aggr;
6454
+ if (sizeof ac_aggr.quality)
6455
+ return 0;
6456
+ ;
6457
+ return 0;
6458
+ }
6459
+ _ACEOF
6460
+ rm -f conftest.$ac_objext
6461
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6462
+ (eval $ac_compile) 2>conftest.er1
6463
+ ac_status=$?
6464
+ grep -v '^ *+' conftest.er1 >conftest.err
6465
+ rm -f conftest.er1
6466
+ cat conftest.err >&5
6467
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6468
+ (exit $ac_status); } &&
6469
+ { ac_try='test -z "$ac_c_werror_flag"
6470
+ || test ! -s conftest.err'
6471
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6472
+ (eval $ac_try) 2>&5
6473
+ ac_status=$?
6474
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6475
+ (exit $ac_status); }; } &&
6476
+ { ac_try='test -s conftest.$ac_objext'
6477
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6478
+ (eval $ac_try) 2>&5
6479
+ ac_status=$?
6480
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6481
+ (exit $ac_status); }; }; then
6482
+ ac_cv_member_Image_quality=yes
6483
+ else
6484
+ echo "$as_me: failed program was:" >&5
6485
+ sed 's/^/| /' conftest.$ac_ext >&5
6486
+
6487
+ ac_cv_member_Image_quality=no
6488
+ fi
6489
+ rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6490
+ fi
6491
+ rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6492
+ fi
6493
+ echo "$as_me:$LINENO: result: $ac_cv_member_Image_quality" >&5
6494
+ echo "${ECHO_T}$ac_cv_member_Image_quality" >&6
6495
+ if test $ac_cv_member_Image_quality = yes; then
6496
+
6497
+ cat >>confdefs.h <<_ACEOF
6498
+ #define HAVE_IMAGE_QUALITY 1
6499
+ _ACEOF
6500
+
6501
+
6502
+ fi
6503
+
6504
+
6384
6505
  # Don't use AC_CHECK_MEMBERS!
6385
6506
  echo "$as_me:$LINENO: checking for Image.extract_info" >&5
6386
6507
  echo $ECHO_N "checking for Image.extract_info... $ECHO_C" >&6
@@ -7914,7 +8035,7 @@ _ASBOX
7914
8035
  } >&5
7915
8036
  cat >&5 <<_CSEOF
7916
8037
 
7917
- This file was extended by RMagick $as_me x.y.z, which was
8038
+ This file was extended by RMagick $as_me 1.7.3, which was
7918
8039
  generated by GNU Autoconf 2.59. Invocation command line was
7919
8040
 
7920
8041
  CONFIG_FILES = $CONFIG_FILES
@@ -7974,7 +8095,7 @@ _ACEOF
7974
8095
 
7975
8096
  cat >>$CONFIG_STATUS <<_ACEOF
7976
8097
  ac_cs_version="\\
7977
- RMagick config.status x.y.z
8098
+ RMagick config.status 1.7.3
7978
8099
  configured by $0, generated by GNU Autoconf 2.59,
7979
8100
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7980
8101
 
data/configure.ac CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
2
  # RMagick configure.ac
3
3
 
4
- AC_INIT(RMagick, x.y.z, rmagick@rubyforge.org, RMagick-x.y.z.tar.gz)
4
+ AC_INIT(RMagick, 1.7.3, rmagick@rubyforge.org, RMagick-1.7.3.tar.gz)
5
5
  echo "Configuring ${PACKAGE_STRING}"
6
6
 
7
7
  AC_CONFIG_HEADER([ext/RMagick/rmagick_config.h])
@@ -166,6 +166,13 @@ AC_CHECK_MEMBERS([Image.orientation],,,
166
166
  #endif
167
167
  #include "magick/api.h"])
168
168
 
169
+ AC_CHECK_MEMBERS([Image.quality],,,
170
+ [#include <stdio.h>
171
+ #if HAVE_SYS_TYPES_H
172
+ #include <sys/types.h>
173
+ #endif
174
+ #include "magick/api.h"])
175
+
169
176
  # Don't use AC_CHECK_MEMBERS!
170
177
  AC_CACHE_CHECK(for Image.extract_info, rm_cv_member_Image_extract_info,
171
178
  AC_TRY_COMPILE([
data/ext/RMagick/MANIFEST CHANGED
@@ -1,4 +1,4 @@
1
- MANIFEST for RMagick-1.7.2 - 10:33:42 02/23/05
1
+ MANIFEST for RMagick-1.7.3 - 11:03:54 02/27/05
2
2
 
3
3
  configure
4
4
  lib/RMagick.rb
@@ -100,6 +100,8 @@
100
100
  #undef HAVE_INDEXCHANNEL
101
101
  /* Introduced in IM 5.5.6 */
102
102
  #undef HAVE_IMAGE_EXTRACT_INFO
103
+ /* Introduced in IM 6.1.0 */
104
+ #undef HAVE_IMAGE_QUALITY
103
105
  /* Introduced in IM 6.0.0 */
104
106
  #undef HAVE_IMAGE_ORIENTATION
105
107
  /* Introduced in IM 5.5.6 */
@@ -1,4 +1,4 @@
1
- /* $Id: rmimage.c,v 1.89.2.1 2005/01/11 23:00:56 rmagick Exp $ */
1
+ /* $Id: rmimage.c,v 1.89.2.2 2005/02/27 15:42:09 rmagick Exp $ */
2
2
  /*============================================================================\
3
3
  | Copyright (C) 2004 by Timothy P. Hunter
4
4
  | Name: rmimage.c
@@ -5625,7 +5625,9 @@ Image_radial_blur(VALUE self, VALUE angle)
5625
5625
  }
5626
5626
 
5627
5627
 
5628
+ #if defined(HAVE_IMAGE_QUALITY)
5628
5629
  DEF_ATTR_READER(Image, quality, ulong)
5630
+ #endif
5629
5631
 
5630
5632
 
5631
5633
  /*
data/ext/RMagick/rmmain.c CHANGED
@@ -1,4 +1,4 @@
1
- /* $Id: rmmain.c,v 1.74.2.2 2005/02/23 15:09:50 rmagick Exp $ */
1
+ /* $Id: rmmain.c,v 1.74.2.3 2005/02/27 15:42:09 rmagick Exp $ */
2
2
  /*============================================================================\
3
3
  | Copyright (C) 2004 by Timothy P. Hunter
4
4
  | Name: rmmain.c
@@ -602,7 +602,9 @@ Init_RMagick(void)
602
602
  DCL_ATTR_WRITER(Image, opacity)
603
603
  DCL_ATTR_READER(Image, orientation)
604
604
  DCL_ATTR_ACCESSOR(Image, page)
605
+ #if defined(HAVE_IMAGE_QUALITY)
605
606
  DCL_ATTR_READER(Image, quality)
607
+ #endif
606
608
  DCL_ATTR_READER(Image, quantum_depth)
607
609
  DCL_ATTR_ACCESSOR(Image, rendering_intent)
608
610
  DCL_ATTR_READER(Image, rows)
@@ -1503,7 +1505,7 @@ static void version_constants(void)
1503
1505
 
1504
1506
  rb_define_const(Module_Magick, "Version", rb_str_new2(PACKAGE_STRING));
1505
1507
  sprintf(long_version,
1506
- "This is %s ($Date: 2005/02/23 15:09:50 $) Copyright (C) 2004 by Timothy P. Hunter\n"
1508
+ "This is %s ($Date: 2005/02/27 15:42:09 $) Copyright (C) 2004 by Timothy P. Hunter\n"
1507
1509
  "Built with %s\n"
1508
1510
  "Built for %s\n"
1509
1511
  "Web page: http://rmagick.rubyforge.org\n"
data/rmagick.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'date'
2
2
  Gem::Specification.new do |s|
3
3
  s.name = %q{rmagick}
4
- s.version = "1.7.2"
4
+ s.version = "1.7.3"
5
5
  s.date = Date.today.to_s
6
6
  s.summary = %q{RMagick is an interface between the Ruby programming language and the ImageMagick and GraphicsMagick image processing libraries.}
7
7
  s.description =<<DESCRIPTION
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.3
3
3
  specification_version: 1
4
4
  name: rmagick
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.7.2
7
- date: 2005-02-23
6
+ version: 1.7.3
7
+ date: 2005-02-27
8
8
  summary: RMagick is an interface between the Ruby programming language and the ImageMagick and GraphicsMagick image processing libraries.
9
9
  require_paths:
10
10
  - lib