diff options
author | tron <tron> | 2011-03-05 10:44:57 +0000 |
---|---|---|
committer | tron <tron> | 2011-03-05 10:44:57 +0000 |
commit | a147a5cdc53d646f04ec889e72bdd1f19ae80b68 (patch) | |
tree | b01b183d9266f76369113ff15847aaed1966215c | |
parent | f791765d6a1e6f51395b83a48ad0af3c697a0cf3 (diff) | |
download | pkgsrc-a147a5cdc53d646f04ec889e72bdd1f19ae80b68.tar.gz |
Pullup ticket #3373 - requested by taca
graphics/ruby-imlib2: build fix
Revisions pulled up:
- graphics/ruby-imlib2/Makefile 1.25
- graphics/ruby-imlib2/distinfo 1.7
- graphics/ruby-imlib2/files/gemspec 1.1
- graphics/ruby-imlib2/patches/patch-aa 0
---
Module Name: pkgsrc
Committed By: taca
Date: Mon Feb 28 15:46:08 UTC 2011
Modified Files:
pkgsrc/graphics/ruby-imlib2: Makefile distinfo
Added Files:
pkgsrc/graphics/ruby-imlib2/files: gemspec
Removed Files:
pkgsrc/graphics/ruby-imlib2/patches: patch-aa
Log Message:
Fix build problem with ruby18.
Give up to patch gemspec but use pre-generated one.
-rw-r--r-- | graphics/ruby-imlib2/Makefile | 6 | ||||
-rw-r--r-- | graphics/ruby-imlib2/distinfo | 3 | ||||
-rw-r--r-- | graphics/ruby-imlib2/files/gemspec | 80 | ||||
-rw-r--r-- | graphics/ruby-imlib2/patches/patch-aa | 13 |
4 files changed, 86 insertions, 16 deletions
diff --git a/graphics/ruby-imlib2/Makefile b/graphics/ruby-imlib2/Makefile index b45f0b75d40..56e06d2bb37 100644 --- a/graphics/ruby-imlib2/Makefile +++ b/graphics/ruby-imlib2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21.4.1 2011/02/27 00:26:22 tron Exp $ +# $NetBSD: Makefile,v 1.21.4.2 2011/03/05 10:44:57 tron Exp $ DISTNAME= imlib2-ruby-0.5.2 PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/ruby-//} @@ -22,5 +22,9 @@ pre-configure: BUILDLINK_API_DEPENDS.imlib2+= imlib2>=1.2.0nb2 +# use pre-generated gemspec file to avoid rubygems's incompatibility. +post-extract: + ${CP} ${FILESDIR}/gemspec ${WRKDIR}/${DISTNAME}.gemspec + .include "../../graphics/imlib2/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/graphics/ruby-imlib2/distinfo b/graphics/ruby-imlib2/distinfo index 861f9fb518e..a6dc59fdae6 100644 --- a/graphics/ruby-imlib2/distinfo +++ b/graphics/ruby-imlib2/distinfo @@ -1,7 +1,6 @@ -$NetBSD: distinfo,v 1.6 2010/09/10 06:49:22 taca Exp $ +$NetBSD: distinfo,v 1.6.4.1 2011/03/05 10:44:57 tron Exp $ SHA1 (imlib2-ruby-0.5.2.gem) = 2d723441dae7630f7bec8c55486333a8efb2dbf1 RMD160 (imlib2-ruby-0.5.2.gem) = ebc3cdbcbefd90d38c6723dc620ed82fa4abff8b Size (imlib2-ruby-0.5.2.gem) = 119296 bytes -SHA1 (patch-aa) = 7922179aad42bfaf340a85ef7611422696dfdab3 SHA1 (patch-ab) = 04f72f6b839756c00b65feddc8bbec6ac6703642 diff --git a/graphics/ruby-imlib2/files/gemspec b/graphics/ruby-imlib2/files/gemspec new file mode 100644 index 00000000000..c7e18d73670 --- /dev/null +++ b/graphics/ruby-imlib2/files/gemspec @@ -0,0 +1,80 @@ +--- !ruby/object:Gem::Specification +name: imlib2-ruby +version: !ruby/object:Gem::Version + version: 0.5.2 +platform: ruby +authors: +- Paul Duncan +autorequire: imlib2 +bindir: bin +cert_chain: +date: 2005-06-11 +default_executable: +dependencies: [] + +description: Imlib2 bindings for Ruby. +email: pabs@pablotron.org +executables: [] + +extensions: +- extconf.rb +extra_rdoc_files: [] + +files: +- ChangeLog +- AUTHORS +- COPYING +- examples +- MANIFEST +- README +- TODO +- depend +- extconf.rb +- imlib2.c +- imlib2.gemspec +- examples/fonts +- examples/checkerboard.rb +- examples/oo-board.rb +- examples/test_attach.rb +- examples/test_font.rb +- examples/test_imlib2.rb +- examples/test_poly.rb +- examples/images +- examples/fonts/yudit.ttf +- examples/images/bill_gates.jpg +- examples/images/clown.jpg +has_rdoc: true +homepage: http://www.pablotron.org/software/imlib2-ruby/ +licenses: +post_install_message: +rdoc_options: +- --title +- Imlib2-Ruby API Documentation +- --webcvs +- http://cvs.pablotron.org/cgi-bin/viewcvs.cgi/imlib2-ruby/ +- imlib2.c +- README +- ChangeLog +- AUTHORS +- COPYING +- TODO +require_paths: +- lib +required_ruby_version: !ruby/object:Gem::Requirement + requirements: + - - ">" + - !ruby/object:Gem::Version + version: 0.0.0 + version: +required_rubygems_version: +requirements: +- Imlib2, version 1.2.0 (or newer) +- Ruby, version 1.8.2 (or newer) +rubyforge_project: imlib2-ruby +rubygems_version: 1.3.7 +signing_key: +specification_version: 1 +summary: Imlib2 bindings for Ruby. +test_files: [] + + diff --git a/graphics/ruby-imlib2/patches/patch-aa b/graphics/ruby-imlib2/patches/patch-aa deleted file mode 100644 index 5940114000b..00000000000 --- a/graphics/ruby-imlib2/patches/patch-aa +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-aa,v 1.1 2010/09/10 06:49:22 taca Exp $ - -Fix gem's name to lower case. - ---- ../imlib2-ruby-0.5.2.gemspec.orig 2010-09-09 02:53:49.000000000 +0000 -+++ ../imlib2-ruby-0.5.2.gemspec -@@ -1,5 +1,5 @@ - --- !ruby/object:Gem::Specification --name: Imlib2-Ruby -+name: imlib2-ruby - version: !ruby/object:Gem::Version - version: 0.5.2 - platform: ruby |