diff --git a/deskutils/health/Makefile b/deskutils/health/Makefile index 0cea6498b044..f733cabe45ea 100644 --- a/deskutils/health/Makefile +++ b/deskutils/health/Makefile @@ -1,44 +1,41 @@ PORTNAME= health DISTVERSION= 0.95.0 PORTREVISION= 16 CATEGORIES= deskutils MAINTAINER= ports@FreeBSD.org COMMENT= Track your fitness goals WWW= https://gitlab.gnome.org/World/Health LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING -DEPRECATED= fails to build with rust 1.86.0 -EXPIRATION_DATE=2025-04-30 - BUILD_DEPENDS= blueprint-compiler:devel/blueprint-compiler LIB_DEPENDS= libgraphene-1.0.so:graphics/graphene \ libsecret-1.so:security/libsecret \ libtinysparql-3.0.so:devel/tinysparql USES= cargo gettext gnome meson pkgconfig USE_GITLAB= yes USE_GNOME= cairo gtk40 libadwaita GL_SITE= https://gitlab.gnome.org GL_ACCOUNT= World GL_PROJECT= Health MAKE_ENV= ${CARGO_ENV} CARGO_BUILD= no CARGO_INSTALL= no CARGO_TEST= no GLIB_SCHEMAS= dev.Cogitri.Health.gschema.xml .if ${MACHINE_ARCH} == i386 # https://github.com/rust-lang/rust/issues/85598 LTO_UNSAFE= yes CARGO_ENV+= CARGO_PROFILE_RELEASE_LTO=false .endif post-patch: # Make each cargo subcommand very verbose @${REINPLACE_CMD} -e "/cargo_options =/s/ '--/&verbose', &verbose', &/" \ ${WRKSRC}/src/meson.build .include diff --git a/deskutils/health/files/patch-tinysparql b/deskutils/health/files/patch-tinysparql new file mode 100644 index 000000000000..3fe0053cd482 --- /dev/null +++ b/deskutils/health/files/patch-tinysparql @@ -0,0 +1,15 @@ +https://gitlab.gnome.org/World/Rust/tracker-rs/-/commit/c5bece2c2f34 + +ld: error: unable to find library -ltracker-sparql-3.0 + +--- cargo-crates/tracker-sys-0.4.3/src/lib.rs.orig 2006-07-24 01:21:28 UTC ++++ cargo-crates/tracker-sys-0.4.3/src/lib.rs +@@ -310,7 +310,7 @@ impl ::std::fmt::Debug for TrackerSparqlStatement { + } + } + +-#[link(name = "tracker-sparql-3.0")] ++#[link(name = "tinysparql-3.0")] + extern "C" { + + //=========================================================================