The eclass installs libcap to execute the setcap program, so it
must be installed in /. Optional libcap linking is handled by the
USE=caps flag, which is unrelated to this eclass, so the DEPEND
declaration is not needed on EAPI 7.
Closes: https://bugs.gentoo.org/700018
Signed-off-by: David
The old autoconf-2.13 version requires options to be specified
before the file name argument, so packages with WANT_AUTOCONF="2.1"
would fail to build in a sysroot with the -l option at the end.
Closes: https://bugs.gentoo.org/710792
Signed-off-by: David Michael
---
eclass/autotools.
The eclass installs libcap to execute the setcap program, so it
must be installed in /. Optional libcap linking is handled by the
USE=caps flag, which is unrelated to this eclass, so the DEPEND
declaration is not needed on EAPI 7.
Closes: https://bugs.gentoo.org/700018
Signed-off-by: David
It executes sed at build time, so it should be installed in /.
Signed-off-by: David Michael
---
Hi,
Here is another simple dependency move to put a required program in the
correct ROOT so it can be executed during the build. It's basically the
same as 814ab1294edf3565fc02fe63d15d6fa7ca8
Signed-off-by: David Michael
---
Changes since v1:
* Drop the dependency altogether
eclass/fixheadtails.eclass | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/eclass/fixheadtails.eclass b/eclass/fixheadtails.eclass
index c19d33924aa..475b182843a 100644
--- a/eclass
On Fri, Mar 20, 2020 at 5:12 PM David Michael wrote:
> Signed-off-by: David Michael
> ---
>
> Changes since v1:
> * Drop the dependency altogether
>
> eclass/fixheadtails.eclass | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/eclas
Signed-off-by: David Michael
---
Hi,
I'd like to be able to install qt5 packages in a sysroot for staging,
and this is an initial patch for it. The pkg-config variables might not
be required, but it seemed appropriate to pass the sysroot-configured
versions through the build. There are
On Fri, Mar 27, 2020 at 4:49 PM James Le Cuirot wrote:
> On Fri, 27 Mar 2020 13:10:34 -0400
> David Michael wrote:
>
> > I'd like to be able to install qt5 packages in a sysroot for staging,
> > and this is an initial patch for it. The pkg-config variables might n
On Tue, Apr 14, 2020 at 10:32 PM Matt Turner wrote:
> At the same time, fix the dependency on sys-libs/libcap by moving it to
> RDEPEND, as dependencies in DEPEND/BDEPEND are not guaranteed to exist
> during pkg_postinst() when this eclass is intended to run.
The BDEPEND was added for https://bu
The build system's rpm2tar command is executed during unpack, so it
must be install in /.
Signed-off-by: David Michael
---
This patch fixes failures like this:
>>> Unpacking source...
>>> Unpacking urw-fonts-2.4-9.fc13.src.rpm to
/var/tmp/portage/media-fon
On Sat, Apr 18, 2020 at 11:15 AM David Michael wrote:
> The build system's rpm2tar command is executed during unpack, so it
> must be install in /.
>
> Signed-off-by: David Michael
> ---
>
> This patch fixes failures like this:
> >>> Unpacking source.
On Tue, May 5, 2020 at 4:22 PM Peter Stuge wrote:
> Hi,
>
> I'm trying something out over here and I'm surprised to find that
> acct-group/* do not work with ROOT+SYSROOT != "/".
>
> Should I file yet another bug about this?
>
> I suppose the limitation is in user.eclass, but what about the 11 bug
This adds support for using system-bootstrap to build Rust for the
armv5tel profile. It does not add binary bootstrap compilers.
Signed-off-by: David Michael
---
Hi,
I have an ARM9 chip that I'd like to be able to target for Rust
packages. Things are getting masked in the armv5tel pr
Signed-off-by: David Michael
---
eclass/acct-group.eclass | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/eclass/acct-group.eclass b/eclass/acct-group.eclass
index 19a378e0b06..56e6391ef42 100644
--- a/eclass/acct-group.eclass
+++ b/eclass/acct-group.eclass
@@ -34,8
Signed-off-by: David Michael
---
eclass/acct-user.eclass | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/eclass/acct-user.eclass b/eclass/acct-user.eclass
index 56a4e83e8bf..96a076e106e 100644
--- a/eclass/acct-user.eclass
+++ b/eclass/acct-user.eclass
@@ -42,8 +42,12
On Tue, Sep 8, 2020 at 12:04 PM Michał Górny wrote:
> On Tue, 2020-09-08 at 11:57 -0400, David Michael wrote:
> > Signed-off-by: David Michael
> > ---
> > eclass/acct-group.eclass | 6 +-
> > 1 file changed, 5 insertions(+), 1 deletion(-)
> >
> >
Hi,
This fix might not be so straightforward. A configuration I tested
hit a dependency loop with shadow -> pambase -> systemd -> a bunch of
groups -> shadow. It is possible to bootstrap around by emerging
shadow with no USE flags first, but I don't know how acceptable it is
to introduce new dep
On Wed, Sep 9, 2020 at 5:37 AM Alexis Ballier wrote:
> On Tue, 8 Sep 2020 15:54:14 -0400
> David Michael wrote:
>
> > Hi,
> >
> > This fix might not be so straightforward. A configuration I tested
> > hit a dependency loop with shadow -> pambase -> sys
Signed-off-by: David Michael
---
Grepping through the ebuilds using this eclass shows that they're all on
EAPI 6. A bunch of workarounds could be dropped along with EAPI 5, but
it isn't necessary to fix anything, so feel free to ignore this patch.
eclass/selinux-policy-2.e
Closes: https://bugs.gentoo.org/748483
Signed-off-by: David Michael
---
Hi,
Please start allowing EAPI 7 SELinux policy ebuilds.
Thanks.
David
eclass/selinux-policy-2.eclass | 18 --
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/eclass/selinux-policy-2
On Tue, Nov 3, 2020 at 2:46 AM Ulrich Mueller wrote:
> >>>>> On Mon, 02 Nov 2020, David Michael wrote:
>
> > +if [[ ${EAPI:-0} == [56] ]]; then
>
> Substituting 0 is not necessary here.
I wrote it that way to match all other EAPI conditions in the file.
I'
Signed-off-by: David Michael
---
Changes since v1:
- Dropped unnecessary EAPI default value
- Fixed eapply array awareness
eclass/selinux-policy-2.eclass | 47 +-
1 file changed, 12 insertions(+), 35 deletions(-)
diff --git a/eclass/selinux-policy-2.eclass
d to exist while cross-compiling (e.g. gtk+ can't BDEPEND
on itself, so the cross-compiled gtk+ can be installed before the
native gtk+, which fails from gtk-query-immodules not existing).
Closes: https://bugs.gentoo.org/757483
Signed-off-by: David Michael
---
Hi,
Here is an eclass patch to
On Thu, Jan 7, 2021 at 3:42 AM Mart Raudsepp wrote:
> Ühel kenal päeval, K, 06.01.2021 kell 19:27, kirjutas Matt Turner:
> > From: David Michael
> > The vala dependencies are declared in BDEPEND since EAPI 7 so that
> > the valac command is natively executable. W
DOCS only got installed from the multilib-minimal_src_install call,
so they were missing from non-multilib packages. This corrects a
behavior difference from xorg-2.eclass where autotools-utils.eclass
installed DOCS for the non-multilib case.
Signed-off-by: David Michael
---
eclass/xorg-3
dependency since it was added
in the original kernel.eclass implementation ~20 years ago to
enforce a minimum version to avoid old assembly bugs. All affected
versions are long gone, and it isn't required to install sources
anyway, so skip building the unused binutils dependency.
Signed-off-by:
On Fri, Feb 5, 2021 at 12:58 PM David Michael wrote:
> This converts installation paths prefixed with EROOT or ED to have
> a leading slash, switches DEPEND to BDEPEND for EAPI 7 so tools are
> installed in BROOT and natively executable, and makes eapply_user
> the default src_prep
On Mon, May 3, 2021 at 4:41 AM Sergei Trofimovich wrote:
> On Sun, 02 May 2021 18:22:43 -0400 fedora@gmail.com wrote:
> > This makes tc-arch identify RISC-V systems as either "riscv64" or
> > "riscv32". It will still return "riscv" for the kernel arch or if
> > bitness is not given in the hos
in ROOTs.
- EAPI > 7: IDEPEND
Install native setcap at install-time; it works everywhere.
Since all remaining users are EAPI 6 and above, declare eclass
compatibility with EAPIs 6, 7, and 8.
Signed-off-by: David Michael
---
Hi,
This is from https://github.com/gentoo/gentoo/pull
On Thu, Jun 17, 2021 at 7:02 AM Ulrich Mueller wrote:
> >>>>> On Thu, 17 Jun 2021, Michał Górny wrote:
> > On Thu, 2021-06-17 at 12:10 +0200, Ulrich Mueller wrote:
> >> > > > > > On Thu, 17 Jun 2021, David Michael wrote:
> >> > @@ -33
Signed-off-by: David Michael
---
eclass/user-info.eclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/eclass/user-info.eclass b/eclass/user-info.eclass
index d349fc17476..8b8538bf843 100644
--- a/eclass/user-info.eclass
+++ b/eclass/user-info.eclass
@@ -5,11 +5,11
Signed-off-by: David Michael
---
eclass/user.eclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eclass/user.eclass b/eclass/user.eclass
index e1f87a383ad..a1fb2a9bbaf 100644
--- a/eclass/user.eclass
+++ b/eclass/user.eclass
@@ -5,7 +5,7 @@
# @MAINTAINER:
# base-sys
resolve names when building
packages in nonempty $SYSROOT at src_install time.
- IDEPEND so the build system can resolve names when installing
binary packages in nonempty $ROOT at pkg_preinst time.
- RDEPEND so the target system can use the accounts.
Signed-off-by: David Michael
resolve names when building
packages in nonempty $SYSROOT at src_install time.
- IDEPEND so the build system can resolve names when installing
binary packages in nonempty $ROOT at pkg_preinst time.
- RDEPEND so the target system can use the accounts.
Signed-off-by: David Michael
On Tue, Jun 22, 2021 at 1:15 PM Ulrich Mueller wrote:
> >>>>> On Tue, 22 Jun 2021, David Michael wrote:
> > -# Then you add appropriate dependency to your package. The dependency
> > -# type(s) should be:
> > -# - DEPEND (+ RDEPEND) if the group is already ne
Also drop support for EAPIs < 5 to match multiprocessing.eclass.
Signed-off-by: David Michael
---
Hi,
Here are a couple patches to support EAPI 8 with meson packages. I also
posted this to https://github.com/gentoo/gentoo/pull/21409 for review.
Thanks.
David
eclass/ninja-utils.eclass |
Signed-off-by: David Michael
---
Hi,
This updates meson.eclass to conform to conventions that other eclasses
seem to follow. E.g. conditional inherits are first (presumably for
function precedence), and defining the inherit guard at the end. It
also removes the split inherit guard. The only
On Thu, Jun 24, 2021 at 12:51 PM Ulrich Mueller wrote:
> >>>>> On Thu, 24 Jun 2021, David Michael wrote:
> > --- a/eclass/ninja-utils.eclass
> > +++ b/eclass/ninja-utils.eclass
> > @@ -1,4 +1,4 @@
> > -# Copyright 1999-2018 Gentoo Foundation
> > +#
This also drops EAPIs < 5 to match toolchain-funcs.eclass. (Its
support for EAPI 0 is an implementation detail so crossdev can
source it, which is not relevant here.)
Signed-off-by: David Michael
---
Hi,
Here is a simple eclass EAPI cleanup with no dependencies. There are
also small twe
Also standardize on one conditional block spacing syntax and drop
some redundant local variables.
Signed-off-by: David Michael
---
Hi,
Here are some EAPI updates for GNOMEy eclasses. This one in particular
would benefit from IDEPEND as most of its functions run native programs
at pkg_post
Signed-off-by: David Michael
---
eclass/gnome.org.eclass | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/eclass/gnome.org.eclass b/eclass/gnome.org.eclass
index dba26155d74..7efd03bfa94 100644
--- a/eclass/gnome.org.eclass
+++ b/eclass/gnome.org.eclass
@@ -7,13 +7,13
On Fri, Jun 25, 2021 at 12:33 PM David Michael wrote:
> @@ -17,9 +17,9 @@
> # * XDG .desktop files cache management
> # * XDG mime information database management
>
> -case "${EAPI:-0}" in
> - 0|1|2|3|4|5|6|7) ;;
> - *) die "EAPI=${EAPI} is
Signed-off-by: David Michael
---
Hi,
Here is a simple update that is blocking a lot of stuff. It moves the
EAPI check outside the inherit guard for bash future-proofing.
Thanks.
David
eclass/autotools.eclass | 22 +-
1 file changed, 9 insertions(+), 13 deletions
This also drops EAPIs < 5 to match toolchain-funcs.eclass.
Signed-off-by: David Michael
---
This probably could have been sent in a series with
https://archives.gentoo.org/gentoo-dev/message/22db5157cab5d6d173483fbc16377081
eclass/udev.eclass | 25 +++--
1 file changed,
conventions.
Signed-off-by: David Michael
---
eclass/db-use.eclass | 159 ---
1 file changed, 58 insertions(+), 101 deletions(-)
diff --git a/eclass/db-use.eclass b/eclass/db-use.eclass
index d23b08d1999..1df07a8a7ac 100644
--- a/eclass/db-use.eclass
+++ b
Signed-off-by: David Michael
---
Hi,
Maybe the banned functions can be dropped? I don't see a removal date,
and it's been over half a year since they were made unusable.
Thanks.
David
eclass/qmake-utils.eclass | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
46 matches
Mail list logo