From b58a5980c913c1b49e5045736584bb049e316b51 Mon Sep 17 00:00:00 2001 From: Alexander Baldeck Date: Tue, 15 Sep 2020 09:24:01 +0200 Subject: [PATCH] * initial 32bit work --- acl/PKGBUILD | 2 +- asciidoc/PKGBUILD | 2 +- attr/PKGBUILD | 2 +- audit/PKGBUILD | 5 ++-- bash/PKGBUILD | 2 +- binutils/PKGBUILD | 8 +++--- bison/PKGBUILD | 2 +- bzip2/PKGBUILD | 8 +++--- ccache/PKGBUILD | 2 +- chrpath/PKGBUILD | 2 +- cmake/PKGBUILD | 2 +- coreutils/PKGBUILD | 6 ++--- .../powerpc-linux-gnu-binutils/PKGBUILD | 2 +- .../powerpc-linux-gnu-gcc-stage1/PKGBUILD | 2 +- .../powerpc-linux-gnu-gcc-stage2/PKGBUILD | 2 +- .../powerpc-linux-gnu-gcc/PKGBUILD | 2 +- .../PKGBUILD | 2 +- curl/PKGBUILD | 2 +- db/PKGBUILD | 4 +-- dbus-glib/PKGBUILD | 2 +- dbus/PKGBUILD | 2 +- diffutils/PKGBUILD | 2 +- doxygen/PKGBUILD | 2 +- e2fsprogs/PKGBUILD | 2 +- ed/PKGBUILD | 2 +- elfutils/PKGBUILD | 8 +++--- expat/PKGBUILD | 2 +- fakeroot/PKGBUILD | 2 +- file/PKGBUILD | 2 +- filesystem/PKGBUILD | 2 +- findutils/PKGBUILD | 2 +- flex/PKGBUILD | 2 +- gawk/PKGBUILD | 2 +- gc/PKGBUILD | 18 ++++++++++--- gcc/PKGBUILD | 21 +++++++-------- gdbm/PKGBUILD | 3 ++- gettext/PKGBUILD | 4 +-- git/PKGBUILD | 20 +++++++------- glib2/PKGBUILD | 2 +- glibc/PKGBUILD | 7 ++++- gmp/PKGBUILD | 2 +- gobject-introspection/PKGBUILD | 8 +++--- gperf/PKGBUILD | 5 ++-- grep/PKGBUILD | 2 +- gtk-doc/PKGBUILD | 2 +- guile/PKGBUILD | 27 ++++++++++++++----- gzip/PKGBUILD | 2 +- icu/PKGBUILD | 8 +++--- iptables/PKGBUILD | 3 +-- jansson/PKGBUILD | 2 +- jsoncpp/PKGBUILD | 2 +- keyutils/PKGBUILD | 4 +-- krb5/PKGBUILD | 4 +-- lapack/PKGBUILD | 2 +- less/PKGBUILD | 2 +- libaio/PKGBUILD | 7 +++-- libarchive/PKGBUILD | 2 +- libassuan/PKGBUILD | 2 +- libatomic_ops/PKGBUILD | 2 +- libcap-ng/PKGBUILD | 4 +-- libcap/PKGBUILD | 2 +- libcbor/PKGBUILD | 2 +- libcroco/PKGBUILD | 4 +-- libgcrypt/PKGBUILD | 2 +- libgpg-error/PKGBUILD | 2 +- libidn2/PKGBUILD | 2 +- libksba/PKGBUILD | 2 +- libmnl/PKGBUILD | 2 +- libmpc/PKGBUILD | 2 +- libnetfilter_conntrack/PKGBUILD | 2 +- libnfnetlink/PKGBUILD | 2 +- libnftnl/PKGBUILD | 2 +- libnghttp2/PKGBUILD | 2 +- libnl/PKGBUILD | 3 ++- libpcap/PKGBUILD | 6 ++--- libpng/PKGBUILD | 2 +- libpsl/PKGBUILD | 2 +- libsasl/PKGBUILD | 8 +++--- libsecret/PKGBUILD | 2 +- libssh2/PKGBUILD | 2 +- libtasn1/PKGBUILD | 2 +- libtirpc/PKGBUILD | 2 +- libtool/PKGBUILD | 2 +- libunistring/PKGBUILD | 2 +- libusb-compat/PKGBUILD | 2 +- libusb/PKGBUILD | 2 +- libuv/PKGBUILD | 2 +- libxcrypt/PKGBUILD | 2 +- libxml2/PKGBUILD | 2 +- libxslt/PKGBUILD | 3 +-- linux-api-headers/PKGBUILD | 2 +- linux/PKGBUILD | 2 +- lvm2/PKGBUILD | 2 +- lz4/PKGBUILD | 2 +- m4/PKGBUILD | 2 +- make/PKGBUILD | 4 +-- meson/PKGBUILD | 7 ++--- mpdecimal/PKGBUILD | 4 +-- mpfr/PKGBUILD | 2 +- ncurses/PKGBUILD | 4 +-- nettle/PKGBUILD | 2 +- nftables/PKGBUILD | 2 +- ninja/PKGBUILD | 6 ++--- npth/PKGBUILD | 2 +- nspr/PKGBUILD | 2 +- openldap/PKGBUILD | 6 ++--- openssl/PKGBUILD | 18 +++++++++++-- p11-kit/PKGBUILD | 6 +++-- pacman/PKGBUILD | 2 +- pam/PKGBUILD | 8 +++--- patch/PKGBUILD | 2 +- pcre/PKGBUILD | 4 +-- pcre2/PKGBUILD | 4 +-- pcsclite/PKGBUILD | 2 +- perl/perl/PKGBUILD | 2 +- pkgconf/PKGBUILD | 22 ++++++++------- popt/PKGBUILD | 2 +- python/cython/PKGBUILD | 2 +- python/python-lxml/PKGBUILD | 2 +- python/python-markupsafe/PKGBUILD | 2 +- python/python-numpy/PKGBUILD | 2 +- python/python/PKGBUILD | 23 +++++++++++----- python/python2/PKGBUILD | 14 +++++++--- re2c/PKGBUILD | 4 +-- readline/PKGBUILD | 2 +- rhash/PKGBUILD | 2 +- sed/PKGBUILD | 2 +- shadow/PKGBUILD | 2 +- sqlite/PKGBUILD | 2 +- sudo/PKGBUILD | 2 +- swig/PKGBUILD | 6 ++--- systemd/PKGBUILD | 4 +-- tar/PKGBUILD | 2 +- tcl/PKGBUILD | 2 +- texinfo/PKGBUILD | 2 +- thin-provisioning-tools/PKGBUILD | 4 +-- tzdata/PKGBUILD | 2 +- unixodbc/PKGBUILD | 2 +- util-linux/PKGBUILD | 2 +- wget/PKGBUILD | 2 +- which/PKGBUILD | 2 +- xmlto/PKGBUILD | 2 +- xorg/libxdmcp/PKGBUILD | 2 +- xz/PKGBUILD | 7 ++--- zip/PKGBUILD | 2 +- zlib/PKGBUILD | 6 ++--- zstd/PKGBUILD | 2 +- 147 files changed, 319 insertions(+), 250 deletions(-) diff --git a/acl/PKGBUILD b/acl/PKGBUILD index b53af9df1b..022be5b3b9 100644 --- a/acl/PKGBUILD +++ b/acl/PKGBUILD @@ -5,7 +5,7 @@ pkgname=acl pkgver=2.2.53 pkgrel=3 pkgdesc='Access control list utilities, libraries and headers' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://savannah.nongnu.org/projects/acl' license=('LGPL') depends=('attr') diff --git a/asciidoc/PKGBUILD b/asciidoc/PKGBUILD index 380fd6ddb1..18a34a75c2 100644 --- a/asciidoc/PKGBUILD +++ b/asciidoc/PKGBUILD @@ -59,7 +59,7 @@ package() { make docs DESTDIR="${pkgdir}" # junk files: https://github.com/asciidoc/asciidoc-py3/issues/133 - rm -v "${pkgdir}"/usr/share/doc/asciidoc/doc/*.{md5,svg,png} + rm -fv "${pkgdir}"/usr/share/doc/asciidoc/doc/*.{md5,svg,png} install -Dm644 asciidocapi.py \ "${pkgdir}/$(python -c 'import sysconfig; print(sysconfig.get_paths()["platlib"])')"/asciidocapi.py } diff --git a/attr/PKGBUILD b/attr/PKGBUILD index 2aa885946f..88c6a6fe12 100644 --- a/attr/PKGBUILD +++ b/attr/PKGBUILD @@ -5,7 +5,7 @@ pkgname=attr pkgver=2.4.48 pkgrel=3 pkgdesc='Extended attribute support library for ACL support' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://savannah.nongnu.org/projects/attr' license=('LGPL') depends=('glibc') diff --git a/audit/PKGBUILD b/audit/PKGBUILD index 96bd0e8d2f..ca957f1fe4 100644 --- a/audit/PKGBUILD +++ b/audit/PKGBUILD @@ -10,10 +10,10 @@ pkgbase=audit pkgname=('audit' 'python-audit') pkgver=2.8.5 -pkgrel=7 +pkgrel=8 pkgdesc='Userspace components of the audit framework' url='https://people.redhat.com/sgrubb/audit' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) makedepends=('krb5' 'libcap-ng' 'libldap' 'swig' 'linux-headers' 'python') license=('GPL') options=('emptydirs') @@ -27,6 +27,7 @@ prepare() { build() { cd ${pkgbase}-${pkgver} + CFLAGS+=" -fcommon" \ ./configure \ --prefix=/usr \ --sbindir=/usr/bin \ diff --git a/bash/PKGBUILD b/bash/PKGBUILD index 7508c9b98f..151b8bb662 100644 --- a/bash/PKGBUILD +++ b/bash/PKGBUILD @@ -9,7 +9,7 @@ _patchlevel=018 pkgver=${_basever}.${_patchlevel} pkgrel=1 pkgdesc='The GNU Bourne Again shell' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=(GPL) url='https://www.gnu.org/software/bash/bash.html' backup=(etc/bash.bash{rc,_logout} etc/skel/.bash{rc,_profile,_logout}) diff --git a/binutils/PKGBUILD b/binutils/PKGBUILD index dbd059f78b..cd4d9d982a 100644 --- a/binutils/PKGBUILD +++ b/binutils/PKGBUILD @@ -8,15 +8,15 @@ pkgname=binutils pkgver=2.35 pkgrel=3 pkgdesc='A set of programs to assemble and manipulate binary and object files' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://www.gnu.org/software/binutils/' license=(GPL) groups=(base-devel) -depends=(glibc zlib elfutils) +depends=(glibc zlib) #elfutils) makedepends=(elfutils git) conflicts=(binutils-multilib) replaces=(binutils-multilib) -options=(staticlibs !distcc !ccache) +options=(staticlibs) # !distcc !ccache) #_commit=cb5f6a3e146cc70bc2d864989386df80acec5d3e #source=(git+https://sourceware.org/git/binutils-gdb.git#commit=$_commit) source=(https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.xz{,.sig}) @@ -56,7 +56,7 @@ build() { --enable-threads \ --disable-gdb \ --disable-werror \ - --with-debuginfod \ + --without-debuginfod \ --with-pic \ --with-system-zlib diff --git a/bison/PKGBUILD b/bison/PKGBUILD index c3722ad990..9618f002bf 100644 --- a/bison/PKGBUILD +++ b/bison/PKGBUILD @@ -7,7 +7,7 @@ pkgname=bison pkgver=3.7.2 pkgrel=1 pkgdesc="The GNU general-purpose parser generator" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=('GPL3') url="https://www.gnu.org/software/bison/bison.html" depends=('glibc' 'm4' 'sh') diff --git a/bzip2/PKGBUILD b/bzip2/PKGBUILD index e092de4daf..8061b6e7ea 100644 --- a/bzip2/PKGBUILD +++ b/bzip2/PKGBUILD @@ -6,10 +6,10 @@ pkgname=bzip2 pkgver=1.0.8 pkgrel=4 pkgdesc="A high-quality data compression program" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=('custom') url="https://sourceware.org/bzip2/" -depends=('glibc' 'sh') +#depends=('glibc' 'sh') source=(https://sourceware.org/pub/bzip2/$pkgname-$pkgver.tar.gz{,.sig}) sha256sums=('ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269' 'SKIP') @@ -18,8 +18,8 @@ validpgpkeys=('EC3CFE88F6CA0788774F5C1D1AA44BE649DE760A') # Mark Wielaard =2.35-1" "${_target}-glibc-headers>=2.32-1" libmpc zlib) diff --git a/cross-compilers/powerpc-linux-gnu-gcc/PKGBUILD b/cross-compilers/powerpc-linux-gnu-gcc/PKGBUILD index 1dc00e81ac..1efb8603fd 100644 --- a/cross-compilers/powerpc-linux-gnu-gcc/PKGBUILD +++ b/cross-compilers/powerpc-linux-gnu-gcc/PKGBUILD @@ -13,7 +13,7 @@ _majorver=${pkgver:0:1} _islver=0.21 pkgrel=1 pkgdesc="The GNU Compiler Collection (${_target})" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64 powerpc64le) license=(GPL LGPL FDL custom) url='http://gcc.gnu.org' depends=("${_target}-binutils>=2.35-1" "${_target}-glibc>=2.32-1" libmpc elfutils zlib) diff --git a/cross-compilers/powerpc-linux-gnu-linux-api-headers/PKGBUILD b/cross-compilers/powerpc-linux-gnu-linux-api-headers/PKGBUILD index 4688bb7285..860df8076b 100644 --- a/cross-compilers/powerpc-linux-gnu-linux-api-headers/PKGBUILD +++ b/cross-compilers/powerpc-linux-gnu-linux-api-headers/PKGBUILD @@ -16,7 +16,7 @@ arch=(any) url='http://www.gnu.org/software/libc' license=(GPL2) makedepends=(rsync) -source=(https://www.kernel.org/pub/linux/kernel/v4.x/linux-${pkgver}.tar.xz) +source=(https://www.kernel.org/pub/linux/kernel/v5.x/linux-${pkgver}.tar.xz) sha256sums=('7a54cf89d7198d99004495c0e3a25d3af05c5d5b70cccf92237f603d7fa15e08') validpgpkeys=('ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds '647F28654894E3BD457199BE38DBBDC86092693E') # Greg Kroah-Hartman diff --git a/curl/PKGBUILD b/curl/PKGBUILD index ff65923145..d677e091cd 100644 --- a/curl/PKGBUILD +++ b/curl/PKGBUILD @@ -9,7 +9,7 @@ pkgname=curl pkgver=7.72.0 pkgrel=2 pkgdesc="An URL retrieval utility and library" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url="https://curl.haxx.se" license=('MIT') depends=('ca-certificates' 'krb5' 'libssh2' 'libssh2.so' 'openssl' 'zlib' diff --git a/db/PKGBUILD b/db/PKGBUILD index c31c2dba4d..c0d705552e 100644 --- a/db/PKGBUILD +++ b/db/PKGBUILD @@ -7,10 +7,10 @@ pkgname=db pkgver=5.3.28 pkgrel=6 pkgdesc="The Berkeley DB embedded database system" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url="https://www.oracle.com/technology/software/products/berkeley-db/index.html" license=('custom') -depends=('gcc-libs' 'sh') +depends=('sh') source=(https://download.oracle.com/berkeley-db/db-${pkgver}.tar.gz atomic.patch) sha1sums=('fa3f8a41ad5101f43d08bc0efb6241c9b6fc1ae9' '70a51fe2a39a21652ef01767a9c8a30515b95a33') diff --git a/dbus-glib/PKGBUILD b/dbus-glib/PKGBUILD index cea1c9087f..3756af5641 100644 --- a/dbus-glib/PKGBUILD +++ b/dbus-glib/PKGBUILD @@ -7,7 +7,7 @@ pkgver=0.110 pkgrel=2 pkgdesc="GLib bindings for DBUS" url="https://www.freedesktop.org/wiki/Software/DBusBindings" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=('GPL') depends=('dbus' 'glib2') makedepends=('python' 'gtk-doc') diff --git a/dbus/PKGBUILD b/dbus/PKGBUILD index e2dcd55257..a9dcb51f73 100644 --- a/dbus/PKGBUILD +++ b/dbus/PKGBUILD @@ -10,7 +10,7 @@ pkgver=1.12.20 pkgrel=1 pkgdesc="Freedesktop.org message bus system" url="https://wiki.freedesktop.org/www/Software/dbus/" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=(GPL custom) depends=(systemd-libs expat audit) makedepends=(systemd xmlto docbook-xsl python yelp-tools doxygen git autoconf-archive) diff --git a/diffutils/PKGBUILD b/diffutils/PKGBUILD index dfc474ce6b..c8e0751c07 100644 --- a/diffutils/PKGBUILD +++ b/diffutils/PKGBUILD @@ -7,7 +7,7 @@ pkgname=diffutils pkgver=3.7 pkgrel=4 pkgdesc='Utility programs used for creating patch files' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://www.gnu.org/software/diffutils' license=('GPL3') depends=('glibc' 'bash') diff --git a/doxygen/PKGBUILD b/doxygen/PKGBUILD index e313072ae0..29bad8dd81 100644 --- a/doxygen/PKGBUILD +++ b/doxygen/PKGBUILD @@ -8,7 +8,7 @@ pkgver=1.8.20 pkgrel=1 pkgdesc='Documentation system for C++, C, Java, IDL and PHP' url='http://www.doxygen.nl' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=('GPL') makedepends=('cmake' 'gcc-libs' 'flex' 'qt5-base' 'texlive-core' 'ghostscript' 'texlive-latexextra' 'graphviz' 'python' 'git') diff --git a/e2fsprogs/PKGBUILD b/e2fsprogs/PKGBUILD index abc3adb056..2015e5bf50 100644 --- a/e2fsprogs/PKGBUILD +++ b/e2fsprogs/PKGBUILD @@ -6,7 +6,7 @@ pkgname=e2fsprogs pkgver=1.45.6 pkgrel=2 pkgdesc="Ext2/3/4 filesystem utilities" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=('GPL' 'LGPL' 'MIT') url="http://e2fsprogs.sourceforge.net" depends=('sh' 'libutil-linux') diff --git a/ed/PKGBUILD b/ed/PKGBUILD index ecaaedb2e6..e9c1064884 100644 --- a/ed/PKGBUILD +++ b/ed/PKGBUILD @@ -6,7 +6,7 @@ pkgname=ed pkgver=1.16 pkgrel=2 pkgdesc="A POSIX-compliant line-oriented text editor" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=('GPL') url="https://www.gnu.org/software/ed/ed.html" depends=('glibc' 'sh') diff --git a/elfutils/PKGBUILD b/elfutils/PKGBUILD index 5dd225db41..54a682b0f4 100644 --- a/elfutils/PKGBUILD +++ b/elfutils/PKGBUILD @@ -8,10 +8,10 @@ pkgname=(elfutils libelf) pkgver=0.180 pkgrel=1 pkgdesc='Utilities to handle ELF object files and DWARF debugging information' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://sourceware.org/elfutils/' license=(LGPL3 GPL GPL3) -makedepends=(gcc-libs zlib bzip2 xz libmicrohttpd sqlite libarchive curl) +makedepends=(gcc-libs zlib bzip2 xz sqlite libarchive curl) options=(staticlibs) source=(https://sourceware.org/elfutils/ftp/${pkgver}/elfutils-${pkgver}.tar.bz2{,.sig}) sha512sums=('62e96035ccfe8928baca2285decbe8b8703a2daa956df81ece18fecf643272fb68955806b3e807a514141a7a9bf44520bf09461672aa580bd6807485fb604d25' @@ -23,7 +23,7 @@ build() { cd $pkgbase-$pkgver CFLAGS+=" -g" # required for test-suite success - ./configure --prefix=/usr --program-prefix="eu-" --enable-deterministic-archives + ./configure --prefix=/usr --program-prefix="eu-" --enable-deterministic-archives --disable-debuginfod make } @@ -36,7 +36,7 @@ check() { } package_elfutils() { - depends=(gcc-libs zlib bzip2 xz libmicrohttpd sqlite libarchive curl + depends=(gcc-libs zlib bzip2 xz sqlite libarchive curl "libelf=$pkgver-$pkgrel") cd $pkgbase-$pkgver diff --git a/expat/PKGBUILD b/expat/PKGBUILD index 3b6609beba..4a4874f466 100644 --- a/expat/PKGBUILD +++ b/expat/PKGBUILD @@ -7,7 +7,7 @@ pkgname=expat pkgver=2.2.9 pkgrel=4 pkgdesc='An XML parser library' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://libexpat.github.io/' license=(custom) depends=(glibc) diff --git a/fakeroot/PKGBUILD b/fakeroot/PKGBUILD index 54f937af44..6332063885 100644 --- a/fakeroot/PKGBUILD +++ b/fakeroot/PKGBUILD @@ -7,7 +7,7 @@ pkgname=fakeroot pkgver=1.24 pkgrel=3 pkgdesc='Tool for simulating superuser privileges' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=(GPL) url='https://packages.debian.org/fakeroot' groups=(base-devel) diff --git a/file/PKGBUILD b/file/PKGBUILD index a951b344e1..d93f468ff7 100644 --- a/file/PKGBUILD +++ b/file/PKGBUILD @@ -7,7 +7,7 @@ pkgname=file pkgver=5.39 pkgrel=1 pkgdesc='File type identification utility' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=('custom') groups=('base-devel') url='https://www.darwinsys.com/file/' diff --git a/filesystem/PKGBUILD b/filesystem/PKGBUILD index f7bbef94a6..51d0fe1d73 100644 --- a/filesystem/PKGBUILD +++ b/filesystem/PKGBUILD @@ -6,7 +6,7 @@ pkgname=filesystem pkgver=2020.05.20 pkgrel=1 pkgdesc='Base Arch POWER files' -arch=(x86_64 powerpc64le) +arch=(powerpc64le powerpc) license=('GPL') url='https://www.archlinux.org' depends=('iana-etc') diff --git a/findutils/PKGBUILD b/findutils/PKGBUILD index 8b6edafb26..c8879365a8 100644 --- a/findutils/PKGBUILD +++ b/findutils/PKGBUILD @@ -5,7 +5,7 @@ pkgname=findutils pkgver=4.7.0 pkgrel=2 pkgdesc="GNU utilities to locate files" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=('GPL3') groups=('base-devel') depends=('glibc' 'sh') diff --git a/flex/PKGBUILD b/flex/PKGBUILD index 3c3af3d5b6..16a6c1b955 100644 --- a/flex/PKGBUILD +++ b/flex/PKGBUILD @@ -7,7 +7,7 @@ pkgname=flex pkgver=2.6.4 pkgrel=4 pkgdesc="A tool for generating text-scanning programs" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url="https://github.com/westes/flex" license=('custom') groups=('base-devel') diff --git a/gawk/PKGBUILD b/gawk/PKGBUILD index eeb17ee979..dd41e22df2 100644 --- a/gawk/PKGBUILD +++ b/gawk/PKGBUILD @@ -6,7 +6,7 @@ pkgname=gawk pkgver=5.1.0 pkgrel=1 pkgdesc="GNU version of awk" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url="https://www.gnu.org/software/gawk/" license=('GPL') groups=('base-devel') diff --git a/gc/PKGBUILD b/gc/PKGBUILD index da902a8a1c..418c299cc6 100644 --- a/gc/PKGBUILD +++ b/gc/PKGBUILD @@ -4,12 +4,16 @@ pkgname=gc pkgver=8.0.4 -pkgrel=4 +pkgrel=5 pkgdesc="A garbage collector for C and C++" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url="https://www.hboehm.info/gc/" license=('GPL') -depends=('gcc-libs') +#depends=('gcc-libs') +case ${CARCH} in + powerpc) depends+=(libatomic_ops) +esac + source=(https://github.com/ivmai/bdwgc/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz add_stack_bottom_feature.patch::https://github.com/ivmai/bdwgc/commit/5668de71107022a316ee967162bc16c10754b9ce.patch) sha512sums=('57ccca15c6e50048d306a30de06c1a844f36103a84c2d1c17cbccbbc0001e17915488baec79737449982da99ce5d14ce527176afae9ae153cbbb5a19d986366e' @@ -19,11 +23,17 @@ prepare() { cd ${pkgname}-${pkgver} patch -p1 < ../add_stack_bottom_feature.patch # needed for Crystal https://github.com/crystal-lang/crystal/issues/8213 + + autoreconf -fiv } build() { cd ${pkgname}-${pkgver} - ./configure --prefix=/usr --enable-cplusplus --disable-static + ./configure --prefix=/usr \ + --enable-cplusplus \ + --disable-static \ + --enable-mmap \ + --with-tags=CXX sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make } diff --git a/gcc/PKGBUILD b/gcc/PKGBUILD index 17efbd5146..9f79d10411 100644 --- a/gcc/PKGBUILD +++ b/gcc/PKGBUILD @@ -12,7 +12,7 @@ _majorver=${pkgver%%.*} _islver=0.21 pkgrel=4 pkgdesc='The GNU Compiler Collection' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=(GPL LGPL FDL custom) url='https://gcc.gnu.org' makedepends=(binutils libmpc gcc-ada doxygen python git libxcrypt) @@ -105,7 +105,7 @@ build() { --disable-werror \ --with-abi=elfv2 \ --enable-secureplt \ - gdc_include_dir=/usr/include/dlang/gdc + gdc_include_dir=/usr/include/dlang/gdc acx_cv_cc_gcc_supports_ada=yes make @@ -129,24 +129,28 @@ package_gcc-libs() { depends=('glibc>=2.27') options+=(!strip) provides=($pkgname-multilib libgo.so libgfortran.so libgphobos.so - libubsan.so libasan.so libtsan.so liblsan.so) + libubsan.so libasan.so liblsan.so) + [ "${CARCH}" != 'powerpc' ] && depends+=(libtsan.so) replaces=($pkgname-multilib libgphobos) cd gcc-build make -C $CHOST/libgcc DESTDIR="$pkgdir" install-shared rm -f "$pkgdir/$_libdir/libgcc_eh.a" + for lib in libatomic \ libgfortran \ libgo \ libgomp \ libitm \ libquadmath \ - libsanitizer/{a,l,ub,t}san \ + libsanitizer/{a,l,ub}san \ libstdc++-v3/src; do make -C $CHOST/$lib DESTDIR="$pkgdir" install-toolexeclibLTLIBRARIES done + [ "${CARCH}" != 'powerpc' ] && make -C $CHOST/libsanitizer/tsan DESTDIR="$pkgdir" install-toolexeclibLTLIBRARIES + make -C $CHOST/libobjc DESTDIR="$pkgdir" install-libs make -C $CHOST/libstdc++-v3/po DESTDIR="$pkgdir" install @@ -160,9 +164,6 @@ package_gcc-libs() { make -C $CHOST/$lib DESTDIR="$pkgdir" install-info done - # remove files provided by lib32-gcc-libs - rm -rf "$pkgdir"/usr/lib32/ - # Install Runtime Library Exception install -Dm644 "$srcdir/gcc/COPYING.RUNTIME" \ "$pkgdir/usr/share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION" @@ -211,7 +212,7 @@ package_gcc() { make -C $CHOST/libquadmath DESTDIR="$pkgdir" install-nodist_libsubincludeHEADERS make -C $CHOST/libsanitizer DESTDIR="$pkgdir" install-nodist_{saninclude,toolexeclib}HEADERS make -C $CHOST/libsanitizer/asan DESTDIR="$pkgdir" install-nodist_toolexeclibHEADERS - make -C $CHOST/libsanitizer/tsan DESTDIR="$pkgdir" install-nodist_toolexeclibHEADERS + [ "${CARCH}" != 'powerpc' ] && make -C $CHOST/libsanitizer/tsan DESTDIR="$pkgdir" install-nodist_toolexeclibHEADERS make -C $CHOST/libsanitizer/lsan DESTDIR="$pkgdir" install-nodist_toolexeclibHEADERS make -C libiberty DESTDIR="$pkgdir" install @@ -234,9 +235,6 @@ package_gcc() { # install the libstdc++ man pages make -C $CHOST/libstdc++-v3/doc DESTDIR="$pkgdir" doc-install-man - # remove files provided by lib32-gcc-libs - rm -f "$pkgdir"/usr/lib32/lib{stdc++,gcc_s}.so - # byte-compile python libraries python -m compileall "$pkgdir/usr/share/gcc-${pkgver%%+*}/" python -O -m compileall "$pkgdir/usr/share/gcc-${pkgver%%+*}/" @@ -350,7 +348,6 @@ package_gcc-d() { make -C $CHOST/libphobos DESTDIR="$pkgdir" install rm -f "$pkgdir/usr/lib/"lib{gphobos,gdruntime}.so* - rm -f "$pkgdir/usr/lib32/"lib{gphobos,gdruntime}.so* install -d "$pkgdir"/usr/include/dlang ln -s /"${_libdir}"/include/d "$pkgdir"/usr/include/dlang/gdc diff --git a/gdbm/PKGBUILD b/gdbm/PKGBUILD index 048603a614..6827741790 100644 --- a/gdbm/PKGBUILD +++ b/gdbm/PKGBUILD @@ -10,7 +10,7 @@ pkgrel=3 pkgdesc='GNU database library' url='https://www.gnu.org/software/gdbm/gdbm.html' license=(GPL3) -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) depends=(glibc sh) source=(https://ftp.gnu.org/gnu/gdbm/${pkgname}-${pkgver}.tar.gz{,.sig}) validpgpkeys=('325F650C4C2B6AD58807327A3602B07F55D0C732') @@ -19,6 +19,7 @@ md5sums=('988dc82182121c7570e0cb8b4fcd5415' build() { cd $pkgname-$pkgver + CFLAGS+=" -fcommon" \ ./configure --prefix=/usr --enable-libgdbm-compat make } diff --git a/gettext/PKGBUILD b/gettext/PKGBUILD index b7c74cf5a8..f5f63d0da6 100644 --- a/gettext/PKGBUILD +++ b/gettext/PKGBUILD @@ -6,10 +6,10 @@ pkgver=0.21 pkgrel=1 pkgdesc="GNU internationalization library" url="https://www.gnu.org/software/gettext/" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=(GPL) groups=(base-devel) -depends=(gcc-libs acl sh glib2 libunistring libcroco) +depends=(acl sh glib2 libunistring libcroco) makedepends=(gettext emacs git) optdepends=('git: for autopoint infrastructure updates') options=(!docs) diff --git a/git/PKGBUILD b/git/PKGBUILD index 547eb0eb11..507cb469f0 100644 --- a/git/PKGBUILD +++ b/git/PKGBUILD @@ -6,12 +6,12 @@ pkgname=git pkgver=2.28.0 pkgrel=1 pkgdesc='the fast distributed version control system' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://git-scm.com/' license=('GPL2') depends=('curl' 'expat' 'perl' 'perl-error' 'perl-mailtools' 'openssl' 'pcre2' 'grep' 'shadow') -makedepends=('python' 'libgnome-keyring' 'xmlto' 'asciidoc') +makedepends=('python' 'xmlto') # 'asciidoc') optdepends=('tk: gitk and git gui' 'perl-libwww: git svn' 'perl-term-readkey: git svn and interactive.singlekey setting' @@ -61,8 +61,8 @@ build() { "${_make_options[@]}" \ all man - make -C contrib/credential/gnome-keyring - make -C contrib/credential/libsecret + #make -C contrib/credential/gnome-keyring + #make -C contrib/credential/libsecret make -C contrib/subtree "${_make_paths[@]}" all man make -C contrib/mw-to-git "${_make_paths[@]}" all make -C contrib/diff-highlight "${_make_paths[@]}" @@ -105,13 +105,13 @@ package() { install -m 0644 ./contrib/completion/git-prompt.sh "$pkgdir"/usr/share/git/git-prompt.sh # gnome credentials helper (deprecated, but we will keep it as long there is no extra cost) # https://gitlab.gnome.org/GNOME/libgnome-keyring/commit/6a5adea4aec93 - install -m 0755 contrib/credential/gnome-keyring/git-credential-gnome-keyring \ - "$pkgdir"/usr/lib/git-core/git-credential-gnome-keyring - make -C contrib/credential/gnome-keyring clean + #install -m 0755 contrib/credential/gnome-keyring/git-credential-gnome-keyring \ + # "$pkgdir"/usr/lib/git-core/git-credential-gnome-keyring + #make -C contrib/credential/gnome-keyring clean # libsecret credentials helper - install -m 0755 contrib/credential/libsecret/git-credential-libsecret \ - "$pkgdir"/usr/lib/git-core/git-credential-libsecret - make -C contrib/credential/libsecret clean + #install -m 0755 contrib/credential/libsecret/git-credential-libsecret \ + # "$pkgdir"/usr/lib/git-core/git-credential-libsecret + #make -C contrib/credential/libsecret clean # subtree installation make -C contrib/subtree "${_make_paths[@]}" DESTDIR="$pkgdir" install install-man # mediawiki installation diff --git a/glib2/PKGBUILD b/glib2/PKGBUILD index 8ed22fb88d..fb600641be 100644 --- a/glib2/PKGBUILD +++ b/glib2/PKGBUILD @@ -9,7 +9,7 @@ pkgrel=1 pkgdesc="Low level core library" url="https://wiki.gnome.org/Projects/GLib" license=(LGPL2.1) -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) depends=(pcre libffi libutil-linux zlib) makedepends=(gettext gtk-doc shared-mime-info python libelf git util-linux meson dbus) diff --git a/glibc/PKGBUILD b/glibc/PKGBUILD index 70ffc2a7a9..1f878f177f 100644 --- a/glibc/PKGBUILD +++ b/glibc/PKGBUILD @@ -61,6 +61,11 @@ build() { export AUTOCONF=false export MAKEINFO=: + case ${CHOST} in + "powerpc64le") CPU="--with=cpu=power8" ;; + *) CPU="" ;; + esac + local _configure_flags=( --host=$CHOST --build=$CHOST @@ -74,7 +79,7 @@ build() { --with-pkgversion="ArchPOWER GLIBC ${pkgver}" --with-headers=/usr/include --enable-multi-arch - --with-cpu=power8 + ${CPU} --enable-systemtap --disable-profile --disable-werror diff --git a/gmp/PKGBUILD b/gmp/PKGBUILD index 05f7c02b9a..a039aa2514 100644 --- a/gmp/PKGBUILD +++ b/gmp/PKGBUILD @@ -6,7 +6,7 @@ pkgname=gmp pkgver=6.2.0 pkgrel=1 pkgdesc='A free library for arbitrary precision arithmetic' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://gmplib.org/' depends=(gcc-libs sh) license=(LGPL3 GPL) diff --git a/gobject-introspection/PKGBUILD b/gobject-introspection/PKGBUILD index 6ea93de254..c27fff0031 100644 --- a/gobject-introspection/PKGBUILD +++ b/gobject-introspection/PKGBUILD @@ -4,17 +4,17 @@ pkgbase=gobject-introspection pkgname=(gobject-introspection gobject-introspection-runtime) -pkgver=1.64.1 -pkgrel=3 +pkgver=1.64.0+75+g8b0a7f4c +pkgrel=1 pkgdesc="Introspection system for GObject-based libraries" url="https://wiki.gnome.org/Projects/GObjectIntrospection" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=(LGPL GPL) depends=(python-mako python-markdown) _glibver=2.64.2 makedepends=(cairo git gtk-doc python-sphinx meson "glib2=$_glibver") options=(!emptydirs) -_commit=e315fd15bbf0f01e211684f6c1de1bf4300d91b5 # tags/1.64.1^0 +_commit=8b0a7f4cf8f34e79c90af5ee73eff03d876e87e7 # tags/1.64.1^0 source=("git+https://gitlab.gnome.org/GNOME/gobject-introspection.git#commit=$_commit" "git+https://gitlab.gnome.org/GNOME/glib.git?signed#tag=$_glibver") sha512sums=('SKIP' diff --git a/gperf/PKGBUILD b/gperf/PKGBUILD index 7008eb4e09..5d38e821c7 100644 --- a/gperf/PKGBUILD +++ b/gperf/PKGBUILD @@ -6,10 +6,11 @@ pkgname=gperf pkgver=3.1 pkgrel=3 pkgdesc="Perfect hash function generator" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url="https://www.gnu.org/software/gperf/" license=('GPL3') -depends=('gcc-libs' 'texinfo') +#depends=('gcc-libs' 'texinfo') +depends=('texinfo') source=("https://ftp.gnu.org/pub/gnu/gperf/${pkgname}-${pkgver}.tar.gz"{,.sig}) sha1sums=('e3c0618c2d2e5586eda9498c867d5e4858a3b0e2' 'SKIP') diff --git a/grep/PKGBUILD b/grep/PKGBUILD index d4fb05e9aa..7073c416ea 100644 --- a/grep/PKGBUILD +++ b/grep/PKGBUILD @@ -7,7 +7,7 @@ pkgname=grep pkgver=3.4 pkgrel=2 pkgdesc='A string search utility' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=('GPL3') url='https://www.gnu.org/software/grep/' groups=('base-devel') diff --git a/gtk-doc/PKGBUILD b/gtk-doc/PKGBUILD index 541e2be01a..3e60769bad 100644 --- a/gtk-doc/PKGBUILD +++ b/gtk-doc/PKGBUILD @@ -10,7 +10,7 @@ arch=(any) license=(GPL FDL) depends=(docbook-xsl docbook-xml glib2-docs python-lxml python-pygments python-anytree) -makedepends=(dblatex git yelp-tools meson) +makedepends=(git yelp-tools meson) checkdepends=(bc gtk3 python-six python-parameterized) optdepends=('dblatex: PDF support') _commit=efc3644e41b40f605c5f5e9075173d6ab1bd1950 # master diff --git a/guile/PKGBUILD b/guile/PKGBUILD index e23192345f..b11b3fbf53 100644 --- a/guile/PKGBUILD +++ b/guile/PKGBUILD @@ -4,26 +4,41 @@ # Contributor: Tom Newsom pkgname=guile -pkgver=2.2.6 -pkgrel=2 +pkgver=2.2.7 +pkgrel=1 pkgdesc='Portable, embeddable Scheme implementation written in C' url='https://www.gnu.org/software/guile/' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=(GPL) depends=(gmp libltdl ncurses texinfo libunistring gc libffi) + +case ${CARCH} in + powerpc) depends+=(libatomic_ops) +esac + +#options=(!distcc !ccache !makeflags) source=(https://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz{,.sig}) validpgpkeys=('3CE464558A84FDC69DB40CFB090B11993D9AEBB5' # Ludovic Courtès 'FF478FB264DE32EC296725A3DDC0F5358812F8F2' # Andy Wingo '4FD4D288D445934E0A14F9A5A8803732E4436885') # Andy Wingo " -sha256sums=('08c0e7487777740b61cdd97949b69e8a5e2997d8c2fe6c7e175819eb18444506' +sha256sums=('44b4c5fbbe257ccdebea18420212c9b3e90c3c86a54920d8554039fc6769a007' 'SKIP') build() { cd $pkgname-$pkgver + + # fixes https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=941218 + case ${CARCH} in + powerpc) + export CFLAGS="${CFLAGS/-O?/-O0}"; + export CXXFLAGS="${CXXFLAGS/-O?/-O0}"; + ;; + esac + ./configure --prefix=/usr \ --disable-static \ - --disable-error-on-warning - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + --disable-error-on-warning \ + --build=${CHOST} make } diff --git a/gzip/PKGBUILD b/gzip/PKGBUILD index 8be03c220c..d44270a767 100644 --- a/gzip/PKGBUILD +++ b/gzip/PKGBUILD @@ -7,7 +7,7 @@ pkgname=gzip pkgver=1.10 pkgrel=4 pkgdesc='GNU compression utility' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://www.gnu.org/software/gzip/' license=('GPL3') groups=('base-devel') diff --git a/icu/PKGBUILD b/icu/PKGBUILD index b7c6c58ba2..eb984047b4 100644 --- a/icu/PKGBUILD +++ b/icu/PKGBUILD @@ -4,12 +4,12 @@ pkgname=icu pkgver=67.1 -pkgrel=1 +pkgrel=2 pkgdesc="International Components for Unicode library" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url="http://site.icu-project.org/home" license=('custom:icu') -depends=('gcc-libs' 'sh') +depends=('sh') makedepends=('python') provides=(libicu{data,i18n,io,test,tu,uc}.so) source=(https://github.com/unicode-org/icu/releases/download/release-${pkgver//./-}/${pkgname}4c-${pkgver//./_}-src.tgz{,.asc}) @@ -24,7 +24,7 @@ validpgpkeys=('4569BBC09DA846FC91CBD21CE1BBA44593CF2AE0') # "Steven R. Loomis (c build() { cd icu/source - CC=gcc CXX=g++ \ + CC=${CHOST}-gcc CXX=${CHOST}-g++ \ ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ diff --git a/iptables/PKGBUILD b/iptables/PKGBUILD index fab026abc3..12314d673b 100644 --- a/iptables/PKGBUILD +++ b/iptables/PKGBUILD @@ -8,7 +8,7 @@ pkgver=1.8.5 pkgrel=2 epoch=1 pkgdesc='Linux kernel packet control tool' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=(GPL2) url='https://www.netfilter.org/projects/iptables/index.html' depends=(libnftnl libpcap libnfnetlink libnetfilter_conntrack bash) @@ -49,7 +49,6 @@ build() { --sysconfdir=/etc \ --sbindir=/usr/bin \ --libexecdir=/usr/lib \ - --enable-bpf-compiler \ --enable-devel \ --enable-libipq \ --enable-shared diff --git a/jansson/PKGBUILD b/jansson/PKGBUILD index 174e8df4d0..9c50c323be 100644 --- a/jansson/PKGBUILD +++ b/jansson/PKGBUILD @@ -6,7 +6,7 @@ pkgname=jansson pkgver=2.13.1 pkgrel=1 pkgdesc='C library for encoding, decoding and manipulating JSON data' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='http://www.digip.org/jansson/' depends=('glibc') license=('MIT') diff --git a/jsoncpp/PKGBUILD b/jsoncpp/PKGBUILD index efadae744e..6e6b5abc5c 100644 --- a/jsoncpp/PKGBUILD +++ b/jsoncpp/PKGBUILD @@ -10,7 +10,7 @@ pkgver=1.9.3 pkgrel=1 pkgdesc='C++ library for interacting with JSON' url='https://github.com/open-source-parsers/jsoncpp' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=('MIT' 'custom:Public_Domain') makedepends=('gcc-libs' 'doxygen' 'graphviz' 'python' 'meson') options=('staticlibs') diff --git a/keyutils/PKGBUILD b/keyutils/PKGBUILD index db593b5166..db6f2f372b 100644 --- a/keyutils/PKGBUILD +++ b/keyutils/PKGBUILD @@ -7,10 +7,10 @@ _tag='5678a1aae8834b5c16b5ed7dc72ef8836a29e122' # git rev-parse v${pkgver} pkgver=1.6.3 pkgrel=1 pkgdesc='Linux Key Management Utilities' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://www.kernel.org/' license=('GPL2' 'LGPL2.1') -depends=('glibc' 'sh') +depends=('sh') makedepends=('git') provides=('libkeyutils.so') backup=('etc/request-key.conf') diff --git a/krb5/PKGBUILD b/krb5/PKGBUILD index 99b83d2c73..4eb4816284 100644 --- a/krb5/PKGBUILD +++ b/krb5/PKGBUILD @@ -7,9 +7,9 @@ pkgver=1.18.2 pkgrel=1 pkgdesc='The Kerberos network authentication system' url='https://web.mit.edu/kerberos/' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=('custom') -depends=('e2fsprogs' 'libldap' 'keyutils') +depends=('libldap' 'keyutils') makedepends=('perl') backup=('etc/krb5.conf' 'var/lib/krb5kdc/kdc.conf') options=('!emptydirs') diff --git a/lapack/PKGBUILD b/lapack/PKGBUILD index b6a2219e78..a37141d406 100644 --- a/lapack/PKGBUILD +++ b/lapack/PKGBUILD @@ -11,7 +11,7 @@ pkgrel=3 url="https://www.netlib.org/lapack" pkgdesc="Linear Algebra PACKage" makedepends=(gcc-fortran cmake python doxygen) -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=(custom) source=($pkgbase-$pkgver.tar.gz::"https://github.com/Reference-LAPACK/lapack/archive/v$pkgver.tar.gz" LICENSE.blas lapacke-missing-symbols.patch::"https://github.com/Reference-LAPACK/lapack/commit/87536aa3.patch") diff --git a/less/PKGBUILD b/less/PKGBUILD index efd5093669..e3a7a3d952 100644 --- a/less/PKGBUILD +++ b/less/PKGBUILD @@ -8,7 +8,7 @@ pkgver=551 pkgrel=3 pkgdesc='A terminal based program for viewing text files' license=('GPL3') -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='http://www.greenwoodsoftware.com/less' depends=('glibc' 'ncurses' 'pcre') validpgpkeys=('AE27252BD6846E7D6EAE1DD6F153A7C833235259') # Mark Nudelman diff --git a/libaio/PKGBUILD b/libaio/PKGBUILD index add07bb181..2f12068a88 100644 --- a/libaio/PKGBUILD +++ b/libaio/PKGBUILD @@ -6,7 +6,7 @@ pkgname=libaio pkgver=0.3.112 pkgrel=3 pkgdesc="The Linux-native asynchronous I/O facility (aio) library" -arch=('powerpc64le') +arch=('powerpc64le' 'powerpc') url="http://lse.sourceforge.net/io/aio.html" license=('LGPL') source=(http://ftp.de.debian.org/debian/pool/main/liba/$pkgname/${pkgname}_${pkgver}.orig.tar.xz) @@ -16,7 +16,10 @@ build() { cd "$srcdir/$pkgname-$pkgver" # AIO library is a thin wrapper around kernel syscalls, it does not use stdlib # and other helpers like stack protection libraries - CFLAGS="-mcpu=power8 -O2 -pipe" + case $CARCH in + powerpc) export CFLAGS="-O2 -pipe" ;; + *) export CFLAGS="-mcpu=power8 -O2 -pipe" ;; + esac make } diff --git a/libarchive/PKGBUILD b/libarchive/PKGBUILD index d931fe3c48..3b832cbca4 100644 --- a/libarchive/PKGBUILD +++ b/libarchive/PKGBUILD @@ -6,7 +6,7 @@ pkgname=libarchive pkgver=3.4.3 pkgrel=1 pkgdesc='Multi-format archive and compression library' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://libarchive.org/' license=('BSD') depends=('acl' 'libacl.so' 'bzip2' 'expat' 'lz4' 'openssl' 'xz' 'zlib' 'zstd') diff --git a/libassuan/PKGBUILD b/libassuan/PKGBUILD index a6d3f0fca3..dbace30a93 100644 --- a/libassuan/PKGBUILD +++ b/libassuan/PKGBUILD @@ -7,7 +7,7 @@ pkgver=2.5.3 pkgrel=3 pkgdesc='IPC library used by some GnuPG related software' url='https://www.gnupg.org/related_software/libassuan/' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=('GPL') depends=('libgpg-error') validpgpkeys=('031EC2536E580D8EA286A9F22071B08A33BD3F06') # NIIBE Yutaka diff --git a/libatomic_ops/PKGBUILD b/libatomic_ops/PKGBUILD index 142f38f267..5b65478be9 100644 --- a/libatomic_ops/PKGBUILD +++ b/libatomic_ops/PKGBUILD @@ -9,7 +9,7 @@ pkgname=libatomic_ops pkgver=7.6.10 pkgrel=2 pkgdesc='Provides semi-portable access to hardware provided atomic memory operations' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://github.com/ivmai/libatomic_ops' depends=(glibc) license=(GPL2 MIT) diff --git a/libcap-ng/PKGBUILD b/libcap-ng/PKGBUILD index 0d482d0766..740eeecf11 100644 --- a/libcap-ng/PKGBUILD +++ b/libcap-ng/PKGBUILD @@ -8,7 +8,7 @@ pkgver=0.7.11 pkgrel=2 pkgdesc='Library making programming with POSIX capabilities easier than traditional libcap' url='https://people.redhat.com/sgrubb/libcap-ng/' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=('LGPL2.1') depends=('glibc') provides=('libcap-ng.so') @@ -26,7 +26,7 @@ build() { ./configure \ --prefix=/usr \ --enable-static=no \ - -with-python=no + --with-python=no make } diff --git a/libcap/PKGBUILD b/libcap/PKGBUILD index 1f00569b0c..6533d331bd 100644 --- a/libcap/PKGBUILD +++ b/libcap/PKGBUILD @@ -7,7 +7,7 @@ pkgname=libcap pkgver=2.43 pkgrel=1 pkgdesc='POSIX 1003.1e capabilities' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://sites.google.com/site/fullycapable/' license=(GPL2) depends=(glibc attr) diff --git a/libcbor/PKGBUILD b/libcbor/PKGBUILD index 18f34b1c9d..c6fe999787 100644 --- a/libcbor/PKGBUILD +++ b/libcbor/PKGBUILD @@ -7,7 +7,7 @@ pkgver=0.7.0 pkgrel=1 pkgdesc='C library for parsing and generating CBOR, the general-purpose schema-less binary data format' url='https://github.com/PJK/libcbor' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=('MIT') depends=('glibc') makedepends=('cmake' 'cmocka') diff --git a/libcroco/PKGBUILD b/libcroco/PKGBUILD index c113ca621b..c5dda35dae 100644 --- a/libcroco/PKGBUILD +++ b/libcroco/PKGBUILD @@ -7,7 +7,7 @@ pkgver=0.6.13 pkgrel=2 pkgdesc="A CSS parsing library" url="https://gitlab.gnome.org/GNOME/libcroco" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) depends=(glib2 libxml2) makedepends=(intltool git gtk-doc) license=(LGPL) @@ -32,7 +32,7 @@ check() { build() { cd $pkgname - ./configure --prefix=/usr --disable-static --enable-gtk-doc + ./configure --prefix=/usr --disable-static #--enable-gtk-doc make } diff --git a/libgcrypt/PKGBUILD b/libgcrypt/PKGBUILD index 80d9504575..e14de6525f 100644 --- a/libgcrypt/PKGBUILD +++ b/libgcrypt/PKGBUILD @@ -9,7 +9,7 @@ pkgname=libgcrypt pkgver=1.8.6 pkgrel=1 pkgdesc="General purpose cryptographic library based on the code from GnuPG" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url="https://www.gnupg.org" license=('LGPL') depends=('libgpg-error') diff --git a/libgpg-error/PKGBUILD b/libgpg-error/PKGBUILD index 5905b2c18f..ca49e5b3b6 100644 --- a/libgpg-error/PKGBUILD +++ b/libgpg-error/PKGBUILD @@ -6,7 +6,7 @@ pkgname=libgpg-error pkgver=1.39 pkgrel=1 pkgdesc="Support library for libgcrypt" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url="https://www.gnupg.org" license=('LGPL') depends=('glibc' 'sh') diff --git a/libidn2/PKGBUILD b/libidn2/PKGBUILD index c36caf8aa8..c4ee53dbab 100644 --- a/libidn2/PKGBUILD +++ b/libidn2/PKGBUILD @@ -6,7 +6,7 @@ pkgname=libidn2 pkgver=2.3.0 pkgrel=2 pkgdesc="Free software implementation of IDNA2008, Punycode and TR46" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url="https://www.gnu.org/software/libidn/#libidn2" license=('GPL2' 'LGPL3') depends=('libunistring') diff --git a/libksba/PKGBUILD b/libksba/PKGBUILD index 8a8cda5caf..cb31d85693 100644 --- a/libksba/PKGBUILD +++ b/libksba/PKGBUILD @@ -8,7 +8,7 @@ pkgrel=1 pkgdesc='Library for working with X.509 certificates, CMS data and related objects' url='https://www.gnupg.org/related_software/libksba/' license=('GPL') -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) depends=('bash' 'libgpg-error' 'glibc') source=("https://www.gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2"{,.sig}) sha256sums=('bfe6a8e91ff0f54d8a329514db406667000cb207238eded49b599761bfca41b6' diff --git a/libmnl/PKGBUILD b/libmnl/PKGBUILD index 7fe0ec7400..d1d97e0263 100644 --- a/libmnl/PKGBUILD +++ b/libmnl/PKGBUILD @@ -6,7 +6,7 @@ pkgname=libmnl pkgver=1.0.4 pkgrel=4 pkgdesc='Minimalistic user-space library oriented to Netlink developers.' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://www.netfilter.org/projects/libmnl/' license=('LGPL2.1') depends=('glibc') diff --git a/libmpc/PKGBUILD b/libmpc/PKGBUILD index b9b8625521..7b487373d3 100644 --- a/libmpc/PKGBUILD +++ b/libmpc/PKGBUILD @@ -5,7 +5,7 @@ pkgname=libmpc pkgver=1.1.0 pkgrel=3 pkgdesc="Library for the arithmetic of complex numbers with arbitrarily high precision" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url="http://www.multiprecision.org/" license=('LGPL') depends=('mpfr') diff --git a/libnetfilter_conntrack/PKGBUILD b/libnetfilter_conntrack/PKGBUILD index 2ad63f3159..d353e8ee91 100644 --- a/libnetfilter_conntrack/PKGBUILD +++ b/libnetfilter_conntrack/PKGBUILD @@ -8,7 +8,7 @@ pkgname=libnetfilter_conntrack pkgver=1.0.8 pkgrel=1 pkgdesc='Library providing an API to the in-kernel connection tracking state table' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) depends=('libnfnetlink' 'libmnl') url='https://www.netfilter.org/projects/libnetfilter_conntrack/' license=('GPL') diff --git a/libnfnetlink/PKGBUILD b/libnfnetlink/PKGBUILD index f2e7555cd2..e70ab31853 100644 --- a/libnfnetlink/PKGBUILD +++ b/libnfnetlink/PKGBUILD @@ -8,7 +8,7 @@ pkgname=libnfnetlink pkgver=1.0.1 pkgrel=4 pkgdesc='Low-level library for netfilter related kernel/userspace communication' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://www.netfilter.org/projects/libnfnetlink/' license=('GPL') depends=('glibc') diff --git a/libnftnl/PKGBUILD b/libnftnl/PKGBUILD index 1bec7b4a3b..4d39b9f8bf 100644 --- a/libnftnl/PKGBUILD +++ b/libnftnl/PKGBUILD @@ -5,7 +5,7 @@ pkgname=libnftnl pkgver=1.1.7 pkgrel=1 pkgdesc='Netfilter library providing interface to the nf_tables subsystem' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://netfilter.org/projects/libnftnl/' license=('GPL2') depends=('libmnl') diff --git a/libnghttp2/PKGBUILD b/libnghttp2/PKGBUILD index 7981d8528c..4420364936 100644 --- a/libnghttp2/PKGBUILD +++ b/libnghttp2/PKGBUILD @@ -6,7 +6,7 @@ pkgname=libnghttp2 pkgver=1.41.0 pkgrel=1 pkgdesc='Framing layer of HTTP/2 is implemented as a reusable C library' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://nghttp2.org/' license=(MIT) depends=(glibc) diff --git a/libnl/PKGBUILD b/libnl/PKGBUILD index 792a605b3a..c770891e54 100644 --- a/libnl/PKGBUILD +++ b/libnl/PKGBUILD @@ -6,10 +6,11 @@ pkgname=libnl pkgver=3.5.0 pkgrel=3 pkgdesc='Library for applications dealing with netlink sockets' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://github.com/thom311/libnl/' license=(GPL) depends=(glibc) +makedepends=(flex) backup=(etc/libnl/classid etc/libnl/pktloc) source=(https://github.com/thom311/libnl/releases/download/libnl${pkgver//./_}/${pkgname}-${pkgver}.tar.gz{,.sig}) sha256sums=('352133ec9545da76f77e70ccb48c9d7e5324d67f6474744647a7ed382b5e05fa' diff --git a/libpcap/PKGBUILD b/libpcap/PKGBUILD index 421d668f40..254d36bd0e 100644 --- a/libpcap/PKGBUILD +++ b/libpcap/PKGBUILD @@ -6,10 +6,10 @@ pkgname=libpcap pkgver=1.9.1 pkgrel=3 pkgdesc='A system-independent interface for user-level packet capture' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://www.tcpdump.org/' license=('BSD') -depends=('glibc' 'libnl' 'sh' 'libusbx' 'dbus') +depends=('glibc' 'libnl' 'sh' 'libusbx') # 'dbus') makedepends=('flex' 'bluez-libs') source=(https://www.tcpdump.org/release/libpcap-${pkgver}.tar.gz{,.sig} mgmt.h) @@ -28,7 +28,7 @@ build() { CFLAGS="$CFLAGS -I${srcdir}/include $(pkg-config libnl-genl-3.0 --cflags)" \ ./configure --prefix=/usr \ --enable-ipv6 \ - --enable-bluetooth \ + --disable-bluetooth \ --with-libnl make } diff --git a/libpng/PKGBUILD b/libpng/PKGBUILD index cb330a3735..c35f5da6e2 100644 --- a/libpng/PKGBUILD +++ b/libpng/PKGBUILD @@ -8,7 +8,7 @@ pkgname=libpng pkgver=1.6.37 pkgrel=3 pkgdesc="A collection of routines used to create PNG format graphics files" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url="http://www.libpng.org/pub/png/libpng.html" license=('custom') depends=('zlib' 'sh') diff --git a/libpsl/PKGBUILD b/libpsl/PKGBUILD index 7f1c9b0389..d4c2a10d9c 100644 --- a/libpsl/PKGBUILD +++ b/libpsl/PKGBUILD @@ -7,7 +7,7 @@ pkgver=0.21.1 pkgrel=1 pkgdesc='Public Suffix List library' url='https://github.com/rockdaboot/libpsl' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=('MIT') depends=('libidn2' 'libidn2.so' 'libunistring') makedepends=('libxslt' 'python' 'publicsuffix-list' 'gtk-doc') diff --git a/libsasl/PKGBUILD b/libsasl/PKGBUILD index 6c1dcb6b0c..bdf9bd6f0b 100644 --- a/libsasl/PKGBUILD +++ b/libsasl/PKGBUILD @@ -10,7 +10,7 @@ pkgname=libsasl pkgver=2.1.27 pkgrel=3 pkgdesc="Cyrus Simple Authentication Service Layer (SASL) library" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url="https://www.cyrusimap.org/sasl/" license=('custom') options=('!makeflags') @@ -89,9 +89,9 @@ build() { --enable-login \ --enable-ntlm \ --disable-passdss \ - --enable-sql \ - --with-mysql=/usr \ - --with-pgsql=/usr/lib \ + --disable-sql \ + --without-mysql \ + --without-pgsql \ --with-sqlite3=/usr/lib \ --enable-ldapdb \ --disable-macos-framework \ diff --git a/libsecret/PKGBUILD b/libsecret/PKGBUILD index c9cf7d424e..99acc6fa82 100644 --- a/libsecret/PKGBUILD +++ b/libsecret/PKGBUILD @@ -6,7 +6,7 @@ pkgver=0.20.3 pkgrel=1 pkgdesc="Library for storing and retrieving passwords and other secrets" url="https://wiki.gnome.org/Projects/Libsecret" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=(LGPL) depends=(glib2 libgcrypt) checkdepends=(python-dbus dbus-glib python-gobject gjs) diff --git a/libssh2/PKGBUILD b/libssh2/PKGBUILD index 39f1aeccfe..6b917c3bba 100644 --- a/libssh2/PKGBUILD +++ b/libssh2/PKGBUILD @@ -10,7 +10,7 @@ pkgver=1.9.0 pkgrel=3 pkgdesc="A library implementing the SSH2 protocol as defined by Internet Drafts" url="https://www.libssh2.org/" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=('BSD') depends=('openssl' 'zlib') provides=('libssh2.so') diff --git a/libtasn1/PKGBUILD b/libtasn1/PKGBUILD index 6faf71e8d9..f71d85a402 100644 --- a/libtasn1/PKGBUILD +++ b/libtasn1/PKGBUILD @@ -7,7 +7,7 @@ pkgname=libtasn1 pkgver=4.16.0 pkgrel=1 pkgdesc="The ASN.1 library used in GNUTLS" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=('GPL3' 'LGPL') url="https://www.gnu.org/software/libtasn1/" depends=('glibc') diff --git a/libtirpc/PKGBUILD b/libtirpc/PKGBUILD index 8eb3454883..f558fb9336 100644 --- a/libtirpc/PKGBUILD +++ b/libtirpc/PKGBUILD @@ -6,7 +6,7 @@ pkgname=libtirpc pkgver=1.2.6 pkgrel=1 pkgdesc="Transport Independent RPC library (SunRPC replacement)" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url="http://git.linux-nfs.org/?p=steved/libtirpc.git;a=summary" license=('BSD') depends=('krb5') diff --git a/libtool/PKGBUILD b/libtool/PKGBUILD index a6e83da90d..5179a86dda 100644 --- a/libtool/PKGBUILD +++ b/libtool/PKGBUILD @@ -10,7 +10,7 @@ pkgver=2.4.6+42+gb88cebd5 pkgrel=14 _gccver=10.2.0 pkgdesc='A generic library support script' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://www.gnu.org/software/libtool' license=(GPL) groups=(base-devel) diff --git a/libunistring/PKGBUILD b/libunistring/PKGBUILD index f26917c2e3..6bb2c6edca 100644 --- a/libunistring/PKGBUILD +++ b/libunistring/PKGBUILD @@ -10,7 +10,7 @@ pkgver=0.9.10 pkgrel=3 pkgdesc='Library for manipulating Unicode strings and C strings' url='https://www.gnu.org/software/libunistring/' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=(GPL) depends=(glibc) source=(https://ftp.gnu.org/gnu/$pkgname/${pkgname}-${pkgver}.tar.xz{,.sig}) diff --git a/libusb-compat/PKGBUILD b/libusb-compat/PKGBUILD index 8c2c394bd8..d11c860ca6 100644 --- a/libusb-compat/PKGBUILD +++ b/libusb-compat/PKGBUILD @@ -8,7 +8,7 @@ pkgname=libusb-compat pkgver=0.1.7 pkgrel=1 pkgdesc="Library to enable user space application programs to communicate with USB devices" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url="http://libusb.sourceforge.net/" license=('LGPL') depends=('libusb' 'sh') diff --git a/libusb/PKGBUILD b/libusb/PKGBUILD index 503d091ec2..dffdf7c8b2 100644 --- a/libusb/PKGBUILD +++ b/libusb/PKGBUILD @@ -6,7 +6,7 @@ pkgname=libusb pkgver=1.0.23 pkgrel=3 pkgdesc='Library that provides generic access to USB devices' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://libusb.info/' license=(LGPL) depends=(glibc systemd-libs) diff --git a/libuv/PKGBUILD b/libuv/PKGBUILD index 8bc9caf753..cb140c01c3 100644 --- a/libuv/PKGBUILD +++ b/libuv/PKGBUILD @@ -5,7 +5,7 @@ pkgname=libuv pkgver=1.39.0 pkgrel=1 pkgdesc="Multi-platform support library with a focus on asynchronous I/O" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url="https://github.com/libuv/libuv" license=('custom') depends=('glibc' 'libnsl') diff --git a/libxcrypt/PKGBUILD b/libxcrypt/PKGBUILD index 8474a5906c..5668be2d1e 100644 --- a/libxcrypt/PKGBUILD +++ b/libxcrypt/PKGBUILD @@ -5,7 +5,7 @@ pkgname=libxcrypt pkgver=4.4.17 pkgrel=1 pkgdesc='Modern library for one-way hashing of passwords' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://github.com/besser82/libxcrypt/' license=(GPL) depends=(glibc) diff --git a/libxml2/PKGBUILD b/libxml2/PKGBUILD index 7b2f07e5c2..f5cec5211d 100644 --- a/libxml2/PKGBUILD +++ b/libxml2/PKGBUILD @@ -9,7 +9,7 @@ pkgver=2.9.10 pkgrel=4 pkgdesc='XML parsing library, version 2' url='http://www.xmlsoft.org/' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=(MIT) depends=(zlib readline ncurses xz icu) makedepends=(python2 python git) diff --git a/libxslt/PKGBUILD b/libxslt/PKGBUILD index f162a0ae50..315a1ef3f8 100644 --- a/libxslt/PKGBUILD +++ b/libxslt/PKGBUILD @@ -7,7 +7,7 @@ pkgver=1.1.34 pkgrel=5 pkgdesc="XML stylesheet transformation library" url="http://xmlsoft.org/XSLT/" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=(custom) depends=(libxml2 libgcrypt) makedepends=(git docbook-xsl) @@ -35,7 +35,6 @@ prepare() { build() { cd $pkgname ./configure --prefix=/usr --without-python --disable-static - bash sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make } diff --git a/linux-api-headers/PKGBUILD b/linux-api-headers/PKGBUILD index 5ecd7cbca1..16f5c4a35e 100644 --- a/linux-api-headers/PKGBUILD +++ b/linux-api-headers/PKGBUILD @@ -11,7 +11,7 @@ pkgdesc='Kernel headers sanitized for use in userspace' arch=(any) url='https://www.gnu.org/software/libc' license=(GPL2) -makedepends=('rsync') +#makedepends=('rsync') source=(https://www.kernel.org/pub/linux/kernel/v${pkgver:0:1}.x/linux-${pkgver}.tar.{xz,sign}) md5sums=('0e5c4c15266218ef26c50fac0016095b' 'SKIP') diff --git a/linux/PKGBUILD b/linux/PKGBUILD index c0db3b24bf..a4751589a8 100644 --- a/linux/PKGBUILD +++ b/linux/PKGBUILD @@ -7,7 +7,7 @@ pkgrel=2 pkgdesc='Linux' _srctag=v${pkgver%.*}-${pkgver##*.} url="https://git.archlinux.org/linux.git/log/?h=$_srctag" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=(GPL2) makedepends=( bc kmod libelf pahole diff --git a/lvm2/PKGBUILD b/lvm2/PKGBUILD index d1abbd6ab8..9420963ef6 100644 --- a/lvm2/PKGBUILD +++ b/lvm2/PKGBUILD @@ -6,7 +6,7 @@ pkgbase=lvm2 pkgname=('lvm2' 'device-mapper') pkgver=2.02.187 pkgrel=3 -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://sourceware.org/lvm2/' license=('GPL2' 'LGPL2.1') makedepends=('git' 'systemd' 'thin-provisioning-tools') diff --git a/lz4/PKGBUILD b/lz4/PKGBUILD index 66bdbaa184..8f16f63db1 100644 --- a/lz4/PKGBUILD +++ b/lz4/PKGBUILD @@ -6,7 +6,7 @@ epoch=1 pkgver=1.9.2 pkgrel=3 pkgdesc='Extremely fast compression algorithm' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='http://www.lz4.org/' license=('GPL2') makedepends=('git') diff --git a/m4/PKGBUILD b/m4/PKGBUILD index 6396b191fe..6b5e71321f 100644 --- a/m4/PKGBUILD +++ b/m4/PKGBUILD @@ -7,7 +7,7 @@ pkgname=m4 pkgver=1.4.18 pkgrel=4 pkgdesc="The GNU macro processor" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url="https://www.gnu.org/software/m4" license=('GPL3') groups=('base-devel') diff --git a/make/PKGBUILD b/make/PKGBUILD index 1952cc6b99..e8f59cb22c 100644 --- a/make/PKGBUILD +++ b/make/PKGBUILD @@ -7,11 +7,11 @@ pkgname=make pkgver=4.3 pkgrel=3 pkgdesc="GNU make utility to maintain groups of programs" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url="https://www.gnu.org/software/make" license=('GPL3') groups=('base-devel') -depends=('glibc' 'guile') +depends=('glibc') # 'guile') source=("https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.lz"{,.sig}) md5sums=('d5c40e7bd1e97a7404f5d3be982f479a' 'SKIP') diff --git a/meson/PKGBUILD b/meson/PKGBUILD index 4d1c4f804d..fe77165f54 100644 --- a/meson/PKGBUILD +++ b/meson/PKGBUILD @@ -10,7 +10,8 @@ pkgdesc='High productivity build system' url='https://mesonbuild.com/' arch=('any') license=('Apache') -depends=('python-setuptools' 'ninja') +depends=('ninja') +#depends=('python-setuptools' 'ninja') checkdepends=('gcc-objc' 'vala' 'rust' 'gcc-fortran' 'mono' 'boost' 'qt5-base' 'git' 'cython' 'gtkmm3' 'gtest' 'gmock' 'protobuf' 'wxgtk' 'python-gobject' 'gobject-introspection' 'itstool' 'gtk3' 'java-environment=8' 'gtk-doc' 'llvm' 'clang' 'sdl2' 'graphviz' @@ -35,7 +36,7 @@ prepare() { build() { cd ${pkgname}-${pkgver} - python setup.py build + python3 setup.py build } check() ( @@ -46,7 +47,7 @@ check() ( package() { cd ${pkgname}-${pkgver} - python setup.py install --root="${pkgdir}" --optimize=1 --skip-build + python3 setup.py install --root="${pkgdir}" --optimize=1 --skip-build install -d "${pkgdir}/usr/share/vim/vimfiles" cp -rt "${pkgdir}/usr/share/vim/vimfiles" data/syntax-highlighting/vim/*/ diff --git a/mpdecimal/PKGBUILD b/mpdecimal/PKGBUILD index 2f3fcc0cc3..286782ad14 100644 --- a/mpdecimal/PKGBUILD +++ b/mpdecimal/PKGBUILD @@ -5,10 +5,10 @@ pkgname=mpdecimal pkgver=2.5.0 pkgrel=1 pkgdesc="Package for correctly-rounded arbitrary precision decimal floating point arithmetic" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url="https://www.bytereef.org/mpdecimal/index.html" license=('custom') -depends=('gcc-libs') +#depends=('gcc-libs') source=("https://www.bytereef.org/software/$pkgname/releases/$pkgname-$pkgver.tar.gz") sha512sums=('6f889f5f8c3e5854204ad7380b63c1bfeb5193c1d464f9a32149d47d1c9bd996c6a57b867ab65ea84f33e87fe69cb45ad78aa2abfb9bb5144eb527587016c472') diff --git a/mpfr/PKGBUILD b/mpfr/PKGBUILD index 94bd0abfee..4c509738a1 100644 --- a/mpfr/PKGBUILD +++ b/mpfr/PKGBUILD @@ -6,7 +6,7 @@ pkgname=mpfr pkgver=4.1.0 pkgrel=1 pkgdesc='Multiple-precision floating-point library' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://www.mpfr.org/' license=(LGPL) depends=('gmp>=5.0') diff --git a/ncurses/PKGBUILD b/ncurses/PKGBUILD index f653b418fd..3d64244458 100644 --- a/ncurses/PKGBUILD +++ b/ncurses/PKGBUILD @@ -8,10 +8,10 @@ pkgver=6.2 _pkgver=${pkgver/+/-} pkgrel=1 pkgdesc='System V Release 4.0 curses emulation library' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://invisible-island.net/ncurses/ncurses.html' license=(MIT) -depends=(glibc gcc-libs) +depends=(glibc) provides=(libncurses++w.so libformw.so libmenuw.so libpanelw.so libncursesw.so) replaces=(alacritty-terminfo) source=(https://ftp.gnu.org/pub/gnu/ncurses/ncurses-$pkgver.tar.gz{,.sig}) diff --git a/nettle/PKGBUILD b/nettle/PKGBUILD index 657c0ac6bb..bff93fb30f 100644 --- a/nettle/PKGBUILD +++ b/nettle/PKGBUILD @@ -6,7 +6,7 @@ pkgname=nettle pkgver=3.6 pkgrel=1 pkgdesc="A low-level cryptographic library" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url="https://www.lysator.liu.se/~nisse/nettle" license=('GPL2') depends=('gmp') diff --git a/nftables/PKGBUILD b/nftables/PKGBUILD index faab9bc79b..d3ecf7754f 100644 --- a/nftables/PKGBUILD +++ b/nftables/PKGBUILD @@ -6,7 +6,7 @@ epoch=1 pkgver=0.9.6 pkgrel=1 pkgdesc='Netfilter tables userspace tools' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://netfilter.org/projects/nftables/' license=('GPL2') depends=('libmnl' 'libnftnl' 'gmp' 'readline' 'ncurses' 'jansson') diff --git a/ninja/PKGBUILD b/ninja/PKGBUILD index 92027d196c..7d2d03aa9b 100644 --- a/ninja/PKGBUILD +++ b/ninja/PKGBUILD @@ -8,10 +8,10 @@ pkgname=ninja pkgver=1.10.1 pkgrel=1 pkgdesc='Small build system with a focus on speed' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://ninja-build.org/' license=(Apache) -depends=(gcc-libs) +#depends=(gcc-libs) makedepends=(python re2c emacs-nox) source=($pkgname-$pkgver.zip::https://github.com/martine/ninja/archive/v$pkgver.zip) sha1sums=('36305ab1b9874675bc377e8a701e283a51faf46f') @@ -19,7 +19,7 @@ sha1sums=('36305ab1b9874675bc377e8a701e283a51faf46f') build() { cd ninja-$pkgver - python configure.py --bootstrap + python3 configure.py --bootstrap emacs -Q --batch -f batch-byte-compile misc/ninja-mode.el } diff --git a/npth/PKGBUILD b/npth/PKGBUILD index bf1ef3c862..0735cedb32 100644 --- a/npth/PKGBUILD +++ b/npth/PKGBUILD @@ -8,7 +8,7 @@ pkgdesc='New portable threads library' url='https://git.gnupg.org/cgi-bin/gitweb.cgi?p=npth.git' license=('LGPL') options=('!libtool') -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6' '46CC730865BB5C78EBABADCF04376F3EE0856959' '031EC2536E580D8EA286A9F22071B08A33BD3F06' diff --git a/nspr/PKGBUILD b/nspr/PKGBUILD index 18978fc48d..369e5438d1 100644 --- a/nspr/PKGBUILD +++ b/nspr/PKGBUILD @@ -8,7 +8,7 @@ pkgver=4.28 pkgrel=1 pkgdesc="Netscape Portable Runtime" url="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=(MPL GPL) depends=(glibc sh) makedepends=(zip) diff --git a/openldap/PKGBUILD b/openldap/PKGBUILD index 60230c7902..12807fc5f6 100644 --- a/openldap/PKGBUILD +++ b/openldap/PKGBUILD @@ -5,10 +5,10 @@ pkgbase=openldap pkgname=('openldap' 'libldap') pkgver=2.4.50 pkgrel=2 -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url="https://www.openldap.org/" license=('custom') -makedepends=('libtool' 'libsasl' 'e2fsprogs' 'util-linux' 'chrpath' 'unixodbc') +makedepends=('libtool' 'libsasl' 'chrpath' 'unixodbc') options=('!makeflags' 'emptydirs') source=(https://www.openldap.org/software/download/OpenLDAP/openldap-release/${pkgbase}-${pkgver}.tgz slapd.service openldap.tmpfiles openldap.sysusers openldap-ntlm.patch) @@ -54,7 +54,7 @@ check() { package_libldap() { pkgdesc="Lightweight Directory Access Protocol (LDAP) client libraries" - depends=('libsasl' 'e2fsprogs') + depends=('libsasl') backup=('etc/openldap/ldap.conf') cd ${pkgbase}-${pkgver} diff --git a/openssl/PKGBUILD b/openssl/PKGBUILD index 3232828f22..1e80bb1307 100644 --- a/openssl/PKGBUILD +++ b/openssl/PKGBUILD @@ -7,7 +7,7 @@ _ver=1.1.1g pkgver=${_ver/[a-z]/.${_ver//[0-9.]/}} pkgrel=2 pkgdesc='The Open Source toolkit for Secure Sockets Layer and Transport Layer Security' -arch=(powerpc64le) +arch=(powerpc64le powerpc) url='https://www.openssl.org' license=('custom:BSD') depends=('perl') @@ -34,9 +34,23 @@ prepare() { build() { cd "$srcdir/$pkgname-$_ver" + case ${CARCH} in + powerpc) + BUILD_TYPE=linux-ppc + BUILD_OPTIONS="no-asm" + ;; + powerpc64le) + BUILD_TYPE=linux-ppc64le + BUILD_OPTIONS="enable-ec_nistp_64_gcc_128" + ;; + *) + BUILD_TYPE=linux + ;; + esac + # mark stack as non-executable: http://bugs.archlinux.org/task/12434 ./Configure --prefix=/usr --openssldir=/etc/ssl --libdir=lib \ - shared no-ssl3-method enable-ec_nistp_64_gcc_128 linux-ppc64le \ + shared no-ssl3-method ${BUILD_OPTIONS} ${BUILD_TYPE} \ "-Wa,--noexecstack ${CPPFLAGS} ${CFLAGS} ${LDFLAGS}" make depend diff --git a/p11-kit/PKGBUILD b/p11-kit/PKGBUILD index 094a8e98a5..ccc399d844 100644 --- a/p11-kit/PKGBUILD +++ b/p11-kit/PKGBUILD @@ -8,7 +8,7 @@ pkgver=0.23.21 pkgrel=1 pkgdesc="Loads and enumerates PKCS#11 modules" url="https://p11-glue.freedesktop.org" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=(BSD) makedepends=(gtk-doc git meson libtasn1 libffi systemd bash-completion) source=("git+https://github.com/p11-glue/p11-kit?signed#tag=$pkgver") @@ -21,11 +21,13 @@ prepare() { } build() { + CFLAGS+=" -fcommon" \ arch-meson p11-kit build \ --buildtype debugoptimized \ -D gtk_doc=true \ -D man=true \ - -D trust_paths=/etc/ca-certificates/trust-source:/usr/share/ca-certificates/trust-source + -D trust_paths=/etc/ca-certificates/trust-source:/usr/share/ca-certificates/trust-source \ + -D test=false meson compile -C build } diff --git a/pacman/PKGBUILD b/pacman/PKGBUILD index 186e7bd9f8..65c1af5fb1 100644 --- a/pacman/PKGBUILD +++ b/pacman/PKGBUILD @@ -7,7 +7,7 @@ pkgname=pacman pkgver=5.2.2 pkgrel=1 pkgdesc="A library-based package manager with dependency support" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url="https://www.archlinux.org/pacman/" license=('GPL') groups=('base-devel') diff --git a/pam/PKGBUILD b/pam/PKGBUILD index 9eea5d8376..4af9f661ba 100644 --- a/pam/PKGBUILD +++ b/pam/PKGBUILD @@ -4,13 +4,13 @@ pkgname=pam pkgver=1.4.0 -pkgrel=3 +pkgrel=4 pkgdesc="PAM (Pluggable Authentication Modules) library" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=('GPL2') url="http://linux-pam.org" -depends=('glibc' 'libxcrypt' 'libtirpc' 'pambase' 'audit') -makedepends=('flex' 'w3m' 'docbook-xml>=4.4' 'docbook-xsl') +depends=('libxcrypt' 'libtirpc' 'pambase' 'audit') +makedepends=('flex' 'docbook-xml>=4.4' 'docbook-xsl') #w3m backup=(etc/security/{access.conf,faillock.conf,group.conf,limits.conf,namespace.conf,namespace.init,pam_env.conf,time.conf} etc/environment) source=(https://github.com/linux-pam/linux-pam/releases/download/v$pkgver/Linux-PAM-$pkgver.tar.xz https://github.com/linux-pam/linux-pam/releases/download/v$pkgver/Linux-PAM-$pkgver.tar.xz.asc diff --git a/patch/PKGBUILD b/patch/PKGBUILD index b9c4f0704d..c4b900aa62 100644 --- a/patch/PKGBUILD +++ b/patch/PKGBUILD @@ -8,7 +8,7 @@ pkgname=patch pkgver=2.7.6 pkgrel=10 pkgdesc='A utility to apply patch files to original sources' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://www.gnu.org/software/patch/' license=('GPL') groups=('base-devel') diff --git a/pcre/PKGBUILD b/pcre/PKGBUILD index 6d078183b7..707a8e1b49 100644 --- a/pcre/PKGBUILD +++ b/pcre/PKGBUILD @@ -8,10 +8,10 @@ pkgname=pcre pkgver=8.44 pkgrel=1 pkgdesc='A library that implements Perl 5-style regular expressions' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://www.pcre.org/' license=('BSD') -depends=('gcc-libs' 'readline' 'zlib' 'bzip2' 'bash') +depends=('readline' 'zlib' 'bzip2' 'bash') validpgpkeys=('45F68D54BBE23FB3039B46E59766E084FB0F43D8') # Philip Hazel source=("https://ftp.pcre.org/pub/pcre/$pkgname-$pkgver.tar.bz2"{,.sig}) sha512sums=('f26d850aab5228799e58ac8c2306fb313889332c39e29b118ef1de57677c5c90f970d68d3f475cabc64f8b982a77f04eca990ff1057f3ccf5e19bd137997c4ac' diff --git a/pcre2/PKGBUILD b/pcre2/PKGBUILD index c102b56a2d..de1a800c8f 100644 --- a/pcre2/PKGBUILD +++ b/pcre2/PKGBUILD @@ -10,10 +10,10 @@ pkgname=pcre2 pkgver=10.35 pkgrel=1 pkgdesc='A library that implements Perl 5-style regular expressions. 2nd version' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://www.pcre.org/' license=('BSD') -depends=('gcc-libs' 'readline' 'zlib' 'bzip2' 'bash') +depends=('readline' 'zlib' 'bzip2' 'bash') source=("https://ftp.pcre.org/pub/pcre/$pkgname-$pkgver.tar.bz2"{,.sig}) sha512sums=('ecfb8d48e219daff02874783b7b436fe7d70d8471e44eb66e1e29abb7b0aa67547e6b5fba7058b074ac90eef265ece7d12728f80afdda45b6b8124435f4561fd' 'SKIP') diff --git a/pcsclite/PKGBUILD b/pcsclite/PKGBUILD index 0925b90472..42b22c1c50 100644 --- a/pcsclite/PKGBUILD +++ b/pcsclite/PKGBUILD @@ -8,7 +8,7 @@ pkgname=pcsclite pkgver=1.9.0 pkgrel=1 pkgdesc="PC/SC Architecture smartcard middleware library" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://pcsclite.apdu.fr/' license=('BSD') depends=('python' 'systemd' 'libsystemd.so' 'libudev.so') diff --git a/perl/perl/PKGBUILD b/perl/perl/PKGBUILD index 2426a63e85..6027f53c10 100644 --- a/perl/perl/PKGBUILD +++ b/perl/perl/PKGBUILD @@ -10,7 +10,7 @@ pkgver=5.32.0 _baseversion="${pkgver%.*}" pkgrel=2 pkgdesc="A highly capable, feature-rich programming language" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=('GPL' 'PerlArtistic') url="https://www.perl.org" depends=('gdbm>=1.17' 'db' 'glibc') diff --git a/pkgconf/PKGBUILD b/pkgconf/PKGBUILD index f0ddaaedf4..fef0a0d714 100644 --- a/pkgconf/PKGBUILD +++ b/pkgconf/PKGBUILD @@ -7,11 +7,11 @@ pkgname=pkgconf pkgver=1.7.3 -pkgrel=1 +pkgrel=2 pkgdesc="Package compiler and linker metadata toolkit" url="https://git.sr.ht/~kaniini/pkgconf" license=(custom:ISC) -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) depends=(glibc sh) makedepends=(git) provides=(pkg-config pkgconfig) @@ -22,20 +22,22 @@ _commit=aca0674837cb6df1b29faddb8afe6b2f39733f6b # tags/pkgconf-1.7.3 source=("git+https://git.sr.ht/~kaniini/pkgconf#commit=$_commit" i686-pc-linux-gnu.personality x86_64-pc-linux-gnu.personality - powerpc64le-unknown-linux-gnu.personality) + powerpc64le-unknown-linux-gnu.personality + powerpc-unknown-linux-gnu.personality) sha256sums=('SKIP' '6697c6db7deaae269ea75624a70e80949241f2cf59a537f31ecfcac726d90bc1' 'c8297817ba0b57d003878db247ff34b4c47a7594c9f67dcfe8ff8d6567956cd5' - '481c1d61538943759db67fe80e34d03f681a36bba0eceaa9b0e40c4b6ef36f76') + '481c1d61538943759db67fe80e34d03f681a36bba0eceaa9b0e40c4b6ef36f76' + 'be1a66bf5a6728fe22a37940f78cdcfc5db6323d821a1d1f3468edd68179b4be') _pcdirs=/usr/lib/pkgconfig:/usr/share/pkgconfig _libdir=/usr/lib _includedir=/usr/include -pkgver() { - cd $pkgname - git describe --tags | sed 's/^pkgconf-//;s/-/+/g' -} +#pkgver() { +# cd $pkgname + #git describe --tags | sed 's/^pkgconf-//;s/-/+/g' +#} prepare() { mkdir build @@ -61,10 +63,12 @@ package() { install -Dt "$pkgdir/usr/share/pkgconfig/personality.d" -m644 \ i686-pc-linux-gnu.personality \ x86_64-pc-linux-gnu.personality \ - powerpc64le-unknown-linux-gnu.personality + powerpc64le-unknown-linux-gnu.personality \ + powerpc-unknown-linux-gnu.personality ln -s pkgconf "$pkgdir/usr/bin/i686-pc-linux-gnu-pkg-config" ln -s pkgconf "$pkgdir/usr/bin/x86_64-pc-linux-gnu-pkg-config" ln -s pkgconf "$pkgdir/usr/bin/powerpc64le-unknown-linux-gnu-pkg-config" + ln -s pkgconf "$pkgdir/usr/bin/powerpc-unknown-linux-gnu-pkg-config" ln -s pkgconf "$pkgdir/usr/bin/pkg-config" ln -s pkgconf.1 "$pkgdir/usr/share/man/man1/pkg-config.1" diff --git a/popt/PKGBUILD b/popt/PKGBUILD index 0f7eb9a278..2e0ff7aaab 100644 --- a/popt/PKGBUILD +++ b/popt/PKGBUILD @@ -5,7 +5,7 @@ pkgname=popt pkgver=1.18 pkgrel=1 pkgdesc="A commandline option parser" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url="https://github.com/rpm-software-management/popt" license=('custom') depends=('glibc') diff --git a/python/cython/PKGBUILD b/python/cython/PKGBUILD index 68789db930..b7d685e704 100644 --- a/python/cython/PKGBUILD +++ b/python/cython/PKGBUILD @@ -8,7 +8,7 @@ pkgbase=cython pkgver=0.29.21 pkgrel=1 pkgdesc="C-Extensions for Python" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url="https://cython.org" license=(APACHE) makedepends=(python-setuptools python2-setuptools) diff --git a/python/python-lxml/PKGBUILD b/python/python-lxml/PKGBUILD index c9d08aca91..32360e9d18 100644 --- a/python/python-lxml/PKGBUILD +++ b/python/python-lxml/PKGBUILD @@ -6,7 +6,7 @@ pkgbase=python-lxml pkgname=('python-lxml' 'python2-lxml' 'python-lxml-docs') pkgver=4.5.2 pkgrel=1 -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=('BSD' 'custom') url="https://lxml.de/" makedepends=('libxslt' 'python-setuptools' 'python2-setuptools' 'epydoc' 'python2-pygments' diff --git a/python/python-markupsafe/PKGBUILD b/python/python-markupsafe/PKGBUILD index 1c25f5197a..a16d4f588d 100644 --- a/python/python-markupsafe/PKGBUILD +++ b/python/python-markupsafe/PKGBUILD @@ -8,7 +8,7 @@ pkgname=('python-markupsafe' 'python2-markupsafe') pkgver=1.1.1 pkgrel=4 pkgdesc="Implements a XML/HTML/XHTML Markup safe string for Python" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url="https://pypi.python.org/pypi/MarkupSafe" license=('BSD') makedepends=('python-setuptools' 'python2-setuptools') diff --git a/python/python-numpy/PKGBUILD b/python/python-numpy/PKGBUILD index cc3a5d2171..bb2a9be1b5 100755 --- a/python/python-numpy/PKGBUILD +++ b/python/python-numpy/PKGBUILD @@ -8,7 +8,7 @@ pkgname=python-numpy pkgver=1.19.1 pkgrel=1 pkgdesc="Scientific tools for Python" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=('custom') url="https://www.numpy.org/" depends=('cblas' 'lapack' 'python') diff --git a/python/python/PKGBUILD b/python/python/PKGBUILD index fcb797d6f0..f70d2e4266 100644 --- a/python/python/PKGBUILD +++ b/python/python/PKGBUILD @@ -13,10 +13,10 @@ pkgver=3.8.5 pkgrel=2 _pybasever=${pkgver%.*} pkgdesc="Next generation of the python high-level scripting language" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=('custom') url="https://www.python.org/" -depends=('bzip2' 'expat' 'gdbm' 'libffi' 'libnsl' 'libxcrypt' 'openssl' 'zlib') +depends=('bzip2' 'expat' 'gdbm' 'libffi' 'libxcrypt' 'openssl' 'zlib') makedepends=('tk' 'sqlite' 'valgrind' 'bluez-libs' 'mpdecimal' 'llvm' 'gdb' 'xorg-server-xvfb' 'ttf-font') source=("https://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz"{,.asc}) sha512sums=('460cee65d7df7150694590575502d7f22e548ebfc99c8f8b363eef8bf30ee72e58d8ffacb1d607824f877f880eb9fd6775a508388029583e1e1df3380f3f9587' @@ -40,6 +40,8 @@ prepare() { rm -r Modules/_decimal/libmpdec } +export PATH=/usr/lib/distcc:$PATH + build() { cd Python-${pkgver} @@ -49,25 +51,32 @@ build() { CFLAGS="${CFLAGS/-O2/-O3} -fno-semantic-interposition" LDFLAGS="$LDFLAGS -fno-semantic-interposition" + + case ${CARCH} in + x86_64|powerpc64le) PLATFORM_FLAGS="--with-lto" ;; + *) PLATFORM_FLAGS="--without-lto" ;; + esac + + # Disable bundled pip & setuptools ./configure --prefix=/usr \ --enable-shared \ --with-computed-gotos \ --enable-optimizations \ - --with-lto \ --enable-ipv6 \ --with-system-expat \ --with-dbmliborder=gdbm:ndbm \ --with-system-ffi \ --with-system-libmpdec \ --enable-loadable-sqlite-extensions \ - --without-ensurepip + --without-ensurepip ${PLATFORM_FLAGS} # Obtain next free server number for xvfb-run; this even works in a chroot environment. - export servernum=99 - while ! xvfb-run -a -n "$servernum" /bin/true 2>/dev/null; do servernum=$((servernum+1)); done + #export servernum=99 + #while ! xvfb-run -a -n "$servernum" /bin/true 2>/dev/null; do servernum=$((servernum+1)); done - LC_CTYPE=en_US.UTF-8 xvfb-run -s "-screen 0 1920x1080x16 -ac +extension GLX" -a -n "$servernum" make EXTRA_CFLAGS="$CFLAGS" + #LC_CTYPE=en_US.UTF-8 xvfb-run -s "-screen 0 1920x1080x16 -ac +extension GLX" -a -n "$servernum" make EXTRA_CFLAGS="$CFLAGS" + make EXTRA_CFLAGS="${CFLAGS}" } check() { diff --git a/python/python2/PKGBUILD b/python/python2/PKGBUILD index c52f42943b..ba145c8a9b 100644 --- a/python/python2/PKGBUILD +++ b/python/python2/PKGBUILD @@ -9,10 +9,10 @@ pkgver=2.7.18 pkgrel=2 _pybasever=2.7 pkgdesc="A high-level scripting language" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=('PSF') url="https://www.python.org/" -depends=('bzip2' 'expat' 'gdbm' 'libffi' 'libnsl' 'libxcrypt' 'openssl' 'sqlite' 'zlib') +depends=('bzip2' 'expat' 'gdbm' 'libffi' 'libxcrypt' 'openssl' 'sqlite' 'zlib') makedepends=('tk' 'bluez-libs') checkdepends=('gdb' 'file' 'xorg-server-xvfb') optdepends=('tk: for IDLE' @@ -26,6 +26,8 @@ sha512sums=('a7bb62b51f48ff0b6df0b18f5b0312a523e3110f49c3237936bfe56ed0e26838c02 '4e761cfd57791e8b72ecdf84c2e03875bf074311130eea5b8e97409fa304fa3468dbd359a511c4e9978e686e662c58054b4174d3e73f845fa9ded2e83a3a8076') validpgpkeys=('C01E1CAD5EA2C4F0B8E3571504C367C218ADD4FF') # Benjamin Peterson +export PATH=/usr/lib/distcc:$PATH + prepare() { cd Python-${pkgver} @@ -63,18 +65,22 @@ prepare() { build() { cd "${srcdir}/Python-${pkgver}" + case ${CARCH} in + x86_64|powerpc64le) PLATFORM_FLAGS="--with-lto" ;; + *) PLATFORM_FLAGS="--without-lto" ;; + esac + export OPT="${CFLAGS}" ./configure --prefix=/usr \ --enable-shared \ --with-threads \ --enable-optimizations \ - --with-lto \ --enable-ipv6 \ --enable-unicode=ucs4 \ --with-system-expat \ --with-system-ffi \ --with-dbmliborder=gdbm:ndbm \ - --without-ensurepip + --without-ensurepip ${PLATFORM_FLAGS} make } diff --git a/re2c/PKGBUILD b/re2c/PKGBUILD index 8c21c38fe0..a156114203 100644 --- a/re2c/PKGBUILD +++ b/re2c/PKGBUILD @@ -6,8 +6,8 @@ pkgname=re2c pkgver=2.0.3 pkgrel=1 -arch=(x86_64 powerpc64le) -depends=(gcc-libs) +arch=(x86_64 powerpc64le powerpc) +#depends=(gcc-libs) pkgdesc='A tool for generating C-based recognizers from regular expressions' url='https://re2c.org' license=('public domain') diff --git a/readline/PKGBUILD b/readline/PKGBUILD index 179b28f0ea..e6d7ae9cca 100644 --- a/readline/PKGBUILD +++ b/readline/PKGBUILD @@ -9,7 +9,7 @@ _patchlevel=004 pkgver=${_basever}.${_patchlevel} pkgrel=1 pkgdesc='GNU readline library' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://tiswww.case.edu/php/chet/readline/rltop.html' license=('GPL') backup=('etc/inputrc') diff --git a/rhash/PKGBUILD b/rhash/PKGBUILD index 9d4e5d5fe3..799b9b922e 100644 --- a/rhash/PKGBUILD +++ b/rhash/PKGBUILD @@ -12,7 +12,7 @@ pkgrel=1 pkgdesc='Utility for verifying hash sums of files' url='https://github.com/rhash/RHash' license=('BSD') -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) depends=('glibc') diff --git a/sed/PKGBUILD b/sed/PKGBUILD index 36a376c860..8ad0d82972 100644 --- a/sed/PKGBUILD +++ b/sed/PKGBUILD @@ -7,7 +7,7 @@ pkgname=sed pkgver=4.8 pkgrel=1 pkgdesc='GNU stream editor' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://www.gnu.org/software/sed/' license=('GPL3') groups=('base-devel') diff --git a/shadow/PKGBUILD b/shadow/PKGBUILD index 0715b90362..cb2a2ca43b 100644 --- a/shadow/PKGBUILD +++ b/shadow/PKGBUILD @@ -6,7 +6,7 @@ pkgname=shadow pkgver=4.8.1 pkgrel=3 pkgdesc="Password and account management tool suite with support for shadow files and PAM" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://github.com/shadow-maint/shadow' license=('BSD') # libcap-ng needed by install scriptlet for 'filecap' diff --git a/sqlite/PKGBUILD b/sqlite/PKGBUILD index e5f8d20a31..2ad11e35c7 100644 --- a/sqlite/PKGBUILD +++ b/sqlite/PKGBUILD @@ -10,7 +10,7 @@ _docver=${_srcver} pkgver=3.33.0 pkgrel=2 pkgdesc="A C library that implements an SQL database engine" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=('custom:Public Domain') url="https://www.sqlite.org/" makedepends=('tcl' 'readline' 'zlib') diff --git a/sudo/PKGBUILD b/sudo/PKGBUILD index 874d4b0891..d8028f2d9c 100644 --- a/sudo/PKGBUILD +++ b/sudo/PKGBUILD @@ -8,7 +8,7 @@ _sudover=1.9.2 pkgver=${_sudover/p/.p} pkgrel=1 pkgdesc="Give certain users the ability to run some commands as root" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url="https://www.sudo.ws/sudo/" license=('custom') groups=('base-devel') diff --git a/swig/PKGBUILD b/swig/PKGBUILD index 0651ec435c..44e91da963 100644 --- a/swig/PKGBUILD +++ b/swig/PKGBUILD @@ -5,12 +5,12 @@ pkgname=swig pkgver=4.0.2 -pkgrel=1 +pkgrel=2 pkgdesc="Generate scripting interfaces to C/C++ code" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url="http://www.swig.org/" license=('custom') -depends=('pcre' 'gcc-libs') +depends=('pcre') checkdepends=('ruby' 'python' 'java-environment' 'tcl' 'php' 'lua' 'r' 'go' 'boost') source=(https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz) sha512sums=('05e7da70ce6d9a733b96c0bcfa3c1b82765bd859f48c74759bbf4bb1467acb1809caa310cba5e2b3280cd704fca249eaa0624821dffae1d2a75097c7f55d14ed') diff --git a/systemd/PKGBUILD b/systemd/PKGBUILD index f7f3331edf..a5980ee58a 100644 --- a/systemd/PKGBUILD +++ b/systemd/PKGBUILD @@ -8,7 +8,7 @@ pkgname=('systemd' 'systemd-libs' 'systemd-resolvconf' 'systemd-sysvcompat') _tag='b5ca06f13739f6fae3b73ccfc89d1e4d152329a2' # git rev-parse v${pkgver} pkgver=246.3 pkgrel=1 -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://www.github.com/systemd/systemd' makedepends=('acl' 'cryptsetup' 'docbook-xsl' 'gperf' 'lz4' 'xz' 'pam' 'libelf' 'intltool' 'iptables' 'kmod' 'libcap' 'libidn2' 'libgcrypt' @@ -173,7 +173,7 @@ package_systemd() { DESTDIR="$pkgdir" meson install -C build # we'll create this on installation - rmdir "$pkgdir"/var/log/journal/remote + #rmdir "$pkgdir"/var/log/journal/remote # runtime libraries shipped with systemd-libs install -d -m0755 systemd-libs diff --git a/tar/PKGBUILD b/tar/PKGBUILD index 0d52fc9c49..ceb6562f9b 100644 --- a/tar/PKGBUILD +++ b/tar/PKGBUILD @@ -7,7 +7,7 @@ pkgname=tar pkgver=1.32 pkgrel=4 pkgdesc='Utility used to store, backup, and transport files' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://www.gnu.org/software/tar/' license=('GPL3') depends=('glibc' 'acl' 'attr') diff --git a/tcl/PKGBUILD b/tcl/PKGBUILD index 9e4ec4069d..8e57b0688c 100644 --- a/tcl/PKGBUILD +++ b/tcl/PKGBUILD @@ -5,7 +5,7 @@ pkgname=tcl pkgver=8.6.10 pkgrel=2 pkgdesc="The Tcl scripting language" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url="http://tcl.sourceforge.net/" license=('custom') depends=('zlib') diff --git a/texinfo/PKGBUILD b/texinfo/PKGBUILD index 1375af938f..7b29a095a3 100644 --- a/texinfo/PKGBUILD +++ b/texinfo/PKGBUILD @@ -7,7 +7,7 @@ pkgname=texinfo pkgver=6.7 pkgrel=3 pkgdesc='GNU documentation system for on-line information and printed output' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://www.gnu.org/software/texinfo/' license=(GPL3) groups=(base-devel) diff --git a/thin-provisioning-tools/PKGBUILD b/thin-provisioning-tools/PKGBUILD index 0903b063fa..3f4135966c 100644 --- a/thin-provisioning-tools/PKGBUILD +++ b/thin-provisioning-tools/PKGBUILD @@ -6,10 +6,10 @@ pkgname=thin-provisioning-tools pkgver=0.9.0 pkgrel=1 pkgdesc='Suite of tools for manipulating the metadata of the dm-thin device-mapper target' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url="https://github.com/jthornber/thin-provisioning-tools" license=('GPL3') -depends=('expat' 'gcc-libs' 'libaio') +depends=('expat' 'libaio') makedepends=('boost') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/jthornber/${pkgname}/archive/v${pkgver}.tar.gz") sha256sums=('a2508d9933ed8a3f6c8d302280d838d416668a1d914a83c4bd0fb01eaf0676e8') diff --git a/tzdata/PKGBUILD b/tzdata/PKGBUILD index 17b6caf210..54287cdd37 100644 --- a/tzdata/PKGBUILD +++ b/tzdata/PKGBUILD @@ -7,7 +7,7 @@ _tzcode=2020a _tzdata=2020a pkgrel=1 pkgdesc="Sources for time zone and daylight saving time data" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url="https://www.iana.org/time-zones" license=('custom: public domain') options=('!emptydirs') diff --git a/unixodbc/PKGBUILD b/unixodbc/PKGBUILD index f7f1d55e80..2a5cbc33b7 100644 --- a/unixodbc/PKGBUILD +++ b/unixodbc/PKGBUILD @@ -7,7 +7,7 @@ pkgname=unixodbc pkgver=2.3.9 pkgrel=1 pkgdesc="ODBC is an open specification for providing application developers with a predictable API with which to access Data Sources" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=('GPL2' 'LGPL2.1') url="http://www.unixodbc.org/" backup=('etc/odbc.ini' 'etc/odbcinst.ini') diff --git a/util-linux/PKGBUILD b/util-linux/PKGBUILD index 55814ad2b4..ea9895ce50 100644 --- a/util-linux/PKGBUILD +++ b/util-linux/PKGBUILD @@ -10,7 +10,7 @@ pkgver=${_pkgmajor} pkgrel=4 pkgdesc='Miscellaneous system utilities for Linux' url='https://github.com/karelzak/util-linux' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) makedepends=('systemd' 'python' 'libcap-ng' 'libxcrypt') license=('GPL2') options=('strip') diff --git a/wget/PKGBUILD b/wget/PKGBUILD index f2872ed0b6..04b7f69c3c 100644 --- a/wget/PKGBUILD +++ b/wget/PKGBUILD @@ -7,7 +7,7 @@ pkgver=1.20.3 pkgrel=3 pkgdesc='Network utility to retrieve files from the Web' url='https://www.gnu.org/software/wget/wget.html' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=('GPL3') depends=('glibc' 'gnutls' 'libidn2' 'libutil-linux' 'libpsl' 'pcre2') checkdepends=('perl-http-daemon' 'perl-io-socket-ssl' 'python') diff --git a/which/PKGBUILD b/which/PKGBUILD index 884ad64f12..d657124be6 100644 --- a/which/PKGBUILD +++ b/which/PKGBUILD @@ -7,7 +7,7 @@ pkgname=which pkgver=2.21 pkgrel=6 pkgdesc='A utility to show the full path of commands' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://savannah.gnu.org/projects/which/' license=('GPL3') groups=('base-devel') diff --git a/xmlto/PKGBUILD b/xmlto/PKGBUILD index 896ef13f35..152659437e 100644 --- a/xmlto/PKGBUILD +++ b/xmlto/PKGBUILD @@ -8,7 +8,7 @@ pkgname=xmlto pkgver=0.0.28 pkgrel=5 pkgdesc="Convert xml to many other formats" -arch=('x86_64' 'powerpc64le') +arch=('x86_64' 'powerpc64le' 'powerpc') url="https://pagure.io/xmlto/" license=('GPL') depends=('libxslt') diff --git a/xorg/libxdmcp/PKGBUILD b/xorg/libxdmcp/PKGBUILD index 3969916d91..aa23684952 100644 --- a/xorg/libxdmcp/PKGBUILD +++ b/xorg/libxdmcp/PKGBUILD @@ -6,7 +6,7 @@ pkgname=libxdmcp pkgver=1.1.3 pkgrel=3 pkgdesc="X11 Display Manager Control Protocol library" -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url="https://xorg.freedesktop.org/" license=('custom') depends=('glibc') diff --git a/xz/PKGBUILD b/xz/PKGBUILD index 794de7460a..c8e0536d9f 100644 --- a/xz/PKGBUILD +++ b/xz/PKGBUILD @@ -6,10 +6,11 @@ pkgname=xz pkgver=5.2.5 pkgrel=1 pkgdesc='Library and command line tools for XZ and LZMA compressed files' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://tukaani.org/xz/' license=('GPL' 'LGPL' 'custom') -depends=('sh') +#depends=('sh') +options=('!distcc') source=("https://tukaani.org/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig}) md5sums=('0d270c997aff29708c74d53f599ef717' 'SKIP') @@ -20,7 +21,7 @@ build() { ./configure --prefix=/usr \ --disable-rpath \ - --enable-werror + --disable-werror make } diff --git a/zip/PKGBUILD b/zip/PKGBUILD index 24daed32fb..2e3011339b 100644 --- a/zip/PKGBUILD +++ b/zip/PKGBUILD @@ -8,7 +8,7 @@ _pkgver=${pkgver/./} pkgrel=9 pkgdesc='Compressor/archiver for creating and modifying zipfiles' url='http://www.info-zip.org/Zip.html' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=('custom') depends=('bzip2') source=("https://downloads.sourceforge.net/infozip/${pkgname}${_pkgver}.tar.gz" diff --git a/zlib/PKGBUILD b/zlib/PKGBUILD index fb7759a560..73b54ed7c2 100644 --- a/zlib/PKGBUILD +++ b/zlib/PKGBUILD @@ -6,11 +6,11 @@ pkgname=(zlib minizip) epoch=1 pkgver=1.2.11 pkgrel=5 -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) license=('custom') url="https://www.zlib.net/" -depends=('glibc') -options=('staticlibs') # needed by binutils testsuite +#depends=('glibc') +options=('staticlibs' '!distcc') # needed by binutils testsuite source=("https://zlib.net/zlib-${pkgver}.tar.gz"{,.asc}) md5sums=('1c9f62f0778697a09d36121ead88e08e' 'SKIP') diff --git a/zstd/PKGBUILD b/zstd/PKGBUILD index bc506cdd0d..dfc01c0b5a 100644 --- a/zstd/PKGBUILD +++ b/zstd/PKGBUILD @@ -7,7 +7,7 @@ pkgname=zstd pkgver=1.4.5 pkgrel=1 pkgdesc='Zstandard - Fast real-time compression algorithm' -arch=(x86_64 powerpc64le) +arch=(x86_64 powerpc64le powerpc) url='https://www.zstd.net/' license=(BSD GPL2) depends=(zlib xz lz4)