For USE=debug to work, portage needs to run cargo_src_compile(), but
if `emake` is used in src_install(), it will trigger a rebuild without
debug. If cargo_src_install() is used instead, manpages and symlinks
won't be installed and the binary would have to be moved since there's
no way to make cargo install to /usr/sbin. So remove $(PDATA_TOOLS)
dependency in Makefile instead. Might as well patch out $(STRIP) too.
Signed-off-by: Peter Levine <plevine457@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
With emake, the Makefile just runs `cargo build --release` which
doesn't use ECARGO_ARGS set in cargo_src_configure() and doesn't
respect the debug USE flag. Let cargo_src_compile() handle building.
Signed-off-by: Peter Levine <plevine457@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Add licenses for cargo pkgs. `cargo-license --all-features` shows
Apache-2.0, BSD, GPL-3, MIT, and Unicode-DFS-2016 as hard
requirements. These also happen to satisfy all ORed license
requirements as well.
Signed-off-by: Peter Levine <plevine457@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Add CRATES to make it easier to use the 9999 ebuild as a general
template while only updating the crate versions when needed.
Signed-off-by: Peter Levine <plevine457@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Though it may change with Rust/GCC, Rust/LLVM doesn't support alpha,
hppa, or ia64. And until https://bugs.gentoo.org/769452 is sorted
out, arm, ppc, s390, and sparc will emit "nonsolvable depset(bdepend)"
error.
Signed-off-by: Peter Levine <plevine457@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Prevent issue with activating thinvolume with valid but dangerous flag
setting.
See https://bugzilla.redhat.com/show_bug.cgi?id=2028905.
The fix includes 2 upstream patches:
commit 1fe8a0dbde9f5 ("[thin_check] Allow using --clear-needs-check and --skip-mappings together")
commit 9f3823c97dc0b ("[metadata_checker] Rename function to reflect command line changes")
In the first patch, the test code (thin_check.rs) is removed since 0.9.0 does
not support rust yet.
Closes: https://bugs.gentoo.org/910223
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Closes: https://github.com/gentoo/gentoo/pull/31885
Signed-off-by: Sam James <sam@gentoo.org>
I'm not restoring older sci-libs/indilib because depending on it would
prevent installing latest indilib at the same time, and actually 1.9.8
doesn't build anymore without patching
While Stellarium supports using external indilib, it also has support
for downloading version 1.8.5 inside cmake using CPM, and using the
needed parts of it statically - that's how official packages are built;
here I'm telling CPM to not download it automatically, but use the
source downloaded by portage
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
Bug: https://bugs.gentoo.org/913177
Closes: https://github.com/gentoo/gentoo/pull/32641
Signed-off-by: Joonas Niilola <juippis@gentoo.org>