all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: joakim@verona.se
To: David Engster <deng@randomsample.de>
Cc: Jonas Bernoulli <jonas@bernoul.li>, emacs-devel@gnu.org
Subject: Re: merging of the xwidget branch to master
Date: Tue, 03 Feb 2015 22:20:54 +0100	[thread overview]
Message-ID: <m3lhkehetl.fsf@exodia.verona.se> (raw)
In-Reply-To: <87fvam7ms5.fsf@engster.org> (David Engster's message of "Tue, 03 Feb 2015 21:39:06 +0100")

David Engster <deng@randomsample.de> writes:

> 'joakim' writes:
>> David Engster <deng@randomsample.de> 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 <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



  reply	other threads:[~2015-02-03 21:20 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-22 14:43 merging of the xwidget branch to master joakim
2015-02-01  0:46 ` joakim
2015-02-01  5:58   ` Dmitry Antipov
2015-02-01  8:32     ` joakim
2015-02-01  9:55   ` Jonas Bernoulli
2015-02-01 10:24     ` joakim
2015-02-03 16:31       ` Steinar Bang
2015-02-03 19:58         ` David Engster
2015-02-03 20:23           ` joakim
2015-02-03 20:39             ` David Engster
2015-02-03 21:20               ` joakim [this message]
2015-02-03 22:01                 ` David Engster
2015-02-01 10:41     ` Paul Eggert
2015-02-02  8:40       ` Jonas Bernoulli
2015-02-01 15:46     ` Eli Zaretskii
2015-02-02  8:43       ` Jonas Bernoulli
2015-02-02 15:57         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3lhkehetl.fsf@exodia.verona.se \
    --to=joakim@verona.se \
    --cc=deng@randomsample.de \
    --cc=emacs-devel@gnu.org \
    --cc=jonas@bernoul.li \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.