[gentoo-dev] Packages up for grabs

2020-12-02 Thread Sergey Popov

Dear all

Due to lack of time, i am dropping to maintainer-needed following packages:

app-emulation/dynamips
app-misc/geekcode
net-im/err
net-vpn/vtun
net-wireless/wavemon

Quick summary about current state of these packages in tree:

- app-emulation/dynamips

Have one opened bug(https://bugs.gentoo.org/726652), mostly upstream 
related. Ebuild needs some love(move away from cmake-utils eclass,for 
example).


- app-misc/geekcode

Have one opened bug(https://bugs.gentoo.org/707246). Package is quite 
old, probably a good candidate for last-riting.


- net-im/err

Have two opened bugs. 
One(https://bugs.gentoo.org/show_bug.cgi?id=751865) is about buildsystem 
stuff, other(https://bugs.gentoo.org/show_bug.cgi?id=754663) is related 
to in-tree version being seriously outdated. Version bump will probably 
require to unbundle a lot of stuff.


- net-vpn/vtun

Have one opened bug(https://bugs.gentoo.org/show_bug.cgi?id=708372).
Version in tree is one behind upstream(3.0.4).

- net-wireless/wavemon

Have three bugs opened.
https://bugs.gentoo.org/show_bug.cgi?id=649632 - version bump request
https://bugs.gentoo.org/show_bug.cgi?id=703030 - tweak build-time 
dependency on kernel feature

https://bugs.gentoo.org/show_bug.cgi?id=757396 - in-progress stabilization

--
Best regards, Sergey Popov
Gentoo developer



Re: [gentoo-dev] Packages up for grabs

2020-12-02 Thread Alarig Le Lay
On Wed 02 Dec 2020 11:18:06 GMT, Sergey Popov wrote:
> - net-wireless/wavemon
> 
> Have three bugs opened.
> https://bugs.gentoo.org/show_bug.cgi?id=649632 - version bump request
> https://bugs.gentoo.org/show_bug.cgi?id=703030 - tweak build-time 
> dependency on kernel feature
> https://bugs.gentoo.org/show_bug.cgi?id=757396 - in-progress stabilization

I’m interested to take care of net-wireless/wavemon, I bumped it to
0.9.1 on my own overlay some months ago. I just added the kernel
configuration check and the 0.9.2 version.
https://git.grifon.fr/alarig/SwordArMor-gentoo-overlay/src/branch/master/net-wireless/wavemon

I’ll make a MR for proxy-maint stuff on metadata.xml and then I’ll make
one for the bugs.

-- 
Alarig



[gentoo-dev] Last rites: dev-python/pytest-catchlog

2020-12-02 Thread Aaron Bauman
# Aaron Bauman  (2020-12-02)
# Deprecated. Functionality is native to dev-python/pytest now
# Removal in 14 days
dev-python/pytest-catchlog

-- 
Cheers,
Aaron


signature.asc
Description: PGP signature


[gentoo-dev] [PATCH] gnome2-utils.eclass: skip executing cross-compiled tools

2020-12-02 Thread David Michael
Executing tools installed in ROOT will fail when cross-compiling,
so this prints a warning about manually running the command instead
in that case.  The warning is copied from dev-libs/glib.

This also reorders the exception handling by increasing severity so
that the "nothing to do" non-error returns first, otherwise the
expected problem of unexecutable cross-compiled commands returns,
otherwise the unexpected problem of missing commands returns.

The immodule cache functions were updated to handle a different
problem.  They run native tools from BROOT, but they are not
guaranteed 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 fix bug #757483.  I wasn't sure if the
cross-compiling message should be a warning while everything else was a
debug-print, but I left it matching what glib does.  The message in the
glib ebuilds should be dropped if this is applied.

Thanks.

David

 eclass/gnome2-utils.eclass | 98 +-
 1 file changed, 75 insertions(+), 23 deletions(-)

diff --git a/eclass/gnome2-utils.eclass b/eclass/gnome2-utils.eclass
index 06643db0f60..4abaf3a1a5c 100644
--- a/eclass/gnome2-utils.eclass
+++ b/eclass/gnome2-utils.eclass
@@ -16,8 +16,9 @@
 
 [[ ${EAPI:-0} == [012345] ]] && inherit multilib
 # eutils.eclass: emktemp
+# toolchain-funs.eclass: tc-is-cross-compiler
 # xdg-utils.eclass: xdg_environment_reset, xdg_icon_cache_update
-inherit eutils xdg-utils
+inherit eutils toolchain-funcs xdg-utils
 
 case "${EAPI:-0}" in
0|1|2|3|4|5|6|7) ;;
@@ -125,13 +126,21 @@ gnome2_gconf_install() {
has ${EAPI:-0} 0 1 2 && ! use prefix && EROOT="${ROOT}"
local updater="${EROOT%/}${GCONFTOOL_BIN}"
 
-   if [[ ! -x "${updater}" ]]; then
-   debug-print "${updater} is not executable"
+   if [[ -z "${GNOME2_ECLASS_SCHEMAS}" ]]; then
+   debug-print "No GNOME 2 GConf schemas found"
return
fi
 
-   if [[ -z "${GNOME2_ECLASS_SCHEMAS}" ]]; then
-   debug-print "No GNOME 2 GConf schemas found"
+   if tc-is-cross-compiler ; then
+   ewarn "Updating of GNOME 2 GConf schemas skipped due to 
cross-compilation."
+   ewarn "You might want to run gconftool-2 manually on the target 
for"
+   ewarn "your final image and re-run it when packages installing"
+   ewarn "GNOME 2 GConf schemas get upgraded or added to the 
image."
+   return
+   fi
+
+   if [[ ! -x "${updater}" ]]; then
+   debug-print "${updater} is not executable"
return
fi
 
@@ -166,13 +175,20 @@ gnome2_gconf_uninstall() {
has ${EAPI:-0} 0 1 2 && ! use prefix && EROOT="${ROOT}"
local updater="${EROOT%/}${GCONFTOOL_BIN}"
 
-   if [[ ! -x "${updater}" ]]; then
-   debug-print "${updater} is not executable"
+   if [[ -z "${GNOME2_ECLASS_SCHEMAS}" ]]; then
+   debug-print "No GNOME 2 GConf schemas found"
return
fi
 
-   if [[ -z "${GNOME2_ECLASS_SCHEMAS}" ]]; then
-   debug-print "No GNOME 2 GConf schemas found"
+   if tc-is-cross-compiler ; then
+   ewarn "Removal of GNOME 2 GConf schemas skipped due to 
cross-compilation."
+   ewarn "You might want to run gconftool-2 manually on the target 
for"
+   ewarn "your final image to uninstall this package's schemas."
+   return
+   fi
+
+   if [[ ! -x "${updater}" ]]; then
+   debug-print "${updater} is not executable"
return
fi
 
@@ -269,13 +285,21 @@ gnome2_scrollkeeper_update() {
has ${EAPI:-0} 0 1 2 && ! use prefix && EROOT="${ROOT}"
local updater="${EROOT%/}${SCROLLKEEPER_UPDATE_BIN}"
 
-   if [[ ! -x "${updater}" ]] ; then
-   debug-print "${updater} is not executable"
+   if [[ -z "${GNOME2_ECLASS_SCROLLS}" ]]; then
+   debug-print "No scroll cache to update"
return
fi
 
-   if [[ -z "${GNOME2_ECLASS_SCROLLS}" ]]; then
-   debug-print "No scroll cache to update"
+   if tc-is-cross-compiler ; then
+   ewarn "Updating of scrollkeeper database skipped due to 
cross-compilation."
+   ewarn "You might want to run scrollkeeper-update manually on 
the target"
+   ewarn "for your final image and re-run it when packages 
installing"
+   ewarn "scrollkeeper OMF files get upgraded or added to the 
image."
+   return
+   fi
+
+   if [[ ! -x "${updater}" ]] ; then
+   debug-print "${updater} is not executable"
return
fi
 
@@ -305,6 +329,14 @@ gnome2_schemas_update() {
has ${E