[arch-commits] Commit in kdebindings-korundum/kde-unstable (3 files)

Andrea Scarpino andrea at archlinux.org
Sat May 26 00:16:18 UTC 2012


    Date: Friday, May 25, 2012 @ 20:16:17
  Author: andrea
Revision: 159633

KDE 4.9 fixes

Added:
  kdebindings-korundum/kde-unstable/ruby19.patch
Modified:
  kdebindings-korundum/kde-unstable/PKGBUILD
Deleted:
  kdebindings-korundum/kde-unstable/korundum-4.8.0-ruby19.patch

-----------------------------+
 PKGBUILD                    |   11 ++++++-----
 korundum-4.8.0-ruby19.patch |   30 ------------------------------
 ruby19.patch                |   30 ++++++++++++++++++++++++++++++
 3 files changed, 36 insertions(+), 35 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-05-26 00:16:15 UTC (rev 159632)
+++ PKGBUILD	2012-05-26 00:16:17 UTC (rev 159633)
@@ -4,8 +4,8 @@
 pkgname=kdebindings-korundum
 pkgver=4.8.80
 pkgrel=1
-pkgdesc="KDE bindings for ruby"
-url="http://kde.org/"
+pkgdesc="Ruby bindings for libraries created by the KDE community"
+url="https://projects.kde.org/projects/kde/kdebindings/ruby/korundum"
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL')
 groups=('kdebindings')
@@ -15,14 +15,15 @@
 conflicts=('kdebindings-ruby')
 options=('!makeflags')
 source=("http://download.kde.org/unstable/${pkgver}/src/korundum-${pkgver}.tar.xz"
-        'korundum-4.8.0-ruby19.patch')
+        'ruby19.patch')
 sha1sums=('0beb858c76fe21d6575ee48cb8490013ff360ad7'
           '73299f56a891d8a5475ac07dd485619859312f70')
 
 build() {
   cd "${srcdir}/korundum-${pkgver}"
-  patch -p1 -i "${srcdir}/korundum-4.8.0-ruby19.patch"
-  cd ..
+  patch -p1 -i "${srcdir}/ruby19.patch"
+
+  cd "${srcdir}"
   mkdir build
   cd build
 

Deleted: korundum-4.8.0-ruby19.patch
===================================================================
--- korundum-4.8.0-ruby19.patch	2012-05-26 00:16:15 UTC (rev 159632)
+++ korundum-4.8.0-ruby19.patch	2012-05-26 00:16:17 UTC (rev 159633)
@@ -1,30 +0,0 @@
-diff -up korundum-4.8.0/src/krubypluginfactory.cpp.ruby19 korundum-4.8.0/src/krubypluginfactory.cpp
---- korundum-4.8.0/src/krubypluginfactory.cpp.ruby19	2011-07-27 13:37:29.000000000 -0500
-+++ korundum-4.8.0/src/krubypluginfactory.cpp	2012-02-17 08:30:38.785635819 -0600
-@@ -39,7 +39,7 @@
- extern "C" {
- extern VALUE rb_load_path;
- extern VALUE qt_internal_module;
--void Init_prelude(void);
-+// void Init_prelude(void);
- }
- 
- //
-@@ -165,7 +165,7 @@ QObject *KRubyPluginFactory::create(cons
- #if RUBY_VERSION >= 0x10900
-     VALUE gem = rb_define_module("Gem");
-     rb_const_set(gem, rb_intern("Enable"), Qtrue);
--    Init_prelude(); 
-+//    Init_prelude(); 
- #endif
- 
-     ruby_incpush(QFile::encodeName(program.path()));
-@@ -342,7 +342,7 @@ int kdemain(int argc, char **argv)
- #if RUBY_VERSION >= 0x10900
-     VALUE gem = rb_define_module("Gem");
-     rb_const_set(gem, rb_intern("Enable"), Qtrue);
--    Init_prelude();                                             
-+//    Init_prelude();                                             
- #endif
- 
-     ruby_incpush(QFile::encodeName(program.path()));

Added: ruby19.patch
===================================================================
--- ruby19.patch	                        (rev 0)
+++ ruby19.patch	2012-05-26 00:16:17 UTC (rev 159633)
@@ -0,0 +1,30 @@
+diff -up korundum-4.8.0/src/krubypluginfactory.cpp.ruby19 korundum-4.8.0/src/krubypluginfactory.cpp
+--- korundum-4.8.0/src/krubypluginfactory.cpp.ruby19	2011-07-27 13:37:29.000000000 -0500
++++ korundum-4.8.0/src/krubypluginfactory.cpp	2012-02-17 08:30:38.785635819 -0600
+@@ -39,7 +39,7 @@
+ extern "C" {
+ extern VALUE rb_load_path;
+ extern VALUE qt_internal_module;
+-void Init_prelude(void);
++// void Init_prelude(void);
+ }
+ 
+ //
+@@ -165,7 +165,7 @@ QObject *KRubyPluginFactory::create(cons
+ #if RUBY_VERSION >= 0x10900
+     VALUE gem = rb_define_module("Gem");
+     rb_const_set(gem, rb_intern("Enable"), Qtrue);
+-    Init_prelude(); 
++//    Init_prelude(); 
+ #endif
+ 
+     ruby_incpush(QFile::encodeName(program.path()));
+@@ -342,7 +342,7 @@ int kdemain(int argc, char **argv)
+ #if RUBY_VERSION >= 0x10900
+     VALUE gem = rb_define_module("Gem");
+     rb_const_set(gem, rb_intern("Enable"), Qtrue);
+-    Init_prelude();                                             
++//    Init_prelude();                                             
+ #endif
+ 
+     ruby_incpush(QFile::encodeName(program.path()));




More information about the arch-commits mailing list