Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -0,0 +1 @@
Ruby language bindings for KDE and QT.

View File

@@ -0,0 +1,30 @@
# $NetBSD: Makefile,v 1.43 2013/06/06 12:53:52 wiz Exp $
DISTNAME= kdebindings-${_KDE_VERSION}
PKGNAME= kdebindings-ruby-${_KDE_VERSION}
PKGREVISION= 29
CATEGORIES= x11
COMMENT= Ruby bindings for the KDE integrated X11 desktop
MAKE_JOBS_SAFE= no
.include "../../meta-pkgs/kde3/Makefile.kde3"
USE_TOOLS+= pkg-config
CONFIGURE_ARGS+= --without-java
CONFIGURE_ARGS+= --without-pythondir
CONFIGURE_ENV+= DO_NOT_COMPILE="dcopperl python kjsembed qtsharp"
RUBY_VERSION_SUPPORTED= 18
REPLACE_RUBY+= \
qtruby/bin/rbqtapi \
qtruby/bin/rbqtsh
.include "../../lang/ruby/buildlink3.mk"
.include "../../lang/ruby/replace.mk"
BUILDLINK_DEPMETHOD.qt3-tools= full
.include "../../meta-pkgs/kde3/kde3.mk"
.include "../../x11/kdebase3/buildlink3.mk"
.include "../../x11/kdelibs3/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,19 @@
@comment $NetBSD: PLIST,v 1.3 2009/06/14 18:24:56 joerg Exp $
bin/krubyinit
bin/qtrubyinit
bin/rbkconfig_compiler
bin/rbkdeapi
bin/rbkdesh
bin/rbqtapi
bin/rbqtsh
bin/rbuic
include/smoke.h
lib/libsmokekde.la
lib/libsmokeqt.la
${RUBY_VENDORLIB}/KDE/korundum.rb
${RUBY_VENDORLIB}/Korundum.rb
${RUBY_VENDORLIB}/Qt.rb
${RUBY_VENDORLIB}/Qt/qtruby.rb
${RUBY_VENDORARCHLIB}/korundum.la
${RUBY_VENDORARCHLIB}/qtruby.la
${RUBY_VENDORARCHLIB}/qui.la

View File

@@ -0,0 +1,17 @@
# $NetBSD: buildlink3.mk,v 1.28 2013/06/06 12:53:52 wiz Exp $
BUILDLINK_TREE+= kdebindings-ruby
.if !defined(KDEBINDINGS_RUBY_BUILDLINK3_MK)
KDEBINDINGS_RUBY_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.kdebindings-ruby+= kdebindings-ruby>=3.5.5
BUILDLINK_ABI_DEPENDS.kdebindings-ruby+= kdebindings-ruby>=3.5.10nb29
BUILDLINK_PKGSRCDIR.kdebindings-ruby?= ../../x11/kdebindings-ruby
.include "../../lang/ruby/buildlink3.mk"
.include "../../x11/kdebase3/buildlink3.mk"
.include "../../x11/kdelibs3/buildlink3.mk"
.endif # KDEBINDINGS_RUBY_BUILDLINK3_MK
BUILDLINK_TREE+= -kdebindings-ruby

View File

@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.7 2008/08/27 12:09:09 markd Exp $
SHA1 (kdebindings-3.5.10.tar.bz2) = 42946974889ec44a1eb9c54c8b0832d6f1af6719
RMD160 (kdebindings-3.5.10.tar.bz2) = 0c6b4690455a131c90a1e27a3345aa2a2e9d6b99
Size (kdebindings-3.5.10.tar.bz2) = 5735439 bytes
SHA1 (patch-aa) = 33f36f65423da2e56d01c22bc4a1e657d0a3a456
SHA1 (patch-ab) = c15b62faf9a72cf89aa84f38c90d99d105e50095

View File

@@ -0,0 +1,26 @@
$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

View File

@@ -0,0 +1,58 @@
$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);