From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: CHENG Gao Newsgroups: gmane.emacs.devel Subject: Re: Emacs 22 Carbon+AppKit port and Emacs 23 Mac port Date: Sat, 05 Sep 2009 19:27:44 +0800 Organization: cyberhut.org Message-ID: References: <2282B3B4-D844-4E26-BB94-9F79EEA2E847@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1252159739 27679 80.91.229.12 (5 Sep 2009 14:08:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Sep 2009 14:08:59 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 05 16:08:52 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mjvwg-0001vE-S2 for ged-emacs-devel@m.gmane.org; Sat, 05 Sep 2009 16:08:51 +0200 Original-Received: from localhost ([127.0.0.1]:32953 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mjvwg-0006MA-3j for ged-emacs-devel@m.gmane.org; Sat, 05 Sep 2009 10:08:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mjvwb-0006M4-Pu for emacs-devel@gnu.org; Sat, 05 Sep 2009 10:08:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MjvwX-0006L4-AP for emacs-devel@gnu.org; Sat, 05 Sep 2009 10:08:45 -0400 Original-Received: from [199.232.76.173] (port=42211 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MjvwX-0006L1-6V for emacs-devel@gnu.org; Sat, 05 Sep 2009 10:08:41 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:43377) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MjvwW-00011P-I9 for emacs-devel@gnu.org; Sat, 05 Sep 2009 10:08:40 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1MjvwT-0001r6-1L for emacs-devel@gnu.org; Sat, 05 Sep 2009 16:08:37 +0200 Original-Received: from 121.229.120.133 ([121.229.120.133]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Sep 2009 16:08:37 +0200 Original-Received: from chenggao by 121.229.120.133 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Sep 2009 16:08:37 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 61 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 121.229.120.133 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (darwin) Cancel-Lock: sha1:TyYCHYPvoVma3Vo6+5Oh/JqMU6w= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:115049 Archived-At: *On Sat, 05 Sep 2009 17:56:37 +0900 * Also sprach YAMAMOTO Mitsuharu : >>>>>> On Sat, 05 Sep 2009 15:47:49 +0800, CHENG Gao said: > >> YAMAMOTO-san, I found emacs-23.1-mac-1.92.tar.gz file is not there. > > Sorry for inconvenience. I temporarily withdrew the file because I > found a minor mistake before no one had downloaded it. It is > available now. Yes I got it later. Thanks! >> Since Snow Leopard is out of cage, I am wondering if YAMAMOTO-san >> intend to add mac port into Emacs trunk. I personally hope this can >> happen. With mac port added, the greatest befinet is Emacs can work >> on all MacOSX versions. And if I understand correctly, it's not >> possible for Cocoa port to achieve this easily. > > At least, I'd like to make the Mac port separate for now: it's still > at the experimental/hackers-only stage. I hope I can get rid of that > label shortly after the 23.2 release. >> 1 Emacs (22, 23 and TRUNK?) works on all MacOSX versions. >> User can choose to build mac port or Cocoa port. >> Take 23 for example (I dont use 22 so I can not say for it): >> User can build mac/Cocoa port on 10.3-10.5 >> User can build mac port on 10.6 > > The Mac port can be built on Mac OS X 10.2 - 10.6. As far as I know, > the NS port can be built on Mac OS X 10.4 - 10.6: there is a problem > with a compilation on 10.3 (*1), and a 32-bit binary can be made on > 10.6 (*2) with a small patch (23.1) or as it is (CVS trunk). > > *1: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3917 > *2: http://lists.gnu.org/archive/html/emacs-devel/2009-08/msg01401.html Thanks for the info. I got TRUNK built successfully in 32 bit. I dont know when, but I have dbus installed with Macports (maybe as dependency for some app). I found I have to disable dbus otherwise Emacs wont build. To build TRUNK with ns port: $CC='gcc -arch i386' ./configure --with-ns --disable-ns-self-contained --without-dbus $make bootstrap I think it's a good candidate to add to etc/PROBLEMS. I read the first bug link about problem building on 10.3. Searching Xcode docs shows that these methods and constants are available on 10.4 and later (colorAtX:y, NSFontTraitsAttribute, NSFontWeightTrait etc.) So I think Cocoa port can not build on 10.3. README file under nextstep/ should be revised to reflect this. > > YAMAMOTO Mitsuharu > mituharu@math.s.chiba-u.ac.jp