lilyp pushed a commit to branch gnome-team
in repository guix.

commit cd43655408e610de29185b4f069b3badbef6f281
Author: Liliana Marie Prikler <[email protected]>
AuthorDate: Sun Jul 14 12:56:46 2024 +0200

    gnu: Make vte-with-gtk4 the default vte.
    
    * gnu/packages/gnome.scm (vte): Use flags from…
    (vte-with-gtk4): … this.  Delete variable.
    (vte/gtk+3): New variable.
    (gnome-color-manager, vinagre, gnome-console, gnome-terminal)
    (terminator, gnome-boxes): Adjust accordingly.
    * gnu/packages/guile-xyz.scm (nomad): Likewise.
    * gnu/packages/lxde.scm (lxterminal): Likewise.
    * gnu/packages/mate.scm (mate-terminal): Likewise.
    * gnu/packages/spice.scm (virt-viewer): Likewise.
    * gnu/packages/sugar.scm (sugar-terminal-activity): Likewise.
    * gnu/packages/terminals.scm (tilda, sakura, xiate, tilix): Likewise.
    * gnu/packages/virtualization.scm (virt-manager): Likewise.
    * gnu/packages/vnc.scm (remmina): Likewise.
    * gnu/packages/xfce.scm (xfce4-terminal): Likewise.
---
 gnu/packages/gnome.scm          | 32 +++++++++++++++++---------------
 gnu/packages/guile-xyz.scm      |  2 +-
 gnu/packages/lxde.scm           |  2 +-
 gnu/packages/mate.scm           |  2 +-
 gnu/packages/pantheon.scm       |  2 +-
 gnu/packages/spice.scm          |  2 +-
 gnu/packages/sugar.scm          |  2 +-
 gnu/packages/terminals.scm      |  8 ++++----
 gnu/packages/virtualization.scm |  2 +-
 gnu/packages/vnc.scm            |  2 +-
 gnu/packages/xfce.scm           |  2 +-
 11 files changed, 30 insertions(+), 28 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 418f1d407a..d822204e7f 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -1291,7 +1291,7 @@ in particular in the GNOME desktop.")
           libxrandr
           libxtst
           libxxf86vm
-          vte
+          vte/gtk+-3
           xorgproto))
    (synopsis "Color profile manager for the GNOME desktop")
    (description "GNOME Color Manager is a session framework that makes
@@ -4650,7 +4650,9 @@ targeting the GNOME stack simple.")
     (build-system meson-build-system)
     (arguments
      (list #:configure-flags #~(list "-Dvapi=true"
-                                     "-D_systemd=false")))
+                                     "-D_systemd=false"
+                                     "-Dgtk4=true"
+                                     "-Dgtk3=false")))
     (native-inputs
      (list pkg-config
            gettext-minimal
@@ -4661,9 +4663,9 @@ targeting the GNOME stack simple.")
            python
            libxml2))
     (propagated-inputs
-     (list gtk+ ; required by vte-2.91.pc
-           gnutls ; ditto
-           pcre2))               ; ditto
+     (list gtk                          ; required by vte-2.91.pc
+           gnutls                       ; ditto
+           pcre2))                      ; ditto
     (home-page "https://www.gnome.org/";)
     (synopsis "Virtual Terminal Emulator")
     (description
@@ -4673,14 +4675,14 @@ gnome-terminal, but can also be used to embed a 
console/terminal in games,
 editors, IDEs, etc.")
     (license license:lgpl2.1+)))
 
-(define-public vte-with-gtk-4
+(define-public vte/gtk+-3
   (package/inherit vte
-    (name "vte-with-gtk4")
+    (name "vte-with-gtk+3")
     (arguments (substitute-keyword-arguments (package-arguments vte)
                  ((#:configure-flags flags #~'())
-                  #~(cons* "-Dgtk4=true" "-Dgtk3=false" #$flags))))
+                  #~(list "-Dvapi=true" "-D_systemd=false"))))
     (propagated-inputs (modify-inputs (package-propagated-inputs vte)
-                         (replace "gtk+" gtk)))))
+                         (replace "gtk" gtk+)))))
 
 ;; Stable version for gtk2, required by gnurobots and lxterminal as of 2020-07.
 (define-public vte/gtk+-2
@@ -4755,7 +4757,7 @@ editors, IDEs, etc.")
            spice
            spice-gtk
            telepathy-glib
-           vte))
+           vte/gtk+-3))
     (home-page "https://wiki.gnome.org/Apps/Vinagre";)
     (synopsis "Remote desktop viewer for GNOME")
     (description "Vinagre is a remote display client supporting the VNC, SPICE
@@ -5544,7 +5546,7 @@ more fun.")
                          desktop-file-utils))
     (inputs (list gtk
                   libadwaita
-                  vte-with-gtk-4
+                  vte
                   libgtop
                   gsettings-desktop-schemas))
     (home-page "https://gitlab.gnome.org/GNOME/console";)
@@ -5607,7 +5609,7 @@ org.gnome.ShellSearchProvider2.xml"))))))
            nautilus                     ;for extension
            `(,util-linux "lib")
            vala
-           vte))
+           vte/gtk+-3))
     (home-page "https://wiki.gnome.org/Apps/Terminal";)
     (synopsis "Terminal emulator")
     (description
@@ -12305,7 +12307,7 @@ advanced image management tool")
        ("python-notify2" ,python-notify2)
        ("python-pycairo" ,python-pycairo)
        ("python-pygobject" ,python-pygobject)
-       ("vte" ,vte)))
+       ("vte" ,vte/gtk+-3)))
     (propagated-inputs
      (list python-configobj))
     (arguments
@@ -12826,7 +12828,7 @@ integrate seamlessly with the GNOME desktop.")
            qemu-minimal                 ;for qemu-img
            sparql-query
            tracker
-           vte
+           vte/gtk+-3
            webkitgtk-for-gtk3))
     (propagated-inputs
      ;; Propagating spice-gtk is necessary so that the gnome-desktop-service
@@ -13645,7 +13647,7 @@ libraries.  Applications do not need to be 
recompiled--or even restarted.")
            python-pygobject
            sysprof
            template-glib
-           vte-with-gtk-4
+           vte
            webkitgtk))
     (propagated-inputs
      (list gtksourceview))              ;needed for settings
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 92d5d90194..921d8b46d6 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -4472,7 +4472,7 @@ processing filters.")
        ("webkitgtk" ,webkitgtk-for-gtk3)
        ("gtksourceview" ,gtksourceview-4)
        ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
-       ("vte" ,vte)
+       ("vte" ,vte/gtk+-3)
        ;; Gstreamer
        ("gstreamer" ,gstreamer)
        ("gst-plugins-base" ,gst-plugins-base)
diff --git a/gnu/packages/lxde.scm b/gnu/packages/lxde.scm
index 1a969eb4b5..904bfa7158 100644
--- a/gnu/packages/lxde.scm
+++ b/gnu/packages/lxde.scm
@@ -198,7 +198,7 @@ toolkit.  It allows users to monitor and control of running 
processes.")
                 "1124pghrhnx6q4391ri8nvi6bsmvbj1dx81an08mird8jf2b2rii"))))
     (build-system gnu-build-system)
     (arguments (list #:configure-flags #~(list "--enable-gtk3")))
-    (inputs (list gtk+ vte))
+    (inputs (list gtk+ vte/gtk+-3))
     (native-inputs (list intltool pkg-config))
     (synopsis "LXDE terminal emulator")
     (description "LXTerminal is a VTE-based terminal emulator.  It supports
diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm
index 1ab834b339..b0e9322b76 100644
--- a/gnu/packages/mate.scm
+++ b/gnu/packages/mate.scm
@@ -324,7 +324,7 @@ the MATE desktop environment.")
            libx11
            mate-desktop
            pango
-           vte))
+           vte/gtk+-3))
     (home-page "https://mate-desktop.org/";)
     (synopsis "MATE Terminal Emulator")
     (description
diff --git a/gnu/packages/pantheon.scm b/gnu/packages/pantheon.scm
index 95c7324546..a314787de8 100644
--- a/gnu/packages/pantheon.scm
+++ b/gnu/packages/pantheon.scm
@@ -370,7 +370,7 @@ desktop environment (originally from elementary OS).")
                   libgee
                   libhandy
                   pcre2
-                  vte))
+                  vte/gtk+-3))
     (synopsis "Terminal emulator from elementaryOS")
     (description "pantheon-terminal is a lightweight, beautiful and simple
 terminal.  It comes with sane defaults, browser-class tabs, sudo paste
diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm
index d85e7737fd..8c2311aa94 100644
--- a/gnu/packages/spice.scm
+++ b/gnu/packages/spice.scm
@@ -422,7 +422,7 @@ share smart cards from client system to local or remote 
virtual machines.")
            libvirt-glib
            libxml2
            spice-gtk
-           vte))
+           vte/gtk+-3))
     (synopsis "Graphical console client for virtual machines")
     (description "Graphical console client for virtual machines using SPICE or
 VNC.")
diff --git a/gnu/packages/sugar.scm b/gnu/packages/sugar.scm
index 9a82b5fb20..e44a6b756d 100644
--- a/gnu/packages/sugar.scm
+++ b/gnu/packages/sugar.scm
@@ -1190,7 +1190,7 @@ not hesitate to feast on the goat.")
       ;; All these libraries are accessed via gobject introspection.
       (propagated-inputs
        (list gtk+
-             vte
+             vte/gtk+-3
              sugar-toolkit-gtk3))
       (inputs
        (list gettext-minimal))
diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index 88e84ce647..55fcd297d6 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -184,7 +184,7 @@ less to gain, as only the helper process is running with 
privileges (e.g.,
                       (for-each make-file-writable
                                 (find-files "po" ".")) #t)))))
     (native-inputs (list autoconf-2.71 automake gettext-minimal pkg-config))
-    (inputs (list libconfuse vte))
+    (inputs (list libconfuse vte/gtk+-3))
     (synopsis "GTK+-based drop-down terminal")
     (description
      "Tilda is a terminal emulator similar to normal terminals like
@@ -947,7 +947,7 @@ a server/client mode.")
      (list gettext-minimal perl ; for pod2man
            pkg-config))
     (inputs
-     (list libxft vte))
+     (list libxft vte/gtk+-3))
     (home-page "https://launchpad.net/sakura";)
     (synopsis "Simple but powerful libvte-based terminal emulator")
     (description "@code{Sakura} is a terminal emulator based on GTK+ and VTE.
@@ -979,7 +979,7 @@ desktop installed to have a decent terminal emulator.")
                                                  #$output))
              #:phases #~(modify-phases %standard-phases
                           (delete 'configure))))
-      (inputs (list gtk+ glib vte))
+      (inputs (list gtk+ glib vte/gtk+-3))
       (native-inputs (list pkg-config))
       (synopsis "Minimalist terminal emulator based on GTK+")
       (description
@@ -1460,7 +1460,7 @@ while also supporting native scrolling and @command{tmux} 
control mode
                   gtk+
                   libsecret
                   libunwind
-                  vte))
+                  vte/gtk+-3))
     (native-inputs (list appstream
                          desktop-file-utils
                          `(,glib "bin")
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index c88f51cdbf..a2c964d1fe 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -1796,7 +1796,7 @@ virtualization library.")
            python-requests
            qemu
            spice-gtk
-           vte))
+           vte/gtk+-3))
     (native-inputs
      (list `(,glib "bin")               ; glib-compile-schemas
            gobject-introspection
diff --git a/gnu/packages/vnc.scm b/gnu/packages/vnc.scm
index 5b320bb347..c07240b8a5 100644
--- a/gnu/packages/vnc.scm
+++ b/gnu/packages/vnc.scm
@@ -159,7 +159,7 @@
            libsodium
            spice-gtk                    ; for spice plugin
            telepathy-glib
-           vte                          ; for st plugin
+           vte/gtk+-3                   ; for st plugin
            wayland
            webkitgtk-for-gtk3           ; for www plugin
            libx11
diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 7a7e2b3a1e..af587bdc48 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -1281,7 +1281,7 @@ features playback of local media files, DVD/CD and live 
streams.")
     (native-inputs
      (list docbook-xsl libxslt xfce4-dev-tools))
     (inputs
-     (list libxfce4ui vte))
+     (list libxfce4ui vte/gtk+-3))
     (home-page "https://docs.xfce.org/apps/xfce4-terminal/";)
     (synopsis "Xfce terminal emulator")
     (description

Reply via email to