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.
This commit is contained in:
Liliana Marie Prikler 2024-07-14 12:56:46 +02:00
parent 2a5161a76b
commit d8d3d36c60
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87
11 changed files with 30 additions and 28 deletions

View file

@ -1291,7 +1291,7 @@ in particular in the GNOME desktop.")
libxrandr libxrandr
libxtst libxtst
libxxf86vm libxxf86vm
vte vte/gtk+-3
xorgproto)) xorgproto))
(synopsis "Color profile manager for the GNOME desktop") (synopsis "Color profile manager for the GNOME desktop")
(description "GNOME Color Manager is a session framework that makes (description "GNOME Color Manager is a session framework that makes
@ -4654,7 +4654,9 @@ targeting the GNOME stack simple.")
(build-system meson-build-system) (build-system meson-build-system)
(arguments (arguments
(list #:configure-flags #~(list "-Dvapi=true" (list #:configure-flags #~(list "-Dvapi=true"
"-D_systemd=false"))) "-D_systemd=false"
"-Dgtk4=true"
"-Dgtk3=false")))
(native-inputs (native-inputs
(list pkg-config (list pkg-config
gettext-minimal gettext-minimal
@ -4665,7 +4667,7 @@ targeting the GNOME stack simple.")
python python
libxml2)) libxml2))
(propagated-inputs (propagated-inputs
(list gtk+ ; required by vte-2.91.pc (list gtk ; required by vte-2.91.pc
gnutls ; ditto gnutls ; ditto
pcre2)) ; ditto pcre2)) ; ditto
(home-page "https://www.gnome.org/") (home-page "https://www.gnome.org/")
@ -4677,14 +4679,14 @@ gnome-terminal, but can also be used to embed a console/terminal in games,
editors, IDEs, etc.") editors, IDEs, etc.")
(license license:lgpl2.1+))) (license license:lgpl2.1+)))
(define-public vte-with-gtk-4 (define-public vte/gtk+-3
(package/inherit vte (package/inherit vte
(name "vte-with-gtk4") (name "vte-with-gtk+3")
(arguments (substitute-keyword-arguments (package-arguments vte) (arguments (substitute-keyword-arguments (package-arguments vte)
((#:configure-flags flags #~'()) ((#:configure-flags flags #~'())
#~(cons* "-Dgtk4=true" "-Dgtk3=false" #$flags)))) #~(list "-Dvapi=true" "-D_systemd=false"))))
(propagated-inputs (modify-inputs (package-propagated-inputs vte) (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. ;; Stable version for gtk2, required by gnurobots and lxterminal as of 2020-07.
(define-public vte/gtk+-2 (define-public vte/gtk+-2
@ -4759,7 +4761,7 @@ editors, IDEs, etc.")
spice spice
spice-gtk spice-gtk
telepathy-glib telepathy-glib
vte)) vte/gtk+-3))
(home-page "https://wiki.gnome.org/Apps/Vinagre") (home-page "https://wiki.gnome.org/Apps/Vinagre")
(synopsis "Remote desktop viewer for GNOME") (synopsis "Remote desktop viewer for GNOME")
(description "Vinagre is a remote display client supporting the VNC, SPICE (description "Vinagre is a remote display client supporting the VNC, SPICE
@ -5548,7 +5550,7 @@ more fun.")
desktop-file-utils)) desktop-file-utils))
(inputs (list gtk (inputs (list gtk
libadwaita libadwaita
vte-with-gtk-4 vte
libgtop libgtop
gsettings-desktop-schemas)) gsettings-desktop-schemas))
(home-page "https://gitlab.gnome.org/GNOME/console") (home-page "https://gitlab.gnome.org/GNOME/console")
@ -5611,7 +5613,7 @@ org.gnome.ShellSearchProvider2.xml"))))))
nautilus ;for extension nautilus ;for extension
`(,util-linux "lib") `(,util-linux "lib")
vala vala
vte)) vte/gtk+-3))
(home-page "https://wiki.gnome.org/Apps/Terminal") (home-page "https://wiki.gnome.org/Apps/Terminal")
(synopsis "Terminal emulator") (synopsis "Terminal emulator")
(description (description
@ -12309,7 +12311,7 @@ advanced image management tool")
("python-notify2" ,python-notify2) ("python-notify2" ,python-notify2)
("python-pycairo" ,python-pycairo) ("python-pycairo" ,python-pycairo)
("python-pygobject" ,python-pygobject) ("python-pygobject" ,python-pygobject)
("vte" ,vte))) ("vte" ,vte/gtk+-3)))
(propagated-inputs (propagated-inputs
(list python-configobj)) (list python-configobj))
(arguments (arguments
@ -12830,7 +12832,7 @@ integrate seamlessly with the GNOME desktop.")
qemu-minimal ;for qemu-img qemu-minimal ;for qemu-img
sparql-query sparql-query
tracker tracker
vte vte/gtk+-3
webkitgtk-for-gtk3)) webkitgtk-for-gtk3))
(propagated-inputs (propagated-inputs
;; Propagating spice-gtk is necessary so that the gnome-desktop-service ;; Propagating spice-gtk is necessary so that the gnome-desktop-service
@ -13649,7 +13651,7 @@ libraries. Applications do not need to be recompiled--or even restarted.")
python-pygobject python-pygobject
sysprof sysprof
template-glib template-glib
vte-with-gtk-4 vte
webkitgtk)) webkitgtk))
(propagated-inputs (propagated-inputs
(list gtksourceview)) ;needed for settings (list gtksourceview)) ;needed for settings

View file

@ -4849,7 +4849,7 @@ processing filters.")
("webkitgtk" ,webkitgtk-for-gtk3) ("webkitgtk" ,webkitgtk-for-gtk3)
("gtksourceview" ,gtksourceview-4) ("gtksourceview" ,gtksourceview-4)
("gsettings-desktop-schemas" ,gsettings-desktop-schemas) ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
("vte" ,vte) ("vte" ,vte/gtk+-3)
;; Gstreamer ;; Gstreamer
("gstreamer" ,gstreamer) ("gstreamer" ,gstreamer)
("gst-plugins-base" ,gst-plugins-base) ("gst-plugins-base" ,gst-plugins-base)

View file

@ -198,7 +198,7 @@ toolkit. It allows users to monitor and control of running processes.")
"1124pghrhnx6q4391ri8nvi6bsmvbj1dx81an08mird8jf2b2rii")))) "1124pghrhnx6q4391ri8nvi6bsmvbj1dx81an08mird8jf2b2rii"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (list #:configure-flags #~(list "--enable-gtk3"))) (arguments (list #:configure-flags #~(list "--enable-gtk3")))
(inputs (list gtk+ vte)) (inputs (list gtk+ vte/gtk+-3))
(native-inputs (list intltool pkg-config)) (native-inputs (list intltool pkg-config))
(synopsis "LXDE terminal emulator") (synopsis "LXDE terminal emulator")
(description "LXTerminal is a VTE-based terminal emulator. It supports (description "LXTerminal is a VTE-based terminal emulator. It supports

View file

@ -324,7 +324,7 @@ the MATE desktop environment.")
libx11 libx11
mate-desktop mate-desktop
pango pango
vte)) vte/gtk+-3))
(home-page "https://mate-desktop.org/") (home-page "https://mate-desktop.org/")
(synopsis "MATE Terminal Emulator") (synopsis "MATE Terminal Emulator")
(description (description

View file

@ -398,7 +398,7 @@ desktop environment (originally from elementary OS).")
libgee libgee
libhandy libhandy
pcre2 pcre2
vte)) vte/gtk+-3))
(synopsis "Terminal emulator from elementaryOS") (synopsis "Terminal emulator from elementaryOS")
(description "pantheon-terminal is a lightweight, beautiful and simple (description "pantheon-terminal is a lightweight, beautiful and simple
terminal. It comes with sane defaults, browser-class tabs, sudo paste terminal. It comes with sane defaults, browser-class tabs, sudo paste

View file

@ -422,7 +422,7 @@ share smart cards from client system to local or remote virtual machines.")
libvirt-glib libvirt-glib
libxml2 libxml2
spice-gtk spice-gtk
vte)) vte/gtk+-3))
(synopsis "Graphical console client for virtual machines") (synopsis "Graphical console client for virtual machines")
(description "Graphical console client for virtual machines using SPICE or (description "Graphical console client for virtual machines using SPICE or
VNC.") VNC.")

View file

@ -1187,7 +1187,7 @@ not hesitate to feast on the goat.")
;; All these libraries are accessed via gobject introspection. ;; All these libraries are accessed via gobject introspection.
(propagated-inputs (propagated-inputs
(list gtk+ (list gtk+
vte vte/gtk+-3
sugar-toolkit-gtk3)) sugar-toolkit-gtk3))
(inputs (inputs
(list gettext-minimal)) (list gettext-minimal))

View file

@ -184,7 +184,7 @@ less to gain, as only the helper process is running with privileges (e.g.,
(for-each make-file-writable (for-each make-file-writable
(find-files "po" ".")) #t))))) (find-files "po" ".")) #t)))))
(native-inputs (list autoconf-2.71 automake gettext-minimal pkg-config)) (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") (synopsis "GTK+-based drop-down terminal")
(description (description
"Tilda is a terminal emulator similar to normal terminals like "Tilda is a terminal emulator similar to normal terminals like
@ -947,7 +947,7 @@ a server/client mode.")
(list gettext-minimal perl ; for pod2man (list gettext-minimal perl ; for pod2man
pkg-config)) pkg-config))
(inputs (inputs
(list libxft vte)) (list libxft vte/gtk+-3))
(home-page "https://launchpad.net/sakura") (home-page "https://launchpad.net/sakura")
(synopsis "Simple but powerful libvte-based terminal emulator") (synopsis "Simple but powerful libvte-based terminal emulator")
(description "@code{Sakura} is a terminal emulator based on GTK+ and VTE. (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)) #$output))
#:phases #~(modify-phases %standard-phases #:phases #~(modify-phases %standard-phases
(delete 'configure)))) (delete 'configure))))
(inputs (list gtk+ glib vte)) (inputs (list gtk+ glib vte/gtk+-3))
(native-inputs (list pkg-config)) (native-inputs (list pkg-config))
(synopsis "Minimalist terminal emulator based on GTK+") (synopsis "Minimalist terminal emulator based on GTK+")
(description (description
@ -1460,7 +1460,7 @@ while also supporting native scrolling and @command{tmux} control mode
gtk+ gtk+
libsecret libsecret
libunwind libunwind
vte)) vte/gtk+-3))
(native-inputs (list appstream (native-inputs (list appstream
desktop-file-utils desktop-file-utils
`(,glib "bin") `(,glib "bin")

View file

@ -1812,7 +1812,7 @@ virtualization library.")
python-requests python-requests
qemu qemu
spice-gtk spice-gtk
vte)) vte/gtk+-3))
(native-inputs (native-inputs
(list `(,glib "bin") ; glib-compile-schemas (list `(,glib "bin") ; glib-compile-schemas
gobject-introspection gobject-introspection

View file

@ -159,7 +159,7 @@
libsodium libsodium
spice-gtk ; for spice plugin spice-gtk ; for spice plugin
telepathy-glib telepathy-glib
vte ; for st plugin vte/gtk+-3 ; for st plugin
wayland wayland
webkitgtk-for-gtk3 ; for www plugin webkitgtk-for-gtk3 ; for www plugin
libx11 libx11

View file

@ -1281,7 +1281,7 @@ features playback of local media files, DVD/CD and live streams.")
(native-inputs (native-inputs
(list docbook-xsl libxslt xfce4-dev-tools)) (list docbook-xsl libxslt xfce4-dev-tools))
(inputs (inputs
(list libxfce4ui vte)) (list libxfce4ui vte/gtk+-3))
(home-page "https://docs.xfce.org/apps/xfce4-terminal/") (home-page "https://docs.xfce.org/apps/xfce4-terminal/")
(synopsis "Xfce terminal emulator") (synopsis "Xfce terminal emulator")
(description (description