Thu Jun 19 15:19:45 2008 UTC ()
- Switch to use vendor_dir with Ruby 1.8.7.
- Make it build with Ruby 1.8.7, too.
Bump PKGREVISION.
(taca)
diff -r1.8 -r1.9 pkgsrc/x11/kdebindings-ruby/Makefile
diff -r1.1.1.1 -r1.2 pkgsrc/x11/kdebindings-ruby/PLIST
diff -r1.5 -r1.6 pkgsrc/x11/kdebindings-ruby/distinfo
diff -r0 -r1.1 pkgsrc/x11/kdebindings-ruby/patches/patch-aa
diff -r0 -r1.1 pkgsrc/x11/kdebindings-ruby/patches/patch-ab
--- pkgsrc/x11/kdebindings-ruby/Attic/Makefile 2008/02/20 10:26:49 1.8
+++ pkgsrc/x11/kdebindings-ruby/Attic/Makefile 2008/06/19 15:19:45 1.9
| @@ -1,17 +1,18 @@ | | | @@ -1,17 +1,18 @@ |
1 | # $NetBSD: Makefile,v 1.8 2008/02/20 10:26:49 markd Exp $ | | 1 | # $NetBSD: Makefile,v 1.9 2008/06/19 15:19:45 taca Exp $ |
2 | | | 2 | |
3 | DISTNAME= kdebindings-${_KDE_VERSION} | | 3 | DISTNAME= kdebindings-${_KDE_VERSION} |
4 | PKGNAME= kdebindings-ruby-${_KDE_VERSION} | | 4 | PKGNAME= kdebindings-ruby-${_KDE_VERSION} |
| | | 5 | PKGREVISION= 1 |
5 | CATEGORIES= x11 | | 6 | CATEGORIES= x11 |
6 | COMMENT= Ruby bindings for the KDE integrated X11 desktop | | 7 | COMMENT= Ruby bindings for the KDE integrated X11 desktop |
7 | | | 8 | |
8 | .include "../../meta-pkgs/kde3/Makefile.kde3" | | 9 | .include "../../meta-pkgs/kde3/Makefile.kde3" |
9 | | | 10 | |
10 | USE_TOOLS+= pkg-config | | 11 | USE_TOOLS+= pkg-config |
11 | | | 12 | |
12 | CONFIGURE_ARGS+= --without-java | | 13 | CONFIGURE_ARGS+= --without-java |
13 | CONFIGURE_ARGS+= --without-pythondir | | 14 | CONFIGURE_ARGS+= --without-pythondir |
14 | CONFIGURE_ENV+= DO_NOT_COMPILE="dcopperl python kjsembed qtsharp" | | 15 | CONFIGURE_ENV+= DO_NOT_COMPILE="dcopperl python kjsembed qtsharp" |
15 | | | 16 | |
16 | .include "../../lang/ruby/buildlink3.mk" | | 17 | .include "../../lang/ruby/buildlink3.mk" |
17 | .include "../../meta-pkgs/kde3/kde3.mk" | | 18 | .include "../../meta-pkgs/kde3/kde3.mk" |
--- pkgsrc/x11/kdebindings-ruby/Attic/PLIST 2006/10/12 11:44:55 1.1.1.1
+++ pkgsrc/x11/kdebindings-ruby/Attic/PLIST 2008/06/19 15:19:45 1.2
| @@ -1,21 +1,21 @@ | | | @@ -1,21 +1,21 @@ |
1 | @comment $NetBSD: PLIST,v 1.1.1.1 2006/10/12 11:44:55 markd Exp $ | | 1 | @comment $NetBSD: PLIST,v 1.2 2008/06/19 15:19:45 taca Exp $ |
2 | bin/krubyinit | | 2 | bin/krubyinit |
3 | bin/qtrubyinit | | 3 | bin/qtrubyinit |
4 | bin/rbkconfig_compiler | | 4 | bin/rbkconfig_compiler |
5 | bin/rbkdeapi | | 5 | bin/rbkdeapi |
6 | bin/rbkdesh | | 6 | bin/rbkdesh |
7 | bin/rbqtapi | | 7 | bin/rbqtapi |
8 | bin/rbqtsh | | 8 | bin/rbqtsh |
9 | bin/rbuic | | 9 | bin/rbuic |
10 | include/smoke.h | | 10 | include/smoke.h |
11 | lib/libsmokekde.la | | 11 | lib/libsmokekde.la |
12 | lib/libsmokeqt.la | | 12 | lib/libsmokeqt.la |
13 | ${RUBY_SITELIBDIR}/KDE/korundum.rb | | 13 | ${RUBY_VENDORLIB}/KDE/korundum.rb |
14 | ${RUBY_SITELIBDIR}/Korundum.rb | | 14 | ${RUBY_VENDORLIB}/Korundum.rb |
15 | ${RUBY_SITELIBDIR}/Qt.rb | | 15 | ${RUBY_VENDORLIB}/Qt.rb |
16 | ${RUBY_SITELIBDIR}/Qt/qtruby.rb | | 16 | ${RUBY_VENDORLIB}/Qt/qtruby.rb |
17 | ${RUBY_SITEARCHLIBDIR}/korundum.la | | 17 | ${RUBY_VENDORARCHLIB}/korundum.la |
18 | ${RUBY_SITEARCHLIBDIR}/qtruby.la | | 18 | ${RUBY_VENDORARCHLIB}/qtruby.la |
19 | ${RUBY_SITEARCHLIBDIR}/qui.la | | 19 | ${RUBY_VENDORARCHLIB}/qui.la |
20 | @dirrm ${RUBY_SITELIBDIR}/Qt | | 20 | @dirrm ${RUBY_VENDORLIB}/Qt |
21 | @dirrm ${RUBY_SITELIBDIR}/KDE | | 21 | @dirrm ${RUBY_VENDORLIB}/KDE |
--- pkgsrc/x11/kdebindings-ruby/Attic/distinfo 2008/02/20 10:26:49 1.5
+++ pkgsrc/x11/kdebindings-ruby/Attic/distinfo 2008/06/19 15:19:45 1.6
| @@ -1,5 +1,7 @@ | | | @@ -1,5 +1,7 @@ |
1 | $NetBSD: distinfo,v 1.5 2008/02/20 10:26:49 markd Exp $ | | 1 | $NetBSD: distinfo,v 1.6 2008/06/19 15:19:45 taca Exp $ |
2 | | | 2 | |
3 | SHA1 (kdebindings-3.5.9.tar.bz2) = 14fcec6c93bffa94b10201dd03d87ffcd6fb5281 | | 3 | SHA1 (kdebindings-3.5.9.tar.bz2) = 14fcec6c93bffa94b10201dd03d87ffcd6fb5281 |
4 | RMD160 (kdebindings-3.5.9.tar.bz2) = c2c906a61c72eb8edfb6f9b82d74b7cc2d0c222c | | 4 | RMD160 (kdebindings-3.5.9.tar.bz2) = c2c906a61c72eb8edfb6f9b82d74b7cc2d0c222c |
5 | Size (kdebindings-3.5.9.tar.bz2) = 5737416 bytes | | 5 | Size (kdebindings-3.5.9.tar.bz2) = 5737416 bytes |
| | | 6 | SHA1 (patch-aa) = 33f36f65423da2e56d01c22bc4a1e657d0a3a456 |
| | | 7 | SHA1 (patch-ab) = c15b62faf9a72cf89aa84f38c90d99d105e50095 |
$NetBSD: patch-aa,v 1.1 2008/06/19 15:19:45 taca Exp $
--- configure.orig 2008-02-13 15:00:15.000000000 +0000
+++ configure
@@ -44789,8 +44789,8 @@ else
{ echo "$as_me:$LINENO: checking for ruby dirs" >&5
echo $ECHO_N "checking for ruby dirs... $ECHO_C" >&6; }
RUBY_ARCHDIR=`ruby -r rbconfig -e 'printf("%s",Config::CONFIG["archdir"])'`
- RUBY_SITEARCHDIR=`ruby -r rbconfig -e 'printf("%s",Config::CONFIG["sitearchdir"])'`
- RUBY_SITEDIR=`ruby -r rbconfig -e 'printf("%s",Config::CONFIG["sitelibdir"])'`
+ RUBY_SITEARCHDIR=`ruby -r rbconfig -e 'printf("%s",Config::CONFIG["vendorarchdir"])'`
+ RUBY_SITEDIR=`ruby -r rbconfig -e 'printf("%s",Config::CONFIG["vendorlibdir"])'`
{ echo "$as_me:$LINENO: result: archdir $RUBY_ARCHDIR, sitearchdir $RUBY_SITEARCHDIR, sitedir $RUBY_SITEDIR" >&5
echo "${ECHO_T}archdir $RUBY_ARCHDIR, sitearchdir $RUBY_SITEARCHDIR, sitedir $RUBY_SITEDIR" >&6; }
@@ -54593,8 +54593,8 @@ else
{ echo "$as_me:$LINENO: checking for ruby dirs" >&5
echo $ECHO_N "checking for ruby dirs... $ECHO_C" >&6; }
RUBY_ARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG["archdir"])'`
- RUBY_SITEARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG["sitearchdir"])'`
- RUBY_SITEDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG["sitelibdir"])'`
+ RUBY_SITEARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG["vendorarchdir"])'`
+ RUBY_SITEDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG["vendorlibdir"])'`
RUBY_LIBDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG["libdir"])'`
RUBY_LIBRUBYARG=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG["LIBRUBYARG_SHARED"])'`
{ echo "$as_me:$LINENO: result: archdir $RUBY_ARCHDIR, sitearchdir $RUBY_SITEARCHDIR, sitedir $RUBY_SITEDIR, libdir $RUBY_LIBDIR, librubyarg $RUBY_LIBRUBYARG" >&5
$NetBSD: patch-ab,v 1.1 2008/06/19 15:19:45 taca Exp $
--- qtruby/rubylib/qtruby/Qt.cpp.orig 2007-01-15 11:19:09.000000000 +0000
+++ qtruby/rubylib/qtruby/Qt.cpp
@@ -950,7 +950,7 @@ cast_object_to(VALUE /*self*/, VALUE obj
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";
@@ -1395,7 +1395,7 @@ static Smoke::Index new_qvariant_qmap =
}
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 QCString * mcid = 0;
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 @@ static QString * pred = 0;
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 @@ static VALUE
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 @@ qapplication_argv(VALUE /*self*/)
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);