Re: [gentoo-user] Package conflict while trying to emerge chromium

2015-02-19 Thread Marc Joliet
Am Wed, 18 Feb 2015 19:46:58 -0500
schrieb Walter Dnes waltd...@waltdnes.org:

 On Wed, Feb 18, 2015 at 09:09:18AM +0100, Marc Joliet wrote
  
  It's not that it doesn't do HTML5 video, I've been using that ever
  since I noticed the gstreamer USE flag in December 2012 (/etc in
  git is nice ;)).
 
   I have the gstreamer flag (and everything except jit) turned off for
 seamonkey.  Here's output from emerge -pv seamonkey on my machine...
 
 www-client/seamonkey-2.32  USE=jit -chatzilla -crypt -custom-cflags 
 -custom-optimization -dbus -debug -gmp-autoupdate -gstreamer -ipc -minimal 
 -pulseaudio -roaming (-selinux) -startup-notification -system-cairo 
 -system-icu -system-jpeg -system-libvpx -system-sqlite {-test} -wifi 
 LINGUAS=-be -ca -cs -de -en_GB -es_AR -es_ES -fi -fr -gl -hu -it -ja -lt 
 -nb_NO -nl -pl -pt_PT -ru -sk -sv_SE -tr -uk -zh_CN -zh_TW 0 KiB

Well, AFAIK you only really need gstreamer support for non-free formats (i.e.,
MP4, MP3). In fact, perhaps that's why that 1080p video only played in 360p:
maybe the 1080p version is only available as an MP4 (youtube-dl could probably
verify)?

Of course, for all I know you don't care about playing non-free formats, and
that'd be fine.

It's just that I can't deactivate FlashDisable and expect YouTube
  to default to HTML5 videos yet (see the top of the quoted text above).
  
  FWIW, I *did* try it and still got the undesired behaviour (Youtube
  trying to use Flash).
 
   I think we're talking past each other here.  FlashDisable is irrelavant
 to the way I do it.  The really important concept is that each profile
 is a separate universe unto itself.  And you can set totally different
 behaviours in each profile.  In my Youtube profile, I totally disable
 Flash.  As far as the web page is concerned, I don't have Flash
 installed at all.  Like I said above, FlashDisable is irrelavant
 to the way I do it.  Here's the Seamonkey menu tree; Firefox may be
 different.
 
 Tools == Add-ons Manager == Plugins (on the left sidebar)
 
   I select Shockwave Flash from the Plugins list, and there's a
 dropdown menu with 3 choices
 * Ask to Activate
 * Always Activate
 * Never Activate
 
   I select Never Activate, and Youtube thinks I don't have Flash
 installed, forcing it to go with HTML5 mode.

Yeah, you're right, we were talking past each other :) .

(FWIW, that's exactly the same menu tree as in Firefox.)

-- 
Marc Joliet
--
People who think they know everything really annoy those of us who know we
don't - Bjarne Stroustrup


pgpAsKLLxRXQL.pgp
Description: Digitale Signatur von OpenPGP


[gentoo-user] which ebuilds use a specific eclass?

2015-02-19 Thread James
Ok, so googling found lots of interesting things to read; some deprecated
some new.

So looking more deeply into some of the eclasses [1], it helps me to examine
different ebuilds an eclass is inherited into; then specifically how
those eclass constructs are used, by subsequently looking into a specific
ebuild.


Evidently, I'm not alone in this adventure as I have read lots of stuff
about folks not choosing the best eclass to use for a specific task, not
using a given eclass correctly and new (eclass) features that should be used
which have been added to an existing eclass or as part of a new eclass.
Surely this can be very dynamic, but, I'm mostly hacking at relatively
straightforward ebuilds, so the existing semantics are probably fine for me
in most cases, no bleeding edges here.


So for a given eclass, how to I find the list of all ebuilds that use
that eclass I'm interested in? Is my only option a brute force search
of the inherit inside every ebuild?  What if I only want to look at
an eclass, like systemd, limited to a specific category of ebuilds, for
example sys-cluster; what is the best tool/script to search for a specific
eclass limited to a single category?


James


[1] https://devmanual.gentoo.org/eclass-reference/index.html







Re: [gentoo-user] syslog-ng: how to read the log files

2015-02-19 Thread Jan Sever
On 02/19/2015 08:02 PM, Fernando Rodriguez wrote:
 On Tuesday, February 17, 2015 7:26:05 PM lee wrote:
 Hi,

 how do you read the log files when using syslog-ng?

 The log file seem to be some sort of binary that doesn't display too
 well in less, and there doesn't seem to be any way to read them.



 
 You can just pipe the output of strings /var/log/messages to less. You can
use 
 strings(1) for systemd  journal files also.

Yeah and you can check whether it contains any binary data by
diff (strings /var/log/messages) /var/log/messages

-- 
Jan Sever


[gentoo-user] Mysql upgrade from 5.5 to 5.6 not trigger rebuild fot php-5.3

2015-02-19 Thread marco
Hi,
i have a server with dev-db/mysql-5.5.40 and dev-lang/php-5.3.29 .
After the upgrade from dev-db/mysql-5.5.40 to dev-db/mysql-5.6.22 the
mysql_connect give some warnings:

PHP Warning:  mysql_connect(): Headers and client library minor version
mismatch. Headers:50540 Library:50622 in 

The warning disappear if i rebuild dev-lang/php-5.3.29 .

The question is:
why the mysql update dind't triggered the rebuild for
dev-lang/php-5.3.29 ?

Thanks Marco



Re: [gentoo-user] syslog-ng: how to read the log files

2015-02-19 Thread Fernando Rodriguez
On Tuesday, February 17, 2015 7:26:05 PM lee wrote:
 Hi,
 
 how do you read the log files when using syslog-ng?
 
 The log file seem to be some sort of binary that doesn't display too
 well in less, and there doesn't seem to be any way to read them.
 
 
 

You can just pipe the output of strings /var/log/messages to less. You can use 
strings(1) for systemd  journal files also.

-- 
Fernando Rodriguez

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


Re: [gentoo-user] which ebuilds use a specific eclass?

2015-02-19 Thread Neil Bothwick
On Thu, 19 Feb 2015 20:38:18 + (UTC), James wrote:

 So for a given eclass, how to I find the list of all ebuilds that use
 that eclass I'm interested in? Is my only option a brute force search
 of the inherit inside every ebuild?

Well, brute force works

grep -Er 'inherit.*systemd' /var/portage

That shows every ebuild, you may want to reduce it to a list of packages
with something like:

for i in $(grep -Erl 'inherit.*systemd' /var/portage)
do
dirname $i
done | sort -u


 What if I only want to look at
 an eclass, like systemd, limited to a specific category of ebuilds, for
 example sys-cluster; what is the best tool/script to search for a
 specific eclass limited to a single category?

grep works again, just search the category directory(s).


-- 
Neil Bothwick

Why marry a virgin? If she wasn't good enough for the rest of them, then
she isn't good enough for you.


pgplaS4_qLSq9.pgp
Description: OpenPGP digital signature


[gentoo-user] Re: systemd_dounit

2015-02-19 Thread James
Canek Peláez Valdés caneko at gmail.com writes:


 So, in short: systemd_dounit units just puts the units
in /usr/lib/systemd/system. There is no registration; systemd will read
the unit the next time the machine boots or earlier if you do systemctl
daemon-reload, but the service will not be started nor enabled until the
user specifies (that's the Gentoo policy, I believe).


 or locally:
 /usr/portage/eclass/systemd.eclass
 I don't understand what the  has to do with the eclass.

Yea, it was late for me. Nightly versions? I guess no.

The link really helped. I do not have it installed, and all I found,
last night, was 2012 code...

It the case of monitorix, the syntax added to the ebuild merely
adds systemd support. 

thx,
James




[gentoo-user] Re: which ebuilds use a specific eclass?

2015-02-19 Thread James
Neil Bothwick neil at digimed.co.uk writes:


  So for a given eclass, how to I find the list of all ebuilds 
 Well, brute force works

 grep -Er 'inherit.*systemd' /var/portage

'/usr/portage/' works for me, when bruting.

 That shows every ebuild, you may want to reduce it to a list of packages

 for i in $(grep -Erl 'inherit.*systemd' /var/portage)
 do
   dirname $i
 done | sort -u


Yea, sure, cool.  (THANKS). However, I was looking for (wink wink nudge
nudge) something sexy, using VDB (/var/db/pkg/) along the lines of 
a Directed Acyclic Graph  (DAG) [1] solution in haskell/charm or python.

Sure shell works, and works well, but, surely GLEP 64 will bring us
something new and cool? Anthony, is one of the devs that continues to
'surprise' and insprire this old hack..

I figured Rich already has code, he has not put out, just yet.
(only teasing about haskell/charm, but, not really) 


thx,
James

[1] http://ericsink.com/vcbe/html/directed_acyclic_graphs.html