removed extra/kdegames-ksirk

This commit is contained in:
Kevin Mihelich 2017-12-17 14:30:00 +00:00
parent 05d0995071
commit 9aa8b3518b
2 changed files with 0 additions and 92 deletions

View file

@ -1,43 +0,0 @@
# $Id$
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - patch from Fedora to fix FTBFS on ARM
pkgname=kdegames-ksirk
pkgver=17.08.3
pkgrel=1
pkgdesc="A computerized version of a well known strategy game"
url="https://kde.org/applications/games/ksirk/"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL')
groups=('kde-applications' 'kdegames')
depends=('kdebase-runtime' 'libkdegames4' 'qca-qt4')
makedepends=('cmake' 'automoc4')
source=("https://download.kde.org/stable/applications/$pkgver/src/ksirk-$pkgver.tar.xz"{,.sig}
'ksirk-15.12.1-iris_base64.patch')
sha256sums=('35ded5065ee2335240a47daa1d931546acd6d2ca6d5f2884e9c7333912740198'
'SKIP'
'04a8cc75458bf55f40073cbffabd8fada59d65eea9d389e62f029e3e868b1e6c')
validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aacid@kde.org>
F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck@kde.org>
prepare() {
patch -d ksirk-${pkgver} -p1 -i ../ksirk-15.12.1-iris_base64.patch
}
build() {
mkdir -p build
cd build
cmake ../ksirk-$pkgver \
-DCMAKE_BUILD_TYPE=Release \
-DKDE4_BUILD_TESTS=OFF \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}

View file

@ -1,49 +0,0 @@
diff -up ksirk-15.12.1/ksirk/iris/src/CMakeLists.txt.iris_base64 ksirk-15.12.1/ksirk/iris/src/CMakeLists.txt
--- ksirk-15.12.1/ksirk/iris/src/CMakeLists.txt.iris_base64 2016-01-28 14:00:49.804584004 -0600
+++ ksirk-15.12.1/ksirk/iris/src/CMakeLists.txt 2016-01-28 14:02:19.778300698 -0600
@@ -29,7 +29,6 @@ set(libiris_SRCS
libidn/rfc3454.c
libidn/stringprep.c
xmpp/base/randomnumbergenerator.cpp
- xmpp/base64/base64.cpp
xmpp/cutestuff/bsocket.cpp
xmpp/cutestuff/bytestream.cpp
xmpp/cutestuff/httpconnect.cpp
@@ -104,7 +103,6 @@ irisnet/corelib/objectsession.h
irisnet/noncore/processquit.h
jdns/qjdns.h
xmpp/base/randrandomnumbergenerator.h
-xmpp/base64/base64.h
xmpp/cutestuff/bsocket.h
xmpp/cutestuff/bytestream.h
xmpp/cutestuff/httpconnect.h
diff -up ksirk-15.12.1/ksirk/iris/src/xmpp/modules.pri.iris_base64 ksirk-15.12.1/ksirk/iris/src/xmpp/modules.pri
--- ksirk-15.12.1/ksirk/iris/src/xmpp/modules.pri.iris_base64 2015-12-15 13:27:19.000000000 -0600
+++ ksirk-15.12.1/ksirk/iris/src/xmpp/modules.pri 2016-01-28 14:00:49.808584036 -0600
@@ -3,4 +3,4 @@ IRIS_XMPP_JID_MODULE = $$PWD/jid/jid.pri
IRIS_XMPP_SASL_MODULE = $$PWD/sasl/sasl.pri
IRIS_XMPP_BASE_MODULE = $$PWD/base/base.pri
IRIS_XMPP_ZLIB_MODULE = $$PWD/zlib/zlib.pri
-IRIS_XMPP_BASE64_MODULE = $$PWD/base64/base64.pri
+#IRIS_XMPP_BASE64_MODULE = $$PWD/base64/base64.pri
diff -up ksirk-15.12.1/ksirk/iris/src/xmpp/sasl/digestmd5response.cpp.iris_base64 ksirk-15.12.1/ksirk/iris/src/xmpp/sasl/digestmd5response.cpp
--- ksirk-15.12.1/ksirk/iris/src/xmpp/sasl/digestmd5response.cpp.iris_base64 2015-12-15 13:27:19.000000000 -0600
+++ ksirk-15.12.1/ksirk/iris/src/xmpp/sasl/digestmd5response.cpp 2016-01-28 14:00:49.808584036 -0600
@@ -11,7 +11,7 @@
#include "xmpp/sasl/digestmd5proplist.h"
#include "xmpp/base/randomnumbergenerator.h"
-#include "xmpp/base64/base64.h"
+//#include "xmpp/base64/base64.h"
namespace XMPP {
@@ -33,7 +33,7 @@ DIGESTMD5Response::DIGESTMD5Response(con
for(int n = 0; n < (int)a.size(); ++n) {
a[n] = (char) rand.generateNumberBetween(0, 255);
}
- QByteArray cnonce = Base64::encode(a).toLatin1();
+ QByteArray cnonce = a.toBase64();
// make other variables
if (realm.isEmpty()) {