From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#23753: 25.0.95; configuration of X client fails to include graphics libraries on Mac OS X 10.6.8 Date: Mon, 11 Dec 2017 21:01:23 +0000 Message-ID: <20171211210123.GA79080@breton.holly.idiocy.org> References: <574ADB58-D702-4292-AD3D-50E72726C36E@freenet.de> <20171210224225.GA78715@breton.holly.idiocy.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1513026133 11397 195.159.176.226 (11 Dec 2017 21:02:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 11 Dec 2017 21:02:13 +0000 (UTC) User-Agent: Mutt/1.9.1 (2017-09-22) Cc: peter_dyballa@freenet.de, 23753@debbugs.gnu.org, "Charles A. Roelli" , rms@gnu.org To: YAMAMOTO Mitsuharu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 11 22:02:09 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eOVDF-0002k7-2B for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Dec 2017 22:02:09 +0100 Original-Received: from localhost ([::1]:55455 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOVDM-0004XP-Dv for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Dec 2017 16:02:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57274) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOVDC-0004Wd-Ib for bug-gnu-emacs@gnu.org; Mon, 11 Dec 2017 16:02:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eOVD8-0002Re-Jv for bug-gnu-emacs@gnu.org; Mon, 11 Dec 2017 16:02:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48622) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eOVD8-0002R8-G0 for bug-gnu-emacs@gnu.org; Mon, 11 Dec 2017 16:02:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eOVD8-00067y-61 for bug-gnu-emacs@gnu.org; Mon, 11 Dec 2017 16:02:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Dec 2017 21:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23753 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23753-submit@debbugs.gnu.org id=B23753.151302609323511 (code B ref 23753); Mon, 11 Dec 2017 21:02:02 +0000 Original-Received: (at 23753) by debbugs.gnu.org; 11 Dec 2017 21:01:33 +0000 Original-Received: from localhost ([127.0.0.1]:57303 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eOVCe-000679-RU for submit@debbugs.gnu.org; Mon, 11 Dec 2017 16:01:33 -0500 Original-Received: from mail-wm0-f54.google.com ([74.125.82.54]:41258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eOVCc-00066l-UH for 23753@debbugs.gnu.org; Mon, 11 Dec 2017 16:01:31 -0500 Original-Received: by mail-wm0-f54.google.com with SMTP id g75so17096854wme.0 for <23753@debbugs.gnu.org>; Mon, 11 Dec 2017 13:01:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=/3VjWfWEE4+DG4b79ZDeaLFoAEk141D892sUp4op+Zo=; b=G9vsAdzl+kV/snksx4XYJmut820etkG4DAIFK9ejSynKdz34fBJ5oVbsUg9QiNdRJS 2zKF85aeL+/nlcDeZ1QxEIxzO2pULQWQwZ/Q38xZaxILQz5MAx10OEO8tBhVF0nz3yw0 gCxAfuY0+eySR4SFIpr/L9Nkk1fEHfRGl4ZfJAmBJC89gCRTFh1GcGrijOq2+ZmHiRJa uN9Uarixo/UZ1cCY9hzzQXYiCCckFPpGwU60Ru2diLjIpJcHdc3o6XXwiqO+MiY1YrYI yU3yPgnbyt5R0EJeoA6sf/iOXWwd5Bwl/oiVEhK+EXjvG0vWq4cIQlQMP03uDJ+3wkNs xYHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=/3VjWfWEE4+DG4b79ZDeaLFoAEk141D892sUp4op+Zo=; b=RJzSTQeqCy/79MiiqgdCcUUV9/QEoQQJ+Oo5Cqppo01w7mXbvCl1z1JpYq/Nw/pxdg BzEaFYz9VxlHaiSC1mAPK++vf6Lo58u+ekZ2X8f2qbQ9p1gwEzY6K2xXAD3voM/mxiGn oUvV/h/7T4+wWjbBriyq1J3qufesjAK5AWTvZ7A0W3UIa4wgpnfBnwushxAQtKBV+Y0Y MptISCQ8bDK8QrIf+k4pJuJB89sgTN0nmcaXK7LworxzG52jlrF1OiKIvyk2UnpFGga1 grk8dEH7WsFmMTxGnrCWyqr3nIP8eLqFXY9s6XQnoJoZy9WVvDfoV5q0GLiEC5z2muy8 TYYw== X-Gm-Message-State: AKGB3mJOLfR54pK4ZKOF8wMrjk2pDYvErzFf6AlwrGOURlvCXxCibcH/ 4azsZKGlnzkvOSKrGZsD1mo= X-Google-Smtp-Source: ACJfBou4Mmh3e9tYsYmw/NLcHRHrTqAsRVN5XN6dx3cLO/Hu4ZMu16W1OyzBXBrmF6NtcIed7xCaiQ== X-Received: by 10.28.92.4 with SMTP id q4mr1792464wmb.42.1513026084915; Mon, 11 Dec 2017 13:01:24 -0800 (PST) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-09c7-7705-5027-72ca.holly.idiocy.org. [2001:8b0:3f8:8129:9c7:7705:5027:72ca]) by smtp.gmail.com with ESMTPSA id e132sm10362075wmd.40.2017.12.11.13.01.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Dec 2017 13:01:23 -0800 (PST) Content-Disposition: inline In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:140947 Archived-At: On Mon, Dec 11, 2017 at 08:16:24PM +0100, Charles A. Roelli wrote: > > Date: Sun, 10 Dec 2017 22:42:25 +0000 > > From: Alan Third > > > > On Sun, Dec 10, 2017 at 04:44:13PM -0500, Richard Stallman wrote: > > > [[[ To any NSA and FBI agents reading my email: please consider ]]] > > > [[[ whether defending the US Constitution against all enemies, ]]] > > > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > > > > > > I would think removing this feature from the Emacs sources so that > > > > they compile with standard gcc would be a high priority for Emacs. > > > > It's surpising this has not come up before. > > > > > > Yes, we must insist on removing them. > > > > Is it acceptable to leave them in when building with Clang? Something like: > > > > #ifdef __clang__ > > > > #endif > > > > > Are there any in the Emacs 26 pretest? > > > > Yes, the two in macfont.m. > > > > As for whether there’s any demand for them, I can’t answer that. It > > might be better to ask the GNUstep people. > > > > Charles, do you know of a better solution than just making them > > in‐line? > > Nope. It would also be interesting to find out the performance impact > on redisplay. Since the glyph information seems to be cached (?), the > impact may be negligible. Yamamoto san, I hope it’s OK to copy you in on this. In order to make the NS port of Emacs compile on GCC on macOS we need to remove two instances of Objective‐C blocks in macfont.m. It looks to me like we can make it run in‐line, i.e. change dispatch_group_async (group, queue, ^{ glyphs[i] = kCGFontIndexInvalid; if (default_uvs_offset) { struct default_uvs_table *default_uvs = (struct default_uvs_table *) ((UInt8 *) uvs to just { glyphs[i] = kCGFontIndexInvalid; if (default_uvs_offset) { struct default_uvs_table *default_uvs = (struct default_uvs_table *) ((UInt8 *) uvs As far as I can see this will still work, but we’re not sure whether it will cause any problems. Since this is, I believe, your code, do you have any thoughts on the matter? -- Alan Third