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

'joakim' writes:
> 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

[...]

>     7.8, 7, wheezy, latest (wheezy/Dockerfile)

This. And you need a bunch of packages, of course. I guess these

build-essential, libncurses5-dev, texinfo, liblockfile-dev,
librsvg2-dev, libgif-dev, libtiff-dev, libpng-dev, libjpeg-dev,
libm17n-dev, libotf-dev, libgpm-dev, libdbus-1-dev, autoconf, automake,
autotools-dev, imagemagick, libgtk-3-dev, libwebkitgtk-3.0-dev,
libgirepository1.0-dev

should get you started.

>> 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.

Yes.  I can also scroll with <prior> and <next>, while <up> and <down>
show the real trick. Pretty weird and cool at the same time. :-) Great
job.

-David



  reply	other threads:[~2015-02-03 22:01 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
2015-02-03 22:01                 ` David Engster [this message]
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87bnla7iyo.fsf@engster.org \
    --to=deng@randomsample.de \
    --cc=emacs-devel@gnu.org \
    --cc=joakim@verona.se \
    --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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).