From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: tomas@tuxteam.de Newsgroups: gmane.emacs.devel Subject: Re: Introducing emacs-webkit and more thoughts on Emacs rendering (was Rethinking the design of xwidgets) Date: Sun, 22 Nov 2020 18:48:09 +0100 Message-ID: <20201122174809.GH16377@tuxteam.de> References: <864kmzupp0.fsf@akirakyle.com> <86pn46awrr.fsf@akirakyle.com> <20201122121849.GC1798@tuxteam.de> <20201122162418.GE16377@tuxteam.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="K1n7F7fSdjvFAEnM" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3480"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/1.5.21 (2010-09-15) Cc: emacs-devel@gnu.org To: Jean Louis Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 22 18:49:19 2020 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 1kgtUE-0000oQ-6f for ged-emacs-devel@m.gmane-mx.org; Sun, 22 Nov 2020 18:49:18 +0100 Original-Received: from localhost ([::1]:35502 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kgtUD-0006Ku-9t for ged-emacs-devel@m.gmane-mx.org; Sun, 22 Nov 2020 12:49:17 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46598) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgtTC-0005sC-GL for emacs-devel@gnu.org; Sun, 22 Nov 2020 12:48:14 -0500 Original-Received: from mail.tuxteam.de ([5.199.139.25]:47473) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.90_1) (envelope-from ) id 1kgtTA-00031i-3t for emacs-devel@gnu.org; Sun, 22 Nov 2020 12:48:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=Xj4qUib7tw+E3BWvRASj2N0c1OLEuczhTW6rzlOaYFE=; b=ift5o6hr54OslUdwu7NbHzpC0SltubpMzTa4hyJBINiTJGJRnoaBofAoaDxXdQbl4djh9Ygd40wlws8nj0YPF6wDw++cIYLmeJuc/jxHtr5IIFWthpdEqHlpybWoOtnFOMPQONINZ/SCq2uLw48X6saU7S3vGRB9MlT84fjQT0kgyvhGYpYDWzlRILgSeuUOhFPicB1pgTJOpaaPkVOSjvOGR3DB+GOUnQ+8+QPuKrWs1DfQoavPbE7Z/XwPnqPoRcXeaOxHYSxUyJcRt4xUfdnJETl/1F+sPzfmeD6CsgY5cxtsxogiNP01Y5WtzZZTrZuG71hhyEiV8VLBNPMsmA==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1kgtT7-0006nB-JV; Sun, 22 Nov 2020 18:48:09 +0100 Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=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:259631 Archived-At: --K1n7F7fSdjvFAEnM Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 22, 2020 at 08:18:12PM +0300, Jean Louis wrote: > * tomas@tuxteam.de [2020-11-22 19:24]: > > > > Uh, oh. You seem to be missing fundamental packages for compiling > > > > things [...] > > except when it doesn't :) >=20 > You know that all better, thank you.=20 Not sure, really. > I do remember being able to compile webkit in Emacs by compiling Emacs > itself, but it did not work as expected and I removed it. >=20 > $ locate stdlib.h > /usr/include/stdlib.h That seems a good place for it, yes. The compiler will find that there. > but webkit-module.c inside of emacs-webkit git directory does not have > stdlib.h, there is nowhere in other files included. And I included > also string.h that was missing. >=20 > $ head webkit-module.c=20 > #define _POSIX_SOURCE 1 >=20 > #include > #include > #include > #include > #include > #include >=20 > I think it should be included there and I have included those missind > but then I got these other errors. Maybe my webkit is outdated for > this one. I cannot install new webkit on this system. Definitely. But then it's the module's author's turn to chime in. Obviously it works for him/her, so we must be missing something important. > webkit-module.c: In function =E2=80=98webkit_get_uri=E2=80=99: > webkit-module.c:147:26: warning: implicit declaration of function =E2=80= =98webkit_uri_for_display=E2=80=99 [-Wimplicit-function-declaration] > const gchar *uri =3D webkit_uri_for_display (webkit_web_view_get_u= ri Yep. Perhaps your hunch is correct, and you have a different version of webkit2.h than the author has. Perhaps the author's even includes and friends? Cheers -- t --K1n7F7fSdjvFAEnM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAl+6pFkACgkQBcgs9XrR2kb64QCfWY+y2TtIgk/s4JVh/y21W9Rp Jj0An3Pz50pdwgTo3dBAa1c01Xe+zLb5 =4zpP -----END PGP SIGNATURE----- --K1n7F7fSdjvFAEnM--