Hello community, here is the log from the commit of package kdebindings3 checked in at Sat Sep 13 04:40:52 CEST 2008. -------- --- KDE/kdebindings3/kdebindings3.changes 2008-08-20 18:38:32.000000000 +0200 +++ kdebindings3/kdebindings3.changes 2008-09-11 18:01:52.000000000 +0200 @@ -1,0 +2,5 @@ +Thu Sep 11 18:00:41 CEST 2008 - dmueller@suse.de + +- fix build against newer ruby + +------------------------------------------------------------------- kdebindings3-java.changes: same change kdebindings3-javascript.changes: same change Old: ---- minmem New: ---- ruby-constness.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kdebindings3-javascript.spec ++++++ --- /var/tmp/diff_new_pack.S19292/_old 2008-09-13 04:40:04.000000000 +0200 +++ /var/tmp/diff_new_pack.S19292/_new 2008-09-13 04:40:04.000000000 +0200 @@ -30,7 +30,7 @@ Group: System/GUI/KDE Summary: JavaScript Bindings and Interpreter for KDE Version: 3.5.10 -Release: 1 +Release: 14 Requires: kdelibs3 >= %( echo `rpm -q --queryformat '%{VERSION}' kdelibs3`) Url: http://www.kde.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -44,6 +44,7 @@ Patch8: kdebindings3-java.diff Patch9: kdebindings-3.5.1_ruby_non_site_dir.patch Patch10: admin-no-hpi.diff +Patch11: ruby-constness.diff %description Required libraries to write applications in Java for Qt and KDE. @@ -113,6 +114,7 @@ %patch7 %patch8 %patch9 +%patch11 # eventually we have a patch in kdelibs adding that if test -f /opt/kde3/include/kscrollview.h; then echo "kscrollview.h" >> smoke/kde/kde_header_list @@ -258,6 +260,8 @@ %endif %changelog +* Thu Sep 11 2008 dmueller@suse.de +- fix build against newer ruby * Wed Aug 20 2008 coolo@suse.de - update to KDE 3.5.10 * desktop files validate ++++++ kdebindings3-java.spec ++++++ --- /var/tmp/diff_new_pack.S19292/_old 2008-09-13 04:40:04.000000000 +0200 +++ /var/tmp/diff_new_pack.S19292/_new 2008-09-13 04:40:04.000000000 +0200 @@ -30,7 +30,7 @@ Group: Development/Libraries/Java Summary: Java Bindings for KDE Version: 3.5.10 -Release: 1 +Release: 14 Requires: kdelibs3 >= %( echo `rpm -q --queryformat '%{VERSION}' kdelibs3`) Url: http://www.kde.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -44,6 +44,7 @@ Patch8: kdebindings3-java.diff Patch9: kdebindings-3.5.1_ruby_non_site_dir.patch Patch10: admin-no-hpi.diff +Patch11: ruby-constness.diff %description Needed libraries to write applications in Java for Qt and KDE. @@ -96,6 +97,7 @@ %patch7 %patch8 %patch9 +%patch11 # eventually we have a patch in kdelibs adding that if test -f /opt/kde3/include/kscrollview.h; then echo "kscrollview.h" >> smoke/kde/kde_header_list @@ -241,6 +243,8 @@ %endif %changelog +* Thu Sep 11 2008 dmueller@suse.de +- fix build against newer ruby * Wed Aug 20 2008 coolo@suse.de - update to KDE 3.5.10 * desktop files validate ++++++ kdebindings3.spec ++++++ --- /var/tmp/diff_new_pack.S19292/_old 2008-09-13 04:40:04.000000000 +0200 +++ /var/tmp/diff_new_pack.S19292/_new 2008-09-13 04:40:04.000000000 +0200 @@ -30,7 +30,7 @@ Group: System/GUI/KDE Summary: Bindings for Qt and KDE Libraries Version: 3.5.10 -Release: 1 +Release: 13 Requires: kdelibs3 >= %( echo `rpm -q --queryformat '%{VERSION}' kdelibs3`) Url: http://www.kde.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -44,6 +44,7 @@ Patch8: kdebindings3-java.diff Patch9: kdebindings-3.5.1_ruby_non_site_dir.patch Patch10: admin-no-hpi.diff +Patch11: ruby-constness.diff %description This package contains generator applications for creating bindings for @@ -111,6 +112,7 @@ %patch7 %patch8 %patch9 +%patch11 # eventually we have a patch in kdelibs adding that if test -f /opt/kde3/include/kscrollview.h; then echo "kscrollview.h" >> smoke/kde/kde_header_list @@ -256,6 +258,8 @@ %endif %changelog +* Thu Sep 11 2008 dmueller@suse.de +- fix build against newer ruby * Wed Aug 20 2008 coolo@suse.de - update to KDE 3.5.10 * desktop files validate ++++++ kdebindings3.spec.in ++++++ --- KDE/kdebindings3/kdebindings3.spec.in 2008-08-20 20:43:11.000000000 +0200 +++ kdebindings3/kdebindings3.spec.in 2008-09-11 01:34:00.000000000 +0200 @@ -36,6 +36,7 @@ Patch8: kdebindings3-java.diff Patch9: kdebindings-3.5.1_ruby_non_site_dir.patch Patch10: admin-no-hpi.diff +Patch11: ruby-constness.diff %description base @@ -79,6 +80,8 @@ %patch7 %patch8 %patch9 +%patch11 + # eventually we have a patch in kdelibs adding that if test -f /opt/kde3/include/kscrollview.h; then echo "kscrollview.h" >> smoke/kde/kde_header_list ++++++ ruby-constness.diff ++++++ --- qtruby/rubylib/qtruby/Qt.cpp +++ qtruby/rubylib/qtruby/Qt.cpp @@ -950,7 +950,7 @@ const char * get_VALUEtype(VALUE ruby_value) { - char * classname = rb_obj_classname(ruby_value); + const char * classname = rb_obj_classname(ruby_value); const char *r = ""; if(ruby_value == Qnil) r = "u"; @@ -1269,7 +1269,7 @@ value_list.append(QCString().sprintf(" className=%s", qobject->metaObject()->className())); if (qobject->metaObject()->superClass() != 0) { - value_list.append(QCString().sprintf(", superClass=#Qt::MetaObject:0x0", qobject->metaObject()->superClass())); + value_list.append(QCString().sprintf(", superClass=#Qt::MetaObject:0x0")); } if (qobject->metaObject()->numSignals() > 0) { @@ -1395,7 +1395,7 @@ } static QCString * -find_cached_selector(int argc, VALUE * argv, VALUE klass, char * methodName) +find_cached_selector(int argc, VALUE * argv, VALUE klass, const char * methodName) { // Look in the cache static QCString * mcid = 0; @@ -1432,7 +1432,7 @@ static VALUE method_missing(int argc, VALUE * argv, VALUE self) { - char * methodName = rb_id2name(SYM2ID(argv[0])); + const char * methodName = rb_id2name(SYM2ID(argv[0])); VALUE klass = rb_funcall(self, rb_intern("class"), 0); // Look for 'thing?' methods, and try to match isThing() or hasThing() in the Smoke runtime @@ -1482,7 +1482,7 @@ VALUE retval = rb_funcall2(qt_internal_module, rb_intern("do_method_missing"), argc+3, temp_stack); if (_current_method == -1) { - char * op = rb_id2name(SYM2ID(argv[0])); + const char * op = rb_id2name(SYM2ID(argv[0])); if ( qstrcmp(op, "-") == 0 || qstrcmp(op, "+") == 0 || qstrcmp(op, "/") == 0 @@ -1557,7 +1557,7 @@ class_method_missing(int argc, VALUE * argv, VALUE klass) { VALUE result = Qnil; - char * methodName = rb_id2name(SYM2ID(argv[0])); + const char * methodName = rb_id2name(SYM2ID(argv[0])); VALUE * temp_stack = (VALUE *) calloc(argc+3, sizeof(VALUE)); temp_stack[0] = rb_str_new2("Qt"); temp_stack[1] = rb_str_new2(methodName); @@ -1772,7 +1772,7 @@ VALUE getmetainfo(VALUE self, int &offset, int &index) { - char * signalname = rb_id2name(rb_frame_last_func()); + const char * signalname = rb_id2name(rb_frame_last_func()); VALUE metaObject_value = rb_funcall(qt_internal_module, rb_intern("getMetaObject"), 1, self); smokeruby_object *ometa = value_obj_info(metaObject_value); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org