[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: merging of the xwidget branch to master
From: |
joakim |
Subject: |
Re: merging of the xwidget branch to master |
Date: |
Tue, 03 Feb 2015 22:20:54 +0100 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) |
David Engster <address@hidden> writes:
> 'joakim' writes:
>> David Engster <address@hidden> writes:
>>
>>> Steinar Bang writes:
>>>>>>>>> address@hidden:
>>>>
>>>>> 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 <gtk/gtk.h> 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 <gtk/gtk.h> 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
- Re: merging of the xwidget branch to master, Dmitry Antipov, 2015/02/01
- Re: merging of the xwidget branch to master, Jonas Bernoulli, 2015/02/01
- Re: merging of the xwidget branch to master, joakim, 2015/02/01
- Re: merging of the xwidget branch to master, Steinar Bang, 2015/02/03
- Re: merging of the xwidget branch to master, David Engster, 2015/02/03
- Re: merging of the xwidget branch to master, joakim, 2015/02/03
- Re: merging of the xwidget branch to master, David Engster, 2015/02/03
- Re: merging of the xwidget branch to master,
joakim <=
- Re: merging of the xwidget branch to master, David Engster, 2015/02/03
Re: merging of the xwidget branch to master, Paul Eggert, 2015/02/01
Re: merging of the xwidget branch to master, Eli Zaretskii, 2015/02/01