ruby: Add from OE-Classic and update to 1.9.3-p194
cover ruby: Add from OE-Classic and update to 1.9.3-p194
From: Jackie Huang <[email protected]>
* I sent this months ago but was told that oe-core is not the right place, however, we think it makes sense to add ruby to complete the scripting language set of: python, perl, ruby, so I re-send it.
* Test info
1) IMAGE_INSTALL_append += "ruby"
2) $ bitbake core-image-sato
3) $ runqemu
4) simple runtime tests:
root@qemuppc:~# ruby -v ruby 1.9.3p194 (2012-04-20 revision 35410) [powerpc-linux]
root@qemuppc:~# ruby -e 'puts "Hello World"' Hello World
root@qemuppc:~# gem -v 1.8.23
root@qemuppc:~# wget http://rubygems.org/downloads/term-ansicolor-1.0.7.gem Connecting to rubygems.org (204.232.149.25:80) Connecting to rubygems.org (204.232.149.25:80) Connecting to production.cf.rubygems.org (54.240.160.224:80) term-ansicolor-1.0.7 100% |*******************************| 16896 0:00:00 ETA root@qemuppc:~# ls term-ansicolor-1.0.7.gem root@qemuppc:~# gem install term-ansicolor-1.0.7.gem Successfully installed term-ansicolor-1.0.7 1 gem installed Installing ri documentation for term-ansicolor-1.0.7... Installing RDoc documentation for term-ansicolor-1.0.7... root@qemuppc:~# gem list
*** LOCAL GEMS ***
bigdecimal (1.1.0)
io-console (0.3)
json (1.5.4)
minitest (2.5.1)
rake (0.9.2.2)
rdoc (3.9.4)
term-ansicolor (1.0.7)
The following changes since commit bcefd015fb163d9c382ae05a86569dbcfd3d736a:
oe-buildenv-internal: Add BB_NO_NETWORK to BB_ENV_EXTRAWHITE (2012-10-07 13:13:52 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib jhuang0/r_ruby_20121008_2
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jhuang0/r_ruby_20121008_2
Jackie Huang (4):
libyaml: Add recipe from meta-oe
libyaml: update to 0.1.4
ruby: Add from OE-Classic
ruby: update to 1.9.3-194
meta/recipes-devtools/ruby/ruby.inc | 37 +++ ...onf-hardcode-wide-getaddr-info-test-outco.patch | 26 ++ meta/recipes-devtools/ruby/ruby/extmk.patch | 13 + meta/recipes-devtools/ruby/ruby/extmk_run.patch | 15 + .../ruby/ruby/ruby-1.9.3-always-use-i386.patch | 11 + .../ruby/ruby/ruby-1.9.3-bignum-test-fix.patch | 31 ++ .../ruby/ruby-1.9.3-custom-rubygems-location.patch | 86 ++++++ .../ruby/ruby-1.9.3-disable-versioned-paths.patch | 149 ++++++++++ .../ruby/ruby/ruby-1.9.3-fix-s390x-build.patch | 12 + .../ruby/ruby/ruby-1.9.3-install-cross.patch | 16 + .../ruby/ruby/ruby-1.9.3-mkmf-verbose.patch | 11 + .../ruby-1.9.3-rubygems-1.8.11-uninstaller.patch | 76 +++++ .../ruby/ruby/ruby-1.9.3-webrick-test-fix.patch | 24 ++ .../ruby/rubygems-1.8.11-binary-extensions.patch | 296 ++++++++++++++++++++ meta/recipes-devtools/ruby/ruby_1.9.3-p194.bb | 57 ++++ meta/recipes-support/libyaml/libyaml_0.1.4.bb | 17 ++ 16 files changed, 877 insertions(+), 0 deletions(-) create mode 100644 meta/recipes-devtools/ruby/ruby.inc create mode 100644 meta/recipes-devtools/ruby/ruby/0001-socket-extconf-hardcode-wide-getaddr-info-test-outco.patch create mode 100644 meta/recipes-devtools/ruby/ruby/extmk.patch create mode 100644 meta/recipes-devtools/ruby/ruby/extmk_run.patch create mode 100644 meta/recipes-devtools/ruby/ruby/ruby-1.9.3-always-use-i386.patch create mode 100644 meta/recipes-devtools/ruby/ruby/ruby-1.9.3-bignum-test-fix.patch create mode 100644 meta/recipes-devtools/ruby/ruby/ruby-1.9.3-custom-rubygems-location.patch create mode 100644 meta/recipes-devtools/ruby/ruby/ruby-1.9.3-disable-versioned-paths.patch create mode 100644 meta/recipes-devtools/ruby/ruby/ruby-1.9.3-fix-s390x-build.patch create mode 100644 meta/recipes-devtools/ruby/ruby/ruby-1.9.3-install-cross.patch create mode 100644 meta/recipes-devtools/ruby/ruby/ruby-1.9.3-mkmf-verbose.patch create mode 100644 meta/recipes-devtools/ruby/ruby/ruby-1.9.3-rubygems-1.8.11-uninstaller.patch create mode 100644 meta/recipes-devtools/ruby/ruby/ruby-1.9.3-webrick-test-fix.patch create mode 100644 meta/recipes-devtools/ruby/ruby/rubygems-1.8.11-binary-extensions.patch create mode 100644 meta/recipes-devtools/ruby/ruby_1.9.3-p194.bb create mode 100644 meta/recipes-support/libyaml/libyaml_0.1.4.bb
Signature · 1 line
1.7.4
PATCH 1/4 libyaml: Add recipe from meta-oe
From: Jackie Huang <[email protected]>
ruby 1.9.3 depends on libyaml and no modifications in this commit.
--- meta/recipes-support/libyaml/libyaml_0.1.3.bb | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) create mode 100644 meta/recipes-support/libyaml/libyaml_0.1.3.bb
meta/recipes-support/libyaml/libyaml_0.1.3.bb new file +14 -0
@@ -0,0 +1,14 @@ +DESCRIPTION = "LibYAML is a YAML parser and emitter written in C." +HOMEPAGE = "http://pyyaml.org/wiki/LibYAML" +SECTION = "libs/devel" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=6015f088759b10e0bc2bf64898d4ae17" +PR="r0" + +SRC_URI = "http://pyyaml.org/download/libyaml/yaml-${PV}.tar.gz;name=libyaml" +SRC_URI[libyaml.md5sum] = "b8ab9064e8e0330423fe640de76608cd" +SRC_URI[libyaml.sha256sum] = "a8bbad7e5250b3735126b7e3bd9f6fce9db19d6be7cc13abad17a24b59ec144a" + +S = "${WORKDIR}/yaml-${PV}" + +inherit autotools
Signature · 1 line
1.7.4
PATCH 2/4 libyaml: update to 0.1.4
In reply to [email protected]From: Jackie Huang <[email protected]>
--- meta/recipes-support/libyaml/libyaml_0.1.3.bb | 14 -------------- meta/recipes-support/libyaml/libyaml_0.1.4.bb | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 14 deletions(-) delete mode 100644 meta/recipes-support/libyaml/libyaml_0.1.3.bb create mode 100644 meta/recipes-support/libyaml/libyaml_0.1.4.bb
meta/recipes-support/libyaml/libyaml_0.1.3.bb deleted +0 -14
@@ -1,14 +0,0 @@ -DESCRIPTION = "LibYAML is a YAML parser and emitter written in C." -HOMEPAGE = "http://pyyaml.org/wiki/LibYAML" -SECTION = "libs/devel" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=6015f088759b10e0bc2bf64898d4ae17" -PR="r0" - -SRC_URI = "http://pyyaml.org/download/libyaml/yaml-${PV}.tar.gz;name=libyaml" -SRC_URI[libyaml.md5sum] = "b8ab9064e8e0330423fe640de76608cd" -SRC_URI[libyaml.sha256sum] = "a8bbad7e5250b3735126b7e3bd9f6fce9db19d6be7cc13abad17a24b59ec144a" - -S = "${WORKDIR}/yaml-${PV}" - -inherit autotools
meta/recipes-support/libyaml/libyaml_0.1.4.bb new file +17 -0
@@ -0,0 +1,17 @@ +SUMMARY = "LibYAML is a YAML 1.1 parser and emitter written in C." +DESCRIPTION = "LibYAML is a C library for parsing and emitting data in YAML 1.1, \ +a human-readable data serialization format. " +HOMEPAGE = "http://pyyaml.org/wiki/LibYAML" +SECTION = "libs/devel" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=6015f088759b10e0bc2bf64898d4ae17" + +SRC_URI = "http://pyyaml.org/download/libyaml/yaml-${PV}.tar.gz" + +SRC_URI[md5sum] = "36c852831d02cf90508c29852361d01b" +SRC_URI[sha256sum] = "7bf81554ae5ab2d9b6977da398ea789722e0db75b86bffdaeb4e66d961de6a37" + +S = "${WORKDIR}/yaml-${PV}" + +inherit autotools
Signature · 1 line
1.7.4
PATCH 3/4 ruby: Add from OE-Classic
In reply to [email protected]From: Jackie Huang <[email protected]>
No modifications in this commit
--- meta/recipes-devtools/ruby/ruby.inc | 34 ++++++++++++++++++++ ...onf-hardcode-wide-getaddr-info-test-outco.patch | 31 ++++++++++++++++++ meta/recipes-devtools/ruby/ruby/extmk.patch | 13 +++++++ meta/recipes-devtools/ruby/ruby/extmk_run.patch | 15 +++++++++ meta/recipes-devtools/ruby/ruby_1.8.7-p302.bb | 12 +++++++ 5 files changed, 105 insertions(+), 0 deletions(-) create mode 100644 meta/recipes-devtools/ruby/ruby.inc create mode 100644 meta/recipes-devtools/ruby/ruby/0001-socket-extconf-hardcode-wide-getaddr-info-test-outco.patch create mode 100644 meta/recipes-devtools/ruby/ruby/extmk.patch create mode 100644 meta/recipes-devtools/ruby/ruby/extmk_run.patch create mode 100644 meta/recipes-devtools/ruby/ruby_1.8.7-p302.bb
meta/recipes-devtools/ruby/ruby.inc new file +34 -0
@@ -0,0 +1,34 @@ +DESCRIPTION = "Ruby is an interpreted scripting language \ +for quick and easy object-oriented programming." +SECTION = "devel/ruby" +PRIORITY = "optional" +LICENSE = "GPL" +DEPENDS = "ruby-native zlib openssl" +DEPENDS_virtclass-native = "" + +INC_PR = "r2" + +SHRT_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" +SRC_URI = "ftp://ftp.ruby-lang.org/pub/ruby/${SHRT_VER}/ruby-${PV}.tar.gz \ + file://extmk_run.patch \ + file://extmk.patch \ +" + +S = "${WORKDIR}/ruby-${PV}" + +inherit autotools + +# fix building of socket extension +EXTRA_OECONF = "--enable-wide-getaddrinfo" + +# This snippet lets compiled extensions which rely on external libraries, +# such as zlib, compile properly. If we don't do this, then when extmk.rb +# runs, it uses the native libraries instead of the target libraries, and so +# none of the linking operations succeed -- which makes extconf.rb think +# that the libraries aren't available and hence that the extension can't be +# built. + +do_configure_prepend() { + sed -i "s#%%TARGET_CFLAGS%%#$TARGET_CFLAGS#; s#%%TARGET_LDFLAGS%%#$TARGET_LDFLAGS#" ${S}/common.mk + rm -rf ${S}/ruby/ +}
meta/recipes-devtools/ruby/ruby/0001-socket-extconf-hardcode-wide-getaddr-info-test-outco.patch new file +31 -0
@@ -0,0 +1,31 @@ +From 9341293e71c03fe606edc9157bf1e13e3dd5b507 Mon Sep 17 00:00:00 2001 +From: Koen Kooi <[email protected]> +Date: Fri, 17 Dec 2010 11:35:38 +0100 +Subject: [PATCH] socket extconf: hardcode wide-getaddr info test outcome to true + +Without this the socket extension doesn't build correctly + +Signed-off-by: Koen Kooi <[email protected]> +--- + ext/socket/extconf.rb | 5 +++++ + 1 files changed, 5 insertions(+), 0 deletions(-) + +diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb +index ece6158..5fba46c 100644 +--- a/ext/socket/extconf.rb ++++ b/ext/socket/extconf.rb +@@ -222,6 +222,11 @@ main() + exit(EXIT_FAILURE); + } + EOF ++ ++# Ignore the actual result of the above test and assume that ++# everything is OK. ++getaddr_info_ok = true ++ + end + if ipv6 and not getaddr_info_ok + abort <<EOS +-- +1.6.6.1 +
meta/recipes-devtools/ruby/ruby/extmk.patch new file +13 -0
@@ -0,0 +1,13 @@ +diff -ru ruby-1.8.7-p248.orig/ext/extmk.rb ruby-1.8.7-p248/ext/extmk.rb +--- ruby-1.8.7-p248.orig/ext/extmk.rb 2009-12-24 03:01:58.000000000 -0600 ++++ ruby-1.8.7-p248/ext/extmk.rb 2010-02-12 15:55:27.370061558 -0600 +@@ -354,8 +354,8 @@ + $ruby = '$(topdir)/miniruby' + EXEEXT + end + $ruby << " -I'$(topdir)'" ++$ruby << " -I'$(top_srcdir)/lib'" + unless CROSS_COMPILING +- $ruby << " -I'$(top_srcdir)/lib'" + $ruby << " -I'$(extout)/$(arch)' -I'$(extout)/common'" if $extout + $ruby << " -I./- -I'$(top_srcdir)/ext' -rpurelib.rb" + ENV["RUBYLIB"] = "-"
meta/recipes-devtools/ruby/ruby/extmk_run.patch new file +15 -0
@@ -0,0 +1,15 @@ +============================================================ +--- packages/ruby/ruby-1.8.5/extmk_run.patch d9738b5a71e2f9a98d009af9fd0ef1ceaff9ef48 ++++ packages/ruby/ruby-1.8.5/extmk_run.patch d9738b5a71e2f9a98d009af9fd0ef1ceaff9ef48 +@@ -0,0 +1,11 @@ ++--- ruby-1.8.5/common.mk.orig 2006-12-30 13:07:32.000000000 +1100 +++++ ruby-1.8.5/common.mk 2006-12-30 13:08:32.000000000 +1100 ++@@ -56,7 +56,7 @@ ++ --make="$(MAKE)" \ ++ --mflags="$(MFLAGS)" \ ++ --make-flags="$(MAKEFLAGS)" ++-EXTMK_ARGS = $(SCRIPT_ARGS) --extout="$(EXTOUT)" --extension $(EXTS) --extstatic $(EXTSTATIC) -- +++EXTMK_ARGS = $(SCRIPT_ARGS) --with-ldflags="%%TARGET_LDFLAGS%%" --with-cflags="%%TARGET_CFLAGS%%" --extout="$(EXTOUT)" --extension $(EXTS) --extstatic $(EXTSTATIC) -- ++ ++ all: $(MKFILES) $(PREP) $(RBCONFIG) $(LIBRUBY) ++ @$(MINIRUBY) $(srcdir)/ext/extmk.rb $(EXTMK_ARGS)
meta/recipes-devtools/ruby/ruby_1.8.7-p302.bb new file +12 -0
@@ -0,0 +1,12 @@ +require ruby.inc +PR = "${INC_PR}.1" + +SRC_URI += "file://0001-socket-extconf-hardcode-wide-getaddr-info-test-outco.patch" + +SRC_URI[md5sum] = "f446550dfde0d8162a6ed8d5a38b3ac2" +SRC_URI[sha256sum] = "5883df5204de70762602ce885b18c8bf6c856d33298c35df9151031b2ce044a1" + +FILES_${PN}-dbg += "${libdir}/ruby/1.8/*/.debug \ + ${libdir}/ruby/1.8/*/*/.debug" +BBCLASSEXTEND = "native" +
Signature · 1 line
1.7.4
PATCH 4/4 ruby: update to 1.9.3-194
In reply to [email protected]From: Jackie Huang <[email protected]>
Most of the 1.9.3 patches originate from ruby-1.9.3.194-10.1.fc17.src.rpm
--- meta/recipes-devtools/ruby/ruby.inc | 13 +- ...onf-hardcode-wide-getaddr-info-test-outco.patch | 11 +- .../ruby/ruby/ruby-1.9.3-always-use-i386.patch | 11 + .../ruby/ruby/ruby-1.9.3-bignum-test-fix.patch | 31 ++ .../ruby/ruby-1.9.3-custom-rubygems-location.patch | 86 ++++++ .../ruby/ruby-1.9.3-disable-versioned-paths.patch | 149 ++++++++++ .../ruby/ruby/ruby-1.9.3-fix-s390x-build.patch | 12 + .../ruby/ruby/ruby-1.9.3-install-cross.patch | 16 + .../ruby/ruby/ruby-1.9.3-mkmf-verbose.patch | 11 + .../ruby-1.9.3-rubygems-1.8.11-uninstaller.patch | 76 +++++ .../ruby/ruby/ruby-1.9.3-webrick-test-fix.patch | 24 ++ .../ruby/rubygems-1.8.11-binary-extensions.patch | 296 ++++++++++++++++++++ meta/recipes-devtools/ruby/ruby_1.8.7-p302.bb | 12 - meta/recipes-devtools/ruby/ruby_1.9.3-p194.bb | 57 ++++ 14 files changed, 780 insertions(+), 25 deletions(-) create mode 100644 meta/recipes-devtools/ruby/ruby/ruby-1.9.3-always-use-i386.patch create mode 100644 meta/recipes-devtools/ruby/ruby/ruby-1.9.3-bignum-test-fix.patch create mode 100644 meta/recipes-devtools/ruby/ruby/ruby-1.9.3-custom-rubygems-location.patch create mode 100644 meta/recipes-devtools/ruby/ruby/ruby-1.9.3-disable-versioned-paths.patch create mode 100644 meta/recipes-devtools/ruby/ruby/ruby-1.9.3-fix-s390x-build.patch create mode 100644 meta/recipes-devtools/ruby/ruby/ruby-1.9.3-install-cross.patch create mode 100644 meta/recipes-devtools/ruby/ruby/ruby-1.9.3-mkmf-verbose.patch create mode 100644 meta/recipes-devtools/ruby/ruby/ruby-1.9.3-rubygems-1.8.11-uninstaller.patch create mode 100644 meta/recipes-devtools/ruby/ruby/ruby-1.9.3-webrick-test-fix.patch create mode 100644 meta/recipes-devtools/ruby/ruby/rubygems-1.8.11-binary-extensions.patch delete mode 100644 meta/recipes-devtools/ruby/ruby_1.8.7-p302.bb create mode 100644 meta/recipes-devtools/ruby/ruby_1.9.3-p194.bb
meta/recipes-devtools/ruby/ruby.inc +8 -5
@@ -1,8 +1,13 @@ -DESCRIPTION = "Ruby is an interpreted scripting language \ -for quick and easy object-oriented programming." +SUMMARY = "An interpreter of object-oriented scripting language" +DESCRIPTION = "Ruby is an interpreted scripting language for quick \ +and easy object-oriented programming. It has many features to process \ +text files and to do system management tasks (as in Perl). \ +It is simple, straight-forward, and extensible. \ +" +HOMEPAGE = "http://www.ruby-lang.org/" SECTION = "devel/ruby" PRIORITY = "optional" -LICENSE = "GPL" +LICENSE = "Ruby | BSD | GPLv2" DEPENDS = "ruby-native zlib openssl" DEPENDS_virtclass-native = ""
@@ -18,8 +23,6 @@ S = "${WORKDIR}/ruby-${PV}" inherit autotools -# fix building of socket extension -EXTRA_OECONF = "--enable-wide-getaddrinfo" # This snippet lets compiled extensions which rely on external libraries, # such as zlib, compile properly. If we don't do this, then when extmk.rb
meta/recipes-devtools/ruby/ruby/0001-socket-extconf-hardcode-wide-getaddr-info-test-outco.patch +3 -8
@@ -8,13 +8,11 @@ Without this the socket extension doesn't build correctly Signed-off-by: Koen Kooi <[email protected]> --- ext/socket/extconf.rb | 5 +++++ - 1 files changed, 5 insertions(+), 0 deletions(-) + 1 file changed, 5 insertions(+) -diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb -index ece6158..5fba46c 100644 --- a/ext/socket/extconf.rb +++ b/ext/socket/extconf.rb -@@ -222,6 +222,11 @@ main() +@@ -356,6 +356,11 @@ exit(EXIT_FAILURE); } EOF
@@ -23,9 +21,6 @@ index ece6158..5fba46c 100644 +# everything is OK. +getaddr_info_ok = true + - end if ipv6 and not getaddr_info_ok abort <<EOS --- -1.6.6.1 - +
meta/recipes-devtools/ruby/ruby/ruby-1.9.3-always-use-i386.patch new file +11 -0
@@ -0,0 +1,11 @@ +--- a/configure.in.orig 2011-10-18 08:56:21.587594685 +0200 ++++ b/configure.in 2011-10-18 08:56:59.751593321 +0200 +@@ -2935,6 +2935,8 @@ + configure_args=$ac_configure_args + AC_SUBST(configure_args)dnl + ++target_cpu=`echo $target_cpu | sed s/i.86/i386/` ++ + if test "${universal_binary-no}" = yes ; then + arch="universal-${target_os}" + AC_CACHE_CHECK(whether __ARCHITECTURE__ is available, rb_cv_architecture_available,
meta/recipes-devtools/ruby/ruby/ruby-1.9.3-bignum-test-fix.patch new file +31 -0
@@ -0,0 +1,31 @@ +--- ruby-1.9.3-p0/test/ruby/test_bignum.rb.orig 2011-11-10 09:52:59.101925465 +0100 ++++ ruby-1.9.3-p0/test/ruby/test_bignum.rb 2011-11-10 09:54:14.580798826 +0100 +@@ -378,7 +378,7 @@ + assert_equal(true, (2**32).even?) + end + +- def interrupt ++ def assert_interrupt + time = Time.now + start_flag = false + end_flag = false +@@ -387,14 +387,16 @@ + yield + end_flag = true + end +- sleep 1 ++ Thread.pass until start_flag + thread.raise + thread.join rescue nil +- start_flag && !end_flag && Time.now - time < 10 ++ time = Time.now - time ++ assert_equal([true, false], [start_flag, end_flag]) ++ assert_operator(time, :<, 10) + end + + def test_interrupt +- assert(interrupt { (65536 ** 65536).to_s }) ++ assert_interrupt {(65536 ** 65536).to_s} + end + + def test_too_big_to_s
meta/recipes-devtools/ruby/ruby/ruby-1.9.3-custom-rubygems-location.patch new file +86 -0
86 lines not on this page · raw message
meta/recipes-devtools/ruby/ruby/ruby-1.9.3-disable-versioned-paths.patch new file +149 -0
149 lines not on this page · raw message
meta/recipes-devtools/ruby/ruby/ruby-1.9.3-fix-s390x-build.patch new file +12 -0
@@ -0,0 +1,12 @@ +diff -up ruby-1.9.3-p0/ext/tk/extconf.rb.orig ruby-1.9.3-p0/ext/tk/extconf.rb +--- ruby-1.9.3-p0/ext/tk/extconf.rb.orig 2011-06-29 16:11:19.000000000 +0200 ++++ ruby-1.9.3-p0/ext/tk/extconf.rb 2011-10-18 16:15:59.406299659 +0200 +@@ -114,7 +114,7 @@ def is_macosx? + end + + def maybe_64bit? +- /64|universal/ =~ RUBY_PLATFORM ++ /64|universal|s390x/ =~ RUBY_PLATFORM + end + + def check_tcltk_version(version)
meta/recipes-devtools/ruby/ruby/ruby-1.9.3-install-cross.patch new file +16 -0
@@ -0,0 +1,16 @@ +--- + Makefile.in | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +--- a/Makefile.in ++++ b/Makefile.in +@@ -210,7 +210,8 @@ + @$(RM) fake.rb fake-rbconfig.rb + $(INSTALL_DATA) $(arch_hdrdir)/ruby/config.h $(XRUBY_RUBYHDRDIR)/$(arch)/ruby + $(INSTALL_DATA) $(top_srcdir)/include/ruby/win32.h $(XRUBY_RUBYHDRDIR)/ruby +- $(INSTALL_DATA) $(LIBRUBY) $(LIBRUBY_A) $(XRUBY_RUBYLIBDIR)/$(arch) ++ $(INSTALL_DATA) $(LIBRUBY) $(XRUBY_RUBYLIBDIR)/$(arch) ++ $(INSTALL_DATA) $(LIBRUBY_A) $(XRUBY_RUBYLIBDIR)/$(arch) + $(INSTALL_PROGRAM) $(LIBRUBY_SO) $(XRUBY_RUBYLIBDIR)/$(arch) + + Makefile: $(srcdir)/Makefile.in $(srcdir)/enc/Makefile.in
meta/recipes-devtools/ruby/ruby/ruby-1.9.3-mkmf-verbose.patch new file +11 -0
@@ -0,0 +1,11 @@ +--- ruby-1.9.3-p0/lib/mkmf.rb.debug 2011-08-11 15:07:37.000000000 +0900 ++++ ruby-1.9.3-p0/lib/mkmf.rb 2012-01-29 21:34:17.000000000 +0900 +@@ -1638,7 +1638,7 @@ + SHELL = /bin/sh + + # V=0 quiet, V=1 verbose. other values don't work. +-V = 0 ++V = 1 + Q1 = $(V:1=) + Q = $(Q1:0=@) + n=$(NULLCMD)
meta/recipes-devtools/ruby/ruby/ruby-1.9.3-rubygems-1.8.11-uninstaller.patch new file +76 -0
76 lines not on this page · raw message
meta/recipes-devtools/ruby/ruby/ruby-1.9.3-webrick-test-fix.patch new file +24 -0
@@ -0,0 +1,24 @@ +diff --git a/test/webrick/test_cgi.rb b/test/webrick/test_cgi.rb +index 1185316..0ef1b37 100644 +--- a/test/webrick/test_cgi.rb ++++ b/test/webrick/test_cgi.rb +@@ -14,6 +14,7 @@ class TestWEBrickCGI < Test::Unit::TestCase + def req.meta_vars + meta = super + meta["RUBYLIB"] = $:.join(File::PATH_SEPARATOR) ++ meta[RbConfig::CONFIG['LIBPATHENV']] = ENV[RbConfig::CONFIG['LIBPATHENV']] + return meta + end + }, +diff --git a/test/webrick/test_filehandler.rb b/test/webrick/test_filehandler.rb +index bcdb3df..f78ba5c 100644 +--- a/test/webrick/test_filehandler.rb ++++ b/test/webrick/test_filehandler.rb +@@ -252,6 +252,7 @@ class WEBrick::TestFileHandler < Test::Unit::TestCase + def req.meta_vars + meta = super + meta["RUBYLIB"] = $:.join(File::PATH_SEPARATOR) ++ meta[RbConfig::CONFIG['LIBPATHENV']] = ENV[RbConfig::CONFIG['LIBPATHENV']] + return meta + end + },
meta/recipes-devtools/ruby/ruby/rubygems-1.8.11-binary-extensions.patch new file +296 -0
296 lines not on this page · raw message
meta/recipes-devtools/ruby/ruby_1.8.7-p302.bb deleted +0 -12
@@ -1,12 +0,0 @@ -require ruby.inc -PR = "${INC_PR}.1" - -SRC_URI += "file://0001-socket-extconf-hardcode-wide-getaddr-info-test-outco.patch" - -SRC_URI[md5sum] = "f446550dfde0d8162a6ed8d5a38b3ac2" -SRC_URI[sha256sum] = "5883df5204de70762602ce885b18c8bf6c856d33298c35df9151031b2ce044a1" - -FILES_${PN}-dbg += "${libdir}/ruby/1.8/*/.debug \ - ${libdir}/ruby/1.8/*/*/.debug" -BBCLASSEXTEND = "native" -
meta/recipes-devtools/ruby/ruby_1.9.3-p194.bb new file +57 -0
57 lines not on this page · raw message
Signature · 1 line
1.7.4
Hi Jackie,
Quoted 5 lines · On Tuesday 09 October 2012 14:36:53 [email protected] wrote:
From: Jackie Huang <[email protected]>
* I sent this months ago but was told that oe-core is not the right place, however, we think it makes sense to add ruby to complete the scripting language set of: python, perl, ruby, so I re-send it.
I have to say, my opinion is the same now as it was then. Ruby support is certainly useful to have, and we have had requests for it; but unlike Perl and Python which are needed by many other things, nothing we have in OE-Core actually needs Ruby; thus it really belongs in another layer IMHO.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Quoted 8 lines · Paul Eggleton
Quoted 3 lines
* I sent this months ago but was told that oe-core is not the right place, however, we think it makes sense to add ruby to complete the scripting language set of: python, perl, ruby, so I re-send it.
I have to say, my opinion is the same now as it was then. Ruby support is certainly useful to have, and we have had requests for it; but unlike Perl and Python which are needed by many other things, nothing we have in OE-Core actually needs Ruby; thus it really belongs in another layer IMHO.
Agreed. If we're completing the set of scripting languages there's plenty left out. A standalone meta-ruby layer that contains the runtime and pretty much every useful library sounds like a much better idea as the runtime and the libraries will be in a single place and incompatible changes can be done in a single move without having to co-ordinate multiple layers.
Ross
Quoted 10 lines · Ross
Quoted 8 lines · Paul Eggleton
Quoted 3 lines
* I sent this months ago but was told that oe-core is not the right place, however, we think it makes sense to add ruby to complete the scripting language set of: python, perl, ruby, so I re-send it.
I have to say, my opinion is the same now as it was then. Ruby support is certainly useful to have, and we have had requests for it; but unlike Perl and Python which are needed by many other things, nothing we have in OE-Core actually needs Ruby; thus it really belongs in another layer IMHO.
Quoted 6 lines
Agreed. If we're completing the set of scripting languages there's plenty left out. A standalone meta-ruby layer that contains the runtime and pretty much every useful library sounds like a much better idea as the runtime and the libraries will be in a single place and incompatible changes can be done in a single move without having to co-ordinate multiple layers.
I see, thanks, so I think I should send it to meta-oe at this point.
Thanks,
Jackie
Quoted 3 lines
Ross
Signature · 5 lines
Jackie Huang WIND RIVER | China Development Center MSN:[email protected] Tel: +86 8477 8594 Mobile: +86 138 1027 4745
Quoted 5 lines · Paul Eggleton
Hi Jackie,
Quoted 2 lines · On Tuesday 09 October 2012 14:36:53 [email protected] wrote:
From: Jackie Huang <[email protected]>
Quoted 9 lines
Quoted 3 lines
* I sent this months ago but was told that oe-core is not the right place, however, we think it makes sense to add ruby to complete the scripting language set of: python, perl, ruby, so I re-send it.
I have to say, my opinion is the same now as it was then. Ruby support is certainly useful to have, and we have had requests for it; but unlike Perl and Python which are needed by many other things, nothing we have in OE-Core actually needs Ruby; thus it really belongs in another layer IMHO.
I guess yes reluctantly, unless we have two different ruby apps which show up in different layers then we have a stronger case.
Quoted 12 lines
Cheers,
PaulSignature · 7 lines
Paul Eggleton Intel Open Source Technology Centre _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core