[gentoo-portage-dev] [PATCH] dosym: Make implicit basename a fatal error.

2017-04-17 Thread Ulrich Müller
The respective QA warning in the dosym helper is in place since 2011. All known violations in the gentoo repository have been fixed. Gentoo-Bug: 379899 --- bin/ebuild-helpers/dosym | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/bin/ebuild-helpers/dosym

[gentoo-dev] [PATCH 7/7] chromium.eclass: Remove no-longer necessary gnome2_icon_savelist call

2017-04-17 Thread Michał Górny
--- eclass/chromium.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/chromium.eclass b/eclass/chromium.eclass index 5f8c53cabf35..fcc02dd6e028 100644 --- a/eclass/chromium.eclass +++ b/eclass/chromium.eclass @@ -120,7 +120,7 @@ chromium_remove_language_paks() { }

[gentoo-dev] [PATCH 3/7] kde4-base.eclass: Move GNOME2_ECLASS_ICONS conditional from gnome2-utils

2017-04-17 Thread Michał Górny
--- eclass/kde4-base.eclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass index 999c8a05fee2..97f4dfd4eda9 100644 --- a/eclass/kde4-base.eclass +++ b/eclass/kde4-base.eclass @@ -907,7 +907,9 @@ kde4-base_pkg_preinst() {

Re: [gentoo-dev] [PATCH 1/7] gnome2-utils.eclass: Make gnome2_icon_cache_update update all themes

2017-04-17 Thread Gilles Dartiguelongue
Le lundi 17 avril 2017 à 13:07 +0200, Michał Górny a écrit : > Make the gnome2_icon_cache_update function update all icon themes > rather > than depending on gnome2_icon_savelist to select themes to update. > This > makes the function easier to use whenever the developer needs it > explicitly

[gentoo-dev] [PATCH 1/7] gnome2-utils.eclass: Make gnome2_icon_cache_update update all themes

2017-04-17 Thread Michał Górny
Make the gnome2_icon_cache_update function update all icon themes rather than depending on gnome2_icon_savelist to select themes to update. This makes the function easier to use whenever the developer needs it explicitly (i.e. knows that themes are installed), while the overhead of regenerating

[gentoo-dev] [PATCH 5/7] xfconf.eclass: Move GNOME2_ECLASS_ICONS conditional from gnome2-utils

2017-04-17 Thread Michał Górny
--- eclass/xfconf.eclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eclass/xfconf.eclass b/eclass/xfconf.eclass index 2655420ddd35..b91d0fe1eda3 100644 --- a/eclass/xfconf.eclass +++ b/eclass/xfconf.eclass @@ -139,7 +139,9 @@ xfconf_pkg_postinst() {

[gentoo-dev] [PATCH 4/7] kde5.eclass: Move GNOME2_ECLASS_ICONS conditional from gnome2-utils

2017-04-17 Thread Michał Górny
--- eclass/kde5.eclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass index 106383bb05c3..9ed664be60c7 100644 --- a/eclass/kde5.eclass +++ b/eclass/kde5.eclass @@ -704,7 +704,9 @@ kde5_pkg_preinst() { kde5_pkg_postinst() {

[gentoo-dev] [PATCH 2/7] gnome2.eclass: Move GNOME2_ECLASS_ICONS conditional from gnome2-utils

2017-04-17 Thread Michał Górny
--- eclass/gnome2.eclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass index 8a83297b0959..feb6301221ea 100644 --- a/eclass/gnome2.eclass +++ b/eclass/gnome2.eclass @@ -337,7 +337,9 @@ gnome2_pkg_preinst() {

[gentoo-dev] [PATCH 6/7] gnome2-utils.eclass: Remove GNOME2_ICONS conditional (moved to gnome2)

2017-04-17 Thread Michał Górny
--- eclass/gnome2-utils.eclass | 5 - 1 file changed, 5 deletions(-) diff --git a/eclass/gnome2-utils.eclass b/eclass/gnome2-utils.eclass index 7db092e1ec66..a89b9885c391 100644 --- a/eclass/gnome2-utils.eclass +++ b/eclass/gnome2-utils.eclass @@ -230,11 +230,6 @@ gnome2_icon_cache_update()

Re: [gentoo-dev] [PATCH 1/7] gnome2-utils.eclass: Make gnome2_icon_cache_update update all themes

2017-04-17 Thread Mart Raudsepp
Ühel kenal päeval, E, 17.04.2017 kell 13:43, kirjutas Gilles Dartiguelongue: > Le lundi 17 avril 2017 à 13:07 +0200, Michał Górny a écrit : > > Make the gnome2_icon_cache_update function update all icon themes > > rather > > than depending on gnome2_icon_savelist to select themes to update. > >

Re: [gentoo-dev] [PATCH v2] glsa.dtd: Allow slot="" attribute for vulnerable

2017-04-17 Thread Michał Górny
On czw, 2017-04-13 at 07:39 +0200, Michał Górny wrote: > 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.

Re: [gentoo-dev] [PATCH] cdrom.eclass: Near rewrite

2017-04-17 Thread Ulrich Mueller
> On Mon, 17 Apr 2017, James Le Cuirot wrote: > If you've been wondering why I've been quiet of late (you have, > right?!) then this is partly why. I'm not sure why I spent so long > on an eclass that hardly anyone uses but it's utilised by many of my > old favourite games. Wouldn't this be

[gentoo-dev] [PATCH 12/14] cdrom.eclass: Use consistent terminology in prompts and messages

2017-04-17 Thread James Le Cuirot
--- eclass/cdrom.eclass | 28 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/eclass/cdrom.eclass b/eclass/cdrom.eclass index f4ea2ff36400..36d967d2f4cd 100644 --- a/eclass/cdrom.eclass +++ b/eclass/cdrom.eclass @@ -58,7 +58,7 @@ cdrom_get_cds() {

[gentoo-dev] [PATCH 10/14] cdrom.eclass: The CDROM_TOTAL_CDS variable is redundant now

2017-04-17 Thread James Le Cuirot
This was never formally declared by the eclass or used by ebuilds. --- eclass/cdrom.eclass | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/eclass/cdrom.eclass b/eclass/cdrom.eclass index 10a19551161a..95bf48829e14 100644 --- a/eclass/cdrom.eclass +++

[gentoo-dev] [PATCH 04/14] cdrom.eclass: Allow CDROM_NAMES changes before each cdrom_load_next_cd

2017-04-17 Thread James Le Cuirot
This works around the lack of per-set disc names. Once the first disc has been detected, ebuilds can adjust CDROM_NAMES to contain just the names from the matched CDROM_SET. --- eclass/cdrom.eclass | 25 - 1 file changed, 16 insertions(+), 9 deletions(-) diff --git

[gentoo-dev] [PATCH 05/14] cdrom.eclass: Remove ye olde Submount check

2017-04-17 Thread James Le Cuirot
Submount was last-rited in 2007 and was already dead long before that. --- eclass/cdrom.eclass | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/eclass/cdrom.eclass b/eclass/cdrom.eclass index 9724c66ca2ce..681683f9328c 100644 --- a/eclass/cdrom.eclass +++

[gentoo-dev] [PATCH 01/14] cdrom.eclass: Detect case-insensitively and handle special characters

2017-04-17 Thread James Le Cuirot
This eclass previously used "find -iname" but it only checked the file case-insensitively and not the directories. There is "find -ipath" but this does not intelligently skip non-matching paths, making it slow. Globbing is used here instead. The : character has always been used to delimit paths

[gentoo-dev] [PATCH 06/14] cdrom.eclass: Simplify loop with seq

2017-04-17 Thread James Le Cuirot
--- eclass/cdrom.eclass | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/eclass/cdrom.eclass b/eclass/cdrom.eclass index 681683f9328c..b8fdb03ac535 100644 --- a/eclass/cdrom.eclass +++ b/eclass/cdrom.eclass @@ -104,10 +104,9 @@ cdrom_get_cds() { else

[gentoo-dev] [PATCH 07/14] cdrom.eclass: We don't know for sure how many discs will be needed

2017-04-17 Thread James Le Cuirot
The number of discs may vary between sets and ebuilds may not call cdrom_load_next_cd() for every argument depending on USE flags and other conditional factors. --- eclass/cdrom.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/cdrom.eclass b/eclass/cdrom.eclass

[gentoo-dev] [PATCH 11/14] cdrom.eclass: Make CD_ROOT less of a special case, fixes #195868

2017-04-17 Thread James Le Cuirot
CD_ROOT was intended to be a power user feature so the eclass didn't try very hard to check the validity of the given location. This difference in behaviour ultimately made the eclass larger and more confusing. It now uses the same matching loop as the regular case, making it simpler and more

[gentoo-dev] [PATCH] cdrom.eclass: Near rewrite

2017-04-17 Thread James Le Cuirot
If you've been wondering why I've been quiet of late (you have, right?!) then this is partly why. I'm not sure why I spent so long on an eclass that hardly anyone uses but it's utilised by many of my old favourite games. The main bug that it fixes is one I filed a report for 10 years ago! There

[gentoo-dev] [PATCH 13/14] cdrom.eclass: Update and improve documentation following changes

2017-04-17 Thread James Le Cuirot
--- eclass/cdrom.eclass | 121 +--- 1 file changed, 96 insertions(+), 25 deletions(-) diff --git a/eclass/cdrom.eclass b/eclass/cdrom.eclass index 36d967d2f4cd..c95bb80325e9 100644 --- a/eclass/cdrom.eclass +++ b/eclass/cdrom.eclass @@ -6,13 +6,13

[gentoo-dev] [PATCH 14/14] cdrom.eclass: Update copyright year

2017-04-17 Thread James Le Cuirot
--- eclass/cdrom.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/cdrom.eclass b/eclass/cdrom.eclass index c95bb80325e9..baf566ea415e 100644 --- a/eclass/cdrom.eclass +++ b/eclass/cdrom.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright

[gentoo-dev] [PATCH 08/14] cdrom.eclass: Fix important typo in the multiple disc instructions

2017-04-17 Thread James Le Cuirot
If you have all the files within the same directory tree then you should set CD_ROOT, not CD_ROOT_1. --- eclass/cdrom.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/cdrom.eclass b/eclass/cdrom.eclass index 67f9b15d21e4..56032e084d01 100644 ---

[gentoo-dev] gnutls-3.5 last remaining issues - please assist

2017-04-17 Thread Alon Bar-Lev
Hello, I would like to push gnutls-3.5 into stable per[1]. Below are known related issues we still have, please help to push these forward. If anyone wishes to help testing before we progress, please move to non-stable gnutls and report back any issue. Please also emerge using the following

[gentoo-dev] [PATCH 03/14] cdrom.eclass: Rename CDROM_NAME_SET array to CDROM_NAMES

2017-04-17 Thread James Le Cuirot
vapier seemed confused about what he wanted this variable to do as can be seen in bug #139196. The eclass used it for the names of each disc, regardless of the set, while ebuilds used it for the name of each single-disc set. This was not helped by the fact that the set feature has been totally

[gentoo-dev] [PATCH 02/14] cdrom.eclass: Simplify printing of CD_ROOT_# variable names

2017-04-17 Thread James Le Cuirot
--- eclass/cdrom.eclass | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/eclass/cdrom.eclass b/eclass/cdrom.eclass index de72f15563db..f1839b189ae9 100644 --- a/eclass/cdrom.eclass +++ b/eclass/cdrom.eclass @@ -122,12 +122,7 @@ cdrom_get_cds() { einfo "If

[gentoo-dev] [PATCH 09/14] cdrom.eclass: Change CDROM_CHECK_# variables to a CDROM_CHECKS array

2017-04-17 Thread James Le Cuirot
--- eclass/cdrom.eclass | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/eclass/cdrom.eclass b/eclass/cdrom.eclass index 56032e084d01..10a19551161a 100644 --- a/eclass/cdrom.eclass +++ b/eclass/cdrom.eclass @@ -52,12 +52,8 @@ cdrom_get_cds() { # the # of