all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH] wxwidgets: Enable webview via webkit.
Date: Thu, 31 Mar 2016 12:15:12 +0300	[thread overview]
Message-ID: <20160331121512.4928690d@debian-netbook> (raw)
In-Reply-To: <87y492j1a6.fsf@elephly.net>

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

On Mon, 28 Mar 2016 13:21:37 +0200
Ricardo Wurmus <rekado@elephly.net> wrote:

> From ceec9310992cf37c9a423a072db90f7a48120df0 Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <rekado@elephly.net>
> Date: Mon, 28 Mar 2016 13:19:18 +0200
> Subject: [PATCH] gnu: wxwidgets: Enable webview support.
> 
> * gnu/packages/wxwidgets.scm (wxwidgets)[inputs]: Add webkitgtk-2.4.
> [arguments]: Add configure flags to enable webview via the webkitgtk
> backend.
> ---
>  gnu/packages/wxwidgets.scm | 10 ++++++++--
>  1 file changed, 8 insertions(+), 2 deletions(-)
> 
> diff --git a/gnu/packages/wxwidgets.scm b/gnu/packages/wxwidgets.scm
> index b49fb2f..2c4a26a 100644
> --- a/gnu/packages/wxwidgets.scm
> +++ b/gnu/packages/wxwidgets.scm
> @@ -1,5 +1,6 @@
>  ;;; GNU Guix --- Functional package management for GNU
>  ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
> +;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -31,6 +32,7 @@
>    #:use-module (gnu packages image)
>    #:use-module (gnu packages pkg-config)
>    #:use-module (gnu packages sdl)
> +  #:use-module (gnu packages webkit)
>    #:use-module (gnu packages xorg))
>  
>  (define-public wxwidgets
> @@ -45,7 +47,6 @@
>         (sha256
>          (base32 "0paq27brw4lv8kspxh9iklpa415mxi8zc117vbbbhfjgapf7js1l"))))
>      (build-system glib-or-gtk-build-system)
> -    ;; TODO: add WebKit
>      (inputs
>       `(("glu" ,glu)
>         ;; XXX gstreamer-0.10 builds fail
> @@ -56,12 +57,17 @@
>         ("libsm" ,libsm)
>         ("libtiff" ,libtiff)
>         ("mesa" ,mesa)
> +       ("webkitgtk" ,webkitgtk-2.4)

I assume you checked if it'd work with the more recent webkitgtk

>         ("sdl" ,sdl)))
>      (native-inputs
>       `(("pkg-config" ,pkg-config)))
>      (arguments
>       '(#:configure-flags
> -       '("--with-regex=sys" "--with-libmspack" "--with-sdl")
> +       '("--with-regex=sys" "--with-libmspack"
> +         "--with-sdl"
> +         "--enable-webview"
> +         "--enable-webkit"
> +         "--enable-webviewwebkit")
>         #:make-flags
>         (list (string-append "LDFLAGS=-Wl,-rpath="
>                              (assoc-ref %outputs "out") "/lib"))

Looks good. How much does it change the size of wxwidgets?

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2016-03-31  9:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-28 11:21 [PATCH] wxwidgets: Enable webview via webkit Ricardo Wurmus
2016-03-31  9:15 ` Efraim Flashner [this message]
2016-03-31  9:29   ` Ricardo Wurmus
2016-03-31 18:20     ` Efraim Flashner
2016-03-31 21:20       ` Ludovic Courtès
2016-04-03 16:54         ` Efraim Flashner
2016-04-04  8:02           ` Andy Wingo
2016-04-26 20:07             ` Ricardo Wurmus

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=20160331121512.4928690d@debian-netbook \
    --to=efraim@flashner.co.il \
    --cc=guix-devel@gnu.org \
    --cc=rekado@elephly.net \
    /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/guix.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.