From e74cde76c104df82b120a7b13964cb786da8f565 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 22 May 2023 20:18:50 +0200 Subject: community -> extra --- extra/acpi_call-lts/PKGBUILD | 13 ++ extra/acpi_call/PKGBUILD | 13 ++ extra/alacritty/PKGBUILD | 9 ++ extra/allure/PKGBUILD | 0 extra/aubio/PKGBUILD | 19 +++ extra/aubio/assert-almost.patch | Bin 0 -> 1366 bytes extra/auth-tarball-from-git/PKGBUILD | 8 ++ extra/autopep8/PKGBUILD | 1 + extra/bazel/PKGBUILD | 11 ++ extra/binaryen/PKGBUILD | 6 + extra/blender/PKGBUILD | 59 ++++++++ ...blender-idprop_create-static-assert-float.patch | Bin 0 -> 1031 bytes extra/blender/no-sse2.patch | Bin 0 -> 533 bytes extra/boost178-libs/PKGBUILD | 102 ++++++++++++++ extra/boost179-libs/PKGBUILD | 102 ++++++++++++++ extra/boost180-libs/PKGBUILD | 102 ++++++++++++++ extra/borg/PKGBUILD | 9 ++ extra/broadcom-wl-dkms/PKGBUILD | 4 + extra/calibre/PKGBUILD | 14 ++ extra/carla/PKGBUILD | 27 ++++ extra/carla/carla-git-no-sse.patch | Bin 0 -> 3331 bytes extra/carla/carla-git-no-sse2.patch | Bin 0 -> 3392 bytes extra/chezmoi/PKGBUILD | 8 ++ extra/clementine/PKGBUILD | 25 ++++ extra/codeblocks/PKGBUILD | 8 ++ extra/coin-or-cbc/PKGBUILD | 2 + extra/consul/PKGBUILD | 13 ++ extra/containerd/PKGBUILD | 2 + extra/coq/PKGBUILD | 18 +++ extra/crun/PKGBUILD | 2 + extra/crypto++/PKGBUILD | 9 ++ extra/dart/PKGBUILD | 3 + extra/dbeaver/PKGBUILD | 8 ++ extra/dgen-sdl/PKGBUILD | 9 ++ extra/dhall/PKGBUILD | 7 + extra/diffoscope/PKGBUILD | 1 + extra/dmd/PKGBUILD | 2 + extra/dolphin-emu/PKGBUILD | 6 + extra/dtc/PKGBUILD | 3 + extra/dwarffortress/PKGBUILD | 7 + extra/e3/PKGBUILD | 8 ++ extra/electron/PKGBUILD | 16 +++ extra/electron/allow-i686.patch | Bin 0 -> 386 bytes extra/embree/PKGBUILD | 27 ++++ extra/embree/embree-3.2.0-intrinsic.patch | Bin 0 -> 608 bytes extra/exa/PKGBUILD | 25 ++++ extra/fasm/PKGBUILD | 13 ++ extra/fig2dev/PKGBUILD | 12 ++ extra/fio/PKGBUILD | 3 + extra/fpc/PKGBUILD | 28 ++++ extra/freebasic/PKGBUILD | 11 ++ extra/freecad/PKGBUILD | 16 +++ extra/fzf/PKGBUILD | 6 + extra/gap/PKGBUILD | 6 + extra/gdal/PKGBUILD | 35 +++++ extra/ghc/PKGBUILD | 11 ++ extra/ghdl/PKGBUILD | 2 + extra/gitlab-runner/PKGBUILD | 6 + extra/gitlab/PKGBUILD | 10 ++ extra/glfw/PKGBUILD | 14 ++ extra/go/PKGBUILD | 52 +++++++ extra/go/go-x87.patch | Bin 0 -> 777 bytes extra/grafana/PKGBUILD | 7 + extra/grpc/PKGBUILD | 12 ++ extra/gtest/PKGBUILD | 8 ++ extra/handbrake/PKGBUILD | 8 ++ extra/haskell-aeson/PKGBUILD | 10 ++ extra/haskell-bsb-http-chunked/PKGBUILD | 2 + extra/haskell-gauge/PKGBUILD | 15 ++ extra/haskell-hedgehog/PKGBUILD | 2 + extra/haskell-hslua-module-text/PKGBUILD | 3 + extra/haskell-hslua/PKGBUILD | 15 ++ extra/haskell-microlens-aeson/PKGBUILD | 11 ++ extra/haskell-pantry/PKGBUILD | 2 + extra/haskell-servant-swagger/PKGBUILD | 30 ++++ .../49577e019ea791ee63962cdfe7e9c0c5b5c6ea4b.patch | Bin 0 -> 845 bytes .../76fd2e84ba133e96d2cfdf90cb715e66e923eb8f.patch | Bin 0 -> 414 bytes extra/heaptrack/PKGBUILD | 15 ++ .../c456f6a1575fb2834238a1f693e7c7787d768d42.patch | Bin 0 -> 681 bytes extra/helm-synth/PKGBUILD | 10 ++ .../helm-0.9.0-sigemptyset-glibc-2.26.patch | Bin 0 -> 908 bytes extra/hotdoc/PKGBUILD | 7 + extra/imapsync/PKGBUILD | 2 + extra/intel-graphics-compiler/PKGBUILD | 5 + extra/ipxe/PKGBUILD | 14 ++ extra/ispc/PKGBUILD | 41 ++++++ extra/ispc/ispc-1.16.1-host-amd64.patch | Bin 0 -> 582 bytes extra/john/PKGBUILD | 51 +++++++ extra/julia/PKGBUILD | 31 +++++ extra/kernel-headers-musl/PKGBUILD | 16 +++ extra/keybase/PKGBUILD | 10 ++ extra/kodi/PKGBUILD | 1 + extra/ksh/PKGBUILD | 9 ++ extra/kustomize/PKGBUILD | 3 + extra/kvazaar/PKGBUILD | 2 + extra/ldc/PKGBUILD | 2 + extra/libantlr3c/PKGBUILD | 7 + extra/libavif/PKGBUILD | 20 +++ extra/libffado/PKGBUILD | 32 +++++ extra/libffi33/PKGBUILD | 50 +++++++ extra/libfilezilla/PKGBUILD | 11 ++ extra/libgda/PKGBUILD | 26 ++++ extra/libgda/java.patch | Bin 0 -> 1427 bytes extra/libjxl/PKGBUILD | 20 +++ extra/libkeccak/PKGBUILD | 19 +++ extra/libkeccak/libkeccak-1.2.2-no-valgrind.patch | Bin 0 -> 764 bytes extra/libmysofa/PKGBUILD | 5 + extra/libnids/PKGBUILD | 17 +++ extra/libnids/libnids-1.24-inline.patch | Bin 0 -> 1363 bytes extra/libretro-blastem/PKGBUILD | 6 + extra/libretro-pcsx-rearmed/PKGBUILD | 1 + extra/libvirt/PKGBUILD | 36 +++++ extra/linux-tools/PKGBUILD | 60 ++++++++ extra/luajit/PKGBUILD | 69 +++++++++ .../c7815e1a1b49871e645252bb12e722fb4879df11.patch | Bin 0 -> 45267 bytes extra/luajit/luajit-2.0-505e2c0-i486.patch | Bin 0 -> 66891 bytes extra/mame/PKGBUILD | 6 + extra/mate-sensors-applet/PKGBUILD | 3 + extra/midori/PKGBUILD | 2 + extra/mixxx/PKGBUILD | 7 + extra/mongo-c-driver/PKGBUILD | 1 + extra/mpv/PKGBUILD | 5 + extra/mupdf/PKGBUILD | 4 + extra/mysql-workbench/PKGBUILD | 16 +++ .../mysql-workbench-community-6.3.10-32bit.patch | Bin 0 -> 3716 bytes extra/netcdf-openmpi/PKGBUILD | 11 ++ extra/netcdf/PKGBUILD | 19 +++ extra/netplan/PKGBUILD | 13 ++ extra/netplan/netplan-0.102-no-pandoc.patch | Bin 0 -> 575 bytes extra/netsurf/PKGBUILD | 1 + extra/newsboat-og/PKGBUILD | 33 +++++ extra/nodejs-lts-fermium/PKGBUILD | 3 + extra/nodejs/PKGBUILD | 35 +++++ extra/nodejs/node-17.1.0-atomic.patch | Bin 0 -> 1888 bytes extra/npm/PKGBUILD | 22 +++ extra/nvchecker/PKGBUILD | 2 + extra/octave/PKGBUILD | 4 + extra/opam/PKGBUILD | 3 + extra/opencascade/PKGBUILD | 2 + extra/openipmi/PKGBUILD | 2 + extra/openscenegraph/PKGBUILD | 6 + extra/opensubdiv/PKGBUILD | 19 +++ extra/openvdb/PKGBUILD | 23 +++ extra/openvdb/openvdb-8.0.1-i486-atomic.patch | Bin 0 -> 534 bytes extra/pacman-contrib/PKGBUILD | 9 ++ extra/pacman-contrib/rankmirror.sh.diff | 16 +++ extra/pacutils/PKGBUILD | 10 ++ extra/pandoc-cli/PKGBUILD | 2 + extra/percona-server/LF_PINS-size.patch | Bin 0 -> 434 bytes extra/percona-server/PKGBUILD | 36 +++++ extra/perl-cgi/PKGBUILD | 9 ++ extra/perl-image-sane/PKGBUILD | 2 + extra/perl-term-readline-gnu/PKGBUILD | 3 + extra/pifpaf/PKGBUILD | 6 + extra/ponyc/PKGBUILD | 19 +++ extra/postgrest/PKGBUILD | 9 ++ extra/prjtrellis/PKGBUILD | 18 +++ extra/prusa-slicer/PKGBUILD | 2 + extra/psensor/PKGBUILD | 3 + extra/pypy/PKGBUILD | 5 + extra/pypy3/PKGBUILD | 5 + extra/python-apipkg/PKGBUILD | 7 + extra/python-autobahn/PKGBUILD | 3 + extra/python-babel/PKGBUILD | 10 ++ extra/python-build/PKGBUILD | 25 ++++ extra/python-cairocffi/PKGBUILD | 9 ++ extra/python-commonmark/PKGBUILD | 17 +++ extra/python-debugpy/PKGBUILD | 11 ++ extra/python-docs/PKGBUILD | 1 + extra/python-factory-boy/PKGBUILD | 2 + extra/python-faker/PKGBUILD | 18 +++ extra/python-flit-core/PKGBUILD | 6 + extra/python-flit/PKGBUILD | 10 ++ extra/python-fsspec/PKGBUILD | 4 + extra/python-hglib/PKGBUILD | 11 ++ extra/python-httpcore/PKGBUILD | 2 + extra/python-httpx/PKGBUILD | 2 + extra/python-hypothesis/PKGBUILD | 8 ++ extra/python-installer/PKGBUILD | 23 +++ extra/python-iwlib/PKGBUILD | 8 ++ extra/python-jaraco.context/PKGBUILD | 18 +++ extra/python-jaraco.functools/PKGBUILD | 13 ++ extra/python-jaraco.text/PKGBUILD | 18 +++ extra/python-jedi/PKGBUILD | 15 ++ extra/python-libevdev/PKGBUILD | 11 ++ extra/python-libnacl/PKGBUILD | 15 ++ extra/python-matplotlib/PKGBUILD | 14 ++ extra/python-mongoengine/PKGBUILD | 1 + extra/python-more-itertools/PKGBUILD | 8 ++ extra/python-networkx/PKGBUILD | 7 + extra/python-pluggy/PKGBUILD | 7 + extra/python-pyproject-hooks/PKGBUILD | 8 ++ extra/python-pytest/PKGBUILD | 7 + extra/python-pyudev/PKGBUILD | 15 ++ extra/python-pyvirtualdisplay/PKGBUILD | 2 + extra/python-scipy/PKGBUILD | 11 ++ extra/python-setuptools-scm/PKGBUILD | 9 ++ extra/python-shapely/PKGBUILD | 23 +++ extra/python-shapely/load_dll_c.patch | Bin 0 -> 573 bytes extra/python-simplejson/PKGBUILD | 4 + extra/python-sphinxcontrib-applehelp/PKGBUILD | 2 + extra/python-sphinxcontrib-devhelp/PKGBUILD | 2 + extra/python-sphinxcontrib-htmlhelp/PKGBUILD | 3 + extra/python-sphinxcontrib-jsmath/PKGBUILD | 2 + .../python-sphinxcontrib-serializinghtml/PKGBUILD | 2 + extra/python-tqdm/PKGBUILD | 11 ++ .../tqdm-4.22.0-sleep-test-workaround.patch | Bin 0 -> 746 bytes extra/python-wheel/PKGBUILD | 9 ++ extra/python-xarray/PKGBUILD | 2 + extra/qcad/PKGBUILD | 8 ++ extra/qtile/PKGBUILD | 10 ++ extra/rathole/PKGBUILD | 3 + extra/redis/PKGBUILD | 9 ++ extra/reflector/PKGBUILD | 15 ++ extra/ruby-bigdecimal/PKGBUILD | 8 ++ extra/ruby-cgi/PKGBUILD | 8 ++ extra/ruby-date/PKGBUILD | 8 ++ extra/ruby-digest/PKGBUILD | 8 ++ extra/ruby-etc/PKGBUILD | 8 ++ extra/ruby-fcntl/PKGBUILD | 8 ++ extra/ruby-fiddle/PKGBUILD | 8 ++ extra/ruby-io-console/PKGBUILD | 8 ++ extra/ruby-io-nonblock/PKGBUILD | 8 ++ extra/ruby-io-wait/PKGBUILD | 8 ++ extra/ruby-json/PKGBUILD | 8 ++ extra/ruby-psych/PKGBUILD | 8 ++ extra/ruby-racc/PKGBUILD | 8 ++ extra/ruby-stringio/PKGBUILD | 8 ++ extra/ruby/PKGBUILD | 17 +++ extra/rxvt-unicode/PKGBUILD | 13 ++ extra/s2n-tls/PKGBUILD | 7 + extra/sarg/PKGBUILD | 8 ++ extra/sarg/no-werror.patch | Bin 0 -> 974 bytes extra/sensors-applet/PKGBUILD | 3 + extra/serialdv/PKGBUILD | 6 + extra/skim/PKGBUILD | 11 ++ extra/smbnetfs/PKGBUILD | 10 ++ extra/sonic-visualiser/PKGBUILD | 6 + extra/spiped/PKGBUILD | 2 + extra/spirv-llvm-translator/PKGBUILD | 15 ++ extra/spring/PKGBUILD | 14 ++ extra/spring/gold-linker.patch | Bin 0 -> 807 bytes extra/squid/PKGBUILD | 13 ++ extra/stratisd/PKGBUILD | 6 + extra/swi-prolog/PKGBUILD | 11 ++ extra/teamspeak3-server/PKGBUILD | 14 ++ extra/teamspeak3/PKGBUILD | 15 ++ extra/teeworlds/PKGBUILD | 6 + extra/tensorflow/PKGBUILD | 13 ++ extra/terraform/PKGBUILD | 1 + extra/testssl.sh/PKGBUILD | 2 + extra/thrift/PKGBUILD | 8 ++ extra/tinyemu/PKGBUILD | 11 ++ extra/tpm2-tools/PKGBUILD | 3 + extra/tpm2-tss-engine/PKGBUILD | 3 + extra/tpm2-tss-engine/tpm2-tss-engine_check.sh | 3 + extra/v2ray/PKGBUILD | 9 ++ extra/vamp-aubio-plugins/PKGBUILD | 11 ++ extra/vault/PKGBUILD | 6 + extra/vbam/PKGBUILD | 1 + extra/virtualbox/PKGBUILD | 49 +++++++ extra/vtk/PKGBUILD | 4 + extra/wine-gecko/PKGBUILD | 6 + extra/wine/30-win32-aliases.conf | 20 +++ extra/wine/PKGBUILD | 154 +++++++++++++++++++++ extra/wine/wine-binfmt.conf | 2 + extra/wine/wine.install | 7 + extra/xaos/PKGBUILD | 14 ++ extra/xaos/xaos.patch | Bin 0 -> 825 bytes extra/yder/PKGBUILD | 2 + extra/z3/PKGBUILD | 9 ++ extra/zeroc-ice/PKGBUILD | 7 + extra/zeromq/PKGBUILD | 9 ++ extra/zig/PKGBUILD | 3 + 274 files changed, 3159 insertions(+) create mode 100644 extra/acpi_call-lts/PKGBUILD create mode 100644 extra/acpi_call/PKGBUILD create mode 100644 extra/alacritty/PKGBUILD create mode 100644 extra/allure/PKGBUILD create mode 100644 extra/aubio/PKGBUILD create mode 100644 extra/aubio/assert-almost.patch create mode 100644 extra/auth-tarball-from-git/PKGBUILD create mode 100644 extra/autopep8/PKGBUILD create mode 100644 extra/bazel/PKGBUILD create mode 100644 extra/binaryen/PKGBUILD create mode 100644 extra/blender/PKGBUILD create mode 100644 extra/blender/blender-idprop_create-static-assert-float.patch create mode 100644 extra/blender/no-sse2.patch create mode 100644 extra/boost178-libs/PKGBUILD create mode 100644 extra/boost179-libs/PKGBUILD create mode 100644 extra/boost180-libs/PKGBUILD create mode 100644 extra/borg/PKGBUILD create mode 100644 extra/broadcom-wl-dkms/PKGBUILD create mode 100644 extra/calibre/PKGBUILD create mode 100644 extra/carla/PKGBUILD create mode 100644 extra/carla/carla-git-no-sse.patch create mode 100644 extra/carla/carla-git-no-sse2.patch create mode 100644 extra/chezmoi/PKGBUILD create mode 100644 extra/clementine/PKGBUILD create mode 100644 extra/codeblocks/PKGBUILD create mode 100644 extra/coin-or-cbc/PKGBUILD create mode 100644 extra/consul/PKGBUILD create mode 100644 extra/containerd/PKGBUILD create mode 100644 extra/coq/PKGBUILD create mode 100644 extra/crun/PKGBUILD create mode 100644 extra/crypto++/PKGBUILD create mode 100644 extra/dart/PKGBUILD create mode 100644 extra/dbeaver/PKGBUILD create mode 100644 extra/dgen-sdl/PKGBUILD create mode 100644 extra/dhall/PKGBUILD create mode 100644 extra/diffoscope/PKGBUILD create mode 100644 extra/dmd/PKGBUILD create mode 100644 extra/dolphin-emu/PKGBUILD create mode 100644 extra/dtc/PKGBUILD create mode 100644 extra/dwarffortress/PKGBUILD create mode 100644 extra/e3/PKGBUILD create mode 100644 extra/electron/PKGBUILD create mode 100644 extra/electron/allow-i686.patch create mode 100644 extra/embree/PKGBUILD create mode 100644 extra/embree/embree-3.2.0-intrinsic.patch create mode 100644 extra/exa/PKGBUILD create mode 100644 extra/fasm/PKGBUILD create mode 100644 extra/fig2dev/PKGBUILD create mode 100644 extra/fio/PKGBUILD create mode 100644 extra/fpc/PKGBUILD create mode 100644 extra/freebasic/PKGBUILD create mode 100644 extra/freecad/PKGBUILD create mode 100644 extra/fzf/PKGBUILD create mode 100644 extra/gap/PKGBUILD create mode 100644 extra/gdal/PKGBUILD create mode 100644 extra/ghc/PKGBUILD create mode 100644 extra/ghdl/PKGBUILD create mode 100644 extra/gitlab-runner/PKGBUILD create mode 100644 extra/gitlab/PKGBUILD create mode 100644 extra/glfw/PKGBUILD create mode 100644 extra/go/PKGBUILD create mode 100644 extra/go/go-x87.patch create mode 100644 extra/grafana/PKGBUILD create mode 100644 extra/grpc/PKGBUILD create mode 100644 extra/gtest/PKGBUILD create mode 100644 extra/handbrake/PKGBUILD create mode 100644 extra/haskell-aeson/PKGBUILD create mode 100644 extra/haskell-bsb-http-chunked/PKGBUILD create mode 100644 extra/haskell-gauge/PKGBUILD create mode 100644 extra/haskell-hedgehog/PKGBUILD create mode 100644 extra/haskell-hslua-module-text/PKGBUILD create mode 100644 extra/haskell-hslua/PKGBUILD create mode 100644 extra/haskell-microlens-aeson/PKGBUILD create mode 100644 extra/haskell-pantry/PKGBUILD create mode 100644 extra/haskell-servant-swagger/PKGBUILD create mode 100644 extra/heaptrack/49577e019ea791ee63962cdfe7e9c0c5b5c6ea4b.patch create mode 100644 extra/heaptrack/76fd2e84ba133e96d2cfdf90cb715e66e923eb8f.patch create mode 100644 extra/heaptrack/PKGBUILD create mode 100644 extra/heaptrack/c456f6a1575fb2834238a1f693e7c7787d768d42.patch create mode 100644 extra/helm-synth/PKGBUILD create mode 100644 extra/helm-synth/helm-0.9.0-sigemptyset-glibc-2.26.patch create mode 100644 extra/hotdoc/PKGBUILD create mode 100644 extra/imapsync/PKGBUILD create mode 100644 extra/intel-graphics-compiler/PKGBUILD create mode 100644 extra/ipxe/PKGBUILD create mode 100644 extra/ispc/PKGBUILD create mode 100644 extra/ispc/ispc-1.16.1-host-amd64.patch create mode 100644 extra/john/PKGBUILD create mode 100644 extra/julia/PKGBUILD create mode 100644 extra/kernel-headers-musl/PKGBUILD create mode 100644 extra/keybase/PKGBUILD create mode 100644 extra/kodi/PKGBUILD create mode 100644 extra/ksh/PKGBUILD create mode 100644 extra/kustomize/PKGBUILD create mode 100644 extra/kvazaar/PKGBUILD create mode 100644 extra/ldc/PKGBUILD create mode 100644 extra/libantlr3c/PKGBUILD create mode 100644 extra/libavif/PKGBUILD create mode 100644 extra/libffado/PKGBUILD create mode 100644 extra/libffi33/PKGBUILD create mode 100644 extra/libfilezilla/PKGBUILD create mode 100644 extra/libgda/PKGBUILD create mode 100644 extra/libgda/java.patch create mode 100644 extra/libjxl/PKGBUILD create mode 100644 extra/libkeccak/PKGBUILD create mode 100644 extra/libkeccak/libkeccak-1.2.2-no-valgrind.patch create mode 100644 extra/libmysofa/PKGBUILD create mode 100644 extra/libnids/PKGBUILD create mode 100644 extra/libnids/libnids-1.24-inline.patch create mode 100644 extra/libretro-blastem/PKGBUILD create mode 100644 extra/libretro-pcsx-rearmed/PKGBUILD create mode 100644 extra/libvirt/PKGBUILD create mode 100644 extra/linux-tools/PKGBUILD create mode 100644 extra/luajit/PKGBUILD create mode 100644 extra/luajit/c7815e1a1b49871e645252bb12e722fb4879df11.patch create mode 100644 extra/luajit/luajit-2.0-505e2c0-i486.patch create mode 100644 extra/mame/PKGBUILD create mode 100644 extra/mate-sensors-applet/PKGBUILD create mode 100644 extra/midori/PKGBUILD create mode 100644 extra/mixxx/PKGBUILD create mode 100644 extra/mongo-c-driver/PKGBUILD create mode 100644 extra/mpv/PKGBUILD create mode 100644 extra/mupdf/PKGBUILD create mode 100644 extra/mysql-workbench/PKGBUILD create mode 100644 extra/mysql-workbench/mysql-workbench-community-6.3.10-32bit.patch create mode 100644 extra/netcdf-openmpi/PKGBUILD create mode 100644 extra/netcdf/PKGBUILD create mode 100644 extra/netplan/PKGBUILD create mode 100644 extra/netplan/netplan-0.102-no-pandoc.patch create mode 100644 extra/netsurf/PKGBUILD create mode 100644 extra/newsboat-og/PKGBUILD create mode 100644 extra/nodejs-lts-fermium/PKGBUILD create mode 100644 extra/nodejs/PKGBUILD create mode 100644 extra/nodejs/node-17.1.0-atomic.patch create mode 100644 extra/npm/PKGBUILD create mode 100644 extra/nvchecker/PKGBUILD create mode 100644 extra/octave/PKGBUILD create mode 100644 extra/opam/PKGBUILD create mode 100644 extra/opencascade/PKGBUILD create mode 100644 extra/openipmi/PKGBUILD create mode 100644 extra/openscenegraph/PKGBUILD create mode 100644 extra/opensubdiv/PKGBUILD create mode 100644 extra/openvdb/PKGBUILD create mode 100644 extra/openvdb/openvdb-8.0.1-i486-atomic.patch create mode 100644 extra/pacman-contrib/PKGBUILD create mode 100644 extra/pacman-contrib/rankmirror.sh.diff create mode 100644 extra/pacutils/PKGBUILD create mode 100644 extra/pandoc-cli/PKGBUILD create mode 100644 extra/percona-server/LF_PINS-size.patch create mode 100644 extra/percona-server/PKGBUILD create mode 100644 extra/perl-cgi/PKGBUILD create mode 100644 extra/perl-image-sane/PKGBUILD create mode 100644 extra/perl-term-readline-gnu/PKGBUILD create mode 100644 extra/pifpaf/PKGBUILD create mode 100644 extra/ponyc/PKGBUILD create mode 100644 extra/postgrest/PKGBUILD create mode 100644 extra/prjtrellis/PKGBUILD create mode 100644 extra/prusa-slicer/PKGBUILD create mode 100644 extra/psensor/PKGBUILD create mode 100644 extra/pypy/PKGBUILD create mode 100644 extra/pypy3/PKGBUILD create mode 100644 extra/python-apipkg/PKGBUILD create mode 100644 extra/python-autobahn/PKGBUILD create mode 100644 extra/python-babel/PKGBUILD create mode 100644 extra/python-build/PKGBUILD create mode 100644 extra/python-cairocffi/PKGBUILD create mode 100644 extra/python-commonmark/PKGBUILD create mode 100644 extra/python-debugpy/PKGBUILD create mode 100644 extra/python-docs/PKGBUILD create mode 100644 extra/python-factory-boy/PKGBUILD create mode 100644 extra/python-faker/PKGBUILD create mode 100644 extra/python-flit-core/PKGBUILD create mode 100644 extra/python-flit/PKGBUILD create mode 100644 extra/python-fsspec/PKGBUILD create mode 100644 extra/python-hglib/PKGBUILD create mode 100644 extra/python-httpcore/PKGBUILD create mode 100644 extra/python-httpx/PKGBUILD create mode 100644 extra/python-hypothesis/PKGBUILD create mode 100644 extra/python-installer/PKGBUILD create mode 100644 extra/python-iwlib/PKGBUILD create mode 100644 extra/python-jaraco.context/PKGBUILD create mode 100644 extra/python-jaraco.functools/PKGBUILD create mode 100644 extra/python-jaraco.text/PKGBUILD create mode 100644 extra/python-jedi/PKGBUILD create mode 100644 extra/python-libevdev/PKGBUILD create mode 100644 extra/python-libnacl/PKGBUILD create mode 100644 extra/python-matplotlib/PKGBUILD create mode 100644 extra/python-mongoengine/PKGBUILD create mode 100644 extra/python-more-itertools/PKGBUILD create mode 100644 extra/python-networkx/PKGBUILD create mode 100644 extra/python-pluggy/PKGBUILD create mode 100644 extra/python-pyproject-hooks/PKGBUILD create mode 100644 extra/python-pytest/PKGBUILD create mode 100644 extra/python-pyudev/PKGBUILD create mode 100644 extra/python-pyvirtualdisplay/PKGBUILD create mode 100644 extra/python-scipy/PKGBUILD create mode 100644 extra/python-setuptools-scm/PKGBUILD create mode 100644 extra/python-shapely/PKGBUILD create mode 100644 extra/python-shapely/load_dll_c.patch create mode 100644 extra/python-simplejson/PKGBUILD create mode 100644 extra/python-sphinxcontrib-applehelp/PKGBUILD create mode 100644 extra/python-sphinxcontrib-devhelp/PKGBUILD create mode 100644 extra/python-sphinxcontrib-htmlhelp/PKGBUILD create mode 100644 extra/python-sphinxcontrib-jsmath/PKGBUILD create mode 100644 extra/python-sphinxcontrib-serializinghtml/PKGBUILD create mode 100644 extra/python-tqdm/PKGBUILD create mode 100644 extra/python-tqdm/tqdm-4.22.0-sleep-test-workaround.patch create mode 100644 extra/python-wheel/PKGBUILD create mode 100644 extra/python-xarray/PKGBUILD create mode 100644 extra/qcad/PKGBUILD create mode 100644 extra/qtile/PKGBUILD create mode 100644 extra/rathole/PKGBUILD create mode 100644 extra/redis/PKGBUILD create mode 100644 extra/reflector/PKGBUILD create mode 100644 extra/ruby-bigdecimal/PKGBUILD create mode 100644 extra/ruby-cgi/PKGBUILD create mode 100644 extra/ruby-date/PKGBUILD create mode 100644 extra/ruby-digest/PKGBUILD create mode 100644 extra/ruby-etc/PKGBUILD create mode 100644 extra/ruby-fcntl/PKGBUILD create mode 100644 extra/ruby-fiddle/PKGBUILD create mode 100644 extra/ruby-io-console/PKGBUILD create mode 100644 extra/ruby-io-nonblock/PKGBUILD create mode 100644 extra/ruby-io-wait/PKGBUILD create mode 100644 extra/ruby-json/PKGBUILD create mode 100644 extra/ruby-psych/PKGBUILD create mode 100644 extra/ruby-racc/PKGBUILD create mode 100644 extra/ruby-stringio/PKGBUILD create mode 100644 extra/ruby/PKGBUILD create mode 100644 extra/rxvt-unicode/PKGBUILD create mode 100644 extra/s2n-tls/PKGBUILD create mode 100644 extra/sarg/PKGBUILD create mode 100644 extra/sarg/no-werror.patch create mode 100644 extra/sensors-applet/PKGBUILD create mode 100644 extra/serialdv/PKGBUILD create mode 100644 extra/skim/PKGBUILD create mode 100644 extra/smbnetfs/PKGBUILD create mode 100644 extra/sonic-visualiser/PKGBUILD create mode 100644 extra/spiped/PKGBUILD create mode 100644 extra/spirv-llvm-translator/PKGBUILD create mode 100644 extra/spring/PKGBUILD create mode 100644 extra/spring/gold-linker.patch create mode 100644 extra/squid/PKGBUILD create mode 100644 extra/stratisd/PKGBUILD create mode 100644 extra/swi-prolog/PKGBUILD create mode 100644 extra/teamspeak3-server/PKGBUILD create mode 100644 extra/teamspeak3/PKGBUILD create mode 100644 extra/teeworlds/PKGBUILD create mode 100644 extra/tensorflow/PKGBUILD create mode 100644 extra/terraform/PKGBUILD create mode 100644 extra/testssl.sh/PKGBUILD create mode 100644 extra/thrift/PKGBUILD create mode 100644 extra/tinyemu/PKGBUILD create mode 100644 extra/tpm2-tools/PKGBUILD create mode 100644 extra/tpm2-tss-engine/PKGBUILD create mode 100644 extra/tpm2-tss-engine/tpm2-tss-engine_check.sh create mode 100644 extra/v2ray/PKGBUILD create mode 100644 extra/vamp-aubio-plugins/PKGBUILD create mode 100644 extra/vault/PKGBUILD create mode 100644 extra/vbam/PKGBUILD create mode 100644 extra/virtualbox/PKGBUILD create mode 100644 extra/vtk/PKGBUILD create mode 100644 extra/wine-gecko/PKGBUILD create mode 100644 extra/wine/30-win32-aliases.conf create mode 100644 extra/wine/PKGBUILD create mode 100644 extra/wine/wine-binfmt.conf create mode 100644 extra/wine/wine.install create mode 100644 extra/xaos/PKGBUILD create mode 100644 extra/xaos/xaos.patch create mode 100644 extra/yder/PKGBUILD create mode 100644 extra/z3/PKGBUILD create mode 100644 extra/zeroc-ice/PKGBUILD create mode 100644 extra/zeromq/PKGBUILD create mode 100644 extra/zig/PKGBUILD (limited to 'extra') diff --git a/extra/acpi_call-lts/PKGBUILD b/extra/acpi_call-lts/PKGBUILD new file mode 100644 index 00000000..891b535f --- /dev/null +++ b/extra/acpi_call-lts/PKGBUILD @@ -0,0 +1,13 @@ +eval "$( + declare -f package \ + | sed ' + /\$CARCH/ { + h + s/^/[ "$CARCH" = pentium4 ] || / + p + g + s/\$CARCH/i686/g + s/^/[ "$CARCH" != pentium4 ] || / + } + ' +)" diff --git a/extra/acpi_call/PKGBUILD b/extra/acpi_call/PKGBUILD new file mode 100644 index 00000000..891b535f --- /dev/null +++ b/extra/acpi_call/PKGBUILD @@ -0,0 +1,13 @@ +eval "$( + declare -f package \ + | sed ' + /\$CARCH/ { + h + s/^/[ "$CARCH" = pentium4 ] || / + p + g + s/\$CARCH/i686/g + s/^/[ "$CARCH" != pentium4 ] || / + } + ' +)" diff --git a/extra/alacritty/PKGBUILD b/extra/alacritty/PKGBUILD new file mode 100644 index 00000000..381c5f82 --- /dev/null +++ b/extra/alacritty/PKGBUILD @@ -0,0 +1,9 @@ +# patch architecture for fetching the right rust modules +# do not verify PGP signatures (fails) +eval "$( + declare -f prepare | \ + sed ' + s|$CARCH|i686|g + /auth-tarball-from-git/d + ' +)" diff --git a/extra/allure/PKGBUILD b/extra/allure/PKGBUILD new file mode 100644 index 00000000..e69de29b diff --git a/extra/aubio/PKGBUILD b/extra/aubio/PKGBUILD new file mode 100644 index 00000000..578b458a --- /dev/null +++ b/extra/aubio/PKGBUILD @@ -0,0 +1,19 @@ +eval "$( + declare -f prepare | \ + sed ' + /^{/ a patch -d "${pkgbase}-${pkgver}" -p1 -i "${srcdir}/assert-almost.patch" + ' +)" +source+=(assert-almost.patch) +sha512sums+=('3a946aaf305ee93ad70ca3b26529fdd58822c9bd177b5a00ace99426b1ba50672d24331d13b6b172a0f8d01ed23feea478b6a15f379d6affa796eb6c2aaadeb2') +b2sums+=('44d2e64fd38d9f57c2e281e3a656f4bf66ccc9c4434a75c216c7605df25f4383256d57d9cacf3ea46b2eaaa8de52ef460d82bf4500d46591caf0a1a26bd25b2a') + +# CARCH -> pentium4 bug +if [ "${CARCH}" = "pentium4" ]; then + eval "$( + declare -f check | \ + sed ' + s/$CARCH/i686/ + ' + )" +fi diff --git a/extra/aubio/assert-almost.patch b/extra/aubio/assert-almost.patch new file mode 100644 index 00000000..9951636e Binary files /dev/null and b/extra/aubio/assert-almost.patch differ diff --git a/extra/auth-tarball-from-git/PKGBUILD b/extra/auth-tarball-from-git/PKGBUILD new file mode 100644 index 00000000..4898d5c6 --- /dev/null +++ b/extra/auth-tarball-from-git/PKGBUILD @@ -0,0 +1,8 @@ +# patch architecture for fetching the right rust modules +eval "$( + declare -f prepare | \ + sed ' + s|$CARCH|i686|g + ' +)" + diff --git a/extra/autopep8/PKGBUILD b/extra/autopep8/PKGBUILD new file mode 100644 index 00000000..3692e5fe --- /dev/null +++ b/extra/autopep8/PKGBUILD @@ -0,0 +1 @@ +unset check diff --git a/extra/bazel/PKGBUILD b/extra/bazel/PKGBUILD new file mode 100644 index 00000000..7dd96e62 --- /dev/null +++ b/extra/bazel/PKGBUILD @@ -0,0 +1,11 @@ +depends=("${depends[@]/java-environment>=8/java-environment=8}") + +eval "$( + { + declare -f prepare || \ + printf 'prepare() {\n}\n' + } \ + | sed ' + $i sed -i '"'"'s|#error This code for 64 bit Unix|//#error This code for 64 bit Unix|g'"'"' ${srcdir}/src/tools/singlejar/mapped_file.h + ' +)" diff --git a/extra/binaryen/PKGBUILD b/extra/binaryen/PKGBUILD new file mode 100644 index 00000000..62ac4c82 --- /dev/null +++ b/extra/binaryen/PKGBUILD @@ -0,0 +1,6 @@ +eval "$( + declare -f package | \ + sed ' + /.*\usr\/lib64.*/d + ' +)" diff --git a/extra/blender/PKGBUILD b/extra/blender/PKGBUILD new file mode 100644 index 00000000..97c987b0 --- /dev/null +++ b/extra/blender/PKGBUILD @@ -0,0 +1,59 @@ +makedepends=( + ${makedepends[@]/cuda/} +) +depends=( + ${depends[@]/openimagedenoise/} +) +pkgdesc+=", without CUDA support" +eval "$( + declare -f build \ + | sed ' + /^\s*cmake / s/;$/ -DWITH_CYCLES_CUDA_BINARIES=OFF -DWITH_CYCLES_DEVICE_CUDA=OFF -DWITH_RAYOPTIMIZATION=OFF;/ + ' +)" +source_i686+=('no-sse2.patch') +sha512sums_i686+=('87da2bedb90af6dee559ef9d1eb83262ba75fb412aba83dcb2b88fe9c0740ff75ad336331033fec7a14ad6ecc3dd70f8f4742f147594e8dc530197dd51922c01') +if [ "${CARCH}" = 'i686' ]; then + eval "$( + declare -f prepare \ + | sed ' + $ i patch -Np1 -i "$srcdir"/no-sse2.patch + ' + )" +fi + +# no Nvidia Optix +pkgdesc+=", without Optix support" +eval "$( + declare -f build \ + | sed ' + /^\s*cmake / s/;$/ -DWITH_CYCLES_DEVICE_OPTIX=OFF/ + ' +)" + +# FS32#182: opensubdiv/openexr/openvdb currently fails to rebuild +depends=( + ${depends[@]/opensubdiv/} +) +depends=( + ${depends[@]/openexr/} +) +depends=( + ${depends[@]/openvdb/} +) + +# float_t is a long double on 32-bit, but it's a primitive in all cases anyway +# (seems to be in a part of the blendkernel on i686 only..) +source+=('blender-idprop_create-static-assert-float.patch') +sha512sums+=('36b98ec7e53402909a9e531c30b444b1afc22cc597c5bb3393c73862929dcc6275b00a53de6171a81af3c8804d233359d2e797886d0b776e7a9b29b23ce24e3b') +eval "$( + declare -f prepare \ + | sed ' + $ i patch -Np1 -i "$srcdir"/blender-idprop_create-static-assert-float.patch + ' +)" + +# fails happily to build +depends=( + ${depends[@]/openpgl/} +) diff --git a/extra/blender/blender-idprop_create-static-assert-float.patch b/extra/blender/blender-idprop_create-static-assert-float.patch new file mode 100644 index 00000000..5be594e5 Binary files /dev/null and b/extra/blender/blender-idprop_create-static-assert-float.patch differ diff --git a/extra/blender/no-sse2.patch b/extra/blender/no-sse2.patch new file mode 100644 index 00000000..a32f7c64 Binary files /dev/null and b/extra/blender/no-sse2.patch differ diff --git a/extra/boost178-libs/PKGBUILD b/extra/boost178-libs/PKGBUILD new file mode 100644 index 00000000..4c27c20b --- /dev/null +++ b/extra/boost178-libs/PKGBUILD @@ -0,0 +1,102 @@ +# Maintainer: Evangelos Foutras +# Contributor: Levente Polyak +# Contributor: BartÅ‚omiej Piotrowski +# Contributor: Marius Knaust +# Contributor: Ionut Biru +# Contributor: Stéphane Gaudreault +# Contributor: kevin +# Contributor: Giovanni Scafora +# Contributor: Kritoke +# Contributor: Luca Roccia + +pkgname=('boost178-libs') +pkgver=1.78.0 +pkgrel=1 +_srcname=boost_${pkgver//./_} +pkgdesc="Free peer-reviewed portable C++ source libraries" +arch=(i486 i686 pentium4 'x86_64') +url="https://www.boost.org/" +license=('custom') +makedepends=('icu' 'python' 'python-numpy' 'bzip2' 'zlib' 'openmpi' 'zstd') +source=(https://boostorg.jfrog.io/artifactory/main/release/$pkgver/source/$_srcname.tar.gz + $pkgname-locale-empty-vector.patch::https://github.com/boostorg/locale/commit/1ff0ead837b3.patch + $pkgname-ublas-c++20-iterator.patch::https://github.com/boostorg/ublas/commit/a31e5cffa85f.patch) +sha256sums=('94ced8b72956591c4775ae2207a9763d3600b30d9d7446562c552f0a14a63be7' + '6c05bd362bc18908a7e23eec3b4a714f82c15c722bda4c340778e2f5b1a9bf25' + 'aa38addb40d5f44b4a8472029b475e7e6aef1c460509eb7d8edf03491dc1b5ee') + +prepare() { + cd $_srcname + + # https://github.com/boostorg/locale/issues/52 + patch -Np1 -d libs/locale <../$pkgname-locale-empty-vector.patch + + # https://github.com/boostorg/ublas/pull/97 + patch -Np2 -i ../$pkgname-ublas-c++20-iterator.patch +} + +build() { + local JOBS="$(sed 's/.*\(-j *[0-9]\+\).*/\1/' <<<$MAKEFLAGS)" + + pushd $_srcname/tools/build + ./bootstrap.sh --cxxflags="$CXXFLAGS $LDFLAGS" + ./b2 install --prefix="$srcdir"/fakeinstall + ln -s b2 "$srcdir"/fakeinstall/bin/bjam + popd + + cd $_srcname + ./bootstrap.sh --with-toolset=gcc --with-icu --with-python=python3 + + # support for OpenMPI + echo "using mpi ;" >>project-config.jam + + # boostbook is needed by quickbook + install -dm755 "$srcdir"/fakeinstall/share/boostbook + cp -a tools/boostbook/{xsl,dtd} "$srcdir"/fakeinstall/share/boostbook/ + + # install to $srcdir/fakeinstall in preparation for split packaging + ./b2 install \ + variant=release \ + debug-symbols=off \ + threading=multi \ + runtime-link=shared \ + link=shared,static \ + toolset=gcc \ + python=3.10 \ + cflags="$CPPFLAGS $CFLAGS -fPIC -O3 -ffat-lto-objects" \ + cxxflags="$CPPFLAGS $CXXFLAGS -fPIC -O3 -ffat-lto-objects" \ + linkflags="$LDFLAGS" \ + --layout=system \ + $JOBS \ + \ + --prefix="$srcdir"/fakeinstall +} + +package_boost178-libs() { + pkgdesc+=' (runtime libraries)' + depends=('bzip2' 'zlib' 'icu' 'zstd') + optdepends=('openmpi: for mpi support') + + install -dm755 "$pkgdir"/usr/lib + cp -a fakeinstall/lib/*.so* "$pkgdir"/usr/lib/ + # no develpment so links, just the so libs + rm -f "$pkgdir"/usr/lib/*.so + + install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" $_srcname/LICENSE_1_0.txt +} + +# vim:set ts=2 sw=2 et: +# no LTO on i486 +if [ "$CARCH" = 'i486' ]; then + sed -i ' + 1i options=(!lto) + ' PKGBUILD +fi +if [ "$CARCH" == 'i486' ]; then + eval "$( + declare -f build | \ + sed ' + s/-ffat-lto-objects//g + ' + )" +fi diff --git a/extra/boost179-libs/PKGBUILD b/extra/boost179-libs/PKGBUILD new file mode 100644 index 00000000..8836c875 --- /dev/null +++ b/extra/boost179-libs/PKGBUILD @@ -0,0 +1,102 @@ +# Maintainer: Evangelos Foutras +# Contributor: Levente Polyak +# Contributor: BartÅ‚omiej Piotrowski +# Contributor: Marius Knaust +# Contributor: Ionut Biru +# Contributor: Stéphane Gaudreault +# Contributor: kevin +# Contributor: Giovanni Scafora +# Contributor: Kritoke +# Contributor: Luca Roccia + +pkgname=('boost179-libs') +pkgver=1.79.0 +pkgrel=1 +_srcname=boost_${pkgver//./_} +pkgdesc="Free peer-reviewed portable C++ source libraries" +arch=(i486 i686 pentium4 'x86_64') +url="https://www.boost.org/" +license=('custom') +makedepends=('icu' 'python' 'python-numpy' 'bzip2' 'zlib' 'openmpi' 'zstd') +source=(https://boostorg.jfrog.io/artifactory/main/release/$pkgver/source/$_srcname.tar.gz + $pkgname-locale-empty-vector.patch::https://github.com/boostorg/locale/commit/1ff0ead837b3.patch + $pkgname-ublas-c++20-iterator.patch::https://github.com/boostorg/ublas/commit/a31e5cffa85f.patch) +sha256sums=('273f1be93238a068aba4f9735a4a2b003019af067b9c183ed227780b8f36062c' + '6c05bd362bc18908a7e23eec3b4a714f82c15c722bda4c340778e2f5b1a9bf25' + 'aa38addb40d5f44b4a8472029b475e7e6aef1c460509eb7d8edf03491dc1b5ee') + +prepare() { + cd $_srcname + + # https://github.com/boostorg/locale/issues/52 + patch -Np1 -d libs/locale <../$pkgname-locale-empty-vector.patch + + # https://github.com/boostorg/ublas/pull/97 + patch -Np2 -i ../$pkgname-ublas-c++20-iterator.patch +} + +build() { + local JOBS="$(sed 's/.*\(-j *[0-9]\+\).*/\1/' <<<$MAKEFLAGS)" + + pushd $_srcname/tools/build + ./bootstrap.sh --cxxflags="$CXXFLAGS $LDFLAGS" + ./b2 install --prefix="$srcdir"/fakeinstall + ln -s b2 "$srcdir"/fakeinstall/bin/bjam + popd + + cd $_srcname + ./bootstrap.sh --with-toolset=gcc --with-icu --with-python=python3 + + # support for OpenMPI + echo "using mpi ;" >>project-config.jam + + # boostbook is needed by quickbook + install -dm755 "$srcdir"/fakeinstall/share/boostbook + cp -a tools/boostbook/{xsl,dtd} "$srcdir"/fakeinstall/share/boostbook/ + + # install to $srcdir/fakeinstall in preparation for split packaging + ./b2 install \ + variant=release \ + debug-symbols=off \ + threading=multi \ + runtime-link=shared \ + link=shared,static \ + toolset=gcc \ + python=3.10 \ + cflags="$CPPFLAGS $CFLAGS -fPIC -O3 -ffat-lto-objects" \ + cxxflags="$CPPFLAGS $CXXFLAGS -fPIC -O3 -ffat-lto-objects" \ + linkflags="$LDFLAGS" \ + --layout=system \ + $JOBS \ + \ + --prefix="$srcdir"/fakeinstall +} + +package_boost179-libs() { + pkgdesc+=' (runtime libraries)' + depends=('bzip2' 'zlib' 'icu' 'zstd') + optdepends=('openmpi: for mpi support') + + install -dm755 "$pkgdir"/usr/lib + cp -a fakeinstall/lib/*.so* "$pkgdir"/usr/lib/ + # no develpment so links, just the so libs + rm -f "$pkgdir"/usr/lib/*.so + + install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" $_srcname/LICENSE_1_0.txt +} + +# vim:set ts=2 sw=2 et: +# no LTO on i486 +if [ "$CARCH" = 'i486' ]; then + sed -i ' + 1i options=(!lto) + ' PKGBUILD +fi +if [ "$CARCH" == 'i486' ]; then + eval "$( + declare -f build | \ + sed ' + s/-ffat-lto-objects//g + ' + )" +fi diff --git a/extra/boost180-libs/PKGBUILD b/extra/boost180-libs/PKGBUILD new file mode 100644 index 00000000..502a065e --- /dev/null +++ b/extra/boost180-libs/PKGBUILD @@ -0,0 +1,102 @@ +options=(!lto) +options=(!lto) +options=(!lto) +# Maintainer: Evangelos Foutras +# Contributor: Levente Polyak +# Contributor: Bart?omiej Piotrowski +# Contributor: Marius Knaust +# Contributor: Ionut Biru +# Contributor: Stéphane Gaudreault +# Contributor: kevin +# Contributor: Giovanni Scafora +# Contributor: Kritoke +# Contributor: Luca Roccia + +pkgname=('boost180-libs') +pkgver=1.80.0 +pkgrel=1 +_srcname=boost_${pkgver//./_} +pkgdesc="Free peer-reviewed portable C++ source libraries" +arch=(i486 i686 pentium4 'x86_64') +url="https://www.boost.org/" +license=('custom') +makedepends=('icu' 'python' 'python-numpy' 'bzip2' 'zlib' 'openmpi' 'zstd') +source=(https://boostorg.jfrog.io/artifactory/main/release/$pkgver/source/$_srcname.tar.gz + $pkgname-ublas-c++20-iterator.patch::https://github.com/boostorg/ublas/commit/a31e5cffa85f.patch) +sha256sums=('4b2136f98bdd1f5857f1c3dea9ac2018effe65286cf251534b6ae20cc45e1847' + 'aa38addb40d5f44b4a8472029b475e7e6aef1c460509eb7d8edf03491dc1b5ee') + +prepare() { + cd $_srcname + + # https://github.com/boostorg/ublas/pull/97 + patch -Np2 -i ../$pkgname-ublas-c++20-iterator.patch +} + +build() { + local JOBS="$(sed 's/.*\(-j *[0-9]\+\).*/\1/' <<<$MAKEFLAGS)" + local python_version=$( + python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))') + + pushd $_srcname/tools/build + ./bootstrap.sh --cxxflags="$CXXFLAGS $LDFLAGS" + ./b2 install --prefix="$srcdir"/fakeinstall + ln -s b2 "$srcdir"/fakeinstall/bin/bjam + popd + + cd $_srcname + ./bootstrap.sh --with-toolset=gcc --with-icu --with-python=python3 + + # support for OpenMPI + echo "using mpi ;" >>project-config.jam + + # boostbook is needed by quickbook + install -dm755 "$srcdir"/fakeinstall/share/boostbook + cp -a tools/boostbook/{xsl,dtd} "$srcdir"/fakeinstall/share/boostbook/ + + # install to $srcdir/fakeinstall in preparation for split packaging + ./b2 install \ + variant=release \ + debug-symbols=off \ + threading=multi \ + runtime-link=shared \ + link=shared,static \ + toolset=gcc \ + python=$python_version \ + cflags="$CPPFLAGS $CFLAGS -fPIC -O3 -ffat-lto-objects" \ + cxxflags="$CPPFLAGS $CXXFLAGS -fPIC -O3 -ffat-lto-objects" \ + linkflags="$LDFLAGS" \ + --layout=system \ + $JOBS \ + \ + --prefix="$srcdir"/fakeinstall +} + +package_boost180-libs() { + pkgdesc+=' (runtime libraries)' + depends=('bzip2' 'zlib' 'icu' 'zstd') + optdepends=('openmpi: for mpi support') + + install -dm755 "$pkgdir"/usr/lib + cp -a fakeinstall/lib/*.so* "$pkgdir"/usr/lib/ + # no develpment so links, just the so libs + rm -f "$pkgdir"/usr/lib/*.so + + install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" $_srcname/LICENSE_1_0.txt +} + +# vim:set ts=2 sw=2 et: +# no LTO on i486 +if [ "$CARCH" = 'i486' ]; then + sed -i ' + 1i options=(!lto) + ' PKGBUILD +fi +if [ "$CARCH" == 'i486' ]; then + eval "$( + declare -f build | \ + sed ' + s/-ffat-lto-objects//g + ' + )" +fi diff --git a/extra/borg/PKGBUILD b/extra/borg/PKGBUILD new file mode 100644 index 00000000..cede8a2e --- /dev/null +++ b/extra/borg/PKGBUILD @@ -0,0 +1,9 @@ +# CARCH -> pentium4 bug +if [ "${CARCH}" = "pentium4" ] || [ "${CARCH}" = "i486" ]; then + eval "$( + declare -f check | \ + sed ' + /cd/s/\$CARCH/i686/ + ' + )" +fi diff --git a/extra/broadcom-wl-dkms/PKGBUILD b/extra/broadcom-wl-dkms/PKGBUILD new file mode 100644 index 00000000..f16f641c --- /dev/null +++ b/extra/broadcom-wl-dkms/PKGBUILD @@ -0,0 +1,4 @@ +source_i686=("https://docs.broadcom.com/docs-and-downloads/docs/linux_sta/hybrid-v35-nodebug-pcoem-${pkgver//./_}.tar.gz") +sha256sums_i686=('4f8b70b293ac8cc5c70e571ad5d1878d0f29d133a46fe7869868d9c19b5058cd') +source_pentium4=("${source_i686[@]}") +sha256sums_pentium4=("${sha256sums_i686[@]}") diff --git a/extra/calibre/PKGBUILD b/extra/calibre/PKGBUILD new file mode 100644 index 00000000..43e09de8 --- /dev/null +++ b/extra/calibre/PKGBUILD @@ -0,0 +1,14 @@ +# disable Bonjour testing on build slaves +eval "$( + declare -f check | \ + sed ' + s/.*setup.py test/CI=true &/g + ' +)" + +# ignore checksum +sha256sums[0]='SKIP' + +# disabled testing, too many Python stuff currently broken +unset check +unset checkdepends diff --git a/extra/carla/PKGBUILD b/extra/carla/PKGBUILD new file mode 100644 index 00000000..aa111698 --- /dev/null +++ b/extra/carla/PKGBUILD @@ -0,0 +1,27 @@ +# disable SSE, SSE2 according to platform + +if [ "${CARCH}" = "i686" ]; then + source+=('carla-git-no-sse2.patch') + sha512sums+=('b481a9f9b1e404536a42706a36255216f64e49022c1c0f012e40be2941eb4a74b8d2b2f30998e16678a3d46e57dbeffa6f63259afff5a94a1bc4c7d8ba35a67c') + b2sums+=('cb314334ffb6552f11a6d5b3a2de707a846d316956a565ab350afee450c224ab693beace1a0e52b50d9150beca592d5ec79b3e8014bca2c4c8e44450dfbe6ee3') + eval "$( + declare -f prepare | \ + sed ' + /git.*cherry.*/ i \ + patch -Np1 -i "$srcdir/carla-git-no-sse2.patch" + ' + )" +fi + +if [ "${CARCH}" = "i486" ]; then + source+=('carla-git-no-sse.patch') + sha512sums+=('bdce143bf9001c970d4001f9a65842f5f7130a26cb6c2804062146f80f672132181af0630d379fae5c51690761983df4cf1b37413d094d0157699dd509f828e4') + b2sums+=('294e7b6a3a902992b860867088e21e96f66316e41db8ecd510bf3ef6912ba0432ceb0abfe2ca6f78072858ed6e805e4f24f7aca598688eac45f7b41b8d5e72cd') + eval "$( + declare -f prepare | \ + sed ' + /git.*cherry.*/ i \ + patch -Np1 -i "$srcdir/carla-git-no-sse.patch" + ' + )" +fi diff --git a/extra/carla/carla-git-no-sse.patch b/extra/carla/carla-git-no-sse.patch new file mode 100644 index 00000000..ba302425 Binary files /dev/null and b/extra/carla/carla-git-no-sse.patch differ diff --git a/extra/carla/carla-git-no-sse2.patch b/extra/carla/carla-git-no-sse2.patch new file mode 100644 index 00000000..99d324ca Binary files /dev/null and b/extra/carla/carla-git-no-sse2.patch differ diff --git a/extra/chezmoi/PKGBUILD b/extra/chezmoi/PKGBUILD new file mode 100644 index 00000000..6dac406f --- /dev/null +++ b/extra/chezmoi/PKGBUILD @@ -0,0 +1,8 @@ +# Use gccgo and not go/gc on i686 and i486 +if [ "$CARCH" = 'i686' -o "$CARCH" = 'i486' ]; then + makedepends=(${makedepends[@]//go/}) + makedepends+=(gcc-go) +fi + +# failing test: FAIL github.com/twpayne/chezmoi/v2/pkg/git [build failed] +unset check diff --git a/extra/clementine/PKGBUILD b/extra/clementine/PKGBUILD new file mode 100644 index 00000000..0fb1fc6d --- /dev/null +++ b/extra/clementine/PKGBUILD @@ -0,0 +1,25 @@ +# broken Github downloads (again) +source=("https://github.com/clementine-player/Clementine/archive/refs/tags/${pkgver}.tar.gz") +sha256sums=('2395efdef013aa65ec8b8521d549bf76dbde4f933867be3953f31553101ead63') + +# of course the first level directory is different +eval "$( + declare -f prepare | \ + sed ' + s|$pkgname-${pkgver//+/-}|Clementine-${pkgver}|g + ' +)" +eval "$( + declare -f build | \ + sed ' + s|$pkgname-${pkgver//+/-}|Clementine-${pkgver}|g + ' +)" + +# disable -Werror +eval "$( + declare -f build | \ + sed ' + s|cmake -B build |cmake -B build -DBUILD_WERROR=OFF | + ' +)" diff --git a/extra/codeblocks/PKGBUILD b/extra/codeblocks/PKGBUILD new file mode 100644 index 00000000..3fe0b833 --- /dev/null +++ b/extra/codeblocks/PKGBUILD @@ -0,0 +1,8 @@ +# doesn't find boost otherwise + +eval "$( + declare -f build | \ + sed ' + s,configure ,\0--with-boost-libdir=/usr/lib , + ' +)" diff --git a/extra/coin-or-cbc/PKGBUILD b/extra/coin-or-cbc/PKGBUILD new file mode 100644 index 00000000..65382946 --- /dev/null +++ b/extra/coin-or-cbc/PKGBUILD @@ -0,0 +1,2 @@ +# hangs slaves +unset check diff --git a/extra/consul/PKGBUILD b/extra/consul/PKGBUILD new file mode 100644 index 00000000..f54ee869 --- /dev/null +++ b/extra/consul/PKGBUILD @@ -0,0 +1,13 @@ +eval "$( + declare -f prepare | \ + sed ' + $ i sed -i "s/amd64/386/g" "${srcdir}/src/github.com/hashicorp/${pkgname}/GNUmakefile" + ' +)" + +eval "$( + declare -f build | \ + sed ' + s/amd64/i386/g + ' +)" diff --git a/extra/containerd/PKGBUILD b/extra/containerd/PKGBUILD new file mode 100644 index 00000000..e0a17330 --- /dev/null +++ b/extra/containerd/PKGBUILD @@ -0,0 +1,2 @@ +# fetches stuff from repos, fails in beatyful ways +unset check diff --git a/extra/coq/PKGBUILD b/extra/coq/PKGBUILD new file mode 100644 index 00000000..533318f0 --- /dev/null +++ b/extra/coq/PKGBUILD @@ -0,0 +1,18 @@ +# disable documentation building with python-sphinx +makedepends=(${makedepends[@]/python-sphinxcontrib-bibtex}) +makedepends=(${makedepends[@]/python-sphinx_rtd_theme}) +makedepends=(${makedepends[@]/python-sphinx}) +eval "$( + declare -f build | \ + sed ' + s/-with-doc yes// + /MAKE_TARGETS/s/refman-html// + /MAKE_TARGETS/s/doc-stdlib// + ' +)" +eval "$( + declare -f package_coq-doc | \ + sed ' + /make/d + ' +)" diff --git a/extra/crun/PKGBUILD b/extra/crun/PKGBUILD new file mode 100644 index 00000000..73298fe2 --- /dev/null +++ b/extra/crun/PKGBUILD @@ -0,0 +1,2 @@ +# criu is blacklisted +depends=(${depends[@]//criu/}) diff --git a/extra/crypto++/PKGBUILD b/extra/crypto++/PKGBUILD new file mode 100644 index 00000000..23130381 --- /dev/null +++ b/extra/crypto++/PKGBUILD @@ -0,0 +1,9 @@ +# disable SSE2 on i686 and i486 +if [ "$CARCH" == 'i686' ] || [ "$CARCH" == 'i486' ]; then + eval "$( + declare -f build | \ + sed ' + s/export CXXFLAGS="\([^"]\+\)"/export CXXFLAGS="\1 -DCRYPTOPP_DISABLE_ASM=1"/g + ' + )" +fi diff --git a/extra/dart/PKGBUILD b/extra/dart/PKGBUILD new file mode 100644 index 00000000..6304d06a --- /dev/null +++ b/extra/dart/PKGBUILD @@ -0,0 +1,3 @@ +source=("$pkgname-$pkgver-32.zip::http://storage.googleapis.com/dart-archive/channels/stable/release/latest/sdk/dartsdk-linux-ia32-release.zip") +sha512sums=('c4e6532760f5880c61ce1b9ff4d428fb84f61670c48441635fef476ef6957e4a03258f15cb400cdec1e99a3eea87c85736c6857382d3f74ce3b2edc15f9e8556') +sha512sums_x86_64=('71e6d211a9a32d1566c3f098e55fc2fe8db9e5574cbccd4b41d3a45ec4bfccc16ad785c27438814a6ac54b80d223bcee8235bfea78b227ab49ba2a9ca0a2ca1e') diff --git a/extra/dbeaver/PKGBUILD b/extra/dbeaver/PKGBUILD new file mode 100644 index 00000000..69e005b0 --- /dev/null +++ b/extra/dbeaver/PKGBUILD @@ -0,0 +1,8 @@ +# see 82be2453a4df + +eval "$( + declare -f package | \ + sed ' + s/\${CARCH}/x86/g + ' +)" diff --git a/extra/dgen-sdl/PKGBUILD b/extra/dgen-sdl/PKGBUILD new file mode 100644 index 00000000..b90dba4c --- /dev/null +++ b/extra/dgen-sdl/PKGBUILD @@ -0,0 +1,9 @@ +# nasm: error: more than one input file specified +# the -- is the problem, patching it out of Makefiles to avoid retooling + +eval "$( + declare -f build | \ + sed ' + 4 a find . -name Makefile -exec sed -i "/nasm/s/--//g" {} \\; + ' +)" diff --git a/extra/dhall/PKGBUILD b/extra/dhall/PKGBUILD new file mode 100644 index 00000000..4b0d762c --- /dev/null +++ b/extra/dhall/PKGBUILD @@ -0,0 +1,7 @@ +# temporarily ignore test results +eval "$( + declare -f check | \ + sed ' + s/runhaskell Setup test/runhaskell Setup test || true/ + ' +)" diff --git a/extra/diffoscope/PKGBUILD b/extra/diffoscope/PKGBUILD new file mode 100644 index 00000000..f4f33a71 --- /dev/null +++ b/extra/diffoscope/PKGBUILD @@ -0,0 +1 @@ +checkdepends=("${checkdepends[@]/java-environment>=8/java-environment=8}") diff --git a/extra/dmd/PKGBUILD b/extra/dmd/PKGBUILD new file mode 100644 index 00000000..890baa0d --- /dev/null +++ b/extra/dmd/PKGBUILD @@ -0,0 +1,2 @@ +# llvm10 for now +makedepends+=("llvm10") diff --git a/extra/dolphin-emu/PKGBUILD b/extra/dolphin-emu/PKGBUILD new file mode 100644 index 00000000..e4d679bf --- /dev/null +++ b/extra/dolphin-emu/PKGBUILD @@ -0,0 +1,6 @@ +eval "$( + declare -f build | \ + sed ' + s|cmake ../dolphin-emu|cmake ../dolphin-emu -DENABLE_GENERIC='TRUE'| + ' +)" diff --git a/extra/dtc/PKGBUILD b/extra/dtc/PKGBUILD new file mode 100644 index 00000000..d97cb9a7 --- /dev/null +++ b/extra/dtc/PKGBUILD @@ -0,0 +1,3 @@ +# revert commit 1799ef5ac2fba01a19e89b5bef23315a7570624b +source+=('fix32bit.patch::https://github.com/dgibson/dtc/commit/f8872e29ce06d78d3db71b3ab26a7465fc8a9586.patch') +sha256sums+=('e92bfc787b65e2610528d5c499835c083c1672455fc7998d202b7c986d5c5f1d') diff --git a/extra/dwarffortress/PKGBUILD b/extra/dwarffortress/PKGBUILD new file mode 100644 index 00000000..11b15ef6 --- /dev/null +++ b/extra/dwarffortress/PKGBUILD @@ -0,0 +1,7 @@ +for ((i=${#source[@]}; i>0; i--)); do + if [ "${source[${i}]}" = "http://www.bay12games.com/dwarves/df_${_pkgver}_linux.tar.bz2" ]; then + break; + fi +done +source[${i}]="http://www.bay12games.com/dwarves/df_${_pkgver}_linux32.tar.bz2" +sha256sums[${i}]='542b29e4aae6ba71ae2e56e176c041ec0f6471e9c299db98695d4b0ddfd96ac9' diff --git a/extra/e3/PKGBUILD b/extra/e3/PKGBUILD new file mode 100644 index 00000000..99097f1f --- /dev/null +++ b/extra/e3/PKGBUILD @@ -0,0 +1,8 @@ +# build(): 64 -> 32 +makedepends+=(nasm) +eval "$( + declare -f build \ + | sed ' + s/ \(NASM_OR_YASM=\S\+\) clean 64/ \1 32/ + ' +)" diff --git a/extra/electron/PKGBUILD b/extra/electron/PKGBUILD new file mode 100644 index 00000000..3446fe23 --- /dev/null +++ b/extra/electron/PKGBUILD @@ -0,0 +1,16 @@ +source+=('allow-i686.patch') +sha512sums+=('bce6716f88c0ed7acc72f90ef62f7c4a28b88e98d7fc8dcb6abf545eb6ab7de11e06191618490ed83e7b38b08489063357682ebb909dc952e21cb6dd7b6ddb38') + +eval "$( + declare -f prepare | \ + sed ' + 3 a patch -Np1 -i "${srcdir}"/allow-i686.patch + /^}$/ i \ + find "${srcdir}" \\( '"-name '*.a' -o -name '*.o'"' \\) -delete + ' + declare -f build | \ + sed ' + s,^\s*script/bootstrap.py ,\0--target_arch=ia32 , + s/-t x64/-t ia32/g + ' +)" diff --git a/extra/electron/allow-i686.patch b/extra/electron/allow-i686.patch new file mode 100644 index 00000000..154ab9bc Binary files /dev/null and b/extra/electron/allow-i686.patch differ diff --git a/extra/embree/PKGBUILD b/extra/embree/PKGBUILD new file mode 100644 index 00000000..522a3482 --- /dev/null +++ b/extra/embree/PKGBUILD @@ -0,0 +1,27 @@ +# avoid breakage in newer CPU ISAs, supporting SSE2 should be enough for +# 32-bit platforms +# for special use cases (like running Archlinux32 on 64-bit hardware) +# we can support up to SSE4.2 (everything above is too hard to fix). +# As Embree chooses the ISA at runtime, this is no problem for machines +# not having SSE4.2 +eval "$( + declare -f build | \ + sed ' + /cmake/s/-DEMBREE_MAX_ISA="AVX512SKX"/-DEMBREE_MAX_ISA="SSE4.2"/ + ' +)" + +# some 32-bit fixes around intrinsics where applied to WIN32 only, +# applying a counter-patch here +source+=('embree-3.2.0-intrinsic.patch') +sha256sums+=('7d5e44a034b02e14d7d37cd038d8c279d13d66b54a449c09e0687458f117723f') +eval "$( + { + declare -f prepare || \ + printf 'prepare() {\n}\n' + } \ + | sed ' + $i cd "$srcdir/$pkgname-$pkgver" \ + patch -Np1 -i "$srcdir/embree-3.2.0-intrinsic.patch" + ' +)" diff --git a/extra/embree/embree-3.2.0-intrinsic.patch b/extra/embree/embree-3.2.0-intrinsic.patch new file mode 100644 index 00000000..afb49357 Binary files /dev/null and b/extra/embree/embree-3.2.0-intrinsic.patch differ diff --git a/extra/exa/PKGBUILD b/extra/exa/PKGBUILD new file mode 100644 index 00000000..914a7177 --- /dev/null +++ b/extra/exa/PKGBUILD @@ -0,0 +1,25 @@ +# pandoc is mainly broken currently (FS32#180) +makedepends=(${makedepends[@]//pandoc/}) +eval "$( + declare -f build | \ + sed ' + s/pandoc/#pandoc/ + ' +)" +eval "$( + declare -f package | \ + sed ' + /exa.1/d + /exa_colors.5/d + ' +)" + +# CARCH pentium4 makes compilation fail +if [ "$CARCH" = 'pentium4' ]; then + eval "$( + declare -f prepare | \ + sed ' + s/--target "$CARCH-unknown-linux-gnu"/--target "i686-unknown-linux-gnu"/ + ' + )" +fi diff --git a/extra/fasm/PKGBUILD b/extra/fasm/PKGBUILD new file mode 100644 index 00000000..15201927 --- /dev/null +++ b/extra/fasm/PKGBUILD @@ -0,0 +1,13 @@ +depends_i486+=('glibc') +depends_i686+=('glibc') +depends_pentium4+=('glibc') + +eval "$( + declare -f build | \ + sed ' + /if .*CARCH.* == .*x86_64.*/,/fi/{s/.*//g} + /mv/ i \ + SRCDIR=Linux \ + ./fasm source/${SRCDIR}/fasm.asm + ' +)" diff --git a/extra/fig2dev/PKGBUILD b/extra/fig2dev/PKGBUILD new file mode 100644 index 00000000..dba7e779 --- /dev/null +++ b/extra/fig2dev/PKGBUILD @@ -0,0 +1,12 @@ +eval "$( + { + declare -f prepare || \ + printf 'prepare() {\n}\n' + } \ + | sed ' + $i find "${srcdir}/${pkgname}-${pkgver}" \\\ + -exec sed -i '"'"' \ + s/Invalid resolution information (-1)\\./Invalid spline object./g \ + '"'"' {} \\; + ' +)" diff --git a/extra/fio/PKGBUILD b/extra/fio/PKGBUILD new file mode 100644 index 00000000..4e7a31b4 --- /dev/null +++ b/extra/fio/PKGBUILD @@ -0,0 +1,3 @@ +# ceph doesn't run on 32-bit currently (see FS32#21) + +depends=(${depends[@]/ceph}) diff --git a/extra/fpc/PKGBUILD b/extra/fpc/PKGBUILD new file mode 100644 index 00000000..71bd6540 --- /dev/null +++ b/extra/fpc/PKGBUILD @@ -0,0 +1,28 @@ +# symlink for 32-bit Pascal compiler + +# temporary: +# the package has been built wrongly in the past, so we have to force +# a ppc386 symlink in build (PP variable) because the Makefile is trying to +# guess the target platform by executing fpc + +eval "$( + declare -f package | \ + sed ' + 2 a _pkgver=$(find /usr/lib/fpc -name ppc386 | cut -d/ -f5 | sort -V | tail -n1) + /"\$CARCH" = "x86_64"/ { + p + s@ppcx64@ppc386@g + s@x86_64@i686@ + p + s@i686@i486@ + p + s@i486@pentium4@ + } + s@NOGDB=1@NOGDB=1 PP=/usr/lib/fpc/$_pkgver/ppc386 @ + ' + declare -f build | \ + sed ' + 2 a _pkgver=$(find /usr/lib/fpc -name ppc386 | cut -d/ -f5 | sort -V | tail -n1) + s@NOGDB=1@NOGDB=1 PP=/usr/lib/fpc/$_pkgver/ppc386 @ + ' +)" diff --git a/extra/freebasic/PKGBUILD b/extra/freebasic/PKGBUILD new file mode 100644 index 00000000..52ed3835 --- /dev/null +++ b/extra/freebasic/PKGBUILD @@ -0,0 +1,11 @@ +source_i686=("http://downloads.sourceforge.net/fbc/FreeBASIC-${pkgver}-linux-x86.tar.xz") +md5sums_i686=('283275ebc3339ce03c2e7209dc81e46c') +source_pentium4=("${source_i686[@]}") +md5sums_pentium4=("${md5sums_i686[@]}") + +eval "$( + declare -f prepare | \ + sed ' + /CARCH/ a [[ "$CARCH" = "i686" ]] && _arch=x86; [[ "$CARCH" = "pentium4" ]] && _arch=x86 + ' +)" diff --git a/extra/freecad/PKGBUILD b/extra/freecad/PKGBUILD new file mode 100644 index 00000000..57c08078 --- /dev/null +++ b/extra/freecad/PKGBUILD @@ -0,0 +1,16 @@ +# ospray is blacklisted +makedepends=(${makedepends[@]//ospray/}) + +# med-openmpi is blacklisted, using plain med instead +depends=(${depends[@]//med-openmpi/}) +depends+=(med) + +# libdl.so does not exist, fast hack to fix it in the generated ninja +# build script +eval "$( + declare -f build | \ + sed ' + /ninja -C build/ i \ + sed -i s'/libdl.so/libdl.so.2/g' build/build.ninja + ' +)" diff --git a/extra/fzf/PKGBUILD b/extra/fzf/PKGBUILD new file mode 100644 index 00000000..f64284ba --- /dev/null +++ b/extra/fzf/PKGBUILD @@ -0,0 +1,6 @@ +eval "$( + declare -f package | \ + sed ' + s/amd64/386/g + ' +)" diff --git a/extra/gap/PKGBUILD b/extra/gap/PKGBUILD new file mode 100644 index 00000000..d5bf1291 --- /dev/null +++ b/extra/gap/PKGBUILD @@ -0,0 +1,6 @@ +eval "$( + declare -f package_gap-packages | \ + sed ' + /chrpath/ s/x86_64-/i686-/ + ' +)" diff --git a/extra/gdal/PKGBUILD b/extra/gdal/PKGBUILD new file mode 100644 index 00000000..8a896f4e --- /dev/null +++ b/extra/gdal/PKGBUILD @@ -0,0 +1,35 @@ +# enable SSE/SSE2 where appripriate +if [ "${CARCH}" = "i486" -o "${CARCH}" = "i686" ]; then + eval "$( + declare -f build | \ + sed ' + s|./configure |./configure --with-sse=no --with-ssse3=no --with-avx=no | + ' + )" +fi +if [ "${CARCH}" = "pentium4" ]; then + eval "$( + declare -f build | \ + sed ' + s|./configure |./configure --with-sse=yes --with-ssse3=no --with-avx=no | + ' + )" +fi + +# i486 has a stack smash when building the Python bindings (see FS32#188) +if [ "${CARCH}" = "i486" ]; then + eval "$( + declare -f build | \ + sed ' + /swig\/python/d + /python setup.py build/d + ' + )" + eval "$( + declare -f package_python-gdal | \ + sed ' + 3 i if false; then + $ i fi + ' + )" +fi diff --git a/extra/ghc/PKGBUILD b/extra/ghc/PKGBUILD new file mode 100644 index 00000000..e1aa6b7f --- /dev/null +++ b/extra/ghc/PKGBUILD @@ -0,0 +1,11 @@ +# bootstrapping from binary version (when ghc-static is broken) +makedepends=(${makedepends[@]//ghc-static/}) +makedepends_i486+=(ghc90-bin libffi33) +makedepends_i686+=("${makedepends_i486[@]}") +makedepends_pentium4=("${makedepends_i686[@]}") +eval "$( + declare -f build | \ + sed ' + s|./configure|GHC=/usr/bin/ghc-9.0 ./configure| + ' +)" diff --git a/extra/ghdl/PKGBUILD b/extra/ghdl/PKGBUILD new file mode 100644 index 00000000..4a8f7879 --- /dev/null +++ b/extra/ghdl/PKGBUILD @@ -0,0 +1,2 @@ +source[6]='isl-0.23.tar.xz::https://downloads.sourceforge.net/project/libisl/isl-0.24.tar.xz?ts=gAAAAABhojIcYmUfplFkh4GCklCNjXe6c5A561-eOrQD92l7Dd9Lw5vOoApEOzfk2XL8NElrqvTKrH0enBWHiWCznbwG1pkAaQ%3D%3D&r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Flibisl%2Ffiles%2Fisl-0.23.tar.xz%2Fdownload%3Fuse_mirror%3Ddeac-fra%26download%3D%26failedmirror%3Ddeac-riga.dl.sourceforge.net' + diff --git a/extra/gitlab-runner/PKGBUILD b/extra/gitlab-runner/PKGBUILD new file mode 100644 index 00000000..ac9c31c6 --- /dev/null +++ b/extra/gitlab-runner/PKGBUILD @@ -0,0 +1,6 @@ +eval "$( + declare -f build package | \ + sed ' + s/amd64/386/ + ' +)" diff --git a/extra/gitlab/PKGBUILD b/extra/gitlab/PKGBUILD new file mode 100644 index 00000000..f584e72a --- /dev/null +++ b/extra/gitlab/PKGBUILD @@ -0,0 +1,10 @@ +# temporarily use posix-spawn 0.3.12 (there is a bug in 0.3.13) +# remove, when https://github.com/rtomayko/posix-spawn/pull/83 resolved + +eval "$( + declare -f build | \ + sed ' + /bundle-2\.3 config/ a \ + sed -i "/posix-spawn/s/0\\.3\\.13/0.3.12/" Gemfile.lock + ' +)" diff --git a/extra/glfw/PKGBUILD b/extra/glfw/PKGBUILD new file mode 100644 index 00000000..21fa2996 --- /dev/null +++ b/extra/glfw/PKGBUILD @@ -0,0 +1,14 @@ +eval "$( + declare -f package_glfw-x11 | \ + sed ' + 2 a arch=('"${arch[*]}"') + ' + declare -f package_glfw-wayland | \ + sed ' + 2 a arch=('"${arch[*]}"') + ' + declare -f package_glfw-doc | \ + sed ' + 2 a arch=(any) + ' +)" diff --git a/extra/go/PKGBUILD b/extra/go/PKGBUILD new file mode 100644 index 00000000..c4adc372 --- /dev/null +++ b/extra/go/PKGBUILD @@ -0,0 +1,52 @@ +eval "$( + declare -f build | \ + sed ' + /install\( .*\)\? -race /d + ' + declare -f package_go-pie package | \ + sed ' + s,\(/linux_\)amd64\([_/]\),\1386\2,g + ' +)" + +eval "$( + declare -f build check _package \ + | sed ' + s/\(export GOARCH=\)amd64/\1386 / + ' +)" + +# 1.16 dropped non-SSE2 floating point operations, so we must +# use software floating points (see https://github.com/golang/go/issues/40255) +if [ "$CARCH" = 'i686' -o "$CARCH" = 'i486' ]; then + eval "$( + declare -f build \ + | sed ' + 2 a export GO386='softfloat' + ' + declare -f check \ + | sed ' + 2 a export GO386='softfloat' + ' + )" +fi + +# https://go-review.googlesource.com/c/go/+/257963 +source+=('go-x87.patch') +sha256sums+=('8b124eaa7521bd0e3760b514829b1ecce3d3cd169f99c3629ff50b7769303802') +eval "$( + { + declare -f prepare || \ + printf 'prepare() { cd "$pkgname" \n}\n' + } \ + | sed ' + $i patch -Np1 -i ../go-x87.patch + ' +)" + +# tests are failing, ignore them +unset check + +# bootstrap via go17 +makedepends=(${makedepends[@]//go/}) +makedepends+=('go17') diff --git a/extra/go/go-x87.patch b/extra/go/go-x87.patch new file mode 100644 index 00000000..0c0a584b Binary files /dev/null and b/extra/go/go-x87.patch differ diff --git a/extra/grafana/PKGBUILD b/extra/grafana/PKGBUILD new file mode 100644 index 00000000..0a69ecce --- /dev/null +++ b/extra/grafana/PKGBUILD @@ -0,0 +1,7 @@ +# fix architecture of generated binaries +eval "$( + declare -f package | \ + sed ' + s/linux-amd64/linux-386/g + ' +)" diff --git a/extra/grpc/PKGBUILD b/extra/grpc/PKGBUILD new file mode 100644 index 00000000..05b3ada2 --- /dev/null +++ b/extra/grpc/PKGBUILD @@ -0,0 +1,12 @@ +# -latomic on i486 +if [ "$CARCH" == 'i486' ]; then + eval "$( + declare -f prepare | \ + sed ' + s/cmake /cmake -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic / + ' + )" +fi + +# Python tests failing due to LDFLAGS stuff, disabled for now +unset check diff --git a/extra/gtest/PKGBUILD b/extra/gtest/PKGBUILD new file mode 100644 index 00000000..ae04be46 --- /dev/null +++ b/extra/gtest/PKGBUILD @@ -0,0 +1,8 @@ +# Rounding error in Print, see https://github.com/google/googletest/issues/4210 +# Also some issues with threads in chroots (in tests) +eval "$( + declare -f check | \ + sed ' + s/\(cmake.*\)/\1 || true/g + ' +)" diff --git a/extra/handbrake/PKGBUILD b/extra/handbrake/PKGBUILD new file mode 100644 index 00000000..9986e55a --- /dev/null +++ b/extra/handbrake/PKGBUILD @@ -0,0 +1,8 @@ +# x265 has hand-optimized assembly breaking with arch i686, disabled for now +# (reported as https://github.com/HandBrake/HandBrake/issues/1363) +eval "$( + declare -f build | \ + sed ' + s@./configure@\0 --arch=i686 --disable-x265@ + ' +)" diff --git a/extra/haskell-aeson/PKGBUILD b/extra/haskell-aeson/PKGBUILD new file mode 100644 index 00000000..63948c75 --- /dev/null +++ b/extra/haskell-aeson/PKGBUILD @@ -0,0 +1,10 @@ +# ErrorMessages +# generic: FAIL + +eval "$( + declare -f check | \ + sed ' + s/runhaskell Setup test/runhaskell Setup test || true/ + ' +)" + diff --git a/extra/haskell-bsb-http-chunked/PKGBUILD b/extra/haskell-bsb-http-chunked/PKGBUILD new file mode 100644 index 00000000..51ae1fea --- /dev/null +++ b/extra/haskell-bsb-http-chunked/PKGBUILD @@ -0,0 +1,2 @@ +# ignore tests, all failing +unset check diff --git a/extra/haskell-gauge/PKGBUILD b/extra/haskell-gauge/PKGBUILD new file mode 100644 index 00000000..eeba4490 --- /dev/null +++ b/extra/haskell-gauge/PKGBUILD @@ -0,0 +1,15 @@ +# temporarily disabled 'verbose' test, see upstream: +# https://github.com/vincenthz/hs-gauge/issues/54 + +eval "$( + { + declare -f prepare || \ + printf 'prepare() {\n}\n' + } \ + | sed ' + $i cd "${srcdir}/${_hkgname}-${pkgver}" \ + sed -i '"'"'/test-suite verbose/, /test-suite quick/ { s/\(.*\)/#\1/ }'"'"' gauge.cabal \ + sed -i '"'"'s/#test-suite quick/test-suite quick/'"'"' gauge.cabal \ + sed -i '"'"'/^#.*/d'"'"' gauge.cabal + ' +)" diff --git a/extra/haskell-hedgehog/PKGBUILD b/extra/haskell-hedgehog/PKGBUILD new file mode 100644 index 00000000..756bce82 --- /dev/null +++ b/extra/haskell-hedgehog/PKGBUILD @@ -0,0 +1,2 @@ +# disable tests, for now +unset check diff --git a/extra/haskell-hslua-module-text/PKGBUILD b/extra/haskell-hslua-module-text/PKGBUILD new file mode 100644 index 00000000..224ded1d --- /dev/null +++ b/extra/haskell-hslua-module-text/PKGBUILD @@ -0,0 +1,3 @@ +# see haskell-hslua +unset check +unset checkdepends diff --git a/extra/haskell-hslua/PKGBUILD b/extra/haskell-hslua/PKGBUILD new file mode 100644 index 00000000..5aa68c34 --- /dev/null +++ b/extra/haskell-hslua/PKGBUILD @@ -0,0 +1,15 @@ +# See https://github.com/jgm/pandoc/issues/4224 and +# https://github.com/jgm/pandoc/issues/3805 + +eval "$( + declare -f build | \ + sed ' + s| -f-lua_32bits| -flua_32bits| + ' +)" + +# temporarily against: +# "Setup: Encountered missing or private dependencies: +# exceptions >=0.8 && <0.11 +makedepends+=(haskell-exceptions) + diff --git a/extra/haskell-microlens-aeson/PKGBUILD b/extra/haskell-microlens-aeson/PKGBUILD new file mode 100644 index 00000000..b2ec4faa --- /dev/null +++ b/extra/haskell-microlens-aeson/PKGBUILD @@ -0,0 +1,11 @@ +# testsuite fails due to random ordering: +# https://github.com/fosskers/microlens-aeson/issues/1 + +unset check +unset checkdepends +eval "$( + declare -f build | \ + sed ' + s/\s--enable-tests\([[:space:];]\)/\1/ + ' +)" diff --git a/extra/haskell-pantry/PKGBUILD b/extra/haskell-pantry/PKGBUILD new file mode 100644 index 00000000..e5f6ef9d --- /dev/null +++ b/extra/haskell-pantry/PKGBUILD @@ -0,0 +1,2 @@ +# spec runs for ages +unset check diff --git a/extra/haskell-servant-swagger/PKGBUILD b/extra/haskell-servant-swagger/PKGBUILD new file mode 100644 index 00000000..dff1fac9 --- /dev/null +++ b/extra/haskell-servant-swagger/PKGBUILD @@ -0,0 +1,30 @@ +# first, we replace the hardcoded min/max of int + +eval "$( + declare -f check | \ + sed ' + 3 a find . -type f -exec sed -i '"'"'s/922337203685477580\\([78]\\)/214748364\\1/g; s/9\\.22337203685477580\\([78]\\)e18/2.14748364\\1e9/g'"'"' {} \\; + s/runhaskell Setup test/_check_diff \\0/ + ' +)" + +# and then we make the check insensitive to changes of order + +_check_diff() { + if ! "$@" > check.log; then + if ! diff -u <( + grep '^\s*expected:' check.log | \ + sed 's/^[^:]*://' | \ + tr '{},' '\n' | \ + sort + ) <( + grep '^\s*but got:' check.log | \ + sed 's/^[^:]*://' | \ + tr '{},' '\n' | \ + sort + ); then + cat check.log + return 1 + fi + fi +} diff --git a/extra/heaptrack/49577e019ea791ee63962cdfe7e9c0c5b5c6ea4b.patch b/extra/heaptrack/49577e019ea791ee63962cdfe7e9c0c5b5c6ea4b.patch new file mode 100644 index 00000000..9ddad81e Binary files /dev/null and b/extra/heaptrack/49577e019ea791ee63962cdfe7e9c0c5b5c6ea4b.patch differ diff --git a/extra/heaptrack/76fd2e84ba133e96d2cfdf90cb715e66e923eb8f.patch b/extra/heaptrack/76fd2e84ba133e96d2cfdf90cb715e66e923eb8f.patch new file mode 100644 index 00000000..8448d679 Binary files /dev/null and b/extra/heaptrack/76fd2e84ba133e96d2cfdf90cb715e66e923eb8f.patch differ diff --git a/extra/heaptrack/PKGBUILD b/extra/heaptrack/PKGBUILD new file mode 100644 index 00000000..86e5c06b --- /dev/null +++ b/extra/heaptrack/PKGBUILD @@ -0,0 +1,15 @@ +# backport 32-bit specific fixed from trunk to 1.1.0 + +source+=('76fd2e84ba133e96d2cfdf90cb715e66e923eb8f.patch' '49577e019ea791ee63962cdfe7e9c0c5b5c6ea4b.patch' 'c456f6a1575fb2834238a1f693e7c7787d768d42.patch') +sha256sums+=('7e5256b5f129d5b88c72b8621fc676322c4bcbb4388973d3b5c9b7ff2c874334' '2ef8e8b95792cbebfb33a1959e2fdb8fcbb24edd0243cccd0f25958d1592aaab' 'a8ad15176973a074e97492d7008555ecd895a8fbe7f0805a9f4562054311091d') + +eval "$( + declare -f prepare | \ + sed ' + /}/ i \ + cd ${pkgname}-${pkgver}\n \ + patch -Np1 < ${srcdir}/76fd2e84ba133e96d2cfdf90cb715e66e923eb8f.patch\n \ + patch -Np1 < ${srcdir}/49577e019ea791ee63962cdfe7e9c0c5b5c6ea4b.patch\n \ + patch -Np1 < ${srcdir}/c456f6a1575fb2834238a1f693e7c7787d768d42.patch + ' +)" diff --git a/extra/heaptrack/c456f6a1575fb2834238a1f693e7c7787d768d42.patch b/extra/heaptrack/c456f6a1575fb2834238a1f693e7c7787d768d42.patch new file mode 100644 index 00000000..e6b8f739 Binary files /dev/null and b/extra/heaptrack/c456f6a1575fb2834238a1f693e7c7787d768d42.patch differ diff --git a/extra/helm-synth/PKGBUILD b/extra/helm-synth/PKGBUILD new file mode 100644 index 00000000..727d65f8 --- /dev/null +++ b/extra/helm-synth/PKGBUILD @@ -0,0 +1,10 @@ +# reported upstream, see https://github.com/mtytel/helm/issues/190 +source+=('helm-0.9.0-sigemptyset-glibc-2.26.patch') +sha512sums+=('7786c0fdf6ec0cfdb2e7344742327454e9ab82e83e43cb6492d3b6fd047f0070b8da23055d9d9df2fc325ce440b1b51ef8919fb9749cab3d6800946cebf03ab8') + +eval "$( + declare -f prepare | \ + sed ' + /cd/ a patch -Np1 -i "${srcdir}"/helm-0.9.0-sigemptyset-glibc-2.26.patch + ' +)" diff --git a/extra/helm-synth/helm-0.9.0-sigemptyset-glibc-2.26.patch b/extra/helm-synth/helm-0.9.0-sigemptyset-glibc-2.26.patch new file mode 100644 index 00000000..bf11db6c Binary files /dev/null and b/extra/helm-synth/helm-0.9.0-sigemptyset-glibc-2.26.patch differ diff --git a/extra/hotdoc/PKGBUILD b/extra/hotdoc/PKGBUILD new file mode 100644 index 00000000..ab1235a9 --- /dev/null +++ b/extra/hotdoc/PKGBUILD @@ -0,0 +1,7 @@ +# patch CARCH +eval "$( + declare -f check | \ + sed ' + s/\$CARCH/i686/ + '; +)" diff --git a/extra/imapsync/PKGBUILD b/extra/imapsync/PKGBUILD new file mode 100644 index 00000000..50de2046 --- /dev/null +++ b/extra/imapsync/PKGBUILD @@ -0,0 +1,2 @@ +# blocks slaves +unset check diff --git a/extra/intel-graphics-compiler/PKGBUILD b/extra/intel-graphics-compiler/PKGBUILD new file mode 100644 index 00000000..85ef1d84 --- /dev/null +++ b/extra/intel-graphics-compiler/PKGBUILD @@ -0,0 +1,5 @@ +# we build for Linux32! +eval "$( + declare -f build \ + | sed 's/Linux64/Linux32/' +)" diff --git a/extra/ipxe/PKGBUILD b/extra/ipxe/PKGBUILD new file mode 100644 index 00000000..1e6bcccd --- /dev/null +++ b/extra/ipxe/PKGBUILD @@ -0,0 +1,14 @@ +# do not build 64-bit EFI version +eval "$( + declare -f build | \ + sed ' + s|bin-x86_64-efi/ipxe.efi||g + s/.*mv.*src.*bin-x86_64-efi.*//g + ' +)" +eval "$( + declare -f package | \ + sed ' + s|x86_64||g + ' +)" diff --git a/extra/ispc/PKGBUILD b/extra/ispc/PKGBUILD new file mode 100644 index 00000000..ead7793e --- /dev/null +++ b/extra/ispc/PKGBUILD @@ -0,0 +1,41 @@ +# disable GENX +eval "$( + declare -f build | \ + sed ' + s/-DGENX_ENABLED=ON/-DGENX_ENABLED=OFF/ + ' +)" + +# don't assume to be on a 64-bit Intel host and draw in gnu64 headers everywhere +source+=('ispc-1.16.1-host-amd64.patch') +sha256sums+=('7a4a631ad178b13f9ab68e6aec94469e30a4b9dec48d40f732a701b4ed4d5c1f') +eval "$( + { + declare -f prepare || \ + printf 'prepare() {\n}\n' + } \ + | sed ' + $i cd "$srcdir/$pkgname-$pkgver" \ + patch -Np1 -i "$srcdir/ispc-1.16.1-host-amd64.patch" + ' +)" + +# ignore test results, GENX tests failing obviously +eval "$( + declare -f build | \ + sed ' + s/\(make.*check-all\)/\1 || true/ + ' +)" + +# packaging issue now as we are not building everything +eval "$( + declare -f package | \ + sed ' + /rm.*build/d + /rm.*libispcrt_static.a/d + ' +)" + +# tests don't build when disabling GENX +unset check diff --git a/extra/ispc/ispc-1.16.1-host-amd64.patch b/extra/ispc/ispc-1.16.1-host-amd64.patch new file mode 100644 index 00000000..78ef5f20 Binary files /dev/null and b/extra/ispc/ispc-1.16.1-host-amd64.patch differ diff --git a/extra/john/PKGBUILD b/extra/john/PKGBUILD new file mode 100644 index 00000000..597c394d --- /dev/null +++ b/extra/john/PKGBUILD @@ -0,0 +1,51 @@ +# fix architecture case +if [ "${CARCH}" = "pentium4" ]; then + eval "$( + declare -f build | \ + sed ' + s/i686/pentium4/ + /.*avx.*/,/else/ {/.*avx.*/n;/else/!d} + ' + )" + eval "$( + declare -f build | \ + sed ' + /avx/d + ' + )" +fi +if [ "${CARCH}" = "i686" ]; then + eval "$( + declare -f build | \ + sed ' + /.*sse.*/,/else/ {/.*sse.*/n;/else/!d} + ' + )" + eval "$( + declare -f build | \ + sed ' + /sse/d + ' + )" +fi +if [ "${CARCH}" = "i486" ]; then + eval "$( + declare -f build | \ + sed ' + s/i686/i486/ + /.* -mmmx.*/,/else/ {/.* -mmmx.*/n;/else/!d} + ' + )" + eval "$( + declare -f build | \ + sed ' + /mmx/d + ' + )" +fi +eval "$( + declare -f build | \ + sed ' + s/-DCPU_FALLBACK// + ' +)" diff --git a/extra/julia/PKGBUILD b/extra/julia/PKGBUILD new file mode 100644 index 00000000..a00df5b2 --- /dev/null +++ b/extra/julia/PKGBUILD @@ -0,0 +1,31 @@ +eval "$( + declare -f build | \ + sed ' + /.*make.*$_buildopts/ i \ + _buildopts="${_buildopts/MARCH=x86-64/MARCH=pentium4}" \ + ' +)" + +eval "$( + declare -f package | \ + sed ' + /.*make.*$_buildopts/ i \ + _buildopts="${_buildopts/MARCH=x86-64/MARCH=pentium4}" \ + ' +)" + +eval "$( + declare -f build | \ + sed ' + /^\s*make / i export CFLAGS+=" -march=pentium4" \ + export CXXFLAGS+=" -march=pentium4" + ' +)" + +eval "$( + declare -f package | \ + sed ' + /^\s*make / i export CFLAGS+=" -march=pentium4" \ + export CXXFLAGS+=" -march=pentium4" + ' +)" diff --git a/extra/kernel-headers-musl/PKGBUILD b/extra/kernel-headers-musl/PKGBUILD new file mode 100644 index 00000000..af11129f --- /dev/null +++ b/extra/kernel-headers-musl/PKGBUILD @@ -0,0 +1,16 @@ +# set x86 for all our sub-architectures +# (we should actually patch ${_CARCH}, but this is too complicated for me) + +eval "$( + declare -f build | \ + sed ' + s/ARCH=${_CARCH}/ARCH=x86/g + ' +)" + +eval "$( + declare -f package | \ + sed ' + s/ARCH=${_CARCH}/ARCH=x86/g + ' +)" diff --git a/extra/keybase/PKGBUILD b/extra/keybase/PKGBUILD new file mode 100644 index 00000000..f42f5141 --- /dev/null +++ b/extra/keybase/PKGBUILD @@ -0,0 +1,10 @@ +# no electron => no keybase-gui +pkgname=(${pkgname[@]//keybase-gui/}) +unset -f package_keybase-gui + +eval "$( + declare -f build | \ + sed ' + /^\s*yarn\s/d + ' +)" diff --git a/extra/kodi/PKGBUILD b/extra/kodi/PKGBUILD new file mode 100644 index 00000000..44894427 --- /dev/null +++ b/extra/kodi/PKGBUILD @@ -0,0 +1 @@ +makedepends=("${makedepends[@]/java-runtime/java-runtime=8}") diff --git a/extra/ksh/PKGBUILD b/extra/ksh/PKGBUILD new file mode 100644 index 00000000..984eb7ba --- /dev/null +++ b/extra/ksh/PKGBUILD @@ -0,0 +1,9 @@ +# on i486, uname reports the wrong architecture, so tests fail +if [ "${CARCH}" = 'i486' ]; then + eval "$( + declare -f check \ + | sed ' + /meson test/ s@$@ || true; ! grep -vwF uname meson-logs/testlog.txt | grep -qwF FAIL@ + ' + )" +fi diff --git a/extra/kustomize/PKGBUILD b/extra/kustomize/PKGBUILD new file mode 100644 index 00000000..ff9cb770 --- /dev/null +++ b/extra/kustomize/PKGBUILD @@ -0,0 +1,3 @@ +# skip check(), it fails +unset check +unset checkdepends diff --git a/extra/kvazaar/PKGBUILD b/extra/kvazaar/PKGBUILD new file mode 100644 index 00000000..290ac071 --- /dev/null +++ b/extra/kvazaar/PKGBUILD @@ -0,0 +1,2 @@ +# takes long or hangs +unset check diff --git a/extra/ldc/PKGBUILD b/extra/ldc/PKGBUILD new file mode 100644 index 00000000..a14218b2 --- /dev/null +++ b/extra/ldc/PKGBUILD @@ -0,0 +1,2 @@ +# temporary workaround for building next version +makedepends+=(llvm10-libs) diff --git a/extra/libantlr3c/PKGBUILD b/extra/libantlr3c/PKGBUILD new file mode 100644 index 00000000..f6c5ebfa --- /dev/null +++ b/extra/libantlr3c/PKGBUILD @@ -0,0 +1,7 @@ +eval "$( + declare -f build | \ + sed ' + s/--enable-64bit // + ' +)" + diff --git a/extra/libavif/PKGBUILD b/extra/libavif/PKGBUILD new file mode 100644 index 00000000..10c53c42 --- /dev/null +++ b/extra/libavif/PKGBUILD @@ -0,0 +1,20 @@ +# svt-av1 is 64-bit only +depends=(${depends[@]//svt-av1/}) +eval "$( + declare -f build | \ + sed ' + s/-DAVIF_CODEC_SVT=ON/-DAVIF_CODEC_SVT=OFF/ + ' +)" + +# on i486 we ignore rav1e for now (needs rust) +if [ "$CARCH" = 'i486' ]; then + depends=(${depends[@]//rav1e/}) + eval "$( + declare -f build | \ + sed ' + s/-DAVIF_CODEC_RAV1E=ON/-DAVIF_CODEC_RAV1E=OFF/ + ' + )" +fi + diff --git a/extra/libffado/PKGBUILD b/extra/libffado/PKGBUILD new file mode 100644 index 00000000..c8d846c0 --- /dev/null +++ b/extra/libffado/PKGBUILD @@ -0,0 +1,32 @@ +# not available on i486 (yet) - configure seems to automatically handle absence +makedepends_i686=( + $( + printf '%s\n' "${makedepends[@]}" \ + | grep -xF 'python-pyqt5' + ) +) +makedepends_pentium4=("${makedepends_i686[@]}") +makedepends=( + $( + printf '%s\n' "${makedepends[@]}" \ + | grep -vxF 'python-pyqt5' + ) +) +_IFS="${IFS}" +IFS='' +optdepends_i686=( + $( + printf '%s\n' "${optdepends[@]}" \ + | grep '^python-pyqt5: ' + ) +) +optdepends_pentium4=( + "${optdepends_i686[@]}" +) +optdepends=( + $( + printf '%s\n' "${optdepends[@]}" \ + | grep -v '^python-pyqt5: ' + ) +) +IFS="${_IFS}" diff --git a/extra/libffi33/PKGBUILD b/extra/libffi33/PKGBUILD new file mode 100644 index 00000000..0c19a6a6 --- /dev/null +++ b/extra/libffi33/PKGBUILD @@ -0,0 +1,50 @@ +# Maintainer: Levente Polyak +# Contributor: BartÅ‚omiej Piotrowski +# Contributor: Stéphane Gaudreault +# Contributor: Jan de Groot + +pkgname=libffi33 +_pkgname=libffi +pkgver=3.3 +pkgrel=5 +pkgdesc='Portable foreign function interface library' +arch=(i486 i686 pentium4 'x86_64') +url='https://sourceware.org/libffi/' +license=('MIT') +depends=('glibc') +checkdepends=('dejagnu') +provides=('libffi.so') +source=(https://github.com/libffi/libffi/releases/download/v$pkgver/libffi-$pkgver.tar.gz) +sha256sums=('72fba7922703ddfa7a028d513ac15a85c8d54c8d67f55fa5a4802885dc652056') +b2sums=('cddc40729a30a9bd34d675809f51f8d1b4ccaffa54bc6dd6f7e965f4e260edd34754719f9f6247c8957aeb7cf154d56ce1fe16a54c3f1ad39afbebdf41d23caa') + +build() { + cd $_pkgname-$pkgver + # remove --disable-exec-static-tramp once ghc and gobject-introspection + # work fine with it enabled (https://github.com/libffi/libffi/pull/647) + ./configure \ + --prefix=/usr \ + --disable-static \ + --disable-multi-os-directory \ + --disable-exec-static-tramp \ + --enable-pax_emutramp + make +} + +check() { + true +# make -C $_pkgname-$pkgver check +} + +package() { + cd $_pkgname-$pkgver + make DESTDIR="$pkgdir" install + install -Dm 644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname + install -Dm 644 README.md -t "$pkgdir"/usr/share/doc/$pkgname + rm -rf "$pkgdir"/usr/lib/libffi.so + rm -rf "$pkgdir"/usr/include + rm -rf "$pkgdir"/usr/lib/pkgconfig + rm -rf "$pkgdir"/usr/share +} + +# vim: ts=2 sw=2 et: diff --git a/extra/libfilezilla/PKGBUILD b/extra/libfilezilla/PKGBUILD new file mode 100644 index 00000000..d2ceb105 --- /dev/null +++ b/extra/libfilezilla/PKGBUILD @@ -0,0 +1,11 @@ +# atomic for i486 +if [ "$CARCH" = 'i486' ]; then + eval "$( + declare -f build | \ + sed ' + /export CC=/ a \ + export LDFLAGS=-latomic + ' + ) + " +fi diff --git a/extra/libgda/PKGBUILD b/extra/libgda/PKGBUILD new file mode 100644 index 00000000..8ec2208e --- /dev/null +++ b/extra/libgda/PKGBUILD @@ -0,0 +1,26 @@ +# backported java probing patch for i386 +source+=('java.patch') +sha256sums+=('e28ea88d49bcb91fa6907440a6785a508fb681c463188b3805509773f5d0fc22') + +eval "$( + declare -f prepare | \ + sed ' + /autogen/ i \ + patch -Np1 -i "$srcdir/java.patch" \ + javac getsp.java + ' +)" + +# no firebird +eval "$( + declare -f package_libgda | \ + sed ' + /provider/s/firebird// + ' + declare -f package_libgda-firebird | \ + sed ' + 3 i if false; then + $ i fi + ' +) +" diff --git a/extra/libgda/java.patch b/extra/libgda/java.patch new file mode 100644 index 00000000..7f12c5ad Binary files /dev/null and b/extra/libgda/java.patch differ diff --git a/extra/libjxl/PKGBUILD b/extra/libjxl/PKGBUILD new file mode 100644 index 00000000..29fb0241 --- /dev/null +++ b/extra/libjxl/PKGBUILD @@ -0,0 +1,20 @@ +if [ "${CARCH}" = "i486" ]; then + # Java broken on i486 temporarily + makedepends=(${makedepends[@]//java-environment/}) + eval "$( + declare -f build | \ + sed ' + s/-DJPEGXL_INSTALL_JARDIR='.*'// + ' + )" + + # break circle with gimp + makedepends=(${makedepends[@]//gimp/}) +fi + +# blacklisted on i486 and i686 as I don't really know how to switch +# off SSE2 in this mess. It builds on i686 in a chroot on AMD64 but +# wrongly tests positive for SSE2. + +# they fail in various waus +unset check diff --git a/extra/libkeccak/PKGBUILD b/extra/libkeccak/PKGBUILD new file mode 100644 index 00000000..5f1e25a0 --- /dev/null +++ b/extra/libkeccak/PKGBUILD @@ -0,0 +1,19 @@ +# valgrind no longer supports i486 (configuire tests for the binary, +# no explicit configure option available) +if [ "$CARCH" = 'i486' ]; then + checkdepends=(${checkdepends[@]//valgrind/}) + + source+=('libkeccak-1.2.2-no-valgrind.patch') + b2sums+=('8c8b23d104e19f1d4431e0f11e6e5995721fe1ed5a8e94ddcd28e8a09e2b11b89e7d7fec896d8b028a77560c4dbcae8f887c0d2fc1ce6f8e0c52e2f1de7a8c09') + + eval "$( + { + declare -f prepare || \ + printf 'prepare() {\n}\n' + } \ + | sed ' + $i cd "${srcdir}/${pkgbase}-${pkgver}" \ + patch -Np1 -i "$srcdir/libkeccak-1.2.2-no-valgrind.patch" + ' + )" +fi diff --git a/extra/libkeccak/libkeccak-1.2.2-no-valgrind.patch b/extra/libkeccak/libkeccak-1.2.2-no-valgrind.patch new file mode 100644 index 00000000..c8e5d977 Binary files /dev/null and b/extra/libkeccak/libkeccak-1.2.2-no-valgrind.patch differ diff --git a/extra/libmysofa/PKGBUILD b/extra/libmysofa/PKGBUILD new file mode 100644 index 00000000..6b978deb --- /dev/null +++ b/extra/libmysofa/PKGBUILD @@ -0,0 +1,5 @@ +# no nodejs on i486, used only in tests +if [ "$CARCH" == 'i486' ]; then + checkdepends=(${checkdepends[@]//nodejs/}) + unset check +fi diff --git a/extra/libnids/PKGBUILD b/extra/libnids/PKGBUILD new file mode 100644 index 00000000..7a510454 --- /dev/null +++ b/extra/libnids/PKGBUILD @@ -0,0 +1,17 @@ +# libndis defines some functions inline, so they are not in the shared library, +# needed for instance for dsniff +# see https://src.fedoraproject.org/cgit/rpms/libnids.git/commit/?id=ecafb692f20e0acad555f66c3cc1646997a82dae + +source+=('libnids-1.24-inline.patch') +sha256sums+=('3aea2351877c2a789d753ac66f1323a3d575dead9fb04c559e221dbebdfc7e3e') + +eval "$( + { + declare -f prepare || \ + printf 'prepare() {\n}\n' + } \ + | sed ' + $i cd "$srcdir/$pkgname-$pkgver" \ + patch -Np1 -i "$srcdir/libnids-1.24-inline.patch" + ' +)" diff --git a/extra/libnids/libnids-1.24-inline.patch b/extra/libnids/libnids-1.24-inline.patch new file mode 100644 index 00000000..b17b73e9 Binary files /dev/null and b/extra/libnids/libnids-1.24-inline.patch differ diff --git a/extra/libretro-blastem/PKGBUILD b/extra/libretro-blastem/PKGBUILD new file mode 100644 index 00000000..7be65252 --- /dev/null +++ b/extra/libretro-blastem/PKGBUILD @@ -0,0 +1,6 @@ +eval "$( + declare -f build | \ + sed ' + s/x86_64/x86/ + ' +)" diff --git a/extra/libretro-pcsx-rearmed/PKGBUILD b/extra/libretro-pcsx-rearmed/PKGBUILD new file mode 100644 index 00000000..bdd1f6a7 --- /dev/null +++ b/extra/libretro-pcsx-rearmed/PKGBUILD @@ -0,0 +1 @@ +sha256sums[1]='9daf71445b3cf0e7f9292fa8617d540f5d624eaf8dcf36a89e5a1e0c319acc36' diff --git a/extra/libvirt/PKGBUILD b/extra/libvirt/PKGBUILD new file mode 100644 index 00000000..ac9207d7 --- /dev/null +++ b/extra/libvirt/PKGBUILD @@ -0,0 +1,36 @@ +# ceph doesn't run on 32-bit currently (see FS32#21) +depends=(${depends[@]/ceph-libs/}) +makedepends=(${makedepends[@]/ceph-libs/}) + +# remove qemu-rdb (configure doesn't see rdb, does it depend on ceph?) +pkgname=(${pkgname[@]/libvirt-storage-rbd/}) +unset -f 'libvirt-storage-rbd' + +eval "$( + declare -f package_libvirt | \ + sed ' + s/libvirt_storage_backend_{rbd,gluster}.so/libvirt_storage_backend_gluster.so/ + ' +)" + +eval "$( + declare -f build | \ + sed ' + s/-Dstorage_rbd=enabled/-Dstorage_rbd=disabled/ + ' +)" + +# ignore some failing tests (look like races or/and timeout issues, on different +# sub-architecture and runs different tests fail) +# 108/148 virnettlscontexttest FAIL 0.14s exit status 1 +# 109/148 virnettlscontexttest FAIL 0.61s exit status 1 +# 111/148 virnettlscontexttest FAIL 0.16s exit status 1 +# 117/148 virnettlssessiontest FAIL 0.34s exit status 1 +# 118/148 virnettlssessiontest FAIL 0.34s exit status 1 +# 121/148 virnettlssessiontest FAIL 1.41s exit status 1 +eval "$( + declare -f check | \ + sed ' + s/\(ninja -C build test\)/\1 || true/ + ' +)" diff --git a/extra/linux-tools/PKGBUILD b/extra/linux-tools/PKGBUILD new file mode 100644 index 00000000..acbe071a --- /dev/null +++ b/extra/linux-tools/PKGBUILD @@ -0,0 +1,60 @@ +# use our tarballer instead of cloning from git +for ((i=0; i<${#source[@]}; i++)); do + infos=$( + printf '%s\n' "${source[${i}]}" | \ + sed ' + s@^\(\([^:]\+\)::\)\?\(git\|hg\)+\([^#?]\+\)\(?signed\)\?#\(\(tag\|commit\)=[^?]\+\)$@\3 \2 \4 \5 \6@ + t + s@^\(\([^:]\+\)::\)\?\(git\|hg\)+\([^#?]\+\)#\(\(tag\|commit\)=[^?]\+\)\(?signed\)\?$@\3 \2 \4 \7 \5@ + t + d + ' + ) + if [ -n "${infos}" ]; then + source[${i}]=$( + type="${infos%% *}" + infos="${infos#* }" + if [ -n "${infos%% *}" ]; then + prefix="${infos%% *}" + else + prefix='' + fi + infos="${infos#* }" + repo="${infos%% *}" + repo64=$( + printf '%s' "${repo}" | \ + base64 -w0 | \ + sed 's/=/%3D/g' + ) + infos="${infos#* }" + if [ "${infos%% *}" = '?signed' ]; then + key_check=$( + printf '&valid_keys=' + printf '%s,' "${validpgpkeys[@]}" | \ + sed 's/,$//' + ) + else + key_check='' + fi + infos="${infos#* }" + if [ -z "${prefix}" ]; then + prefix="${repo%.git}" + prefix="${prefix##*/}" + fi + prefix_64=$( + printf '%s/' "${prefix}" | \ + base64 -w0 | \ + sed 's/=/%3D/g' + ) + + printf '%s-%s.tar.gz::https://archive-server.archlinux32.org/?t=%s&p=%s&r=%s%s&%s\n' \ + "${prefix}" \ + "${pkgver}" \ + "${type}" \ + "${prefix_64}" \ + "${repo64}" \ + "${key_check}" \ + "${infos}" + ) + fi +done diff --git a/extra/luajit/PKGBUILD b/extra/luajit/PKGBUILD new file mode 100644 index 00000000..a0d9c9af --- /dev/null +++ b/extra/luajit/PKGBUILD @@ -0,0 +1,69 @@ +# Maintainer: Daurnimator +# Maintainer: Lukas Fleischer +# Contributor: BartÅ‚omiej Piotrowski +# Contributor: Chris Brannon +# Contributor: Paulo Matias +# Contributor: Anders Bergh + +pkgname=luajit +# LuaJIT has abandoned versioned releases and now advises using git HEAD +# https://github.com/LuaJIT/LuaJIT/issues/665#issuecomment-784452583 +_commit=505e2c03de35e2718eef0d2d3660712e06dadf1f +pkgver="2.1.0.beta3.r471.g${_commit::8}" +pkgrel=1 +pkgdesc='Just-in-time compiler and drop-in replacement for Lua 5.1' +arch=(i486 i686 pentium4 'x86_64') +url='https://luajit.org/' +license=('MIT') +depends=('gcc-libs') +source=("LuaJIT-${_commit}.tar.gz::https://repo.or.cz/luajit-2.0.git/snapshot/${_commit}.tar.gz") +md5sums=('0847dc535736846a9a1436e18d8c509d') +sha256sums=('b89d081aac4189a06b736c667f47cc60e0cc4591933b7ed50db38cf58496386e') +b2sums=('89bed923ff34d2de813dee17f130496ffeaa6bc5caf9252be1df7d35e87fa7398930f1fe35f95650694d344bc99d5b2c0c4abc4568f1dac318822a832d44c3a4') + +build() { + cd "luajit-2.0-${_commit::7}" + # Avoid early stripping + make amalg PREFIX=/usr BUILDMODE=dynamic TARGET_STRIP=" @:" +} + +package() { + cd "luajit-2.0-${_commit::7}" + + make install DESTDIR="$pkgdir" PREFIX=/usr + install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT" + + ln -sf luajit-2.1.0-beta3 "$pkgdir/usr/bin/luajit" +} +# Re-enable x87 support for i686 CPUs (fix from KitsuWhooa) +if [ "$CARCH" = 'i486' ]; then + source+=('luajit-2.0-505e2c0-i486.patch') + md5sums+=('44317c2d006d45b0970cee8b55a4c05e') + sha256sums+=('6a758da52d9ddd0162ba342276c4aa4454662b2fe8b89c8a7aa987677679fd30') + b2sums+=('4a467db526fa550942dee7da7dd599f5976f519573773afab74c372bbb2aa243d60384699c50695dadf0be086fc5b54253692d0836c22da4b079a73b0eb7a822') + eval "$( + { + declare -f prepare \ + || printf 'prepare ()\n{\ncd "luajit-2.0-${_commit::7}"\n}\n' + } \ + | sed ' + $ i patch -p1 -i "$srcdir/luajit-2.0-505e2c0-i486.patch" + ' + )" + +fi +if [ "$CARCH" = 'i686' ]; then + source+=('c7815e1a1b49871e645252bb12e722fb4879df11.patch') + md5sums+=('25a3483026a359e06ec828bc666dc853') + sha256sums+=('a711e1d7ad7a16d0e6ba044fedc284cc0c4bee710c2d910fd9f0f0af8765c1a7') + b2sums+=('2d79b2dad25ba3a771348cfd38883334f511de703d2ccfdd00b808867ecf53201d680388c730aaf8941cb5159f6b819020c2da04b75346bc42428973c7f27420') + eval "$( + { + declare -f prepare \ + || printf 'prepare ()\n{\ncd "luajit-2.0-${_commit::7}"\n}\n' + } \ + | sed ' + $ i patch -p1 -i "$srcdir/c7815e1a1b49871e645252bb12e722fb4879df11.patch" + ' + )" +fi diff --git a/extra/luajit/c7815e1a1b49871e645252bb12e722fb4879df11.patch b/extra/luajit/c7815e1a1b49871e645252bb12e722fb4879df11.patch new file mode 100644 index 00000000..13048730 Binary files /dev/null and b/extra/luajit/c7815e1a1b49871e645252bb12e722fb4879df11.patch differ diff --git a/extra/luajit/luajit-2.0-505e2c0-i486.patch b/extra/luajit/luajit-2.0-505e2c0-i486.patch new file mode 100644 index 00000000..dd6cf5a1 Binary files /dev/null and b/extra/luajit/luajit-2.0-505e2c0-i486.patch differ diff --git a/extra/mame/PKGBUILD b/extra/mame/PKGBUILD new file mode 100644 index 00000000..7d5c4410 --- /dev/null +++ b/extra/mame/PKGBUILD @@ -0,0 +1,6 @@ +eval "$( + declare -f package | \ + sed ' + s/mame64/mame/ + ' +)" diff --git a/extra/mate-sensors-applet/PKGBUILD b/extra/mate-sensors-applet/PKGBUILD new file mode 100644 index 00000000..b398bc88 --- /dev/null +++ b/extra/mate-sensors-applet/PKGBUILD @@ -0,0 +1,3 @@ +# libxnvctrl is Nvidia only, so sorry, there is no 32-bit version for +# it, then we will not build support for it.. +depends=(${depends[@]//libxnvctrl/}) diff --git a/extra/midori/PKGBUILD b/extra/midori/PKGBUILD new file mode 100644 index 00000000..2e60fb26 --- /dev/null +++ b/extra/midori/PKGBUILD @@ -0,0 +1,2 @@ +# zeitgeist appears broken +depends=(${depends[@]//zeitgeist/}) diff --git a/extra/mixxx/PKGBUILD b/extra/mixxx/PKGBUILD new file mode 100644 index 00000000..096adfb9 --- /dev/null +++ b/extra/mixxx/PKGBUILD @@ -0,0 +1,7 @@ +# check 32-bit binaries +eval "$( + declare -f check | \ + sed ' + s/lin64_build/lin32_build/ + ' +)" diff --git a/extra/mongo-c-driver/PKGBUILD b/extra/mongo-c-driver/PKGBUILD new file mode 100644 index 00000000..ac8a6eb7 --- /dev/null +++ b/extra/mongo-c-driver/PKGBUILD @@ -0,0 +1 @@ +checkdepends=(${checkdepends[@]/mongodb/}) diff --git a/extra/mpv/PKGBUILD b/extra/mpv/PKGBUILD new file mode 100644 index 00000000..26ffbe51 --- /dev/null +++ b/extra/mpv/PKGBUILD @@ -0,0 +1,5 @@ +# luajit uses hard-coded SSE2, disabling it on non-pentium4 +if [ "$CARCH" = 'i486' -o "$CARCH" = 'i686' ]; then + depends=(${depends[@]//luajit/}) + depends+=('lua52') +fi diff --git a/extra/mupdf/PKGBUILD b/extra/mupdf/PKGBUILD new file mode 100644 index 00000000..efc73526 --- /dev/null +++ b/extra/mupdf/PKGBUILD @@ -0,0 +1,4 @@ +# avoid linking issues with freeglut on i486 (don't know why this is needed?) +if [ "$CARCH" == 'i486' ]; then + makedepends+=(libxxf86vm) +fi diff --git a/extra/mysql-workbench/PKGBUILD b/extra/mysql-workbench/PKGBUILD new file mode 100644 index 00000000..8d8cf3b3 --- /dev/null +++ b/extra/mysql-workbench/PKGBUILD @@ -0,0 +1,16 @@ +# see https://github.com/mysql/mysql-workbench/pull/14/files + +source+=('mysql-workbench-community-6.3.10-32bit.patch') +sha256sums+=('285dd5899c625a5d9091f8f178a6a58c86508dacd033435ba2dab4938cb238f9') + +eval "$( + declare -f prepare | \ + sed ' + /0005-gdal-use-CPLFree.patch/ { + a \ + \ + # 32-bit compilation bug in jsonview \ + patch -Np1 < "${srcdir}"/mysql-workbench-community-6.3.10-32bit.patch + } + ' +)" diff --git a/extra/mysql-workbench/mysql-workbench-community-6.3.10-32bit.patch b/extra/mysql-workbench/mysql-workbench-community-6.3.10-32bit.patch new file mode 100644 index 00000000..5aadcff8 Binary files /dev/null and b/extra/mysql-workbench/mysql-workbench-community-6.3.10-32bit.patch differ diff --git a/extra/netcdf-openmpi/PKGBUILD b/extra/netcdf-openmpi/PKGBUILD new file mode 100644 index 00000000..e18dbf41 --- /dev/null +++ b/extra/netcdf-openmpi/PKGBUILD @@ -0,0 +1,11 @@ +# breaking a cycle with pnetcdf-openmpi +depends=(${depends[@]//"pnetcdf-${_mpi}"/}) + +# "Unable to support CDF5 feature because size_t is less than 8 bytes" +eval "$( + declare -f build | \ + sed ' + s/-DENABLE_CDF5=ON/-DENABLE_CDF5=OFF/g + s/-DENABLE_PNETCDF=ON/-DENABLE_PNETCDF=OFF/g + ' +)" diff --git a/extra/netcdf/PKGBUILD b/extra/netcdf/PKGBUILD new file mode 100644 index 00000000..bfae80ed --- /dev/null +++ b/extra/netcdf/PKGBUILD @@ -0,0 +1,19 @@ +# "Unable to support CDF5 feature because size_t is less than 8 bytes" +eval "$( + declare -f build | \ + sed ' + s/-DENABLE_CDF5=ON/-DENABLE_CDF5=OFF/g + ' +)" + +# ignore failing test for now +#The following tests FAILED: +# 74 - nc_test (Failed) +# 156 - nc_test4_tst_large2 (Timeout) +# 161 - tst_h_atts3 (Failed) +eval "$( + declare -f check | \ + sed ' + s/\(.*make.*test.*\)/\1 || true/ + ' +)" diff --git a/extra/netplan/PKGBUILD b/extra/netplan/PKGBUILD new file mode 100644 index 00000000..3bd27377 --- /dev/null +++ b/extra/netplan/PKGBUILD @@ -0,0 +1,13 @@ +# currently Haskell is broken +makedepends=(${makedepends[@]//pandoc/}) +source+=('netplan-0.102-no-pandoc.patch') +sha256sums+=('0ab919601e4a30585f0e3e3dc224fd598d2183e2df9250c1e6e4bc894d0ace95') +eval "$( + { + declare -f prepare || \ + printf 'prepare() { cd "${pkgname}-${pkgver}"\n}\n' + } \ + | sed ' + $i patch -Np1 -i "$srcdir/netplan-0.102-no-pandoc.patch" + ' +)" diff --git a/extra/netplan/netplan-0.102-no-pandoc.patch b/extra/netplan/netplan-0.102-no-pandoc.patch new file mode 100644 index 00000000..a1ed598d Binary files /dev/null and b/extra/netplan/netplan-0.102-no-pandoc.patch differ diff --git a/extra/netsurf/PKGBUILD b/extra/netsurf/PKGBUILD new file mode 100644 index 00000000..0c92b9e3 --- /dev/null +++ b/extra/netsurf/PKGBUILD @@ -0,0 +1 @@ +makedepends+=(icu69) diff --git a/extra/newsboat-og/PKGBUILD b/extra/newsboat-og/PKGBUILD new file mode 100644 index 00000000..8a9866b5 --- /dev/null +++ b/extra/newsboat-og/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Andreas Baumann + +pkgname=newsboat-og +pkgver=2.13.1 +pkgrel=1 +pkgdesc="An RSS/Atom feed reader for text terminals" +arch=('x86_64' 'i486' 'i686' 'pentium4') +url="https://newsboat.org/" +license=('MIT') +depends=('curl' 'hicolor-icon-theme' 'json-c' 'libxml2' 'sqlite' 'stfl') +makedepends=('asciidoc') +optdepends=('perl: for pinboard.pl' + 'python: for exportOPMLWithTags.py' + 'ruby: for feedgrabber.rb, heise.rb, and slashdot.rb') +replaces=('newsbeuter') +conflicts=('newsboat') +options=('!makeflags') +source=("https://github.com/andreasbaumann/$pkgname/archive/r$pkgver.tar.gz") +sha256sums=('074228c0597f20ac72aff0b99685e5af4b28b428adafbbd8a1f207a156eb63c9') + +build() { + cd $pkgname-r$pkgver + + make prefix=/usr + make doc +} + +package() { + cd $pkgname-r$pkgver + + make prefix=/usr DESTDIR="$pkgdir" install + install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE +} diff --git a/extra/nodejs-lts-fermium/PKGBUILD b/extra/nodejs-lts-fermium/PKGBUILD new file mode 100644 index 00000000..aa8da4c8 --- /dev/null +++ b/extra/nodejs-lts-fermium/PKGBUILD @@ -0,0 +1,3 @@ +# some random timeout +unset check +unset checkdepends diff --git a/extra/nodejs/PKGBUILD b/extra/nodejs/PKGBUILD new file mode 100644 index 00000000..0a1713cb --- /dev/null +++ b/extra/nodejs/PKGBUILD @@ -0,0 +1,35 @@ +# actually build a 32-bit version +eval "$( + declare -f build | \ + sed ' + s|./configure|./configure --dest-cpu x86|g + ' +)" + +# linker runs out of memory on 32-bit +eval "$( + declare -f build | \ + sed ' + 3 i LDFLAGS+=" -Wl,--no-keep-memory" + 3 i CFLAGS+=" -g1" + 3 i CXXFLAGS+=" -g1" + ' +)" + +# add -latomic where needed (i486) +if [ "$CARCH" = 'i486' ]; then + source+=('node-17.1.0-atomic.patch') + sha512sums+=('a2acca076dc0f65e17ffb5ac0bbf4dc9b8be845a400b66b5f83f5efbfca16e01ecc675a307eb0c28527874dea6464699f3969c3ee9a94226af568fb18feca331') + eval "$( + declare -f prepare | \ + sed ' + $i patch -Np1 -i "../node-17.1.0-atomic.patch" + ' + )" + eval "$( + declare -f build | \ + sed ' + 3 i LDFLAGS+=" -latomic" + ' + )" +fi diff --git a/extra/nodejs/node-17.1.0-atomic.patch b/extra/nodejs/node-17.1.0-atomic.patch new file mode 100644 index 00000000..fce9e21f Binary files /dev/null and b/extra/nodejs/node-17.1.0-atomic.patch differ diff --git a/extra/npm/PKGBUILD b/extra/npm/PKGBUILD new file mode 100644 index 00000000..d15a6a20 --- /dev/null +++ b/extra/npm/PKGBUILD @@ -0,0 +1,22 @@ +# we put in libvips though upstream PKGBUILD says: +# "libvips: for sharp (doc build) (disabled as current version of gatsby imports a broken sharp)" +# I seem unable to be able to build anything useful if the libvips is absent from the makedepends +# +# https://github.com/lovell/sharp/issues/2023 +# +#ERR! sharp Intel Architecture 32-bit systems require manual installation of libvips >= 8.8.1 +#info sharp Attempting to build from source via node-gyp but this may fail due to the above error +#info sharp Please see https://sharp.pixelplumbing.com/page/install for required dependencies +#make[1]: Entering directory '/build/npm/src/cli-6.14.11/docs/node_modules/sharp/build' +# TOUCH Release/obj.target/libvips-cpp.stamp +# CXX(target) Release/obj.target/sharp/src/common.o +#../src/common.cc:25:10: fatal error: vips/vips8: No such file or directory +# 25 | #include +# | ^~~~~~~~~~~~ +# +# most likely there is a binary version available, so sharp has not to be rebuilt (as on IA-32) +makedepends+=(libvips884) + +# https://github.com/lovell/sharp/issues/2023 +#gatsby-plugin-manifest ERROR #11321 Error: Input file contains unsupported image format +# diff --git a/extra/nvchecker/PKGBUILD b/extra/nvchecker/PKGBUILD new file mode 100644 index 00000000..6403c888 --- /dev/null +++ b/extra/nvchecker/PKGBUILD @@ -0,0 +1,2 @@ +unset check +unset checkdepends diff --git a/extra/octave/PKGBUILD b/extra/octave/PKGBUILD new file mode 100644 index 00000000..406c2a07 --- /dev/null +++ b/extra/octave/PKGBUILD @@ -0,0 +1,4 @@ +# qscintilla needs a qt5/qt6 split first, so build without qscintilla on i486 for now +if [ "$CARCH" = 'i486' ]; then + depends=(${depends[@]//qscintilla-qt5/}) +fi diff --git a/extra/opam/PKGBUILD b/extra/opam/PKGBUILD new file mode 100644 index 00000000..1e0c0b6b --- /dev/null +++ b/extra/opam/PKGBUILD @@ -0,0 +1,3 @@ +# hotfix for https://bugs.archlinux.org/task/59869 +makedepends=('ocaml-compiler-libs') + diff --git a/extra/opencascade/PKGBUILD b/extra/opencascade/PKGBUILD new file mode 100644 index 00000000..2f913ae9 --- /dev/null +++ b/extra/opencascade/PKGBUILD @@ -0,0 +1,2 @@ +# adios2 doesn't build on 32-bit +makedepends=(${makedepends[@]//adios2/}) diff --git a/extra/openipmi/PKGBUILD b/extra/openipmi/PKGBUILD new file mode 100644 index 00000000..46c10e69 --- /dev/null +++ b/extra/openipmi/PKGBUILD @@ -0,0 +1,2 @@ +# see FS#61289 +depends+=(libedit) diff --git a/extra/openscenegraph/PKGBUILD b/extra/openscenegraph/PKGBUILD new file mode 100644 index 00000000..78dcdca7 --- /dev/null +++ b/extra/openscenegraph/PKGBUILD @@ -0,0 +1,6 @@ +eval "$( + declare -f package | \ + sed ' + s@mv "${pkgdir}/usr/lib64" "${pkgdir}/usr/lib"@#\0@ + ' +)" diff --git a/extra/opensubdiv/PKGBUILD b/extra/opensubdiv/PKGBUILD new file mode 100644 index 00000000..7ee1e57b --- /dev/null +++ b/extra/opensubdiv/PKGBUILD @@ -0,0 +1,19 @@ +# no CUDA +makedepends=( + ${makedepends[@]/cuda/} +) +pkgdesc+=", without CUDA support" + +eval "$( + declare -f build | \ + sed ' + s/cmake /cmake -DNO_CUDA=ON / + ' +)" + +eval "$( + declare -f prepare | \ + sed ' + /cuda.*patch/d + ' +)" diff --git a/extra/openvdb/PKGBUILD b/extra/openvdb/PKGBUILD new file mode 100644 index 00000000..37857a5d --- /dev/null +++ b/extra/openvdb/PKGBUILD @@ -0,0 +1,23 @@ +# problems with python numpy everywhere +eval "$( + declare -f build | \ + sed ' + s/-DUSE_NUMPY=ON/-DUSE_NUMPY=OFF/ + ' +)" + +# -latomic on i486 +if [ "$CARCH" = 'i486' ]; then + source+=('openvdb-8.0.1-i486-atomic.patch') + sha512sums+=('e539db12513dbc62f7421504ef3751ca8f0b27c33250e80b47b979ba11e949060ebc96667a938d6baad47d0079c95a1714bee970e6627f99aa0790b5dfcfcc9f') +eval "$( + { + declare -f prepare || \ + printf 'prepare() {\n}\n' + } \ + | sed ' + $i cd "$srcdir/$pkgname-$pkgver" \ + patch -Np1 -i "$srcdir/openvdb-8.0.1-i486-atomic.patch" + ' +)" +fi diff --git a/extra/openvdb/openvdb-8.0.1-i486-atomic.patch b/extra/openvdb/openvdb-8.0.1-i486-atomic.patch new file mode 100644 index 00000000..767111df Binary files /dev/null and b/extra/openvdb/openvdb-8.0.1-i486-atomic.patch differ diff --git a/extra/pacman-contrib/PKGBUILD b/extra/pacman-contrib/PKGBUILD new file mode 100644 index 00000000..5e28a760 --- /dev/null +++ b/extra/pacman-contrib/PKGBUILD @@ -0,0 +1,9 @@ +source+=('rankmirror.sh.diff') +b2sums+=('170770a9fc250fd917c409289f6bf06f889265d20324f50083d0a97e8772dc971c302c8a81a857b433015feb8d3fec6cf48231fdc57fc320d7d3f18aa0aa6ca7') + +eval "$( + declare -f prepare \ + | sed ' + $ i patch -p1 -i "${srcdir}/rankmirror.sh.diff" + ' +)" diff --git a/extra/pacman-contrib/rankmirror.sh.diff b/extra/pacman-contrib/rankmirror.sh.diff new file mode 100644 index 00000000..c7ea00a1 --- /dev/null +++ b/extra/pacman-contrib/rankmirror.sh.diff @@ -0,0 +1,16 @@ +diff --git a/src/rankmirrors.sh.in b/src/rankmirrors.sh.in +index 08f7e28..8f9143f 100644 +--- a/src/rankmirrors.sh.in ++++ b/src/rankmirrors.sh.in +@@ -79,10 +79,8 @@ getfetchurl() { + local replacedurl="${strippedurl//'$arch'/$ARCH}" + if [[ ! $TARGETREPO ]]; then + replacedurl="${replacedurl//'$repo'/core}" +- local tmp="${replacedurl%/*}" +- tmp="${tmp%/*}" + +- local reponame="${tmp##*/}" ++ local reponame="${replacedurl##*/}" + else + replacedurl="${replacedurl//'$repo'/$TARGETREPO}" + local reponame="$TARGETREPO" diff --git a/extra/pacutils/PKGBUILD b/extra/pacutils/PKGBUILD new file mode 100644 index 00000000..8d11e5cc --- /dev/null +++ b/extra/pacutils/PKGBUILD @@ -0,0 +1,10 @@ +# see https://bugs.archlinux32.org/index.php?do=details&task_id=317 +# see https://github.com/andrewgregory/pacutils/pull/51 +# see https://github.com/CyberShadow/aconfmgr/issues/159 +eval "$( + declare -f build | \ + sed ' + /make CFLAGS/ i \ + CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64" + ' +)" diff --git a/extra/pandoc-cli/PKGBUILD b/extra/pandoc-cli/PKGBUILD new file mode 100644 index 00000000..d2ddff60 --- /dev/null +++ b/extra/pandoc-cli/PKGBUILD @@ -0,0 +1,2 @@ +# the check runs out of memory +unset check diff --git a/extra/percona-server/LF_PINS-size.patch b/extra/percona-server/LF_PINS-size.patch new file mode 100644 index 00000000..49518579 Binary files /dev/null and b/extra/percona-server/LF_PINS-size.patch differ diff --git a/extra/percona-server/PKGBUILD b/extra/percona-server/PKGBUILD new file mode 100644 index 00000000..d4ca9e87 --- /dev/null +++ b/extra/percona-server/PKGBUILD @@ -0,0 +1,36 @@ +source+=('LF_PINS-size.patch') +sha256sums+=('c77f581059ee6a9b248c45194d392f45f311b3b755a9de20c274e13bb1a4d28c') + +eval "$( + declare -f prepare | \ + sed ' + $ i patch -p1 -i "$srcdir/LF_PINS-size.patch" + ' +)" + +# disable maintainer mode (-Werror) +eval "$( + declare -f build | \ + sed ' + s/-Wno-dev/-Wno-dev -DMYSQL_MAINTAINER_MODE=OFF/ + ' +)" + +# do not build storage backends which are only available on 64-bit +eval "$( + declare -f build | \ + sed ' + s/-DWITH_ROCKSDB=ON/-DWITH_ROCKSDB=OFF/ + s/-DTOKU_DEBUG_PARANOID=OFF/-DWITH_TOKUDB=OFF/ + ' +)" + +# https://bugs.mysql.com/bug.php?id=67898 +# is very old and on WONTFIX, so the error message generator break +# on 32-bit with optimization, we enable debug mode with no optimizations, sorry +eval "$( + declare -f build | \ + sed ' + s/-Wno-dev/-Wno-dev -DWITH_DEBUG=YES/ + ' +)" diff --git a/extra/perl-cgi/PKGBUILD b/extra/perl-cgi/PKGBUILD new file mode 100644 index 00000000..c8d3b267 --- /dev/null +++ b/extra/perl-cgi/PKGBUILD @@ -0,0 +1,9 @@ +# temporary workaround for not having the locale set in build chroots +# (is fixed upstream in devtools, but must update all build slaves first, +# otherwise the whole Perl rebuild fails!) +eval "$( + declare -f check | \ + sed ' + s/make test/LC_ALL=C LANGUAGE=C make test/ + ' +)" diff --git a/extra/perl-image-sane/PKGBUILD b/extra/perl-image-sane/PKGBUILD new file mode 100644 index 00000000..a90dd146 --- /dev/null +++ b/extra/perl-image-sane/PKGBUILD @@ -0,0 +1,2 @@ +# testing hangs slaves => no testing +unset check diff --git a/extra/perl-term-readline-gnu/PKGBUILD b/extra/perl-term-readline-gnu/PKGBUILD new file mode 100644 index 00000000..a94e6219 --- /dev/null +++ b/extra/perl-term-readline-gnu/PKGBUILD @@ -0,0 +1,3 @@ +# ignoring failing tests for now +# Failed 6/8 test programs. 11/47 subtests failed. +unset check diff --git a/extra/pifpaf/PKGBUILD b/extra/pifpaf/PKGBUILD new file mode 100644 index 00000000..f0d201e3 --- /dev/null +++ b/extra/pifpaf/PKGBUILD @@ -0,0 +1,6 @@ +# remove mongodb from checkdepends - it's not available for i686 and apparently not needed either +checkdepends=(${checkdepends[@]/mongodb}) +checkdepends=(${checkdepends[@]/consul}) + +# ceph doesn't run on 32-bit currently (see FS32#21) +checkdepends=(${checkdepends[@]/ceph}) diff --git a/extra/ponyc/PKGBUILD b/extra/ponyc/PKGBUILD new file mode 100644 index 00000000..2e505e1e --- /dev/null +++ b/extra/ponyc/PKGBUILD @@ -0,0 +1,19 @@ +# It seems, compiling for i686 is as simple as specifying you want i686. + +eval "$( + declare -f build check | \ + sed ' + s|x86-64|i686| + s|make |make default_pic=true| + ' +)" + +# the compiler seems fine, but the test frameworks seems to break with +# newer LLVM, for now, ignoring the tests: +# https://github.com/ponylang/ponyc/issues/2875 +eval "$( + declare -f check | \ + sed ' + s/\(make.*\)/\1 || true/ + ' +)" diff --git a/extra/postgrest/PKGBUILD b/extra/postgrest/PKGBUILD new file mode 100644 index 00000000..dfb0c7c6 --- /dev/null +++ b/extra/postgrest/PKGBUILD @@ -0,0 +1,9 @@ +# See FS32#28, problems running the postgresql server with pifpaf and +# running system tests against it. + +eval "$( + declare -f check | \ + sed ' + /cd/ i return + ' +)" diff --git a/extra/prjtrellis/PKGBUILD b/extra/prjtrellis/PKGBUILD new file mode 100644 index 00000000..a316c167 --- /dev/null +++ b/extra/prjtrellis/PKGBUILD @@ -0,0 +1,18 @@ +# git missing +makedepends+=(git) + +# sphinx themes broken, don't build documentation +eval "$( + declare -f build | \ + sed ' + /make html/d + ' +)" + +eval "$( + declare -f package | \ + sed ' + /docs\/_build/d + /html\/.doctrees/d + ' +)" diff --git a/extra/prusa-slicer/PKGBUILD b/extra/prusa-slicer/PKGBUILD new file mode 100644 index 00000000..18aa77e7 --- /dev/null +++ b/extra/prusa-slicer/PKGBUILD @@ -0,0 +1,2 @@ +# failing tests hang slaves +unset check diff --git a/extra/psensor/PKGBUILD b/extra/psensor/PKGBUILD new file mode 100644 index 00000000..b398bc88 --- /dev/null +++ b/extra/psensor/PKGBUILD @@ -0,0 +1,3 @@ +# libxnvctrl is Nvidia only, so sorry, there is no 32-bit version for +# it, then we will not build support for it.. +depends=(${depends[@]//libxnvctrl/}) diff --git a/extra/pypy/PKGBUILD b/extra/pypy/PKGBUILD new file mode 100644 index 00000000..e7388a20 --- /dev/null +++ b/extra/pypy/PKGBUILD @@ -0,0 +1,5 @@ +# i486-specific +if [ "${CARCH}" = "i486" ]; then + # testing deterministically kills build slaves.. + unset check +fi diff --git a/extra/pypy3/PKGBUILD b/extra/pypy3/PKGBUILD new file mode 100644 index 00000000..e7388a20 --- /dev/null +++ b/extra/pypy3/PKGBUILD @@ -0,0 +1,5 @@ +# i486-specific +if [ "${CARCH}" = "i486" ]; then + # testing deterministically kills build slaves.. + unset check +fi diff --git a/extra/python-apipkg/PKGBUILD b/extra/python-apipkg/PKGBUILD new file mode 100644 index 00000000..3167ec8f --- /dev/null +++ b/extra/python-apipkg/PKGBUILD @@ -0,0 +1,7 @@ +#usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] +# or: setup.py --help [cmd1 cmd2 ...] +# or: setup.py --help-commands +# or: setup.py cmd --help +#error: invalid command 'pytest' +unset check +unset checkdepends diff --git a/extra/python-autobahn/PKGBUILD b/extra/python-autobahn/PKGBUILD new file mode 100644 index 00000000..d6a1bbd5 --- /dev/null +++ b/extra/python-autobahn/PKGBUILD @@ -0,0 +1,3 @@ +# testing hangs the build slaves, so no testing +unset check + diff --git a/extra/python-babel/PKGBUILD b/extra/python-babel/PKGBUILD new file mode 100644 index 00000000..51c7956d --- /dev/null +++ b/extra/python-babel/PKGBUILD @@ -0,0 +1,10 @@ +#/build/python-babel/src/babel-2.9.1/setup.py:5: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives +# from distutils.cmd import Command +#usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] +# or: setup.py --help [cmd1 cmd2 ...] +# or: setup.py --help-commands +# or: setup.py cmd --help +# +#error: invalid command 'pytest' +unset check +unset checkdepends diff --git a/extra/python-build/PKGBUILD b/extra/python-build/PKGBUILD new file mode 100644 index 00000000..125d6731 --- /dev/null +++ b/extra/python-build/PKGBUILD @@ -0,0 +1,25 @@ +# disable documentation (needs sphinx, sphinx-furo) +# python-sphinx-furo needs npm, which is broken on archlinux32 +# most likely since years.. +makedepends=(${makedepends[@]//python-sphinx-furo/}) +makedepends=(${makedepends[@]//python-sphinx-argparse-cli/}) +makedepends=(${makedepends[@]//python-sphinx-autodoc-typehints/}) +makedepends=(${makedepends[@]//python-sphinx/}) +eval "$( + declare -f build | \ + sed ' + /.*sphinx-build.*/d + ' + declare -f package | \ + sed ' + /.*\/share\/doc.*/d + ' +)" + +# temporary to build python-build with python-bootstrap (breaking cycles) +makedepends=(${makedepends[@]//python-installer/}) +makedepends=(${makedepends[@]//python-build/}) +makedepends=(${makedepends[@]//python-flit-core/}) +makedepends+=('python-bootstrap') +unset checkdepends +unset check diff --git a/extra/python-cairocffi/PKGBUILD b/extra/python-cairocffi/PKGBUILD new file mode 100644 index 00000000..e8214a5c --- /dev/null +++ b/extra/python-cairocffi/PKGBUILD @@ -0,0 +1,9 @@ +#cairocffi/test_cairo.py:258: AssertionError +# =========================== short test summary info ============================ +# FAILED cairocffi/test_cairo.py::test_metadata - assert b"/CreationDate (20130... +eval "$( + declare -f check | \ + sed ' + s/\(.*python setup.py pytest\)/\1 || true/ + ' +)" diff --git a/extra/python-commonmark/PKGBUILD b/extra/python-commonmark/PKGBUILD new file mode 100644 index 00000000..549815ac --- /dev/null +++ b/extra/python-commonmark/PKGBUILD @@ -0,0 +1,17 @@ +# cycle breaking for python-sphinx +eval "$( + declare -f build | \ + sed ' + /make.*docs.*/d + ' + declare -f package | \ + sed ' + /install.*docs.*/d + ' +)" + +# python-sphinx_rtd_theme neds npm, which is broken on archlinux32 +# most likely since years.. +makedepends=(${makedepends[@]//python-sphinx_rtd_theme/}) + +makedepends=(${makedepends[@]//python-sphinx/}) diff --git a/extra/python-debugpy/PKGBUILD b/extra/python-debugpy/PKGBUILD new file mode 100644 index 00000000..f3266163 --- /dev/null +++ b/extra/python-debugpy/PKGBUILD @@ -0,0 +1,11 @@ +# patch 64-bit mode compilation to 32-bit mode (and naming of +# resulting library) +# why we would not just ommit the mode and omit the naming in +# the library is beyond me.. +eval "$( + declare -f build | \ + sed ' + s/-m64/-m32/g + s/attach_linux_amd64.so/attach_linux_i686.so/ + ' +)" diff --git a/extra/python-docs/PKGBUILD b/extra/python-docs/PKGBUILD new file mode 100644 index 00000000..93396a46 --- /dev/null +++ b/extra/python-docs/PKGBUILD @@ -0,0 +1 @@ +sha256sums=('SKIP') diff --git a/extra/python-factory-boy/PKGBUILD b/extra/python-factory-boy/PKGBUILD new file mode 100644 index 00000000..5fd9f075 --- /dev/null +++ b/extra/python-factory-boy/PKGBUILD @@ -0,0 +1,2 @@ +# remove mongodb from checkdepends - it's not available for i686 and apparently not needed either +checkdepends=(${checkdepends[@]/mongodb}) diff --git a/extra/python-faker/PKGBUILD b/extra/python-faker/PKGBUILD new file mode 100644 index 00000000..4568a027 --- /dev/null +++ b/extra/python-faker/PKGBUILD @@ -0,0 +1,18 @@ +# https://github.com/joke2k/faker/issues/408 +# time-tests requiring 64 bit fail on i686 - obviously (year 2100 is not representable with 32 bits) + +eval "$( + declare -f prepare | \ + sed ' + /^{\s*$/a \ + sed -i '"'"'/\\.date_\\(time_\\)\\?this_century(.*) >=/d'"'"' "$srcdir/faker-$pkgver/tests/providers/test_date_time.py" \ + sed -i '"'"' \ + $! N; \ + /^\\(.\\+\\)\\n\\1$/ ! { \ + P; \ + D; \ + } \ + D; \ + '"'"' "$srcdir/faker-$pkgver/tests/providers/test_date_time.py" \ + ' +)" diff --git a/extra/python-flit-core/PKGBUILD b/extra/python-flit-core/PKGBUILD new file mode 100644 index 00000000..b8a84aa2 --- /dev/null +++ b/extra/python-flit-core/PKGBUILD @@ -0,0 +1,6 @@ +# temporary to build python-build with python-bootstrap (breaking cycles) +makedepends=(${makedepends[@]//python-installer/}) +makedepends=(${makedepends[@]//python-build/}) +makedepends+=('python-bootstrap') +unset checkdepends +unset check diff --git a/extra/python-flit/PKGBUILD b/extra/python-flit/PKGBUILD new file mode 100644 index 00000000..602d5f1f --- /dev/null +++ b/extra/python-flit/PKGBUILD @@ -0,0 +1,10 @@ +# temporary to build python-build with python-bootstrap (breaking cycles) +makedepends=(${makedepends[@]//python-installer/}) +makedepends=(${makedepends[@]//python-build/}) +depends=(${depends[@]//python-docutils/}) +depends=(${depends[@]//python-flit-core/}) +depends=(${depends[@]//python-requests/}) +depends=(${depends[@]//python-tomli-w/}) +makedepends+=('python-bootstrap') +unset checkdepends +unset check diff --git a/extra/python-fsspec/PKGBUILD b/extra/python-fsspec/PKGBUILD new file mode 100644 index 00000000..02981ee5 --- /dev/null +++ b/extra/python-fsspec/PKGBUILD @@ -0,0 +1,4 @@ +# check() hangs for multiple days: +# fsspec/implementations/tests/test_dask.py +unset check +unset checkdepends diff --git a/extra/python-hglib/PKGBUILD b/extra/python-hglib/PKGBUILD new file mode 100644 index 00000000..2064f1d3 --- /dev/null +++ b/extra/python-hglib/PKGBUILD @@ -0,0 +1,11 @@ +#Traceback (most recent call last): +# File "/build/python-hglib/src/python-hglib-2.6.2/test.py", line 3, in +# import nose +# File "/usr/lib/python3.10/site-packages/nose/__init__.py", line 1, in +# from nose.core import collector, main, run, run_exit, runmodule +# File "/usr/lib/python3.10/site-packages/nose/core.py", line 153 +# print "%s version %s" % (os.path.basename(sys.argv[0]), __version__) +# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +#SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)? +unset check +unset checkdepends diff --git a/extra/python-httpcore/PKGBUILD b/extra/python-httpcore/PKGBUILD new file mode 100644 index 00000000..98fc9fd5 --- /dev/null +++ b/extra/python-httpcore/PKGBUILD @@ -0,0 +1,2 @@ +# tests just hang on the build slaves +unset check diff --git a/extra/python-httpx/PKGBUILD b/extra/python-httpx/PKGBUILD new file mode 100644 index 00000000..6403c888 --- /dev/null +++ b/extra/python-httpx/PKGBUILD @@ -0,0 +1,2 @@ +unset check +unset checkdepends diff --git a/extra/python-hypothesis/PKGBUILD b/extra/python-hypothesis/PKGBUILD new file mode 100644 index 00000000..3432dd64 --- /dev/null +++ b/extra/python-hypothesis/PKGBUILD @@ -0,0 +1,8 @@ +eval "$( + declare -f prepare | \ + sed ' + 2 a \ + find hypothesis-hypothesis-python-$pkgver/hypothesis-python/tests -type f -name '"'"'*.py'"'"' \\\ + -exec sed -i '"'"'/^\\s*@settings(suppress_health_check=/s/HealthCheck\\.too_slow/\\0, HealthCheck.hung_test/g'"'"' {} \\; + ' +)" diff --git a/extra/python-installer/PKGBUILD b/extra/python-installer/PKGBUILD new file mode 100644 index 00000000..6dd1a147 --- /dev/null +++ b/extra/python-installer/PKGBUILD @@ -0,0 +1,23 @@ +# breaking the cycle with python-spinx +makedepends=(${makedepends[@]//python-sphinx-furo}) +makedepends=(${makedepends[@]//python-sphinx-argparse}) +makedepends=(${makedepends[@]//python-sphinx}) +makedepends=(${makedepends[@]//python-myst-parser/}) +eval "$( + declare -f build | \ + sed ' + /sphinx-build/d + ' + declare -f package | \ + sed ' + /docs\/build\/html/d + ' +)" + +# temporary to build python-build with python-bootstrap (breaking cycles) +makedepends=(${makedepends[@]//python-installer/}) +makedepends=(${makedepends[@]//python-build/}) +makedepends=(${makedepends[@]//python-flit-core/}) +makedepends+=('python-bootstrap') +unset checkdepends +unset check diff --git a/extra/python-iwlib/PKGBUILD b/extra/python-iwlib/PKGBUILD new file mode 100644 index 00000000..d504c3e6 --- /dev/null +++ b/extra/python-iwlib/PKGBUILD @@ -0,0 +1,8 @@ +# pathes to find built python module contains architecture + +eval "$( + declare -f check | \ + sed ' + /export PYTHONPATH=/s/x86_64/${CARCH}/ + ' +)" diff --git a/extra/python-jaraco.context/PKGBUILD b/extra/python-jaraco.context/PKGBUILD new file mode 100644 index 00000000..b0d7bd85 --- /dev/null +++ b/extra/python-jaraco.context/PKGBUILD @@ -0,0 +1,18 @@ +# temporary to build python-build with python-bootstrap (breaking cycles) +makedepends=(${makedepends[@]//python-build/}) +makedepends=(${makedepends[@]//python-installer/}) +makedepends=(${makedepends[@]//python-wheel/}) +makedepends+=('python-bootstrap') +depends=(${depends[@]//python-jaraco.functools/}) +depends=(${depends[@]//python-jaraco.context/}) +depends=(${depends[@]//python-jaraco.context/}) +depends=(${depends[@]//python-autocommand/}) +depends=(${depends[@]//python-inflect/}) +unset checkdepends +unset check +eval "$( + declare -f build | \ + sed ' + s/python -m build -wn/python -m build -wn -x/g + ' +)" diff --git a/extra/python-jaraco.functools/PKGBUILD b/extra/python-jaraco.functools/PKGBUILD new file mode 100644 index 00000000..d95ca919 --- /dev/null +++ b/extra/python-jaraco.functools/PKGBUILD @@ -0,0 +1,13 @@ +# temporary to build python-build with python-bootstrap (breaking cycles) +makedepends=(${makedepends[@]//python-build/}) +makedepends=(${makedepends[@]//python-installer/}) +makedepends=(${makedepends[@]//python-wheel/}) +makedepends+=('python-bootstrap') +unset checkdepends +unset check +eval "$( + declare -f build | \ + sed ' + s/python -m build --wheel --no-isolation/python -m build --wheel --no-isolation -x/g + ' +)" diff --git a/extra/python-jaraco.text/PKGBUILD b/extra/python-jaraco.text/PKGBUILD new file mode 100644 index 00000000..29e02c8a --- /dev/null +++ b/extra/python-jaraco.text/PKGBUILD @@ -0,0 +1,18 @@ +# temporary to build python-build with python-bootstrap (breaking cycles) +makedepends=(${makedepends[@]//python-build/}) +makedepends=(${makedepends[@]//python-installer/}) +makedepends=(${makedepends[@]//python-wheel/}) +makedepends+=('python-bootstrap') +depends=(${depends[@]//python-jaraco.functools/}) +depends=(${depends[@]//python-jaraco.context/}) +depends=(${depends[@]//python-jaraco.context/}) +depends=(${depends[@]//python-autocommand/}) +depends=(${depends[@]//python-inflect/}) +unset checkdepends +unset check +eval "$( + declare -f build | \ + sed ' + s/python -m build --wheel --no-isolation/python -m build --wheel --no-isolation -x/g + ' +)" diff --git a/extra/python-jedi/PKGBUILD b/extra/python-jedi/PKGBUILD new file mode 100644 index 00000000..ff062da3 --- /dev/null +++ b/extra/python-jedi/PKGBUILD @@ -0,0 +1,15 @@ +# no python-sphinx_rtd_theme, needs nodejs which is currently broken +makedepends=(${makedepends[@]//python-sphinx_rtd_theme/}) +makedepends=(${makedepends[@]//python-sphinx/}) +eval "$( + declare -f build | \ + sed ' + /sphinx-build/d + ' +)" +eval "$( + declare -f package | \ + sed ' + /install.*docs\/_build.*/d + ' +)" diff --git a/extra/python-libevdev/PKGBUILD b/extra/python-libevdev/PKGBUILD new file mode 100644 index 00000000..ba9c762c --- /dev/null +++ b/extra/python-libevdev/PKGBUILD @@ -0,0 +1,11 @@ +# temporarily disabled documentation due to sphinx_rtd_theme (FS32#163) +eval "$( + declare -f build | \ + sed ' + /make doc/d + ' + declare -f package | \ + sed ' + /\/share\/doc/d + ' +)" diff --git a/extra/python-libnacl/PKGBUILD b/extra/python-libnacl/PKGBUILD new file mode 100644 index 00000000..6eda5b5e --- /dev/null +++ b/extra/python-libnacl/PKGBUILD @@ -0,0 +1,15 @@ +# see https://bbs.archlinux32.org/viewtopic.php?pid=224 +# and https://github.com/saltstack/libnacl/issues/103 + +eval "$( + { + declare -f prepare || \ + printf 'prepare() {\n}\n' + } \ + | sed ' + $i sed -i '"'"' \ + s/m, mlen,/m, ctypes.byref(mlen),/ \ + '"'"' "libnacl-${pkgver}/libnacl/__init__.py" \ + cp -r libnacl-$pkgver{,-py2} + ' +)" diff --git a/extra/python-matplotlib/PKGBUILD b/extra/python-matplotlib/PKGBUILD new file mode 100644 index 00000000..51633f41 --- /dev/null +++ b/extra/python-matplotlib/PKGBUILD @@ -0,0 +1,14 @@ +checkdepends=(${checkdepends[@]//pyside2/}) +checkdepends_i686+=(pyside2) +checkdepends_pentium4=("${checkdepends_i686[@]}") + +checkdepends=(${checkdepends[@]//python-pyqt6/}) +checkdepends_i686+=(python-pyqt6) +checkdepends_pentium4=("${checkdepends_i686[@]}") + +checkdepends=(${checkdepends[@]//pyside6/}) +checkdepends_i686+=(pyside6) +checkdepends_pentium4=("${checkdepends_i686[@]}") + +# tests fails in various ways +unset check diff --git a/extra/python-mongoengine/PKGBUILD b/extra/python-mongoengine/PKGBUILD new file mode 100644 index 00000000..f2878a8a --- /dev/null +++ b/extra/python-mongoengine/PKGBUILD @@ -0,0 +1 @@ +unset check checkdepends diff --git a/extra/python-more-itertools/PKGBUILD b/extra/python-more-itertools/PKGBUILD new file mode 100644 index 00000000..94928e1c --- /dev/null +++ b/extra/python-more-itertools/PKGBUILD @@ -0,0 +1,8 @@ +# temporary to build python-build with python-bootstrap (breaking cycles) +makedepends=(${makedepends[@]//python-installer/}) +makedepends=(${makedepends[@]//python-build/}) +makedepends=(${makedepends[@]//python-wheel/}) +makedepends=(${makedepends[@]//python-flit-core/}) +makedepends+=('python-bootstrap') +unset checkdepends +unset check diff --git a/extra/python-networkx/PKGBUILD b/extra/python-networkx/PKGBUILD new file mode 100644 index 00000000..521151c1 --- /dev/null +++ b/extra/python-networkx/PKGBUILD @@ -0,0 +1,7 @@ +# python-matplotlib fails with stack smashes on i486, must disable it on all +# architectures, because it's of architecture 'any' thus drawing in the module +# again on i486 +depends=(${depends[@]//python-matplotlib/}) + +# tests fails in various ways +unset check diff --git a/extra/python-pluggy/PKGBUILD b/extra/python-pluggy/PKGBUILD new file mode 100644 index 00000000..5906d9c8 --- /dev/null +++ b/extra/python-pluggy/PKGBUILD @@ -0,0 +1,7 @@ +#==> Starting check()... +#usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] +# or: setup.py --help [cmd1 cmd2 ...] +# or: setup.py --help-commands +# or: setup.py cmd --help +unset checkdepends +unset check diff --git a/extra/python-pyproject-hooks/PKGBUILD b/extra/python-pyproject-hooks/PKGBUILD new file mode 100644 index 00000000..13a5299b --- /dev/null +++ b/extra/python-pyproject-hooks/PKGBUILD @@ -0,0 +1,8 @@ +# temporary to build python-build with python-bootstrap (breaking cycles) +makedepends=(${makedepends[@]//python-flit-core/}) +makedepends=(${makedepends[@]//python-build/}) +makedepends=(${makedepends[@]//python-installer/}) +makedepends=(${makedepends[@]//python-wheel/}) +makedepends+=('python-bootstrap') +unset checkdepends +unset check diff --git a/extra/python-pytest/PKGBUILD b/extra/python-pytest/PKGBUILD new file mode 100644 index 00000000..85fbc035 --- /dev/null +++ b/extra/python-pytest/PKGBUILD @@ -0,0 +1,7 @@ +# some tests fail also upstream (nose) +eval "$( + declare -f check | \ + sed ' + s/\(test-env\/bin\/python -m pytest\)/\1 || true/ + ' +)" diff --git a/extra/python-pyudev/PKGBUILD b/extra/python-pyudev/PKGBUILD new file mode 100644 index 00000000..022fe3c4 --- /dev/null +++ b/extra/python-pyudev/PKGBUILD @@ -0,0 +1,15 @@ +# disable documentation (needs sphinx), building it currently leaves +# the documentation in the package and the module broken (seen in +# libwacom) +makedepends=(${makedepends[@]//python-sphinx/}) +eval "$( + declare -f build | \ + sed ' + /.*sphinx.*/d + ' + declare -f package | \ + sed ' + /.*doc\/html.*/d + /.*\/usr\/share\/doc.*/d + ' +)" diff --git a/extra/python-pyvirtualdisplay/PKGBUILD b/extra/python-pyvirtualdisplay/PKGBUILD new file mode 100644 index 00000000..aa51437a --- /dev/null +++ b/extra/python-pyvirtualdisplay/PKGBUILD @@ -0,0 +1,2 @@ +# tests use framebuffer X and hang, so disable them +unset check diff --git a/extra/python-scipy/PKGBUILD b/extra/python-scipy/PKGBUILD new file mode 100644 index 00000000..1036c3f0 --- /dev/null +++ b/extra/python-scipy/PKGBUILD @@ -0,0 +1,11 @@ +# increase standard relative tolerance of verify_gauss_quad + +eval "$( + declare -f prepare | \ + sed ' + 2 a sed -i '"'"'/def verify_gauss_quad/ { N; s/rtol=[^,]\+,/rtol=2e-15,/; } '"'"' "scipy-${pkgver}/scipy/special/tests/test_orthogonal.py" + ' +)" + +# kill slaves, so disabled for now +unset check diff --git a/extra/python-setuptools-scm/PKGBUILD b/extra/python-setuptools-scm/PKGBUILD new file mode 100644 index 00000000..5057a55f --- /dev/null +++ b/extra/python-setuptools-scm/PKGBUILD @@ -0,0 +1,9 @@ +# temporary to build python-build with python-bootstrap (breaking cycles) +makedepends=(${makedepends[@]//python-build/}) +makedepends=(${makedepends[@]//python-installer/}) +makedepends=(${makedepends[@]//python-wheel/}) +makedepends+=('python-bootstrap') +depends=(${depends[@]//python-packaging/}) +depends=(${depends[@]//python-setuptools/}) +unset checkdepends +unset check diff --git a/extra/python-shapely/PKGBUILD b/extra/python-shapely/PKGBUILD new file mode 100644 index 00000000..14ce07a9 --- /dev/null +++ b/extra/python-shapely/PKGBUILD @@ -0,0 +1,23 @@ +# temporary fix for: +# - https://github.com/Toblerity/Shapely/pull/762 +# +# which caused: +# - https://community.ultimaker.com/topic/29721-archlinux32-cura-341/?_fromLogin=1#replyForm +# +source+=(load_dll_c.patch) +sha512sums+=('6dee4823b76d5057beaed09e9ed529d03a9f76141598a4038f3c51cbca828b1f3e9203a25dab91ee1ff31fee2bf2781d6171dc662f5aa1715c9d5296f8607c60') + +eval "$( + declare -f prepare | \ + sed ' + $ i cd Shapely-$pkgver && patch -p1 -i "$srcdir/load_dll_c.patch" + ' +)" + +# patch CARCH to always use i686 build directory during testing +eval "$( + declare -f check | \ + sed ' + /.*py.test/s/\$CARCH/i686/ + ' +)" diff --git a/extra/python-shapely/load_dll_c.patch b/extra/python-shapely/load_dll_c.patch new file mode 100644 index 00000000..8efc8ec5 Binary files /dev/null and b/extra/python-shapely/load_dll_c.patch differ diff --git a/extra/python-simplejson/PKGBUILD b/extra/python-simplejson/PKGBUILD new file mode 100644 index 00000000..947b2a88 --- /dev/null +++ b/extra/python-simplejson/PKGBUILD @@ -0,0 +1,4 @@ +# temporary +source=('https://github.com/simplejson/simplejson/archive/refs/tags/v3.17.6.tar.gz') +sha512sums=('48b74388cd3a5cf0acf46a9aa050d628513d842297625f791c7ae07a7c9289afcb0be8d374f77af3bebd50f4c200844bc69f5b77a67220fee357cdfc0d913726') + diff --git a/extra/python-sphinxcontrib-applehelp/PKGBUILD b/extra/python-sphinxcontrib-applehelp/PKGBUILD new file mode 100644 index 00000000..6403c888 --- /dev/null +++ b/extra/python-sphinxcontrib-applehelp/PKGBUILD @@ -0,0 +1,2 @@ +unset check +unset checkdepends diff --git a/extra/python-sphinxcontrib-devhelp/PKGBUILD b/extra/python-sphinxcontrib-devhelp/PKGBUILD new file mode 100644 index 00000000..6403c888 --- /dev/null +++ b/extra/python-sphinxcontrib-devhelp/PKGBUILD @@ -0,0 +1,2 @@ +unset check +unset checkdepends diff --git a/extra/python-sphinxcontrib-htmlhelp/PKGBUILD b/extra/python-sphinxcontrib-htmlhelp/PKGBUILD new file mode 100644 index 00000000..3e723efb --- /dev/null +++ b/extra/python-sphinxcontrib-htmlhelp/PKGBUILD @@ -0,0 +1,3 @@ +# fails in all tests currently +unset check +unset checkdepends diff --git a/extra/python-sphinxcontrib-jsmath/PKGBUILD b/extra/python-sphinxcontrib-jsmath/PKGBUILD new file mode 100644 index 00000000..6403c888 --- /dev/null +++ b/extra/python-sphinxcontrib-jsmath/PKGBUILD @@ -0,0 +1,2 @@ +unset check +unset checkdepends diff --git a/extra/python-sphinxcontrib-serializinghtml/PKGBUILD b/extra/python-sphinxcontrib-serializinghtml/PKGBUILD new file mode 100644 index 00000000..6403c888 --- /dev/null +++ b/extra/python-sphinxcontrib-serializinghtml/PKGBUILD @@ -0,0 +1,2 @@ +unset check +unset checkdepends diff --git a/extra/python-tqdm/PKGBUILD b/extra/python-tqdm/PKGBUILD new file mode 100644 index 00000000..b7329924 --- /dev/null +++ b/extra/python-tqdm/PKGBUILD @@ -0,0 +1,11 @@ +# https://github.com/tqdm/tqdm/issues/538 + +source+=('tqdm-4.22.0-sleep-test-workaround.patch') +sha512sums+=('ac09e7578ad380f55f9371a067061bd1f23be6a799ec82c3abf2471d7d780bd435b423d0ab1f989cf7039b467d5adfa38e324cb887b0b27f52218fa3753956fa') + +eval "$( + declare -f prepare | \ + sed ' + /cp/ i pushd ${srcdir}/tqdm-$pkgver && patch -Np1 -i "${srcdir}"/tqdm-4.22.0-sleep-test-workaround.patch && popd + ' +)" diff --git a/extra/python-tqdm/tqdm-4.22.0-sleep-test-workaround.patch b/extra/python-tqdm/tqdm-4.22.0-sleep-test-workaround.patch new file mode 100644 index 00000000..ac9caae3 Binary files /dev/null and b/extra/python-tqdm/tqdm-4.22.0-sleep-test-workaround.patch differ diff --git a/extra/python-wheel/PKGBUILD b/extra/python-wheel/PKGBUILD new file mode 100644 index 00000000..bf6e3996 --- /dev/null +++ b/extra/python-wheel/PKGBUILD @@ -0,0 +1,9 @@ +# temporary to build python-build with python-bootstrap (breaking cycles) +depends=(${depends[@]//python-packaging/}) +makedepends=(${makedepends[@]//python-flit-core/}) +makedepends=(${makedepends[@]//python-setuptools/}) +makedepends=(${makedepends[@]//python-build/}) +makedepends=(${makedepends[@]//python-installer/}) +makedepends+=('python-bootstrap') +unset checkdepends +unset check diff --git a/extra/python-xarray/PKGBUILD b/extra/python-xarray/PKGBUILD new file mode 100644 index 00000000..97c39ba7 --- /dev/null +++ b/extra/python-xarray/PKGBUILD @@ -0,0 +1,2 @@ +# scipi tests hang forever and hang build slaves +unset check diff --git a/extra/qcad/PKGBUILD b/extra/qcad/PKGBUILD new file mode 100644 index 00000000..e847139a --- /dev/null +++ b/extra/qcad/PKGBUILD @@ -0,0 +1,8 @@ +# If they ever change their release artifacts again, whoever reads this +# has my permission to put 'SKIP' into these checksum arrays. +# deep42thought - 2019-03-28 + +# ok, thanks, SKIPped it :-) +# deep42thought - 2020-07-31 + +sha512sums[0]='SKIP' diff --git a/extra/qtile/PKGBUILD b/extra/qtile/PKGBUILD new file mode 100644 index 00000000..ccc1819c --- /dev/null +++ b/extra/qtile/PKGBUILD @@ -0,0 +1,10 @@ +#Errors from xkbcomp are not fatal to the X server +#=========================== short test summary info ============================ +#ERROR test/test_manager.py::test_toggle_min[xephyr0-ManagerConfig] - Assertio... +#============= 436 passed, 6 skipped, 1 error in 143.74s (0:02:23) ============== +eval "$( + declare -f check | \ + sed ' + s/\(pytest -v\)/\1 || true/ + ' +)" diff --git a/extra/rathole/PKGBUILD b/extra/rathole/PKGBUILD new file mode 100644 index 00000000..82610227 --- /dev/null +++ b/extra/rathole/PKGBUILD @@ -0,0 +1,3 @@ +# stalls build slaves with: +# "May 01 21:45:56.117 ERROR rathole::server: Failed to do transport handshake: error:0A000415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired:ssl/record/rec_layer_s3.c:1605:SSL alert number 45: error:0A000415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired:ssl/record/rec_layer_s3.c:1605:SSL alert number 45" +unset check diff --git a/extra/redis/PKGBUILD b/extra/redis/PKGBUILD new file mode 100644 index 00000000..02ba0304 --- /dev/null +++ b/extra/redis/PKGBUILD @@ -0,0 +1,9 @@ +# add -latomic where needed (i486) +if [ "$CARCH" = 'i486' ]; then + eval "$( + declare -f build | \ + sed ' + s/make/LDFLAGS='-latomic' make/ + ' + )" +fi diff --git a/extra/reflector/PKGBUILD b/extra/reflector/PKGBUILD new file mode 100644 index 00000000..c3e73ed8 --- /dev/null +++ b/extra/reflector/PKGBUILD @@ -0,0 +1,15 @@ +source=( + "https://sources.archlinux32.org/sources/reflector32-${pkgver}.tar.gz"{,.sig} +) +md5sums=('7f6100188a8d8340dcc6d470bbe5e179' + 'SKIP') +sha512sums=('9186c66152d20e6c52b7a2f2cd8fb9e5c122f23ec70afc358bfa01dd196a94cb4ae96a7fc8974524ef632e6d591d7889e1128e1c7e0f300562b1372ca61716ed' + 'SKIP') + +validpgpkeys=('DE9F7688CACF04FEB81A6C590AEEC90755DA7B5A' '38ACA6A026D25CDD227D24832F6399DCD2212195' '16194A82231E9EF823562181C8E8F5A0AF9BA7E7') +eval "$( + declare -f package | \ + sed ' + s/\$pkgname/${pkgname}32/ + ' +)" diff --git a/extra/ruby-bigdecimal/PKGBUILD b/extra/ruby-bigdecimal/PKGBUILD new file mode 100644 index 00000000..71221b41 --- /dev/null +++ b/extra/ruby-bigdecimal/PKGBUILD @@ -0,0 +1,8 @@ +# move native code to proper place (where ruby expects it) +eval "$( + declare -f package | \ + sed ' + /local _gemdir.*/ a local _install_platform="$(ruby --disable-all -e '"'"'puts RUBY_PLATFORM'"'"')" + s|${pkgdir}/usr/lib/ruby/${_extension_api_version}/${_platform}|${pkgdir}/usr/lib/ruby/${_extension_api_version}/${_install_platform}|g + ' +)" diff --git a/extra/ruby-cgi/PKGBUILD b/extra/ruby-cgi/PKGBUILD new file mode 100644 index 00000000..71221b41 --- /dev/null +++ b/extra/ruby-cgi/PKGBUILD @@ -0,0 +1,8 @@ +# move native code to proper place (where ruby expects it) +eval "$( + declare -f package | \ + sed ' + /local _gemdir.*/ a local _install_platform="$(ruby --disable-all -e '"'"'puts RUBY_PLATFORM'"'"')" + s|${pkgdir}/usr/lib/ruby/${_extension_api_version}/${_platform}|${pkgdir}/usr/lib/ruby/${_extension_api_version}/${_install_platform}|g + ' +)" diff --git a/extra/ruby-date/PKGBUILD b/extra/ruby-date/PKGBUILD new file mode 100644 index 00000000..71221b41 --- /dev/null +++ b/extra/ruby-date/PKGBUILD @@ -0,0 +1,8 @@ +# move native code to proper place (where ruby expects it) +eval "$( + declare -f package | \ + sed ' + /local _gemdir.*/ a local _install_platform="$(ruby --disable-all -e '"'"'puts RUBY_PLATFORM'"'"')" + s|${pkgdir}/usr/lib/ruby/${_extension_api_version}/${_platform}|${pkgdir}/usr/lib/ruby/${_extension_api_version}/${_install_platform}|g + ' +)" diff --git a/extra/ruby-digest/PKGBUILD b/extra/ruby-digest/PKGBUILD new file mode 100644 index 00000000..71221b41 --- /dev/null +++ b/extra/ruby-digest/PKGBUILD @@ -0,0 +1,8 @@ +# move native code to proper place (where ruby expects it) +eval "$( + declare -f package | \ + sed ' + /local _gemdir.*/ a local _install_platform="$(ruby --disable-all -e '"'"'puts RUBY_PLATFORM'"'"')" + s|${pkgdir}/usr/lib/ruby/${_extension_api_version}/${_platform}|${pkgdir}/usr/lib/ruby/${_extension_api_version}/${_install_platform}|g + ' +)" diff --git a/extra/ruby-etc/PKGBUILD b/extra/ruby-etc/PKGBUILD new file mode 100644 index 00000000..71221b41 --- /dev/null +++ b/extra/ruby-etc/PKGBUILD @@ -0,0 +1,8 @@ +# move native code to proper place (where ruby expects it) +eval "$( + declare -f package | \ + sed ' + /local _gemdir.*/ a local _install_platform="$(ruby --disable-all -e '"'"'puts RUBY_PLATFORM'"'"')" + s|${pkgdir}/usr/lib/ruby/${_extension_api_version}/${_platform}|${pkgdir}/usr/lib/ruby/${_extension_api_version}/${_install_platform}|g + ' +)" diff --git a/extra/ruby-fcntl/PKGBUILD b/extra/ruby-fcntl/PKGBUILD new file mode 100644 index 00000000..71221b41 --- /dev/null +++ b/extra/ruby-fcntl/PKGBUILD @@ -0,0 +1,8 @@ +# move native code to proper place (where ruby expects it) +eval "$( + declare -f package | \ + sed ' + /local _gemdir.*/ a local _install_platform="$(ruby --disable-all -e '"'"'puts RUBY_PLATFORM'"'"')" + s|${pkgdir}/usr/lib/ruby/${_extension_api_version}/${_platform}|${pkgdir}/usr/lib/ruby/${_extension_api_version}/${_install_platform}|g + ' +)" diff --git a/extra/ruby-fiddle/PKGBUILD b/extra/ruby-fiddle/PKGBUILD new file mode 100644 index 00000000..71221b41 --- /dev/null +++ b/extra/ruby-fiddle/PKGBUILD @@ -0,0 +1,8 @@ +# move native code to proper place (where ruby expects it) +eval "$( + declare -f package | \ + sed ' + /local _gemdir.*/ a local _install_platform="$(ruby --disable-all -e '"'"'puts RUBY_PLATFORM'"'"')" + s|${pkgdir}/usr/lib/ruby/${_extension_api_version}/${_platform}|${pkgdir}/usr/lib/ruby/${_extension_api_version}/${_install_platform}|g + ' +)" diff --git a/extra/ruby-io-console/PKGBUILD b/extra/ruby-io-console/PKGBUILD new file mode 100644 index 00000000..71221b41 --- /dev/null +++ b/extra/ruby-io-console/PKGBUILD @@ -0,0 +1,8 @@ +# move native code to proper place (where ruby expects it) +eval "$( + declare -f package | \ + sed ' + /local _gemdir.*/ a local _install_platform="$(ruby --disable-all -e '"'"'puts RUBY_PLATFORM'"'"')" + s|${pkgdir}/usr/lib/ruby/${_extension_api_version}/${_platform}|${pkgdir}/usr/lib/ruby/${_extension_api_version}/${_install_platform}|g + ' +)" diff --git a/extra/ruby-io-nonblock/PKGBUILD b/extra/ruby-io-nonblock/PKGBUILD new file mode 100644 index 00000000..71221b41 --- /dev/null +++ b/extra/ruby-io-nonblock/PKGBUILD @@ -0,0 +1,8 @@ +# move native code to proper place (where ruby expects it) +eval "$( + declare -f package | \ + sed ' + /local _gemdir.*/ a local _install_platform="$(ruby --disable-all -e '"'"'puts RUBY_PLATFORM'"'"')" + s|${pkgdir}/usr/lib/ruby/${_extension_api_version}/${_platform}|${pkgdir}/usr/lib/ruby/${_extension_api_version}/${_install_platform}|g + ' +)" diff --git a/extra/ruby-io-wait/PKGBUILD b/extra/ruby-io-wait/PKGBUILD new file mode 100644 index 00000000..71221b41 --- /dev/null +++ b/extra/ruby-io-wait/PKGBUILD @@ -0,0 +1,8 @@ +# move native code to proper place (where ruby expects it) +eval "$( + declare -f package | \ + sed ' + /local _gemdir.*/ a local _install_platform="$(ruby --disable-all -e '"'"'puts RUBY_PLATFORM'"'"')" + s|${pkgdir}/usr/lib/ruby/${_extension_api_version}/${_platform}|${pkgdir}/usr/lib/ruby/${_extension_api_version}/${_install_platform}|g + ' +)" diff --git a/extra/ruby-json/PKGBUILD b/extra/ruby-json/PKGBUILD new file mode 100644 index 00000000..71221b41 --- /dev/null +++ b/extra/ruby-json/PKGBUILD @@ -0,0 +1,8 @@ +# move native code to proper place (where ruby expects it) +eval "$( + declare -f package | \ + sed ' + /local _gemdir.*/ a local _install_platform="$(ruby --disable-all -e '"'"'puts RUBY_PLATFORM'"'"')" + s|${pkgdir}/usr/lib/ruby/${_extension_api_version}/${_platform}|${pkgdir}/usr/lib/ruby/${_extension_api_version}/${_install_platform}|g + ' +)" diff --git a/extra/ruby-psych/PKGBUILD b/extra/ruby-psych/PKGBUILD new file mode 100644 index 00000000..71221b41 --- /dev/null +++ b/extra/ruby-psych/PKGBUILD @@ -0,0 +1,8 @@ +# move native code to proper place (where ruby expects it) +eval "$( + declare -f package | \ + sed ' + /local _gemdir.*/ a local _install_platform="$(ruby --disable-all -e '"'"'puts RUBY_PLATFORM'"'"')" + s|${pkgdir}/usr/lib/ruby/${_extension_api_version}/${_platform}|${pkgdir}/usr/lib/ruby/${_extension_api_version}/${_install_platform}|g + ' +)" diff --git a/extra/ruby-racc/PKGBUILD b/extra/ruby-racc/PKGBUILD new file mode 100644 index 00000000..71221b41 --- /dev/null +++ b/extra/ruby-racc/PKGBUILD @@ -0,0 +1,8 @@ +# move native code to proper place (where ruby expects it) +eval "$( + declare -f package | \ + sed ' + /local _gemdir.*/ a local _install_platform="$(ruby --disable-all -e '"'"'puts RUBY_PLATFORM'"'"')" + s|${pkgdir}/usr/lib/ruby/${_extension_api_version}/${_platform}|${pkgdir}/usr/lib/ruby/${_extension_api_version}/${_install_platform}|g + ' +)" diff --git a/extra/ruby-stringio/PKGBUILD b/extra/ruby-stringio/PKGBUILD new file mode 100644 index 00000000..71221b41 --- /dev/null +++ b/extra/ruby-stringio/PKGBUILD @@ -0,0 +1,8 @@ +# move native code to proper place (where ruby expects it) +eval "$( + declare -f package | \ + sed ' + /local _gemdir.*/ a local _install_platform="$(ruby --disable-all -e '"'"'puts RUBY_PLATFORM'"'"')" + s|${pkgdir}/usr/lib/ruby/${_extension_api_version}/${_platform}|${pkgdir}/usr/lib/ruby/${_extension_api_version}/${_install_platform}|g + ' +)" diff --git a/extra/ruby/PKGBUILD b/extra/ruby/PKGBUILD new file mode 100644 index 00000000..2ee10842 --- /dev/null +++ b/extra/ruby/PKGBUILD @@ -0,0 +1,17 @@ +# patch architecture in helper shared libs +if [ "${CARCH}" = "pentium4" -o "${CARCH}" = "i686" ]; then + eval "$( + declare -f package_ruby | \ + sed ' + s|x86_64-linux|i686-linux|g + ' + )" +fi +if [ "${CARCH}" = "i486" ]; then + eval "$( + declare -f package_ruby | \ + sed ' + s|x86_64-linux|i486-linux|g + ' + )" +fi diff --git a/extra/rxvt-unicode/PKGBUILD b/extra/rxvt-unicode/PKGBUILD new file mode 100644 index 00000000..65dfc88f --- /dev/null +++ b/extra/rxvt-unicode/PKGBUILD @@ -0,0 +1,13 @@ +eval "$( + declare -f package_rxvt-unicode | \ + sed ' + 2 a arch=('"${arch[*]}"') + ' + declare -f package_rxvt-unicode-terminfo | \ + sed ' + 2 a arch=(any) + ' +)" + +# temporary +source[0]="http://dist.schmorp.de/rxvt-unicode/Attic/${pkgname}-${pkgver}.tar.bz2" diff --git a/extra/s2n-tls/PKGBUILD b/extra/s2n-tls/PKGBUILD new file mode 100644 index 00000000..f96f9937 --- /dev/null +++ b/extra/s2n-tls/PKGBUILD @@ -0,0 +1,7 @@ +# ignore test results, see FS32#166 +eval "$( + declare -f check | \ + sed ' + s/\(cmake.*--target.*test.*\)/\1 || true/ + ' +)" diff --git a/extra/sarg/PKGBUILD b/extra/sarg/PKGBUILD new file mode 100644 index 00000000..6c188a3b --- /dev/null +++ b/extra/sarg/PKGBUILD @@ -0,0 +1,8 @@ +source+=(no-werror.patch) +sha256sums+=(42744656ddc442d7823859f170750c4b69e5dc599230218dd3016f7a74809a4d) +eval "$( + declare -f prepare \ + | sed ' + $ i patch -p1 -i "$srcdir"/no-werror.patch + ' +)" diff --git a/extra/sarg/no-werror.patch b/extra/sarg/no-werror.patch new file mode 100644 index 00000000..7d04349b Binary files /dev/null and b/extra/sarg/no-werror.patch differ diff --git a/extra/sensors-applet/PKGBUILD b/extra/sensors-applet/PKGBUILD new file mode 100644 index 00000000..b398bc88 --- /dev/null +++ b/extra/sensors-applet/PKGBUILD @@ -0,0 +1,3 @@ +# libxnvctrl is Nvidia only, so sorry, there is no 32-bit version for +# it, then we will not build support for it.. +depends=(${depends[@]//libxnvctrl/}) diff --git a/extra/serialdv/PKGBUILD b/extra/serialdv/PKGBUILD new file mode 100644 index 00000000..e63c7670 --- /dev/null +++ b/extra/serialdv/PKGBUILD @@ -0,0 +1,6 @@ +eval "$( + declare -f package | \ + sed ' + s|/usr/lib64|/usr/lib|g + ' +)" diff --git a/extra/skim/PKGBUILD b/extra/skim/PKGBUILD new file mode 100644 index 00000000..2f1d05f4 --- /dev/null +++ b/extra/skim/PKGBUILD @@ -0,0 +1,11 @@ +# test fails, because 8589934592 does not fit in 32 bit + +eval "$( + { + declare -f prepare \ + || printf 'prepare()\n{\n:\n}\n' + } \ + | sed ' + 2 a sed -i "s/8589934592\(.*\)8589934592/12345\112345/" "skim-$pkgver/src/util.rs" + ' +)" diff --git a/extra/smbnetfs/PKGBUILD b/extra/smbnetfs/PKGBUILD new file mode 100644 index 00000000..75ed9722 --- /dev/null +++ b/extra/smbnetfs/PKGBUILD @@ -0,0 +1,10 @@ +# https://sourceforge.net/p/smbnetfs/git/ci/f0e109dcc9e14b914d8f5877b4482e79d24a0ad6/ +eval "$( + { + declare -f prepare || \ + printf 'prepare() {\n}\n' + } \ + | sed ' + $i sed -i '"'"'\\,^#include $,d'"'"' "$srcdir"/$pkgname-$pkgver/src/function.c + ' +)" diff --git a/extra/sonic-visualiser/PKGBUILD b/extra/sonic-visualiser/PKGBUILD new file mode 100644 index 00000000..201e561e --- /dev/null +++ b/extra/sonic-visualiser/PKGBUILD @@ -0,0 +1,6 @@ +eval "$( + declare -f prepare | \ + sed ' + 3 a sed '"'"'285 s/-1, 1, 10/-1.01, 1, 10/'"'"' -i svcore/base/test/TestScaleTickIntervals.h + ' +)" diff --git a/extra/spiped/PKGBUILD b/extra/spiped/PKGBUILD new file mode 100644 index 00000000..191380c4 --- /dev/null +++ b/extra/spiped/PKGBUILD @@ -0,0 +1,2 @@ +# hangs clients on i486 +unset check diff --git a/extra/spirv-llvm-translator/PKGBUILD b/extra/spirv-llvm-translator/PKGBUILD new file mode 100644 index 00000000..f00a3a39 --- /dev/null +++ b/extra/spirv-llvm-translator/PKGBUILD @@ -0,0 +1,15 @@ +# ignore failing tests around debug info +# Failed Tests (7): +# LLVM_SPIRV :: DebugInfo/X86/dbg-declare-alloca.ll +# LLVM_SPIRV :: DebugInfo/X86/dbg-declare-arg.ll +# LLVM_SPIRV :: DebugInfo/X86/dbg-value-const-byref.ll +# LLVM_SPIRV :: DebugInfo/X86/dw_op_minus_direct.ll +# LLVM_SPIRV :: DebugInfo/X86/dwarf-aranges-no-dwarf-labels.ll +# LLVM_SPIRV :: DebugInfo/X86/frame-register.ll +# LLVM_SPIRV :: DebugInfo/X86/this-stack_value.ll +eval "$( + declare -f check | \ + sed ' + s/\(.*make.*test\)/\1 || true/ + ' +)" diff --git a/extra/spring/PKGBUILD b/extra/spring/PKGBUILD new file mode 100644 index 00000000..4759b375 --- /dev/null +++ b/extra/spring/PKGBUILD @@ -0,0 +1,14 @@ +# https://springrts.com/mantis/view.php?id=5413 + +source+=('gold-linker.patch') +sha512sums+=('7d29099f589f4ab70262ebb307f905bdaa7e20606421ca2efaf69d391b271d3e1015f44087161106546ebe1ef197dc758c5de0120feff3f473e69ec96555d3a8') + +eval "$( + declare -f prepare | \ + sed ' + 2 a \ + cd spring_$pkgver \ + patch -Np1 -i ../gold-linker.patch \ + cd .. + ' +)" diff --git a/extra/spring/gold-linker.patch b/extra/spring/gold-linker.patch new file mode 100644 index 00000000..aac5e7d9 Binary files /dev/null and b/extra/spring/gold-linker.patch differ diff --git a/extra/squid/PKGBUILD b/extra/squid/PKGBUILD new file mode 100644 index 00000000..1a2bcc45 --- /dev/null +++ b/extra/squid/PKGBUILD @@ -0,0 +1,13 @@ +# testing libatomic for __atomic_load_8 fails in configure.ac, following the idea in +# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=830942 +# TODO: report upstream in squid project + +# i486-specific +if [ "${CARCH}" = "i486" ]; then + eval "$( + declare -f build | \ + sed ' + s|make|make LDFLAGS="-Wl,--as-needed -latomic -Wl,--no-as-needed"|g + '; + )" +fi diff --git a/extra/stratisd/PKGBUILD b/extra/stratisd/PKGBUILD new file mode 100644 index 00000000..b0518fe7 --- /dev/null +++ b/extra/stratisd/PKGBUILD @@ -0,0 +1,6 @@ +eval "$( + declare -f build | \ + sed ' + 2 a export TARGET="${CARCH}-unknown-linux-gnu" + ' +)" diff --git a/extra/swi-prolog/PKGBUILD b/extra/swi-prolog/PKGBUILD new file mode 100644 index 00000000..78308eb8 --- /dev/null +++ b/extra/swi-prolog/PKGBUILD @@ -0,0 +1,11 @@ +# do not execute tests in parallel with -j 8! + +eval "$( + declare -f build check | \ + sed ' + s|ctest -j 8|ctest| + ' +)" + +# takes far too long! disabling tests +unset check diff --git a/extra/teamspeak3-server/PKGBUILD b/extra/teamspeak3-server/PKGBUILD new file mode 100644 index 00000000..cdeed180 --- /dev/null +++ b/extra/teamspeak3-server/PKGBUILD @@ -0,0 +1,14 @@ +sha256sums_i686=('78b6fe92c51d68f86baee36fd45dda9602a609a2493c04f65125b5bfeee9df59') +source_pentium4=("${source_i686[@]}") +sha256sums_pentium4=("${sha256sums_i686[@]}") + +# set _TSARCH for pentium4 directly instead of trying to patch the +# if CARCH -> _TSRACH=... +if [ "${CARCH}" = "pentium4" ]; then + eval "$( + declare -f package | \ + sed ' + s/${_TSARCH}/x86/g + ' + )" +fi diff --git a/extra/teamspeak3/PKGBUILD b/extra/teamspeak3/PKGBUILD new file mode 100644 index 00000000..96b32bd7 --- /dev/null +++ b/extra/teamspeak3/PKGBUILD @@ -0,0 +1,15 @@ +for ((i=0; i<${#source[@]}; i++)); do + if [ "${source[${i}]}" = "https://files.teamspeak-services.com/releases/client/${pkgver}/TeamSpeak3-Client-linux_amd64-${pkgver}.run" ]; then + source[${i}]="https://files.teamspeak-services.com/releases/client/${pkgver}/TeamSpeak3-Client-linux_x86-${pkgver}.run" + sha512sums[${i}]='54a6d7ad03a357a78be71710e7878b9b5c0a54d175bf4242a35ba82df1abfa692dc4d4c921099677c5d163caf18b68db73a87b8637b216ef5c72eaa25b6deab7' + fi +done + + + +eval "$( + declare -f prepare | \ + sed ' + s|TeamSpeak3-Client-linux_amd64|TeamSpeak3-Client-linux_x86| + ' +)" diff --git a/extra/teeworlds/PKGBUILD b/extra/teeworlds/PKGBUILD new file mode 100644 index 00000000..2dc03c3f --- /dev/null +++ b/extra/teeworlds/PKGBUILD @@ -0,0 +1,6 @@ +eval "$( + declare -f package | \ + sed ' + s@x86_64@x86@g + ' +)" diff --git a/extra/tensorflow/PKGBUILD b/extra/tensorflow/PKGBUILD new file mode 100644 index 00000000..61820fe9 --- /dev/null +++ b/extra/tensorflow/PKGBUILD @@ -0,0 +1,13 @@ +eval "$( + declare -f prepare | \ + sed ' + s|export CC_OPT_FLAGS="-march=x86-64"|export CC_OPT_FLAGS="-march=${CARCH}"| + ' +)" + +makedepends=( + $( + printf '%s\n' "${makedepends[@]}" | \ + sed 's/cuda//' | sed 's/cudnn//' + ) +) diff --git a/extra/terraform/PKGBUILD b/extra/terraform/PKGBUILD new file mode 100644 index 00000000..3692e5fe --- /dev/null +++ b/extra/terraform/PKGBUILD @@ -0,0 +1 @@ +unset check diff --git a/extra/testssl.sh/PKGBUILD b/extra/testssl.sh/PKGBUILD new file mode 100644 index 00000000..c4a6b219 --- /dev/null +++ b/extra/testssl.sh/PKGBUILD @@ -0,0 +1,2 @@ +# disable tests, take forever or hang slaves +unset check diff --git a/extra/thrift/PKGBUILD b/extra/thrift/PKGBUILD new file mode 100644 index 00000000..e4eebdec --- /dev/null +++ b/extra/thrift/PKGBUILD @@ -0,0 +1,8 @@ +# somehow, the directory of boost is wrongly determined during configure + +eval "$( + declare -f build | \ + sed ' + 4 a sed -i '"'"'/^\\s*libsubdirs=/{ :a; /\\*)/{ s/$/\\nlibsubdirs=lib/; b; }; N; ba; }'"'"' configure + ' +)" diff --git a/extra/tinyemu/PKGBUILD b/extra/tinyemu/PKGBUILD new file mode 100644 index 00000000..b7af84e1 --- /dev/null +++ b/extra/tinyemu/PKGBUILD @@ -0,0 +1,11 @@ +# disable 128 bit RISCV on 32-bit targets, not supported +eval "$( + { + declare -f prepare || \ + printf 'prepare() {\n}\n' + } \ + | sed ' + $i sed -i s/^CONFIG_INT128=.*/#CONFIG_INT128=n/ "$m" + ' +)" + diff --git a/extra/tpm2-tools/PKGBUILD b/extra/tpm2-tools/PKGBUILD new file mode 100644 index 00000000..12056bad --- /dev/null +++ b/extra/tpm2-tools/PKGBUILD @@ -0,0 +1,3 @@ +# check() is calling full regression testing for days! this kills +# slaves and has thus been disabled.. +unset check diff --git a/extra/tpm2-tss-engine/PKGBUILD b/extra/tpm2-tss-engine/PKGBUILD new file mode 100644 index 00000000..612ef265 --- /dev/null +++ b/extra/tpm2-tss-engine/PKGBUILD @@ -0,0 +1,3 @@ +# tests hanging slaves +# shasum for tpm2-tss-engine_check.sh (which skips the test) +sha512sums[2]='0071a0bb54af9bcb95df724bc774a1b96b4142f91c45dc9e9ae7cf51d409b74a96c644bfa89e59ceb13f1249e36dfdcd4f0a607388d9e68a8ff5347bf7758a3e' diff --git a/extra/tpm2-tss-engine/tpm2-tss-engine_check.sh b/extra/tpm2-tss-engine/tpm2-tss-engine_check.sh new file mode 100644 index 00000000..7bcff090 --- /dev/null +++ b/extra/tpm2-tss-engine/tpm2-tss-engine_check.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +echo 'we skip the tests' diff --git a/extra/v2ray/PKGBUILD b/extra/v2ray/PKGBUILD new file mode 100644 index 00000000..6d55fcd6 --- /dev/null +++ b/extra/v2ray/PKGBUILD @@ -0,0 +1,9 @@ +eval "$( + declare -f package | \ + sed ' + s@/v2ray-custom-linux-64/@/v2ray-custom-linux-32/@ + ' +)" + +# tests hang or last forever +unset check diff --git a/extra/vamp-aubio-plugins/PKGBUILD b/extra/vamp-aubio-plugins/PKGBUILD new file mode 100644 index 00000000..7d884b2e --- /dev/null +++ b/extra/vamp-aubio-plugins/PKGBUILD @@ -0,0 +1,11 @@ +eval "$( + { + declare -f prepare || \ + printf 'prepare() {\n}\n' + } \ + | sed ' + $i sed -i '"'"' \ + 48 s/x86_64/i686/ \ + '"'"' vamp-aubio-plugins-0.5.1/wscript + ' +)" diff --git a/extra/vault/PKGBUILD b/extra/vault/PKGBUILD new file mode 100644 index 00000000..ef7e780c --- /dev/null +++ b/extra/vault/PKGBUILD @@ -0,0 +1,6 @@ +eval "$( + declare -f build | \ + sed ' + s,amd64,386, + ' +)" diff --git a/extra/vbam/PKGBUILD b/extra/vbam/PKGBUILD new file mode 100644 index 00000000..c96133dc --- /dev/null +++ b/extra/vbam/PKGBUILD @@ -0,0 +1 @@ +makedepends+=('nasm') diff --git a/extra/virtualbox/PKGBUILD b/extra/virtualbox/PKGBUILD new file mode 100644 index 00000000..037684be --- /dev/null +++ b/extra/virtualbox/PKGBUILD @@ -0,0 +1,49 @@ +# set manually sysctl vm.mmap_min_addr=0 before building this package + +# linker runs out of memory on 32-bit +eval "$( + declare -f build | \ + sed ' + 3 i LDFLAGS+=" -Wl,--no-keep-memory" + 3 i CFLAGS+=" -g1" + 3 i CXXFLAGS+=" -g1" + ' +)" + +# Parallel builds lead to "virtual memory exhausted"? +# not sure, if still needed (or in fact, working) +eval "$( + declare -f build | \ + sed ' + \@^\s*echo @ { + N + \@\n\s*kmk @ d + } + s|kmk|kmk -j 1| + ' | \ + sed ' + \@^\s*\./configure @ { + s@--disable-\S\+@@g + s@--enable-\S\+@@g + s@configure @\0--only-additions --disable-kmods @ + } + '; +)" + +pkgname=( + $( + printf '%s\n' "${pkgname[@]}" \ + | grep '^virtualbox-guest-' \ + | grep -v -- '-nox$' + ) +) + +# let's not use too much memory, gcc tmpfiles can in this +# case also be put on a real /tmp (instead of tmpfs) to reduce +# preasure on the RAM +eval "$( + declare -f build | \ + sed ' + /source/ i \ sed -i 's/-pipe//g' Config.kmk + ' +)" diff --git a/extra/vtk/PKGBUILD b/extra/vtk/PKGBUILD new file mode 100644 index 00000000..7f6e25a1 --- /dev/null +++ b/extra/vtk/PKGBUILD @@ -0,0 +1,4 @@ +# no python-matplotlib on i486 +if [ "$CARCH" = 'i486' ]; then + makedepends=(${makedepends[@]//python-matplotlib/}) +fi diff --git a/extra/wine-gecko/PKGBUILD b/extra/wine-gecko/PKGBUILD new file mode 100644 index 00000000..1b732d45 --- /dev/null +++ b/extra/wine-gecko/PKGBUILD @@ -0,0 +1,6 @@ +eval "$( + declare -f package | \ + sed ' + s/$pkgname-$pkgver-x86_64.msi//g + ' +)" diff --git a/extra/wine/30-win32-aliases.conf b/extra/wine/30-win32-aliases.conf new file mode 100644 index 00000000..99ae1f7b --- /dev/null +++ b/extra/wine/30-win32-aliases.conf @@ -0,0 +1,20 @@ + + + + + MS Shell Dlg + Microsoft Sans Serif + sans-serif + + + MS Shell Dlg 2 + Tahoma + sans-serif + + + + MS Sans Serif + Microsoft Sans Serif + sans-serif + + diff --git a/extra/wine/PKGBUILD b/extra/wine/PKGBUILD new file mode 100644 index 00000000..2a624290 --- /dev/null +++ b/extra/wine/PKGBUILD @@ -0,0 +1,154 @@ +# Maintainer: Sven-Hendrik Haase +# Contributor: Jan "heftig" Steffens +# Contributor: Eduardo Romero +# Contributor: Giovanni Scafora + +pkgname=wine +pkgver=8.5 +pkgrel=1 + +_pkgbasever=${pkgver/rc/-rc} + +source=(https://dl.winehq.org/wine/source/8.x/$pkgname-$_pkgbasever.tar.xz{,.sign} + 30-win32-aliases.conf + wine-binfmt.conf) +sha512sums=('f6aaab8a32eb7bce7f48d21d99417c9e6e8fe41b3d36320762775ef954db7ddd4fcff01d56475f35038d814557834a41a9e3ae85e5cae8a1b820c5044b42a327' + 'SKIP' + '6e54ece7ec7022b3c9d94ad64bdf1017338da16c618966e8baf398e6f18f80f7b0576edf1d1da47ed77b96d577e4cbb2bb0156b0b11c183a0accf22654b0a2bb' + 'bdde7ae015d8a98ba55e84b86dc05aca1d4f8de85be7e4bd6187054bfe4ac83b5a20538945b63fb073caab78022141e9545685e4e3698c97ff173cf30859e285') +validpgpkeys=(5AC1A08B03BD7A313E0A955AF5E6E9EEB9461DD7 + DA23579A74D4AD9AF9D3F945CEFAC8EAAF17519D) + +pkgdesc="A compatibility layer for running Windows programs" +url="https://www.winehq.org" +arch=(i486 i686 pentium4 x86_64) +options=(staticlibs !lto) +license=(LGPL) +depends=( + fontconfig fontconfig + libxcursor libxcursor + libxrandr libxrandr + libxi libxi + gettext gettext + freetype2 freetype2 + gcc-libs gcc-libs + libpcap libpcap + desktop-file-utils +) +makedepends=(autoconf bison perl flex + giflib giflib + gnutls gnutls + libxinerama libxinerama + libxcomposite libxcomposite + libxxf86vm libxxf86vm + v4l-utils v4l-utils + libpulse libpulse + alsa-lib alsa-lib + libxcomposite libxcomposite + mesa mesa + mesa-libgl mesa-libgl + opencl-icd-loader opencl-icd-loader + gst-plugins-base-libs gst-plugins-base-libs + vulkan-icd-loader vulkan-icd-loader + sdl2 sdl2 + libcups libcups + libgphoto2 + sane + vulkan-headers + samba + opencl-headers +) +optdepends=( + giflib giflib + libldap libldap + gnutls gnutls + v4l-utils v4l-utils + libpulse libpulse + alsa-plugins alsa-plugins + alsa-lib alsa-lib + libxcomposite libxcomposite + libxinerama libxinerama + opencl-icd-loader opencl-icd-loader + gst-plugins-base-libs gst-plugins-base-libs + sdl2 sdl2 + libgphoto2 + sane + cups + samba dosbox +) +makedepends=(${makedepends[@]} ${depends[@]}) +install=wine.install + +prepare() { + # Allow ccache to work + mv $pkgname-$_pkgbasever $pkgname + + # Doesn't compile without remove these flags as of 4.10 + export CFLAGS="${CFLAGS/-fno-plt/} -ffat-lto-objects" + export LDFLAGS="${LDFLAGS/,-z,now/}" + + # Get rid of old build dirs + rm -rf $pkgname-{32,64}-build + mkdir $pkgname-32-build +} + +build() { + cd "$srcdir" + + msg2 "Building Wine-64..." + + mkdir $pkgname-64-build + cd "$srcdir/$pkgname-64-build" + ../$pkgname/configure \ + --prefix=/usr \ + --libdir=/usr/lib \ + --with-x \ + --with-gstreamer \ + --enable-win64 + # Gstreamer was disabled for FS#33655 + + make + + _wine32opts=( + --libdir=/usr/lib32 + --with-wine64="$srcdir/$pkgname-64-build" + ) + + export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" + + msg2 "Building Wine-32..." + cd "$srcdir/$pkgname-32-build" + ../$pkgname/configure \ + --prefix=/usr \ + --with-x \ + --with-gstreamer \ + "${_wine32opts[@]}" + + make +} + +package() { + msg2 "Packaging Wine-32..." + cd "$srcdir/$pkgname-32-build" + + make prefix="$pkgdir/usr" \ + libdir="$pkgdir/usr/lib32" \ + dlldir="$pkgdir/usr/lib32/wine" install + + msg2 "Packaging Wine-64..." + cd "$srcdir/$pkgname-64-build" + make prefix="$pkgdir/usr" \ + libdir="$pkgdir/usr/lib" \ + dlldir="$pkgdir/usr/lib/wine" install + + # Font aliasing settings for Win32 applications + install -d "$pkgdir"/usr/share/fontconfig/conf.{avail,default} + install -m644 "$srcdir/30-win32-aliases.conf" "$pkgdir/usr/share/fontconfig/conf.avail" + ln -s ../conf.avail/30-win32-aliases.conf "$pkgdir/usr/share/fontconfig/conf.default/30-win32-aliases.conf" + install -Dm 644 "$srcdir/wine-binfmt.conf" "$pkgdir/usr/lib/binfmt.d/wine.conf" + + i686-w64-mingw32-strip --strip-unneeded "$pkgdir"/usr/lib32/wine/i386-windows/*.dll + x86_64-w64-mingw32-strip --strip-unneeded "$pkgdir"/usr/lib/wine/x86_64-windows/*.dll +} + +# vim:set ts=8 sts=2 sw=2 et: diff --git a/extra/wine/wine-binfmt.conf b/extra/wine/wine-binfmt.conf new file mode 100644 index 00000000..4d430733 --- /dev/null +++ b/extra/wine/wine-binfmt.conf @@ -0,0 +1,2 @@ +# Start WINE on Windows executables +:DOSWin:M::MZ::/usr/bin/wine: diff --git a/extra/wine/wine.install b/extra/wine/wine.install new file mode 100644 index 00000000..cbe10cc5 --- /dev/null +++ b/extra/wine/wine.install @@ -0,0 +1,7 @@ +post_install() { + echo "Run 'systemctl restart systemd-binfmt' in order to make the wine binfmt available on your system." +} + +post_remove() { + echo "binfmt binary formats will be updated at reboot" +} diff --git a/extra/xaos/PKGBUILD b/extra/xaos/PKGBUILD new file mode 100644 index 00000000..15dd3e6c --- /dev/null +++ b/extra/xaos/PKGBUILD @@ -0,0 +1,14 @@ +source+=('xaos.patch') +sha256sums+=('b07cdc88be38a30a40bccc2f999bff50ae8a25fc10ed4f2f7c7e2ff117f085e5') + +eval "$( + { + declare -f prepare || \ + printf 'prepare() {\n}\n' + } \ + | sed ' + $i patch -p1 -N -i "$srcdir/xaos.patch" -d "$srcdir/$pkgname-$pkgver" \ + gendesk -f -n --pkgname=$pkgname --pkgdesc="$pkgdesc" \\\ + --categories='"'"'Application;Graphics'"'"' + ' +)" diff --git a/extra/xaos/xaos.patch b/extra/xaos/xaos.patch new file mode 100644 index 00000000..7f29f57a Binary files /dev/null and b/extra/xaos/xaos.patch differ diff --git a/extra/yder/PKGBUILD b/extra/yder/PKGBUILD new file mode 100644 index 00000000..edf9e606 --- /dev/null +++ b/extra/yder/PKGBUILD @@ -0,0 +1,2 @@ +# FS#69632 +makedepends+=(systemd) diff --git a/extra/z3/PKGBUILD b/extra/z3/PKGBUILD new file mode 100644 index 00000000..7b727e00 --- /dev/null +++ b/extra/z3/PKGBUILD @@ -0,0 +1,9 @@ +# LTO on i486 results in out-of-memory +if [ "$CARCH" == 'i486' ]; then + eval "$( + declare -f build | \ + sed ' + s/-DZ3_LINK_TIME_OPTIMIZATION=1/-DZ3_LINK_TIME_OPTIMIZATION=0/ + ' + )" +fi diff --git a/extra/zeroc-ice/PKGBUILD b/extra/zeroc-ice/PKGBUILD new file mode 100644 index 00000000..b82d04eb --- /dev/null +++ b/extra/zeroc-ice/PKGBUILD @@ -0,0 +1,7 @@ +eval "$( + declare -f package_zeroc-ice| \ + sed ' + s|rm.*/usr/lib.*|| + s|mv.*/usr/lib64.*/usr/lib.*|| + ' +)" diff --git a/extra/zeromq/PKGBUILD b/extra/zeromq/PKGBUILD new file mode 100644 index 00000000..a86965d9 --- /dev/null +++ b/extra/zeromq/PKGBUILD @@ -0,0 +1,9 @@ +# libpgm causes linking issues with intrinsics on 32-bit +depends=(${depends[@]/libpgm/}) + +eval "$( + declare -f build | \ + sed ' + s/--with-pgm // + ' +)" diff --git a/extra/zig/PKGBUILD b/extra/zig/PKGBUILD new file mode 100644 index 00000000..5dc0b4f4 --- /dev/null +++ b/extra/zig/PKGBUILD @@ -0,0 +1,3 @@ +# check() raises OOM-errors +unset check +unset checkdepends -- cgit v1.2.3-54-g00ecf