Re: [gentoo-dev] Graphics Project disbanded [pkgs up for grabs]
On Sat, 6 Jun, 2020 at 14:50, Aaron Bauman wrote: All, the graphics project has now been disbanded. All packages have been reassigned to maintainer-needed. Bugs will be reassigned soon. Here are a list of the packages that are now up for grabs: ... media-gfx/gnofract4d GitHub PR updated with proxy-maint metadata update: https://github.com/gentoo/gentoo/pull/15987 Chris
[gentoo-portage-dev] [PATCH] man/emerge.1: fix logrotate directory containing elog-save-summary
Signed-off-by: Chris Mayo --- man/emerge.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/emerge.1 b/man/emerge.1 index 2261a771b..28b7f79f5 100644 --- a/man/emerge.1 +++ b/man/emerge.1 @@ -1491,7 +1491,7 @@ Contains a log of all the fetches in the previous emerge invocation. .TP .B /var/log/portage/elog/summary.log -Contains the emerge summaries. Installs \fI/etc/logrotate/elog-save-summary\fR. +Contains the emerge summaries. Installs \fI/etc/logrotate.d/elog-save-summary\fR. .SH "SEE ALSO" .BR "emerge \-\-help", .BR quickpkg (1), -- 2.24.1
[gentoo-dev] [PATCH 1/2] waf-utils.eclass: Support --docdir and --htmldir
waf can optionally set the standard GNU directories [1]. Based on the code for econf in Portage's phase-helpers.sh. [1] https://waf.io/apidocs/tools/gnu_dirs.html Closes: https://bugs.gentoo.org/711612 Signed-off-by: Chris Mayo --- Fixes QA problem with media-video/mpv-0.32.0-r1 reported in the linked bug. eclass/waf-utils.eclass | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/eclass/waf-utils.eclass b/eclass/waf-utils.eclass index 2cb26bc8dfd..a944195b162 100644 --- a/eclass/waf-utils.eclass +++ b/eclass/waf-utils.eclass @@ -69,7 +69,7 @@ waf-utils_src_configure() { [[ ${fail} ]] && die "Invalid use of waf-utils.eclass" - local libdir=() + local conf_args=() # @ECLASS-VARIABLE: WAF_BINARY # @DESCRIPTION: @@ -81,7 +81,15 @@ waf-utils_src_configure() { # @DESCRIPTION: # Variable specifying that you don't want to set the libdir for waf script. # Some scripts does not allow setting it at all and die if they find it. - [[ -z ${NO_WAF_LIBDIR} ]] && libdir=(--libdir="${EPREFIX}/usr/$(get_libdir)") + [[ -z ${NO_WAF_LIBDIR} ]] && conf_args+=(--libdir="${EPREFIX}/usr/$(get_libdir)") + + local waf_help=$("${WAF_BINARY}" --help 2>/dev/null) + if [[ ${waf_help} == *--docdir* ]]; then + conf_args+=( --docdir="${EPREFIX}"/usr/share/doc/${PF} ) + fi + if [[ ${waf_help} == *--htmldir* ]]; then + conf_args+=( --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html ) + fi tc-export AR CC CPP CXX RANLIB @@ -91,7 +99,7 @@ waf-utils_src_configure() { PKGCONFIG="$(tc-getPKG_CONFIG)" "${WAF_BINARY}" "--prefix=${EPREFIX}/usr" - "${libdir[@]}" + "${conf_args[@]}" "${@}" configure ) -- 2.24.1
[gentoo-dev] [PATCH 2/2] waf-utils.eclass: Replace NO_WAF_LIBDIR with an automatic check
Test `waf --help` for --libdir support instead. Signed-off-by: Chris Mayo --- NO_WAF_LIBDIR only used by dev-libs/tut. emerge's OK after this patch. eclass/waf-utils.eclass | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/eclass/waf-utils.eclass b/eclass/waf-utils.eclass index a944195b162..7a894f6bbb7 100644 --- a/eclass/waf-utils.eclass +++ b/eclass/waf-utils.eclass @@ -69,19 +69,12 @@ waf-utils_src_configure() { [[ ${fail} ]] && die "Invalid use of waf-utils.eclass" - local conf_args=() - # @ECLASS-VARIABLE: WAF_BINARY # @DESCRIPTION: # Eclass can use different waf executable. Usually it is located in "${S}/waf". : ${WAF_BINARY:="${S}/waf"} - # @ECLASS-VARIABLE: NO_WAF_LIBDIR - # @DEFAULT_UNSET - # @DESCRIPTION: - # Variable specifying that you don't want to set the libdir for waf script. - # Some scripts does not allow setting it at all and die if they find it. - [[ -z ${NO_WAF_LIBDIR} ]] && conf_args+=(--libdir="${EPREFIX}/usr/$(get_libdir)") + local conf_args=() local waf_help=$("${WAF_BINARY}" --help 2>/dev/null) if [[ ${waf_help} == *--docdir* ]]; then @@ -90,6 +83,9 @@ waf-utils_src_configure() { if [[ ${waf_help} == *--htmldir* ]]; then conf_args+=( --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html ) fi + if [[ ${waf_help} == *--libdir* ]]; then + conf_args+=( --libdir="${EPREFIX}/usr/$(get_libdir)" ) + fi tc-export AR CC CPP CXX RANLIB -- 2.24.1
Re: [gentoo-dev] [PATCH] eutils.eclass: Document optfeature suggests packages not installed
On 03/09/17 22:22, Michael Orlitzky wrote: > On 09/03/2017 11:56 AM, Chris Mayo wrote: >> # >> # The following snippet would suggest app-misc/foo for optional foo support, >> # app-misc/bar or app-misc/baz[bar] for optional bar support >> > > Would the @EXAMPLE tag[0] make sense here? > > > [0] https://devmanual.gentoo.org/eclass-writing/index.html > I believe @EXAMPLE is only for the first documentation block introducing the eclass. At least where it is used for functions the text doesn't show up in the man page. e.g. prefix.eclass hprefixify() and prefixify_ro() https://devmanual.gentoo.org/eclass-reference/prefix.eclass/index.html https://gitweb.gentoo.org/repo/gentoo.git/tree/eclass/prefix.eclass?id=61b861acd7b49083dab687e133f30f3331cb7480
[gentoo-dev] [PATCH] eutils.eclass: Document optfeature suggests packages not installed
--- Please consider this clarification of optfeature. Chris eclass/eutils.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass index fe4339f6b89..f35fa5980d7 100644 --- a/eclass/eutils.eclass +++ b/eclass/eutils.eclass @@ -827,8 +827,8 @@ use_if_iuse() { # @FUNCTION: optfeature # @USAGE: [other atoms] # @DESCRIPTION: -# Print out a message suggesting an optional package (or packages) which -# provide the described functionality +# Print out a message suggesting an optional package (or packages) +# not currently installed which provides the described functionality. # # The following snippet would suggest app-misc/foo for optional foo support, # app-misc/bar or app-misc/baz[bar] for optional bar support -- 2.13.5
[gentoo-dev] [PATCH] systemd.eclass: Improve systemd_install_serviced documentation
Signed-off-by: Chris Mayo <aklh...@gmail.com> --- Nothing added, just suggesting how it could be made easier to understand. Chris eclass/systemd.eclass | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/eclass/systemd.eclass b/eclass/systemd.eclass index 7e46e80119c..49f7480228b 100644 --- a/eclass/systemd.eclass +++ b/eclass/systemd.eclass @@ -178,12 +178,12 @@ systemd_newuserunit() { } # @FUNCTION: systemd_install_serviced -# @USAGE: [] +# @USAGE: [] # @DESCRIPTION: -# Install the file as service.d/00gentoo.conf template. -# The argument specifies the configured service name. -# If not specified, the configuration file name will be used with .conf -# suffix stripped (e.g. foo.service.conf -> foo.service). +# Install as the template .d/00gentoo.conf. +# If is not specified +# with the .conf suffix stripped is used +# (e.g. foo.service.conf -> foo.service.d/00gentoo.conf). systemd_install_serviced() { debug-print-function ${FUNCNAME} "${@}" -- 2.13.0
[gentoo-portage-dev] [PATCH] man/emaint.1: Add sync to synopsis and fix its in sync --auto
Signed-off-by: Chris Mayo <aklh...@gmail.com> --- man/emaint.1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man/emaint.1 b/man/emaint.1 index 24e4744..4617ef8 100644 --- a/man/emaint.1 +++ b/man/emaint.1 @@ -5,7 +5,7 @@ emaint \- performs package management related system health checks and maintenan .BR emaint [\fIoptions\fR] [\fBall\fR | \fBbinhost\fR | \fBcleanresume\fR | \ -\fBmerges\fR | \fBmovebin\fR | \fBmoveinst\fR | \fBworld\fR] +\fBmerges\fR | \fBmovebin\fR | \fBmoveinst\fR | \fBsync\fR | \fBworld\fR] .SH DESCRIPTION The emaint program provides a command line interface to package management health checks and maintenance. @@ -85,7 +85,7 @@ deleted. .SH OPTIONS sync command only .TP .B \-a, \-\-auto -Sync repositories which have its auto\-sync setting set yes, true. +Sync repositories which have their auto\-sync setting set yes, true. .TP .B \-A, \-\-allrepos Sync all repositories which have a sync\-uri specified. -- 2.10.2
[gentoo-dev] [PATCH] eutils.eclass: add 512 icon size to doicon documentation
Signed-off-by: Chris Mayo <aklh...@gmail.com> --- Sent as requested on https://github.com/gentoo/gentoo/pull/3298 eclass/eutils.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass index aaf195b..d868467 100644 --- a/eclass/eutils.eclass +++ b/eclass/eutils.eclass @@ -1062,7 +1062,7 @@ _iconins() { #!!! must specify to install into /usr/share/icons/... !!! #size of the icon, like 48 or 48x48 #supported icon sizes are: -#16 22 24 32 36 48 64 72 96 128 192 256 scalable +#16 22 24 32 36 48 64 72 96 128 192 256 512 scalable # -c, --context #defaults to "apps" # -t, --theme -- 2.10.2