pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/ruby-rcairo Update ruby-cairo to version 1.5....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/752bc9f9a2af
branches:  trunk
changeset: 540496:752bc9f9a2af
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri Apr 04 15:19:26 2008 +0000

description:
Update ruby-cairo to version 1.5.1.  Changes from version 1.5.0 include:

+ Install as a Ruby gem.

* Support Quartz surface.
* Fix a wrong type conversion bug.
* Fix a memory leak bug.
* Support ruby 1.9.0.
* Fix typos.
* Rename Cairo::WIN32Surface to Cairo::Win32Surface
  * Cairo::WIN32Surface is still available for backward compatibility but
    don't use in newly written code.

diffstat:

 graphics/ruby-rcairo/Makefile |  19 ++++-----
 graphics/ruby-rcairo/PLIST    |  83 ++++++++++++++++++++++++++++++++++--------
 graphics/ruby-rcairo/distinfo |   8 ++--
 3 files changed, 79 insertions(+), 31 deletions(-)

diffs (135 lines):

diff -r 756415d5bde9 -r 752bc9f9a2af graphics/ruby-rcairo/Makefile
--- a/graphics/ruby-rcairo/Makefile     Fri Apr 04 15:19:23 2008 +0000
+++ b/graphics/ruby-rcairo/Makefile     Fri Apr 04 15:19:26 2008 +0000
@@ -1,22 +1,21 @@
-# $NetBSD: Makefile,v 1.4 2007/05/27 04:10:52 obache Exp $
+# $NetBSD: Makefile,v 1.5 2008/04/04 15:19:26 jlam Exp $
 #
 
-DISTNAME=              rcairo-1.5.0
-PKGNAME=               ${RUBY_PKGPREFIX}-${DISTNAME}
+DISTNAME=              cairo-1.5.1
+PKGNAME=               ${RUBY_PKGPREFIX}-r${DISTNAME}
 CATEGORIES=            graphics
-MASTER_SITES=          http://cairographics.org/releases/
 
 MAINTAINER=            dieter.NetBSD%pandora.be@localhost
 HOMEPAGE=              http://cairographics.org/rcairo/
 COMMENT=               Ruby bindings for cairo
 
+USE_TOOLS+=            pkg-config
+GEM_BUILD=             gemspec
+GEM_CLEANBUILD=                Makefile src/*.o src/cairo.${RUBY_DLEXT} mkmf.log
+
+.include "../../misc/rubygems/rubygem.mk"
+
 BUILDLINK_API_DEPENDS.cairo+=  cairo>=1.2.0
 
-USE_TOOLS+=            pkg-config
-
-RUBY_HAS_ARCHLIB=      YES
-USE_RUBY_EXTCONF=      YES
-
-.include "../../lang/ruby/modules.mk"
 .include "../../graphics/cairo/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 756415d5bde9 -r 752bc9f9a2af graphics/ruby-rcairo/PLIST
--- a/graphics/ruby-rcairo/PLIST        Fri Apr 04 15:19:23 2008 +0000
+++ b/graphics/ruby-rcairo/PLIST        Fri Apr 04 15:19:26 2008 +0000
@@ -1,17 +1,66 @@
-@comment $NetBSD: PLIST,v 1.4 2007/05/27 04:10:52 obache Exp $
-${RUBY_SITEARCHLIBDIR}/cairo.${RUBY_DLEXT}
-${RUBY_SITEARCHLIBDIR}/rb_cairo.h
-${RUBY_SITELIBDIR}/cairo.rb
-${RUBY_SITELIBDIR}/cairo/color.rb
-${RUBY_SITELIBDIR}/cairo/colors.rb
-${RUBY_SITELIBDIR}/cairo/constants.rb
-${RUBY_SITELIBDIR}/cairo/context.rb
-${RUBY_SITELIBDIR}/cairo/context/blur.rb
-${RUBY_SITELIBDIR}/cairo/context/circle.rb
-${RUBY_SITELIBDIR}/cairo/context/color.rb
-${RUBY_SITELIBDIR}/cairo/context/path.rb
-${RUBY_SITELIBDIR}/cairo/context/rectangle.rb
-${RUBY_SITELIBDIR}/cairo/path.rb
-${RUBY_SITELIBDIR}/cairo/point.rb
-@dirrm ${RUBY_SITELIBDIR}/cairo/context
-@dirrm ${RUBY_SITELIBDIR}/cairo
+@comment $NetBSD: PLIST,v 1.5 2008/04/04 15:19:26 jlam Exp $
+${GEM_HOME}/cache/cairo-${PKGVERSION}.gem
+${GEM_LIBDIR}/.require_paths
+${GEM_LIBDIR}/AUTHORS
+${GEM_LIBDIR}/COPYING
+${GEM_LIBDIR}/ChangeLog
+${GEM_LIBDIR}/GPL
+${GEM_LIBDIR}/NEWS
+${GEM_LIBDIR}/README
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/extconf.rb
+${GEM_LIBDIR}/misc/update-colors.rb
+${GEM_LIBDIR}/pkg-config.rb
+${GEM_LIBDIR}/samples/.#blur.rb.1.1
+${GEM_LIBDIR}/samples/agg/README
+${GEM_LIBDIR}/samples/agg/aa_demo.rb
+${GEM_LIBDIR}/samples/agg/aa_test.rb
+${GEM_LIBDIR}/samples/blur.rb
+${GEM_LIBDIR}/samples/pac.rb
+${GEM_LIBDIR}/samples/pac2.rb
+${GEM_LIBDIR}/samples/png.rb
+${GEM_LIBDIR}/samples/scalable.rb
+${GEM_LIBDIR}/samples/text-on-path.rb
+${GEM_LIBDIR}/samples/text2.rb
+${GEM_LIBDIR}/src/cairo.def
+${GEM_LIBDIR}/src/lib/cairo.rb
+${GEM_LIBDIR}/src/lib/cairo.${RUBY_DLEXT}
+${GEM_LIBDIR}/src/lib/cairo/color.rb
+${GEM_LIBDIR}/src/lib/cairo/colors.rb
+${GEM_LIBDIR}/src/lib/cairo/constants.rb
+${GEM_LIBDIR}/src/lib/cairo/context.rb
+${GEM_LIBDIR}/src/lib/cairo/context/blur.rb
+${GEM_LIBDIR}/src/lib/cairo/context/circle.rb
+${GEM_LIBDIR}/src/lib/cairo/context/color.rb
+${GEM_LIBDIR}/src/lib/cairo/context/path.rb
+${GEM_LIBDIR}/src/lib/cairo/context/rectangle.rb
+${GEM_LIBDIR}/src/lib/cairo/context/triangle.rb
+${GEM_LIBDIR}/src/lib/cairo/path.rb
+${GEM_LIBDIR}/src/lib/cairo/point.rb
+${GEM_LIBDIR}/src/rb_cairo.c
+${GEM_LIBDIR}/src/rb_cairo.h
+${GEM_LIBDIR}/src/rb_cairo_constants.c
+${GEM_LIBDIR}/src/rb_cairo_context.c
+${GEM_LIBDIR}/src/rb_cairo_exception.c
+${GEM_LIBDIR}/src/rb_cairo_font_extents.c
+${GEM_LIBDIR}/src/rb_cairo_font_face.c
+${GEM_LIBDIR}/src/rb_cairo_font_options.c
+${GEM_LIBDIR}/src/rb_cairo_glyph.c
+${GEM_LIBDIR}/src/rb_cairo_matrix.c
+${GEM_LIBDIR}/src/rb_cairo_path.c
+${GEM_LIBDIR}/src/rb_cairo_pattern.c
+${GEM_LIBDIR}/src/rb_cairo_private.c
+${GEM_LIBDIR}/src/rb_cairo_private.h
+${GEM_LIBDIR}/src/rb_cairo_scaled_font.c
+${GEM_LIBDIR}/src/rb_cairo_surface.c
+${GEM_LIBDIR}/src/rb_cairo_text_extents.c
+${GEM_HOME}/specifications/cairo-${PKGVERSION}.gemspec
+@dirrm ${GEM_LIBDIR}/src/lib/cairo/context
+@dirrm ${GEM_LIBDIR}/src/lib/cairo
+@dirrm ${GEM_LIBDIR}/src/lib
+@dirrm ${GEM_LIBDIR}/src
+@dirrm ${GEM_LIBDIR}/samples/agg
+@dirrm ${GEM_LIBDIR}/samples
+@dirrm ${GEM_LIBDIR}/misc
+@dirrm ${GEM_LIBDIR}
+@exec ${MKDIR} %D/${GEM_DOCDIR}
diff -r 756415d5bde9 -r 752bc9f9a2af graphics/ruby-rcairo/distinfo
--- a/graphics/ruby-rcairo/distinfo     Fri Apr 04 15:19:23 2008 +0000
+++ b/graphics/ruby-rcairo/distinfo     Fri Apr 04 15:19:26 2008 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2007/05/27 04:10:52 obache Exp $
+$NetBSD: distinfo,v 1.4 2008/04/04 15:19:26 jlam Exp $
 
-SHA1 (rcairo-1.5.0.tar.gz) = b71c94fa1598b5b32242c15033f1ce508b0fc0e5
-RMD160 (rcairo-1.5.0.tar.gz) = e309a494d6e0b2c0206a397b253abde146ab53dc
-Size (rcairo-1.5.0.tar.gz) = 63386 bytes
+SHA1 (cairo-1.5.1.gem) = c1e9d678842bea0496a2514c1fadb75aa99c6b7b
+RMD160 (cairo-1.5.1.gem) = 4a42434d8a0d0643dbe7ce5538dc6c71a9cfb616
+Size (cairo-1.5.1.gem) = 69632 bytes



Home | Main Index | Thread Index | Old Index