guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

56/79: gnu: Make vte-with-gtk4 the default vte.


From: guix-commits
Subject: 56/79: gnu: Make vte-with-gtk4 the default vte.
Date: Sun, 21 Jul 2024 09:59:47 -0400 (EDT)

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

commit d8a6d608c3e868e04d37d068e643aff5c54c384d
Author: Liliana Marie Prikler <liliana.prikler@gmail.com>
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 0f6b25b415..e327d246e0 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -1288,7 +1288,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
@@ -4646,7 +4646,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
@@ -4657,9 +4659,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
@@ -4669,14 +4671,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
@@ -4751,7 +4753,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
@@ -5542,7 +5544,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";)
@@ -5605,7 +5607,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
@@ -12188,7 +12190,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
@@ -12708,7 +12710,7 @@ integrate seamlessly with the GNOME desktop.")
            sparql-query
            spice-gtk
            tracker
-           vte
+           vte/gtk+-3
            webkitgtk-for-gtk3))
     (home-page "https://wiki.gnome.org/Apps/Boxes";)
     (synopsis "View, access, and manage remote and virtual systems")
@@ -13504,7 +13506,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 3ce4f6a8d6..2b714147c3 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -4369,7 +4369,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 0291f50302..df2ed96ebe 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 5dcd3910e6..4407d4317d 100644
--- a/gnu/packages/mate.scm
+++ b/gnu/packages/mate.scm
@@ -321,7 +321,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 30804a8046..eecdbd7917 100644
--- a/gnu/packages/pantheon.scm
+++ b/gnu/packages/pantheon.scm
@@ -175,7 +175,7 @@ desktop.")
                   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 860b77cf5d..83ffadfd5e 100644
--- a/gnu/packages/spice.scm
+++ b/gnu/packages/spice.scm
@@ -421,7 +421,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 5db070a72d..f9d5b91821 100644
--- a/gnu/packages/sugar.scm
+++ b/gnu/packages/sugar.scm
@@ -874,7 +874,7 @@ controls.")
       ;; 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 c227ff53dc..214d9c5051 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -180,7 +180,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
@@ -944,7 +944,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.
@@ -976,7 +976,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
@@ -1473,7 +1473,7 @@ while also supporting native scrolling and @command{tmux} 
control mode
              ldc
              libsecret
              libunwind
-             vte))
+             vte/gtk+-3))
       (native-inputs
        (list appstream
              gettext-minimal
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index fe2d7d756c..5d54f08aef 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -1737,7 +1737,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 7f39488b02..6cbf1f1104 100644
--- a/gnu/packages/vnc.scm
+++ b/gnu/packages/vnc.scm
@@ -149,7 +149,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 825b175140..5646688f0c 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -1121,7 +1121,7 @@ features playback of local media files, DVD/CD and live 
streams.")
     (native-inputs
      (list pkg-config intltool))
     (inputs
-     (list libxfce4ui vte))
+     (list libxfce4ui vte/gtk+-3))
     (home-page "https://www.xfce.org/";)
     (synopsis "Xfce terminal emulator")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]