diff options
139 files changed, 13656 insertions, 7 deletions
diff --git a/.gitignore b/.gitignore index f815bbc6a..9d982c9af 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -*/src/* +src +pkg diff --git a/system/adelie-base/APKBUILD b/system/adelie-base/APKBUILD index c2ecee897..766b77863 100644 --- a/system/adelie-base/APKBUILD +++ b/system/adelie-base/APKBUILD @@ -3,19 +3,28 @@ pkgname=adelie-base pkgver=0.3.3 -pkgrel=0 +pkgrel=1 pkgdesc="The Adélie Linux Base System" url="http://adelielinux.org/" arch="noarch" license="NCSA" -depends="apk-tools shadow sysklogd libarchive-tools zsh binutils at coreutils diffutils fcron file findutils shimmy grep procps util-linux mailx man-db patch sed sharutils bc vim psmisc net-tools kbd less" +depends="apk-tools shadow + libarchive-tools file shimmy grep procps + zsh bash + binutils coreutils diffutils findutils sharutils + util-linux net-tools kbd + sysklogd at fcron + mailx man-db patch sed bc vim psmisc less" makedepends="" install="" options="!check !fhs" subpackages="$pkgname-doc $pkgname-posix $pkgname-lsb dev-kit:devkit" source="https://distfiles.adelielinux.org/source/$pkgname/$pkgname-$pkgver.tar.xz group - passwd" + passwd + addgroup + adduser + " build() { # taken from Alpine Base Layout @@ -35,6 +44,11 @@ package() { make install DESTDIR="$pkgdir" install -m644 "$srcdir"/group "$pkgdir"/etc/group install -m644 "$srcdir"/passwd "$pkgdir"/etc/passwd + + # stupid inflatable stupid busybox + for i in adduser addgroup; do + install -m755 "$srcdir"/$i "$pkgdir"/usr/sbin/$i + done } doc() { @@ -68,4 +82,6 @@ devkit() { sha512sums="ffa0f9d5d91ab3a5cef021b6f4ab010fa936055146e33002b8741b8302f638439453a2db7544d3d37a8eba9d3d9a3f85856e6cc25950639a4d7a1927072d09c6 adelie-base-0.3.3.tar.xz e6775b9e1c6421338aaceee375b3b74aa100fd444e369b280ce45c9167119b76bebc11737d7f929e50e20a553a35e0e25f7d0f71deb0483d3bccc08e319dcf98 group -9eede0c1cd56a9ffb5227cc9446cdb1bbe73d5f17cd5ee99cf29acca3160f3a96d79e1420311a140f9d9f32950b9823b33ad84dadf7b85921d4f1a945dd5a252 passwd" +9eede0c1cd56a9ffb5227cc9446cdb1bbe73d5f17cd5ee99cf29acca3160f3a96d79e1420311a140f9d9f32950b9823b33ad84dadf7b85921d4f1a945dd5a252 passwd +a5035c18efc50be5d0c8dd452619d781da09c9441ed53462c99693170d1ae2b4306a81846e42b616c5ef8cd5b6fbbf047f93ae5ee9613126581cf701b3a6ade7 addgroup +9e53246d7674279b64962eb45060f07a752f86e9b3cee49b4b05be4dd13113b03c18e62381c92546fae9b05b3dc6100f29cea48c716b3219d973444f71e1fd5a adduser" diff --git a/system/adelie-base/addgroup b/system/adelie-base/addgroup new file mode 100755 index 000000000..051df3696 --- /dev/null +++ b/system/adelie-base/addgroup @@ -0,0 +1,36 @@ +#!/bin/sh +# addgroup - BusyBox compatibility shim +# bbshim +# +# Copyright © 2017 A. Wilcox. All rights reserved. +# Licensed under the terms of the NCSA Open Source license. +# + +ARG= +CMDLINE= + +while getopts :g:S ARG +do + case $ARG in + g) CMDLINE="$CMDLINE -g \"$OPTARG\"" ;; + S) CMDLINE="$CMDLINE -r" ;; + :) exit 1 ;; + \?) exit 1 ;; + esac +done + +shift $(($OPTIND - 1)) + +if [ -z "$*" ]; then + echo "$0: group name is required" >&2 + exit 1 +fi + +set "$@" + + +if [ -n "$2" ]; then + exec usermod -a -G $2 $1 +fi + +groupadd $CMDLINE $1 diff --git a/system/adelie-base/adduser b/system/adelie-base/adduser new file mode 100755 index 000000000..ba9d90a61 --- /dev/null +++ b/system/adelie-base/adduser @@ -0,0 +1,90 @@ +#!/bin/sh +# adduser - BusyBox compatibility shim +# bbshim +# +# Copyright © 2017 A. Wilcox. All rights reserved. +# Licensed under the terms of the NCSA Open Source license. +# + +# The GECOS for the new user. +GECOS="Linux User,,," + +# Additional groups in which to add the new user. +MYGROUPS= + +# Path to the home directory for the new user. +HOMEDIR= + +# Don't call passwd(1) for the new user afterwards. +NOPASSWD=0 + +# The new user's shell. +MYSHELL=$SHELL + +# An alternative skeleton directory for the new user's home directory. +SKEL=/etc/skel + +# The new user is a system user. +SYSTEM=0 + +# Use this UID number for the new user. +MYUID= + + +ARG= + +while getopts h:g:s:G:SDHu:k: ARG +do + case $ARG in + h) HOMEDIR=$OPTARG ;; + g) GECOS=$OPTARG ;; + s) MYSHELL=$OPTARG ;; + G) MYGROUPS=$OPTARG ;; + S) SYSTEM=1 + MYSHELL="/bin/false";; + D) NOPASSWD=1 ;; + H) unset HOMEDIR ;; + u) MYUID=$OPTARG ;; + k) SKEL=$OPTARG ;; + :) exit 1 ;; + \?) exit 1 ;; + esac +done + +shift $(($OPTIND - 1)) + +if [ -z "$*" ]; then + echo "$0: user name is required" >&2 + exit 1 +fi + +set "$@" + + +CMDLINE="-s $MYSHELL" + +if [ -n "$MYGROUPS" ]; then + CMDLINE="$CMDLINE -g $MYGROUPS" +fi + +if [ -n "$HOMEDIR" ]; then + CMDLINE="$CMDLINE -m -d \"$HOMEDIR\" -k \"$SKEL\"" +fi + +if [ $SYSTEM -ne 0 ]; then + CMDLINE="$CMDLINE -r" +fi + +if [ -n "$MYUID" ]; then + CMDLINE="$CMDLINE -u $MYUID" +fi + +if [ -n "$2" ]; then + CMDLINE="$CMDLINE -g $2" +fi + +useradd -c "$GECOS" $CMDLINE $1 + +#if [ $NOPASSWD -eq 0 ]; then +# passwd $1 +#fi diff --git a/system/build-tools/APKBUILD b/system/build-tools/APKBUILD index 7d622d56a..6b89b6a74 100644 --- a/system/build-tools/APKBUILD +++ b/system/build-tools/APKBUILD @@ -3,14 +3,25 @@ pkgname=build-tools pkgver=1.0 -pkgrel=0 +pkgrel=2 pkgdesc="Meta-package for user development utilities" url="https://adelielinux.org/" arch="noarch" license="NCSA" -depends="bash man-pages autoconf automake binutils flex gcc g++ libtool make patch linux-headers mawk bison cmake git git-perl" +depends="bash + man-pages + autoconf automake libtool + binutils gcc g++ + cmake make + diffutils patch + fortify-headers linux-headers + mawk bison flex sed + git git-perl + bzip2 gzip unzip xz + abuild" makedepends="" options="!check" +provides="build-base" source="" build() { diff --git a/user/ark/APKBUILD b/user/ark/APKBUILD new file mode 100644 index 000000000..1009a52da --- /dev/null +++ b/user/ark/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=ark +pkgver=17.08.1 +pkgrel=0 +pkgdesc="Graphical file compression/decompression utility with support for multiple formats" +url="https://utils.kde.org/projects/ark/" +arch="all" +license="GPL-2.0" +options="!check" # requires other formats not packaged and manual user input +depends="lzop unrar unzip zip" +makedepends="cmake extra-cmake-modules qt5-qtbase-dev karchive-dev kconfig-dev + kcrash-dev kdbusaddons-dev kdoctools-dev ki18n-dev kiconthemes-dev + kitemmodels-dev kio-dev kservice-dev kparts-dev kpty-dev libarchive-dev + kwidgetsaddons-dev" +install="" +subpackages="$pkgname-doc $pkgname-lang" +source="http://download.kde.org/stable/applications/$pkgver/src/ark-$pkgver.tar.xz" +builddir="$srcdir/ark-$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="7c85ee28f60b6f99204977cb1f5b76ae893166540fb13a58fba7f964a76d7c4e0d7b9fa430000d4822e4ac26c3cec9d8280c20673dc166196fed33ae57bc907d ark-17.08.1.tar.xz" diff --git a/user/attica/APKBUILD b/user/attica/APKBUILD new file mode 100644 index 000000000..71e980b96 --- /dev/null +++ b/user/attica/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=attica +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Qt 5-based implementation of Open Collaboration Services" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev" +makedepends="$depends_dev cmake extra-cmake-modules" +install="" +subpackages="$pkgname-dev" +source="http://download.kde.org/stable/frameworks/5.38/attica-$pkgver.tar.xz" +builddir="$srcdir/attica-$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="acd69c9e9955062ebd362ab6d2e247e3b37a12f9d470197426f90798b422c64f198a93754d408be72b0e442b97b161218349a71761f6156c87c1feae6f62b2f6 attica-5.38.0.tar.xz" diff --git a/user/baloo/APKBUILD b/user/baloo/APKBUILD new file mode 100644 index 000000000..e9d7cfbc6 --- /dev/null +++ b/user/baloo/APKBUILD @@ -0,0 +1,62 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=baloo +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Semantic desktop search framework" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +# Test #4 in the suite, bin/querytest: +# Test cleanup method is not run after testTermEqual. +# This leaves a `db` handle stale, which is using the single-reader-per-thread +# pthread_key that lmdb provides. +# This causes the next test, testTermStartsWith, to fail to acquire a reader +# transaction because the previous transaction was not committed or aborted. +# Since the test does not check for a transaction failure and blindly uses the +# transaction object returned, it attempts to access 0xc (accessing a member of +# the returned nullptr), and segfaults. +# Three other tests in the suite fail in the same way. +# This may be a bug in libQtTest, or in musl. I have not debugged further. +# This has already taken up two days of my time and I just want to ship Plasma +options="!check" +depends="" +depends_dev="qt5-qtbase-dev kcoreaddons-dev kconfig-dev kdbusaddons-dev lmdb-dev + ki18n-dev kidletime-dev solid-dev kfilemetadata-dev kcrash-dev kio-dev" +makedepends="$depends_dev cmake extra-cmake-modules python3 gettext-dev doxygen + graphviz qt5-qttools-dev" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="http://download.kde.org/static/frameworks/5.38/baloo-$pkgver.tar.xz + initialise-variable.patch" +builddir="$srcdir/baloo-$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" \ + -DBUILD_QCH:BOOL=ON \ + ${CMAKE_CROSSOPTS} + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="39dd317c9a9b2b3ec038ad8785e9c70ef7d16ac43a36f34a12b55c7c2a505001e33db467ddad0ea2921c14a0dcc7d3bec4564b14c699101839a46624637487f4 baloo-5.38.0.tar.xz +5622f1eb7a692c0ebd5d904b421612292375d3ea3f4ffdc4624fa8e2dc4a5fe56e5636f11a388224642be03c8fc28a678cffb9b167eb3de48ff4ae2979e6435e initialise-variable.patch" diff --git a/user/baloo/baloo-5.38.0-r0-x86_64-ciall.log b/user/baloo/baloo-5.38.0-r0-x86_64-ciall.log new file mode 100644 index 000000000..00820eb0c --- /dev/null +++ b/user/baloo/baloo-5.38.0-r0-x86_64-ciall.log @@ -0,0 +1,2714 @@ +>>> baloo: abuild 3.0.1-r2 +]0;abuild: baloo>>> baloo: Checking sanity of /usr/src/packages/user/baloo/APKBUILD... +>>> baloo: Analyzing dependencies... +>>> baloo: Installing for build: build-base qt5-qtbase-dev kcoreaddons-dev kconfig-dev kdbusaddons-dev lmdb-dev ki18n-dev kidletime-dev solid-dev kfilemetadata-dev kcrash-dev kio-dev cmake extra-cmake-modules python3 gettext-dev doxygen graphviz qt5-qttools-dev +(1/247) Installing fcron-pam (3.2.0-r2) +(2/247) Installing libpciaccess (0.13.5-r1) +(3/247) Installing libdrm (2.4.83-r2) +(4/247) Installing libdrm-dev (2.4.83-r2) +(5/247) Installing dri2proto (2.8-r2) +(6/247) Installing xproto (7.0.31-r1) +(7/247) Installing libxau-dev (1.0.8-r2) +(8/247) Installing xcb-proto (1.12-r1) +(9/247) Installing libpthread-stubs (0.3-r5) +(10/247) Installing libxdmcp-dev (1.1.2-r4) +(11/247) Installing libxcb-dev (1.12-r1) +(12/247) Installing xextproto (7.3.0-r2) +(13/247) Installing xf86bigfontproto-dev (1.2.0-r5) +(14/247) Installing xtrans (1.3.5-r1) +(15/247) Installing inputproto (2.3.2-r1) +(16/247) Installing kbproto (1.0.7-r2) +(17/247) Installing libx11-dev (1.6.5-r1) +(18/247) Installing libxext-dev (1.3.3-r2) +(19/247) Installing libxxf86vm (1.1.4-r1) +(20/247) Installing xf86vidmodeproto (2.3.1-r3) +(21/247) Installing libxxf86vm-dev (1.1.4-r1) +(22/247) Installing damageproto (1.2.1-r3) +(23/247) Installing fixesproto (5.0-r2) +(24/247) Installing libxfixes-dev (5.0.3-r1) +(25/247) Installing libxdamage-dev (1.1.4-r1) +(26/247) Installing glproto (1.4.17-r2) +(27/247) Installing dri3proto (1.0-r2) +(28/247) Installing presentproto (1.1-r1) +(29/247) Installing libxshmfence (1.2-r2) +(30/247) Installing libxshmfence-dev (1.2-r2) +(31/247) Installing wayland-libs-server (1.14.0-r2) +(32/247) Installing wayland-libs-cursor (1.14.0-r2) +(33/247) Installing wayland-libs-client (1.14.0-r2) +(34/247) Installing mesa-gbm (17.1.4-r2) +(35/247) Installing mesa-egl (17.1.4-r2) +(36/247) Installing mesa-glapi (17.1.4-r2) +(37/247) Installing mesa-gl (17.1.4-r2) +(38/247) Installing mesa-gles (17.1.4-r2) +(39/247) Installing mesa-libwayland-egl (17.1.4-r2) +(40/247) Installing mesa-osmesa (17.1.4-r2) +(41/247) Installing llvm4-libs (4.0.0-r5) +(42/247) Installing mesa-xatracker (17.1.4-r2) +(43/247) Installing libffi-dev (3.2.1-r4) +(44/247) Installing expat-dev (2.2.4-r0) +(45/247) Installing wayland-dev (1.14.0-r2) +(46/247) Installing mesa-dev (17.1.4-r2) +(47/247) Installing libice-dev (1.0.9-r2) +(48/247) Installing libsm-dev (1.2.2-r1) +(49/247) Installing zlib-dev (1.2.11-r1) +(50/247) Installing openssl-dev (1.0.2l-r0) +(51/247) Installing libpng-dev (1.6.32-r1) +(52/247) Installing freetype-dev (2.8.1-r1) +(53/247) Installing fontconfig-dev (2.12.4-r1) +(54/247) Installing gdbm (1.13-r1) +(55/247) Installing python3 (3.6.2-r2) +(56/247) Installing attr-dev (2.4.47-r7) +(57/247) Installing gettext-asprintf (0.19.8.1-r1) +(58/247) Installing gettext-libs (0.19.8.1-r1) +(59/247) Installing gettext (0.19.8.1-r1) +(60/247) Installing gettext-dev (0.19.8.1-r1) +(61/247) Installing bzip2-dev (1.0.6-r6) +(62/247) Installing util-linux-dev (2.30.1-r3) +(63/247) Installing libpcre16 (8.41-r1) +(64/247) Installing libpcre32 (8.41-r1) +(65/247) Installing libpcrecpp (8.41-r1) +(66/247) Installing pcre-dev (8.41-r1) +(67/247) Installing glib-dev (2.54.0-r0) +(68/247) Installing sqlite-dev (3.20.1-r0) +(69/247) Installing dbus-libs (1.10.18-r1) +(70/247) Installing dbus-dev (1.10.18-r1) +(71/247) Installing libpcre2-16 (10.30-r0) +(72/247) Installing qt5-qtbase (5.9.1-r2) +(73/247) Installing qt5-qtbase-sqlite (5.9.1-r2) +(74/247) Installing unixodbc (2.3.4-r2) +(75/247) Installing qt5-qtbase-odbc (5.9.1-r2) +(76/247) Installing libpq (9.6.4-r1) +(77/247) Installing qt5-qtbase-postgresql (5.9.1-r2) +(78/247) Installing mariadb-common (10.1.26-r1) +(79/247) Installing mariadb-client-libs (10.1.26-r1) +(80/247) Installing qt5-qtbase-mysql (5.9.1-r2) +(81/247) Installing freetds (1.00.40-r0) +(82/247) Installing qt5-qtbase-tds (5.9.1-r2) +(83/247) Installing libevdev (1.5.7-r1) +(84/247) Installing mtdev (1.1.5-r2) +(85/247) Installing eudev-libs (3.2.4-r0) +(86/247) Installing libinput-libs (1.8.1-r1) +(87/247) Installing xcb-util-wm (0.4.1-r1) +(88/247) Installing xcb-util (0.4.0-r1) +(89/247) Installing xcb-util-image (0.4.0-r1) +(90/247) Installing xcb-util-keysyms (0.4.0-r1) +(91/247) Installing xcb-util-renderutil (0.3.9-r1) +(92/247) Installing libxkbcommon (0.7.1-r1) +(93/247) Installing qt5-qtbase-x11 (5.9.1-r2) +(94/247) Installing qt5-qtbase-dev (5.9.1-r2) +(95/247) Installing kcoreaddons (5.38.0-r0) +(96/247) Installing kcoreaddons-dev (5.38.0-r0) +(97/247) Installing kconfig (5.38.0-r0) +(98/247) Installing kconfig-dev (5.38.0-r0) +(99/247) Installing qt5-qtx11extras (5.9.1-r0) +(100/247) Installing qt5-qtx11extras-dev (5.9.1-r0) +(101/247) Installing kdbusaddons (5.38.0-r0) +(102/247) Installing kdbusaddons-dev (5.38.0-r0) +(103/247) Installing lmdb-dev (0.9.21-r1) +(104/247) Installing qt5-qtscript (5.9.1-r0) +(105/247) Installing qt5-qtscript-dev (5.9.1-r0) +(106/247) Installing qt5-qtdeclarative (5.9.1-r0) +(107/247) Installing qt5-qtdeclarative-dev (5.9.1-r0) +(108/247) Installing ki18n (5.38.0-r0) +(109/247) Installing ki18n-dev (5.38.0-r0) +(110/247) Installing kidletime (5.38.0-r0) +(111/247) Installing kidletime-dev (5.38.0-r0) +(112/247) Installing udev-init-scripts (32-r1) +Executing udev-init-scripts-32-r1.post-install +(113/247) Installing kmod (24-r1) +(114/247) Installing eudev (3.2.4-r0) +(115/247) Installing eudev-dev (3.2.4-r0) +(116/247) Installing solid (5.38.0-r0) +(117/247) Installing solid-dev (5.38.0-r0) +(118/247) Installing xz-dev (5.2.3-r1) +(119/247) Installing karchive (5.38.0-r0) +(120/247) Installing karchive-dev (5.38.0-r0) +(121/247) Installing libjpeg-turbo-dev (1.5.2-r1) +(122/247) Installing renderproto (0.11.1-r3) +(123/247) Installing libxrender-dev (0.9.10-r2) +(124/247) Installing pixman-dev (0.34.0-r2) +(125/247) Installing util-macros (1.19.1-r1) +(126/247) Installing xcb-util-dev (0.4.0-r1) +(127/247) Installing cairo-tools (1.14.8-r2) +(128/247) Installing cairo-gobject (1.14.8-r2) +(129/247) Installing cairo-dev (1.14.8-r2) +(130/247) Installing icu-dev (59.1-r1) +(131/247) Installing libxml2-dev (2.9.4-r5) +(132/247) Installing lcms2 (2.8-r2) +(133/247) Installing openjpeg (2.2.0-r2) +(134/247) Installing tiff (4.0.8-r1) +(135/247) Installing poppler (0.56.0-r1) +(136/247) Installing poppler-glib (0.56.0-r1) +(137/247) Installing poppler-dev (0.56.0-r1) +(138/247) Installing tiff-dev (4.0.8-r1) +(139/247) Installing lcms2-dev (2.8-r2) +(140/247) Installing openjpeg-dev (2.2.0-r2) +(141/247) Installing poppler-qt5 (0.56.0-r0) +(142/247) Installing poppler-qt5-dev (0.56.0-r0) +(143/247) Installing exiv2 (0.26-r0) +(144/247) Installing exiv2-dev (0.26-r0) +(145/247) Installing taglib (1.11.1-r1) +(146/247) Installing taglib-dev (1.11.1-r1) +(147/247) Installing alsa-lib (1.1.4.1-r2) +(148/247) Installing libxv (1.0.11-r1) +(149/247) Installing cdparanoia-libs (10.2-r7) +(150/247) Installing gstreamer (1.12.2-r1) +(151/247) Installing libogg (1.3.2-r2) +(152/247) Installing opus (1.2.1-r0) +(153/247) Installing orc (0.4.26-r1) +(154/247) Installing libtheora (1.1.1-r13) +(155/247) Installing libvorbis (1.3.5-r2) +(156/247) Installing gst-plugins-base (1.12.1-r3) +(157/247) Installing json-c (0.12.1-r2) +(158/247) Installing flac (1.3.2-r1) +(159/247) Installing libsndfile (1.0.28-r3) +(160/247) Installing speexdsp (1.2_rc3-r4) +(161/247) Installing pulseaudio-libs (9.0-r2) +(162/247) Installing qt5-qtmultimedia (5.9.1-r1) +(163/247) Installing qt5-qtmultimedia-dev (5.9.1-r1) +(164/247) Installing catdoc (0.95-r0) +(165/247) Installing kfilemetadata (5.38.0-r0) +(166/247) Installing kfilemetadata-dev (5.38.0-r0) +(167/247) Installing xcb-util-keysyms-dev (0.4.0-r1) +(168/247) Installing kwindowsystem (5.38.0-r0) +(169/247) Installing kwindowsystem-dev (5.38.0-r0) +(170/247) Installing kcrash (5.38.0-r0) +(171/247) Installing kcrash-dev (5.38.0-r0) +(172/247) Installing kservice (5.38.0-r0) +(173/247) Installing kservice-dev (5.38.0-r0) +(174/247) Installing kcodecs (5.38.0-r0) +(175/247) Installing kcodecs-dev (5.38.0-r0) +(176/247) Installing dbus-glib (0.108-r1) +(177/247) Installing eggdbus (0.6-r5) +(178/247) Installing eggdbus-dev (0.6-r5) +(179/247) Installing dbus-glib-dev (0.108-r1) +(180/247) Installing linux-pam-dev (1.3.0-r0) +(181/247) Installing polkit (0.105-r8) +(182/247) Installing polkit-dev (0.105-r8) +(183/247) Installing polkit-qt-1 (0.112.0-r0) +(184/247) Installing polkit-qt-1-dev (0.112.0-r0) +(185/247) Installing kauth (5.38.0-r0) +(186/247) Installing kauth-dev (5.38.0-r0) +(187/247) Installing kguiaddons (5.38.0-r0) +(188/247) Installing kguiaddons-dev (5.38.0-r0) +(189/247) Installing kwidgetsaddons (5.38.0-r0) +(190/247) Installing kwidgetsaddons-dev (5.38.0-r0) +(191/247) Installing libxslt (1.1.29-r4) +(192/247) Installing libxslt-dev (1.1.29-r4) +(193/247) Installing perl-uri-escape (1.72-r0) +(194/247) Installing libxml2-utils (2.9.5-r2) +(195/247) Installing docbook-xml (4.5-r5) +Executing docbook-xml-4.5-r5.post-install +(196/247) Installing docbook-xsl (1.79.1-r0) +Executing docbook-xsl-1.79.1-r0.post-install +(197/247) Installing kdoctools (5.38.0-r0) +(198/247) Installing kdoctools-dev (5.38.0-r0) +(199/247) Installing kconfigwidgets (5.38.0-r0) +(200/247) Installing kconfigwidgets-dev (5.38.0-r0) +(201/247) Installing qt5-qtsvg (5.9.1-r0) +(202/247) Installing qt5-qtsvg-dev (5.9.1-r0) +(203/247) Installing kitemviews (5.38.0-r0) +(204/247) Installing kitemviews-dev (5.38.0-r0) +(205/247) Installing kiconthemes (5.38.0-r0) +(206/247) Installing kiconthemes-dev (5.38.0-r0) +(207/247) Installing kcompletion (5.38.0-r0) +(208/247) Installing kcompletion-dev (5.38.0-r0) +(209/247) Installing sonnet (5.38.0-r0) +(210/247) Installing sonnet-dev (5.38.0-r0) +(211/247) Installing ktextwidgets (5.38.0-r0) +(212/247) Installing ktextwidgets-dev (5.38.0-r0) +(213/247) Installing kglobalaccel (5.38.0-r0) +(214/247) Installing kglobalaccel-dev (5.38.0-r0) +(215/247) Installing attica (5.38.0-r0) +(216/247) Installing attica-dev (5.38.0-r0) +(217/247) Installing kxmlgui (5.38.0-r0) +(218/247) Installing kxmlgui-dev (5.38.0-r0) +(219/247) Installing kbookmarks (5.38.0-r0) +(220/247) Installing kbookmarks-dev (5.38.0-r0) +(221/247) Installing kjobwidgets (5.38.0-r0) +(222/247) Installing kjobwidgets-dev (5.38.0-r0) +(223/247) Installing acl-dev (2.2.52-r4) +(224/247) Installing libxtst (1.2.3-r1) +(225/247) Installing fftw-single-libs (3.3.6p2-r0) +(226/247) Installing libidl (0.8.14-r3) +(227/247) Installing orbit2 (2.14.19-r4) +(228/247) Installing gconf (3.2.6-r2) +(229/247) Installing pulseaudio (9.0-r2) +(230/247) Installing phonon (4.9.1-r0) +(231/247) Installing phonon-dev (4.9.1-r0) +(232/247) Installing libdbusmenu-qt-dev (0.9.3_pre20160218-r0) +(233/247) Installing knotifications (5.38.0-r0) +(234/247) Installing knotifications-dev (5.38.0-r0) +(235/247) Installing libgpg-error-dev (1.27-r1) +(236/247) Installing libgcrypt-dev (1.8.1-r1) +(237/247) Installing kwallet (5.38.0-r0) +(238/247) Installing kwallet-dev (5.38.0-r0) +(239/247) Installing kio (5.38.0-r0) +(240/247) Installing kio-dev (5.38.0-r0) +(241/247) Installing extra-cmake-modules (5.38.0-r0) +(242/247) Installing doxygen (1.8.13-r1) +(243/247) Installing graphviz (2.40.1-r1) +(244/247) Installing qt5-qttools (5.9.1-r1) +(245/247) Installing qt5-qttools-dev (5.9.1-r1) +(246/247) Installing .makedepends-baloo (0) +(247/247) Installing pulseaudio-zsh-completion (9.0-r2) +Executing glib-2.54.0-r0.trigger +No schema files found: doing nothing. +Executing graphviz-2.40.1-r1.trigger +Executing shared-mime-info-1.8-r1.trigger +Executing gtk-update-icon-cache-2.24.31-r1.trigger +OK: 1464 MiB in 446 packages +>>> baloo: Cleaning temporary build dirs... +>>> baloo: Fetching http://download.kde.org/stable/frameworks/5.38/baloo-5.38.0.tar.xz +>>> baloo: Fetching http://download.kde.org/stable/frameworks/5.38/baloo-5.38.0.tar.xz +>>> baloo: Checking sha512sums... +baloo-5.38.0.tar.xz: OK +>>> baloo: Unpacking /var/cache/distfiles/baloo-5.38.0.tar.xz... +-- The C compiler identification is GNU 6.4.0 +-- The CXX compiler identification is GNU 6.4.0 +-- Check for working C compiler: /usr/bin/gcc +-- Check for working C compiler: /usr/bin/gcc -- works +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Detecting C compile features +-- Detecting C compile features - done +-- Check for working CXX compiler: /usr/bin/c++ +-- Check for working CXX compiler: /usr/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- + +-- Installing in the same prefix as Qt, adopting their path scheme. +-- Could not set up the appstream test. appstreamcli is missing. +-- Looking for __GLIBC__ +-- Looking for __GLIBC__ - not found +-- Performing Test _OFFT_IS_64BIT +-- Performing Test _OFFT_IS_64BIT - Success +-- Performing Test HAVE_DATE_TIME +-- Performing Test HAVE_DATE_TIME - Success +-- Found KF5CoreAddons: /usr/lib/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.38.0") +-- Found KF5Config: /usr/lib/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.38.0") +-- Found KF5DBusAddons: /usr/lib/cmake/KF5DBusAddons/KF5DBusAddonsConfig.cmake (found version "5.38.0") +-- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1") +-- Found PythonInterp: /usr/bin/python (found version "3.6.2") +-- Found KF5I18n: /usr/lib/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.38.0") +-- Found KF5IdleTime: /usr/lib/cmake/KF5IdleTime/KF5IdleTimeConfig.cmake (found version "5.38.0") +-- Found KF5Solid: /usr/lib/cmake/KF5Solid/KF5SolidConfig.cmake (found version "5.38.0") +-- Found KF5FileMetaData: /usr/lib/cmake/KF5FileMetaData/KF5FileMetaDataConfig.cmake (found version "5.38.0") +-- Found KF5Crash: /usr/lib/cmake/KF5Crash/KF5CrashConfig.cmake (found version "5.38.0") +-- Found KF5KIO: /usr/lib/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.38.0") +-- Found KF5: success (found suitable version "5.38.0", minimum required is "5.38.0") found components: CoreAddons Config DBusAddons I18n IdleTime Solid FileMetaData Crash KIO +-- Found LMDB: /usr/include +-- LMDB lib: /usr/lib/liblmdb.a +-- LMDB include: /usr/include +-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY +-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success +-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY +-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success +-- Performing Test COMPILER_HAS_DEPRECATED_ATTR +-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success +-- Found Doxygen: /usr/bin/doxygen (found suitable version "1.8.13", minimum required is "1.8.13") found components: doxygen dot +-- Found QHelpGenerator executable: /usr/lib/qt5/bin/qhelpgenerator +-- No such target Qt5Core_QCH defined when calling ecm_add_qch(), ignored. +-- No such target KF5CoreAddons_QCH defined when calling ecm_add_qch(), ignored. +-- No such target KF5FileMetaData_QCH defined when calling ecm_add_qch(), ignored. +-- The following features have been enabled: + + * QCH, API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop) + +-- The following OPTIONAL packages have been found: + + * Inotify + Filesystem alteration notifications using inotify + +-- The following REQUIRED packages have been found: + + * ECM (required version >= 5.38.0), Extra CMake Modules, <https://projects.kde.org/projects/kdesupport/extra-cmake-modules> + * Qt5DBus + * Qt5Gui (required version >= 5.9.1) + * Qt5Widgets + * Qt5Network (required version >= 5.9.1) + * Qt5Qml + * Qt5Quick + * Qt5Test + * Qt5 (required version >= 5.7.0) + * KF5CoreAddons (required version >= 5.38.0) + * KF5Config (required version >= 5.38.0) + * KF5DBusAddons (required version >= 5.38.0) + * Gettext + * PythonInterp + * KF5I18n (required version >= 5.38.0) + * KF5IdleTime (required version >= 5.38.0) + * KF5Solid (required version >= 5.38.0) + * KF5FileMetaData (required version >= 5.38.0) + * KF5Crash (required version >= 5.38.0) + * KF5KIO (required version >= 5.38.0) + * KF5 (required version >= 5.38.0) + * LMDB, Lightning Memory-Mapped Database (LMDB), <http://symas.com/mdb> + * Doxygen (required version >= 1.8.13) + Needed for API dox QCH file generation + * QHelpGenerator, Part of Qt5 tools + Needed for API dox QCH file generation + * Qt5Core + +-- Configuring done +-- Generating done +-- Build files have been written to: /usr/src/packages/user/baloo/src/baloo-5.38.0 +Scanning dependencies of target tsfiles-20019e270ed76750f8f8374aa75fc90f +Scanning dependencies of target pofiles-20019e270ed76750f8f8374aa75fc90f +Scanning dependencies of target KF5Baloo_QCH +Scanning dependencies of target KF5BalooCodecs_autogen +Scanning dependencies of target BalooDBusInterfaces +Scanning dependencies of target extractorIOTest_autogen +Scanning dependencies of target baloosearchmodule_autogen +[ 0%] Generating ts... +[ 0%] Generating src/lib/KF5Baloo.qch, src/lib/KF5Baloo.tags +[ 1%] Generating mo... +Scanning dependencies of target advancedqueryparsertest_autogen +[ 1%] Generating org.kde.baloo.main.xml +[ 2%] Automatic MOC for target extractorIOTest +[ 3%] Automatic MOC for target KF5BalooCodecs +[ 3%] Generating baloosearchmodule.json +[ 3%] Automatic MOC for target advancedqueryparsertest +Generating MOC predefs moc_predefs.h +Generating MOC predefs moc_predefs.h +-- building... ar/baloo_file5.po to baloo_file5.mo +Generating MOC predefs moc_predefs.h +[ 4%] Generating org.kde.baloo.scheduler.xml +-- building... ar/baloo_file_extractor5.po to baloo_file_extractor5.mo +[ 4%] Built target tsfiles-20019e270ed76750f8f8374aa75fc90f +About to parse service type file "kdedmodule.desktop" +Warning: Could not locate service type file kservicetypes5/kdedmodule.desktop, tried ("/home/awilcox/.local/share", "/usr/local/share", "/usr/share") and ":/kservicetypes5/kdedmodule.desktop" ((null):0, (null)) +Generating MOC compilation mocs_compilation.cpp +Unknown property type for key "X-KDE-DBus-ModuleName" -> falling back to string +Unknown property type for key "X-KDE-Kded-autoload" -> falling back to string +Unknown property type for key "X-KDE-Kded-load-on-demand" -> falling back to string +Unknown property type for key "X-KDE-Kded-phase" -> falling back to string +Generated "/usr/src/packages/user/baloo/src/baloo-5.38.0/src/kioslaves/kded/baloosearchmodule.json" + +-- building... ar/balooctl5.po to balooctl5.mo +[ 4%] Automatic MOC for target baloosearchmodule +[ 4%] Generating org.kde.baloo.fileindexer.xml +[ 4%] Built target KF5BalooCodecs_autogen +-- building... ar/baloomonitorplugin.po to baloomonitorplugin.mo +[ 4%] Generating maininterface.cpp, maininterface.h +Scanning dependencies of target KF5BalooCodecs +-- building... ar/baloosearch5.po to baloosearch5.mo +AutoMoc: Warning: "/usr/src/packages/user/baloo/src/baloo-5.38.0/src/kioslaves/kded/baloosearchmodule.cpp" +The file includes the moc file "baloosearchmodule.moc", but does not contain a Q_OBJECT or Q_GADGET macro. + +-- building... ar/balooshow5.po to balooshow5.mo +[ 4%] Generating schedulerinterface.cpp, schedulerinterface.h +-- building... ar/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... ar/kio5_timeline.po to kio5_timeline.mo +-- building... ast/baloo_file5.po to baloo_file5.mo +[ 4%] Building CXX object src/codecs/CMakeFiles/KF5BalooCodecs.dir/doctermscodec.cpp.o +-- building... ast/baloo_file_extractor5.po to baloo_file_extractor5.mo +-- building... ast/balooctl5.po to balooctl5.mo +[ 4%] Generating fileindexerinterface.cpp, fileindexerinterface.h +-- building... ast/baloomonitorplugin.po to baloomonitorplugin.mo +[ 4%] Generating maininterface.moc +-- building... ast/baloosearch5.po to baloosearch5.mo +-- building... ast/balooshow5.po to balooshow5.mo +-- building... ast/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... ast/kio5_tags.po to kio5_tags.mo +-- building... ast/kio5_timeline.po to kio5_timeline.mo +[ 5%] Generating schedulerinterface.moc +-- building... bg/baloo_file5.po to baloo_file5.mo +-- building... bg/baloosearch5.po to baloosearch5.mo +-- building... bg/balooshow5.po to balooshow5.mo +-- building... bs/baloo_file5.po to baloo_file5.mo +-- building... bs/balooctl5.po to balooctl5.mo +-- building... bs/baloosearch5.po to baloosearch5.mo +Generating MOC source include/advancedqueryparsertest.moc +Generating MOC compilation mocs_compilation.cpp +Generating MOC source include/iohandlertest.moc +Generating MOC compilation mocs_compilation.cpp +-- building... bs/balooshow5.po to balooshow5.mo +-- building... bs/kio5_baloosearch.po to kio5_baloosearch.mo +[ 5%] Built target advancedqueryparsertest_autogen +Building up file structure... +-- building... bs/kio5_tags.po to kio5_tags.mo +[ 5%] Built target extractorIOTest_autogen +-- building... bs/kio5_timeline.po to kio5_timeline.mo +-- building... ca/baloo_file5.po to baloo_file5.mo +-- building... ca/baloo_file_extractor5.po to baloo_file_extractor5.mo +[ 5%] Generating fileindexerinterface.moc +-- building... ca/balooctl5.po to balooctl5.mo +[ 5%] Building CXX object src/codecs/CMakeFiles/KF5BalooCodecs.dir/positioncodec.cpp.o +-- building... ca/baloomonitorplugin.po to baloomonitorplugin.mo +Insert custom filters... +Insert help data for filter section (1 of 1)... +Insert files... +Insert contents... +Insert indices... +Documentation successfully generated. +-- building... ca/baloosearch5.po to baloosearch5.mo +-- building... ca/balooshow5.po to balooshow5.mo +-- building... ca/kio5_baloosearch.po to kio5_baloosearch.mo +[ 5%] Built target KF5Baloo_QCH +-- building... ca/kio5_tags.po to kio5_tags.mo +-- building... ca/kio5_timeline.po to kio5_timeline.mo +Scanning dependencies of target advancedqueryparsertest +-- building... ca@valencia/baloo_file5.po to baloo_file5.mo +-- building... ca@valencia/baloo_file_extractor5.po to baloo_file_extractor5.mo +-- building... ca@valencia/balooctl5.po to balooctl5.mo +-- building... ca@valencia/baloomonitorplugin.po to baloomonitorplugin.mo +Generating MOC predefs moc_predefs.h +Generating MOC source include/baloosearchmodule.moc +Generating MOC source EWIEGA46WW/moc_baloosearchmodule.cpp +Generating MOC compilation mocs_compilation.cpp +-- building... ca@valencia/baloosearch5.po to baloosearch5.mo +[ 6%] Building CXX object autotests/unit/lib/CMakeFiles/advancedqueryparsertest.dir/advancedqueryparsertest.cpp.o +[ 6%] Built target baloosearchmodule_autogen +-- building... ca@valencia/balooshow5.po to balooshow5.mo +[ 6%] Building CXX object autotests/unit/lib/CMakeFiles/advancedqueryparsertest.dir/__/__/__/src/lib/advancedqueryparser.cpp.o +Scanning dependencies of target extractorIOTest +-- building... ca@valencia/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... ca@valencia/kio5_tags.po to kio5_tags.mo +-- building... ca@valencia/kio5_timeline.po to kio5_timeline.mo +[ 6%] Building CXX object autotests/unit/lib/CMakeFiles/advancedqueryparsertest.dir/__/__/__/src/lib/term.cpp.o +-- building... cs/baloo_file5.po to baloo_file5.mo +[ 6%] Building CXX object src/file/extractor/autotests/CMakeFiles/extractorIOTest.dir/iohandlertest.cpp.o +-- building... cs/baloo_file_extractor5.po to baloo_file_extractor5.mo +-- building... cs/balooctl5.po to balooctl5.mo +[ 6%] Built target BalooDBusInterfaces +-- building... cs/baloomonitorplugin.po to baloomonitorplugin.mo +-- building... cs/baloosearch5.po to baloosearch5.mo +-- building... cs/balooshow5.po to balooshow5.mo +[ 7%] Building CXX object src/file/extractor/autotests/CMakeFiles/extractorIOTest.dir/__/iohandler.cpp.o +-- building... cs/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... cs/kio5_tags.po to kio5_tags.mo +-- building... cs/kio5_timeline.po to kio5_timeline.mo +-- building... da/baloo_file5.po to baloo_file5.mo +-- building... da/baloo_file_extractor5.po to baloo_file_extractor5.mo +-- building... da/balooctl5.po to balooctl5.mo +-- building... da/baloomonitorplugin.po to baloomonitorplugin.mo +-- building... da/baloosearch5.po to baloosearch5.mo +-- building... da/balooshow5.po to balooshow5.mo +-- building... da/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... da/kio5_tags.po to kio5_tags.mo +-- building... da/kio5_timeline.po to kio5_timeline.mo +-- building... de/baloo_file5.po to baloo_file5.mo +-- building... de/baloo_file_extractor5.po to baloo_file_extractor5.mo +-- building... de/balooctl5.po to balooctl5.mo +-- building... de/baloomonitorplugin.po to baloomonitorplugin.mo +-- building... de/baloosearch5.po to baloosearch5.mo +-- building... de/balooshow5.po to balooshow5.mo +-- building... de/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... de/kio5_tags.po to kio5_tags.mo +-- building... de/kio5_timeline.po to kio5_timeline.mo +-- building... el/baloo_file5.po to baloo_file5.mo +-- building... el/baloo_file_extractor5.po to baloo_file_extractor5.mo +-- building... el/balooctl5.po to balooctl5.mo +-- building... el/baloomonitorplugin.po to baloomonitorplugin.mo +-- building... el/baloosearch5.po to baloosearch5.mo +-- building... el/balooshow5.po to balooshow5.mo +-- building... el/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... el/kio5_tags.po to kio5_tags.mo +-- building... el/kio5_timeline.po to kio5_timeline.mo +-- building... en_GB/baloo_file5.po to baloo_file5.mo +-- building... en_GB/baloo_file_extractor5.po to baloo_file_extractor5.mo +-- building... en_GB/balooctl5.po to balooctl5.mo +-- building... en_GB/baloomonitorplugin.po to baloomonitorplugin.mo +-- building... en_GB/baloosearch5.po to baloosearch5.mo +-- building... en_GB/balooshow5.po to balooshow5.mo +-- building... en_GB/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... en_GB/kio5_tags.po to kio5_tags.mo +-- building... en_GB/kio5_timeline.po to kio5_timeline.mo +-- building... es/baloo_file5.po to baloo_file5.mo +-- building... es/baloo_file_extractor5.po to baloo_file_extractor5.mo +-- building... es/balooctl5.po to balooctl5.mo +-- building... es/baloomonitorplugin.po to baloomonitorplugin.mo +-- building... es/baloosearch5.po to baloosearch5.mo +-- building... es/balooshow5.po to balooshow5.mo +-- building... es/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... es/kio5_tags.po to kio5_tags.mo +-- building... es/kio5_timeline.po to kio5_timeline.mo +-- building... et/baloo_file5.po to baloo_file5.mo +-- building... et/baloo_file_extractor5.po to baloo_file_extractor5.mo +-- building... et/balooctl5.po to balooctl5.mo +-- building... et/baloomonitorplugin.po to baloomonitorplugin.mo +-- building... et/baloosearch5.po to baloosearch5.mo +-- building... et/balooshow5.po to balooshow5.mo +-- building... et/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... et/kio5_tags.po to kio5_tags.mo +-- building... et/kio5_timeline.po to kio5_timeline.mo +-- building... eu/baloo_file5.po to baloo_file5.mo +-- building... eu/baloo_file_extractor5.po to baloo_file_extractor5.mo +-- building... eu/balooctl5.po to balooctl5.mo +-- building... eu/baloomonitorplugin.po to baloomonitorplugin.mo +-- building... eu/baloosearch5.po to baloosearch5.mo +-- building... eu/balooshow5.po to balooshow5.mo +-- building... eu/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... eu/kio5_tags.po to kio5_tags.mo +-- building... eu/kio5_timeline.po to kio5_timeline.mo +-- building... fi/baloo_file5.po to baloo_file5.mo +-- building... fi/baloo_file_extractor5.po to baloo_file_extractor5.mo +-- building... fi/balooctl5.po to balooctl5.mo +-- building... fi/baloomonitorplugin.po to baloomonitorplugin.mo +-- building... fi/baloosearch5.po to baloosearch5.mo +-- building... fi/balooshow5.po to balooshow5.mo +-- building... fi/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... fi/kio5_tags.po to kio5_tags.mo +-- building... fi/kio5_timeline.po to kio5_timeline.mo +-- building... fr/baloo_file5.po to baloo_file5.mo +-- building... fr/baloo_file_extractor5.po to baloo_file_extractor5.mo +-- building... fr/balooctl5.po to balooctl5.mo +-- building... fr/baloomonitorplugin.po to baloomonitorplugin.mo +-- building... fr/baloosearch5.po to baloosearch5.mo +-- building... fr/balooshow5.po to balooshow5.mo +-- building... fr/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... fr/kio5_tags.po to kio5_tags.mo +-- building... fr/kio5_timeline.po to kio5_timeline.mo +-- building... gd/baloo_file5.po to baloo_file5.mo +-- building... gd/baloo_file_extractor5.po to baloo_file_extractor5.mo +-- building... gd/balooctl5.po to balooctl5.mo +-- building... gd/baloomonitorplugin.po to baloomonitorplugin.mo +-- building... gd/baloosearch5.po to baloosearch5.mo +-- building... gd/balooshow5.po to balooshow5.mo +-- building... gd/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... gd/kio5_tags.po to kio5_tags.mo +-- building... gd/kio5_timeline.po to kio5_timeline.mo +-- building... gl/baloo_file5.po to baloo_file5.mo +-- building... gl/baloo_file_extractor5.po to baloo_file_extractor5.mo +-- building... gl/balooctl5.po to balooctl5.mo +-- building... gl/baloomonitorplugin.po to baloomonitorplugin.mo +-- building... gl/baloosearch5.po to baloosearch5.mo +-- building... gl/balooshow5.po to balooshow5.mo +-- building... gl/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... gl/kio5_tags.po to kio5_tags.mo +-- building... gl/kio5_timeline.po to kio5_timeline.mo +-- building... he/baloo_file5.po to baloo_file5.mo +-- building... he/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... he/kio5_timeline.po to kio5_timeline.mo +-- building... hu/baloo_file5.po to baloo_file5.mo +-- building... hu/baloo_file_extractor5.po to baloo_file_extractor5.mo +-- building... hu/balooctl5.po to balooctl5.mo +-- building... hu/baloosearch5.po to baloosearch5.mo +-- building... hu/balooshow5.po to balooshow5.mo +-- building... hu/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... hu/kio5_tags.po to kio5_tags.mo +-- building... hu/kio5_timeline.po to kio5_timeline.mo +-- building... ia/baloo_file5.po to baloo_file5.mo +-- building... ia/baloo_file_extractor5.po to baloo_file_extractor5.mo +-- building... ia/balooctl5.po to balooctl5.mo +-- building... ia/baloomonitorplugin.po to baloomonitorplugin.mo +-- building... ia/baloosearch5.po to baloosearch5.mo +-- building... ia/balooshow5.po to balooshow5.mo +-- building... ia/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... ia/kio5_tags.po to kio5_tags.mo +-- building... ia/kio5_timeline.po to kio5_timeline.mo +-- building... it/baloo_file5.po to baloo_file5.mo +-- building... it/baloo_file_extractor5.po to baloo_file_extractor5.mo +-- building... it/balooctl5.po to balooctl5.mo +-- building... it/baloomonitorplugin.po to baloomonitorplugin.mo +-- building... it/baloosearch5.po to baloosearch5.mo +-- building... it/balooshow5.po to balooshow5.mo +-- building... it/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... it/kio5_tags.po to kio5_tags.mo +-- building... it/kio5_timeline.po to kio5_timeline.mo +-- building... ja/baloo_file5.po to baloo_file5.mo +-- building... ja/baloo_file_extractor5.po to baloo_file_extractor5.mo +-- building... ja/balooctl5.po to balooctl5.mo +-- building... ja/baloomonitorplugin.po to baloomonitorplugin.mo +-- building... ja/baloosearch5.po to baloosearch5.mo +-- building... ja/balooshow5.po to balooshow5.mo +-- building... ja/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... ja/kio5_tags.po to kio5_tags.mo +-- building... ja/kio5_timeline.po to kio5_timeline.mo +-- building... ko/baloo_file5.po to baloo_file5.mo +-- building... ko/balooctl5.po to balooctl5.mo +-- building... ko/baloomonitorplugin.po to baloomonitorplugin.mo +-- building... ko/baloosearch5.po to baloosearch5.mo +-- building... ko/balooshow5.po to balooshow5.mo +-- building... ko/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... ko/kio5_tags.po to kio5_tags.mo +-- building... ko/kio5_timeline.po to kio5_timeline.mo +-- building... lt/baloo_file5.po to baloo_file5.mo +-- building... lt/baloo_file_extractor5.po to baloo_file_extractor5.mo +-- building... lt/balooctl5.po to balooctl5.mo +-- building... lt/baloosearch5.po to baloosearch5.mo +-- building... lt/balooshow5.po to balooshow5.mo +-- building... lt/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... lt/kio5_tags.po to kio5_tags.mo +[ 7%] Building CXX object src/codecs/CMakeFiles/KF5BalooCodecs.dir/postingcodec.cpp.o +-- building... lt/kio5_timeline.po to kio5_timeline.mo +-- building... nb/baloo_file5.po to baloo_file5.mo +-- building... nb/baloo_file_extractor5.po to baloo_file_extractor5.mo +-- building... nb/balooctl5.po to balooctl5.mo +-- building... nb/baloosearch5.po to baloosearch5.mo +-- building... nb/balooshow5.po to balooshow5.mo +-- building... nb/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... nb/kio5_tags.po to kio5_tags.mo +-- building... nb/kio5_timeline.po to kio5_timeline.mo +-- building... nds/baloo_file5.po to baloo_file5.mo +-- building... nds/balooctl5.po to balooctl5.mo +-- building... nds/baloosearch5.po to baloosearch5.mo +-- building... nds/balooshow5.po to balooshow5.mo +-- building... nds/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... nds/kio5_tags.po to kio5_tags.mo +-- building... nds/kio5_timeline.po to kio5_timeline.mo +-- building... nl/baloo_file5.po to baloo_file5.mo +-- building... nl/baloo_file_extractor5.po to baloo_file_extractor5.mo +-- building... nl/balooctl5.po to balooctl5.mo +-- building... nl/baloomonitorplugin.po to baloomonitorplugin.mo +-- building... nl/baloosearch5.po to baloosearch5.mo +-- building... nl/balooshow5.po to balooshow5.mo +-- building... nl/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... nl/kio5_tags.po to kio5_tags.mo +-- building... nl/kio5_timeline.po to kio5_timeline.mo +-- building... nn/baloo_file5.po to baloo_file5.mo +-- building... nn/baloo_file_extractor5.po to baloo_file_extractor5.mo +-- building... nn/balooctl5.po to balooctl5.mo +-- building... nn/baloomonitorplugin.po to baloomonitorplugin.mo +-- building... nn/baloosearch5.po to baloosearch5.mo +-- building... nn/balooshow5.po to balooshow5.mo +-- building... nn/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... nn/kio5_tags.po to kio5_tags.mo +-- building... nn/kio5_timeline.po to kio5_timeline.mo +-- building... pa/baloo_file5.po to baloo_file5.mo +-- building... pa/balooctl5.po to balooctl5.mo +-- building... pa/baloosearch5.po to baloosearch5.mo +-- building... pa/balooshow5.po to balooshow5.mo +-- building... pa/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... pa/kio5_tags.po to kio5_tags.mo +-- building... pa/kio5_timeline.po to kio5_timeline.mo +-- building... pl/baloo_file5.po to baloo_file5.mo +-- building... pl/baloo_file_extractor5.po to baloo_file_extractor5.mo +-- building... pl/balooctl5.po to balooctl5.mo +-- building... pl/baloomonitorplugin.po to baloomonitorplugin.mo +-- building... pl/baloosearch5.po to baloosearch5.mo +-- building... pl/balooshow5.po to balooshow5.mo +-- building... pl/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... pl/kio5_tags.po to kio5_tags.mo +-- building... pl/kio5_timeline.po to kio5_timeline.mo +-- building... pt/baloo_file5.po to baloo_file5.mo +-- building... pt/baloo_file_extractor5.po to baloo_file_extractor5.mo +-- building... pt/balooctl5.po to balooctl5.mo +-- building... pt/baloomonitorplugin.po to baloomonitorplugin.mo +-- building... pt/baloosearch5.po to baloosearch5.mo +-- building... pt/balooshow5.po to balooshow5.mo +-- building... pt/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... pt/kio5_tags.po to kio5_tags.mo +-- building... pt/kio5_timeline.po to kio5_timeline.mo +-- building... pt_BR/baloo_file5.po to baloo_file5.mo +-- building... pt_BR/baloo_file_extractor5.po to baloo_file_extractor5.mo +-- building... pt_BR/balooctl5.po to balooctl5.mo +-- building... pt_BR/baloomonitorplugin.po to baloomonitorplugin.mo +-- building... pt_BR/baloosearch5.po to baloosearch5.mo +-- building... pt_BR/balooshow5.po to balooshow5.mo +-- building... pt_BR/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... pt_BR/kio5_tags.po to kio5_tags.mo +-- building... pt_BR/kio5_timeline.po to kio5_timeline.mo +-- building... ro/baloo_file5.po to baloo_file5.mo +-- building... ro/balooctl5.po to balooctl5.mo +-- building... ro/baloosearch5.po to baloosearch5.mo +-- building... ro/balooshow5.po to balooshow5.mo +-- building... ro/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... ro/kio5_tags.po to kio5_tags.mo +-- building... ro/kio5_timeline.po to kio5_timeline.mo +-- building... ru/baloo_file5.po to baloo_file5.mo +-- building... ru/baloo_file_extractor5.po to baloo_file_extractor5.mo +-- building... ru/balooctl5.po to balooctl5.mo +-- building... ru/baloomonitorplugin.po to baloomonitorplugin.mo +-- building... ru/baloosearch5.po to baloosearch5.mo +-- building... ru/balooshow5.po to balooshow5.mo +[ 8%] Building CXX object src/codecs/CMakeFiles/KF5BalooCodecs.dir/coding.cpp.o +-- building... ru/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... ru/kio5_tags.po to kio5_tags.mo +-- building... ru/kio5_timeline.po to kio5_timeline.mo +-- building... sk/baloo_file5.po to baloo_file5.mo +-- building... sk/baloo_file_extractor5.po to baloo_file_extractor5.mo +-- building... sk/balooctl5.po to balooctl5.mo +-- building... sk/baloomonitorplugin.po to baloomonitorplugin.mo +-- building... sk/baloosearch5.po to baloosearch5.mo +-- building... sk/balooshow5.po to balooshow5.mo +-- building... sk/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... sk/kio5_tags.po to kio5_tags.mo +-- building... sk/kio5_timeline.po to kio5_timeline.mo +-- building... sl/baloo_file5.po to baloo_file5.mo +-- building... sl/baloo_file_extractor5.po to baloo_file_extractor5.mo +-- building... sl/balooctl5.po to balooctl5.mo +-- building... sl/baloomonitorplugin.po to baloomonitorplugin.mo +-- building... sl/baloosearch5.po to baloosearch5.mo +-- building... sl/balooshow5.po to balooshow5.mo +-- building... sl/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... sl/kio5_tags.po to kio5_tags.mo +-- building... sl/kio5_timeline.po to kio5_timeline.mo +-- building... sr/baloo_file5.po to baloo_file5.mo +-- building... sr/baloo_file_extractor5.po to baloo_file_extractor5.mo +-- building... sr/balooctl5.po to balooctl5.mo +-- building... sr/baloomonitorplugin.po to baloomonitorplugin.mo +-- building... sr/baloosearch5.po to baloosearch5.mo +-- building... sr/balooshow5.po to balooshow5.mo +-- building... sr/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... sr/kio5_tags.po to kio5_tags.mo +-- building... sr/kio5_timeline.po to kio5_timeline.mo +-- building... sr@ijekavian/baloo_file5.po to baloo_file5.mo +-- building... sr@ijekavian/baloo_file_extractor5.po to baloo_file_extractor5.mo +-- building... sr@ijekavian/balooctl5.po to balooctl5.mo +-- building... sr@ijekavian/baloomonitorplugin.po to baloomonitorplugin.mo +-- building... sr@ijekavian/baloosearch5.po to baloosearch5.mo +-- building... sr@ijekavian/balooshow5.po to balooshow5.mo +[ 8%] Building CXX object src/file/extractor/autotests/CMakeFiles/extractorIOTest.dir/extractorIOTest_autogen/mocs_compilation.cpp.o +-- building... sr@ijekavian/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... sr@ijekavian/kio5_tags.po to kio5_tags.mo +-- building... sr@ijekavian/kio5_timeline.po to kio5_timeline.mo +-- building... sr@ijekavianlatin/baloo_file5.po to baloo_file5.mo +-- building... sr@ijekavianlatin/baloo_file_extractor5.po to baloo_file_extractor5.mo +-- building... sr@ijekavianlatin/balooctl5.po to balooctl5.mo +[ 9%] Building CXX object autotests/unit/lib/CMakeFiles/advancedqueryparsertest.dir/advancedqueryparsertest_autogen/mocs_compilation.cpp.o +-- building... sr@ijekavianlatin/baloomonitorplugin.po to baloomonitorplugin.mo +-- building... sr@ijekavianlatin/baloosearch5.po to baloosearch5.mo +-- building... sr@ijekavianlatin/balooshow5.po to balooshow5.mo +-- building... sr@ijekavianlatin/kio5_baloosearch.po to kio5_baloosearch.mo +[ 9%] Building CXX object src/codecs/CMakeFiles/KF5BalooCodecs.dir/KF5BalooCodecs_autogen/mocs_compilation.cpp.o +-- building... sr@ijekavianlatin/kio5_tags.po to kio5_tags.mo +-- building... sr@ijekavianlatin/kio5_timeline.po to kio5_timeline.mo +-- building... sr@latin/baloo_file5.po to baloo_file5.mo +-- building... sr@latin/baloo_file_extractor5.po to baloo_file_extractor5.mo +-- building... sr@latin/balooctl5.po to balooctl5.mo +Scanning dependencies of target baloosearchmodule +-- building... sr@latin/baloomonitorplugin.po to baloomonitorplugin.mo +[ 9%] Linking CXX executable ../../../../bin/extractorIOTest +[ 9%] Building CXX object src/kioslaves/kded/CMakeFiles/baloosearchmodule.dir/baloosearchmodule.cpp.o +-- building... sr@latin/baloosearch5.po to baloosearch5.mo +-- building... sr@latin/balooshow5.po to balooshow5.mo +-- building... sr@latin/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... sr@latin/kio5_tags.po to kio5_tags.mo +-- building... sr@latin/kio5_timeline.po to kio5_timeline.mo +-- building... sv/baloo_file5.po to baloo_file5.mo +-- building... sv/baloo_file_extractor5.po to baloo_file_extractor5.mo +-- building... sv/balooctl5.po to balooctl5.mo +-- building... sv/baloomonitorplugin.po to baloomonitorplugin.mo +-- building... sv/baloosearch5.po to baloosearch5.mo +-- building... sv/balooshow5.po to balooshow5.mo +-- building... sv/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... sv/kio5_tags.po to kio5_tags.mo +-- building... sv/kio5_timeline.po to kio5_timeline.mo +-- building... tr/baloo_file5.po to baloo_file5.mo +-- building... tr/baloo_file_extractor5.po to baloo_file_extractor5.mo +-- building... tr/balooctl5.po to balooctl5.mo +-- building... tr/baloomonitorplugin.po to baloomonitorplugin.mo +-- building... tr/baloosearch5.po to baloosearch5.mo +-- building... tr/balooshow5.po to balooshow5.mo +-- building... tr/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... tr/kio5_tags.po to kio5_tags.mo +-- building... tr/kio5_timeline.po to kio5_timeline.mo +-- building... uk/baloo_file5.po to baloo_file5.mo +-- building... uk/baloo_file_extractor5.po to baloo_file_extractor5.mo +-- building... uk/balooctl5.po to balooctl5.mo +-- building... uk/baloomonitorplugin.po to baloomonitorplugin.mo +-- building... uk/baloosearch5.po to baloosearch5.mo +-- building... uk/balooshow5.po to balooshow5.mo +-- building... uk/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... uk/kio5_tags.po to kio5_tags.mo +[ 9%] Built target extractorIOTest +-- building... uk/kio5_timeline.po to kio5_timeline.mo +-- building... zh_CN/baloo_file5.po to baloo_file5.mo +[ 9%] Building CXX object src/kioslaves/kded/CMakeFiles/baloosearchmodule.dir/baloosearchmodule_autogen/mocs_compilation.cpp.o +-- building... zh_CN/baloo_file_extractor5.po to baloo_file_extractor5.mo +-- building... zh_CN/balooctl5.po to balooctl5.mo +-- building... zh_CN/baloomonitorplugin.po to baloomonitorplugin.mo +-- building... zh_CN/baloosearch5.po to baloosearch5.mo +-- building... zh_CN/balooshow5.po to balooshow5.mo +-- building... zh_CN/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... zh_CN/kio5_tags.po to kio5_tags.mo +-- building... zh_CN/kio5_timeline.po to kio5_timeline.mo +-- building... zh_TW/baloo_file5.po to baloo_file5.mo +-- building... zh_TW/baloo_file_extractor5.po to baloo_file_extractor5.mo +-- building... zh_TW/balooctl5.po to balooctl5.mo +-- building... zh_TW/baloomonitorplugin.po to baloomonitorplugin.mo +-- building... zh_TW/baloosearch5.po to baloosearch5.mo +-- building... zh_TW/balooshow5.po to balooshow5.mo +-- building... zh_TW/kio5_baloosearch.po to kio5_baloosearch.mo +-- building... zh_TW/kio5_tags.po to kio5_tags.mo +-- building... zh_TW/kio5_timeline.po to kio5_timeline.mo +[ 9%] Built target pofiles-20019e270ed76750f8f8374aa75fc90f +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/codecs/coding.cpp: In function 'char* Baloo::getDifferentialVarInt32(char*, char*, QVector<unsigned int>*)': +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/codecs/coding.cpp:122:26: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] + values->append(n + v); + ~~^~~ +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/codecs/coding.cpp:124:15: warning: 'size' may be used uninitialized in this function [-Wmaybe-uninitialized] + size--; + ^ +[ 9%] Linking CXX static library ../../lib/libKF5BalooCodecs.a +[ 9%] Built target KF5BalooCodecs +Scanning dependencies of target positioncodectest_autogen +Scanning dependencies of target doctermscodectest_autogen +Scanning dependencies of target postingcodectest_autogen +Scanning dependencies of target KF5BalooEngine_autogen +Scanning dependencies of target positioncodecbenchmark_autogen +[ 9%] Automatic MOC for target postingcodectest +[ 10%] Automatic MOC for target positioncodectest +[ 11%] Automatic MOC for target doctermscodectest +[ 11%] Automatic MOC for target KF5BalooEngine +Generating MOC predefs moc_predefs.h +Generating MOC predefs moc_predefs.h +Generating MOC predefs moc_predefs.h +[ 12%] Automatic MOC for target positioncodecbenchmark +Generating MOC predefs moc_predefs.h +Generating MOC predefs moc_predefs.h +Generating MOC compilation mocs_compilation.cpp +[ 12%] Built target KF5BalooEngine_autogen +Scanning dependencies of target KF5BalooEngine +Generating MOC source include/postingcodectest.moc +Generating MOC compilation mocs_compilation.cpp +Generating MOC source include/doctermscodectest.moc +Generating MOC compilation mocs_compilation.cpp +[ 12%] Built target postingcodectest_autogen +[ 12%] Built target doctermscodectest_autogen +Scanning dependencies of target postingcodectest +[ 12%] Building CXX object autotests/unit/codecs/CMakeFiles/postingcodectest.dir/postingcodectest.cpp.o +Generating MOC source include/positioncodectest.moc +Generating MOC compilation mocs_compilation.cpp +[ 12%] Building CXX object src/engine/CMakeFiles/KF5BalooEngine.dir/andpostingiterator.cpp.o +[ 12%] Built target positioncodectest_autogen +Scanning dependencies of target doctermscodectest +[ 12%] Building CXX object src/engine/CMakeFiles/KF5BalooEngine.dir/database.cpp.o +[ 13%] Building CXX object autotests/unit/codecs/CMakeFiles/doctermscodectest.dir/doctermscodectest.cpp.o +Generating MOC source include/positioncodecbenchmark.moc +Generating MOC compilation mocs_compilation.cpp +[ 13%] Built target positioncodecbenchmark_autogen +Scanning dependencies of target positioncodectest +[ 13%] Building CXX object autotests/unit/codecs/CMakeFiles/positioncodectest.dir/positioncodectest.cpp.o +[ 13%] Building CXX object autotests/unit/codecs/CMakeFiles/positioncodectest.dir/positioncodectest_autogen/mocs_compilation.cpp.o +[ 13%] Building CXX object src/engine/CMakeFiles/KF5BalooEngine.dir/document.cpp.o +[ 14%] Building CXX object src/engine/CMakeFiles/KF5BalooEngine.dir/documentdb.cpp.o +[ 14%] Linking CXX executable ../../../bin/advancedqueryparsertest +[ 15%] Linking CXX shared module ../../../bin/baloosearchmodule.so +[ 15%] Built target baloosearchmodule +Scanning dependencies of target positioncodecbenchmark +[ 15%] Building CXX object autotests/benchmarks/CMakeFiles/positioncodecbenchmark.dir/positioncodecbenchmark.cpp.o +In file included from /usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/database.cpp:41:0: +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h: In function 'quint64 Baloo::devIdAndInodeToId(quint32, quint32)': +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h:41:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + return *(reinterpret_cast<quint64*>(arr)); + ^ +[ 15%] Built target advancedqueryparsertest +[ 15%] Building CXX object autotests/benchmarks/CMakeFiles/positioncodecbenchmark.dir/positioncodecbenchmark_autogen/mocs_compilation.cpp.o +[ 15%] Building CXX object src/engine/CMakeFiles/KF5BalooEngine.dir/documentdatadb.cpp.o +[ 16%] Building CXX object autotests/unit/codecs/CMakeFiles/postingcodectest.dir/postingcodectest_autogen/mocs_compilation.cpp.o +[ 16%] Linking CXX executable ../../../bin/postingcodectest +[ 16%] Built target postingcodectest +[ 16%] Building CXX object src/engine/CMakeFiles/KF5BalooEngine.dir/documenturldb.cpp.o +[ 16%] Building CXX object autotests/unit/codecs/CMakeFiles/doctermscodectest.dir/doctermscodectest_autogen/mocs_compilation.cpp.o +[ 16%] Linking CXX executable ../../../bin/doctermscodectest +[ 16%] Building CXX object src/engine/CMakeFiles/KF5BalooEngine.dir/documenttimedb.cpp.o +[ 16%] Built target doctermscodectest +[ 17%] Building CXX object src/engine/CMakeFiles/KF5BalooEngine.dir/documentiddb.cpp.o +[ 17%] Linking CXX executable ../../../bin/positioncodectest +[ 17%] Built target positioncodectest +[ 17%] Building CXX object src/engine/CMakeFiles/KF5BalooEngine.dir/enginequery.cpp.o +In file included from /usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/documenturldb.cpp:22:0: +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h: In function 'quint64 Baloo::devIdAndInodeToId(quint32, quint32)': +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h:41:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + return *(reinterpret_cast<quint64*>(arr)); + ^ +[ 17%] Building CXX object src/engine/CMakeFiles/KF5BalooEngine.dir/idtreedb.cpp.o +[ 17%] Building CXX object src/engine/CMakeFiles/KF5BalooEngine.dir/idfilenamedb.cpp.o +[ 17%] Linking CXX executable ../../bin/positioncodecbenchmark +[ 18%] Building CXX object src/engine/CMakeFiles/KF5BalooEngine.dir/mtimedb.cpp.o +[ 18%] Built target positioncodecbenchmark +[ 18%] Building CXX object src/engine/CMakeFiles/KF5BalooEngine.dir/orpostingiterator.cpp.o +[ 18%] Building CXX object src/engine/CMakeFiles/KF5BalooEngine.dir/phraseanditerator.cpp.o +[ 18%] Building CXX object src/engine/CMakeFiles/KF5BalooEngine.dir/positiondb.cpp.o +[ 19%] Building CXX object src/engine/CMakeFiles/KF5BalooEngine.dir/postingdb.cpp.o +[ 19%] Building CXX object src/engine/CMakeFiles/KF5BalooEngine.dir/postingiterator.cpp.o +[ 19%] Building CXX object src/engine/CMakeFiles/KF5BalooEngine.dir/queryparser.cpp.o +[ 20%] Building CXX object src/engine/CMakeFiles/KF5BalooEngine.dir/termgenerator.cpp.o +[ 20%] Building CXX object src/engine/CMakeFiles/KF5BalooEngine.dir/transaction.cpp.o +[ 20%] Building CXX object src/engine/CMakeFiles/KF5BalooEngine.dir/vectorpostingiterator.cpp.o +[ 20%] Building CXX object src/engine/CMakeFiles/KF5BalooEngine.dir/vectorpositioninfoiterator.cpp.o +[ 21%] Building CXX object src/engine/CMakeFiles/KF5BalooEngine.dir/writetransaction.cpp.o +[ 21%] Building CXX object src/engine/CMakeFiles/KF5BalooEngine.dir/global.cpp.o +[ 21%] Building CXX object src/engine/CMakeFiles/KF5BalooEngine.dir/fsutils.cpp.o +[ 21%] Building CXX object src/engine/CMakeFiles/KF5BalooEngine.dir/KF5BalooEngine_autogen/mocs_compilation.cpp.o +In file included from /usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/writetransaction.cpp:33:0: +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h: In function 'quint64 Baloo::devIdAndInodeToId(quint32, quint32)': +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h:41:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + return *(reinterpret_cast<quint64*>(arr)); + ^ +In file included from /usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/transaction.cpp:38:0: +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h: In function 'quint64 Baloo::devIdAndInodeToId(quint32, quint32)': +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h:41:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + return *(reinterpret_cast<quint64*>(arr)); + ^ +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/fsutils.cpp: In function 'void Baloo::FSUtils::disableCoW(const QString&)': +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/fsutils.cpp:94:19: warning: overflow in implicit constant conversion [-Woverflow] + if (ioctl(fd, FS_IOC_GETFLAGS, &flags) == -1) { + ^~~~~~~~~~~~~~~ +[ 22%] Linking CXX shared library ../../bin/libKF5BalooEngine.so +[ 22%] Built target KF5BalooEngine +Scanning dependencies of target baloofilecommon_autogen +Scanning dependencies of target memorytest_autogen +Scanning dependencies of target baloo_file_extractor_autogen +Scanning dependencies of target KF5Baloo_autogen +Scanning dependencies of target documenturldb_autogen +Scanning dependencies of target databasebenchmark_autogen +Scanning dependencies of target writeiotest_autogen +Scanning dependencies of target querytest_autogen +[ 23%] Automatic MOC for target baloofilecommon +[ 23%] Automatic MOC for target KF5Baloo +[ 23%] Automatic MOC for target baloo_file_extractor +[ 23%] Automatic MOC for target memorytest +[ 23%] Automatic MOC for target documenturldb +[ 23%] Automatic MOC for target databasebenchmark +[ 23%] Automatic MOC for target writeiotest +[ 23%] Automatic MOC for target querytest +Generating MOC predefs moc_predefs.h +Generating MOC predefs moc_predefs.h +Generating MOC predefs moc_predefs.h +Generating MOC predefs moc_predefs.h +Generating MOC predefs moc_predefs.h +Generating MOC predefs moc_predefs.h +Generating MOC predefs moc_predefs.h +Generating MOC predefs moc_predefs.h +Generating MOC compilation mocs_compilation.cpp +Generating MOC compilation mocs_compilation.cpp +[ 23%] Built target documenturldb_autogen +Generating MOC compilation mocs_compilation.cpp +[ 23%] Built target writeiotest_autogen +[ 23%] Built target memorytest_autogen +Scanning dependencies of target writetransactiontest_autogen +Scanning dependencies of target idtreedbtest_autogen +[ 24%] Automatic MOC for target writetransactiontest +[ 24%] Automatic MOC for target idtreedbtest +Generating MOC predefs moc_predefs.h +Generating MOC predefs moc_predefs.h +Scanning dependencies of target documenturldbtest_autogen +[ 24%] Automatic MOC for target documenturldbtest +Generating MOC predefs moc_predefs.h +Generating MOC source include/databasebenchmark.moc +Generating MOC compilation mocs_compilation.cpp +Generating MOC source include/querytest.moc +Generating MOC compilation mocs_compilation.cpp +[ 24%] Built target databasebenchmark_autogen +[ 24%] Built target querytest_autogen +Scanning dependencies of target documentiddbtest_autogen +Scanning dependencies of target positiondbtest_autogen +[ 24%] Automatic MOC for target documentiddbtest +Generating MOC predefs moc_predefs.h +[ 24%] Automatic MOC for target positiondbtest +Generating MOC predefs moc_predefs.h +Generating MOC source include/writetransactiontest.moc +Generating MOC compilation mocs_compilation.cpp +[ 24%] Built target writetransactiontest_autogen +Scanning dependencies of target idfilenamedbtest_autogen +Generating MOC source include/idtreedbtest.moc +Generating MOC source EWIEGA46WW/moc_singledbtest.cpp +Generating MOC compilation mocs_compilation.cpp +[ 24%] Built target idtreedbtest_autogen +[ 25%] Automatic MOC for target idfilenamedbtest +Scanning dependencies of target postingdbtest_autogen +Generating MOC predefs moc_predefs.h +[ 25%] Automatic MOC for target postingdbtest +Generating MOC predefs moc_predefs.h +Generating MOC source include/documenturldbtest.moc +Generating MOC source EWIEGA46WW/moc_singledbtest.cpp +Generating MOC compilation mocs_compilation.cpp +[ 25%] Built target documenturldbtest_autogen +Scanning dependencies of target mtimedbtest_autogen +Generating MOC source YH6BUZA3PE/moc_fileindexerconfig.cpp +Generating MOC source YH6BUZA3PE/moc_storagedevices.cpp +Generating MOC source EWIEGA46WW/moc_filemonitor.cpp +Generating MOC source EWIEGA46WW/moc_queryrunnable.cpp +Generating MOC source EWIEGA46WW/moc_taglistjob.cpp +Generating MOC compilation mocs_compilation.cpp +[ 25%] Built target KF5Baloo_autogen +Scanning dependencies of target documentdbtest_autogen +[ 26%] Automatic MOC for target mtimedbtest +[ 26%] Automatic MOC for target documentdbtest +Generating MOC source include/documentiddbtest.moc +Generating MOC source EWIEGA46WW/moc_singledbtest.cpp +Generating MOC compilation mocs_compilation.cpp +Generating MOC predefs moc_predefs.h +Generating MOC predefs moc_predefs.h +[ 26%] Built target documentiddbtest_autogen +Scanning dependencies of target termgeneratortest_autogen +Generating MOC source EWIEGA46WW/moc_app.cpp +Generating MOC source EWIEGA46WW/moc_idlestatemonitor.cpp +Generating MOC source YH6BUZA3PE/moc_fileindexerconfig.cpp +Generating MOC source YH6BUZA3PE/moc_storagedevices.cpp +Generating MOC compilation mocs_compilation.cpp +[ 26%] Built target baloo_file_extractor_autogen +Generating MOC source include/positiondbtest.moc +Generating MOC source EWIEGA46WW/moc_singledbtest.cpp +Generating MOC compilation mocs_compilation.cpp +Scanning dependencies of target queryparsertest_autogen +[ 26%] Automatic MOC for target termgeneratortest +[ 26%] Built target positiondbtest_autogen +[ 27%] Automatic MOC for target queryparsertest +Generating MOC predefs moc_predefs.h +Generating MOC predefs moc_predefs.h +Scanning dependencies of target documenttimedbtest_autogen +[ 27%] Automatic MOC for target documenttimedbtest +Generating MOC predefs moc_predefs.h +Generating MOC source include/idfilenamedbtest.moc +Generating MOC source EWIEGA46WW/moc_singledbtest.cpp +Generating MOC compilation mocs_compilation.cpp +[ 27%] Built target idfilenamedbtest_autogen +Scanning dependencies of target andpostingiteratortest_autogen +[ 27%] Automatic MOC for target andpostingiteratortest +Generating MOC predefs moc_predefs.h +Generating MOC source include/postingdbtest.moc +Generating MOC source EWIEGA46WW/moc_singledbtest.cpp +Generating MOC compilation mocs_compilation.cpp +[ 27%] Built target postingdbtest_autogen +Scanning dependencies of target transactiontest_autogen +Generating MOC source include/mtimedbtest.moc +Generating MOC source EWIEGA46WW/moc_singledbtest.cpp +Generating MOC compilation mocs_compilation.cpp +[ 27%] Automatic MOC for target transactiontest +[ 27%] Built target mtimedbtest_autogen +Scanning dependencies of target orpostingiteratortest_autogen +Generating MOC source include/documentdbtest.moc +Generating MOC source EWIEGA46WW/moc_singledbtest.cpp +Generating MOC compilation mocs_compilation.cpp +[ 27%] Automatic MOC for target orpostingiteratortest +Generating MOC predefs moc_predefs.h +[ 27%] Built target documentdbtest_autogen +Generating MOC predefs moc_predefs.h +Scanning dependencies of target phraseanditeratortest_autogen +[ 27%] Automatic MOC for target phraseanditeratortest +Generating MOC predefs moc_predefs.h +Generating MOC source include/documenttimedbtest.moc +Generating MOC source EWIEGA46WW/moc_singledbtest.cpp +Generating MOC compilation mocs_compilation.cpp +Generating MOC source include/termgeneratortest.moc +Generating MOC source EWIEGA46WW/moc_singledbtest.cpp +Generating MOC compilation mocs_compilation.cpp +[ 27%] Built target termgeneratortest_autogen +[ 27%] Built target documenttimedbtest_autogen +Scanning dependencies of target documentdatadbtest_autogen +Scanning dependencies of target KF5Baloo +[ 27%] Automatic MOC for target documentdatadbtest +Generating MOC predefs moc_predefs.h +Generating MOC source include/queryparsertest.moc +Generating MOC source EWIEGA46WW/moc_singledbtest.cpp +Generating MOC compilation mocs_compilation.cpp +[ 27%] Built target queryparsertest_autogen +Generating MOC source include/andpostingiteratortest.moc +Generating MOC source EWIEGA46WW/moc_singledbtest.cpp +Generating MOC compilation mocs_compilation.cpp +[ 27%] Built target andpostingiteratortest_autogen +Scanning dependencies of target baloo_file_extractor +Scanning dependencies of target documenturldb +[ 27%] Building CXX object tests/engine/CMakeFiles/documenturldb.dir/documenturldbtest.cpp.o +[ 27%] Building CXX object src/lib/CMakeFiles/KF5Baloo.dir/term.cpp.o +Generating MOC source include/orpostingiteratortest.moc +Generating MOC source EWIEGA46WW/moc_singledbtest.cpp +Generating MOC compilation mocs_compilation.cpp +Generating MOC source include/transactiontest.moc +Generating MOC source EWIEGA46WW/moc_singledbtest.cpp +Generating MOC compilation mocs_compilation.cpp +[ 27%] Built target orpostingiteratortest_autogen +Generating MOC source include/phraseanditeratortest.moc +Generating MOC source EWIEGA46WW/moc_singledbtest.cpp +Generating MOC compilation mocs_compilation.cpp +[ 27%] Built target transactiontest_autogen +Scanning dependencies of target memorytest +[ 27%] Built target phraseanditeratortest_autogen +[ 27%] Building CXX object src/lib/CMakeFiles/KF5Baloo.dir/query.cpp.o +Scanning dependencies of target writeiotest +[ 27%] Building CXX object tests/engine/CMakeFiles/memorytest.dir/memorytest.cpp.o +Generating MOC source include/documentdatadbtest.moc +Generating MOC source EWIEGA46WW/moc_singledbtest.cpp +Generating MOC compilation mocs_compilation.cpp +[ 27%] Built target documentdatadbtest_autogen +[ 28%] Building CXX object tests/engine/CMakeFiles/writeiotest.dir/writeiotest.cpp.o +[ 30%] Building CXX object src/file/extractor/CMakeFiles/baloo_file_extractor.dir/main.cpp.o +[ 30%] Building CXX object tests/engine/CMakeFiles/memorytest.dir/memorytest_autogen/mocs_compilation.cpp.o +[ 31%] Building CXX object src/lib/CMakeFiles/KF5Baloo.dir/queryrunnable.cpp.o +Generating MOC source include/moc_kinotify.cpp +Generating MOC source EWIEGA46WW/moc_extractorprocess.cpp +Generating MOC source EWIEGA46WW/moc_filecontentindexer.cpp +Generating MOC source EWIEGA46WW/moc_fileindexerconfig.cpp +Generating MOC source EWIEGA46WW/moc_fileindexscheduler.cpp +Generating MOC source EWIEGA46WW/moc_filewatch.cpp +Generating MOC source EWIEGA46WW/moc_firstrunindexer.cpp +Generating MOC source EWIEGA46WW/moc_indexcleaner.cpp +Generating MOC source EWIEGA46WW/moc_mainadaptor.cpp +Generating MOC source EWIEGA46WW/moc_mainhub.cpp +Generating MOC source EWIEGA46WW/moc_metadatamover.cpp +Generating MOC source EWIEGA46WW/moc_modifiedfileindexer.cpp +Generating MOC source EWIEGA46WW/moc_newfileindexer.cpp +Generating MOC source EWIEGA46WW/moc_pendingfilequeue.cpp +Generating MOC source EWIEGA46WW/moc_powerstatemonitor.cpp +Generating MOC source EWIEGA46WW/moc_storagedevices.cpp +Generating MOC source EWIEGA46WW/moc_timeestimator.cpp +Generating MOC source EWIEGA46WW/moc_unindexedfileindexer.cpp +Generating MOC source EWIEGA46WW/moc_xattrindexer.cpp +Generating MOC compilation mocs_compilation.cpp +In file included from /usr/src/packages/user/baloo/src/baloo-5.38.0/tests/engine/documenturldbtest.cpp:32:0: +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h: In function 'quint64 Baloo::devIdAndInodeToId(quint32, quint32)': +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h:41:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + return *(reinterpret_cast<quint64*>(arr)); + ^ +[ 31%] Building CXX object tests/engine/CMakeFiles/documenturldb.dir/documenturldb_autogen/mocs_compilation.cpp.o +[ 31%] Building CXX object src/lib/CMakeFiles/KF5Baloo.dir/resultiterator.cpp.o +[ 32%] Linking CXX executable ../../bin/documenturldb +[ 32%] Linking CXX executable ../../bin/memorytest +[ 32%] Building CXX object tests/engine/CMakeFiles/writeiotest.dir/writeiotest_autogen/mocs_compilation.cpp.o +[ 32%] Linking CXX executable ../../bin/writeiotest +[ 32%] Building CXX object src/file/extractor/CMakeFiles/baloo_file_extractor.dir/app.cpp.o +[ 32%] Built target writeiotest +[ 32%] Built target baloofilecommon_autogen +[ 32%] Built target memorytest +[ 32%] Built target documenturldb +Scanning dependencies of target databasebenchmark +Scanning dependencies of target querytest +Scanning dependencies of target writetransactiontest +Scanning dependencies of target documenturldbtest +Scanning dependencies of target idtreedbtest +[ 33%] Building CXX object autotests/benchmarks/CMakeFiles/databasebenchmark.dir/databasebenchmark.cpp.o +[ 33%] Building CXX object autotests/integration/CMakeFiles/querytest.dir/querytest.cpp.o +[ 33%] Building CXX object autotests/unit/engine/CMakeFiles/documenturldbtest.dir/documenturldbtest.cpp.o +[ 34%] Building CXX object autotests/integration/CMakeFiles/writetransactiontest.dir/writetransactiontest.cpp.o +[ 34%] Building CXX object autotests/unit/engine/CMakeFiles/idtreedbtest.dir/idtreedbtest.cpp.o +[ 34%] Building CXX object src/lib/CMakeFiles/KF5Baloo.dir/advancedqueryparser.cpp.o +In file included from /usr/src/packages/user/baloo/src/baloo-5.38.0/src/file/extractor/app.cpp:26:0: +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h: In function 'quint64 Baloo::devIdAndInodeToId(quint32, quint32)': +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h:41:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + return *(reinterpret_cast<quint64*>(arr)); + ^ +[ 34%] Building CXX object src/lib/CMakeFiles/KF5Baloo.dir/file.cpp.o +In file included from /usr/src/packages/user/baloo/src/baloo-5.38.0/autotests/integration/querytest.cpp:26:0: +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h: In function 'quint64 Baloo::devIdAndInodeToId(quint32, quint32)': +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h:41:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + return *(reinterpret_cast<quint64*>(arr)); + ^ +In file included from /usr/src/packages/user/baloo/src/baloo-5.38.0/autotests/integration/writetransactiontest.cpp:24:0: +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h: In function 'quint64 Baloo::devIdAndInodeToId(quint32, quint32)': +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h:41:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + return *(reinterpret_cast<quint64*>(arr)); + ^ +In file included from /usr/src/packages/user/baloo/src/baloo-5.38.0/autotests/unit/engine/documenturldbtest.cpp:23:0: +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h: In function 'quint64 Baloo::devIdAndInodeToId(quint32, quint32)': +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h:41:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + return *(reinterpret_cast<quint64*>(arr)); + ^ +In file included from /usr/src/packages/user/baloo/src/baloo-5.38.0/src/lib/file.cpp:27:0: +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h: In function 'quint64 Baloo::devIdAndInodeToId(quint32, quint32)': +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h:41:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + return *(reinterpret_cast<quint64*>(arr)); + ^ +[ 34%] Building CXX object autotests/benchmarks/CMakeFiles/databasebenchmark.dir/databasebenchmark_autogen/mocs_compilation.cpp.o +[ 34%] Linking CXX executable ../../bin/databasebenchmark +[ 34%] Building CXX object autotests/unit/engine/CMakeFiles/idtreedbtest.dir/singledbtest.cpp.o +[ 34%] Built target databasebenchmark +Scanning dependencies of target documentiddbtest +[ 34%] Building CXX object autotests/unit/engine/CMakeFiles/documentiddbtest.dir/documentiddbtest.cpp.o +[ 35%] Building CXX object src/lib/CMakeFiles/KF5Baloo.dir/filemonitor.cpp.o +[ 35%] Building CXX object src/lib/CMakeFiles/KF5Baloo.dir/taglistjob.cpp.o +[ 35%] Building CXX object src/file/extractor/CMakeFiles/baloo_file_extractor.dir/result.cpp.o +[ 35%] Building CXX object autotests/integration/CMakeFiles/querytest.dir/querytest_autogen/mocs_compilation.cpp.o +[ 35%] Building CXX object autotests/unit/engine/CMakeFiles/documenturldbtest.dir/singledbtest.cpp.o +[ 36%] Linking CXX executable ../../bin/querytest +[ 36%] Built target querytest +Scanning dependencies of target positiondbtest +[ 36%] Building CXX object autotests/unit/engine/CMakeFiles/positiondbtest.dir/positiondbtest.cpp.o +[ 36%] Building CXX object autotests/unit/engine/CMakeFiles/idtreedbtest.dir/idtreedbtest_autogen/mocs_compilation.cpp.o +[ 37%] Building CXX object autotests/unit/engine/CMakeFiles/documentiddbtest.dir/singledbtest.cpp.o +[ 37%] Building CXX object src/lib/CMakeFiles/KF5Baloo.dir/indexerconfig.cpp.o +[ 38%] Building CXX object autotests/unit/engine/CMakeFiles/documenturldbtest.dir/documenturldbtest_autogen/mocs_compilation.cpp.o +[ 39%] Building CXX object src/lib/CMakeFiles/KF5Baloo.dir/__/file/fileindexerconfig.cpp.o +[ 40%] Linking CXX executable ../../../bin/idtreedbtest +[ 40%] Built target idtreedbtest +Scanning dependencies of target idfilenamedbtest +[ 40%] Building CXX object autotests/unit/engine/CMakeFiles/idfilenamedbtest.dir/idfilenamedbtest.cpp.o +[ 40%] Building CXX object autotests/unit/engine/CMakeFiles/documentiddbtest.dir/documentiddbtest_autogen/mocs_compilation.cpp.o +[ 40%] Building CXX object autotests/unit/engine/CMakeFiles/positiondbtest.dir/singledbtest.cpp.o +[ 40%] Building CXX object autotests/integration/CMakeFiles/writetransactiontest.dir/writetransactiontest_autogen/mocs_compilation.cpp.o +[ 40%] Linking CXX executable ../../bin/writetransactiontest +[ 40%] Built target writetransactiontest +[ 40%] Building CXX object autotests/unit/engine/CMakeFiles/positiondbtest.dir/positiondbtest_autogen/mocs_compilation.cpp.o +[ 40%] Linking CXX executable ../../../bin/documenturldbtest +[ 40%] Built target documenturldbtest +Scanning dependencies of target postingdbtest +[ 40%] Building CXX object autotests/unit/engine/CMakeFiles/postingdbtest.dir/postingdbtest.cpp.o +[ 41%] Building CXX object autotests/unit/engine/CMakeFiles/postingdbtest.dir/singledbtest.cpp.o +[ 41%] Building CXX object src/lib/CMakeFiles/KF5Baloo.dir/__/file/storagedevices.cpp.o +[ 41%] Building CXX object src/lib/CMakeFiles/KF5Baloo.dir/__/file/regexpcache.cpp.o +[ 41%] Linking CXX executable ../../../bin/documentiddbtest +[ 42%] Linking CXX executable ../../../bin/positiondbtest +[ 42%] Built target documentiddbtest +Scanning dependencies of target mtimedbtest +[ 42%] Built target positiondbtest +[ 43%] Building CXX object autotests/unit/engine/CMakeFiles/mtimedbtest.dir/mtimedbtest.cpp.o +Scanning dependencies of target documentdbtest +[ 43%] Building CXX object autotests/unit/engine/CMakeFiles/documentdbtest.dir/documentdbtest.cpp.o +[ 44%] Building CXX object src/file/extractor/CMakeFiles/baloo_file_extractor.dir/iohandler.cpp.o +[ 44%] Building CXX object src/file/extractor/CMakeFiles/baloo_file_extractor.dir/idlestatemonitor.cpp.o +[ 44%] Building CXX object autotests/unit/engine/CMakeFiles/postingdbtest.dir/postingdbtest_autogen/mocs_compilation.cpp.o +[ 44%] Building CXX object src/lib/CMakeFiles/KF5Baloo.dir/__/file/fileexcludefilters.cpp.o +[ 44%] Building CXX object src/file/extractor/CMakeFiles/baloo_file_extractor.dir/__/priority.cpp.o +[ 45%] Building CXX object autotests/unit/engine/CMakeFiles/idfilenamedbtest.dir/singledbtest.cpp.o +[ 45%] Building CXX object autotests/unit/engine/CMakeFiles/idfilenamedbtest.dir/idfilenamedbtest_autogen/mocs_compilation.cpp.o +[ 45%] Building CXX object autotests/unit/engine/CMakeFiles/documentdbtest.dir/singledbtest.cpp.o +[ 45%] Building CXX object autotests/unit/engine/CMakeFiles/mtimedbtest.dir/singledbtest.cpp.o +[ 45%] Building CXX object src/file/extractor/CMakeFiles/baloo_file_extractor.dir/__/basicindexingjob.cpp.o +[ 46%] Building CXX object src/lib/CMakeFiles/KF5Baloo.dir/__/file/baloodebug.cpp.o +[ 46%] Linking CXX executable ../../../bin/postingdbtest +[ 46%] Built target postingdbtest +Scanning dependencies of target termgeneratortest +[ 46%] Building CXX object autotests/unit/engine/CMakeFiles/termgeneratortest.dir/termgeneratortest.cpp.o +[ 47%] Building CXX object autotests/unit/engine/CMakeFiles/termgeneratortest.dir/singledbtest.cpp.o +[ 48%] Building CXX object src/file/extractor/CMakeFiles/baloo_file_extractor.dir/__/fileindexerconfig.cpp.o +In file included from /usr/src/packages/user/baloo/src/baloo-5.38.0/src/file/basicindexingjob.cpp:25:0: +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h: In function 'quint64 Baloo::devIdAndInodeToId(quint32, quint32)': +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h:41:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + return *(reinterpret_cast<quint64*>(arr)); + ^ +[ 49%] Building CXX object autotests/unit/engine/CMakeFiles/documentdbtest.dir/documentdbtest_autogen/mocs_compilation.cpp.o +[ 49%] Linking CXX executable ../../../bin/idfilenamedbtest +[ 49%] Building CXX object autotests/unit/engine/CMakeFiles/mtimedbtest.dir/mtimedbtest_autogen/mocs_compilation.cpp.o +[ 49%] Built target idfilenamedbtest +Scanning dependencies of target queryparsertest +[ 50%] Building CXX object autotests/unit/engine/CMakeFiles/queryparsertest.dir/queryparsertest.cpp.o +[ 50%] Building CXX object src/lib/CMakeFiles/KF5Baloo.dir/searchstore.cpp.o +[ 50%] Building CXX object autotests/unit/engine/CMakeFiles/termgeneratortest.dir/termgeneratortest_autogen/mocs_compilation.cpp.o +[ 50%] Linking CXX executable ../../../bin/documentdbtest +In file included from /usr/src/packages/user/baloo/src/baloo-5.38.0/src/lib/searchstore.cpp:34:0: +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h: In function 'quint64 Baloo::devIdAndInodeToId(quint32, quint32)': +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h:41:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + return *(reinterpret_cast<quint64*>(arr)); + ^ +[ 50%] Linking CXX executable ../../../bin/mtimedbtest +[ 50%] Built target documentdbtest +Scanning dependencies of target documenttimedbtest +[ 51%] Building CXX object autotests/unit/engine/CMakeFiles/documenttimedbtest.dir/documenttimedbtest.cpp.o +[ 51%] Built target mtimedbtest +Scanning dependencies of target andpostingiteratortest +[ 51%] Building CXX object autotests/unit/engine/CMakeFiles/andpostingiteratortest.dir/andpostingiteratortest.cpp.o +[ 51%] Building CXX object src/file/extractor/CMakeFiles/baloo_file_extractor.dir/__/storagedevices.cpp.o +[ 51%] Building CXX object src/file/extractor/CMakeFiles/baloo_file_extractor.dir/__/regexpcache.cpp.o +[ 51%] Building CXX object src/file/extractor/CMakeFiles/baloo_file_extractor.dir/__/fileexcludefilters.cpp.o +[ 51%] Linking CXX executable ../../../bin/termgeneratortest +[ 51%] Building CXX object autotests/unit/engine/CMakeFiles/documenttimedbtest.dir/singledbtest.cpp.o +[ 51%] Building CXX object src/lib/CMakeFiles/KF5Baloo.dir/__/dbus/maininterface.cpp.o +[ 51%] Built target termgeneratortest +Scanning dependencies of target transactiontest +[ 51%] Building CXX object autotests/unit/engine/CMakeFiles/transactiontest.dir/transactiontest.cpp.o +[ 52%] Building CXX object autotests/unit/engine/CMakeFiles/andpostingiteratortest.dir/singledbtest.cpp.o +[ 52%] Building CXX object autotests/unit/engine/CMakeFiles/queryparsertest.dir/singledbtest.cpp.o +[ 53%] Building CXX object src/file/extractor/CMakeFiles/baloo_file_extractor.dir/__/baloodebug.cpp.o +[ 53%] Building CXX object src/file/extractor/CMakeFiles/baloo_file_extractor.dir/baloo_file_extractor_autogen/mocs_compilation.cpp.o +[ 53%] Building CXX object autotests/unit/engine/CMakeFiles/queryparsertest.dir/queryparsertest_autogen/mocs_compilation.cpp.o +In file included from /usr/src/packages/user/baloo/src/baloo-5.38.0/autotests/unit/engine/transactiontest.cpp:23:0: +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h: In function 'quint64 Baloo::devIdAndInodeToId(quint32, quint32)': +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h:41:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + return *(reinterpret_cast<quint64*>(arr)); + ^ +[ 53%] Building CXX object autotests/unit/engine/CMakeFiles/andpostingiteratortest.dir/andpostingiteratortest_autogen/mocs_compilation.cpp.o +[ 53%] Building CXX object autotests/unit/engine/CMakeFiles/transactiontest.dir/singledbtest.cpp.o +[ 53%] Building CXX object autotests/unit/engine/CMakeFiles/documenttimedbtest.dir/documenttimedbtest_autogen/mocs_compilation.cpp.o +[ 53%] Building CXX object autotests/unit/engine/CMakeFiles/transactiontest.dir/transactiontest_autogen/mocs_compilation.cpp.o +[ 53%] Linking CXX executable ../../../bin/baloo_file_extractor +[ 53%] Linking CXX executable ../../../bin/queryparsertest +[ 53%] Built target queryparsertest +Scanning dependencies of target orpostingiteratortest +[ 53%] Building CXX object autotests/unit/engine/CMakeFiles/orpostingiteratortest.dir/orpostingiteratortest.cpp.o +[ 53%] Building CXX object src/lib/CMakeFiles/KF5Baloo.dir/KF5Baloo_autogen/mocs_compilation.cpp.o +[ 53%] Building CXX object autotests/unit/engine/CMakeFiles/orpostingiteratortest.dir/singledbtest.cpp.o +[ 53%] Building CXX object autotests/unit/engine/CMakeFiles/orpostingiteratortest.dir/orpostingiteratortest_autogen/mocs_compilation.cpp.o +[ 53%] Linking CXX executable ../../../bin/andpostingiteratortest +[ 53%] Built target baloo_file_extractor +Scanning dependencies of target phraseanditeratortest +[ 53%] Building CXX object autotests/unit/engine/CMakeFiles/phraseanditeratortest.dir/phraseanditeratortest.cpp.o +[ 53%] Built target andpostingiteratortest +Scanning dependencies of target documentdatadbtest +[ 53%] Building CXX object autotests/unit/engine/CMakeFiles/documentdatadbtest.dir/documentdatadbtest.cpp.o +[ 54%] Linking CXX executable ../../../bin/documenttimedbtest +[ 55%] Linking CXX executable ../../../bin/transactiontest +[ 55%] Built target documenttimedbtest +Scanning dependencies of target baloofilecommon +[ 55%] Built target transactiontest +[ 55%] Building CXX object autotests/unit/engine/CMakeFiles/documentdatadbtest.dir/singledbtest.cpp.o +[ 55%] Building CXX object src/file/CMakeFiles/baloofilecommon.dir/mainhub.cpp.o +[ 55%] Building CXX object src/file/CMakeFiles/baloofilecommon.dir/mainadaptor.cpp.o +[ 56%] Linking CXX shared library ../../bin/libKF5Baloo.so +[ 57%] Building CXX object src/file/CMakeFiles/baloofilecommon.dir/fileindexerconfig.cpp.o +[ 57%] Built target KF5Baloo +Scanning dependencies of target balooplugin_autogen +[ 57%] Automatic MOC for target balooplugin +Generating MOC predefs moc_predefs.h +Generating MOC source EWIEGA46WW/moc_balooplugin.cpp +Generating MOC source EWIEGA46WW/moc_queryresultsmodel.cpp +Generating MOC compilation mocs_compilation.cpp +[ 57%] Built target balooplugin_autogen +Scanning dependencies of target baloomonitorplugin_autogen +[ 57%] Automatic MOC for target baloomonitorplugin +Generating MOC predefs moc_predefs.h +[ 58%] Linking CXX executable ../../../bin/orpostingiteratortest +[ 58%] Building CXX object autotests/unit/engine/CMakeFiles/documentdatadbtest.dir/documentdatadbtest_autogen/mocs_compilation.cpp.o +Generating MOC source EWIEGA46WW/moc_baloomonitorplugin.cpp +Generating MOC source EWIEGA46WW/moc_monitor.cpp +Generating MOC compilation mocs_compilation.cpp +[ 58%] Built target baloomonitorplugin_autogen +Scanning dependencies of target timeline_autogen +[ 59%] Automatic MOC for target timeline +Generating MOC predefs moc_predefs.h +Generating MOC compilation mocs_compilation.cpp +[ 59%] Built target timeline_autogen +Scanning dependencies of target tags_autogen +[ 59%] Automatic MOC for target tags +[ 59%] Built target orpostingiteratortest +Generating MOC predefs moc_predefs.h +Scanning dependencies of target kio_baloosearch_autogen +[ 59%] Automatic MOC for target kio_baloosearch +Generating MOC predefs moc_predefs.h +Generating MOC compilation mocs_compilation.cpp +[ 59%] Built target kio_baloosearch_autogen +[ 59%] Building CXX object src/file/CMakeFiles/baloofilecommon.dir/basicindexingjob.cpp.o +[ 59%] Building CXX object autotests/unit/engine/CMakeFiles/phraseanditeratortest.dir/singledbtest.cpp.o +Generating MOC source EWIEGA46WW/moc_kio_tags.cpp +Generating MOC compilation mocs_compilation.cpp +[ 59%] Built target tags_autogen +Scanning dependencies of target baloosearch_autogen +[ 59%] Automatic MOC for target baloosearch +Generating MOC predefs moc_predefs.h +Generating MOC compilation mocs_compilation.cpp +[ 59%] Built target baloosearch_autogen +Scanning dependencies of target balooshow_autogen +[ 59%] Automatic MOC for target balooshow +Generating MOC predefs moc_predefs.h +Generating MOC compilation mocs_compilation.cpp +[ 59%] Built target balooshow_autogen +Scanning dependencies of target filefetchjobtest_autogen +Scanning dependencies of target filemonitortest_autogen +[ 60%] Automatic MOC for target filefetchjobtest +[ 60%] Automatic MOC for target filemonitortest +Generating MOC predefs moc_predefs.h +Generating MOC predefs moc_predefs.h +Generating MOC source include/filemonitortest.moc +Generating MOC compilation mocs_compilation.cpp +[ 60%] Built target filemonitortest_autogen +Scanning dependencies of target queryserializationtest_autogen +[ 60%] Automatic MOC for target queryserializationtest +Generating MOC predefs moc_predefs.h +[ 60%] Building CXX object src/file/CMakeFiles/baloofilecommon.dir/powerstatemonitor.cpp.o +Generating MOC source include/filefetchjobtest.moc +Generating MOC compilation mocs_compilation.cpp +[ 60%] Built target filefetchjobtest_autogen +Scanning dependencies of target balooplugin +[ 61%] Building CXX object src/qml/CMakeFiles/balooplugin.dir/balooplugin.cpp.o +[ 61%] Building CXX object src/file/CMakeFiles/baloofilecommon.dir/fileindexscheduler.cpp.o +Generating MOC source include/queryserializationtest.moc +Generating MOC compilation mocs_compilation.cpp +[ 61%] Built target queryserializationtest_autogen +Scanning dependencies of target baloomonitorplugin +[ 61%] Building CXX object src/qml/experimental/CMakeFiles/baloomonitorplugin.dir/baloomonitorplugin.cpp.o +[ 62%] Linking CXX executable ../../../bin/documentdatadbtest +In file included from /usr/src/packages/user/baloo/src/baloo-5.38.0/src/file/basicindexingjob.cpp:25:0: +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h: In function 'quint64 Baloo::devIdAndInodeToId(quint32, quint32)': +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h:41:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + return *(reinterpret_cast<quint64*>(arr)); + ^ +[ 62%] Built target documentdatadbtest +Scanning dependencies of target timeline +[ 63%] Building CXX object src/kioslaves/timeline/CMakeFiles/timeline.dir/kio_timeline.cpp.o +[ 64%] Building CXX object autotests/unit/engine/CMakeFiles/phraseanditeratortest.dir/phraseanditeratortest_autogen/mocs_compilation.cpp.o +[ 65%] Building CXX object src/file/CMakeFiles/baloofilecommon.dir/firstrunindexer.cpp.o +[ 65%] Building CXX object src/file/CMakeFiles/baloofilecommon.dir/newfileindexer.cpp.o +[ 65%] Building CXX object src/file/CMakeFiles/baloofilecommon.dir/xattrindexer.cpp.o +[ 65%] Linking CXX executable ../../../bin/phraseanditeratortest +[ 65%] Built target phraseanditeratortest +Scanning dependencies of target tags +[ 65%] Building CXX object src/kioslaves/tags/CMakeFiles/tags.dir/kio_tags.cpp.o +[ 65%] Building CXX object src/qml/CMakeFiles/balooplugin.dir/queryresultsmodel.cpp.o +[ 65%] Building CXX object src/kioslaves/timeline/CMakeFiles/timeline.dir/timelinetools.cpp.o +[ 66%] Building CXX object src/file/CMakeFiles/baloofilecommon.dir/modifiedfileindexer.cpp.o +[ 66%] Building CXX object src/qml/experimental/CMakeFiles/baloomonitorplugin.dir/monitor.cpp.o +[ 66%] Building CXX object src/file/CMakeFiles/baloofilecommon.dir/unindexedfileindexer.cpp.o +[ 66%] Building CXX object src/file/CMakeFiles/baloofilecommon.dir/filecontentindexer.cpp.o +[ 66%] Building CXX object src/file/CMakeFiles/baloofilecommon.dir/filecontentindexerprovider.cpp.o +[ 66%] Building CXX object src/qml/CMakeFiles/balooplugin.dir/balooplugin_autogen/mocs_compilation.cpp.o +In file included from /usr/src/packages/user/baloo/src/baloo-5.38.0/src/file/modifiedfileindexer.cpp:23:0: +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h: In function 'quint64 Baloo::devIdAndInodeToId(quint32, quint32)': +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h:41:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + return *(reinterpret_cast<quint64*>(arr)); + ^ +[ 66%] Building CXX object src/kioslaves/tags/CMakeFiles/tags.dir/tags_autogen/mocs_compilation.cpp.o +[ 67%] Building CXX object src/file/CMakeFiles/baloofilecommon.dir/extractorprocess.cpp.o +[ 67%] Building CXX object src/file/CMakeFiles/baloofilecommon.dir/timeestimator.cpp.o +[ 67%] Building CXX object src/kioslaves/timeline/CMakeFiles/timeline.dir/timeline_autogen/mocs_compilation.cpp.o +[ 67%] Linking CXX shared module ../../../bin/timeline.so +[ 68%] Linking CXX shared library ../../bin/libbalooplugin.so +[ 68%] Building CXX object src/file/CMakeFiles/baloofilecommon.dir/indexcleaner.cpp.o +[ 68%] Built target timeline +Scanning dependencies of target kio_baloosearch +[ 68%] Building CXX object src/kioslaves/search/CMakeFiles/kio_baloosearch.dir/kio_search.cpp.o +[ 68%] Built target balooplugin +Scanning dependencies of target baloosearch +[ 68%] Building CXX object src/tools/baloosearch/CMakeFiles/baloosearch.dir/main.cpp.o +[ 69%] Linking CXX shared module ../../../bin/tags.so +[ 69%] Building CXX object src/tools/baloosearch/CMakeFiles/baloosearch.dir/baloosearch_autogen/mocs_compilation.cpp.o +[ 70%] Building CXX object src/qml/experimental/CMakeFiles/baloomonitorplugin.dir/__/__/dbus/schedulerinterface.cpp.o +[ 70%] Building CXX object src/qml/experimental/CMakeFiles/baloomonitorplugin.dir/__/__/dbus/fileindexerinterface.cpp.o +[ 70%] Building CXX object src/file/CMakeFiles/baloofilecommon.dir/priority.cpp.o +[ 70%] Built target tags +Scanning dependencies of target balooshow +[ 70%] Building CXX object src/tools/balooshow/CMakeFiles/balooshow.dir/main.cpp.o +[ 71%] Building CXX object src/tools/balooshow/CMakeFiles/balooshow.dir/balooshow_autogen/mocs_compilation.cpp.o +[ 72%] Building CXX object src/kioslaves/search/CMakeFiles/kio_baloosearch.dir/kio_baloosearch_autogen/mocs_compilation.cpp.o +[ 73%] Building CXX object src/file/CMakeFiles/baloofilecommon.dir/regexpcache.cpp.o +In file included from /usr/src/packages/user/baloo/src/baloo-5.38.0/src/file/indexcleaner.cpp:25:0: +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h: In function 'quint64 Baloo::devIdAndInodeToId(quint32, quint32)': +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h:41:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + return *(reinterpret_cast<quint64*>(arr)); + ^ +[ 73%] Building CXX object src/file/CMakeFiles/baloofilecommon.dir/fileexcludefilters.cpp.o +In file included from /usr/src/packages/user/baloo/src/baloo-5.38.0/src/tools/balooshow/main.cpp:38:0: +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h: In function 'quint64 Baloo::devIdAndInodeToId(quint32, quint32)': +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h:41:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + return *(reinterpret_cast<quint64*>(arr)); + ^ +[ 73%] Linking CXX shared module ../../../bin/baloosearch.so +[ 74%] Linking CXX executable ../../../bin/baloosearch +[ 74%] Building CXX object src/file/CMakeFiles/baloofilecommon.dir/storagedevices.cpp.o +[ 74%] Built target kio_baloosearch +Scanning dependencies of target filefetchjobtest +[ 74%] Building CXX object autotests/unit/lib/CMakeFiles/filefetchjobtest.dir/filefetchjobtest.cpp.o +[ 74%] Built target baloosearch +[ 74%] Building CXX object autotests/unit/lib/CMakeFiles/filefetchjobtest.dir/filefetchjobtest_autogen/mocs_compilation.cpp.o +Scanning dependencies of target filemonitortest +[ 74%] Building CXX object autotests/unit/lib/CMakeFiles/filemonitortest.dir/filemonitortest.cpp.o +[ 74%] Building CXX object src/file/CMakeFiles/baloofilecommon.dir/filtereddiriterator.cpp.o +[ 75%] Building CXX object src/file/CMakeFiles/baloofilecommon.dir/unindexedfileiterator.cpp.o +[ 75%] Building CXX object src/qml/experimental/CMakeFiles/baloomonitorplugin.dir/baloomonitorplugin_autogen/mocs_compilation.cpp.o +[ 75%] Building CXX object src/file/CMakeFiles/baloofilecommon.dir/migrator.cpp.o +In file included from /usr/src/packages/user/baloo/src/baloo-5.38.0/autotests/unit/lib/filefetchjobtest.cpp:25:0: +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h: In function 'quint64 Baloo::devIdAndInodeToId(quint32, quint32)': +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h:41:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + return *(reinterpret_cast<quint64*>(arr)); + ^ +[ 75%] Building CXX object src/file/CMakeFiles/baloofilecommon.dir/baloodebug.cpp.o +In file included from /usr/src/packages/user/baloo/src/baloo-5.38.0/src/file/unindexedfileiterator.cpp:23:0: +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h: In function 'quint64 Baloo::devIdAndInodeToId(quint32, quint32)': +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h:41:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + return *(reinterpret_cast<quint64*>(arr)); + ^ +[ 75%] Linking CXX executable ../../../bin/balooshow +[ 75%] Built target balooshow +Scanning dependencies of target queryserializationtest +[ 75%] Building CXX object autotests/unit/lib/CMakeFiles/queryserializationtest.dir/queryserializationtest.cpp.o +[ 76%] Building CXX object src/file/CMakeFiles/baloofilecommon.dir/fileinfo.cpp.o +[ 76%] Building CXX object src/file/CMakeFiles/baloofilecommon.dir/filewatch.cpp.o +[ 76%] Building CXX object src/file/CMakeFiles/baloofilecommon.dir/pendingfilequeue.cpp.o +[ 76%] Building CXX object src/file/CMakeFiles/baloofilecommon.dir/metadatamover.cpp.o +[ 77%] Building CXX object src/file/CMakeFiles/baloofilecommon.dir/pendingfile.cpp.o +[ 77%] Building CXX object autotests/unit/lib/CMakeFiles/filemonitortest.dir/filemonitortest_autogen/mocs_compilation.cpp.o +[ 78%] Linking CXX executable ../../../bin/filemonitortest +[ 78%] Linking CXX shared library ../../../bin/libbaloomonitorplugin.so +[ 78%] Built target filemonitortest +[ 78%] Building CXX object src/file/CMakeFiles/baloofilecommon.dir/kinotify.cpp.o +[ 78%] Built target baloomonitorplugin +[ 78%] Building CXX object src/file/CMakeFiles/baloofilecommon.dir/baloofilecommon_autogen/mocs_compilation.cpp.o +[ 78%] Linking CXX executable ../../../bin/filefetchjobtest +[ 78%] Built target filefetchjobtest +[ 78%] Building CXX object autotests/unit/lib/CMakeFiles/queryserializationtest.dir/queryserializationtest_autogen/mocs_compilation.cpp.o +[ 79%] Linking CXX executable ../../../bin/queryserializationtest +In file included from /usr/src/packages/user/baloo/src/baloo-5.38.0/src/file/metadatamover.cpp:24:0: +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h: In function 'quint64 Baloo::devIdAndInodeToId(quint32, quint32)': +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h:41:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + return *(reinterpret_cast<quint64*>(arr)); + ^ +[ 79%] Built target queryserializationtest +[ 79%] Linking CXX static library ../../lib/libbaloofilecommon.a +[ 79%] Built target baloofilecommon +Scanning dependencies of target balooctl_autogen +Scanning dependencies of target baloo_file_autogen +Scanning dependencies of target unindexedfileiteratorbenchmark_autogen +Scanning dependencies of target basicindexingtest_autogen +Scanning dependencies of target filtereddiriteratorbenchmark_autogen +Scanning dependencies of target indexerconfigtest_autogen +Scanning dependencies of target inotifytest_autogen +Scanning dependencies of target storagedevicestest_autogen +[ 79%] Automatic MOC for target baloo_file +[ 79%] Automatic MOC for target unindexedfileiteratorbenchmark +[ 79%] Automatic MOC for target filtereddiriteratorbenchmark +[ 79%] Automatic MOC for target indexerconfigtest +[ 79%] Automatic MOC for target basicindexingtest +[ 79%] Automatic MOC for target balooctl +[ 79%] Automatic MOC for target inotifytest +[ 79%] Automatic MOC for target storagedevicestest +Generating MOC predefs moc_predefs.h +Generating MOC predefs moc_predefs.h +Generating MOC predefs moc_predefs.h +Generating MOC predefs moc_predefs.h +Generating MOC predefs moc_predefs.h +Generating MOC predefs moc_predefs.h +Generating MOC predefs moc_predefs.h +Generating MOC compilation mocs_compilation.cpp +Generating MOC compilation mocs_compilation.cpp +Generating MOC compilation mocs_compilation.cpp +Generating MOC compilation mocs_compilation.cpp +Generating MOC compilation mocs_compilation.cpp +Generating MOC predefs moc_predefs.h +[ 79%] Built target unindexedfileiteratorbenchmark_autogen +[ 79%] Built target indexerconfigtest_autogen +[ 79%] Built target inotifytest_autogen +[ 79%] Built target basicindexingtest_autogen +[ 79%] Built target filtereddiriteratorbenchmark_autogen +Generating MOC compilation mocs_compilation.cpp +Generating MOC compilation mocs_compilation.cpp +[ 79%] Built target storagedevicestest_autogen +[ 79%] Built target baloo_file_autogen +Scanning dependencies of target unindexedfileiteratortest_autogen +Scanning dependencies of target kinotifytest_autogen +Scanning dependencies of target fileindexerconfigtest_autogen +Scanning dependencies of target basicindexingjobtest_autogen +Scanning dependencies of target regularexpcachebenchmark_autogen +Scanning dependencies of target filtereddiriteratortest_autogen +[ 80%] Automatic MOC for target fileindexerconfigtest +Scanning dependencies of target metadatamovertest_autogen +[ 80%] Automatic MOC for target basicindexingjobtest +[ 80%] Automatic MOC for target unindexedfileiteratortest +[ 80%] Automatic MOC for target kinotifytest +[ 80%] Automatic MOC for target regularexpcachebenchmark +Generating MOC predefs moc_predefs.h +Generating MOC predefs moc_predefs.h +[ 80%] Automatic MOC for target filtereddiriteratortest +Generating MOC predefs moc_predefs.h +Generating MOC predefs moc_predefs.h +[ 80%] Automatic MOC for target metadatamovertest +Generating MOC predefs moc_predefs.h +Generating MOC predefs moc_predefs.h +Generating MOC predefs moc_predefs.h +Generating MOC source EWIEGA46WW/moc_monitorcommand.cpp +Generating MOC compilation mocs_compilation.cpp +[ 80%] Built target balooctl_autogen +Scanning dependencies of target fileinfotest_autogen +Generating MOC source include/fileindexerconfigtest.moc +Generating MOC compilation mocs_compilation.cpp +[ 80%] Built target fileindexerconfigtest_autogen +[ 81%] Automatic MOC for target fileinfotest +Generating MOC source include/unindexedfileiteratortest.moc +Generating MOC compilation mocs_compilation.cpp +Generating MOC predefs moc_predefs.h +[ 81%] Built target unindexedfileiteratortest_autogen +Generating MOC source include/regularexpcachebenchmark.moc +Generating MOC compilation mocs_compilation.cpp +Scanning dependencies of target pendingfilequeuetest_autogen +[ 81%] Built target regularexpcachebenchmark_autogen +Scanning dependencies of target filewatchtest_autogen +Generating MOC source include/basicindexingjobtest.moc +Generating MOC compilation mocs_compilation.cpp +Generating MOC source include/filtereddiriteratortest.moc +Generating MOC compilation mocs_compilation.cpp +[ 81%] Automatic MOC for target pendingfilequeuetest +[ 81%] Automatic MOC for target filewatchtest +Scanning dependencies of target baloo_file +[ 81%] Built target basicindexingjobtest_autogen +[ 81%] Built target filtereddiriteratortest_autogen +Generating MOC predefs moc_predefs.h +Generating MOC source include/kinotifytest.moc +Generating MOC compilation mocs_compilation.cpp +Scanning dependencies of target balooctl +Generating MOC source include/metadatamovertest.moc +Generating MOC compilation mocs_compilation.cpp +Generating MOC predefs moc_predefs.h +Scanning dependencies of target basicindexingtest +[ 81%] Built target kinotifytest_autogen +[ 81%] Built target metadatamovertest_autogen +Scanning dependencies of target unindexedfileiteratorbenchmark +[ 82%] Building CXX object src/file/CMakeFiles/baloo_file.dir/main.cpp.o +Scanning dependencies of target filtereddiriteratorbenchmark +[ 83%] Building CXX object tests/benchmarks/CMakeFiles/unindexedfileiteratorbenchmark.dir/unindexedfileiteratortest.cpp.o +[ 84%] Building CXX object tests/engine/CMakeFiles/basicindexingtest.dir/basicindexingtest.cpp.o +[ 84%] Building CXX object tests/file/CMakeFiles/filtereddiriteratorbenchmark.dir/filtereddiriteratorbenchmark.cpp.o +Generating MOC source include/pendingfilequeuetest.moc +Generating MOC compilation mocs_compilation.cpp +[ 84%] Built target pendingfilequeuetest_autogen +[ 85%] Building CXX object src/tools/balooctl/CMakeFiles/balooctl.dir/main.cpp.o +[ 85%] Building CXX object tests/engine/CMakeFiles/basicindexingtest.dir/basicindexingtest_autogen/mocs_compilation.cpp.o +Generating MOC source include/filewatchtest.moc +Generating MOC compilation mocs_compilation.cpp +[ 85%] Built target filewatchtest_autogen +Generating MOC source include/fileinfotest.moc +Generating MOC compilation mocs_compilation.cpp +[ 85%] Built target fileinfotest_autogen +Scanning dependencies of target indexerconfigtest +Scanning dependencies of target storagedevicestest +[ 85%] Building CXX object src/file/CMakeFiles/baloo_file.dir/baloo_file_autogen/mocs_compilation.cpp.o +[ 85%] Building CXX object tests/file/CMakeFiles/storagedevicestest.dir/storagedevicestest.cpp.o +[ 85%] Building CXX object tests/file/CMakeFiles/indexerconfigtest.dir/indexerconfigtest.cpp.o +[ 85%] Building CXX object tests/benchmarks/CMakeFiles/unindexedfileiteratorbenchmark.dir/unindexedfileiteratorbenchmark_autogen/mocs_compilation.cpp.o +[ 85%] Building CXX object tests/file/CMakeFiles/indexerconfigtest.dir/indexerconfigtest_autogen/mocs_compilation.cpp.o +[ 85%] Building CXX object tests/file/CMakeFiles/storagedevicestest.dir/storagedevicestest_autogen/mocs_compilation.cpp.o +Scanning dependencies of target inotifytest +[ 85%] Building CXX object tests/file/CMakeFiles/inotifytest.dir/inotify.cpp.o +[ 85%] Linking CXX executable ../../bin/baloo_file +[ 86%] Linking CXX executable ../../bin/indexerconfigtest +In file included from /usr/src/packages/user/baloo/src/baloo-5.38.0/src/tools/balooctl/main.cpp:48:0: +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h: In function 'quint64 Baloo::devIdAndInodeToId(quint32, quint32)': +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h:41:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + return *(reinterpret_cast<quint64*>(arr)); + ^ +[ 87%] Linking CXX executable ../../bin/storagedevicestest +[ 87%] Linking CXX executable ../../bin/unindexedfileiteratorbenchmark +[ 88%] Building CXX object tests/file/CMakeFiles/filtereddiriteratorbenchmark.dir/filtereddiriteratorbenchmark_autogen/mocs_compilation.cpp.o +[ 88%] Linking CXX executable ../../bin/filtereddiriteratorbenchmark +[ 88%] Built target baloo_file +Scanning dependencies of target basicindexingjobtest +[ 89%] Building CXX object autotests/unit/file/CMakeFiles/basicindexingjobtest.dir/basicindexingjobtest.cpp.o +[ 89%] Built target storagedevicestest +Scanning dependencies of target unindexedfileiteratortest +[ 89%] Built target indexerconfigtest +Scanning dependencies of target fileindexerconfigtest +[ 90%] Building CXX object autotests/unit/file/CMakeFiles/unindexedfileiteratortest.dir/unindexedfileiteratortest.cpp.o +[ 90%] Building CXX object autotests/unit/file/CMakeFiles/fileindexerconfigtest.dir/fileindexerconfigtest.cpp.o +[ 90%] Linking CXX executable ../../bin/basicindexingtest +[ 90%] Building CXX object tests/file/CMakeFiles/inotifytest.dir/inotifytest_autogen/mocs_compilation.cpp.o +[ 91%] Linking CXX executable ../../bin/inotifytest +[ 91%] Built target unindexedfileiteratorbenchmark +Scanning dependencies of target metadatamovertest +[ 91%] Building CXX object autotests/unit/file/CMakeFiles/metadatamovertest.dir/metadatamovertest.cpp.o +[ 91%] Built target basicindexingtest +Scanning dependencies of target kinotifytest +[ 91%] Built target filtereddiriteratorbenchmark +Scanning dependencies of target regularexpcachebenchmark +[ 91%] Building CXX object autotests/unit/file/CMakeFiles/kinotifytest.dir/kinotifytest.cpp.o +[ 91%] Building CXX object autotests/unit/file/CMakeFiles/regularexpcachebenchmark.dir/regularexpcachebenchmark.cpp.o +[ 91%] Built target inotifytest +Scanning dependencies of target filtereddiriteratortest +[ 91%] Building CXX object autotests/unit/file/CMakeFiles/filtereddiriteratortest.dir/filtereddiriteratortest.cpp.o +[ 91%] Building CXX object src/tools/balooctl/CMakeFiles/balooctl.dir/indexer.cpp.o +[ 91%] Building CXX object autotests/unit/file/CMakeFiles/basicindexingjobtest.dir/basicindexingjobtest_autogen/mocs_compilation.cpp.o +[ 91%] Linking CXX executable ../../../bin/basicindexingjobtest +[ 91%] Built target basicindexingjobtest +Scanning dependencies of target fileinfotest +[ 91%] Building CXX object autotests/unit/file/CMakeFiles/fileinfotest.dir/fileinfotest.cpp.o +[ 91%] Building CXX object autotests/unit/file/CMakeFiles/regularexpcachebenchmark.dir/regularexpcachebenchmark_autogen/mocs_compilation.cpp.o +[ 91%] Building CXX object autotests/unit/file/CMakeFiles/unindexedfileiteratortest.dir/unindexedfileiteratortest_autogen/mocs_compilation.cpp.o +[ 92%] Linking CXX executable ../../../bin/regularexpcachebenchmark +[ 92%] Linking CXX executable ../../../bin/unindexedfileiteratortest +[ 92%] Built target regularexpcachebenchmark +[ 92%] Built target unindexedfileiteratortest +Scanning dependencies of target pendingfilequeuetest +Scanning dependencies of target filewatchtest +[ 92%] Building CXX object autotests/unit/file/CMakeFiles/pendingfilequeuetest.dir/pendingfilequeuetest.cpp.o +[ 92%] Building CXX object autotests/unit/file/CMakeFiles/filewatchtest.dir/filewatchtest.cpp.o +[ 92%] Building CXX object autotests/unit/file/CMakeFiles/fileindexerconfigtest.dir/fileindexerconfigtest_autogen/mocs_compilation.cpp.o +[ 92%] Linking CXX executable ../../../bin/fileindexerconfigtest +[ 93%] Building CXX object autotests/unit/file/CMakeFiles/metadatamovertest.dir/metadatamovertest_autogen/mocs_compilation.cpp.o +[ 94%] Building CXX object autotests/unit/file/CMakeFiles/filtereddiriteratortest.dir/filtereddiriteratortest_autogen/mocs_compilation.cpp.o +[ 94%] Linking CXX executable ../../../bin/metadatamovertest +[ 94%] Linking CXX executable ../../../bin/filtereddiriteratortest +[ 94%] Built target fileindexerconfigtest +[ 94%] Building CXX object autotests/unit/file/CMakeFiles/filewatchtest.dir/__/lib/xattrdetector.cpp.o +[ 94%] Building CXX object autotests/unit/file/CMakeFiles/fileinfotest.dir/fileinfotest_autogen/mocs_compilation.cpp.o +[ 94%] Linking CXX executable ../../../bin/fileinfotest +[ 94%] Built target fileinfotest +[ 95%] Building CXX object autotests/unit/file/CMakeFiles/filewatchtest.dir/filewatchtest_autogen/mocs_compilation.cpp.o +[ 95%] Building CXX object autotests/unit/file/CMakeFiles/pendingfilequeuetest.dir/pendingfilequeuetest_autogen/mocs_compilation.cpp.o +[ 95%] Building CXX object src/tools/balooctl/CMakeFiles/balooctl.dir/command.cpp.o +[ 95%] Building CXX object src/tools/balooctl/CMakeFiles/balooctl.dir/configcommand.cpp.o +[ 95%] Built target filtereddiriteratortest +[ 96%] Building CXX object src/tools/balooctl/CMakeFiles/balooctl.dir/statuscommand.cpp.o +[ 96%] Built target metadatamovertest +[ 96%] Building CXX object src/tools/balooctl/CMakeFiles/balooctl.dir/monitorcommand.cpp.o +[ 97%] Building CXX object autotests/unit/file/CMakeFiles/kinotifytest.dir/kinotifytest_autogen/mocs_compilation.cpp.o +[ 97%] Linking CXX executable ../../../bin/kinotifytest +[ 98%] Linking CXX executable ../../../bin/pendingfilequeuetest +[ 98%] Building CXX object src/tools/balooctl/CMakeFiles/balooctl.dir/__/__/file/extractor/result.cpp.o +[ 98%] Built target kinotifytest +[ 99%] Building CXX object src/tools/balooctl/CMakeFiles/balooctl.dir/__/__/dbus/maininterface.cpp.o +[ 99%] Building CXX object src/tools/balooctl/CMakeFiles/balooctl.dir/__/__/dbus/schedulerinterface.cpp.o +[ 99%] Built target pendingfilequeuetest +[ 99%] Building CXX object src/tools/balooctl/CMakeFiles/balooctl.dir/__/__/dbus/fileindexerinterface.cpp.o +[ 99%] Linking CXX executable ../../../bin/filewatchtest +In file included from /usr/src/packages/user/baloo/src/baloo-5.38.0/src/tools/balooctl/statuscommand.cpp:27:0: +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h: In function 'quint64 Baloo::devIdAndInodeToId(quint32, quint32)': +/usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/idutils.h:41:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + return *(reinterpret_cast<quint64*>(arr)); + ^ +[ 99%] Built target filewatchtest +[ 99%] Building CXX object src/tools/balooctl/CMakeFiles/balooctl.dir/balooctl_autogen/mocs_compilation.cpp.o +[100%] Linking CXX executable ../../../bin/balooctl +[100%] Built target balooctl +>>> baloo: Entering fakeroot... +]0;abuild: balooTest project /usr/src/packages/user/baloo/src/baloo-5.38.0 + Start 1: extractorIOTest + 1/38 Test #1: extractorIOTest .................. Passed 0.00 sec + Start 2: databasebenchmark + 2/38 Test #2: databasebenchmark ................ Passed 0.00 sec + Start 3: positioncodecbenchmark + 3/38 Test #3: positioncodecbenchmark ........... Passed 1.27 sec + Start 4: querytest + 4/38 Test #4: querytest ........................***Exception: Other 0.69 sec +********* Start testing of QueryTest ********* +Config: Using QtTest library 5.9.1, Qt 5.9.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 6.4.0) +PASS : QueryTest::initTestCase() +PASS : QueryTest::testTermEqual() + +========= Received signal, dumping stack ============== +GNU gdb (GDB) 7.12.1 +Copyright (C) 2017 Free Software Foundation, Inc. +License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> +This is free software: you are free to change and redistribute it. +There is NO WARRANTY, to the extent permitted by law. Type "show copying" +and "show warranty" for details. +This GDB was configured as "x86_64-foxkit-linux-musl". +Type "show configuration" for configuration details. +For bug reporting instructions, please see: +<http://bugs.alpinelinux.org/>. +Find the GDB manual and other documentation resources online at: +<http://www.gnu.org/software/gdb/documentation/>. +For help, type "help". +Type "apropos word" to search for commands related to "word". +Attaching to process 5478 +[New LWP 5479] +__cp_end () at src/thread/x86_64/syscall_cp.s:29 +(gdb) +Thread 2 (LWP 5479): +#0 __cp_end () at src/thread/x86_64/syscall_cp.s:29 +No locals. +#1 0x00007f66d5b389f1 in __syscall_cp_c (nr=202, u=<optimized out>, + v=<optimized out>, w=<optimized out>, x=<optimized out>, + y=<optimized out>, z=0) at src/thread/pthread_cancel.c:35 + r = <optimized out> + st = <optimized out> +#2 0x00007f66d5b37bdf in __timedwait_cp (addr=addr@entry=0x7f66d5d728d4, + val=val@entry=2, clk=clk@entry=1, at=at@entry=0x7f66d5d72930, priv=128, + priv@entry=1) at src/thread/__timedwait.c:31 + r = <optimized out> + to = {tv_sec = 299, tv_nsec = 999999666} + top = <optimized out> +#3 0x00007f66d5b38e32 in __pthread_cond_timedwait (c=0x7f66d3f344a8, + m=0x7f66d3f34480, ts=0x7f66d5d72930) + at src/thread/pthread_cond_timedwait.c:105 + node = {prev = 0x0, next = 0x0, state = 0, barrier = 2, notify = 0x0} + e = <optimized out> + seq = 2 + clock = <optimized out> + cs = 0 + shared = 0 + oldstate = <optimized out> + tmp = <optimized out> + fut = 0x7f66d5d728d4 +#4 0x00007f66d4df4f16 in QWaitCondition::wait(QMutex*, unsigned long) () + from /usr/lib/libQt5Core.so.5 +No symbol table info available. +#5 0x00007f66d56a3032 in QTest::WatchDog::run (this=0x7f66d568b500) + at qtestcase.cpp:990 + locker = {val = 140079643800857} +#6 0x00007f66d4df4058 in QThreadPrivate::start(void*) () + from /usr/lib/libQt5Core.so.5 +No symbol table info available. +#7 0x00007f66d5b397a0 in start (p=0x7f66d5d72ae8) + at src/thread/pthread_create.c:145 + self = 0x7f66d5d72ae8 +#8 0x00007f66d5b45e04 in __clone () at src/thread/x86_64/clone.s:21 +No locals. +Backtrace stopped: frame did not save the PC + +Thread 1 (LWP 5478): +#0 __cp_end () at src/thread/x86_64/syscall_cp.s:29 +No locals. +#1 0x00007f66d5b389f1 in __syscall_cp_c (nr=61, u=<optimized out>, + v=<optimized out>, w=<optimized out>, x=<optimized out>, + y=<optimized out>, z=0) at src/thread/pthread_cancel.c:35 + r = <optimized out> + st = <optimized out> +#2 0x00007f66d5b1eb06 in waitpid (pid=<optimized out>, + status=status@entry=0x7f66d58c736c <QTest::FatalSignalHandler::FatalSignalHandler()::alternate_stack+13164>, options=options@entry=0) + at src/process/waitpid.c:7 +No locals. +#3 0x00007f66d5b1e9ea in system ( + cmd=0x7f66d58c7800 <QTest::FatalSignalHandler::FatalSignalHandler()::alternate_stack+14336> "gdb --pid 5478 2>/dev/null <<EOF\nset prompt\nset height 0\nthread apply all where full\ndetach\nquit\nEOF\n") at src/process/system.c:40 + pid = 5480 + old = {__bits = {21711, 7719224956813516832, 4209586178373323330, + 3688764892143165449, 140079646143520, 140079648458255, + 739271074867519520, 4294967297, 18446744073709551614, 64, + 3539864629463222586, 7878495878512652338, 2314885432472784208, 0, + 8, 140079646144056}} + reset = {__bits = {6, 44, 5, 140079634797405, 4, 0, 32, 0, 0, 32, 1, + 140079651061376, 140079651048056, 1, 140079646144288, + 140079651048064}} + sa = {__sa_handler = {sa_handler = 0x1, sa_sigaction = 0x1}, + sa_mask = {__bits = {65536, 0 <repeats 15 times>}}, sa_flags = 0, + sa_restorer = 0x0} + oldint = {__sa_handler = { + sa_handler = 0x7f66d5699a70 <QTest::FatalSignalHandler::signal(int)>, sa_sigaction = 0x7f66d5699a70 <QTest::FatalSignalHandler::signal(int)>}, + sa_mask = {__bits = {21711, 0, 140079651061400, 140079646143920, + 140079648459259, 140079651048128, 1, 101, 160, 140079646143984, + 104, 94651405916256, 63, 0, 140079651061400, 8}}, + sa_flags = -1946157056, sa_restorer = 0x66} + oldquit = {__sa_handler = { + sa_handler = 0x7f66d5699a70 <QTest::FatalSignalHandler::signal(int)>, sa_sigaction = 0x7f66d5699a70 <QTest::FatalSignalHandler::signal(int)>}, + sa_mask = {__bits = {21711, 101, 140079651061400, 101, + 140079646144232, 140079646144080, 140079648455426, + 94651405916400, 33636187584, 64424509439, 101, 1, + 94651405916240, 94651405916400, 140725177193184, + 140079646144192}}, sa_flags = -1946157056, sa_restorer = 0xb} + status = 32512 + ret = 0 + attr = {__flags = 12, __pgrp = 0, __def = {__bits = {6, 44, 5, + 140079634797405, 4, 0, 32, 0, 0, 32, 1, 140079651061376, + 140079651048056, 1, 140079646144288, 140079651048064}}, + __mask = {__bits = {21711, 7719224956813516832, 4209586178373323330, + 3688764892143165449, 140079646143520, 140079648458255, + 739271074867519520, 4294967297, 18446744073709551614, 64, + 3539864629463222586, 7878495878512652338, 2314885432472784208, + 0, 8, 140079646144056}}, __prio = 0, __pol = 0, __pad = { + 0 <repeats 16 times>}} +#4 0x00007f66d56999ac in stackTrace () at qtestcase.cpp:222 + cmd = "gdb --pid 5478 2>/dev/null <<EOF\nset prompt\nset height 0\nthread apply all where full\ndetach\nquit\nEOF\n", '\000' <repeats 291 times>... +#5 0x00007f66d5699a65 in stackTrace () at qtestcase.cpp:237 + ok = false + disableStackDump = <optimized out> +#6 0x00007f66d5699b05 in QTest::FatalSignalHandler::signal (signum=11) + at qtestcase.cpp:1417 +No locals. +#7 <signal handler called> +No locals. +#8 0x00007f66d547e2df in mdb_cursor_open (txn=0x8b4960b5aaff1e44, dbi=2, + ret=ret@entry=0x7ffd22329150) at mdb.c:7597 +No locals. +#9 0x00007f66d5463821 in Baloo::PostingDB::iter<Baloo::PostingDB::prefixIter(const QByteArray&)::<lambda(const QByteArray&)> > (this=0xc, this=0xc, + prefix=..., validate=...) + at /usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/postingdb.cpp:211 + key = {mv_size = 3, mv_data = 0x7f66d1c72fd8} + cursor = 0x0 + termIterators = {d = 0x30} + val = {mv_size = 140725177192912, + mv_data = 0x7f66d5afbb02 <alloc_fwd+450>} + rc = <optimized out> +#10 Baloo::PostingDB::prefixIter (this=this@entry=0x7ffd22329220, prefix=...) + at /usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/postingdb.cpp:246 +No locals. +#11 0x00007f66d546a482 in Baloo::Transaction::postingIterator ( + this=0x7ffd22329300, query=...) + at /usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/transaction.cpp:296 + postingDb = {m_txn = 0x8b4960b5aaff1e44, m_dbi = 2} + positionDb = {m_txn = 0x8b4960b5aaff1e44, m_dbi = 3} + vec = {d = 0x1d} +#12 0x00007f66d546a4fa in Baloo::Transaction::exec (this=<optimized out>, + query=..., limit=-1) + at /usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/transaction.cpp:361 + results = {d = 0x7f66d5081020 <QArrayData::shared_null>} + it = <optimized out> +#13 0x00005615bf0fc4b5 in QueryTest::testTermStartsWith (this=0x7ffd22329e40) + at /usr/src/packages/user/baloo/src/baloo-5.38.0/autotests/integration/querytest.cpp:123 + q = {m_term = {d = 0x7f66d1c72fc0}, m_pos = 0, + m_op = Baloo::EngineQuery::StartsWith, m_subQueries = { + d = 0x7f66d5081020 <QArrayData::shared_null>}} + result = {d = 0x5615bf303fa0} + tr = {m_dbis = @0x7f66d1c72f78, m_txn = 0x8b4960b5aaff1e44, + m_env = 0x5615bf303e80, m_writeTrans = 0x0} +#14 0x00005615bf0fe6c5 in QueryTest::qt_static_metacall (_o=0x7ffd22329e40, + _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) + at /usr/src/packages/user/baloo/src/baloo-5.38.0/autotests/integration/querytest_autogen/include/querytest.moc:93 + _t = 0x7ffd22329e40 +#15 0x00007f66d4fe6536 in QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const () from /usr/lib/libQt5Core.so.5 +No symbol table info available. +#16 0x00007f66d56a1158 in QMetaMethod::invoke (val9=..., val8=..., val7=..., + val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., + connectionType=Qt::DirectConnection, object=<optimized out>, + this=<optimized out>) + at ../../include/QtCore/../../src/corelib/kernel/qmetaobject.h:123 +No locals. +#17 QTest::TestMethods::invokeTestOnData (this=this@entry=0x7ffd22329d70, + index=index@entry=1) at qtestcase.cpp:890 + invokeOk = <optimized out> + isBenchmark = <optimized out> + i = -1 + results = {d = 0x7f66d5081020 <QArrayData::shared_null>} + minimumTotalReached = <optimized out> +#18 0x00007f66d56a1b90 in QTest::TestMethods::invokeTest ( + this=this@entry=0x7ffd22329d70, index=index@entry=1, data=data@entry=0x0, + watchDog=watchDog@entry=0x7f66d568b500) at qtestcase.cpp:1071 + curDataIndex = 0 + dataCount = 0 + foundFunction = true + benchmarkData = {static current = 0x7ffd223299b0, result = {context = { + slotName = {static null = {<No data fields>}, + d = 0x7f66d5081020 <QArrayData::shared_null>}, tag = { + static null = {<No data fields>}, + d = 0x7f66d5081020 <QArrayData::shared_null>}, + checkpointIndex = -1}, value = -1, iterations = -1, + metric = QTest::FramesPerSecond, setByMacro = true, + valid = false}, resultAccepted = false, runOnce = false, + iterationCount = 1} + name = @0x7ffd22329998: { + d = 0x5615bf101478 <qt_meta_stringdata_QueryTest+120>} + member = "testTermStartsWith_data()\000k\325f\177\000\000\000\000\000\000\000\000\000\000]S\337\324f\177\000\000 hk\325f\177\000\000\030\233\062\"\375\177\000\000\a\000\000\000\000\000\000\000\224\315\337\324f\177\000\000`\232\062\"\375\177\000\000\235\071\257\325f\177\000\000\300\233\062\"\375\177\000\000К2\"\375\177\000\000@\233\062\"\375\177\000\000\366\232\263\325f\177\000\000 +\327\325f\177\000\000\016\232\263\325f\177\000\000H\024\020\277\025V\000\000\000,\327\325f\177\000\000\000\340\325\325f\177\000\000\361\211\263\325f\177\000\000Pk\327\325f\177\000\000\000\000\000\000\000\000\000\000\002", '\000' <repeats 15 times>... + table = {d = 0x7f66d1c72d60} + gTable = <optimized out> + curGlobalDataIndex = <optimized out> +#19 0x00007f66d56a21e1 in QTest::TestMethods::invokeTests ( + this=this@entry=0x7ffd22329d70, testObject=testObject@entry=0x7ffd22329e40) + at qtestcase.cpp:1378 + data = 0x0 + ok = <optimized out> + i = 1 + count = 5 + previousFailed = <optimized out> + metaObject = <optimized out> + watchDog = {d = 0x7f66d568b500} +#20 0x00007f66d56a2727 in QTest::qExec (testObject=0x7ffd22329e40, + argc=<optimized out>, argv=0x7ffd22329f08) at qtestcase.cpp:1793 + handler = {d = 0x7f66d3f34140} + commandLineMethods = {<std::_Vector_base<QMetaMethod, std::allocator<QMetaMethod> >> = { + _M_impl = {<std::allocator<QMetaMethod>> = {<__gnu_cxx::new_allocator<QMetaMethod>> = {<No data fields>}, <No data fields>}, _M_start = 0x0, + _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>} + test = {m_initTestCaseMethod = {mobj = 0x0, handle = 0}, + m_initTestCaseDataMethod = {mobj = 0x0, handle = 0}, + m_cleanupTestCaseMethod = {mobj = 0x0, handle = 0}, m_initMethod = { + mobj = 0x5615bf302ba0 <QueryTest::staticMetaObject>, handle = 14}, + m_cleanupMethod = { + mobj = 0x5615bf302ba0 <QueryTest::staticMetaObject>, handle = 19}, + m_methods = {<std::_Vector_base<QMetaMethod, std::allocator<QMetaMethod> >> = { + _M_impl = {<std::allocator<QMetaMethod>> = {<__gnu_cxx::new_allocator<QMetaMethod>> = {<No data fields>}, <No data fields>}, + _M_start = 0x7f66d568b900, _M_finish = 0x7f66d568b950, + _M_end_of_storage = 0x7f66d568b9c0}}, <No data fields>}} + metaObject = <optimized out> + benchmarkData = {static current = 0x7ffd22329d30, + measurer = 0x7f66d568b1c0, context = {slotName = { + static null = {<No data fields>}, d = 0x7f66d3f349a0}, tag = { + static null = {<No data fields>}, + d = 0x7f66d5080fc0 <qt_array>}, checkpointIndex = -1}, + walltimeMinimum = -1, iterationCount = -1, + medianIterationCount = -1, createChart = false, + verboseOutput = false, callgrindOutFileBase = { + static null = {<No data fields>}, + d = 0x7f66d5081020 <QArrayData::shared_null>}, minimumTotal = -1, + mode_ = QBenchmarkGlobalData::WallTime} + callgrindChildExitCode = 0 +#21 0x00005615bf0fc16e in main (argc=<optimized out>, argv=0x7ffd22329f08) + at /usr/src/packages/user/baloo/src/baloo-5.38.0/autotests/integration/querytest.cpp:166 + app = <incomplete type> + tc = {<QObject> = {<No data fields>}, static staticMetaObject = {d = { + superdata = 0x7f66d5428660 <QObject::staticMetaObject>, + stringdata = 0x5615bf101400 <qt_meta_stringdata_QueryTest>, + data = 0x5615bf101300 <qt_meta_data_QueryTest>, + static_metacall = 0x5615bf0fe550 <QueryTest::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, + extradata = 0x0}}, dir = 0x7f66d568b9e0, db = 0x7f66d1c72f60, + m_id1 = 16967899663105536, m_id2 = 16967903958072832, + m_id3 = 16967908253040128, m_id4 = 16967912548007424} +Detaching from program: /usr/src/packages/user/baloo/src/baloo-5.38.0/bin/querytest, process 5478 +========= End of stack trace ============== +QFATAL : QueryTest::testTermStartsWith() Received signal 11 + Function time: 67ms Total time: 151ms +FAIL! : QueryTest::testTermStartsWith() Received a fatal error. + Loc: [Unknown file(0)] +Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 688ms +********* Finished testing of QueryTest ********* + + Start 5: writetransactiontest + 5/38 Test #5: writetransactiontest .............***Exception: Other 0.66 sec +********* Start testing of WriteTransactionTest ********* +Config: Using QtTest library 5.9.1, Qt 5.9.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 6.4.0) +PASS : WriteTransactionTest::initTestCase() +PASS : WriteTransactionTest::testAddDocument() + +========= Received signal, dumping stack ============== +GNU gdb (GDB) 7.12.1 +Copyright (C) 2017 Free Software Foundation, Inc. +License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> +This is free software: you are free to change and redistribute it. +There is NO WARRANTY, to the extent permitted by law. Type "show copying" +and "show warranty" for details. +This GDB was configured as "x86_64-foxkit-linux-musl". +Type "show configuration" for configuration details. +For bug reporting instructions, please see: +<http://bugs.alpinelinux.org/>. +Find the GDB manual and other documentation resources online at: +<http://www.gnu.org/software/gdb/documentation/>. +For help, type "help". +Type "apropos word" to search for commands related to "word". +Attaching to process 5486 +[New LWP 5487] +__cp_end () at src/thread/x86_64/syscall_cp.s:29 +(gdb) +Thread 2 (LWP 5487): +#0 __cp_end () at src/thread/x86_64/syscall_cp.s:29 +No locals. +#1 0x00007fcfa76e79f1 in __syscall_cp_c (nr=202, u=<optimized out>, + v=<optimized out>, w=<optimized out>, x=<optimized out>, + y=<optimized out>, z=0) at src/thread/pthread_cancel.c:35 + r = <optimized out> + st = <optimized out> +#2 0x00007fcfa76e6bdf in __timedwait_cp (addr=addr@entry=0x7fcfa79218d4, + val=val@entry=2, clk=clk@entry=1, at=at@entry=0x7fcfa7921930, priv=128, + priv@entry=1) at src/thread/__timedwait.c:31 + r = <optimized out> + to = {tv_sec = 299, tv_nsec = 999999708} + top = <optimized out> +#3 0x00007fcfa76e7e32 in __pthread_cond_timedwait (c=0x7fcfa5ae34a8, + m=0x7fcfa5ae3480, ts=0x7fcfa7921930) + at src/thread/pthread_cond_timedwait.c:105 + node = {prev = 0x0, next = 0x0, state = 0, barrier = 2, notify = 0x0} + e = <optimized out> + seq = 2 + clock = <optimized out> + cs = 0 + shared = 0 + oldstate = <optimized out> + tmp = <optimized out> + fut = 0x7fcfa79218d4 +#4 0x00007fcfa69a3f16 in QWaitCondition::wait(QMutex*, unsigned long) () + from /usr/lib/libQt5Core.so.5 +No symbol table info available. +#5 0x00007fcfa7252032 in QTest::WatchDog::run (this=0x7fcfa723a900) + at qtestcase.cpp:990 + locker = {val = 140529839089945} +#6 0x00007fcfa69a3058 in QThreadPrivate::start(void*) () + from /usr/lib/libQt5Core.so.5 +No symbol table info available. +#7 0x00007fcfa76e87a0 in start (p=0x7fcfa7921ae8) + at src/thread/pthread_create.c:145 + self = 0x7fcfa7921ae8 +#8 0x00007fcfa76f4e04 in __clone () at src/thread/x86_64/clone.s:21 +No locals. +Backtrace stopped: frame did not save the PC + +Thread 1 (LWP 5486): +#0 __cp_end () at src/thread/x86_64/syscall_cp.s:29 +No locals. +#1 0x00007fcfa76e79f1 in __syscall_cp_c (nr=61, u=<optimized out>, + v=<optimized out>, w=<optimized out>, x=<optimized out>, + y=<optimized out>, z=0) at src/thread/pthread_cancel.c:35 + r = <optimized out> + st = <optimized out> +#2 0x00007fcfa76cdb06 in waitpid (pid=<optimized out>, + status=status@entry=0x7fcfa747636c <QTest::FatalSignalHandler::FatalSignalHandler()::alternate_stack+13164>, options=options@entry=0) + at src/process/waitpid.c:7 +No locals. +#3 0x00007fcfa76cd9ea in system ( + cmd=0x7fcfa7476800 <QTest::FatalSignalHandler::FatalSignalHandler()::alternate_stack+14336> "gdb --pid 5486 2>/dev/null <<EOF\nset prompt\nset height 0\nthread apply all where full\ndetach\nquit\nEOF\n") at src/process/system.c:40 + pid = 5488 + old = {__bits = {21711, 3834024671439380852, 739271074867654707, + 2308440517191626070, 140529841431584, 140529843746319, + 2314885530818447674, 188978561025, 18446744073709551614, 64, + 664920123419481610, 4049353029007188000, 5571072955364043552, 0, + 8, 140529841432120}} + reset = {__bits = {6, 44, 5, 140529830085469, 4, 140529841431786, + 140529841431856, 140529830597770, 140529841431856, + 140529841432128, 1, 140529830504092, 3472328296227680304, + 3472328296227680304, 4209577309166457610, 3472328296227680265}} + sa = {__sa_handler = {sa_handler = 0x1, sa_sigaction = 0x1}, + sa_mask = {__bits = {65536, 0 <repeats 15 times>}}, sa_flags = 0, + sa_restorer = 0x0} + oldint = {__sa_handler = { + sa_handler = 0x7fcfa7248a70 <QTest::FatalSignalHandler::signal(int)>, sa_sigaction = 0x7fcfa7248a70 <QTest::FatalSignalHandler::signal(int)>}, + sa_mask = {__bits = {21711, 0, 94705615740472, 140529841431984, + 140529843747323, 140529846336960, 1, 101, 160, 140529841432048, + 104, 94705615740736, 63, 0, 94705615740472, 8}}, + sa_flags = -1946157056, sa_restorer = 0x66} + oldquit = {__sa_handler = { + sa_handler = 0x7fcfa7248a70 <QTest::FatalSignalHandler::signal(int)>, sa_sigaction = 0x7fcfa7248a70 <QTest::FatalSignalHandler::signal(int)>}, + sa_mask = {__bits = {21711, 101, 94705615740472, 101, + 140529841432296, 140529841432144, 140529843743490, + 94705615740880, 191773699520, 64424509439, 101, 1, + 94705615740432, 94705615740880, 140728573147760, + 140529841432256}}, sa_flags = -1946157056, sa_restorer = 0xb} + status = 32512 + ret = 0 + attr = {__flags = 12, __pgrp = 0, __def = {__bits = {6, 44, 5, + 140529830085469, 4, 140529841431786, 140529841431856, + 140529830597770, 140529841431856, 140529841432128, 1, + 140529830504092, 3472328296227680304, 3472328296227680304, + 4209577309166457610, 3472328296227680265}}, __mask = {__bits = { + 21711, 3834024671439380852, 739271074867654707, + 2308440517191626070, 140529841431584, 140529843746319, + 2314885530818447674, 188978561025, 18446744073709551614, 64, + 664920123419481610, 4049353029007188000, 5571072955364043552, 0, + 8, 140529841432120}}, __prio = 0, __pol = 0, __pad = { + 0 <repeats 16 times>}} +#4 0x00007fcfa72489ac in stackTrace () at qtestcase.cpp:222 + cmd = "gdb --pid 5486 2>/dev/null <<EOF\nset prompt\nset height 0\nthread apply all where full\ndetach\nquit\nEOF\n", '\000' <repeats 291 times>... +#5 0x00007fcfa7248a65 in stackTrace () at qtestcase.cpp:237 + ok = false + disableStackDump = <optimized out> +#6 0x00007fcfa7248b05 in QTest::FatalSignalHandler::signal (signum=11) + at qtestcase.cpp:1417 +No locals. +#7 <signal handler called> +No locals. +#8 memcpy () at src/string/x86_64/memcpy.s:18 +No locals. +#9 0x00007fcfa69a6c9b in QByteArray::QByteArray(char const*, int) () + from /usr/lib/libQt5Core.so.5 +No symbol table info available. +#10 0x00007fcfa70131c5 in Baloo::PostingDB::toTestMap (this=<optimized out>) + at /usr/src/packages/user/baloo/src/baloo-5.38.0/src/engine/postingdb.cpp:288 + rc = <optimized out> + ba = {d = 0x7fcfa6c30020 <QArrayData::shared_null>} + plist = {d = 0x0} + cursor = 0x0 + key = {mv_size = 0, mv_data = 0x0} + val = {mv_size = 94705615690848, mv_data = 0x56225e950c50} + map = {d = 0x7fcfa6c7c9a0 <QMapDataBase::shared_null>} +#11 0x000056225dc03d07 in Baloo::DBState::fromTransaction (tr=<optimized out>) + at /usr/src/packages/user/baloo/src/baloo-5.38.0/autotests/integration/dbstate.h:83 + dbis = {postingDbi = <optimized out>, positionDBi = <optimized out>, + docTermsDbi = <optimized out>, + docFilenameTermsDbi = <optimized out>, + docXattrTermsDbi = <optimized out>, idTreeDbi = 7, + idFilenameDbi = 8, docTimeDbi = <optimized out>, + docDataDbi = <optimized out>, contentIndexingDbi = <optimized out>, + mtimeDbi = <optimized out>, failedIdDbi = <optimized out>} + txn = <optimized out> + postingDB = {m_txn = 0x56225e950880, m_dbi = 2} + positionDB = {m_txn = 0x56225e950880, m_dbi = 3} + documentTermsDB = {m_txn = 0x56225e950880, m_dbi = 4} + documentXattrTermsDB = {m_txn = 0x56225e950880, m_dbi = 6} + documentFileNameTermsDB = {m_txn = 0x56225e950880, m_dbi = 5} + docTimeDB = {m_txn = 0x56225e950880, m_dbi = 9} + docDataDB = {m_txn = 0x56225e950880, m_dbi = 10} + contentIndexingDB = {m_txn = 0x56225e950880, m_dbi = 11} + failedIdDb = {m_txn = 0x56225e950880, m_dbi = 12} + mtimeDB = {m_txn = 0x56225e950880, m_dbi = 13} + docUrlDB = {m_txn = 0x56225e950880, m_idFilenameDbi = 8, + m_idTreeDbi = 7} + state = {postingDb = {d = 0x7fcfa6c7c9a0 <QMapDataBase::shared_null>}, + positionDb = {d = 0x7fcfa6c7c9a0 <QMapDataBase::shared_null>}, + docTermsDb = {d = 0x7fcfa6c7c9a0 <QMapDataBase::shared_null>}, + docFileNameTermsDb = { + d = 0x7fcfa6c7c9a0 <QMapDataBase::shared_null>}, + docXAttrTermsDb = {d = 0x7fcfa6c7c9a0 <QMapDataBase::shared_null>}, + docTimeDb = {d = 0x7fcfa6c7c9a0 <QMapDataBase::shared_null>}, + mtimeDb = {d = 0x7fcfa6c7c9a0 <QMapDataBase::shared_null>}, + docDataDb = {d = 0x7fcfa6c7c9a0 <QMapDataBase::shared_null>}, + docUrlDb = {d = 0x7fcfa6c7c9a0 <QMapDataBase::shared_null>}, + contentIndexingDb = {d = 0x7fcfa6c30020 <QArrayData::shared_null>}, + failedIdDb = {d = 0x7fcfa6c30020 <QArrayData::shared_null>}} +#12 0x000056225dc05901 in WriteTransactionTest::testAddDocumentTwoDocuments ( + this=<optimized out>) + at /usr/src/packages/user/baloo/src/baloo-5.38.0/autotests/integration/writetransactiontest.cpp:160 + url1 = {d = 0x56225e94f060} + url2 = {d = 0x7fcfa7926e80} + doc1 = {m_id = 16967929727876608, m_terms = {d = 0x7fcfa5ae3940}, + m_xattrTerms = {d = 0x7fcfa6c7c9a0 <QMapDataBase::shared_null>}, + m_fileNameTerms = {d = 0x56225de12ec0}, m_url = { + d = 0x56225e94f060}, m_contentIndexing = false, m_mTime = 5, + m_cTime = 1, m_data = {d = 0x7fcfa6c30020 <QArrayData::shared_null>}} + doc2 = {m_id = 16967934022843904, m_terms = {d = 0x56225e94f4a0}, + m_xattrTerms = {d = 0x7fcfa6c7c9a0 <QMapDataBase::shared_null>}, + m_fileNameTerms = {d = 0x56225e94f5a0}, m_url = { + d = 0x7fcfa7926e80}, m_contentIndexing = false, m_mTime = 6, + m_cTime = 2, m_data = {d = 0x7fcfa6c30020 <QArrayData::shared_null>}} + tr = {m_dbis = @0x7fcfa3821db8, m_txn = 0x56225e950880, + m_env = 0x7fcfa7926ee0, m_writeTrans = 0x0} + id1 = <optimized out> + id2 = 16967934022843904 + state = {postingDb = {d = 0x56225e94e5a0}, positionDb = { + d = 0x7fcfa6c7c9a0 <QMapDataBase::shared_null>}, docTermsDb = { + d = 0x7fcfa5649c80}, docFileNameTermsDb = {d = 0x7fcfa5649e40}, + docXAttrTermsDb = {d = 0x7fcfa6c7c9a0 <QMapDataBase::shared_null>}, + docTimeDb = {d = 0x7fcfa5649f00}, mtimeDb = {d = 0x7fcfa5649fc0}, + docDataDb = {d = 0x7fcfa6c7c9a0 <QMapDataBase::shared_null>}, + docUrlDb = {d = 0x7fcfa6c7c9a0 <QMapDataBase::shared_null>}, + contentIndexingDb = {d = 0x7fcfa6c30020 <QArrayData::shared_null>}, + failedIdDb = {d = 0x7fcfa6c30020 <QArrayData::shared_null>}} + actualState = {postingDb = { + d = 0x7fcfa6c7c9a0 <QMapDataBase::shared_null>}, positionDb = { + d = 0x7fcfa6c7c9a0 <QMapDataBase::shared_null>}, docTermsDb = { + d = 0x7fcfa6c7c9a0 <QMapDataBase::shared_null>}, + docFileNameTermsDb = { + d = 0x7fcfa6c7c9a0 <QMapDataBase::shared_null>}, + docXAttrTermsDb = {d = 0x7fcfa6c7c9a0 <QMapDataBase::shared_null>}, + docTimeDb = {d = 0x7fcfa6c7c9a0 <QMapDataBase::shared_null>}, + mtimeDb = {d = 0x7fcfa6c7c9a0 <QMapDataBase::shared_null>}, + docDataDb = {d = 0x7fcfa6c7c9a0 <QMapDataBase::shared_null>}, + docUrlDb = {d = 0x7fcfa6c7c9a0 <QMapDataBase::shared_null>}, + contentIndexingDb = {d = 0x7fcfa6c30020 <QArrayData::shared_null>}, + failedIdDb = {d = 0x7fcfa6c30020 <QArrayData::shared_null>}} +#13 0x000056225dc068a5 in WriteTransactionTest::qt_static_metacall ( + _o=0x7ffdec9cc690, _c=<optimized out>, _id=<optimized out>, + _a=<optimized out>) + at /usr/src/packages/user/baloo/src/baloo-5.38.0/autotests/integration/writetransactiontest_autogen/include/writetransactiontest.moc:94 + _t = 0x7ffdec9cc690 +#14 0x00007fcfa6b95536 in QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const () from /usr/lib/libQt5Core.so.5 +No symbol table info available. +#15 0x00007fcfa7250158 in QMetaMethod::invoke (val9=..., val8=..., val7=..., + val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., + connectionType=Qt::DirectConnection, object=<optimized out>, + this=<optimized out>) + at ../../include/QtCore/../../src/corelib/kernel/qmetaobject.h:123 +No locals. +#16 QTest::TestMethods::invokeTestOnData (this=this@entry=0x7ffdec9cc5c0, + index=index@entry=1) at qtestcase.cpp:890 + invokeOk = <optimized out> + isBenchmark = <optimized out> + i = -1 + results = {d = 0x7fcfa6c30020 <QArrayData::shared_null>} + minimumTotalReached = <optimized out> +#17 0x00007fcfa7250b90 in QTest::TestMethods::invokeTest ( + this=this@entry=0x7ffdec9cc5c0, index=index@entry=1, data=data@entry=0x0, + watchDog=watchDog@entry=0x7fcfa723a900) at qtestcase.cpp:1071 + curDataIndex = 0 + dataCount = 0 + foundFunction = true + benchmarkData = {static current = 0x7ffdec9cc200, result = {context = { + slotName = {static null = {<No data fields>}, + d = 0x7fcfa6c30020 <QArrayData::shared_null>}, tag = { + static null = {<No data fields>}, + d = 0x7fcfa6c30020 <QArrayData::shared_null>}, + checkpointIndex = -1}, value = -1, iterations = -1, + metric = QTest::FramesPerSecond, setByMacro = true, + valid = false}, resultAccepted = false, runOnce = false, + iterationCount = 1} + name = @0x7ffdec9cc1e8: { + d = 0x56225dc10a38 <qt_meta_stringdata_WriteTransactionTest+120>} + member = "testAddDocumentTwoDocuments_data()\000\000\000\000\000\000]C\232\246\317\177\000\000 X&\247\317\177\000\000hÜ\354\375\177\000\000\a\000\000\000\000\000\000\000\224\275\232\246\317\177\000\000\260\302\234\354\375\177\000\000\235)j\247\317\177\000\000\020Ĝ\354\375\177\000\000 Ü\354\375\177\000\000\220Ü\354\375\177\000\000\366\212n\247\317\177\000\000 \033\222\247\317\177\000\000\016\212n\247\317\177\000\000\b\n\301]\"V\000\000\000\034\222\247\317\177\000\000\000А\247\317\177\000\000\361yn\247\317\177\000\000P[\222\247\317\177\000\000\000\000\000\000\000\000\000\000\002", '\000' <repeats 15 times>... + table = {d = 0x7fcfa3821d60} + gTable = <optimized out> + curGlobalDataIndex = <optimized out> +#18 0x00007fcfa72511e1 in QTest::TestMethods::invokeTests ( + this=this@entry=0x7ffdec9cc5c0, testObject=testObject@entry=0x7ffdec9cc690) + at qtestcase.cpp:1378 + data = 0x0 + ok = <optimized out> + i = 1 + count = 5 + previousFailed = <optimized out> + metaObject = <optimized out> + watchDog = {d = 0x7fcfa723a900} +#19 0x00007fcfa7251727 in QTest::qExec (testObject=0x7ffdec9cc690, + argc=<optimized out>, argv=0x7ffdec9cc738) at qtestcase.cpp:1793 + handler = {d = 0x7fcfa5ae3140} + commandLineMethods = {<std::_Vector_base<QMetaMethod, std::allocator<QMetaMethod> >> = { + _M_impl = {<std::allocator<QMetaMethod>> = {<__gnu_cxx::new_allocator<QMetaMethod>> = {<No data fields>}, <No data fields>}, _M_start = 0x0, + _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>} + test = {m_initTestCaseMethod = {mobj = 0x0, handle = 0}, + m_initTestCaseDataMethod = {mobj = 0x0, handle = 0}, + m_cleanupTestCaseMethod = {mobj = 0x0, handle = 0}, m_initMethod = { + mobj = 0x56225de11a40 <WriteTransactionTest::staticMetaObject>, + handle = 14}, m_cleanupMethod = { + mobj = 0x56225de11a40 <WriteTransactionTest::staticMetaObject>, + handle = 19}, + m_methods = {<std::_Vector_base<QMetaMethod, std::allocator<QMetaMethod> >> = { + _M_impl = {<std::allocator<QMetaMethod>> = {<__gnu_cxx::new_allocator<QMetaMethod>> = {<No data fields>}, <No data fields>}, + _M_start = 0x7fcfa723a500, _M_finish = 0x7fcfa723a550, + _M_end_of_storage = 0x7fcfa723a5c0}}, <No data fields>}} + metaObject = <optimized out> + benchmarkData = {static current = 0x7ffdec9cc580, + measurer = 0x7fcfa723a1c0, context = {slotName = { + static null = {<No data fields>}, d = 0x7fcfa3821f60}, tag = { + static null = {<No data fields>}, + d = 0x7fcfa6c2ffc0 <qt_array>}, checkpointIndex = -1}, + walltimeMinimum = -1, iterationCount = -1, + medianIterationCount = -1, createChart = false, + verboseOutput = false, callgrindOutFileBase = { + static null = {<No data fields>}, + d = 0x7fcfa6c30020 <QArrayData::shared_null>}, minimumTotal = -1, + mode_ = QBenchmarkGlobalData::WallTime} + callgrindChildExitCode = 0 +#20 0x000056225dc03155 in main (argc=<optimized out>, argv=0x7ffdec9cc738) + at /usr/src/packages/user/baloo/src/baloo-5.38.0/autotests/integration/writetransactiontest.cpp:238 + app = <incomplete type> + tc = {<QObject> = {<No data fields>}, static staticMetaObject = {d = { + superdata = 0x7fcfa6fd7660 <QObject::staticMetaObject>, + stringdata = 0x56225dc109c0 <qt_meta_stringdata_WriteTransactionTest>, data = 0x56225dc108c0 <qt_meta_data_WriteTransactionTest>, + static_metacall = 0x56225dc06770 <WriteTransactionTest::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, + extradata = 0x0}}, dir = 0x7fcfa38211e0, db = 0x7fcfa3821da0} +Detaching from program: /usr/src/packages/user/baloo/src/baloo-5.38.0/bin/writetransactiontest, process 5486 +========= End of stack trace ============== +QFATAL : WriteTransactionTest::testAddDocumentTwoDocuments() Received signal 11 + Function time: 66ms Total time: 152ms +FAIL! : WriteTransactionTest::testAddDocumentTwoDocuments() Received a fatal error. + Loc: [Unknown file(0)] +Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 658ms +********* Finished testing of WriteTransactionTest ********* + + Start 6: doctermscodectest + 6/38 Test #6: doctermscodectest ................ Passed 0.00 sec + Start 7: postingcodectest + 7/38 Test #7: postingcodectest ................. Passed 0.00 sec + Start 8: positioncodectest + 8/38 Test #8: positioncodectest ................ Passed 0.01 sec + Start 9: positiondbtest + 9/38 Test #9: positiondbtest ................... Passed 0.00 sec + Start 10: postingdbtest +10/38 Test #10: postingdbtest .................... Passed 0.00 sec + Start 11: documentdbtest +11/38 Test #11: documentdbtest ................... Passed 0.00 sec + Start 12: documenturldbtest +12/38 Test #12: documenturldbtest ................ Passed 0.01 sec + Start 13: documentiddbtest +13/38 Test #13: documentiddbtest ................. Passed 0.00 sec + Start 14: documentdatadbtest +14/38 Test #14: documentdatadbtest ............... Passed 0.00 sec + Start 15: documenttimedbtest +15/38 Test #15: documenttimedbtest ............... Passed 0.01 sec + Start 16: idtreedbtest +16/38 Test #16: idtreedbtest ..................... Passed 0.00 sec + Start 17: idfilenamedbtest +17/38 Test #17: idfilenamedbtest ................. Passed 0.00 sec + Start 18: mtimedbtest +18/38 Test #18: mtimedbtest ...................... Passed 0.00 sec + Start 19: termgeneratortest +19/38 Test #19: termgeneratortest ................ Passed 0.00 sec + Start 20: queryparsertest +20/38 Test #20: queryparsertest .................. Passed 0.00 sec + Start 21: andpostingiteratortest +21/38 Test #21: andpostingiteratortest ........... Passed 0.00 sec + Start 22: orpostingiteratortest +22/38 Test #22: orpostingiteratortest ............ Passed 0.00 sec + Start 23: phraseanditeratortest +23/38 Test #23: phraseanditeratortest ............ Passed 0.00 sec + Start 24: transactiontest +24/38 Test #24: transactiontest .................. Passed 0.08 sec + Start 25: kinotifytest +25/38 Test #25: kinotifytest ..................... Passed 0.52 sec + Start 26: pendingfilequeuetest +26/38 Test #26: pendingfilequeuetest ............. Passed 6.97 sec + Start 27: fileindexerconfigtest +27/38 Test #27: fileindexerconfigtest ............ Passed 0.30 sec + Start 28: basicindexingjobtest +28/38 Test #28: basicindexingjobtest ............. Passed 0.00 sec + Start 29: regularexpcachebenchmark +29/38 Test #29: regularexpcachebenchmark ......... Passed 0.30 sec + Start 30: filtereddiriteratortest +30/38 Test #30: filtereddiriteratortest .......... Passed 0.23 sec + Start 31: unindexedfileiteratortest +31/38 Test #31: unindexedfileiteratortest ........ Passed 0.00 sec + Start 32: metadatamovertest +32/38 Test #32: metadatamovertest ................ Passed 0.49 sec + Start 33: fileinfotest +33/38 Test #33: fileinfotest ..................... Passed 0.00 sec + Start 34: filewatchtest +34/38 Test #34: filewatchtest .................... Passed 0.12 sec + Start 35: queryserializationtest +35/38 Test #35: queryserializationtest ........... Passed 0.02 sec + Start 36: filemonitortest +36/38 Test #36: filemonitortest ..................***Exception: Other301.93 sec +********* Start testing of FileMonitorTest ********* +Config: Using QtTest library 5.9.1, Qt 5.9.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 6.4.0) +PASS : FileMonitorTest::initTestCase() + +========= Received signal, dumping stack ============== +GNU gdb (GDB) 7.12.1 +Copyright (C) 2017 Free Software Foundation, Inc. +License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> +This is free software: you are free to change and redistribute it. +There is NO WARRANTY, to the extent permitted by law. Type "show copying" +and "show warranty" for details. +This GDB was configured as "x86_64-foxkit-linux-musl". +Type "show configuration" for configuration details. +For bug reporting instructions, please see: +<http://bugs.alpinelinux.org/>. +Find the GDB manual and other documentation resources online at: +<http://www.gnu.org/software/gdb/documentation/>. +For help, type "help". +Type "apropos word" to search for commands related to "word". +Attaching to process 5557 +[New LWP 5558] +[New LWP 5559] +__cp_end () at src/thread/x86_64/syscall_cp.s:29 +(gdb) +Thread 3 (LWP 5559): +#0 __cp_end () at src/thread/x86_64/syscall_cp.s:29 +No locals. +#1 0x00007fd215ec69f1 in __syscall_cp_c (nr=7, u=<optimized out>, + v=<optimized out>, w=<optimized out>, x=<optimized out>, + y=<optimized out>, z=0) at src/thread/pthread_cancel.c:35 + r = <optimized out> + st = <optimized out> +#2 0x00007fd215eb61c3 in poll (fds=<optimized out>, n=<optimized out>, + timeout=<optimized out>) at src/select/poll.c:10 +No locals. +#3 0x00007fd212a5dcb5 in g_main_context_poll (priority=<optimized out>, + n_fds=1, fds=0x55e0837e59e0, timeout=<optimized out>, + context=0x7fd212a12d60) at gmain.c:4187 + ret = <optimized out> + errsv = <optimized out> + poll_func = 0x7fd212a6e0a0 <g_poll> +#4 g_main_context_iterate (context=context@entry=0x7fd212a12d60, + block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) + at gmain.c:3881 + max_priority = 2147483647 + timeout = -1 + some_ready = <optimized out> + nfds = 1 + allocated_nfds = <optimized out> + fds = 0x55e0837e59e0 +#5 0x00007fd212a5dddf in g_main_context_iteration (context=0x7fd212a12d60, + may_block=1) at gmain.c:3947 + retval = <optimized out> +#6 0x00007fd21514c9af in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 +No symbol table info available. +#7 0x00007fd2150f4f2a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 +No symbol table info available. +#8 0x00007fd214f0e063 in QThread::exec() () from /usr/lib/libQt5Core.so.5 +No symbol table info available. +#9 0x00007fd21557304d in QDBusConnectionManager::run ( + this=0x7fd2157e90a0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178 + locker = <optimized out> +#10 0x00007fd214f13058 in QThreadPrivate::start(void*) () + from /usr/lib/libQt5Core.so.5 +No symbol table info available. +#11 0x00007fd215ec77a0 in start (p=0x7fd2160e9ae8) + at src/thread/pthread_create.c:145 + self = 0x7fd2160e9ae8 +#12 0x00007fd215ed3e04 in __clone () at src/thread/x86_64/clone.s:21 +No locals. +Backtrace stopped: frame did not save the PC + +Thread 2 (LWP 5558): +#0 __cp_end () at src/thread/x86_64/syscall_cp.s:29 +No locals. +#1 0x00007fd215ec69f1 in __syscall_cp_c (nr=61, u=<optimized out>, + v=<optimized out>, w=<optimized out>, x=<optimized out>, + y=<optimized out>, z=0) at src/thread/pthread_cancel.c:35 + r = <optimized out> + st = <optimized out> +#2 0x00007fd215eacb06 in waitpid (pid=<optimized out>, + status=status@entry=0x7fd21610028c, options=options@entry=0) + at src/process/waitpid.c:7 +No locals. +#3 0x00007fd215eac9ea in system ( + cmd=0x7fd216100720 "gdb --pid 5557 2>/dev/null <<EOF\nset prompt\nset height 0\nthread apply all where full\ndetach\nquit\nEOF\n") + at src/process/system.c:40 + pid = 5611 + old = {__bits = {0, 1, 512, 140540290017944, 140540290007872, + 140540287428111, 3683979817539084297, 42949672961, + 18446744073709551614, 64, 2308440353445801302, + 2319979645499351072, 4921678398310990443, 0, 8, 140540290008408}} + reset = {__bits = {6, 44, 5, 140540271215453, 4, 140540290008074, + 140540290008144, 140540271727754, 140540290008144, + 140540290008416, 1, 140540271634076, 3472328296227680304, + 734139722786418736, 664962007705282899, 3472328296227680304}} + sa = {__sa_handler = {sa_handler = 0x1, sa_sigaction = 0x1}, + sa_mask = {__bits = {65536, 0 <repeats 15 times>}}, sa_flags = 0, + sa_restorer = 0x0} + oldint = {__sa_handler = { + sa_handler = 0x7fd215a27a70 <QTest::FatalSignalHandler::signal(int)>, sa_sigaction = 0x7fd215a27a70 <QTest::FatalSignalHandler::signal(int)>}, + sa_mask = {__bits = {21711, 0, 140540235644504, 140540290008272, + 140540287429115, 140540290018464, 1, 101, 160, 140540290008336, + 104, 140540165574784, 63, 0, 140540235644504, 8}}, + sa_flags = -1946157056, sa_restorer = 0x66} + oldquit = {__sa_handler = { + sa_handler = 0x7fd215a27a70 <QTest::FatalSignalHandler::signal(int)>, sa_sigaction = 0x7fd215a27a70 <QTest::FatalSignalHandler::signal(int)>}, + sa_mask = {__bits = {21711, 101, 140540235644504, 101, + 140540290008584, 140540290008432, 140540287425282, + 140540165574928, 116315483584, 64424509439, 101, 1, + 140540165574768, 140540165574928, 0, 140540290008544}}, + sa_flags = -1946157056, sa_restorer = 0x55e0837e51a0} + status = 32512 + ret = 0 + attr = {__flags = 12, __pgrp = 0, __def = {__bits = {6, 44, 5, + 140540271215453, 4, 140540290008074, 140540290008144, + 140540271727754, 140540290008144, 140540290008416, 1, + 140540271634076, 3472328296227680304, 734139722786418736, + 664962007705282899, 3472328296227680304}}, __mask = {__bits = { + 0, 1, 512, 140540290017944, 140540290007872, 140540287428111, + 3683979817539084297, 42949672961, 18446744073709551614, 64, + 2308440353445801302, 2319979645499351072, 4921678398310990443, + 0, 8, 140540290008408}}, __prio = 0, __pol = 0, __pad = { + 0 <repeats 16 times>}} +#4 0x00007fd215a279ac in stackTrace () at qtestcase.cpp:222 + cmd = "gdb --pid 5557 2>/dev/null <<EOF\nset prompt\nset height 0\nthread apply all where full\ndetach\nquit\nEOF\n\000\000\000`\001\000\000\000\000\000\000\000\b\020\026\322\177\000\000\017\246\350\025\322\177\000\000\000\376\377\377\377\377\377\377\340\a\020\026\322\177\000\000\034\333\030\272\375\177\000\000 \b\020\026\322\177\000\000\340\a\020\026\001\000\000\000\361i\354\025\322\177\000\000\060\v\020\026\322\177\000\000\000\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000"... +#5 0x00007fd215a27a65 in stackTrace () at qtestcase.cpp:237 + ok = false + disableStackDump = <optimized out> +#6 0x00007fd215a3103b in QTest::WatchDog::run (this=0x55e0837e5180) + at qtestcase.cpp:991 + locker = {val = 94422767128985} +#7 0x00007fd214f13058 in QThreadPrivate::start(void*) () + from /usr/lib/libQt5Core.so.5 +No symbol table info available. +#8 0x00007fd215ec77a0 in start (p=0x7fd216100ae8) + at src/thread/pthread_create.c:145 + self = 0x7fd216100ae8 +#9 0x00007fd215ed3e04 in __clone () at src/thread/x86_64/clone.s:21 +No locals. +Backtrace stopped: frame did not save the PC + +Thread 1 (LWP 5557): +#0 __cp_end () at src/thread/x86_64/syscall_cp.s:29 +No locals. +#1 0x00007fd215ec69f1 in __syscall_cp_c (nr=7, u=<optimized out>, + v=<optimized out>, w=<optimized out>, x=<optimized out>, + y=<optimized out>, z=0) at src/thread/pthread_cancel.c:35 + r = <optimized out> + st = <optimized out> +#2 0x00007fd215eb61c3 in poll (fds=<optimized out>, n=<optimized out>, + timeout=<optimized out>) at src/select/poll.c:10 +No locals. +#3 0x00007fd212a5dcb5 in g_main_context_poll (priority=<optimized out>, + n_fds=1, fds=0x7fd20ffc5fe0, timeout=<optimized out>, + context=0x7fd213ee4b20) at gmain.c:4187 + ret = <optimized out> + errsv = <optimized out> + poll_func = 0x7fd212a6e0a0 <g_poll> +#4 g_main_context_iterate (context=context@entry=0x7fd213ee4b20, + block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) + at gmain.c:3881 + max_priority = 2147483647 + timeout = -1 + some_ready = <optimized out> + nfds = 1 + allocated_nfds = <optimized out> + fds = 0x7fd20ffc5fe0 +#5 0x00007fd212a5dddf in g_main_context_iteration (context=0x7fd213ee4b20, + may_block=1) at gmain.c:3947 + retval = <optimized out> +#6 0x00007fd21514c9af in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 +No symbol table info available. +#7 0x00007fd2150f4f2a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 +No symbol table info available. +#8 0x000055e0835e18fd in FileMonitorTest::test (this=<optimized out>) + at /usr/src/packages/user/baloo/src/baloo-5.38.0/autotests/unit/lib/filemonitortest.cpp:87 + file = {static null = {<No data fields>}, d = 0x7fd2131c1f40} + spy = {<QObject> = {<No data fields>}, <QList<QList<QVariant> >> = {<QListSpecialMethods<QList<QVariant> >> = {<No data fields>}, {p = { + static shared_null = {ref = {atomic = { + _q_value = {<std::__atomic_base<int>> = { + static _S_alignment = 4, + _M_i = -1}, <No data fields>}}}, alloc = 0, + begin = 0, end = 0, array = {0x0}}, + d = 0x7fd2151a24c0 <QListData::shared_null>}, + d = 0x7fd2151a24c0 <QListData::shared_null>}}, sig = { + d = 0x7fd20ec80d80}, args = {d = 0x7fd20ec80f20}, + m_loop = {<QObject> = {<No data fields>}, static staticMetaObject = { + d = {superdata = 0x7fd215547660 <QObject::staticMetaObject>, + stringdata = 0x7fd215a493e0 <qt_meta_stringdata_QTestEventLoop>, data = 0x7fd215a49380 <qt_meta_data_QTestEventLoop>, + static_metacall = 0x7fd215a440c0 <QTestEventLoop::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, + extradata = 0x0}}, inLoop = false, _timeout = false, + timerId = -1, loop = 0x0}, m_waiting = false} + message = {d_ptr = 0x7fd20ec80f60} + list = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = { + static shared_null = {ref = {atomic = { + _q_value = {<std::__atomic_base<int>> = { + static _S_alignment = 4, + _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, + end = 0, array = {0x0}}, d = 0x7fd212d27c40}, + d = 0x7fd212d27c40}} + vl = {<QListSpecialMethods<QVariant>> = {<No data fields>}, {p = { + static shared_null = {ref = {atomic = { + _q_value = {<std::__atomic_base<int>> = { + static _S_alignment = 4, + _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, + end = 0, array = {0x0}}, d = 0x7fd212d27c80}, + d = 0x7fd212d27c80}} + loop = <incomplete type> + variantList = {<QListSpecialMethods<QVariant>> = {<No data fields>}, { + p = {static shared_null = {ref = {atomic = { + _q_value = {<std::__atomic_base<int>> = { + static _S_alignment = 4, + _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, + end = 0, array = {0x0}}, d = 0x7fd20ec80d80}, + d = 0x7fd20ec80d80}} + var = {d = {data = {c = 96 '`', uc = 96 '`', s = 4448, sc = 96 '`', + us = 4448, i = 320606560, u = 320606560, l = 140540240466272, + ul = 140540240466272, b = 96, d = 6.9436104672652768e-310, + f = 1.96985347e-27, real = 6.9436104672652768e-310, + ll = 140540240466272, ull = 140540240466272, o = 0x7fd2131c1160, + ptr = 0x7fd2131c1160, shared = 0x7fd2131c1160}, type = 0, + is_shared = 0, is_null = 0}} +#9 0x00007fd215105536 in QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const () from /usr/lib/libQt5Core.so.5 +No symbol table info available. +#10 0x00007fd215a2f158 in QMetaMethod::invoke (val9=..., val8=..., val7=..., + val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., + connectionType=Qt::DirectConnection, object=<optimized out>, + this=<optimized out>) + at ../../include/QtCore/../../src/corelib/kernel/qmetaobject.h:123 +No locals. +#11 QTest::TestMethods::invokeTestOnData (this=this@entry=0x7ffdba11ab40, + index=index@entry=0) at qtestcase.cpp:890 + invokeOk = <optimized out> + isBenchmark = <optimized out> + i = -1 + results = {d = 0x7fd2151a0020 <QArrayData::shared_null>} + minimumTotalReached = <optimized out> +#12 0x00007fd215a2fb90 in QTest::TestMethods::invokeTest ( + this=this@entry=0x7ffdba11ab40, index=index@entry=0, data=data@entry=0x0, + watchDog=watchDog@entry=0x55e0837e5180) at qtestcase.cpp:1071 + curDataIndex = 0 + dataCount = 0 + foundFunction = true + benchmarkData = {static current = 0x7ffdba11a780, result = {context = { + slotName = {static null = {<No data fields>}, + d = 0x7fd2151a0020 <QArrayData::shared_null>}, tag = { + static null = {<No data fields>}, + d = 0x7fd2151a0020 <QArrayData::shared_null>}, + checkpointIndex = -1}, value = -1, iterations = -1, + metric = QTest::FramesPerSecond, setByMacro = true, + valid = false}, resultAccepted = false, runOnce = false, + iterationCount = 1} + name = @0x7ffdba11a768: { + d = 0x55e0835e33d8 <qt_meta_stringdata_FileMonitorTest+24>} + member = "test_data()\000\000\000\000\000\350\250\021\272\375\177\000\000 H\244\025\322\177\000\000\000\000\000\000\000\000\000\000]C\361\024\322\177\000\000 H\244\025\322\177\000\000\350\250\021\272\375\177\000\000P\250\021\272\375\177\000\000\002\233\350\025\322\177\000\000\260Q~\203\340U\000\000\235\031\350\025\322\177\000\000\220\251\021\272\375\177\000\000\240\250\021\272\375\177\000\000\020\251\021\272\375\177\000\000\366z\354\025\322\177\000\000 \v\020\026\322\177\000\000\016z\354\025\322\177\000\000\300\250\021\272\375\177\000\000\000\f\020\026\322\177\000\000\000\300\016\026\322\177\000\000\361i\354\025\322\177\000\000PK\020\026\322\177\000\000\000\000\000\000\000\000\000\000\002", '\000' <repeats 15 times>... + table = {d = 0x7fd214134340} + gTable = <optimized out> + curGlobalDataIndex = <optimized out> +#13 0x00007fd215a301e1 in QTest::TestMethods::invokeTests ( + this=this@entry=0x7ffdba11ab40, testObject=testObject@entry=0x7ffdba11ac10) + at qtestcase.cpp:1378 + data = 0x0 + ok = <optimized out> + i = 0 + count = 8 + previousFailed = <optimized out> + metaObject = <optimized out> + watchDog = {d = 0x55e0837e5180} +#14 0x00007fd215a30727 in QTest::qExec (testObject=0x7ffdba11ac10, + argc=<optimized out>, argv=0x7ffdba11aca8) at qtestcase.cpp:1793 + handler = {d = 0x55e0837e50e0} + commandLineMethods = {<std::_Vector_base<QMetaMethod, std::allocator<QMetaMethod> >> = { + _M_impl = {<std::allocator<QMetaMethod>> = {<__gnu_cxx::new_allocator<QMetaMethod>> = {<No data fields>}, <No data fields>}, _M_start = 0x0, + _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>} + test = {m_initTestCaseMethod = {mobj = 0x0, handle = 0}, + m_initTestCaseDataMethod = {mobj = 0x0, handle = 0}, + m_cleanupTestCaseMethod = {mobj = 0x0, handle = 0}, m_initMethod = { + mobj = 0x55e0837e4a80 <FileMonitorTest::staticMetaObject>, + handle = 19}, m_cleanupMethod = { + mobj = 0x55e0837e4a80 <FileMonitorTest::staticMetaObject>, + handle = 24}, + m_methods = {<std::_Vector_base<QMetaMethod, std::allocator<QMetaMethod> >> = { + _M_impl = {<std::allocator<QMetaMethod>> = {<__gnu_cxx::new_allocator<QMetaMethod>> = {<No data fields>}, <No data fields>}, + _M_start = 0x55e0837e58a0, _M_finish = 0x55e0837e5920, + _M_end_of_storage = 0x55e0837e5990}}, <No data fields>}} + metaObject = <optimized out> + benchmarkData = {static current = 0x7ffdba11ab00, + measurer = 0x7fd212faafa0, context = {slotName = { + static null = {<No data fields>}, d = 0x7fd214134300}, tag = { + static null = {<No data fields>}, + d = 0x7fd21519ffc0 <qt_array>}, checkpointIndex = -1}, + walltimeMinimum = -1, iterationCount = -1, + medianIterationCount = -1, createChart = false, + verboseOutput = false, callgrindOutFileBase = { + static null = {<No data fields>}, + d = 0x7fd2151a0020 <QArrayData::shared_null>}, minimumTotal = -1, + mode_ = QBenchmarkGlobalData::WallTime} + callgrindChildExitCode = 0 +#15 0x000055e0835e00a5 in main (argc=<optimized out>, argv=0x7ffdba11aca8) + at /usr/src/packages/user/baloo/src/baloo-5.38.0/autotests/unit/lib/filemonitortest.cpp:204 + app = <incomplete type> + tc = {<QObject> = {<No data fields>}, static staticMetaObject = {d = { + superdata = 0x7fd215547660 <QObject::staticMetaObject>, + stringdata = 0x55e0835e33c0 <qt_meta_stringdata_FileMonitorTest>, data = 0x55e0835e3280 <qt_meta_data_FileMonitorTest>, + static_metacall = 0x55e0835e1f80 <FileMonitorTest::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, + extradata = 0x0}}, m_sut = 0x7fd214134380} +Detaching from program: /usr/src/packages/user/baloo/src/baloo-5.38.0/bin/filemonitortest, process 5557 +========= End of stack trace ============== +QFATAL : FileMonitorTest::test() Test function timed out +FAIL! : FileMonitorTest::test() Received a fatal error. + Loc: [Unknown file(0)] +Totals: 1 passed, 1 failed, 0 skipped, 0 blacklisted, 301914ms +********* Finished testing of FileMonitorTest ********* + + Start 37: advancedqueryparsertest +37/38 Test #37: advancedqueryparsertest .......... Passed 0.00 sec + Start 38: filefetchjobtest +38/38 Test #38: filefetchjobtest ................. Passed 0.12 sec + +92% tests passed, 3 tests failed out of 38 + +Total Test time (real) = 313.83 sec + +The following tests FAILED: + 4 - querytest (OTHER_FAULT) + 5 - writetransactiontest (OTHER_FAULT) + 36 - filemonitortest (OTHER_FAULT) +Errors while running CTest +>>> ERROR: baloo*: check failed +]0;>>> ERROR: baloo: all failed +]0;
\ No newline at end of file diff --git a/user/baloo/initialise-variable.patch b/user/baloo/initialise-variable.patch new file mode 100644 index 000000000..836e26ff0 --- /dev/null +++ b/user/baloo/initialise-variable.patch @@ -0,0 +1,11 @@ +--- baloo-5.38.0/src/engine/postingdb.cpp.old 2017-09-03 02:58:12.000000000 -0500 ++++ baloo-5.38.0/src/engine/postingdb.cpp 2017-10-04 21:44:30.019139903 -0500 +@@ -274,7 +274,7 @@ + mdb_cursor_open(m_txn, m_dbi, &cursor); + + MDB_val key = {0, nullptr}; +- MDB_val val; ++ MDB_val val = {0, nullptr}; + + QMap<QByteArray, PostingList> map; + while (1) { diff --git a/user/breeze-icons/APKBUILD b/user/breeze-icons/APKBUILD new file mode 100644 index 000000000..f8410370e --- /dev/null +++ b/user/breeze-icons/APKBUILD @@ -0,0 +1,51 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=breeze-icons +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Modern, coherent icon set for desktops" +url="https://www.kde.org/" +arch="noarch" +license="LGPL-3.0" +options="!check" # 8,753 failures because it can't tell symlink from file. +depends="" +makedepends="$depends_dev cmake extra-cmake-modules qt5-qtbase-dev" +checkdepends="fdupes" +install="" +subpackages="breeze-icons-dark:dark" +source="http://download.kde.org/stable/frameworks/5.38/breeze-icons-$pkgver.tar.xz" +builddir="$srcdir/breeze-icons-$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 +} + +dark() { + pkgdesc="Modern, coherent icon set for desktops - Darker and edgier" + mkdir -p "$subpkgdir"/usr/share/icons + mv "$pkgdir"/usr/share/icons/breeze-dark "$subpkgdir"/usr/share/icons/ +} + +sha512sums="7cc7639defe51b1595e870c615acc0adedc57c6f68d656124b0bdbf32d37724f7090df043d8b42fe4369ef3572d53ee5996c60ce8052b7dfedca482dd102bb0e breeze-icons-5.38.0.tar.xz" diff --git a/user/breeze/APKBUILD b/user/breeze/APKBUILD new file mode 100644 index 000000000..4c89cd53e --- /dev/null +++ b/user/breeze/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=breeze +pkgver=5.8.7 +pkgrel=0 +pkgdesc="Default KDE Plasma 5 style" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="kdecoration-dev kcoreaddons-dev kguiaddons-dev kconfigwidgets-dev + kwindowsystem-dev ki18n-dev kcmutils-dev kpackage-dev kwayland-dev" +makedepends="$depends_dev cmake extra-cmake-modules python3 gettext-dev" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/plasma/$pkgver/breeze-$pkgver.tar.xz" +builddir="$srcdir/breeze-$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="2c2081994de9a3580de4cef13689d9fe8118c826c1f753600066939aaf8978dac100815d9110ee45e09dcf3778128849d96ad10fb6f731c18b79b03bbae33c1e breeze-5.8.7.tar.xz" diff --git a/user/catdoc/APKBUILD b/user/catdoc/APKBUILD new file mode 100644 index 000000000..b1e4a6914 --- /dev/null +++ b/user/catdoc/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=catdoc +pkgver=0.95 +pkgrel=0 +pkgdesc="Read information and data from Microsoft Office documents" +url="http://www.wagner.pp.ru/~vitus/software/catdoc/" +arch="all" +license="GPL" +options="!check" +depends="" +makedepends="" +install="" +subpackages="$pkgname-doc" +source="http://ftp.wagner.pp.ru/pub/catdoc/catdoc-$pkgver.tar.gz" +builddir="$srcdir/catdoc-$pkgver" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --with-install-root="$pkgdir" + make +} + +package() { + cd "$builddir" + make -j1 install +} + +sha512sums="dd6bded4b6b70749c007256b182b063ff266f86d53024d8582001678821e8096c5b980bc8f43015d9c82bbe022d71d4ba5fe68aff31b2ff6db3688595e651b2c catdoc-0.95.tar.gz" diff --git a/user/extra-cmake-modules/APKBUILD b/user/extra-cmake-modules/APKBUILD new file mode 100644 index 000000000..408375dc7 --- /dev/null +++ b/user/extra-cmake-modules/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=extra-cmake-modules +pkgver=5.38.0 +pkgrel=0 +pkgdesc="CMake modules needed for KDE development" +url="https://www.kde.org/" +arch="all" +license="3-Clause-BSD" +options="!dbg" +depends="" +makedepends="cmake qt5-qtbase-dev qt5-qttools-dev qt5-qtdeclarative-dev qt5-qtquickcontrols" +subpackages="" +source="http://download.kde.org/stable/frameworks/5.38/extra-cmake-modules-$pkgver.tar.xz + posix.patch" +builddir="$srcdir/extra-cmake-modules-$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_BUILD_TYPE=RelWithDebugInfo \ + -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ + -DCMAKE_C_FLAGS="$CFLAGS" \ + ${CMAKE_CROSSOPTS} + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE \ + ctest -E '(relative_or_absolute_|KDEFetchTranslations|ECMToolchainAndroidTest)' +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="c1fd65593732e57fb0822fd5bc2b06f9e35713a78f35269f387f6d9e4c87520b46f3cde039a42993139b478da5aebf1764d0111746af75bb0e5a33822684e501 extra-cmake-modules-5.38.0.tar.xz +0af703a9d4696080bc52032d1d341e86fd142bef91f3c1afa9cf180e1cf2ff3bba2ea47fd36b8f52135f056a202c58a08e7c7525f671d6993839865ce6aef0f6 posix.patch" diff --git a/user/extra-cmake-modules/posix.patch b/user/extra-cmake-modules/posix.patch new file mode 100644 index 000000000..4ed301d5e --- /dev/null +++ b/user/extra-cmake-modules/posix.patch @@ -0,0 +1,32 @@ +From 82387db20e8a22475a242705795d451219167ceb Mon Sep 17 00:00:00 2001 +From: "A. Wilcox" <AWilcox@Wilcox-Tech.com> +Date: Fri, 2 Dec 2016 01:27:14 -0600 +Subject: [PATCH] KDECompilerSettings: Ensure POSIX correctness + +This change ensures that _XOPEN_SOURCE is defined. Since we use -std= +iso9899:1990, GCC and Clang won't enable this definition by default. +On non-glibc systems (where _GNU_SOURCE isn't defined), this causes most +POSIX interfaces to be missing, which cause various build failures. + +Signed-off-by: A. Wilcox <AWilcox@Wilcox-Tech.com> +--- + kde-modules/KDECompilerSettings.cmake | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/kde-modules/KDECompilerSettings.cmake b/kde-modules/KDECompilerSettings.cmake +index dfa29f7..f50911c 100644 +--- a/kde-modules/KDECompilerSettings.cmake ++++ b/kde-modules/KDECompilerSettings.cmake +@@ -140,6 +140,9 @@ if (UNIX) + # implementation recognize it? + _kde_add_platform_definitions(-D_LARGEFILE64_SOURCE) + ++ # Non-glibc platforms need this since we specify -std=iso9899:1990 ++ _kde_add_platform_definitions(-D_XOPEN_SOURCE=600) ++ + include(CheckCXXSourceCompiles) + + # By default (in glibc, at least), on 32bit platforms off_t is 32 bits, +-- +2.10.0 + diff --git a/user/frameworkintegration/APKBUILD b/user/frameworkintegration/APKBUILD new file mode 100644 index 000000000..c95a35659 --- /dev/null +++ b/user/frameworkintegration/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=frameworkintegration +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Framework providing components to allow applications to integrate with a KDE Workspace" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev kconfig-dev kconfigwidgets-dev kiconthemes-dev + knotifications-dev kpackage-dev knewstuff-dev qt5-qtx11extras-dev" +makedepends="$depends_dev cmake extra-cmake-modules python3 gettext-dev" +install="" +subpackages="$pkgname-dev" +source="http://download.kde.org/stable/frameworks/5.38/frameworkintegration-$pkgver.tar.xz" +builddir="$srcdir/frameworkintegration-$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="d7a992709c15c3fe6f4fb6ff83c75574748e2b46fd5f20e13b089fb2dbdb721d83e0d62b31230b72dcdf5f747a7a94870619b5b40868fea580c43f109f56ff07 frameworkintegration-5.38.0.tar.xz" diff --git a/user/kactivities-stats/APKBUILD b/user/kactivities-stats/APKBUILD new file mode 100644 index 000000000..9ea66edb3 --- /dev/null +++ b/user/kactivities-stats/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kactivities-stats +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Gather statistics about KDE activities" +url="https://api.kde.org/frameworks/kactivities/html/index.html" +arch="all" +license="LGPL-2.1" +options="!check" # No test suite. +depends="" +depends_dev="qt5-qtbase-dev kactivities-dev" +makedepends="$depends_dev cmake extra-cmake-modules" +install="" +subpackages="$pkgname-dev" +source="http://download.kde.org/stable/frameworks/5.38/kactivities-stats-$pkgver.tar.xz" +builddir="$srcdir/kactivities-stats-$pkgver/build" + +prepare() { + mkdir "$builddir" + default_prepare +} + +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 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="cea77c24cb3fecc8e555075c124ad55f4fbd424e2b5e04f651c2011d21159398a41979d2381219095a78f1274de8abf61581680dc63a5acc28e92d33312ed639 kactivities-stats-5.38.0.tar.xz" diff --git a/user/kactivities/APKBUILD b/user/kactivities/APKBUILD new file mode 100644 index 000000000..0bad28898 --- /dev/null +++ b/user/kactivities/APKBUILD @@ -0,0 +1,50 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kactivities +pkgver=5.38.0 +pkgrel=1 +pkgdesc="Runtime and library to organize work into separate activities" +url="https://api.kde.org/frameworks/kactivities/html/index.html" +arch="all" +license="GPL-2.0 LGPL-2.1" +depends="kactivitymanagerd" +depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev boost-dev kconfig-dev + kcoreaddons-dev kwindowsystem-dev" +makedepends="$depends_dev cmake extra-cmake-modules" +install="" +subpackages="$pkgname-dev" +source="http://download.kde.org/stable/frameworks/5.38/kactivities-$pkgver.tar.xz" +builddir="$srcdir/kactivities-$pkgver/build" + +prepare() { + mkdir -p "$builddir" + default_prepare +} + +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" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="1de5eec964a0ffa9990162de07c9ce285a40c52a68b8c38d46966cc61e343fa2974dbd44a30731a19a40e3000ef817cd69249f0a7753e5c3d4308422a142f69e kactivities-5.38.0.tar.xz" diff --git a/user/kactivitymanagerd/APKBUILD b/user/kactivitymanagerd/APKBUILD new file mode 100644 index 000000000..636e217d0 --- /dev/null +++ b/user/kactivitymanagerd/APKBUILD @@ -0,0 +1,50 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kactivitymanagerd +pkgver=5.8.7 +pkgrel=0 +pkgdesc="Service to manage KDE Plasma activities" +url="https://www.kde.org/" +arch="all" +license="GPL-2.0" +depends="" +makedepends="cmake extra-cmake-modules qt5-qtbase-dev kdbusaddons-dev ki18n-dev + boost-dev python3 kconfig-dev kcoreaddons-dev kwindowsystem-dev kio-dev + kglobalaccel-dev kxmlgui-dev" +install="" +subpackages="$pkgname-lang" +source="http://download.kde.org/stable/plasma/$pkgver/kactivitymanagerd-$pkgver.tar.xz" +builddir="$srcdir/kactivitymanagerd-$pkgver/build" + +prepare() { + mkdir -p "$builddir" + default_prepare +} + +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="cba671eaca863e80bb2e92fd0f1fc84121a9670ba8c48a14e13ac874bd830deedb215228c29b4f7e249843591ba12ab1acd81612d462bf26edeebab28eb082d8 kactivitymanagerd-5.8.7.tar.xz" diff --git a/user/karchive/APKBUILD b/user/karchive/APKBUILD new file mode 100644 index 000000000..ec72595a3 --- /dev/null +++ b/user/karchive/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=karchive +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Framework for manipulating archive files" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev zlib-dev bzip2-dev xz-dev" +makedepends="$depends_dev cmake extra-cmake-modules" +install="" +subpackages="$pkgname-dev" +source="http://download.kde.org/stable/frameworks/5.38/karchive-$pkgver.tar.xz" +builddir="$srcdir/karchive-$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="cfeab8d6f0be5fed2f678b8251d533b5ad359daafde1a17cdfcf7a614540e57f0b6aaf320456622bb48bdc0ee8443d60067c7613c077145a09b32fc2905ee05e karchive-5.38.0.tar.xz" diff --git a/user/kate/APKBUILD b/user/kate/APKBUILD new file mode 100644 index 000000000..d7721313e --- /dev/null +++ b/user/kate/APKBUILD @@ -0,0 +1,96 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kate +pkgver=17.08.1 +pkgrel=1 +pkgdesc="Advanced text editor with autocomplete, syntax highlighting, and more" +url="https://kate-editor.org/" +arch="all" +license="LGPL-2.1 LGPL-3.0 GPL-3.0" +depends="" +makedepends="$depends_dev cmake extra-cmake-modules qt5-qtbase-dev python3 + qt5-qtscript-dev kconfig-dev kcrash-dev ki18n-dev kjobwidgets-dev + kio-dev kparts-dev ktexteditor-dev kwindowsystem-dev kxmlgui-dev + kiconthemes-dev kdoctools-dev kwallet-dev kservice-dev kitemmodels-dev + knewstuff-dev threadweaver-dev libgit2-dev" +install="" +subpackages="kwrite kwrite-doc:kwrite_doc kwrite-lang:kwrite_lang + $pkgname-doc $pkgname-lang $pkgname-project" +source="http://download.kde.org/stable/applications/$pkgver/src/kate-$pkgver.tar.xz" +builddir="$srcdir/kate-$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 +} + +project() { + pkgdesc="KDE Advanced Text Editor - Plugin for project management" + mkdir -p "$subpkgdir"/usr/lib/qt5/plugins/ktexteditor/ + mv "$pkgdir"/usr/lib/qt5/plugins/ktexteditor/kateprojectplugin.so \ + "$subpkgdir"/usr/lib/qt5/plugins/ktexteditor/ +} + +kwrite() { + pkgdesc="Simple GUI text editor" + mkdir -p "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/bin/kwrite "$subpkgdir"/usr/bin/ + + mkdir -p "$subpkgdir"/usr/share/metainfo + mv "$pkgdir"/usr/share/metainfo/org.kde.kwrite.appdata.xml \ + "$subpkgdir"/usr/share/metainfo/ + + mkdir -p "$subpkgdir"/usr/share/applications + mv "$pkgdir"/usr/share/applications/org.kde.kwrite.desktop \ + "$subpkgdir"/usr/share/applications/ +} + +kwrite_doc() { + local _langpath + + pkgdesc="Simple GUI text editor (documentation)" + install_if="docs kwrite=$pkgver-r$pkgrel" + for _langpath in "$pkgdir"/usr/share/doc/HTML/*; do + local _sublangpath=${_langpath/"$pkgdir"/"$subpkgdir"} + if [ -d "$_langpath"/kwrite ]; then + mkdir -p "$_sublangpath" + mv "$_langpath"/kwrite "$_sublangpath"/ + fi + done +} + +kwrite_lang() { + local _langpath + + pkgdesc="Simple GUI text editor (translations)" + for _langpath in "$pkgdir"/usr/share/locale/*/LC_MESSAGES; do + local _sublangpath=${_langpath/"$pkgdir"/"$subpkgdir"} + if [ -f "$_langpath"/kwrite.mo ]; then + mkdir -p "$_sublangpath" + mv "$_langpath"/kwrite.mo "$_sublangpath"/ + fi + done +} + +sha512sums="19e6434fad31d420a5742cf0f0f4f1c8718ea6efdb3132d9c3157d9b083a388d26f347dc70c19b55cf6d65747e3ef98eaf9ee18da5efe8872e73b36d630430fa kate-17.08.1.tar.xz" diff --git a/user/kauth/APKBUILD b/user/kauth/APKBUILD new file mode 100644 index 000000000..84a0239a1 --- /dev/null +++ b/user/kauth/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kauth +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Framework for allowing software to gain temporary privileges" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="polkit-qt-1-dev qt5-qtbase-dev kcoreaddons-dev" +makedepends="$depends_dev cmake extra-cmake-modules qt5-qttools-dev" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/kauth-$pkgver.tar.xz" +builddir="$srcdir/kauth-$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 -E KAuthHelperTest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="00b7e1a5e9149ab0a462571f5fcc60594ef0880772ea9bcb3c5e11f4c976c3de0db8b01ce1cae0639e4176a34fde00b0ab9d5b9b25474b3cbc1945098a49220d kauth-5.38.0.tar.xz" diff --git a/user/kbookmarks/APKBUILD b/user/kbookmarks/APKBUILD new file mode 100644 index 000000000..76dac06bc --- /dev/null +++ b/user/kbookmarks/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kbookmarks +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Framework for managing XBEL-format bookmarks" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev kconfig-dev kcoreaddons-dev kcodecs-dev + kconfigwidgets-dev kiconthemes-dev kxmlgui-dev" +makedepends="$depends_dev cmake extra-cmake-modules qt5-qttools-dev" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/kbookmarks-$pkgver.tar.xz" +builddir="$srcdir/kbookmarks-$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="fe39f7a006bdc5c377fa490dd351ce507ee7f75b0277ea210a2c62455403660b6e24c7610afd56f35c0999540a666b744d397b507e8acf1454332d37832d0799 kbookmarks-5.38.0.tar.xz" diff --git a/user/kcalc/APKBUILD b/user/kcalc/APKBUILD new file mode 100644 index 000000000..621c6ba2d --- /dev/null +++ b/user/kcalc/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kcalc +pkgver=17.08.1 +pkgrel=0 +pkgdesc="Calculator with many mathematical, scientific, and logic functions" +url="https://utils.kde.org/projects/kcalc/" +arch="all" +license="GPL-2.0" +depends="" +makedepends="cmake extra-cmake-modules qt5-qtbase-dev kconfig-dev ki18n-dev + kconfigwidgets-dev kdoctools-dev kguiaddons-dev kinit-dev kxmlgui-dev + knotifications-dev gmp-dev" +install="" +subpackages="$pkgname-doc $pkgname-lang" +source="http://download.kde.org/stable/applications/$pkgver/src/kcalc-$pkgver.tar.xz" +builddir="$srcdir/kcalc-$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="954b91dcc96dd936165bba7841c57867272bc6af5f5142a13611ebd069a51ea5c968d05cfcb0145efad72dfda4854169c42f8f6ce791f143cce4da54e152d9c3 kcalc-17.08.1.tar.xz" diff --git a/user/kcharselect/APKBUILD b/user/kcharselect/APKBUILD new file mode 100644 index 000000000..1c479bf82 --- /dev/null +++ b/user/kcharselect/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kcharselect +pkgver=17.08.1 +pkgrel=0 +pkgdesc="Tool to select special characters from all installed fonts" +url="https://utils.kde.org/projects/kcharselect/" +arch="all" +license="GPL-2.0" +depends="" +makedepends="cmake extra-cmake-modules qt5-qtbase-dev kbookmarks-dev kcrash-dev + kdoctools-dev ki18n-dev kwidgetsaddons-dev kxmlgui-dev" +install="" +subpackages="$pkgname-doc $pkgname-lang" +source="http://download.kde.org/stable/applications/$pkgver/src/kcharselect-$pkgver.tar.xz" +builddir="$srcdir/kcharselect-$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="5345c46d194d511e6b3df56c8f66c52b4f71724470d36a724799b0b3d157fef101c8de5a9da1af5d4935563be46fdf45ea2956c5bb3dd6235874b896647a492b kcharselect-17.08.1.tar.xz" diff --git a/user/kcmutils/APKBUILD b/user/kcmutils/APKBUILD new file mode 100644 index 000000000..4d1b5cfc7 --- /dev/null +++ b/user/kcmutils/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kcmutils +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Framework for writing System Settings modules" +url="https://api.kde.org/frameworks/kcmutils/html/index.html" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev kitemviews-dev kservice-dev + kconfigwidgets-dev kiconthemes-dev kdeclarative-dev kxmlgui-dev" +makedepends="$depends_dev cmake extra-cmake-modules python3 gettext-dev" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/kcmutils-$pkgver.tar.xz" +builddir="$srcdir/kcmutils-$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="a4cd34168ae7698d625e33e24e15876dfde07f24f7565f7921d16dcdb2421ff3bba17ca37d5f97b0e4f05f1161735b17ed0eb06dc8429ff12d17660ada059560 kcmutils-5.38.0.tar.xz" diff --git a/user/kcodecs/APKBUILD b/user/kcodecs/APKBUILD new file mode 100644 index 000000000..28abbd2e8 --- /dev/null +++ b/user/kcodecs/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kcodecs +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Framework for manipulating strings in differing encodings" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev" +makedepends="$depends_dev cmake extra-cmake-modules gperf qt5-qttools-dev" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/kcodecs-$pkgver.tar.xz" +builddir="$srcdir/kcodecs-$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="545272128930ef9428732c164d68ed539cecb13f2c6b166d426f387686b25b46ca8b28d1f821413fa1cba43252a3ec260c92001154eae731344f8340935a4c3a kcodecs-5.38.0.tar.xz" diff --git a/user/kcompletion/APKBUILD b/user/kcompletion/APKBUILD new file mode 100644 index 000000000..b6ab5cb4f --- /dev/null +++ b/user/kcompletion/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kcompletion +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Framework for implementing automatic completion of input" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev kconfig-dev kwidgetsaddons-dev" +makedepends="$depends_dev cmake extra-cmake-modules qt5-qttools-dev" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/kcompletion-$pkgver.tar.xz" +builddir="$srcdir/kcompletion-$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="5c697626684837bbe155291b3270810d11ba40140929adefde18b1254ea736efeae2072b543bc9fa39948b153c3dbad8a70d6c8f18c3ffdbe333f4924af18da0 kcompletion-5.38.0.tar.xz" diff --git a/user/kconfig/APKBUILD b/user/kconfig/APKBUILD new file mode 100644 index 000000000..5eda96854 --- /dev/null +++ b/user/kconfig/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kconfig +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Framework for managing software configuration" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +options="!checkroot" +depends="" +depends_dev="qt5-qtbase-dev" +makedepends="$depends_dev cmake extra-cmake-modules qt5-qttools-dev" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/kconfig-$pkgver.tar.xz" +builddir="$srcdir/kconfig-$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="b8eaa832018843253e2710ee6b7d2cbf9d6b34727b2cde555db0ee2489e98356aadbec78a957d7cd761acf058f11a566f7156138ae08287e4f7d6694b742669c kconfig-5.38.0.tar.xz" diff --git a/user/kconfigwidgets/APKBUILD b/user/kconfigwidgets/APKBUILD new file mode 100644 index 000000000..1f1f9bc8b --- /dev/null +++ b/user/kconfigwidgets/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kconfigwidgets +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Framework providing widgets for software configuration" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev kauth-dev kcodecs-dev kconfig-dev kguiaddons-dev + ki18n-dev kwidgetsaddons-dev kdoctools-dev" +makedepends="$depends_dev cmake extra-cmake-modules" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/kconfigwidgets-$pkgver.tar.xz" +builddir="$srcdir/kconfigwidgets-$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="1451988e802a1a0c9c4115481198ae1568e215c669b2fc3f728574cf619efb699ab847aceadc0f90d49ea076280b56e8f11fd2e2d4339bddc408761c367be79b kconfigwidgets-5.38.0.tar.xz" diff --git a/user/kcoreaddons/APKBUILD b/user/kcoreaddons/APKBUILD new file mode 100644 index 000000000..894a326cb --- /dev/null +++ b/user/kcoreaddons/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kcoreaddons +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Core KF5 framework" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev" +makedepends="$depends_dev cmake extra-cmake-modules qt5-qttools-dev + shared-mime-info" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/kcoreaddons-$pkgver.tar.xz" +builddir="$srcdir/kcoreaddons-$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="1f8b339e858c422943836c2c977922b1fef77b562fcc6b8c13e199db1576d06b97fd11fc5286414015a386b2736af3e51fc49cfde346801e2c55aeb9021ce402 kcoreaddons-5.38.0.tar.xz" diff --git a/user/kcrash/APKBUILD b/user/kcrash/APKBUILD new file mode 100644 index 000000000..3346b13f9 --- /dev/null +++ b/user/kcrash/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kcrash +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Framework for gracefully handling software errors~" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +options="!checkroot !check" # Requires running KDE Plasma 5 session +depends="" +depends_dev="qt5-qtbase-dev libx11-dev libxext-dev libice-dev kcoreaddons-dev + kwindowsystem-dev" +makedepends="$depends_dev cmake extra-cmake-modules" +checkdepends="xkeyboard-config" +install="" +subpackages="$pkgname-dev" +source="http://download.kde.org/stable/frameworks/5.38/kcrash-$pkgver.tar.xz" +builddir="$srcdir/kcrash-$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="60c13b2e883d3e55b9f431eb1dd7c7332c7e196fe903d0c7fe7f70029ba77600802cc8911be65fb84e1526fb5d9f548d85f6c881e209dee1922aee961279d1b9 kcrash-5.38.0.tar.xz" diff --git a/user/kdbusaddons/APKBUILD b/user/kdbusaddons/APKBUILD new file mode 100644 index 000000000..d3537d53d --- /dev/null +++ b/user/kdbusaddons/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kdbusaddons +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Framework for coping with D-Bus" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +options="!check" # Requires running dbus-daemon +depends="" +depends_dev="qt5-qtbase-dev qt5-qtx11extras-dev" +makedepends="$depends_dev cmake extra-cmake-modules qt5-qttools-dev" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/kdbusaddons-$pkgver.tar.xz" +builddir="$srcdir/kdbusaddons-$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="503d3ff5cb0ab738f55aae7fb076dddd36aa2387f0339d83766aacc9a2ea6ef7373e063d3d47701cecab36ae09ac4d735bb09250e0b93d35717dd6732ea8c59d kdbusaddons-5.38.0.tar.xz" diff --git a/user/kde-cli-tools/APKBUILD b/user/kde-cli-tools/APKBUILD new file mode 100644 index 000000000..a85d55916 --- /dev/null +++ b/user/kde-cli-tools/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kde-cli-tools +pkgver=5.8.7 +pkgrel=0 +pkgdesc="KDE command-like utilities" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1 GPL-2.0" +options="!check" # MIME types for some reason think .doc == .txt +depends="" +makedepends="qt5-qtbase-dev qt5-qtsvg-dev kconfig-dev kiconthemes-dev kinit-dev + ki18n-dev kcmutils-dev kio-dev kwindowsystem-dev kdelibs4support-dev + kdesu-dev qt5-qtx11extras-dev + cmake extra-cmake-modules kdoctools-dev" +install="" +subpackages="$pkgname-lang $pkgname-doc" +source="https://download.kde.org/stable/plasma/$pkgver/kde-cli-tools-$pkgver.tar.xz" +builddir="$srcdir/kde-cli-tools-$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="3be34730ba417c80a6acf23c5428a16912270ea7dc0731a2e03670ae8b8350250280973342fc41f933f6f5db9f97947db97164cf4fb40ee0774a339daeb3479d kde-cli-tools-5.8.7.tar.xz" diff --git a/user/kdeclarative/APKBUILD b/user/kdeclarative/APKBUILD new file mode 100644 index 000000000..8f2a3b956 --- /dev/null +++ b/user/kdeclarative/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kdeclarative +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Frameworks for creating KDE components using QML" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +options="!check" # Requires accelerated X11 desktop running +depends="" +depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev kiconthemes-dev kio-dev + kpackage-dev libepoxy-dev" +makedepends="$depends_dev cmake extra-cmake-modules python3 gettext-dev" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/kdeclarative-$pkgver.tar.xz" +builddir="$srcdir/kdeclarative-$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="72ea8b2f17792e3075800de93882c0a0b03732121eef43ab38285c0d1988e148e079f40dd6d4fc8afef75bda47f2e02a3ac84b9546c6a6991b10aade1dbcb978 kdeclarative-5.38.0.tar.xz" diff --git a/user/kdecoration/APKBUILD b/user/kdecoration/APKBUILD new file mode 100644 index 000000000..9285f2562 --- /dev/null +++ b/user/kdecoration/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kdecoration +pkgver=5.8.7 +pkgrel=0 +pkgdesc="Window decoration plugin library" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +options="!check" # Requires running X11 display +depends="" +depends_dev="qt5-qtbase-dev" +makedepends="$depends_dev cmake extra-cmake-modules" +install="" +subpackages="$pkgname-dev" +source="http://download.kde.org/stable/plasma/$pkgver/kdecoration-$pkgver.tar.xz" +builddir="$srcdir/kdecoration-$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="ef1f7f3eb09872f0ceb0552300493f2701fdb6fb262dec00cad2f06a2ac034a7e278815a90220e94ab366956b0e62157b7c1e0f4fd743a6d5fa7c77931fd54e8 kdecoration-5.8.7.tar.xz" diff --git a/user/kded/APKBUILD b/user/kded/APKBUILD new file mode 100644 index 000000000..37e01cf38 --- /dev/null +++ b/user/kded/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kded +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Central KDE workspace daemon" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev kinit-dev" +makedepends="$depends_dev cmake extra-cmake-modules" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://download.kde.org/stable/frameworks/5.38/kded-$pkgver.tar.xz" +builddir="$srcdir/kded-$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="3eed31465e0d0d961a4904a1a46255c67640309efb50374822fb72262f321cb7e6b67004460b7d2fe434a7c4263558cfe50dfae9f2492be08ae365995aab15db kded-5.38.0.tar.xz" diff --git a/user/kdelibs4support/APKBUILD b/user/kdelibs4support/APKBUILD new file mode 100644 index 000000000..ef9018aa8 --- /dev/null +++ b/user/kdelibs4support/APKBUILD @@ -0,0 +1,48 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kdelibs4support +pkgver=5.38.0 +pkgrel=1 +pkgdesc="Legacy support for KDE 4 software" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +options="!check suid" # Test requires running X11 session. +depends="" +depends_dev="qt5-qtbase-dev qt5-qtsvg-dev qt5-qttools-dev kcompletion-dev + kconfigwidgets-dev kcrash-dev kdesignerplugin kdesignerplugin-dev + kemoticons-dev kparts-dev kunitconversion-dev kinit kded kded-dev + kitemmodels-dev" +makedepends="$depends_dev cmake extra-cmake-modules" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/portingAids/kdelibs4support-$pkgver.tar.xz" +builddir="$srcdir/kdelibs4support-$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="5a5136d530e7b937fa6b50b184651a44eaed8ab61d762c826dbbc24c53bb89580fa948755c28a26cb1dae5a96fdf54b71dd917735682c7832951a75fabbe5d20 kdelibs4support-5.38.0.tar.xz" diff --git a/user/kdesignerplugin/APKBUILD b/user/kdesignerplugin/APKBUILD new file mode 100644 index 000000000..1ee5522ca --- /dev/null +++ b/user/kdesignerplugin/APKBUILD @@ -0,0 +1,49 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kdesignerplugin +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Qt Designer plugin for KDE widgets" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +options="!check" # Test requires accelerated X11 display. +depends="" +depends_dev="qt5-qtbase-dev kcoreaddons-dev kconfig-dev kcompletion-dev + kconfigwidgets-dev kiconthemes-dev kio-dev kitemviews-dev + ktextwidgets-dev kwidgetsaddons-dev kxmlgui-dev sonnet-dev + kplotting-dev" +makedepends="$depends_dev cmake extra-cmake-modules kdoctools-dev + qt5-qttools-dev" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/kdesignerplugin-$pkgver.tar.xz" +builddir="$srcdir/kdesignerplugin-$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="076b2ec4f673e655f7fb7c5c7c3d397527c2c04c7dba86fc86c3aded71180bba125997321b98053aab8fc93a4bb4113f899415a9353b17889d6a8d03cadd349b kdesignerplugin-5.38.0.tar.xz" diff --git a/user/kdesu/APKBUILD b/user/kdesu/APKBUILD new file mode 100644 index 000000000..68c04ff2a --- /dev/null +++ b/user/kdesu/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kdesu +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Framework for elevating privileges" +url="https://api.kde.org/frameworks/kdesu/html/index.html" +arch="all" +license="LGPL-2.1" +options="suid" # obvious +depends="" +depends_dev="qt5-qtbase-dev kcoreaddons-dev ki18n-dev kservice-dev kpty-dev" +makedepends="$depends_dev cmake extra-cmake-modules python3 gettext-dev + doxygen graphviz qt5-qttools-dev" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/kdesu-$pkgver.tar.xz" +builddir="$srcdir/kdesu-$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" \ + -DBUILD_QCH:BOOL=ON \ + ${CMAKE_CROSSOPTS} + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="6cba51f47172e28a1466b4efbcbd98fec06fad894c789fe21a28b0382162df414350c43a71151177576a1eb76298a9f0fdddb3042fccdcbdaa08ea63a655000f kdesu-5.38.0.tar.xz" diff --git a/user/kdnssd/APKBUILD b/user/kdnssd/APKBUILD new file mode 100644 index 000000000..462dff3cf --- /dev/null +++ b/user/kdnssd/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kdnssd +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Framework for discovering network services using Zeroconf" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev" +makedepends="$depends_dev cmake extra-cmake-modules qt5-qttools-dev doxygen" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/kdnssd-$pkgver.tar.xz" +builddir="$srcdir/kdnssd-$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" \ + -DBUILD_QCH:BOOL=ON \ + ${CMAKE_CROSSOPTS} + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="342426377f8d108a9aa340a1bc32183b71689cd841dd0665f03014862da9c6e749183f003ca759c89295269efce269953b8d808d2a58a68bdf4a09112c92dd35 kdnssd-5.38.0.tar.xz" diff --git a/user/kdoctools/APKBUILD b/user/kdoctools/APKBUILD new file mode 100644 index 000000000..f65ca7359 --- /dev/null +++ b/user/kdoctools/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kdoctools +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Tools to generate user-readable documentation from DocBook XML" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="libxml2-utils docbook-xml docbook-xsl" +depends_dev="qt5-qtbase-dev karchive-dev libxml2-dev ki18n-dev libxslt-dev + gettext-dev perl-uri-escape" +makedepends="$depends_dev cmake extra-cmake-modules python3" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/kdoctools-$pkgver.tar.xz" +builddir="$srcdir/kdoctools-$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="5627b489e94321cdcc3633a8ba4fca4fa5d02812f68a1506e866f9d9b9d7614478555ac10f151f9c387dde1ad39bf4c66d104025576071c8aa50a312b91ebde1 kdoctools-5.38.0.tar.xz" diff --git a/user/kemoticons/APKBUILD b/user/kemoticons/APKBUILD new file mode 100644 index 000000000..579edc4f7 --- /dev/null +++ b/user/kemoticons/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kemoticons +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Emoticons to express emotions in KDE" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +options="!check" # Test requires accelerated X11 environment. +depends="" +depends_dev="qt5-qtbase-dev karchive-dev kconfig-dev kservice-dev" +makedepends="$depends_dev cmake extra-cmake-modules" +install="" +subpackages="$pkgname-dev" +source="http://download.kde.org/stable/frameworks/5.38/kemoticons-$pkgver.tar.xz" +builddir="$srcdir/kemoticons-$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="d0d0f013aea0830e09bab10139c65ab0c4206d96340bf2d8a754232a71ab86f02f31261660116750c146d24c79560f6c090873b5e91dfc9c044e94c7a93abc81 kemoticons-5.38.0.tar.xz" diff --git a/user/kfilemetadata/APKBUILD b/user/kfilemetadata/APKBUILD new file mode 100644 index 000000000..a53c486fd --- /dev/null +++ b/user/kfilemetadata/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kfilemetadata +pkgver=5.38.0 +pkgrel=0 +pkgdesc="File metadata extraction framework" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="catdoc" +depends_dev="qt5-qtbase-dev karchive-dev ki18n-dev poppler-qt5-dev exiv2-dev + taglib-dev qt5-qtmultimedia-dev" +makedepends="$depends_dev cmake extra-cmake-modules python3 gettext-dev" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/kfilemetadata-$pkgver.tar.xz" +builddir="$srcdir/kfilemetadata-$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="d008e39f58b9c4d4209372722bb5463c6140c49deee280a28841060676f5785294ee7b2bbe1c657dd283bbd1f3edf94a2fa08f46fcd7a91a98f2e8733b1349df kfilemetadata-5.38.0.tar.xz" diff --git a/user/kfind/APKBUILD b/user/kfind/APKBUILD new file mode 100644 index 000000000..bee2b3a63 --- /dev/null +++ b/user/kfind/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kfind +pkgver=17.08.1 +pkgrel=0 +pkgdesc="Standalone search utility for KDE" +url="https://www.kde.org/applications/utilities/kfind/" +arch="all" +license="GPL-2.0" +depends="" +makedepends="cmake extra-cmake-modules qt5-qtbase-dev kdelibs4support-dev + karchive-dev kdoctools-dev kwidgetsaddons-dev" +install="" +subpackages="$pkgname-doc $pkgname-lang" +source="http://download.kde.org/stable/applications/$pkgver/src/kfind-$pkgver.tar.xz" +builddir="$srcdir/kfind-$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="b28662c08e33df9252394d6e663ed29573ed8d43de8329bd01c5530606b7fbb67ae17559c811d4f64f1f179e3e1b3f3c4cd1af285d711767e2db8e1dcbd5b483 kfind-17.08.1.tar.xz" diff --git a/user/kfloppy/APKBUILD b/user/kfloppy/APKBUILD new file mode 100644 index 000000000..9c258e836 --- /dev/null +++ b/user/kfloppy/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kfloppy +pkgver=17.08.1 +pkgrel=0 +pkgdesc="Utility for formatting floppy diskettes" +url="https://utils.kde.org/projects/kfloppy/" +arch="all" +license="GPL-2.0" +depends="" +makedepends="cmake extra-cmake-modules qt5-qtbase-dev ki18n-dev kcoreaddons-dev + kcompletion-dev kdoctools-dev kxmlgui-dev" +install="" +subpackages="$pkgname-doc $pkgname-lang" +source="http://download.kde.org/stable/applications/$pkgver/src/kfloppy-$pkgver.tar.xz" +builddir="$srcdir/kfloppy-$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="ab2addc4e5460eb4ed0fec8d428fb9d80b8ec0aacf194a3a01a7bb7cf08badcc0349b4f7278c44de31aa70c3108a543096ed669fe6c620c31f52d80bb7a76386 kfloppy-17.08.1.tar.xz" diff --git a/user/kglobalaccel/APKBUILD b/user/kglobalaccel/APKBUILD new file mode 100644 index 000000000..9cd65cec5 --- /dev/null +++ b/user/kglobalaccel/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kglobalaccel +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Framework for implementing global shortcuts/accelerators" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev kconfig-dev kcoreaddons-dev kcrash-dev + kdbusaddons-dev" +makedepends="$depends_dev cmake extra-cmake-modules xcb-util-keysyms-dev + libxcb-dev libx11-dev libxext-dev libice-dev qt5-qttools-dev" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/kglobalaccel-$pkgver.tar.xz" +builddir="$srcdir/kglobalaccel-$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="31882fe5b9757ba6c58bbd00b64fe542dff4748e3ce5088c5a47101e75b7d24900d0b857cf951fcf23dbdabba6a01a044270d05af7de0ead1b4b76dd89d10ad0 kglobalaccel-5.38.0.tar.xz" diff --git a/user/kguiaddons/APKBUILD b/user/kguiaddons/APKBUILD new file mode 100644 index 000000000..b6e73a189 --- /dev/null +++ b/user/kguiaddons/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kguiaddons +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Framework for creating high-level user interfaces" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev qt5-qtx11extras-dev libxcb-dev libx11-dev" +makedepends="$depends_dev cmake extra-cmake-modules" +install="" +subpackages="$pkgname-dev" +source="http://download.kde.org/stable/frameworks/5.38/kguiaddons-$pkgver.tar.xz" +builddir="$srcdir/kguiaddons-$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="7e3d56a6dbadf4ebfed5ea43dd474a77dc8c402e84936372064e03d63fe3579f289309bc12ea0d6efe3e9e5d54e9a5adbe28a4d521eb1ee1f8d0bcab2aa952e6 kguiaddons-5.38.0.tar.xz" diff --git a/user/kholidays/APKBUILD b/user/kholidays/APKBUILD new file mode 100644 index 000000000..e6018c534 --- /dev/null +++ b/user/kholidays/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kholidays +pkgver=17.08.1 +pkgrel=0 +pkgdesc="List of national holidays for many countries" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev" +makedepends="$depends_dev cmake extra-cmake-modules qt5-qttools-dev" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/applications/$pkgver/src/kholidays-$pkgver.tar.xz" +builddir="$srcdir/kholidays-$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" + # Requires *actual* *locale* *support*! + CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E testholidayregion +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="6a369bf20ee711bc1fc5134245f2909fac8754eb73291c7cfedb6cc131833b8d6156e4a444d4a56f36bfab8ed1a7fa23efd91f671ec8c496db73440fd08201df kholidays-17.08.1.tar.xz" diff --git a/user/ki18n/APKBUILD b/user/ki18n/APKBUILD new file mode 100644 index 000000000..a2b6fcd78 --- /dev/null +++ b/user/ki18n/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=ki18n +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Framework for creating multi-lingual software" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev qt5-qtscript-dev gettext-dev qt5-qtdeclarative-dev" +makedepends="$depends_dev cmake extra-cmake-modules" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/ki18n-$pkgver.tar.xz" +builddir="$srcdir/ki18n-$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="ae8e237de2c3acd5697f00177aae80d03c6f65788b3ae9f0edcfd6f01984a8cdc7fb3423317ce5bbd36f85411bff2f9714c3546fd01ede43572557510d0082a6 ki18n-5.38.0.tar.xz" diff --git a/user/kiconthemes/APKBUILD b/user/kiconthemes/APKBUILD new file mode 100644 index 000000000..25abd14e6 --- /dev/null +++ b/user/kiconthemes/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kiconthemes +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Framework for icon theming" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev qt5-qtsvg-dev karchive-dev ki18n-dev + kcoreaddons-dev kconfigwidgets-dev kitemviews-dev" +makedepends="$depends_dev cmake extra-cmake-modules python3" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/kiconthemes-$pkgver.tar.xz" +builddir="$srcdir/kiconthemes-$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="886bb36ba6fd0cad40286797d8d433bda3c6a2757c78713389118e1710ac8b57552bf2a04bf108311d504676590c7fdfd87d006f05a4d34e0c17d5400b998a85 kiconthemes-5.38.0.tar.xz" diff --git a/user/kidletime/APKBUILD b/user/kidletime/APKBUILD new file mode 100644 index 000000000..fc9ab9a19 --- /dev/null +++ b/user/kidletime/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kidletime +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Framework for determining a user's idle time" +url="https://api.kde.org/frameworks/kidletime/html/index.html" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev qt5-qtx11extras-dev" +makedepends="$depends_dev cmake extra-cmake-modules libx11-dev libxext-dev + qt5-qttools-dev doxygen" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://download.kde.org/stable/frameworks/5.38/kidletime-$pkgver.tar.xz" +builddir="$srcdir/kidletime-$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" \ + -DBUILD_QCH:BOOL=ON \ + ${CMAKE_CROSSOPTS} + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="7318e2fd372cba52c3d386d66da330fa801add715e06ef895eba1bd61c101ba9bdc8494f4ad085a569fe411ce4f7678f0fc7cb0863a3eea1b5c376b8f16771e9 kidletime-5.38.0.tar.xz" diff --git a/user/kimap/APKBUILD b/user/kimap/APKBUILD new file mode 100644 index 000000000..03f2a275c --- /dev/null +++ b/user/kimap/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kimap +pkgver=17.08.1 +pkgrel=0 +pkgdesc="IMAP framework for KDE" +url="https://www.kde.org/" +arch="all" +license="GPL-2.0" +depends="" +depends_dev="qt5-qtbase-dev kcoreaddons-dev ki18n-dev kmime-dev cyrus-sasl-dev + kio-dev" +makedepends="$depends_dev cmake extra-cmake-modules" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/applications/$pkgver/src/kimap-$pkgver.tar.xz" +builddir="$srcdir/kimap-$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="a824d6e1df8fd5d6c09901f60a71c0d471ebc31e9170b7e7396d762ebe89b33cfe9f63b505fc91af312d76f28e1a3963e45f1bdc3c5667d44f9b54c8367e5044 kimap-17.08.1.tar.xz" diff --git a/user/kinit/APKBUILD b/user/kinit/APKBUILD new file mode 100644 index 000000000..36bc93dfd --- /dev/null +++ b/user/kinit/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kinit +pkgver=5.38.0 +pkgrel=0 +pkgdesc="KDE initialisation routines" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +options="!check" # No test suite. +depends="" +depends_dev="qt5-qtbase-dev kservice-dev kio-dev ki18n-dev kwindowsystem-dev + kcrash-dev kconfig-dev" +makedepends="$depends_dev cmake extra-cmake-modules libx11-dev libxext-dev + libice-dev libxcb-dev kdoctools-dev python3 libcap-dev" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/kinit-$pkgver.tar.xz + fix-setcap-invocation.patch" +builddir="$srcdir/kinit-$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 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="e5a6b166c4d20b15c558f1d80a0154ffa40fed4dbf452a7e8af334c013d094da34064c06478e86125e8187d410e02c74115b4e89521562730157576b43c48667 kinit-5.38.0.tar.xz +84adcd2a0eb19fa9f6e147122159ca6aeb6d4a9d3b1908004743e8b61ac2b7d16a61de543ced1d54a21fc6fb37ceb220a13ce4fadb4324990851eaf793defb9e fix-setcap-invocation.patch" diff --git a/user/kinit/fix-setcap-invocation.patch b/user/kinit/fix-setcap-invocation.patch new file mode 100644 index 000000000..49268be66 --- /dev/null +++ b/user/kinit/fix-setcap-invocation.patch @@ -0,0 +1,11 @@ +--- kinit-5.38.0/src/start_kdeinit/CMakeLists.txt.old 2017-09-03 03:08:19.000000000 -0500 ++++ kinit-5.38.0/src/start_kdeinit/CMakeLists.txt 2017-09-29 22:41:31.301192842 -0500 +@@ -15,7 +15,7 @@ + COMMAND + ${SETCAP_EXECUTABLE} + CAP_SYS_RESOURCE=+ep +- $ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBEXECDIR_KF5}/start_kdeinit)" ++ \$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBEXECDIR_KF5}/start_kdeinit)" + ) + else() + install(CODE " diff --git a/user/kio-extras/APKBUILD b/user/kio-extras/APKBUILD new file mode 100644 index 000000000..5561c2190 --- /dev/null +++ b/user/kio-extras/APKBUILD @@ -0,0 +1,49 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kio-extras +pkgver=17.08.1 +pkgrel=0 +pkgdesc="KIO plugins for various data tasks" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +options="!check" # Requires fully running KDE system to test. +depends="" +depends_dev="qt5-qtbase-dev qt5-qtsvg-dev karchive-dev kconfig-dev kio-dev + kconfigwidgets-dev kcoreaddons-dev kdbusaddons-dev kdoctools-dev + kiconthemes-dev ki18n-dev solid-dev kbookmarks-dev kguiaddons-dev + kdnssd-dev kpty-dev kactivities-dev phonon-dev libssh2-dev + libtirpc-dev taglib-dev" +makedepends="$depends_dev cmake extra-cmake-modules" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="http://download.kde.org/stable/applications/$pkgver/src/kio-extras-$pkgver.tar.xz" +builddir="$srcdir/kio-extras-$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="7d18c6f384b979e14759a851ee56b838edd754640bde0605e936b9583e5f00153eba97af2e468501eb511f44b7ec1cea26f227f634c2cc46577d4dedd65bc6f2 kio-extras-17.08.1.tar.xz" diff --git a/user/kio/APKBUILD b/user/kio/APKBUILD new file mode 100644 index 000000000..a7b2b0681 --- /dev/null +++ b/user/kio/APKBUILD @@ -0,0 +1,48 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kio +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Framework for data and file management" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +options="!checkroot !check" # Test requires X11; segfault bug #34 +depends="" +depends_dev="qt5-qtbase-dev karchive-dev kconfig-dev kcoreaddons-dev + kdbusaddons-dev ki18n-dev kservice-dev solid-dev kbookmarks-dev + kjobwidgets-dev acl-dev knotifications-dev kwallet-dev" +makedepends="$depends_dev cmake extra-cmake-modules kdoctools-dev gettext-dev + python3" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/kio-$pkgver.tar.xz" +builddir="$srcdir/kio-$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="7a35c20d220308f329ba496cabc71f4be44debab09591c3301533ddc348a88bb928f5220ede8500f70fd6f8b50a77ae99877f4ca9544be149e3eb1b7ed785611 kio-5.38.0.tar.xz" diff --git a/user/kitemmodels/APKBUILD b/user/kitemmodels/APKBUILD new file mode 100644 index 000000000..93c844aeb --- /dev/null +++ b/user/kitemmodels/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kitemmodels +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Framework for sorting and searching objects" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev" +makedepends="$depends_dev cmake extra-cmake-modules" +install="" +subpackages="$pkgname-dev" +source="http://download.kde.org/stable/frameworks/5.38/kitemmodels-$pkgver.tar.xz" +builddir="$srcdir/kitemmodels-$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="19a9d236a75b50d53e6a8ac97af8213e497ff8b3838e377a2f8f9f358796bbccee19f41849319b9501fa6959886be13f682dc8c97f026d3893c4a946960321f8 kitemmodels-5.38.0.tar.xz" diff --git a/user/kitemviews/APKBUILD b/user/kitemviews/APKBUILD new file mode 100644 index 000000000..a0fb316fb --- /dev/null +++ b/user/kitemviews/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kitemviews +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Framework for displaying collections of items" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev" +makedepends="$depends_dev cmake extra-cmake-modules qt5-qttools-dev" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/kitemviews-$pkgver.tar.xz" +builddir="$srcdir/kitemviews-$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="4724f953669d3267045a63071698f8f0e7218f201c424061d5158f8349646ef2bd8ac15bc19ae0a963b732f097db4ac72606de7a9fa0113716e28d18eaaab9ae kitemviews-5.38.0.tar.xz" diff --git a/user/kjobwidgets/APKBUILD b/user/kjobwidgets/APKBUILD new file mode 100644 index 000000000..64e1a4c56 --- /dev/null +++ b/user/kjobwidgets/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kjobwidgets +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Framework providing widgets that show job progress" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev kcoreaddons-dev kwidgetsaddons-dev + qt5-qtx11extras-dev" +makedepends="$depends_dev cmake extra-cmake-modules libx11-dev libxext-dev + libice-dev qt5-qttools-dev" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/kjobwidgets-$pkgver.tar.xz" +builddir="$srcdir/kjobwidgets-$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="5a6de35e111d6c65ac408e50d40f059761716e998a5dea9bd4e3158917f0ff27e359b3ba008b3a5ec353c4b3320c4aa27ecf8c76a5efe7a56b479b1ede33235d kjobwidgets-5.38.0.tar.xz" diff --git a/user/kjs/APKBUILD b/user/kjs/APKBUILD new file mode 100644 index 000000000..7baf4cbac --- /dev/null +++ b/user/kjs/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kjs +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Independent, free JavaScript engine" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev" +makedepends="$depends_dev cmake extra-cmake-modules kdoctools-dev perl pcre-dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://download.kde.org/stable/frameworks/5.38/portingAids/kjs-$pkgver.tar.xz" +builddir="$srcdir/kjs-$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="33941a4dd77f1df46d88357dfa7363bbb0eff81a8d0543f385237d301d90955ad721bd255fbba810b602d50569556a3d5df0d37c6d4b16fae10e180263e45689 kjs-5.38.0.tar.xz" diff --git a/user/kjsembed/APKBUILD b/user/kjsembed/APKBUILD new file mode 100644 index 000000000..0fd4f67da --- /dev/null +++ b/user/kjsembed/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kjsembed +pkgver=5.38.0 +pkgrel=0 +pkgdesc="JavaScript bindings for QObject" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev qt5-qttools-dev qt5-qtsvg-dev kjs-dev ki18n-dev" +makedepends="$depends_dev cmake extra-cmake-modules python3 kdoctools-dev" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/portingAids/kjsembed-$pkgver.tar.xz" +builddir="$srcdir/kjsembed-$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="f48ee40da614ad456d1d3f50614fb59cd88dc4cef3f74378b6a73a7b04a2cc8028aea2f60c2de98aee141b727a4f0ad2986131213dee2d9cf99bb1f853728eee kjsembed-5.38.0.tar.xz" diff --git a/user/kmag/APKBUILD b/user/kmag/APKBUILD new file mode 100644 index 000000000..3472dd9d4 --- /dev/null +++ b/user/kmag/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kmag +pkgver=17.08.1 +pkgrel=0 +pkgdesc="Screen magnification utility" +url="https://www.kde.org/applications/utilities/kmag/" +arch="all" +license="GPL-2.0" +depends="" +makedepends="cmake extra-cmake-modules qt5-qtbase-dev kdoctools-dev ki18n-dev + kio-dev kxmlgui-dev" +install="" +subpackages="$pkgname-doc $pkgname-lang" +source="http://download.kde.org/stable/applications/$pkgver/src/kmag-$pkgver.tar.xz" +builddir="$srcdir/kmag-$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="ef0899a1d98980a05b512f8d5ddb0bd4ac41aa2aa0c81d85d6195c2dd6059385e7aee3ff659e11a840eb7fac4646002ad54d75468a355f0c32ca219625021ac7 kmag-17.08.1.tar.xz" diff --git a/user/kmime/APKBUILD b/user/kmime/APKBUILD new file mode 100644 index 000000000..8cf89ac96 --- /dev/null +++ b/user/kmime/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kmime +pkgver=17.08.1 +pkgrel=0 +pkgdesc="KDE support library for MIME" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev kcodecs-dev ki18n-dev" +makedepends="$depends_dev cmake extra-cmake-modules python3 gettext" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/applications/$pkgver/src/kmime-$pkgver.tar.xz" +builddir="$srcdir/kmime-$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" + # https://bugs.kde.org/show_bug.cgi?id=385479 + CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E dateformattertest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="3867e1270cb17ba286e4ada04ed1d03c156cdcded1e2385227274ae9096d1298a17b30a6b8c933b206b5fa9da973a07505ff34b036ceb0e7fb7e68ae69137fa2 kmime-17.08.1.tar.xz" diff --git a/user/knewstuff/APKBUILD b/user/knewstuff/APKBUILD new file mode 100644 index 000000000..2edb2a4bf --- /dev/null +++ b/user/knewstuff/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=knewstuff +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Framework for discovering and downloading plugins, themes, and more" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev karchive-dev kcompletion-dev kcoreaddons-dev + ki18n-dev kiconthemes-dev kio-dev kitemviews-dev kservice-dev + ktextwidgets-dev kwidgetsaddons-dev kxmlgui-dev attica-dev" +makedepends="$depends_dev cmake extra-cmake-modules python3 gettext-dev" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/knewstuff-$pkgver.tar.xz" +builddir="$srcdir/knewstuff-$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="a4a4b21a8ca86740659113901c318061c6ffd07e0f3406a5232d778b14c1e76f03d9890ae07d6115725156451d258453d0c8f7044dddd380e4c986e54bcdb43a knewstuff-5.38.0.tar.xz" diff --git a/user/knotifications/APKBUILD b/user/knotifications/APKBUILD new file mode 100644 index 000000000..39b8a7fbc --- /dev/null +++ b/user/knotifications/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=knotifications +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Framework for sending notifications to users" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +options="!check" # Requires DBus daemon running. +depends="" +depends_dev="qt5-qtbase-dev qt5-qtx11extras-dev kwindowsystem-dev kconfig-dev + kcodecs-dev kcoreaddons-dev phonon-dev libdbusmenu-qt-dev" +makedepends="$depends_dev cmake extra-cmake-modules libx11-dev libxext-dev + libice-dev qt5-qttools-dev" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/knotifications-$pkgver.tar.xz" +builddir="$srcdir/knotifications-$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="47d3268edd3162f48973e3ca0586df73ec3115b100c866e014e8dbf4b36f5102d85d97d722e849641415e2f91e7e1f2e5976b42e7a34ae95ba8ecf88e8ec0672 knotifications-5.38.0.tar.xz" diff --git a/user/knotifyconfig/APKBUILD b/user/knotifyconfig/APKBUILD new file mode 100644 index 000000000..f76bb30fb --- /dev/null +++ b/user/knotifyconfig/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=knotifyconfig +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Framework for configuring notifications" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +options="!check" # No test suite, despite mentioning testing deps... +depends="" +depends_dev="qt5-qtbase-dev kcompletion-dev kconfig-dev ki18n-dev kio-dev + phonon-dev" +makedepends="$depends_dev cmake extra-cmake-modules gettext-dev python3" +checkdepends="kconfigwidgets-dev knotifications-dev kwidgetsaddons-dev + kxmlgui-dev" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/knotifyconfig-$pkgver.tar.xz" +builddir="$srcdir/knotifyconfig-$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 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="11218be988cd21982e0cffcb268996f2c0cf5ae93da860f29fe286522f78c66eb2abca88dd4cd679fd0ff6fc6c0712d3c1bfaa0d5055954e9dee8df7289af182 knotifyconfig-5.38.0.tar.xz" diff --git a/user/konsole/APKBUILD b/user/konsole/APKBUILD new file mode 100644 index 000000000..bfdabe015 --- /dev/null +++ b/user/konsole/APKBUILD @@ -0,0 +1,48 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=konsole +pkgver=17.08.1 +pkgrel=0 +pkgdesc="Terminal emulator for Qt/KDE" +url="https://konsole.kde.org/" +arch="all" +license="GPL-2.0 LGPL-2.1 Unicode" +options="!check" # Requires running DBus session bus. +depends="" +makedepends="cmake extra-cmake-modules qt5-qtbase-dev kbookmarks-dev + kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev + kcrash-dev kguiaddons-dev kdbusaddons-dev gettext-dev python3 ki18n-dev + kiconthemes-dev kinit-dev kio-dev knotifications-dev knotifyconfig-dev + kparts-dev kpty-dev kservice-dev ktextwidgets-dev kwidgetsaddons-dev + kwindowsystem-dev kxmlgui-dev kdbusaddons-dev" +install="" +subpackages="$pkgname-doc $pkgname-lang" +source="http://download.kde.org/stable/applications/$pkgver/src/konsole-$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="fac32531e9c0336d9a102b384303b863f9843399393efc6cd2f40ac6b9005e99d46fbd59db8c9ad0db3e57b36d0d826019ebd90f76e82dca0db9aea6be06af63 konsole-17.08.1.tar.xz" diff --git a/user/kpackage/APKBUILD b/user/kpackage/APKBUILD new file mode 100644 index 000000000..a60289803 --- /dev/null +++ b/user/kpackage/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kpackage +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Frameworks for managing KDE data packages" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +options="!check" # Requires Plasma to be installed, causing circular dep +depends="" +depends_dev="qt5-qtbase-dev karchive-dev ki18n-dev kcoreaddons-dev" +makedepends="$depends_dev cmake extra-cmake-modules python3 gettext-dev + kdoctools-dev" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/kpackage-$pkgver.tar.xz" +builddir="$srcdir/kpackage-$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="6882610e9e3ebbb7c61e5bd2e5588e63a262322d491b5338becae8dca737c43e14b419d096e5f88cdd27aa66993f0401ea485ddda12a1f79463de058395c4943 kpackage-5.38.0.tar.xz" diff --git a/user/kparts/APKBUILD b/user/kparts/APKBUILD new file mode 100644 index 000000000..e8aaaa967 --- /dev/null +++ b/user/kparts/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kparts +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Framework for user interface components" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +options="!check" # Requires X11 running. +depends="" +depends_dev="qt5-qtbase-dev kconfig-dev kcoreaddons-dev ki18n-dev + kiconthemes-dev kio-dev kjobwidgets-dev kservice-dev ktextwidgets-dev + kwidgetsaddons-dev kxmlgui-dev" +makedepends="$depends_dev cmake extra-cmake-modules python3 gettext-dev" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/kparts-$pkgver.tar.xz" +builddir="$srcdir/kparts-$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="7425ae2e272a78c75c384a4770221712d202dbab05b6f22bdf880b96ff25374989c6c7aab28cc9021079c92380a7683c19b3f858d5fc0fff97236fb4b9224427 kparts-5.38.0.tar.xz" diff --git a/user/kpeople/APKBUILD b/user/kpeople/APKBUILD new file mode 100644 index 000000000..4d48618a2 --- /dev/null +++ b/user/kpeople/APKBUILD @@ -0,0 +1,49 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kpeople +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Provides access to all contacts and groups them by physical person" +url="https://api.kde.org/frameworks/kpeople/html/index.html" +arch="all" +license="LGPL-2.1" +options="!check" # 03:40:52 <@Elizafox> prolly expects dbus? +depends="" +depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev kcoreaddons-dev ki18n-dev + kwidgetsaddons-dev kitemviews-dev kservice-dev" +makedepends="$depends_dev cmake extra-cmake-modules python3 gettext-dev" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/kpeople-$pkgver.tar.xz + dont-crash-test.patch + " +builddir="$srcdir/kpeople-$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="5c7c2fb9c13922b2dec51e95d79086ec8d720400325ae369e23aa21714c2e01448b5985a6ae83208468fe4ae3d7e30925e5467481222a7a7a2d483992dbb907d kpeople-5.38.0.tar.xz +77df2aefcdfb8e5b9c2fef7a6bfd79066819b0c6958b9e2f8fe94860155aaae9c284a110a15a189cd5b423dc7aa017b952196370f60a4fb382ed7eb77f15abd9 dont-crash-test.patch" diff --git a/user/kpeople/dont-crash-test.patch b/user/kpeople/dont-crash-test.patch new file mode 100644 index 000000000..e133618be --- /dev/null +++ b/user/kpeople/dont-crash-test.patch @@ -0,0 +1,12 @@ +diff --git a/autotests/personsmodeltest.cpp b/autotests/personsmodeltest.cpp +index 3e5b9a5..ee2123b 100644 +--- a/autotests/personsmodeltest.cpp ++++ b/autotests/personsmodeltest.cpp +@@ -119,6 +119,7 @@ void PersonsModelTest::gettersTests() + { + // Find the index for "kpeople://1" using the QAIModel method + QModelIndexList indexList = m_model->match(m_model->index(0,0,QModelIndex()), KPeople::PersonsModel::PersonUriRole, QVariant(QStringLiteral("kpeople://1")), 1); ++ QCOMPARE(indexList.isEmpty(), false); + QModelIndex personIndex = indexList.first(); + + // Now get the index using our method diff --git a/user/kplotting/APKBUILD b/user/kplotting/APKBUILD new file mode 100644 index 000000000..a8a5ee055 --- /dev/null +++ b/user/kplotting/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kplotting +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Framework for data plotting functions" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +options="!check" # Test requires accelerated X11 display. +depends="" +depends_dev="qt5-qtbase-dev" +makedepends="$depends_dev cmake extra-cmake-modules" +install="" +subpackages="$pkgname-dev" +source="http://download.kde.org/stable/frameworks/5.38/kplotting-$pkgver.tar.xz" +builddir="$srcdir/kplotting-$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="a7c09c49686c571d97c14c6017634575aba61e7e93ccd9c44442ea1953c64cf64e7d68d2606d823dae5d05832f38c7d54c8786d5906a8f8cda8d35fb58b55fcc kplotting-5.38.0.tar.xz" diff --git a/user/kpty/APKBUILD b/user/kpty/APKBUILD new file mode 100644 index 000000000..522016193 --- /dev/null +++ b/user/kpty/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kpty +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Framework for implementing terminal emulation" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1 GPL-2.0+" +depends="" +depends_dev="qt5-qtbase-dev kcoreaddons-dev ki18n-dev" # libutempter-dev" +makedepends="$depends_dev cmake extra-cmake-modules python3 gettext-dev" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/kpty-$pkgver.tar.xz" +builddir="$srcdir/kpty-$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="e5619a77630d82cd8cac52e536dd982b996bba3b0ba6d8a2e25068b2d0ba735c367073e2319c2cd95930db0cba510d92763fb93b06fbd26149419899c4aecb7e kpty-5.38.0.tar.xz" diff --git a/user/kronometer/APKBUILD b/user/kronometer/APKBUILD new file mode 100644 index 000000000..35a333b5a --- /dev/null +++ b/user/kronometer/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kronometer +pkgver=2.1.5 +pkgrel=0 +pkgdesc="Easy-to-use stopwatch application" +url="https://userbase.kde.org/Kronometer" +arch="all" +license="GPL-2.0" +depends="" +makedepends="cmake extra-cmake-modules qt5-qtbase-dev kconfig-dev kcrash-dev + kdoctools-dev ki18n-dev kwidgetsaddons-dev kxmlgui-dev" +install="" +subpackages="$pkgname-doc $pkgname-lang" +source="http://download.kde.org/stable/kronometer/$pkgver/src/kronometer-$pkgver.tar.xz" +builddir="$srcdir/kronometer-$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="24eee0d65ce8c9c829f5c5cfba5fc75e1d8c98a107ff39bc4b833e5f1e2a902bd2aa916c96826e77190567b02b0fc25d88bb0215e408af4e60af3fbb47aa7c60 kronometer-2.1.5.tar.xz" diff --git a/user/krunner/APKBUILD b/user/krunner/APKBUILD new file mode 100644 index 000000000..9c0818532 --- /dev/null +++ b/user/krunner/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=krunner +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Parallel query system" +url="https://api.kde.org/frameworks/krunner/html/index.html" +arch="all" +license="LGPL-2.1" +options="!check" # Test suite requires DBus and X11 session. +depends="" +depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev kconfig-dev kcoreaddons-dev + ki18n-dev kio-dev plasma-framework-dev threadweaver-dev" +makedepends="$depends_dev cmake extra-cmake-modules python3 gettext-dev" +install="" +subpackages="$pkgname-dev" +source="http://download.kde.org/stable/frameworks/5.38/krunner-$pkgver.tar.xz" +builddir="$srcdir/krunner-$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="609f9bc91921902987e53baa08d985f3efdc707cf164cc87821d5b96541e683eb99e49fa70d577e09e178e8cad299727cc571e74c2f2032719dce489945efc08 krunner-5.38.0.tar.xz" diff --git a/user/kscreenlocker/APKBUILD b/user/kscreenlocker/APKBUILD new file mode 100644 index 000000000..aaf99ec9b --- /dev/null +++ b/user/kscreenlocker/APKBUILD @@ -0,0 +1,57 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kscreenlocker +pkgver=5.8.7 +pkgrel=1 +pkgdesc="Secure X11 screen locker" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +options="!check" # requires loginctl +depends="linux-pam" +depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev kcrash-dev kdeclarative-dev + kglobalaccel-dev ki18n-dev kidletime-dev kcmutils-dev solid-dev + knotifications-dev ktextwidgets-dev kwindowsystem-dev kxmlgui-dev + kwayland-dev libxi-dev libxcursor-dev" +makedepends="$depends_dev cmake extra-cmake-modules python3 gettext-dev + libx11-dev libxext-dev libxcb-dev linux-pam-dev" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/plasma/$pkgver/kscreenlocker-$pkgver.tar.xz + kscreenlocker-5.8.5-stop-using-getpass.patch + kde.pam + kde-np.pam" +builddir="$srcdir/kscreenlocker-$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 + install -D -m644 "$srcdir"/kde.pam "$pkgdir"/etc/pam.d/kde.pam + install -m644 "$srcdir"/kde-np.pam "$pkgdir"/etc/pam.d/kde-np.pam +} + +sha512sums="cee66e85efaafd5629c9e2b1eea1522cff960d7b9922be7b6d5f767c231fcb762cf80585d5528fdb5fc3684881bf2fa4a59da3136a1d23341ceb218da3f69e11 kscreenlocker-5.8.7.tar.xz +44bbf365555668f7ef2f354a06d08b4b83c556f6e78ead028acd727363c287cfecc2e3eb4d0bb137feb2939da0fa21db694af6b10f8a3878d7071ad4e3b8d4e8 kscreenlocker-5.8.5-stop-using-getpass.patch +56e87d02d75c4a8cc4ed183faed416fb4972e7f223b8759959c0f5da32e11e657907a1df279d62a44a6a174f5aca8b2ac66a5f3325c5deb92011bcf71eed74c3 kde.pam +565265485dd7466b77966d75a56766216b8bcc187c95a997e531e9481cf50ddbe576071eb0e334421202bcab19aa6de6b93e042447ca4797a24bf97e1d053ffd kde-np.pam" diff --git a/user/kscreenlocker/kde-np.pam b/user/kscreenlocker/kde-np.pam new file mode 100644 index 000000000..07b7861ed --- /dev/null +++ b/user/kscreenlocker/kde-np.pam @@ -0,0 +1,10 @@ +#%PAM-1.0 + +auth required pam_nologin.so +auth required pam_permit.so + +account include base-account + +password include base-password + +session include base-session-noninteractive diff --git a/user/kscreenlocker/kde.pam b/user/kscreenlocker/kde.pam new file mode 100644 index 000000000..1b9e446ce --- /dev/null +++ b/user/kscreenlocker/kde.pam @@ -0,0 +1,11 @@ +#%PAM-1.0 + +auth required pam_nologin.so + +auth include base-auth + +account include base-account + +password include base-password + +session include base-session-noninteractive diff --git a/user/kscreenlocker/kscreenlocker-5.8.5-stop-using-getpass.patch b/user/kscreenlocker/kscreenlocker-5.8.5-stop-using-getpass.patch new file mode 100644 index 000000000..f10789f88 --- /dev/null +++ b/user/kscreenlocker/kscreenlocker-5.8.5-stop-using-getpass.patch @@ -0,0 +1,71 @@ +--- kscreenlocker-5.8.5/kcheckpass/kcheckpass.c.old 2016-12-27 11:25:36.000000000 +0000 ++++ kscreenlocker-5.8.5/kcheckpass/kcheckpass.c 2017-01-31 04:32:44.858227055 +0000 +@@ -56,6 +56,7 @@ + #include <stdlib.h> + #include <errno.h> + #include <time.h> ++#include <termios.h> + + #include <config-kscreenlocker.h> + #if HAVE_SYS_PRCTL_H +@@ -75,9 +76,41 @@ + static int havetty, sfd = -1, nullpass; + + static char * ++better_getpass (void) ++{ ++ char *password = NULL, *nl; ++ size_t buf_len = 0; ++ ssize_t pass_len; ++ struct termios ti; ++ ++ tcgetattr(STDIN_FILENO, &ti); ++ ti.c_lflag &= ~ECHO; ++ tcsetattr(STDIN_FILENO, TCSANOW, &ti); ++ ++ pass_len = getdelim(&password, &buf_len, '\n', stdin); ++ ++ if (pass_len < 0) { ++ free(password); ++ return NULL; ++ } ++ ++ ti.c_lflag |= ECHO; ++ tcsetattr(STDIN_FILENO, TCSANOW, &ti); ++ ++ /* Do not include the \n at the end */ ++ nl = strchr(password, '\n'); ++ if (nl) { ++ *nl = '\0'; ++ } ++ ++ return password; ++} ++ ++ ++static char * + conv_legacy (ConvRequest what, const char *prompt) + { +- char *p, *p2; ++ char *p2; + int len; + char buf[1024]; + +@@ -99,13 +132,10 @@ + return strdup(buf); + case ConvGetHidden: + if (havetty) { +-#ifdef HAVE_GETPASSPHRASE +- p = getpassphrase(prompt ? prompt : "Password: "); +-#else +- p = getpass(prompt ? prompt : "Password: "); +-#endif +- p2 = strdup(p); +- memset(p, 0, strlen(p)); ++ fputs(prompt ? prompt : "Password: ", stdout); ++ fflush(stdout); ++ p2 = better_getpass(); ++ printf("\n"); + return p2; + } else { + if (prompt) diff --git a/user/kservice/APKBUILD b/user/kservice/APKBUILD new file mode 100644 index 000000000..69f24e472 --- /dev/null +++ b/user/kservice/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kservice +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Framework for implementing plugins and services" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +options="!check" # Test suite won't build, broken tarball +depends="" +depends_dev="qt5-qtbase-dev kconfig-dev kcoreaddons-dev kcrash-dev + kdbusaddons-dev ki18n-dev" +makedepends="$depends_dev cmake extra-cmake-modules kdoctools-dev python3 + flex bison" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/kservice-$pkgver.tar.xz" +builddir="$srcdir/kservice-$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" \ + -DBUILD_TESTING=OFF \ + ${CMAKE_CROSSOPTS} + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="0e76294ff870e8e41c562d062c715a9a9d08fcd2a1c1eea650dd3c81e36e153fc6e9e9e38a552159cab3ddd5e30ab1f653c4065c07173e51c487060583756a0b kservice-5.38.0.tar.xz" diff --git a/user/ksysguard/APKBUILD b/user/ksysguard/APKBUILD new file mode 100644 index 000000000..70fa61852 --- /dev/null +++ b/user/ksysguard/APKBUILD @@ -0,0 +1,53 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=ksysguard +pkgver=5.8.7 +pkgrel=0 +pkgdesc="KDE system monitor utility" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +makedepends="qt5-qtbase-dev kconfig-dev kcoreaddons-dev kdbusaddons-dev kio-dev + ki18n-dev kiconthemes-dev kinit-dev kitemviews-dev knewstuff-dev + knotifications-dev kwindowsystem-dev libksysguard-dev + cmake extra-cmake-modules kdoctools-dev" +install="" +subpackages="$pkgname-doc $pkgname-lang" +source="https://download.kde.org/Attic/plasma/$pkgver/ksysguard-$pkgver.tar.xz + ksysguard-5.5.5-netstat-use-a-real-type.patch + ksysguard-5.6.5-processlist-gnu_source.patch + ksysguard-5.6.5-rindex-header.patch + " +builddir="$srcdir/ksysguard-$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="320e02cf94768f9d63e12dfb46ab0728bf64e60636242b9a6f57517b3ca329bfa2d99f4999e2b071a6cd2849d14e807d9a2070cd9d0f51dbdf32fccfec423bb5 ksysguard-5.8.7.tar.xz +078c9d3e13ee0960a8cc68e3ee6ef4f9fc78640fae71d66dd5579f9d031895aec7cf1c2dbc4b03f84edfb9456163dcf6124c6da936f90eef3e664c4267660ab9 ksysguard-5.5.5-netstat-use-a-real-type.patch +818d2d603d7113b163cabbf27f0082bd8b482a8e66a1b8f569f353c84f3d031c742708b2f376f962f1ed360594fb6c6506195d9071d070b5c0ac4816d5e0cad4 ksysguard-5.6.5-processlist-gnu_source.patch +13a26451c459cff1d3b00af27c953d10c55e7e8f43ef7a6f0f54dd05dcb612546545c0170089e9499bb041f004cdacf19cb112d247a8ccf8fd4e77fea0d1c8bc ksysguard-5.6.5-rindex-header.patch" diff --git a/user/ksysguard/ksysguard-5.5.5-netstat-use-a-real-type.patch b/user/ksysguard/ksysguard-5.5.5-netstat-use-a-real-type.patch new file mode 100644 index 000000000..d3543f3ce --- /dev/null +++ b/user/ksysguard/ksysguard-5.5.5-netstat-use-a-real-type.patch @@ -0,0 +1,16 @@ +--- ksysguard-5.5.5/ksysguardd/Linux/netstat.old 2016-03-01 14:35:05.000000000 +0100 ++++ ksysguard-5.5.5/ksysguardd/Linux/netstat.c 2016-07-22 03:46:19.016064987 +0100 +@@ -264,10 +264,10 @@ + { + FILE *netstat; + char buffer[1024]; +- uint local_addr, local_port; +- uint remote_addr, remote_port; ++ unsigned int local_addr, local_port; ++ unsigned int remote_addr, remote_port; + int uid; +- uint state; ++ unsigned int state; + SocketInfo *socket_info; + + if (strstr(cmd, "tcp")) { diff --git a/user/ksysguard/ksysguard-5.6.5-processlist-gnu_source.patch b/user/ksysguard/ksysguard-5.6.5-processlist-gnu_source.patch new file mode 100644 index 000000000..e68fc7b2b --- /dev/null +++ b/user/ksysguard/ksysguard-5.6.5-processlist-gnu_source.patch @@ -0,0 +1,12 @@ +--- ksysguard-5.6.5/ksysguardd/Linux/ProcessList.c.old 2016-06-14 11:09:02.000000000 +0100 ++++ ksysguard-5.6.5/ksysguardd/Linux/ProcessList.c 2016-08-07 03:14:25.158991313 +0100 +@@ -28,7 +28,9 @@ + #include <sys/time.h> + #include <sys/resource.h> + #include <time.h> ++#define _GNU_SOURCE + #include <unistd.h> ++#undef _GNU_SOURCE + #include <sys/ptrace.h> + #include <asm/unistd.h> + diff --git a/user/ksysguard/ksysguard-5.6.5-rindex-header.patch b/user/ksysguard/ksysguard-5.6.5-rindex-header.patch new file mode 100644 index 000000000..423da608c --- /dev/null +++ b/user/ksysguard/ksysguard-5.6.5-rindex-header.patch @@ -0,0 +1,10 @@ +--- ksysguard-5.6.5/ksysguardd/Linux/diskstat.c.old 2016-06-14 11:09:02.000000000 +0100 ++++ ksysguard-5.6.5/ksysguardd/Linux/diskstat.c 2016-08-07 02:51:53.101362572 +0100 +@@ -24,6 +24,7 @@ + #include <stdio.h> + #include <stdlib.h> + #include <string.h> ++#include <strings.h> + #include <sys/statvfs.h> + #include <time.h> + #include <unistd.h> diff --git a/user/ktexteditor/APKBUILD b/user/ktexteditor/APKBUILD new file mode 100644 index 000000000..31c7f26d3 --- /dev/null +++ b/user/ktexteditor/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=ktexteditor +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Reusable, programmable text editor widget" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +options="!check" # Requires running X11 session. +depends="" +depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtxmlpatterns-dev + karchive-dev kconfig-dev kguiaddons-dev ki18n-dev kio-dev kparts-dev + syntax-highlighting-dev" +makedepends="$depends_dev cmake extra-cmake-modules python3 gettext-dev" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/ktexteditor-$pkgver.tar.xz" +builddir="$srcdir/ktexteditor-$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="7032eecd9e28ce744bca86c1d2bdd71aa7e44d1797f9177b01e0dcc9080ee5869a6db2cab268b43f6b7e91c944a58c32368616e5b6ca7b671f44d11ed8ca4e60 ktexteditor-5.38.0.tar.xz" diff --git a/user/ktextwidgets/APKBUILD b/user/ktextwidgets/APKBUILD new file mode 100644 index 000000000..0cff185f0 --- /dev/null +++ b/user/ktextwidgets/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=ktextwidgets +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Framework providing widgets for text manipulation" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev kcompletion-dev kconfigwidgets-dev kiconthemes-dev + kservice-dev sonnet-dev" +makedepends="$depends_dev cmake extra-cmake-modules python3" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/ktextwidgets-$pkgver.tar.xz" +builddir="$srcdir/ktextwidgets-$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="809372551c7562bf0c8f613d55368851649f0da75a0e9dee70872be7eb5fc248204c7bd8ca8cfe7ddc40025bfa6738a041d297015575f313e4523fcac911846e ktextwidgets-5.38.0.tar.xz" diff --git a/user/ktimer/APKBUILD b/user/ktimer/APKBUILD new file mode 100644 index 000000000..da5bd0db7 --- /dev/null +++ b/user/ktimer/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=ktimer +pkgver=17.08.1 +pkgrel=0 +pkgdesc="Tool to execute programs after some time" +url="https://www.kde.org/applications/utilities/ktimer/" +arch="all" +license="GPL-2.0" +depends="" +makedepends="cmake extra-cmake-modules qt5-qtbase-dev kdoctools-dev ki18n-dev + kwidgetsaddons-dev kio-dev kdbusaddons-dev knotifications-dev" +install="" +subpackages="$pkgname-doc $pkgname-lang" +source="http://download.kde.org/stable/applications/$pkgver/src/ktimer-$pkgver.tar.xz" +builddir="$srcdir/ktimer-$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="330db14cd1fecfd5ba9a5cae851dcd037d0e5ba42bef421ab3e0e6d0ff701dc209c3862e3682ecab8dc85a90c857879c820716da63afea77806ecb1497fad4ae ktimer-17.08.1.tar.xz" diff --git a/user/kunitconversion/APKBUILD b/user/kunitconversion/APKBUILD new file mode 100644 index 000000000..031a2b817 --- /dev/null +++ b/user/kunitconversion/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kunitconversion +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Convert between metric and imperial" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +options="!check" # Tests require downloading currency information from internet. +depends="" +depends_dev="qt5-qtbase-dev" +makedepends="$depends_dev cmake extra-cmake-modules" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/kunitconversion-$pkgver.tar.xz" +builddir="$srcdir/kunitconversion-$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="421dbf9e84904d14065c8f72ddbd61892ec060627c4eb3e03a98a03ff998ca1f137a133a34a8bde823538d3a7554b0fea8a72dbfe9154d79d6dcc8dcddf413c2 kunitconversion-5.38.0.tar.xz" diff --git a/user/kwallet/APKBUILD b/user/kwallet/APKBUILD new file mode 100644 index 000000000..6a3bdac3c --- /dev/null +++ b/user/kwallet/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kwallet +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Secure storage system for passwords built atop Qt" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev kcoreaddons-dev kconfig-dev kwindowsystem-dev + ki18n-dev kconfigwidgets-dev kdbusaddons-dev kiconthemes-dev + knotifications-dev kservice-dev libgcrypt-dev" +makedepends="$depends_dev cmake extra-cmake-modules kdoctools-dev" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/kwallet-$pkgver.tar.xz" +builddir="$srcdir/kwallet-$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="e66266015c674a7ba731fc5c37fe2bed1edf18645393793b6dfa552dcc1fb93227db73913503961f46d72c5c71b11c807d61a1bb0980f5ac1d62bab59efa72db kwallet-5.38.0.tar.xz" diff --git a/user/kwayland/APKBUILD b/user/kwayland/APKBUILD new file mode 100644 index 000000000..b939331da --- /dev/null +++ b/user/kwayland/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kwayland +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Qt wrapper libraries for Wayland" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +options="!check" # Requires running Wayland compositor +depends="" +depends_dev="qt5-qtbase-dev wayland-dev" +makedepends="$depends_dev cmake extra-cmake-modules doxygen graphviz + qt5-qttools-dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://download.kde.org/stable/frameworks/5.38/kwayland-$pkgver.tar.xz" +builddir="$srcdir/kwayland-$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" \ + -DBUILD_QCH:BOOL=ON \ + ${CMAKE_CROSSOPTS} + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="655afa2d0fd6cb36ab182247663bf0207b38c0d94fbca83ccb0add72b5fe79c2647a0f72c069eb38ed50540e31ad53e87fab6e2c9f694fcb671461429d834597 kwayland-5.38.0.tar.xz" diff --git a/user/kwidgetsaddons/APKBUILD b/user/kwidgetsaddons/APKBUILD new file mode 100644 index 000000000..0fcfe24d9 --- /dev/null +++ b/user/kwidgetsaddons/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kwidgetsaddons +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Framework containing ready-made widgets for common tasks" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +options="!check" # Test suite requires running X11 server (passes on ciall) +depends="" +depends_dev="qt5-qtbase-dev" +makedepends="$depends_dev cmake extra-cmake-modules qt5-qttools-dev" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/kwidgetsaddons-$pkgver.tar.xz" +builddir="$srcdir/kwidgetsaddons-$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="b1f7845662ef8248aaa4824e84eb622886379ab73dccaefa8a007cba22f0e64e215ae6e9061304bf902f90462a709c358e163fea2a6390e9994640c6485457ef kwidgetsaddons-5.38.0.tar.xz" diff --git a/user/kwin/APKBUILD b/user/kwin/APKBUILD new file mode 100644 index 000000000..d684e442f --- /dev/null +++ b/user/kwin/APKBUILD @@ -0,0 +1,58 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kwin +pkgver=5.8.7 +pkgrel=0 +pkgdesc="Modern, stylish window manager (requires OpenGL)" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +options="!check" # Requires accelerated X11 desktop +depends="" +depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtscript-dev kcrash-dev + qt5-qtx11extras-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev + kglobalaccel-dev ki18n-dev kinit-dev knotifications-dev kpackage-dev + plasma-framework-dev kwidgetsaddons-dev kwindowsystem-dev kwayland-dev + kiconthemes-dev kidletime-dev kcompletion-dev kdeclarative-dev kio-dev + kcmutils-dev ktextwidgets-dev knewstuff-dev kservice-dev kxmlgui-dev + kdecoration-dev kscreenlocker-dev wayland-dev mesa-dev libepoxy-dev + eudev-dev libdrm-dev libx11-dev libxcb-dev xcb-util-cursor-dev + xcb-util-image-dev xcb-util-wm-dev libxkbcommon-dev libinput-dev + freetype-dev fontconfig-dev qt5-qtmultimedia-dev breeze-dev" +makedepends="$depends_dev cmake extra-cmake-modules qt5-qttools-dev python3" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="http://download.kde.org/stable/plasma/$pkgver/kwin-$pkgver.tar.xz + kwin-5.8-stop-depending-on-qt5-internals.patch + kwin-5.8-respect-uint.patch" +builddir="$srcdir/kwin-$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="f1f3b01f85378e663385887add8dd5b2f40076cfc57f7cf638e83e2424fedb576b4b431b14151422ea43c535677131e61b8d9e7fe60e5a5f4ea06520c895bd1e kwin-5.8.7.tar.xz +7186dd317204612ba26f11315238f527949424d08f32dc0dab8c1391d642529433cfd7091dc2a057fe849976dee70eed7aab3c8be55b20b8c0655da57976b48e kwin-5.8-stop-depending-on-qt5-internals.patch +aaefa9951ec1475adf00784b202d0ca9f92a60634a869387432411e8b7928d9f10b46968998a4ada47228834e8c7f6c9bf1c8dd988673b22619e8e1295e086c7 kwin-5.8-respect-uint.patch" diff --git a/user/kwin/kwin-5.8-respect-uint.patch b/user/kwin/kwin-5.8-respect-uint.patch new file mode 100644 index 000000000..839d84d2e --- /dev/null +++ b/user/kwin/kwin-5.8-respect-uint.patch @@ -0,0 +1,29 @@ +From 404f2675f8ca5496a5e528825078b1ce27669cd7 Mon Sep 17 00:00:00 2001 +From: Marco Martin <notmart@gmail.com> +Date: Mon, 20 Mar 2017 17:01:39 +0100 +Subject: fix compilation on old gcc + +same as https://phabricator.kde.org/D5083, +gcc 4.8.5 (opensuse leap) fails building modeltest with +CMakeFiles/testHistoryModel.dir/modeltest.cpp.o: In function `ModelTest::data()': +modeltest.cpp:(.text+0x5a57): undefined reference to `bool QTest::qCompare<int, unsigned int>(int const&, unsigned int const&, char const*, char const*, char const*, int)' +--- + kcmkwin/kwincompositing/test/modeltest.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/kcmkwin/kwincompositing/test/modeltest.cpp b/kcmkwin/kwincompositing/test/modeltest.cpp +index d356b26..c077d9b 100644 +--- a/kcmkwin/kwincompositing/test/modeltest.cpp ++++ b/kcmkwin/kwincompositing/test/modeltest.cpp +@@ -453,7 +453,7 @@ void ModelTest::data() + // Check that the alignment is one we know about + QVariant textAlignmentVariant = model->data ( model->index ( 0, 0 ), Qt::TextAlignmentRole ); + if ( textAlignmentVariant.isValid() ) { +- int alignment = textAlignmentVariant.toInt(); ++ unsigned int alignment = textAlignmentVariant.toUInt(); + QCOMPARE( alignment, ( alignment & ( Qt::AlignHorizontal_Mask | Qt::AlignVertical_Mask ) ) ); + } + +-- +cgit v0.11.2 + diff --git a/user/kwin/kwin-5.8-stop-depending-on-qt5-internals.patch b/user/kwin/kwin-5.8-stop-depending-on-qt5-internals.patch new file mode 100644 index 000000000..7b77e9c57 --- /dev/null +++ b/user/kwin/kwin-5.8-stop-depending-on-qt5-internals.patch @@ -0,0 +1,479 @@ +From 052fa2e4ee329810f62c29e546254fb45bf8a375 Mon Sep 17 00:00:00 2001 +From: Takahiro Hashimoto <kenya888@gmail.com> +Date: Thu, 27 Oct 2016 09:43:21 +0900 +Subject: [PATCH] [plugins/qpa] support use of modularized qtplatformsupport + from Qt 5.8 + +REVIEW: 129268 +--- + CMakeLists.txt | 9 +- + cmake/modules/FindQt5EventDispatcherSupport.cmake | 122 ++++++++++++++++++++++ + cmake/modules/FindQt5FontDatabaseSupport.cmake | 122 ++++++++++++++++++++++ + cmake/modules/FindQt5ThemeSupport.cmake | 122 ++++++++++++++++++++++ + plugins/qpa/CMakeLists.txt | 15 ++- + plugins/qpa/integration.cpp | 7 ++ + 6 files changed, 394 insertions(+), 3 deletions(-) + create mode 100644 cmake/modules/FindQt5EventDispatcherSupport.cmake + create mode 100644 cmake/modules/FindQt5FontDatabaseSupport.cmake + create mode 100644 cmake/modules/FindQt5ThemeSupport.cmake + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 3d2883fea..bf90ab0f1 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -241,7 +241,14 @@ set_package_properties(X11_XCB PROPERTIES + TYPE OPTIONAL) + + # dependencies for QPA plugin +-find_package(Qt5PlatformSupport REQUIRED) ++if(Qt5Core_VERSION VERSION_LESS "5.8.0") ++ find_package(Qt5PlatformSupport REQUIRED) ++else() ++ find_package(Qt5FontDatabaseSupport REQUIRED) ++ find_package(Qt5ThemeSupport REQUIRED) ++ find_package(Qt5EventDispatcherSupport REQUIRED) ++endif() ++ + find_package(Freetype REQUIRED) + set_package_properties(Freetype PROPERTIES DESCRIPTION "A font rendering engine" + URL "http://www.freetype.org" +diff --git a/cmake/modules/FindQt5EventDispatcherSupport.cmake b/cmake/modules/FindQt5EventDispatcherSupport.cmake +new file mode 100644 +index 000000000..948efe0d3 +--- /dev/null ++++ b/cmake/modules/FindQt5EventDispatcherSupport.cmake +@@ -0,0 +1,122 @@ ++#.rst: ++# FindQt5EventDispatcherSupport ++# ------- ++# ++# Try to find Qt5EventDispatcherSupport on a Unix system. ++# ++# This will define the following variables: ++# ++# ``Qt5EventDispatcherSupport_FOUND`` ++# True if (the requested version of) Qt5EventDispatcherSupport is available ++# ``Qt5EventDispatcherSupport_VERSION`` ++# The version of Qt5EventDispatcherSupport ++# ``Qt5EventDispatcherSupport_LIBRARIES`` ++# This can be passed to target_link_libraries() instead of the ``Qt5EventDispatcherSupport::Qt5EventDispatcherSupport`` ++# target ++# ``Qt5EventDispatcherSupport_INCLUDE_DIRS`` ++# This should be passed to target_include_directories() if the target is not ++# used for linking ++# ``Qt5EventDispatcherSupport_DEFINITIONS`` ++# This should be passed to target_compile_options() if the target is not ++# used for linking ++# ++# If ``Qt5EventDispatcherSupport_FOUND`` is TRUE, it will also define the following imported target: ++# ++# ``Qt5EventDispatcherSupport::Qt5EventDispatcherSupport`` ++# The Qt5EventDispatcherSupport library ++# ++# In general we recommend using the imported target, as it is easier to use. ++# Bear in mind, however, that if the target is in the link interface of an ++# exported library, it must be made available by the package config file. ++ ++#============================================================================= ++# Copyright 2014 Alex Merry <alex.merry@kde.org> ++# Copyright 2014 Martin Gräßlin <mgraesslin@kde.org> ++# Copyright 2016 Takahiro Hashimoto <kenya888@gmail.com> ++# ++# Redistribution and use in source and binary forms, with or without ++# modification, are permitted provided that the following conditions ++# are met: ++# ++# 1. Redistributions of source code must retain the copyright ++# notice, this list of conditions and the following disclaimer. ++# 2. Redistributions in binary form must reproduce the copyright ++# notice, this list of conditions and the following disclaimer in the ++# documentation and/or other materials provided with the distribution. ++# 3. The name of the author may not be used to endorse or promote products ++# derived from this software without specific prior written permission. ++# ++# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR ++# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES ++# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ++# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, ++# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT ++# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ++# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ++# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ++# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF ++# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ++#============================================================================= ++ ++if(CMAKE_VERSION VERSION_LESS 2.8.12) ++ message(FATAL_ERROR "CMake 2.8.12 is required by FindQt5EventDispatcherSupport.cmake") ++endif() ++if(CMAKE_MINIMUM_REQUIRED_VERSION VERSION_LESS 2.8.12) ++ message(AUTHOR_WARNING "Your project should require at least CMake 2.8.12 to use FindQt5EventDispatcherSupport.cmake") ++endif() ++ ++# Use pkg-config to get the directories and then use these values ++# in the FIND_PATH() and FIND_LIBRARY() calls ++find_package(PkgConfig) ++pkg_check_modules(PKG_Qt5EventDispatcherSupport QUIET Qt5Gui) ++ ++set(Qt5EventDispatcherSupport_DEFINITIONS ${PKG_Qt5EventDispatcherSupport_CFLAGS_OTHER}) ++set(Qt5EventDispatcherSupport_VERSION ${PKG_Qt5EventDispatcherSupport_VERSION}) ++ ++find_path(Qt5EventDispatcherSupport_INCLUDE_DIR ++ NAMES ++ QtEventDispatcherSupport/private/qunixeventdispatcher_qpa_p.h ++ HINTS ++ ${PKG_Qt5EventDispatcherSupport_INCLUDEDIR}/QtEventDispatcherSupport/${PKG_Qt5EventDispatcherSupport_VERSION}/ ++) ++find_library(Qt5EventDispatcherSupport_LIBRARY ++ NAMES ++ Qt5EventDispatcherSupport ++ HINTS ++ ${PKG_Qt5EventDispatcherSupport_LIBRARY_DIRS} ++) ++ ++include(FindPackageHandleStandardArgs) ++find_package_handle_standard_args(Qt5EventDispatcherSupport ++ FOUND_VAR ++ Qt5EventDispatcherSupport_FOUND ++ REQUIRED_VARS ++ Qt5EventDispatcherSupport_LIBRARY ++ Qt5EventDispatcherSupport_INCLUDE_DIR ++ VERSION_VAR ++ Qt5EventDispatcherSupport_VERSION ++) ++ ++if(Qt5EventDispatcherSupport_FOUND AND NOT TARGET Qt5EventDispatcherSupport::Qt5EventDispatcherSupport) ++ add_library(Qt5EventDispatcherSupport::Qt5EventDispatcherSupport UNKNOWN IMPORTED) ++ set_target_properties(Qt5EventDispatcherSupport::Qt5EventDispatcherSupport PROPERTIES ++ IMPORTED_LOCATION "${Qt5EventDispatcherSupport_LIBRARY}" ++ INTERFACE_COMPILE_OPTIONS "${Qt5EventDispatcherSupport_DEFINITIONS}" ++ INTERFACE_INCLUDE_DIRECTORIES "${Qt5EventDispatcherSupport_INCLUDE_DIR}" ++ ) ++endif() ++ ++mark_as_advanced(Qt5EventDispatcherSupport_LIBRARY Qt5EventDispatcherSupport_INCLUDE_DIR) ++ ++# compatibility variables ++set(Qt5EventDispatcherSupport_LIBRARIES ${Qt5EventDispatcherSupport_LIBRARY}) ++set(Qt5EventDispatcherSupport_INCLUDE_DIRS ${Qt5EventDispatcherSupport_INCLUDE_DIR}) ++set(Qt5EventDispatcherSupport_VERSION_STRING ${Qt5EventDispatcherSupport_VERSION}) ++ ++ ++include(FeatureSummary) ++set_package_properties(Qt5EventDispatcherSupport PROPERTIES ++ URL "http://www.qt.io" ++ DESCRIPTION "Qt EventDispatcherSupport module." ++) ++ +diff --git a/cmake/modules/FindQt5FontDatabaseSupport.cmake b/cmake/modules/FindQt5FontDatabaseSupport.cmake +new file mode 100644 +index 000000000..d3e66cd30 +--- /dev/null ++++ b/cmake/modules/FindQt5FontDatabaseSupport.cmake +@@ -0,0 +1,122 @@ ++#.rst: ++# FindQt5FontDatabaseSupport ++# ------- ++# ++# Try to find Qt5FontDatabaseSupport on a Unix system. ++# ++# This will define the following variables: ++# ++# ``Qt5FontDatabaseSupport_FOUND`` ++# True if (the requested version of) Qt5FontDatabaseSupport is available ++# ``Qt5FontDatabaseSupport_VERSION`` ++# The version of Qt5FontDatabaseSupport ++# ``Qt5FontDatabaseSupport_LIBRARIES`` ++# This can be passed to target_link_libraries() instead of the ``Qt5FontDatabaseSupport::Qt5FontDatabaseSupport`` ++# target ++# ``Qt5FontDatabaseSupport_INCLUDE_DIRS`` ++# This should be passed to target_include_directories() if the target is not ++# used for linking ++# ``Qt5FontDatabaseSupport_DEFINITIONS`` ++# This should be passed to target_compile_options() if the target is not ++# used for linking ++# ++# If ``Qt5FontDatabaseSupport_FOUND`` is TRUE, it will also define the following imported target: ++# ++# ``Qt5FontDatabaseSupport::Qt5FontDatabaseSupport`` ++# The Qt5FontDatabaseSupport library ++# ++# In general we recommend using the imported target, as it is easier to use. ++# Bear in mind, however, that if the target is in the link interface of an ++# exported library, it must be made available by the package config file. ++ ++#============================================================================= ++# Copyright 2014 Alex Merry <alex.merry@kde.org> ++# Copyright 2014 Martin Gräßlin <mgraesslin@kde.org> ++# Copyright 2016 Takahiro Hashimoto <kenya888@gmail.com> ++# ++# Redistribution and use in source and binary forms, with or without ++# modification, are permitted provided that the following conditions ++# are met: ++# ++# 1. Redistributions of source code must retain the copyright ++# notice, this list of conditions and the following disclaimer. ++# 2. Redistributions in binary form must reproduce the copyright ++# notice, this list of conditions and the following disclaimer in the ++# documentation and/or other materials provided with the distribution. ++# 3. The name of the author may not be used to endorse or promote products ++# derived from this software without specific prior written permission. ++# ++# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR ++# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES ++# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ++# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, ++# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT ++# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ++# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ++# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ++# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF ++# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ++#============================================================================= ++ ++if(CMAKE_VERSION VERSION_LESS 2.8.12) ++ message(FATAL_ERROR "CMake 2.8.12 is required by FindQt5FontDatabaseSupport.cmake") ++endif() ++if(CMAKE_MINIMUM_REQUIRED_VERSION VERSION_LESS 2.8.12) ++ message(AUTHOR_WARNING "Your project should require at least CMake 2.8.12 to use FindQt5FontDatabaseSupport.cmake") ++endif() ++ ++# Use pkg-config to get the directories and then use these values ++# in the FIND_PATH() and FIND_LIBRARY() calls ++find_package(PkgConfig) ++pkg_check_modules(PKG_Qt5FontDatabaseSupport QUIET Qt5Gui) ++ ++set(Qt5FontDatabaseSupport_DEFINITIONS ${PKG_Qt5FontDatabaseSupport_CFLAGS_OTHER}) ++set(Qt5FontDatabaseSupport_VERSION ${PKG_Qt5FontDatabaseSupport_VERSION}) ++ ++find_path(Qt5FontDatabaseSupport_INCLUDE_DIR ++ NAMES ++ QtFontDatabaseSupport/private/qfontconfigdatabase_p.h ++ HINTS ++ ${PKG_Qt5FontDatabaseSupport_INCLUDEDIR}/QtFontDatabaseSupport/${PKG_Qt5FontDatabaseSupport_VERSION}/ ++) ++find_library(Qt5FontDatabaseSupport_LIBRARY ++ NAMES ++ Qt5FontDatabaseSupport ++ HINTS ++ ${PKG_Qt5FontDatabaseSupport_LIBRARY_DIRS} ++) ++ ++include(FindPackageHandleStandardArgs) ++find_package_handle_standard_args(Qt5FontDatabaseSupport ++ FOUND_VAR ++ Qt5FontDatabaseSupport_FOUND ++ REQUIRED_VARS ++ Qt5FontDatabaseSupport_LIBRARY ++ Qt5FontDatabaseSupport_INCLUDE_DIR ++ VERSION_VAR ++ Qt5FontDatabaseSupport_VERSION ++) ++ ++if(Qt5FontDatabaseSupport_FOUND AND NOT TARGET Qt5FontDatabaseSupport::Qt5FontDatabaseSupport) ++ add_library(Qt5FontDatabaseSupport::Qt5FontDatabaseSupport UNKNOWN IMPORTED) ++ set_target_properties(Qt5FontDatabaseSupport::Qt5FontDatabaseSupport PROPERTIES ++ IMPORTED_LOCATION "${Qt5FontDatabaseSupport_LIBRARY}" ++ INTERFACE_COMPILE_OPTIONS "${Qt5FontDatabaseSupport_DEFINITIONS}" ++ INTERFACE_INCLUDE_DIRECTORIES "${Qt5FontDatabaseSupport_INCLUDE_DIR}" ++ ) ++endif() ++ ++mark_as_advanced(Qt5FontDatabaseSupport_LIBRARY Qt5FontDatabaseSupport_INCLUDE_DIR) ++ ++# compatibility variables ++set(Qt5FontDatabaseSupport_LIBRARIES ${Qt5FontDatabaseSupport_LIBRARY}) ++set(Qt5FontDatabaseSupport_INCLUDE_DIRS ${Qt5FontDatabaseSupport_INCLUDE_DIR}) ++set(Qt5FontDatabaseSupport_VERSION_STRING ${Qt5FontDatabaseSupport_VERSION}) ++ ++ ++include(FeatureSummary) ++set_package_properties(Qt5FontDatabaseSupport PROPERTIES ++ URL "http://www.qt.io" ++ DESCRIPTION "Qt FontDatabaseSupport module." ++) ++ +diff --git a/cmake/modules/FindQt5ThemeSupport.cmake b/cmake/modules/FindQt5ThemeSupport.cmake +new file mode 100644 +index 000000000..5588a7666 +--- /dev/null ++++ b/cmake/modules/FindQt5ThemeSupport.cmake +@@ -0,0 +1,122 @@ ++#.rst: ++# FindQt5ThemeSupport ++# ------- ++# ++# Try to find Qt5ThemeSupport on a Unix system. ++# ++# This will define the following variables: ++# ++# ``Qt5ThemeSupport_FOUND`` ++# True if (the requested version of) Qt5ThemeSupport is available ++# ``Qt5ThemeSupport_VERSION`` ++# The version of Qt5ThemeSupport ++# ``Qt5ThemeSupport_LIBRARIES`` ++# This can be passed to target_link_libraries() instead of the ``Qt5ThemeSupport::Qt5ThemeSupport`` ++# target ++# ``Qt5ThemeSupport_INCLUDE_DIRS`` ++# This should be passed to target_include_directories() if the target is not ++# used for linking ++# ``Qt5ThemeSupport_DEFINITIONS`` ++# This should be passed to target_compile_options() if the target is not ++# used for linking ++# ++# If ``Qt5ThemeSupport_FOUND`` is TRUE, it will also define the following imported target: ++# ++# ``Qt5ThemeSupport::Qt5ThemeSupport`` ++# The Qt5ThemeSupport library ++# ++# In general we recommend using the imported target, as it is easier to use. ++# Bear in mind, however, that if the target is in the link interface of an ++# exported library, it must be made available by the package config file. ++ ++#============================================================================= ++# Copyright 2014 Alex Merry <alex.merry@kde.org> ++# Copyright 2014 Martin Gräßlin <mgraesslin@kde.org> ++# Copyright 2016 Takahiro Hashimoto <kenya888@gmail.com> ++# ++# Redistribution and use in source and binary forms, with or without ++# modification, are permitted provided that the following conditions ++# are met: ++# ++# 1. Redistributions of source code must retain the copyright ++# notice, this list of conditions and the following disclaimer. ++# 2. Redistributions in binary form must reproduce the copyright ++# notice, this list of conditions and the following disclaimer in the ++# documentation and/or other materials provided with the distribution. ++# 3. The name of the author may not be used to endorse or promote products ++# derived from this software without specific prior written permission. ++# ++# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR ++# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES ++# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ++# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, ++# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT ++# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ++# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ++# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ++# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF ++# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ++#============================================================================= ++ ++if(CMAKE_VERSION VERSION_LESS 2.8.12) ++ message(FATAL_ERROR "CMake 2.8.12 is required by FindQt5ThemeSupport.cmake") ++endif() ++if(CMAKE_MINIMUM_REQUIRED_VERSION VERSION_LESS 2.8.12) ++ message(AUTHOR_WARNING "Your project should require at least CMake 2.8.12 to use FindQt5ThemeSupport.cmake") ++endif() ++ ++# Use pkg-config to get the directories and then use these values ++# in the FIND_PATH() and FIND_LIBRARY() calls ++find_package(PkgConfig) ++pkg_check_modules(PKG_Qt5ThemeSupport QUIET Qt5Gui) ++ ++set(Qt5ThemeSupport_DEFINITIONS ${PKG_Qt5ThemeSupport_CFLAGS_OTHER}) ++set(Qt5ThemeSupport_VERSION ${PKG_Qt5ThemeSupport_VERSION}) ++ ++find_path(Qt5ThemeSupport_INCLUDE_DIR ++ NAMES ++ QtThemeSupport/private/qgenericunixthemes_p.h ++ HINTS ++ ${PKG_Qt5ThemeSupport_INCLUDEDIR}/QtThemeSupport/${PKG_Qt5ThemeSupport_VERSION}/ ++) ++find_library(Qt5ThemeSupport_LIBRARY ++ NAMES ++ Qt5ThemeSupport ++ HINTS ++ ${PKG_Qt5ThemeSupport_LIBRARY_DIRS} ++) ++ ++include(FindPackageHandleStandardArgs) ++find_package_handle_standard_args(Qt5ThemeSupport ++ FOUND_VAR ++ Qt5ThemeSupport_FOUND ++ REQUIRED_VARS ++ Qt5ThemeSupport_LIBRARY ++ Qt5ThemeSupport_INCLUDE_DIR ++ VERSION_VAR ++ Qt5ThemeSupport_VERSION ++) ++ ++if(Qt5ThemeSupport_FOUND AND NOT TARGET Qt5ThemeSupport::Qt5ThemeSupport) ++ add_library(Qt5ThemeSupport::Qt5ThemeSupport UNKNOWN IMPORTED) ++ set_target_properties(Qt5ThemeSupport::Qt5ThemeSupport PROPERTIES ++ IMPORTED_LOCATION "${Qt5ThemeSupport_LIBRARY}" ++ INTERFACE_COMPILE_OPTIONS "${Qt5ThemeSupport_DEFINITIONS}" ++ INTERFACE_INCLUDE_DIRECTORIES "${Qt5ThemeSupport_INCLUDE_DIR}" ++ ) ++endif() ++ ++mark_as_advanced(Qt5ThemeSupport_LIBRARY Qt5ThemeSupport_INCLUDE_DIR) ++ ++# compatibility variables ++set(Qt5ThemeSupport_LIBRARIES ${Qt5ThemeSupport_LIBRARY}) ++set(Qt5ThemeSupport_INCLUDE_DIRS ${Qt5ThemeSupport_INCLUDE_DIR}) ++set(Qt5ThemeSupport_VERSION_STRING ${Qt5ThemeSupport_VERSION}) ++ ++ ++include(FeatureSummary) ++set_package_properties(Qt5ThemeSupport PROPERTIES ++ URL "http://www.qt.io" ++ DESCRIPTION "Qt ThemeSupport module." ++) ++ +diff --git a/plugins/qpa/CMakeLists.txt b/plugins/qpa/CMakeLists.txt +index 1a91a0ff1..4094ae7d2 100644 +--- a/plugins/qpa/CMakeLists.txt ++++ b/plugins/qpa/CMakeLists.txt +@@ -1,6 +1,5 @@ + include_directories(${Qt5Core_PRIVATE_INCLUDE_DIRS}) + include_directories(${Qt5Gui_PRIVATE_INCLUDE_DIRS}) +-add_definitions(-DQ_FONTCONFIGDATABASE) + + set(QPA_SOURCES + abstractplatformcontext.cpp +@@ -19,10 +18,22 @@ include(ECMQtDeclareLoggingCategory) + ecm_qt_declare_logging_category(QPA_SOURCES HEADER logging.h IDENTIFIER KWIN_QPA CATEGORY_NAME kwin_qpa_plugin DEFAULT_SEVERITY Critical) + + add_library(KWinQpaPlugin MODULE ${QPA_SOURCES}) ++ ++if(Qt5Core_VERSION VERSION_LESS "5.8.0") ++ add_definitions(-DQ_FONTCONFIGDATABASE) ++ set(QT5PLATFORMSUPPORT_LIBS Qt5PlatformSupport::Qt5PlatformSupport) ++else() ++ set(QT5PLATFORMSUPPORT_LIBS ++ Qt5FontDatabaseSupport::Qt5FontDatabaseSupport ++ Qt5ThemeSupport::Qt5ThemeSupport ++ Qt5EventDispatcherSupport::Qt5EventDispatcherSupport ++) ++endif() ++ + target_link_libraries(KWinQpaPlugin + kwin + KF5::WaylandClient +- Qt5PlatformSupport::Qt5PlatformSupport ++ ${QT5PLATFORMSUPPORT_LIBS} + ${FONTCONFIG_LIBRARIES} + ${FREETYPE_LIBRARIES} + ) +diff --git a/plugins/qpa/integration.cpp b/plugins/qpa/integration.cpp +index 8913bf0a1..fcca48f79 100644 +--- a/plugins/qpa/integration.cpp ++++ b/plugins/qpa/integration.cpp +@@ -46,9 +46,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. + #include <qpa/qplatforminputcontextfactory_p.h> + #include <qpa/qwindowsysteminterface.h> + #include <QtCore/private/qeventdispatcher_unix_p.h> ++ ++#if QT_VERSION >= 0x050800 ++#include <QtFontDatabaseSupport/private/qgenericunixfontdatabase_p.h> ++#include <QtThemeSupport/private/qgenericunixthemes_p.h> ++#include <QtEventDispatcherSupport/private/qunixeventdispatcher_qpa_p.h> ++#else + #include <QtPlatformSupport/private/qgenericunixfontdatabase_p.h> + #include <QtPlatformSupport/private/qgenericunixthemes_p.h> + #include <QtPlatformSupport/private/qunixeventdispatcher_qpa_p.h> ++#endif + + namespace KWin + { diff --git a/user/kwindowsystem/APKBUILD b/user/kwindowsystem/APKBUILD new file mode 100644 index 000000000..7a5a2e4fd --- /dev/null +++ b/user/kwindowsystem/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kwindowsystem +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Framework for introspecting the running X11 window manager" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +options="!check" # Requires X11 running +depends="" +depends_dev="qt5-qtbase-dev libx11-dev libxcb-dev xcb-util-keysyms-dev + qt5-qtx11extras-dev libxrender-dev" +makedepends="$depends_dev cmake extra-cmake-modules qt5-qttools-dev" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/kwindowsystem-$pkgver.tar.xz" +builddir="$srcdir/kwindowsystem-$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="9d04b618491cb6675016038168d01a43b1023a65439132b5290080f30997034823c5af536e7f86ccc0be1bbc1e7a73c309bfa3a8eb6f1a4ef7c2ce392c8d5624 kwindowsystem-5.38.0.tar.xz" diff --git a/user/kxmlgui/APKBUILD b/user/kxmlgui/APKBUILD new file mode 100644 index 000000000..4067a42aa --- /dev/null +++ b/user/kxmlgui/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kxmlgui +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Framework for creating user interfaces using XML" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +options="!check" # Test suite requires OpenGL-accelerated X11 session +depends="" +depends_dev="qt5-qtbase-dev kcoreaddons-dev kitemviews-dev kconfig-dev + kconfigwidgets-dev kiconthemes-dev ktextwidgets-dev kglobalaccel-dev + attica-dev" +makedepends="$depends_dev cmake extra-cmake-modules" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/kxmlgui-$pkgver.tar.xz" +builddir="$srcdir/kxmlgui-$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="b49a217df51d7b9c56e2d034b2329c0506cc9487474ba05070a8988753a647adb6fc692a14239d0e2e3e0c4160bd66406ec1198bb78aee6ba4bdf72910eaf6c2 kxmlgui-5.38.0.tar.xz" diff --git a/user/kxmlrpcclient/APKBUILD b/user/kxmlrpcclient/APKBUILD new file mode 100644 index 000000000..88b40e0e2 --- /dev/null +++ b/user/kxmlrpcclient/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kxmlrpcclient +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Qt library for writing XML-RPC clients" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev ki18n-dev kio-dev" +makedepends="$depends_dev cmake extra-cmake-modules python3 gettext-dev + doxygen graphviz qt5-qttools-dev" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/kxmlrpcclient-$pkgver.tar.xz" +builddir="$srcdir/kxmlrpcclient-$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" \ + -DBUILD_QCH:BOOL=ON \ + ${CMAKE_CROSSOPTS} + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="c8ee2bbe1547ee153197742b1069ca1113c591bd9d9560618e7083fba8af60d1877e8c822923158dc14789ed95a903486e5d5b291862948acc796b29a4764b49 kxmlrpcclient-5.38.0.tar.xz" diff --git a/user/libkscreen/APKBUILD b/user/libkscreen/APKBUILD new file mode 100644 index 000000000..f90541eda --- /dev/null +++ b/user/libkscreen/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=libkscreen +pkgver=5.8.7 +pkgrel=0 +pkgdesc="KDE Plasma screen management software" +url="https://www.kde.org/" +arch="all" +license="GPL-2.0" +options="!check" # Requires dbus-x11 and both of them running +depends="" +depends_dev="qt5-qtbase-dev qt5-qtx11extras-dev kwayland-dev" +makedepends="$depends_dev cmake extra-cmake-modules" +install="" +subpackages="$pkgname-dev" +source="http://download.kde.org/stable/plasma/$pkgver/libkscreen-$pkgver.tar.xz" +builddir="$srcdir/libkscreen-$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="194f6b1cb5abb38f5c4fc425546652e31f8b0b0a0ae6e3d657c98095df13f383258f0e16c74b5add0935158c1affd27b21ae76cf7b951801f4250f6dc527006e libkscreen-5.8.7.tar.xz" diff --git a/user/libksysguard/APKBUILD b/user/libksysguard/APKBUILD new file mode 100644 index 000000000..ac86a6684 --- /dev/null +++ b/user/libksysguard/APKBUILD @@ -0,0 +1,48 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=libksysguard +pkgver=5.8.7 +pkgrel=0 +pkgdesc="KDE system monitor library" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +options="!check" # Test requires accelerated X11 session +depends="" +depends_dev="qt5-qtbase-dev qt5-qtscript-dev kcoreaddons-dev kconfig-dev + ki18n-dev kwindowsystem-dev kcompletion-dev kauth-dev kwidgetsaddons-dev + kiconthemes-dev kconfigwidgets-dev kservice-dev plasma-framework-dev" +makedepends="$depends_dev cmake extra-cmake-modules python3 gettext-dev + libx11-dev zlib-dev" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="https://download.kde.org/Attic/plasma/$pkgver/libksysguard-$pkgver.tar.xz" +builddir="$srcdir/libksysguard-$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="a2b29e548e76d73814b4775343449ca84d48c53967830eb2c96064f385e83ec800e50bff172868d381f24c790a13aef90e5745ba0d545e50a2fd4c040b5d9749 libksysguard-5.8.7.tar.xz" diff --git a/user/mac-fdisk/APKBUILD b/user/mac-fdisk/APKBUILD new file mode 100644 index 000000000..213f1b7b9 --- /dev/null +++ b/user/mac-fdisk/APKBUILD @@ -0,0 +1,52 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=mac-fdisk +pkgver=0.1.16 +_pkgver=0.1 +pkgrel=0 +pkgdesc="68K and PowerPC fixed disk partitioning utility" +url="https://adelielinux.org/" +arch="all" +license="GPL-2.0" +options="!check" # No test suite. +depends="" +makedepends="linux-headers" +subpackages="$pkgname-doc" +source="https://distfiles.adelielinux.org/source/mac-fdisk_0.1.orig.tar.gz + mac-fdisk-0.1-debian.patch + mac-fdisk-0.1-headers.patch + mac-fdisk-0.1_p16-ppc64.patch + mac-fdisk-0.1_p16-proper-inline.patch + mac-fdisk-amd64.patch + mac-fdisk-fdisk-header-musl.patch + mac-fdisk-large-disk-support.patch + mac-fdisk-largerthan2gb.patch + mac-fdisk-non-glibc-support.patch" +builddir="$srcdir/$pkgname-$_pkgver.orig" + +build() { + cd "$builddir" + make CFLAGS="-D_GNU_SOURCE" +} + +package() { + cd "$builddir" + mkdir -p "$pkgdir"/sbin + make DESTDIR="$pkgdir" install + + install -D -m644 "$builddir"/mac-fdisk.8.in \ + "$pkgdir"/usr/share/man/man8/mac-fdisk.8 + install -m644 "$builddir"/pmac-fdisk.8.in \ + "$pkgdir"/usr/share/man/man8/pmac-fdisk.8 +} + +sha512sums="1263e60a18111162f5ef439b5f9615cef9de94e7836cb998782a6e6d3bcf92a69e49566b33c7330bdea05de5e6ca83f7920c6707f342ce515440160695f07120 mac-fdisk_0.1.orig.tar.gz +64261af8f98ccae559d070545ad2bd1e09dd4538e6646913ffa9030a4594667498bf430896971a9de8116e445c698368eecaa9be77e44d539f1935af45eb461a mac-fdisk-0.1-debian.patch +7d16300c02b293de87101e3ef83a8b7778d15123c261d562f0129704b74d0c3d7ca18730c52d37b599ff57c0b70dacd41aeefe99cf235aea4abd4b569e3d601e mac-fdisk-0.1-headers.patch +e521009d628934fe3925085c941d2bb3fba9c3322ccaaa6dd650ecbc6b990056f9bf186adb3a645dc8593efdb44611b69a7b6bf4e87d262870bbb515581e0ef3 mac-fdisk-0.1_p16-ppc64.patch +73b28195539a3e71b37e955f5f1e5cdc566ecf1c43a235b7689df235d84dec9d3807d3b5b49a506f758d7a1ff528388052bebfea58916381f2f0045eee350bac mac-fdisk-0.1_p16-proper-inline.patch +241576f64dd334f98e8c9cb9e0b17b6366e208f2d0af47ddb4659cf2d8e25ca8f44a84d1f7fa2e5f6215f4be42668f43f034074ac981a0d87ca8483505a3623c mac-fdisk-amd64.patch +d558d66fb91d845e09cca7c3832d2ec078581ed09574fb38d9476f0417901794ae70e4a284379977a5c50599ce9570da8359e321de91f9f77263601c090e501d mac-fdisk-fdisk-header-musl.patch +c9abc952f1ce618b085a134145fa99efa9c10b55f3fa773fb6b74a66468537bc3567ec632fe6e464c5158383135c858c171d8d94d7142d38beff39a17e31187a mac-fdisk-large-disk-support.patch +b5988eb6aa64324421398461396b0fdd0b55d7643094c042bea7264ec0f9913e8a793f3f550c15928419e697a14f2932f483c4b98a54618af99b35aa7ceae757 mac-fdisk-largerthan2gb.patch +f9d988ae693707b7b9bcf3cbaba4f65d1337c85e733209b146154bca4246021d2277824cc4766d66e9594d9fac49c0c0216f14c24511b6ad5104ac0833d9975b mac-fdisk-non-glibc-support.patch" diff --git a/user/mac-fdisk/mac-fdisk-0.1-debian.patch b/user/mac-fdisk/mac-fdisk-0.1-debian.patch new file mode 100644 index 000000000..73a31354b --- /dev/null +++ b/user/mac-fdisk/mac-fdisk-0.1-debian.patch @@ -0,0 +1,1470 @@ +--- mac-fdisk-0.1.orig/dpme.h ++++ mac-fdisk-0.1/dpme.h +@@ -61,7 +61,7 @@ + // + typedef unsigned char u8; + typedef unsigned short u16; +-typedef unsigned long u32; ++typedef unsigned int u32; + + + // Physical block zero of the disk has this format +@@ -113,10 +113,17 @@ + #endif + u32 dpme_boot_block ; + u32 dpme_boot_bytes ; ++#ifdef __linux__ ++ u32 dpme_load_addr ; ++ u32 dpme_load_addr_2 ; ++ u32 dpme_goto_addr ; ++ u32 dpme_goto_addr_2 ; ++#else + u8 *dpme_load_addr ; + u8 *dpme_load_addr_2 ; + u8 *dpme_goto_addr ; + u8 *dpme_goto_addr_2 ; ++#endif + u32 dpme_checksum ; + char dpme_process_id[16] ; + u32 dpme_boot_args[32] ; +@@ -124,6 +131,7 @@ + }; + typedef struct dpme DPME; + ++#define dpme_automount_set(p, v) bitfield_set(&p->dpme_flags, 30, 1, v) /* MSch */ + #define dpme_os_specific_1_set(p, v) bitfield_set(&p->dpme_flags, 8, 1, v) + #define dpme_os_specific_2_set(p, v) bitfield_set(&p->dpme_flags, 7, 1, v) + #define dpme_os_pic_code_set(p, v) bitfield_set(&p->dpme_flags, 6, 1, v) +@@ -134,6 +142,7 @@ + #define dpme_allocated_set(p, v) bitfield_set(&p->dpme_flags, 1, 1, v) + #define dpme_valid_set(p, v) bitfield_set(&p->dpme_flags, 0, 1, v) + ++#define dpme_automount_get(p) bitfield_get(p->dpme_flags, 30, 1) /* MSch */ + #define dpme_os_specific_1_get(p) bitfield_get(p->dpme_flags, 8, 1) + #define dpme_os_specific_2_get(p) bitfield_get(p->dpme_flags, 7, 1) + #define dpme_os_pic_code_get(p) bitfield_get(p->dpme_flags, 6, 1) +--- mac-fdisk-0.1.orig/pdisk.c ++++ mac-fdisk-0.1/pdisk.c +@@ -30,18 +30,17 @@ + #include <stdio.h> + #ifdef __linux__ + #include <getopt.h> ++#include <stddef.h> + #else + #include <stdlib.h> + #include <unistd.h> + #include <SIOUX.h> + #endif +-#include <string.h> + #include <errno.h> + + #ifdef __linux__ + #include <sys/ioctl.h> +-#include <linux/fs.h> +-#include <linux/hdreg.h> ++#include "kernel-defs.h" + #endif + + #include "pdisk.h" +@@ -94,6 +93,7 @@ + void do_add_intel_partition(partition_map_header *map); + void do_change_map_size(partition_map_header *map); + void do_create_partition(partition_map_header *map, int get_type); ++void do_create_bootstrap_partition(partition_map_header *map); + void do_delete_partition(partition_map_header *map); + int do_expert(partition_map_header *map); + void do_reorder(partition_map_header *map); +@@ -114,6 +114,7 @@ + main(int argc, char **argv) + { + int name_index; ++ int err=0; + + if (sizeof(DPME) != PBLOCK_SIZE) { + fatal(-1, "Size of partion map entry (%d) " +@@ -150,7 +151,9 @@ + } else if (!vflag) { + usage("no device argument"); + do_help(); ++ err=-EINVAL; // debatable + } ++ exit(err); + } + #else + main() +@@ -351,7 +354,8 @@ + printf(" P (print ordered by base address)\n"); + printf(" i initialize partition map\n"); + printf(" s change size of partition map\n"); +- printf(" c create new partition\n"); ++ printf(" b create new 800K bootstrap partition\n"); ++ printf(" c create new Linux partition\n"); + printf(" C (create with type also specified)\n"); + printf(" d delete a partition\n"); + printf(" r reorder partition entry in map\n"); +@@ -378,6 +382,10 @@ + case 'i': + map = init_partition_map(name, map); + break; ++ case 'B': ++ case 'b': ++ do_create_bootstrap_partition(map); ++ break; + case 'C': + get_type = 1; + // fall through +@@ -471,6 +479,30 @@ + } + + ++void ++do_create_bootstrap_partition(partition_map_header *map) ++{ ++ long base; ++ ++ if (map == NULL) { ++ bad_input("No partition map exists"); ++ return; ++ } ++ ++ if (!rflag && map->writeable == 0) { ++ printf("The map is not writeable.\n"); ++ } ++ ++ // XXX add help feature (i.e. '?' in any argument routine prints help string) ++ if (get_base_argument(&base, map) == 0) { ++ return; ++ } ++ ++ // create 800K type Apple_Bootstrap partition named `bootstrap' ++ add_partition_to_map(kBootstrapName, kBootstrapType, base, 1600, map); ++} ++ ++ + int + get_base_argument(long *number, partition_map_header *map) + { +@@ -508,7 +540,7 @@ + int result = 0; + long multiple; + +- if (get_number_argument("Length in blocks: ", number, kDefault) == 0) { ++ if (get_number_argument("Length (in blocks, kB (k), MB (M) or GB (G)): ", number, kDefault) == 0) { + bad_input("Bad length"); + } else { + result = 1; +@@ -605,13 +637,22 @@ + bad_input("The map is not writeable."); + return; + } +- printf("Writing the map destroys what was there before. "); +- if (get_okay("Is that okay? [n/y]: ", 0) != 1) { ++// printf("Writing the map destroys what was there before. "); ++ printf("IMPORTANT: You are about to write a changed partition map to disk. \n"); ++ printf("For any partition you changed the start or size of, writing out \n"); ++ printf("the map causes all data on that partition to be LOST FOREVER. \n"); ++ printf("Make sure you have a backup of any data on such partitions you \n"); ++ printf("want to keep before answering 'yes' to the question below! \n\n"); ++ if (get_okay("Write partition map? [n/y]: ", 0) != 1) { + return; + } + + write_partition_map(map); + ++ printf("\nPartition map written to disk. If any partitions on this disk \n"); ++ printf("were still in use by the system (see messages above), you will need \n"); ++ printf("to reboot in order to utilize the new partition map.\n\n"); ++ + // exit(0); + } + +--- mac-fdisk-0.1.orig/pmac-fdisk.8.in ++++ mac-fdisk-0.1/pmac-fdisk.8.in +@@ -0,0 +1,222 @@ ++.\" Copyright 1992, 1993 Rickard E. Faith (faith@cs.unc.edu) ++.\" Copyright 1998 Andries E. Brouwer (aeb@cwi.nl) ++.\" Copyright 2000 Michael Schmitz (schmitz@biophys.uni-duesseldorf.de) ++.\" May be distributed under the GNU General Public License ++.TH PMAC-FDISK 8 "11 June 1998" "Linux 2.0" "Linux Programmer's Manual" ++.SH NAME ++pmac-fdisk \- Partition table manipulator for Linux ++.SH SYNOPSIS ++.BI "pmac-fdisk [\-u] " device ++.sp ++.BI "pmac-fdisk \-l [\-u] " "device ..." ++.sp ++.BI "pmac-fdisk \-s " "partition ..." ++.sp ++.BI "pmac-fdisk \-v ++.SH DESCRIPTION ++Hard disks can be divided into one or more logical disks called ++.IR partitions . ++This division is described in the ++.I "partition table" ++found in sector 0 of the disk. ++ ++In the BSD world one talks about `disk slices' and a `disklabel'. ++ ++Linux needs at least one partition, namely for its root file system. ++It can use swap files and/or swap partitions, but the latter are more ++efficient. So, usually one will want a second Linux partition ++dedicated as swap partition. ++On Intel compatible hardware, the BIOS that boots the system ++can often only access the first 1024 cylinders of the disk. ++For this reason people with large disks often create a third partition, ++just a few MB large, typically mounted on ++.IR /boot , ++to store the kernel image and a few auxiliary files needed at boot time, ++so as to make sure that this stuff is accessible to the BIOS. ++There may be reasons of security, ease of administration and backup, ++or testing, to use more than the minimum number of partitions. ++ ++.B pmac-fdisk ++(in the first form of invocation) ++is a menu driven program for creation and manipulation of ++partition tables. ++It understands DOS type partition tables and BSD or SUN type disklabels. ++ ++The ++.I device ++is usually one of the following: ++.br ++.nf ++.RS ++/dev/hda ++/dev/hdb ++/dev/sda ++/dev/sdb ++.RE ++.fi ++(/dev/hd[a-h] for IDE disks, /dev/sd[a-p] for SCSI disks). ++A device name refers to the entire disk. ++ ++The ++.I partition ++is a ++.I device ++name followed by a partition number. For example, ++.B /dev/hda1 ++is the first partition on the first IDE hard disk in the system. ++IDE disks can have up to 63 partitions, SCSI disks up to 15. ++See also ++.IR /usr/src/linux/Documentation/devices.txt . ++ ++A BSD/SUN type disklabel can describe 8 partitions, ++the third of which should be a `whole disk' partition. ++Do not start a partition that actually uses its first sector ++(like a swap partition) at cylinder 0, since that will ++destroy the disklabel. ++ ++An IRIX/SGI type disklabel can describe 16 partitions, ++the eleventh of which should be an entire `volume' partition, ++while the ninth should be labeled `volume header'. ++The volume header will also cover the partition table, i.e., ++it starts at block zero and extends by default over five cylinders. ++The remaining space in the volume header may be used by header ++directory entries. No partitions may overlap with the volume header. ++Also do not change its type and make some file system on it, since ++you will lose the partition table. Use this type of label only when ++working with Linux on IRIX/SGI machines or IRIX/SGI disks under Linux. ++ ++A DOS type partition table can describe an unlimited number ++of partitions. In sector 0 there is room for the description ++of 4 partitions (called `primary'). One of these may be an ++extended partition; this is a box holding logical partitions, ++with descriptors found in a linked list of sectors, each ++preceding the corresponding logical partitions. ++The four primary partitions, present or not, get numbers 1-4. ++Logical partitions start numbering from 5. ++ ++In a DOS type partition table the starting offset and the size ++of each partition is stored in two ways: as an absolute number ++of sectors (given in 32 bits) and as a Cylinders/Heads/Sectors ++triple (given in 10+8+6 bits). The former is OK - with 512-byte ++sectors this will work up to 2 TB. The latter has two different ++problems. First of all, these C/H/S fields can be filled only ++when the number of heads and the number of sectors per track ++are known. Secondly, even if we know what these numbers should be, ++the 24 bits that are available do not suffice. ++DOS uses C/H/S only, Windows uses both, Linux never uses C/H/S. ++ ++If possible, ++.B pmac-fdisk ++will obtain the disk geometry automatically. This is not ++necessarily the physical disk geometry (indeed, modern disks do not ++really have anything like a physical geometry, certainly not something ++that can be described in simplistic Cylinders/Heads/Sectors form), ++but is the disk geometry that MS-DOS uses for the partition table. ++ ++Usually all goes well by default, and there are no problems if ++Linux is the only system on the disk. However, if the disk has ++to be shared with other operating systems, it is often a good idea ++to let an fdisk from another operating system make at least one ++partition. When Linux boots it looks at the partition table, and ++tries to deduce what (fake) geometry is required for good ++cooperation with other systems. ++ ++Whenever a partition table is printed out, a consistency check is performed ++on the partition table entries. This check verifies that the physical and ++logical start and end points are identical, and that the partition starts ++and ends on a cylinder boundary (except for the first partition). ++ ++Some versions of MS-DOS create a first partition which does not begin ++on a cylinder boundary, but on sector 2 of the first cylinder. ++Partitions beginning in cylinder 1 cannot begin on a cylinder boundary, but ++this is unlikely to cause difficulty unless you have OS/2 on your machine. ++ ++A sync() and a BLKRRPART ioctl() (reread partition table from disk) ++are performed before exiting when the partition table has been updated. ++Long ago it used to be necessary to reboot after the use of pmac-fdisk. ++I do not think this is the case anymore - indeed, rebooting too quickly ++might cause loss of not-yet-written data. Note that both the kernel ++and the disk hardware may buffer data. ++ ++.SH "DOS 6.x WARNING" ++ ++The DOS 6.x FORMAT command looks for some information in the first ++sector of the data area of the partition, and treats this information ++as more reliable than the information in the partition table. DOS ++FORMAT expects DOS FDISK to clear the first 512 bytes of the data area ++of a partition whenever a size change occurs. DOS FORMAT will look at ++this extra information even if the /U flag is given -- we consider ++this a bug in DOS FORMAT and DOS FDISK. ++ ++The bottom line is that if you use pmac-fdisk to change the size of a ++DOS partition table entry, then you must also use ++.B dd ++to zero the first 512 bytes of that partition before using DOS FORMAT to ++format the partition. For example, if you were using pmac-fdisk to make a ++DOS partition table entry for /dev/hda1, then (after exiting pmac-fdisk ++and rebooting Linux so that the partition table information is valid) you ++would use the command "dd if=/dev/zero of=/dev/hda1 bs=512 count=1" to zero ++the first 512 bytes of the partition. ++ ++.B BE EXTREMELY CAREFUL ++if you use the ++.B dd ++command, since a small typo can make all of the data on your disk useless. ++ ++For best results, you should always use an OS-specific partition table ++program. For example, you should make DOS partitions with the DOS FDISK ++program and Linux partitions with the Linux pmac-fdisk program. ++ ++.SH OPTIONS ++.TP ++.B \-v ++Print version number of ++.B pmac-fdisk ++program and exit. ++.TP ++.B \-l ++List the partition tables for ++.BR /dev/hd[a-d] , ++.BR /dev/sd[a-h] , ++and then exit. ++.TP ++.B \-u ++When listing partition tables, give sizes in sectors instead ++of cylinders. ++.TP ++.BI "\-s " partition ++The ++.I size ++of the partition (in blocks) is printed on the standard output. ++.SH BUGS ++There are several *fdisk programs around. ++Each has its problems and strengths. ++Try them in the order ++.BR cfdisk , ++.BR pmac-fdisk , ++.BR sfdisk . ++(Indeed, ++.B cfdisk ++is a beautiful program that has strict requirements on ++the partition tables it accepts, and produces high quality partition ++tables. Use it if you can. ++.B pmac-fdisk ++is a buggy program that does fuzzy things - usually it happens to ++produce reasonable results. Its single advantage is that it has ++some support for BSD disk labels and other non-DOS partition tables. ++Avoid it if you can. ++.B sfdisk ++is for hackers only - the user interface is terrible, but it is ++more correct than pmac-fdisk and more powerful than both pmac-fdisk and cfdisk. ++Moreover, it can be used noninteractively.) ++.PP ++The IRIX/SGI type disklabel is currently not supported by the kernel. ++Moreover, IRIX/SGI header directories are not fully supported yet. ++.PP ++The option `dump partition table to file' is missing. ++.\" .SH AUTHORS ++.\" A. V. Le Blanc (LeBlanc@mcc.ac.uk) ++.\" Bernhard Fastenrath (fasten@informatik.uni-bonn.de) ++.\" Jakub Jelinek (jj@sunsite.mff.cuni.cz) ++.\" Andreas Neuper (ANeuper@GUUG.de) ++.\" and many others. +--- mac-fdisk-0.1.orig/fdisklabel.h ++++ mac-fdisk-0.1/fdisklabel.h +@@ -52,6 +52,12 @@ + #define BSD_LABELOFFSET 0 + #define BSD_BBSIZE 0 + #define BSD_SBSIZE 0 ++#elif defined (__mc68000__) ++/* LABELSECTOR, LABELOFFSET, BBSIZE & SBSIZE are undefined for __powerpc__ */ ++#define BSD_LABELSECTOR 0 ++#define BSD_LABELOFFSET 0 ++#define BSD_BBSIZE 0 ++#define BSD_SBSIZE 0 + #else + #error unknown architecture + #endif +--- mac-fdisk-0.1.orig/fdisk.c ++++ mac-fdisk-0.1/fdisk.c +@@ -62,7 +62,6 @@ + #include <unistd.h> + #include <stdio.h> + #include <stdlib.h> +-#include <string.h> + #include <fcntl.h> + #include <ctype.h> + #include <setjmp.h> +@@ -71,9 +70,9 @@ + + #include <sys/ioctl.h> + +-#include <linux/genhd.h> +-#include <linux/hdreg.h> +-#include <linux/fs.h> ++typedef unsigned short kdev_t; /* BAD hack; kdev_t is not exported */ ++ ++#include "kernel-defs.h" + + #include "fdisk.h" + +@@ -428,7 +427,7 @@ + offsets[partitions] = extended_offset + SWAP32(p->start_sect); + if (!extended_offset) + extended_offset = SWAP32(p->start_sect); +- if (llseek(fd, (loff_t)offsets[partitions] ++ if (lseek64(fd, (loff_t)offsets[partitions] + * SECTOR_SIZE, SEEK_SET) < 0) + fatal(unable_to_seek); + if (!(buffers[partitions] = (char *) malloc(SECTOR_SIZE))) +@@ -438,14 +437,14 @@ + part_table[partitions] = ext_pointers[partitions] = NULL; + q = p = offset(buffers[partitions], 0); + for (i = 0; i < 4; i++, p++) { +- if (p->sys_ind == EXTENDED) ++ if (p->sys_ind == EXTENDED) { + if (ext_pointers[partitions]) + fprintf(stderr, "Warning: extra link " + "pointer in partition table " + "%d\n", partitions + 1); + else + ext_pointers[partitions] = p; +- else if (p->sys_ind) ++ } else if (p->sys_ind) { + if (part_table[partitions]) + fprintf(stderr, + "Warning: ignoring extra data " +@@ -453,15 +452,18 @@ + partitions + 1); + else + part_table[partitions] = p; ++ } + } +- if (!part_table[partitions]) ++ if (!part_table[partitions]) { + if (q != ext_pointers[partitions]) + part_table[partitions] = q; + else part_table[partitions] = q + 1; +- if (!ext_pointers[partitions]) ++ } ++ if (!ext_pointers[partitions]) { + if (q != part_table[partitions]) + ext_pointers[partitions] = q; + else ext_pointers[partitions] = q + 1; ++ } + p = ext_pointers[partitions++]; + } + } +@@ -497,11 +499,12 @@ + warn_geometry(); + + for (i = 0; i < 4; i++) +- if(part_table[i]->sys_ind == EXTENDED) ++ if(part_table[i]->sys_ind == EXTENDED) { + if (partitions != 4) + fprintf(stderr, "Ignoring extra extended " + "partition %d\n", i + 1); + else read_extended(part_table[ext_index = i]); ++ } + + for (i = 3; i < partitions; i++) + if (SWAP16(*table_check(buffers[i])) != PART_TABLE_FLAG) { +@@ -621,6 +624,7 @@ + case lower: i += low; break; + case upper: i += high; break; + case deflt: i += dflt; break; ++ default: break; + } + } + else +@@ -844,12 +848,12 @@ + return; /* do not check extended partitions */ + + /* physical beginning c, h, s */ +- pbc = p->cyl & 0xff | (p->sector << 2) & 0x300; ++ pbc = (p->cyl & 0xff) | ((p->sector << 2) & 0x300); + pbh = p->head; + pbs = p->sector & 0x3f; + + /* physical ending c, h, s */ +- pec = p->end_cyl & 0xff | (p->end_sector << 2) & 0x300; ++ pec = (p->end_cyl & 0xff) | ((p->end_sector << 2) & 0x300); + peh = p->end_head; + pes = p->end_sector & 0x3f; + +@@ -941,7 +945,7 @@ + disk_device, heads, sectors, cylinders); + printf("Nr AF Hd Sec Cyl Hd Sec Cyl Start Size ID\n"); + for (i = 0 ; i < partitions; i++) +- if (p = q[i]) { ++ if ((p = q[i])) { + printf("%2d %02x%4d%4d%5d%4d%4d%5d%8d%8d %02x\n", + i + 1, p->boot_ind, p->head, + sector(p->sector), +@@ -1026,7 +1030,7 @@ + last[i]); + total += last[i] + 1 - first[i]; + for (j = 0; j < i; j++) +- if (first[i] >= first[j] && first[i] <= last[j] ++ if ((first[i] >= first[j] && first[i] <= last[j]) + || (last[i] <= last[j] && + last[i] >= first[j])) { + printf("Warning: partition %d overlaps " +@@ -1060,11 +1064,11 @@ + if (total > heads * sectors * cylinders) + printf("Total allocated sectors %d greater than the maximum " + "%d\n", total, heads * sectors * cylinders); +- else if (total = heads * sectors * cylinders - total) ++ else if ((total = heads * sectors * cylinders - total)) + printf("%d unallocated sectors\n", total); + } + +-void add_partition(int n, int sys) ++static void add_partition(int n, int sys) + { + char mesg[48]; + int i, read = 0; +@@ -1100,11 +1104,12 @@ + for (i = 0; i < partitions; i++) { + if (start == offsets[i]) + start += sector_offset; +- if (start >= first[i] && start <= last[i]) ++ if (start >= first[i] && start <= last[i]) { + if (n < 4) + start = last[i] + 1; + else + start = last[i] + sector_offset; ++ } + } + if (start > limit) + break; +@@ -1249,7 +1254,7 @@ + for (i = 3; i < partitions; i++) + if (changed[i]) { + *table_check(buffers[i]) = SWAP16(PART_TABLE_FLAG); +- if (llseek(fd, (loff_t)offsets[i] ++ if (lseek64(fd, (loff_t)offsets[i] + * SECTOR_SIZE, SEEK_SET) < 0) + fatal(unable_to_seek); + if (write(fd, buffers[i], SECTOR_SIZE) != SECTOR_SIZE) +@@ -1262,7 +1267,7 @@ + "(Reboot to ensure the partition table has been updated.)\n"); + sync(); + sleep(2); +- if (i = ioctl(fd, BLKRRPART)) { ++ if ((i = ioctl(fd, BLKRRPART))) { + error = errno; + } else { + /* some kernel versions (1.2.x) seem to have trouble +@@ -1270,7 +1275,7 @@ + twice, the second time works. - biro@yggdrasil.com */ + sync(); + sleep(2); +- if(i = ioctl(fd, BLKRRPART)) ++ if((i = ioctl(fd, BLKRRPART))) + error = errno; + } + +@@ -1391,7 +1396,7 @@ + void try(char *device) + { + disk_device = device; +- if (!setjmp(listingbuf)) ++ if (!setjmp(listingbuf)) { + if ((fd = open(disk_device, type_open)) >= 0) { + close(fd); + get_boot(); +@@ -1407,6 +1412,7 @@ + exit(1); + } + } ++ } + } + + void main(int argc, char **argv) +--- mac-fdisk-0.1.orig/dump.c ++++ mac-fdisk-0.1/dump.c +@@ -3,7 +3,11 @@ + // + // Written by Eryk Vershen (eryk@apple.com) + // +- ++/* ++ * Linux/m68k version by Christiaan Welvaart ++ * minor fixes and glibc change by Michael Schmitz ++ */ ++ + /* + * Copyright 1996,1997 by Apple Computer, Inc. + * All Rights Reserved +@@ -60,6 +64,7 @@ + // + NAMES plist[] = { + "Drvr", "Apple_Driver", ++ "Dr43", "Apple_Driver43", + "Free", "Apple_Free", + " HFS", "Apple_HFS", + " MFS", "Apple_MFS", +@@ -83,7 +88,7 @@ + // Forward declarations + // + void dump_block_zero(partition_map_header *map); +-void dump_partition_entry(partition_map *entry, int digits); ++void dump_partition_entry(partition_map *entry, int digits, char *dev); + + + // +@@ -119,6 +124,7 @@ + } + printf("\nBlock size=%u, Number of Blocks=%u\n", + p->sbBlkSize, p->sbBlkCount); ++#ifndef __mc68000__ + printf("DeviceType=0x%x, DeviceId=0x%x\n", + p->sbDevType, p->sbDevId); + if (p->sbDrvrCount > 0) { +@@ -130,6 +136,7 @@ + } + } + printf("\n"); ++#endif + } + + +@@ -138,31 +145,50 @@ + { + partition_map * entry; + int j; ++ size_t len; ++ char *buf; + + if (map == NULL) { + bad_input("No partition map exists"); + return; + } ++#ifdef __mc68000__ ++ printf("Disk %s\n", map->name); ++#else + printf("%s\n", map->name); ++#endif + + j = number_of_digits(map->media_size); + if (j < 7) { + j = 7; + } +- printf(" #: type name " +- "%*s %-*s ( size )\n", j, "length", j, "base"); ++#ifdef __mc68000__ ++ printf("%*s type name " ++ "%*s %-*s ( size ) system\n", strlen(map->name)+1, "#", j, "length", j, "base"); ++#else ++ printf("%*s type name " ++ "%*s %-*s ( size ) system\n", strlen(map->name)+1, "#", j, "length", j, "base"); ++#endif ++ ++ /* Grok devfs names. (courtesy Colin Walters)*/ ++ ++ len = strlen(map->name); ++ buf = strdup(map->name); ++ if (len >= 4 && !strcmp(buf+len-4, "disc")) { ++ strcpy(buf+len-4, "part"); ++ } + + if (disk_order) { + for (entry = map->disk_order; entry != NULL; + entry = entry->next_on_disk) { + +- dump_partition_entry(entry, j); ++ dump_partition_entry(entry, j, buf); + } + } else { + for (entry = map->base_order; entry != NULL; + entry = entry->next_by_base) { + +- dump_partition_entry(entry, j); ++ dump_partition_entry(entry, j, buf); + } + } + dump_block_zero(map); +@@ -170,18 +196,23 @@ + + + void +-dump_partition_entry(partition_map *entry, int digits) ++dump_partition_entry(partition_map *entry, int digits, char *dev) + { + partition_map_header *map; + int j; + DPME *p; + BZB *bp; + char *s; ++#ifdef __mc68000__ ++ int aflag = 1; ++#else + int aflag = 0; ++#endif + int pflag = 1; + u32 size; + double bytes; + ++ + map = entry->the_map; + p = entry->data; + if (aflag) { +@@ -192,9 +223,13 @@ + break; + } + } +- printf("%4d: %.4s %-18.32s ", entry->disk_address, s, p->dpme_name); ++#ifdef __mc68000__ ++ printf("%s%-2d %.4s %-12.12s ", dev, entry->disk_address, s, p->dpme_name); ++#else ++ printf("%s%-4d %.4s %-18.32s ", dev, entry->disk_address, s, p->dpme_name); ++#endif + } else { +- printf("%4d: %20.32s %-18.32s ", ++ printf("%s%-4d %20.32s %-18.32s ", dev, + entry->disk_address, p->dpme_type, p->dpme_name); + } + +@@ -217,7 +252,10 @@ + printf("@~%-*u", digits, p->dpme_pblock_start + p->dpme_lblock_start); + } + ++ j = 's'; ++ + bytes = size / ONE_KILOBYTE_IN_BLOCKS; ++ j = 'k'; + if (bytes >= 1024.0) { + bytes = bytes / 1024.0; + if (bytes < 1024.0) { +@@ -226,58 +264,45 @@ + bytes = bytes / 1024.0; + j = 'G'; + } +- printf(" (%#5.1f%c)", bytes, j); + } ++ printf(" (%#5.1f%c) ", bytes, j); + +-#if 0 +- // Old A/UX fields that no one pays attention to anymore. +- bp = (BZB *) (p->dpme_bzb); +- j = -1; +- if (bp->bzb_magic == BZBMAGIC) { +- switch (bp->bzb_type) { +- case FSTEFS: +- s = "EFS"; +- break; +- case FSTSFS: +- s = "SFS"; +- j = 1; +- break; +- case FST: +- default: +- if (bzb_root_get(bp) != 0) { +- if (bzb_usr_get(bp) != 0) { +- s = "RUFS"; +- } else { +- s = "RFS"; +- } +- j = 0; +- } else if (bzb_usr_get(bp) != 0) { +- s = "UFS"; +- j = 2; +- } else { +- s = "FS"; +- } +- break; +- } +- if (bzb_slice_get(bp) != 0) { +- printf(" s%1d %4s", bzb_slice_get(bp)-1, s); +- } else if (j >= 0) { +- printf(" S%1d %4s", j, s); +- } else { +- printf(" %4s", s); +- } +- if (bzb_crit_get(bp) != 0) { +- printf(" K%1d", bp->bzb_cluster); +- } else if (j < 0) { +- printf(" "); +- } else { +- printf(" k%1d", bp->bzb_cluster); +- } +- if (bp->bzb_mount_point[0] != 0) { +- printf(" %.64s", bp->bzb_mount_point); +- } +- } +-#endif ++ if (!strcmp(p->dpme_type, "Apple_UNIX_SVR2")) ++ { ++ if (!strcmp(p->dpme_name, "Swap") || !strcmp(p->dpme_name, "swap")) ++ printf("Linux swap"); ++ else ++ printf("Linux native"); ++ } ++ else ++ if (!strcmp(p->dpme_type, "Apple_Bootstrap")) ++ printf("NewWorld bootblock"); ++ else ++ if (!strcmp(p->dpme_type, "Apple_Scratch")) ++ printf("Linux swap"); //not just linux, but who cares ++ else ++ if (!strcmp(p->dpme_type, "Apple_HFS")) ++ printf("HFS"); ++ else ++ if (!strcmp(p->dpme_type, "Apple_MFS")) ++ printf("MFS"); ++ else ++ if (!strcmp(p->dpme_type, "Apple_Driver")) ++ printf("Driver"); ++ else ++ if (!strcmp(p->dpme_type, "Apple_Driver43")) ++ printf("Driver 4.3"); ++ else ++ if (!strcmp(p->dpme_type, "Apple_partition_map")) ++ printf("Partition map"); ++ else ++ if (!strcmp(p->dpme_type, "Apple_PRODOS")) ++ printf("ProDOS"); ++ else ++ if (!strcmp(p->dpme_type, "Apple_Free")) ++ printf("Free space"); ++ else ++ printf("Unknown"); + printf("\n"); + } + +@@ -316,6 +341,24 @@ + + dump(name); + } ++#ifdef __linux__ ++ for (i = 0; i < 4; i++) { ++ sprintf(name, "/dev/hd%c", 'a'+i); ++ if ((fd = open_device(name, O_RDONLY)) < 0) { ++ if (errno == EACCES) { ++ error(errno, "can't open file '%s'", name); ++ } ++ continue; ++ } ++ if (read_block(fd, 1, (char *)data, 1) == 0) { ++ close_device(fd); ++ continue; ++ } ++ close_device(fd); ++ ++ dump(name); ++ } ++#endif + free(data); + } + +@@ -385,7 +428,7 @@ + printf("%2d: %20.32s ", + entry->disk_address, p->dpme_type); + printf("%7u @ %-7u ", p->dpme_pblocks, p->dpme_pblock_start); +- printf("%c%c%c%c%c%c%c%c%c ", ++ printf("%c%c%c%c%c%c%c%c%c%c ", + (dpme_valid_get(p))?'V':'v', + (dpme_allocated_get(p))?'A':'a', + (dpme_in_use_get(p))?'I':'i', +@@ -394,7 +437,8 @@ + (dpme_writable_get(p))?'W':'w', + (dpme_os_pic_code_get(p))?'P':'p', + (dpme_os_specific_1_get(p))?'1':'.', +- (dpme_os_specific_2_get(p))?'2':'.'); ++ (dpme_os_specific_2_get(p))?'2':'.', ++ (dpme_automount_get(p))?'M':'m'); + if (p->dpme_lblock_start != 0 || p->dpme_pblocks != p->dpme_lblocks) { + printf("(%u @ %u)", p->dpme_lblocks, p->dpme_lblock_start); + } +--- mac-fdisk-0.1.orig/mac-fdisk.8.in ++++ mac-fdisk-0.1/mac-fdisk.8.in +@@ -0,0 +1,262 @@ ++.TH MAC-FDISK 8 "1 December 2001" "Debian" "Apple Disk Partitioning Manual" ++.SH NAME ++mac-fdisk \- Apple partition table editor for Linux ++.SH SYNOPSIS ++.B mac-fdisk ++.B "[ \-h | \--help ] [ \-v | \--version ] [ \-l | \--list device ... ]" ++.br ++.B mac-fdisk ++.B "[ \-r | \--readonly ] device ... " ++.SH DESCRIPTION ++.B mac-fdisk ++is a command line type program which partitions disks using the standard Apple ++disk partitioning scheme described in "Inside Macintosh: Devices". ++The ++.I device ++is usually one of the following: ++ ++.nf ++.RS ++/dev/sda ++/dev/sdb ++/dev/sdc ++/dev/sdd ++/dev/sde ++/dev/sdf ++/dev/sdg ++/dev/hda ++/dev/hdb ++ ++.RE ++.fi ++/dev/sda is the first hard disk on the SCSI bus (i.e. the ++one with the lowest id), /dev/sdb is the second hard disk, and so on. ++The ++.I partition ++is a ++.I device ++name followed by a partition number. ++The partition number is the index (starting from one) of the partition ++map entry in the partition map (and the partition map itself occupies the ++first entry). ++For example, ++.B /dev/sda2 ++is the partition described by the second entry in the partiton map on /dev/sda. ++ ++.SH OPTIONS ++.TP ++.B \-v | \--version ++Prints version number of the ++.B mac-fdisk ++program. ++.TP ++.B \-h | \--help ++Prints a list of available commands for the ++.B mac-fdisk ++program. ++.TP ++.B \-l | \--list ++Lists the partition tables for the specified ++.IR device(s). ++With no ++.IR device(s) ++given, lists all SCSI and IDE devices found in the system. ++.TP ++.B \-r | \--readonly ++Prevents ++.B mac-fdisk ++from writing to the device. ++.SH "Editing Partition Tables" ++An argument which is simply the name of a ++.I device ++indicates that ++.B mac-fdisk ++should edit the partition table of that device. Once started, ++.B mac-fdisk ++presents an interactive command prompt to edit the partition table. ++The partition editing commands are: ++ ++.nf ++.RS ++h list available commands ++p print (list) the current edited partition table status ++P print ordered by base address ++i initialize the partition map ++s change size of partition map ++b create new 800K Apple_Bootstrap partition (used by yaboot) ++c create new standard Linux type partition ++C create new partition, specifying the partition type ++d delete a partition ++r reorder partition entry ++w write the partition table to disk ++q quit ++ ++.RE ++.fi ++Commands which take arguments prompt for each argument in turn. ++You can also type the arguments separated by spaces ++and those prompts will be skipped. The ++.B i ++and ++.B w ++commands will prompt for confirmation. None of the editing you do will ++actually affect the state of the disk you are partitioning until the ++.B w ++command is issued. Then the map in its edited state will be ++permanently written to the disk. ++ ++Partitions are always specified by their number, the index of the ++partition entry in the partition map. Many commands will change the ++index numbers of partitions which follow the affected partition; you are ++encouraged to use the ++.B p ++command to print the partition table as frequently as necessary. For SCSI ++disks, the partition table should not contain more than fifteen partitions ++(partition map excluded). IDE disks have a limit of 31 partitions. ++ ++Here is a more-or-less typical output for the print command: ++ ++.nf ++.RS ++Command (? for help): p ++/dev/sdb ++ # type name length base ( size ) system ++/dev/sdb1 Apple_partition_map Apple 63 @ 1 ( 31.5k) Partition map ++/dev/sdb2 Apple_Driver43 Macintosh 54 @ 64 ( 27.0k) Driver 4.3 ++/dev/sdb3 Apple_Driver43 Macintosh 74 @ 118 ( 37.0k) Driver 4.3 ++/dev/sdb4 Apple_Driver_IOKit Macintosh 512 @ 192 (256.0k) Unknown ++/dev/sdb5 Apple_Patches Patch Partition 512 @ 704 (256.0k) Unknown ++/dev/sdb6 Apple_HFS untitled 3072000 @ 1216 ( 1.5G) HFS ++/dev/sdb7 Apple_HFS untitled 2 333026 @ 3073216 (162.6M) HFS ++/dev/sdb8 Apple_Free Extra 10 @ 3406242 ( 5.0k) Free space ++ ++Block size=512, Number of Blocks=3406252 ++DeviceType=0x0, DeviceId=0x0 ++Drivers- ++1: @ 64 for 22, type=0x1 ++2: @ 118 for 36, type=0xffff ++ ++.RE ++.fi ++ ++The ++.B i ++(initialize) command prompts for the size of the device. You can just ++type Return to accept the offered size, which should be correct. ++ ++The ++.B b ++command is a shortcut to create the bootstrap partition used on PowerPC ++NewWorld machines. It is equivalent to creating an 800k ++.B Apple_Bootstrap ++type partition using the ++.B C ++command described below. The sole purpose of this partition is to ++store the boot loader. In multiboot environments, the first bootable ++partition found on the disk takes precedence unless a specific boot ++partition is set in OpenFirmware, so it's best to create the bootstrap ++partition first, or move it to a position before any ++.B Apple_HFS ++or ++.B Apple_Boot ++partitions using the ++.B r ++command described below. Then you will still able to boot Linux after ++the occasional OpenFirmware reset. ++ ++The ++.B c ++(create new partition) command has three arguments. As mentioned ++above you can type the arguments following the command, separated by ++spaces, or respond to prompts for each argument: ++ ++ 1) The base address of the start of the partition. ++ ++ You can specify a number in blocks (most likely reading from the ++ existing partition map) or you can also type a partition number ++ followed by the letter 'p' to indicate that the new partition ++ should take the place of that existing free space partition. ++ ++ 2) The length of the partition. ++ ++ Again, you can specify a number in blocks or type a partition ++ number followed by the letter 'p' to indicate use of the entire ++ partition. You can also type a number followed by 'k', 'm', or ++ 'g' to indicate the size in kilobytes, megabytes, or gigabytes ++ respectively. (These are powers of 1024, of course, not powers ++ of 1000.) ++ ++ 3) The name of the partition. ++ ++ This can be a single word without quotes, or a string surrounded ++ by single or double quotes. It is best to name any swap partition ++ you create `swap'; other partition names are up to you. The names ++ are not visible to Linux. ++ ++The ++.B C ++command is identical to the ++.B c ++command, with the addition of a partition type argument after the ++other arguments. The partition type used for Linux swap and data partitons ++is ++.B APPLE_UNIX_SVR2 ++(this is the partition type created by the ++.B c ++command). Under normal circumstances, you should not need to use this ++command. ++ ++The ++.B d ++command deletes the partition number specified, replacing that partition ++with partitionable free space. ++ ++The ++.B r ++(reorder) command allows the index number of partitions to be changed. ++The index numbers are constrained to be a contiguous sequence. ++.B mac-fdisk ++will enforce this constraint by recalculating the partition numbers ++after each insert, delete or reorder operation. OpenFirmware looks for ++bootable partitions in the order specified by the index. The ++partitions are not moved on the disk. This command takes two ++arguments, the number of the partition to be moved and the partition ++number it should become. ++ ++The ++.B w ++command writes the partition map out to disk. Note that partition ++maps for disks with mounted partitions cannot immediately be ++reinterpreted by the kernel. In order to use the new partition map you ++must reboot. Within the Debian installer system, ++.B mac-fdisk ++is normally invoked before any partitions are mounted, thus a reboot is not ++necessary before continuing the installation. ++ ++The ++.B q ++command terminates the program. If there was no ++.B w ++command issued during the program run, then there will be no effect on the disk. ++ ++.SH BUGS ++Some people believe there should really be just one disk partitioning utility. ++ ++.B mac-fdisk ++should be able to create HFS partitions that work. Currently, if a ++pre-existing HFS partition is resized, MacOS will continue to use the ++partition size stored in the HFS 'superblock' instead of using the size from ++the partition table (the MacOS volume on the partition remains valid even ++though the sizes don't match anymore). This can have undesired side effects ++especially when creating a smaller HFS partition followed by a few Linux ++partitions in place of the previous HFS partition space. To avoid this ++issue, create MacOS partitions within MacOS and then don't resize them ++in ++.B mac-fdisk. ++ ++.SH "SEE ALSO" ++.BR fdisk (8), ++.BR mkswap (8), ++.BR mkfs (8) ++.SH AUTHOR ++Eryk Vershen (eryk@apple.com), man page revised by Chris Tillman (tillman@azstarnet.com) +--- mac-fdisk-0.1.orig/io.c ++++ mac-fdisk-0.1/io.c +@@ -30,6 +30,10 @@ + #include <stdlib.h> + #include <fcntl.h> + #include <SCSI.h> ++#else ++#ifdef __GLIBC__ ++#include <sys/types.h> ++#endif + #endif + #include <unistd.h> + #include <string.h> +@@ -51,6 +55,8 @@ + #define SCSI_FD 8 + #define loff_t long + #define llseek lseek ++#else ++#define llseek lseek64 + #endif + + +@@ -435,8 +441,8 @@ + #else + { + #endif +- x = num * PBLOCK_SIZE; +- if ((x = llseek(fd, x, 0)) < 0) { ++ x = ((long long) num * PBLOCK_SIZE); /* cast to ll to work around compiler bug */ ++ if ((x = lseek64(fd, x, 0)) < 0) { + if (quiet == 0) { + error(errno, "Can't seek on file"); + } +--- mac-fdisk-0.1.orig/partition_map.c ++++ mac-fdisk-0.1/partition_map.c +@@ -30,14 +30,12 @@ + #include <stdlib.h> + #include <unistd.h> + #endif +-#include <string.h> + #include <errno.h> + + #include <fcntl.h> + #ifdef __linux__ + #include <sys/ioctl.h> +-#include <linux/fs.h> +-#include <linux/hdreg.h> ++#include "kernel-defs.h" + #include <sys/stat.h> + #endif + +@@ -65,6 +63,8 @@ + const char * kFreeType = "Apple_Free"; + const char * kMapType = "Apple_partition_map"; + const char * kUnixType = "Apple_UNIX_SVR2"; ++const char * kBootstrapType = "Apple_Bootstrap"; ++const char * kBootstrapName = "bootstrap"; + + const char * kFreeName = "Extra"; + +@@ -288,15 +288,17 @@ + free(block); + } + } +- printf("The partition table has been altered!\n\n"); ++ printf("The partition map has been saved successfully!\n\n"); + + #ifdef __linux__ + if (map->regular_file) { + close_device(map->fd); + } else { +- // printf("Calling ioctl() to re-read partition table.\n" +- // "(Reboot to ensure the partition table has been updated.)\n"); +- sync(); ++ // printf("Calling ioctl() to re-read partition table.\n"); ++ if ((i = ioctl(fd, BLKFLSBUF)) != 0) { ++ perror("ioctl(BLKFLSBUF)"); ++ sync(); ++ } + sleep(2); + if ((i = ioctl(fd, BLKRRPART)) != 0) { + saved_errno = errno; +@@ -304,20 +306,26 @@ + // some kernel versions (1.2.x) seem to have trouble + // rereading the partition table, but if asked to do it + // twice, the second time works. - biro@yggdrasil.com */ +- sync(); ++ // printf("Again calling ioctl() to re-read partition table.\n"); ++ if ((i = ioctl(fd, BLKFLSBUF)) != 0) { ++ perror("ioctl(BLKFLSBUF)"); ++ sync(); ++ } + sleep(2); + if ((i = ioctl(fd, BLKRRPART)) != 0) { + saved_errno = errno; + } + } ++ printf("Syncing disks.\n"); ++ if ((i = ioctl(fd, BLKFLSBUF)) != 0) { ++ perror("ioctl(BLKFLSBUF)"); ++ sync(); ++ } + close_device(map->fd); +- +- // printf("Syncing disks.\n"); +- sync(); + sleep(4); /* for sync() */ + + if (i < 0) { +- error(saved_errno, "Re-read of partition table failed"); ++ error(saved_errno, "Re-read of partition map failed"); + printf("Reboot your system to ensure the " + "partition table is updated.\n"); + } +@@ -692,9 +700,9 @@ + geometry.heads*geometry.sectors*geometry.cylinders); + } + +- if ((pos = llseek(fd, 0, SEEK_END)) < 0) { ++ if ((pos = lseek64(fd, 0, SEEK_END)) < 0) { + printf("llseek to end of device failed\n"); +- } else if ((pos = llseek(fd, 0, SEEK_CUR)) < 0) { ++ } else if ((pos = lseek64(fd, 0, SEEK_CUR)) < 0) { + printf("llseek to end of device failed on second try\n"); + } else { + printf("llseek: pos = %d, blocks=%d\n", pos, pos/PBLOCK_SIZE); +@@ -895,6 +903,7 @@ + printf("No such partition\n"); + } else { + remove_from_disk_order(cur); ++ if (old_index < index) index++; /* renumber_disk_addresses(map); */ + cur->disk_address = index; + insert_in_disk_order(cur); + renumber_disk_addresses(map); +--- mac-fdisk-0.1.orig/partition_map.h ++++ mac-fdisk-0.1/partition_map.h +@@ -69,6 +69,8 @@ + extern const char * kFreeType; + extern const char * kMapType; + extern const char * kUnixType; ++extern const char * kBootstrapType; ++extern const char * kBootstrapName; + + extern const char * kFreeName; + +--- mac-fdisk-0.1.orig/kernel-defs.h ++++ mac-fdisk-0.1/kernel-defs.h +@@ -0,0 +1,64 @@ ++/* from asm/types.h */ ++typedef unsigned short __u16; ++typedef unsigned int __u32; ++ ++/* from linux/hdreg.h */ ++#define HDIO_GETGEO 0x0301 /* get device geometry */ ++ ++struct hd_geometry { ++ unsigned char heads; ++ unsigned char sectors; ++ unsigned short cylinders; ++ unsigned long start; ++}; ++ ++/* from asm/ioctl.h */ ++#define _IOC_NRBITS 8 ++#define _IOC_TYPEBITS 8 ++#define _IOC_SIZEBITS 13 ++#define _IOC_DIRBITS 3 ++ ++#define _IOC_NRMASK ((1 << _IOC_NRBITS)-1) ++#define _IOC_TYPEMASK ((1 << _IOC_TYPEBITS)-1) ++#define _IOC_SIZEMASK ((1 << _IOC_SIZEBITS)-1) ++#define _IOC_DIRMASK ((1 << _IOC_DIRBITS)-1) ++ ++#define _IOC_NRSHIFT 0 ++#define _IOC_TYPESHIFT (_IOC_NRSHIFT+_IOC_NRBITS) ++#define _IOC_SIZESHIFT (_IOC_TYPESHIFT+_IOC_TYPEBITS) ++#define _IOC_DIRSHIFT (_IOC_SIZESHIFT+_IOC_SIZEBITS) ++ ++#ifdef __powerpc__ ++#define _IOC_NONE 1U ++#define _IOC_READ 2U ++#define _IOC_WRITE 4U ++#else ++#define _IOC_NONE 0U ++#define _IOC_READ 2U ++#define _IOC_WRITE 1U ++#endif ++ ++#define _IOC(dir,type,nr,size) \ ++ (((dir) << _IOC_DIRSHIFT) | \ ++ ((type) << _IOC_TYPESHIFT) | \ ++ ((nr) << _IOC_NRSHIFT) | \ ++ ((size) << _IOC_SIZESHIFT)) ++#define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) ++ ++/* from linux/fs.h */ ++#define BLKRRPART _IO(0x12,95) /* re-read partition table */ ++#define BLKFLSBUF _IO(0x12,97) /* flush buffer cache */ ++ ++/* from linux/genhd.h */ ++struct partition { ++ unsigned char boot_ind; /* 0x80 - active */ ++ unsigned char head; /* starting head */ ++ unsigned char sector; /* starting sector */ ++ unsigned char cyl; /* starting cylinder */ ++ unsigned char sys_ind; /* What partition type */ ++ unsigned char end_head; /* end head */ ++ unsigned char end_sector; /* end sector */ ++ unsigned char end_cyl; /* end cylinder */ ++ unsigned int start_sect; /* starting sector counting from 0 */ ++ unsigned int nr_sects; /* nr of sectors in partition */ ++} __attribute__((packed)); +--- mac-fdisk-0.1.orig/Makefile ++++ mac-fdisk-0.1/Makefile +@@ -5,7 +5,14 @@ + fdisk: fdisk.o fdisklabel.o + + clean: +- rm -f *.o pdisk fdisk ++ rm -f *.o pdisk fdisk mac-fdisk pmac-fdisk ++ ++install: pdisk fdisk ++ -rm -f pmac-fdisk mac-fdisk ++ ln pdisk mac-fdisk ++ ln fdisk pmac-fdisk ++ install -o root -g root -m 0755 mac-fdisk ${DESTDIR}/sbin ++ install -o root -g root -m 0755 pmac-fdisk ${DESTDIR}/sbin + + distribution: + cd ..; tar cvf pdisk.src.tar.`date +%y%m%d` --files-from pdisk/list.src +--- mac-fdisk-0.1.orig/fdisklabel.c ++++ mac-fdisk-0.1/fdisklabel.c +@@ -38,7 +38,6 @@ + #include <unistd.h> + #include <stdio.h> + #include <stdlib.h> +-#include <string.h> + #include <fcntl.h> + #include <ctype.h> + #include <setjmp.h> +@@ -47,9 +46,7 @@ + #include <sys/ioctl.h> + #include <sys/param.h> + +-#include <linux/genhd.h> +-#include <linux/hdreg.h> +-#include <linux/fs.h> ++#include "kernel-defs.h" + + #include "fdisk.h" + #define DKTYPENAMES +@@ -377,7 +374,7 @@ + { + #if defined (i386) + if (bsd_initlabel (bsd_part, &bsd_dlabel, bsd_part_index) == 1) +-#elif defined (__alpha__) || defined (__powerpc__) ++#elif defined (__alpha__) || defined (__powerpc__) || defined (__mc68000__) + if (bsd_initlabel (NULL, &bsd_dlabel, 0) == 1) + #endif + { +@@ -515,7 +512,7 @@ + alpha_bootblock_checksum (buffer); + #endif + +- if (llseek (fd, sector * SECTOR_SIZE, SEEK_SET) == -1) ++ if (lseek64 (fd, sector * SECTOR_SIZE, SEEK_SET) == -1) + fatal (unable_to_seek); + if (BSD_BBSIZE != write (fd, buffer, BSD_BBSIZE)) + fatal (unable_to_write); +@@ -679,7 +676,7 @@ + sector = 0; + #endif + +- if (llseek (fd, sector * SECTOR_SIZE, SEEK_SET) == -1) ++ if (lseek64 (fd, sector * SECTOR_SIZE, SEEK_SET) == -1) + fatal (unable_to_seek); + if (BSD_BBSIZE != read (fd, buffer, BSD_BBSIZE)) + fatal (unable_to_read); +@@ -724,12 +721,12 @@ + + #if defined (__alpha__) && BSD_LABELSECTOR == 0 + alpha_bootblock_checksum (buffer); +- if (llseek (fd, 0, SEEK_SET) == -1) ++ if (lseek64 (fd, 0, SEEK_SET) == -1) + fatal (unable_to_seek); + if (BSD_BBSIZE != write (fd, buffer, BSD_BBSIZE)) + fatal (unable_to_write); + #else +- if (llseek (fd, sector * SECTOR_SIZE + BSD_LABELOFFSET, SEEK_SET) == -1) ++ if (lseek64 (fd, sector * SECTOR_SIZE + BSD_LABELOFFSET, SEEK_SET) == -1) + fatal (unable_to_seek); + if (sizeof (struct disklabel) != write (fd, d, sizeof (struct disklabel))) + fatal (unable_to_write); diff --git a/user/mac-fdisk/mac-fdisk-0.1-headers.patch b/user/mac-fdisk/mac-fdisk-0.1-headers.patch new file mode 100644 index 000000000..2ac7eaf41 --- /dev/null +++ b/user/mac-fdisk/mac-fdisk-0.1-headers.patch @@ -0,0 +1,112 @@ +Include a lot more headers and remove a bunch of braindead __linux__ checks + +--- a/dump.c ++++ b/dump.c +@@ -30,10 +30,8 @@ + */ + + #include <stdio.h> +-#ifndef __linux__ + #include <stdlib.h> + #include <unistd.h> +-#endif + #include <string.h> + #include <errno.h> + #include <fcntl.h> +--- a/errors.c ++++ b/errors.c +@@ -26,9 +26,7 @@ + */ + + #include <stdio.h> +-#ifndef __linux__ + #include <stdlib.h> +-#endif + #include <string.h> + #include <stdarg.h> + +@@ -115,8 +113,8 @@ + va_end(ap); + + #ifdef __linux__ +- if (value > 0 && value < sys_nerr) { +- fprintf(stderr, " (%s)\n", sys_errlist[value]); ++ if (value > 0) { ++ fprintf(stderr, " (%s)\n", strerror(value)); + } else { + fprintf(stderr, "\n"); + } +@@ -144,8 +142,8 @@ + va_end(ap); + + #ifdef __linux__ +- if (value > 0 && value < sys_nerr) { +- fprintf(stderr, " (%s)\n", sys_errlist[value]); ++ if (value > 0) { ++ fprintf(stderr, " (%s)\n", strerror(value)); + } else { + fprintf(stderr, "\n"); + } +--- a/fdisk.c ++++ b/fdisk.c +@@ -62,6 +62,7 @@ + #include <unistd.h> + #include <stdio.h> + #include <stdlib.h> ++#include <string.h> + #include <fcntl.h> + #include <ctype.h> + #include <setjmp.h> +--- a/fdisklabel.c ++++ b/fdisklabel.c +@@ -38,6 +38,7 @@ + #include <unistd.h> + #include <stdio.h> + #include <stdlib.h> ++#include <string.h> + #include <fcntl.h> + #include <ctype.h> + #include <setjmp.h> +--- a/io.c ++++ b/io.c +@@ -26,9 +26,9 @@ + */ + + #include <stdio.h> +-#ifndef __linux__ + #include <stdlib.h> + #include <fcntl.h> ++#ifndef __linux__ + #include <SCSI.h> + #else + #ifdef __GLIBC__ +--- a/partition_map.c ++++ b/partition_map.c +@@ -26,10 +26,9 @@ + */ + + #include <stdio.h> +-#ifndef __linux__ ++#include <string.h> + #include <stdlib.h> + #include <unistd.h> +-#endif + #include <errno.h> + + #include <fcntl.h> +--- a/pdisk.c ++++ b/pdisk.c +@@ -32,10 +32,11 @@ + #include <getopt.h> + #include <stddef.h> + #else +-#include <stdlib.h> +-#include <unistd.h> + #include <SIOUX.h> + #endif ++#include <stdlib.h> ++#include <unistd.h> ++#include <string.h> + #include <errno.h> + + #ifdef __linux__ diff --git a/user/mac-fdisk/mac-fdisk-0.1_p16-ppc64.patch b/user/mac-fdisk/mac-fdisk-0.1_p16-ppc64.patch new file mode 100644 index 000000000..616adc5b8 --- /dev/null +++ b/user/mac-fdisk/mac-fdisk-0.1_p16-ppc64.patch @@ -0,0 +1,455 @@ +--- a/bitfield.c ++++ b/bitfield.c +@@ -67,13 +67,12 @@ + // + // Routines + // +-unsigned long +-bitfield_set(unsigned long *bf, int base, int length, unsigned long value) ++unsigned int ++bitfield_set(unsigned int *bf, int base, int length, unsigned int value) + { +- unsigned long t; +- unsigned long m; ++ unsigned int t; ++ unsigned int m; + int s; +- int i; + + // compute shift & mask, coerce value to correct number of bits, + // zap the old bits and stuff the new value +@@ -86,12 +85,11 @@ + } + + +-unsigned long +-bitfield_get(unsigned long bf, int base, int length) ++unsigned int ++bitfield_get(unsigned int bf, int base, int length) + { +- unsigned long m; ++ unsigned int m; + int s; +- int i; + + // compute shift & mask + // return the correct number of bits (shifted to low end) +--- a/bitfield.h ++++ b/bitfield.h +@@ -63,5 +63,5 @@ + // + // Forward declarations + // +-unsigned long bitfield_set(unsigned long *bf, int base, int length, unsigned long value); +-unsigned long bitfield_get(unsigned long bf, int base, int length); ++unsigned int bitfield_set(unsigned int *bf, int base, int length, unsigned int value); ++unsigned int bitfield_get(unsigned int bf, int base, int length); +--- a/dump.c ++++ b/dump.c +@@ -61,16 +61,16 @@ + // Global Constants + // + NAMES plist[] = { +- "Drvr", "Apple_Driver", +- "Dr43", "Apple_Driver43", +- "Free", "Apple_Free", +- " HFS", "Apple_HFS", +- " MFS", "Apple_MFS", +- "PDOS", "Apple_PRODOS", +- "junk", "Apple_Scratch", +- "unix", "Apple_UNIX_SVR2", +- " map", "Apple_partition_map", +- 0, 0 ++ {"Drvr"}, {"Apple_Driver"}, ++ {"Dr43"}, {"Apple_Driver43"}, ++ {"Free"}, {"Apple_Free"}, ++ {" HFS"}, {"Apple_HFS"}, ++ {" MFS"}, {"Apple_MFS"}, ++ {"PDOS"}, {"Apple_PRODOS"}, ++ {"junk"}, {"Apple_Scratch"}, ++ {"unix"}, {"Apple_UNIX_SVR2"}, ++ {" map"}, {"Apple_partition_map"}, ++ {0}, {0} + }; + + const char * kStringEmpty = ""; +@@ -162,10 +162,10 @@ + } + #ifdef __mc68000__ + printf("%*s type name " +- "%*s %-*s ( size ) system\n", strlen(map->name)+1, "#", j, "length", j, "base"); ++ "%*s %-*s ( size ) system\n", (int)strlen(map->name)+1, "#", j, "length", j, "base"); + #else + printf("%*s type name " +- "%*s %-*s ( size ) system\n", strlen(map->name)+1, "#", j, "length", j, "base"); ++ "%*s %-*s ( size ) system\n", (int)strlen(map->name)+1, "#", j, "length", j, "base"); + #endif + + /* Grok devfs names. (courtesy Colin Walters)*/ +@@ -199,7 +199,6 @@ + partition_map_header *map; + int j; + DPME *p; +- BZB *bp; + char *s; + #ifdef __mc68000__ + int aflag = 1; +@@ -222,13 +221,13 @@ + } + } + #ifdef __mc68000__ +- printf("%s%-2d %.4s %-12.12s ", dev, entry->disk_address, s, p->dpme_name); ++ printf("%s%-2d %.4s %-12.12s ", dev, (int)entry->disk_address, s, p->dpme_name); + #else +- printf("%s%-4d %.4s %-18.32s ", dev, entry->disk_address, s, p->dpme_name); ++ printf("%s%-4d %.4s %-18.32s ", dev, (int)entry->disk_address, s, p->dpme_name); + #endif + } else { + printf("%s%-4d %20.32s %-18.32s ", dev, +- entry->disk_address, p->dpme_type, p->dpme_name); ++ (int)entry->disk_address, p->dpme_type, p->dpme_name); + } + + if (pflag) { +@@ -312,7 +311,6 @@ + int i; + int fd; + DPME * data; +- long t; + + data = (DPME *) malloc(PBLOCK_SIZE); + if (data == NULL) { +@@ -380,7 +378,7 @@ + printf("Header:\n"); + printf("fd=%d (%s)\n", map->fd, (map->regular_file)?"file":"device"); + printf("map %d blocks out of %d, media %u blocks\n", +- map->blocks_in_map, map->maximum_in_map, map->media_size); ++ map->blocks_in_map, map->maximum_in_map, (unsigned int)map->media_size); + printf("Map is%s writeable", (map->writeable)?kStringEmpty:kStringNot); + printf(", but%s changed\n", (map->changed)?kStringEmpty:kStringNot); + printf("\n"); +@@ -424,7 +422,7 @@ + for (entry = map->disk_order; entry != NULL; entry = entry->next_on_disk) { + p = entry->data; + printf("%2d: %20.32s ", +- entry->disk_address, p->dpme_type); ++ (int)entry->disk_address, p->dpme_type); + printf("%7u @ %-7u ", p->dpme_pblocks, p->dpme_pblock_start); + printf("%c%c%c%c%c%c%c%c%c%c ", + (dpme_valid_get(p))?'V':'v', +@@ -447,7 +445,7 @@ + "goto_address checksum processor\n"); + for (entry = map->disk_order; entry != NULL; entry = entry->next_on_disk) { + p = entry->data; +- printf("%2d: ", entry->disk_address); ++ printf("%2d: ", (int)entry->disk_address); + printf("%7u ", p->dpme_boot_block); + printf("%7u ", p->dpme_boot_bytes); + printf("%8x ", p->dpme_load_addr); +@@ -464,7 +462,7 @@ + */ + for (entry = map->disk_order; entry != NULL; entry = entry->next_on_disk) { + p = entry->data; +- printf("%2d: ", entry->disk_address); ++ printf("%2d: ", (int)entry->disk_address); + + bp = (BZB *) (p->dpme_bzb); + j = -1; +--- a/errors.c ++++ b/errors.c +@@ -30,6 +30,7 @@ + #include <string.h> + #include <stdarg.h> + ++#include <errno.h> + #include "errors.h" + #include "pdisk.h" + +@@ -113,7 +114,7 @@ + va_end(ap); + + #ifdef __linux__ +- if (value > 0) { ++ if (value > 0 && value < errno) { + fprintf(stderr, " (%s)\n", strerror(value)); + } else { + fprintf(stderr, "\n"); +@@ -142,7 +143,7 @@ + va_end(ap); + + #ifdef __linux__ +- if (value > 0) { ++ if (value > 0 && value < errno) { + fprintf(stderr, " (%s)\n", strerror(value)); + } else { + fprintf(stderr, "\n"); +--- a/fdisk.c ++++ b/fdisk.c +@@ -71,12 +71,65 @@ + + #include <sys/ioctl.h> + +-typedef unsigned short kdev_t; /* BAD hack; kdev_t is not exported */ +- + #include "kernel-defs.h" + + #include "fdisk.h" + ++/* ----------- */ ++#define _PPC64_TYPES_H ++#define BITS_PER_LONG 64 ++ ++typedef __signed__ char __s8; ++typedef signed char s8; ++typedef unsigned char u8; ++typedef unsigned char __u8; ++ ++typedef __signed__ short __s16; ++typedef signed short s16; ++/*typedef unsigned short __u16;*/ ++typedef unsigned short u16; ++ ++typedef __signed__ int __s32; ++typedef signed int s32; ++/*typedef unsigned int __u32;*/ ++typedef unsigned int u32; ++ ++typedef __signed__ long __s64; ++typedef signed long s64; ++typedef unsigned long __u64; ++typedef unsigned long u64; ++ ++typedef struct { ++ __u32 u[4]; ++} __attribute((aligned(16))) __vector128; ++ ++typedef __vector128 vector128; ++ ++typedef u32 dma_addr_t; ++typedef u64 dma64_addr_t; ++ ++typedef struct { ++ unsigned long entry; ++ unsigned long toc; ++ unsigned long env; ++} func_descr_t; ++ ++typedef unsigned int umode_t; ++ ++#define BITS_TO_LONGS(bits) \ ++ (((bits)+BITS_PER_LONG-1)/BITS_PER_LONG) ++#define DECLARE_BITMAP(name,bits) \ ++ unsigned long name[BITS_TO_LONGS(bits)] ++#define CLEAR_BITMAP(name,bits) \ ++ memset(name, 0, BITS_TO_LONGS(bits)*sizeof(unsigned long)) ++ ++/* hd/ide ctl's that pass (arg) ptrs to user space are numbered 0x030n/0x031n */ ++#define HDIO_GETGEO 0x0301 /* get device geometry */ ++ ++#define BLKRRPART _IO(0x12,95) /* re-read partition table */ ++ ++/* ---------- */ ++ + #define hex_val(c) ({ \ + char _c = (c); \ + isdigit(_c) ? _c - '0' : \ +@@ -1416,7 +1469,7 @@ + } + } + +-void main(int argc, char **argv) ++int main(int argc, char **argv) + { + if (argc > 3) + fatal(usage); +--- a/fdisklabel.c ++++ b/fdisklabel.c +@@ -35,6 +35,7 @@ + SUCH DAMAGE. + */ + ++#include <sys/types.h> + #include <unistd.h> + #include <stdio.h> + #include <stdlib.h> +@@ -47,6 +48,8 @@ + #include <sys/ioctl.h> + #include <sys/param.h> + ++#include <asm/types.h> ++ + #include "kernel-defs.h" + + #include "fdisk.h" +@@ -263,8 +266,8 @@ + fprintf(f, "type: %s\n", bsd_dktypenames[lp->d_type]); + else + fprintf(f, "type: %d\n", lp->d_type); +- fprintf(f, "disk: %.*s\n", sizeof(lp->d_typename), lp->d_typename); +- fprintf(f, "label: %.*s\n", sizeof(lp->d_packname), lp->d_packname); ++ fprintf(f, "disk: %.*s\n", (int)sizeof(lp->d_typename), lp->d_typename); ++ fprintf(f, "label: %.*s\n", (int)sizeof(lp->d_packname), lp->d_packname); + fprintf(f, "flags:"); + if (lp->d_flags & BSD_D_REMOVABLE) + fprintf(f, " removable"); +@@ -273,17 +276,17 @@ + if (lp->d_flags & BSD_D_BADSECT) + fprintf(f, " badsect"); + fprintf(f, "\n"); +- fprintf(f, "bytes/sector: %d\n", lp->d_secsize); +- fprintf(f, "sectors/track: %d\n", lp->d_nsectors); +- fprintf(f, "tracks/cylinder: %d\n", lp->d_ntracks); +- fprintf(f, "sectors/cylinder: %d\n", lp->d_secpercyl); +- fprintf(f, "cylinders: %d\n", lp->d_ncylinders); ++ fprintf(f, "bytes/sector: %d\n", (int)lp->d_secsize); ++ fprintf(f, "sectors/track: %d\n", (int)lp->d_nsectors); ++ fprintf(f, "tracks/cylinder: %d\n", (int)lp->d_ntracks); ++ fprintf(f, "sectors/cylinder: %d\n", (int)lp->d_secpercyl); ++ fprintf(f, "cylinders: %d\n", (int)lp->d_ncylinders); + fprintf(f, "rpm: %d\n", lp->d_rpm); + fprintf(f, "interleave: %d\n", lp->d_interleave); + fprintf(f, "trackskew: %d\n", lp->d_trackskew); + fprintf(f, "cylinderskew: %d\n", lp->d_cylskew); +- fprintf(f, "headswitch: %d\t\t# milliseconds\n", lp->d_headswitch); +- fprintf(f, "track-to-track seek: %d\t# milliseconds\n", lp->d_trkseek); ++ fprintf(f, "headswitch: %d\t\t# milliseconds\n", (int)lp->d_headswitch); ++ fprintf(f, "track-to-track seek: %d\t# milliseconds\n", (int)lp->d_trkseek); + fprintf(f, "drivedata: "); + for (i = NDDATA - 1; i >= 0; i--) + if (lp->d_drivedata[i]) +@@ -291,7 +294,7 @@ + if (i < 0) + i = 0; + for (j = 0; j <= i; j++) +- fprintf(f, "%d ", lp->d_drivedata[j]); ++ fprintf(f, "%d ", (int)lp->d_drivedata[j]); + } + fprintf (f, "\n%d partitions:\n", lp->d_npartitions); + fprintf (f, "# size offset fstype [fsize bsize cpg]\n"); +@@ -299,7 +302,7 @@ + for (i = 0; i < lp->d_npartitions; i++, pp++) { + if (pp->p_size) { + fprintf(f, " %c: %8d %8d ", 'a' + i, +- pp->p_size, pp->p_offset); ++ (int)pp->p_size, (int)pp->p_offset); + if ((unsigned) pp->p_fstype < BSD_FSMAXTYPES) + fprintf(f, "%8.8s", bsd_fstypes[pp->p_fstype].name); + else +@@ -308,12 +311,12 @@ + { + case BSD_FS_UNUSED: + fprintf(f, " %5d %5d %5.5s ", +- pp->p_fsize, pp->p_fsize * pp->p_frag, ""); ++ (int)pp->p_fsize, (int)pp->p_fsize * pp->p_frag, ""); + break; + + case BSD_FS_BSDFFS: + fprintf(f, " %5d %5d %5d ", +- pp->p_fsize, pp->p_fsize * pp->p_frag, ++ (int)pp->p_fsize, (int)pp->p_fsize * pp->p_frag, + pp->p_cpg); + break; + +@@ -323,21 +326,21 @@ + } + fprintf(f, "\t# (Cyl. %4d", + #if 0 +- pp->p_offset / lp->d_secpercyl); /* differs from Linux fdisk */ ++ (int)(pp->p_offset / lp->d_secpercyl)); /* differs from Linux fdisk */ + #else +- pp->p_offset / lp->d_secpercyl + 1); ++ (int)(pp->p_offset / lp->d_secpercyl + 1)); + #endif + if (pp->p_offset % lp->d_secpercyl) + putc('*', f); + else + putc(' ', f); + fprintf(f, "- %d", +- (pp->p_offset + ++ (int)((pp->p_offset + + pp->p_size + lp->d_secpercyl - 1) / + #if 0 +- lp->d_secpercyl - 1); /* differs from Linux fdisk */ ++ lp->d_secpercyl - 1)); /* differs from Linux fdisk */ + #else +- lp->d_secpercyl); ++ lp->d_secpercyl)); + #endif + if (pp->p_size % lp->d_secpercyl) + putc('*', f); +--- a/io.c ++++ b/io.c +@@ -33,8 +33,10 @@ + #else + #ifdef __GLIBC__ + #include <sys/types.h> ++#include <sys/stat.h> + #endif + #endif ++#include <linux/unistd.h> + #include <unistd.h> + #include <string.h> + #include <stdarg.h> +@@ -466,7 +468,7 @@ + long t; + + if (rflag) { +- printf("Can't write block %u to file", num); ++ printf("Can't write block %u to file", (unsigned int)num); + return 0; + } + #ifndef __linux__ +--- a/partition_map.c ++++ b/partition_map.c +@@ -105,7 +105,6 @@ + int fd; + partition_map_header * map; + int writeable; +- unsigned long length; + #ifdef __linux__ + struct stat info; + #endif +@@ -402,9 +401,7 @@ + { + int fd; + partition_map_header * map; +- unsigned long length; + DPME *data; +- int ok; + unsigned long number; + #ifdef __linux__ + struct stat info; +@@ -433,13 +430,13 @@ + map->maximum_in_map = -1; + + number = compute_device_size(fd); +- printf("size of 'device' is %u blocks: ", number); ++ printf("size of 'device' is %u blocks: ", (unsigned int)number); + flush_to_newline(0); + get_number_argument("what should be the size? ", (long *)&number, number); + if (number < 4) { + number = 4; + } +- printf("new size of 'device' is %u blocks\n", number); ++ printf("new size of 'device' is %u blocks\n", (unsigned int)number); + map->media_size = number; + + #ifdef __linux__ +--- a/pdisk.c ++++ b/pdisk.c +@@ -437,7 +437,6 @@ + { + long base; + long length; +- long mult; + char *name; + char *type_name; + +@@ -599,7 +598,6 @@ + void + do_reorder(partition_map_header *map) + { +- partition_map * cur; + long old_index; + long index; + diff --git a/user/mac-fdisk/mac-fdisk-0.1_p16-proper-inline.patch b/user/mac-fdisk/mac-fdisk-0.1_p16-proper-inline.patch new file mode 100644 index 000000000..943827ffc --- /dev/null +++ b/user/mac-fdisk/mac-fdisk-0.1_p16-proper-inline.patch @@ -0,0 +1,65 @@ +diff --git a/fdisk.c b/fdisk.c
+index d77619b..540879a 100644
+--- a/fdisk.c
++++ b/fdisk.c
+@@ -192,13 +192,21 @@ char read_char(char *mesg);
+
+ jmp_buf listingbuf;
+
+-inline unsigned short __swap16(unsigned short x) {
++static inline unsigned short __swap16(unsigned short x) {
+ return (((__u16)(x) & 0xFF) << 8) | (((__u16)(x) & 0xFF00) >> 8);
+ }
+-inline __u32 __swap32(__u32 x) {
++static inline __u32 __swap32(__u32 x) {
+ return (((__u32)(x) & 0xFF) << 24) | (((__u32)(x) & 0xFF00) << 8) | (((__u32)(x) & 0xFF0000) >> 8) | (((__u32)(x) & 0xFF000000) >> 24);
+ }
+
++#if BYTE_ORDER == BIG_ENDIAN
++#define SWAP16(x) __swap16(x)
++#define SWAP32(x) __swap32(x)
++#else
++#define SWAP16(x) ((__u16)x)
++#define SWAP32(x) ((__u32)x)
++#endif
++
+ void fatal(enum failure why)
+ {
+ char error[LINE_LENGTH],
+@@ -1242,7 +1250,7 @@ void new_partition(void)
+ else
+ printf("Invalid partition number "
+ "for type `%c'\n", c);
+-
++
+ }
+ }
+
+@@ -1339,7 +1347,7 @@ void move_begin(int i)
+ }
+ first = rounded(calculate(p->head, p->sector, p->cyl), SWAP32(p->start_sect) +
+ offsets[i]);
+- new = read_int(first, first,
++ new = read_int(first, first,
+ SWAP32(p->start_sect) + SWAP32(p->nr_sects) + offsets[i] - 1,
+ lower, "New beginning of data") - offsets[i];
+
+diff --git a/fdisk.h b/fdisk.h
+index 2b6ddc8..9d3ab25 100644
+--- a/fdisk.h
++++ b/fdisk.h
+@@ -12,14 +12,6 @@ typedef long long ext2_loff_t;
+ typedef long ext2_loff_t;
+ #endif
+
+-#if BYTE_ORDER == BIG_ENDIAN
+-#define SWAP16(x) __swap16(x)
+-#define SWAP32(x) __swap32(x)
+-#else
+-#define SWAP16(x) ((__u16)x)
+-#define SWAP32(x) ((__u32)x)
+-#endif
+-
+ enum failure {usage, unable_to_open, unable_to_read, unable_to_seek,
+ unable_to_write, out_of_memory};
+
diff --git a/user/mac-fdisk/mac-fdisk-amd64.patch b/user/mac-fdisk/mac-fdisk-amd64.patch new file mode 100644 index 000000000..8658ba9a6 --- /dev/null +++ b/user/mac-fdisk/mac-fdisk-amd64.patch @@ -0,0 +1,190 @@ +--- a/fdisklabel.c ++++ b/fdisklabel.c +@@ -72,7 +72,7 @@ + static int bsd_readlabel (struct partition *p, struct disklabel *d); + static int bsd_writelabel (struct partition *p, struct disklabel *d); + static void sync_disks (void); +-#if defined (i386) ++#if defined (i386) || defined (__amd64) + static int bsd_translate_fstype (int linux_type); + static void bsd_link_part (void); + #endif +@@ -82,7 +82,7 @@ + + static struct disklabel bsd_dlabel; + static char buffer[BSD_BBSIZE]; +-#if defined (i386) ++#if defined (i386) || defined (__amd64) + static struct partition *bsd_part; + static int bsd_part_index; + #endif +@@ -99,13 +99,13 @@ + " n add a new BSD partition\n" + " p print BSD partition table\n" + " q quit without saving changes\n" +-#if defined (i386) ++#if defined (i386) || defined (__amd64) + " r return to main menu\n" + #endif + " s show complete disklabel\n" + " t change a partition's filesystem id\n" + " w write disklabel to disk\n" +-#if defined (i386) ++#if defined (i386) || defined (__amd64) + " x link BSD partition to non-BSD partition" + #endif + ); +@@ -114,7 +114,7 @@ + void + bselect (void) + { +-#if defined (i386) ++#if defined (i386) || defined (__amd64) + int t; + + for (t=0; t<4; t++) +@@ -185,7 +185,7 @@ + case 'w': + bsd_write_disklabel (); + break; +-#if defined (i386) ++#if defined (i386) || defined (__amd64) + case 'r': + return; + case 'x': +@@ -223,7 +223,7 @@ + if (!bsd_check_new_partition (&i)) + return; + +-#if defined (i386) ++#if defined (i386) || defined (__amd64) + begin = bsd_part -> start_sect; + end = begin + bsd_part -> nr_sects - 1; + #elif defined (__alpha__) || defined (__powerpc__) +@@ -257,7 +257,7 @@ + + if (show_all) + { +-#if defined (i386) ++#if defined (i386) || defined (__amd64) + fprintf(f, "# %s%d:\n", disk_device, bsd_part_index+1); + #elif defined (__alpha__) || defined (__powerpc__) + fprintf(f, "# %s:\n", disk_device); +@@ -352,7 +352,7 @@ + static void + bsd_write_disklabel (void) + { +-#if defined (i386) ++#if defined (i386) || defined (__amd64) + printf ("Writing disklabel to %s%d.\n", disk_device, bsd_part_index+1); + bsd_writelabel (bsd_part, &bsd_dlabel); + #elif defined (__alpha__) || defined (__powerpc__) +@@ -366,7 +366,7 @@ + { + char c; + +-#if defined (i386) ++#if defined (i386) || defined(__amd64) + fprintf (stderr, "%s%d contains no disklabel.\n", + disk_device, bsd_part_index+1); + #elif defined (__alpha__) || defined (__powerpc__) +@@ -376,7 +376,7 @@ + while (1) + if ((c = tolower (read_char ("Do you want to create a disklabel? (y/n) "))) == 'y') + { +-#if defined (i386) ++#if defined (i386) || defined(__amd64) + if (bsd_initlabel (bsd_part, &bsd_dlabel, bsd_part_index) == 1) + #elif defined (__alpha__) || defined (__powerpc__) || defined (__mc68000__) + if (bsd_initlabel (NULL, &bsd_dlabel, 0) == 1) +@@ -507,7 +507,7 @@ + + bcopy (&dl, d, sizeof (struct disklabel)); + +-#if defined (i386) ++#if defined (i386) || defined (__amd64) + sector = bsd_part -> start_sect; + #elif defined (__powerpc__) + sector = 0; +@@ -521,7 +521,7 @@ + if (BSD_BBSIZE != write (fd, buffer, BSD_BBSIZE)) + fatal (unable_to_write); + +-#if defined (i386) ++#if defined (i386) || defined (__amd64) + printf ("Bootstrap installed on %s%d.\n", disk_device, bsd_part_index+1); + #elif defined (__alpha__) || defined (__powerpc__) + printf ("Bootstrap installed on %s.\n", disk_device); +@@ -625,7 +625,7 @@ + d -> d_subtype = BSD_DSTYPE_INDOSPART & pindex; + #endif + +-#if defined (i386) ++#if defined (i386) || defined (__amd64) + d -> d_flags = BSD_D_DOSPART; + #else + d -> d_flags = 0; +@@ -648,7 +648,7 @@ + d -> d_bbsize = BSD_BBSIZE; + d -> d_sbsize = BSD_SBSIZE; + +-#if defined (i386) ++#if defined (i386) || defined (__amd64) + d -> d_npartitions = 4; + pp = &d -> d_partitions[2]; /* Partition C should be the NetBSD partition */ + pp -> p_offset = p -> start_sect; +@@ -674,7 +674,7 @@ + { + int t, sector; + +-#if defined (i386) ++#if defined (i386) || defined (__amd64) + sector = p -> start_sect; + #elif defined (__alpha__) || defined (__powerpc__) + sector = 0; +@@ -708,7 +708,7 @@ + { + int sector; + +-#if defined (i386) ++#if defined (i386) || defined (__amd64) + sector = p -> start_sect + BSD_LABELSECTOR; + #elif defined (__alpha__) || defined (__powerpc__) + sector = BSD_LABELSECTOR; +@@ -749,7 +749,7 @@ + sleep (4); + } + +-#if defined (i386) ++#if defined (i386) || defined (__amd64) + static int + bsd_translate_fstype (int linux_type) + { +--- a/fdisklabel.h ++++ b/fdisklabel.h +@@ -35,7 +35,7 @@ + #define BSD_MAXPARTITIONS 8 + #define BSD_LINUX_BOOTDIR "/usr/ucb/mdec" + +-#if defined (i386) ++#if defined (i386) || defined(__amd64) + #define BSD_LABELSECTOR 1 + #define BSD_LABELOFFSET 0 + #define BSD_BBSIZE 8192 /* size of boot area, with label */ +--- a/kernel-defs.h ++++ b/kernel-defs.h +@@ -15,8 +15,14 @@ + /* from asm/ioctl.h */ + #define _IOC_NRBITS 8 + #define _IOC_TYPEBITS 8 ++ ++#ifndef _IOC_SIZEBITS + #define _IOC_SIZEBITS 13 ++#endif ++ ++#ifndef _IOC_DIRBITS + #define _IOC_DIRBITS 3 ++#endif + + #define _IOC_NRMASK ((1 << _IOC_NRBITS)-1) + #define _IOC_TYPEMASK ((1 << _IOC_TYPEBITS)-1) diff --git a/user/mac-fdisk/mac-fdisk-fdisk-header-musl.patch b/user/mac-fdisk/mac-fdisk-fdisk-header-musl.patch new file mode 100644 index 000000000..380a2b46d --- /dev/null +++ b/user/mac-fdisk/mac-fdisk-fdisk-header-musl.patch @@ -0,0 +1,10 @@ +--- a/fdisk.c 2016-01-24 03:39:51.647734970 -0600 ++++ b/fdisk.c 2016-01-26 00:55:18.478415913 -0600 +@@ -70,6 +70,7 @@ + #include <endian.h> + + #include <sys/ioctl.h> ++#include <sys/types.h> + + #include "kernel-defs.h" + diff --git a/user/mac-fdisk/mac-fdisk-large-disk-support.patch b/user/mac-fdisk/mac-fdisk-large-disk-support.patch new file mode 100644 index 000000000..fe9e78ec7 --- /dev/null +++ b/user/mac-fdisk/mac-fdisk-large-disk-support.patch @@ -0,0 +1,80 @@ +--- a/partition_map.c ++++ b/partition_map.c +@@ -25,6 +25,11 @@ + * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + ++// ++// Defines ++// ++// #define TEST_COMPUTE ++ + #include <stdio.h> + #include <string.h> + #include <stdlib.h> +@@ -36,6 +41,10 @@ + #include <sys/ioctl.h> + #include "kernel-defs.h" + #include <sys/stat.h> ++#ifdef TEST_COMPUTE ++#include <linux/fs.h> ++#endif ++ + #endif + + #include "partition_map.h" +@@ -45,10 +54,6 @@ + #include "errors.h" + + +-// +-// Defines +-// +-// #define TEST_COMPUTE + + + // +@@ -666,7 +671,7 @@ + loff_t pos; + #endif + char* data; +- unsigned long l, r, x; ++ unsigned long long l, r, x; + int valid; + + #ifdef TEST_COMPUTE +@@ -720,9 +725,11 @@ + } else { + r = r * 2; + } +- if (r >= (1024*1024*1024)) { +- break; +- } ++// There's no explanation for this, but I suspect the author was trying to ++// prevent going over the 32 bit size ++// if (r >= (1024*1024*1024*2)) { ++// break; ++// } + } + // binary search for end + while (l <= r) { +@@ -740,11 +747,17 @@ + if (valid != 0) { + x = x + 1; + } +- // printf("size in blocks = %d\n", x); ++#ifdef TEST_COMPUTE ++ printf("size in blocks = %d\n", x); ++#endif + free(data); + } ++ ++ // Add a warning just in case... ++ if(x > 0x80000000) ++ printf("Warning: Large disks may not work with this tool!\n"); + +- return x; ++ return (unsigned long) x; + } + + diff --git a/user/mac-fdisk/mac-fdisk-largerthan2gb.patch b/user/mac-fdisk/mac-fdisk-largerthan2gb.patch new file mode 100644 index 000000000..b33487ca9 --- /dev/null +++ b/user/mac-fdisk/mac-fdisk-largerthan2gb.patch @@ -0,0 +1,14 @@ +--- a/fdisk.h ++++ b/fdisk.h +@@ -2,6 +2,11 @@ + fdisk.h + */ + ++#ifdef __linux__ ++#define _FILE_OFFSET_BITS 64 ++#define _LARGE_FILES ++#endif ++ + #define SECTOR_SIZE 512 + #define NETBSD_PARTITION 0xa5 + #define cround(n) (((n) + display_factor * unit_flag) / display_factor) diff --git a/user/mac-fdisk/mac-fdisk-non-glibc-support.patch b/user/mac-fdisk/mac-fdisk-non-glibc-support.patch new file mode 100644 index 000000000..ae54822b2 --- /dev/null +++ b/user/mac-fdisk/mac-fdisk-non-glibc-support.patch @@ -0,0 +1,14 @@ +--- a/io.c 2016-01-24 03:19:51.647734970 -0600 ++++ b/io.c 2016-01-24 03:27:08.952825190 -0600 +@@ -31,11 +31,9 @@ + #ifndef __linux__ + #include <SCSI.h> + #else +-#ifdef __GLIBC__ + #include <sys/types.h> + #include <sys/stat.h> + #endif +-#endif + #include <linux/unistd.h> + #include <unistd.h> + #include <string.h> diff --git a/user/milou/APKBUILD b/user/milou/APKBUILD new file mode 100644 index 000000000..7d9acf61d --- /dev/null +++ b/user/milou/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=milou +pkgver=5.8.7 +pkgrel=0 +pkgdesc="Search and launch plasmoid" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1 GPL-2.0" +depends="" +makedepends="kcoreaddons-dev ki18n-dev kdeclarative-dev kservice-dev + plasma-framework-dev krunner-dev + cmake extra-cmake-modules python3 gettext-dev" +install="" +subpackages="$pkgname-lang" +source="http://download.kde.org/stable/plasma/$pkgver/milou-$pkgver.tar.xz + fix-test-signedness.patch" +builddir="$srcdir/milou-$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="b7c6d4d6d6fc1166fa816ff7e772ed339f92c35be6b888ab9fb7974e2d6f459a37e1f8f12dd4f3e836df338bc414cf233304003c9115721f86957a8528579ff0 milou-5.8.7.tar.xz +f67b9f4040fa946ab9ededdcdc301cba969754f7b538d7b02ca73f4d72194d0eef18ff9c5963953d225604e46223d193c9f4e20df6157795a20fa5dcdd4dd5ff fix-test-signedness.patch" diff --git a/user/milou/fix-test-signedness.patch b/user/milou/fix-test-signedness.patch new file mode 100644 index 000000000..373c67bc1 --- /dev/null +++ b/user/milou/fix-test-signedness.patch @@ -0,0 +1,11 @@ +--- milou-5.8.7/lib/test/modeltest.cpp.old 2017-05-23 07:05:02.000000000 -0500 ++++ milou-5.8.7/lib/test/modeltest.cpp 2017-10-06 05:05:21.383062040 -0500 +@@ -451,7 +451,7 @@ + // Check that the alignment is one we know about + QVariant textAlignmentVariant = model->data ( model->index ( 0, 0 ), Qt::TextAlignmentRole ); + if ( textAlignmentVariant.isValid() ) { +- int alignment = textAlignmentVariant.toInt(); ++ unsigned int alignment = textAlignmentVariant.toUInt(); + QCOMPARE( alignment, ( alignment & ( Qt::AlignHorizontal_Mask | Qt::AlignVertical_Mask ) ) ); + } + diff --git a/user/okteta/APKBUILD b/user/okteta/APKBUILD new file mode 100644 index 000000000..f7fff4942 --- /dev/null +++ b/user/okteta/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=okteta +pkgver=17.08.1 +pkgrel=0 +pkgdesc="Graphical hex/binary editor" +url="https://www.kde.org/applications/utilities/okteta/" +arch="all" +license="GPL-2.0" +depends="" +makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qtscript-dev kio-dev + kbookmarks-dev kcodecs-dev kcompletion-dev kconfigwidgets-dev ki18n-dev + kcrash-dev kdbusaddons-dev kdoctools-dev kiconthemes-dev kcmutils-dev + knewstuff-dev kparts-dev kservice-dev kwidgetsaddons-dev kxmlgui-dev" +install="" +subpackages="$pkgname-doc $pkgname-lang" +source="http://download.kde.org/stable/applications/$pkgver/src/okteta-$pkgver.tar.xz" +builddir="$srcdir/okteta-$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="1a75ae9ec7026848776ac0398a42415208c5902d401fd32d9022b7343724f5632ba8601da6edab5791b77f4f00a38e497ca86c40cb31319c53e8311568533aa6 okteta-17.08.1.tar.xz" diff --git a/user/oxygen/APKBUILD b/user/oxygen/APKBUILD new file mode 100644 index 000000000..a10fde8ba --- /dev/null +++ b/user/oxygen/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=oxygen +pkgver=5.8.7 +pkgrel=0 +pkgdesc="'Oxygen' theme for KDE" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev ki18n-dev kconfig-dev kguiaddons-dev kservice-dev + kwidgetsaddons-dev kcompletion-dev frameworkintegration-dev + kwindowsystem-dev kwayland-dev kdecoration-dev kcmutils-dev" +makedepends="$depends_dev cmake extra-cmake-modules libxcb-dev" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="https://download.kde.org/stable/plasma/$pkgver/oxygen-$pkgver.tar.xz" +builddir="$srcdir/oxygen-$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="9c7d53f2da76cc34272977d23856fa527a540aefff8308513603338aa5a48c59654d69e60da11b528ccd335d58b71159b36646e4f8cddb24937c36ef5bf9cf6d oxygen-5.8.7.tar.xz" diff --git a/user/perl-uri-escape/APKBUILD b/user/perl-uri-escape/APKBUILD new file mode 100644 index 000000000..96d44352e --- /dev/null +++ b/user/perl-uri-escape/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Stuart Cardall <developer@it-offshore.co.uk> +# Contributor: A. Wilcox <awilfox@adelielinux.org> +pkgname=perl-uri-escape +pkgver=1.72 +_realname=URI-$pkgver +pkgrel=0 +pkgdesc="Percent-encode and percent-decode unsafe characters" +url="http://search.cpan.org/dist/URI/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends="" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +checkdepends="perl-test-needs" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/$_realname.tar.gz" + +builddir="$srcdir"/$_realname + +build() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="804285c956efcd728569a8ca9c619ddc59d87ca686d1783f697dfee7da4d25721a565515a3e4ad39ff1e4a7239565d0e899ee88db95705804882ce43105f6186 URI-1.72.tar.gz" diff --git a/user/phonon/APKBUILD b/user/phonon/APKBUILD new file mode 100644 index 000000000..07d91d7d5 --- /dev/null +++ b/user/phonon/APKBUILD @@ -0,0 +1,57 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=phonon +pkgver=4.9.1 +pkgrel=0 +pkgdesc="Qt library for playing multimedia files" +url="https://phonon.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +makedepends="cmake extra-cmake-modules pulseaudio-dev + qt5-qtbase-dev qt5-qttools-dev" +install="" +subpackages="$pkgname-dev $pkgname-designer" +source="http://download.kde.org/stable/phonon/$pkgver/phonon-$pkgver.tar.xz" +builddir="$srcdir/phonon-$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" \ + -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=TRUE \ + -DWITH_GLIB2=TRUE \ + -DWITH_PulseAudio=TRUE \ + -DPHONON_BUILD_PHONON4QT5=TRUE \ + ${CMAKE_CROSSOPTS} + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +designer() { + pkgdesc="$pkgdesc (Qt Designer plugin)" + install_if="$pkgname=$pkgver-$pkgrel qt5-qttools" + mkdir -p "$subpkgdir"/usr/lib/qt5/plugins/ + mv "$pkgdir"/usr/lib/qt5/plugins/designer \ + "$subpkgdir"/usr/lib/qt5/plugins/ + rmdir "$pkgdir"/usr/lib/qt5/plugins || true # Never mind +} + +sha512sums="a1741765071a625d9b9073d9ad1571b91cf5bfce2223bd1b034828d02dc52624587a6ec5352f3702df79f6e4201007596843fbcb9f15c9b489a858200787d728 phonon-4.9.1.tar.xz" diff --git a/user/plasma-desktop/APKBUILD b/user/plasma-desktop/APKBUILD new file mode 100644 index 000000000..a23600c83 --- /dev/null +++ b/user/plasma-desktop/APKBUILD @@ -0,0 +1,58 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=plasma-desktop +pkgver=5.8.7.1 +pkgrel=3 +pkgdesc="Modern, functional, integrated libre desktop environment" +url="https://www.kde.org/info/plasma-desktop" +arch="all" +license="GPL-2.0 LGPL-2.1" +options="!check" # Test suite fails due to keyboard layouts +# theme/visual dependencies +depends="breeze breeze-icons oxygen ttf-liberation" +# shell/QML dependencies +depends="$depends kde-cli-tools kded kwin qt5-qtgraphicaleffects setxkbmap" +# Good Ideas™ to have +depends="$depends consolekit kdeclarative" +depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtx11extras-dev + qt5-qtsvg-dev kdelibs4support-dev xf86-input-synaptics-dev + kauth-dev plasma-framework-dev kdoctools-dev ki18n-dev + kcmutils-dev knewstuff-dev knotifications-dev knotifyconfig-dev + attica-dev kwallet-dev krunner-dev kglobalaccel-dev kdeclarative-dev + kpeople-dev kdbusaddons-dev kactivities-dev kactivities-stats-dev + kconfig-dev kitemmodels-dev plasma-workspace-dev xf86-input-evdev-dev + libxkbcommon-dev pulseaudio-dev libcanberra-dev libxkbfile-dev + xorg-server-dev" +makedepends="$depends_dev cmake extra-cmake-modules xkeyboard-config" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="http://download.kde.org/Attic/plasma/5.8.7/plasma-desktop-$pkgver.tar.xz" +builddir="$srcdir/$pkgname-5.8.7" + +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="da5d7a5e815f4e5895e93788f1634cd624bf385303599d6db9145f185b1429b24614d5c42e55d15b1202d5233b1c52db8bcb7fa6a0317ac1ebaa6b56020f228d plasma-desktop-5.8.7.1.tar.xz" diff --git a/user/plasma-framework/APKBUILD b/user/plasma-framework/APKBUILD new file mode 100644 index 000000000..d88576866 --- /dev/null +++ b/user/plasma-framework/APKBUILD @@ -0,0 +1,51 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=plasma-framework +pkgver=5.38.0 +pkgrel=1 +pkgdesc="Frameworks for the KDE Plasma 5 desktop environment" +url="https://www.kde.org/" +arch="all" +license="GPL-2.0 LGPL-2.1" +options="!check" # Requires accelerated X11 *and* system DBus running. +depends="qt5-qtquickcontrols" +depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-dev kactivities-dev + karchive-dev kconfigwidgets-dev kdbusaddons-dev kdeclarative-dev kio-dev + kconfig-dev kglobalaccel-dev kguiaddons-dev kiconthemes-dev ki18n-dev + kservice-dev kwindowsystem-dev knotifications-dev kpackage-dev + kwayland-dev" +makedepends="$depends_dev cmake extra-cmake-modules python3 gettext-dev doxygen + kdoctools-dev libx11-dev libxcb-dev graphviz qt5-qttools-dev" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/plasma-framework-$pkgver.tar.xz" +builddir="$srcdir/plasma-framework-$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" \ + -DBUILD_QCH:BOOL=ON \ + ${CMAKE_CROSSOPTS} + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="5daec7431e70b6a94001608992b8930445d3b936830980fb9a6bbe501cb0f660cb9d192089c2401d1699c92448d4d9043ec12a42f0dd517fcd505127cb58e37b plasma-framework-5.38.0.tar.xz" diff --git a/user/plasma-integration/APKBUILD b/user/plasma-integration/APKBUILD new file mode 100644 index 000000000..4c2e14e54 --- /dev/null +++ b/user/plasma-integration/APKBUILD @@ -0,0 +1,49 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=plasma-integration +pkgver=5.8.7 +pkgrel=1 +pkgdesc="Qt platform theme plugin for Plasma" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +options="!check" # Times out, requires X11 desktop. +depends="breeze ttf-hack ttf-noto" +depends_dev="qt5-qtbase-dev qt5-qtx11extras-dev kconfig-dev kconfigwidgets-dev + ki18n-dev kiconthemes-dev kio-dev knotifications-dev kwayland-dev + kwidgetsaddons-dev kwindowsystem-dev breeze-dev libxcursor-dev" +makedepends="$depends_dev cmake extra-cmake-modules python3 gettext-dev" +install="" +subpackages="$pkgname-lang" +source="http://download.kde.org/stable/plasma/$pkgver/plasma-integration-$pkgver.tar.xz" +builddir="$srcdir/plasma-integration-$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" \ + -DCMAKE_DISABLE_FIND_PACKAGE_FontNotoSans=true \ + -DCMAKE_DISABLE_FIND_PACKAGE_FontHack=true \ + ${CMAKE_CROSSOPTS} + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="04e4528a59f916d9fed8d083b699711df62a504aada40b71607fa10fd51074aae63b163eca2c4893fc07bf86718a567a9047b61874da6eea282993e25bf5c919 plasma-integration-5.8.7.tar.xz" diff --git a/user/plasma-workspace/APKBUILD b/user/plasma-workspace/APKBUILD new file mode 100644 index 000000000..b23b8749b --- /dev/null +++ b/user/plasma-workspace/APKBUILD @@ -0,0 +1,65 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=plasma-workspace +pkgver=5.8.7 +pkgrel=6 +pkgdesc="KDE Plasma 5 workspace" +url="https://www.kde.org/plasma-desktop" +arch="all" +license="LGPL-2.1" +options="!check" # Test requires X11 accelration. +# startkde shell script calls +depends="kinit qdbus qtpaths xmessage xprop xset xsetroot" +# font installation stuff +depends="$depends mkfontdir" +# QML deps +depends="$depends qt5-qtgraphicaleffects qt5-qtquickcontrols solid" +# other runtime deps / plugins +depends="$depends libdbusmenu-qt kcmutils kde-cli-tools kded kdesu kio-extras + ksysguard kwin milou plasma-integration pulseaudio-utils iso-codes xrdb" +depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtscript-dev kwallet-dev + plasma-framework-dev krunner-dev knotifyconfig-dev knewstuff-dev + kcmutils-dev kdeclarative-dev ktextwidgets-dev kdelibs4support-dev + kcrash-dev kglobalaccel-dev kdbusaddons-dev kitemmodels-dev kdesu-dev + kidletime-dev kwayland-dev kjsembed-dev kxmlrpcclient-dev kholidays-dev + libksysguard-dev kpackage-dev baloo-dev kwin-dev libdbusmenu-qt-dev + ktexteditor-dev" +makedepends="$depends_dev cmake extra-cmake-modules kdoctools-dev" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="https://download.kde.org/Attic/plasma/$pkgver/plasma-workspace-$pkgver.tar.xz + plasma-workspace-5.8-cmake-update.patch + plasma-workspace-5.8.7-disable-broken-test.patch + plasma-workspace-5.8-honour-uint.patch" +builddir="$srcdir/plasma-workspace-$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="ba35a050384e0bf410097027bfb70ca7594cd5352fd6470228d537f4e876ec72ec26bac3be9a6750f306b1d2937ff53c267c2246f191c93a13972a0cf33b4faf plasma-workspace-5.8.7.tar.xz +3d7cfb1c7c54bcbca47c5c01497c776d54d1e2327bc0a3777cfaf001f44ec7c1863f15ab0586c00db6d7194f759b91d0a86e47ae99e7fa23782dd7deda264e47 plasma-workspace-5.8-cmake-update.patch +2151dab30716e0b2b6a9146fd6262f4f134884961bebe9cf9baee269f35b1b3955ed07dcee2602b5adc2fc93aa15d37cb72d6983f026a2b504feb451d944d965 plasma-workspace-5.8.7-disable-broken-test.patch +48b4c448a4e964e61f25fa751fbc67f6cfce0e792139a124a70fa5c07f8b1b1a1c51fd5652679a3c46ac997c2dda3df476e8c8ebfdc6a08ece4f2e79282d81a3 plasma-workspace-5.8-honour-uint.patch" diff --git a/user/plasma-workspace/plasma-workspace-5.8-cmake-update.patch b/user/plasma-workspace/plasma-workspace-5.8-cmake-update.patch new file mode 100644 index 000000000..e77731eb5 --- /dev/null +++ b/user/plasma-workspace/plasma-workspace-5.8-cmake-update.patch @@ -0,0 +1,34 @@ +From 052ab380b6cb7f27da19ba0937bc2563b175a19b Mon Sep 17 00:00:00 2001 +From: David Faure <faure@kde.org> +Date: Mon, 17 Jul 2017 00:07:47 +0200 +Subject: Fix compilation with current cmake (git branch release). + +I don't see what the private/ in front of the moc_ filenames was for anyway. +--- + shell/containmentconfigview.cpp | 2 +- + shell/currentcontainmentactionsmodel.cpp | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/shell/containmentconfigview.cpp b/shell/containmentconfigview.cpp +index 4d107be..8d6df0d 100644 +--- a/shell/containmentconfigview.cpp ++++ b/shell/containmentconfigview.cpp +@@ -245,4 +245,4 @@ void ContainmentConfigView::syncWallpaperObjects() + m_currentWallpaperConfig = static_cast<KDeclarative::ConfigPropertyMap *>(wallpaperGraphicsObject->property("configuration").value<QObject *>()); + } + +-#include "private/moc_containmentconfigview.cpp" ++#include "moc_containmentconfigview.cpp" +diff --git a/shell/currentcontainmentactionsmodel.cpp b/shell/currentcontainmentactionsmodel.cpp +index 08317ed..521d1c9 100644 +--- a/shell/currentcontainmentactionsmodel.cpp ++++ b/shell/currentcontainmentactionsmodel.cpp +@@ -275,4 +275,4 @@ void CurrentContainmentActionsModel::save() + } + } + +-#include "private/moc_currentcontainmentactionsmodel.cpp" ++#include "moc_currentcontainmentactionsmodel.cpp" +-- +cgit v0.11.2 + diff --git a/user/plasma-workspace/plasma-workspace-5.8-honour-uint.patch b/user/plasma-workspace/plasma-workspace-5.8-honour-uint.patch new file mode 100644 index 000000000..a5e16d7b3 --- /dev/null +++ b/user/plasma-workspace/plasma-workspace-5.8-honour-uint.patch @@ -0,0 +1,43 @@ +From 2f22f0a935b69f2f2a866050be5b905f9df4e4b6 Mon Sep 17 00:00:00 2001 +From: Marco Martin <notmart@gmail.com> +Date: Mon, 20 Mar 2017 16:59:25 +0100 +Subject: fix compilation with old gcc + +Summary: +gcc 4.8.5 (opensuse leap) fails building modeltest with +CMakeFiles/testHistoryModel.dir/modeltest.cpp.o: In function `ModelTest::data()': +modeltest.cpp:(.text+0x5a57): undefined reference to `bool QTest::qCompare<int, unsigned int>(int const&, unsigned int const&, char const*, char const*, char const*, int)' + +Test Plan: +builds fine now +same thing should be done to modeltest usage in kwin + +Reviewers: #plasma, davidedmundson + +Reviewed By: #plasma, davidedmundson + +Subscribers: davidedmundson, plasma-devel + +Tags: #plasma + +Differential Revision: https://phabricator.kde.org/D5083 +--- + klipper/autotests/modeltest.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/klipper/autotests/modeltest.cpp b/klipper/autotests/modeltest.cpp +index d42d95f..d9b70f9 100644 +--- a/klipper/autotests/modeltest.cpp ++++ b/klipper/autotests/modeltest.cpp +@@ -453,7 +453,7 @@ void ModelTest::data() + // Check that the alignment is one we know about + QVariant textAlignmentVariant = model->data ( model->index ( 0, 0 ), Qt::TextAlignmentRole ); + if ( textAlignmentVariant.isValid() ) { +- int alignment = textAlignmentVariant.toInt(); ++ unsigned int alignment = textAlignmentVariant.toUInt(); + QCOMPARE( alignment, ( alignment & ( Qt::AlignHorizontal_Mask | Qt::AlignVertical_Mask ) ) ); + } + +-- +cgit v0.11.2 + diff --git a/user/plasma-workspace/plasma-workspace-5.8.7-disable-broken-test.patch b/user/plasma-workspace/plasma-workspace-5.8.7-disable-broken-test.patch new file mode 100644 index 000000000..362002d61 --- /dev/null +++ b/user/plasma-workspace/plasma-workspace-5.8.7-disable-broken-test.patch @@ -0,0 +1,9 @@ +--- plasma-workspace-5.8.7/drkonqi/tests/CMakeLists.txt.old 2017-05-23 07:17:40.000000000 -0500 ++++ plasma-workspace-5.8.7/drkonqi/tests/CMakeLists.txt 2017-10-05 18:04:03.428394763 -0500 +@@ -1,5 +1,5 @@ + add_subdirectory(crashtest) +-add_subdirectory(backtraceparsertest) ++#add_subdirectory(backtraceparsertest) + if(KF5XmlRpcClient_FOUND) + add_subdirectory(bugzillalibtest) + endif() diff --git a/user/polkit-qt-1/APKBUILD b/user/polkit-qt-1/APKBUILD new file mode 100644 index 000000000..51eb20d1b --- /dev/null +++ b/user/polkit-qt-1/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=polkit-qt-1 +pkgver=0.112.0 +pkgrel=0 +pkgdesc="Qt wrapper library for PolicyKit" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +options="!check" # No test suite. +depends="" +depends_dev="polkit-dev glib-dev" +makedepends="$depends_dev cmake qt5-qtbase-dev" +install="" +subpackages="$pkgname-dev" +source="https://download.kde.org/stable/apps/KDE4.x/admin/polkit-qt-1-$pkgver.tar.bz2" +builddir="$srcdir/polkit-qt-1-$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" \ + -DUSE_QT5=ON \ + ${CMAKE_CROSSOPTS} + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="4cb17389b54a09c53052f6d72aa5cbfe09ccb19f7fd4edf8b43ccd4751f5e88609c5f89777f4af92167d32eb2ce1e78537cea7bcfb60a90072d1fe02d6a59b50 polkit-qt-1-0.112.0.tar.bz2" diff --git a/user/qt5-qtx11extras/APKBUILD b/user/qt5-qtx11extras/APKBUILD new file mode 100644 index 000000000..c158524c0 --- /dev/null +++ b/user/qt5-qtx11extras/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=qt5-qtx11extras +pkgver=5.9.1 +pkgrel=0 +pkgdesc="Qt5 - Extra libraries for X11 support" +url="http://qt-project.org/" +arch="all" +license="LGPLv2 with exceptions or GPLv3 with exceptions" +options="!check" +depends="" +makedepends="qt5-qtbase-dev" +install="" +subpackages="$pkgname-dev" + +_ver=${pkgver/_/-} +_ver=${_ver/beta0/beta} +_ver=${_ver/rc0/rc} +_V=${_ver/rc/RC} +case $pkgver in +*_beta*|*_rc*) _rel=development_releases;; +*) _rel=official_releases;; +esac + +source="http://download.qt-project.org/$_rel/qt/${pkgver%.*}/$_ver/submodules/qtx11extras-opensource-src-$_V.tar.xz" + +builddir="$srcdir"/qtx11extras-opensource-src-$_V +build() { + cd "$builddir" + qmake-qt5 && make +} + +package() { + cd "$builddir" + make install INSTALL_ROOT="$pkgdir" +} + +sha512sums="71b49d4c313e69d47b4e8652913005afe178caaee30f123016ed87ef4d798c347fd15135895a3e434ca32a80aee82a1b2d7da8278ceef92bdee9c35b7cdce84e qtx11extras-opensource-src-5.9.1.tar.xz" diff --git a/user/solid/APKBUILD b/user/solid/APKBUILD new file mode 100644 index 000000000..d6e15bb1d --- /dev/null +++ b/user/solid/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=solid +pkgver=5.38.0 +pkgrel=2 +pkgdesc="Platform-independent hardware discovery and access" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="udisks2 upower" +depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev eudev-dev" +makedepends="$depends_dev cmake extra-cmake-modules flex bison qt5-qttools-dev" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/solid-$pkgver.tar.xz" +builddir="$srcdir/solid-$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="1b6c755c242f04aed776dda3aba4e0377636230ff616374bf87d0f50d47846a252817e9a08df5ec08b8a30844dc799fcc9450a2288a1ceed30ca5b326c0e3fa7 solid-5.38.0.tar.xz" diff --git a/user/sonnet/APKBUILD b/user/sonnet/APKBUILD new file mode 100644 index 000000000..159ef8596 --- /dev/null +++ b/user/sonnet/APKBUILD @@ -0,0 +1,53 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=sonnet +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Framework for implementing portable spell check functionality" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev" +makedepends="$depends_dev cmake extra-cmake-modules aspell-dev hunspell-dev + qt5-qttools-dev" +install="" +subpackages="$pkgname-dev $pkgname-lang $pkgname-aspell" +source="http://download.kde.org/stable/frameworks/5.38/sonnet-$pkgver.tar.xz" +builddir="$srcdir/sonnet-$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 +} + +aspell() { + pkgdesc="$pkdesc (aspell backend)" + install_if="$pkgname=$pkgver-$pkgrel aspell" + mkdir -p "$subpkgdir"/usr/lib/qt5/plugins/kf5/sonnet + mv "$pkgdir"/usr/lib/qt5/plugins/kf5/sonnet/aspell.so \ + "$subpkgdir"/usr/lib/qt5/plugins/kf5/sonnet/aspell.so +} + +sha512sums="c2cd812815c0fe7ed9e4dbf046d4b0da2aec08703d93631df0eec8c05caaaf6e69d763bfabd88c5efc78661045816125ae3979bef959794552f11637932c9fc5 sonnet-5.38.0.tar.xz" diff --git a/user/spectacle/APKBUILD b/user/spectacle/APKBUILD new file mode 100644 index 000000000..3fee5fa8a --- /dev/null +++ b/user/spectacle/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=spectacle +pkgver=17.08.1 +pkgrel=0 +pkgdesc="Application for capturing desktop screenshots" +url="https://www.kde.org/applications/graphics/spectacle/" +arch="all" +license="GPL-2.0" +depends="" +makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev + kcoreaddons-dev kwidgetsaddons-dev kdbusaddons-dev knotifications-dev + kconfig-dev ki18n-dev kio-dev kxmlgui-dev kwindowsystem-dev python3 + kdoctools-dev kdeclarative-dev xcb-util-image-dev xcb-util-cursor-dev + libxcb-dev xcb-util-renderutil-dev" +subpackages="$pkgname-doc $pkgname-lang" +source="http://download.kde.org/stable/applications/$pkgver/src/spectacle-$pkgver.tar.xz" +builddir="$srcdir/spectacle-$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="5f204f74c01763d453278a7c716ee7dba428599e5289ca570e039865ef5db25ffc4e90c4617e8699dd732b10f4dcc8f5868946a6f17208ad4aceb0c411a4dd01 spectacle-17.08.1.tar.xz" diff --git a/user/syntax-highlighting/APKBUILD b/user/syntax-highlighting/APKBUILD new file mode 100644 index 000000000..3af6526ae --- /dev/null +++ b/user/syntax-highlighting/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=syntax-highlighting +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Framework for rendering programming code with formatting" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev" +makedepends="$depends_dev cmake extra-cmake-modules qt5-qttools-dev perl" +checkdepends="qt5-qtxmlpatterns-dev" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/syntax-highlighting-$pkgver.tar.xz" +builddir="$srcdir/syntax-highlighting-$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="1ca56399cd78e593644b3d474b4eff979762300d6d27f19a57e1e66954342ec0c6de28b4309f284d7c3c3d1f71d1ea6ca108cee0c5bb8ca1803aed5f0c69076c syntax-highlighting-5.38.0.tar.xz" diff --git a/user/systemsettings/APKBUILD b/user/systemsettings/APKBUILD new file mode 100644 index 000000000..3292521f3 --- /dev/null +++ b/user/systemsettings/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=systemsettings +pkgver=5.8.7 +pkgrel=0 +pkgdesc="KDE system settings configuration utility" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev kauth-dev kcmutils-dev kcompletion-dev kconfig-dev + kconfigwidgets-dev kcoreaddons-dev kdbusaddons-dev ki18n-dev kio-dev + kiconthemes-dev kitemviews-dev kservice-dev kwidgetsaddons-dev + kwindowsystem-dev kxmlgui-dev" +makedepends="$depends_dev cmake extra-cmake-modules" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="https://download.kde.org/stable/plasma/$pkgver/systemsettings-$pkgver.tar.xz" +builddir="$srcdir/systemsettings-$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="38bc0b65e5fbe10a1c229e91b93f59a1837fdfd1f2d89d7ab7bf0d64ffecc5d1b7ac946c03a8bc91e6c75ad522ed26a6351e5cfc4044b04170281854fc8c32c7 systemsettings-5.8.7.tar.xz" diff --git a/user/threadweaver/APKBUILD b/user/threadweaver/APKBUILD new file mode 100644 index 000000000..196c86a25 --- /dev/null +++ b/user/threadweaver/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=threadweaver +pkgver=5.38.0 +pkgrel=0 +pkgdesc="High-level threading framework" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev" +makedepends="$depends_dev cmake extra-cmake-modules" +install="" +subpackages="$pkgname-dev" +source="http://download.kde.org/stable/frameworks/5.38/threadweaver-$pkgver.tar.xz" +builddir="$srcdir/threadweaver-$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="be6702c755b597ff6dd485809d4f48bcbc5e4ffdac5222fb9478dffaef942557e6cc405bc421a47266b2e0d0ac10e81a26ebb7277d03c0cca182f565471031de threadweaver-5.38.0.tar.xz" diff --git a/user/ttf-hack/APKBUILD b/user/ttf-hack/APKBUILD new file mode 100644 index 000000000..5f4f3f0e9 --- /dev/null +++ b/user/ttf-hack/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=ttf-hack +pkgver=2.020 +pkgrel=1 +pkgdesc="Libre typeface designed for source code" +url="http://sourcefoundry.org/hack/" +arch="noarch" +license="OFL-2.0" +options="!check" # No test suite. +depends="" +makedepends="" +install="" +subpackages="" +source="https://github.com/source-foundry/Hack/releases/download/v$pkgver/Hack-v2_020-ttf.zip" +builddir="$srcdir/" + +build() { + cd "$builddir" +} + +package() { + cd "$builddir" + for variant in Regular Bold BoldItalic Italic; do + install -m644 -D "$srcdir"/Hack-$variant.ttf \ + "$pkgdir"/usr/share/fonts/truetype/Hack-$variant.ttf + done +} + +sha512sums="de3c8e13ace5ee49bb2b5dd331cc3109ad12b762f967c88cdf8f0d1080e5c3cb99d2dffe1c986c9fcc6e46e31c3bc7141cf1c9e1b8430d1ef76a90ab461d1a09 Hack-v2_020-ttf.zip" diff --git a/user/ttf-noto/40-noto-arabic.conf b/user/ttf-noto/40-noto-arabic.conf new file mode 100644 index 000000000..dd6304ccb --- /dev/null +++ b/user/ttf-noto/40-noto-arabic.conf @@ -0,0 +1,26 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + + <alias> + <family>Noto Kufi Arabic</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Naskh Arabic</family> + <default> + <family>fantasy</family> + </default> + </alias> + + <alias> + <family>Noto Nastaliq Urdu Draft</family> + <default> + <family>fantasy</family> + </default> + </alias> + +</fontconfig> diff --git a/user/ttf-noto/45-noto-sans.conf b/user/ttf-noto/45-noto-sans.conf new file mode 100644 index 000000000..988ec2d73 --- /dev/null +++ b/user/ttf-noto/45-noto-sans.conf @@ -0,0 +1,635 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + + <alias> + <family>Noto Sans</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Armenian</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Avestan</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Balinese</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Bamum</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Batak</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Bengali</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Brahmi</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Buginese</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Buhid</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Canadian Aboriginal</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Carian</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Cham</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Cherokee</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Coptic</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Cypriot</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Deseret</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Devanagari</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Egyptian Hieroglyphs</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Ethiopic</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Georgian</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Glagolitic</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Gothic</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Gujarati</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Gurmukhi</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans S Chinese</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans T Chinese</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Hanunoo</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Hebrew</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Imperial Aramaic</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Japanese</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Javanese</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Korean</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Kaithi</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Kannada</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Kayah Li</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Kharoshthi</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Khmer</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Lao</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Lepcha</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Limbu</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Linear B</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Lisu</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Lycian</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Lydian</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Malayalam</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Mandaic</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Meetei Mayek</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Mongolian</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Myanmar</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans NKo</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans New Tai Lue</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Ogham</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Ol Chiki</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Old Italic</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Old Persian</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Old South Arabian</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Old Turkic</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Oriya</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Osmanya</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Inscriptional Pahlavi</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Inscriptional Parthian</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Phags-pa</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Phoenician</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Rejang</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Runic</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Samaritan</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Saurashtra</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Shavian</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Sinhala</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Sumero-Akkadian Cuneiform</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Sundanese</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Syloti Nagri</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Symbols</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Syriac Eastern</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Syriac Estrangela</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Syriac Western</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Tagalog</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Tagbanwa</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Tai Le</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Tai Tham</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Tai Viet</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Tamil</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Telugu</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Thaana</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Thai</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Tifinagh</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Ugaritic</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Vai</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Yi</family> + <default> + <family>sans-serif</family> + </default> + </alias> + +</fontconfig> diff --git a/user/ttf-noto/45-noto-serif.conf b/user/ttf-noto/45-noto-serif.conf new file mode 100644 index 000000000..aeddf9925 --- /dev/null +++ b/user/ttf-noto/45-noto-serif.conf @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + + <alias> + <family>Noto Serif</family> + <default> + <family>serif</family> + </default> + </alias> + + <alias> + <family>Noto Serif Armenian</family> + <default> + <family>serif</family> + </default> + </alias> + + <alias> + <family>Noto Serif Georgian</family> + <default> + <family>serif</family> + </default> + </alias> + + <alias> + <family>Noto Serif Khmer</family> + <default> + <family>serif</family> + </default> + </alias> + + <alias> + <family>Noto Serif Lao</family> + <default> + <family>serif</family> + </default> + </alias> + + <alias> + <family>Noto Serif Thai</family> + <default> + <family>serif</family> + </default> + </alias> + +</fontconfig> diff --git a/user/ttf-noto/90-non-tt-noto-sans-cjk.conf b/user/ttf-noto/90-non-tt-noto-sans-cjk.conf new file mode 100644 index 000000000..92f4cff7e --- /dev/null +++ b/user/ttf-noto/90-non-tt-noto-sans-cjk.conf @@ -0,0 +1,89 @@ +<?xml version='1.0'?> +<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> +<fontconfig> + + <match target="font" > + <test name="family" > + <string>Noto Sans CJK SC</string> + </test> + <edit name="autohint" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="globaladvance"> + <bool>false</bool> + </edit> + </match> + + <match target="font" > + <test name="family" > + <string>Noto Sans CJK TC</string> + </test> + <edit name="autohint" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="globaladvance"> + <bool>false</bool> + </edit> + </match> + + <match target="font" > + <test name="family" > + <string>Noto Sans CJK JP</string> + </test> + <edit name="autohint" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="globaladvance"> + <bool>false</bool> + </edit> + </match> + + <match target="font" > + <test name="family" > + <string>Noto Sans CJK KR</string> + </test> + <edit name="autohint" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="globaladvance"> + <bool>false</bool> + </edit> + </match> + +</fontconfig> diff --git a/user/ttf-noto/90-tt-noto-sans.conf b/user/ttf-noto/90-tt-noto-sans.conf new file mode 100644 index 000000000..dfbefd0d0 --- /dev/null +++ b/user/ttf-noto/90-tt-noto-sans.conf @@ -0,0 +1,1876 @@ +<?xml version='1.0'?> +<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> +<fontconfig> + + <!-- Noto Sans --> + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + </match> + + <!-- Noto Sans multilang --> + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Kufi Arabic</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Naskh Arabic</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Nastaliq Urdu Draft</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Armenian</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Avestan</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Balinese</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Bamum</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Batak</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Bengali</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Brahmi</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Buginese</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Buhid</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Canadian Aboriginal</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Carian</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Cham</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Cherokee</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Coptic</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Cypriot</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Deseret</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Devanagari</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Egyptian Hieroglyphs</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Ethiopic</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Georgian</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Glagolitic</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Gothic</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Gujarati</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Gurmukhi</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Hanunoo</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Hebrew</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Imperial Aramaic</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Javanese</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Kaithi</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Kannada</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Kharoshthi</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Khmer</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Lao</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Lepcha</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Limbu</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Linear B</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Lisu</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Lycian</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Lydian</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Malayalam</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Mandaic</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Meetei Mayek</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Mongolian</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Myanmar</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans NKo</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans New Tai Lue</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Ogham</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Ol Chiki</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Old Italic</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Old Persian</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Old South Arabian</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Old Turkic</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Oriya</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Osmanya</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Kannada</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Inscriptional Pahlavi</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Inscriptional Parthian</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Phags-pa</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Phoenician</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Rejang</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Runic</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Samaritan</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Saurashtra</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Shavian</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Sinhala</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Sumero-Akkadian Cuneiform</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Sundanese</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Syloti Nagri</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Symbols</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Syriac Eastern</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Syriac Estrangela</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Syriac Western</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Tagalog</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Tagbanwa</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Tai Le</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Tai Tham</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Tai Viet</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Tamil</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Telugu</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Thaana</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Thai</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Tifinagh</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Ugaritic</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Vai</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Yi</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + +</fontconfig> diff --git a/user/ttf-noto/90-tt-noto-serif.conf b/user/ttf-noto/90-tt-noto-serif.conf new file mode 100644 index 000000000..a38f6fc82 --- /dev/null +++ b/user/ttf-noto/90-tt-noto-serif.conf @@ -0,0 +1,131 @@ +<?xml version='1.0'?> +<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> +<fontconfig> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Serif</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Serif Armenian</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Serif Georgian</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Serif Khmer</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Serif Lao</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Serif Thai</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + +</fontconfig> diff --git a/user/ttf-noto/APKBUILD b/user/ttf-noto/APKBUILD new file mode 100644 index 000000000..d960c53ed --- /dev/null +++ b/user/ttf-noto/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=ttf-noto +pkgver=20160531 +pkgrel=1 +pkgdesc="Noto font family" +url="http://www.google.com/get/noto/" +arch="noarch" +license="Apache" +options="!check" # how do you test a font? +depends="fontconfig" +depends_dev="" +makedepends="$depends_dev" +install="" +# added fontconfig configuration from: +# https://github.com/bohoomil/fontconfig-ultimate/tree/master/fontconfig_patches/fonts-settings +source="https://dev.gentoo.org/~floppym/dist/noto-$pkgver.tar.xz + 40-noto-arabic.conf + 45-noto-sans.conf + 45-noto-serif.conf + 90-non-tt-noto-sans-cjk.conf + 90-tt-noto-sans.conf + 90-tt-noto-serif.conf" + +builddir="$srcdir" + +build() { + cd "$builddir" +} + +package() { + mkdir -p "$pkgdir"/usr/share/fonts/truetype/ + mkdir -p "$pkgdir"/etc/fonts/conf.d/ + cp "$builddir"/*.ttf "$pkgdir"/usr/share/fonts/truetype/ + cp "$builddir"/*.conf "$pkgdir"/etc/fonts/conf.d/ +} + +sha512sums="7114cd150d83747574f7177cc230c2e665d39aa934d6ef41224343ea7b8612e6b9d77ca5938eb9c815849a2908f035a0824e4e9153d7f44055f4947bf9fc1580 noto-20160531.tar.xz +47396e7a4e5dfb38d3df6dff0b4584757cc132f393d3410463eefc3dbb5f2af592a6b07a4c098d8c594be03f23e4eb84b76b672245fe0cea816927cf535ea270 40-noto-arabic.conf +748dfecbc3ad5c3750764e6ae889bbc4e614885237bb91ece138d2dc5014fd41ea6361b32982cfa4e76c7c092e0b93f90cccd0b92acbd408b7c302c44c1523e6 45-noto-sans.conf +5059295a1c36c4ec4aae61443221ee74876315127895da0773e4feb77e70cfc4b7923dde8f6510d6cf9de019082e15f1f4fd4b53f0bce4d2a681541f2de587df 45-noto-serif.conf +7cf1ec09d6226c46ff7bd796ff526aa42b7221eeb8a2e171e7dbab837fceb96a03b9c5d7bd6e88dbee97cdf54e443d940590b6be51478b88ebca19a419831080 90-non-tt-noto-sans-cjk.conf +e5d252e4ee265f9cc7a91eea0e0f8c74315a60cbce606860e0f9e722eb9331f8d87d541dd715bef46bdb4e637bab0344f2fd98cc0424e7cfa17e588efa07eb33 90-tt-noto-sans.conf +4f8760f7eeae99050a3b8ac73f4eeeb5ad32e9e5224034292e3ecdc260ffcc92f3ae45aa35e9f86905fce4ff909bb3263e25d8f4fe56dacba2fb3de2107e314f 90-tt-noto-serif.conf" |