macvim OS X 10.9 Mavericks build

classic Classic list List threaded Threaded
43 messages Options
123
Reply | Threaded
Open this post in threaded view
|

macvim OS X 10.9 Mavericks build

dsim
Did anyone have working build for os x 10.9?
I used `brew install macvim --with-cscope --with-lua` in Mountain Lion but this build crashing on Mavericks.

--
--
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.


Reply | Threaded
Open this post in threaded view
|

Re: macvim OS X 10.9 Mavericks build

Hisashi T Fujinaka
On Thu, 20 Jun 2013, dsim wrote:

> Did anyone have working build for os x 10.9?
> I used `brew install macvim --with-cscope --with-lua` in Mountain Lion but this build crashing on Mavericks.

Yes and no. I have it building in fink. I only had to modify os_unix.c
because some of the defines are missing in 10.9.

--
Hisashi T Fujinaka - [hidden email]
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte

--
--
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.


Reply | Threaded
Open this post in threaded view
|

Re: macvim OS X 10.9 Mavericks build

Jimmy Zelinskie
As per the discussion at https://github.com/mxcl/homebrew/pull/20831#discussion_r4917643

The required macro MAC_OS_X_VERSION_MAX_ALLOWED requires
AvailabilityMacros.h to be defined. This diff is all that's required upstream, the rest is brew specific:

diff --git a/src/os_unix.c b/src/os_unix.c
index bb4c10e..00d9728 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -18,6 +18,10 @@
  * changed beyond recognition.
  */
 
+#if defined(__APPLE__)
+#include <AvailabilityMacros.h>
+#endif
+
 /*
  * Some systems have a prototype for select() that has (int *) instead of
  * (fd_set *), which is wrong. This define removes that prototype. We define

--
--
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.


Reply | Threaded
Open this post in threaded view
|

Re: macvim OS X 10.9 Mavericks build

Björn Winckler
On Thu, Jun 27, 2013 at 10:01 PM, Jimmy Zelinskie wrote:

> As per the discussion at https://github.com/mxcl/homebrew/pull/20831#discussion_r4917643
>
> The required macro MAC_OS_X_VERSION_MAX_ALLOWED requires
> AvailabilityMacros.h to be defined. This diff is all that's required upstream, the rest is brew specific:
>
> diff --git a/src/os_unix.c b/src/os_unix.c
> index bb4c10e..00d9728 100644
> --- a/src/os_unix.c
> +++ b/src/os_unix.c
> @@ -18,6 +18,10 @@
>   * changed beyond recognition.
>   */
>
> +#if defined(__APPLE__)
> +#include <AvailabilityMacros.h>
> +#endif
> +
>  /*
>   * Some systems have a prototype for select() that has (int *) instead of
>   * (fd_set *), which is wrong. This define removes that prototype. We define
>
> --
> --

Thanks for the patch.

What is the reason that we have to pollute os_unix.c (which has
nothing to do with OS X) with an OS X-only header?

What exact problem does this patch address and is there perhaps a
better way to solve it?

Björn

--
--
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.


Reply | Threaded
Open this post in threaded view
|

Re: macvim OS X 10.9 Mavericks build

Bram Moolenaar
In reply to this post by Jimmy Zelinskie

Jimmy Zelinskie wrote:

> As per the discussion at https://github.com/mxcl/homebrew/pull/20831#discussion_r4917643
>
> The required macro MAC_OS_X_VERSION_MAX_ALLOWED requires
> AvailabilityMacros.h to be defined. This diff is all that's required upstream, the rest is brew specific:
>
> diff --git a/src/os_unix.c b/src/os_unix.c
> index bb4c10e..00d9728 100644
> --- a/src/os_unix.c
> +++ b/src/os_unix.c
> @@ -18,6 +18,10 @@
>   * changed beyond recognition.
>   */
>  
> +#if defined(__APPLE__)
> +#include <AvailabilityMacros.h>
> +#endif
> +
>  /*
>   * Some systems have a prototype for select() that has (int *) instead of
>   * (fd_set *), which is wrong. This define removes that prototype. We define

So, on what systems is AvailabilityMacros.h available?

Isn't this a chicken-egg problem?

--
Veni, Vidi, Video -- I came, I saw, I taped what I saw.

 /// Bram Moolenaar -- [hidden email] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--
--
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.


Reply | Threaded
Open this post in threaded view
|

Re: macvim OS X 10.9 Mavericks build

Jimmy Zelinskie
On Friday, June 28, 2013 2:33:19 AM UTC-4, björn wrote:

> On Thu, Jun 27, 2013 at 10:01 PM, Jimmy Zelinskie wrote:
>
> > As per the discussion at https://github.com/mxcl/homebrew/pull/20831#discussion_r4917643
>
> >
>
> > The required macro MAC_OS_X_VERSION_MAX_ALLOWED requires
>
> > AvailabilityMacros.h to be defined. This diff is all that's required upstream, the rest is brew specific:
>
> >
>
> > diff --git a/src/os_unix.c b/src/os_unix.c
>
> > index bb4c10e..00d9728 100644
>
> > --- a/src/os_unix.c
>
> > +++ b/src/os_unix.c
>
> > @@ -18,6 +18,10 @@
>
> >   * changed beyond recognition.
>
> >   */
>
> >
>
> > +#if defined(__APPLE__)
>
> > +#include <AvailabilityMacros.h>
>
> > +#endif
>
> > +
>
> >  /*
>
> >   * Some systems have a prototype for select() that has (int *) instead of
>
> >   * (fd_set *), which is wrong. This define removes that prototype. We define
>
> >
>
> > --
>
> > --
>
>
>
> Thanks for the patch.
>
>
>
> What is the reason that we have to pollute os_unix.c (which has
>
> nothing to do with OS X) with an OS X-only header?
>
>
>
> What exact problem does this patch address and is there perhaps a
>
> better way to solve it?
>
>
>
> Björn

I agree -- this was just the patch located at the bottom of the pull request on the homebrew issue tracker. Vim builds if you place the #include in os_mac.h

On Friday, June 28, 2013 5:05:03 PM UTC-4, Bram Moolenaar wrote:

> Jimmy Zelinskie wrote:
>
>
>
> > As per the discussion at https://github.com/mxcl/homebrew/pull/20831#discussion_r4917643
>
> >
>
> > The required macro MAC_OS_X_VERSION_MAX_ALLOWED requires
>
> > AvailabilityMacros.h to be defined. This diff is all that's required upstream, the rest is brew specific:
>
> >
>
> > diff --git a/src/os_unix.c b/src/os_unix.c
>
> > index bb4c10e..00d9728 100644
>
> > --- a/src/os_unix.c
>
> > +++ b/src/os_unix.c
>
> > @@ -18,6 +18,10 @@
>
> >   * changed beyond recognition.
>
> >   */
>
> >  
>
> > +#if defined(__APPLE__)
>
> > +#include <AvailabilityMacros.h>
>
> > +#endif
>
> > +
>
> >  /*
>
> >   * Some systems have a prototype for select() that has (int *) instead of
>
> >   * (fd_set *), which is wrong. This define removes that prototype. We define
>
>
>
> So, on what systems is AvailabilityMacros.h available?
>
>
>
> Isn't this a chicken-egg problem?
>
>
>
> --
>
> Veni, Vidi, Video -- I came, I saw, I taped what I saw.
>
>
>
>  /// Bram Moolenaar -- [hidden email] -- http://www.Moolenaar.net   \\\
>
> ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
>
> \\\  an exciting new programming language -- http://www.Zimbu.org        ///
>
>  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

This documentation[1] leads me to believe that OSX 10.2+ supports it. This homebrew pull request[2] cites that it has been built successfully on 10.8.4-x86_64 and 10.7.5-i386.

[1] http://wiki.herzbube.ch/index.php/Mac_OS_X_Programming#Availability_Macros
[2] https://github.com/mxcl/homebrew/pull/20473#issuecomment-19434950

--
--
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.


Reply | Threaded
Open this post in threaded view
|

Re: macvim OS X 10.9 Mavericks build

Björn Winckler
On Sat, Jun 29, 2013 at 12:28 AM, Jimmy Zelinskie wrote:
On Friday, June 28, 2013 2:33:19 AM UTC-4, björn wrote:
> On Thu, Jun 27, 2013 at 10:01 PM, Jimmy Zelinskie wrote:
>
> > As per the discussion at https://github.com/mxcl/homebrew/pull/20831#discussion_r4917643
>
> >
>
> > The required macro MAC_OS_X_VERSION_MAX_ALLOWED requires
>
> > AvailabilityMacros.h to be defined. This diff is all that's required upstream, the rest is brew specific:
>
> >
>
> > diff --git a/src/os_unix.c b/src/os_unix.c
>
> > index bb4c10e..00d9728 100644
>
> > --- a/src/os_unix.c
>
> > +++ b/src/os_unix.c
>
> > @@ -18,6 +18,10 @@
>
> >   * changed beyond recognition.
>
> >   */
>
> >
>
> > +#if defined(__APPLE__)
>
> > +#include <AvailabilityMacros.h>
>
> > +#endif
>
> > +
>
> >  /*
>
> >   * Some systems have a prototype for select() that has (int *) instead of
>
> >   * (fd_set *), which is wrong. This define removes that prototype. We define
>
> >
>
> > --
>
> > --
>
>
>
> Thanks for the patch.
>
>
>
> What is the reason that we have to pollute os_unix.c (which has
>
> nothing to do with OS X) with an OS X-only header?
>
>
>
> What exact problem does this patch address and is there perhaps a
>
> better way to solve it?
>
>
>
> Björn

I agree -- this was just the patch located at the bottom of the pull request on the homebrew issue tracker. Vim builds if you place the #include in os_mac.h

On Friday, June 28, 2013 5:05:03 PM UTC-4, Bram Moolenaar wrote:
> Jimmy Zelinskie wrote:
>
>
>
> > As per the discussion at https://github.com/mxcl/homebrew/pull/20831#discussion_r4917643
>
> >
>
> > The required macro MAC_OS_X_VERSION_MAX_ALLOWED requires
>
> > AvailabilityMacros.h to be defined. This diff is all that's required upstream, the rest is brew specific:
>
> >
>
> > diff --git a/src/os_unix.c b/src/os_unix.c
>
> > index bb4c10e..00d9728 100644
>
> > --- a/src/os_unix.c
>
> > +++ b/src/os_unix.c
>
> > @@ -18,6 +18,10 @@
>
> >   * changed beyond recognition.
>
> >   */
>
> >
>
> > +#if defined(__APPLE__)
>
> > +#include <AvailabilityMacros.h>
>
> > +#endif
>
> > +
>
> >  /*
>
> >   * Some systems have a prototype for select() that has (int *) instead of
>
> >   * (fd_set *), which is wrong. This define removes that prototype. We define
>
>
>
> So, on what systems is AvailabilityMacros.h available?
>
>
>
> Isn't this a chicken-egg problem?
>
>
>
> --
>
> Veni, Vidi, Video -- I came, I saw, I taped what I saw.
>
>
>
>  /// Bram Moolenaar -- [hidden email] -- http://www.Moolenaar.net   \\\
>
> ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
>
> \\\  an exciting new programming language -- http://www.Zimbu.org        ///
>
>  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

This documentation[1] leads me to believe that OSX 10.2+ supports it. This homebrew pull request[2] cites that it has been built successfully on 10.8.4-x86_64 and 10.7.5-i386.

[1] http://wiki.herzbube.ch/index.php/Mac_OS_X_Programming#Availability_Macros
[2] https://github.com/mxcl/homebrew/pull/20473#issuecomment-19434950

Usually the AvailabilityMacros.h header gets included when you pull in a Carbon/Cocoa header - it would be good to know why this is problem is showing up on 10.9 but nowhere else (or does it?).

On the other hand, placing the include at the top of os_mac.h should be harmless as this header should be present when building on a Mac.

At the moment I don't think it is urgent to patch this, since 10.9 has not yet been publicly released, but if somebody with access to 10.9 took a closer look it would certainly be helpful (as I probably won't get 10.9 myself for a long time).

Björn

--
--
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
 
---
You received this message because you are subscribed to the Google Groups "vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

Re: macvim OS X 10.9 Mavericks build

Felix Buenemann
I'll look into why it's no longer included on 10.9, once I'm back from vacation. I agree that including from os_mac.h is the cleaner solution.

--
--
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.


Reply | Threaded
Open this post in threaded view
|

Re: macvim OS X 10.9 Mavericks build

Felix Buenemann
Am Dienstag, 9. Juli 2013 11:23:43 UTC+2 schrieb Felix Bünemann:
> I'll look into why it's no longer included on 10.9, once I'm back from vacation. I agree that including from os_mac.h is the cleaner solution.

Does this patch https://gist.github.com/felixbuenemann/6150257 look cleaner?

Note that I can also include Cocoa/Cocoa.h instead. I'm not sure where vim is supposed to pull in Cocoa.h, but it is detected by configure, however the version macros are used in os_unix.c and not in any gui code, so maybe that's the problem?

--
--
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.


Reply | Threaded
Open this post in threaded view
|

Re: macvim OS X 10.9 Mavericks build

Felix Buenemann
Can we get this patch included, now that 10.9 is GM?

--
--
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: macvim OS X 10.9 Mavericks build

Björn Winckler
On Mon, Oct 7, 2013 at 4:34 AM, Felix Bünemann
<[hidden email]> wrote:
> Can we get this patch included, now that 10.9 is GM?

Since it is a bit unclear as to when AvailabilityMacros.h became
available and since we don't know what the correct #ifdef should be in
order to only include when it is needed it is a bit difficult making a
general patch to be included in mainline Vim (it needs to build on
older version of Mac OS).

For now I have just merged the patch in the MacVim repository since
MacVim requires OS X 10.4 or later (and hence we can be sure it is OK
to include AvailabilityMacros.h ... uh, unless Apple forces the use of
Availability.h in the future ... I guess we'll have to deal with it
then).  This way everybody on OS X 10.9 can at least pull from the
MacVim repo and build Vim / MacVim from there.

Thanks for the patch,
Björn

--
--
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: macvim OS X 10.9 Mavericks build

Douglas Drumond
Thanks, I don't have access to GM, but when Mavericks is publicly released, I'll upgrade my laptop and I'll have access to the 10.7, 8 and 9.



2013/10/7 björn <[hidden email]>
On Mon, Oct 7, 2013 at 4:34 AM, Felix Bünemann
<[hidden email]> wrote:
> Can we get this patch included, now that 10.9 is GM?

Since it is a bit unclear as to when AvailabilityMacros.h became
available and since we don't know what the correct #ifdef should be in
order to only include when it is needed it is a bit difficult making a
general patch to be included in mainline Vim (it needs to build on
older version of Mac OS).

For now I have just merged the patch in the MacVim repository since
MacVim requires OS X 10.4 or later (and hence we can be sure it is OK
to include AvailabilityMacros.h ... uh, unless Apple forces the use of
Availability.h in the future ... I guess we'll have to deal with it
then).  This way everybody on OS X 10.9 can at least pull from the
MacVim repo and build Vim / MacVim from there.

Thanks for the patch,
Björn

--
--
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.

--
--
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
 
---
You received this message because you are subscribed to the Google Groups "vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: macvim OS X 10.9 Mavericks build

Felix Buenemann
I have VMs with 10.5, 10.6, 10.7, 10.8 with the latest updates and Xcode versions and have verified the patch on those. Testing older versions is hard, because they can't run in a VM or require PPC which is a dying breed.

I'm pretty sure that AvailabilityMacros.h is available on all versions of OS X, because it's copyright header states 2001-20xx which matches the OS X 10.0 release timeline. Is the os_mac.h code also targeting OS 9? In that case we should add a configure check.

Felix Bünemann

Am 07.10.2013 um 23:00 schrieb Douglas Drumond <[hidden email]>:

Thanks, I don't have access to GM, but when Mavericks is publicly released, I'll upgrade my laptop and I'll have access to the 10.7, 8 and 9.



2013/10/7 björn <[hidden email]>
On Mon, Oct 7, 2013 at 4:34 AM, Felix Bünemann
<[hidden email]> wrote:
> Can we get this patch included, now that 10.9 is GM?

Since it is a bit unclear as to when AvailabilityMacros.h became
available and since we don't know what the correct #ifdef should be in
order to only include when it is needed it is a bit difficult making a
general patch to be included in mainline Vim (it needs to build on
older version of Mac OS).

For now I have just merged the patch in the MacVim repository since
MacVim requires OS X 10.4 or later (and hence we can be sure it is OK
to include AvailabilityMacros.h ... uh, unless Apple forces the use of
Availability.h in the future ... I guess we'll have to deal with it
then).  This way everybody on OS X 10.9 can at least pull from the
MacVim repo and build Vim / MacVim from there.

Thanks for the patch,
Björn

--
--
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
 
---
You received this message because you are subscribed to the Google Groups "vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: macvim OS X 10.9 Mavericks build

Akio Ito
In reply to this post by dsim
On Thursday, June 20, 2013 4:59:12 PM UTC+9, dsim wrote:
> Did anyone have working build for os x 10.9?
> I used `brew install macvim --with-cscope --with-lua` in Mountain Lion but this build crashing on Mavericks.

My Mavericks build, it was compiled with:

<pre>
CC=clang CFLAGS=-O3 ./configure --with-features=huge \
              --enable-rubyinterp \
              --enable-pythoninterp \
              --enable-perlinterp \
              --enable-cscope \
              --enable-luainterp \
              --with-luajit \
              --with-lua-prefix=/usr/local
</pre>

up on:
https://github.com/akioito/macvim/releases

 

--
--
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: macvim OS X 10.9 Mavericks build

Akio Ito
In reply to this post by dsim
On Thursday, June 20, 2013 4:59:12 PM UTC+9, dsim wrote:
> Did anyone have working build for os x 10.9?
> I used `brew install macvim --with-cscope --with-lua` in Mountain Lion but this build crashing on Mavericks.

My Mavericks build,
https://github.com/akioito/macvim/releases

it was compiled with:
CC=clang CFLAGS=-O3 ./configure --with-features=huge \
              --enable-rubyinterp \
              --enable-pythoninterp \
              --enable-perlinterp \
              --enable-cscope \
              --enable-luainterp \
              --with-luajit \
              --with-lua-prefix=/usr/local

--
--
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: macvim OS X 10.9 Mavericks build

Björn Winckler
In reply to this post by Felix Buenemann
On Wed, Oct 9, 2013 at 12:18 AM, Felix Bünemann wrote:
> I have VMs with 10.5, 10.6, 10.7, 10.8 with the latest updates and Xcode
> versions and have verified the patch on those. Testing older versions is
> hard, because they can't run in a VM or require PPC which is a dying breed.

Thanks.  Good to know.


> I'm pretty sure that AvailabilityMacros.h is available on all versions of OS
> X, because it's copyright header states 2001-20xx which matches the OS X
> 10.0 release timeline. Is the os_mac.h code also targeting OS 9? In that
> case we should add a configure check.

Yes, pre-OS X should be supported.  If there is a suitable #ifdef
check for that, then it should be possible to submit as a patch to
mainline Vim.

Björn

--
--
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: macvim OS X 10.9 Mavericks build

Felix Buenemann
Am Mittwoch, 9. Oktober 2013 20:25:49 UTC+2 schrieb björn:
> On Wed, Oct 9, 2013 at 12:18 AM, Felix Bünemann wrote:
> > I'm pretty sure that AvailabilityMacros.h is available on all versions of OS
> > X, because it's copyright header states 2001-20xx which matches the OS X
> > 10.0 release timeline. Is the os_mac.h code also targeting OS 9? In that
> > case we should add a configure check.
>
> Yes, pre-OS X should be supported.  If there is a suitable #ifdef
> check for that, then it should be possible to submit as a patch to
> mainline Vim.

OK, I've updated the patch with a configure check:
https://gist.github.com/felixbuenemann/6150257

> Björn

Felix

--
--
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: macvim OS X 10.9 Mavericks build

Björn Winckler
On Sun, Oct 13, 2013 at 11:16 PM, Felix Bünemann wrote:

> Am Mittwoch, 9. Oktober 2013 20:25:49 UTC+2 schrieb björn:
>> On Wed, Oct 9, 2013 at 12:18 AM, Felix Bünemann wrote:
>> > I'm pretty sure that AvailabilityMacros.h is available on all versions of OS
>> > X, because it's copyright header states 2001-20xx which matches the OS X
>> > 10.0 release timeline. Is the os_mac.h code also targeting OS 9? In that
>> > case we should add a configure check.
>>
>> Yes, pre-OS X should be supported.  If there is a suitable #ifdef
>> check for that, then it should be possible to submit as a patch to
>> mainline Vim.
>
> OK, I've updated the patch with a configure check:
> https://gist.github.com/felixbuenemann/6150257

This looks good to me ... but should we perhaps be checking for
"Availability.h" instead as that is what is used on Mavericks (and
earlier OS X versions did not need explicit inclusion of
AvailabilityMacros.h)?

Björn

--
--
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: macvim OS X 10.9 Mavericks build

Felix Buenemann
Am 19.10.2013 um 18:54 schrieb björn <[hidden email]>:

> On Sun, Oct 13, 2013 at 11:16 PM, Felix Bünemann wrote:
>> Am Mittwoch, 9. Oktober 2013 20:25:49 UTC+2 schrieb björn:
>>> On Wed, Oct 9, 2013 at 12:18 AM, Felix Bünemann wrote:
>>>> I'm pretty sure that AvailabilityMacros.h is available on all versions of OS
>>>> X, because it's copyright header states 2001-20xx which matches the OS X
>>>> 10.0 release timeline. Is the os_mac.h code also targeting OS 9? In that
>>>> case we should add a configure check.
>>>
>>> Yes, pre-OS X should be supported.  If there is a suitable #ifdef
>>> check for that, then it should be possible to submit as a patch to
>>> mainline Vim.
>>
>> OK, I've updated the patch with a configure check:
>> https://gist.github.com/felixbuenemann/6150257
>
> This looks good to me ... but should we perhaps be checking for
> "Availability.h" instead as that is what is used on Mavericks (and
> earlier OS X versions did not need explicit inclusion of
> AvailabilityMacros.h)?

The macros used in the vim codebase are defined in AvailabilityMacros.h not Availability.h.
Availability.h has similar but not the same macros, so using it would require cluttering the code with even more ifdefs.

> Björn

Felix

--
--
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: macvim OS X 10.9 Mavericks build

Zhao Cai
In reply to this post by dsim
Does anyone fail to enable python in osx 10.9? upgrade today and cannot pass the configure phrase for python. related message:

checking --enable-pythoninterp argument... yes
checking for python2... no
checking for python... /usr/bin/python
checking Python version... 2.7
checking Python is 2.3 or better... yep
checking Python's install prefix... /System/Library/Frameworks/Python.framework/Versions/2.7
checking Python's execution prefix... /System/Library/Frameworks/Python.framework/Versions/2.7
checking Python's configuration directory... (cached) /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config
checking if -pthread should be used... no
checking if compile and link flags for Python are sane... no: PYTHON DISABLED

 

--
--
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
123