7a32d7bc9b
Brings in 2651 upstream commits. Fork changes kept on top: - Catppuccin themes now sit beside upstream's Color Scheme and Accent: a flavour is a whole palette, so it keeps its Mauve accent under Modern and is the same under Classic. - Windows packaging: the standalone CLI zip now ships upstream's shared docs folder (README, licences, NOTICE, font OFLs). - craft-ui and craft-print stay on the masi/craft-libs fork; the craft-libs crates upstream added (craft-pdf, craft-docpath, craft-window) use upstream. - Debrand re-applied to the new upstream text and catalogs. The About-box rule is now one pattern for every language, including the nine catalogs upstream added. - Translations for Theme, the Catppuccin names and the brightness error in every catalog (hu, ko, pl and vi lacked them before this merge too). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
79 lines
2.6 KiB
YAML
79 lines
2.6 KiB
YAML
# .deb and .rpm packages (nfpm: https://nfpm.goreleaser.com). Run by package.sh, which stages
|
|
# the file tree, substitutes its path for ${STAGE} (nfpm doesn't expand env vars in `src`) and
|
|
# exports VERSION and NFPM_ARCH.
|
|
#
|
|
# nfpm package -f packaging/linux/nfpm.yaml -p deb -t dist/release/
|
|
name: vectorcraft
|
|
arch: ${NFPM_ARCH}
|
|
platform: linux
|
|
version: ${VERSION}
|
|
# semver: 0.2.0-rc.1 becomes 0.2.0~rc.1 in deb/rpm, so pre-releases sort before the release.
|
|
version_schema: semver
|
|
release: 1
|
|
section: graphics
|
|
priority: optional
|
|
maintainer: ${VECTORCRAFT_MAINTAINER}
|
|
vendor: Learning Machines LLC
|
|
homepage: https://github.com/storytold/vectorcraft
|
|
license: MIT OR Apache-2.0
|
|
description: |-
|
|
Open-source, native vector illustration app.
|
|
Pen, shape and brush tools, artboards, type, gradients, symbols and live
|
|
effects; opens and saves SVG and PDF.
|
|
Includes vectorcraft-cli, a headless converter and command runner.
|
|
|
|
# The binaries link only glibc and libgcc_s directly. Windowing (X11/Wayland, xkbcommon) and the
|
|
# GPU (Vulkan, EGL/GL) are loaded at runtime, so they are dependencies/recommendations here
|
|
# rather than ELF NEEDED entries.
|
|
overrides:
|
|
deb:
|
|
depends:
|
|
- libc6 (>= 2.35)
|
|
- libgcc-s1
|
|
- libxkbcommon0
|
|
- libvulkan1 | libegl1
|
|
recommends:
|
|
- libwayland-client0
|
|
- libx11-6
|
|
- libx11-xcb1
|
|
- libxcursor1
|
|
- libxi6
|
|
- libxrandr2
|
|
- mesa-vulkan-drivers
|
|
- xdg-desktop-portal
|
|
rpm:
|
|
# Require 64-bit library capabilities, not distro-specific package names. nfpm
|
|
# does not scan ELF dependencies; declare the direct runtimes and glibc floor
|
|
# as well as the libraries loaded at runtime. Release RPMs are amd64/arm64.
|
|
# The glibc floor names libm because the binaries' GLIBC_2.35 symbols (hypot, hypotf) are
|
|
# libm's: RHEL 9's glibc 2.34 provides libc.so.6(GLIBC_2.35) through backports, but not this.
|
|
depends:
|
|
- libc.so.6()(64bit)
|
|
- libm.so.6(GLIBC_2.35)(64bit)
|
|
- libgcc_s.so.1()(64bit)
|
|
- libxkbcommon.so.0()(64bit)
|
|
- (libvulkan.so.1()(64bit) or libEGL.so.1()(64bit))
|
|
recommends:
|
|
- libwayland-client
|
|
- libX11
|
|
- libXcursor
|
|
- libXi
|
|
- libXrandr
|
|
- mesa-vulkan-drivers
|
|
- xdg-desktop-portal
|
|
|
|
contents:
|
|
- src: ${STAGE}/usr/bin/vectorcraft
|
|
dst: /usr/bin/vectorcraft
|
|
file_info: { mode: 0755 }
|
|
- src: ${STAGE}/usr/bin/vectorcraft-cli
|
|
dst: /usr/bin/vectorcraft-cli
|
|
file_info: { mode: 0755 }
|
|
- src: ${STAGE}/usr/share/
|
|
dst: /usr/share/
|
|
type: tree
|
|
|
|
scripts:
|
|
postinstall: packaging/linux/postinst.sh
|
|
postremove: packaging/linux/postinst.sh
|