Re: [gentoo-dev] repoman warning on python data_files

2013-06-09 Thread Tom Wijsman
On Sun, 9 Jun 2013 06:13:32 +0200
yac  wrote:

> I have just noticed that if package is using relative paths in::
> 
> setup.py data_files = ...
> 
> Then the files are installed right into /usr in case of CPython (The
> exact dest is determined by sys.prefix)
> 
> So, I'm thinking it could be worthwhile to add a warning to repoman if
> package is using this method as I can imagine this can be easily
> overlooked when creating a new package or mostly when bumping one.

repoman currently doesn't run any ebuild phases as far as I am aware.
For it to be able to warn, it has to run at least the unpack phase;
running the unpack phase of each ebuild in the directory is costly.

For this to actually properly work, it would need to run all phases;
you don't get false positives and it then can actually check the image.

What good use has this? Not much. Maintainers should check the image
themselves; just to name a few this includes 1) unbundling libraries, 2)
checking if everything is present, 3) checking if things are missing
(important run time files, doc, examples and sometimes even source), 4)
checking that needed libraries (eg. readelf) are listed in DEPEND and
in your case 5) checking if things are installed to the correct paths.

Just one check won't make up for the others, _you_ have to check them.

Although; since this is Python, maybe the Python eclasses can do that?
That way you wouldn't have to introduce slower processing in repoman;
since eclasses can do these QA checks at the right moment, during merge.

-- 
With kind regards,

Tom Wijsman (TomWij)
Gentoo Developer

E-mail address  : tom...@gentoo.org
GPG Public Key  : 6D34E57D
GPG Fingerprint : C165 AF18 AB4C 400B C3D2  ABF0 95B2 1FCD 6D34 E57D


signature.asc
Description: PGP signature


[gentoo-dev] About Friday mails lost

2013-06-09 Thread Pacho Ramos
Due a problem in my mail system, I lost most of the mails sent at Friday
7 then, if you sent my a private mail or change anything important in a
bug I could be involved (mainly, gnome and dotnet), please ping me again
via private mail if you think it's needed

Thanks!




Re: [gentoo-dev] About Friday mails lost

2013-06-09 Thread Tom Wijsman
On Sun, 09 Jun 2013 10:44:36 +0200
Pacho Ramos  wrote:

> Due a problem in my mail system, I lost most of the mails sent at
> Friday 7 then, if you sent my a private mail or change anything
> important in a bug I could be involved (mainly, gnome and dotnet),
> please ping me again via private mail if you think it's needed

For bugs, you can easily cover this by searching for yourself in
assignee, reporter and CC fields and then sorting by changed column;
this yields the following links you can do a very quick check on:

https://bugs.gentoo.org/buglist.cgi?email1=pacho%40gentoo.org&emailassigned_to1=1&emailcc1=1&emailreporter1=1&emailtype1=substring&query_format=advanced&resolution=---&order=changeddate%20DESC
https://bugs.gentoo.org/buglist.cgi?email1=gnome%40gentoo.org&emailassigned_to1=1&emailcc1=1&emailreporter1=1&emailtype1=substring&query_format=advanced&resolution=---&order=changeddate%20DESC
https://bugs.gentoo.org/buglist.cgi?email1=dotnet%40gentoo.org&emailassigned_to1=1&emailcc1=1&emailreporter1=1&emailtype1=substring&query_format=advanced&resolution=---&order=changeddate%20DESC

It might be that the Changed column is not visible, in which case you
can add it on the following page: https://bugs.gentoo.org/colchange.cgi

Enjoy.

-- 
With kind regards,

Tom Wijsman (TomWij)
Gentoo Developer

E-mail address  : tom...@gentoo.org
GPG Public Key  : 6D34E57D
GPG Fingerprint : C165 AF18 AB4C 400B C3D2  ABF0 95B2 1FCD 6D34 E57D


signature.asc
Description: PGP signature


Re: [gentoo-dev] About Friday mails lost

2013-06-09 Thread Pacho Ramos
El dom, 09-06-2013 a las 11:13 +0200, Tom Wijsman escribió:
> On Sun, 09 Jun 2013 10:44:36 +0200
> Pacho Ramos  wrote:
> 
> > Due a problem in my mail system, I lost most of the mails sent at
> > Friday 7 then, if you sent my a private mail or change anything
> > important in a bug I could be involved (mainly, gnome and dotnet),
> > please ping me again via private mail if you think it's needed
> 
> For bugs, you can easily cover this by searching for yourself in
> assignee, reporter and CC fields and then sorting by changed column;
> this yields the following links you can do a very quick check on:
> 
> https://bugs.gentoo.org/buglist.cgi?email1=pacho%40gentoo.org&emailassigned_to1=1&emailcc1=1&emailreporter1=1&emailtype1=substring&query_format=advanced&resolution=---&order=changeddate%20DESC
> https://bugs.gentoo.org/buglist.cgi?email1=gnome%40gentoo.org&emailassigned_to1=1&emailcc1=1&emailreporter1=1&emailtype1=substring&query_format=advanced&resolution=---&order=changeddate%20DESC
> https://bugs.gentoo.org/buglist.cgi?email1=dotnet%40gentoo.org&emailassigned_to1=1&emailcc1=1&emailreporter1=1&emailtype1=substring&query_format=advanced&resolution=---&order=changeddate%20DESC
> 
> It might be that the Changed column is not visible, in which case you
> can add it on the following page: https://bugs.gentoo.org/colchange.cgi
> 
> Enjoy.
> 

Thanks a lot!




[gentoo-dev] RFC: Moving project pages to wiki.gentoo.org

2013-06-09 Thread Alex Legler
I'd appreciate some input on below plan to move project pages to the Wiki:

Motivation
--

The main motivation is to reduce the contents on the main website,
allowing for an easier makeover. Also, the Wiki exposes the contents and
an editing capability to more people, allowing for better collaboration.
Finally, this is an opportunity for projects to go through the contents
in their project spaces and update/remove outdated contents as well
Gentoo as a whole to remove orphaned projects.

Process
---

- Infra: /proj/* in CVS becomes read-only
- Projects: Go through documents, updating them or marking them to be
  discarded
- Projects: Use a GuideXML-to-Wikisyntax conversion tool to create an
  initial wiki version of the document
- Projects: Enter URL mapping information into a form
- Infra: Redirect www.g.o/proj/* to the respective Wiki pages

Before doing this with every project, I'd like to do a field trial with
2-4 projects.

Timeframe
-

The process should not take longer than 4 weeks.

Special pages and contents
--

herds.xml, repositories.xml, etc.:
As these are intended for other applications to use, these should go to
a new site, possibly api.gentoo.org, initially fed from a git repository.
This site should get backed by SSL.

Image resources:
These can be uploaded to the Wiki.

Other files and downloads:
Until proper project file hosting is implemented, again a simple
git-backed static site, possibly projects.gentoo.org.

Project main pages:
Using Semantic MediaWiki, we can represent all the semantic information
we had on the project pages, like members and subprojects, on the Wiki
as well.
(Do we need more information than we can currently express in the
guidexml markup or can any be removed?)

Project-created documentation:
Projects should consider moving documentation pages they created into
the main Wiki namespace, allowing users to improve the documents.

-- 
Alex Legler 
Gentoo Security/Ruby/Infrastructure



signature.asc
Description: OpenPGP digital signature


[gentoo-dev] Removal of global USE flag: win32codecs

2013-06-09 Thread Ulrich Mueller
The win32codecs USE flag is not used any more by any package,
therefore I'll remove it in a few days from now.

Ulrich



Re: [gentoo-dev] RFC: Moving project pages to wiki.gentoo.org

2013-06-09 Thread Ulrich Mueller
> On Sun, 09 Jun 2013, Alex Legler wrote:

> I'd appreciate some input on below plan to move project pages to the
> Wiki:

Some questions:

- Do we need to update GLEP 39? It requires a project page in
  www.g.o/proj/en/ that is actively maintained.

- What is the namespace policy in the Wiki? IIUC, the project pages
  itself should go to [[Project:Myproject]] and any subpages should go
  to [[Project:Myproject/Whatever]]? But what are the rules for
  project documentation that should be editable by all users, i.e.
  project pages in the main namespace?

Ulrich



Re: [gentoo-dev] RFC: Moving project pages to wiki.gentoo.org

2013-06-09 Thread Andreas K. Huettel

> I'd appreciate some input on below plan to move project pages to the Wiki:
> 

Last time I chatted with people about this, it was unclear how exactly 
translations would be handled on the wiki. 

Has that been discussed and resolved?

Cheers, 
A

-- 

Andreas K. Huettel
Gentoo Linux developer 
dilfri...@gentoo.org
http://www.akhuettel.de/



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


Re: [gentoo-dev] RFC: Moving project pages to wiki.gentoo.org

2013-06-09 Thread Alex Legler
On 09.06.2013 17:44, Ulrich Mueller wrote:
>> On Sun, 09 Jun 2013, Alex Legler wrote:
> 
>> I'd appreciate some input on below plan to move project pages to the
>> Wiki:
> 
> Some questions:
> 
> - Do we need to update GLEP 39? It requires a project page in
>   www.g.o/proj/en/ that is actively maintained.
> 

Yes, obviously. Thanks for pointing that out.

> - What is the namespace policy in the Wiki? IIUC, the project pages
>   itself should go to [[Project:Myproject]] and any subpages should go
>   to [[Project:Myproject/Whatever]]? But what are the rules for
>   project documentation that should be editable by all users, i.e.
>   project pages in the main namespace?

As our current guideline [1] says: The title should be specific, short
and unambiguous. Other than that, no restrictions.

Alex

> 
> Ulrich
> 


[1] http://wiki.gentoo.org/wiki/Gentoo_Wiki:Guidelines
-- 
Alex Legler 
Gentoo Security/Ruby/Infrastructure



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-dev] RFC: Moving project pages to wiki.gentoo.org

2013-06-09 Thread Alex Legler
On 09.06.2013 17:57, Andreas K. Huettel wrote:
> 
>> I'd appreciate some input on below plan to move project pages to the Wiki:
>>
> 
> Last time I chatted with people about this, it was unclear how exactly 
> translations would be handled on the wiki. 
> 
> Has that been discussed and resolved?

As there was no disagreeing feedback, I launched the system we had in
testing [1] today.

The current process is described in [2], but could see minor changes as
more and more translators went through it.

> 
> Cheers, 
> A
> 

[1] http://translatewiki.net/wiki/Technology
[2] http://wiki.gentoo.org/wiki/Help:Translating

-- 
Alex Legler 
Gentoo Security/Ruby/Infrastructure



signature.asc
Description: OpenPGP digital signature


[gentoo-dev] Automated Package Removal and Addition Tracker, for the week ending 2013-06-09 23h59 UTC

2013-06-09 Thread Robin H. Johnson
The attached list notes all of the packages that were added or removed
from the tree, for the week ending 2013-06-09 23h59 UTC.

Removals:
media-fonts/adi-dsp-fonts   2013-06-04 19:56:28 ulm
dev-lisp/emacs-cl   2013-06-06 18:04:06 ulm
games-emulation/psemu-cdr   2013-06-07 17:56:29 mr_bones_
games-emulation/psemu-cdriso2013-06-07 17:56:29 mr_bones_
games-emulation/psemu-eternalspu2013-06-07 17:56:30 mr_bones_
games-emulation/psemu-padjoy2013-06-07 17:56:30 mr_bones_
games-emulation/psemu-padxwin   2013-06-07 17:56:30 mr_bones_
games-emulation/psemu-peopssoftgpu  2013-06-07 17:56:30 mr_bones_
games-emulation/psemu-peopsspu  2013-06-07 17:56:31 mr_bones_
games-emulation/psemu-spunull   2013-06-07 17:56:31 mr_bones_
sci-visualization/udav  2013-06-07 22:55:57 bicatali
dev-db/desktopcouch 2013-06-08 02:49:09 patrick
media-libs/realcodecs   2013-06-09 11:27:01 ulm
media-libs/amd64codecs  2013-06-09 11:28:22 ulm
media-libs/win32codecs  2013-06-09 11:28:22 ulm

Additions:
net-analyzer/cloudshark 2013-06-03 04:11:05 zerochaos
dev-python/whirlpool2013-06-03 19:49:24 jlec
net-firewall/rtsp-conntrack 2013-06-04 09:53:57 pinkbyte
dev-java/invokebinder   2013-06-04 16:32:06 tomwij
dev-java/hawtjni-runtime2013-06-04 17:37:54 tomwij
dev-java/jansi-native   2013-06-04 17:38:16 tomwij
xfce-extra/xfce4-volumed-pulse  2013-06-04 21:03:36 ssuominen
dev-util/colm   2013-06-05 02:54:04 patrick
dev-java/jnr-enxio  2013-06-06 10:38:38 tomwij
dev-java/jnr-unixsocket 2013-06-06 10:39:05 tomwij
dev-python/colout   2013-06-06 15:12:47 zx2c4
net-wireless/hackrf-tools   2013-06-07 14:40:46 zerochaos
dev-util/bbe2013-06-07 15:57:09 billie
x11-misc/xmonad-log-applet  2013-06-07 20:00:08 qnikst
dev-python/multiprocessing  2013-06-08 14:28:05 idella4
app-text/zathura-pdf-mupdf  2013-06-08 23:21:25 xmw
app-misc/yworklog   2013-06-09 01:08:24 yac
dev-python/python-heatclient2013-06-09 02:02:39 prometheanfire
dev-util/icmake 2013-06-09 09:48:39 radhermit
app-text/yodl   2013-06-09 09:51:53 radhermit
games-emulation/higan   2013-06-09 19:15:58 hasufell
dev-games/higan-ananke  2013-06-09 19:17:24 hasufell
games-util/higan-purify 2013-06-09 19:18:31 hasufell
media-libs/libbmp   2013-06-09 22:54:48 xmw

--
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:
media-fonts/adi-dsp-fonts,removed,ulm,2013-06-04 19:56:28
dev-lisp/emacs-cl,removed,ulm,2013-06-06 18:04:06
games-emulation/psemu-cdr,removed,mr_bones_,2013-06-07 17:56:29
games-emulation/psemu-cdriso,removed,mr_bones_,2013-06-07 17:56:29
games-emulation/psemu-eternalspu,removed,mr_bones_,2013-06-07 17:56:30
games-emulation/psemu-padjoy,removed,mr_bones_,2013-06-07 17:56:30
games-emulation/psemu-padxwin,removed,mr_bones_,2013-06-07 17:56:30
games-emulation/psemu-peopssoftgpu,removed,mr_bones_,2013-06-07 17:56:30
games-emulation/psemu-peopsspu,removed,mr_bones_,2013-06-07 17:56:31
games-emulation/psemu-spunull,removed,mr_bones_,2013-06-07 17:56:31
sci-visualization/udav,removed,bicatali,2013-06-07 22:55:57
dev-db/desktopcouch,removed,patrick,2013-06-08 02:49:09
media-libs/realcodecs,removed,ulm,2013-06-09 11:27:01
media-libs/amd64codecs,removed,ulm,2013-06-09 11:28:22
media-libs/win32codecs,removed,ulm,2013-06-09 11:28:22
Added Packages:
net-analyzer/cloudshark,added,zerochaos,2013-06-03 04:11:05
dev-python/whirlpool,added,jlec,2013-06-03 19:49:24
net-firewall/rtsp-conntrack,added,pinkbyte,2013-06-04 09:53:57
dev-java/invokebinder,added,tomwij,2013-06-04 16:32:06
dev-java/hawtjni-runtime,added,tomwij,2013-06-04 17:37:54
dev-java/jansi-native,added,tomwij,2013-06-04 17:38:16
xfce-extra/xfce4-volumed-pulse,added,ssuominen,2013-06-04 21:03:36
dev-util/colm,added,patrick,2013-06-05 02:54:04
dev-java/jnr-enxio,added,tomwij,2013-06-06 10:38:38
dev-java/jnr-unixsocket,added,tomwij,2013-06-06 10:39:05
dev-python/colout,added,zx2c4,2013-06-06 15:12:47
net-wireless/hackrf-tools,added,zerochaos,2013-06-07 14:40:46
dev-util/bbe,added,billie,2013-06-07 15:57:09
x11-misc/xmonad-log-applet,added,qnikst,2013-06-07 20:00:08
dev-python/multiprocessing,added,idella4,2013-06-08 14:28:05
app-text/zathura-pdf-mupdf,added,xmw,2013-06-08 23:21:25
app-misc/yworklog,added,yac,2013

Re: [gentoo-dev] RFC: sed script redundancy

2013-06-09 Thread Jeroen Roovers
On Fri, 20 May 2011 17:39:22 +0200
Jeroen Roovers  wrote:

> for a while now I've been wondering if all those sed scripts in all
> those ebuilds are really effective.

This took rather long to find some spare time for.

Plonk the attached bash script into /etc/portage/bashrc.d (which you
source in /etc/portage/bashrc or something) and you should probably be
on your merry way.

The script probably doesn't catch all cases, but sed use in most
ebuilds is pretty standard.


 jer#!/bin/bash
SED=$(type -P sed)

sed() {
case ${FUNCNAME[1]} in
# we only care about direct calls in some ebuild phases
src_prepare|src_configure|src_compile|src_install)
local arg args file files scripts
while [[ $# -gt 0 ]]; do
arg="${1}"
if [ -f "${arg}" ]; then
files+=" ${arg}"
else
case ${arg} in
-e) : ;;
--expression=*) scripts+=( 
"${arg/--expression=}" ) ;;
-i*|--in-place=*) : ;;
-f)
local 
scriptfile="${arg}"
shift
scriptfile+=" ${arg}"
scripts+=( 
"${scriptfile}" )
;;
--file=*) scripts+=( 
"${arg/--file=}" ) ;;
-*) args+=" ${arg}" ;;
*) scripts+=( "${arg}" ) ;;
esac
fi
shift
done

for file in ${files}; do
for idx in ${!scripts[@]}; do
${SED} ${args} -e 
"${scripts[@]:${idx}:1}" ${file} > ${file}.jer-qa-sed
if cmp -s ${file}{,.jer-qa-sed}; then
echo -e "\033[01;33m!!! JeR-QA: 
sed expression "${scripts[@]:${idx}:1}" did not change ${file}\033[00;00m" \
| tee -a ${T}/sed.log > 
/dev/stderr
else
mv ${file}{.jer-qa-sed,}
fi
done
done
;;
*) ${SED} "${@}"
;;
esac
}


Re: [gentoo-dev] RFC: Moving project pages to wiki.gentoo.org

2013-06-09 Thread Dirkjan Ochtman
On Sun, Jun 9, 2013 at 4:22 PM, Alex Legler  wrote:
> I'd appreciate some input on below plan to move project pages to the Wiki:

Sounds like a great plan to me!

Cheers,

Dirkjan