unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* compilation of emacs 25.1 with xwidgets on os x
@ 2016-08-19 19:53 Alan Schmitt
  2016-08-19 21:30 ` psachin
  0 siblings, 1 reply; 10+ messages in thread
From: Alan Schmitt @ 2016-08-19 19:53 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 676 bytes --]

Hello,

I’m trying to compile emacs 25.1 with xwidgets on os x, and I’m facing
some issues. I’ve found out that I need the configure option
`--without-ns' for the option `--with-gtk-toolkit=gtk3' to stick, but I
cannot get my local installation of webkitgtk to be recognized: the
version provided by homebrew only seems to provide webkitgtk-4.0, which
is not accepted by emacs (that seems to require webkitgtk-3.0).

Is it possible to compile emacs 25.1 with xwidgets support on os x?

Thanks a lot for this great release,

Alan Schmitt

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Monthly Athmospheric CO₂, Mauna Loa Obs. 2015-07: 401.31, 2016-07: 404.39

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: compilation of emacs 25.1 with xwidgets on os x
  2016-08-19 19:53 compilation of emacs 25.1 with xwidgets on os x Alan Schmitt
@ 2016-08-19 21:30 ` psachin
  2016-08-20  3:55   ` Alex Dunn
  2016-08-20 17:53   ` Alan Schmitt
  0 siblings, 2 replies; 10+ messages in thread
From: psachin @ 2016-08-19 21:30 UTC (permalink / raw)
  To: Alan Schmitt; +Cc: Emacs developers

[-- Attachment #1: Type: text/plain, Size: 975 bytes --]

Hi Alan,

I'm not sure, but have you tried specifying the version,

--with-x-toolkit=gtk4

I hope that works.


--
Sachin


On Sat, Aug 20, 2016 at 1:23 AM, Alan Schmitt <
alan.schmitt@polytechnique.org> wrote:

> Hello,
>
> I’m trying to compile emacs 25.1 with xwidgets on os x, and I’m facing
> some issues. I’ve found out that I need the configure option
> `--without-ns' for the option `--with-gtk-toolkit=gtk3' to stick, but I
> cannot get my local installation of webkitgtk to be recognized: the
> version provided by homebrew only seems to provide webkitgtk-4.0, which
> is not accepted by emacs (that seems to require webkitgtk-3.0).
>
> Is it possible to compile emacs 25.1 with xwidgets support on os x?
>
> Thanks a lot for this great release,
>
> Alan Schmitt
>
> --
> OpenPGP Key ID : 040D0A3B4ED2E5C7
> Monthly Athmospheric CO₂, Mauna Loa Obs. 2015-07: 401.31, 2016-07: 404.39
>



-- 
Sachin
psachin.github.io

[-- Attachment #2: Type: text/html, Size: 1733 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: compilation of emacs 25.1 with xwidgets on os x
  2016-08-19 21:30 ` psachin
@ 2016-08-20  3:55   ` Alex Dunn
  2016-08-20 17:54     ` Alan Schmitt
  2016-08-20 17:53   ` Alan Schmitt
  1 sibling, 1 reply; 10+ messages in thread
From: Alex Dunn @ 2016-08-20  3:55 UTC (permalink / raw)
  To: psachin, Alan Schmitt; +Cc: Emacs developers

There’s a separate issue with trying to get xwidgets on Emacs via
Homebrew, which is that the build of GTK+3 supplied by Homebrew does not
include the X11 backend, which is required by xwidgets.

psachin <iclcoolster@gmail.com> writes:

> Hi Alan,
>
> I'm not sure, but have you tried specifying the version,
>
> --with-x-toolkit=gtk4
>
> I hope that works.
>
>
> --
> Sachin
>
>
> On Sat, Aug 20, 2016 at 1:23 AM, Alan Schmitt <
> alan.schmitt@polytechnique.org> wrote:
>
>> Hello,
>>
>> I’m trying to compile emacs 25.1 with xwidgets on os x, and I’m facing
>> some issues. I’ve found out that I need the configure option
>> `--without-ns' for the option `--with-gtk-toolkit=gtk3' to stick, but I
>> cannot get my local installation of webkitgtk to be recognized: the
>> version provided by homebrew only seems to provide webkitgtk-4.0, which
>> is not accepted by emacs (that seems to require webkitgtk-3.0).
>>
>> Is it possible to compile emacs 25.1 with xwidgets support on os x?
>>
>> Thanks a lot for this great release,
>>
>> Alan Schmitt
>>
>> --
>> OpenPGP Key ID : 040D0A3B4ED2E5C7
>> Monthly Athmospheric CO₂, Mauna Loa Obs. 2015-07: 401.31, 2016-07: 404.39
>>
>
>
>
> -- 
> Sachin
> psachin.github.io



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: compilation of emacs 25.1 with xwidgets on os x
  2016-08-19 21:30 ` psachin
  2016-08-20  3:55   ` Alex Dunn
@ 2016-08-20 17:53   ` Alan Schmitt
  1 sibling, 0 replies; 10+ messages in thread
From: Alan Schmitt @ 2016-08-20 17:53 UTC (permalink / raw)
  To: psachin; +Cc: Emacs developers

[-- Attachment #1: Type: text/plain, Size: 746 bytes --]

On 2016-08-20 03:00, psachin <iclcoolster@gmail.com> writes:

> Hi Alan,
>
> I'm not sure, but have you tried specifying the version,
>
> --with-x-toolkit=gtk4
>
> I hope that works.

Thank you for the suggestion, but there is no gtk4 backend yet. If I
understand this blog post
https://blogs.igalia.com/carlosgc/2014/08/01/webkitgtk-2-5-1-good-bye-webkit1/
the pgk-config file to use is webkit2gtk-4.0 for versions after 2.5.1,
which is consistent with what I’m seeing (I have that pkg-config on my
system).

What version of webkitgtk is recommended to build emacs? I have 2.10.9
here.

Thanks,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Monthly Athmospheric CO₂, Mauna Loa Obs. 2015-07: 401.31, 2016-07: 404.39

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: compilation of emacs 25.1 with xwidgets on os x
  2016-08-20  3:55   ` Alex Dunn
@ 2016-08-20 17:54     ` Alan Schmitt
  2016-08-20 19:33       ` Alex Dunn
  0 siblings, 1 reply; 10+ messages in thread
From: Alan Schmitt @ 2016-08-20 17:54 UTC (permalink / raw)
  To: Alex Dunn; +Cc: psachin, Emacs developers

[-- Attachment #1: Type: text/plain, Size: 546 bytes --]

On 2016-08-19 20:55, Alex Dunn <dunn.alex@gmail.com> writes:

> There’s a separate issue with trying to get xwidgets on Emacs via
> Homebrew, which is that the build of GTK+3 supplied by Homebrew does not
> include the X11 backend, which is required by xwidgets.

Thanks for the information. As soon as I get over the webkitgtk hurdle,
I’ll look at a patch to include that option in the gtk+3 brew package.

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Monthly Athmospheric CO₂, Mauna Loa Obs. 2015-07: 401.31, 2016-07: 404.39

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: compilation of emacs 25.1 with xwidgets on os x
  2016-08-20 17:54     ` Alan Schmitt
@ 2016-08-20 19:33       ` Alex Dunn
  2016-08-21  8:38         ` Alan Schmitt
  0 siblings, 1 reply; 10+ messages in thread
From: Alex Dunn @ 2016-08-20 19:33 UTC (permalink / raw)
  To: Alan Schmitt; +Cc: psachin, Emacs developers

X11 was deliberately removed from the whole GTK dependency tree, so unfortunately such a patch won't be accepted (the rationale is the poor user experience that X11 provides on macOS). 

> On Aug 20, 2016, at 10:54, Alan Schmitt <alan.schmitt@polytechnique.org> wrote:
> 
> On 2016-08-19 20:55, Alex Dunn <dunn.alex@gmail.com> writes:
> 
>> There’s a separate issue with trying to get xwidgets on Emacs via
>> Homebrew, which is that the build of GTK+3 supplied by Homebrew does not
>> include the X11 backend, which is required by xwidgets.
> 
> Thanks for the information. As soon as I get over the webkitgtk hurdle,
> I’ll look at a patch to include that option in the gtk+3 brew package.
> 
> Alan
> 
> -- 
> OpenPGP Key ID : 040D0A3B4ED2E5C7
> Monthly Athmospheric CO₂, Mauna Loa Obs. 2015-07: 401.31, 2016-07: 404.39



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: compilation of emacs 25.1 with xwidgets on os x
  2016-08-20 19:33       ` Alex Dunn
@ 2016-08-21  8:38         ` Alan Schmitt
  2016-08-21 13:57           ` Alex Dunn
  0 siblings, 1 reply; 10+ messages in thread
From: Alan Schmitt @ 2016-08-21  8:38 UTC (permalink / raw)
  To: Alex Dunn; +Cc: psachin, Emacs developers

[-- Attachment #1: Type: text/plain, Size: 460 bytes --]

On 2016-08-20 12:33, Alex Dunn <dunn.alex@gmail.com> writes:

> X11 was deliberately removed from the whole GTK dependency tree, so
> unfortunately such a patch won't be accepted (the rationale is the poor user
> experience that X11 provides on macOS).

Ouch. What is the recommended way to get xwidgets to work on os x then?

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Monthly Athmospheric CO₂, Mauna Loa Obs. 2015-07: 401.31, 2016-07: 404.39

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: compilation of emacs 25.1 with xwidgets on os x
  2016-08-21  8:38         ` Alan Schmitt
@ 2016-08-21 13:57           ` Alex Dunn
  2016-08-22  6:22             ` Alan Schmitt
  0 siblings, 1 reply; 10+ messages in thread
From: Alex Dunn @ 2016-08-21 13:57 UTC (permalink / raw)
  To: Alan Schmitt; +Cc: psachin, Emacs developers

GTK+3 will just have to be installed manually, outside of Homebrew, right?

> On Aug 21, 2016, at 01:38, Alan Schmitt <alan.schmitt@polytechnique.org> wrote:
> 
> On 2016-08-20 12:33, Alex Dunn <dunn.alex@gmail.com> writes:
> 
>> X11 was deliberately removed from the whole GTK dependency tree, so
>> unfortunately such a patch won't be accepted (the rationale is the poor user
>> experience that X11 provides on macOS).
> 
> Ouch. What is the recommended way to get xwidgets to work on os x then?
> 
> Alan
> 
> -- 
> OpenPGP Key ID : 040D0A3B4ED2E5C7
> Monthly Athmospheric CO₂, Mauna Loa Obs. 2015-07: 401.31, 2016-07: 404.39



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: compilation of emacs 25.1 with xwidgets on os x
  2016-08-21 13:57           ` Alex Dunn
@ 2016-08-22  6:22             ` Alan Schmitt
  2016-08-22 15:47               ` Alex Dunn
  0 siblings, 1 reply; 10+ messages in thread
From: Alan Schmitt @ 2016-08-22  6:22 UTC (permalink / raw)
  To: Alex Dunn; +Cc: psachin, Emacs developers

[-- Attachment #1: Type: text/plain, Size: 394 bytes --]

On 2016-08-21 06:57, Alex Dunn <dunn.alex@gmail.com> writes:

> GTK+3 will just have to be installed manually, outside of Homebrew, right?

I guess it’s the only way. Thank you for the suggestion, I’ll give it a
try once I have figured the webkitgtk issue.

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Monthly Athmospheric CO₂, Mauna Loa Obs. 2015-07: 401.31, 2016-07: 404.39

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: compilation of emacs 25.1 with xwidgets on os x
  2016-08-22  6:22             ` Alan Schmitt
@ 2016-08-22 15:47               ` Alex Dunn
  0 siblings, 0 replies; 10+ messages in thread
From: Alex Dunn @ 2016-08-22 15:47 UTC (permalink / raw)
  To: Alan Schmitt; +Cc: psachin, Emacs developers

[-- Attachment #1: Type: text/plain, Size: 725 bytes --]

Or depending on how familiar you are with Homebrew you could create your
own formula and host it in a "tap":
https://github.com/Homebrew/brew/blob/master/share/doc/homebrew/How-to-Create-and-Maintain-a-Tap.md

On Sun, Aug 21, 2016 at 11:22 PM, Alan Schmitt <
alan.schmitt@polytechnique.org> wrote:

> On 2016-08-21 06:57, Alex Dunn <dunn.alex@gmail.com> writes:
>
> > GTK+3 will just have to be installed manually, outside of Homebrew,
> right?
>
> I guess it’s the only way. Thank you for the suggestion, I’ll give it a
> try once I have figured the webkitgtk issue.
>
> Alan
>
> --
> OpenPGP Key ID : 040D0A3B4ED2E5C7
> Monthly Athmospheric CO₂, Mauna Loa Obs. 2015-07: 401.31, 2016-07: 404.39
>

[-- Attachment #2: Type: text/html, Size: 1289 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-08-22 15:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-19 19:53 compilation of emacs 25.1 with xwidgets on os x Alan Schmitt
2016-08-19 21:30 ` psachin
2016-08-20  3:55   ` Alex Dunn
2016-08-20 17:54     ` Alan Schmitt
2016-08-20 19:33       ` Alex Dunn
2016-08-21  8:38         ` Alan Schmitt
2016-08-21 13:57           ` Alex Dunn
2016-08-22  6:22             ` Alan Schmitt
2016-08-22 15:47               ` Alex Dunn
2016-08-20 17:53   ` Alan Schmitt

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