all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#30362] [PATCH] gnu: Don't export GnuCash's webkitgtk-gtk2.
@ 2018-02-05 22:44 Leo Famulari
  2018-02-06  7:51 ` Danny Milosavljevic
  2018-06-09  5:18 ` Chris Marusich
  0 siblings, 2 replies; 5+ messages in thread
From: Leo Famulari @ 2018-02-05 22:44 UTC (permalink / raw)
  To: 30362

* gnu/packages/webkit.scm (webkitgtk-2.4): Remove variable.
(webkitgtk/gtk+-2): Move the package to ...
* gnu/packages/gnucash.scm: ... here, and make it private.
---
 gnu/packages/gnucash.scm | 40 ++++++++++++++++++++++++++++++++++++++++
 gnu/packages/webkit.scm  | 47 -----------------------------------------------
 2 files changed, 40 insertions(+), 47 deletions(-)

diff --git a/gnu/packages/gnucash.scm b/gnu/packages/gnucash.scm
index 25200e3f9..ee97790e4 100644
--- a/gnu/packages/gnucash.scm
+++ b/gnu/packages/gnucash.scm
@@ -28,8 +28,10 @@
   #:use-module (guix build-system glib-or-gtk)
   #:use-module (gnu packages)
   #:use-module (gnu packages autotools)
+  #:use-module (gnu packages base)
   #:use-module (gnu packages docbook)
   #:use-module (gnu packages documentation)
+  #:use-module (gnu packages flex)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages glib)
@@ -244,3 +246,41 @@ OFX DirectConnect, YellowNet, GeldKarte, and DTAUS discs are currently
 supported.  AqBanking is used by GnuCash, KMyMoney, and QBankManager.")
     ;; AqBanking is licensed under the GPLv2 or GPLv3
     (license (list license:gpl2 license:gpl3))))
+
+;; Latest release of the stable 2.4 series, with WebKit1 support. Also the last
+;; GTK+2 port. This package is unmaintained upstream and not safe to use with
+;; untrusted input. However, it is still required by GnuCash.
+;; TODO Remove this package once GnuCash has been updated.
+(define webkitgtk/gtk+-2
+  (package (inherit webkitgtk)
+    (name "webkitgtk-gtk2")
+    (version "2.4.11")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://www.webkitgtk.org/releases/"
+                                  "webkitgtk-" version ".tar.xz"))
+              (sha256
+               (base32
+                "1xsvnvyvlywwyf6m9ainpsg87jkxjmd37q6zgz9cxb7v3c2ym2jq"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f ; no tests
+       ;; FIXME: Disabling parallel building is a quick hack to avoid the
+       ;; failure described in
+       ;; https://lists.gnu.org/archive/html/guix-devel/2016-01/msg00837.html
+       ;; A more structural fix is needed.
+       #:parallel-build? #f
+       #:configure-flags
+       '("--enable-webkit2=no"
+         "--with-gtk=2.0")
+       #:phases (modify-phases %standard-phases
+                  (add-after
+                   'unpack 'set-gcc
+                   (lambda _ (setenv "CC" "gcc") #t)))))
+    (native-inputs
+     `(("flex" ,flex)
+       ("which" ,which)
+       ,@(package-native-inputs webkitgtk)))
+    (propagated-inputs
+     `(("gtk+-2" ,gtk+-2)
+       ("libsoup" ,libsoup)))))
diff --git a/gnu/packages/webkit.scm b/gnu/packages/webkit.scm
index 340221640..c08ba9176 100644
--- a/gnu/packages/webkit.scm
+++ b/gnu/packages/webkit.scm
@@ -142,50 +142,3 @@ HTML/CSS applications to full-fledged web browsers.")
                    license:lgpl2.1+
                    license:bsd-2
                    license:bsd-3))))
-
-;; Latest release of the stable 2.4 series, with WebKit1 support.
-(define-public webkitgtk-2.4
-  (package (inherit webkitgtk)
-    (name "webkitgtk")
-    (version "2.4.11")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "http://www.webkitgtk.org/releases/"
-                                  name "-" version ".tar.xz"))
-              (sha256
-               (base32
-                "1xsvnvyvlywwyf6m9ainpsg87jkxjmd37q6zgz9cxb7v3c2ym2jq"))))
-    (build-system gnu-build-system)
-    (arguments
-     '(#:tests? #f ; no tests
-       ;; FIXME: Disabling parallel building is a quick hack to avoid the
-       ;; failure described in
-       ;; https://lists.gnu.org/archive/html/guix-devel/2016-01/msg00837.html
-       ;; A more structural fix is needed.
-       #:parallel-build? #f
-       #:phases (modify-phases %standard-phases
-                  (add-after
-                   'unpack 'set-gcc
-                   (lambda _ (setenv "CC" "gcc") #t)))))
-    (native-inputs
-     `(("flex" ,flex)
-       ("which" ,which)
-       ,@(package-native-inputs webkitgtk)))))
-
-;; Last GTK+2 port, required by GnuCash.
-(define-public webkitgtk/gtk+-2
-  (package (inherit webkitgtk-2.4)
-    (name "webkitgtk-gtk2")
-    (arguments
-     `(;; FIXME: Disabling parallel building is a quick hack to avoid the
-       ;; failure described in
-       ;; https://lists.gnu.org/archive/html/guix-devel/2016-01/msg00837.html
-       ;; A more structural fix is needed.
-       #:parallel-build? #f
-       #:configure-flags
-       '("--enable-webkit2=no"
-         "--with-gtk=2.0")
-       ,@(package-arguments webkitgtk-2.4)))
-    (propagated-inputs
-     `(("gtk+-2" ,gtk+-2)
-       ("libsoup" ,libsoup)))))
-- 
2.16.1

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

* [bug#30362] [PATCH] gnu: Don't export GnuCash's webkitgtk-gtk2.
  2018-02-05 22:44 [bug#30362] [PATCH] gnu: Don't export GnuCash's webkitgtk-gtk2 Leo Famulari
@ 2018-02-06  7:51 ` Danny Milosavljevic
  2018-04-23 12:59   ` Ludovic Courtès
  2018-06-09  5:18 ` Chris Marusich
  1 sibling, 1 reply; 5+ messages in thread
From: Danny Milosavljevic @ 2018-02-06  7:51 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 30362

LGTM!

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

* [bug#30362] [PATCH] gnu: Don't export GnuCash's webkitgtk-gtk2.
  2018-02-06  7:51 ` Danny Milosavljevic
@ 2018-04-23 12:59   ` Ludovic Courtès
  0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2018-04-23 12:59 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 30362

Danny Milosavljevic <dannym@scratchpost.org> skribis:

> LGTM!

Same here!  :-)

Ludo'.

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

* [bug#30362] [PATCH] gnu: Don't export GnuCash's webkitgtk-gtk2.
  2018-02-05 22:44 [bug#30362] [PATCH] gnu: Don't export GnuCash's webkitgtk-gtk2 Leo Famulari
  2018-02-06  7:51 ` Danny Milosavljevic
@ 2018-06-09  5:18 ` Chris Marusich
  2018-06-10  5:04   ` bug#30362: " 宋文武
  1 sibling, 1 reply; 5+ messages in thread
From: Chris Marusich @ 2018-06-09  5:18 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 30362

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

Hi Leo,

Is this patch still relevant, now that webkitgtk@2.4 has been removed,
and we upgraded to GnuCash 3.0 on core-updates?

-- 
Chris

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

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

* bug#30362: [PATCH] gnu: Don't export GnuCash's webkitgtk-gtk2.
  2018-06-09  5:18 ` Chris Marusich
@ 2018-06-10  5:04   ` 宋文武
  0 siblings, 0 replies; 5+ messages in thread
From: 宋文武 @ 2018-06-10  5:04 UTC (permalink / raw)
  To: Chris Marusich; +Cc: 30362-done

Chris Marusich <cmmarusich@gmail.com> writes:

> Hi Leo,
>
> Is this patch still relevant, now that webkitgtk@2.4 has been removed,
> and we upgraded to GnuCash 3.0 on core-updates?

Yeah, we don’t need it, GnuCash 3.0 is on ‘master’ now, closing :-)

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

end of thread, other threads:[~2018-06-10  5:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-05 22:44 [bug#30362] [PATCH] gnu: Don't export GnuCash's webkitgtk-gtk2 Leo Famulari
2018-02-06  7:51 ` Danny Milosavljevic
2018-04-23 12:59   ` Ludovic Courtès
2018-06-09  5:18 ` Chris Marusich
2018-06-10  5:04   ` bug#30362: " 宋文武

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.