From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.devel Subject: Re: merging of the xwidget branch to master Date: Tue, 03 Feb 2015 21:39:06 +0100 Message-ID: <87fvam7ms5.fsf@engster.org> References: <871tmaj6r9.fsf@bernoul.li> <87k2zy7onu.fsf@engster.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422995970 18265 80.91.229.3 (3 Feb 2015 20:39:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Feb 2015 20:39:30 +0000 (UTC) Cc: Jonas Bernoulli , emacs-devel@gnu.org To: joakim@verona.se Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 03 21:39:30 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 1YIkFt-0007KS-RL for ged-emacs-devel@m.gmane.org; Tue, 03 Feb 2015 21:39:29 +0100 Original-Received: from localhost ([::1]:33114 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIkFt-0007Bi-3o for ged-emacs-devel@m.gmane.org; Tue, 03 Feb 2015 15:39:29 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60665) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIkFg-0007BP-0q for emacs-devel@gnu.org; Tue, 03 Feb 2015 15:39:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YIkFd-0003TV-5D for emacs-devel@gnu.org; Tue, 03 Feb 2015 15:39:15 -0500 Original-Received: from randomsample.de ([5.45.97.173]:35930) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIkFc-0003TD-Se for emacs-devel@gnu.org; Tue, 03 Feb 2015 15:39:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From; bh=xXeOwQkxXKe3mqt7gfn9pDxJcC2AmgRa1Qa04gGB/E8=; b=cBrkzZ1K8YB1b4j4ylctYJvEEokNnNdf3aQCwXgnzFnMIqTlCTvkWspto+MyfPNYJEvWbeTjMQCFZA4YcIrhUe0DBaHdvSx9Nbbohj+apxC9dFmMh0gXaHW19q9MLS/s; Original-Received: from ip4d149227.dynamic.kabel-deutschland.de ([77.20.146.39] helo=spaten) by randomsample.de with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1YIkFb-0005Qz-Dg; Tue, 03 Feb 2015 21:39:11 +0100 In-Reply-To: (joakim@verona.se's message of "Tue, 03 Feb 2015 21:23:51 +0100") User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.91 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.45.97.173 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:182344 Archived-At: '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 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 -David