summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/acpilight/APKBUILD36
-rw-r--r--user/acpilight/acpilight.post-install11
-rw-r--r--user/acpilight/python3.patch22
-rw-r--r--user/acpilight/rules-warning.patch8
-rw-r--r--user/fluidsynth/APKBUILD41
-rw-r--r--user/kaffeine/APKBUILD44
-rw-r--r--user/kde-education/APKBUILD27
-rw-r--r--user/kde-education/org.adelie-linux.about-education.desktop8
-rw-r--r--user/kde-multimedia/APKBUILD25
-rw-r--r--user/kde-multimedia/org.adelie-linux.about-multimedia.desktop8
-rw-r--r--user/kdenlive/APKBUILD48
-rw-r--r--user/libdca/APKBUILD43
-rw-r--r--user/minuet/APKBUILD44
-rw-r--r--user/ncompress/APKBUILD13
-rw-r--r--user/ncompress/fix-9bit-compress.patch20
-rw-r--r--user/phonon-vlc/APKBUILD43
-rw-r--r--user/phonon/APKBUILD4
-rw-r--r--user/py3-docutils/APKBUILD51
-rw-r--r--user/py3-olefile/APKBUILD36
-rw-r--r--user/py3-pillow/APKBUILD54
-rw-r--r--user/py3-pluggy/APKBUILD33
-rw-r--r--user/py3-py/APKBUILD35
-rw-r--r--user/py3-pytest/APKBUILD33
-rw-r--r--user/py3-roman/APKBUILD35
-rw-r--r--user/py3-roman/py36.patch10
-rw-r--r--user/py3-setuptools/APKBUILD45
-rw-r--r--user/py3-setuptools/pythonpath.patch10
-rw-r--r--user/py3-tox/APKBUILD33
-rw-r--r--user/py3-virtualenv/APKBUILD37
-rw-r--r--user/py3-virtualenv/test-python3.patch74
-rw-r--r--user/schismtracker/APKBUILD30
-rw-r--r--user/xcape/APKBUILD28
32 files changed, 982 insertions, 7 deletions
diff --git a/user/acpilight/APKBUILD b/user/acpilight/APKBUILD
new file mode 100644
index 000000000..97956accd
--- /dev/null
+++ b/user/acpilight/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Max Rees <maxcrees@me.com>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=acpilight
+pkgver=1.0.1
+pkgrel=0
+pkgdesc="Control backlight brightness level"
+url="https://github.com/wavexx/acpilight"
+arch="noarch"
+license="GPL-3.0"
+depends="eudev python3"
+makedepends=""
+install="$pkgname.post-install"
+subpackages="$pkgname-doc"
+options="!check" # Just a udev rule and a python script
+source="$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz
+ python3.patch
+ rules-warning.patch"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+}
+
+package() {
+ cd "$builddir"
+ install -Dm755 xbacklight \
+ "$pkgdir/usr/bin/xbacklight"
+ install -Dm644 90-backlight.rules \
+ "$pkgdir/lib/udev/rules.d/90-$pkgname.rules"
+ install -Dm644 xbacklight.1 \
+ "$pkgdir/usr/share/man/man1/xbacklight.1"
+}
+
+sha512sums="c9b5805f919172d4806942ba1987d0c11fda420a807c45c404eda83cbcfc6011729b09d7ae3113106e006d2ed65ab26e4932869305e48d9493514b597c6e9713 acpilight-1.0.1.tar.gz
+9ed3bc124a0120d7d4ea8831e7bef715c5c45b3e3389aed55261cf436db8cb123a8bffe463a29107cb27161a59ed6a31623e23f2b55797c99be92a2d26eabca0 python3.patch
+63521df95b943c941c6687960b69f4ca51f2b36c3d390ef50738034f13afbab175b0a69c7874bc47bc85a1b8d877a26427eba3a264803b700ff652c3c28cd2ad rules-warning.patch"
diff --git a/user/acpilight/acpilight.post-install b/user/acpilight/acpilight.post-install
new file mode 100644
index 000000000..0e64cf725
--- /dev/null
+++ b/user/acpilight/acpilight.post-install
@@ -0,0 +1,11 @@
+#!/bin/sh
+chgrp video /sys/class/backlight/*/brightness || true
+chmod g+w /sys/class/backlight/*/brightness || true
+chgrp video /sys/class/leds/*/brightness || true
+chmod g+w /sys/class/leds/*/brightness || true
+
+echo "*"
+echo "* Any user wishing to use xbacklight must be in the 'video' group."
+echo "* Check using 'groups \$USER' and add using 'usermod -aG video \$USER'."
+echo "*"
+exit 0
diff --git a/user/acpilight/python3.patch b/user/acpilight/python3.patch
new file mode 100644
index 000000000..ab0ffe61f
--- /dev/null
+++ b/user/acpilight/python3.patch
@@ -0,0 +1,22 @@
+--- acpilight-1.0/xbacklight 2017-02-23 21:03:30.000000000 +0000
++++ acpilight-1.0/xbacklight 2018-01-13 08:52:42.400000000 +0000
+@@ -1,9 +1,8 @@
+-#!/usr/bin/env python
++#!/usr/bin/python3
+ # xbacklight: control backlight and led brightness on linux using the sys
+ # filesystem with a backward-compatibile user interface
+ # Copyright(c) 2016-2017 by wave++ "Yuri D'Elia" <wavexx@thregr.org>
+ # -*- coding: utf-8 -*-
+-from __future__ import print_function, division, generators
+
+ APP_DESC = "control backlight brightness"
+ SYS_PATH = ["/sys/class/backlight", "/sys/class/leds"]
+@@ -99,7 +98,7 @@
+
+ # set current operating controller
+ if args.ctrl is None:
+- ctrl = Controller(next(iter(ctrls.values())))
++ ctrl = Controller(next(iter(list(ctrls.values()))))
+ else:
+ if args.ctrl not in ctrls:
+ error("unknown controller '{}'".format(args.ctrl))
diff --git a/user/acpilight/rules-warning.patch b/user/acpilight/rules-warning.patch
new file mode 100644
index 000000000..45c7abacb
--- /dev/null
+++ b/user/acpilight/rules-warning.patch
@@ -0,0 +1,8 @@
+--- acpilight-1.0/90-backlight.rules 2017-02-23 21:03:30.000000000 +0000
++++ acpilight-1.0/90-backlight.rules 2018-01-13 09:14:11.290000000 +0000
+@@ -1,4 +1,5 @@
+ # Allow video group to control backlight and leds
++# do not edit this file, it will be overwritten on update
+ SUBSYSTEM=="backlight", ACTION=="add", \
+ RUN+="/bin/chgrp video %S%p/brightness", \
+ RUN+="/bin/chmod g+w %S%p/brightness"
diff --git a/user/fluidsynth/APKBUILD b/user/fluidsynth/APKBUILD
new file mode 100644
index 000000000..c9865559a
--- /dev/null
+++ b/user/fluidsynth/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=fluidsynth
+pkgver=1.1.10
+pkgrel=0
+pkgdesc="Real-time, software synthesiser based on SoundFont 2"
+url="http://www.fluidsynth.org/"
+arch="all"
+license="LGPL-2.1+"
+depends=""
+makedepends="alsa-lib-dev dbus-dev glib-dev libsndfile-dev"
+install=""
+subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
+source="fluidsynth-$pkgver.tar.gz::https://github.com/FluidSynth/fluidsynth/archive/v$pkgver.tar.gz"
+
+build() {
+ cd "$builddir"
+ if [ "$CBUILD" != "$CHOST" ]; then
+ CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
+ fi
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_INSTALL_DIR=lib \
+ -DBUILD_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \
+ -DCMAKE_C_FLAGS="$CFLAGS" \
+ ${CMAKE_CROSSOPTS}
+ make
+}
+
+check() {
+ cd "$builddir"
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="7ff7757baf6dee37f65a4fd214ffab1aa1434cfd1545deb4108fe2e9b0ed19d616880b2740a693b51ade0a4be998a671910b43cae26eb67fb97b16a513752cbc fluidsynth-1.1.10.tar.gz"
diff --git a/user/kaffeine/APKBUILD b/user/kaffeine/APKBUILD
new file mode 100644
index 000000000..f2501fae8
--- /dev/null
+++ b/user/kaffeine/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=kaffeine
+pkgver=2.0.14
+pkgrel=0
+pkgdesc="Media player with a focus on Digital TV (DVB)"
+url="https://www.kde.org/applications/multimedia/kaffeine/"
+arch="all"
+license="GPL-2.0-only"
+depends="vlc"
+makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qtx11extras-dev
+ kcoreaddons-dev ki18n-dev kwidgetsaddons-dev kwindowsystem-dev kio-dev
+ kxmlgui-dev solid-dev kdbusaddons-dev vlc-dev libxscrnsaver-dev"
+install=""
+subpackages="$pkgname-doc $pkgname-lang"
+source="https://download.kde.org/stable/kaffeine/kaffeine-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ if [ "$CBUILD" != "$CHOST" ]; then
+ CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
+ fi
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+ -DCMAKE_C_FLAGS="$CFLAGS" \
+ ${CMAKE_CROSSOPTS}
+ make
+}
+
+check() {
+ cd "$builddir"
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="03a4ffbfbe7b9c90de546bf7449e8e5f05d5e7023b75b5253297e885c412677a0c4b46c7f60761ef5f48ad3c284591acba6ff0fe4fa7256d5b01ca9a07d7276f kaffeine-2.0.14.tar.xz"
diff --git a/user/kde-education/APKBUILD b/user/kde-education/APKBUILD
new file mode 100644
index 000000000..27686bf6b
--- /dev/null
+++ b/user/kde-education/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=kde-education
+pkgver=17.12.2
+pkgrel=0
+pkgdesc="Educational software from the KDE Software Collection"
+url="https://www.kde.org/applications/education/"
+arch="noarch"
+license="NCSA"
+options="!check" # Empty meta package, no point in testing.
+depends="artikulate blinken gcompris-qt kalgebra kalzium kanagram kbruch
+ kgeography khangman kig kiten klettres kmplot ktouch kturtle kwordquiz
+ labplot marble rocs step"
+makedepends=""
+install=""
+subpackages=""
+source="org.adelie-linux.about-education.desktop"
+build() {
+ return 0
+}
+
+package() {
+ mkdir -p "$pkgdir"/usr/share/applications
+ cp -pr "$srcdir"/*.desktop "$pkgdir"/usr/share/applications/
+}
+
+sha512sums="d88ee909e3ce8d26f3fbfeebc8656e0b72ec399f5ba0a1225babf217b01f5c7caec6e81e95cabb00b23dcbd41416360ae15958f38a5cbf4d548b89e3dd3229d5 org.adelie-linux.about-education.desktop"
diff --git a/user/kde-education/org.adelie-linux.about-education.desktop b/user/kde-education/org.adelie-linux.about-education.desktop
new file mode 100644
index 000000000..3aca1d1b5
--- /dev/null
+++ b/user/kde-education/org.adelie-linux.about-education.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=About KDE Education
+Comment=Learn about KDE educational software included with Adélie
+Icon=dialog-information
+Categories=KDE;Education
+Exec=xdg-open https://support.adelielinux.org/html/desktop-kde/education.html
diff --git a/user/kde-multimedia/APKBUILD b/user/kde-multimedia/APKBUILD
new file mode 100644
index 000000000..b7288b32d
--- /dev/null
+++ b/user/kde-multimedia/APKBUILD
@@ -0,0 +1,25 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=kde-multimedia
+pkgver=17.12.2
+pkgrel=0
+pkgdesc="Multimedia software from the KDE Software Collection"
+url="https://www.kde.org/applications/multimedia/"
+arch="noarch"
+license="NCSA"
+options="!check" # Empty meta package, no point in testing.
+depends="dragonplayer juk kaffeine kdenlive kmediaplayer kmix kwave"
+makedepends=""
+install=""
+subpackages=""
+source="org.adelie-linux.about-multimedia.desktop"
+build() {
+ return 0
+}
+
+package() {
+ mkdir -p "$pkgdir"/usr/share/applications
+ cp -pr "$srcdir"/*.desktop "$pkgdir"/usr/share/applications/
+}
+
+sha512sums="279f625f4a3190b2703bcfd10b15932aa99a0c00559c33d3676793c34023ea573404aac27879671af126bdf4c4078db0ef843d1e63aedd14acd7fafdedab3670 org.adelie-linux.about-multimedia.desktop"
diff --git a/user/kde-multimedia/org.adelie-linux.about-multimedia.desktop b/user/kde-multimedia/org.adelie-linux.about-multimedia.desktop
new file mode 100644
index 000000000..a59e6dcd6
--- /dev/null
+++ b/user/kde-multimedia/org.adelie-linux.about-multimedia.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=About KDE Multimedia
+Comment=Learn about KDE multimedia software included with Adélie
+Icon=dialog-information
+Categories=KDE;Multimedia
+Exec=xdg-open https://support.adelielinux.org/html/desktop-kde/multimedia.html
diff --git a/user/kdenlive/APKBUILD b/user/kdenlive/APKBUILD
new file mode 100644
index 000000000..22a707446
--- /dev/null
+++ b/user/kdenlive/APKBUILD
@@ -0,0 +1,48 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=kdenlive
+pkgver=17.12.2
+pkgrel=0
+pkgdesc="Libre video editor"
+url="https://kdenlive.org/"
+arch="all"
+license="GPL-2.0-only"
+depends=""
+makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qtscript-dev kio-dev
+ qt5-qtsvg-dev qt5-qtdeclarative-dev kxmlgui-dev karchive-dev kcrash-dev
+ kbookmarks-dev kcoreaddons-dev kconfig-dev kconfigwidgets-dev mlt-dev
+ kdbusaddons-dev kwidgetsaddons-dev knotifyconfig-dev knewstuff-dev
+ knotifications-dev kguiaddons-dev ktextwidgets-dev kiconthemes-dev
+ kdoctools-dev kfilemetadata-dev"
+install=""
+subpackages="$pkgname-doc $pkgname-lang"
+source="http://download.kde.org/stable/applications/$pkgver/src/kdenlive-$pkgver.tar.xz"
+builddir="$srcdir/kdenlive-$pkgver"
+
+build() {
+ cd "$builddir"
+ if [ "$CBUILD" != "$CHOST" ]; then
+ CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
+ fi
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+ -DCMAKE_C_FLAGS="$CFLAGS" \
+ ${CMAKE_CROSSOPTS}
+ make
+}
+
+check() {
+ cd "$builddir"
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="7a70ba8de9b034cabd6ce4fc6b92b01b57994327bab35e3410110b1d3dbe88fcae586a3f0ee82b387a205503b5853a3471c72d6c94bb6b0e9d5b96d7db24ecf0 kdenlive-17.12.2.tar.xz"
diff --git a/user/libdca/APKBUILD b/user/libdca/APKBUILD
new file mode 100644
index 000000000..9047074dc
--- /dev/null
+++ b/user/libdca/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libdca
+pkgver=0.0.5
+pkgrel=0
+pkgdesc="Free DTS Coherent Acoustics decoder"
+url="https://www.videolan.org/developers/libdca.html"
+arch="all"
+license="GPL-2.0+"
+depends=
+install=
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://download.videolan.org/pub/videolan/libdca/$pkgver/libdca-$pkgver.tar.bz2"
+
+prepare() {
+ cd "$builddir"
+ default_prepare
+ update_config_sub
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="d9f0ed34efeb3f27af8424fcb3e6df56744c6735854a65b5709c02b42b4513b9c4618dcc19eb44293afa051bd95616651bda5fc3b49dfabe975d0babfb1bc287 libdca-0.0.5.tar.bz2"
diff --git a/user/minuet/APKBUILD b/user/minuet/APKBUILD
new file mode 100644
index 000000000..8725696b6
--- /dev/null
+++ b/user/minuet/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=minuet
+pkgver=17.12.2
+pkgrel=0
+pkgdesc="Music education software"
+url="https://minuet.kde.org/"
+arch="all"
+license="GPL-2.0-only"
+depends=""
+makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev
+ qt5-qtquickcontrols2-dev qt5-qtsvg-dev kcoreaddons-dev ki18n-dev
+ kcrash-dev kdoctools-dev fluidsynth-dev"
+install=""
+subpackages="$pkgname-doc $pkgname-lang"
+source="http://download.kde.org/stable/applications/$pkgver/src/minuet-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ if [ "$CBUILD" != "$CHOST" ]; then
+ CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
+ fi
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+ -DCMAKE_C_FLAGS="$CFLAGS" \
+ ${CMAKE_CROSSOPTS}
+ make
+}
+
+check() {
+ cd "$builddir"
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="e9c45baf8d6ebc6055ca9d80ec5592916015307c8f961bc9fb204c3ecf843775854eeb3fb21284cf81f2493fae61c00507e119bd1d8aa6f68ffe7a0d6d67846b minuet-17.12.2.tar.xz"
diff --git a/user/ncompress/APKBUILD b/user/ncompress/APKBUILD
index 527f0d610..dafd49d3a 100644
--- a/user/ncompress/APKBUILD
+++ b/user/ncompress/APKBUILD
@@ -2,23 +2,26 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=ncompress
pkgver=4.2.4.4
-pkgrel=0
+pkgrel=1
pkgdesc="A fast, simple LZW compressor"
url="https://github.com/vapier/ncompress"
arch="all"
license="PD"
options="!check" # No test suite.
subpackages="$pkgname-doc"
-source="http://downloads.sourceforge.net/ncompress/ncompress-$pkgver.tar.gz"
+source="http://downloads.sourceforge.net/ncompress/ncompress-$pkgver.tar.gz
+ fix-9bit-compress.patch"
build() {
cd "$builddir"
- make BINDIR=/usr/bin MANDIR=/usr/share/man/man1
+ make
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" BINDIR=/usr/bin MANDIR=/usr/share/man/man1 install
+ install -D -m755 "$builddir"/compress "$pkgdir"/usr/bin/compress
+ install -D -m644 "$builddir"/compress.1 "$pkgdir"/usr/share/man/man1/compress.1
}
-sha512sums="abc7bd96daaab0b83d5ca18ef4b8b4c6528632653a0882a4e0eda4fb3f99e23aae60ee30193e79104ea2ac8fb5816ac3b0bdebb08322db6bde6b8ef1639527be ncompress-4.2.4.4.tar.gz"
+sha512sums="abc7bd96daaab0b83d5ca18ef4b8b4c6528632653a0882a4e0eda4fb3f99e23aae60ee30193e79104ea2ac8fb5816ac3b0bdebb08322db6bde6b8ef1639527be ncompress-4.2.4.4.tar.gz
+b2e897679234f391fa3cf4d5b55a3894424cca632a3b16303b0085e908808bc72b66e6a9df3e56e1a26eac79340c0901f7e6ef2378cc61b710e93194d345c2ea fix-9bit-compress.patch"
diff --git a/user/ncompress/fix-9bit-compress.patch b/user/ncompress/fix-9bit-compress.patch
new file mode 100644
index 000000000..3fcd13d2f
--- /dev/null
+++ b/user/ncompress/fix-9bit-compress.patch
@@ -0,0 +1,20 @@
+--- old/compress42.c 1992-10-28 06:10:53.000000000 -0500
++++ fixed/compress42.c 2003-11-12 19:42:49.000000000 -0500
+@@ -228,7 +228,7 @@
+ #define FIRST 257 /* first free entry */
+ #define CLEAR 256 /* table clear output code */
+
+-#define INIT_BITS 9 /* initial number of bits/code */
++#define INIT_BITS 8 /* initial number of bits/code */
+
+ #ifndef SACREDMEM
+ /*
+@@ -819,7 +819,7 @@
+ nextarg: continue;
+ }
+
+- if (maxbits < INIT_BITS) maxbits = INIT_BITS;
++ if (maxbits <= INIT_BITS) maxbits = INIT_BITS + 1;
+ if (maxbits > BITS) maxbits = BITS;
+
+ if (*filelist != NULL) \ No newline at end of file
diff --git a/user/phonon-vlc/APKBUILD b/user/phonon-vlc/APKBUILD
new file mode 100644
index 000000000..5d305485a
--- /dev/null
+++ b/user/phonon-vlc/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=phonon-vlc
+pkgver=0.10.1
+pkgrel=0
+pkgdesc="Phonon backend utilising VLC for media playback"
+url="https://www.kde.org/"
+arch="all"
+license="LGPL-2.1+"
+depends="vlc"
+makedepends="cmake extra-cmake-modules qt5-qtbase-dev phonon-dev vlc-dev"
+install=
+subpackages=""
+source="https://download.kde.org/stable/phonon/phonon-backend-vlc/$pkgver/phonon-backend-vlc-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ if [ "$CBUILD" != "$CHOST" ]; then
+ CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
+ fi
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+ -DCMAKE_C_FLAGS="$CFLAGS" \
+ -DPHONON_BUILD_PHONON4QT5=True \
+ ${CMAKE_CROSSOPTS}
+ make
+}
+
+check() {
+ cd "$builddir"
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="fa94298a8236c29f792285d3f288140d244e0eacba02511a32ee56b5bace50f92a93a714b5c44dc5bafb15b2a9d5ae792231e78dce8ca1a45ab3a328492911df phonon-backend-vlc-0.10.1.tar.xz"
diff --git a/user/phonon/APKBUILD b/user/phonon/APKBUILD
index 07d91d7d5..03b8bffab 100644
--- a/user/phonon/APKBUILD
+++ b/user/phonon/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=phonon
-pkgver=4.9.1
+pkgver=4.10.0
pkgrel=0
pkgdesc="Qt library for playing multimedia files"
url="https://phonon.kde.org/"
@@ -54,4 +54,4 @@ designer() {
rmdir "$pkgdir"/usr/lib/qt5/plugins || true # Never mind
}
-sha512sums="a1741765071a625d9b9073d9ad1571b91cf5bfce2223bd1b034828d02dc52624587a6ec5352f3702df79f6e4201007596843fbcb9f15c9b489a858200787d728 phonon-4.9.1.tar.xz"
+sha512sums="6074c7c33edcdfeed8a6199024f1faedebe09652cf5d01075f2d97146b54c4269924b69ca8298e2341c0cf6ca4d18f930a59a937697f6f282b6de8e976d097c4 phonon-4.10.0.tar.xz"
diff --git a/user/py3-docutils/APKBUILD b/user/py3-docutils/APKBUILD
new file mode 100644
index 000000000..e227ada63
--- /dev/null
+++ b/user/py3-docutils/APKBUILD
@@ -0,0 +1,51 @@
+# Contributor: Max Rees <maxcrees@me.com>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=py3-docutils
+_pkgname=docutils
+pkgver=0.14
+pkgrel=0
+pkgdesc="Documentation utilities for Python"
+url="https://pypi.python.org/pypi/docutils"
+arch="noarch"
+license="Custom"
+depends="python3 py3-pillow py3-roman"
+makedepends="python3-dev py3-setuptools"
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ python3 setup.py build
+}
+
+check() {
+ cd "$builddir/test3"
+ python3 alltests.py
+}
+
+package() {
+ cd "$builddir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+
+ # Remove .py extension from executable files.
+ local path; for path in "$pkgdir"/usr/bin/*.py; do
+ mv "$path" "${path%.py}"
+ done
+}
+
+doc() {
+ cd "$builddir"
+
+ local docdir="$subpkgdir/usr/share/doc/$pkgname"
+ mkdir -p "$docdir"
+ cp -R docs/* "$docdir"
+ cp *.txt "$docdir"
+
+ local licdir="$subpkgdir/usr/share/licenses/$pkgname"
+ mkdir -p "$licdir"
+ rm -f licenses/docutils.conf
+ cp licenses/* "$licdir"
+}
+
+sha512sums="1ed72c2ef7d2ca38d1c6f3154b7986ea46f599d9bd826405a5257fdd7740c8626957d6298aa95fb0edea8a24515de22f1ad9b2ecbd59341a1ab7a2bab30f500c py3-docutils-0.14.tar.gz"
diff --git a/user/py3-olefile/APKBUILD b/user/py3-olefile/APKBUILD
new file mode 100644
index 000000000..4709626ae
--- /dev/null
+++ b/user/py3-olefile/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Max Rees <maxcrees@me.com>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=py3-olefile
+_pkgname=olefile
+pkgver=0.44
+pkgrel=0
+pkgdesc="A Python module to read/write MS OLE2 files"
+url="https://pypi.python.org/pypi/olefile"
+arch="noarch"
+license="Custom"
+depends="python3"
+makedepends="py3-setuptools python3-dev"
+install=""
+giturl="https://github.com/decalage2/olefile"
+verbase="$pkgver"
+reporev="v$pkgver"
+# The downloads from GitHub are missing the test files
+source="https://dev.sick.bike/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ python3 setup.py build
+}
+
+check() {
+ cd "$builddir"
+ PYTHONPATH="build/lib" python3 tests/test_olefile.py
+}
+
+package() {
+ cd "$builddir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="bece8b040cb3572c1fa2536a21c1de4c05e560b641e1c6e4bf66772135c43d29e06c7fc47d6c07d3c351b1f741f49c63201657634c33e9124de892e9a0cc053f py3-olefile-0.44.tar.gz"
diff --git a/user/py3-pillow/APKBUILD b/user/py3-pillow/APKBUILD
new file mode 100644
index 000000000..c995de7f5
--- /dev/null
+++ b/user/py3-pillow/APKBUILD
@@ -0,0 +1,54 @@
+# Contributor: Max Rees <maxcrees@me.com>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=py3-pillow
+_pkgname=Pillow
+pkgver=5.0.0
+pkgrel=0
+pkgdesc="A Python Imaging Library"
+url="https://pypi.python.org/pypi/Pillow/$pkgver"
+arch="all"
+license="Custom"
+depends="py3-olefile python3"
+makedepends="python3-dev py3-setuptools freetype-dev jpeg-dev libwebp-dev
+ tiff-dev libpng-dev lcms2-dev openjpeg-dev zlib-dev"
+subpackages="$pkgname-doc"
+_scripts_rev="f578e2c"
+source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
+ $pkgname-scripts-$_scripts_rev.tar.gz::https://github.com/python-pillow/pillow-scripts/archive/$_scripts_rev.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+unpack() {
+ default_unpack
+ mv pillow-scripts-*/Scripts "$builddir/Scripts"
+}
+
+build() {
+ cd "$builddir"
+ # zlib resides in lib
+ export CFLAGS="$CFLAGS -L/lib"
+ python3 setup.py build
+}
+
+check() {
+ cd "$builddir"
+ PYTHONPATH="$(find 'build' -name 'lib.*')" python3 selftest.py
+}
+
+package() {
+ cd "$builddir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+doc() {
+ pkgdesc="Example scripts for $pkgname"
+ depends="$pkgname"
+
+ cd "$builddir"
+ local destdir="$subpkgdir/usr/share/doc/$pkgname"
+ install -d "$destdir"/Scripts
+ install -m 644 Scripts/* "$destdir"/Scripts/
+ install -Dm644 LICENSE "$subpkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+sha512sums="f6f1e138effe44a89897f48032a36406dab3c4ddff2a97b7d01e99c05865abad5cffa3ab0eefcacb243e422778063b49243b1a538012fe9c39a1e4329c0978f3 py3-pillow-5.0.0.tar.gz
+1a2e6dc45127b3f0b706d5be4fdc8ddeb09a9e046a182eb48239572e1bdc62d1b1f1a1f11ef1f1f23766aaac1b498556cc9a9cf11d3b943c9f2834c9b41612e0 py3-pillow-scripts-f578e2c.tar.gz"
diff --git a/user/py3-pluggy/APKBUILD b/user/py3-pluggy/APKBUILD
new file mode 100644
index 000000000..b71d8de07
--- /dev/null
+++ b/user/py3-pluggy/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Max Rees <maxcrees@me.com>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=py3-pluggy
+_pkgname=pluggy
+pkgver=0.6.0
+pkgrel=0
+pkgdesc="Plugin management and hook calling for Python"
+url="https://pypi.python.org/pypi/pluggy"
+arch="noarch"
+license="MIT"
+depends="python3"
+makedepends="python3-dev py3-setuptools"
+#checkdepends="py3-tox"
+options="!check" # Cyclic dependency with py3-tox. Passes on x86_64
+source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ python3 setup.py build
+}
+
+check() {
+ cd "$builddir"
+ tox -e py36-pytestrelease
+}
+
+package() {
+ cd "$builddir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="dd58dabe2e65eee64d62c8748c2bbd99457288e99b819eb12312f2acdb0740ac46fd08f83522bc992297b9f14eec14c216c2c9688580f68393bf6fc609e65812 py3-pluggy-0.6.0.tar.gz"
diff --git a/user/py3-py/APKBUILD b/user/py3-py/APKBUILD
new file mode 100644
index 000000000..171ac8245
--- /dev/null
+++ b/user/py3-py/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Max Rees <maxcrees@me.com>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=py3-py
+_pkgname=py
+pkgver=1.4.34
+pkgrel=0
+pkgdesc="A python library with cross-python path, ini-parsing, io, code, log facilities"
+url="https://pypi.python.org/py/$pkgver"
+arch="noarch"
+license="MIT"
+depends="python3"
+makedepends="python3-dev py3-setuptools"
+#checkdepends="py3-tox"
+options="!check" # Circular dependency with py3-tox. Passes on x86_64
+source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ python3 setup.py build
+}
+
+check() {
+ # This test suite seems to be incurring the wrath of
+ # https://bugs.python.org/issue28627 on 1.5.2
+ cd "$builddir"
+ tox -e py36
+}
+
+package() {
+ cd "$builddir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="2e19c82c8315274bffe0ba2c7e20ae3af95f942c40c16121ec953af186f8ff33e8f427c070e137bb04b7cc6dcc6779e35df3911c08595fd3294b5ec9897706e1 py3-py-1.4.34.tar.gz"
diff --git a/user/py3-pytest/APKBUILD b/user/py3-pytest/APKBUILD
new file mode 100644
index 000000000..39b723529
--- /dev/null
+++ b/user/py3-pytest/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Max Rees <maxcrees@me.com>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=py3-pytest
+_pkgname=pytest
+pkgver=3.2.2
+pkgrel=0
+pkgdesc="A python test library"
+url="https://pypi.python.org/pypi/pytest"
+arch="noarch"
+license="MIT"
+depends="python3 py3-py"
+makedepends="py3-setuptools python3-dev"
+#checkdepends="py3-tox"
+options="!check" # Circular dependency with py3-tox. Passes on x86_64
+source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ python3 setup.py build
+}
+
+check() {
+ cd "$builddir"
+ tox -e py36
+}
+
+package() {
+ cd "$builddir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="6df3a50e7d1efeaf7a283920b16d1daf800798f422bc851b0aacd2bbd5cb0a88c95f9057fae49943b9dfe6527ed552cdf8d983b944ab91d0af252ee4f6eb82db py3-pytest-3.2.2.tar.gz"
diff --git a/user/py3-roman/APKBUILD b/user/py3-roman/APKBUILD
new file mode 100644
index 000000000..ce00a3785
--- /dev/null
+++ b/user/py3-roman/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Max Rees <maxcrees@me.com>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=py3-roman
+_pkgname=roman
+pkgver=2.0.0
+pkgrel=2
+pkgdesc="Python library to convert integers to Roman numerals"
+url="http://pypi.python.org/pypi/roman"
+arch="noarch"
+license="Python-2.1.1" # not SPDX
+depends="python3"
+makedepends="python3-dev py3-setuptools unzip"
+checkdepends="py3-tox"
+source="$pkgname-$pkgver.zip::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip
+ py36.patch"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ # Do not bootstrap - tries to access web
+ python3 setup.py build
+}
+
+check() {
+ cd "$builddir"
+ tox -e py36
+}
+
+package() {
+ cd "$builddir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="d62a95e835232821dbf7a81d0c6b7df63f18c4116cfc7eee0c691a0b31d3d7b69d2dc2e4ea26e0a169a8e24bf080e8bb1e195b853be4adf1491335a5b4d5702c py3-roman-2.0.0.zip
+8f6bfe0f7259db6091b71c8744592de34ca305a30b5ac44cb366fd3e71ebbead21b892939a15b19cd0e344445f981f16ae493bb70ade171b2ba1d92daa431931 py36.patch"
diff --git a/user/py3-roman/py36.patch b/user/py3-roman/py36.patch
new file mode 100644
index 000000000..fc74674a7
--- /dev/null
+++ b/user/py3-roman/py36.patch
@@ -0,0 +1,10 @@
+--- roman-2.0.0/tox.ini 2013-02-25 10:15:52.000000000 +0000
++++ roman-2.0.0/tox.ini 2018-01-11 02:04:11.950000000 +0000
+@@ -1,6 +1,6 @@
+ [tox]
+ envlist =
+- py26,py27,py33,pypy
++ py26,py27,py33,pypy,py36
+
+ [testenv]
+ commands =
diff --git a/user/py3-setuptools/APKBUILD b/user/py3-setuptools/APKBUILD
new file mode 100644
index 000000000..ba5e1aebf
--- /dev/null
+++ b/user/py3-setuptools/APKBUILD
@@ -0,0 +1,45 @@
+# Contributor: Max Rees <maxcrees@me.com>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=py3-setuptools
+_pkgname=setuptools
+pkgver=38.4.0
+pkgrel=1
+pkgdesc="A collection of enhancements to the Python distutils"
+url="http://pypi.python.org/pypi/setuptools"
+arch="noarch"
+license="MIT"
+depends="python3"
+makedepends="python3-dev"
+#checkdepends="py3-tox"
+options="!check" # Circular dependency with py3-tox. Passes on x86_64
+subpackages="py3-easy_install:easy_install"
+# Note: PyPI download is missing tests/requirements.txt
+source="$pkgname-$pkgver.tar.gz::https://github.com/pypa/$_pkgname/archive/v$pkgver.tar.gz
+ pythonpath.patch"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ python3 bootstrap.py
+ python3 setup.py build
+}
+
+check() {
+ cd "$builddir"
+ PYTHONPATH="$builddir" TOXENV="py36" tox
+}
+
+package() {
+ cd "$builddir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+easy_install() {
+ pkgdesc="Python easy_install tool (deprecated)"
+ depends="$pkgname python3"
+ mkdir -p "$subpkgdir/usr/bin"
+ mv "$pkgdir"/usr/bin/easy_install* "$subpkgdir/usr/bin"
+}
+
+sha512sums="81903ee7ecb19715bbafe7b4e6878d3af5f801a9ff3334e82a599a81a8e6430443c4b765180c53c3c9cdcea338b3fff0bdf26245bc9d2da7d5d41b745de73a24 py3-setuptools-38.4.0.tar.gz
+0c80433534dbb715829f48713690a72a68f6cb7e337215c9aa507df0fbb2a2a242f54d42fab848c6f03729f155dfe0ccb819a6f5d5230e2195e94e20094eec0b pythonpath.patch"
diff --git a/user/py3-setuptools/pythonpath.patch b/user/py3-setuptools/pythonpath.patch
new file mode 100644
index 000000000..371804f55
--- /dev/null
+++ b/user/py3-setuptools/pythonpath.patch
@@ -0,0 +1,10 @@
+--- setuptools-38.4.0/tox.ini 2018-01-05 13:17:02.000000000 +0000
++++ setuptools-38.4.0/tox.ini 2018-01-11 01:50:05.810000000 +0000
+@@ -6,6 +6,6 @@
+
+ [testenv]
+ deps=-rtests/requirements.txt
+-passenv=APPDATA USERPROFILE HOMEDRIVE HOMEPATH windir APPVEYOR
++passenv=APPDATA USERPROFILE HOMEDRIVE HOMEPATH windir APPVEYOR PYTHONPATH
+ commands=py.test {posargs}
+ usedevelop=True
diff --git a/user/py3-tox/APKBUILD b/user/py3-tox/APKBUILD
new file mode 100644
index 000000000..9ae7e731a
--- /dev/null
+++ b/user/py3-tox/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Max Rees <maxcrees@me.com>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=py3-tox
+_pkgname=tox
+pkgver=2.9.1
+pkgrel=0
+pkgdesc="virtualenv management and test command line tool"
+url="https://pypi.python.org/pypi/tox"
+arch="noarch"
+license="MIT"
+depends="py3-py py3-pluggy py3-virtualenv py3-six python3"
+makedepends="python3-dev py3-setuptools"
+#checkdepends="py3-pytest py3-tox"
+options="!check" # Circular dependency with itself and py3-pytest. Passes on x86_64
+source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ python3 setup.py build
+}
+
+check() {
+ cd "$builddir"
+ tox -e py36
+}
+
+package() {
+ cd "$builddir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="ff19b2bb7ac963379f1cccd4973ad9eb4dabfbda976cde7caba50ad010d8fa57c1cba91d63e3e0512e44cc7d350bc9270fbd9b30db1bd55f7d9c239e7623d066 py3-tox-2.9.1.tar.gz"
diff --git a/user/py3-virtualenv/APKBUILD b/user/py3-virtualenv/APKBUILD
new file mode 100644
index 000000000..0d4212635
--- /dev/null
+++ b/user/py3-virtualenv/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Max Rees <maxcrees@me.com>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=py3-virtualenv
+_pkgname=virtualenv
+pkgver=15.1.0
+pkgrel=0
+pkgdesc="Virtual Python Environment builder"
+url="https://pypi.python.org/pypi/virtualenv"
+arch="noarch"
+license="MIT"
+depends="python3"
+makedepends="python3-dev"
+checkdepends="py3-pytest py3-setuptools cmd:which"
+source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
+ test-python3.patch"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ python3 setup.py build
+ sed -ie "s/env python$/env python3/" virtualenv.py
+}
+
+check() {
+ cd "$builddir"
+ python3 setup.py test
+ cd tests
+ ./test_activate.sh
+}
+
+package() {
+ cd "$builddir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="d7e95b8c017ec076210f30b6fd4bb44be2f7dc0257492c25bb00fee597d3ade34226d03539180f1edaf2d27b361f8efdabb92d3476e13785b890878ee1295cb2 py3-virtualenv-15.1.0.tar.gz
+8e022416eb10289fd5215f3810203eefb450ce2fca7bdc581b5cd1892f41f34815beec35fc6c744991536c1f2edebd58ab934a4414c6fe2ae6387aea02787ef8 test-python3.patch"
diff --git a/user/py3-virtualenv/test-python3.patch b/user/py3-virtualenv/test-python3.patch
new file mode 100644
index 000000000..8b4a99b51
--- /dev/null
+++ b/user/py3-virtualenv/test-python3.patch
@@ -0,0 +1,74 @@
+--- virtualenv-15.1.0/tests/test_activate_output.expected 2016-11-16 02:39:30.000000000 +0000
++++ virtualenv-15.1.0/tests/test_activate_output.expected 2018-01-10 23:31:17.840000000 +0000
+@@ -1,2 +1,4 @@
+-New python executable in /tmp/test_virtualenv_activate.venv/bin/python
++Using base prefix '/usr'
++New python executable in /tmp/test_virtualenv_activate.venv/bin/python3
++Also creating executable in /tmp/test_virtualenv_activate.venv/bin/python
+ Installing setuptools, pip, wheel...done.
+--- virtualenv-15.1.0/tests/test_virtualenv.py 2016-11-16 02:39:30.000000000 +0000
++++ virtualenv-15.1.0/tests/test_virtualenv.py 2018-01-11 03:40:22.270000000 +0000
+@@ -58,13 +58,13 @@
+ def test_activate_after_future_statements():
+ """Should insert activation line after last future statement"""
+ script = [
+- '#!/usr/bin/env python',
++ '#!/usr/bin/env python3',
+ 'from __future__ import with_statement',
+ 'from __future__ import print_function',
+ 'print("Hello, world!")'
+ ]
+ assert virtualenv.relative_script(script) == [
+- '#!/usr/bin/env python',
++ '#!/usr/bin/env python3',
+ 'from __future__ import with_statement',
+ 'from __future__ import print_function',
+ '',
+@@ -110,7 +110,7 @@
+ if virtualenv.is_win:
+ required_executables = ['python.exe', 'pythonw.exe']
+ else:
+- py_exe_no_version = 'python'
++ py_exe_no_version = 'python3'
+ py_exe_version_major = 'python%s' % sys.version_info[0]
+ py_exe_version_major_minor = 'python%s.%s' % (
+ sys.version_info[0], sys.version_info[1])
+--- virtualenv-15.1.0/tests/test_activate.sh 2016-11-16 02:39:30.000000000 +0000
++++ virtualenv-15.1.0/tests/test_activate.sh 2018-01-11 03:49:05.070000000 +0000
+@@ -19,7 +19,7 @@
+ echo "$0: Created virtualenv ${TESTENV}." 1>&2
+
+ echo "$0: Activating ${TESTENV}..." 1>&2
+-. ${TESTENV}/bin/activate
++PS1="${PS1:-}" . ${TESTENV}/bin/activate
+ echo "$0: Activated ${TESTENV}." 1>&2
+
+ echo "$0: Checking value of \$VIRTUAL_ENV..." 1>&2
+@@ -31,14 +31,14 @@
+
+ echo "$0: \$VIRTUAL_ENV = \"${VIRTUAL_ENV}\" -- OK." 1>&2
+
+-echo "$0: Checking output of \$(which python)..." 1>&2
++echo "$0: Checking output of \$(which python3)..." 1>&2
+
+-if [ "$(which python)" != "${TESTENV}/bin/python" ]; then
+- echo "$0: Expected \$(which python) to return \"${TESTENV}/bin/python\"; actual value: \"$(which python)\"!" 1>&2
++if [ "$(which python3)" != "${TESTENV}/bin/python3" ]; then
++ echo "$0: Expected \$(which python3) to return \"${TESTENV}/bin/python3\"; actual value: \"$(which python3)\"!" 1>&2
+ exit 3
+ fi
+
+-echo "$0: Output of \$(which python) is OK." 1>&2
++echo "$0: Output of \$(which python3) is OK." 1>&2
+
+ echo "$0: Checking output of \$(which pip)..." 1>&2
+
+@@ -60,7 +60,7 @@
+
+ echo "$0: Executing a simple Python program..." 1>&2
+
+-TESTENV=${TESTENV} python <<__END__
++TESTENV=${TESTENV} python3 <<__END__
+ import os, sys
+
+ expected_site_packages = os.path.join(os.environ['TESTENV'], 'lib','python%s' % sys.version[:3], 'site-packages')
diff --git a/user/schismtracker/APKBUILD b/user/schismtracker/APKBUILD
new file mode 100644
index 000000000..0394a6d06
--- /dev/null
+++ b/user/schismtracker/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Horst Burkhardt <horst@adelielinux.org>
+# Maintainer: Horst Burkhardt <horst@adelielinux.org>
+pkgname=schismtracker
+pkgver=20180209
+pkgrel=0
+pkgdesc="A highly portable Impulse Tracker clone"
+url="http://schismtracker.org/"
+arch="all"
+license="GPL-2.0-only"
+options="!check" # No test suite.
+depends=""
+makedepends="python3 libtool sdl-dev libx11-dev libxdmcp-dev libxau-dev libxext-dev libbsd-dev"
+source="schismtracker-20180209.tar.gz::https://github.com/schismtracker/schismtracker/archive/20180209.tar.gz"
+subpackages="$pkgname-doc"
+
+build() {
+ cd "$builddir"
+ autoreconf -i
+ ./configure \
+ --enable-fortify-source \
+ --prefix=/usr
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="0bc5b43dd491db8b63d4a0c980a25b48c1e91a113633a034ea3281d664c52b13bcae7a0b8e12d6862b39078b544e0c91721f8a73e3f0536f3b748f548c701140 schismtracker-20180209.tar.gz"
diff --git a/user/xcape/APKBUILD b/user/xcape/APKBUILD
new file mode 100644
index 000000000..327e3579d
--- /dev/null
+++ b/user/xcape/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Max Rees <maxcrees@me.com>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=xcape
+pkgver=1.2
+pkgrel=0
+pkgdesc="Utility to make modifier keys act as other keys when pressed and released on their own"
+url="https://github.com/alols/xcape"
+arch="all"
+license="GPL-3.0+"
+depends=""
+makedepends="pkgconf libx11-dev libxtst-dev"
+install=""
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+options="!check" # No test suite.
+
+build() {
+ cd "$builddir"
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" MANDIR="/share/man/man1" install
+}
+
+sha512sums="5ae8502250a9ec55a4b0c5f7301c1597c652b76904261153b720362e3c5882e8db980c85396a2594f99ae2fb72ab7070c1b06c9432d54b7da84975ff45b25a79 xcape-1.2.tar.gz"