From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.devel Subject: Re: Haiku port try 2 Date: Tue, 14 Sep 2021 09:19:56 +0100 Message-ID: References: <87ee9tjjmt.fsf.ref@yahoo.com> <87ee9tjjmt.fsf@yahoo.com> <878s00htl0.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3911"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 14 10:21:34 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mQ3h8-0000p0-0V for ged-emacs-devel@m.gmane-mx.org; Tue, 14 Sep 2021 10:21:34 +0200 Original-Received: from localhost ([::1]:33202 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQ3h7-0000Po-1Z for ged-emacs-devel@m.gmane-mx.org; Tue, 14 Sep 2021 04:21:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50610) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQ3fj-0007pZ-Ji for emacs-devel@gnu.org; Tue, 14 Sep 2021 04:20:07 -0400 Original-Received: from outbound.soverin.net ([116.202.126.228]:41331) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQ3fg-0005KH-TX for emacs-devel@gnu.org; Tue, 14 Sep 2021 04:20:06 -0400 Original-Received: from smtp.soverin.net (unknown [10.10.3.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id CA9EE4F; Tue, 14 Sep 2021 08:20:00 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.138]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1631607600; bh=tDvDV7lTnCI2RCV1N5GukMsPz5EbbekO5iNNqE082mI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=keDzSzQ68inr85d8/nlDnPOZerR97gLDVit9U79Mrjz1kXWLnVOaGkHoFKe/F/U2/ rghG/IYnWdjcqNhz+8IcfakHipExEd4y6kZ3MIwnxyXcisMh+01isCHia8C4iusxiH UNiUrB9ujiHfLhLbZinKZDFz299xkvsXL5AElsCU18Eqe0i00BZ0CmKXXcoCgHz1LF vDllqNL37IQQuJqEXmQJRk6+MhZ9j0xaKP5pW/clsb5SMshV+LraLIn9SOLE7ya+Iu zvBm7PTlvt7c+B1J9pa/S0Djg7H+wj7CsES8j2F/L6mF7JNoS+H7wpIcH79t1HYLHB tuuCGBFXPDYPw== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.94.2) (envelope-from ) id 1mQ3fY-001tJ9-BN; Tue, 14 Sep 2021 09:19:56 +0100 Mail-Followup-To: Alan Third , Po Lu , emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: <878s00htl0.fsf@yahoo.com> Received-SPF: pass client-ip=116.202.126.228; envelope-from=alan@idiocy.org; helo=outbound.soverin.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:274683 Archived-At: On Tue, Sep 14, 2021 at 08:46:51AM +0800, Po Lu wrote: > Alan Third writes: > > > You might want to have a look at how the NS port deals with XPMs, see > > image.c:4714. > > Thanks. I don't see anything notable at that location, or around it, so > could you please explain in more detail? It would be nice to use Haiku > libXpm instead of shipping a modified copy. Basically Macs don't come with libXpm, so there is code in image.c to support xpm's directly. If libXpm is available then I believe it will use it, but it means it's not a requirement. Search for this comment: /* XPM support functions for NS where libxpm is not available, and for Cairo. Only XPM version 3 (without any extensions) is supported. */ -- Alan Third