From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!.POSTED!not-for-mail
From: Stephen Berman <stephen.berman@gmx.net>
Newsgroups: gmane.emacs.devel
Subject: Re: xwidget on master under opensuse
Date: Sat, 05 Nov 2016 21:02:55 +0100
Message-ID: <87eg2pd79s.fsf@gmx.net>
References: <87ins1deg7.fsf@gmx.net> <m31sypvnd4.fsf@chopper>
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: blaine.gmane.org 1478376215 24531 195.159.176.226 (5 Nov 2016 20:03:35 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sat, 5 Nov 2016 20:03:35 +0000 (UTC)
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)
Cc: emacs-devel@gnu.org
To: joakim@verona.se
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 05 21:03:31 2016
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>
Envelope-to: ged-emacs-devel@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 <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>)
	id 1c37BG-0003Xa-Pt
	for ged-emacs-devel@m.gmane.org; Sat, 05 Nov 2016 21:03:10 +0100
Original-Received: from localhost ([::1]:56517 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>)
	id 1c37BJ-0005lv-Pc
	for ged-emacs-devel@m.gmane.org; Sat, 05 Nov 2016 16:03:13 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54364)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <stephen.berman@gmx.net>) id 1c37BD-0005lc-KN
	for emacs-devel@gnu.org; Sat, 05 Nov 2016 16:03:08 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <stephen.berman@gmx.net>) id 1c37B9-00057F-Na
	for emacs-devel@gnu.org; Sat, 05 Nov 2016 16:03:07 -0400
Original-Received: from mout.gmx.net ([212.227.17.22]:49351)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <stephen.berman@gmx.net>)
	id 1c37B9-00055o-Eq
	for emacs-devel@gnu.org; Sat, 05 Nov 2016 16:03:03 -0400
Original-Received: from rosalinde ([89.245.89.249]) by mail.gmx.com (mrgmx101) with
	ESMTPSA (Nemesis) id 0MLj5z-1c2q3s0O6l-000uTY; Sat, 05 Nov 2016 21:02:59
	+0100
In-Reply-To: <m31sypvnd4.fsf@chopper> (joakim's message of "Sat, 05 Nov 2016
	18:37:59 +0100")
X-Provags-ID: V03:K0:Bx+HyZYkOl84QXeekoMzdvEHptvFF26rAAsfG4gCWgPrcdl28Ag
	z+aJEqutWjV+KrCreCozGl/l3EgfGQS/q6bNHfAP6fnn1JvzZsTQmmaGozm1rmvVAA0LXSg
	oaWKs86GtYNjCvML/lUEAnY2c9Z4/ZujPvTYvVYAw630/ekaFS9lSeB76e6YsOV6ByxB6iA
	l3eParUgx2BhVEoyShmiQ==
X-UI-Out-Filterresults: notjunk:1;V01:K0:B485D8AB8RE=:kFI8ebluuNb8km8uuJoUYz
	El2YjX5iRTp3zBwrj7fWrE5B5vOwjvoKCEDVrlXTtyKITL3OMKSp2I5h9xw138REQh0CMKF3A
	baI2butrasgB62OLkkSId9bKG1XqYvanwNh0Hezv4N01F0Gm81kvDSChennwtccAtRT9TI7PE
	v/gNe3FJDHvbMAEekmfXrObBCKL9Ms/1OF54VUpYHRzUi6JuTfuoyB5+slR3qaUQFJ5xhEF8B
	umtwLV1dcXR/RQjxI1hNaZgZDCvW9rNxiw3odhE0GEwmzn7c551TXDzlfpyGmkUZTIt8dXfyH
	/VE3c56Jv3vdeSaalEZpy4fTEYEaCTllDvH+vgcxihG4MIpgpw8JWtLlKOxrW8qiJcAZ/KtnJ
	zaKyxiq2sHSsVCBjJVEBZPA+HlKuUJfqk2ubssV2IqxGWHmkY3AtYDDwa3CLq54nFMUn8nVtK
	HA3ZPR4VMEBzl9ONCodM2QBf4MXkVIuq/t8nEtDhblM3/mBs272iI8w1QGo07q4f3+O2DdMuv
	kV0ffbDGFjWXrHLm1B+pdDNnE0/lsyuxF0xRMLYM9nfYpCpEmTmoPiXO/OJsSB4KoNNI3sd1B
	e94qmqx2zx4hAuuUKvdEqi+lXusaKM+k6hsOXKfcUWuMujQ8x9oN5jIozd1DJseZhX/95Rz8t
	eJ5VuwijPwUt3c3vI5VuTlb09wIw05yRBMkZ03ETU4xQP4fuq85c1S2UmATmR5cM/232thvF1
	dsSDrHkmWydB/7eoMFVv3EB4QFWOE4i0i4QAR88ZxmWMqx387mGX5B4NA8LT4zBCWLzKhQdh 
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 212.227.17.22
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: "Emacs development discussions." <emacs-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-devel/>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=subscribe>
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org
Original-Sender: "Emacs-devel" <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>
Xref: news.gmane.org gmane.emacs.devel:209202
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/209202>

On Sat, 05 Nov 2016 18:37:59 +0100 joakim@verona.se wrote:

> Stephen Berman <stephen.berman@gmx.net> writes:
>
>> I just updated and rebuilt from master for the first time since the
>> commits making xwidget use the webkit2 API, and discovered that I cannot
>> build Emacs with xwidget because I don't have a recent enough
>> libwebkit2.  Moreover, it appears that such a version is not available
>> for my OS, opensuse: 2.12 is required but 2.10 is the most recent
>> version I've found.  So it appears I have to build and install webkit2
>> from source to use xwidget on current Emacs from master.  Is this
>> correct and is it straightforward?  Or does someone know of a recent
>> enough version for opensuse?  Thanks,
>
> Would it be possible to for you to try to lower the requirements in the
> configury, and report the results here? TIA.

I changed the WEBKIT_REQUIRED test in configure from 2.12 to 2.6.6,
which was the version I had from opensuse, and the build failed due to an
undefined reference to `JSValueIsArray'.  Then I installed an unofficial
build of 2.10.4 that is available from one of the opensuse repositories,
changed configure again and rebuilt emacs, this time successfully.  I
started emacs -Q, invoked xwidget-webkit-browse-url and visited a
website, and it appears to work fine.  There are, however, a slew of
messages in the shell where I started emacs:

(emacs:13002): Gdk-WARNING **: gdkwindow-x11.c:5584 drawable is not a native X11 window

** (WebKitWebProcess:13016): WARNING **: Error loading the injected bundle (/usr/lib64/webkit2gtk-4.0/injected-bundle/libwebkit2gtkinjectedbundle.so): /usr/lib64/webkit2gtk-4.0/injected-bundle/libwebkit2gtkinjectedbundle.so: undefined symbol: _ZN6WebKit22WebGtkExtensionManager6sharedEv

(emacs:13002): Gtk-CRITICAL **: gtk_widget_draw: assertion '!widget->priv->alloc_needed' failed

(WebKitWebProcess:13016): GLib-GObject-WARNING **: gsignal.c:2461: signal 'starting' is invalid for instance '0x13b08e0' of type 'SoupMessage'

Variants of the latter message (each with a different hex number) was
displayed hundreds of times.

Steve Berman