[gentoo-portage-dev] [PATCH v2 1/2] portage.5: Describe userpatch applying rules in more clean wording

2021-04-26 Thread Nekun
Bug: https://bugs.gentoo.org/698244 Signed-off-by: Nekun --- Tried to be more compact and precise, as suggested in the Bugzilla discussion // v2: fix some minor grammar issues man/portage.5 | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/man/portage.5 b/man

[gentoo-portage-dev] [PATCH v2 2/2] ebuild.5: Fix eapply target

2021-04-26 Thread Nekun
More generally, it's a current shell directory (which can be changed in a ebuild) and it can be overrided with -d, maybe we need more clarification here. However, in the default src_prepare it's ${S}. Bug: https://bugs.gentoo.org/698244 Signed-off-by: Nekun --- man/ebuild.5 | 7 --- 1 file

[gentoo-portage-dev] [PATCH 2/2] ebuild.5: Fix eapply target

2021-04-25 Thread Nekun
More generally, it's a current shell directory (which can be changed in a ebuild) and it can be overrided with -d, maybe we need more clarification here. However, in the default src_prepare it's ${S}. Bug: https://bugs.gentoo.org/698244 Signed-off-by: Nekun --- man/ebuild.5 | 7 --- 1 file

[gentoo-portage-dev] [PATCH 1/2] portage.5: Describe userpatch applying rules in more clean wording

2021-04-25 Thread Nekun
Bug: https://bugs.gentoo.org/698244 Signed-off-by: Nekun --- Tried to be more compact and precise, as suggested in the Bugzilla discussion man/portage.5 | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/man/portage.5 b/man/portage.5 index 50f20454c..4e7d8c802

Re: [gentoo-dev] TEXTRELs in assembly program

2021-04-22 Thread Nekun
On 2021-04-22 21:23, Sam James wrote: Such pkg_setups are best avoided if possible because they can be confusing and we have other tools to handle it, so I’m glad you asked! I’d provide a USE flag for this tool and mask it on non-multilib amd64 profiles (or mask everywhere and unmask on the

Re: [gentoo-dev] TEXTRELs in assembly program

2021-04-22 Thread Nekun
Ah, looks like attachment isn't attached, post my ebuild in plain text. EAPI=7 inherit multilib toolchain-funcs DESCRIPTION="Open source assembly language compiler" HOMEPAGE="https://flatassembler.net; SRC_URI="https://flatassembler.net/${P}.tgz; LICENSE="MIT" SLOT="0" KEYWORDS="amd64 x86"

[gentoo-dev] TEXTRELs in assembly program

2021-04-22 Thread Nekun
Hi all, Working on the fasm ebuild, have some questions: 1. fasm is written on itself and has two variants: self-contained binary for x86 and amd64 and linked with libc only for x86. Also, there are tools for working with the proprietary symbolic information format which is libc-linked and

[gentoo-portage-dev] [PATCH v2 1/2] man/portage.5: Add userpatch documentation

2021-04-10 Thread Nekun
Signed-off-by: Nekun --- Also document eapply|eapply_user|PATCHES and fix override logic description man/portage.5 | 31 +++ 1 file changed, 31 insertions(+) diff --git a/man/portage.5 b/man/portage.5 index 247ec5ab0..257dc9d17 100644 --- a/man/portage.5 +++ b/man

[gentoo-portage-dev] [PATCH v2 2/2] ebuild.5: Add eapply documentation

2021-04-10 Thread Nekun
Signed-off-by: Nekun --- man/ebuild.5 | 20 1 file changed, 20 insertions(+) diff --git a/man/ebuild.5 b/man/ebuild.5 index 1afa59eef..460fc0069 100644 --- a/man/ebuild.5 +++ b/man/ebuild.5 @@ -799,6 +799,11 @@ Beginning with \fBEAPI 4\fR, an array or space\-delimited list

[gentoo-portage-dev] [PATCH] man/portage.5: Add userpatch documentation

2021-04-09 Thread Nekun
Signed-off-by: Nekun --- // seems like previous message has wrong Message-Id, resending Starting from EAPI6, this is a built-in Portage functionality, maybe it was not included in Portage documentation eralier because it was epatch.eclass functionality which is exclusive for gentoo repo

[gentoo-portage-dev] [PATCH] man/portage.5: Add userpatch documentation

2021-04-09 Thread Nekun
Signed-off-by: Nekun --- Starting from EAPI6, this is a built-in Portage functionality, maybe it was not included in Portage documentation earlier because it was epatch.eclass functionality which is exclusive for gentoo repo, but according with today's mandatory "eapply_user"

Re: [gentoo-portage-dev] Implement new userpatch feature in existing eclass?

2021-04-08 Thread Nekun
On 2021-04-04 20:49, Zac Medico wrote: Today, I count only 2445, or 8.3% of ebuilds have EAPI 5. I imagine that the migration is moving along, since we deprecated EAPI 5 on 2020-11-26 here: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2e281bb698eb93704e1987dc4df1cf2dd3c2cff

[gentoo-portage-dev] Implement new userpatch feature in existing eclass?

2021-04-04 Thread Nekun
Hi all. Recently, I start working on optional atom specifiers feature in userpatch facility: if package directory name starts with percent sign, following word threated as a regular Portage atom, e.g "/etc/portage/patches/sys-kernel/%<=gentoo-sources-5.4" ==