unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] wxwidgets: Enable webview via webkit.
@ 2016-03-28 11:21 Ricardo Wurmus
  2016-03-31  9:15 ` Efraim Flashner
  0 siblings, 1 reply; 8+ messages in thread
From: Ricardo Wurmus @ 2016-03-28 11:21 UTC (permalink / raw)
  To: guix-devel

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

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

end of thread, other threads:[~2016-04-26 20:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-28 11:21 [PATCH] wxwidgets: Enable webview via webkit Ricardo Wurmus
2016-03-31  9:15 ` 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

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