add darktable
All checks were successful
Release Alpine apk for ARM64v8 Edge / compilation-arm64v8 (push) Successful in 1h45m33s
All checks were successful
Release Alpine apk for ARM64v8 Edge / compilation-arm64v8 (push) Successful in 1h45m33s
This commit is contained in:
parent
c7e81a6e15
commit
d34006ffa3
4 changed files with 112 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ jobs:
|
|||
run: |
|
||||
echo "https://alpine.sakamoto.pl/alpine/$(cat /etc/os-release | grep PRETT | cut -d ' ' -f 3 | cut -d '"' -f 1)/main" > /etc/apk/repositories
|
||||
echo "https://alpine.sakamoto.pl/alpine/$(cat /etc/os-release | grep PRETT | cut -d ' ' -f 3 | cut -d '"' -f 1)/community" >> /etc/apk/repositories
|
||||
echo "https://alpine.sakamoto.pl/alpine/$(cat /etc/os-release | grep PRETT | cut -d ' ' -f 3 | cut -d '"' -f 1)/testing" >> /etc/apk/repositories
|
||||
apk -U upgrade
|
||||
apk add bash git wget curl nodejs sshfs alpine-sdk abuild sudo shadow
|
||||
- name: Checkout
|
||||
|
|
|
|||
60
archived/release_arm64v8.yml
Executable file
60
archived/release_arm64v8.yml
Executable file
|
|
@ -0,0 +1,60 @@
|
|||
# name: "Release Alpine apk for ARM64v8"
|
||||
|
||||
# on:
|
||||
# push:
|
||||
# branches:
|
||||
# - release
|
||||
|
||||
# jobs:
|
||||
# compilation-arm64v8:
|
||||
# runs-on: aarch-64-alpine-latest
|
||||
# steps:
|
||||
# - name: Select faster mirror and add tools
|
||||
# shell: sh
|
||||
# run: |
|
||||
# echo "https://alpine.sakamoto.pl/alpine/$(cat /etc/os-release | grep PRETT | cut -d ' ' -f 3 | cut -d '"' -f 1)/main" > /etc/apk/repositories
|
||||
# echo "https://alpine.sakamoto.pl/alpine/$(cat /etc/os-release | grep PRETT | cut -d ' ' -f 3 | cut -d '"' -f 1)/community" >> /etc/apk/repositories
|
||||
# apk -U upgrade
|
||||
# apk add bash git wget curl nodejs sshfs alpine-sdk abuild sudo shadow
|
||||
# - name: Checkout
|
||||
# uses: actions/checkout@v4
|
||||
# - name: Set up environment and users
|
||||
# run: |
|
||||
# echo "user_allow_other" >> /etc/fuse.conf
|
||||
# adduser runner -u 1003 -D -s /bin/bash -G wheel
|
||||
# addgroup -g 1003 runner
|
||||
# addgroup runner abuild
|
||||
# addgroup runner runner
|
||||
# chmod 660 /etc/sudoers
|
||||
# echo "%wheel ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers
|
||||
# chmod 440 /etc/sudoers
|
||||
# mkdir -p /var/cache/distfiles
|
||||
# chmod a+w /var/cache/distfiles
|
||||
# chsh -s /bin/bash
|
||||
# su - runner -c 'mkdir ~/.abuild'
|
||||
# echo "setup done"
|
||||
# - name: Set up keys
|
||||
# run: |
|
||||
# wget -q https://static.itmodulo.eu/dl/repo/public_keys/alpine/itmodulo%40disroot.org-65b4f779.rsa.pub -P /etc/apk/keys
|
||||
# su - runner -c 'wget -q https://static.itmodulo.eu/dl/repo/public_keys/alpine/itmodulo%40disroot.org-65b4f779.rsa.pub -P ~/.abuild/'
|
||||
# echo "${{ secrets.REPO_PRIVKEY }}" > /home/runner/.abuild/${{ secrets.REPO_PRIVKEY_FILENAME }} && chown runner:runner /home/runner/.abuild/${{ secrets.REPO_PRIVKEY_FILENAME }}
|
||||
# su - runner -c "echo 'PACKAGER_PRIVKEY="/home/runner/.abuild/${{ secrets.REPO_PRIVKEY_FILENAME }}"' >> ~/.abuild/abuild.conf"
|
||||
# - name: Compile in sequence
|
||||
# run: |
|
||||
# # git clone --depth 1 https://gitlab.alpinelinux.org/alpine/aports.git
|
||||
# # mv aports/community/hexagonrpcd srcpkgs/
|
||||
# # mv aports/testing/gmic srcpkgs/
|
||||
# # mv aports/testing/dissent srcpkgs/
|
||||
# ls srcpkgs | tr ' ' '\n'
|
||||
# mv srcpkgs /home/runner && chown -R runner:runner /home/runner/srcpkgs
|
||||
# echo "/home/runner/packages/srcpkgs" >> /etc/apk/repositories
|
||||
# su - runner -c 'export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"; cd srcpkgs; for i in $(ls ./ ); do cd $i && abuild -r -c; cd .. ; done'
|
||||
# - name: Mount and upload
|
||||
# run: |
|
||||
# su - runner -c 'mkdir hole'
|
||||
# echo "${{ secrets.REPO_LOGIN }}" > /home/runner/id_ecdsa && chown runner:runner /home/runner/id_ecdsa && chmod 600 /home/runner/id_ecdsa
|
||||
# su - runner -c 'sshfs -p "${{ secrets.LOGIN_PORT }}" -o StrictHostKeyChecking=accept-new -o default_permissions,allow_other -o IdentityFile=/home/runner/id_ecdsa "${{ secrets.SERVER_LOGIN_AND_ADDRESS }}":"${{ secrets.SERVER_REPO_PATH }}" /home/runner/hole'
|
||||
# su - runner -c 'ls -lah /home/runner/hole/latest-stable/main/aarch64/'
|
||||
# su - runner -c 'rm -rf hole/latest-stable/main/aarch64/*'
|
||||
# su - runner -c 'cp packages/srcpkgs/aarch64/* hole/latest-stable/main/aarch64/'
|
||||
# su - runner -c 'ls -lah /home/runner/hole/latest-stable/main/aarch64/'
|
||||
78
edge/darktable/APKBUILD
Executable file
78
edge/darktable/APKBUILD
Executable file
|
|
@ -0,0 +1,78 @@
|
|||
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
|
||||
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
|
||||
pkgname=darktable
|
||||
pkgver=5.0.1
|
||||
pkgrel=1
|
||||
pkgdesc="Open source photography workflow application and raw developer"
|
||||
url="https://www.darktable.org/"
|
||||
arch="all -ppc64le"
|
||||
license="GPL-3.0-or-later"
|
||||
depends="dbus:org.freedesktop.Secrets"
|
||||
makedepends="
|
||||
bash
|
||||
cmake
|
||||
colord-dev
|
||||
colord-gtk-dev
|
||||
cups-dev
|
||||
curl-dev
|
||||
exiv2-dev
|
||||
gtk+3.0-dev
|
||||
intltool
|
||||
libjpeg-turbo-dev
|
||||
json-glib-dev
|
||||
lcms2-dev
|
||||
lensfun-dev
|
||||
flickcurl-dev
|
||||
libgphoto2-dev
|
||||
libheif-dev
|
||||
libjxl-dev
|
||||
librsvg-dev
|
||||
libsecret-dev
|
||||
libwebp-dev
|
||||
libxml2-dev
|
||||
libxml2-utils
|
||||
libxslt
|
||||
lua5.4-dev
|
||||
samurai
|
||||
openexr-dev
|
||||
openjpeg-dev
|
||||
pugixml-dev
|
||||
sqlite-dev
|
||||
tiff-dev
|
||||
sdl2-dev
|
||||
graphicsmagick-dev
|
||||
gmic-dev
|
||||
portmidi-dev
|
||||
iso-codes-dev
|
||||
"
|
||||
ldpath="/usr/lib/$pkgname"
|
||||
subpackages="$pkgname-dbg $pkgname-doc $pkgname-lang"
|
||||
options="!check" # Dependencies missing
|
||||
source="https://github.com/darktable-org/darktable/releases/download/release-$pkgver/darktable-$pkgver.tar.xz
|
||||
disable-missing-musl-simd-symbol.patch
|
||||
"
|
||||
|
||||
build() {
|
||||
local cmake_crossopts
|
||||
if [ "$CBUILD" != "$CHOST" ]; then
|
||||
cmake_crossopts="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
|
||||
fi
|
||||
cmake -B build -G Ninja \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DBUILD_SHARED_LIBS=True \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DBINARY_PACKAGE_BUILD=ON \
|
||||
-DRAWSPEED_ENABLE_LTO=ON \
|
||||
$cmake_crossopts
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
ce1550221f8806979e073be61f2e96e7fa20b38f37a673868f938e94e37000da8f27c7dd8de04b94635d2252a4d991481f7c8a9af2182285032fb52e6cf25c53 darktable-5.0.1.tar.xz
|
||||
3664a32419de25c266731a208f941fc33be021e66c419de90979b66c2b66a11585082cccb6b2fadf7a4c1616c8b2f4b21c84572c6c3ff0101369b4df4144592a disable-missing-musl-simd-symbol.patch
|
||||
"
|
||||
33
edge/darktable/disable-missing-musl-simd-symbol.patch
Executable file
33
edge/darktable/disable-missing-musl-simd-symbol.patch
Executable file
|
|
@ -0,0 +1,33 @@
|
|||
diff --git a/src/develop/openmp_maths.h b/src/develop/openmp_maths.h
|
||||
index a3d466b..0428431 100644
|
||||
--- a/src/develop/openmp_maths.h
|
||||
+++ b/src/develop/openmp_maths.h
|
||||
@@ -38,7 +38,7 @@ extern float fminf(const float x, const float y);
|
||||
DT_OMP_DECLARE_SIMD()
|
||||
extern float fabsf(const float x);
|
||||
|
||||
-DT_OMP_DECLARE_SIMD()
|
||||
+//DT_OMP_DECLARE_SIMD()
|
||||
extern float powf(const float x, const float y);
|
||||
|
||||
DT_OMP_DECLARE_SIMD()
|
||||
@@ -47,16 +47,16 @@ extern float sqrtf(const float x);
|
||||
DT_OMP_DECLARE_SIMD()
|
||||
extern float cbrtf(const float x);
|
||||
|
||||
-DT_OMP_DECLARE_SIMD()
|
||||
+//DT_OMP_DECLARE_SIMD()
|
||||
extern float log2f(const float x);
|
||||
|
||||
-DT_OMP_DECLARE_SIMD()
|
||||
+//DT_OMP_DECLARE_SIMD()
|
||||
extern float exp2f(const float x);
|
||||
|
||||
DT_OMP_DECLARE_SIMD()
|
||||
extern float log10f(const float x);
|
||||
|
||||
-DT_OMP_DECLARE_SIMD()
|
||||
+//DT_OMP_DECLARE_SIMD()
|
||||
extern float expf(const float x);
|
||||
|
||||
DT_OMP_DECLARE_SIMD()
|
||||
Loading…
Reference in a new issue