unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: joaotavora@gmail.com (João Távora)
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>,
	emacs-devel <emacs-devel@gnu.org>
Subject: Re: Visual bell patch for emacs on OSX
Date: Sat, 21 Dec 2013 00:11:11 +0000	[thread overview]
Message-ID: <8761qjm5b4.fsf@gmail.com> (raw)
In-Reply-To: <F27D51AE-2200-434A-9422-5870C245ED86@swipnet.se> ("Jan \=\?utf-8\?Q\?Dj\=C3\=A4rv\=22's\?\= message of "Tue, 17 Dec 2013 17:59:46 +0100")

Jan Djärv <jan.h.d@swipnet.se> writes:

> 17 dec 2013 kl. 03:11 skrev Stefan Monnier <monnier@iro.umontreal.ca>:
>
>>> Or would I have to rewrite it to work equally well on GNUstep?
>>
>> That would be sweet,
>>
>
> That is most likely impossible.  GNUStep lacks a lot of API-functions
> compared to Cocoa.

Is it really impossible to momentarily (and portably) flash the
header-line/ echo-area in the GNUstep build?

I heroically tried, but failed miserably right away. Building for
GNUstep (--with-ns) errors out in this compilation unit:

   gcc -std=gnu99 -c -Demacs -I. -I. -I../lib -I./../lib -D_REENTRANT -fPIC \
   -fno-strict-aliasing -I/usr/include/GNUstep -I/usr/local/include/GNUstep \
   -I/usr/include/alsa -pthread -I/usr/include/librsvg-2.0                  \
   -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include     \
   -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo                       \
   -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/freetype2 \
   -I/usr/include/libxml2 -I/usr/include/dbus-1.0                           \
   -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -MMD -MF deps/nsterm.d -MP  \
   -I/usr/include/p11-kit-1 -g3 -O2 -fobjc-exceptions -fgnu-runtime         \
   -Wno-import -fconstant-string-class=NSConstantString                     \
   -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGSWARN    \
   -DGSDIAGNOSE nsterm.m

Many errors, at least in today's and recent git clonings

   nsterm.m:6075:1: error: trying to encode non-integer type as a
   bitfield

Besides the reasonably complete toolkit I use to compile for GTK, I'm on
debian wheezy and installed "gnustep-core-devel", version 7.7. Configure
ran fine.

I wonder if these are known pitfalls and if you can point me in the
right direction 

I vaguely remember --with-ns building OK on OSX, but haven't tried
recently.

Thanks,
João



  parent reply	other threads:[~2013-12-21  0:11 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-16 22:45 Visual bell patch for emacs on OSX João Távora
2013-12-16 23:05 ` Glenn Morris
2013-12-16 23:46   ` Glenn Morris
2013-12-16 23:49   ` João Távora
2013-12-17  0:14     ` Glenn Morris
2013-12-17  2:11     ` Stefan Monnier
2013-12-17 16:59       ` Jan Djärv
2013-12-18 12:52         ` Bozhidar Batsov
2013-12-18 14:21           ` Stefan Monnier
2013-12-18 14:52             ` Bozhidar Batsov
2013-12-18 15:16               ` Jan Djärv
2013-12-21  0:11         ` João Távora [this message]
2013-12-21  8:19           ` Jan Djärv
2013-12-23 12:09             ` Jan Djärv
2013-12-24  9:56               ` João Távora
2013-12-25 16:30                 ` Jan Djärv
2013-12-21  8:56           ` martin rudalics
  -- strict thread matches above, loose matches on Subject: below --
2013-12-17  8:35 François-Xavier Bois
2013-12-17 15:11 ` Jan Djärv

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=8761qjm5b4.fsf@gmail.com \
    --to=joaotavora@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=jan.h.d@swipnet.se \
    --cc=monnier@iro.umontreal.ca \
    /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).