Re: 10.6.8 and ffmpeg

2016-11-03 Thread René J . V . Bertin
Mojca Miklavec wrote: > I'm pretty sure one can make it build without 10.7 SDK, it will just > take quite a bit of work to do so. Perhaps you know if there is an > elegant way to actually patch the code in a way that would be > acceptable for upstream in case we manage to find a sufficient set of

Re: 10.6.8 and ffmpeg

2016-11-02 Thread Brandon Allbery
On Wed, Nov 2, 2016 at 11:49 PM, Al Varnell wrote: > When I first heard about it, over a year ago, I tried to sign my wife up > and the only thing offered for free was Safari Extension developement and > that free program was dropped at the same time as they reorganized the >

Re: 10.6.8 and ffmpeg

2016-11-02 Thread Ryan Schmidt
> On Nov 2, 2016, at 10:49 PM, Al Varnell wrote: > > On Nov 2, 2016, at 8:43 PM, Ryan Schmidt wrote: >> On Nov 2, 2016, at 10:41 PM, Al Varnell wrote: >>> On Nov 2, 2016, at 8:38 PM, Brandon Allbery wrote: On Wed, Nov 2, 2016 at 11:37 PM, Al Varnell wrote: Most

Re: 10.6.8 and ffmpeg

2016-11-02 Thread Ken Cunningham
Wouldn’t it just be a treat if Jeremy fixed libsdl2’s code and this all went away :> Ken > On Nov 2, 2016, at 8:49 PM, Al Varnell wrote: > > On Nov 2, 2016, at 8:43 PM, Ryan Schmidt wrote: >> On Nov 2, 2016, at 10:41 PM, Al Varnell wrote: >>> On Nov 2, 2016, at 8:38 PM,

Re: 10.6.8 and ffmpeg

2016-11-02 Thread Al Varnell
On Nov 2, 2016, at 8:43 PM, Ryan Schmidt wrote: > On Nov 2, 2016, at 10:41 PM, Al Varnell wrote: >> On Nov 2, 2016, at 8:38 PM, Brandon Allbery wrote: >>> On Wed, Nov 2, 2016 at 11:37 PM, Al Varnell wrote: >>> Most users don't have access to Apple's developer download site and cannot >>> be

Re: 10.6.8 and ffmpeg

2016-11-02 Thread Al Varnell
On Nov 2, 2016, at 8:38 PM, Brandon Allbery wrote: > On Wed, Nov 2, 2016 at 11:37 PM, Al Varnell wrote: > Most users don't have access to Apple's developer download site and cannot be > expected to pay $99 to be able to do so. > > Um? $99 is only if you want signing certificates. The Mac

Re: 10.6.8 and ffmpeg

2016-11-02 Thread Ryan Schmidt
> On Nov 2, 2016, at 10:41 PM, Al Varnell wrote: > > On Nov 2, 2016, at 8:38 PM, Brandon Allbery wrote: >> On Wed, Nov 2, 2016 at 11:37 PM, Al Varnell wrote: >> Most users don't have access to Apple's developer download site and cannot >> be expected to pay $99 to be able to

Re: 10.6.8 and ffmpeg

2016-11-02 Thread Brandon Allbery
On Wed, Nov 2, 2016 at 11:37 PM, Al Varnell wrote: > Most users don't have access to Apple's developer download site and cannot > be expected to pay $99 to be able to do so. Um? $99 is only if you want signing certificates. The Mac Developer subscription granting access to

Re: 10.6.8 and ffmpeg

2016-11-02 Thread Al Varnell
On Nov 2, 2016, at 8:14 PM, Ken Cunningham wrote: >> Why would you do that? It can be downloaded from the Apple developer web >> site (in a newer version of Xcode). > > Well, everyone seems to feel it’s way to difficult to expect a user to do > that, so I’m trying to help you come up with an

Re: 10.6.8 and ffmpeg

2016-11-02 Thread Ken Cunningham
> > Why would you do that? It can be downloaded from the Apple developer web site > (in a newer version of Xcode). Well, everyone seems to feel it’s way to difficult to expect a user to do that, so I’m trying to help you come up with an easier way. Of course, I just downloaded the darned

Re: 10.6.8 and ffmpeg

2016-11-02 Thread Ryan Schmidt
> On Nov 2, 2016, at 10:11 PM, Ken Cunningham > wrote: > >> That's just: >> >> #if MAC_OS_X_VERSION_MAX_ALLOWED < 1070 >> # error SDL for Mac OS X must be built with a 10.7 SDK or above. >> #endif /* MAC_OS_X_VERSION_MAX_ALLOWED < 1070 */ >> > > that’s what

Re: 10.6.8 and ffmpeg

2016-11-02 Thread Ken Cunningham
> That's just: > > #if MAC_OS_X_VERSION_MAX_ALLOWED < 1070 > # error SDL for Mac OS X must be built with a 10.7 SDK or above. > #endif /* MAC_OS_X_VERSION_MAX_ALLOWED < 1070 */ > that’s what I meant when I referred to using availability macros - sorry if it was the wrong term. Mojca did an

Re: 10.6.8 and ffmpeg

2016-11-02 Thread Jeremy Huddleston Sequoia
> On Nov 2, 2016, at 09:31, Ken Cunningham > wrote: > > > On 2016-11-02, at 2:03 AM, Jeremy Huddleston Sequoia wrote: > >> Do you know *why* it is requiring the 10.7 SDK to build? Why can't libsdl2 >> use the 10.6 SDK effectively? >> > > I took a quick

Re: 10.6.8 and ffmpeg

2016-11-02 Thread Ken Cunningham
On 2016-11-02, at 2:03 AM, Jeremy Huddleston Sequoia wrote: > Do you know *why* it is requiring the 10.7 SDK to build? Why can't libsdl2 > use the 10.6 SDK effectively? > I took a quick look at the code. It has a lot of AVAILABILITY_ macros in it, a few mentioning 10.7, most of them

Re: 10.6.8 and ffmpeg

2016-11-02 Thread Mojca Miklavec
On 2 November 2016 at 10:03, Jeremy Huddleston Sequoia wrote: > Do you know *why* it is requiring the 10.7 SDK to build? Why can't libsdl2 > use the 10.6 SDK effectively? See my analysis at https://trac.macports.org/ticket/52210#comment:9 I'm pretty sure one can make it build without 10.7

Re: 10.6.8 and ffmpeg

2016-11-02 Thread Mojca Miklavec
On 2 November 2016 at 09:46, Davide Liessi wrote: > 2016-10-30 15:38 GMT+01:00 Ryan Schmidt: >> copying the 10.7 SDK into /Developer/SDKs is the simplest solution. > > How can I get a copy of the 10.7 SDK? > I have only the 10.5 and 10.6 SDKs on my machine. I didn't test this, but I guess that

Re: 10.6.8 and ffmpeg

2016-11-02 Thread Jeremy Huddleston Sequoia
Do you know *why* it is requiring the 10.7 SDK to build? Why can't libsdl2 use the 10.6 SDK effectively? > On Oct 31, 2016, at 20:44, Ken Cunningham > wrote: > >> >> I’d be happy to test the minimum requirements to build it, if Richard >> doesn’t beat me to

Re: 10.6.8 and ffmpeg

2016-11-02 Thread Davide Liessi
2016-10-30 15:38 GMT+01:00 Ryan Schmidt : > copying the 10.7 SDK into /Developer/SDKs is the simplest solution. How can I get a copy of the 10.7 SDK? I have only the 10.5 and 10.6 SDKs on my machine. ___ macports-users mailing

Re: 10.6.8 and ffmpeg

2016-10-31 Thread Ken Cunningham
OK! Just submitted my first git pull — please be gentle — I think I did it correctly, but …. Ken > On Oct 31, 2016, at 8:56 PM, Ryan Schmidt wrote: > > On Oct 31, 2016, at 22:44, Ken Cunningham > wrote: >> >> I have no clue how

Re: 10.6.8 and ffmpeg

2016-10-31 Thread Ken Cunningham
> > I’d be happy to test the minimum requirements to build it, if Richard doesn’t > beat me to it :> > > Get back to you in a day or two with the info. > Hello friends, ran some tests with a spanking new installation of 10.6.8 and macports 2.3.4 with nothing installed to build libsdl2 on

Re: 10.6.8 and ffmpeg

2016-10-31 Thread David Evans
On 10/31/16 8:05 AM, Gustaf Neumann wrote: > Am 30.10.16 um 21:31 schrieb David Evans: >> Agreed, the problem here is with libsdl2. We need to understand what the >> problem is on >> 10.6 at least and either help upstream to fix it or fix it ourselves. If >> all that fails >> then maybe

Re: 10.6.8 and ffmpeg

2016-10-31 Thread Gustaf Neumann
Am 30.10.16 um 21:31 schrieb David Evans: Agreed, the problem here is with libsdl2. We need to understand what the problem is on 10.6 at least and either help upstream to fix it or fix it ourselves. If all that fails then maybe upstream needs to revise they're thinking on macOS

Re: 10.6.8 and ffmpeg

2016-10-31 Thread Ken Cunningham
On 2016-10-31, at 2:28 AM, René J. V. Bertin wrote: > > Probably an open door, possibly a forbidden one: it may be relevant here to > block concerned ports at the latest supported version for legacy platforms? Although I think not needed for libsdl2 (which builds and works without issue on

Re: 10.6.8 and ffmpeg

2016-10-31 Thread René J . V . Bertin
David Evans wrote: > However, sdl/sdl2 provides the only audio/video outdev that we support in > MacPorts which means that if you have to have one or the other. Without an > outdev, ffplay will not be configured/built and you'll have no direct way to > play audio/video with ffmpeg. It's been

Re: 10.6.8 and ffmpeg

2016-10-30 Thread Ken Cunningham
Oh — I see that there’s a lot of build info in docs/ README-macosx.md in there it says you need minimum Xcode 4.6 and the 10.7 SDK (maybe that’s why macports-clang-3.7 worked for me?) and a lot more info that I didn’t read fully through. Ken > On Oct 30, 2016, at 2:28 PM, Ken

Re: 10.6.8 and ffmpeg

2016-10-30 Thread Ken Cunningham
> > Agreed, the problem here is with libsdl2. We need to understand what the > problem is on > 10.6 at least and either help upstream to fix it or fix it ourselves. Dave, I may not be seeing the entire picture (often happens!), but I don’t think there is actually a problem on 10.6. It uses

Re: 10.6.8 and ffmpeg

2016-10-30 Thread David Evans
On 10/30/16 1:13 AM, Davide Liessi wrote: > 2016-10-30 1:23 GMT+02:00 Ryan Schmidt : >> If sdl2 can be built on Snow Leopard using a copy of the 10.7 SDK obtained >> from a later Xcode, and that sdl2 then works ok on Snow Leopard, then I'd be >> happy if we could come up

Re: 10.6.8 and ffmpeg

2016-10-30 Thread Ryan Schmidt
> On Oct 30, 2016, at 10:06 AM, Ken Cunningham > wrote: > >> I can do that on the buildbot machines, and we can write the libsdl2 >> portfile so that it uses that SDK if available and instructs the user how to >> download and install it if it's not yet there.

Re: 10.6.8 and ffmpeg

2016-10-30 Thread Ken Cunningham
> I can do that on the buildbot machines, and we can write the libsdl2 > portfile so that it uses that SDK if available and instructs the user how to > download and install it if it's not yet there. The portfile is already written like that. Also, see:

Re: 10.6.8 and ffmpeg

2016-10-30 Thread Ryan Schmidt
> On Oct 30, 2016, at 3:13 AM, Davide Liessi wrote: > > 2016-10-30 1:23 GMT+02:00 Ryan Schmidt : >> If sdl2 can be built on Snow Leopard using a copy of the 10.7 SDK obtained >> from a later Xcode, and that sdl2 then works ok on Snow Leopard,

Re: 10.6.8 and ffmpeg

2016-10-30 Thread Davide Liessi
2016-10-30 1:23 GMT+02:00 Ryan Schmidt : > If sdl2 can be built on Snow Leopard using a copy of the 10.7 SDK obtained > from a later Xcode, and that sdl2 then works ok on Snow Leopard, then I'd be > happy if we could come up with an official way to support that, and then

Re: 10.6.8 and ffmpeg

2016-10-29 Thread David Evans
On 10/29/16 4:23 PM, Ryan Schmidt wrote: > >> On Oct 29, 2016, at 5:32 PM, David Evans wrote: >> >> On 10/28/16 9:58 PM, Richard L. Hamilton wrote: >>> Am I right in thinking that ffmpeg now requires libsdl2 while it >>> previously required libsdl? That causes ffmpeg to

Re: 10.6.8 and ffmpeg

2016-10-29 Thread Richard L. Hamilton
> On Oct 29, 2016, at 16:23, Ryan Schmidt wrote: > > >> On Oct 29, 2016, at 5:32 PM, David Evans wrote: >> >> On 10/28/16 9:58 PM, Richard L. Hamilton wrote: >>> Am I right in thinking that ffmpeg now requires libsdl2 while it >>> previously

Re: 10.6.8 and ffmpeg

2016-10-29 Thread Ken Cunningham
> > If sdl2 can be built on Snow Leopard using a copy of the 10.7 SDK obtained > from a later Xcode, and that sdl2 then works ok on Snow Leopard, then I'd be > happy if we could come up with an official way to support that, and then we > could do that on the buildbot, which would cover a lot

Re: 10.6.8 and ffmpeg

2016-10-29 Thread Ryan Schmidt
> On Oct 29, 2016, at 5:32 PM, David Evans wrote: > > On 10/28/16 9:58 PM, Richard L. Hamilton wrote: >> Am I right in thinking that ffmpeg now requires libsdl2 while it previously >> required libsdl? That causes ffmpeg to fail on 10.6.x, because libsdl2 >> fails: >>

Re: 10.6.8 and ffmpeg

2016-10-29 Thread David Evans
On 10/28/16 9:58 PM, Richard L. Hamilton wrote: > Am I right in thinking that ffmpeg now requires libsdl2 while it previously > required libsdl? That causes ffmpeg to fail on 10.6.x, because libsdl2 fails: > > Error: org.macports.fetch for port libsdl2 returned: Building libsdl2 > requires OS

Re: 10.6.8 and ffmpeg

2016-10-29 Thread Ken Cunningham
Hi Richard You have a lot of Xcode versions installed! Keeping them all straight must be a bit of a mind-bender. perhaps select the most modern one (Xcode 4.2) and put the macOSX10.7.sdk in there? > ld: library not found for -lcrt1.10.6.o that's a bit weird. that's a basic library. In the

Re: 10.6.8 and ffmpeg

2016-10-29 Thread Ken Cunningham
I know -- I'm sorry for stepping out there and just blurting it like that. I'm just trying to help Richard 'get it done'. Also - I upgraded libsdl to the new 2.0.5 version here -- perhaps i should put up a diff for JMR to use? Best, Ken $ port -v installed | grep ffmpeg ffmpeg

Re: 10.6.8 and ffmpeg

2016-10-29 Thread Ryan Schmidt
> On Oct 29, 2016, at 12:05 AM, Ken Cunningham > wrote: > > libsdl2 will build without trouble on 10.6.8 if you find a copy of the 10.7 > SDK and put it like so in /Developer/SDKs/MacOSX10.7.sdk That is not a procedure we have ever recommended users do

Re: 10.6.8 and ffmpeg

2016-10-29 Thread Richard L. Hamilton
Thanks - closer, but must be more to it than that: h-3.2# ls -ld /Dev* lrwxr-xr-x 1 root admin 16 Aug 23 20:42 /Developer -> /Developer-3.2.6 drwxrwxr-x@ 20 root admin 680 Nov 16 2010 /Developer-3.2.2 drwxrwxr-x@ 16 root admin 544 Aug 23 19:50 /Developer-3.2.6 drwxrwxr-x 14 root admin