From: Yavor Doganov <yavor@gnu.org>
To: emacs-pretest-bug@gnu.org
Subject: bug#3652: FTBFS: nsfont.m: 'NSFontTraitsAttribute' undeclared
Date: Mon, 22 Jun 2009 23:40:22 +0300 [thread overview]
Message-ID: <87hby86lzd.GNU's_Not_Unix!%yavor@gnu.org> (raw)
Package: emacs,ns
Severity: serious
Tags: patch
The GNUstep port fails to build currently following this change:
2009-06-08 Adrian Robert <Adrian.B.Robert@gmail.com>
Changes to support :script/:lang/:otf in NS font driver.
...
I believe it's a bug in GNUstep GUI which I'll report to their
tracker. For now, I suggest the workaround below.
What's worse is that the NSFontDescriptor class was implemented in GUI
0.13, while gNewSense DeltaH has 0.12. Do you consider it important
enough to add a fallback code?
Changelog:
2009-06-22 Yavor Doganov <yavor@gnu.org>
* configure.in: Check for <AppKit/NSFontdescriptor.h>.
*** configure.in 22 юни 2009 22:30:12 +0300 1.599
--- configure.in 22 юни 2009 23:29:18 +0300
***************
*** 1257,1262 ****
--- 1257,1264 ----
AC_CHECK_HEADER([AppKit/AppKit.h], [HAVE_NS=yes],
[AC_MSG_ERROR([`--with-ns' was specified, but the include
files are missing or cannot be compiled.])])
+ AC_CHECK_HEADER([AppKit/NSFontDescriptor.h], [],
+ [AC_MSG_ERROR([NSFontDescriptor is required.])])
NS_HAVE_NSINTEGER=yes
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <Foundation/NSObjCRuntime.h>],
[NSInteger i;])],
src/ChangeLog:
2009-06-22 Yavor Doganov <yavor@gnu.org>
* nsfont.m: Import <AppKit/NSFontDescriptor.h>.
*** nsfont.m 18 юни 2009 12:35:30 +0300 1.26
--- nsfont.m 22 юни 2009 22:35:30 +0300
***************
*** 37,42 ****
--- 37,47 ----
#include "character.h"
#include "font.h"
+ /* This header is not included from GNUstep's (0.16.0) AppKit.h. */
+ #ifdef NS_IMPL_GNUSTEP
+ #import <AppKit/NSFontDescriptor.h>
+ #endif
+
#define NSFONT_TRACE 0
extern Lisp_Object Qns;
next reply other threads:[~2009-06-22 20:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <EFE22F66-15B5-49AD-B1F8-F241D3ED6C8A@gmail.com>
2009-06-22 20:40 ` Yavor Doganov [this message]
2009-06-25 21:33 ` bug#3652: FTBFS: nsfont.m: 'NSFontTraitsAttribute' undeclared Stefan Monnier
2009-06-25 21:55 ` Yavor Doganov
[not found] ` <handler.3652.B3652.124596691916601.ackinfo@emacsbugs.donarmstrong.com>
2009-06-25 22:43 ` bug#3652: Info received (bug#3652: FTBFS: nsfont.m: 'NSFontTraitsAttribute' undeclared) Yavor Doganov
2009-06-25 22:50 ` Processed: " Emacs bug Tracking System
2009-06-25 22:53 ` Yavor Doganov
2009-07-23 14:50 ` bug#3652: marked as done (FTBFS: " Emacs bug Tracking System
2009-07-24 16:22 ` bug#3652: Fwd: FTBFS: nsfont.m: 'NSFontTraitsAttribute' undeclared Adrian Robert
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='87hby86lzd.GNU'\''s_Not_Unix'\!'%yavor@gnu.org' \
--to=yavor@gnu.org \
--cc=3652@emacsbugs.donarmstrong.com \
--cc=emacs-pretest-bug@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.