Re: [gentoo-dev] wayland category

2019-02-16 Thread Aaron Bauman
On Sat, Feb 16, 2019 at 06:04:54PM -0500, Aaron Bauman wrote:
> On Sun, Feb 17, 2019 at 12:56:52AM +0200, Mart Raudsepp wrote:
> > Wildcards aren't allowed in category names. Do you mean gui-misc, gui-
> > apps, gui-wm, gui-libs, or what?
> > 
> > 
> > Mart
> 
> Correct, examples would be:
> 
> gui-libs/wlroots
> gui-wm/sway
> gui-apps/swaylock
> gui-apps/sway
>

The last example should read gui-apps/swayidle

> -- 
> Cheers,
> Aaron



-- 
Cheers,
Aaron


signature.asc
Description: PGP signature


Re: [gentoo-dev] wayland category

2019-02-16 Thread Aaron Bauman
On Sun, Feb 17, 2019 at 12:56:52AM +0200, Mart Raudsepp wrote:
> Wildcards aren't allowed in category names. Do you mean gui-misc, gui-
> apps, gui-wm, gui-libs, or what?
> 
> 
> Mart

Correct, examples would be:

gui-libs/wlroots
gui-wm/sway
gui-apps/swaylock
gui-apps/sway

-- 
Cheers,
Aaron


signature.asc
Description: PGP signature


Re: [gentoo-dev] wayland category

2019-02-16 Thread Mart Raudsepp
Ühel kenal päeval, L, 16.02.2019 kell 17:40, kirjutas Aaron Bauman:
> On Sat, Feb 09, 2019 at 01:29:40PM -0800, Matt Turner wrote:
> > On Sat, Feb 9, 2019 at 2:26 AM Mart Raudsepp 
> > wrote:
> > > 
> > > Ühel kenal päeval, R, 08.02.2019 kell 16:44, kirjutas Matthew
> > > Thode:
> > > > wayland, weston, sway{,lock,idle}, wl-clipboard, etc would be
> > > > the
> > > > start,
> > > > I'm sure there are a ton I'm missing but I don't know where to
> > > > put
> > > > things like wl-clipboard, dev-libs doesn't seem right.
> > > 
> > > 
> > > Another problem are many of the toolkits and GUI libraries; many
> > > either
> > > support wayland and X11 and more, or are really agnostic to it
> > > (but
> > > deal with GUI stuff on top of GTK or other stuff), but
> > > historically we
> > > have them in x11-libs/. As-is, they'd be better off in dev-libs/, 
> > > but
> > > really a new gui-libs/ seems better to me.
> > > Maybe the pure-wayland stuff could be in some sort of gui-*
> > > category
> > > too.
> > 
> > Agreed. gui-*/ seems like the best plan.
> > 
> 
> prometheanfire has suggested gui-*/ as well.  If there are no other
> comments we will proceed with the creation of this.

Wildcards aren't allowed in category names. Do you mean gui-misc, gui-
apps, gui-wm, gui-libs, or what?


Mart

signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] wayland category

2019-02-16 Thread Aaron Bauman
On Sat, Feb 09, 2019 at 01:29:40PM -0800, Matt Turner wrote:
> On Sat, Feb 9, 2019 at 2:26 AM Mart Raudsepp  wrote:
> >
> > Ühel kenal päeval, R, 08.02.2019 kell 16:44, kirjutas Matthew Thode:
> > > wayland, weston, sway{,lock,idle}, wl-clipboard, etc would be the
> > > start,
> > > I'm sure there are a ton I'm missing but I don't know where to put
> > > things like wl-clipboard, dev-libs doesn't seem right.
> >
> >
> > Another problem are many of the toolkits and GUI libraries; many either
> > support wayland and X11 and more, or are really agnostic to it (but
> > deal with GUI stuff on top of GTK or other stuff), but historically we
> > have them in x11-libs/. As-is, they'd be better off in dev-libs/, but
> > really a new gui-libs/ seems better to me.
> > Maybe the pure-wayland stuff could be in some sort of gui-* category
> > too.
> 
> Agreed. gui-*/ seems like the best plan.
> 

prometheanfire has suggested gui-*/ as well.  If there are no other
comments we will proceed with the creation of this.

-- 
Cheers,
Aaron


signature.asc
Description: PGP signature


[gentoo-dev] [PATCH 1/1] kernel-2.eclass: Update cpu optimization support

2019-02-16 Thread Mike
This patch clean's up the logic for applying or dropping
the cpu optimization patch.  This patch will also support
the applying of the cpu optimization patch that supports 
gcc v8. That patch will eventually be in genpatches and 
also applied via the 'experimental' use flag sometime after 
this patch is comitted.

Signed-off-by: Mike Pagano 
---
 eclass/kernel-2.eclass | 23 ++-
 1 file changed, 14 insertions(+), 9 deletions(-)

diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index edbb4a858..423397caf 100644
--- a/eclass/kernel-2.eclass
+++ b/eclass/kernel-2.eclass
@@ -1227,16 +1227,21 @@ unipatch() {
UNIPATCH_LIST_GENPATCHES+=" ${DISTDIR}/${tarball}"
debug-print "genpatches tarball: $tarball"
 
-   # check gcc version < 4.9.X uses patch 5000 and = 4.9.X 
uses patch 5010
-   if [[ $(gcc-major-version) -eq 4 ]] && [[ 
$(gcc-minor-version) -ne 9 ]]; then
-   # drop 
5000_enable-additional-cpu-optimizations-for-gcc-4.9.patch
-   if [[ $UNIPATCH_DROP != 
*"5010_enable-additional-cpu-optimizations-for-gcc-4.9.patch"* ]]; then
-   UNIPATCH_DROP+=" 
5010_enable-additional-cpu-optimizations-for-gcc-4.9.patch"
+   local GCC_MAJOR_VER=$(gcc-major-version)
+   local GCC_MINOR_VER=$(gcc-minor-version)
+
+   # support old kernels for a period. For now, remove as 
all gcc versions required are masked
+   UNIPATCH_DROP+=" 
5010_enable-additional-cpu-optimizations-for-gcc.patch"
+
+   # optimization patch for gcc < 8.X and kernel > 4.13 
+   if [[ ${GCC_MAJOR_VER} -lt 8 ]] && [[ ${GCC_MAJOR_VER} 
-gt 4 ]]; then
+   if kernel_is ge 4 13 ; then
+   UNIPATCH_DROP+=" 
5011_enable-cpu-optimizations-for-gcc8.patch"
fi
-   else
-   if [[ $UNIPATCH_DROP != 
*"5000_enable-additional-cpu-optimizations-for-gcc.patch"* ]]; then
-   #drop 
5000_enable-additional-cpu-optimizations-for-gcc.patch
-   UNIPATCH_DROP+=" 
5000_enable-additional-cpu-optimizations-for-gcc.patch"
+   # optimization patch for gcc >= 8 and kernel >= 3.15
+   elif [[ "${GCC_MAJOR_VER}" -ge 8 ]]; then
+   if kernel_is ge 3 15; then
+   UNIPATCH_DROP+=" 
5010_enable-additional-cpu-optimizations-for-gcc-4.9.patch"
fi
fi
fi
-- 
2.20.1





signature.asc
Description: OpenPGP digital signature