Commit d1e5b333 authored by Hiroki Tagato's avatar Hiroki Tagato
Browse files

x11/awww: Rename from x11/swww, update to 0.12.1, and unbreak

The upstream has moved from GitHub to Codeberg and renamed from swww
to awww.

Update to the latest version and unbreak build.

While here, add a patch to use std::process::Command for commmand
execution instead of Linux-specific rustix::runtime.

Changelog: https://codeberg.org/LGFae/awww/src/tag/v0.12.1/CHANGELOG.md

PR:		296847
Approved by:	nivit (maintainer)
parent 3807b5d4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5503,3 +5503,4 @@ devel/pecl-pcov|devel/php-pcov|2026-07-13|Converted to standard extension from p
net/pecl-xmlrpc|net/php-xmlrpc|2026-07-14|Converted to standard extension from pecl extension
misc/py-lance-namespace-urllib3-client|databases/py-lance-namespace-urllib3-client|2026-07-16|Remove duplicate port
net/proxychains|net/proxychains-ng|2026-07-16|Has expired: Use net/proxychains-ng instead
x11/swww|x11/awww|2026-07-17|Upstream renamed
+1 −1
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@
    SUBDIR += ashell
    SUBDIR += aterm
    SUBDIR += autorandr
    SUBDIR += awww
    SUBDIR += babl
    SUBDIR += bbappconf
    SUBDIR += bbdock
@@ -443,7 +444,6 @@
    SUBDIR += swayr
    SUBDIR += swayrbar
    SUBDIR += swaysettings
    SUBDIR += swww
    SUBDIR += sxhkd
    SUBDIR += sxmo-wayout
    SUBDIR += sxpc
+15 −18
Original line number Diff line number Diff line
PORTNAME=	swww
PORTNAME=	awww
DISTVERSIONPREFIX=	v
DISTVERSION=	0.11.2
PORTREVISION=	7
DISTVERSION=	0.12.1
CATEGORIES=	x11
MASTER_SITES=	https://codeberg.org/LGFae/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}

MAINTAINER=	nivit@FreeBSD.org
COMMENT=	Solution to your Wayland Wallpaper Woes
WWW=		https://github.com/LGFae/swww
COMMENT=	Answer to your Wayland Wallpaper Woes
WWW=		https://codeberg.org/LGFae/awww

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/LICENSE

BROKEN=		unrecognized attribute in interface: frozen

BUILD_DEPENDS=	scdoc:textproc/scdoc \
		wayland-protocols>=1.44:graphics/wayland-protocols \
		wayland>=1.23.1:graphics/wayland
LIB_DEPENDS+=	liblz4.so:archivers/liblz4
LIB_DEPENDS=	liblz4.so:archivers/liblz4

USES=		cargo pkgconfig shebangfix
USE_GITHUB=	yes
GH_ACCOUNT=	LGFae

SHEBANG_FILES=	example_scripts/*.sh

CARGO_INSTALL_PATH=	client daemon

WRKSRC=		${WRKDIR}/${PORTNAME}

OPTIONS_DEFINE=	EXAMPLES

EXAMPLES_RUN_DEPENDS=	bash:shells/bash

CARGO_INSTALL_PATH=	client daemon

post-build:
	${WRKSRC}/doc/gen.sh

post-install:
	${INSTALL_PROGRAM} ${CARGO_TARGET_DIR}/release/swww-daemon \
		${STAGEDIR}${PREFIX}/bin/
	(cd ${WRKSRC}/doc/generated && \
		${INSTALL_MAN} *.1 ${STAGEDIR}${PREFIX}/share/man/man1/)
	cd ${WRKSRC}/doc/generated && \
		${INSTALL_MAN} *.1 ${STAGEDIR}${PREFIX}/share/man/man1/

post-install-EXAMPLES-on:
	(cd ${WRKSRC}/example_scripts && \
		${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
	cd ${WRKSRC}/example_scripts && \
		${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}

.include <bsd.port.mk>
+117 −110
Original line number Diff line number Diff line
CARGO_CRATES=	adler2-2.0.1 \
		ahash-0.8.12 \
		anstream-0.6.20 \
		anstyle-1.0.11 \
		anstyle-parse-0.2.7 \
		anstyle-query-1.1.4 \
		anstyle-wincon-3.0.10 \
		alloc-no-stdlib-2.0.4 \
		alloc-stdlib-0.2.2 \
		anstream-1.0.0 \
		anstyle-1.0.14 \
		anstyle-parse-1.0.0 \
		anstyle-query-1.1.5 \
		anstyle-wincon-3.0.11 \
		arrayref-0.3.9 \
		arrayvec-0.7.6 \
		assert_cmd-2.0.17 \
		assert_cmd-2.2.1 \
		autocfg-1.5.0 \
		av-data-0.4.4 \
		base64-0.22.1 \
		bit_field-0.10.3 \
		bitflags-1.3.2 \
		bitflags-2.9.4 \
		bitflags-2.11.1 \
		bitreader-0.3.11 \
		bstr-1.12.0 \
		brotli-decompressor-5.0.0 \
		bstr-1.12.1 \
		byte-slice-cast-1.2.3 \
		bytemuck-1.23.2 \
		bytemuck-1.25.0 \
		byteorder-1.5.0 \
		byteorder-lite-0.1.0 \
		bytes-1.10.1 \
		cfg-expr-0.20.3 \
		cfg-if-1.0.3 \
		clap-4.5.48 \
		clap_builder-4.5.48 \
		clap_complete-4.5.58 \
		clap_derive-4.5.47 \
		clap_lex-0.7.5 \
		bytes-1.11.1 \
		cfg-expr-0.20.7 \
		cfg-if-1.0.4 \
		clap-4.6.1 \
		clap_builder-4.6.0 \
		clap_complete-4.6.2 \
		clap_derive-4.6.1 \
		clap_lex-1.1.0 \
		color_quant-1.1.0 \
		colorchoice-1.0.4 \
		colorchoice-1.0.5 \
		core_maths-0.1.1 \
		cpufeatures-0.3.0 \
		crc32fast-1.5.0 \
		crossbeam-deque-0.8.6 \
		crossbeam-epoch-0.9.18 \
		crossbeam-utils-0.8.21 \
		crunchy-0.2.4 \
		data-url-0.3.2 \
		dav1d-0.10.4 \
		dav1d-0.11.1 \
		dav1d-sys-0.8.3 \
		difflib-0.4.0 \
		doc-comment-0.3.3 \
		document-features-0.2.11 \
		document-features-0.2.12 \
		either-1.15.0 \
		equivalent-1.0.2 \
		errno-0.3.14 \
		euclid-0.22.11 \
		exr-1.73.0 \
		euclid-0.22.14 \
		exr-1.74.0 \
		fallible_collections-0.4.9 \
		fast_image_resize-5.3.0 \
		fastrand-2.3.0 \
		fast_image_resize-6.0.0 \
		fastrand-2.4.1 \
		fax-0.2.6 \
		fax_derive-0.2.0 \
		fdeflate-0.3.7 \
		flate2-1.1.2 \
		flate2-1.1.9 \
		float-cmp-0.9.0 \
		fontconfig-parser-0.5.8 \
		fontdb-0.23.0 \
		gif-0.13.3 \
		half-2.6.0 \
		gif-0.14.2 \
		half-2.7.1 \
		hashbrown-0.13.2 \
		hashbrown-0.16.0 \
		hashbrown-0.17.0 \
		heck-0.5.0 \
		image-0.25.8 \
		image-0.25.10 \
		image-webp-0.2.4 \
		imagesize-0.13.0 \
		indexmap-2.11.4 \
		is_terminal_polyfill-1.70.1 \
		keyframe-1.1.1 \
		kurbo-0.11.3 \
		imagesize-0.14.0 \
		indexmap-2.14.0 \
		is_terminal_polyfill-1.70.2 \
		jxl-bitstream-1.1.0 \
		jxl-coding-1.0.1 \
		jxl-color-0.11.0 \
		jxl-frame-0.13.3 \
		jxl-grid-0.6.1 \
		jxl-image-0.13.0 \
		jxl-jbr-0.2.1 \
		jxl-modular-0.11.2 \
		jxl-oxide-0.12.5 \
		jxl-oxide-common-1.0.0 \
		jxl-render-0.12.3 \
		jxl-threadpool-1.0.0 \
		jxl-vardct-0.11.1 \
		jzon-0.12.5 \
		kurbo-0.13.0 \
		lebe-0.5.3 \
		libc-0.2.175 \
		libm-0.2.15 \
		linux-raw-sys-0.11.0 \
		litrs-0.4.2 \
		log-0.4.28 \
		memchr-2.7.5 \
		memmap2-0.9.8 \
		libc-0.2.186 \
		libm-0.2.16 \
		linux-raw-sys-0.12.1 \
		litrs-1.0.0 \
		log-0.4.29 \
		memchr-2.8.0 \
		memmap2-0.9.10 \
		miniz_oxide-0.8.9 \
		mint-0.5.9 \
		moxcms-0.7.5 \
		moxcms-0.8.1 \
		mp4parse-0.17.0 \
		num-bigint-0.4.6 \
		num-derive-0.4.2 \
		num-integer-0.1.46 \
		num-rational-0.4.2 \
		num-traits-0.2.19 \
		once_cell-1.21.3 \
		once_cell_polyfill-1.70.1 \
		once_cell-1.21.4 \
		once_cell_polyfill-1.70.2 \
		pico-args-0.5.0 \
		pkg-config-0.3.32 \
		png-0.17.16 \
		png-0.18.0 \
		predicates-3.1.3 \
		predicates-core-1.0.9 \
		predicates-tree-1.0.12 \
		proc-macro2-1.0.101 \
		pxfm-0.1.24 \
		pin-project-lite-0.2.17 \
		pkg-config-0.3.33 \
		png-0.18.1 \
		predicates-3.1.4 \
		predicates-core-1.0.10 \
		predicates-tree-1.0.13 \
		proc-macro2-1.0.106 \
		pxfm-0.1.29 \
		qoi-0.4.1 \
		quick-error-2.0.1 \
		quick-xml-0.38.3 \
		quote-1.0.40 \
		quick-xml-0.38.4 \
		quote-1.0.45 \
		rayon-1.12.0 \
		rayon-core-1.13.0 \
		regex-automata-0.4.10 \
		resvg-0.45.1 \
		rgb-0.8.52 \
		regex-automata-0.4.14 \
		resvg-0.47.0 \
		rgb-0.8.53 \
		roxmltree-0.20.0 \
		rustix-1.1.2 \
		roxmltree-0.21.1 \
		rustix-1.1.4 \
		rustybuzz-0.20.1 \
		sd-notify-0.4.5 \
		serde-1.0.225 \
		serde_core-1.0.225 \
		serde_derive-1.0.225 \
		serde_spanned-0.6.9 \
		simd-adler32-0.3.7 \
		serde-1.0.228 \
		serde_core-1.0.228 \
		serde_derive-1.0.228 \
		serde_spanned-1.1.1 \
		simd-adler32-0.3.9 \
		simplecss-0.2.2 \
		siphasher-1.0.1 \
		slotmap-1.0.7 \
		siphasher-1.0.2 \
		slotmap-1.1.1 \
		smallvec-1.15.1 \
		static_assertions-1.1.0 \
		strict-num-0.1.1 \
		strsim-0.11.1 \
		svgtypes-0.15.3 \
		syn-2.0.106 \
		system-deps-7.0.5 \
		target-lexicon-0.13.2 \
		terminal_size-0.4.3 \
		svgtypes-0.16.1 \
		syn-2.0.117 \
		system-deps-7.0.8 \
		target-lexicon-0.13.3 \
		terminal_size-0.4.4 \
		termtree-0.5.1 \
		thiserror-2.0.16 \
		thiserror-impl-2.0.16 \
		tiff-0.10.3 \
		tiny-bench-0.4.0 \
		tiny-skia-0.11.4 \
		tiny-skia-path-0.11.4 \
		tinyvec-1.10.0 \
		thiserror-2.0.18 \
		thiserror-impl-2.0.18 \
		tiff-0.11.3 \
		tiny-skia-0.12.0 \
		tiny-skia-path-0.12.0 \
		tinyvec-1.11.0 \
		tinyvec_macros-0.1.1 \
		toml-0.8.23 \
		toml_datetime-0.6.11 \
		toml_edit-0.22.27 \
		toml-1.1.2+spec-1.1.0 \
		toml_datetime-1.1.1+spec-1.1.0 \
		toml_parser-1.1.2+spec-1.1.0 \
		toml_writer-1.1.1+spec-1.1.0 \
		tracing-0.1.44 \
		tracing-core-0.1.36 \
		ttf-parser-0.25.1 \
		unicode-bidi-0.3.18 \
		unicode-bidi-mirroring-0.4.0 \
		unicode-ccc-0.4.0 \
		unicode-ident-1.0.19 \
		unicode-properties-0.1.3 \
		unicode-script-0.5.7 \
		unicode-ident-1.0.24 \
		unicode-properties-0.1.4 \
		unicode-script-0.5.8 \
		unicode-vo-0.1.0 \
		usvg-0.45.1 \
		usvg-0.47.0 \
		utf8parse-0.2.2 \
		version-compare-0.2.0 \
		version-compare-0.2.1 \
		version_check-0.9.5 \
		wait-timeout-0.2.1 \
		waybackend-0.6.2 \
		waybackend-scanner-0.6.2 \
		weezl-0.1.10 \
		windows-link-0.1.3 \
		windows-link-0.2.0 \
		windows-sys-0.60.2 \
		windows-sys-0.61.0 \
		windows-targets-0.53.3 \
		windows_aarch64_gnullvm-0.53.0 \
		windows_aarch64_msvc-0.53.0 \
		windows_i686_gnu-0.53.0 \
		windows_i686_gnullvm-0.53.0 \
		windows_i686_msvc-0.53.0 \
		windows_x86_64_gnu-0.53.0 \
		windows_x86_64_gnullvm-0.53.0 \
		windows_x86_64_msvc-0.53.0 \
		winnow-0.7.13 \
		waybackend-0.10.1 \
		waybackend-scanner-0.10.1 \
		weezl-0.1.12 \
		windows-link-0.2.1 \
		windows-sys-0.61.2 \
		winnow-1.0.2 \
		xmlwriter-0.1.0 \
		zerocopy-0.8.27 \
		zerocopy-derive-0.8.27 \
		zune-core-0.4.12 \
		zerocopy-0.8.48 \
		zerocopy-derive-0.8.48 \
		zune-core-0.5.1 \
		zune-inflate-0.2.54 \
		zune-jpeg-0.4.21
		zune-jpeg-0.5.15
+0 −0

File changed and moved.

Preview size limit exceeded, changes collapsed.

Loading