Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/libs/rubymods
In directory vz-cvs-3.sog:/tmp/cvs-serv16095/stable/main/finkinfo/libs/rubymods

Added Files:
        gd-rb.info gd-rb.patch 
Log Message:
sync gd-rbXX (with dep cleanups) to stable


--- NEW FILE: gd-rb.patch ---
diff -Nurd -x'*~' ruby-GD-0.7.4.orig/extconf.rb ruby-GD-0.7.4/extconf.rb
--- ruby-GD-0.7.4.orig/extconf.rb       2003-01-30 23:59:50.000000000 -0500
+++ ruby-GD-0.7.4/extconf.rb    2011-10-24 06:04:02.000000000 -0400
@@ -34,9 +34,9 @@
   have_library('jpeg')
 end
 
-if with_config('ttf')
-  have_library('ttf')
-end
+#if with_config('ttf')
+#  have_library('ttf')
+#end
 
 if with_config('xpm')
   have_library('X11')

--- NEW FILE: gd-rb.info ---
Info2: <<

Package: gd-rb%type_pkg[ruby]
Version: 0.7.4
Revision: 2
Type: ruby (1.8)
Description: GD library interface for Ruby
License: OSI-Approved
Maintainer: TAKAO Kouji <ko...@takao7.net>

# Dependencies.
BuildDepends: freetype219 (>= 2.4.6-1), gd2 (>= 2.0.35-1), libjpeg8, libpng15, 
ruby%type_pkg[ruby]-dev, x11-dev
Depends: freetype219-shlibs (>= 2.4.6-1), gd2-shlibs (>= 2.0.35-1), 
libjpeg8-shlibs, libpng15-shlibs, ruby%type_pkg[ruby], x11

# Unpack Phase.
Source: http://raa.ruby-lang.org/cache/ruby-gd/ruby-GD-%v-1.tar.gz
Source-MD5: 57d4da0a98ee47445e5fa1aa7252640a
SourceDirectory: ruby-GD-%v

# Compile Phase.
PatchFile: %{ni}.patch
PatchFile-MD5: 4e7ebc96a6f318225b69dbb88d3c0e34
CompileScript: <<
  #!/bin/sh -ex
  %p/bin/ruby%type_raw[ruby] extconf.rb \
      --with-xpm \
      --with-freetype \
      --with-ttf \
      --with-jpeg \
      --enable-gd2_0
  make
<<

# Test Suites.
InfoTest: <<
  TestScript: %p/bin/ruby%type_raw[ruby] sample/example.rb > /dev/null
<<

# Install Phase.
InstallScript: <<
  #!/bin/sh -ex
  make install DESTDIR=%d
<<
DocFiles: Changes TODO readme.en readme.ja doc sample

DescDetail: <<
Extension library to use GD graphics library from Ruby
1.8 Ruby extension library for using Thomas Boutell's GD library.
The GD library is a popular library for creating and manipulating
image files.
<<
Homepage: http://raa.ruby-lang.org/project/ruby-gd
DescPackaging: <<
The Debian libgd-ruby1.8 package was used as a source for this package.

Direct access to libttf is not required in order to have ttf support via
libgd. Fink's libgd has it (probably by some other mechanism) even though
libttf is freetype1 (years abandoned vs freetype2 that libgd uses), so don't
accidentally find and link that old lib.
<<

<<


------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to