Re: [gentoo-dev] Hardware database

2016-02-28 Thread Matthew Marchese
On 02/09/2016 07:01 AM, Michał Górny wrote:
> On Tue, 9 Feb 2016 17:53:09 +0300 > agentsmith  wrote: 
> > >> Cool tool i create
ebuild. >> >> On 02/09/2016 05:47 PM, Daniel Campbell wrote:
>
> > Could
>
> On 02/09/2016 05:55 AM, Urbain YANG wrote:  
>  Thank you very much!
> 
>  And wish it will be merged into Portage soon.
> 
> 
>  Urbain YANG urbain.y...@qq.com 
> 
> 
>
> > you
>
> 
>   
> > 在 2016年2月9日,下午9:33,Ponomarenko Andrey
> >  > > 写道:
> >
> > Hello,
> >
> > I have released a new version of the hardware probe tool — HW
> > Probe 1.0, that supports Gentoo and some other popular Linux
> > distributions. The "probe" is a snapshot of the hardware state
> > including a list of devices on board and system logs. The primary
> > purpose of the tool is to share the probe of the computer with
> > developers or other users for the collaborative debugging of
> > hardware problems on it.
> >
> > All probes are uploaded to the central database at
> > http://linux-hardware.org/ that holds probed information in a
>
> > please
>
> > structured form. You can find, for example, in which computer
> > models is presented some device, what driver was used and how it
> > was configured. You can check for failures in logs related to a
> > problem device and so on.
> >
> > The source code of the tool is available here:
>
> > stop
>
> > https://github.com/linuxhw/hw-probe
> >
> > Thank you.
> >  
> If nobody's already started doing the work, one could file a bug on
> our tracker and request an ebuild to be written. Or one could read the
> devmanual and put one together. If someone is interested in
>
> > replying
>
> maintaining that ebuild, one of our proxy-maintainers may be
> interested in helping. Check it out some time. :)
>
> https://bugs.gentoo.org
> https://devmanual.gentoo.org
>
>
>>>  > > in random positions? >

No need for trolling. :P

I like this idea. Having a way to check what drivers were used on a
certain make/model will be helpful for me in the future.


[gentoo-dev] Automated Package Removal and Addition Tracker, for the week ending 2016-02-28 23:59 UTC

2016-02-28 Thread Robin H. Johnson
The attached list notes all of the packages that were added or removed
from the tree, for the week ending 2016-02-28 23:59 UTC.

Removals:
app-cdr/webcdwriter 20160225-19:53 chewi d425954
app-eselect/eselect-maven   20160225-19:53 chewi ecc4faa
media-tv/xbmc   20160223-17:47 vapiere95014e
sci-chemistry/pymol-apbs-plugin 20160222-15:19 jlec  3b2fcdb
sci-libs/libbufr20160222-15:19 jlec  2808c0e
virtual/python-imaging  20160222-15:20 jlec  ede5b6b

Additions:
app-editors/ghostwriter 20160221-21:23 monsieurp 641785a
app-i18n/translate-shell20160223-17:24 patrick   99a42ba
app-misc/tmate  20160222-03:34 dlan  333c7fa
dev-libs/squareball 20160226-00:32 rafaelmartins e13920d
dev-perl/Devel-CheckLib 20160222-01:40 kentfredric   7d04ef2
dev-perl/Time-Moment20160228-10:33 kentfredric   bfbdecf
dev-perl/Type-Tiny-XS   20160228-10:54 kentfredric   d56e500
dev-python/jpype20160225-00:39 monsieurp 759459f
dev-python/pyopengl_accelerate  20160222-11:06 xmw   139e680
dev-ros/kdl_parser_py   20160225-09:50 aballier  04a8b5a
dev-util/shards 20160222-06:18 longlene  4042523
dev-vcs/cvsync  20160228-00:37 vapierb8e318c
media-sound/dcadec  20160223-18:22 vapierca7d810
net-p2p/airdcpp-webclient   20160228-02:51 idella4   0a73242
sci-libs/pastix 20160222-07:05 jlec  0008732
sys-libs/libedit20160228-23:01 monsieurp e5e9c00
www-apps/airdcpp-webui  20160228-02:53 idella4   cbc0dbe
x11-themes/mate-themes-meta 20160222-17:01 NP-Hardass49c73b0

--
Robin Hugh Johnson
Gentoo Linux Developer
E-Mail : robb...@gentoo.org
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85
Removed Packages:
app-cdr/webcdwriter,removed,chewi,20160225-19:53,d425954
app-eselect/eselect-maven,removed,chewi,20160225-19:53,ecc4faa
media-tv/xbmc,removed,vapier,20160223-17:47,e95014e
virtual/python-imaging,removed,jlec,20160222-15:20,ede5b6b
sci-chemistry/pymol-apbs-plugin,removed,jlec,20160222-15:19,3b2fcdb
sci-libs/libbufr,removed,jlec,20160222-15:19,2808c0e
Added Packages:
sys-libs/libedit,added,monsieurp,20160228-23:01,e5e9c00
www-apps/airdcpp-webui,added,idella4,20160228-02:53,cbc0dbe
net-p2p/airdcpp-webclient,added,idella4,20160228-02:51,0a73242
dev-perl/Type-Tiny-XS,added,kentfredric,20160228-10:54,d56e500
dev-perl/Time-Moment,added,kentfredric,20160228-10:33,bfbdecf
dev-vcs/cvsync,added,vapier,20160228-00:37,b8e318c
dev-perl/Devel-CheckLib,added,kentfredric,20160222-01:40,7d04ef2
dev-libs/squareball,added,rafaelmartins,20160226-00:32,e13920d
dev-ros/kdl_parser_py,added,aballier,20160225-09:50,04a8b5a
dev-python/jpype,added,monsieurp,20160225-00:39,759459f
app-editors/ghostwriter,added,monsieurp,20160221-21:23,641785a
media-sound/dcadec,added,vapier,20160223-18:22,ca7d810
app-i18n/translate-shell,added,patrick,20160223-17:24,99a42ba
x11-themes/mate-themes-meta,added,NP-Hardass,20160222-17:01,49c73b0
dev-util/shards,added,longlene,20160222-06:18,4042523
dev-python/pyopengl_accelerate,added,xmw,20160222-11:06,139e680
sci-libs/pastix,added,jlec,20160222-07:05,0008732
app-misc/tmate,added,dlan,20160222-03:34,333c7fa

Done.

[gentoo-dev] [warning] the bug queue has 83 bugs

2016-02-28 Thread Alex Alexander
Our bug queue has 83 bugs!

If you have some spare time, please help assign/sort a few bugs.

To view the bug queue, click here: http://bit.ly/m8PQS5

Thanks!



[gentoo-dev] [PATCH 2/2] cmake-utils.eclass: _ninjaopts_from_makeopts, fix plain '-j' and '-l'

2016-02-28 Thread Michał Górny
Fix the _ninjaopts_from_makeopts to handle no-parameter '-j' and '-l'
options correctly and convert them to appropriate parametrized ninja
options.
---
 eclass/cmake-utils.eclass | 15 +--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass
index f5ed1eb..36f9821 100644
--- a/eclass/cmake-utils.eclass
+++ b/eclass/cmake-utils.eclass
@@ -660,8 +660,19 @@ _ninjaopts_from_makeopts() {
while (( $# )); do
case $1 in
-j|-l)
-   ninjaopts+=( $1 $2 )
-   shift 2
+   if [[ $# -eq 1 || $2 == -* ]]; then
+   if [[ $1 == -j ]]; then
+   # absurdly high job limit
+   ninjaopts+=( $1  )
+   else # -l
+   # remove load limit (like make 
does for -l)
+   ninjaopts+=( $1 0 )
+   fi
+   shift 1
+   else
+   ninjaopts+=( $1 $2 )
+   shift 2
+   fi
;;
-j*|-l*)
ninjaopts+=( $1 )
-- 
2.7.2




[gentoo-dev] [PATCH 1/2] cmake-utils.eclass: _ninjaopts_from_makeopts, fix handling of -k

2016-02-28 Thread Michał Górny
Fix _ninjaopts_from_makeopts to handle -k correctly. Make does not
support parameters to -k, while ninja requires one. Therefore, handle
only a single '-k' and convert it into '-k 0' (no limit of failing
tasks).
---
 eclass/cmake-utils.eclass | 9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass
index b607132..f5ed1eb 100644
--- a/eclass/cmake-utils.eclass
+++ b/eclass/cmake-utils.eclass
@@ -659,14 +659,19 @@ _ninjaopts_from_makeopts() {
set -- ${MAKEOPTS}
while (( $# )); do
case $1 in
-   -j|-l|-k)
+   -j|-l)
ninjaopts+=( $1 $2 )
shift 2
;;
-   -j*|-l*|-k*)
+   -j*|-l*)
ninjaopts+=( $1 )
shift 1
;;
+   -k)
+   # -k 0 = any number of tasks can fail
+   ninjaopts+=( $1 0 )
+   shift 1
+   ;;
*) shift ;;
esac
done
-- 
2.7.2




[gentoo-dev] cmake-utils.eclass: fixes to ninja MAKEOPTS conversion

2016-02-28 Thread Michał Górny
Hello,

Just a quick two patches against cmake-utils that fix MAKEOPTS->ninja
conversion. In particular:

1. -k never takes value in make, so do not account for that, and always
   convert '-k' to '-k 0',

2. -j and -l have optional values in make, so figure out if we're being
   passed a correct value and use '-j ' and '-l 0' otherwise.

--
Best regards,
Michał Górny




[gentoo-dev] Re: Bug #565566: Why is it still not fixed?

2016-02-28 Thread Martin Vaeth
Patrick Lauer  wrote:
>
> Notice the --whole-file part there.

Are there perhaps plans to remove this?

Before the reversed ChangeLogs, this option was useful,
but perhaps now removing it would really lower the traffic?

One would have to make a bunch of tests over 1-2 months, perhaps:

a) two with rsyncing every day
b) two with rsyncing 1/week, and perhaps even
c) two with rsyncing 1/month.

(where "two" means one with and onewithout --whole-file)
and add up the traffic.

I am not sure whether servers can be set up to implicitly assume
--whole-file to save possibly some resources needed to calculate
the checksums. This would give wrong results, of course.
In this case, it would be necessary for the tests to set up a
server with full support, locally. In the latter case, one could
also use historical webrsync data if they are available somewhere
which would mean that the tests could be done rather quickly...