Re: [gentoo-user] Dependency conflict. openjpeg ffmpeg

2014-06-15 Thread John Campbell

On 06/14/2014 10:10 PM, Dale wrote:

John Campbell wrote:

On 06/14/2014 07:10 PM, Dale wrote:


I don't have a env directory in /etc/portage and there is no
openjpeg-1.3-r2 available in the tree.  I sort of think I know what you
are talking about tho.  I need to create that directory structure for
openjpeg-1.4-r1 and put ABI_X86=32 x32 in the file.


Sorry, I mistyped the version number.


Ahh.  I was curious and thought about that.  That version is mentioned
in the error tho so I wasn't sure.  I wonder tho, can I add that file
and not have a version at all?   Sort of like I do in package.keywords
etc etc.


Yes, you can skip the version number.  It should be just like the 
package.* directories but for env(ironment) variables.  It wouldn't 
suprise me if someone renamed it to package.env someday like they did 
from package.keywords to package.accept_keywords.



Well, I have 16Gbs here.  I'm not lacking for memory.  If memory prices
were to drop a bit, I could upgrade some more.  I'd have to swap out
what I have tho.  Old mobo would only take 4GB sticks and this new one
will take 8GB sticks.


Unless you have a specific reason for keeping both x32 and 64 ABIs I'd 
suggest changing to ABI_X86=32 64 globally in /etc/make.conf (or 
/etc/portage/make.conf).  It's a lot easier than waiting for the next 
conflict.  Then do emerge --new-use --deep @world and you're done. 
There shouldn't bee too many packages that need rebuilding.




Re: [gentoo-user] Dependency conflict. openjpeg ffmpeg

2014-06-15 Thread wraeth
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 15/06/14 16:13, John Campbell wrote:
 On 06/14/2014 10:10 PM, Dale wrote: Yes, you can skip the version number. 
 It should be just like the package.* directories but for env(ironment) 
 variables.  It wouldn't suprise me if someone renamed it to package.env 
 someday like they did from package.keywords to package.accept_keywords.

*I* could be wrong, but this looks wrong.

The way I understand the environment overrides to work is:

You create a file in /etc/portage/env with your environment overrides:

file /etc/portage/env/notmpfs.conf:
PORTAGE_TMPDIR=/var/tmp/portage-notmp

You then instruct which packages are to use a given environment override using
package.env:

file /etc/portage/package.env:
mail-client/thunderbird notmpfs.conf

When emerge begins work on a given atom, it will look at package.env to see if
there are any environment override directives given, and if so, use the
variables defined in the specified environment file to override those in
make.conf (or the default value if not specified).

At least, this is how I use /etc/portage/{,package.}env, and afaik is *how*
it's supposed to be used (as far as I understand man portage(5)).

Please, feel free to correct me if i'm wrong.

- -wraeth
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iF4EAREIAAYFAlOdP+wACgkQXcRKerLZ91mPygD/QNgEvnYIwnenijsM1ekj/2Hj
MvvHHojrdWHg4JudKAMA+wexTE9z9JEAYQRZARQS1NSd2sQj637cTpVl18NDE2BD
=vWhf
-END PGP SIGNATURE-



Re: [gentoo-user] Dependency conflict. openjpeg ffmpeg

2014-06-15 Thread wraeth
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 15/06/14 16:40, wraeth wrote:
 Please, feel free to correct me if i'm wrong.

Looks like I *was* wrong - i was testing with something that seemingly wasn't
being overridden.  Actually testing with PORTAGE_TMPDIR (something more global
to portage than what I was testing with) *does* override that variable using
the '/etc/portage/env/category/pkg-vers' structure.

Don't mind me :)

- -wraeth


-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iF4EAREIAAYFAlOdQ6IACgkQXcRKerLZ91kiRgD/WS1YO2d9JOviTINSIsFoe7jX
NYEHLbX5a99nb1k4BVkA/3E+LSH2Iu5det0PuDF5gW8NxomEf7/PQr6wKOwkovE8
=Bc4d
-END PGP SIGNATURE-



Re: [gentoo-user] udev upgrade 208 212-r1, openrc USE flag changed to disabled?

2014-06-15 Thread Alon Bar-Lev
On Sun, Jun 15, 2014 at 5:15 AM, Joseph syscon...@gmail.com wrote:
 On 06/14/14 23:39, Alon Bar-Lev wrote:
 [snip]


 It means that openrc users should strongly consider migrate to eudev.
 I use eudev since its beta and never had any issue, nor systemd
 leaking into my system. And in addition add the following at
 make.conf, as it seems that we are enforced to have files we never
 use.

 INSTALL_MASK=/lib/systemd /lib32/systemd /lib64/systemd
 /usr/lib/systemd /usr/lib32/systemd /usr/lib64/systemd /etc/systemd


 How sys-fs/eudev differes from the one we are using sys-fs/udev

http://article.gmane.org/gmane.linux.gentoo.devel/81901


 --
 Joseph




Re: [gentoo-user] gupnp enforces connman || networkmanager

2014-06-15 Thread Mick
On Sunday 15 Jun 2014 00:31:25 Alan McKinnon wrote:
 I'm at a loss to explain why this is a good idea or desirable:
 
 !!! The ebuild selected to satisfy
 =net-libs/gupnp-0.18[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mi
 ps_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?] has unmet requirements.
 - net-libs/gupnp-0.20.12-r1::gentoo USE=introspection -connman
 -networkmanager ABI_X86=64 -32 -x32 PYTHON_TARGETS=python2_7
 -python2_6
 
   The following REQUIRED_USE flag constraints are unsatisfied:
 exactly-one-of ( connman networkmanager )
 
 
 
 USE=upnp is pulling this in, the major user of that flag here is
 farstream.
 
 Maybe I want farstream. Maybe I want upnp for it.
 Maybe I don't care for connman or networkmanager (I use wicd, some users
 want no nw manager at all)
 
 So, what is the sense behind a feature of an instant messenger framework
 causing me to decide between two undesirable connection managers?
 
 Anyone see some valid logic that I miss?

I think (didn't look into it at any depth) that pidgin draws in net-
libs/libnice (because of XMPP?) and libnice has the upnp flag which draws in 
net-libs/gupnp-igd.  I unmerged gupnp and this is what I get:

# emerge -uaDtv world

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

Calculating dependencies... done!
[nomerge   ] net-im/pidgin-2.10.9-r1  USE=dbus gstreamer gtk ncurses nls 
spell xscreensaver (-aqua) -debug -doc -eds -gadu -gnutls -groupwise -idn -
meanwhile -mxit -networkmanager -perl -prediction -python -sasl -silc -tcl -tk 
-zephyr -zeroconf PYTHON_SINGLE_TARGET=python2_7 -python3_2 -python3_3 
PYTHON_TARGETS=python2_7 python3_3 -python3_2 
[nomerge   ]  net-libs/farsight2-0.0.31  USE=-msn -python -upnp 
[nomerge   ]   net-libs/libnice-0.1.4  USE=upnp 
[nomerge   ]net-libs/gupnp-igd-0.2.2-r1  USE=introspection -python 
PYTHON_TARGETS=python2_7 
[ebuild  N ] net-libs/gupnp-0.20.10:0/4  USE=connman introspection -
networkmanager PYTHON_TARGETS=python2_7 (-python2_6) 0 kB

Interestingly, I do *not* have farsight installed, but I had installed connman 
to try it with enlightenment (econnman).

[I] net-misc/connman

 Installed versions:  1.21(13:45:57 03/08/14)(bluetooth ethernet policykit 
wifi -debug -doc -examples -ofono -openconnect -openvpn -tools -vpnc)

-- 
Regards,
Mick


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


Re: [gentoo-user] Is my laptop getting old, or are some packages more and more demanding?

2014-06-15 Thread Mick
On Saturday 14 Jun 2014 23:57:43 Alan McKinnon wrote:
 On 15/06/2014 00:20, Mick wrote:
  I looked at how long some packages are taking these days.  I noticed that
  firefox and chromium take a lot longer to emerge than was the case 3-4
  years ago.  For example:
[snip ...]

 Your firefox example is very skewed - in the 3.x days firefox was really
 just a front end thingie and the bulk of the code was in backend
 packages (eg xulrunner).

Ahh! Yes, well spotted.  I had forgotten about xulrunner, which was growing at 
an alarming rate as I recall.


 Chromium is a good example, that one has grown *enormously*
 
 And maybe your disks are tired too :-) . You do have hdparm results from
 4 years ago to compare?

I have not install hdparm on this laptop, thinking that I do not really need 
it for anything.  Anyway, do disks spin slower with age?  Even if their 
bearings theoretically wear out and eventually slow down, would this be 
perceptible?

What readings would I be comparing?  hdparm -t and -T?

-- 
Regards,
Mick


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


Re: [gentoo-user] gupnp enforces connman || networkmanager

2014-06-15 Thread Neil Bothwick
On Sun, 15 Jun 2014 01:31:25 +0200, Alan McKinnon wrote:

 Maybe I want farstream. Maybe I want upnp for it.
 Maybe I don't care for connman or networkmanager (I use wicd, some users
 want no nw manager at all)
 
 So, what is the sense behind a feature of an instant messenger framework
 causing me to decide between two undesirable connection managers?
 
 Anyone see some valid logic that I miss?

I see two separate issues here. If you re going to depend on a network
manager, there should be a virtual - networkmanager, connman, wicd, openrc
and systemd all have that capability.

Secondly, I agree with you that there seems no need to require a network
manager just to use a networked service. After all, people use IM on
desktop computers with wired connections. What matters is that you have a
network connection, not the mechanics used to set it up.


-- 
Neil Bothwick

If at first you don't succeed, give up. No use being a damn fool.


signature.asc
Description: PGP signature


Re: [gentoo-user] Dependency conflict. openjpeg ffmpeg

2014-06-15 Thread Neil Bothwick
On Sun, 15 Jun 2014 00:10:41 -0500, Dale wrote:

 Ahh.  I was curious and thought about that.  That version is mentioned
 in the error tho so I wasn't sure.  I wonder tho, can I add that file
 and not have a version at all?   Sort of like I do in package.keywords
 etc etc.

You can, but you just said.

 I've
 never put anything in the env directory before and would prefer to keep
 it that way because I will forget it is there and it will come back and
 bite me some day.  

Using the version number means the setting will expire when the
package is upgraded, meaning it won;t be able to bite you later on.

Though I would prefix the atom with ~ instead of = to cover patch level
updates.


-- 
Neil Bothwick

An infinite number of monkeys pounding away on keyboards will
eventually produce a report showing that Windows is more secure,
and has a lower TCO, than linux.


signature.asc
Description: PGP signature


Re: [gentoo-user] Dependency conflict. openjpeg ffmpeg

2014-06-15 Thread Dale
John Campbell wrote:
 On 06/14/2014 10:10 PM, Dale wrote:

 Well, I have 16Gbs here.  I'm not lacking for memory.  If memory prices
 were to drop a bit, I could upgrade some more.  I'd have to swap out
 what I have tho.  Old mobo would only take 4GB sticks and this new one
 will take 8GB sticks.

 Unless you have a specific reason for keeping both x32 and 64 ABIs I'd
 suggest changing to ABI_X86=32 64 globally in /etc/make.conf (or
 /etc/portage/make.conf).  It's a lot easier than waiting for the next
 conflict.  Then do emerge --new-use --deep @world and you're done.
 There shouldn't bee too many packages that need rebuilding.



I put that in make.conf and get this:

# required by sys-fs/eudev-1.7[gudev]
# required by @selected
# required by @world (argument)
=dev-libs/glib-2.40.0 ~amd64
 
Does it make sense to keyword that?  Isn't that the package that once
upgraded you can't go backward?  I'm just double checking that this all
makes sense.   scratches head  

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] Dependency conflict. openjpeg ffmpeg

2014-06-15 Thread Dale
Neil Bothwick wrote:
 On Sun, 15 Jun 2014 00:10:41 -0500, Dale wrote:

 Ahh.  I was curious and thought about that.  That version is mentioned
 in the error tho so I wasn't sure.  I wonder tho, can I add that file
 and not have a version at all?   Sort of like I do in package.keywords
 etc etc.

 You can, but you just said.

 I've
 never put anything in the env directory before and would prefer to keep
 it that way because I will forget it is there and it will come back and
 bite me some day. 

 Using the version number means the setting will expire when the
 package is upgraded, meaning it won;t be able to bite you later on.

 Though I would prefix the atom with ~ instead of = to cover patch level
 updates.



I have looked for a place where it is documented how to do that.  I know
there is a lot of ways to add packages to those files with = and such
in front of the package names.  Do you have a link to some docs on
that?   If not, some examples would be cool.

Well, I was going to try adding the variable to make.conf as posted in
another email.  I think that may be better since this seems to be a
issue that is in flux at the moment.  ;-)

Dale

:-)  :-)

-- 
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!



[gentoo-user] gnome-keyring-daemon processes running as root

2014-06-15 Thread Francesco Turco
Hello. I'm a GNOME 3.12 user with a couple of problems that could depend
on GNOME keyring running as root instead of a non-privileged user.

This is the situation before logging in with GDM:

$ ps aux | grep keyring
root   458  0.0  0.0 115220  2808 ?Sl   10:53   0:00
/usr/bin/gnome-keyring-daemon --daemonize --login
fturco 474  0.0  0.0  10572  2212 tty1 S+   10:53   0:00 grep
--colour=auto keyring

This is the situation after logging in with GDM:

$ ps aux | grep keyring
root   458  0.0  0.0 115220  2808 ?Sl   10:53   0:00
/usr/bin/gnome-keyring-daemon --daemonize --login
root   495  0.0  0.0 115220  2784 ?Sl   10:53   0:00
/usr/bin/gnome-keyring-daemon --daemonize --login
root   499  0.0  0.0 115248  3672 ?Sl   10:53   0:00
/usr/bin/gnome-keyring-daemon --daemonize --login
root   534  0.0  0.1 294352  8692 ?Sl   10:53   0:00
/usr/bin/gnome-keyring-daemon --start --components=ssh
root   550  0.0  0.1 359888  8636 ?Sl   10:53   0:00
/usr/bin/gnome-keyring-daemon --start --components=pkcs11
root   558  0.0  0.1 359888  8480 ?Sl   10:53   0:00
/usr/bin/gnome-keyring-daemon --start --components=secrets
root   568  0.0  0.1 294356  8560 ?Sl   10:53   0:00
/usr/bin/gnome-keyring-daemon --start --components=gpg
fturco 753  0.0  0.0  10576  2236 pts/0S+   10:54   0:00 grep
--colour=auto keyring

As you can see I have many gnome-keyring-daemon processes running as
root. I also noted that on my system /usr/bin/gnome-keyring-daemon has
the setuid bit set:

$ ls -l /usr/bin/gnome-keyring-daemon 
-rws--x--x 1 root root 940184 Jun  8 16:18 /usr/bin/gnome-keyring-daemon

Some directories are owned by root:

$ ls -ld /run/user/1000/keyring/
drwx-- 2 root fturco 100 Jun 15 10:55 /run/user/1000/keyring/

$ ls -ld /home/fturco/.local/share/keyrings
drwx-- 2 root fturco 4096 Jun  9 18:53
/home/fturco/.local/share/keyrings

Is all of this normal?

P.S. At the beginning I hinted at a couple of problem I'm having: 1) I
cannot access my e-mail account with Evolution; 2) I also cannot connect
to my VPN with Network Manager. In both cases I get the following error
message in journalctl:

 Error calling StartServiceByName for org.freedesktop.secrets: Timeout was 
 reached 

There are two bugs on GNOME bugzilla describing these problems, one for
Evolution and the other one for Network Manager:

- https://bugzilla.gnome.org/show_bug.cgi?id=728469
- https://bugzilla.gnome.org/show_bug.cgi?id=731372

Thank you.



Re: [gentoo-user] Dependency conflict. openjpeg ffmpeg

2014-06-15 Thread Neil Bothwick
On Sun, 15 Jun 2014 03:59:25 -0500, Dale wrote:

  Though I would prefix the atom with ~ instead of = to cover patch
  level updates.

 I have looked for a place where it is documented how to do that.  I know
 there is a lot of ways to add packages to those files with = and such
 in front of the package names.  Do you have a link to some docs on
 that?   If not, some examples would be cool.

man portage
man 5 ebuild

The latter has more detail.

 Well, I was going to try adding the variable to make.conf as posted in
 another email.  I think that may be better since this seems to be a
 issue that is in flux at the moment.  ;-) 

I think the very fluxiness of it would put me off enabling it globally
and set it case by case until things had settled down.

BTW eix-test-obsolete is a good tool for cleaning up /etc/portage,
finding all sorts of per-package settings you set and forgot about.


-- 
Neil Bothwick

But I thought YOU did the backups...


signature.asc
Description: PGP signature


Re: [gentoo-user] [OT] Intel(R) Celeron(R) CPU J1800 drivers

2014-06-15 Thread Mick
On Wednesday 11 Jun 2014 12:28:17 Francisco Ares wrote:
 Hi,
 
 I am trying to install Gentoo on a x64 system with such processor, that, as
 far as I could understand, is like to have the chipset embedded, so the
 buses to video, pci express, usb, etc, comes out of the processor chip.
 
 The kernel from the 3.10 series were not able to correctly handle this
 processor, at least the video driver (not sure about the rest), but the new
 stable one, gento-sources-3.12.21-r1 is OK, now I have the framebuffer
 splash.
 
 But no X11 for now.  I have added ~amd64 keywords to
 x11-drivers/xf86-video-intel, but, for now, only a black screen, with no
 clue on the log file /var/log/Xorg.0.log (which is the latest).
 
 On /etc/portage/make.conf, I have the line:
 
 VIDEO_CARDS=intel i915 i965 modesetting
 
 Did I miss something?

Change the above to:

VIDEO_CARDS=intel i965 modesetting

(not sure if modesetting is necessary)

Enable the corresponding kernel drivers, but not for framebuffer - see here:

  https://wiki.gentoo.org/wiki/Xorg/Configuration

and recompile and install your new kernel.


Run emerge -uaNDv world which will remerge the necessary xorg drivers.  Reboot 
and it should work.

-- 
Regards,
Mick


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


Re: [gentoo-user] Dependency conflict. openjpeg ffmpeg

2014-06-15 Thread Dale
Neil Bothwick wrote:
 On Sun, 15 Jun 2014 03:59:25 -0500, Dale wrote:

 Though I would prefix the atom with ~ instead of = to cover patch
 level updates.
 I have looked for a place where it is documented how to do that.  I know
 there is a lot of ways to add packages to those files with = and such
 in front of the package names.  Do you have a link to some docs on
 that?   If not, some examples would be cool.
 man portage
 man 5 ebuild

 The latter has more detail.

Gold mine.  I knew it had to be somewhere but never could find it. 
Thank you!!



 Well, I was going to try adding the variable to make.conf as posted in
 another email.  I think that may be better since this seems to be a
 issue that is in flux at the moment.  ;-) 
 I think the very fluxiness of it would put me off enabling it globally
 and set it case by case until things had settled down.

 BTW eix-test-obsolete is a good tool for cleaning up /etc/portage,
 finding all sorts of per-package settings you set and forgot about.




Yea, may try that.  I dunno.  To sleepy right now. 

I tend to forget to run that until the list gets HUGE then it is like,
that takes to long so oh well.  I really need to spend a few hours
working on that tho.  I'm sure it is a nightmare by now. 

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] udev upgrade 208 212-r1, openrc USE flag changed to disabled?

2014-06-15 Thread Tanstaafl

On 6/14/2014 7:08 PM, Alan McKinnon alan.mckin...@gmail.com wrote:

The answer is *always in the ebuild and Changelog.


I agree that, now that I know what and why, that it didn't rate a news 
item, but - especially with respect to anything related to the touchy 
subject of systemd/openrc - some kind of informational text explaining 
the change in the postinst text of the installation (I always read these 
emails when performing updates, even for non critical packages) is 
warranted (imnsho)...




Re: [gentoo-user] udev upgrade 208 212-r1, openrc USE flag changed to disabled?

2014-06-15 Thread Tom H
On Sat, Jun 14, 2014 at 4:32 PM, Tanstaafl tansta...@libertytrek.org wrote:
 On 6/14/2014 2:15 PM, Tom H tomh0...@gmail.com wrote:
 On Sat, Jun 14, 2014 at 1:28 PM, Tanstaafl tansta...@libertytrek.org
 wrote:
 On 6/14/2014 1:02 PM, Mike Gilbert flop...@gentoo.org wrote:
 On Sat, Jun 14, 2014 at 10:31 AM, Tanstaafl tansta...@libertytrek.org
 wrote:

 *Why* was it removed/no longer needed? And why was it needed
 previously?

 Read the ChangeLog for sys-fs/udev, specifically the entry on 03 Apr
 2014.

 Thanks - a half hour of googling didn't find this.

 03 Apr 2014; Samuli Suominen ssuomi...@gentoo.org
 udev-212-r1.ebuild, udev-.ebuild:
 Punt USE=openrc and always pull in sys-fs/udev-init-scripts to match
 behavior of sys-apps/systemd's ebuild.

 Which means... what exactly?

 The only way I can make sense of your reply is...

 It means the only purpose of the openrc USE flag prio to this change was to
 pull in udev-init-scripts?

 See what I mean? How am I supposed to know that?

By looking at the ebuild changes.

For sysfs/udev, +openrc was removed from IUSE and
sys-fs/udev-init-scripts no longer pdepends on the openrc USE flag.

sys-apps/kmod also has (-openrc%*) in your output so there must be
something similar at work there.



[gentoo-user] [OT} GStreamer: How to view AND record a stream coming from an USB Webcam

2014-06-15 Thread meino . cramer
Hi,

After unsuccessfully trying vlc with a Logitech C920 HD Pro Webcam 
(over 2 seconds delay between audio and video). I played around
with gstreamer and from bits and pieces from the web I build
this line:

gst-launch-1.0 v4l2src device=/dev/video1 ! 
video/x-h264,width=1920,height=1080,framerate=30/1 ! \
h264parse ! muxout. alsasrc device=hw:3,0 ! queue ! audioconvert ! 
lamemp3enc ! \ 
muxout. matroskamux name=muxout streamable=true ! filesink location=c920.mp4

which records a Full HD video with audio to my harddisc. The delay is
minimal and the sync between audio and video is good.

But there is one disadvantage:
I cannot see what I am recording and I cannot watch the webcams stream
before I fire up the script because otherwise the device would be already
in use (I dont like scripts, which simply kill other applications when
called).

Any ideas or hints how to manage that?

Thank you very much in advance for any help!
Best regards,
mcc









Re: [gentoo-user] [OT} GStreamer: How to view AND record a stream coming from an USB Webcam

2014-06-15 Thread Canek Peláez Valdés
On Sun, Jun 15, 2014 at 12:54 PM,  meino.cra...@gmx.de wrote:
 Hi,

 After unsuccessfully trying vlc with a Logitech C920 HD Pro Webcam
 (over 2 seconds delay between audio and video). I played around
 with gstreamer and from bits and pieces from the web I build
 this line:

 gst-launch-1.0 v4l2src device=/dev/video1 ! 
 video/x-h264,width=1920,height=1080,framerate=30/1 ! \
 h264parse ! muxout. alsasrc device=hw:3,0 ! queue ! audioconvert ! 
 lamemp3enc ! \
 muxout. matroskamux name=muxout streamable=true ! filesink 
 location=c920.mp4

 which records a Full HD video with audio to my harddisc. The delay is
 minimal and the sync between audio and video is good.

 But there is one disadvantage:
 I cannot see what I am recording and I cannot watch the webcams stream
 before I fire up the script because otherwise the device would be already
 in use (I dont like scripts, which simply kill other applications when
 called).

 Any ideas or hints how to manage that?

Use the tee element. I'm in a hurry, so I cannot test a pipeline right
now, but I will try later. Meanwhile, just try to put a queue element
after each path of the tee.

gst-inspect-1.0 tee

Regards.
-- 
Canek Peláez Valdés
Profesor de asignatura, Facultad de Ciencias
Universidad Nacional Autónoma de México



Re: [gentoo-user] gupnp enforces connman || networkmanager

2014-06-15 Thread Mike Gilbert
On Sat, Jun 14, 2014 at 7:31 PM, Alan McKinnon alan.mckin...@gmail.com wrote:
 I'm at a loss to explain why this is a good idea or desirable:

 !!! The ebuild selected to satisfy
 =net-libs/gupnp-0.18[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?]
 has unmet requirements.
 - net-libs/gupnp-0.20.12-r1::gentoo USE=introspection -connman
 -networkmanager ABI_X86=64 -32 -x32 PYTHON_TARGETS=python2_7 -python2_6

   The following REQUIRED_USE flag constraints are unsatisfied:
 exactly-one-of ( connman networkmanager )



 USE=upnp is pulling this in, the major user of that flag here is
 farstream.

 Maybe I want farstream. Maybe I want upnp for it.
 Maybe I don't care for connman or networkmanager (I use wicd, some users
 want no nw manager at all)

 So, what is the sense behind a feature of an instant messenger framework
 causing me to decide between two undesirable connection managers?

 Anyone see some valid logic that I miss?


I'm pretty sure this was a simple developer error.

REQUIRED_USE=^^ ( connman networkmanager ) should have been
REQUIRED_USE=?? ( connman networkmanager ).

The former requires that exactly one flag be enabled. The latter
requires that at most one flag may be enabled.



Re: [gentoo-user] cannot emerge games-fps/darkplaces for ppc

2014-06-15 Thread Stroller

On Fri, 13 June 2014, at 11:52 pm, Christian Groessler ch...@groessler.org 
wrote:

 Hi,
 
 I'm getting this:
 
 powerpc-unknown-linux-gnu-gcc -MMD 
 -DDP_FS_BASEDIR='/usr/share/games/quake1' -Wall -Wold-style-definition 
 -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement 
 -Wmissing-prototypes -DLINK_TO_LIBJPEG  -D_FILE_OFFSET_BITS=64 
 -D__KERNEL_STRICT_NAMES -O2 -pipe -mcpu=970 -mtune=970 -mabi=altivec 
 -fno-strict-aliasing -c cvar.c -o cvar.o
 ...
 
 -msse2 looks like an x86 option…

And your architecture seems to be PPC, for which the ebuild appears not to be 
keyworded.

Stroller.


Re: [gentoo-user] gupnp enforces connman || networkmanager

2014-06-15 Thread Alan McKinnon
On 15/06/2014 20:27, Mike Gilbert wrote:
 On Sat, Jun 14, 2014 at 7:31 PM, Alan McKinnon alan.mckin...@gmail.com 
 wrote:
 I'm at a loss to explain why this is a good idea or desirable:

 !!! The ebuild selected to satisfy
 =net-libs/gupnp-0.18[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?]
 has unmet requirements.
 - net-libs/gupnp-0.20.12-r1::gentoo USE=introspection -connman
 -networkmanager ABI_X86=64 -32 -x32 PYTHON_TARGETS=python2_7 -python2_6

   The following REQUIRED_USE flag constraints are unsatisfied:
 exactly-one-of ( connman networkmanager )



 USE=upnp is pulling this in, the major user of that flag here is
 farstream.

 Maybe I want farstream. Maybe I want upnp for it.
 Maybe I don't care for connman or networkmanager (I use wicd, some users
 want no nw manager at all)

 So, what is the sense behind a feature of an instant messenger framework
 causing me to decide between two undesirable connection managers?

 Anyone see some valid logic that I miss?

 
 I'm pretty sure this was a simple developer error.
 
 REQUIRED_USE=^^ ( connman networkmanager ) should have been
 REQUIRED_USE=?? ( connman networkmanager ).
 
 The former requires that exactly one flag be enabled. The latter
 requires that at most one flag may be enabled.
 
 
 


You are probably correct, I filed a bug:

https://bugs.gentoo.org/show_bug.cgi?id=513310

-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] udev upgrade 208 212-r1, openrc USE flag changed to disabled?

2014-06-15 Thread Alan McKinnon
On 15/06/2014 16:48, Tanstaafl wrote:
 On 6/14/2014 7:08 PM, Alan McKinnon alan.mckin...@gmail.com wrote:
 The answer is *always in the ebuild and Changelog.
 
 I agree that, now that I know what and why, that it didn't rate a news
 item, but - especially with respect to anything related to the touchy
 subject of systemd/openrc - some kind of informational text explaining
 the change in the postinst text of the installation (I always read these
 emails when performing updates, even for non critical packages) is
 warranted (imnsho)...
 
 
 


You used the word touchy, and that is the lynch factor here.

People are touchy about systemd, making the entire thing a
political/social argument and not a technical one. The tree is a 100%
technical creation and social/political factors do not feature.

Nothing broke and you were not required to make a decision. Hence no
news needed.



-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] gupnp enforces connman || networkmanager

2014-06-15 Thread Mike Gilbert
On Sun, Jun 15, 2014 at 2:42 PM, Alan McKinnon alan.mckin...@gmail.com wrote:
 You are probably correct, I filed a bug:

 https://bugs.gentoo.org/show_bug.cgi?id=513310


Yes, and I responded to and fixed it earlier in the day. I was just
updating the list for those who care. ^_^



Re: [gentoo-user] Is my laptop getting old, or are some packages more and more demanding?

2014-06-15 Thread Alan McKinnon
On 15/06/2014 09:27, Mick wrote:
 And maybe your disks are tired too :-) . You do have hdparm results from
  4 years ago to compare?
 I have not install hdparm on this laptop, thinking that I do not really need 
 it for anything.  Anyway, do disks spin slower with age?  Even if their 
 bearings theoretically wear out and eventually slow down, would this be 
 perceptible?
 
 What readings would I be comparing?  hdparm -t and -T?


Yes, I'd look at those two. If disk performance was suffering due to
age, I'd expect your seek times to suffer and that should show up with -tT

Not too sure really how wear and tear translates to real life; overall
it's probably just simple bloat you have, to borrow Walter's analogy you
started with a sub-compact and now have a ginormous SUV!



-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Is my laptop getting old, or are some packages more and more demanding?

2014-06-15 Thread Mick
On Sunday 15 Jun 2014 20:37:46 Alan McKinnon wrote:
 On 15/06/2014 09:27, Mick wrote:
  And maybe your disks are tired too :-) . You do have hdparm results from
  
   4 years ago to compare?
  
  I have not install hdparm on this laptop, thinking that I do not really
  need it for anything.  Anyway, do disks spin slower with age?  Even if
  their bearings theoretically wear out and eventually slow down, would
  this be perceptible?
  
  What readings would I be comparing?  hdparm -t and -T?
 
 Yes, I'd look at those two. If disk performance was suffering due to
 age, I'd expect your seek times to suffer and that should show up with -tT
 
 Not too sure really how wear and tear translates to real life; overall
 it's probably just simple bloat you have, to borrow Walter's analogy you
 started with a sub-compact and now have a ginormous SUV!

I think that's call progress.  ;-)

The Internet has grown and technology develops to deliver all this new 
functionality that lynx can't really provide.

-- 
Regards,
Mick


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


Re: [gentoo-user] gupnp enforces connman || networkmanager

2014-06-15 Thread Mick
On Sunday 15 Jun 2014 19:27:18 Mike Gilbert wrote:
 On Sat, Jun 14, 2014 at 7:31 PM, Alan McKinnon alan.mckin...@gmail.com 
wrote:
  I'm at a loss to explain why this is a good idea or desirable:
  
  !!! The ebuild selected to satisfy
  =net-libs/gupnp-0.18[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_
  mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?] has unmet requirements.
  - net-libs/gupnp-0.20.12-r1::gentoo USE=introspection -connman
  -networkmanager ABI_X86=64 -32 -x32 PYTHON_TARGETS=python2_7
  -python2_6
  
The following REQUIRED_USE flag constraints are unsatisfied:
  exactly-one-of ( connman networkmanager )
  
  USE=upnp is pulling this in, the major user of that flag here is
  farstream.
  
  Maybe I want farstream. Maybe I want upnp for it.
  Maybe I don't care for connman or networkmanager (I use wicd, some users
  want no nw manager at all)
  
  So, what is the sense behind a feature of an instant messenger framework
  causing me to decide between two undesirable connection managers?
  
  Anyone see some valid logic that I miss?
 
 I'm pretty sure this was a simple developer error.
 
 REQUIRED_USE=^^ ( connman networkmanager ) should have been
 REQUIRED_USE=?? ( connman networkmanager ).
 
 The former requires that exactly one flag be enabled. The latter
 requires that at most one flag may be enabled.

Why at most one flag may be enabled?  What if *both* connman and 
networkmanager are installed in a system?  Will emerge error out?

-- 
Regards,
Mick


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


Re: [gentoo-user] gupnp enforces connman || networkmanager

2014-06-15 Thread Neil Bothwick
On Sun, 15 Jun 2014 22:55:09 +0100, Mick wrote:

  I'm pretty sure this was a simple developer error.
  
  REQUIRED_USE=^^ ( connman networkmanager ) should have been
  REQUIRED_USE=?? ( connman networkmanager ).
  
  The former requires that exactly one flag be enabled. The latter
  requires that at most one flag may be enabled.  
 
 Why at most one flag may be enabled?  What if *both* connman and 
 networkmanager are installed in a system?  Will emerge error out?

It's not saying you can't have both installed, only that you cannot have
both USE flags in force for that particular package.


-- 
Neil Bothwick

Famed tautologist dies of suicide in distressing tragedy


signature.asc
Description: PGP signature


Re: [gentoo-user] [OT} GStreamer: How to view AND record a stream coming from an USB Webcam

2014-06-15 Thread Canek Peláez Valdés
On Sun, Jun 15, 2014 at 1:04 PM, Canek Peláez Valdés can...@gmail.com wrote:
 On Sun, Jun 15, 2014 at 12:54 PM,  meino.cra...@gmx.de wrote:
 Hi,

 After unsuccessfully trying vlc with a Logitech C920 HD Pro Webcam
 (over 2 seconds delay between audio and video). I played around
 with gstreamer and from bits and pieces from the web I build
 this line:

 gst-launch-1.0 v4l2src device=/dev/video1 ! 
 video/x-h264,width=1920,height=1080,framerate=30/1 ! \
 h264parse ! muxout. alsasrc device=hw:3,0 ! queue ! audioconvert ! 
 lamemp3enc ! \
 muxout. matroskamux name=muxout streamable=true ! filesink 
 location=c920.mp4

 which records a Full HD video with audio to my harddisc. The delay is
 minimal and the sync between audio and video is good.

 But there is one disadvantage:
 I cannot see what I am recording and I cannot watch the webcams stream
 before I fire up the script because otherwise the device would be already
 in use (I dont like scripts, which simply kill other applications when
 called).

 Any ideas or hints how to manage that?

 Use the tee element. I'm in a hurry, so I cannot test a pipeline right
 now, but I will try later. Meanwhile, just try to put a queue element
 after each path of the tee.

 gst-inspect-1.0 tee

OK, it took me a bit of an effort, but this is my pipeline:

gst-launch-1.0 v4l2src norm=NTSC device=/dev/video1 ! queue !
deinterlace mode=1 ! videorate !
video/x-raw,format=YV12,width=720,height=480,framerate=3/1001 !
tee name=t t. ! queue ! videoconvert ! mpeg2enc ! avimux ! filesink
location=file.avi t. ! queue ! videoconvert ! autovideosink

My hardware is much more limited (analog RGB), so resolution and
famerate are accordingly lower. This captures to an AVI file encoded
to MPEG2 the video signal, and at the same time it opens a window to
show the stream.

It should not be that much of a problem to modify it to your needs;
just notice that I didn't capture audio.

Regards.
-- 
Canek Peláez Valdés
Profesor de asignatura, Facultad de Ciencias
Universidad Nacional Autónoma de México



[gentoo-user] eix: error while reading from database: end of file

2014-06-15 Thread meino . cramer
Hi,

while trying to use eix I got constantly this error:

error while reading from database: end of file

regardless for what I am use eix for...

How can I fix that (I run qsearch, because normally
this updates a database -- but it seems, that it is
not the same one...)

Best regards,
mcc






[gentoo-user] Re: [OT} GStreamer: How to view AND record a stream coming from an USB Webcam

2014-06-15 Thread James
 meino.cramer at gmx.de writes:


 After unsuccessfully trying vlc with a Logitech C920 HD Pro Webcam 
 (over 2 seconds delay between audio and video). 


Have you tried  : media-video/ffmpeg ?

This wiki is full of good information. Many video packages use
ffmpeg as part of their core solution... Pay attention to the myriad
of flags you can set and the order of your syntax (manual) strings.


http://trac.ffmpeg.org/wiki

Here are some ideas:

https://wiki.archlinux.org/index.php/FFmpeg

You *may* be able to use the copy command of ffmpeg to spit and view
the h.264 (x.264) stream in real time.  Google for some more syntax
snippets.

Also there is zoneminder a video surveillance application. I do not
know if they ever added x.264 support


HTH,
James








Re: [gentoo-user] Ifplugd breaks services

2014-06-15 Thread Matti Nykyri
 On Jun 8, 2014, at 21:19, Neil Bothwick n...@digimed.co.uk wrote:

 
 On Sun, 8 Jun 2014 20:44:47 +0300, Matti Nykyri wrote:
 
 Have you tried changing rc_depend_strict in /etc/rc.conf?  
 
 Setting rc_depend_strict to NO, fixes the problem :) With that set to
 YES all the services are killed. So I'll stick with NO. Still I think
 that all services stopped should be restarted by default.
 
 Yes, it does seem like a bug, or at least an undocumented feature.

Actually found the true reason for the services not starting. When you stop 
samba it fails to terminate 2 instances of nbmd. So when you try to start samba 
it fails. But it will start normally on the second go. Both of these failures 
will fall within samba or openrc.

 flamebaitOr you could switch to systemd which I suspect could be
 made to handle this situation better./flamebait :)  
 
 I rather not ;)
 
 You're already using some Lennartware so you're already on the slippery
 slope :-O



Re: [gentoo-user] eix: error while reading from database: end of file

2014-06-15 Thread Dale
meino.cra...@gmx.de wrote:
 Hi,

 while trying to use eix I got constantly this error:

 error while reading from database: end of file

 regardless for what I am use eix for...

 How can I fix that (I run qsearch, because normally
 this updates a database -- but it seems, that it is
 not the same one...)

 Best regards,
 mcc


I haven't ran into this one before but may eix-update will help?  I
think that rebuilds the database. 

Hope that helps.

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!