[gentoo-user] OT: networking and libvirt

2013-01-19 Thread William Kenworthy
I am setting up a libvirt managed vm system on a gentoo server that will
have a number of gentoo vm's - web, calendar/mail, ...  Eventually I'll
have two servers and migration will be needed.

What do people who do this use for networking? - I have the native
libvert nat working but I prefer a routed subnet and not nat.  I used a
tap and vde on my older non-libvirt system ... but it seems vde is not
an option, but it looks like vlans, macvlan etc will work.

So what is usually recommended and works for this scenario?

BillK




[gentoo-user] {OT} web-based accounting ledger

2013-01-19 Thread Grant
Can anyone recommend a web-based accounting ledger?  I've been using
gnucash but I'd rather it were web-based for multiple users.

These look promising:

* ledgersmb - outdated ebuild in bugzilla, requires postresql
* phreebooks - seems well-regarded but no Gentoo-related mention of it
via Google
* tryton - GTK client, somebody went to town for Gentoo in the tryton overlay
* openerp - in portage(!), requires postgresql

hledger-web doesn't seem well-suited for use by non-geeks.

- Grant



Re: [gentoo-user] udev-197-r3 update problem...

2013-01-19 Thread Canek Peláez Valdés
On Sat, Jan 19, 2013 at 10:02 AM, Jarry  wrote:
> Hi Gentoo-users,
>
> I'm just in the process of updating my nearly identical servers.
> Some of them I updated without any problem. "Unfortunatelly",
> right now new udev-197-r3 went stable, and so those servers
> which I synced with portage-tree later want to pull udev-197,
> and give this error:
>
> ---
> vs1-sys ~ # emerge --ask --update --deep --newuse --verbose world
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies... done!
> [ebuild  N ] dev-util/gperf-3.0.4  961 kB
> [ebuild  N ] dev-libs/libgpg-error-1.10  USE="nls -common-lisp
> -static-libs" 429 kB
> [ebuild  N ] dev-libs/libgcrypt-1.5.0-r2  USE="-static-libs" 1,405 kB
> [ebuild  N ] dev-libs/libxslt-1.1.28  USE="crypt -debug -python
> -static-libs" 3,356 kB
> [ebuild  N ] sys-apps/kmod-12-r1  USE="tools zlib -debug -doc -lzma
> -static-libs" 1,246 kB
> [ebuild U  ] sys-fs/udev-197-r3 [171-r9] USE="acl%* kmod%* openrc%*
> -doc% -gudev -hwdb -introspection -keymap (-selinux) -static-libs%
> (-action_modeswitch%) (-build%) (-debug%) (-edd%) (-extras%) (-floppy%)
> (-rule_generator%*) (-test%)" 2,008 kB
> [ebuild U  ] virtual/udev-197 [171] USE="-gudev -hwdb -introspection
> -keymap (-selinux) -static-libs" 0 kB
> [ebuild  N ] sys-fs/udev-init-scripts-19  5 kB
> [blocks B  ] sys-apps/kmod ("sys-apps/kmod" is blocking
> sys-apps/module-init-tools-3.16-r2)
> [blocks B  ] sys-apps/module-init-tools ("sys-apps/module-init-tools" is
> blocking sys-apps/kmod-12-r1)
>
> Total: 8 packages (2 upgrades, 6 new), Size of downloads: 9,407 kB
> Conflict: 2 blocks (2 unsatisfied)
>
>  * Error: The above package list contains packages which cannot be
>  * installed at the same time on the same system.
>
>   (sys-apps/kmod-12-r1::gentoo, ebuild scheduled for merge) pulled in by
> sys-apps/kmod[tools] required by (virtual/modutils-0::gentoo, installed)
> >=sys-apps/kmod-12 required by (sys-fs/udev-197-r3::gentoo, ebuild
> scheduled for merge)
>
>   (sys-apps/module-init-tools-3.16-r2::gentoo, installed) pulled in by
> >=sys-apps/module-init-tools-3.2 required by
> (virtual/modutils-0::gentoo, installed)
>
> ---
>
> So how can I fix this mess? I masked sys-fs/udev-197-r3,
> now portage does not complain, but it is just temporary
> solution...

try:

emerge -Cv sys-apps/module-init-tools
emerge -1v sys-apps/kmod

and then try to update world again. kmod is a drop-in replacement for
module-init-tools, and it's what is used by new versions of udev. You
probably will need to keyword kmod.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



[gentoo-user] udev-197-r3 update problem...

2013-01-19 Thread Jarry

Hi Gentoo-users,

I'm just in the process of updating my nearly identical servers.
Some of them I updated without any problem. "Unfortunatelly",
right now new udev-197-r3 went stable, and so those servers
which I synced with portage-tree later want to pull udev-197,
and give this error:

---
vs1-sys ~ # emerge --ask --update --deep --newuse --verbose world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N ] dev-util/gperf-3.0.4  961 kB
[ebuild  N ] dev-libs/libgpg-error-1.10  USE="nls -common-lisp 
-static-libs" 429 kB

[ebuild  N ] dev-libs/libgcrypt-1.5.0-r2  USE="-static-libs" 1,405 kB
[ebuild  N ] dev-libs/libxslt-1.1.28  USE="crypt -debug -python 
-static-libs" 3,356 kB
[ebuild  N ] sys-apps/kmod-12-r1  USE="tools zlib -debug -doc -lzma 
-static-libs" 1,246 kB
[ebuild U  ] sys-fs/udev-197-r3 [171-r9] USE="acl%* kmod%* openrc%* 
-doc% -gudev -hwdb -introspection -keymap (-selinux) -static-libs% 
(-action_modeswitch%) (-build%) (-debug%) (-edd%) (-extras%) (-floppy%) 
(-rule_generator%*) (-test%)" 2,008 kB
[ebuild U  ] virtual/udev-197 [171] USE="-gudev -hwdb -introspection 
-keymap (-selinux) -static-libs" 0 kB

[ebuild  N ] sys-fs/udev-init-scripts-19  5 kB
[blocks B  ] sys-apps/kmod ("sys-apps/kmod" is blocking 
sys-apps/module-init-tools-3.16-r2)
[blocks B  ] sys-apps/module-init-tools 
("sys-apps/module-init-tools" is blocking sys-apps/kmod-12-r1)


Total: 8 packages (2 upgrades, 6 new), Size of downloads: 9,407 kB
Conflict: 2 blocks (2 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (sys-apps/kmod-12-r1::gentoo, ebuild scheduled for merge) pulled in by
sys-apps/kmod[tools] required by (virtual/modutils-0::gentoo, 
installed)
>=sys-apps/kmod-12 required by (sys-fs/udev-197-r3::gentoo, ebuild 
scheduled for merge)


  (sys-apps/module-init-tools-3.16-r2::gentoo, installed) pulled in by
>=sys-apps/module-init-tools-3.2 required by 
(virtual/modutils-0::gentoo, installed)


---

So how can I fix this mess? I masked sys-fs/udev-197-r3,
now portage does not complain, but it is just temporary
solution...

Jarry

--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



Re: [gentoo-user] cairo USE flags

2013-01-19 Thread Daniel Troeder
Am 19.01.2013 11:49, schrieb Florian Philipp:
> Hi list!
> 
> I've noticed that there is probably a lot of performance to be gained
> from activating backend acceleration in cairo. It's just that I have no
> clue about the details:
> 
> drm, gallium and opengl are all described as accelerating backends. Does
> that mean they are mutually exclusive or can I activate them all and
> cairo will sort it out?
> 
> What does the qt4 use flag do? Is it just a language binding?
> 
> Does anyone know a simple benchmark for cairo?
> 
> Thanks in advance!
> Florian Philipp
> 
I found your question very interesting, and so I used... google :D

-> Cairo seems to bring a benchmark with the source in cairo\perf.
-> http://cworth.org/intel/performance_measurement/

-> The Phoronix test suit ofc has a performance test for cairo :)
-> I looked into some examples, and there are BIG differences between
   gfx cards:
http://openbenchmarking.org/prospect/1204129-SU-NVIDIAGEF19/3653c29c52e5da38d1879d193dc660515f97d242

-> This posting is most interesting:
http://lists.cairographics.org/archives/cairo/2012-October/023609.html

As a nvidia blob user it seems I should be using the XRender backend.
But how? I can USE=-opengl to have that out of the way, but what's with
the other USE flags?  looking at the ebuild I see, that I only need
"X" :)

$(use_with X x) \
$(use_enable X xlib) \
$(use_enable X xlib-xrender) \
$(use_enable aqua quartz) \
$(use_enable aqua quartz-image) \
$(use_enable debug test-surfaces) \
$(use_enable directfb) \
$(use_enable glib gobject) \
$(use_enable doc gtk-doc) \
$(use_enable openvg vg) \
$(use_enable opengl gl) \
$(use_enable qt4 qt) \
$(use_enable static-libs static) \
$(use_enable svg) \
$(use_enable xcb) \
$(use_enable xcb xcb-shm) \
$(use_enable drm) \
$(use_enable gallium) \

Now I wonder if cairo doesn't simply choose the best one automatically?
Or should I "X -xcb -opengl -openvg"?
(Keeping "glib qt4 svg" for apps on.)

[..]

I used cairo-trace to start some programs and it seems like programs can
set their desired backend. There is a "/type" setting:

  /type 42 set   (firefox, soffice, clementine, evince, opera,
crack-attack, digikam, inkscape)
  /type /xlib set(firefox, soffice, clementine, evince,
crack-attack, digikam, inkscape)
  /type /xrender set (firefox, soffice, clementine)


I wonder what "42" is...


Greetings,
Daniel




[gentoo-user] cairo USE flags

2013-01-19 Thread Florian Philipp
Hi list!

I've noticed that there is probably a lot of performance to be gained
from activating backend acceleration in cairo. It's just that I have no
clue about the details:

drm, gallium and opengl are all described as accelerating backends. Does
that mean they are mutually exclusive or can I activate them all and
cairo will sort it out?

What does the qt4 use flag do? Is it just a language binding?

Does anyone know a simple benchmark for cairo?

Thanks in advance!
Florian Philipp



signature.asc
Description: OpenPGP digital signature