[gentoo-dev] [PATCH 05/10] python-r1.eclass: Remove stale EAPI=4 branch in globals

2017-03-01 Thread Michał Górny
--- eclass/python-r1.eclass | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass index 929ec8fa8f89..549474630353 100644 --- a/eclass/python-r1.eclass +++ b/eclass/python-r1.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gento

Re: [gentoo-dev] profiles/arch/amd64/no-multilib cleanup WAS: [PATCH 1/8] profiles/hardened: Include base amd64-multilib profile in subprofile

2017-03-02 Thread Michał Górny
W dniu 02.03.2017, czw o godzinie 15∶09 +0100, użytkownik Michael Haubenwallner napisał: > On 01/21/2017 11:59 PM, Michał Górny wrote: > > Include arch/amd64/no-multilib in the hardened no-multilib amd64 > > variant. Confirmed with profile-dumper that it does not currently chan

[gentoo-dev] Last rites: net-misc/livestreamer

2017-03-04 Thread Michał Górny
# Michał Górny (04 Mar 2017) # The program is abandoned upstream and reported to no longer work with # Twitch and multiple other streaming sites. Working alternatives are # net-misc/streamlink (which is a maintained fork) or media-video/orion. # Removal in 30 days. Bug #604858. net-misc

[gentoo-dev] [RFC] CPU_FLAGS_ARM

2017-03-04 Thread Michał Górny
on 3 instruction set vfpv4 - Use the VFP version 4 instruction set Please review the flags, test the code and let us know what you think of it. [1]:https://github.com/mgorny/cpuid2cpuflags/tree/arm-wip -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

Re: [gentoo-dev] [PATCHES] python-r1, add integrity checks for redefined control vars

2017-03-07 Thread Michał Górny
Merged, along with radhermit's patch. -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

Re: [gentoo-dev] [PATCH] python-utils-r1.eclass: python_wrapper_setup, fix exporting env

2017-03-07 Thread Michał Górny
W dniu 26.02.2017, nie o godzinie 22∶54 +0100, użytkownik Michał Górny napisał: > Fix python_wrapper_setup function to move setting environment variables > for PATH and PKG_CONFIG_PATH outside the 'if'. Otherwise, they are only > set on the initial invocation of python_wr

Re: [gentoo-dev] new virtual -- virtual/go to fix go build time dependencies

2017-03-08 Thread Michał Górny
endency changes ) ...which boils down to people having no clue what := actually means and not caring to learn that before proposing awesome solutions. -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

[gentoo-dev] How to deal with package forks?

2017-03-09 Thread Michał Górny
#x27;d also have to figure out some reasonable way to suggest the upgrade first to ~arch users, then to stable. What do you think? -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

[gentoo-dev] [PATCH] eutils.eclass: Deprecate validate_desktop_entries

2017-03-11 Thread Michał Górny
The validate_desktop_entries function is redundant to the built-in .desktop file checks done by Portage directly. It is used in total by two packages for both of which bugs have been filed. --- eclass/eutils.eclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eclass/eutils.eclass b/eclas

[gentoo-dev] [PATCH] estack.eclass: Split estack* logic from eutils

2017-03-11 Thread Michał Górny
Split the estack_* and related functions from eutils into a dedicated estack.eclass. Those functions have significant complexity and are not used frequently, therefore they benefit from having a separate file and an explicit dedicated maintainer. The new eclass is implicitly inherited by eutils to

[gentoo-dev] [PATCH] epatch.eclass: Split epatch* logic from eutils

2017-03-11 Thread Michał Górny
Move epatch and epatch_user (along with the descriptions for all their variables) into a dedicated epatch.eclass. This function is very complex, therefore it benefits from separate eclass and a dedicated maintainer. Furthermore, it is mostly obsoleted by eapply* in EAPI 6. The new eclass is implic

Re: [gentoo-dev] [PATCH] epatch.eclass: Split epatch* logic from eutils

2017-03-11 Thread Michał Górny
W dniu 11.03.2017, sob o godzinie 09∶04 -0500, użytkownik Michael Orlitzky napisał: > On 03/11/2017 08:51 AM, Michał Górny wrote: > > > > However, the inherit will be removed in EAPI 7 > > > > ... > > > > -inherit estack multilib toolchain-funcs > &

[gentoo-dev] [PATCH v2] estack.eclass: Split estack* logic from eutils

2017-03-11 Thread Michał Górny
Split the estack_* and related functions from eutils into a dedicated estack.eclass. Those functions have significant complexity and are not used frequently, therefore they benefit from having a separate file and an explicit dedicated maintainer. The new eclass is implicitly inherited by eutils to

[gentoo-dev] [PATCH v2] epatch.eclass: Split epatch* logic from eutils

2017-03-11 Thread Michał Górny
Move epatch and epatch_user (along with the descriptions for all their variables) into a dedicated epatch.eclass. This function is very complex, therefore it benefits from separate eclass and a dedicated maintainer. Furthermore, it is mostly obsoleted by eapply* in EAPI 6. The new eclass is implic

[gentoo-dev] [PATCH] eutils.eclass: Kill multilib inherit for EAPI 7

2017-03-11 Thread Michał Górny
The multilib.eclass seems not to be used by any eutils function. Therefore, disable the inherit for EAPI 7. It is being preserved for older EAPIs not to break ebuilds inheriting this eclass and using multilib.eclass functions implicitly. --- eclass/eutils.eclass | 4 ++-- 1 file changed, 2 inserti

Re: [gentoo-dev] How to deal with package forks?

2017-03-11 Thread Michał Górny
W dniu 11.03.2017, sob o godzinie 21∶49 -0500, użytkownik Rich Freeman napisał: > On Sat, Mar 11, 2017 at 8:48 PM, Kent Fredric wrote: > > On Thu, 09 Mar 2017 16:34:20 +0100 > > Michał Górny wrote: > > > > > 1. classic forks -- package B is forked out of A, and

Re: [gentoo-dev] Retrieve get_libdir path on EAPI 6

2017-03-12 Thread Michał Górny
variable?  > > On mgorny post I read that get_libdir function is part of EAPI, but I > don't understand how this means. I use portage-2.3.4. > This means that you can use it without inheriting any eclass. It's provided by portage directly. -- Best regards, Michał Górny signat

[gentoo-dev] Developers and projects, please stop holding ransom over unmaintained packages!

2017-03-12 Thread Michał Górny
without asking first. Just because some project didn't mind being backup/advisory maintainer for your package doesn't mean that it wants to maintain it by itself. Any comments? -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

Re: [gentoo-dev] Retrieve get_libdir path on EAPI 6

2017-03-12 Thread Michał Górny
related to > a wrong version of some packages? If you are attempting to use it in global scope (i.e. outside phase functions), then it won't work. Such a use is forbidden since it would mean that global variables differ depending on profile being used. -- Best regards, Michał Górny sig

[gentoo-dev] [PATCH v3] estack.eclass: Split estack* logic from eutils

2017-03-12 Thread Michał Górny
Split the estack_* and related functions from eutils into a dedicated estack.eclass. Those functions have significant complexity and are not used frequently, therefore they benefit from having a separate file and an explicit dedicated maintainer. The new eclass is implicitly inherited by eutils to

[gentoo-dev] [PATCH] ltprune.eclass: Split prune_libtool_files out of eutils

2017-03-12 Thread Michał Górny
*.la' -print0) - - if [[ ${queue[@]} ]]; then - rm -f "${queue[@]}" - fi -} - # @FUNCTION: optfeature # @USAGE: [other atoms] # @DESCRIPTION: diff --git a/eclass/ltprune.eclass b/eclass/ltprune.eclass new file mode 100644 index ..731

[gentoo-dev] [PATCH v2] ltprune.eclass

2017-03-12 Thread Michał Górny
Changes in v2: - now in split commits to ease review, - removed eqawarn to avoid circ dep on eutils.

[gentoo-dev] [PATCH 1/3] eutils.eclass: prune_libtool_files, punt pointless Prefix logic

2017-03-12 Thread Michał Górny
Remove the unnecessary Prefix logic from prune_libtool_files(). There is no functional difference between starting a find in ${D} and ${ED} (since ${D} is not supposed to contain other directories on a Prefix system), and using the latter implies unnecessary hackery for older EAPIs. --- eclass/eut

[gentoo-dev] [PATCH 2/3] eutils.eclass: prune_libtool_files, make .pc subst errors fatal

2017-03-12 Thread Michał Górny
Make the substitution errors in prune_libtool_files logic fatal to avoid the dependency of eqawarn. They're extremely unlikely to happen anyway. --- eclass/eutils.eclass | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass index ab2

[gentoo-dev] [PATCH 3/3] ltprune.eclass: Split prune_libtool_files out of eutils

2017-03-12 Thread Michał Górny
if [[ ${reason} ]]; then - einfo "Removing unnecessary ${f#${D%/}} (${reason})" - queue+=( "${f}" ) - fi - done < <(find "${D}" -xtype f -name '*.la' -print0) - - if [[ ${queue[@]} ]]; then -

Re: [gentoo-dev] [PATCH 2/3] eutils.eclass: prune_libtool_files, make .pc subst errors fatal

2017-03-12 Thread Michał Górny
W dniu 12.03.2017, nie o godzinie 12∶35 +0100, użytkownik Alexis Ballier napisał: > On Sun, 12 Mar 2017 12:00:08 +0100 > Michał Górny wrote: > > > Make the substitution errors in prune_libtool_files logic fatal to > > avoid the dependency of eqawarn. They're ex

Re: [gentoo-dev] Unused profiles

2017-03-14 Thread Michał Górny
W dniu 14.03.2017, wto o godzinie 17∶19 -0700, użytkownik Jack Morgan napisał: > > On 01/19/17 09:08, Michał Górny wrote: > > (CC-ing a lot of potentially interested teams) > > > > Hi, everyone. > > > > I've did a quick sweep of profiles/ directory f

[gentoo-dev] [PATCH] sys-devel/autoconf: Convert from eblits into an eclass, #586424

2017-03-16 Thread Michał Górny
Convert the usage of eblits in sys-devel/autoconf into an equivalent eclass. This makes the ebuilds more readable, more predictable and fixes compliance with stricter versions of the package manager (i.e. a future release of Portage). --- eclass/toolchain-autoconf.eclass | 70 +++

Re: [gentoo-dev] [PATCH] sys-devel/autoconf: Convert from eblits into an eclass, #586424

2017-03-16 Thread Michał Górny
ll fix that now and test it as well. -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

[gentoo-dev] [PATCH v2] sys-devel/autoconf: Convert from eblits into an eclass, #586424

2017-03-16 Thread Michał Górny
Convert the usage of eblits in sys-devel/autoconf into an equivalent eclass. This makes the ebuilds more readable, more predictable and fixes compliance with stricter versions of the package manager (i.e. a future release of Portage). // changes in v2: fixed phase function call in - --- eclas

[gentoo-dev] [PATCH] sys-libs/glibc: Convert from eblits to eclass, #586422

2017-03-16 Thread Michał Górny
// note: i'm in process of testing [building binpkgs] of all glibc versions to confirm i didn't accidentally break anything. - fails in compile phase both before and after the change. --- eclass/toolchain-glibc.eclass | 1404 +++ sys-libs/glibc/files/ebli

Re: [gentoo-dev] [PATCH] sys-devel/autoconf: Convert from eblits into an eclass, #586424

2017-03-16 Thread Michał Górny
stopped diverting this thread. If you don't have anything to add regarding the patch in question, then please hesitate from commenting. If you love eblits that much, then please take appropriate measures to get them into the next EAPI. Because so far your non-productive comments on any effort of cleaning this mess up reach the level of pure trolling. -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

Re: [gentoo-dev] Re: new package category: net-vpn

2017-03-17 Thread Michał Górny
On pią, 2017-03-17 at 14:57 +0100, Jason A. Donenfeld wrote: > Done. It's nice that you waited for people to actually wake up around the world to give you feedback. -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

[gentoo-dev] [PATCH] epunt-cxx.eclass: Split C++ check punting code out of eutils

2017-03-17 Thread Michał Górny
Split the epunt_cxx (plus internal code) to a dedicated eclass. This is rarely needed, usually indicates a dead upstream and requires the ELT-patches framework. The patches are going to be split to a separate package, and the new eclass will therefore need to DEPEND on it. We do not want the depend

[gentoo-dev] [RFC] Master plan for fixing elibtoolize

2017-03-17 Thread Michał Górny
we need to apply it elsewhere?]; disable explicit libtoolize when Portage supports that. 4. when new Portage goes stable, start killing libtool.eclass. Any comments? [1]:https://bugs.gentoo.org/show_bug.cgi?id=566424 -- Best regards, Michał Górny signature.asc Description: This is a digita

[gentoo-dev] [PATCHES] Moving ELT-patches to app-portage/elt-patches

2017-03-17 Thread Michał Górny
this passes review positively, I will create a git.g.o repository for ELT-patches. -- Best regards, Michał Górny

[gentoo-dev] [PATCH 2/3] libtool.eclass: Use app-portage/elt-patches to provide patch files

2017-03-17 Thread Michał Górny
--- eclass/libtool.eclass | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/eclass/libtool.eclass b/eclass/libtool.eclass index a8df6ca58fef..037a6a2734df 100644 --- a/eclass/libtool.eclass +++ b/eclass/libtool.eclass @@ -16,18 +16,10 @@ if [[ -z ${_LIBTOOL_ECLAS

[gentoo-dev] [PATCH 1/3] app-portage/elt-patches: Split patches for elibtoolize into pkg, #566424

2017-03-17 Thread Michał Górny
--- app-portage/elt-patches/Manifest| 1 + app-portage/elt-patches/elt-patches-20170317.ebuild | 21 + app-portage/elt-patches/metadata.xml| 7 +++ 3 files changed, 29 insertions(+) create mode 100644 app-portage/elt-patches/Manifest

Re: [gentoo-dev] [PATCH 2/3] libtool.eclass: Use app-portage/elt-patches to provide patch files

2017-03-17 Thread Michał Górny
On pią, 2017-03-17 at 15:47 -0400, Mike Gilbert wrote: > On Fri, Mar 17, 2017 at 2:48 PM, Michał Górny wrote: > > --- > > eclass/libtool.eclass | 14 +++--- > > 1 file changed, 3 insertions(+), 11 deletions(-) > > > > diff --git a/eclass/libtool.eclass

Re: [gentoo-dev] [RFC] Master plan for fixing elibtoolize

2017-03-17 Thread Michał Górny
On pią, 2017-03-17 at 23:38 +, James Le Cuirot wrote: > On Fri, 17 Mar 2017 18:14:12 +0100 > Michał Górny wrote: > > > Hi, everyone. > > > > Since the bug about libtool.eclass [1] has not received any attention, I > > hereby declare maintainer timeout and s

Re: [gentoo-dev] [PATCH] eutils.eclass: Deprecate validate_desktop_entries

2017-03-18 Thread Michał Górny
On sob, 2017-03-11 at 14:06 +0100, Michał Górny wrote: > The validate_desktop_entries function is redundant to the built-in > .desktop file checks done by Portage directly. It is used in total by > two packages for both of which bugs have been filed. > --- > eclass/eutils.eclass |

Re: [gentoo-dev] [PATCH v2] epatch.eclass: Split epatch* logic from eutils

2017-03-18 Thread Michał Górny
On sob, 2017-03-11 at 16:03 +0100, Michał Górny wrote: > Move epatch and epatch_user (along with the descriptions for all their > variables) into a dedicated epatch.eclass. This function is very > complex, therefore it benefits from separate eclass and a dedicated > maintainer. Furthe

Re: [gentoo-dev] [PATCH] eutils.eclass: Kill multilib inherit for EAPI 7

2017-03-18 Thread Michał Górny
On sob, 2017-03-11 at 16:07 +0100, Michał Górny wrote: > The multilib.eclass seems not to be used by any eutils function. > Therefore, disable the inherit for EAPI 7. It is being preserved for > older EAPIs not to break ebuilds inheriting this eclass and using > multilib.ecla

Re: [gentoo-dev] [PATCH v3] estack.eclass: Split estack* logic from eutils

2017-03-18 Thread Michał Górny
On nie, 2017-03-12 at 11:13 +0100, Michał Górny wrote: > Split the estack_* and related functions from eutils into a dedicated > estack.eclass. Those functions have significant complexity and are not > used frequently, therefore they benefit from having a separate file > and an explic

Re: [gentoo-dev] [PATCH v2] ltprune.eclass

2017-03-18 Thread Michał Górny
On nie, 2017-03-12 at 12:00 +0100, Michał Górny wrote: > Changes in v2: > - now in split commits to ease review, > - removed eqawarn to avoid circ dep on eutils. > Merged. -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

Re: [gentoo-dev] [RFC] Master plan for fixing elibtoolize

2017-03-18 Thread Michał Górny
On sob, 2017-03-18 at 11:18 +0100, Alexis Ballier wrote: > On Sat, 18 Mar 2017 07:53:31 +0100 > Michał Górny wrote: > > > > 3. copy elibtoolize logic to Portage, and make it apply implicitly > > > > on econf [do we need to apply it elsewhere?]; disable explicit &

Re: [gentoo-dev] Re: [PATCH] sys-devel/autoconf: Convert from eblits into an eclass, #586424

2017-03-20 Thread Michał Górny
ea of PMS instead. Don't you find it a bad hypocritical that at the same time you oppose committing an eclass for a single package and you support committing an eclass to support half-working hack for a single package? -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

[gentoo-dev] [PATCH 1/2] dev-lang/jimtcl: Remove parallel econf code

2017-03-20 Thread Michał Górny
The parallel econf code is used only with USE=static-libs, and even in that case provides negligible speed gain. At the same time, it adds a lot of complexity, causes the build logs to be unreadable mix of output from both configure scripts and violates PMS by calling econf in parallel which can ca

[gentoo-dev] [PATCH 2/2] sys-libs/ncurses: Remove parallel econf logic

2017-03-20 Thread Michał Górny
Remove the parallel econf logic that adds a lot of complexity for minor gain. It results in the output from different configure scripts being mixed in the build log, making it unreadable. It causes econf to be run in a subshell which is a PMS violation and can cause issues with some of package mana

Re: [gentoo-dev] Re: [PATCH] sys-devel/autoconf: Convert from eblits into an eclass, #586424

2017-03-20 Thread Michał Górny
On pon, 2017-03-20 at 22:12 +0100, Alexis Ballier wrote: > On Mon, 20 Mar 2017 19:24:58 +0100 > Michał Górny wrote: > > > On pon, 2017-03-20 at 18:01 +0100, Alexis Ballier wrote: > > > What makes me wonder more are the proposed solutions: So far the > > > on

Re: [gentoo-dev] [PATCH 2/2] sys-libs/ncurses: Remove parallel econf logic

2017-03-21 Thread Michał Górny
On pon, 2017-03-20 at 21:12 -0400, Mike Frysinger wrote: > On 20 Mar 2017 20:35, Michał Górny wrote: > > Remove the parallel econf logic that adds a lot of complexity for minor > > gain. It results in the output from different configure scripts being > > mixed in the

[gentoo-dev] [PATCH] sys-libs/ncurses: Use --cache-file to speedup subsequent econf runs

2017-03-21 Thread Michał Górny
Use --cache-file to reuse the previous check results in the subsequent configure script runs. This gives a major speed advantage (beating the previous parallel runs) and significant CPU savings. --- sys-libs/ncurses/ncurses-6.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[gentoo-dev] [PATCH] epatch.eclass: Add missing estack inherit

2017-03-21 Thread Michał Górny
// Since this does not affect existing ebuilds, I'd like to apply it along with the epunt-cxx patch to avoid two major cache regens a week ;-). --- eclass/epatch.eclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eclass/epatch.eclass b/eclass/epatch.eclass index fb0a10b53583..905f68f8e

Re: [gentoo-dev] [PATCH] sys-libs/ncurses: Use --cache-file to speedup subsequent econf runs

2017-03-21 Thread Michał Górny
On wto, 2017-03-21 at 17:05 +0100, Alexis Ballier wrote: > On Tue, 21 Mar 2017 16:46:43 +0100 > Michał Górny wrote: > > > Use --cache-file to reuse the previous check results in the subsequent > > configure script runs. This gives a major speed advantage (beating the >

Re: [gentoo-dev] [PATCH] sys-libs/ncurses: Use --cache-file to speedup subsequent econf runs

2017-03-21 Thread Michał Górny
On wto, 2017-03-21 at 17:55 +0100, Alexis Ballier wrote: > On Tue, 21 Mar 2017 17:30:29 +0100 > Michał Górny wrote: > > > On wto, 2017-03-21 at 17:05 +0100, Alexis Ballier wrote: > > > On Tue, 21 Mar 2017 16:46:43 +0100 > > > Michał Górny wrote: > > >

Re: [gentoo-dev] Re: [PATCH] sys-devel/autoconf: Convert from eblits into an eclass, #586424

2017-03-23 Thread Michał Górny
ot accept them, we can't do anything about it. You can claim we ought to explain till the maintainer is convinced but I think we both know that nobody's going to convince anyone, and the only result would be stalling the change for even more than the 9 months so far. -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

[gentoo-dev] [PATCH] multibuild.eclass: Reap stray subjobs before exiting sub-phase

2017-03-23 Thread Michał Górny
Alike the PMS-defined phases, sub-phases do not support leaving jobs behind. To avoid leaving something accidentally, make sure to reap all jobs (i.e. wait) post running the command. Warn if any stray processes are found since that indicates a bug in ebuild. --- eclass/multibuild.eclass | 12 +

Re: [gentoo-dev] Re: [PATCH] sys-devel/autoconf: Convert from eblits into an eclass, #586424

2017-03-23 Thread Michał Górny
On czw, 2017-03-23 at 19:52 +0100, Alexis Ballier wrote: > On Thu, 23 Mar 2017 17:53:25 +0100 > Michał Górny wrote: > > > On czw, 2017-03-23 at 10:51 +0100, Alexis Ballier wrote: > > > On Thu, 23 Mar 2017 10:41:39 +0100 > > > "Andreas K. Huettel" wr

[gentoo-dev] eclass-manpages are now versioned (snapshotted)

2017-03-24 Thread Michał Górny
in SRC_URI ;-). -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

[gentoo-dev] New QA policy: ebuild code must be wholly contained within PMS-defined files

2017-03-24 Thread Michał Górny
of the (independent) effort on fixing PMS violations. Rationale + vote: https://bugs.gentoo.org/612630 -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

Re: [gentoo-dev] [PATCH] epunt-cxx.eclass: Split C++ check punting code out of eutils

2017-03-24 Thread Michał Górny
On pią, 2017-03-17 at 17:57 +0100, Michał Górny wrote: > Split the epunt_cxx (plus internal code) to a dedicated eclass. This is > rarely needed, usually indicates a dead upstream and requires > the ELT-patches framework. The patches are going to be split to > a separate package,

Re: [gentoo-dev] [PATCH] epatch.eclass: Add missing estack inherit

2017-03-24 Thread Michał Górny
On wto, 2017-03-21 at 17:07 +0100, Michał Górny wrote: > // > > Since this does not affect existing ebuilds, I'd like to apply it along > with the epunt-cxx patch to avoid two major cache regens a week ;-). > > --- > eclass/epatch.eclass | 2 ++ > 1 file changed, 2

Re: [gentoo-dev] [PATCHES] Moving ELT-patches to app-portage/elt-patches

2017-03-24 Thread Michał Górny
On pią, 2017-03-17 at 19:48 +0100, Michał Górny wrote: > Hi, > > Here's a quick patch serie that moves the whole ELT-patches directory > into a separate package. This reduces the size of Gentoo checkout > by ~500 KiB. > > The nocxx patches are left for epunt_cxx to b

Re: [gentoo-dev] [PATCH] sys-devel/autoconf: Convert from eblits into an eclass, #586424

2017-03-24 Thread Michał Górny
On czw, 2017-03-16 at 10:38 +0100, Michał Górny wrote: > Convert the usage of eblits in sys-devel/autoconf into an equivalent > eclass. This makes the ebuilds more readable, more predictable and fixes > compliance with stricter versions of the package manager (i.e. a future > releas

Re: [gentoo-dev] [PATCH] sys-libs/glibc: Convert from eblits to eclass, #586422

2017-03-24 Thread Michał Górny
On czw, 2017-03-16 at 14:49 +0100, Michał Górny wrote: > // > note: i'm in process of testing [building binpkgs] of all glibc versions > to confirm i didn't accidentally break anything. - fails in compile > phase both before and after the change. > > --- >

[gentoo-dev] [PATCH] toolchain-glibc.eclass: Replace evar_* with local variables

2017-03-24 Thread Michał Górny
Use local variable to limit the scope of ABI variable override. This is a builtin bash solution that is reliable and simple, unlike the complex evar_* logic that unnecessarily pollutes global variables. --- eclass/toolchain-glibc.eclass | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) dif

[gentoo-dev] [PATCH 1/2] eclass/tests/estack_eshopts.sh: Add tests for 'set' variant of eshopt*

2017-03-24 Thread Michał Górny
--- eclass/tests/estack_eshopts.sh | 23 +++ 1 file changed, 23 insertions(+) diff --git a/eclass/tests/estack_eshopts.sh b/eclass/tests/estack_eshopts.sh index 606a17cfb053..28346c65ec13 100755 --- a/eclass/tests/estack_eshopts.sh +++ b/eclass/tests/estack_eshopts.sh @@ -27,6

[gentoo-dev] [PATCH 2/2] estack.eclass: Use 'shopt -p -o' to restore 'set' flags

2017-03-24 Thread Michał Górny
Use 'shopt -p -o' to obtain the current set of 'set' flags, and to restore them on popping. Unlike $-, it is output in command form (alike 'shopt -p'), removing the need for separate logic in eshopts_pop. --- eclass/estack.eclass | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff

[gentoo-dev] [PATCH] enlightenment.eclass: Replace eutils inherit w/ split eclasses

2017-03-24 Thread Michał Górny
--- eclass/enlightenment.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/enlightenment.eclass b/eclass/enlightenment.eclass index 4a30b7e4c120..ae7bb396590c 100644 --- a/eclass/enlightenment.eclass +++ b/eclass/enlightenment.eclass @@ -9,7 +9,7 @@ if [[ -z ${_ENL

[gentoo-dev] [PATCH] autotools-utils.eclass: Add split inherits for past eutils functions

2017-03-25 Thread Michał Górny
--- eclass/autotools-utils.eclass | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/eclass/autotools-utils.eclass b/eclass/autotools-utils.eclass index 365d15f4bf06..f8d2c7fdc247 100644 --- a/eclass/autotools-utils.eclass +++ b/eclass/autotools-utils.eclass @@ -1,4 +1,4 @@ -

[gentoo-dev] [PATCH] git-r3.eclass: Remove unused eutils inherit

2017-03-25 Thread Michał Górny
--- eclass/git-r3.eclass | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass index 1b49f66f5f00..bc7d4d920299 100644 --- a/eclass/git-r3.eclass +++ b/eclass/git-r3.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +#

[gentoo-dev] Last rites: dev-python/edpwd

2017-03-27 Thread Michał Górny
# Michał Górny (27 Mar 2017) # No revdeps or real use case. Uses ECB mode for encryption which is # a bad idea. Requires patching for dev-python/pycryptodome. Abandoned # upstream and downstream. Removal in 30 days. Bug #611592. dev-python/edpwd -- Best regards, Michał Górny signature.asc

[gentoo-dev] [RFC] New Manifest hashes and how to enable them

2017-04-03 Thread Michał Górny
y proposal would be to use the following set once their support reaches the stable version of Portage: manifest-hashes = SHA512 SHA3-512 WHIRLPOOL Your thoughts? [1]:https://bugs.gentoo.org/612716 [2]:https://bugs.gentoo.org/611568 -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

Re: [gentoo-dev] [RFC] New Manifest hashes and how to enable them

2017-04-03 Thread Michał Górny
al OS", or how is it possible on Earth that GOST algos was > implemented in portage? :) > I think the point was more like it's unfair to give NSA backdoors without giving one to KGB as well. -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

[gentoo-dev] Package up for grabs: app-arch/lrzip

2017-04-07 Thread Michał Górny
]:https://bugs.gentoo.org/588206 [2]:https://bugs.gentoo.org/468854 [3]:https://bugs.gentoo.org/465684 -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

Re: [gentoo-dev] Reverse use of Python/Ruby versions

2017-04-09 Thread Michał Górny
, but all 3.4. So I will stick >to 3.4 till everything is at 3.6. Otherwise no point and still have >other versions. > >The approach mentioned above, if the packages do not have issue. I >could go ahead and switch to ruby24 and pyton 3.6 across the board. >Which I cannot do now till

Re: [gentoo-dev] Reverse use of Python/Ruby versions

2017-04-10 Thread Michał Górny
On pon, 2017-04-10 at 12:03 -0400, William L. Thomson Jr. wrote: > On Mon, 10 Apr 2017 08:37:34 +0200 > Michał Górny wrote: > > > > It is always nice when a person who: > > Starts off with insults and rudeness... Why I avoid you and I have > requested MULITPLE time

Re: [gentoo-dev] News item: app-emulation/wine split and slotting

2017-04-10 Thread Michał Górny
nks for wine are managed with app-eselect/eselect-wine. > # eselect wine set wine-vanilla-2.0 > /usr/bin/wine -> /usr/bin/wine-vanilla-2.0 > # eselect wine set --staging wine-staging-2.4 > /usr/bin/wine-staging -> /usr/bin/wine-staging-2.4 So, the whole idea is that you can install v

Re: [gentoo-dev] Reverse use of Python/Ruby versions

2017-04-10 Thread Michał Górny
On pon, 2017-04-10 at 15:21 +0200, Dirkjan Ochtman wrote: > On Mon, Apr 10, 2017 at 8:37 AM, Michał Górny wrote: > > It is always nice when a person who: > > Please stop the sarcasm. While I understand the reaction, the idea in > itself does not seem totally crazy to me, and

Re: [gentoo-dev] Reverse use of Python/Ruby versions

2017-04-10 Thread Michał Górny
alternative > way. Absolutely nothing constructive. > Finally, since you seem to be completely resistant to do at least some basic research, and you keep trying to prove that I'm some developer who is barely doing anything, lemme tell you a funny thing: I wrote these eclasses, I designed this model and I was responsible for switching it from opt-out to opt-in. But then, all that work was obviously non-constructive, unlike reviving the topic on the mailing list without doing any research or simply asking the person who did it. -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

Re: [gentoo-dev] News item: app-emulation/wine split and slotting

2017-04-10 Thread Michał Górny
On pon, 2017-04-10 at 13:52 -0400, NP-Hardass wrote: > On 04/10/2017 01:31 PM, Michał Górny wrote: > > So, the whole idea is that you can install vanilla and e.g. staging > > side-by-side? > > That's 50% of it. The other 50% is that since Windows applications > ofte

Re: [gentoo-dev] Reverse use of Python/Ruby versions

2017-04-10 Thread Michał Górny
es on with the > status quo > You are talking *nonsense*. The python-r1 was *against* status quo. We changed it. Now you want the old status quo back. -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

Re: [gentoo-dev] Reverse use of Python/Ruby versions

2017-04-10 Thread Michał Górny
his every step to have his system boot again. -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

Re: [gentoo-dev] Reverse use of Python/Ruby versions

2017-04-10 Thread Michał Górny
sed the users for which it works out of the box... obviously they're not a proper Gentoo users if they don't break their system and then complain that Gentoo is doing everything wrong because they can break their systems. -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

Re: [gentoo-dev] Reverse use of Python/Ruby versions

2017-04-10 Thread Michał Górny
On pon, 2017-04-10 at 17:33 -0400, William L. Thomson Jr. wrote: > On Mon, 10 Apr 2017 22:43:18 +0200 > Michał Górny wrote: > > > > The difference is in quality expectations. We did Python this way to > > make sure things will work, and all obvious breakage will immedia

gentoo-dev@lists.gentoo.org

2017-04-11 Thread Michał Górny
Officially list the slot="" attribute that is used in GLSAs for quite some time in the DTD. It is supported by Portage and gentoolkit for a long time, and was used in GLSAs interchangeably with implicit appended ':slot' to the version. However, the latter was ugly and worked only by accident, so we

Re: [gentoo-dev] Re: Reverse use of Python/Ruby versions

2017-04-11 Thread Michał Górny
d. :) > > This keeps the benefits of *_COMPAT and *_TARGETS while allowing > people to test a new python/php/ruby interpreter without having to > manually edit dozens (potentially hundreds or thousands) of ebuilds. > It's already there, called PYTHON_COMPAT_OVERRIDE. -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

gentoo-dev@lists.gentoo.org

2017-04-12 Thread Michał Górny
On śro, 2017-04-12 at 01:57 +0300, Mart Raudsepp wrote: > Ühel kenal päeval, T, 11.04.2017 kell 22:10, kirjutas Michał Górny: > > --- > >  glsa.dtd | 4 +++- > >  1 file changed, 3 insertions(+), 1 deletion(-) > > > > diff --git a/glsa.dtd b/glsa.dtd > >

gentoo-dev@lists.gentoo.org

2017-04-12 Thread Michał Górny
Officially list the slot="" attribute that is used in GLSAs for quite some time in the DTD. It is supported by Portage and gentoolkit for a long time, and was used in GLSAs interchangeably with implicit appended ':slot' to the version. However, the latter was ugly and worked only by accident, so we

Re: [gentoo-dev] [PATCH] git-r3.eclass: Remove unused eutils inherit

2017-04-14 Thread Michał Górny
On sob, 2017-03-25 at 12:43 +0100, Michał Górny wrote: > --- > eclass/git-r3.eclass | 8 +--- > 1 file changed, 1 insertion(+), 7 deletions(-) > > diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass > index 1b49f66f5f00..bc7d4d920299 100644 > --- a/eclass/git-r3.

Re: [gentoo-dev] [PATCH] autotools-utils.eclass: Add split inherits for past eutils functions

2017-04-14 Thread Michał Górny
On sob, 2017-03-25 at 12:37 +0100, Michał Górny wrote: > --- > eclass/autotools-utils.eclass | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/eclass/autotools-utils.eclass b/eclass/autotools-utils.eclass > index 365d15f4bf06..f8d2c7fdc247 100

Re: [gentoo-dev] [PATCH] enlightenment.eclass: Replace eutils inherit w/ split eclasses

2017-04-14 Thread Michał Górny
On pią, 2017-03-24 at 23:08 +0100, Michał Górny wrote: > --- > eclass/enlightenment.eclass | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/eclass/enlightenment.eclass b/eclass/enlightenment.eclass > index 4a30b7e4c120..ae7bb396590c 100

Re: [gentoo-dev] [PATCH] toolchain-glibc.eclass: Replace evar_* with local variables

2017-04-14 Thread Michał Górny
On pią, 2017-03-24 at 21:44 +0100, Michał Górny wrote: > Use local variable to limit the scope of ABI variable override. This is > a builtin bash solution that is reliable and simple, unlike the complex > evar_* logic that unnecessarily pollutes global variables. > --- > e

Re: [gentoo-dev] [PATCH 1/2] eclass/tests/estack_eshopts.sh: Add tests for 'set' variant of eshopt*

2017-04-14 Thread Michał Górny
On pią, 2017-03-24 at 22:01 +0100, Michał Górny wrote: > --- > eclass/tests/estack_eshopts.sh | 23 +++ > 1 file changed, 23 insertions(+) Both merged. -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

Re: [gentoo-dev] [PATCH] multibuild.eclass: Reap stray subjobs before exiting sub-phase

2017-04-14 Thread Michał Górny
On czw, 2017-03-23 at 18:55 +0100, Michał Górny wrote: > Alike the PMS-defined phases, sub-phases do not support leaving jobs > behind. To avoid leaving something accidentally, make sure to reap all > jobs (i.e. wait) post running the command. Warn if any stray processes > are foun

[gentoo-dev] [PATCH] eutils.eclass: make_desktop_entry, replace unnecessary extglob

2017-04-14 Thread Michał Górny
Replace the unnecessary use of extglob to strip file suffix in make_desktop_entry with a plain ${x%.*}. This is pretty much equivalent since match to one of the pre-defined suffixes is already confirmed via the preceding conditional, and avoiding repeating the suffix list twice makes the code simpl

[gentoo-dev] [PATCH 1/4] eutils.eclass: Remove implicit epunt-cxx inherit

2017-04-14 Thread Michał Górny
Stop inheriting the epunt-cxx eclass in eutils implicitly. All the uses in ::gentoo are fixed already, and this lets us add extra dependencies in the eclass without affecting most of the packages out there. --- eclass/eutils.eclass | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --gi

[gentoo-dev] [PATCH 4/4] eclass/ELT-patches: remove the remaining (nocxx) patches

2017-04-14 Thread Michał Górny
Now that epunt-cxx.eclass is using the patches from app-portage/elt-patches, remove the remaining patches from the repository. --- eclass/ELT-patches/nocxx/nocxx-2.64.patch | 13 - eclass/ELT-patches/nocxx/nocxx.patch | 15 --- 2 files changed, 28 deletions(-) delete

[gentoo-dev] [PATCH 2/4] epunt-cxx.eclass: Inherit eutils for eqawarn

2017-04-14 Thread Michał Górny
Now that eutils does not inherit epunt-cxx implicitly, we can reverse the inherit without having circular dependencies. --- eclass/epunt-cxx.eclass | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/eclass/epunt-cxx.eclass b/eclass/epunt-cxx.eclass index 660b1d138fac..b

[gentoo-dev] [PATCH 3/4] epunt-cxx.eclass: Switch to using patches from elt-patches pkg

2017-04-14 Thread Michał Górny
Switch to using the patches provided through the app-portage/elt-patches package, like libtool.eclass. Since epunt-cxx is no longer implicit eutils API but a dedicated eclass, we do not have to worry about the extra dependency. --- eclass/epunt-cxx.eclass | 16 ++-- 1 file changed, 2 i

<    2   3   4   5   6   7   8   9   10   11   >