unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / Atom feed
* [bug#48028] [PATCH wip-gnome 0/8]: Misc.
@ 2021-04-26  8:09 Raghav Gururajan via Guix-patches via
  2021-04-26  8:11 ` [bug#48028] [PATCH wip-gnome 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Raghav Gururajan via Guix-patches via
                   ` (5 more replies)
  0 siblings, 6 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26  8:09 UTC (permalink / raw)
  To: 48028
  Cc: 宋文武, Sou Bunnbu, Léo Le Bouter, Leo Prikler


[-- Attachment #1.1: Type: text/plain, Size: 2 bytes --]



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

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

* [bug#48028] [PATCH wip-gnome 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3.
  2021-04-26  8:09 [bug#48028] [PATCH wip-gnome 0/8]: Misc Raghav Gururajan via Guix-patches via
@ 2021-04-26  8:11 ` Raghav Gururajan via Guix-patches via
  2021-04-26  8:11   ` [bug#48028] [PATCH wip-gnome 2/8] gnu: gtkmm: Change build-system Raghav Gururajan via Guix-patches via
                     ` (7 more replies)
  2021-04-26  9:08 ` [bug#48028] [PATCH wip-gnome v2 01/10] " Raghav Gururajan via Guix-patches via
                   ` (4 subsequent siblings)
  5 siblings, 8 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26  8:11 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

Remove inheritance to prevent rebuilds of packages like inkscape
and gtk+, whenever changes are made gtkmm@3.

* gnu/packages/gtk.scm (gtkmm-2)[build-system,outputs,arguments,
native-inputs,synopsis,description,home-page,license]: New fields.
---
 gnu/packages/gtk.scm | 48 ++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 46 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 04a0db1161..81ac4a7197 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1660,7 +1660,6 @@ tutorial.")
 
 (define-public gtkmm-2
   (package
-    (inherit gtkmm)
     (name "gtkmm")
     (version "2.24.5")
     (source
@@ -1672,12 +1671,57 @@ tutorial.")
                        name "-" version ".tar.xz"))
        (sha256
         (base32 "0wkbzvsx4kgw16f6xjdc1dz7f77ldngdila4yi5lw2zrgcxsb006"))))
+    (build-system glib-or-gtk-build-system)
+    (outputs '("out" "doc"))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'pre-check
+           (lambda _
+             ;; Tests require a running X server.
+             (system "Xvfb :1 +extension GLX &")
+             (setenv "DISPLAY" ":1")
+             ;; For missing '/etc/machine-id'.
+             (setenv "DBUS_FATAL_WARNINGS" "0")
+             #t))
+         (add-after 'install 'move-doc
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (doc (assoc-ref outputs "doc")))
+               (mkdir-p (string-append doc "/share"))
+               (rename-file
+                (string-append out "/share/doc")
+                (string-append doc "/share/doc"))
+               #t))))))
+    (native-inputs
+     `(("dot" ,graphviz)
+       ("doxygen" ,doxygen)
+       ("m4" ,m4)
+       ("mm-common" ,mm-common)
+       ("perl" ,perl)
+       ("pkg-config" ,pkg-config)
+       ("xsltproc" ,libxslt)
+       ("xorg-server" ,xorg-server-for-tests)))
     (propagated-inputs
      `(("atkmm" ,atkmm-2.28)
        ("cairomm" ,cairomm-1.13)
        ("glibmm" ,glibmm-2.64)
        ("gtk+" ,gtk+-2)
-       ("pangomm" ,pangomm-2.42)))))
+       ("pangomm" ,pangomm-2.42)))
+    (synopsis "C++ Interfaces for GTK+ and GNOME")
+    (description "GTKmm is the official C++ interface for the popular GUI
+library GTK+.  Highlights include typesafe callbacks, and a comprehensive set of
+widgets that are easily extensible via inheritance.  You can create user
+interfaces either in code or with the Glade User Interface designer, using
+libglademm.  There's extensive documentation, including API reference and a
+tutorial.")
+    (home-page "https://gtkmm.org/")
+    (license
+     (list
+      ;; Library
+      license:lgpl2.1+
+      ;; Tools
+      license:gpl2+))))
 
 (define-public gtksourceviewmm
   (package
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome 2/8] gnu: gtkmm: Change build-system.
  2021-04-26  8:11 ` [bug#48028] [PATCH wip-gnome 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Raghav Gururajan via Guix-patches via
@ 2021-04-26  8:11   ` Raghav Gururajan via Guix-patches via
  2021-04-26  8:11   ` [bug#48028] [PATCH wip-gnome 3/8] gnu: gtkmm: Add missing native-input and correct propagated-inputs Raghav Gururajan via Guix-patches via
                     ` (6 subsequent siblings)
  7 siblings, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26  8:11 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

Switch to meson-build-system, as its preferred by the project.
Preserve building of documentation.

* gnu/packages/gtk.scm (gtkmm)[build-system]: Change from glib-or-gtk
to meson.
[configure-flags](build-documentation): New flag.
---
 gnu/packages/gtk.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 81ac4a7197..a7e387a47d 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1606,10 +1606,12 @@ library.")
                        name "-" version ".tar.xz"))
        (sha256
         (base32 "0hv7pviln4cpjvpz7m7ga5krcsbibqzixdcn0dwzpz0cx71p3swv"))))
-    (build-system glib-or-gtk-build-system)
+    (build-system meson-build-system)
     (outputs '("out" "doc"))
     (arguments
-     `(#:phases
+     `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
+       #:configure-flags '("-Dbuild-documentation=true")
+       #:phases
        (modify-phases %standard-phases
          (add-before 'check 'pre-check
            (lambda _
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome 3/8] gnu: gtkmm: Add missing native-input and correct propagated-inputs.
  2021-04-26  8:11 ` [bug#48028] [PATCH wip-gnome 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Raghav Gururajan via Guix-patches via
  2021-04-26  8:11   ` [bug#48028] [PATCH wip-gnome 2/8] gnu: gtkmm: Change build-system Raghav Gururajan via Guix-patches via
@ 2021-04-26  8:11   ` Raghav Gururajan via Guix-patches via
  2021-04-26 20:52     ` Maxime Devos
  2021-04-26  8:11   ` [bug#48028] [PATCH wip-gnome 4/8] gnu: libsoup: Simplify adjustment of tests and disable ssl-test Raghav Gururajan via Guix-patches via
                     ` (5 subsequent siblings)
  7 siblings, 1 reply; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26  8:11 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

* gnu/packages/gtk.scm (gtkmm)[native-inputs]: Add glib:bin.
[propagated-inputs]: Change; atkmm to atkmm-2.28, pangomm to pangomm-2.42,
and cairomm to cairomm-1.13.
---
 gnu/packages/gtk.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index a7e387a47d..86490115d6 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1633,6 +1633,7 @@ library.")
     (native-inputs
      `(("dot" ,graphviz)
        ("doxygen" ,doxygen)
+       ("glib:bin" ,glib "bin") ; For glib-compile-resources
        ("m4" ,m4)
        ("mm-common" ,mm-common)
        ("perl" ,perl)
@@ -1640,11 +1641,11 @@ library.")
        ("xsltproc" ,libxslt)
        ("xorg-server" ,xorg-server-for-tests)))
     (propagated-inputs
-     `(("atkmm" ,atkmm)
-       ("cairomm" ,cairomm)
+     `(("atkmm" ,atkmm-2.28)
+       ("cairomm" ,cairomm-1.13)
        ("glibmm" ,glibmm)
        ("gtk+" ,gtk+)
-       ("pangomm" ,pangomm)))
+       ("pangomm" ,pangomm-2.42)))
     (synopsis "C++ Interfaces for GTK+ and GNOME")
     (description "GTKmm is the official C++ interface for the popular GUI
 library GTK+.  Highlights include typesafe callbacks, and a comprehensive set of
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome 4/8] gnu: libsoup: Simplify adjustment of tests and disable ssl-test.
  2021-04-26  8:11 ` [bug#48028] [PATCH wip-gnome 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Raghav Gururajan via Guix-patches via
  2021-04-26  8:11   ` [bug#48028] [PATCH wip-gnome 2/8] gnu: gtkmm: Change build-system Raghav Gururajan via Guix-patches via
  2021-04-26  8:11   ` [bug#48028] [PATCH wip-gnome 3/8] gnu: gtkmm: Add missing native-input and correct propagated-inputs Raghav Gururajan via Guix-patches via
@ 2021-04-26  8:11   ` Raghav Gururajan via Guix-patches via
  2021-04-26  8:34     ` Leo Prikler
  2021-04-26  8:11   ` [bug#48028] [PATCH wip-gnome 5/8] gnu: libsoup: Add missing argument and input Raghav Gururajan via Guix-patches via
                     ` (4 subsequent siblings)
  7 siblings, 1 reply; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26  8:11 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

* gnu/packages/gnome.scm (libsoup)[phases](adjust-tests): Modify.
[native-inputs]: Remove gnutls.
---
 gnu/packages/gnome.scm | 70 +++++++-----------------------------------
 1 file changed, 11 insertions(+), 59 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 97cf80c586..29779c39af 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4927,64 +4927,17 @@ libxml to ease remote use of the RESTful API.")
                #t)))
          (add-after 'unpack 'adjust-tests
            (lambda _
-             ;; This test fails due to missing /etc/nsswitch.conf
-             ;; in the build environment.
-             (substitute* "tests/socket-test.c"
-               ((".*/sockets/unconnected.*") ""))
-
-             ;; These fail because "subdomain.localhost" does not resolve in
-             ;; the build environment.
-             (substitute* "tests/hsts-test.c"
-               ((".*/hsts/basic.*") "")
-               ((".*/hsts/subdomains.*") "")
-               ((".*/hsts/superdomain.*") "")
-               ((".*/hsts/utf8-address.*") ""))
-             (substitute* "tests/hsts-db-test.c"
-               ((".*/hsts-db/subdomains.*") ""))
-
-             ;; Generate a self-signed certificate that has "localhost" as its
-             ;; 'dnsName'.  Failing to do that, and starting with GnuTLS
-             ;; 3.5.12, tests such as "ssl-tests" fail:
-             ;;
-             ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
-             ;;
-             ;; 'certtool' is interactive so we have to pipe it the answers.
-             ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
-             (let ((pipe (open-output-pipe "certtool --generate-self-signed \
- --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
-               (for-each (lambda (line)
-                           (display line pipe)
-                           (newline pipe))
-                         '(""               ;Common name
-                           ""               ;UID
-                           "Guix"           ;Organizational unit name
-                           "GNU"            ;Organization name
-                           ""               ;Locality name
-                           ""               ;State or province
-                           ""               ;Country
-                           ""               ;subject's domain component (DC)
-                           ""               ;E-mail
-                           ""               ;serial number
-                           "-1"             ;expiration time
-                           "N"              ;belong to authority?
-                           "N"              ;web client certificate?
-                           "N"              ;IPsec IKE?
-                           "Y"              ;web server certificate?
-                           "localhost"      ;dnsName of subject
-                           ""               ;dnsName of subject (end)
-                           ""               ;URI of subject
-                           "127.0.0.1"      ;IP address of subject
-                           ""               ;signing?
-                           ""               ;encryption (RSA)?
-                           ""               ;data encryption?
-                           ""               ;sign OCSP requests?
-                           ""               ;sign code?
-                           ""               ;time stamping?
-                           ""               ;email protection?
-                           ""               ;URI of the CRL distribution point
-                           "y"              ;above info OK?
-                           ))
-               (close-pipe pipe))
+             (substitute* "tests/meson.build"
+               ;; These fail because "subdomain.localhost" does not resolve in
+               ;; the build environment.
+               (("[ \t]*\\['hsts', true, \\[\\]\\],") "")
+               (("[ \t]*\\['hsts-db', true, \\[\\]\\],") "")
+               ;; This test fails due to missing /etc/nsswitch.conf
+               ;; in the build environment.
+               (("[ \t]*\\['socket', true, \\[\\]\\],") "")
+               ;; FIX-ME: ssl-test fails, starting with
+               ;; glib-networking 2.68.x.
+               (("[ \t]*\\['ssl', true, \\[\\]\\],") ""))
              #t))
          (add-after 'install 'move-doc
            (lambda* (#:key outputs #:allow-other-keys)
@@ -5006,7 +4959,6 @@ libxml to ease remote use of the RESTful API.")
        ("vala" ,vala)
        ("php" ,php)
        ("curl" ,curl)
-       ("gnutls" ,gnutls)                         ;for 'certtool'
        ("httpd" ,httpd)))
     (propagated-inputs
      ;; libsoup-2.4.pc refers to all these.
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome 5/8] gnu: libsoup: Add missing argument and input.
  2021-04-26  8:11 ` [bug#48028] [PATCH wip-gnome 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Raghav Gururajan via Guix-patches via
                     ` (2 preceding siblings ...)
  2021-04-26  8:11   ` [bug#48028] [PATCH wip-gnome 4/8] gnu: libsoup: Simplify adjustment of tests and disable ssl-test Raghav Gururajan via Guix-patches via
@ 2021-04-26  8:11   ` Raghav Gururajan via Guix-patches via
  2021-04-26  8:40     ` Leo Prikler
  2021-04-26  8:11   ` [bug#48028] [PATCH wip-gnome 6/8] gnu: libsoup: Update home-page Raghav Gururajan via Guix-patches via
                     ` (3 subsequent siblings)
  7 siblings, 1 reply; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26  8:11 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

Propagate glib-networking as per .pc file.

* gnu/packages/gnome.scm (libsoup)[arguments](glib-or-gtk): New argument.
[inputs]: Add samba. Move glib-networking to ...
[propagated-inputs]: ... here.
---
 gnu/packages/gnome.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 29779c39af..b69980091b 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4913,7 +4913,7 @@ libxml to ease remote use of the RESTful API.")
      `(#:modules ((guix build utils)
                   (guix build meson-build-system)
                   (ice-9 popen))
-
+       #:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
        #:configure-flags '("-Dgtk_doc=true")
        #:phases
        (modify-phases %standard-phases
@@ -4964,13 +4964,14 @@ libxml to ease remote use of the RESTful API.")
      ;; libsoup-2.4.pc refers to all these.
      `(("brotli" ,google-brotli)
        ("glib" ,glib)
+       ("glib-networking" ,glib-networking)
        ("libpsl" ,libpsl)
        ("libxml2" ,libxml2)
        ("sqlite" ,sqlite)
        ("zlib" ,zlib)))
     (inputs
-     `(("glib-networking" ,glib-networking)
-       ("mit-krb5" ,mit-krb5)))
+     `(("mit-krb5" ,mit-krb5)
+        ("ntlm_auth" ,samba)))
     (home-page "https://live.gnome.org/LibSoup/")
     (synopsis "GLib-based HTTP Library")
     (description
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome 6/8] gnu: libsoup: Update home-page.
  2021-04-26  8:11 ` [bug#48028] [PATCH wip-gnome 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Raghav Gururajan via Guix-patches via
                     ` (3 preceding siblings ...)
  2021-04-26  8:11   ` [bug#48028] [PATCH wip-gnome 5/8] gnu: libsoup: Add missing argument and input Raghav Gururajan via Guix-patches via
@ 2021-04-26  8:11   ` Raghav Gururajan via Guix-patches via
  2021-04-26  8:46     ` Leo Prikler
  2021-04-26  8:11   ` [bug#48028] [PATCH wip-gnome 7/8] gnu: python-pycairo: Update to 1.20.0 Raghav Gururajan via Guix-patches via
                     ` (2 subsequent siblings)
  7 siblings, 1 reply; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26  8:11 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

* gnu/packages/gnome.scm (libsoup)[home-page]: Modify.
---
 gnu/packages/gnome.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index b69980091b..db811573c4 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4972,7 +4972,7 @@ libxml to ease remote use of the RESTful API.")
     (inputs
      `(("mit-krb5" ,mit-krb5)
         ("ntlm_auth" ,samba)))
-    (home-page "https://live.gnome.org/LibSoup/")
+    (home-page "https://wiki.gnome.org/Projects/libsoup")
     (synopsis "GLib-based HTTP Library")
     (description
      "LibSoup is an HTTP client/server library for GNOME.  It uses GObjects
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome 7/8] gnu: python-pycairo: Update to 1.20.0.
  2021-04-26  8:11 ` [bug#48028] [PATCH wip-gnome 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Raghav Gururajan via Guix-patches via
                     ` (4 preceding siblings ...)
  2021-04-26  8:11   ` [bug#48028] [PATCH wip-gnome 6/8] gnu: libsoup: Update home-page Raghav Gururajan via Guix-patches via
@ 2021-04-26  8:11   ` Raghav Gururajan via Guix-patches via
  2021-04-26  8:11   ` [bug#48028] [PATCH wip-gnome 8/8] gnu: python-pygobject: Update to 3.40.1 Raghav Gururajan via Guix-patches via
  2021-04-26 20:47   ` [bug#48028] [PATCH wip-gnome 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Maxime Devos
  7 siblings, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26  8:11 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

* gnu/packages/gtk.scm (python-pycairo)[version]: Update to 1.20.0.
---
 gnu/packages/gtk.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 86490115d6..e7f71fa739 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1761,7 +1761,7 @@ printing and other features typical of a source code editor.")
 (define-public python-pycairo
   (package
     (name "python-pycairo")
-    (version "1.19.1")
+    (version "1.20.0")
     (source
      (origin
       (method url-fetch)
@@ -1769,7 +1769,7 @@ printing and other features typical of a source code editor.")
                           version "/pycairo-" version ".tar.gz"))
       (sha256
        (base32
-        "111fav9m1iagw3nh2ws2vzkjh34r97yl7rdlpvsngsqg521k251c"))))
+        "1326aa2ybhhhrvz3n4p22z5sic25m016ddb5yq0hvbprnw6a35an"))))
     (build-system python-build-system)
     (native-inputs
      `(("pkg-config" ,pkg-config)
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome 8/8] gnu: python-pygobject: Update to 3.40.1.
  2021-04-26  8:11 ` [bug#48028] [PATCH wip-gnome 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Raghav Gururajan via Guix-patches via
                     ` (5 preceding siblings ...)
  2021-04-26  8:11   ` [bug#48028] [PATCH wip-gnome 7/8] gnu: python-pycairo: Update to 1.20.0 Raghav Gururajan via Guix-patches via
@ 2021-04-26  8:11   ` Raghav Gururajan via Guix-patches via
  2021-04-26 20:47   ` [bug#48028] [PATCH wip-gnome 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Maxime Devos
  7 siblings, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26  8:11 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

* gnu/packages/glib.scm (python-pygobject)[version]: Update to 3.40.1.
[native-inputs]: Add python-wrapper.
---
 gnu/packages/glib.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index fd88d7329f..31cd13e9c7 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -776,7 +776,7 @@ useful for C++.")
 (define-public python-pygobject
   (package
     (name "python-pygobject")
-    (version "3.34.0")
+    (version "3.40.1")
     (source
      (origin
        (method url-fetch)
@@ -785,7 +785,7 @@ useful for C++.")
                            "/pygobject-" version ".tar.xz"))
        (sha256
         (base32
-         "06i7ynnbvgpz0gw09zsjbvhgcp5qz4yzdifw27qjwdazg2mckql7"))
+         "0d80g5kgf2i9cginyhalvb7ibfk9g30yilqzmcsw6h6byj8xbih0"))
        (modules '((guix build utils)))
        (snippet
         '(begin
@@ -800,7 +800,8 @@ useful for C++.")
     (native-inputs
      `(("glib-bin" ,glib "bin")
        ("pkg-config" ,pkg-config)
-       ("python-pytest" ,python-pytest)))
+       ("python-pytest" ,python-pytest)
+       ("python-wrapper" ,python-wrapper))) ; For patching shebangs
     (inputs
      `(("python" ,python)
        ("python-pycairo" ,python-pycairo)
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome 4/8] gnu: libsoup: Simplify adjustment of tests and disable ssl-test.
  2021-04-26  8:11   ` [bug#48028] [PATCH wip-gnome 4/8] gnu: libsoup: Simplify adjustment of tests and disable ssl-test Raghav Gururajan via Guix-patches via
@ 2021-04-26  8:34     ` Leo Prikler
  2021-04-26  9:24       ` Raghav Gururajan via Guix-patches via
  0 siblings, 1 reply; 84+ messages in thread
From: Leo Prikler @ 2021-04-26  8:34 UTC (permalink / raw)
  To: Raghav Gururajan, 48028

Am Montag, den 26.04.2021, 04:11 -0400 schrieb Raghav Gururajan:
> * gnu/packages/gnome.scm (libsoup)[phases](adjust-tests): Modify.
> [native-inputs]: Remove gnutls.
> ---
>  gnu/packages/gnome.scm | 70 +++++++---------------------------------
> --
>  1 file changed, 11 insertions(+), 59 deletions(-)
> 
> diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
> index 97cf80c586..29779c39af 100644
> --- a/gnu/packages/gnome.scm
> +++ b/gnu/packages/gnome.scm
> @@ -4927,64 +4927,17 @@ libxml to ease remote use of the RESTful
> API.")
>                 #t)))
>           (add-after 'unpack 'adjust-tests
>             (lambda _
> -             ;; This test fails due to missing /etc/nsswitch.conf
> -             ;; in the build environment.
> -             (substitute* "tests/socket-test.c"
> -               ((".*/sockets/unconnected.*") ""))
> -
> -             ;; These fail because "subdomain.localhost" does not
> resolve in
> -             ;; the build environment.
> -             (substitute* "tests/hsts-test.c"
> -               ((".*/hsts/basic.*") "")
> -               ((".*/hsts/subdomains.*") "")
> -               ((".*/hsts/superdomain.*") "")
> -               ((".*/hsts/utf8-address.*") ""))
> -             (substitute* "tests/hsts-db-test.c"
> -               ((".*/hsts-db/subdomains.*") ""))
> -
> -             ;; Generate a self-signed certificate that has
> "localhost" as its
> -             ;; 'dnsName'.  Failing to do that, and starting with
> GnuTLS
> -             ;; 3.5.12, tests such as "ssl-tests" fail:
> -             ;;
> -             ;; ERROR:ssl-test.c:406:do_tls_interaction_test:
> Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
> -             ;;
> -             ;; 'certtool' is interactive so we have to pipe it the
> answers.
> -             ;; Reported at <
> https://bugzilla.gnome.org/show_bug.cgi?id=784696>;.
> -             (let ((pipe (open-output-pipe "certtool --generate-
> self-signed \
> - --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
> -               (for-each (lambda (line)
> -                           (display line pipe)
> -                           (newline pipe))
> -                         '(""               ;Common name
> -                           ""               ;UID
> -                           "Guix"           ;Organizational unit
> name
> -                           "GNU"            ;Organization name
> -                           ""               ;Locality name
> -                           ""               ;State or province
> -                           ""               ;Country
> -                           ""               ;subject's domain
> component (DC)
> -                           ""               ;E-mail
> -                           ""               ;serial number
> -                           "-1"             ;expiration time
> -                           "N"              ;belong to authority?
> -                           "N"              ;web client certificate?
> -                           "N"              ;IPsec IKE?
> -                           "Y"              ;web server certificate?
> -                           "localhost"      ;dnsName of subject
> -                           ""               ;dnsName of subject
> (end)
> -                           ""               ;URI of subject
> -                           "127.0.0.1"      ;IP address of subject
> -                           ""               ;signing?
> -                           ""               ;encryption (RSA)?
> -                           ""               ;data encryption?
> -                           ""               ;sign OCSP requests?
> -                           ""               ;sign code?
> -                           ""               ;time stamping?
> -                           ""               ;email protection?
> -                           ""               ;URI of the CRL
> distribution point
> -                           "y"              ;above info OK?
> -                           ))
> -               (close-pipe pipe))
> +             (substitute* "tests/meson.build"
> +               ;; These fail because "subdomain.localhost" does not
> resolve in
> +               ;; the build environment.
> +               (("[ \t]*\\['hsts', true, \\[\\]\\],") "")
> +               (("[ \t]*\\['hsts-db', true, \\[\\]\\],") "")
> +               ;; This test fails due to missing /etc/nsswitch.conf
> +               ;; in the build environment.
> +               (("[ \t]*\\['socket', true, \\[\\]\\],") "")
> +               ;; FIX-ME: ssl-test fails, starting with
> +               ;; glib-networking 2.68.x.
> +               (("[ \t]*\\['ssl', true, \\[\\]\\],") ""))
>               #t))
>           (add-after 'install 'move-doc
>             (lambda* (#:key outputs #:allow-other-keys)
> @@ -5006,7 +4959,6 @@ libxml to ease remote use of the RESTful API.")
>         ("vala" ,vala)
>         ("php" ,php)
>         ("curl" ,curl)
> -       ("gnutls" ,gnutls)                         ;for 'certtool'
>         ("httpd" ,httpd)))
>      (propagated-inputs
>       ;; libsoup-2.4.pc refers to all these.
This does not look much like a simplification to me.  Instead, the
regexp seems to have been more complicated, and also the patchee has
been changed from some C file to meson.build.  Is this necessary to
disable the SSL test?  If not, try separating this patch into two
parts.

Regards,
Leo





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

* [bug#48028] [PATCH wip-gnome 5/8] gnu: libsoup: Add missing argument and input.
  2021-04-26  8:11   ` [bug#48028] [PATCH wip-gnome 5/8] gnu: libsoup: Add missing argument and input Raghav Gururajan via Guix-patches via
@ 2021-04-26  8:40     ` Leo Prikler
  2021-04-26  9:28       ` Raghav Gururajan via Guix-patches via
  0 siblings, 1 reply; 84+ messages in thread
From: Leo Prikler @ 2021-04-26  8:40 UTC (permalink / raw)
  To: Raghav Gururajan, 48028

This headline does not match the contents of the patch.

Am Montag, den 26.04.2021, 04:11 -0400 schrieb Raghav Gururajan:
> Propagate glib-networking as per .pc file.
This looks like it could be its own patch were it not for the fact,
that samba needs to be added as well (what for?)

> * gnu/packages/gnome.scm (libsoup)[arguments](glib-or-gtk): New
> argument.
> [inputs]: Add samba. Move glib-networking to ...
> [propagated-inputs]: ... here.
> ---
>  gnu/packages/gnome.scm | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
> index 29779c39af..b69980091b 100644
> --- a/gnu/packages/gnome.scm
> +++ b/gnu/packages/gnome.scm
> @@ -4913,7 +4913,7 @@ libxml to ease remote use of the RESTful API.")
>       `(#:modules ((guix build utils)
>                    (guix build meson-build-system)
>                    (ice-9 popen))
> -
> +       #:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
That doesn't sound very sure to me.  Why are you wrapping binaries
and/or compiling schemas?
>         #:configure-flags '("-Dgtk_doc=true")
>         #:phases
>         (modify-phases %standard-phases
> @@ -4964,13 +4964,14 @@ libxml to ease remote use of the RESTful
> API.")
>       ;; libsoup-2.4.pc refers to all these.
>       `(("brotli" ,google-brotli)
>         ("glib" ,glib)
> +       ("glib-networking" ,glib-networking)
I haven't checked, but if the .pc file says so, so be it.
>         ("libpsl" ,libpsl)
>         ("libxml2" ,libxml2)
>         ("sqlite" ,sqlite)
>         ("zlib" ,zlib)))
>      (inputs
> -     `(("glib-networking" ,glib-networking)
> -       ("mit-krb5" ,mit-krb5)))
> +     `(("mit-krb5" ,mit-krb5)
> +        ("ntlm_auth" ,samba)))
Careful with the indentation.
>      (home-page "https://live.gnome.org/LibSoup/")
>      (synopsis "GLib-based HTTP Library")
>      (description

Regards,
Leo





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

* [bug#48028] [PATCH wip-gnome 6/8] gnu: libsoup: Update home-page.
  2021-04-26  8:11   ` [bug#48028] [PATCH wip-gnome 6/8] gnu: libsoup: Update home-page Raghav Gururajan via Guix-patches via
@ 2021-04-26  8:46     ` Leo Prikler
  0 siblings, 0 replies; 84+ messages in thread
From: Leo Prikler @ 2021-04-26  8:46 UTC (permalink / raw)
  To: Raghav Gururajan, 48028

Am Montag, den 26.04.2021, 04:11 -0400 schrieb Raghav Gururajan:
> * gnu/packages/gnome.scm (libsoup)[home-page]: Modify.
> ---
>  gnu/packages/gnome.scm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
> index b69980091b..db811573c4 100644
> --- a/gnu/packages/gnome.scm
> +++ b/gnu/packages/gnome.scm
> @@ -4972,7 +4972,7 @@ libxml to ease remote use of the RESTful API.")
>      (inputs
>       `(("mit-krb5" ,mit-krb5)
>          ("ntlm_auth" ,samba)))
> -    (home-page "https://live.gnome.org/LibSoup/")
> +    (home-page "https://wiki.gnome.org/Projects/libsoup")
>      (synopsis "GLib-based HTTP Library")
>      (description
>       "LibSoup is an HTTP client/server library for GNOME.  It uses
> GObjects
LGTM.

For your information, libsoup has 254 transitive dependants, so if some
of your changes don't require the rest of wip-gnome, they can be pushed
to master.  Please go through the proper cleanup/review process for all
of them prior to that, however.

Regards,
Leo





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

* [bug#48028] [PATCH wip-gnome v2 01/10] gnu: gtkmm@2: Remove inheritance from gtkmm@3.
  2021-04-26  8:09 [bug#48028] [PATCH wip-gnome 0/8]: Misc Raghav Gururajan via Guix-patches via
  2021-04-26  8:11 ` [bug#48028] [PATCH wip-gnome 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Raghav Gururajan via Guix-patches via
@ 2021-04-26  9:08 ` Raghav Gururajan via Guix-patches via
  2021-04-26  9:08   ` [bug#48028] [PATCH wip-gnome v2 02/10] gnu: gtkmm: Change build-system Raghav Gururajan via Guix-patches via
                     ` (8 more replies)
  2021-04-26  9:22 ` [bug#48028] [PATCH wip-gnome v3 01/10] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Raghav Gururajan via Guix-patches via
                   ` (3 subsequent siblings)
  5 siblings, 9 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26  9:08 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

Remove inheritance to prevent rebuilds of packages like inkscape
and gtk+, whenever changes are made gtkmm@3.

* gnu/packages/gtk.scm (gtkmm-2)[build-system,outputs,arguments,
native-inputs,synopsis,description,home-page,license]: New fields.
---
 gnu/packages/gtk.scm | 48 ++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 46 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 04a0db1161..81ac4a7197 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1660,7 +1660,6 @@ tutorial.")
 
 (define-public gtkmm-2
   (package
-    (inherit gtkmm)
     (name "gtkmm")
     (version "2.24.5")
     (source
@@ -1672,12 +1671,57 @@ tutorial.")
                        name "-" version ".tar.xz"))
        (sha256
         (base32 "0wkbzvsx4kgw16f6xjdc1dz7f77ldngdila4yi5lw2zrgcxsb006"))))
+    (build-system glib-or-gtk-build-system)
+    (outputs '("out" "doc"))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'pre-check
+           (lambda _
+             ;; Tests require a running X server.
+             (system "Xvfb :1 +extension GLX &")
+             (setenv "DISPLAY" ":1")
+             ;; For missing '/etc/machine-id'.
+             (setenv "DBUS_FATAL_WARNINGS" "0")
+             #t))
+         (add-after 'install 'move-doc
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (doc (assoc-ref outputs "doc")))
+               (mkdir-p (string-append doc "/share"))
+               (rename-file
+                (string-append out "/share/doc")
+                (string-append doc "/share/doc"))
+               #t))))))
+    (native-inputs
+     `(("dot" ,graphviz)
+       ("doxygen" ,doxygen)
+       ("m4" ,m4)
+       ("mm-common" ,mm-common)
+       ("perl" ,perl)
+       ("pkg-config" ,pkg-config)
+       ("xsltproc" ,libxslt)
+       ("xorg-server" ,xorg-server-for-tests)))
     (propagated-inputs
      `(("atkmm" ,atkmm-2.28)
        ("cairomm" ,cairomm-1.13)
        ("glibmm" ,glibmm-2.64)
        ("gtk+" ,gtk+-2)
-       ("pangomm" ,pangomm-2.42)))))
+       ("pangomm" ,pangomm-2.42)))
+    (synopsis "C++ Interfaces for GTK+ and GNOME")
+    (description "GTKmm is the official C++ interface for the popular GUI
+library GTK+.  Highlights include typesafe callbacks, and a comprehensive set of
+widgets that are easily extensible via inheritance.  You can create user
+interfaces either in code or with the Glade User Interface designer, using
+libglademm.  There's extensive documentation, including API reference and a
+tutorial.")
+    (home-page "https://gtkmm.org/")
+    (license
+     (list
+      ;; Library
+      license:lgpl2.1+
+      ;; Tools
+      license:gpl2+))))
 
 (define-public gtksourceviewmm
   (package
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome v2 02/10] gnu: gtkmm: Change build-system.
  2021-04-26  9:08 ` [bug#48028] [PATCH wip-gnome v2 01/10] " Raghav Gururajan via Guix-patches via
@ 2021-04-26  9:08   ` Raghav Gururajan via Guix-patches via
  2021-04-26  9:08   ` [bug#48028] [PATCH wip-gnome v2 03/10] gnu: gtkmm: Add missing native-input and correct propagated-inputs Raghav Gururajan via Guix-patches via
                     ` (7 subsequent siblings)
  8 siblings, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26  9:08 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

Switch to meson-build-system, as its preferred by the project.
Preserve building of documentation.

* gnu/packages/gtk.scm (gtkmm)[build-system]: Change from glib-or-gtk
to meson.
[configure-flags](build-documentation): New flag.
---
 gnu/packages/gtk.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 81ac4a7197..a7e387a47d 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1606,10 +1606,12 @@ library.")
                        name "-" version ".tar.xz"))
        (sha256
         (base32 "0hv7pviln4cpjvpz7m7ga5krcsbibqzixdcn0dwzpz0cx71p3swv"))))
-    (build-system glib-or-gtk-build-system)
+    (build-system meson-build-system)
     (outputs '("out" "doc"))
     (arguments
-     `(#:phases
+     `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
+       #:configure-flags '("-Dbuild-documentation=true")
+       #:phases
        (modify-phases %standard-phases
          (add-before 'check 'pre-check
            (lambda _
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome v2 03/10] gnu: gtkmm: Add missing native-input and correct propagated-inputs.
  2021-04-26  9:08 ` [bug#48028] [PATCH wip-gnome v2 01/10] " Raghav Gururajan via Guix-patches via
  2021-04-26  9:08   ` [bug#48028] [PATCH wip-gnome v2 02/10] gnu: gtkmm: Change build-system Raghav Gururajan via Guix-patches via
@ 2021-04-26  9:08   ` Raghav Gururajan via Guix-patches via
  2021-04-26  9:08   ` [bug#48028] [PATCH wip-gnome v2 04/10] gnu: libsoup: Simplify adjustment of tests Raghav Gururajan via Guix-patches via
                     ` (6 subsequent siblings)
  8 siblings, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26  9:08 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

* gnu/packages/gtk.scm (gtkmm)[native-inputs]: Add glib:bin.
[propagated-inputs]: Change; atkmm to atkmm-2.28, pangomm to pangomm-2.42,
and cairomm to cairomm-1.13.
---
 gnu/packages/gtk.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index a7e387a47d..86490115d6 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1633,6 +1633,7 @@ library.")
     (native-inputs
      `(("dot" ,graphviz)
        ("doxygen" ,doxygen)
+       ("glib:bin" ,glib "bin") ; For glib-compile-resources
        ("m4" ,m4)
        ("mm-common" ,mm-common)
        ("perl" ,perl)
@@ -1640,11 +1641,11 @@ library.")
        ("xsltproc" ,libxslt)
        ("xorg-server" ,xorg-server-for-tests)))
     (propagated-inputs
-     `(("atkmm" ,atkmm)
-       ("cairomm" ,cairomm)
+     `(("atkmm" ,atkmm-2.28)
+       ("cairomm" ,cairomm-1.13)
        ("glibmm" ,glibmm)
        ("gtk+" ,gtk+)
-       ("pangomm" ,pangomm)))
+       ("pangomm" ,pangomm-2.42)))
     (synopsis "C++ Interfaces for GTK+ and GNOME")
     (description "GTKmm is the official C++ interface for the popular GUI
 library GTK+.  Highlights include typesafe callbacks, and a comprehensive set of
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome v2 04/10] gnu: libsoup: Simplify adjustment of tests.
  2021-04-26  9:08 ` [bug#48028] [PATCH wip-gnome v2 01/10] " Raghav Gururajan via Guix-patches via
  2021-04-26  9:08   ` [bug#48028] [PATCH wip-gnome v2 02/10] gnu: gtkmm: Change build-system Raghav Gururajan via Guix-patches via
  2021-04-26  9:08   ` [bug#48028] [PATCH wip-gnome v2 03/10] gnu: gtkmm: Add missing native-input and correct propagated-inputs Raghav Gururajan via Guix-patches via
@ 2021-04-26  9:08   ` Raghav Gururajan via Guix-patches via
  2021-04-26  9:08   ` [bug#48028] [PATCH wip-gnome v2 05/10] gnu: libsoup: Disable ssl-test Raghav Gururajan via Guix-patches via
                     ` (5 subsequent siblings)
  8 siblings, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26  9:08 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

Switch from using mutiple C files to single meson.build file.

* gnu/packages/gnome.scm (libsoup)[phases](adjust-tests): Modify.
---
 gnu/packages/gnome.scm | 22 ++++++++--------------
 1 file changed, 8 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 97cf80c586..c8e7b55f6c 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4927,20 +4927,14 @@ libxml to ease remote use of the RESTful API.")
                #t)))
          (add-after 'unpack 'adjust-tests
            (lambda _
-             ;; This test fails due to missing /etc/nsswitch.conf
-             ;; in the build environment.
-             (substitute* "tests/socket-test.c"
-               ((".*/sockets/unconnected.*") ""))
-
-             ;; These fail because "subdomain.localhost" does not resolve in
-             ;; the build environment.
-             (substitute* "tests/hsts-test.c"
-               ((".*/hsts/basic.*") "")
-               ((".*/hsts/subdomains.*") "")
-               ((".*/hsts/superdomain.*") "")
-               ((".*/hsts/utf8-address.*") ""))
-             (substitute* "tests/hsts-db-test.c"
-               ((".*/hsts-db/subdomains.*") ""))
+             (substitute* "tests/meson.build"
+               ;; These fail because "subdomain.localhost" does not resolve in
+               ;; the build environment.
+               (("[ \t]*\\['hsts', true, \\[\\]\\],") "")
+               (("[ \t]*\\['hsts-db', true, \\[\\]\\],") "")
+               ;; This test fails due to missing /etc/nsswitch.conf
+               ;; in the build environment.
+               (("[ \t]*\\['socket', true, \\[\\]\\],") ""))
 
              ;; Generate a self-signed certificate that has "localhost" as its
              ;; 'dnsName'.  Failing to do that, and starting with GnuTLS
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome v2 05/10] gnu: libsoup: Disable ssl-test.
  2021-04-26  9:08 ` [bug#48028] [PATCH wip-gnome v2 01/10] " Raghav Gururajan via Guix-patches via
                     ` (2 preceding siblings ...)
  2021-04-26  9:08   ` [bug#48028] [PATCH wip-gnome v2 04/10] gnu: libsoup: Simplify adjustment of tests Raghav Gururajan via Guix-patches via
@ 2021-04-26  9:08   ` Raghav Gururajan via Guix-patches via
  2021-04-26 20:58     ` Maxime Devos
  2021-04-26  9:08   ` [bug#48028] [PATCH wip-gnome v2 06/10] gnu: libsoup: Add missing argument and input Raghav Gururajan via Guix-patches via
                     ` (4 subsequent siblings)
  8 siblings, 1 reply; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26  9:08 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

* gnu/packages/gnome.scm (libsoup)[phases](adjust-tests): Modify.
[native-inputs]: Remove gnutls.
---
 gnu/packages/gnome.scm | 50 ++++--------------------------------------
 1 file changed, 4 insertions(+), 46 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index c8e7b55f6c..29779c39af 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4934,51 +4934,10 @@ libxml to ease remote use of the RESTful API.")
                (("[ \t]*\\['hsts-db', true, \\[\\]\\],") "")
                ;; This test fails due to missing /etc/nsswitch.conf
                ;; in the build environment.
-               (("[ \t]*\\['socket', true, \\[\\]\\],") ""))
-
-             ;; Generate a self-signed certificate that has "localhost" as its
-             ;; 'dnsName'.  Failing to do that, and starting with GnuTLS
-             ;; 3.5.12, tests such as "ssl-tests" fail:
-             ;;
-             ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
-             ;;
-             ;; 'certtool' is interactive so we have to pipe it the answers.
-             ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
-             (let ((pipe (open-output-pipe "certtool --generate-self-signed \
- --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
-               (for-each (lambda (line)
-                           (display line pipe)
-                           (newline pipe))
-                         '(""               ;Common name
-                           ""               ;UID
-                           "Guix"           ;Organizational unit name
-                           "GNU"            ;Organization name
-                           ""               ;Locality name
-                           ""               ;State or province
-                           ""               ;Country
-                           ""               ;subject's domain component (DC)
-                           ""               ;E-mail
-                           ""               ;serial number
-                           "-1"             ;expiration time
-                           "N"              ;belong to authority?
-                           "N"              ;web client certificate?
-                           "N"              ;IPsec IKE?
-                           "Y"              ;web server certificate?
-                           "localhost"      ;dnsName of subject
-                           ""               ;dnsName of subject (end)
-                           ""               ;URI of subject
-                           "127.0.0.1"      ;IP address of subject
-                           ""               ;signing?
-                           ""               ;encryption (RSA)?
-                           ""               ;data encryption?
-                           ""               ;sign OCSP requests?
-                           ""               ;sign code?
-                           ""               ;time stamping?
-                           ""               ;email protection?
-                           ""               ;URI of the CRL distribution point
-                           "y"              ;above info OK?
-                           ))
-               (close-pipe pipe))
+               (("[ \t]*\\['socket', true, \\[\\]\\],") "")
+               ;; FIX-ME: ssl-test fails, starting with
+               ;; glib-networking 2.68.x.
+               (("[ \t]*\\['ssl', true, \\[\\]\\],") ""))
              #t))
          (add-after 'install 'move-doc
            (lambda* (#:key outputs #:allow-other-keys)
@@ -5000,7 +4959,6 @@ libxml to ease remote use of the RESTful API.")
        ("vala" ,vala)
        ("php" ,php)
        ("curl" ,curl)
-       ("gnutls" ,gnutls)                         ;for 'certtool'
        ("httpd" ,httpd)))
     (propagated-inputs
      ;; libsoup-2.4.pc refers to all these.
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome v2 06/10] gnu: libsoup: Add missing argument and input.
  2021-04-26  9:08 ` [bug#48028] [PATCH wip-gnome v2 01/10] " Raghav Gururajan via Guix-patches via
                     ` (3 preceding siblings ...)
  2021-04-26  9:08   ` [bug#48028] [PATCH wip-gnome v2 05/10] gnu: libsoup: Disable ssl-test Raghav Gururajan via Guix-patches via
@ 2021-04-26  9:08   ` Raghav Gururajan via Guix-patches via
  2021-04-26 21:02     ` Maxime Devos
  2021-04-26  9:08   ` [bug#48028] [PATCH wip-gnome v2 07/10] gnu: libsoup: Propagate glib-networking Raghav Gururajan via Guix-patches via
                     ` (3 subsequent siblings)
  8 siblings, 1 reply; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26  9:08 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

* gnu/packages/gnome.scm (libsoup)[arguments](glib-or-gtk): New argument.
[inputs]: Add samba.
---
 gnu/packages/gnome.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 29779c39af..21f5eaa4c9 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4913,7 +4913,7 @@ libxml to ease remote use of the RESTful API.")
      `(#:modules ((guix build utils)
                   (guix build meson-build-system)
                   (ice-9 popen))
-
+       #:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
        #:configure-flags '("-Dgtk_doc=true")
        #:phases
        (modify-phases %standard-phases
@@ -4970,7 +4970,8 @@ libxml to ease remote use of the RESTful API.")
        ("zlib" ,zlib)))
     (inputs
      `(("glib-networking" ,glib-networking)
-       ("mit-krb5" ,mit-krb5)))
+       ("mit-krb5" ,mit-krb5)
+       ("ntlm_auth" ,samba))) ; For ntlm_auth support
     (home-page "https://live.gnome.org/LibSoup/")
     (synopsis "GLib-based HTTP Library")
     (description
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome v2 07/10] gnu: libsoup: Propagate glib-networking.
  2021-04-26  9:08 ` [bug#48028] [PATCH wip-gnome v2 01/10] " Raghav Gururajan via Guix-patches via
                     ` (4 preceding siblings ...)
  2021-04-26  9:08   ` [bug#48028] [PATCH wip-gnome v2 06/10] gnu: libsoup: Add missing argument and input Raghav Gururajan via Guix-patches via
@ 2021-04-26  9:08   ` Raghav Gururajan via Guix-patches via
  2021-04-26  9:08   ` [bug#48028] [PATCH wip-gnome v2 08/10] gnu: libsoup: Update home-page Raghav Gururajan via Guix-patches via
                     ` (2 subsequent siblings)
  8 siblings, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26  9:08 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

Propagate glib-networking as per .pc file.

* gnu/packages/gnome.scm (libsoup)[inputs]: Move glib-networking to ...
[propagated-inputs]: ... here.
---
 gnu/packages/gnome.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 21f5eaa4c9..ae1238ff5e 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4964,13 +4964,13 @@ libxml to ease remote use of the RESTful API.")
      ;; libsoup-2.4.pc refers to all these.
      `(("brotli" ,google-brotli)
        ("glib" ,glib)
+       ("glib-networking" ,glib-networking)
        ("libpsl" ,libpsl)
        ("libxml2" ,libxml2)
        ("sqlite" ,sqlite)
        ("zlib" ,zlib)))
     (inputs
-     `(("glib-networking" ,glib-networking)
-       ("mit-krb5" ,mit-krb5)
+     `(("mit-krb5" ,mit-krb5)
        ("ntlm_auth" ,samba))) ; For ntlm_auth support
     (home-page "https://live.gnome.org/LibSoup/")
     (synopsis "GLib-based HTTP Library")
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome v2 08/10] gnu: libsoup: Update home-page.
  2021-04-26  9:08 ` [bug#48028] [PATCH wip-gnome v2 01/10] " Raghav Gururajan via Guix-patches via
                     ` (5 preceding siblings ...)
  2021-04-26  9:08   ` [bug#48028] [PATCH wip-gnome v2 07/10] gnu: libsoup: Propagate glib-networking Raghav Gururajan via Guix-patches via
@ 2021-04-26  9:08   ` Raghav Gururajan via Guix-patches via
  2021-04-26  9:08   ` [bug#48028] [PATCH wip-gnome v2 09/10] gnu: python-pycairo: Update to 1.20.0 Raghav Gururajan via Guix-patches via
  2021-04-26  9:08   ` [bug#48028] [PATCH wip-gnome v2 10/10] gnu: python-pygobject: Update to 3.40.1 Raghav Gururajan via Guix-patches via
  8 siblings, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26  9:08 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

* gnu/packages/gnome.scm (libsoup)[home-page]: Modify.
---
 gnu/packages/gnome.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index ae1238ff5e..9b0850e0b9 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4972,7 +4972,7 @@ libxml to ease remote use of the RESTful API.")
     (inputs
      `(("mit-krb5" ,mit-krb5)
        ("ntlm_auth" ,samba))) ; For ntlm_auth support
-    (home-page "https://live.gnome.org/LibSoup/")
+    (home-page "https://wiki.gnome.org/Projects/libsoup")
     (synopsis "GLib-based HTTP Library")
     (description
      "LibSoup is an HTTP client/server library for GNOME.  It uses GObjects
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome v2 09/10] gnu: python-pycairo: Update to 1.20.0.
  2021-04-26  9:08 ` [bug#48028] [PATCH wip-gnome v2 01/10] " Raghav Gururajan via Guix-patches via
                     ` (6 preceding siblings ...)
  2021-04-26  9:08   ` [bug#48028] [PATCH wip-gnome v2 08/10] gnu: libsoup: Update home-page Raghav Gururajan via Guix-patches via
@ 2021-04-26  9:08   ` Raghav Gururajan via Guix-patches via
  2021-04-26  9:08   ` [bug#48028] [PATCH wip-gnome v2 10/10] gnu: python-pygobject: Update to 3.40.1 Raghav Gururajan via Guix-patches via
  8 siblings, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26  9:08 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

* gnu/packages/gtk.scm (python-pycairo)[version]: Update to 1.20.0.
---
 gnu/packages/gtk.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 86490115d6..e7f71fa739 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1761,7 +1761,7 @@ printing and other features typical of a source code editor.")
 (define-public python-pycairo
   (package
     (name "python-pycairo")
-    (version "1.19.1")
+    (version "1.20.0")
     (source
      (origin
       (method url-fetch)
@@ -1769,7 +1769,7 @@ printing and other features typical of a source code editor.")
                           version "/pycairo-" version ".tar.gz"))
       (sha256
        (base32
-        "111fav9m1iagw3nh2ws2vzkjh34r97yl7rdlpvsngsqg521k251c"))))
+        "1326aa2ybhhhrvz3n4p22z5sic25m016ddb5yq0hvbprnw6a35an"))))
     (build-system python-build-system)
     (native-inputs
      `(("pkg-config" ,pkg-config)
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome v2 10/10] gnu: python-pygobject: Update to 3.40.1.
  2021-04-26  9:08 ` [bug#48028] [PATCH wip-gnome v2 01/10] " Raghav Gururajan via Guix-patches via
                     ` (7 preceding siblings ...)
  2021-04-26  9:08   ` [bug#48028] [PATCH wip-gnome v2 09/10] gnu: python-pycairo: Update to 1.20.0 Raghav Gururajan via Guix-patches via
@ 2021-04-26  9:08   ` Raghav Gururajan via Guix-patches via
  8 siblings, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26  9:08 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

* gnu/packages/glib.scm (python-pygobject)[version]: Update to 3.40.1.
[native-inputs]: Add python-wrapper.
---
 gnu/packages/glib.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index fd88d7329f..31cd13e9c7 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -776,7 +776,7 @@ useful for C++.")
 (define-public python-pygobject
   (package
     (name "python-pygobject")
-    (version "3.34.0")
+    (version "3.40.1")
     (source
      (origin
        (method url-fetch)
@@ -785,7 +785,7 @@ useful for C++.")
                            "/pygobject-" version ".tar.xz"))
        (sha256
         (base32
-         "06i7ynnbvgpz0gw09zsjbvhgcp5qz4yzdifw27qjwdazg2mckql7"))
+         "0d80g5kgf2i9cginyhalvb7ibfk9g30yilqzmcsw6h6byj8xbih0"))
        (modules '((guix build utils)))
        (snippet
         '(begin
@@ -800,7 +800,8 @@ useful for C++.")
     (native-inputs
      `(("glib-bin" ,glib "bin")
        ("pkg-config" ,pkg-config)
-       ("python-pytest" ,python-pytest)))
+       ("python-pytest" ,python-pytest)
+       ("python-wrapper" ,python-wrapper))) ; For patching shebangs
     (inputs
      `(("python" ,python)
        ("python-pycairo" ,python-pycairo)
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome v3 01/10] gnu: gtkmm@2: Remove inheritance from gtkmm@3.
  2021-04-26  8:09 [bug#48028] [PATCH wip-gnome 0/8]: Misc Raghav Gururajan via Guix-patches via
  2021-04-26  8:11 ` [bug#48028] [PATCH wip-gnome 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Raghav Gururajan via Guix-patches via
  2021-04-26  9:08 ` [bug#48028] [PATCH wip-gnome v2 01/10] " Raghav Gururajan via Guix-patches via
@ 2021-04-26  9:22 ` Raghav Gururajan via Guix-patches via
  2021-04-26  9:22   ` [bug#48028] [PATCH wip-gnome v3 02/10] gnu: gtkmm: Change build-system Raghav Gururajan via Guix-patches via
                     ` (8 more replies)
  2021-04-26 10:28 ` [bug#48028] [PATCH wip-gnome v4 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Raghav Gururajan via Guix-patches via
                   ` (2 subsequent siblings)
  5 siblings, 9 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26  9:22 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

Remove inheritance to prevent rebuilds of packages like inkscape
and gtk+, whenever changes are made to gtkmm@3.

* gnu/packages/gtk.scm (gtkmm-2)[build-system,outputs,arguments,
native-inputs,synopsis,description,home-page,license]: New fields.
---
 gnu/packages/gtk.scm | 48 ++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 46 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 04a0db1161..81ac4a7197 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1660,7 +1660,6 @@ tutorial.")
 
 (define-public gtkmm-2
   (package
-    (inherit gtkmm)
     (name "gtkmm")
     (version "2.24.5")
     (source
@@ -1672,12 +1671,57 @@ tutorial.")
                        name "-" version ".tar.xz"))
        (sha256
         (base32 "0wkbzvsx4kgw16f6xjdc1dz7f77ldngdila4yi5lw2zrgcxsb006"))))
+    (build-system glib-or-gtk-build-system)
+    (outputs '("out" "doc"))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'pre-check
+           (lambda _
+             ;; Tests require a running X server.
+             (system "Xvfb :1 +extension GLX &")
+             (setenv "DISPLAY" ":1")
+             ;; For missing '/etc/machine-id'.
+             (setenv "DBUS_FATAL_WARNINGS" "0")
+             #t))
+         (add-after 'install 'move-doc
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (doc (assoc-ref outputs "doc")))
+               (mkdir-p (string-append doc "/share"))
+               (rename-file
+                (string-append out "/share/doc")
+                (string-append doc "/share/doc"))
+               #t))))))
+    (native-inputs
+     `(("dot" ,graphviz)
+       ("doxygen" ,doxygen)
+       ("m4" ,m4)
+       ("mm-common" ,mm-common)
+       ("perl" ,perl)
+       ("pkg-config" ,pkg-config)
+       ("xsltproc" ,libxslt)
+       ("xorg-server" ,xorg-server-for-tests)))
     (propagated-inputs
      `(("atkmm" ,atkmm-2.28)
        ("cairomm" ,cairomm-1.13)
        ("glibmm" ,glibmm-2.64)
        ("gtk+" ,gtk+-2)
-       ("pangomm" ,pangomm-2.42)))))
+       ("pangomm" ,pangomm-2.42)))
+    (synopsis "C++ Interfaces for GTK+ and GNOME")
+    (description "GTKmm is the official C++ interface for the popular GUI
+library GTK+.  Highlights include typesafe callbacks, and a comprehensive set of
+widgets that are easily extensible via inheritance.  You can create user
+interfaces either in code or with the Glade User Interface designer, using
+libglademm.  There's extensive documentation, including API reference and a
+tutorial.")
+    (home-page "https://gtkmm.org/")
+    (license
+     (list
+      ;; Library
+      license:lgpl2.1+
+      ;; Tools
+      license:gpl2+))))
 
 (define-public gtksourceviewmm
   (package
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome v3 02/10] gnu: gtkmm: Change build-system.
  2021-04-26  9:22 ` [bug#48028] [PATCH wip-gnome v3 01/10] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Raghav Gururajan via Guix-patches via
@ 2021-04-26  9:22   ` Raghav Gururajan via Guix-patches via
  2021-04-26  9:22   ` [bug#48028] [PATCH wip-gnome v3 03/10] gnu: gtkmm: Add missing native-input and correct propagated-inputs Raghav Gururajan via Guix-patches via
                     ` (7 subsequent siblings)
  8 siblings, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26  9:22 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

Switch to meson-build-system, as its preferred by the project.
Preserve building of documentation.

* gnu/packages/gtk.scm (gtkmm)[build-system]: Change from glib-or-gtk
to meson.
[configure-flags](build-documentation): New flag.
---
 gnu/packages/gtk.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 81ac4a7197..a7e387a47d 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1606,10 +1606,12 @@ library.")
                        name "-" version ".tar.xz"))
        (sha256
         (base32 "0hv7pviln4cpjvpz7m7ga5krcsbibqzixdcn0dwzpz0cx71p3swv"))))
-    (build-system glib-or-gtk-build-system)
+    (build-system meson-build-system)
     (outputs '("out" "doc"))
     (arguments
-     `(#:phases
+     `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
+       #:configure-flags '("-Dbuild-documentation=true")
+       #:phases
        (modify-phases %standard-phases
          (add-before 'check 'pre-check
            (lambda _
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome v3 03/10] gnu: gtkmm: Add missing native-input and correct propagated-inputs.
  2021-04-26  9:22 ` [bug#48028] [PATCH wip-gnome v3 01/10] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Raghav Gururajan via Guix-patches via
  2021-04-26  9:22   ` [bug#48028] [PATCH wip-gnome v3 02/10] gnu: gtkmm: Change build-system Raghav Gururajan via Guix-patches via
@ 2021-04-26  9:22   ` Raghav Gururajan via Guix-patches via
  2021-04-26  9:22   ` [bug#48028] [PATCH wip-gnome v3 04/10] gnu: libsoup: Simplify adjustment of tests Raghav Gururajan via Guix-patches via
                     ` (6 subsequent siblings)
  8 siblings, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26  9:22 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

* gnu/packages/gtk.scm (gtkmm)[native-inputs]: Add glib:bin.
[propagated-inputs]: Change; atkmm to atkmm-2.28, pangomm to pangomm-2.42,
and cairomm to cairomm-1.13.
---
 gnu/packages/gtk.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index a7e387a47d..86490115d6 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1633,6 +1633,7 @@ library.")
     (native-inputs
      `(("dot" ,graphviz)
        ("doxygen" ,doxygen)
+       ("glib:bin" ,glib "bin") ; For glib-compile-resources
        ("m4" ,m4)
        ("mm-common" ,mm-common)
        ("perl" ,perl)
@@ -1640,11 +1641,11 @@ library.")
        ("xsltproc" ,libxslt)
        ("xorg-server" ,xorg-server-for-tests)))
     (propagated-inputs
-     `(("atkmm" ,atkmm)
-       ("cairomm" ,cairomm)
+     `(("atkmm" ,atkmm-2.28)
+       ("cairomm" ,cairomm-1.13)
        ("glibmm" ,glibmm)
        ("gtk+" ,gtk+)
-       ("pangomm" ,pangomm)))
+       ("pangomm" ,pangomm-2.42)))
     (synopsis "C++ Interfaces for GTK+ and GNOME")
     (description "GTKmm is the official C++ interface for the popular GUI
 library GTK+.  Highlights include typesafe callbacks, and a comprehensive set of
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome v3 04/10] gnu: libsoup: Simplify adjustment of tests.
  2021-04-26  9:22 ` [bug#48028] [PATCH wip-gnome v3 01/10] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Raghav Gururajan via Guix-patches via
  2021-04-26  9:22   ` [bug#48028] [PATCH wip-gnome v3 02/10] gnu: gtkmm: Change build-system Raghav Gururajan via Guix-patches via
  2021-04-26  9:22   ` [bug#48028] [PATCH wip-gnome v3 03/10] gnu: gtkmm: Add missing native-input and correct propagated-inputs Raghav Gururajan via Guix-patches via
@ 2021-04-26  9:22   ` Raghav Gururajan via Guix-patches via
  2021-04-26  9:42     ` Leo Prikler
  2021-04-26  9:22   ` [bug#48028] [PATCH wip-gnome v3 05/10] gnu: libsoup: Disable ssl-test Raghav Gururajan via Guix-patches via
                     ` (5 subsequent siblings)
  8 siblings, 1 reply; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26  9:22 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

Switch from using mutiple C files to single meson.build file.

* gnu/packages/gnome.scm (libsoup)[phases](adjust-tests): Modify.
---
 gnu/packages/gnome.scm | 22 ++++++++--------------
 1 file changed, 8 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 97cf80c586..c8e7b55f6c 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4927,20 +4927,14 @@ libxml to ease remote use of the RESTful API.")
                #t)))
          (add-after 'unpack 'adjust-tests
            (lambda _
-             ;; This test fails due to missing /etc/nsswitch.conf
-             ;; in the build environment.
-             (substitute* "tests/socket-test.c"
-               ((".*/sockets/unconnected.*") ""))
-
-             ;; These fail because "subdomain.localhost" does not resolve in
-             ;; the build environment.
-             (substitute* "tests/hsts-test.c"
-               ((".*/hsts/basic.*") "")
-               ((".*/hsts/subdomains.*") "")
-               ((".*/hsts/superdomain.*") "")
-               ((".*/hsts/utf8-address.*") ""))
-             (substitute* "tests/hsts-db-test.c"
-               ((".*/hsts-db/subdomains.*") ""))
+             (substitute* "tests/meson.build"
+               ;; These fail because "subdomain.localhost" does not resolve in
+               ;; the build environment.
+               (("[ \t]*\\['hsts', true, \\[\\]\\],") "")
+               (("[ \t]*\\['hsts-db', true, \\[\\]\\],") "")
+               ;; This test fails due to missing /etc/nsswitch.conf
+               ;; in the build environment.
+               (("[ \t]*\\['socket', true, \\[\\]\\],") ""))
 
              ;; Generate a self-signed certificate that has "localhost" as its
              ;; 'dnsName'.  Failing to do that, and starting with GnuTLS
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome v3 05/10] gnu: libsoup: Disable ssl-test.
  2021-04-26  9:22 ` [bug#48028] [PATCH wip-gnome v3 01/10] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Raghav Gururajan via Guix-patches via
                     ` (2 preceding siblings ...)
  2021-04-26  9:22   ` [bug#48028] [PATCH wip-gnome v3 04/10] gnu: libsoup: Simplify adjustment of tests Raghav Gururajan via Guix-patches via
@ 2021-04-26  9:22   ` Raghav Gururajan via Guix-patches via
  2021-04-26  9:22   ` [bug#48028] [PATCH wip-gnome v3 06/10] gnu: libsoup: Add missing input Raghav Gururajan via Guix-patches via
                     ` (4 subsequent siblings)
  8 siblings, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26  9:22 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

* gnu/packages/gnome.scm (libsoup)[phases](adjust-tests): Modify.
[native-inputs]: Remove gnutls.
---
 gnu/packages/gnome.scm | 50 ++++--------------------------------------
 1 file changed, 4 insertions(+), 46 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index c8e7b55f6c..29779c39af 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4934,51 +4934,10 @@ libxml to ease remote use of the RESTful API.")
                (("[ \t]*\\['hsts-db', true, \\[\\]\\],") "")
                ;; This test fails due to missing /etc/nsswitch.conf
                ;; in the build environment.
-               (("[ \t]*\\['socket', true, \\[\\]\\],") ""))
-
-             ;; Generate a self-signed certificate that has "localhost" as its
-             ;; 'dnsName'.  Failing to do that, and starting with GnuTLS
-             ;; 3.5.12, tests such as "ssl-tests" fail:
-             ;;
-             ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
-             ;;
-             ;; 'certtool' is interactive so we have to pipe it the answers.
-             ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
-             (let ((pipe (open-output-pipe "certtool --generate-self-signed \
- --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
-               (for-each (lambda (line)
-                           (display line pipe)
-                           (newline pipe))
-                         '(""               ;Common name
-                           ""               ;UID
-                           "Guix"           ;Organizational unit name
-                           "GNU"            ;Organization name
-                           ""               ;Locality name
-                           ""               ;State or province
-                           ""               ;Country
-                           ""               ;subject's domain component (DC)
-                           ""               ;E-mail
-                           ""               ;serial number
-                           "-1"             ;expiration time
-                           "N"              ;belong to authority?
-                           "N"              ;web client certificate?
-                           "N"              ;IPsec IKE?
-                           "Y"              ;web server certificate?
-                           "localhost"      ;dnsName of subject
-                           ""               ;dnsName of subject (end)
-                           ""               ;URI of subject
-                           "127.0.0.1"      ;IP address of subject
-                           ""               ;signing?
-                           ""               ;encryption (RSA)?
-                           ""               ;data encryption?
-                           ""               ;sign OCSP requests?
-                           ""               ;sign code?
-                           ""               ;time stamping?
-                           ""               ;email protection?
-                           ""               ;URI of the CRL distribution point
-                           "y"              ;above info OK?
-                           ))
-               (close-pipe pipe))
+               (("[ \t]*\\['socket', true, \\[\\]\\],") "")
+               ;; FIX-ME: ssl-test fails, starting with
+               ;; glib-networking 2.68.x.
+               (("[ \t]*\\['ssl', true, \\[\\]\\],") ""))
              #t))
          (add-after 'install 'move-doc
            (lambda* (#:key outputs #:allow-other-keys)
@@ -5000,7 +4959,6 @@ libxml to ease remote use of the RESTful API.")
        ("vala" ,vala)
        ("php" ,php)
        ("curl" ,curl)
-       ("gnutls" ,gnutls)                         ;for 'certtool'
        ("httpd" ,httpd)))
     (propagated-inputs
      ;; libsoup-2.4.pc refers to all these.
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome v3 06/10] gnu: libsoup: Add missing input.
  2021-04-26  9:22 ` [bug#48028] [PATCH wip-gnome v3 01/10] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Raghav Gururajan via Guix-patches via
                     ` (3 preceding siblings ...)
  2021-04-26  9:22   ` [bug#48028] [PATCH wip-gnome v3 05/10] gnu: libsoup: Disable ssl-test Raghav Gururajan via Guix-patches via
@ 2021-04-26  9:22   ` Raghav Gururajan via Guix-patches via
  2021-04-26  9:22   ` [bug#48028] [PATCH wip-gnome v3 07/10] gnu: libsoup: Propagate glib-networking Raghav Gururajan via Guix-patches via
                     ` (3 subsequent siblings)
  8 siblings, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26  9:22 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

* gnu/packages/gnome.scm (libsoup)[inputs]: Add samba.
---
 gnu/packages/gnome.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 29779c39af..6c9cdd5ef9 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4970,7 +4970,8 @@ libxml to ease remote use of the RESTful API.")
        ("zlib" ,zlib)))
     (inputs
      `(("glib-networking" ,glib-networking)
-       ("mit-krb5" ,mit-krb5)))
+       ("mit-krb5" ,mit-krb5)
+       ("ntlm_auth" ,samba))) ; For ntlm_auth support
     (home-page "https://live.gnome.org/LibSoup/")
     (synopsis "GLib-based HTTP Library")
     (description
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome v3 07/10] gnu: libsoup: Propagate glib-networking.
  2021-04-26  9:22 ` [bug#48028] [PATCH wip-gnome v3 01/10] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Raghav Gururajan via Guix-patches via
                     ` (4 preceding siblings ...)
  2021-04-26  9:22   ` [bug#48028] [PATCH wip-gnome v3 06/10] gnu: libsoup: Add missing input Raghav Gururajan via Guix-patches via
@ 2021-04-26  9:22   ` Raghav Gururajan via Guix-patches via
  2021-04-26  9:22   ` [bug#48028] [PATCH wip-gnome v3 08/10] gnu: libsoup: Update home-page Raghav Gururajan via Guix-patches via
                     ` (2 subsequent siblings)
  8 siblings, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26  9:22 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

Propagate glib-networking as per .pc file.

* gnu/packages/gnome.scm (libsoup)[inputs]: Move glib-networking to ...
[propagated-inputs]: ... here.
---
 gnu/packages/gnome.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 6c9cdd5ef9..d75265e3ad 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4964,13 +4964,13 @@ libxml to ease remote use of the RESTful API.")
      ;; libsoup-2.4.pc refers to all these.
      `(("brotli" ,google-brotli)
        ("glib" ,glib)
+       ("glib-networking" ,glib-networking)
        ("libpsl" ,libpsl)
        ("libxml2" ,libxml2)
        ("sqlite" ,sqlite)
        ("zlib" ,zlib)))
     (inputs
-     `(("glib-networking" ,glib-networking)
-       ("mit-krb5" ,mit-krb5)
+     `(("mit-krb5" ,mit-krb5)
        ("ntlm_auth" ,samba))) ; For ntlm_auth support
     (home-page "https://live.gnome.org/LibSoup/")
     (synopsis "GLib-based HTTP Library")
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome v3 08/10] gnu: libsoup: Update home-page.
  2021-04-26  9:22 ` [bug#48028] [PATCH wip-gnome v3 01/10] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Raghav Gururajan via Guix-patches via
                     ` (5 preceding siblings ...)
  2021-04-26  9:22   ` [bug#48028] [PATCH wip-gnome v3 07/10] gnu: libsoup: Propagate glib-networking Raghav Gururajan via Guix-patches via
@ 2021-04-26  9:22   ` Raghav Gururajan via Guix-patches via
  2021-04-26  9:22   ` [bug#48028] [PATCH wip-gnome v3 09/10] gnu: python-pycairo: Update to 1.20.0 Raghav Gururajan via Guix-patches via
  2021-04-26  9:22   ` [bug#48028] [PATCH wip-gnome v3 10/10] gnu: python-pygobject: Update to 3.40.1 Raghav Gururajan via Guix-patches via
  8 siblings, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26  9:22 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

* gnu/packages/gnome.scm (libsoup)[home-page]: Modify.
---
 gnu/packages/gnome.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index d75265e3ad..97009df873 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4972,7 +4972,7 @@ libxml to ease remote use of the RESTful API.")
     (inputs
      `(("mit-krb5" ,mit-krb5)
        ("ntlm_auth" ,samba))) ; For ntlm_auth support
-    (home-page "https://live.gnome.org/LibSoup/")
+    (home-page "https://wiki.gnome.org/Projects/libsoup")
     (synopsis "GLib-based HTTP Library")
     (description
      "LibSoup is an HTTP client/server library for GNOME.  It uses GObjects
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome v3 09/10] gnu: python-pycairo: Update to 1.20.0.
  2021-04-26  9:22 ` [bug#48028] [PATCH wip-gnome v3 01/10] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Raghav Gururajan via Guix-patches via
                     ` (6 preceding siblings ...)
  2021-04-26  9:22   ` [bug#48028] [PATCH wip-gnome v3 08/10] gnu: libsoup: Update home-page Raghav Gururajan via Guix-patches via
@ 2021-04-26  9:22   ` Raghav Gururajan via Guix-patches via
  2021-04-26  9:22   ` [bug#48028] [PATCH wip-gnome v3 10/10] gnu: python-pygobject: Update to 3.40.1 Raghav Gururajan via Guix-patches via
  8 siblings, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26  9:22 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

* gnu/packages/gtk.scm (python-pycairo)[version]: Update to 1.20.0.
---
 gnu/packages/gtk.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 86490115d6..e7f71fa739 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1761,7 +1761,7 @@ printing and other features typical of a source code editor.")
 (define-public python-pycairo
   (package
     (name "python-pycairo")
-    (version "1.19.1")
+    (version "1.20.0")
     (source
      (origin
       (method url-fetch)
@@ -1769,7 +1769,7 @@ printing and other features typical of a source code editor.")
                           version "/pycairo-" version ".tar.gz"))
       (sha256
        (base32
-        "111fav9m1iagw3nh2ws2vzkjh34r97yl7rdlpvsngsqg521k251c"))))
+        "1326aa2ybhhhrvz3n4p22z5sic25m016ddb5yq0hvbprnw6a35an"))))
     (build-system python-build-system)
     (native-inputs
      `(("pkg-config" ,pkg-config)
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome v3 10/10] gnu: python-pygobject: Update to 3.40.1.
  2021-04-26  9:22 ` [bug#48028] [PATCH wip-gnome v3 01/10] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Raghav Gururajan via Guix-patches via
                     ` (7 preceding siblings ...)
  2021-04-26  9:22   ` [bug#48028] [PATCH wip-gnome v3 09/10] gnu: python-pycairo: Update to 1.20.0 Raghav Gururajan via Guix-patches via
@ 2021-04-26  9:22   ` Raghav Gururajan via Guix-patches via
  8 siblings, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26  9:22 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

* gnu/packages/glib.scm (python-pygobject)[version]: Update to 3.40.1.
[native-inputs]: Add python-wrapper.
---
 gnu/packages/glib.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index fd88d7329f..31cd13e9c7 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -776,7 +776,7 @@ useful for C++.")
 (define-public python-pygobject
   (package
     (name "python-pygobject")
-    (version "3.34.0")
+    (version "3.40.1")
     (source
      (origin
        (method url-fetch)
@@ -785,7 +785,7 @@ useful for C++.")
                            "/pygobject-" version ".tar.xz"))
        (sha256
         (base32
-         "06i7ynnbvgpz0gw09zsjbvhgcp5qz4yzdifw27qjwdazg2mckql7"))
+         "0d80g5kgf2i9cginyhalvb7ibfk9g30yilqzmcsw6h6byj8xbih0"))
        (modules '((guix build utils)))
        (snippet
         '(begin
@@ -800,7 +800,8 @@ useful for C++.")
     (native-inputs
      `(("glib-bin" ,glib "bin")
        ("pkg-config" ,pkg-config)
-       ("python-pytest" ,python-pytest)))
+       ("python-pytest" ,python-pytest)
+       ("python-wrapper" ,python-wrapper))) ; For patching shebangs
     (inputs
      `(("python" ,python)
        ("python-pycairo" ,python-pycairo)
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome 4/8] gnu: libsoup: Simplify adjustment of tests and disable ssl-test.
  2021-04-26  8:34     ` Leo Prikler
@ 2021-04-26  9:24       ` Raghav Gururajan via Guix-patches via
  0 siblings, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26  9:24 UTC (permalink / raw)
  To: Leo Prikler, 48028


[-- Attachment #1.1.1: Type: text/plain, Size: 369 bytes --]

Hi Leo!

> This does not look much like a simplification to me.  Instead, the
> regexp seems to have been more complicated, and also the patchee has
> been changed from some C file to meson.build.  Is this necessary to
> disable the SSL test?  If not, try separating this patch into two
> parts.

I have separated them to into patches, in v3.

Regards,
RG.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2649 bytes --]

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

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

* [bug#48028] [PATCH wip-gnome 5/8] gnu: libsoup: Add missing argument and input.
  2021-04-26  8:40     ` Leo Prikler
@ 2021-04-26  9:28       ` Raghav Gururajan via Guix-patches via
  2021-04-26  9:47         ` Leo Prikler
  0 siblings, 1 reply; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26  9:28 UTC (permalink / raw)
  To: Leo Prikler, 48028


[-- Attachment #1.1.1: Type: text/plain, Size: 594 bytes --]

Hi Leo!

> This looks like it could be its own patch were it not for the fact,
> that samba needs to be added as well (what for?)

I have split them into two patches and added comment, in v3.

> That doesn't sound very sure to me.  Why are you wrapping binaries
> and/or compiling schemas?

It is mainly for compiling schemas, as libsoup doesn't have binaries to 
wrap. But I just now realized that there is no 
`[out]/share/glib-2.0/schemas` either. So I removed this in v3.

> Careful with the indentation.

Ah, good catch. I have fixed it in v3.

Thanks!

Regards,
RG.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2649 bytes --]

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

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

* [bug#48028] [PATCH wip-gnome v3 04/10] gnu: libsoup: Simplify adjustment of tests.
  2021-04-26  9:22   ` [bug#48028] [PATCH wip-gnome v3 04/10] gnu: libsoup: Simplify adjustment of tests Raghav Gururajan via Guix-patches via
@ 2021-04-26  9:42     ` Leo Prikler
  2021-04-26 10:31       ` Raghav Gururajan via Guix-patches via
  0 siblings, 1 reply; 84+ messages in thread
From: Leo Prikler @ 2021-04-26  9:42 UTC (permalink / raw)
  To: Raghav Gururajan, 48028

Am Montag, den 26.04.2021, 05:22 -0400 schrieb Raghav Gururajan:
> Switch from using mutiple C files to single meson.build file.
> 
> * gnu/packages/gnome.scm (libsoup)[phases](adjust-tests): Modify.
> ---
>  gnu/packages/gnome.scm | 22 ++++++++--------------
>  1 file changed, 8 insertions(+), 14 deletions(-)
> 
> diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
> index 97cf80c586..c8e7b55f6c 100644
> --- a/gnu/packages/gnome.scm
> +++ b/gnu/packages/gnome.scm
> @@ -4927,20 +4927,14 @@ libxml to ease remote use of the RESTful
> API.")
>                 #t)))
>           (add-after 'unpack 'adjust-tests
>             (lambda _
> -             ;; This test fails due to missing /etc/nsswitch.conf
> -             ;; in the build environment.
> -             (substitute* "tests/socket-test.c"
> -               ((".*/sockets/unconnected.*") ""))
> -
> -             ;; These fail because "subdomain.localhost" does not
> resolve in
> -             ;; the build environment.
> -             (substitute* "tests/hsts-test.c"
> -               ((".*/hsts/basic.*") "")
> -               ((".*/hsts/subdomains.*") "")
> -               ((".*/hsts/superdomain.*") "")
> -               ((".*/hsts/utf8-address.*") ""))
> -             (substitute* "tests/hsts-db-test.c"
> -               ((".*/hsts-db/subdomains.*") ""))
> +             (substitute* "tests/meson.build"
> +               ;; These fail because "subdomain.localhost" does not
> resolve in
> +               ;; the build environment.
> +               (("[ \t]*\\['hsts', true, \\[\\]\\],") "")
> +               (("[ \t]*\\['hsts-db', true, \\[\\]\\],") "")
> +               ;; This test fails due to missing /etc/nsswitch.conf
> +               ;; in the build environment.
> +               (("[ \t]*\\['socket', true, \\[\\]\\],") ""))
>  
>               ;; Generate a self-signed certificate that has
> "localhost" as its
>               ;; 'dnsName'.  Failing to do that, and starting with
> GnuTLS
I'm sorry, but after a closer look, I will have to reject this patch. 
This does far more than just disable a few failing tests, it disables
all tests, that happen to lie in a file with a failing one.  Please
stick to disabling patches in the C files, or if the entire C file
fails just disable that one in meson (but try to see if you can disable
it in C as well).

Regards,
Leo





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

* [bug#48028] [PATCH wip-gnome 5/8] gnu: libsoup: Add missing argument and input.
  2021-04-26  9:28       ` Raghav Gururajan via Guix-patches via
@ 2021-04-26  9:47         ` Leo Prikler
  2021-04-26 10:32           ` Raghav Gururajan via Guix-patches via
  0 siblings, 1 reply; 84+ messages in thread
From: Leo Prikler @ 2021-04-26  9:47 UTC (permalink / raw)
  To: Raghav Gururajan, 48028; +Cc: Mark H Weaver

Am Montag, den 26.04.2021, 05:28 -0400 schrieb Raghav Gururajan:
> Hi Leo!
> 
> > This looks like it could be its own patch were it not for the fact,
> > that samba needs to be added as well (what for?)
> 
> I have split them into two patches and added comment, in v3.
> 
> > That doesn't sound very sure to me.  Why are you wrapping binaries
> > and/or compiling schemas?
> 
> It is mainly for compiling schemas, as libsoup doesn't have binaries
> to 
> wrap. But I just now realized that there is no 
> `[out]/share/glib-2.0/schemas` either. So I removed this in v3.
> 
> > Careful with the indentation.
> 
> Ah, good catch. I have fixed it in v3.
v3 06/07 LGTM, but could in my opinon be merged into a single patch
with the line: "gnu: libsoup: Add missing inputs." or perhaps "gnu:
libsoup: Adjust inputs".  I've CC'd Mark Weaver to hear their input.

Regards,
Leo





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

* [bug#48028] [PATCH wip-gnome v4 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3.
  2021-04-26  8:09 [bug#48028] [PATCH wip-gnome 0/8]: Misc Raghav Gururajan via Guix-patches via
                   ` (2 preceding siblings ...)
  2021-04-26  9:22 ` [bug#48028] [PATCH wip-gnome v3 01/10] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Raghav Gururajan via Guix-patches via
@ 2021-04-26 10:28 ` Raghav Gururajan via Guix-patches via
  2021-04-26 10:28   ` [bug#48028] [PATCH wip-gnome v4 2/8] gnu: gtkmm: Change build-system Raghav Gururajan via Guix-patches via
                     ` (7 more replies)
  2021-04-27  9:23 ` [bug#48028] [PATCH wip-gnome v5 1/8] gnu: gtkmm: Change build-system and adjust arguments accordingly Raghav Gururajan via Guix-patches via
  2021-05-07 21:23 ` bug#48028: (no subject) Raghav Gururajan via Guix-patches via
  5 siblings, 8 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26 10:28 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

Remove inheritance to prevent rebuilds of packages like inkscape
and gtk+, whenever changes are made to gtkmm@3.

* gnu/packages/gtk.scm (gtkmm-2)[build-system,outputs,arguments,
native-inputs,synopsis,description,home-page,license]: New fields.
---
 gnu/packages/gtk.scm | 48 ++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 46 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 04a0db1161..81ac4a7197 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1660,7 +1660,6 @@ tutorial.")
 
 (define-public gtkmm-2
   (package
-    (inherit gtkmm)
     (name "gtkmm")
     (version "2.24.5")
     (source
@@ -1672,12 +1671,57 @@ tutorial.")
                        name "-" version ".tar.xz"))
        (sha256
         (base32 "0wkbzvsx4kgw16f6xjdc1dz7f77ldngdila4yi5lw2zrgcxsb006"))))
+    (build-system glib-or-gtk-build-system)
+    (outputs '("out" "doc"))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'pre-check
+           (lambda _
+             ;; Tests require a running X server.
+             (system "Xvfb :1 +extension GLX &")
+             (setenv "DISPLAY" ":1")
+             ;; For missing '/etc/machine-id'.
+             (setenv "DBUS_FATAL_WARNINGS" "0")
+             #t))
+         (add-after 'install 'move-doc
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (doc (assoc-ref outputs "doc")))
+               (mkdir-p (string-append doc "/share"))
+               (rename-file
+                (string-append out "/share/doc")
+                (string-append doc "/share/doc"))
+               #t))))))
+    (native-inputs
+     `(("dot" ,graphviz)
+       ("doxygen" ,doxygen)
+       ("m4" ,m4)
+       ("mm-common" ,mm-common)
+       ("perl" ,perl)
+       ("pkg-config" ,pkg-config)
+       ("xsltproc" ,libxslt)
+       ("xorg-server" ,xorg-server-for-tests)))
     (propagated-inputs
      `(("atkmm" ,atkmm-2.28)
        ("cairomm" ,cairomm-1.13)
        ("glibmm" ,glibmm-2.64)
        ("gtk+" ,gtk+-2)
-       ("pangomm" ,pangomm-2.42)))))
+       ("pangomm" ,pangomm-2.42)))
+    (synopsis "C++ Interfaces for GTK+ and GNOME")
+    (description "GTKmm is the official C++ interface for the popular GUI
+library GTK+.  Highlights include typesafe callbacks, and a comprehensive set of
+widgets that are easily extensible via inheritance.  You can create user
+interfaces either in code or with the Glade User Interface designer, using
+libglademm.  There's extensive documentation, including API reference and a
+tutorial.")
+    (home-page "https://gtkmm.org/")
+    (license
+     (list
+      ;; Library
+      license:lgpl2.1+
+      ;; Tools
+      license:gpl2+))))
 
 (define-public gtksourceviewmm
   (package
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome v4 2/8] gnu: gtkmm: Change build-system.
  2021-04-26 10:28 ` [bug#48028] [PATCH wip-gnome v4 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Raghav Gururajan via Guix-patches via
@ 2021-04-26 10:28   ` Raghav Gururajan via Guix-patches via
  2021-04-26 10:28   ` [bug#48028] [PATCH wip-gnome v4 3/8] gnu: gtkmm: Add missing native-input and correct propagated-inputs Raghav Gururajan via Guix-patches via
                     ` (6 subsequent siblings)
  7 siblings, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26 10:28 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

Switch to meson-build-system, as its preferred by the project.
Preserve building of documentation.

* gnu/packages/gtk.scm (gtkmm)[build-system]: Change from glib-or-gtk
to meson.
[configure-flags](build-documentation): New flag.
---
 gnu/packages/gtk.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 81ac4a7197..a7e387a47d 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1606,10 +1606,12 @@ library.")
                        name "-" version ".tar.xz"))
        (sha256
         (base32 "0hv7pviln4cpjvpz7m7ga5krcsbibqzixdcn0dwzpz0cx71p3swv"))))
-    (build-system glib-or-gtk-build-system)
+    (build-system meson-build-system)
     (outputs '("out" "doc"))
     (arguments
-     `(#:phases
+     `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
+       #:configure-flags '("-Dbuild-documentation=true")
+       #:phases
        (modify-phases %standard-phases
          (add-before 'check 'pre-check
            (lambda _
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome v4 3/8] gnu: gtkmm: Add missing native-input and correct propagated-inputs.
  2021-04-26 10:28 ` [bug#48028] [PATCH wip-gnome v4 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Raghav Gururajan via Guix-patches via
  2021-04-26 10:28   ` [bug#48028] [PATCH wip-gnome v4 2/8] gnu: gtkmm: Change build-system Raghav Gururajan via Guix-patches via
@ 2021-04-26 10:28   ` Raghav Gururajan via Guix-patches via
  2021-04-26 10:28   ` [bug#48028] [PATCH wip-gnome v4 4/8] gnu: libsoup: Disable ssl-test Raghav Gururajan via Guix-patches via
                     ` (5 subsequent siblings)
  7 siblings, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26 10:28 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

* gnu/packages/gtk.scm (gtkmm)[native-inputs]: Add glib:bin.
[propagated-inputs]: Change; atkmm to atkmm-2.28, pangomm to pangomm-2.42,
and cairomm to cairomm-1.13.
---
 gnu/packages/gtk.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index a7e387a47d..86490115d6 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1633,6 +1633,7 @@ library.")
     (native-inputs
      `(("dot" ,graphviz)
        ("doxygen" ,doxygen)
+       ("glib:bin" ,glib "bin") ; For glib-compile-resources
        ("m4" ,m4)
        ("mm-common" ,mm-common)
        ("perl" ,perl)
@@ -1640,11 +1641,11 @@ library.")
        ("xsltproc" ,libxslt)
        ("xorg-server" ,xorg-server-for-tests)))
     (propagated-inputs
-     `(("atkmm" ,atkmm)
-       ("cairomm" ,cairomm)
+     `(("atkmm" ,atkmm-2.28)
+       ("cairomm" ,cairomm-1.13)
        ("glibmm" ,glibmm)
        ("gtk+" ,gtk+)
-       ("pangomm" ,pangomm)))
+       ("pangomm" ,pangomm-2.42)))
     (synopsis "C++ Interfaces for GTK+ and GNOME")
     (description "GTKmm is the official C++ interface for the popular GUI
 library GTK+.  Highlights include typesafe callbacks, and a comprehensive set of
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome v4 4/8] gnu: libsoup: Disable ssl-test.
  2021-04-26 10:28 ` [bug#48028] [PATCH wip-gnome v4 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Raghav Gururajan via Guix-patches via
  2021-04-26 10:28   ` [bug#48028] [PATCH wip-gnome v4 2/8] gnu: gtkmm: Change build-system Raghav Gururajan via Guix-patches via
  2021-04-26 10:28   ` [bug#48028] [PATCH wip-gnome v4 3/8] gnu: gtkmm: Add missing native-input and correct propagated-inputs Raghav Gururajan via Guix-patches via
@ 2021-04-26 10:28   ` Raghav Gururajan via Guix-patches via
  2021-04-26 10:28   ` [bug#48028] [PATCH wip-gnome v4 5/8] gnu: libsoup: Adjust inputs Raghav Gururajan via Guix-patches via
                     ` (4 subsequent siblings)
  7 siblings, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26 10:28 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

* gnu/packages/gnome.scm (libsoup)[phases](adjust-tests): Modify.
[native-inputs]: Remove gnutls.
---
 gnu/packages/gnome.scm | 48 ++++--------------------------------------
 1 file changed, 4 insertions(+), 44 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 97cf80c586..115e2e7985 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4942,49 +4942,10 @@ libxml to ease remote use of the RESTful API.")
              (substitute* "tests/hsts-db-test.c"
                ((".*/hsts-db/subdomains.*") ""))
 
-             ;; Generate a self-signed certificate that has "localhost" as its
-             ;; 'dnsName'.  Failing to do that, and starting with GnuTLS
-             ;; 3.5.12, tests such as "ssl-tests" fail:
-             ;;
-             ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
-             ;;
-             ;; 'certtool' is interactive so we have to pipe it the answers.
-             ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
-             (let ((pipe (open-output-pipe "certtool --generate-self-signed \
- --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
-               (for-each (lambda (line)
-                           (display line pipe)
-                           (newline pipe))
-                         '(""               ;Common name
-                           ""               ;UID
-                           "Guix"           ;Organizational unit name
-                           "GNU"            ;Organization name
-                           ""               ;Locality name
-                           ""               ;State or province
-                           ""               ;Country
-                           ""               ;subject's domain component (DC)
-                           ""               ;E-mail
-                           ""               ;serial number
-                           "-1"             ;expiration time
-                           "N"              ;belong to authority?
-                           "N"              ;web client certificate?
-                           "N"              ;IPsec IKE?
-                           "Y"              ;web server certificate?
-                           "localhost"      ;dnsName of subject
-                           ""               ;dnsName of subject (end)
-                           ""               ;URI of subject
-                           "127.0.0.1"      ;IP address of subject
-                           ""               ;signing?
-                           ""               ;encryption (RSA)?
-                           ""               ;data encryption?
-                           ""               ;sign OCSP requests?
-                           ""               ;sign code?
-                           ""               ;time stamping?
-                           ""               ;email protection?
-                           ""               ;URI of the CRL distribution point
-                           "y"              ;above info OK?
-                           ))
-               (close-pipe pipe))
+             ;; FIX-ME: ssl-test fails, starting with
+             ;; glib-networking 2.68.x.
+             (substitute* "tests/meson.build"
+               (("[ \t]*\\['ssl', true, \\[\\]\\],") ""))
              #t))
          (add-after 'install 'move-doc
            (lambda* (#:key outputs #:allow-other-keys)
@@ -5006,7 +4967,6 @@ libxml to ease remote use of the RESTful API.")
        ("vala" ,vala)
        ("php" ,php)
        ("curl" ,curl)
-       ("gnutls" ,gnutls)                         ;for 'certtool'
        ("httpd" ,httpd)))
     (propagated-inputs
      ;; libsoup-2.4.pc refers to all these.
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome v4 5/8] gnu: libsoup: Adjust inputs.
  2021-04-26 10:28 ` [bug#48028] [PATCH wip-gnome v4 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Raghav Gururajan via Guix-patches via
                     ` (2 preceding siblings ...)
  2021-04-26 10:28   ` [bug#48028] [PATCH wip-gnome v4 4/8] gnu: libsoup: Disable ssl-test Raghav Gururajan via Guix-patches via
@ 2021-04-26 10:28   ` Raghav Gururajan via Guix-patches via
  2021-04-26 10:28   ` [bug#48028] [PATCH wip-gnome v4 6/8] gnu: libsoup: Update home-page Raghav Gururajan via Guix-patches via
                     ` (3 subsequent siblings)
  7 siblings, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26 10:28 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

* gnu/packages/gnome.scm (libsoup)[inputs]: Add samba and
move glib-networking to ...
[propagated-inputs]: ... here.
---
 gnu/packages/gnome.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 115e2e7985..6b2accc991 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4972,13 +4972,14 @@ libxml to ease remote use of the RESTful API.")
      ;; libsoup-2.4.pc refers to all these.
      `(("brotli" ,google-brotli)
        ("glib" ,glib)
+       ("glib-networking" ,glib-networking)
        ("libpsl" ,libpsl)
        ("libxml2" ,libxml2)
        ("sqlite" ,sqlite)
        ("zlib" ,zlib)))
     (inputs
-     `(("glib-networking" ,glib-networking)
-       ("mit-krb5" ,mit-krb5)))
+     `(("mit-krb5" ,mit-krb5)
+       ("ntlm_auth" ,samba))) ; For ntlm_auth support
     (home-page "https://live.gnome.org/LibSoup/")
     (synopsis "GLib-based HTTP Library")
     (description
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome v4 6/8] gnu: libsoup: Update home-page.
  2021-04-26 10:28 ` [bug#48028] [PATCH wip-gnome v4 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Raghav Gururajan via Guix-patches via
                     ` (3 preceding siblings ...)
  2021-04-26 10:28   ` [bug#48028] [PATCH wip-gnome v4 5/8] gnu: libsoup: Adjust inputs Raghav Gururajan via Guix-patches via
@ 2021-04-26 10:28   ` Raghav Gururajan via Guix-patches via
  2021-04-26 10:28   ` [bug#48028] [PATCH wip-gnome v4 7/8] gnu: python-pycairo: Update to 1.20.0 Raghav Gururajan via Guix-patches via
                     ` (2 subsequent siblings)
  7 siblings, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26 10:28 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

* gnu/packages/gnome.scm (libsoup)[home-page]: Modify.
---
 gnu/packages/gnome.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 6b2accc991..ebba290775 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4980,7 +4980,7 @@ libxml to ease remote use of the RESTful API.")
     (inputs
      `(("mit-krb5" ,mit-krb5)
        ("ntlm_auth" ,samba))) ; For ntlm_auth support
-    (home-page "https://live.gnome.org/LibSoup/")
+    (home-page "https://wiki.gnome.org/Projects/libsoup")
     (synopsis "GLib-based HTTP Library")
     (description
      "LibSoup is an HTTP client/server library for GNOME.  It uses GObjects
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome v4 7/8] gnu: python-pycairo: Update to 1.20.0.
  2021-04-26 10:28 ` [bug#48028] [PATCH wip-gnome v4 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Raghav Gururajan via Guix-patches via
                     ` (4 preceding siblings ...)
  2021-04-26 10:28   ` [bug#48028] [PATCH wip-gnome v4 6/8] gnu: libsoup: Update home-page Raghav Gururajan via Guix-patches via
@ 2021-04-26 10:28   ` Raghav Gururajan via Guix-patches via
  2021-04-26 10:28   ` [bug#48028] [PATCH wip-gnome v4 8/8] gnu: python-pygobject: Update to 3.40.1 Raghav Gururajan via Guix-patches via
  2021-04-26 21:08   ` [bug#48028] [PATCH wip-gnome v4 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Maxime Devos
  7 siblings, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26 10:28 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

* gnu/packages/gtk.scm (python-pycairo)[version]: Update to 1.20.0.
---
 gnu/packages/gtk.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 86490115d6..e7f71fa739 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1761,7 +1761,7 @@ printing and other features typical of a source code editor.")
 (define-public python-pycairo
   (package
     (name "python-pycairo")
-    (version "1.19.1")
+    (version "1.20.0")
     (source
      (origin
       (method url-fetch)
@@ -1769,7 +1769,7 @@ printing and other features typical of a source code editor.")
                           version "/pycairo-" version ".tar.gz"))
       (sha256
        (base32
-        "111fav9m1iagw3nh2ws2vzkjh34r97yl7rdlpvsngsqg521k251c"))))
+        "1326aa2ybhhhrvz3n4p22z5sic25m016ddb5yq0hvbprnw6a35an"))))
     (build-system python-build-system)
     (native-inputs
      `(("pkg-config" ,pkg-config)
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome v4 8/8] gnu: python-pygobject: Update to 3.40.1.
  2021-04-26 10:28 ` [bug#48028] [PATCH wip-gnome v4 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Raghav Gururajan via Guix-patches via
                     ` (5 preceding siblings ...)
  2021-04-26 10:28   ` [bug#48028] [PATCH wip-gnome v4 7/8] gnu: python-pycairo: Update to 1.20.0 Raghav Gururajan via Guix-patches via
@ 2021-04-26 10:28   ` Raghav Gururajan via Guix-patches via
  2021-04-26 21:08   ` [bug#48028] [PATCH wip-gnome v4 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Maxime Devos
  7 siblings, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26 10:28 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

* gnu/packages/glib.scm (python-pygobject)[version]: Update to 3.40.1.
[native-inputs]: Add python-wrapper.
---
 gnu/packages/glib.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index fd88d7329f..31cd13e9c7 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -776,7 +776,7 @@ useful for C++.")
 (define-public python-pygobject
   (package
     (name "python-pygobject")
-    (version "3.34.0")
+    (version "3.40.1")
     (source
      (origin
        (method url-fetch)
@@ -785,7 +785,7 @@ useful for C++.")
                            "/pygobject-" version ".tar.xz"))
        (sha256
         (base32
-         "06i7ynnbvgpz0gw09zsjbvhgcp5qz4yzdifw27qjwdazg2mckql7"))
+         "0d80g5kgf2i9cginyhalvb7ibfk9g30yilqzmcsw6h6byj8xbih0"))
        (modules '((guix build utils)))
        (snippet
         '(begin
@@ -800,7 +800,8 @@ useful for C++.")
     (native-inputs
      `(("glib-bin" ,glib "bin")
        ("pkg-config" ,pkg-config)
-       ("python-pytest" ,python-pytest)))
+       ("python-pytest" ,python-pytest)
+       ("python-wrapper" ,python-wrapper))) ; For patching shebangs
     (inputs
      `(("python" ,python)
        ("python-pycairo" ,python-pycairo)
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome v3 04/10] gnu: libsoup: Simplify adjustment of tests.
  2021-04-26  9:42     ` Leo Prikler
@ 2021-04-26 10:31       ` Raghav Gururajan via Guix-patches via
  0 siblings, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26 10:31 UTC (permalink / raw)
  To: Leo Prikler, 48028


[-- Attachment #1.1.1: Type: text/plain, Size: 558 bytes --]

Hi Leo!

> I'm sorry, but after a closer look, I will have to reject this patch.
> This does far more than just disable a few failing tests, it disables
> all tests, that happen to lie in a file with a failing one.  Please
> stick to disabling patches in the C files, or if the entire C file
> fails just disable that one in meson (but try to see if you can disable
> it in C as well).

No worries! Thanks for the review.

In v4, I have only disabled ssl-test via meson.build, as any of the 
tests included in ssl-test.c fails.

Regards,
RG.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2649 bytes --]

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

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

* [bug#48028] [PATCH wip-gnome 5/8] gnu: libsoup: Add missing argument and input.
  2021-04-26  9:47         ` Leo Prikler
@ 2021-04-26 10:32           ` Raghav Gururajan via Guix-patches via
  2021-04-26 17:26             ` [bug#48028] [PATCH wip-gnome v4 3/8] gnu: gtkmm: Add missing native-input and correct propagated-inputs Mark H Weaver
  0 siblings, 1 reply; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-26 10:32 UTC (permalink / raw)
  To: Leo Prikler, 48028; +Cc: Mark H Weaver


[-- Attachment #1.1.1: Type: text/plain, Size: 310 bytes --]

Hi Leo!

> v3 06/07 LGTM, but could in my opinon be merged into a single patch
> with the line: "gnu: libsoup: Add missing inputs." or perhaps "gnu:
> libsoup: Adjust inputs".  I've CC'd Mark Weaver to hear their input.

Makes sense! I have merged the changes into single patch, in v4.

Regards,
RG.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2649 bytes --]

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

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

* [bug#48028] [PATCH wip-gnome v4 3/8] gnu: gtkmm: Add missing native-input and correct propagated-inputs
  2021-04-26 10:32           ` Raghav Gururajan via Guix-patches via
@ 2021-04-26 17:26             ` Mark H Weaver
  2021-04-27  9:37               ` Raghav Gururajan via Guix-patches via
  0 siblings, 1 reply; 84+ messages in thread
From: Mark H Weaver @ 2021-04-26 17:26 UTC (permalink / raw)
  To: Raghav Gururajan, Leo Prikler, 48028

Hi Raghav,

Version 4 of your patch set mostly looks good to me, but I have one
concern about patch 3 (gnu: gtkmm: Add missing native-input and correct
propagated-inputs).

That patch modifies the 'propagated-inputs' field of 'gtkmm' to refer to
specific versions of packages: 'atkmm-2.28', 'cairomm-1.13', and
'pangomm-2.42'.  These references to specific versions are not ideal,
because:

(1) They will likely lead to conflicts within profiles.  For example, a
profile that includes both 'gtkmm' and 'cairomm' may fail to build,
because it would require including both 'cairomm' and 'cairomm-1.13',
and

(2) We might forget to update these references in the future.

It would be good to avoid these version-specific references, if
possible.  Can you help me understand the rationale?  Did you find that
there is an incompatibility between the latest stable versions of
'gtkmm', 'atkmm', 'cairomm', and 'pangomm'?  If so, could you help me
understand the nature of that incompatibility?  Perhaps it can be
addressed in another way.

If it turns out that these versioned references are truly unavoidable,
it would be good to add comments next to those references, briefly
explaining the rationale.

Thanks very much for your work on this, Raghav.

     Regards,
       Mark

-- 
Support Richard Stallman against the vicious disinformation campaign
against him and the FSF.  See <https://stallmansupport.org> for more.




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

* [bug#48028] [PATCH wip-gnome 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3.
  2021-04-26  8:11 ` [bug#48028] [PATCH wip-gnome 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Raghav Gururajan via Guix-patches via
                     ` (6 preceding siblings ...)
  2021-04-26  8:11   ` [bug#48028] [PATCH wip-gnome 8/8] gnu: python-pygobject: Update to 3.40.1 Raghav Gururajan via Guix-patches via
@ 2021-04-26 20:47   ` Maxime Devos
  2021-04-27  9:29     ` Raghav Gururajan via Guix-patches via
  2021-04-27  9:29     ` Raghav Gururajan via Guix-patches via
  7 siblings, 2 replies; 84+ messages in thread
From: Maxime Devos @ 2021-04-26 20:47 UTC (permalink / raw)
  To: Raghav Gururajan, 48028

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

IIUC, the commit message is ‘gnu: gtkmm@2: Remove inheritance from gtkmm@3’.
But this patch also adds some inputs, a description, starts an X server
for tests, places documentation in the correct place ... Could you split
up this patch?

Raghav Gururajan via Guix-patches via schreef op ma 26-04-2021 om 04:11 [-0400]:
> Remove inheritance to prevent rebuilds of packages like inkscape
> and gtk+, whenever changes are made gtkmm@3.

If changes are made to gtkmm@3, wouldn't gtkmm@2 require similar changes
anyway?
For example ...

> * gnu/packages/gtk.scm (gtkmm-2)[build-system,outputs,arguments,
> native-inputs,synopsis,description,home-page,license]: New fields.
> ---
>  gnu/packages/gtk.scm | 48 ++++++++++++++++++++++++++++++++++++++++++--
>  1 file changed, 46 insertions(+), 2 deletions(-)
> 
> diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
> index 04a0db1161..81ac4a7197 100644
> --- a/gnu/packages/gtk.scm
> +++ b/gnu/packages/gtk.scm
> @@ -1660,7 +1660,6 @@ tutorial.")
>  
>  (define-public gtkmm-2
>    (package
> -    (inherit gtkmm)
>      (name "gtkmm")
>      (version "2.24.5")
>      (source
> @@ -1672,12 +1671,57 @@ tutorial.")
>                         name "-" version ".tar.xz"))
>         (sha256
>          (base32 "0wkbzvsx4kgw16f6xjdc1dz7f77ldngdila4yi5lw2zrgcxsb006"))))
> +    (build-system glib-or-gtk-build-system)
> +    (outputs '("out" "doc"))
> +    (arguments

btw, the following has been dropped in
<https://git.savannah.gnu.org/cgit/guix.git/commit/?h=wip-gnome&id=26511b7aed03fcf5175fe29ba9a51de4fe4ee3c9>,
I wonder why?

My guess: disallowed-references refers to the wrong version when cross-compiling.
But that seems rather harmless to me?  (Though ideally there would be exist a
disallowed-references/native or something ...)

> +     `(#:phases
> +       (modify-phases %standard-phases
> +         (add-before 'check 'pre-check
> +           (lambda _
> +             ;; Tests require a running X server.
> +             (system "Xvfb :1 +extension GLX &")
> +             (setenv "DISPLAY" ":1")
> +             ;; For missing '/etc/machine-id'.
> +             (setenv "DBUS_FATAL_WARNINGS" "0")
> +             #t))
> +         (add-after 'install 'move-doc
> +           (lambda* (#:key outputs #:allow-other-keys)
> +             (let* ((out (assoc-ref outputs "out"))
> +                    (doc (assoc-ref outputs "doc")))
> +               (mkdir-p (string-append doc "/share"))
> +               (rename-file
> +                (string-append out "/share/doc")
> +                (string-append doc "/share/doc"))
> +               #t))))))

These phases were added to gtkmm@3 in
<https://git.savannah.gnu.org/cgit/guix.git/commit/?h=wip-gnome&id=26511b7aed03fcf5175fe29ba9a51de4fe4ee3c9>.
It seems they are also required in gtkmm@2.

> +    (native-inputs
> +     `(("dot" ,graphviz)
> +       ("doxygen" ,doxygen)
> +       ("m4" ,m4)
> +       ("mm-common" ,mm-common)
> +       ("perl" ,perl)
> +       ("pkg-config" ,pkg-config)
> +       ("xsltproc" ,libxslt)
> +       ("xorg-server" ,xorg-server-for-tests)))

Likewise.

>      (propagated-inputs
>       `(("atkmm" ,atkmm-2.28)
>         ("cairomm" ,cairomm-1.13)
>         ("glibmm" ,glibmm-2.64)
>         ("gtk+" ,gtk+-2)
> -       ("pangomm" ,pangomm-2.42)))))
> +       ("pangomm" ,pangomm-2.42)))
> +    (synopsis "C++ Interfaces for GTK+ and GNOME")
> +    (description "GTKmm is the official C++ interface for the popular GUI
> +library GTK+.  Highlights include typesafe callbacks, and a comprehensive set of
> +widgets that are easily extensible via inheritance.  You can create user
> +interfaces either in code or with the Glade User Interface designer, using
> +libglademm.  There's extensive documentation, including API reference and a
> +tutorial.")

Duplication.

> +    (home-page "https://gtkmm.org/")
> +    (license
> +     (list
> +      ;; Library
> +      license:lgpl2.1+
> +      ;; Tools
> +      license:gpl2+))))

More duplication.

So I don't see the value of removing inheritance from gtkmm@3.

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* [bug#48028] [PATCH wip-gnome 3/8] gnu: gtkmm: Add missing native-input and correct propagated-inputs.
  2021-04-26  8:11   ` [bug#48028] [PATCH wip-gnome 3/8] gnu: gtkmm: Add missing native-input and correct propagated-inputs Raghav Gururajan via Guix-patches via
@ 2021-04-26 20:52     ` Maxime Devos
  2021-04-27  9:32       ` Raghav Gururajan via Guix-patches via
  0 siblings, 1 reply; 84+ messages in thread
From: Maxime Devos @ 2021-04-26 20:52 UTC (permalink / raw)
  To: Raghav Gururajan, 48028

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

Raghav Gururajan via Guix-patches via schreef op ma 26-04-2021 om 04:11 [-0400]:
> * gnu/packages/gtk.scm (gtkmm)[native-inputs]: Add glib:bin.

Maybe make this "Add glib:lib for glib-compile-resources" for clarity.
> [propagated-inputs]: Change; atkmm to atkmm-2.28, pangomm to pangomm-2.42,
> and cairomm to cairomm-1.13.
See comment below.

> ---
>  gnu/packages/gtk.scm | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
> index a7e387a47d..86490115d6 100644
> --- a/gnu/packages/gtk.scm
> +++ b/gnu/packages/gtk.scm
> @@ -1633,6 +1633,7 @@ library.")
>      (native-inputs
>       `(("dot" ,graphviz)
>         ("doxygen" ,doxygen)
> +       ("glib:bin" ,glib "bin") ; For glib-compile-resources
LGTM

>         ("m4" ,m4)
>         ("mm-common" ,mm-common)
>         ("perl" ,perl)
> @@ -1640,11 +1641,11 @@ library.")
>         ("xsltproc" ,libxslt)
>         ("xorg-server" ,xorg-server-for-tests)))
>      (propagated-inputs
> -     `(("atkmm" ,atkmm)
> -       ("cairomm" ,cairomm)
> +     `(("atkmm" ,atkmm-2.28)
> +       ("cairomm" ,cairomm-1.13)
>         ("glibmm" ,glibmm)
>         ("gtk+" ,gtk+)
> -       ("pangomm" ,pangomm)))
> +       ("pangomm" ,pangomm-2.42)))

What makes the old propageted-inputs incorrect, and the new ones correct?
Has there been an ABI change or something, or does GTKmm now require new
APIs?  Could you add a little comment why the old inputs were incorrect
in the commit message?

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* [bug#48028] [PATCH wip-gnome v2 05/10] gnu: libsoup: Disable ssl-test.
  2021-04-26  9:08   ` [bug#48028] [PATCH wip-gnome v2 05/10] gnu: libsoup: Disable ssl-test Raghav Gururajan via Guix-patches via
@ 2021-04-26 20:58     ` Maxime Devos
  2021-04-27  9:33       ` Raghav Gururajan via Guix-patches via
  0 siblings, 1 reply; 84+ messages in thread
From: Maxime Devos @ 2021-04-26 20:58 UTC (permalink / raw)
  To: Raghav Gururajan, 48028

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

Raghav Gururajan via Guix-patches via schreef op ma 26-04-2021 om 05:08 [-0400]:
> +               ;; FIX-ME: ssl-test fails, starting with

The convention seems to be FIXME and not FIX-ME.
Only 3 hits for "git grep -F FIX-ME", and 612 hits for
"git grep -F FIXME" in some random branch.

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* [bug#48028] [PATCH wip-gnome v2 06/10] gnu: libsoup: Add missing argument and input.
  2021-04-26  9:08   ` [bug#48028] [PATCH wip-gnome v2 06/10] gnu: libsoup: Add missing argument and input Raghav Gururajan via Guix-patches via
@ 2021-04-26 21:02     ` Maxime Devos
  2021-04-27  9:34       ` Raghav Gururajan via Guix-patches via
  0 siblings, 1 reply; 84+ messages in thread
From: Maxime Devos @ 2021-04-26 21:02 UTC (permalink / raw)
  To: Raghav Gururajan, 48028

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

Raghav Gururajan via Guix-patches via schreef op ma 26-04-2021 om 05:08 [-0400]:
> * gnu/packages/gnome.scm (libsoup)[arguments](glib-or-gtk): New argument.
> [inputs]: Add samba.
> ---
> [...]
> +       #:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
> [...]
> +       ("ntlm_auth" ,samba))) ; For ntlm_auth support

A clearer commit message would be:
  libsoup: Add input for NTLM-based authentication
and:
  libsoup: Wrap and/or compile schemas.

(+ the usual * gnu/STUFF (package)[arguments].... of course)

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* [bug#48028] [PATCH wip-gnome v4 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3.
  2021-04-26 10:28 ` [bug#48028] [PATCH wip-gnome v4 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Raghav Gururajan via Guix-patches via
                     ` (6 preceding siblings ...)
  2021-04-26 10:28   ` [bug#48028] [PATCH wip-gnome v4 8/8] gnu: python-pygobject: Update to 3.40.1 Raghav Gururajan via Guix-patches via
@ 2021-04-26 21:08   ` Maxime Devos
  7 siblings, 0 replies; 84+ messages in thread
From: Maxime Devos @ 2021-04-26 21:08 UTC (permalink / raw)
  To: Raghav Gururajan, 48028

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

That were all my reviews!  Every patch I didn't reply to looked good
to me.  Except the patch with disabling tests, GNUtls and soup, where
I remain neutral.

Thanks for working on this!
Note: I didn't test this.

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* [bug#48028] [PATCH wip-gnome v5 1/8] gnu: gtkmm: Change build-system and adjust arguments accordingly.
  2021-04-26  8:09 [bug#48028] [PATCH wip-gnome 0/8]: Misc Raghav Gururajan via Guix-patches via
                   ` (3 preceding siblings ...)
  2021-04-26 10:28 ` [bug#48028] [PATCH wip-gnome v4 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Raghav Gururajan via Guix-patches via
@ 2021-04-27  9:23 ` Raghav Gururajan via Guix-patches via
  2021-04-27  9:23   ` [bug#48028] [PATCH wip-gnome v5 2/8] gnu: gtkmm@2: Override inheritance of certain changes from gtkmm Raghav Gururajan via Guix-patches via
                     ` (6 more replies)
  2021-05-07 21:23 ` bug#48028: (no subject) Raghav Gururajan via Guix-patches via
  5 siblings, 7 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-27  9:23 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

Switch to meson-build-system, as its preferred by the project.
Preserve building of documentation.

* gnu/packages/gtk.scm (gtkmm)[build-system]: Change from glib-or-gtk
to meson.
[configure-flags](build-documentation): New flag.
---
 gnu/packages/gtk.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 04a0db1161..3aa8967ca5 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1606,10 +1606,11 @@ library.")
                        name "-" version ".tar.xz"))
        (sha256
         (base32 "0hv7pviln4cpjvpz7m7ga5krcsbibqzixdcn0dwzpz0cx71p3swv"))))
-    (build-system glib-or-gtk-build-system)
+    (build-system meson-build-system)
     (outputs '("out" "doc"))
     (arguments
-     `(#:phases
+     `(#:configure-flags '("-Dbuild-documentation=true")
+       #:phases
        (modify-phases %standard-phases
          (add-before 'check 'pre-check
            (lambda _
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome v5 2/8] gnu: gtkmm@2: Override inheritance of certain changes from gtkmm.
  2021-04-27  9:23 ` [bug#48028] [PATCH wip-gnome v5 1/8] gnu: gtkmm: Change build-system and adjust arguments accordingly Raghav Gururajan via Guix-patches via
@ 2021-04-27  9:23   ` Raghav Gururajan via Guix-patches via
  2021-04-27 17:42     ` Maxime Devos
  2021-04-27  9:23   ` [bug#48028] [PATCH wip-gnome v5 3/8] gnu: gtkmm: Add missing native-input and correct propagated-inputs Raghav Gururajan via Guix-patches via
                     ` (5 subsequent siblings)
  6 siblings, 1 reply; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-27  9:23 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

Recent changes made to gtkmm (d7974adbed019160c10036b040e8d9ff789cbc26),
are not applicable to gtkmm@2, as the latter does not use meson.

* gnu/packages/gtk.scm (gtkmm-2)[build-system]: New field.
[arguments]: New field.
---
 gnu/packages/gtk.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 3aa8967ca5..91bdfde092 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1673,6 +1673,16 @@ tutorial.")
                        name "-" version ".tar.xz"))
        (sha256
         (base32 "0wkbzvsx4kgw16f6xjdc1dz7f77ldngdila4yi5lw2zrgcxsb006"))))
+    (build-system gnu-build-system)
+    (arguments
+     (substitute-keyword-arguments (package-arguments gtkmm)
+       ((#:modules modules %gnu-build-system-modules)
+        `((srfi srfi-1)
+          ,@modules))
+       ((#:configure-flags flags)
+        `(fold delete
+               ,flags
+               '("-Dbuild-documentation=true")))))
     (propagated-inputs
      `(("atkmm" ,atkmm-2.28)
        ("cairomm" ,cairomm-1.13)
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome v5 3/8] gnu: gtkmm: Add missing native-input and correct propagated-inputs.
  2021-04-27  9:23 ` [bug#48028] [PATCH wip-gnome v5 1/8] gnu: gtkmm: Change build-system and adjust arguments accordingly Raghav Gururajan via Guix-patches via
  2021-04-27  9:23   ` [bug#48028] [PATCH wip-gnome v5 2/8] gnu: gtkmm@2: Override inheritance of certain changes from gtkmm Raghav Gururajan via Guix-patches via
@ 2021-04-27  9:23   ` Raghav Gururajan via Guix-patches via
  2021-04-27 17:43     ` Maxime Devos
  2021-04-27  9:23   ` [bug#48028] [PATCH wip-gnome v5 4/8] gnu: libsoup: Disable ssl-test Raghav Gururajan via Guix-patches via
                     ` (4 subsequent siblings)
  6 siblings, 1 reply; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-27  9:23 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

* gnu/packages/gtk.scm (gtkmm)[native-inputs]: Add glib:bin.
[propagated-inputs]: Change; atkmm to atkmm-2.28, pangomm to pangomm-2.42,
and cairomm to cairomm-1.13.
---
 gnu/packages/gtk.scm | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 91bdfde092..f310e1c306 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1632,6 +1632,7 @@ library.")
     (native-inputs
      `(("dot" ,graphviz)
        ("doxygen" ,doxygen)
+       ("glib:bin" ,glib "bin") ; For glib-compile-resources
        ("m4" ,m4)
        ("mm-common" ,mm-common)
        ("perl" ,perl)
@@ -1639,11 +1640,14 @@ library.")
        ("xsltproc" ,libxslt)
        ("xorg-server" ,xorg-server-for-tests)))
     (propagated-inputs
-     `(("atkmm" ,atkmm)
-       ("cairomm" ,cairomm)
+     ;; Latest versions of atkmm, cairomm and pangomm,
+     ;; are ABI incompatible with gtkmm.
+     ;; Pkg-config checks for these ABI versions.
+     `(("atkmm" ,atkmm-2.28)
+       ("cairomm" ,cairomm-1.13)
        ("glibmm" ,glibmm)
        ("gtk+" ,gtk+)
-       ("pangomm" ,pangomm)))
+       ("pangomm" ,pangomm-2.42)))
     (synopsis "C++ Interfaces for GTK+ and GNOME")
     (description "GTKmm is the official C++ interface for the popular GUI
 library GTK+.  Highlights include typesafe callbacks, and a comprehensive set of
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome v5 4/8] gnu: libsoup: Disable ssl-test.
  2021-04-27  9:23 ` [bug#48028] [PATCH wip-gnome v5 1/8] gnu: gtkmm: Change build-system and adjust arguments accordingly Raghav Gururajan via Guix-patches via
  2021-04-27  9:23   ` [bug#48028] [PATCH wip-gnome v5 2/8] gnu: gtkmm@2: Override inheritance of certain changes from gtkmm Raghav Gururajan via Guix-patches via
  2021-04-27  9:23   ` [bug#48028] [PATCH wip-gnome v5 3/8] gnu: gtkmm: Add missing native-input and correct propagated-inputs Raghav Gururajan via Guix-patches via
@ 2021-04-27  9:23   ` Raghav Gururajan via Guix-patches via
  2021-04-27  9:23   ` [bug#48028] [PATCH wip-gnome v5 5/8] gnu: libsoup: Adjust inputs Raghav Gururajan via Guix-patches via
                     ` (3 subsequent siblings)
  6 siblings, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-27  9:23 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

* gnu/packages/gnome.scm (libsoup)[phases](adjust-tests): Modify.
[native-inputs]: Remove gnutls.
---
 gnu/packages/gnome.scm | 48 ++++--------------------------------------
 1 file changed, 4 insertions(+), 44 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 97cf80c586..51a72c4e58 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4942,49 +4942,10 @@ libxml to ease remote use of the RESTful API.")
              (substitute* "tests/hsts-db-test.c"
                ((".*/hsts-db/subdomains.*") ""))
 
-             ;; Generate a self-signed certificate that has "localhost" as its
-             ;; 'dnsName'.  Failing to do that, and starting with GnuTLS
-             ;; 3.5.12, tests such as "ssl-tests" fail:
-             ;;
-             ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
-             ;;
-             ;; 'certtool' is interactive so we have to pipe it the answers.
-             ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
-             (let ((pipe (open-output-pipe "certtool --generate-self-signed \
- --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
-               (for-each (lambda (line)
-                           (display line pipe)
-                           (newline pipe))
-                         '(""               ;Common name
-                           ""               ;UID
-                           "Guix"           ;Organizational unit name
-                           "GNU"            ;Organization name
-                           ""               ;Locality name
-                           ""               ;State or province
-                           ""               ;Country
-                           ""               ;subject's domain component (DC)
-                           ""               ;E-mail
-                           ""               ;serial number
-                           "-1"             ;expiration time
-                           "N"              ;belong to authority?
-                           "N"              ;web client certificate?
-                           "N"              ;IPsec IKE?
-                           "Y"              ;web server certificate?
-                           "localhost"      ;dnsName of subject
-                           ""               ;dnsName of subject (end)
-                           ""               ;URI of subject
-                           "127.0.0.1"      ;IP address of subject
-                           ""               ;signing?
-                           ""               ;encryption (RSA)?
-                           ""               ;data encryption?
-                           ""               ;sign OCSP requests?
-                           ""               ;sign code?
-                           ""               ;time stamping?
-                           ""               ;email protection?
-                           ""               ;URI of the CRL distribution point
-                           "y"              ;above info OK?
-                           ))
-               (close-pipe pipe))
+             ;; FIXME: ssl-test fails, starting with
+             ;; glib-networking 2.68.x.
+             (substitute* "tests/meson.build"
+               (("[ \t]*\\['ssl', true, \\[\\]\\],") ""))
              #t))
          (add-after 'install 'move-doc
            (lambda* (#:key outputs #:allow-other-keys)
@@ -5006,7 +4967,6 @@ libxml to ease remote use of the RESTful API.")
        ("vala" ,vala)
        ("php" ,php)
        ("curl" ,curl)
-       ("gnutls" ,gnutls)                         ;for 'certtool'
        ("httpd" ,httpd)))
     (propagated-inputs
      ;; libsoup-2.4.pc refers to all these.
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome v5 5/8] gnu: libsoup: Adjust inputs.
  2021-04-27  9:23 ` [bug#48028] [PATCH wip-gnome v5 1/8] gnu: gtkmm: Change build-system and adjust arguments accordingly Raghav Gururajan via Guix-patches via
                     ` (2 preceding siblings ...)
  2021-04-27  9:23   ` [bug#48028] [PATCH wip-gnome v5 4/8] gnu: libsoup: Disable ssl-test Raghav Gururajan via Guix-patches via
@ 2021-04-27  9:23   ` Raghav Gururajan via Guix-patches via
  2021-04-28  7:41     ` Leo Prikler
  2021-04-27  9:23   ` [bug#48028] [PATCH wip-gnome v5 6/8] gnu: libsoup: Update home-page Raghav Gururajan via Guix-patches via
                     ` (2 subsequent siblings)
  6 siblings, 1 reply; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-27  9:23 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

* gnu/packages/gnome.scm (libsoup)[inputs]: Add samba and
move glib-networking to ...
[propagated-inputs]: ... here.
---
 gnu/packages/gnome.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 51a72c4e58..e9924b67a0 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4972,13 +4972,14 @@ libxml to ease remote use of the RESTful API.")
      ;; libsoup-2.4.pc refers to all these.
      `(("brotli" ,google-brotli)
        ("glib" ,glib)
+       ("glib-networking" ,glib-networking)
        ("libpsl" ,libpsl)
        ("libxml2" ,libxml2)
        ("sqlite" ,sqlite)
        ("zlib" ,zlib)))
     (inputs
-     `(("glib-networking" ,glib-networking)
-       ("mit-krb5" ,mit-krb5)))
+     `(("mit-krb5" ,mit-krb5)
+       ("ntlm_auth" ,samba))) ; For ntlm_auth support
     (home-page "https://live.gnome.org/LibSoup/")
     (synopsis "GLib-based HTTP Library")
     (description
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome v5 6/8] gnu: libsoup: Update home-page.
  2021-04-27  9:23 ` [bug#48028] [PATCH wip-gnome v5 1/8] gnu: gtkmm: Change build-system and adjust arguments accordingly Raghav Gururajan via Guix-patches via
                     ` (3 preceding siblings ...)
  2021-04-27  9:23   ` [bug#48028] [PATCH wip-gnome v5 5/8] gnu: libsoup: Adjust inputs Raghav Gururajan via Guix-patches via
@ 2021-04-27  9:23   ` Raghav Gururajan via Guix-patches via
  2021-04-27  9:23   ` [bug#48028] [PATCH wip-gnome v5 7/8] gnu: python-pycairo: Update to 1.20.0 Raghav Gururajan via Guix-patches via
  2021-04-27  9:23   ` [bug#48028] [PATCH wip-gnome v5 8/8] gnu: python-pygobject: Update to 3.40.1 Raghav Gururajan via Guix-patches via
  6 siblings, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-27  9:23 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

* gnu/packages/gnome.scm (libsoup)[home-page]: Modify.
---
 gnu/packages/gnome.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index e9924b67a0..3e6eb9ee00 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4980,7 +4980,7 @@ libxml to ease remote use of the RESTful API.")
     (inputs
      `(("mit-krb5" ,mit-krb5)
        ("ntlm_auth" ,samba))) ; For ntlm_auth support
-    (home-page "https://live.gnome.org/LibSoup/")
+    (home-page "https://wiki.gnome.org/Projects/libsoup")
     (synopsis "GLib-based HTTP Library")
     (description
      "LibSoup is an HTTP client/server library for GNOME.  It uses GObjects
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome v5 7/8] gnu: python-pycairo: Update to 1.20.0.
  2021-04-27  9:23 ` [bug#48028] [PATCH wip-gnome v5 1/8] gnu: gtkmm: Change build-system and adjust arguments accordingly Raghav Gururajan via Guix-patches via
                     ` (4 preceding siblings ...)
  2021-04-27  9:23   ` [bug#48028] [PATCH wip-gnome v5 6/8] gnu: libsoup: Update home-page Raghav Gururajan via Guix-patches via
@ 2021-04-27  9:23   ` Raghav Gururajan via Guix-patches via
  2021-04-27  9:23   ` [bug#48028] [PATCH wip-gnome v5 8/8] gnu: python-pygobject: Update to 3.40.1 Raghav Gururajan via Guix-patches via
  6 siblings, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-27  9:23 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

* gnu/packages/gtk.scm (python-pycairo)[version]: Update to 1.20.0.
---
 gnu/packages/gtk.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index f310e1c306..8b17d66632 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1729,7 +1729,7 @@ printing and other features typical of a source code editor.")
 (define-public python-pycairo
   (package
     (name "python-pycairo")
-    (version "1.19.1")
+    (version "1.20.0")
     (source
      (origin
       (method url-fetch)
@@ -1737,7 +1737,7 @@ printing and other features typical of a source code editor.")
                           version "/pycairo-" version ".tar.gz"))
       (sha256
        (base32
-        "111fav9m1iagw3nh2ws2vzkjh34r97yl7rdlpvsngsqg521k251c"))))
+        "1326aa2ybhhhrvz3n4p22z5sic25m016ddb5yq0hvbprnw6a35an"))))
     (build-system python-build-system)
     (native-inputs
      `(("pkg-config" ,pkg-config)
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome v5 8/8] gnu: python-pygobject: Update to 3.40.1.
  2021-04-27  9:23 ` [bug#48028] [PATCH wip-gnome v5 1/8] gnu: gtkmm: Change build-system and adjust arguments accordingly Raghav Gururajan via Guix-patches via
                     ` (5 preceding siblings ...)
  2021-04-27  9:23   ` [bug#48028] [PATCH wip-gnome v5 7/8] gnu: python-pycairo: Update to 1.20.0 Raghav Gururajan via Guix-patches via
@ 2021-04-27  9:23   ` Raghav Gururajan via Guix-patches via
  6 siblings, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-27  9:23 UTC (permalink / raw)
  To: 48028; +Cc: Raghav Gururajan

* gnu/packages/glib.scm (python-pygobject)[version]: Update to 3.40.1.
[native-inputs]: Add python-wrapper.
---
 gnu/packages/glib.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index fd88d7329f..31cd13e9c7 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -776,7 +776,7 @@ useful for C++.")
 (define-public python-pygobject
   (package
     (name "python-pygobject")
-    (version "3.34.0")
+    (version "3.40.1")
     (source
      (origin
        (method url-fetch)
@@ -785,7 +785,7 @@ useful for C++.")
                            "/pygobject-" version ".tar.xz"))
        (sha256
         (base32
-         "06i7ynnbvgpz0gw09zsjbvhgcp5qz4yzdifw27qjwdazg2mckql7"))
+         "0d80g5kgf2i9cginyhalvb7ibfk9g30yilqzmcsw6h6byj8xbih0"))
        (modules '((guix build utils)))
        (snippet
         '(begin
@@ -800,7 +800,8 @@ useful for C++.")
     (native-inputs
      `(("glib-bin" ,glib "bin")
        ("pkg-config" ,pkg-config)
-       ("python-pytest" ,python-pytest)))
+       ("python-pytest" ,python-pytest)
+       ("python-wrapper" ,python-wrapper))) ; For patching shebangs
     (inputs
      `(("python" ,python)
        ("python-pycairo" ,python-pycairo)
-- 
2.31.1





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

* [bug#48028] [PATCH wip-gnome 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3.
  2021-04-26 20:47   ` [bug#48028] [PATCH wip-gnome 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Maxime Devos
@ 2021-04-27  9:29     ` Raghav Gururajan via Guix-patches via
  2021-04-27  9:29     ` Raghav Gururajan via Guix-patches via
  1 sibling, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-27  9:29 UTC (permalink / raw)
  To: Maxime Devos, 48028


[-- Attachment #1.1.1: Type: text/plain, Size: 92 bytes --]

Hi Maxime,

Thanks for the review.

I have revised the patches in v5.

Regards,
RG.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2649 bytes --]

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

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

* [bug#48028] [PATCH wip-gnome 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3.
  2021-04-26 20:47   ` [bug#48028] [PATCH wip-gnome 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Maxime Devos
  2021-04-27  9:29     ` Raghav Gururajan via Guix-patches via
@ 2021-04-27  9:29     ` Raghav Gururajan via Guix-patches via
  1 sibling, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-27  9:29 UTC (permalink / raw)
  To: Maxime Devos, 48028


[-- Attachment #1.1.1: Type: text/plain, Size: 92 bytes --]

Hi Maxime,

Thanks for the review.

I have revised the patches in v5.

Regards,
RG.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2649 bytes --]

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

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

* [bug#48028] [PATCH wip-gnome 3/8] gnu: gtkmm: Add missing native-input and correct propagated-inputs.
  2021-04-26 20:52     ` Maxime Devos
@ 2021-04-27  9:32       ` Raghav Gururajan via Guix-patches via
  0 siblings, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-27  9:32 UTC (permalink / raw)
  To: Maxime Devos, 48028


[-- Attachment #1.1.1: Type: text/plain, Size: 475 bytes --]

Hi Maxime,

> Maybe make this "Add glib:lib for glib-compile-resources" for clarity.

But that wouldn't involve other changes.

> What makes the old propageted-inputs incorrect, and the new ones correct?
> Has there been an ABI change or something, or does GTKmm now require new
> APIs?  Could you add a little comment why the old inputs were incorrect
> in the commit message?

It's ABI incompatibility. I have added comment in the code, in v5.

Regards,
RG.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2649 bytes --]

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

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

* [bug#48028] [PATCH wip-gnome v2 05/10] gnu: libsoup: Disable ssl-test.
  2021-04-26 20:58     ` Maxime Devos
@ 2021-04-27  9:33       ` Raghav Gururajan via Guix-patches via
  0 siblings, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-27  9:33 UTC (permalink / raw)
  To: Maxime Devos, 48028


[-- Attachment #1.1.1: Type: text/plain, Size: 211 bytes --]

Hi Maxime,

> The convention seems to be FIXME and not FIX-ME.
> Only 3 hits for "git grep -F FIX-ME", and 612 hits for
> "git grep -F FIXME" in some random branch.

Fixed in v5. Thanks!

Regards,
RG.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2649 bytes --]

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

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

* [bug#48028] [PATCH wip-gnome v2 06/10] gnu: libsoup: Add missing argument and input.
  2021-04-26 21:02     ` Maxime Devos
@ 2021-04-27  9:34       ` Raghav Gururajan via Guix-patches via
  0 siblings, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-27  9:34 UTC (permalink / raw)
  To: Maxime Devos, 48028


[-- Attachment #1.1.1: Type: text/plain, Size: 307 bytes --]

Hi Maxime,

> A clearer commit message would be:
>    libsoup: Add input for NTLM-based authentication
> and:
>    libsoup: Wrap and/or compile schemas.
> 
> (+ the usual * gnu/STUFF (package)[arguments].... of course)

This patch is no longer applicable as-is, starting from v3.

Regards,
RG.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2649 bytes --]

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

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

* [bug#48028] [PATCH wip-gnome v4 3/8] gnu: gtkmm: Add missing native-input and correct propagated-inputs
  2021-04-26 17:26             ` [bug#48028] [PATCH wip-gnome v4 3/8] gnu: gtkmm: Add missing native-input and correct propagated-inputs Mark H Weaver
@ 2021-04-27  9:37               ` Raghav Gururajan via Guix-patches via
  2021-04-27 21:49                 ` Mark H Weaver
  0 siblings, 1 reply; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-27  9:37 UTC (permalink / raw)
  To: Mark H Weaver, Leo Prikler, 48028


[-- Attachment #1.1.1: Type: text/plain, Size: 761 bytes --]

Hi Mark,

> It would be good to avoid these version-specific references, if
> possible.  Can you help me understand the rationale?  Did you find that
> there is an incompatibility between the latest stable versions of
> 'gtkmm', 'atkmm', 'cairomm', and 'pangomm'?  If so, could you help me
> understand the nature of that incompatibility?  Perhaps it can be
> addressed in another way.

Its because of ABI incompatibility. The pkg-config for gtkmm, checks for 
specific ABI versions of atkmm, cairomm and pangomm.

> If it turns out that these versioned references are truly unavoidable,
> it would be good to add comments next to those references, briefly
> explaining the rationale.

I have added comment in the code, in v5.

Regards,
RG.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2649 bytes --]

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

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

* [bug#48028] [PATCH wip-gnome v5 2/8] gnu: gtkmm@2: Override inheritance of certain changes from gtkmm.
  2021-04-27  9:23   ` [bug#48028] [PATCH wip-gnome v5 2/8] gnu: gtkmm@2: Override inheritance of certain changes from gtkmm Raghav Gururajan via Guix-patches via
@ 2021-04-27 17:42     ` Maxime Devos
  0 siblings, 0 replies; 84+ messages in thread
From: Maxime Devos @ 2021-04-27 17:42 UTC (permalink / raw)
  To: Raghav Gururajan, 48028

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

Raghav Gururajan via Guix-patches via schreef op di 27-04-2021 om 05:23 [-0400]:
> Recent changes made to gtkmm (d7974adbed019160c10036b040e8d9ff789cbc26),
> are not applicable to gtkmm@2, as the latter does not use meson.
> 
> * gnu/packages/gtk.scm (gtkmm-2)[build-system]: New field.
> [arguments]: New field.

This new patch addresses my remark about inheritance.

Thanks,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* [bug#48028] [PATCH wip-gnome v5 3/8] gnu: gtkmm: Add missing native-input and correct propagated-inputs.
  2021-04-27  9:23   ` [bug#48028] [PATCH wip-gnome v5 3/8] gnu: gtkmm: Add missing native-input and correct propagated-inputs Raghav Gururajan via Guix-patches via
@ 2021-04-27 17:43     ` Maxime Devos
  0 siblings, 0 replies; 84+ messages in thread
From: Maxime Devos @ 2021-04-27 17:43 UTC (permalink / raw)
  To: Raghav Gururajan, 48028

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

Raghav Gururajan via Guix-patches via schreef op di 27-04-2021 om 05:23 [-0400]:
> +     ;; Latest versions of atkmm, cairomm and pangomm,
> +     ;; are ABI incompatible with gtkmm.
> +     ;; Pkg-config checks for these ABI versions.

This addresses my remarks, thanks!

Greetings,
Maxme.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* [bug#48028] [PATCH wip-gnome v4 3/8] gnu: gtkmm: Add missing native-input and correct propagated-inputs
  2021-04-27  9:37               ` Raghav Gururajan via Guix-patches via
@ 2021-04-27 21:49                 ` Mark H Weaver
  2021-05-05 19:06                   ` Raghav Gururajan via Guix-patches via
  0 siblings, 1 reply; 84+ messages in thread
From: Mark H Weaver @ 2021-04-27 21:49 UTC (permalink / raw)
  To: Raghav Gururajan, Leo Prikler, 48028

Hi Raghav,

Raghav Gururajan <rg@raghavgururajan.name> writes:

>> It would be good to avoid these version-specific references, if
>> possible.  Can you help me understand the rationale?  Did you find that
>> there is an incompatibility between the latest stable versions of
>> 'gtkmm', 'atkmm', 'cairomm', and 'pangomm'?  If so, could you help me
>> understand the nature of that incompatibility?  Perhaps it can be
>> addressed in another way.
>
> Its because of ABI incompatibility. The pkg-config for gtkmm, checks for 
> specific ABI versions of atkmm, cairomm and pangomm.
>
>> If it turns out that these versioned references are truly unavoidable,
>> it would be good to add comments next to those references, briefly
>> explaining the rationale.
>
> I have added comment in the code, in v5.

Respectfully, it seems to me that you've been too quick to dismiss my
concerns.  As I pointed out in my previous email:

  (1) [These versioned references] will likely lead to conflicts within
  profiles.  For example, a profile that includes both 'gtkmm' and
  'cairomm' may fail to build, because it would require including both
  'cairomm' and 'cairomm-1.13',

This could be a real annoyance.  Guix users should be able to run "guix
install gtkmm atkmm cairomm pangomm" and have that work.  With these
proposed patches applied, I suspect that it might not work.

Traditional GNU/Linux distributions that package GNOME 40 will certainly
choose versions of 'gtkmm', 'atkmm', 'cairomm', and 'pangomm' that are
compatible with each other.  We should too, I think.

From my own experience performing a GNOME upgrade for Guix a few years
ago, I remember that when the GNOME developers produce a new GNOME
release, they provide somewhere a list of the versions of each component
that are part of that release.  Presumably they choose those versions to
be compatible with each other.

This makes me wonder if some of the GNOME components on the 'wip-gnome'
branch are newer than they should be (perhaps a development version) or
older than they should be.

What do you think?

    Regards,
      Mark

-- 
Support Richard Stallman against the vicious disinformation campaign
against him and the FSF.  See <https://stallmansupport.org> for more.




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

* [bug#48028] [PATCH wip-gnome v5 5/8] gnu: libsoup: Adjust inputs.
  2021-04-27  9:23   ` [bug#48028] [PATCH wip-gnome v5 5/8] gnu: libsoup: Adjust inputs Raghav Gururajan via Guix-patches via
@ 2021-04-28  7:41     ` Leo Prikler
  2021-04-28 13:07       ` Raghav Gururajan via Guix-patches via
  0 siblings, 1 reply; 84+ messages in thread
From: Leo Prikler @ 2021-04-28  7:41 UTC (permalink / raw)
  To: Raghav Gururajan, 48028

Hi,

Am Dienstag, den 27.04.2021, 05:23 -0400 schrieb Raghav Gururajan:
> * gnu/packages/gnome.scm (libsoup)[inputs]: Add samba and
> move glib-networking to ...
> [propagated-inputs]: ... here.
> ---
>  gnu/packages/gnome.scm | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
> index 51a72c4e58..e9924b67a0 100644
> --- a/gnu/packages/gnome.scm
> +++ b/gnu/packages/gnome.scm
> @@ -4972,13 +4972,14 @@ libxml to ease remote use of the RESTful
> API.")
>       ;; libsoup-2.4.pc refers to all these.
>       `(("brotli" ,google-brotli)
>         ("glib" ,glib)
> +       ("glib-networking" ,glib-networking)
After looking at this more closely, the comment is a little misleading,
since the libsoup-2.4.pc does not actually refer to glib-networking. 
What is the rationale behind this propagation?
In v1 you claimed the .pc file mentions this, but I don't see any of
it:
libsoup-2.4.pc:Requires: glib-2.0 >=  2.58, gobject-2.0 >=  2.58, gio-
2.0 >=  2.58
libsoup-2.4.pc:Requires.private: libxml-2.0, sqlite3, libpsl >=  0.20,
libbrotlidec, zlib
libsoup-gnome-2.4.pc:Requires: libsoup-2.4
libsoup-gnome-2.4.pc:Requires.private: glib-2.0 >=  2.58, gobject-2.0
>=  2.58, gio-2.0 >=  2.58, libxml-2.0, sqlite3, libpsl >=  0.20,
libbrotlidec, zlib

In fact, I had a look at the libsoup source, and even there, using
2.99.4, which is the latest *unstable* release (as opposed to the
lastest stable release), the glib_deps from which the pkg-config file
is formed, says:
  glib_deps = [glib_dep, gobject_dep, gio_dep]

There doesn't even seem to be a pkg-config file for glib-networking.
(Note: I'm running my checks on master to avoid the rebuilds, that come
from wip-gnome, but wip-gnome appears to package the same version, so
there shouldn't be a difference)

Regards,
Leo





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

* [bug#48028] [PATCH wip-gnome v5 5/8] gnu: libsoup: Adjust inputs.
  2021-04-28  7:41     ` Leo Prikler
@ 2021-04-28 13:07       ` Raghav Gururajan via Guix-patches via
  2021-04-28 14:40         ` Leo Prikler
  0 siblings, 1 reply; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-04-28 13:07 UTC (permalink / raw)
  To: Leo Prikler, 48028


[-- Attachment #1.1.1: Type: text/plain, Size: 1025 bytes --]

Hi Leo,

> After looking at this more closely, the comment is a little misleading,
> since the libsoup-2.4.pc does not actually refer to glib-networking.
> What is the rationale behind this propagation?
> In v1 you claimed the .pc file mentions this, but I don't see any of
> it:
> libsoup-2.4.pc:Requires: glib-2.0 >=  2.58, gobject-2.0 >=  2.58, gio-
> 2.0 >=  2.58
> libsoup-2.4.pc:Requires.private: libxml-2.0, sqlite3, libpsl >=  0.20,
> libbrotlidec, zlib
> libsoup-gnome-2.4.pc:Requires: libsoup-2.4
> libsoup-gnome-2.4.pc:Requires.private: glib-2.0 >=  2.58, gobject-2.0
>> =  2.58, gio-2.0 >=  2.58, libxml-2.0, sqlite3, libpsl >=  0.20,
> libbrotlidec, zlib

It `gio` I was referring to. GIO can mean [glib]/lib/libgio or 
[glib-networking]/lib/gio/modules/libgio* or both. It depends on what 
package it is. Libsoup is a networking package, which uses 
glib-networking as tls backend. So GIO networking modules provided by 
glib-networking, is required by libsoup at runtime.

Regards,
RG.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2649 bytes --]

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

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

* [bug#48028] [PATCH wip-gnome v5 5/8] gnu: libsoup: Adjust inputs.
  2021-04-28 13:07       ` Raghav Gururajan via Guix-patches via
@ 2021-04-28 14:40         ` Leo Prikler
  2021-05-02  5:14           ` [bug#48028] [PATCH wip-gnome 0/8]: Misc 宋文武
  0 siblings, 1 reply; 84+ messages in thread
From: Leo Prikler @ 2021-04-28 14:40 UTC (permalink / raw)
  To: Raghav Gururajan, 48028

Am Mittwoch, den 28.04.2021, 09:07 -0400 schrieb Raghav Gururajan:
> Hi Leo,
> 
> > After looking at this more closely, the comment is a little
> > misleading,
> > since the libsoup-2.4.pc does not actually refer to glib-
> > networking.
> > What is the rationale behind this propagation?
> > In v1 you claimed the .pc file mentions this, but I don't see any
> > of
> > it:
> > libsoup-2.4.pc:Requires: glib-2.0 >=  2.58, gobject-2.0 >=  2.58,
> > gio-
> > 2.0 >=  2.58
> > libsoup-2.4.pc:Requires.private: libxml-2.0, sqlite3, libpsl
> > >=  0.20,
> > libbrotlidec, zlib
> > libsoup-gnome-2.4.pc:Requires: libsoup-2.4
> > libsoup-gnome-2.4.pc:Requires.private: glib-2.0 >=  2.58, gobject-
> > 2.0
> > > =  2.58, gio-2.0 >=  2.58, libxml-2.0, sqlite3, libpsl >=  0.20,
> > libbrotlidec, zlib
> 
> It `gio` I was referring to. GIO can mean [glib]/lib/libgio or 
> [glib-networking]/lib/gio/modules/libgio* or both. It depends on
> what 
> package it is. Libsoup is a networking package, which uses 
> glib-networking as tls backend. So GIO networking modules provided
> by 
> glib-networking, is required by libsoup at runtime.
I don't think "gio inside .pc" means that, however.  I do agree, that
it might be worth propagating it as a runtime dependency, but it should
be done with a suitable comment.

Regards,
Leo





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

* [bug#48028] [PATCH wip-gnome 0/8]: Misc.
  2021-04-28 14:40         ` Leo Prikler
@ 2021-05-02  5:14           ` 宋文武
  2021-05-02  7:03             ` Leo Prikler
  0 siblings, 1 reply; 84+ messages in thread
From: 宋文武 @ 2021-05-02  5:14 UTC (permalink / raw)
  To: Leo Prikler; +Cc: Raghav Gururajan, 48028

Leo Prikler <leo.prikler@student.tugraz.at> writes:

> Am Mittwoch, den 28.04.2021, 09:07 -0400 schrieb Raghav Gururajan:
>> Hi Leo,
>> 
>> > After looking at this more closely, the comment is a little
>> > misleading,
>> > since the libsoup-2.4.pc does not actually refer to glib-
>> > networking.
>> > What is the rationale behind this propagation?
>> > In v1 you claimed the .pc file mentions this, but I don't see any
>> > of
>> > it:
>> > libsoup-2.4.pc:Requires: glib-2.0 >=  2.58, gobject-2.0 >=  2.58,
>> > gio-
>> > 2.0 >=  2.58
>> > libsoup-2.4.pc:Requires.private: libxml-2.0, sqlite3, libpsl
>> > >=  0.20,
>> > libbrotlidec, zlib
>> > libsoup-gnome-2.4.pc:Requires: libsoup-2.4
>> > libsoup-gnome-2.4.pc:Requires.private: glib-2.0 >=  2.58, gobject-
>> > 2.0
>> > > =  2.58, gio-2.0 >=  2.58, libxml-2.0, sqlite3, libpsl >=  0.20,
>> > libbrotlidec, zlib
>> 
>> It `gio` I was referring to. GIO can mean [glib]/lib/libgio or 
>> [glib-networking]/lib/gio/modules/libgio* or both. It depends on
>> what 
>> package it is. Libsoup is a networking package, which uses 
>> glib-networking as tls backend. So GIO networking modules provided
>> by 
>> glib-networking, is required by libsoup at runtime.

Yes, glib-networking provides 2 gio modules:
- libgiognutls.so: Let GIO based applications access HTTPS (TLS).
- libgiognomeproxy.so: Let GIO based applications use GNOME proxy settings.

They're required at runtime, and optional (one may argue that HTTPS is a
must have feature though).  Currently we add glib-networking to webkit
browsers's inputs (eg: epiphany, luakit, etc.)  directly, and wrap it
with 'GIO_EXTRA_MODULES'.  By propagated glib-networking in libsoup, we
can remove it from inputs of thoese web browsers, but we still have to
wrap them...

Maybe there is a way to hardcode glib-networking in libsoup so that we
can get rid of GIO_EXTRA_MODULES?  (another gio module is the gsettings
backends dconf, which also need a user dbus-daemon user spawn its
backend service...)

> I don't think "gio inside .pc" means that, however.  I do agree, that
> it might be worth propagating it as a runtime dependency, but it should
> be done with a suitable comment.

I Agree with Leo.  Raghav, could you look into if we can get rid of
GIO_EXTRA_MODULES for glib-networking or add a specified comment for
this comment (maybe: "For HTTPS and GNOME proxy support")?

Thanks!




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

* [bug#48028] [PATCH wip-gnome 0/8]: Misc.
  2021-05-02  5:14           ` [bug#48028] [PATCH wip-gnome 0/8]: Misc 宋文武
@ 2021-05-02  7:03             ` Leo Prikler
  2021-05-03  3:32               ` 宋文武
  0 siblings, 1 reply; 84+ messages in thread
From: Leo Prikler @ 2021-05-02  7:03 UTC (permalink / raw)
  To: 宋文武; +Cc: Raghav Gururajan, 48028

Am Sonntag, den 02.05.2021, 13:14 +0800 schrieb 宋文武:
> Leo Prikler <leo.prikler@student.tugraz.at> writes:
> 
> > Am Mittwoch, den 28.04.2021, 09:07 -0400 schrieb Raghav Gururajan:
> > > Hi Leo,
> > > 
> > > > After looking at this more closely, the comment is a little
> > > > misleading,
> > > > since the libsoup-2.4.pc does not actually refer to glib-
> > > > networking.
> > > > What is the rationale behind this propagation?
> > > > In v1 you claimed the .pc file mentions this, but I don't see
> > > > any
> > > > of
> > > > it:
> > > > libsoup-2.4.pc:Requires: glib-2.0 >=  2.58, gobject-2.0
> > > > >=  2.58,
> > > > gio-
> > > > 2.0 >=  2.58
> > > > libsoup-2.4.pc:Requires.private: libxml-2.0, sqlite3, libpsl
> > > > > =  0.20,
> > > > libbrotlidec, zlib
> > > > libsoup-gnome-2.4.pc:Requires: libsoup-2.4
> > > > libsoup-gnome-2.4.pc:Requires.private: glib-2.0 >=  2.58,
> > > > gobject-
> > > > 2.0
> > > > > =  2.58, gio-2.0 >=  2.58, libxml-2.0, sqlite3, libpsl
> > > > > >=  0.20,
> > > > libbrotlidec, zlib
> > > 
> > > It `gio` I was referring to. GIO can mean [glib]/lib/libgio or 
> > > [glib-networking]/lib/gio/modules/libgio* or both. It depends on
> > > what 
> > > package it is. Libsoup is a networking package, which uses 
> > > glib-networking as tls backend. So GIO networking modules
> > > provided
> > > by 
> > > glib-networking, is required by libsoup at runtime.
> 
> Yes, glib-networking provides 2 gio modules:
> - libgiognutls.so: Let GIO based applications access HTTPS (TLS).
> - libgiognomeproxy.so: Let GIO based applications use GNOME proxy
> settings.
> 
> They're required at runtime, and optional (one may argue that HTTPS
> is a
> must have feature though).  Currently we add glib-networking to
> webkit
> browsers's inputs (eg: epiphany, luakit, etc.)  directly, and wrap it
> with 'GIO_EXTRA_MODULES'.  By propagated glib-networking in libsoup,
> we
> can remove it from inputs of thoese web browsers, but we still have
> to
> wrap them...
> 
> Maybe there is a way to hardcode glib-networking in libsoup so that
> we
> can get rid of GIO_EXTRA_MODULES?  (another gio module is the
> gsettings
> backends dconf, which also need a user dbus-daemon user spawn its
> backend service...)
> 
> > I don't think "gio inside .pc" means that, however.  I do agree,
> > that
> > it might be worth propagating it as a runtime dependency, but it
> > should
> > be done with a suitable comment.
> 
> I Agree with Leo.  Raghav, could you look into if we can get rid of
> GIO_EXTRA_MODULES for glib-networking or add a specified comment for
> this comment (maybe: "For HTTPS and GNOME proxy support")?

I didn't go as far as you.  All I wanted to say, was that insinuating
it to be a pkg-config dependency might be misleading, and that we ought
to have a suitable comment.  I've already pushed that patch to master
with one I wrote myself.

I'm not quite sure what's the problem with wrapping here.  Does glib-
or-gtk-build-system not take care of GIO_EXTRA_MODULES?

Regards,
Leo





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

* [bug#48028] [PATCH wip-gnome 0/8]: Misc.
  2021-05-02  7:03             ` Leo Prikler
@ 2021-05-03  3:32               ` 宋文武
  0 siblings, 0 replies; 84+ messages in thread
From: 宋文武 @ 2021-05-03  3:32 UTC (permalink / raw)
  To: Leo Prikler; +Cc: Raghav Gururajan, 48028

Leo Prikler <leo.prikler@student.tugraz.at> writes:

> Am Sonntag, den 02.05.2021, 13:14 +0800 schrieb 宋文武:
> [...]
>> 
>> I Agree with Leo.  Raghav, could you look into if we can get rid of
>> GIO_EXTRA_MODULES for glib-networking or add a specified comment for
>> this comment (maybe: "For HTTPS and GNOME proxy support")?
>
> I didn't go as far as you.  All I wanted to say, was that insinuating
> it to be a pkg-config dependency might be misleading, and that we ought
> to have a suitable comment.  I've already pushed that patch to master
> with one I wrote myself.

Sure, thank you!

>
> I'm not quite sure what's the problem with wrapping here.  Does glib-
> or-gtk-build-system not take care of GIO_EXTRA_MODULES?

Yes, glib-or-gtk-build-system (and meson-build-system) will do, but that
requires the users of the libsoup and webkitgtk package (eg: midori) to
use glib-or-gtk-build-system which may not be the cases or can be easily
forget.




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

* [bug#48028] [PATCH wip-gnome v4 3/8] gnu: gtkmm: Add missing native-input and correct propagated-inputs
  2021-04-27 21:49                 ` Mark H Weaver
@ 2021-05-05 19:06                   ` Raghav Gururajan via Guix-patches via
  2021-05-05 20:10                     ` Raghav Gururajan via Guix-patches via
  0 siblings, 1 reply; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-05-05 19:06 UTC (permalink / raw)
  To: Mark H Weaver, Leo Prikler, 48028


[-- Attachment #1.1.1: Type: text/plain, Size: 1919 bytes --]

Hi Mark!

> Respectfully, it seems to me that you've been too quick to dismiss my
> concerns.  As I pointed out in my previous email:
> 
>    (1) [These versioned references] will likely lead to conflicts within
>    profiles.  For example, a profile that includes both 'gtkmm' and
>    'cairomm' may fail to build, because it would require including both
>    'cairomm' and 'cairomm-1.13',

I didn't dismiss your concerns. Since you mentioned "If it turns out 
that these versioned references are truly unavoidable [...]", at the 
time of my reply, I was convinced that its unavoidable.


> This could be a real annoyance.  Guix users should be able to run "guix
> install gtkmm atkmm cairomm pangomm" and have that work.  With these
> proposed patches applied, I suspect that it might not work.
> 
> Traditional GNU/Linux distributions that package GNOME 40 will certainly
> choose versions of 'gtkmm', 'atkmm', 'cairomm', and 'pangomm' that are
> compatible with each other.  We should too, I think.
> 
>  From my own experience performing a GNOME upgrade for Guix a few years
> ago, I remember that when the GNOME developers produce a new GNOME
> release, they provide somewhere a list of the versions of each component
> that are part of that release.  Presumably they choose those versions to
> be compatible with each other.
> 
> This makes me wonder if some of the GNOME components on the 'wip-gnome'
> branch are newer than they should be (perhaps a development version) or
> older than they should be.
> 
> What do you think?

I tried dirty hack of patching meson.build of gtkmm, to refer to latest 
versions of cairomm, atkmm, pangomm. Though, 'configure phase passes, 
'build phase fails with *numerous* errors.

If I de-propagate those inputs, packages that depends on gtkmm via 
pkg-config, gonna barf "gtkmm not found".

Do you have any ideas?

Regards,
RG.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2649 bytes --]

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

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

* [bug#48028] [PATCH wip-gnome v4 3/8] gnu: gtkmm: Add missing native-input and correct propagated-inputs
  2021-05-05 19:06                   ` Raghav Gururajan via Guix-patches via
@ 2021-05-05 20:10                     ` Raghav Gururajan via Guix-patches via
  2021-05-05 20:55                       ` Raghav Gururajan via Guix-patches via
  2021-05-07 18:34                       ` Mark H Weaver
  0 siblings, 2 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-05-05 20:10 UTC (permalink / raw)
  To: Mark H Weaver, Leo Prikler, 48028


[-- Attachment #1.1.1: Type: text/plain, Size: 658 bytes --]

Hi Mark!

> I tried dirty hack of patching meson.build of gtkmm, to refer to latest 

> versions of cairomm, atkmm, pangomm. Though, 'configure phase passes, 
> 'build phase fails with *numerous* errors.
> 
> If I de-propagate those inputs, packages that depends on gtkmm via 
> pkg-config, gonna barf "gtkmm not found".
> 
> Do you have any ideas?

Libsigc++, glibmm, cairomm, pangomm and atkmm; play well with each 
other's latest stable version. The gtkmm is the only outlier.

So I think we can either de-propagate inputs in gtkmm or use the patch 
as-is; and revert changes when new gtkmm version is released.

WDYT?

Regards,
RG.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2649 bytes --]

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

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

* [bug#48028] [PATCH wip-gnome v4 3/8] gnu: gtkmm: Add missing native-input and correct propagated-inputs
  2021-05-05 20:10                     ` Raghav Gururajan via Guix-patches via
@ 2021-05-05 20:55                       ` Raghav Gururajan via Guix-patches via
  2021-05-07 17:25                         ` Raghav Gururajan via Guix-patches via
  2021-05-07 18:40                         ` Mark H Weaver
  2021-05-07 18:34                       ` Mark H Weaver
  1 sibling, 2 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-05-05 20:55 UTC (permalink / raw)
  To: Mark H Weaver, Leo Prikler, 48028


[-- Attachment #1.1.1: Type: text/plain, Size: 893 bytes --]

Hi Mark,

>> I tried dirty hack of patching meson.build of gtkmm, to refer to latest 
> 
>> versions of cairomm, atkmm, pangomm. Though, 'configure phase passes, 
>> 'build phase fails with *numerous* errors.
>>
>> If I de-propagate those inputs, packages that depends on gtkmm via 
>> pkg-config, gonna barf "gtkmm not found".
>>
>> Do you have any ideas?
> 
> Libsigc++, glibmm, cairomm, pangomm and atkmm; play well with each 
> other's latest stable version. The gtkmm is the only outlier.
> 
> So I think we can either de-propagate inputs in gtkmm or use the patch 
> as-is; and revert changes when new gtkmm version is released.
> 
> WDYT?

I just realized packages that depend on gtkmm, doesn't propagate it. So 
only way gtkmm, ends up in user-profiles is when explicitly installed. 
Thus conflicts doesn't happen while building profiles right?

Regards,
RG.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2649 bytes --]

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

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

* [bug#48028] [PATCH wip-gnome v4 3/8] gnu: gtkmm: Add missing native-input and correct propagated-inputs
  2021-05-05 20:55                       ` Raghav Gururajan via Guix-patches via
@ 2021-05-07 17:25                         ` Raghav Gururajan via Guix-patches via
  2021-05-07 18:40                         ` Mark H Weaver
  1 sibling, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-05-07 17:25 UTC (permalink / raw)
  To: Mark H Weaver, Leo Prikler, Tobias Geerinckx-Rice; +Cc: 48028


[-- Attachment #1.1.1: Type: text/plain, Size: 1308 bytes --]

Hi Mark, Leo and Tobias:

>>> I tried dirty hack of patching meson.build of gtkmm, to refer to latest 
>>
>>> versions of cairomm, atkmm, pangomm. Though, 'configure phase passes, 

>>> 'build phase fails with *numerous* errors.
>>>
>>> If I de-propagate those inputs, packages that depends on gtkmm via 
>>> pkg-config, gonna barf "gtkmm not found".
>>>
>>> Do you have any ideas?
>>
>> Libsigc++, glibmm, cairomm, pangomm and atkmm; play well with each 
>> other's latest stable version. The gtkmm is the only outlier.
>>
>> So I think we can either de-propagate inputs in gtkmm or use the patch 

>> as-is; and revert changes when new gtkmm version is released.
>>
>> WDYT?
> 
> I just realized packages that depend on gtkmm, doesn't propagate it. So 

> only way gtkmm, ends up in user-profiles is when explicitly installed. 
> Thus conflicts doesn't happen while building profiles right?

After this 
(https://mail.gnome.org/archives/gtkmm-list/2021-May/msg00000.html), 
what do you think of following plan?

[1] Temporarily have the gtkmm patch as-is in c-u
[2] package gtk (v4)
[3] rename gtkmm to gtkmm-3
[4] package gtkmm (v4).

So at the end these steps, glibmm, cairomm, pangomm, atkmm and gtkmm can 
exist in same profile without conflicts.

Regards,
RG.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2649 bytes --]

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

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

* [bug#48028] [PATCH wip-gnome v4 3/8] gnu: gtkmm: Add missing native-input and correct propagated-inputs
  2021-05-05 20:10                     ` Raghav Gururajan via Guix-patches via
  2021-05-05 20:55                       ` Raghav Gururajan via Guix-patches via
@ 2021-05-07 18:34                       ` Mark H Weaver
  2021-05-07 18:37                         ` Raghav Gururajan via Guix-patches via
  1 sibling, 1 reply; 84+ messages in thread
From: Mark H Weaver @ 2021-05-07 18:34 UTC (permalink / raw)
  To: Raghav Gururajan, Leo Prikler, 48028

Hi Raghav,

Raghav Gururajan <rg@raghavgururajan.name> writes:

> Libsigc++, glibmm, cairomm, pangomm and atkmm; play well with each 
> other's latest stable version. The gtkmm is the only outlier.

Is there a stable release version of gtkmm that plays well with those
others?

Thanks for looking into this, Raghav.

      Mark

-- 
Disinformation flourishes because many people care deeply about injustice
but very few check the facts.  Ask me about <https://stallmansupport.org>.




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

* [bug#48028] [PATCH wip-gnome v4 3/8] gnu: gtkmm: Add missing native-input and correct propagated-inputs
  2021-05-07 18:34                       ` Mark H Weaver
@ 2021-05-07 18:37                         ` Raghav Gururajan via Guix-patches via
  0 siblings, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-05-07 18:37 UTC (permalink / raw)
  To: Mark H Weaver, Leo Prikler, 48028


[-- Attachment #1.1.1: Type: text/plain, Size: 278 bytes --]

Hi Mark,

>> Libsigc++, glibmm, cairomm, pangomm and atkmm; play well with each
>> other's latest stable version. The gtkmm is the only outlier.
> 
> Is there a stable release version of gtkmm that plays well with those
> others?

Unfortunately no. :(

Regards,
RG.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2649 bytes --]

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

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

* [bug#48028] [PATCH wip-gnome v4 3/8] gnu: gtkmm: Add missing native-input and correct propagated-inputs
  2021-05-05 20:55                       ` Raghav Gururajan via Guix-patches via
  2021-05-07 17:25                         ` Raghav Gururajan via Guix-patches via
@ 2021-05-07 18:40                         ` Mark H Weaver
  2021-05-07 19:05                           ` Leo Prikler
  1 sibling, 1 reply; 84+ messages in thread
From: Mark H Weaver @ 2021-05-07 18:40 UTC (permalink / raw)
  To: Raghav Gururajan, Leo Prikler, 48028

Hi Raghav,

Raghav Gururajan <rg@raghavgururajan.name> writes:

> I just realized packages that depend on gtkmm, doesn't propagate it. So 
> only way gtkmm, ends up in user-profiles is when explicitly installed. 
> Thus conflicts doesn't happen while building profiles right?

You might be right for users who only install user applications.

However, if I understand correctly, with the v4 patches that I looked at
earlier, and presumably also the v5 patches (based on what you wrote), I
guess that conflicts _would_ happen if someone tries to install 'gtkmm'
and 'cairomm' together in the same profile.  It would be good to make
that work properly, by selecting appropriate versions of these *mm
packages that are compatible with each other.

What do you think?

      Regards,
        Mark

-- 
Disinformation flourishes because many people care deeply about injustice
but very few check the facts.  Ask me about <https://stallmansupport.org>.




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

* [bug#48028] [PATCH wip-gnome v4 3/8] gnu: gtkmm: Add missing native-input and correct propagated-inputs
  2021-05-07 18:40                         ` Mark H Weaver
@ 2021-05-07 19:05                           ` Leo Prikler
  0 siblings, 0 replies; 84+ messages in thread
From: Leo Prikler @ 2021-05-07 19:05 UTC (permalink / raw)
  To: Mark H Weaver, Raghav Gururajan, 48028

Am Freitag, den 07.05.2021, 14:40 -0400 schrieb Mark H Weaver:
> Hi Raghav,
> 
> Raghav Gururajan <rg@raghavgururajan.name> writes:
> 
> > I just realized packages that depend on gtkmm, doesn't propagate
> > it. So 
> > only way gtkmm, ends up in user-profiles is when explicitly
> > installed. 
> > Thus conflicts doesn't happen while building profiles right?
> 
> You might be right for users who only install user applications.
> 
> However, if I understand correctly, with the v4 patches that I looked
> at
> earlier, and presumably also the v5 patches (based on what you
> wrote), I
> guess that conflicts _would_ happen if someone tries to install
> 'gtkmm'
> and 'cairomm' together in the same profile.  It would be good to make
> that work properly, by selecting appropriate versions of these *mm
> packages that are compatible with each other.
> 
> What do you think?
> 
>       Regards,
>         Mark
As an addendum to what Mark said, I think this could be achieved by
temporarily hiding the variants of atkmm, cairomm, etc. that are
supposed to go with the yet unpackaged gtkmm and perhaps doing a round
of variable renames, so that those using manifests won't be screwed
either.





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

* bug#48028: (no subject)
  2021-04-26  8:09 [bug#48028] [PATCH wip-gnome 0/8]: Misc Raghav Gururajan via Guix-patches via
                   ` (4 preceding siblings ...)
  2021-04-27  9:23 ` [bug#48028] [PATCH wip-gnome v5 1/8] gnu: gtkmm: Change build-system and adjust arguments accordingly Raghav Gururajan via Guix-patches via
@ 2021-05-07 21:23 ` Raghav Gururajan via Guix-patches via
  5 siblings, 0 replies; 84+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-05-07 21:23 UTC (permalink / raw)
  To: 48028-done; +Cc: Tobias Geerinckx-Rice, Mark H Weaver, Leo Prikler


[-- Attachment #1.1.1: Type: text/plain, Size: 189 bytes --]

So I am gonna either hide new versions of atkmm etc, as leo suggested; 
or gonna package gtk (v4) and gtkmm (v4). I will use different 
patch-series for it.

Closing.

Regards,
RG.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2649 bytes --]

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

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

end of thread, other threads:[~2021-05-07 21:25 UTC | newest]

Thread overview: 84+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-26  8:09 [bug#48028] [PATCH wip-gnome 0/8]: Misc Raghav Gururajan via Guix-patches via
2021-04-26  8:11 ` [bug#48028] [PATCH wip-gnome 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Raghav Gururajan via Guix-patches via
2021-04-26  8:11   ` [bug#48028] [PATCH wip-gnome 2/8] gnu: gtkmm: Change build-system Raghav Gururajan via Guix-patches via
2021-04-26  8:11   ` [bug#48028] [PATCH wip-gnome 3/8] gnu: gtkmm: Add missing native-input and correct propagated-inputs Raghav Gururajan via Guix-patches via
2021-04-26 20:52     ` Maxime Devos
2021-04-27  9:32       ` Raghav Gururajan via Guix-patches via
2021-04-26  8:11   ` [bug#48028] [PATCH wip-gnome 4/8] gnu: libsoup: Simplify adjustment of tests and disable ssl-test Raghav Gururajan via Guix-patches via
2021-04-26  8:34     ` Leo Prikler
2021-04-26  9:24       ` Raghav Gururajan via Guix-patches via
2021-04-26  8:11   ` [bug#48028] [PATCH wip-gnome 5/8] gnu: libsoup: Add missing argument and input Raghav Gururajan via Guix-patches via
2021-04-26  8:40     ` Leo Prikler
2021-04-26  9:28       ` Raghav Gururajan via Guix-patches via
2021-04-26  9:47         ` Leo Prikler
2021-04-26 10:32           ` Raghav Gururajan via Guix-patches via
2021-04-26 17:26             ` [bug#48028] [PATCH wip-gnome v4 3/8] gnu: gtkmm: Add missing native-input and correct propagated-inputs Mark H Weaver
2021-04-27  9:37               ` Raghav Gururajan via Guix-patches via
2021-04-27 21:49                 ` Mark H Weaver
2021-05-05 19:06                   ` Raghav Gururajan via Guix-patches via
2021-05-05 20:10                     ` Raghav Gururajan via Guix-patches via
2021-05-05 20:55                       ` Raghav Gururajan via Guix-patches via
2021-05-07 17:25                         ` Raghav Gururajan via Guix-patches via
2021-05-07 18:40                         ` Mark H Weaver
2021-05-07 19:05                           ` Leo Prikler
2021-05-07 18:34                       ` Mark H Weaver
2021-05-07 18:37                         ` Raghav Gururajan via Guix-patches via
2021-04-26  8:11   ` [bug#48028] [PATCH wip-gnome 6/8] gnu: libsoup: Update home-page Raghav Gururajan via Guix-patches via
2021-04-26  8:46     ` Leo Prikler
2021-04-26  8:11   ` [bug#48028] [PATCH wip-gnome 7/8] gnu: python-pycairo: Update to 1.20.0 Raghav Gururajan via Guix-patches via
2021-04-26  8:11   ` [bug#48028] [PATCH wip-gnome 8/8] gnu: python-pygobject: Update to 3.40.1 Raghav Gururajan via Guix-patches via
2021-04-26 20:47   ` [bug#48028] [PATCH wip-gnome 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Maxime Devos
2021-04-27  9:29     ` Raghav Gururajan via Guix-patches via
2021-04-27  9:29     ` Raghav Gururajan via Guix-patches via
2021-04-26  9:08 ` [bug#48028] [PATCH wip-gnome v2 01/10] " Raghav Gururajan via Guix-patches via
2021-04-26  9:08   ` [bug#48028] [PATCH wip-gnome v2 02/10] gnu: gtkmm: Change build-system Raghav Gururajan via Guix-patches via
2021-04-26  9:08   ` [bug#48028] [PATCH wip-gnome v2 03/10] gnu: gtkmm: Add missing native-input and correct propagated-inputs Raghav Gururajan via Guix-patches via
2021-04-26  9:08   ` [bug#48028] [PATCH wip-gnome v2 04/10] gnu: libsoup: Simplify adjustment of tests Raghav Gururajan via Guix-patches via
2021-04-26  9:08   ` [bug#48028] [PATCH wip-gnome v2 05/10] gnu: libsoup: Disable ssl-test Raghav Gururajan via Guix-patches via
2021-04-26 20:58     ` Maxime Devos
2021-04-27  9:33       ` Raghav Gururajan via Guix-patches via
2021-04-26  9:08   ` [bug#48028] [PATCH wip-gnome v2 06/10] gnu: libsoup: Add missing argument and input Raghav Gururajan via Guix-patches via
2021-04-26 21:02     ` Maxime Devos
2021-04-27  9:34       ` Raghav Gururajan via Guix-patches via
2021-04-26  9:08   ` [bug#48028] [PATCH wip-gnome v2 07/10] gnu: libsoup: Propagate glib-networking Raghav Gururajan via Guix-patches via
2021-04-26  9:08   ` [bug#48028] [PATCH wip-gnome v2 08/10] gnu: libsoup: Update home-page Raghav Gururajan via Guix-patches via
2021-04-26  9:08   ` [bug#48028] [PATCH wip-gnome v2 09/10] gnu: python-pycairo: Update to 1.20.0 Raghav Gururajan via Guix-patches via
2021-04-26  9:08   ` [bug#48028] [PATCH wip-gnome v2 10/10] gnu: python-pygobject: Update to 3.40.1 Raghav Gururajan via Guix-patches via
2021-04-26  9:22 ` [bug#48028] [PATCH wip-gnome v3 01/10] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Raghav Gururajan via Guix-patches via
2021-04-26  9:22   ` [bug#48028] [PATCH wip-gnome v3 02/10] gnu: gtkmm: Change build-system Raghav Gururajan via Guix-patches via
2021-04-26  9:22   ` [bug#48028] [PATCH wip-gnome v3 03/10] gnu: gtkmm: Add missing native-input and correct propagated-inputs Raghav Gururajan via Guix-patches via
2021-04-26  9:22   ` [bug#48028] [PATCH wip-gnome v3 04/10] gnu: libsoup: Simplify adjustment of tests Raghav Gururajan via Guix-patches via
2021-04-26  9:42     ` Leo Prikler
2021-04-26 10:31       ` Raghav Gururajan via Guix-patches via
2021-04-26  9:22   ` [bug#48028] [PATCH wip-gnome v3 05/10] gnu: libsoup: Disable ssl-test Raghav Gururajan via Guix-patches via
2021-04-26  9:22   ` [bug#48028] [PATCH wip-gnome v3 06/10] gnu: libsoup: Add missing input Raghav Gururajan via Guix-patches via
2021-04-26  9:22   ` [bug#48028] [PATCH wip-gnome v3 07/10] gnu: libsoup: Propagate glib-networking Raghav Gururajan via Guix-patches via
2021-04-26  9:22   ` [bug#48028] [PATCH wip-gnome v3 08/10] gnu: libsoup: Update home-page Raghav Gururajan via Guix-patches via
2021-04-26  9:22   ` [bug#48028] [PATCH wip-gnome v3 09/10] gnu: python-pycairo: Update to 1.20.0 Raghav Gururajan via Guix-patches via
2021-04-26  9:22   ` [bug#48028] [PATCH wip-gnome v3 10/10] gnu: python-pygobject: Update to 3.40.1 Raghav Gururajan via Guix-patches via
2021-04-26 10:28 ` [bug#48028] [PATCH wip-gnome v4 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Raghav Gururajan via Guix-patches via
2021-04-26 10:28   ` [bug#48028] [PATCH wip-gnome v4 2/8] gnu: gtkmm: Change build-system Raghav Gururajan via Guix-patches via
2021-04-26 10:28   ` [bug#48028] [PATCH wip-gnome v4 3/8] gnu: gtkmm: Add missing native-input and correct propagated-inputs Raghav Gururajan via Guix-patches via
2021-04-26 10:28   ` [bug#48028] [PATCH wip-gnome v4 4/8] gnu: libsoup: Disable ssl-test Raghav Gururajan via Guix-patches via
2021-04-26 10:28   ` [bug#48028] [PATCH wip-gnome v4 5/8] gnu: libsoup: Adjust inputs Raghav Gururajan via Guix-patches via
2021-04-26 10:28   ` [bug#48028] [PATCH wip-gnome v4 6/8] gnu: libsoup: Update home-page Raghav Gururajan via Guix-patches via
2021-04-26 10:28   ` [bug#48028] [PATCH wip-gnome v4 7/8] gnu: python-pycairo: Update to 1.20.0 Raghav Gururajan via Guix-patches via
2021-04-26 10:28   ` [bug#48028] [PATCH wip-gnome v4 8/8] gnu: python-pygobject: Update to 3.40.1 Raghav Gururajan via Guix-patches via
2021-04-26 21:08   ` [bug#48028] [PATCH wip-gnome v4 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3 Maxime Devos
2021-04-27  9:23 ` [bug#48028] [PATCH wip-gnome v5 1/8] gnu: gtkmm: Change build-system and adjust arguments accordingly Raghav Gururajan via Guix-patches via
2021-04-27  9:23   ` [bug#48028] [PATCH wip-gnome v5 2/8] gnu: gtkmm@2: Override inheritance of certain changes from gtkmm Raghav Gururajan via Guix-patches via
2021-04-27 17:42     ` Maxime Devos
2021-04-27  9:23   ` [bug#48028] [PATCH wip-gnome v5 3/8] gnu: gtkmm: Add missing native-input and correct propagated-inputs Raghav Gururajan via Guix-patches via
2021-04-27 17:43     ` Maxime Devos
2021-04-27  9:23   ` [bug#48028] [PATCH wip-gnome v5 4/8] gnu: libsoup: Disable ssl-test Raghav Gururajan via Guix-patches via
2021-04-27  9:23   ` [bug#48028] [PATCH wip-gnome v5 5/8] gnu: libsoup: Adjust inputs Raghav Gururajan via Guix-patches via
2021-04-28  7:41     ` Leo Prikler
2021-04-28 13:07       ` Raghav Gururajan via Guix-patches via
2021-04-28 14:40         ` Leo Prikler
2021-05-02  5:14           ` [bug#48028] [PATCH wip-gnome 0/8]: Misc 宋文武
2021-05-02  7:03             ` Leo Prikler
2021-05-03  3:32               ` 宋文武
2021-04-27  9:23   ` [bug#48028] [PATCH wip-gnome v5 6/8] gnu: libsoup: Update home-page Raghav Gururajan via Guix-patches via
2021-04-27  9:23   ` [bug#48028] [PATCH wip-gnome v5 7/8] gnu: python-pycairo: Update to 1.20.0 Raghav Gururajan via Guix-patches via
2021-04-27  9:23   ` [bug#48028] [PATCH wip-gnome v5 8/8] gnu: python-pygobject: Update to 3.40.1 Raghav Gururajan via Guix-patches via
2021-05-07 21:23 ` bug#48028: (no subject) Raghav Gururajan via Guix-patches via

unofficial mirror of guix-patches@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-patches/1 guix-patches/git/1.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-patches guix-patches/ https://yhetil.org/guix-patches \
		guix-patches@gnu.org
	public-inbox-index guix-patches

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.patches


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git