From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: merging of the xwidget branch to master Date: Tue, 03 Feb 2015 22:20:54 +0100 Message-ID: References: <871tmaj6r9.fsf@bernoul.li> <87k2zy7onu.fsf@engster.org> <87fvam7ms5.fsf@engster.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422998499 29370 80.91.229.3 (3 Feb 2015 21:21:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Feb 2015 21:21:39 +0000 (UTC) Cc: Jonas Bernoulli , emacs-devel@gnu.org To: David Engster Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 03 22:21:38 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YIkue-0002hu-0w for ged-emacs-devel@m.gmane.org; Tue, 03 Feb 2015 22:21:36 +0100 Original-Received: from localhost ([::1]:33294 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIkud-00067U-FO for ged-emacs-devel@m.gmane.org; Tue, 03 Feb 2015 16:21:35 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40380) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIkuX-00062q-TL for emacs-devel@gnu.org; Tue, 03 Feb 2015 16:21:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YIkuU-0001n4-Uz for emacs-devel@gnu.org; Tue, 03 Feb 2015 16:21:29 -0500 Original-Received: from mx2.bahnhof.se ([213.80.101.12]:59190) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIkuU-0001mz-Ko for emacs-devel@gnu.org; Tue, 03 Feb 2015 16:21:26 -0500 Original-Received: from localhost (mf.bahnhof.se [213.80.101.20]) by mx2-reinject (Postfix) with ESMTP id 43B6F40C84; Tue, 3 Feb 2015 22:21:24 +0100 (CET) X-Virus-Scanned: by amavisd-new using ClamAV at bahnhof.se (MF3) Original-Received: from mf3.bahnhof.se ([127.0.0.1]) by localhost (mf3.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t-ScJZSleZBv; Tue, 3 Feb 2015 22:21:16 +0100 (CET) Original-Received: from mta.verona.se (h-235-62.a149.priv.bahnhof.se [85.24.235.62]) by mf3.bahnhof.se (Postfix) with ESMTP id 3BBDE3E8CC9; Tue, 3 Feb 2015 22:21:15 +0100 (CET) Original-Received: from localhost (unknown [127.0.0.1]) by mta.verona.se (Postfix) with ESMTP id DCF9152B70D; Tue, 3 Feb 2015 21:21:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at verona.se Original-Received: from mta.verona.se ([127.0.0.1]) by localhost (exodia.verona.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9Fv1q1J2EoKL; Tue, 3 Feb 2015 22:20:54 +0100 (CET) Original-Received: from exodia.verona.se (www.verona.se [192.168.200.15]) by mta.verona.se (Postfix) with ESMTP id 1D7B152B70F; Tue, 3 Feb 2015 22:20:54 +0100 (CET) In-Reply-To: <87fvam7ms5.fsf@engster.org> (David Engster's message of "Tue, 03 Feb 2015 21:39:06 +0100") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 213.80.101.12 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:182345 Archived-At: David Engster writes: > 'joakim' writes: >> David Engster writes: >> >>> Steinar Bang writes: >>>>>>>>> joakim@verona.se: >>>> >>>>> I'm not familiar enough with Debian. >>>> >>>>> I have a working Dockerfile recipy for Fedora here: >>>>> https://github.com/jave/xwidget-aux/blob/master/emacs-xwidget-docker-f20/Dockerfile>>>>> I could do one for Debian as well, but perhaps the Fedora one is good >>>>> enough for you to adapt to Debian? >>>> >>>> Here is a close approximation of the yum package list for debian: >>>> apt-get install git gobject-introspection ncurses-devel >>>> libjpeg62-turbo-dev libxpm-dev libjpeg62-dev libtiff5-dev >>>> libncurses5-dev libgif-dev texinfo >>> >>> Next to the usual libraries for building Emacs, you need to install >>> libgtk-3-dev, libwebkitgtk-3.0-dev, and libgirepository1.0-dev. >>> >>> However, it does not build for me: >>> >>> CC xwidget.o >>> In file included from xwidget.c:79:0: >>> /usr/include/gtk-3.0/gtk/gtkscrolledwindow.h:26:2: error: #error >>> "Only can be included directly." >>> make[1]: *** [xwidget.o] Error 1 >>> >>> That's on 1d11624 in the Emacs repository. >> >> Thats odd. >> >> I can try to recreate the issue. >> >> Which one of these Dockerfiles resemble your environment? >> >> https://registry.hub.docker.com/_/debian/ > > That site does not seem to be available at the moment, but the issue Snippet from the docker registry: Supported tags and respective Dockerfile links 8.0, 8, jessie (jessie/Dockerfile) oldstable (oldstable/Dockerfile) sid (sid/Dockerfile) 6.0.10, 6.0, 6, squeeze (squeeze/Dockerfile) stable (stable/Dockerfile) testing (testing/Dockerfile) unstable (unstable/Dockerfile) 7.8, 7, wheezy, latest (wheezy/Dockerfile) rc-buggy (debian/rc-buggy/Dockerfile) experimental (debian/experimental/Dockerfile) > seems simple enough: the GTK people really don't want you to include > specific headers aside from gtk.h. If I remove the include for > gtkscrolledwindow.h, everything compiles fine. > > For the record: this is on Debian 7 (Wheezy), which has libgtk3 > 3.4.2. The header gtkscrolledwindow.h has this as the top: > > #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) > #error "Only can be included directly." > #endif Funny that it works on Fedora with the direct include, so I really need to get a debian compile working to check it. BTW, did you manage to get the browser working then? m-x xwidget-webkit-browse-url RET www.fsf.org RET Then you should be able to scroll the browser with space and bakckspace. > > -David -- Joakim Verona