mirror of
https://github.com/moparisthebest/arch-ppa
synced 2024-11-13 12:25:02 -05:00
Add spectrum2 and biboumi and deps
This commit is contained in:
parent
c1a9c881e0
commit
48040645c9
28
src/biboumi/.SRCINFO
Normal file
28
src/biboumi/.SRCINFO
Normal file
@ -0,0 +1,28 @@
|
||||
# Generated by mksrcinfo v8
|
||||
# Wed Aug 17 12:51:00 UTC 2016
|
||||
pkgbase = biboumi
|
||||
pkgdesc = XMPP gateway to IRC
|
||||
pkgver = 3.0
|
||||
pkgrel = 3
|
||||
url = https://biboumi.louiz.org/
|
||||
install = biboumi.install
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
arch = armv7h
|
||||
arch = aarch64
|
||||
license = ZLIB
|
||||
makedepends = cmake
|
||||
makedepends = pandoc
|
||||
depends = expat
|
||||
depends = libidn
|
||||
depends = c-ares
|
||||
depends = botan
|
||||
depends = litesql-git
|
||||
backup = etc/biboumi/biboumi.cfg
|
||||
source = https://git.louiz.org/biboumi/snapshot/biboumi-3.0.tar.xz
|
||||
source = sysuser.conf
|
||||
md5sums = a012516d2a2ba600d16351c8b93f2690
|
||||
md5sums = 07c92af3248861ce94d361e98cfb7f5c
|
||||
|
||||
pkgname = biboumi
|
||||
|
44
src/biboumi/PKGBUILD
Normal file
44
src/biboumi/PKGBUILD
Normal file
@ -0,0 +1,44 @@
|
||||
# Maintainer: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
|
||||
|
||||
pkgname=biboumi
|
||||
pkgver=3.0
|
||||
pkgrel=3
|
||||
pkgdesc="XMPP gateway to IRC"
|
||||
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
|
||||
url="https://biboumi.louiz.org/"
|
||||
license=('ZLIB')
|
||||
depends=('expat' 'libidn' 'c-ares' 'botan' 'litesql-git')
|
||||
makedepends=('cmake' 'pandoc')
|
||||
backup=("etc/$pkgname/$pkgname.cfg")
|
||||
install="$pkgname.install"
|
||||
source=("https://git.louiz.org/biboumi/snapshot/$pkgname-$pkgver.tar.xz"
|
||||
'sysuser.conf')
|
||||
md5sums=('a012516d2a2ba600d16351c8b93f2690'
|
||||
'07c92af3248861ce94d361e98cfb7f5c')
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
mkdir -p build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$pkgname-$pkgver/build"
|
||||
cmake .. \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DSERVICE_USER=biboumi \
|
||||
-DSERVICE_GROUP=jabber
|
||||
make biboumi
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname-$pkgver/build"
|
||||
make DESTDIR="$pkgdir/" install
|
||||
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
install -Dm644 doc/biboumi.1.rst "$pkgdir/usr/share/doc/$pkgname/$pkgname.rst"
|
||||
|
||||
cd "$srcdir"
|
||||
install -Dm644 sysuser.conf "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
|
||||
}
|
13
src/biboumi/biboumi.install
Normal file
13
src/biboumi/biboumi.install
Normal file
@ -0,0 +1,13 @@
|
||||
post_install() {
|
||||
systemd-sysusers biboumi.conf
|
||||
install -dm750 -o biboumi -g jabber var/lib/biboumi
|
||||
install -dm750 -o biboumi -g jabber var/log/biboumi
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install $1
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
systemd-sysusers biboumi.conf
|
||||
}
|
3
src/biboumi/sysuser.conf
Normal file
3
src/biboumi/sysuser.conf
Normal file
@ -0,0 +1,3 @@
|
||||
g jabber 17 - -
|
||||
u biboumi - "Biboumi, XMPP gateway to IRC" /var/lib/biboumi
|
||||
m biboumi jabber
|
18
src/libcommuni/.SRCINFO
Normal file
18
src/libcommuni/.SRCINFO
Normal file
@ -0,0 +1,18 @@
|
||||
# Generated by mksrcinfo v8
|
||||
# Mon Jan 4 18:51:58 UTC 2016
|
||||
pkgbase = libcommuni
|
||||
pkgdesc = A cross-platform IRC framework written with Qt.
|
||||
pkgver = 3.4.0
|
||||
pkgrel = 1
|
||||
url = https://communi.github.io/
|
||||
arch = x86_64
|
||||
arch = i686
|
||||
license = custom
|
||||
depends = qt5-declarative
|
||||
provides = libcommuni
|
||||
conflicts = libcommuni
|
||||
source = libcommuni-v3.4.0.tar.gz::https://github.com/communi/libcommuni/archive/v3.4.0.tar.gz
|
||||
md5sums = 987fa2143324ab3f1843483053bf711f
|
||||
|
||||
pkgname = libcommuni
|
||||
|
44
src/libcommuni/PKGBUILD
Normal file
44
src/libcommuni/PKGBUILD
Normal file
@ -0,0 +1,44 @@
|
||||
# Maintainer: Stephen Brennan <smb196@case.edu>
|
||||
pkgname=libcommuni
|
||||
pkgver=3.4.0
|
||||
pkgrel=1
|
||||
epoch=
|
||||
pkgdesc="A cross-platform IRC framework written with Qt."
|
||||
arch=('x86_64' 'i686')
|
||||
url="https://communi.github.io/"
|
||||
license=('custom')
|
||||
groups=()
|
||||
depends=('qt5-declarative')
|
||||
makedepends=()
|
||||
checkdepends=()
|
||||
optdepends=()
|
||||
provides=($pkgname)
|
||||
conflicts=($pkgname)
|
||||
replaces=()
|
||||
backup=()
|
||||
options=()
|
||||
install=
|
||||
changelog=
|
||||
source=("libcommuni-v$pkgver.tar.gz::https://github.com/communi/$pkgname/archive/v$pkgver.tar.gz")
|
||||
noextract=()
|
||||
md5sums=(987fa2143324ab3f1843483053bf711f)
|
||||
validpgpkeys=()
|
||||
|
||||
build() {
|
||||
cd "$pkgname-$pkgver"
|
||||
qmake
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$pkgname-$pkgver"
|
||||
make -k check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname-$pkgver"
|
||||
make INSTALL_ROOT="$pkgdir" install
|
||||
mkdir -p "$pkgdir/usr/share/licenses/${pkgname}/"
|
||||
install -m644 LICENSE \
|
||||
"$pkgdir/usr/share/licenses/${pkgname}/"
|
||||
}
|
20
src/litesql-git/.SRCINFO
Normal file
20
src/litesql-git/.SRCINFO
Normal file
@ -0,0 +1,20 @@
|
||||
pkgbase = litesql-git
|
||||
pkgdesc = C++ ORM for SQLite3, PostgreSQL, MySQL and Oracle
|
||||
pkgver = r596.d13e3d2
|
||||
pkgrel = 1
|
||||
url = https://dev.louiz.org/projects/litesql
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
arch = armv7h
|
||||
license = BSD3
|
||||
makedepends = git
|
||||
makedepends = cmake
|
||||
depends = expat
|
||||
depends = sqlite
|
||||
provides = litesql
|
||||
conflicts = litesql
|
||||
source = litesql::git://git.louiz.org/litesql
|
||||
md5sums = SKIP
|
||||
|
||||
pkgname = litesql-git
|
||||
|
45
src/litesql-git/PKGBUILD
Normal file
45
src/litesql-git/PKGBUILD
Normal file
@ -0,0 +1,45 @@
|
||||
# Maintainer: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
|
||||
|
||||
_pkgname=litesql
|
||||
pkgname="$_pkgname-git"
|
||||
pkgver=r641.d34892c
|
||||
pkgrel=1
|
||||
pkgdesc="C++ ORM for SQLite3, PostgreSQL, MySQL and Oracle"
|
||||
arch=('i686' 'x86_64' 'armv7h')
|
||||
url="https://dev.louiz.org/projects/litesql"
|
||||
license=('BSD3')
|
||||
#depends=('expat' 'libmariadbclient' 'postgresql-libs' 'sqlite')
|
||||
depends=('expat' 'sqlite')
|
||||
makedepends=('git' 'cmake')
|
||||
provides=("$_pkgname")
|
||||
conflicts=("$_pkgname")
|
||||
source=("$_pkgname::git://git.louiz.org/litesql")
|
||||
md5sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "$srcdir/$_pkgname"
|
||||
echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir/$_pkgname"
|
||||
mkdir -p build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$_pkgname/build"
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$srcdir/$_pkgname/build"
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$_pkgname/build"
|
||||
make DESTDIR="$pkgdir/" install
|
||||
|
||||
install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
29
src/log4cxx/.SRCINFO
Normal file
29
src/log4cxx/.SRCINFO
Normal file
@ -0,0 +1,29 @@
|
||||
# Generated by mksrcinfo v8
|
||||
# Thu Jul 21 10:46:13 UTC 2016
|
||||
pkgbase = log4cxx
|
||||
pkgdesc = A C++ port of Log4j
|
||||
pkgver = 0.10.0
|
||||
pkgrel = 4
|
||||
url = http://logging.apache.org/log4cxx
|
||||
arch = any
|
||||
license = Apache
|
||||
makedepends = autoconf
|
||||
makedepends = automake
|
||||
makedepends = libtool
|
||||
makedepends = patch
|
||||
makedepends = zip
|
||||
makedepends = gzip
|
||||
makedepends = sed
|
||||
depends = apr-util
|
||||
depends = libxml2
|
||||
provides = log4cxx
|
||||
conflicts = log4cxx-svn
|
||||
source = http://archive.apache.org/dist/logging/log4cxx/0.10.0/apache-log4cxx-0.10.0.tar.gz
|
||||
source = log4cxx-0.10.0-missing_includes.patch
|
||||
source = log4cxx-0.10.0-narrowing-fixes-from-upstream.patch
|
||||
sha512sums = 1c34d80983db5648bc4582ddcf6b4fdefdc6594c2769f95235f5441cd6d03cf279cc8f365e9a687085b113f79ebac9d7d33a54b6aa3b3b808c0e1a56a15ffa37
|
||||
sha512sums = 14fa0b19516171cbbe2c6220816819fc52cf8f3b3ded5d71966e2f4a71bda9ce1ed8fe7e57745a835e6ac5558631916ed9824d09ec7469d84c7bf99fb4946304
|
||||
sha512sums = 15b692b37961adbc808e4c10d2719483502f3ac060ee5be248832d4e2a2f76f7d9e120ea9a6bf908230cf230a893964040e54415cca35a12e576d0a5ab1f4176
|
||||
|
||||
pkgname = log4cxx
|
||||
|
34
src/log4cxx/PKGBUILD
Normal file
34
src/log4cxx/PKGBUILD
Normal file
@ -0,0 +1,34 @@
|
||||
pkgname=log4cxx
|
||||
pkgver=0.10.0
|
||||
pkgrel=4
|
||||
pkgdesc="A C++ port of Log4j"
|
||||
url="http://logging.apache.org/log4cxx"
|
||||
license=("Apache")
|
||||
depends=('apr-util' 'libxml2')
|
||||
arch=('any')
|
||||
makedepends=('autoconf' 'automake' 'libtool' 'patch' 'zip' 'gzip' 'sed')
|
||||
provides=('log4cxx')
|
||||
conflicts=('log4cxx-svn')
|
||||
|
||||
source=("http://archive.apache.org/dist/logging/$pkgname/$pkgver/apache-$pkgname-$pkgver.tar.gz"
|
||||
'log4cxx-0.10.0-missing_includes.patch'
|
||||
'log4cxx-0.10.0-narrowing-fixes-from-upstream.patch')
|
||||
sha512sums=('1c34d80983db5648bc4582ddcf6b4fdefdc6594c2769f95235f5441cd6d03cf279cc8f365e9a687085b113f79ebac9d7d33a54b6aa3b3b808c0e1a56a15ffa37'
|
||||
'14fa0b19516171cbbe2c6220816819fc52cf8f3b3ded5d71966e2f4a71bda9ce1ed8fe7e57745a835e6ac5558631916ed9824d09ec7469d84c7bf99fb4946304'
|
||||
'15b692b37961adbc808e4c10d2719483502f3ac060ee5be248832d4e2a2f76f7d9e120ea9a6bf908230cf230a893964040e54415cca35a12e576d0a5ab1f4176')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/apache-$pkgname-$pkgver"
|
||||
|
||||
patch -p1 < $startdir/log4cxx-0.10.0-missing_includes.patch
|
||||
patch -p1 < $startdir/log4cxx-0.10.0-narrowing-fixes-from-upstream.patch
|
||||
|
||||
#./autogen.sh
|
||||
./configure --prefix=/usr --disable-static
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/apache-$pkgname-$pkgver"
|
||||
make DESTDIR="$pkgdir/" install
|
||||
}
|
38
src/log4cxx/log4cxx-0.10.0-missing_includes.patch
Normal file
38
src/log4cxx/log4cxx-0.10.0-missing_includes.patch
Normal file
@ -0,0 +1,38 @@
|
||||
diff -Naur apache-log4cxx-0.10.0.orig/src/examples/cpp/console.cpp apache-log4cxx-0.10.0/src/examples/cpp/console.cpp
|
||||
--- apache-log4cxx-0.10.0.orig/src/examples/cpp/console.cpp 2008-04-01 00:34:52.000000000 +0200
|
||||
+++ apache-log4cxx-0.10.0/src/examples/cpp/console.cpp 2008-05-06 05:40:52.000000000 +0200
|
||||
@@ -15,7 +15,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
-#include <stdlib.h>
|
||||
+#include <cstdio>
|
||||
+#include <cstdlib>
|
||||
+#include <cstring>
|
||||
+#include <stdint.h>
|
||||
#include <log4cxx/logger.h>
|
||||
#include <log4cxx/consoleappender.h>
|
||||
#include <log4cxx/simplelayout.h>
|
||||
diff -Naur apache-log4cxx-0.10.0.orig/src/main/cpp/inputstreamreader.cpp apache-log4cxx-0.10.0/src/main/cpp/inputstreamreader.cpp
|
||||
--- apache-log4cxx-0.10.0.orig/src/main/cpp/inputstreamreader.cpp 2008-04-01 00:34:09.000000000 +0200
|
||||
+++ apache-log4cxx-0.10.0/src/main/cpp/inputstreamreader.cpp 2008-05-06 05:32:31.000000000 +0200
|
||||
@@ -21,6 +21,8 @@
|
||||
#include <log4cxx/helpers/pool.h>
|
||||
#include <log4cxx/helpers/bytebuffer.h>
|
||||
|
||||
+#include <cstring>
|
||||
+
|
||||
using namespace log4cxx;
|
||||
using namespace log4cxx::helpers;
|
||||
|
||||
diff -Naur apache-log4cxx-0.10.0.orig/src/main/cpp/socketoutputstream.cpp apache-log4cxx-0.10.0/src/main/cpp/socketoutputstream.cpp
|
||||
--- apache-log4cxx-0.10.0.orig/src/main/cpp/socketoutputstream.cpp 2008-04-01 00:34:09.000000000 +0200
|
||||
+++ apache-log4cxx-0.10.0/src/main/cpp/socketoutputstream.cpp 2008-05-06 05:35:55.000000000 +0200
|
||||
@@ -20,6 +20,8 @@
|
||||
#include <log4cxx/helpers/socket.h>
|
||||
#include <log4cxx/helpers/bytebuffer.h>
|
||||
|
||||
+#include <cstring>
|
||||
+
|
||||
using namespace log4cxx;
|
||||
using namespace log4cxx::helpers;
|
117
src/log4cxx/log4cxx-0.10.0-narrowing-fixes-from-upstream.patch
Normal file
117
src/log4cxx/log4cxx-0.10.0-narrowing-fixes-from-upstream.patch
Normal file
@ -0,0 +1,117 @@
|
||||
diff --git a/src/main/cpp/locationinfo.cpp b/src/main/cpp/locationinfo.cpp
|
||||
index e76ea29..bd22a1d 100644
|
||||
--- a/src/main/cpp/locationinfo.cpp
|
||||
+++ b/src/main/cpp/locationinfo.cpp
|
||||
@@ -149,18 +149,21 @@ void LocationInfo::write(ObjectOutputStream& os, Pool& p) const {
|
||||
os.writeNull(p);
|
||||
} else {
|
||||
char prolog[] = {
|
||||
- 0x72, 0x00, 0x21, 0x6F, 0x72, 0x67, 0x2E,
|
||||
- 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2E, 0x6C,
|
||||
- 0x6F, 0x67, 0x34, 0x6A, 0x2E, 0x73, 0x70, 0x69,
|
||||
- 0x2E, 0x4C, 0x6F, 0x63, 0x61, 0x74, 0x69, 0x6F,
|
||||
- 0x6E, 0x49, 0x6E, 0x66, 0x6F, 0xED, 0x99, 0xBB,
|
||||
- 0xE1, 0x4A, 0x91, 0xA5, 0x7C, 0x02, 0x00, 0x01,
|
||||
- 0x4C, 0x00, 0x08, 0x66, 0x75, 0x6C, 0x6C, 0x49,
|
||||
- 0x6E, 0x66, 0x6F,
|
||||
- 0x74, 0x00, 0x12, 0x4C, 0x6A,
|
||||
- 0x61, 0x76, 0x61, 0x2F, 0x6C, 0x61, 0x6E, 0x67,
|
||||
- 0x2F, 0x53, 0x74, 0x72, 0x69, 0x6E, 0x67, 0x3B,
|
||||
- 0x78, 0x70 };
|
||||
+ 0x72,
|
||||
+ 0x00,
|
||||
+ 0x21, 0x6F, 0x72, 0x67, 0x2E, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2E,
|
||||
+ 0x6C, 0x6F, 0x67, 0x34, 0x6A, 0x2E, 0x73, 0x70, 0x69, 0x2E, 0x4C, 0x6F,
|
||||
+ 0x63, 0x61, 0x74, 0x69, 0x6F, 0x6E, 0x49, 0x6E, 0x66, 0x6F, static_cast<char>(0xED),
|
||||
+ static_cast<char>(0x99), static_cast<char>(0xBB), static_cast<char>(0xE1),
|
||||
+ 0x4A, static_cast<char>(0x91), static_cast<char>(0xA5), 0x7C, 0x02,
|
||||
+ 0x00,
|
||||
+ 0x01, 0x4C,
|
||||
+ 0x00,
|
||||
+ 0x08, 0x66, 0x75, 0x6C, 0x6C, 0x49, 0x6E, 0x66, 0x6F, 0x74,
|
||||
+ 0x00,
|
||||
+ 0x12, 0x4C, 0x6A, 0x61, 0x76, 0x61, 0x2F, 0x6C, 0x61, 0x6E, 0x67, 0x2F,
|
||||
+ 0x53, 0x74, 0x72, 0x69, 0x6E, 0x67, 0x3B, 0x78, 0x70
|
||||
+ };
|
||||
os.writeProlog("org.apache.log4j.spi.LocationInfo", 2, prolog, sizeof(prolog), p);
|
||||
char* line = p.itoa(lineNumber);
|
||||
//
|
||||
diff --git a/src/main/cpp/loggingevent.cpp b/src/main/cpp/loggingevent.cpp
|
||||
index 1c0d4be..edbf40b 100644
|
||||
--- a/src/main/cpp/loggingevent.cpp
|
||||
+++ b/src/main/cpp/loggingevent.cpp
|
||||
@@ -242,7 +242,7 @@ void LoggingEvent::writeProlog(ObjectOutputStream& os, Pool& p) {
|
||||
0x68, 0x65, 0x2E, 0x6C, 0x6F, 0x67, 0x34, 0x6A,
|
||||
0x2E, 0x73, 0x70, 0x69, 0x2E, 0x4C, 0x6F, 0x67,
|
||||
0x67, 0x69, 0x6E, 0x67, 0x45, 0x76, 0x65, 0x6E,
|
||||
- 0x74, 0xF3, 0xF2, 0xB9, 0x23, 0x74, 0x0B, 0xB5,
|
||||
+ 0x74, static_cast<char>(0xF3), static_cast<char>(0xF2), static_cast<char>(0xB9), 0x23, 0x74, 0x0B, static_cast<char>(0xB5),
|
||||
0x3F, 0x03, 0x00, 0x0A, 0x5A, 0x00, 0x15, 0x6D,
|
||||
0x64, 0x63, 0x43, 0x6F, 0x70, 0x79, 0x4C, 0x6F,
|
||||
0x6F, 0x6B, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75,
|
||||
diff --git a/src/main/cpp/objectoutputstream.cpp b/src/main/cpp/objectoutputstream.cpp
|
||||
index 7cd696b..5442420 100644
|
||||
--- a/src/main/cpp/objectoutputstream.cpp
|
||||
+++ b/src/main/cpp/objectoutputstream.cpp
|
||||
@@ -36,7 +36,7 @@ ObjectOutputStream::ObjectOutputStream(OutputStreamPtr outputStream, Pool& p)
|
||||
objectHandle(0x7E0000),
|
||||
classDescriptions(new ClassDescriptionMap())
|
||||
{
|
||||
- char start[] = { 0xAC, 0xED, 0x00, 0x05 };
|
||||
+ char start[] = { static_cast<char>(0xAC), static_cast<char>(0xED), 0x00, 0x05 };
|
||||
ByteBuffer buf(start, sizeof(start));
|
||||
os->write(buf, p);
|
||||
}
|
||||
@@ -81,15 +81,15 @@ void ObjectOutputStream::writeObject(const MDC::Map& val, Pool& p) {
|
||||
//
|
||||
// TC_OBJECT and the classDesc for java.util.Hashtable
|
||||
//
|
||||
- char prolog[] = {
|
||||
- 0x72, 0x00, 0x13, 0x6A, 0x61, 0x76, 0x61,
|
||||
- 0x2E, 0x75, 0x74, 0x69, 0x6C, 0x2E, 0x48, 0x61,
|
||||
- 0x73, 0x68, 0x74, 0x61, 0x62, 0x6C, 0x65, 0x13,
|
||||
- 0xBB, 0x0F, 0x25, 0x21, 0x4A, 0xE4, 0xB8, 0x03,
|
||||
- 0x00, 0x02, 0x46, 0x00, 0x0A, 0x6C, 0x6F, 0x61,
|
||||
- 0x64, 0x46, 0x61, 0x63, 0x74, 0x6F, 0x72, 0x49,
|
||||
- 0x00, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68,
|
||||
- 0x6F, 0x6C, 0x64, 0x78, 0x70 };
|
||||
+ char prolog[] = {
|
||||
+ 0x72, 0x00, 0x13, 0x6A, 0x61, 0x76, 0x61,
|
||||
+ 0x2E, 0x75, 0x74, 0x69, 0x6C, 0x2E, 0x48, 0x61,
|
||||
+ 0x73, 0x68, 0x74, 0x61, 0x62, 0x6C, 0x65, 0x13,
|
||||
+ static_cast<char>(0xBB), 0x0F, 0x25, 0x21, 0x4A, static_cast<char>(0xE4), static_cast<char>(0xB8), 0x03,
|
||||
+ 0x00, 0x02, 0x46, 0x00, 0x0A, 0x6C, 0x6F, 0x61,
|
||||
+ 0x64, 0x46, 0x61, 0x63, 0x74, 0x6F, 0x72, 0x49,
|
||||
+ 0x00, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68,
|
||||
+ 0x6F, 0x6C, 0x64, 0x78, 0x70 };
|
||||
writeProlog("java.util.Hashtable", 1, prolog, sizeof(prolog), p);
|
||||
//
|
||||
// loadFactor = 0.75, threshold = 5, blockdata start, buckets.size = 7
|
||||
diff --git a/src/test/cpp/xml/domtestcase.cpp b/src/test/cpp/xml/domtestcase.cpp
|
||||
index a500628..29d67dd 100644
|
||||
--- a/src/test/cpp/xml/domtestcase.cpp
|
||||
+++ b/src/test/cpp/xml/domtestcase.cpp
|
||||
@@ -190,9 +190,9 @@ public:
|
||||
DOMConfigurator::configure(LOG4CXX_TEST_STR("input/xml/DOMTestCase3.xml"));
|
||||
LOG4CXX_INFO(logger, "File name is expected to end with a superscript 3");
|
||||
#if LOG4CXX_LOGCHAR_IS_UTF8
|
||||
- const logchar fname[] = { 0x6F, 0x75, 0x74, 0x70, 0x75, 0x74, 0x2F, 0x64, 0x6F, 0x6D, 0xC2, 0xB3, 0 };
|
||||
+ const logchar fname[] = { 0x6F, 0x75, 0x74, 0x70, 0x75, 0x74, 0x2F, 0x64, 0x6F, 0x6D, static_cast<logchar>(0xC2), static_cast<logchar>(0xB3), 0 };
|
||||
#else
|
||||
- const logchar fname[] = { 0x6F, 0x75, 0x74, 0x70, 0x75, 0x74, 0x2F, 0x64, 0x6F, 0x6D, 0xB3, 0 };
|
||||
+ const logchar fname[] = { 0x6F, 0x75, 0x74, 0x70, 0x75, 0x74, 0x2F, 0x64, 0x6F, 0x6D, static_cast<logchar>(0xB3), 0 };
|
||||
#endif
|
||||
File file;
|
||||
file.setPath(fname);
|
||||
@@ -209,9 +209,9 @@ public:
|
||||
DOMConfigurator::configure(LOG4CXX_TEST_STR("input/xml/DOMTestCase4.xml"));
|
||||
LOG4CXX_INFO(logger, "File name is expected to end with an ideographic 4");
|
||||
#if LOG4CXX_LOGCHAR_IS_UTF8
|
||||
- const logchar fname[] = { 0x6F, 0x75, 0x74, 0x70, 0x75, 0x74, 0x2F, 0x64, 0x6F, 0x6D, 0xE3, 0x86, 0x95, 0 };
|
||||
+ const logchar fname[] = { 0x6F, 0x75, 0x74, 0x70, 0x75, 0x74, 0x2F, 0x64, 0x6F, 0x6D, static_cast<logchar>(0xE3), static_cast<logchar>(0x86), static_cast<logchar>(0x95), 0 };
|
||||
#else
|
||||
- const logchar fname[] = { 0x6F, 0x75, 0x74, 0x70, 0x75, 0x74, 0x2F, 0x64, 0x6F, 0x6D, 0x3195, 0 };
|
||||
+ const logchar fname[] = { 0x6F, 0x75, 0x74, 0x70, 0x75, 0x74, 0x2F, 0x64, 0x6F, 0x6D, static_cast<logchar>(0x3195), 0 };
|
||||
#endif
|
||||
File file;
|
||||
file.setPath(fname);
|
45
src/spectrum2/.SRCINFO
Normal file
45
src/spectrum2/.SRCINFO
Normal file
@ -0,0 +1,45 @@
|
||||
# Generated by mksrcinfo v8
|
||||
# Thu Jul 21 16:30:45 UTC 2016
|
||||
pkgbase = spectrum2
|
||||
pkgdesc = Create C++ transports easily
|
||||
pkgver = 2.0.3
|
||||
pkgrel = 3
|
||||
url = http://spectrum.im
|
||||
arch = any
|
||||
license = GPL
|
||||
makedepends = protobuf
|
||||
makedepends = swiften>=3
|
||||
makedepends = libpqxx
|
||||
makedepends = libpurple
|
||||
makedepends = avahi
|
||||
makedepends = boost
|
||||
makedepends = cmake
|
||||
makedepends = cppunit
|
||||
makedepends = expat
|
||||
makedepends = libcommuni
|
||||
makedepends = libidn
|
||||
makedepends = sqlite
|
||||
makedepends = log4cxx
|
||||
makedepends = libmariadbclient
|
||||
makedepends = popt
|
||||
makedepends = libev
|
||||
makedepends = dbus-glib
|
||||
makedepends = curl
|
||||
depends = curl
|
||||
depends = log4cxx
|
||||
depends = popt
|
||||
depends = sqlite
|
||||
optdepends = swiften>=3: XMPP backend support
|
||||
optdepends = libpqxx: PostgreSQL support
|
||||
optdepends = libmariadbclient: MariaDB support
|
||||
optdepends = libcommuni: IRC backend support
|
||||
optdepends = protobuf: IRC backend support
|
||||
optdepends = libpurple: LibPurple backend support
|
||||
optdepends = libev: LibPurple backend support - libev eventloop
|
||||
source = https://github.com/hanzz/spectrum2/archive/2.0.3.tar.gz
|
||||
source = spectrum2.service
|
||||
sha256sums = 694172dfbf62d7de19bbcc06ba11113d238c86e36d39297b2f80d4b277e03933
|
||||
sha256sums = 8b95ddcf90449dcd0dec111276c69d04a92d09a0f9e1815009b2179a8050c9d1
|
||||
|
||||
pkgname = spectrum2
|
||||
|
52
src/spectrum2/PKGBUILD
Normal file
52
src/spectrum2/PKGBUILD
Normal file
@ -0,0 +1,52 @@
|
||||
# Maintainer: Mohammed Yaseen Mowzer <yaseen@mowzer.co.za>
|
||||
|
||||
#ALARM: Thomas Fanninger <thomas [at] fanninger [dot] at>
|
||||
# - moved optional depenceses from depends to optdepends
|
||||
|
||||
pkgname=spectrum2
|
||||
pkgver=2.0.3
|
||||
pkgrel=3
|
||||
#epoch=
|
||||
pkgdesc="Create C++ transports easily"
|
||||
arch=('any')
|
||||
url="http://spectrum.im"
|
||||
license=('GPL')
|
||||
groups=()
|
||||
depends=(curl log4cxx popt sqlite)
|
||||
makedepends=('protobuf' 'swiften>=3' 'libpqxx' 'libpurple' 'avahi' 'boost'
|
||||
'cmake' 'cppunit' 'expat' 'libcommuni' 'libidn' 'sqlite' 'log4cxx'
|
||||
'libmariadbclient' 'popt' 'libev' 'dbus-glib' 'curl')
|
||||
checkdepends=()
|
||||
optdepends=('swiften>=3: XMPP backend support'
|
||||
'libpqxx: PostgreSQL support'
|
||||
'libmariadbclient: MariaDB support'
|
||||
'libcommuni: IRC backend support'
|
||||
'protobuf: IRC backend support'
|
||||
'libpurple: LibPurple backend support'
|
||||
'libev: LibPurple backend support - libev eventloop')
|
||||
provides=()
|
||||
conflicts=()
|
||||
replaces=()
|
||||
backup=()
|
||||
options=()
|
||||
install=
|
||||
changelog=
|
||||
source=("https://github.com/hanzz/$pkgname/archive/$pkgver.tar.gz"
|
||||
'spectrum2.service')
|
||||
noextract=()
|
||||
sha256sums=('694172dfbf62d7de19bbcc06ba11113d238c86e36d39297b2f80d4b277e03933'
|
||||
'8b95ddcf90449dcd0dec111276c69d04a92d09a0f9e1815009b2179a8050c9d1')
|
||||
validpgpkeys=()
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
cmake . -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr -DSPECTRUM_VERSION=${pkgver}
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
make DESTDIR="$pkgdir/" install
|
||||
install -D -m0644 "$srcdir/$pkgname-$pkgver/spectrum_manager/src/spectrum_manager.cfg" "$pkgdir/etc/spectrum2/"
|
||||
install -D -m0644 "$srcdir/spectrum2.service" "$pkgdir/usr/lib/systemd/system/spectrum2.service"
|
||||
}
|
12
src/spectrum2/spectrum2.service
Normal file
12
src/spectrum2/spectrum2.service
Normal file
@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Spectrum 2 Legacy IM Network Connector
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/usr/bin/spectrum2_manager start
|
||||
ExecStop=/usr/bin/spectrum2_manager stop
|
||||
Environment=PURPLE_LEAKCHECK_HELP=1 G_SLICE=always-malloc PURPLE_VERBOSE_DEBUG=1
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
39
src/swift/.SRCINFO
Normal file
39
src/swift/.SRCINFO
Normal file
@ -0,0 +1,39 @@
|
||||
# Generated by mksrcinfo v8
|
||||
# Mon Feb 29 17:44:58 UTC 2016
|
||||
pkgbase = swift
|
||||
pkgdesc = XMPP client written in C++ with Qt and Swiften
|
||||
pkgver = 3.0
|
||||
pkgrel = 2
|
||||
url = http://swift.im/
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = GPL3
|
||||
makedepends = python2
|
||||
makedepends = openssl
|
||||
makedepends = boost
|
||||
makedepends = qt5-multimedia
|
||||
makedepends = qt5-webkit
|
||||
makedepends = qt5-x11extras
|
||||
makedepends = qt5-tools
|
||||
source = http://swift.im/downloads/releases/swift-3.0/swift-3.0.tar.gz
|
||||
sha256sums = 8aa490431190294e62a9fc18b69ccc63dd0f561858d7d0b05c9c65f4d6ba5397
|
||||
|
||||
pkgname = swift-im
|
||||
pkgdesc = XMPP client written in C++ with Qt and Swiften
|
||||
install = swift-im.install
|
||||
depends = swiften=3.0
|
||||
depends = qt5-multimedia
|
||||
depends = qt5-webkit
|
||||
depends = qt5-x11extras
|
||||
depends = libxss
|
||||
depends = hicolor-icon-theme
|
||||
optdepends = qt5-svg: for SVG avatars
|
||||
|
||||
pkgname = swiften
|
||||
pkgdesc = XMPP library written in C++ with Boost
|
||||
depends = boost-libs
|
||||
depends = libxml2
|
||||
depends = libidn
|
||||
depends = avahi
|
||||
depends = openssl
|
||||
|
41
src/swift/PKGBUILD
Normal file
41
src/swift/PKGBUILD
Normal file
@ -0,0 +1,41 @@
|
||||
# Maintainer: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
|
||||
|
||||
pkgbase='swift'
|
||||
pkgname=('swift-im' 'swiften')
|
||||
pkgver=3.0
|
||||
pkgrel=2
|
||||
arch=('i686' 'x86_64')
|
||||
pkgdesc='XMPP client written in C++ with Qt and Swiften'
|
||||
url="http://swift.im/"
|
||||
license=('GPL3')
|
||||
makedepends=('python2' 'openssl' 'boost' 'qt5-multimedia'
|
||||
'qt5-webkit' 'qt5-x11extras' 'qt5-tools')
|
||||
source=("http://swift.im/downloads/releases/$pkgbase-$pkgver/$pkgbase-$pkgver.tar.gz")
|
||||
sha256sums=('8aa490431190294e62a9fc18b69ccc63dd0f561858d7d0b05c9c65f4d6ba5397')
|
||||
|
||||
# Those options need to be consistent between each scons invocation.
|
||||
_scons_options='max_jobs=1 optimize=1 debug=0 swiften_dll=1'
|
||||
_directory="$pkgbase-$pkgver"
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$_directory"
|
||||
./scons $_scons_options Swift Swiften
|
||||
}
|
||||
|
||||
package_swift-im() {
|
||||
pkgdesc='XMPP client written in C++ with Qt and Swiften'
|
||||
depends=("swiften=$pkgver" 'qt5-multimedia' 'qt5-webkit' 'qt5-x11extras' 'libxss' 'hicolor-icon-theme')
|
||||
optdepends=('qt5-svg: for SVG avatars')
|
||||
install="$pkgname.install"
|
||||
|
||||
cd "$srcdir/$_directory"
|
||||
./scons $_scons_options SWIFT_INSTALLDIR="$pkgdir/usr/" "$pkgdir/usr/"
|
||||
}
|
||||
|
||||
package_swiften() {
|
||||
pkgdesc='XMPP library written in C++ with Boost'
|
||||
depends=('boost-libs' 'libxml2' 'libidn' 'avahi' 'openssl')
|
||||
|
||||
cd "$srcdir/$_directory"
|
||||
./scons $_scons_options SWIFTEN_INSTALLDIR="$pkgdir/usr/" "$pkgdir/usr/"
|
||||
}
|
12
src/swift/swift-im.install
Normal file
12
src/swift/swift-im.install
Normal file
@ -0,0 +1,12 @@
|
||||
post_install() {
|
||||
xdg-icon-resource forceupdate --theme hicolor
|
||||
update-desktop-database -q
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
Loading…
Reference in New Issue
Block a user