summaryrefslogtreecommitdiff
path: root/source/kde/kdebindings
diff options
context:
space:
mode:
Diffstat (limited to 'source/kde/kdebindings')
-rw-r--r--source/kde/kdebindings/kdebindings-len-ptr-rfloat.diff207
-rw-r--r--source/kde/kdebindings/kdebindings-ruby-env.h.diff139
-rw-r--r--source/kde/kdebindings/kdebindings-rubyconfig.h.diff20
-rw-r--r--source/kde/kdebindings/kdebindings.1170602.sip_4_11_x.diff66
-rwxr-xr-xsource/kde/kdebindings/kdebindings.SlackBuild111
-rw-r--r--source/kde/kdebindings/local.options1
-rw-r--r--source/kde/kdebindings/pykdeuic4.patch22
-rw-r--r--source/kde/kdebindings/slack-desc19
8 files changed, 0 insertions, 585 deletions
diff --git a/source/kde/kdebindings/kdebindings-len-ptr-rfloat.diff b/source/kde/kdebindings/kdebindings-len-ptr-rfloat.diff
deleted file mode 100644
index 0f2edc12..00000000
--- a/source/kde/kdebindings/kdebindings-len-ptr-rfloat.diff
+++ /dev/null
@@ -1,207 +0,0 @@
---- kdebindings-4.3.0/ruby/krossruby/rubyfunction.h.org 2008-07-29 05:47:40.000000000 -0600
-+++ kdebindings-4.3.0/ruby/krossruby/rubyfunction.h 2009-08-09 03:04:00.105143195 -0600
-@@ -88,11 +88,11 @@
- //#endif
- VALUE info = rb_gv_get("$!");
- VALUE bt = rb_funcall(info, rb_intern("backtrace"), 0);
-- VALUE message = RARRAY(bt)->ptr[0];
-+ VALUE message = RARRAY_PTR(bt)[0];
- fprintf(stderr,"%s: %s (%s)\n", STR2CSTR(message), STR2CSTR(rb_obj_as_string(info)), rb_class2name(CLASS_OF(info)));
-- for(int i = 1; i < RARRAY(bt)->len; ++i)
-- if( TYPE(RARRAY(bt)->ptr[i]) == T_STRING )
-- fprintf(stderr,"\tfrom %s\n", STR2CSTR(RARRAY(bt)->ptr[i]));
-+ for(int i = 1; i < RARRAY_LEN(bt); ++i)
-+ if( TYPE(RARRAY_PTR(bt)[i]) == T_STRING )
-+ fprintf(stderr,"\tfrom %s\n", STR2CSTR(RARRAY_PTR(bt)[i]));
- //ruby_nerrs++;
- return Qnil;
- }
---- kdebindings-4.3.0/ruby/krossruby/rubyobject.cpp.org 2008-06-18 06:41:05.000000000 -0600
-+++ kdebindings-4.3.0/ruby/krossruby/rubyobject.cpp 2009-08-08 21:55:21.209147733 -0600
-@@ -34,7 +34,7 @@
-
- VALUE info = rb_gv_get("$!");
- VALUE bt = rb_funcall(info, rb_intern("backtrace"), 0);
-- VALUE message = RARRAY(bt)->ptr[0];
-+ VALUE message = RARRAY_PTR(bt)[0];
-
- QString errormessage = QString("%1: %2 (%3)")
- .arg( STR2CSTR(message) )
-@@ -43,9 +43,9 @@
- fprintf(stderr, "%s\n", errormessage.toLatin1().data());
-
- QString tracemessage;
-- for(int i = 1; i < RARRAY(bt)->len; ++i) {
-- if( TYPE(RARRAY(bt)->ptr[i]) == T_STRING ) {
-- QString s = QString("%1\n").arg( STR2CSTR(RARRAY(bt)->ptr[i]) );
-+ for(int i = 1; i < RARRAY_LEN(bt); ++i) {
-+ if( TYPE(RARRAY_PTR(bt)[i]) == T_STRING ) {
-+ QString s = QString("%1\n").arg( STR2CSTR(RARRAY_PTR(bt)[i]) );
- Q_ASSERT( ! s.isNull() );
- tracemessage += s;
- fprintf(stderr, "\t%s", s.toLatin1().data());
-@@ -74,7 +74,7 @@
- ID functionId = rb_ary_entry(args, 1);
- VALUE arguments = rb_ary_entry(args, 2);
- Q_ASSERT( TYPE(arguments) == T_ARRAY );
-- return rb_funcall2(self, functionId, RARRAY(arguments)->len, RARRAY(arguments)->ptr);
-+ return rb_funcall2(self, functionId, RARRAY_LEN(arguments), RARRAY_PTR(arguments));
- }
-
- class RubyObject::Private
-@@ -112,8 +112,8 @@
- VALUE methods;
- const char* method;
- methods = rb_class_instance_methods(1, args, CLASS_OF(object));
-- for (int i = 0; i < RARRAY(methods)->len; i++) {
-- method = StringValuePtr(RARRAY(methods)->ptr[i]);
-+ for (int i = 0; i < RARRAY_LEN(methods); i++) {
-+ method = StringValuePtr(RARRAY_PTR(methods)[i]);
- krossdebug( QString("RubyObject::RubyObject() method=%1").arg( method ));
- d->calls << method;
- }
---- kdebindings-4.3.0/ruby/krossruby/rubyscript.cpp.org 2009-01-16 08:04:29.000000000 -0700
-+++ kdebindings-4.3.0/ruby/krossruby/rubyscript.cpp 2009-08-08 21:51:36.729148567 -0600
-@@ -47,7 +47,7 @@
-
- VALUE info = rb_gv_get("$!");
- VALUE bt = rb_funcall(info, rb_intern("backtrace"), 0);
-- VALUE message = RARRAY(bt)->ptr[0];
-+ VALUE message = RARRAY_PTR(bt)[0];
-
- QString errormessage = QString("%1: %2 (%3)")
- .arg( STR2CSTR(message) )
-@@ -56,9 +56,9 @@
- fprintf(stderr, "%s\n", errormessage.toLatin1().data());
-
- QString tracemessage;
-- for(int i = 1; i < RARRAY(bt)->len; ++i) {
-- if( TYPE(RARRAY(bt)->ptr[i]) == T_STRING ) {
-- QString s = QString("%1\n").arg( STR2CSTR(RARRAY(bt)->ptr[i]) );
-+ for(int i = 1; i < RARRAY_LEN(bt); ++i) {
-+ if( TYPE(RARRAY_PTR(bt)[i]) == T_STRING ) {
-+ QString s = QString("%1\n").arg( STR2CSTR(RARRAY_PTR(bt)[i]) );
- Q_ASSERT( ! s.isNull() );
- tracemessage += s;
- fprintf(stderr, "\t%s", s.toLatin1().data());
-@@ -361,7 +361,7 @@
- ID functionId = rb_ary_entry(args, 1);
- VALUE arguments = rb_ary_entry(args, 2);
- Q_ASSERT( TYPE(arguments) == T_ARRAY );
-- return rb_funcall2(self, functionId, RARRAY(arguments)->len, RARRAY(arguments)->ptr);
-+ return rb_funcall2(self, functionId, RARRAY_LEN(arguments), RARRAY_PTR(arguments));
- }
-
- QVariant RubyScript::callFunction(const QString& name, const QVariantList& args)
---- kdebindings-4.3.0/ruby/krossruby/rubyvariant.cpp.org 2008-11-19 03:17:32.000000000 -0700
-+++ kdebindings-4.3.0/ruby/krossruby/rubyvariant.cpp 2009-08-08 21:42:27.593112416 -0600
-@@ -487,7 +487,7 @@
- #endif
- QList<void*> list;
- if( TYPE(value) == T_ARRAY ) {
-- for(int i = 0; i < RARRAY(value)->len; i++)
-+ for(int i = 0; i < RARRAY_LEN(value); i++)
- if( void *ptr = VoidList::extractVoidStar(rb_ary_entry(value, i)) )
- list << ptr;
- }
---- kdebindings-4.3.0/ruby/krossruby/rubyvariant.h.org 2008-07-29 05:47:40.000000000 -0600
-+++ kdebindings-4.3.0/ruby/krossruby/rubyvariant.h 2009-08-09 02:51:01.845117051 -0600
-@@ -124,7 +124,7 @@
- case T_BIGNUM:
- return rb_big2int(value);
- case T_FLOAT:
-- return (int)(RFLOAT(value)->value);
-+ return (int)(RFLOAT_VALUE(value));
- default:
- break;
- }
-@@ -147,7 +147,7 @@
- case T_BIGNUM:
- return rb_big2uint(value);
- case T_FLOAT:
-- return (uint)(RFLOAT(value)->value);
-+ return (uint)(RFLOAT_VALUE(value));
- default:
- break;
- }
-@@ -226,7 +226,7 @@
- //return STR2CSTR( rb_inspect(value) );
- return QByteArray("");
- }
-- long length = LONG2NUM( RSTRING(value)->len );
-+ long length = LONG2NUM( RSTRING_LEN(value) );
- if( length < 0 )
- return QByteArray("");
- char* ca = rb_str2cstr(value, &length);
-@@ -261,7 +261,7 @@
- return l;
- }
- inline static QSize toVariant(VALUE value) {
-- if( TYPE(value) != T_ARRAY || RARRAY(value)->len != 2 ) {
-+ if( TYPE(value) != T_ARRAY || RARRAY_LEN(value) != 2 ) {
- rb_raise(rb_eTypeError, "QSize must be an array with 2 elements");
- return QSize();
- }
-@@ -280,7 +280,7 @@
- return l;
- }
- inline static QSizeF toVariant(VALUE value) {
-- if( TYPE(value) != T_ARRAY || RARRAY(value)->len != 2 ) {
-+ if( TYPE(value) != T_ARRAY || RARRAY_LEN(value) != 2 ) {
- rb_raise(rb_eTypeError, "QSizeF must be an array with 2 elements");
- return QSizeF();
- }
-@@ -300,7 +300,7 @@
- return l;
- }
- inline static QPoint toVariant(VALUE value) {
-- if( TYPE(value) != T_ARRAY || RARRAY(value)->len != 2 ) {
-+ if( TYPE(value) != T_ARRAY || RARRAY_LEN(value) != 2 ) {
- rb_raise(rb_eTypeError, "QPoint must be an array with 2 elements");
- return QPoint();
- }
-@@ -319,7 +319,7 @@
- return l;
- }
- inline static QPointF toVariant(VALUE value) {
-- if( TYPE(value) != T_ARRAY || RARRAY(value)->len != 2 ) {
-+ if( TYPE(value) != T_ARRAY || RARRAY_LEN(value) != 2 ) {
- rb_raise(rb_eTypeError, "QPointF must be an array with 2 elements");
- return QPointF();
- }
-@@ -340,7 +340,7 @@
- return l;
- }
- inline static QRect toVariant(VALUE value) {
-- if( TYPE(value) != T_ARRAY || RARRAY(value)->len != 4 ) {
-+ if( TYPE(value) != T_ARRAY || RARRAY_LEN(value) != 4 ) {
- rb_raise(rb_eTypeError, "QRect must be an array with 4 elements");
- return QRect();
- }
-@@ -362,7 +362,7 @@
- return l;
- }
- inline static QRectF toVariant(VALUE value) {
-- if( TYPE(value) != T_ARRAY || RARRAY(value)->len != 4 ) {
-+ if( TYPE(value) != T_ARRAY || RARRAY_LEN(value) != 4 ) {
- rb_raise(rb_eTypeError, "QRectF must be an array with 4 elements");
- return QRectF();
- }
-@@ -447,7 +447,7 @@
- return QStringList();
- }
- QStringList l;
-- for(int i = 0; i < RARRAY(value)->len; i++)
-+ for(int i = 0; i < RARRAY_LEN(value); i++)
- l.append( RubyType<QString>::toVariant( rb_ary_entry(value, i) ) );
- return l;
- }
-@@ -469,7 +469,7 @@
- return QVariantList();
- }
- QVariantList l;
-- for(int i = 0; i < RARRAY(value)->len; i++)
-+ for(int i = 0; i < RARRAY_LEN(value); i++)
- l.append( RubyType<QVariant>::toVariant( rb_ary_entry(value, i) ) );
- return l;
- }
diff --git a/source/kde/kdebindings/kdebindings-ruby-env.h.diff b/source/kde/kdebindings/kdebindings-ruby-env.h.diff
deleted file mode 100644
index 61f404c7..00000000
--- a/source/kde/kdebindings/kdebindings-ruby-env.h.diff
+++ /dev/null
@@ -1,139 +0,0 @@
---- kdebindings-r1016551/ruby/krossruby/rubyextension.cpp.org 2009-08-26 07:50:12.000000000 -0600
-+++ kdebindings-r1016551/ruby/krossruby/rubyextension.cpp 2009-08-29 05:59:57.705834017 -0600
-@@ -278,7 +278,7 @@
- sendersignal = RubyType<QByteArray>::toVariant(argv[1]);
- idx = 2;
- if( argc <= idx ) {
-- rb_raise(rb_eTypeError, ::QString("Expected at least %1 arguments.").arg(idx+1).toLatin1().constData());
-+ /*rb_raise(rb_eTypeError, ::QString("Expected at least %1 arguments.").arg(idx+1).toLatin1().constData());*/
- return Qfalse;
- }
- } break;
-@@ -310,7 +310,7 @@
- */
- #if(!(RUBY_VERSION_MAJOR==1 && RUBY_VERSION_MINOR==8 && RUBY_VERSION_TEENY==4))
- else {
-- rb_raise(rb_eTypeError, ::QString("The argument number %1 is invalid.").arg(idx).toLatin1().constData());
-+ /*rb_raise(rb_eTypeError, ::QString("The argument number %1 is invalid.").arg(idx).toLatin1().constData());*/
- return Qfalse;
- }
- #endif
---- kdebindings-r1016551/ruby/krossruby/rubyfunction.h.org 2009-08-26 07:50:12.000000000 -0600
-+++ kdebindings-r1016551/ruby/krossruby/rubyfunction.h 2009-08-29 06:27:56.393849016 -0600
-@@ -198,7 +198,7 @@
- //VALUE result = rb_funcall2(m_method, rb_intern("call"), argsize, args);
-
- //TODO optimize
-- ruby_in_eval++;
-+ /*ruby_in_eval++;
- VALUE argarray = rb_ary_new2(3);
- rb_ary_store(argarray, 0, m_method); //self
- rb_ary_store(argarray, 1, INT2FIX(argsize));
-@@ -207,7 +207,7 @@
- ruby_in_eval--;
-
- // finally set the returnvalue
-- m_tmpResult = RubyType<QVariant>::toVariant(result);
-+ m_tmpResult = RubyType<QVariant>::toVariant(result);*/
- #ifdef KROSS_RUBY_FUNCTION_DEBUG
- QObject* sender = QObject::sender();
- krossdebug( QString("RubyFunction::qt_metacall sender.objectName=%1 sender.className=%2 result=%3 variantresult=%4").arg(sender->objectName()).arg(sender->metaObject()->className()).arg(STR2CSTR(rb_inspect(result))).arg(m_tmpResult.toString()) );
---- kdebindings-r1016551/ruby/krossruby/rubyobject.cpp.org 2009-08-28 04:05:33.356632000 -0600
-+++ kdebindings-r1016551/ruby/krossruby/rubyobject.cpp 2009-08-29 05:22:50.886344151 -0600
-@@ -52,7 +52,7 @@
- }
- }
-
-- ruby_nerrs++;
-+ /*ruby_nerrs++;*/
- /*
- VALUE rubyscriptvalue = rb_funcall(self, rb_intern("const_get"), 1, ID2SYM(rb_intern("RUBYSCRIPTOBJ")));
- RubyScript* rubyscript;
---- kdebindings-r1016551/ruby/krossruby/rubyscript.cpp.org 2009-08-28 04:05:33.360633000 -0600
-+++ kdebindings-r1016551/ruby/krossruby/rubyscript.cpp 2009-08-29 05:21:52.226333617 -0600
-@@ -65,7 +65,7 @@
- }
- }
-
-- ruby_nerrs++;
-+/* ruby_nerrs++;*/
-
- VALUE rubyscriptvalue = rb_funcall(self, rb_intern("const_get"), 1, ID2SYM(rb_intern("RUBYSCRIPTOBJ")));
- RubyScript* rubyscript;
-@@ -173,11 +173,11 @@
- // needed to prevent infinitive loops ifour scripting call uses e.g. callFunction
- m_hasBeenSuccessFullyExecuted = true;
-
-- const int critical = rb_thread_critical;
-- rb_thread_critical = Qtrue;
-+ /*const int critical = rb_thread_critical;*/
-+ /*rb_thread_critical = Qtrue;
-
- ruby_nerrs = 0;
-- ruby_errinfo = Qnil;
-+ ruby_errinfo = Qnil;*/
-
- VALUE args = rb_ary_new2(3);
- rb_ary_store(args, 0, m_script); //self
-@@ -192,24 +192,24 @@
- }
- */
-
-- ruby_in_eval++;
-+ /*ruby_in_eval++;*/
- VALUE result = rb_rescue2((VALUE(*)(...))callExecute, args, (VALUE(*)(...))callExecuteException, m_script, rb_eException, 0);
-- ruby_in_eval--;
-+ /*ruby_in_eval--;*/
-
-- if (ruby_nerrs != 0) {
-+ /*if (ruby_nerrs != 0) {
- //#ifdef KROSS_RUBY_SCRIPT_EXECUTE_DEBUG
- krossdebug( QString("Compilation has failed. errorMessage=%1 errorTrace=\n%2\n").arg(q->errorMessage()).arg(q->errorTrace()) );
- //#endif
- m_hasBeenSuccessFullyExecuted = false;
- } else {
- m_hasBeenSuccessFullyExecuted = true;
-- }
-+ }*/
-
- #ifdef KROSS_RUBY_EXPLICIT_GC
- rb_gc();
- #endif
-
-- rb_thread_critical = critical;
-+ /*rb_thread_critical = critical;*/
- return result;
- }
-
-@@ -371,9 +371,9 @@
- krossdebug( QString("RubyScript::callFunction() name=%1").arg(name) );
- #endif
-
-- const int critical = rb_thread_critical;
-+ /*const int critical = rb_thread_critical;
- rb_thread_critical = Qtrue;
-- ruby_in_eval++;
-+ ruby_in_eval++;*/
- //ruby_current_node
-
- if( ! d->m_hasBeenSuccessFullyExecuted ) {
-@@ -383,7 +383,7 @@
- #ifdef KROSS_RUBY_SCRIPT_CALLFUNCTION_DEBUG
- krossdebug("RubyScript::callFunction failed");
- #endif
-- setError( QString("Failed to call function \"%1\": %2").arg(name).arg(STR2CSTR( rb_obj_as_string(ruby_errinfo) )) ); // TODO: get the error
-+ /*setError( QString("Failed to call function \"%1\": %2").arg(name).arg(STR2CSTR( rb_obj_as_string(ruby_errinfo) )) ); // TODO: get the error*/
- }
- else {
- //VALUE self = rb_eval_string("self");
-@@ -413,8 +413,8 @@
- // rb_gc(); // This one is plainly wrong, since there is a good deal of chance that it will delete the content of result before it is used
- #endif
-
-- ruby_in_eval--;
-- rb_thread_critical = critical;
-+ /*ruby_in_eval--;
-+ rb_thread_critical = critical;*/
-
- return result;
- }
diff --git a/source/kde/kdebindings/kdebindings-rubyconfig.h.diff b/source/kde/kdebindings/kdebindings-rubyconfig.h.diff
deleted file mode 100644
index aa8b426d..00000000
--- a/source/kde/kdebindings/kdebindings-rubyconfig.h.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- kdebindings-4.3.0/ruby/krossruby/rubyconfig.h.org 2009-01-16 08:04:29.000000000 -0700
-+++ kdebindings-4.3.0/ruby/krossruby/rubyconfig.h 2009-08-08 23:14:59.917148261 -0600
-@@ -21,12 +21,12 @@
- #define KROSS_RUBY_CONFIG_H
-
- #include <ruby.h>
--#include <env.h>
--#include <rubysig.h>
--#include <node.h>
--#include <version.h>
-+//#include <env.h>
-+#include <ruby/backward/rubysig.h>
-+#include <ruby/node.h>
-+#include <ruby/version.h>
-
--#include <st.h>
-+#include <ruby/st.h>
- //#include <typeinfo>
-
- #include <kross/core/krossconfig.h>
diff --git a/source/kde/kdebindings/kdebindings.1170602.sip_4_11_x.diff b/source/kde/kdebindings/kdebindings.1170602.sip_4_11_x.diff
deleted file mode 100644
index b925f97c..00000000
--- a/source/kde/kdebindings/kdebindings.1170602.sip_4_11_x.diff
+++ /dev/null
@@ -1,66 +0,0 @@
-Index: python/pykde4/sip/kdecore/typedefs.sip
-===================================================================
---- python/pykde4/sip/kdecore/typedefs.sip (revision 1170601)
-+++ python/pykde4/sip/kdecore/typedefs.sip (revision 1170602)
-@@ -733,61 +733,6 @@
- };
-
-
--%MappedType QList<uint>
--{
--%TypeHeaderCode
--#include <qlist.h>
--%End
--
--%ConvertFromTypeCode
-- // Create the list.
-- PyObject *l;
--
-- if ((l = PyList_New(sipCpp->size())) == NULL)
-- return NULL;
--
-- // Set the list elements.
-- for (int i = 0; i < sipCpp->size(); ++i) {
-- PyObject *pobj;
--
--#if PY_MAJOR_VERSION >= 3
-- if ((pobj = PyLong_FromLong(sipCpp->value(i))) == NULL) {
--#else
-- if ((pobj = PyInt_FromLong(sipCpp->value(i))) == NULL) {
--#endif
-- Py_DECREF(l);
--
-- return NULL;
-- }
--
-- PyList_SET_ITEM(l, i, pobj);
-- }
--
-- return l;
--%End
--
--%ConvertToTypeCode
-- // Check the type if that is all that is required.
-- if (sipIsErr == NULL)
-- return PyList_Check(sipPy);
--
-- QList<uint> *ql = new QList<uint>;
--
-- for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i) {
--#if PY_MAJOR_VERSION >= 3
-- ql->append(PyLong_AsLong(PyList_GET_ITEM(sipPy, i)));
--#else
-- ql->append(PyInt_AsLong(PyList_GET_ITEM(sipPy, i)));
--#endif
-- }
--
-- *sipCppPtr = ql;
--
-- return sipGetState(sipTransferObj);
--%End
--};
--
--
- template <TYPE*>
- %MappedType QStack<TYPE*>
- {
diff --git a/source/kde/kdebindings/kdebindings.SlackBuild b/source/kde/kdebindings/kdebindings.SlackBuild
deleted file mode 100755
index c07ab1ab..00000000
--- a/source/kde/kdebindings/kdebindings.SlackBuild
+++ /dev/null
@@ -1,111 +0,0 @@
-#!/bin/sh
-
-# Copyright 2009, 2010 Patrick J. Volkerding, Sebeka, MN, USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp}
-PKG=$TMP/package-kdebindings
-
-# Set the config option variables if they are not already set:
-if [ -r ../KDE.options ]; then
- . ../KDE.options
-fi
-
-# The global options may be overridden here (if needed):
-if [ -r ./local.options ]; then
- . ./local.options
-fi
-
-# Avoid a version number in .la files:
-if [ -d /usr/lib${LIBDIRSUFFIX}/qt ]; then
- QTDIR=/usr/lib${LIBDIRSUFFIX}/qt
-fi
-
-rm -rf $PKG
-mkdir -p $PKG/usr
-cd $TMP
-echo "Building kdebindings-$VERSION..."
-tar xvf $CWD/../src/kdebindings-$VERSION.tar.?z* || exit 1
-cd kdebindings-$VERSION
-
-zcat $CWD/kdebindings-len-ptr-rfloat.diff.gz | patch -p1 --verbose || exit 1
-zcat $CWD/kdebindings-ruby-env.h.diff.gz | patch -p1 --verbose || exit 1
-zcat $CWD/kdebindings-rubyconfig.h.diff.gz | patch -p1 --verbose || exit 1
-zcat $CWD/kdebindings.1170602.sip_4_11_x.diff.gz | patch -p0 --verbose || exit 1
-( cd python/pykde4/tools/pykdeuic4 ; zcat $CWD/pykdeuic4.patch.gz | patch -p0 --verbose || exit 1 ) || exit 1
-
-chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-# Set 'vendorarch' (install location for vendor shipped
-# architecture dependent perl modules):
-eval $(perl '-V:vendorarch')
-
-# -DENABLE_PYKDE4:BOOL=OFF \
-mkdir -p build
-cd build
- #-DCMAKE_BACKWARDS_COMPATIBILITY:STRING="2.2" \
- cmake \
- $KDE_OPT_ARGS \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DMAN_INSTALL_DIR=/usr/man \
- -DCUSTOM_PERL_SITE_ARCH_DIR=$vendorarch \
- -DSYSCONF_INSTALL_DIR=/etc/kde \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DENABLE_QYOTO:BOOL=OFF \
- -DENABLE_QSCINTILLA_SHARP:BOOL=OFF \
- -DENABLE_KIMONO:BOOL=OFF \
- -DBUILD_csharp:BOOL=OFF \
- ..
- # kdebindings has (in the past, on several occasions) barfed on multijobs,
- # so no $NUMJOBS here. We run make twice because the first time is not
- # 100% successful either...:
- make || make || exit 1
- make install DESTDIR=$PKG || exit 1
-cd -
-
-if [ -d $PKG/usr/man ]; then
- gzip -9 $PKG/usr/man/man?/*
-fi
-
-mkdir -p $PKG/usr/doc/kdebindings-$VERSION
-cp -a AUTHORS COPYING* INSTALL NEWS README \
- $PKG/usr/doc/kdebindings-$VERSION
-
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-)
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $TMP/kdebindings-$VERSION-$ARCH-$BUILD.txz
-
diff --git a/source/kde/kdebindings/local.options b/source/kde/kdebindings/local.options
deleted file mode 100644
index aae3c765..00000000
--- a/source/kde/kdebindings/local.options
+++ /dev/null
@@ -1 +0,0 @@
-BUILD=2
diff --git a/source/kde/kdebindings/pykdeuic4.patch b/source/kde/kdebindings/pykdeuic4.patch
deleted file mode 100644
index 7cd77946..00000000
--- a/source/kde/kdebindings/pykdeuic4.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-Index: pykdeuic4.py
-===================================================================
---- pykdeuic4.py (revisione 1209658)
-+++ pykdeuic4.py (copia locale)
-@@ -39,7 +39,7 @@
- def __init__(self,string):
- original_i18n_string.__init__(self,string)
- def __str__(self):
-- return "kdecore.i18n(\"%s\")" % (qtproxies.escape(self.string),)
-+ return "kdecore.i18n(\"%s\")" % (qtproxies.as_string(self.string),)
- qtproxies.i18n_string = kde_i18n_string
-
- def kdeFilter():
-@@ -71,7 +71,7 @@
- indenter.indentwidth = indent
- comp = compiler.UICompiler()
- comp.factory._cwFilters.append(kdeFilter())
-- winfo = comp.compileUi(uifile, output)
-+ winfo = comp.compileUi(uifile, output, "")
-
- if exe:
- output.write("""
diff --git a/source/kde/kdebindings/slack-desc b/source/kde/kdebindings/slack-desc
deleted file mode 100644
index e927c76f..00000000
--- a/source/kde/kdebindings/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|' on
-# the right side marks the last column you can put a character in. You must make
-# exactly 11 lines for the formatting to be correct. It's also customary to
-# leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-kdebindings: kdebindings (KDE language bindings)
-kdebindings:
-kdebindings: KDE and most KDE applications are implemented using the C++
-kdebindings: programming language, but that doesn't mean you don't have a choice.
-kdebindings: This package contains a number of bindings to other languages,
-kdebindings: including scripting languages and other systems' programming
-kdebindings: languages, allowing them to be used to create applications for the
-kdebindings: KDE Platform.
-kdebindings:
-kdebindings:
-kdebindings: