for build kde5 need deps 1
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt.
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import cmaketools
|
||||
from pisi.actionsapi import shelltools
|
||||
|
||||
def setup():
|
||||
shelltools.makedirs("build")
|
||||
|
||||
shelltools.cd("build")
|
||||
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DBUILD_TESTS=OFF \
|
||||
-DQCA_SUFFIX=qt5 \
|
||||
-DQCA_INSTALL_IN_QT_PREFIX=ON", sourceDir="..")
|
||||
|
||||
|
||||
def build():
|
||||
shelltools.cd("build")
|
||||
cmaketools.make()
|
||||
|
||||
def install():
|
||||
shelltools.cd("build")
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
shelltools.cd("..")
|
||||
pisitools.dodoc("README", "TODO", "COPYING")
|
||||
|
||||
pisitools.domove("/usr/share/qt5/man/man1/qcatool-qt5.1", "/usr/share/man/man1/qcatool-qt5.1")
|
||||
pisitools.removeDir("/usr/share/qt5")
|
||||
@@ -0,0 +1,59 @@
|
||||
--- src/botantools/botan/botan/secmem.h.orig 2012/01/14 16:09:19 1273507
|
||||
+++ src/botantools/botan/botan/secmem.h 2012/01/14 17:12:15 1273508
|
||||
@@ -191,15 +191,15 @@
|
||||
{
|
||||
public:
|
||||
MemoryVector<T>& operator=(const MemoryRegion<T>& in)
|
||||
- { if(this != &in) set(in); return (*this); }
|
||||
+ { if(this != &in) this->set(in); return (*this); }
|
||||
|
||||
MemoryVector(u32bit n = 0) { MemoryRegion<T>::init(false, n); }
|
||||
MemoryVector(const T in[], u32bit n)
|
||||
- { MemoryRegion<T>::init(false); set(in, n); }
|
||||
+ { MemoryRegion<T>::init(false); this->set(in, n); }
|
||||
MemoryVector(const MemoryRegion<T>& in)
|
||||
- { MemoryRegion<T>::init(false); set(in); }
|
||||
+ { MemoryRegion<T>::init(false); this->set(in); }
|
||||
MemoryVector(const MemoryRegion<T>& in1, const MemoryRegion<T>& in2)
|
||||
- { MemoryRegion<T>::init(false); set(in1); append(in2); }
|
||||
+ { MemoryRegion<T>::init(false); this->set(in1); append(in2); }
|
||||
};
|
||||
|
||||
/*************************************************
|
||||
@@ -210,15 +210,15 @@
|
||||
{
|
||||
public:
|
||||
SecureVector<T>& operator=(const MemoryRegion<T>& in)
|
||||
- { if(this != &in) set(in); return (*this); }
|
||||
+ { if(this != &in) this->set(in); return (*this); }
|
||||
|
||||
SecureVector(u32bit n = 0) { MemoryRegion<T>::init(true, n); }
|
||||
SecureVector(const T in[], u32bit n)
|
||||
- { MemoryRegion<T>::init(true); set(in, n); }
|
||||
+ { MemoryRegion<T>::init(true); this->set(in, n); }
|
||||
SecureVector(const MemoryRegion<T>& in)
|
||||
- { MemoryRegion<T>::init(true); set(in); }
|
||||
+ { MemoryRegion<T>::init(true); this->set(in); }
|
||||
SecureVector(const MemoryRegion<T>& in1, const MemoryRegion<T>& in2)
|
||||
- { MemoryRegion<T>::init(true); set(in1); append(in2); }
|
||||
+ { MemoryRegion<T>::init(true); this->set(in1); append(in2); }
|
||||
};
|
||||
|
||||
/*************************************************
|
||||
@@ -229,14 +229,14 @@
|
||||
{
|
||||
public:
|
||||
SecureBuffer<T,L>& operator=(const SecureBuffer<T,L>& in)
|
||||
- { if(this != &in) set(in); return (*this); }
|
||||
+ { if(this != &in) this->set(in); return (*this); }
|
||||
|
||||
SecureBuffer() { MemoryRegion<T>::init(true, L); }
|
||||
SecureBuffer(const T in[], u32bit n)
|
||||
{ MemoryRegion<T>::init(true, L); copy(in, n); }
|
||||
private:
|
||||
SecureBuffer<T, L>& operator=(const MemoryRegion<T>& in)
|
||||
- { if(this != &in) set(in); return (*this); }
|
||||
+ { if(this != &in) this->set(in); return (*this); }
|
||||
};
|
||||
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
--- trunk/kdesupport/qca/include/QtCrypto/qca_publickey.h 2008/05/16 20:41:50 808523
|
||||
+++ trunk/kdesupport/qca/include/QtCrypto/qca_publickey.h 2009/07/07 12:24:51 992617
|
||||
@@ -68,7 +68,11 @@
|
||||
EMSA3_MD5, ///< MD5, with EMSA3 (ie PKCS#1 Version 1.5) encoding (this is the usual RSA algorithm)
|
||||
EMSA3_MD2, ///< MD2, with EMSA3 (ie PKCS#1 Version 1.5) encoding
|
||||
EMSA3_RIPEMD160, ///< RIPEMD160, with EMSA3 (ie PKCS#1 Version 1.5) encoding
|
||||
- EMSA3_Raw ///< EMSA3 without computing a message digest or a DigestInfo encoding (identical to PKCS#11's CKM_RSA_PKCS mechanism)
|
||||
+ EMSA3_Raw, ///< EMSA3 without computing a message digest or a DigestInfo encoding (identical to PKCS#11's CKM_RSA_PKCS mechanism)
|
||||
+ EMSA3_SHA224, ///< SHA224, with EMSA3 (ie PKCS#1 Version 1.5) encoding
|
||||
+ EMSA3_SHA256, ///< SHA256, with EMSA3 (ie PKCS#1 Version 1.5) encoding
|
||||
+ EMSA3_SHA384, ///< SHA384, with EMSA3 (ie PKCS#1 Version 1.5) encoding
|
||||
+ EMSA3_SHA512 ///< SHA512, with EMSA3 (ie PKCS#1 Version 1.5) encoding
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -0,0 +1,23 @@
|
||||
From: Hrvoje Senjan <hrvoje.senjan@gmail.com>
|
||||
Date: Sat, 17 Jan 2015 19:12:18 +0000
|
||||
Subject: Add missing QIODevice include
|
||||
X-Git-Url: http://quickgit.kde.org/?p=qca.git&a=commitdiff&h=7207e6285e932044cd66d49d0dc484666cfb0092
|
||||
---
|
||||
Add missing QIODevice include
|
||||
|
||||
Fixes build with Qt 5.5
|
||||
---
|
||||
|
||||
|
||||
--- a/include/QtCrypto/qca_basic.h
|
||||
+++ b/include/QtCrypto/qca_basic.h
|
||||
@@ -35,6 +35,8 @@
|
||||
|
||||
#include "qca_core.h"
|
||||
|
||||
+#include <QIODevice>
|
||||
+
|
||||
// Qt5 comes with QStringLiteral for wrapping string literals, which Qt4 does
|
||||
// not have. It is needed if the headers are built with QT_NO_CAST_FROM_ASCII.
|
||||
// Defining it here as QString::fromUtf8 for convenience.
|
||||
|
||||
@@ -0,0 +1,67 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>qca2-qt5</Name>
|
||||
<Homepage>http://delta.affinix.com/download/qca/2.0/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2.1</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Cryptographic Architecture for QT4</Summary>
|
||||
<Description>QCA aims to provide a straightforward and cross-platform crypto API, using Qt datatypes and conventions. QCA separates the API from the implementation, using plugins known as Providers. QCA2 has been re-written for QT4.</Description>
|
||||
<Archive sha1sum="2b582b3ccc7e6098cd14d6f52a829ae1539e9cc8" type="targz">http://delta.affinix.com/download/qca/2.0/qca-2.1.0.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>qt5-base-devel</Dependency>
|
||||
<Dependency>nss-devel</Dependency>
|
||||
<Dependency>doxygen</Dependency>
|
||||
<Dependency>cmake</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!--Patch level="3">qca2-sha2-digest-support-kde-svn-992617.diff</Patch>
|
||||
<Patch level="0">qca-2.0.3+gcc-4.7.patch</Patch-->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>qca2-qt5</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>qt5-base</Dependency>
|
||||
<Dependency>nss</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="executable">/usr/qt/4/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="data">/usr/share/qca</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>qca2-qt5-devel</Name>
|
||||
<Summary>Development files for qca2</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">qca2-qt5</Dependency>
|
||||
<Dependency>qt5-base-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include/qt5/QtCrypto</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig/qca2.pc</Path>
|
||||
<Path fileType="data">/usr/share/qt4/mkspecs/features</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2015-07-23</Date>
|
||||
<Version>2.1.0</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>qca2</Name>
|
||||
<Summary xml:lang="tr">QT4 için Kriptografik Mimari</Summary>
|
||||
<Description xml:lang="tr">QCA Qt veri tiplerini kullanarak platform bağımsız bir kripto uygulama programlama arayüzü oluşturmayı amaçlar.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>qca2-devel</Name>
|
||||
<Summary xml:lang="tr">qca2 için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user