From: Ricardo Wurmus <rekado@elephly.net>
To: guix-devel <guix-devel@gnu.org>
Subject: [PATCH] wxwidgets: Enable webview via webkit.
Date: Mon, 28 Mar 2016 13:21:37 +0200 [thread overview]
Message-ID: <87y492j1a6.fsf@elephly.net> (raw)
[-- Attachment #1: 0001-gnu-wxwidgets-Enable-webview-support.patch --]
[-- Type: text/x-patch, Size: 1996 bytes --]
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)
("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"))
--
2.7.3
next reply other threads:[~2016-03-28 11:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-28 11:21 Ricardo Wurmus [this message]
2016-03-31 9:15 ` [PATCH] wxwidgets: Enable webview via webkit Efraim Flashner
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y492j1a6.fsf@elephly.net \
--to=rekado@elephly.net \
--cc=guix-devel@gnu.org \
/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/guix.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).