diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-13 14:01:22 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-13 14:01:22 +0200 |
| commit | d6577d3a03320d55b24c69500a9880c2134ede9a (patch) | |
| tree | 653c2d3c463f708f48cb5cdd32b2d9b3de454d36 | |
| parent | c4540a079b79b0551cadd71286b23edfd9d3c8a2 (diff) | |
| download | my-slackbuilds-d6577d3a03320d55b24c69500a9880c2134ede9a.tar.gz my-slackbuilds-d6577d3a03320d55b24c69500a9880c2134ede9a.zip | |
lightcraft-bin: add version 0.7.1
Repack the upstream x86_64 release tarball of LightCraft, the ArtCraft
non-destructive photo library and raw developer (image + lightcraft-cli).
-current only: the binaries need glibc 2.35.
| -rw-r--r-- | .extras/nvchecker.toml | 6 | ||||
| -rw-r--r-- | README.md | 1 | ||||
| -rw-r--r-- | lightcraft-bin/README | 18 | ||||
| -rw-r--r-- | lightcraft-bin/doinst.sh | 13 | ||||
| -rw-r--r-- | lightcraft-bin/lightcraft-bin.SlackBuild | 81 | ||||
| -rw-r--r-- | lightcraft-bin/lightcraft-bin.info | 10 | ||||
| -rw-r--r-- | lightcraft-bin/slack-desc | 19 |
7 files changed, 148 insertions, 0 deletions
diff --git a/.extras/nvchecker.toml b/.extras/nvchecker.toml index 1dacc03..e8aa80a 100644 --- a/.extras/nvchecker.toml +++ b/.extras/nvchecker.toml @@ -243,3 +243,9 @@ source = "github" github = "storytold/photocraft" use_latest_release = true prefix = "v" + +[lightcraft-bin] +source = "github" +github = "storytold/lightcraft" +use_latest_release = true +prefix = "v" @@ -80,6 +80,7 @@ Each package lives in its own top-level subfolder: | ch57x-keyboard-tool | ✅ | ✅ | ❌ | 1.7.0 | 1.7.0 | | ak820-ctl | ✅ | not tested | ❌ | 0.1.0+git20260414 | 0.1.0+git20260414 | | photocraft-bin | ✅ | ❌ | ❌ | 0.8.2 | 0.8.2 | +| lightcraft-bin | ✅ | ❌ | ❌ | 0.7.1 | 0.7.1 | > **Note on `quickshell`:** Slackware 15.0 ships Qt5 only, so this package is > **Slackware64-current only**. It also relies on private Qt APIs and must be diff --git a/lightcraft-bin/README b/lightcraft-bin/README new file mode 100644 index 0000000..d77d450 --- /dev/null +++ b/lightcraft-bin/README @@ -0,0 +1,18 @@ +LightCraft is an open-source, non-destructive photo library and raw +developer written in pure Rust: a clean-room reimplementation of the +Lightroom workflow. It edits through a scene-referred, wide-gamut, +32-bit float pipeline (GPU-accelerated via wgpu, with a CPU fallback), +decodes its own raw formats and keeps a local, account-free catalog. +The package also ships lightcraft-cli, the headless command-line and +MCP server. + +This package repacks the upstream prebuilt x86_64 binary from the +release tarball. It needs glibc 2.35 or newer, so it targets Slackware +-current rather than 15.0. + +Window-system and GPU libraries (X11/xcb, libxkbcommon, wayland, Vulkan +or EGL) are loaded at runtime and are all part of a full Slackware +install. On Wayland, XWayland is used by default; set +LIGHTCRAFT_WAYLAND=1 for native Wayland. + +Upstream marks LightCraft as alpha and moving fast. diff --git a/lightcraft-bin/doinst.sh b/lightcraft-bin/doinst.sh new file mode 100644 index 0000000..aea0f89 --- /dev/null +++ b/lightcraft-bin/doinst.sh @@ -0,0 +1,13 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +if [ -x /usr/bin/update-mime-database ]; then + /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 +fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/lightcraft-bin/lightcraft-bin.SlackBuild b/lightcraft-bin/lightcraft-bin.SlackBuild new file mode 100644 index 0000000..229fee5 --- /dev/null +++ b/lightcraft-bin/lightcraft-bin.SlackBuild @@ -0,0 +1,81 @@ +#!/bin/bash + +# Slackware build script for lightcraft + +# Copyright 2026 danix <danix@danix.xyz> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=lightcraft-bin +SRCNAM=lightcraft +VERSION=${VERSION:-0.7.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +ARCH=${ARCH:-x86_64} + +# Only x86_64 is supported (pre-built binary, needs a recent glibc) +if [ "$ARCH" != "x86_64" ]; then + echo "ERROR: $PRGNAM is only available for x86_64." + exit 1 +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION-linux-$ARCH +tar xvf $CWD/$SRCNAM-$VERSION-linux-$ARCH.tar.gz --no-same-owner +cd $SRCNAM-$VERSION-linux-$ARCH +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +# Upstream ships an FHS tree (bin/, share/) with already-stripped binaries. +mkdir -p $PKG/usr +cp -a bin share $PKG/usr/ + +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKG/usr/doc +mv $PKG/usr/share/doc/$SRCNAM $PKGDOC +rmdir $PKG/usr/share/doc +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/lightcraft-bin/lightcraft-bin.info b/lightcraft-bin/lightcraft-bin.info new file mode 100644 index 0000000..4700a24 --- /dev/null +++ b/lightcraft-bin/lightcraft-bin.info @@ -0,0 +1,10 @@ +PRGNAM="lightcraft-bin" +VERSION="0.7.1" +HOMEPAGE="https://getartcraft.com/apps/lightcraft" +DOWNLOAD="UNSUPPORTED" +MD5SUM="" +DOWNLOAD_x86_64="https://github.com/storytold/lightcraft/releases/download/v0.7.1/lightcraft-0.7.1-linux-x86_64.tar.gz" +MD5SUM_x86_64="0ed32af1cb6dadca3512de61f5cedca8" +REQUIRES="" +MAINTAINER="danix" +EMAIL="danix@danix.xyz" diff --git a/lightcraft-bin/slack-desc b/lightcraft-bin/slack-desc new file mode 100644 index 0000000..8c30065 --- /dev/null +++ b/lightcraft-bin/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +lightcraft-bin: lightcraft-bin (non-destructive raw photo library) +lightcraft-bin: +lightcraft-bin: LightCraft is a pure-Rust, non-destructive photo library and +lightcraft-bin: raw developer (a clean-room Lightroom reimplementation). It +lightcraft-bin: edits in a scene-referred 32-bit float pipeline, accelerated +lightcraft-bin: on the GPU via wgpu with a CPU fallback, and keeps a local, +lightcraft-bin: account-free catalog. It includes lightcraft-cli, the +lightcraft-bin: headless CLI and MCP server. +lightcraft-bin: +lightcraft-bin: Homepage: https://getartcraft.com/apps/lightcraft +lightcraft-bin: |
