unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Third <alan@idiocy.org>
To: Aaron Jensen <aaronjensen@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Cocoa not detected when building on macOS 10.13
Date: Tue, 19 Sep 2017 20:39:25 +0100	[thread overview]
Message-ID: <20170919193925.GB50068@breton.holly.idiocy.org> (raw)
In-Reply-To: <CAHyO48xCAQOnsp95Ay9TSdnShf+=6_9eo8Ur8LotUw=7NP3BAw@mail.gmail.com>

On Tue, Sep 19, 2017 at 06:43:53PM +0200, Aaron Jensen wrote:
> I’m not sure what I’m doing wrong, but when I build the emacs-26
> branch on macOS 10.13 I don’t get cocoa specific features like
> ns-transparent-titlebar
> 
> Is detection broken for 10.13?

I can’t think of any reason it should be.

Are you sure you’re testing the features correctly? Transparent
titlebars are enabled like so:

    (set-frame-parameter nil ’ns-transparent-titlebar t)

And if that’s not working then I wouldn’t expect things like native
fullscreen to work either, and I’d expect a _lot_ of warnings during
compilation.

If it’s definitely not working, try compiling and running this:

#include <stdio.h>
#include <AvailabilityMacros.h>

void main(void)
{
  printf("MAC_OS_X_VERSION_MAX_ALLOWED: %d\nMAC_OS_X_VERSION_MIN_REQUIRED: %d\n",
         MAC_OS_X_VERSION_MAX_ALLOWED, MAC_OS_X_VERSION_MIN_REQUIRED);
}

# clang test.c ; ./a.out

and send the output back to me.

(I realise it would be easier to just look in AvailabilityMacros.h,
but I can never work out where those files are actually kept.)
-- 
Alan Third



  reply	other threads:[~2017-09-19 19:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-19 16:43 Cocoa not detected when building on macOS 10.13 Aaron Jensen
2017-09-19 19:39 ` Alan Third [this message]
2017-09-19 20:08   ` Aaron Jensen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170919193925.GB50068@breton.holly.idiocy.org \
    --to=alan@idiocy.org \
    --cc=aaronjensen@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).