Re: avconv

2013-01-15 Thread Ryan Schmidt

On Jan 15, 2013, at 19:40, Brad Allison  wrote:

> Any chance we can get avconv ported to macports?

My understanding is that avconv is a part of libav, and that libav is a fork of 
ffmpeg (for which we do have ports in MacPorts), and that the relationship 
between libav and ffmpeg is thorny, for example:

http://blog.pkh.me/p/13-the-ffmpeg-libav-situation.html

I don't know if it is possible for us to provide avconv and not also provide 
libav, and providing libav could be a problem in that I guess it would conflict 
with ffmpeg.

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: avconv

2013-01-15 Thread Frank Schima

On Jan 15, 2013, at 6:40 PM, Brad Allison  wrote:

> Any chance we can get avconv ported to macports?

Not unless you file a request ticket with some information about it like a 
website. Or better yet, submit a portfile. 


-Frank

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


avconv

2013-01-15 Thread Brad Allison
Any chance we can get avconv ported to macports?

sh-3.2# port install avconv
Warning: port definitions are more than two weeks old, consider using
selfupdate
Error: Port avconv not found
To report a bug, see 
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: Apache start on login

2013-01-15 Thread Brandon Allbery
On Tue, Jan 15, 2013 at 3:46 AM, Ryan Schmidt wrote:

> I should correct myself. "sudo port load apache2", which calls out to
> "launchctl load", will start apache2 immediately, and at every subsequent
> system startup. There's no need for an OS X user to be logged in.
>

But it's still correct, as chkconfig also controls boot time activity and
(unlike launchctl) does not control any login time behavior.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: Using -std=c++11 with the macports gcc-4.7 compiler

2013-01-15 Thread Sean Farley
On Mon, Jan 14, 2013 at 8:32 AM, David Barto  wrote:
> fails because the /usr/lib/libstdc++.so is found first. What can I do to
> find the proper /opt/local/lib/libstdc++.so?
>
> I've not modified the search paths in any way, I'm just trying to compile a
> c++ program using the newer standard features.

Hmm, I can't reproduce this error. Using no special environment
variables and just a vanilla install of gcc47 on Mountain Lion, I get:

$ g++-mp-4.7 -std=c++11 test11.cxx && ./a.out
Hello world

$ otool -L a.out
a.out:
/opt/local/lib/libstdc++.6.dylib (compatibility version 7.0.0, current
version 7.17.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 169.3.0)
/opt/local/lib/gcc47/libgcc_s.1.dylib (compatibility version 1.0.0,
current version 1.0.0)

# shamelessly stolen from
http://www.cprogramming.com/c++11/c++11-lambda-closures.html
$ cat test11.cxx
#include 

using namespace std;

int main()
{
auto func = [] () { cout << "Hello world" << endl; };
func(); // now call the function
}
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: Apache start on login

2013-01-15 Thread Ryan Schmidt

On Jan 15, 2013, at 02:06, Phil Dobbin  wrote:

> On 01/15/2013 07:15 AM, Ryan Schmidt wrote:
>> 
>> On Jan 15, 2013, at 00:00, Phil Dobbin wrote:
>> 
>>> Apache/2.2.3 from MacPorts
>>> 
>>> What's the equivalent command to '# chkconfig httpd on' I have run to
>>> get apache to start at login?
>> 
>> I'm not familiar with the "chkconfig" command, but if you want to start 
>> MacPorts apache2 at login, then you would use "sudo port load apache2".
>> 
> 
> Thanks, Ryan.
> 
> The 'chkconfig' command is the RPM (Red Hat/Fedora/CentOs) equivalent of
> the init script 'sudo /etc/init.d/apache2 start|graceful|stop' command
> on Deb/Ubuntu distros & when it's installed by apt it automatically
> starts apache on login (on RPM distros yum doesn't, so you have to use
> the 'chkconfig' command to ensure it starts at login).

I should correct myself. "sudo port load apache2", which calls out to 
"launchctl load", will start apache2 immediately, and at every subsequent 
system startup. There's no need for an OS X user to be logged in.


___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: Apache start on login

2013-01-15 Thread Phil Dobbin
On 01/15/2013 07:15 AM, Ryan Schmidt wrote:
> 
> On Jan 15, 2013, at 00:00, Phil Dobbin wrote:
> 
>> Apache/2.2.3 from MacPorts
>>
>> What's the equivalent command to '# chkconfig httpd on' I have run to
>> get apache to start at login?
> 
> I'm not familiar with the "chkconfig" command, but if you want to start 
> MacPorts apache2 at login, then you would use "sudo port load apache2".
> 

Thanks, Ryan.

The 'chkconfig' command is the RPM (Red Hat/Fedora/CentOs) equivalent of
the init script 'sudo /etc/init.d/apache2 start|graceful|stop' command
on Deb/Ubuntu distros & when it's installed by apt it automatically
starts apache on login (on RPM distros yum doesn't, so you have to use
the 'chkconfig' command to ensure it starts at login).

Cheers,

  Phil...

-- 
currently (ab)using
CentOS 5.8 & 6.3, Debian Squeeze & Wheezy, Fedora Beefy & Spherical,
Lubuntu 12.10, OS X Snow Leopard & Ubuntu Precise & Quantal





signature.asc
Description: OpenPGP digital signature
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users