Mail archive
alpine-aports

[alpine-aports] [PATCH] testing/libpurple-carbons: New aport

From: Marian Buschsieweke <marian.buschsieweke_at_ovgu.de>
Date: Fri, 18 Aug 2017 12:41:32 +0200

Experimental XEP-0280: Message Carbons plugin for libpurple
https://github.com/gkdr/carbons
---
 .../libpurple-carbons/0000-unix-mpconfigport.patch | 22 ++++++++++++++++++
 testing/libpurple-carbons/APKBUILD                 | 27 ++++++++++++++++++++++
 testing/libpurple-carbons/python3.patch            | 10 ++++++++
 3 files changed, 59 insertions(+)
 create mode 100644 testing/libpurple-carbons/0000-unix-mpconfigport.patch
 create mode 100644 testing/libpurple-carbons/APKBUILD
 create mode 100644 testing/libpurple-carbons/python3.patch
diff --git a/testing/libpurple-carbons/0000-unix-mpconfigport.patch b/testing/libpurple-carbons/0000-unix-mpconfigport.patch
new file mode 100644
index 0000000000..067402341d
--- /dev/null
+++ b/testing/libpurple-carbons/0000-unix-mpconfigport.patch
_at_@ -0,0 +1,22 @@
+--- micropython-1.9.1/unix/mpconfigport.mk
++++ micropython-1.9.1/unix/mpconfigport.mk
+_at_@ -9,7 +9,7 @@
+ MICROPY_USE_READLINE = 1
+ 
+ # btree module using Berkeley DB 1.xx
+-MICROPY_PY_BTREE = 1
++MICROPY_PY_BTREE = 0
+ 
+ # _thread module using pthreads
+ MICROPY_PY_THREAD = 1
+_at_@ -24,8 +24,8 @@
+ MICROPY_PY_FFI = 1
+ 
+ # ussl module requires axtls
+-MICROPY_PY_USSL = 1
+-MICROPY_SSL_AXTLS = 1
++MICROPY_PY_USSL = 0
++MICROPY_SSL_AXTLS = 0
+ MICROPY_SSL_MBEDTLS = 0
+ 
+ # jni module requires JVM/JNI
diff --git a/testing/libpurple-carbons/APKBUILD b/testing/libpurple-carbons/APKBUILD
new file mode 100644
index 0000000000..e6608fa081
--- /dev/null
+++ b/testing/libpurple-carbons/APKBUILD
_at_@ -0,0 +1,27 @@
+# Contributor: Marian <marian.buschsieweke_at_ovgu.de>
+# Maintainer: Marian <marian.buschsieweke_at_ovgu.de>
+pkgname=libpurple-carbons
+pkgver=0.1.3
+pkgrel=0
+pkgdesc="Experimental XEP-0280: Message Carbons plugin for libpurple"
+url="https://github.com/gkdr/carbons"
+arch="all"
+license="GPL"
+depends="libpurple libpurple-xmpp"
+makedepends="glib-dev pidgin-dev libxml2-dev"
+subpackages=""
+source="${pkgname}-${pkgver}.tar.gz::https://github.com/gkdr/carbons/archive/v${pkgver}.tar.gz"
+option="!check"
+builddir="${srcdir}/carbons-${pkgver}"
+
+build() {
+	cd "$builddir"
+	make
+}
+
+package() {
+	cd "$builddir"
+	make PURPLE_PLUGIN_DIR="${pkgdir}/usr/lib/purple-2/" install
+}
+
+sha512sums="3aacbac2f9326e4e11c06d23da3ef5ef0ceee1c1789b9bdb039d344e94088e9ab35123e099fe75ea5e4f48da1ad4cb3fb048b0705ef1053f712d4875a4c61b51  libpurple-carbons-0.1.3.tar.gz"
diff --git a/testing/libpurple-carbons/python3.patch b/testing/libpurple-carbons/python3.patch
new file mode 100644
index 0000000000..ca269d39c3
--- /dev/null
+++ b/testing/libpurple-carbons/python3.patch
_at_@ -0,0 +1,10 @@
+diff --git a/tools/make-frozen.py b/tools/make-frozen.py
+index 1051b52..06ee7a3 100755
+--- a/tools/make-frozen.py
++++ b/tools/make-frozen.py
+_at_@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+ #
+ # Create frozen modules structure for MicroPython.
+ #
-- 
2.14.1
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Fri Aug 18 2017 - 12:41:32 GMT