Re: Prevent firefox from making noise

2016-04-21 Thread Swift Griggs

On Thu, 21 Apr 2016, co...@sdf.org wrote:
> It does.

Great.  I'll switch to pkgsrc-current and shut my whine-hole.

> You may need to delete graphite2.  Do you have version 1.2.4 and it
> doesn't try to update it?

What I've got currently with my pkgsrc-2015Q4 rig is:

graphite2-1.3.5 Cross-platform rendering for complex writing systems

  Swift


Re: Prevent firefox from making noise

2016-04-21 Thread Roy Bixler
On Wed, Apr 20, 2016 at 11:22:37PM +0100, Patrick Welche wrote:
> On Wed, Apr 20, 2016 at 11:40:40AM -0600, Swift Griggs wrote:
> > Can one disable or prevent sound from playing from one specific application
> > (at the OS level)?  If not, then is there any way to simply prevent Firefox
> > from having sound abilities?  
> 
> I effectively have no sound from Firefox by running the pulseaudio version
> without running hal, so pulseaudio doesn't know how to start :-)

Twisted :-)

Another way might be to set up a null sink.  Then you'd have a very
inefficient, resource-intensive /dev/null for sound.  As long as your
other apps. don't use Pulse, then it'd give the desired effect.

-- 
Roy Bixler 
"The fundamental principle of science, the definition almost, is this: the
sole test of the validity of any idea is experiment."
-- Richard P. Feynman


Re: Prevent firefox from making noise

2016-04-20 Thread coypu
On Wed, Apr 20, 2016 at 02:47:26PM -0600, Swift Griggs wrote:
> 
> On Wed, 20 Apr 2016, co...@sdf.org wrote:
> > my graphics/graphite2 update that broke it (back and forth) I don't know
> > what should have been changed but didn't happen, missing revbump?  it will
> > not build with graphite2 older than 1.3.5.
> 
> Ah, okay. I'm not crazy, then. 
> 
> > sorry
> 
> Thanks a ton for confirming.  Now I can quit squirming around trying to
> figure out what I did wrong.  I'll just wait for a fix. Do you happen to
> know if it's building in -current? I can swap out my pkgsrc rev easy enough
> if it does. 
> 
> Thanks! 
> 
> -Swift
> 

It does.
You may need to delete graphite2.
Do you have version 1.2.4 and it doesn't try to update it?


Re: Prevent firefox from making noise

2016-04-20 Thread Patrick Welche
On Wed, Apr 20, 2016 at 11:40:40AM -0600, Swift Griggs wrote:
> Can one disable or prevent sound from playing from one specific application
> (at the OS level)?  If not, then is there any way to simply prevent Firefox
> from having sound abilities?  

I effectively have no sound from Firefox by running the pulseaudio version
without running hal, so pulseaudio doesn't know how to start :-)

Cheers,

Patrick


Re: Prevent firefox from making noise

2016-04-20 Thread Swift Griggs

On Wed, 20 Apr 2016, co...@sdf.org wrote:
> my graphics/graphite2 update that broke it (back and forth) I don't know
> what should have been changed but didn't happen, missing revbump?  it will
> not build with graphite2 older than 1.3.5.

Ah, okay. I'm not crazy, then. 

> sorry

Thanks a ton for confirming.  Now I can quit squirming around trying to
figure out what I did wrong.  I'll just wait for a fix. Do you happen to
know if it's building in -current? I can swap out my pkgsrc rev easy enough
if it does. 

Thanks! 

-Swift



Re: Prevent firefox from making noise

2016-04-20 Thread coypu
On Wed, Apr 20, 2016 at 02:06:49PM -0600, Swift Griggs wrote:
> On Wed, 20 Apr 2016, Roy Bixler wrote:
> > I tried a quick search on it and the articles all say that firefox doesn't
> > have a built-in way to disable audio (surprising, given the sheer number
> > of available variables to tweak.)
> 
> That is surprising, now that you mention it. 
> 
> > However, the articles mention available addons to either mute or alter the
> > volume.
> 
> Thanks for checking.  That makes sense.  I'll try it.  I should have looked
> there already.
> 
> I still doubt/wonder about building firefox (today, not in the past) under
> pkgsrc-2015Q4.  It appears broken and that brokeness appears to extend to
> the FTP site and thus to pkgin as well.  Just wondering how we got to a
> pkgsrc-2015Q4 stable freeze with a busted firefox build.  So, I figure it's
> got to be on my end, but then there's the "Why isn't it on the FTP site,
> then?" Those are auto-built, I believe.  That leads me to speculate that the
> build server is having the same build-failure for firefox as I am.
> 
> Perhaps there is some problem with dependencies and I need to rebuild them
> all?  Anyone know if there is a pkgsrc keyword to do this ?  Make replace
> perhaps (or does that just rebuild the current package) ?
> 
> Thanks,
>   Swift

my graphics/graphite2 update that broke it (back and forth)
I don't know what should have been changed but didn't happen, missing
revbump?
it will not build with graphite2 older than 1.3.5.

sorry


Re: Prevent firefox from making noise

2016-04-20 Thread Swift Griggs
On Wed, 20 Apr 2016, Roy Bixler wrote:
> I tried a quick search on it and the articles all say that firefox doesn't
> have a built-in way to disable audio (surprising, given the sheer number
> of available variables to tweak.)

That is surprising, now that you mention it. 

> However, the articles mention available addons to either mute or alter the
> volume.

Thanks for checking.  That makes sense.  I'll try it.  I should have looked
there already.

I still doubt/wonder about building firefox (today, not in the past) under
pkgsrc-2015Q4.  It appears broken and that brokeness appears to extend to
the FTP site and thus to pkgin as well.  Just wondering how we got to a
pkgsrc-2015Q4 stable freeze with a busted firefox build.  So, I figure it's
got to be on my end, but then there's the "Why isn't it on the FTP site,
then?" Those are auto-built, I believe.  That leads me to speculate that the
build server is having the same build-failure for firefox as I am.

Perhaps there is some problem with dependencies and I need to rebuild them
all?  Anyone know if there is a pkgsrc keyword to do this ?  Make replace
perhaps (or does that just rebuild the current package) ?

Thanks,
  Swift


Re: Prevent firefox from making noise

2016-04-20 Thread Roy Bixler
On Wed, Apr 20, 2016 at 12:14:13PM -0600, Roy Bixler wrote:
> If nothing else, it may be worth experimenting with the variables
> under "about:config".

I tried a quick search on it and the articles all say that firefox
doesn't have a built-in way to disable audio (surprising, given the
sheer number of available variables to tweak.)  However, the articles
mention available addons to either mute or alter the volume.

-- 
Roy Bixler 
"The fundamental principle of science, the definition almost, is this: the
sole test of the validity of any idea is experiment."
-- Richard P. Feynman


Re: Prevent firefox from making noise

2016-04-20 Thread Martin Husemann
On Wed, Apr 20, 2016 at 11:40:40AM -0600, Swift Griggs wrote:
> Can one disable or prevent sound from playing from one specific application
> (at the OS level)?  If not, then is there any way to simply prevent Firefox
> from having sound abilities?  

I planned to add support for the latter but never got around to it - I
fully understand where you are coming from ;-)

Martin


Prevent firefox from making noise

2016-04-20 Thread Swift Griggs

First of all, I love pkgsrc, and give hella credit to the team.  Let's just
get that straight before I start whining about what are possibly my own
self-inflicted problems.

Can one disable or prevent sound from playing from one specific application
(at the OS level)?  If not, then is there any way to simply prevent Firefox
from having sound abilities?  

I notice options to disable PulseAudio (the dirty turd that it is), but I'm
not sure that's going to help if it simply switches to OSS, and Firefox has
been utterly broken in pkgsrc-2015Q4 for me on every system I try to compile
it on for some time now (posted about that about two weeks ago on
pkgsrc-users with no replies).  So, I can't test that theory.  I'm using
Firefox24 since it still works.  Perhaps I've just horked up my systems and
everyone else is fine?

I have zero reason to use Firefox or anything it would spawn to play audio. 
If I want to watch a Youtube video, I use youtube-dl.  If I want to stream
music, I'll use a real streaming utility like mplayer.  I'm one of those
curmudgeons that doesn't like s*** just playing willy-nilly from my infernal
browser.  I flat out just don't want Firefox _touching_ my sound device. 
The reason being that it (and/or flash) rarely releases it in a timely or
easy fashion afterward.  The same goes for flash or nspluginwrapper or some
bit of that Rube-Goldberg machine. I find that I also get into a situation
where after Firefox horks up my sound device I can never get it to function
again without a reboot (and yes, I've used fuser and lsof to look for open
file pointers on every damn sound device - fail: they don't exist). 

Has anyone already solved this ? Does anyone else get a big nasty compile
failure when trying to build pkgsrc/www/firefox out of pkgsrc-2015Q4 ? 

If it's working for folks, then why is it missing from pkg_summary.bz2 and
thus I can't even snag it with pkgin from
ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/i386/7.0_2015Q4/All ?


Any help / answers would be appreciated. 

-Swift