From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#29565: [PATCH] Support xwidget webkit for macOS X Date: Tue, 11 Aug 2020 22:29:13 +0200 Message-ID: <87tux9q63q.fsf@gnus.org> References: <87pn7y38sp.fsf@gnus.org> <20200810190612.GA40992@breton.holly.idiocy.org> <87tux9xx3i.fsf@gnus.org> <83eeod438f.fsf@gnu.org> <87mu31rvwa.fsf@gnus.org> <20200811195557.GA41737@breton.holly.idiocy.org> <871rkdrm2l.fsf@gnus.org> <20200811201817.GC41737@breton.holly.idiocy.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26083"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 29565@debbugs.gnu.org, veshboo@gmail.com, stefan@marxist.se, Richard Stallman , pcr910303@icloud.com To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 11 22:30:10 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1k5auQ-0006ev-KU for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 11 Aug 2020 22:30:10 +0200 Original-Received: from localhost ([::1]:43470 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k5auP-0004nH-Mr for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 11 Aug 2020 16:30:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46314) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k5auJ-0004n3-7h for bug-gnu-emacs@gnu.org; Tue, 11 Aug 2020 16:30:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58477) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k5auI-0006MH-V8 for bug-gnu-emacs@gnu.org; Tue, 11 Aug 2020 16:30:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k5auI-0006sa-Pi for bug-gnu-emacs@gnu.org; Tue, 11 Aug 2020 16:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Aug 2020 20:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29565 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 29565-submit@debbugs.gnu.org id=B29565.159717776926386 (code B ref 29565); Tue, 11 Aug 2020 20:30:02 +0000 Original-Received: (at 29565) by debbugs.gnu.org; 11 Aug 2020 20:29:29 +0000 Original-Received: from localhost ([127.0.0.1]:41790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5atk-0006rW-UZ for submit@debbugs.gnu.org; Tue, 11 Aug 2020 16:29:29 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:36256) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5ati-0006rH-Cj for 29565@debbugs.gnu.org; Tue, 11 Aug 2020 16:29:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ayTGN9QaRFLCYD1T6HJN2yJfZsameBI/FTUskffdmgE=; b=e4WS9vOqaum8qccB7pZzUIAlcT ou+U1MiLQLvKQeHck58yjLdQ91MA1RDMubgZksCYOlU2Z9QJ7WM09BFmA4EA4ex3Br27ot42GhoeD jU1OFesoewjAkNtJha2yiiTXBahKIMMu8fngCAaKawM31V9LqRnUlVc3uGpBzNUvIJrk=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k5atY-0008TP-1n; Tue, 11 Aug 2020 22:29:18 +0200 In-Reply-To: <20200811201817.GC41737@breton.holly.idiocy.org> (Alan Third's message of "Tue, 11 Aug 2020 22:18:20 +0200 (CEST)") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:184696 Archived-At: Alan Third writes: > Is it building against Cocoa or GTK? > > I don't know if you maybe need to be explicit? > > ./configure --with-ns --with-xwidgets D'oh! I tried first with just --with-xwidgets, and then it said I needed gtk3. But that was just because I had forgotten to rebuild the configure script, apparently. I've now done so, and ./configure --with-xwidgets works fine, and it compiles without any problems, but with some extra warnings that I don't think were there before, like: Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:312:32: note: 'NSFilenamesPboardType' has been explicitly marked deprecated here APPKIT_EXTERN NSPasteboardType NSFilenamesPboardType API_DEPRECATED("Cre... ^ nsterm.m:8624:35: warning: 'NSURLPboardType' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations] else if ([type isEqualToString: NSURLPboardType]) ^~~~~~~~~~~~~~~ NSPasteboardTypeURL Or were these there before, too? I did have some warnings before applying the patch... Anyway, it builds, and it seems to work well -- M-x xwidget-webkit-browse-url seems to work fine. So, tomorrow I'll look into the warnings and get this thing checked in and pushed. Thanks for the pointer to --with-ns. :-) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no