Almost identical to 0.9.6 except for fixing a runtime issue playing
.ape with USE=ffmpeg.
Given USE=mac (also used to play .ape) is stuck with a upper bound,
thought it'd be a good occasion to drop the USE. Please use ffmpeg
to play these (hopefully works fine now).
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Done early to facilitate integration in ::guru for which its CI
is not setup to allow exceptions for duplicates with ::gentoo
at the moment.
If you did need this, you'll be able to find the package there.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This boots but it doesn't yet start up a login prompt. The builtin Hurd
init works.
Conditionalise the libcap dep to Linux (as is the case in the upstream
meson.build) and use a custom libexecdir to avoid clashing with sys-kernel/hurd's
`rc`. I've discussed possibly renaming rc in general w/ OpenRC upstream (navi)
as well.
Signed-off-by: Sam James <sam@gentoo.org>
Gate pidwait behind Linux as it needs epoll. Also, disable `w` as
sys-kernel/hurd provides its own, though we may want to rename it instead
on Hurd (or rename Hurd's but that seems less likely).
Signed-off-by: Sam James <sam@gentoo.org>
Only build btrfs support (what does that even do for shadow?) on Linux
and avoid collision on /bin/login, as sys-kernel/hurd provides its own.
Signed-off-by: Sam James <sam@gentoo.org>
I was hoping to do this later on, but in some ebuilds, it is more appropriate
to use `kernel_Hurd` than it is to look at CHOST, especially as we have
to do a careful match (*-gnu by itself will include Linux).
Signed-off-by: Sam James <sam@gentoo.org>
CTARGET isn't defined unless we go out of our way to do it, use CHOST
which is obviously more appropriate here anyway (u-l isn't a toolchain).
Fixes: 15addb9d59
Signed-off-by: Sam James <sam@gentoo.org>
Pull in Debian's patch [0] to have libc link to -llmachuser -lhurduser,
otherwise all applications would have to do it, and nobody is working
on that. I suspect that upstream will end up doing this (at least for
the time being; I plan on asking for it). It would be the same as librt
and libpthread etc anyway.
[0] https://salsa.debian.org/glibc-team/glibc/-/raw/sid/debian/patches/hurd-i386/tg-mach-hurd-link.diff
Signed-off-by: Sam James <sam@gentoo.org>
We always want it to be available both for testing/avoiding cycles
but also to have the conditional in src_configure be valid.
Signed-off-by: Sam James <sam@gentoo.org>