diff -Nru korundum-4.7.3/ChangeLog korundum-4.7.90/ChangeLog --- korundum-4.7.3/ChangeLog 2011-06-22 16:34:20.000000000 +0000 +++ korundum-4.7.90/ChangeLog 2011-07-27 18:37:29.000000000 +0000 @@ -1,3 +1,7 @@ +2011-05-30 Richard Dale + * Make embedded Ruby plugins, such as the plasma extension, work with + Ruby 1.9.x + 2010-09-30 Richard Dale * Replace STR2CSTR macros with StringValuePtr so that the krubypluginfactory.cpp builds with Ruby 1.9 diff -Nru korundum-4.7.3/debian/changelog korundum-4.7.90/debian/changelog --- korundum-4.7.3/debian/changelog 2011-11-25 22:35:21.000000000 +0000 +++ korundum-4.7.90/debian/changelog 2011-12-20 23:52:45.000000000 +0000 @@ -1,3 +1,9 @@ +korundum (4:4.7.90-0ubuntu1) precise; urgency=low + + * New upstream beta release + + -- Jonathan Riddell Sat, 17 Dec 2011 20:56:00 +0000 + korundum (4:4.7.3-0ubuntu1) precise; urgency=low * New upstream release diff -Nru korundum-4.7.3/debian/control korundum-4.7.90/debian/control --- korundum-4.7.3/debian/control 2011-11-25 22:37:56.000000000 +0000 +++ korundum-4.7.90/debian/control 2011-12-17 22:02:29.000000000 +0000 @@ -5,8 +5,8 @@ XSBC-Original-Maintainer: Debian Qt/KDE Maintainers Uploaders: Torsten Marek , Sune Vuorela , David Palacio , Michael Meskes Build-Depends: debhelper (>= 7.4.10), cmake, ruby1.8, ruby1.8-dev, - smoke-dev-tools (>= 4:4.7.1), libsmokeqt4-dev (>= 4:4.7.1), - libsmokekde-dev (>= 4:4.7.1), libqtruby4shared-dev (>= 4:4.7.1), + smoke-dev-tools (>= 4:4.7.90), libsmokeqt4-dev (>= 4:4.7.90), + libsmokekde-dev (>= 4:4.7.90), libqtruby4shared-dev (>= 4:4.7.90), kdelibs5-dev, kdepimlibs5-dev, libakonadi-dev, okular-dev, libsoprano-dev Standards-Version: 3.9.2 Homepage: http://projects.kde.org/projects/kde/kdebindings/ruby/korundum diff -Nru korundum-4.7.3/src/krubypluginfactory.cpp korundum-4.7.90/src/krubypluginfactory.cpp --- korundum-4.7.3/src/krubypluginfactory.cpp 2011-06-22 16:34:20.000000000 +0000 +++ korundum-4.7.90/src/krubypluginfactory.cpp 2011-07-27 18:37:29.000000000 +0000 @@ -39,6 +39,7 @@ extern "C" { extern VALUE rb_load_path; extern VALUE qt_internal_module; +void Init_prelude(void); } // @@ -161,6 +162,12 @@ ruby_init_loadpath(); } +#if RUBY_VERSION >= 0x10900 + VALUE gem = rb_define_module("Gem"); + rb_const_set(gem, rb_intern("Enable"), Qtrue); + Init_prelude(); +#endif + ruby_incpush(QFile::encodeName(program.path())); int state = 0; @@ -331,6 +338,12 @@ if (firstTime) { ruby_init_loadpath(); } + +#if RUBY_VERSION >= 0x10900 + VALUE gem = rb_define_module("Gem"); + rb_const_set(gem, rb_intern("Enable"), Qtrue); + Init_prelude(); +#endif ruby_incpush(QFile::encodeName(program.path()));