From 459da7b86ecbbd0816c20e6c7cce0ab4e5b08915 Mon Sep 17 00:00:00 2001 From: Alexander Ried Date: Sat, 22 Oct 2016 19:54:20 +0200 Subject: [PATCH] gnome3: default to 3.22 (#19743) * gnome3: default to 3.22 * zuki-themes: add src for gnome 3.22, remove 3.18 * gnome3_22.vte_290: copy from gnome3.20 * termite: use vte-select-text from gnome3_20 --- .../services/x11/desktop-managers/gnome3.nix | 2 +- pkgs/desktops/gnome-3/3.22/core/vte/2.90.nix | 40 +++++++++++++++++++ pkgs/desktops/gnome-3/3.22/default.nix | 2 + pkgs/misc/themes/zuki/default.nix | 6 +-- pkgs/top-level/all-packages.nix | 4 +- 5 files changed, 48 insertions(+), 6 deletions(-) create mode 100644 pkgs/desktops/gnome-3/3.22/core/vte/2.90.nix diff --git a/nixos/modules/services/x11/desktop-managers/gnome3.nix b/nixos/modules/services/x11/desktop-managers/gnome3.nix index 57c76b491fa5..5d1af09e7aa7 100644 --- a/nixos/modules/services/x11/desktop-managers/gnome3.nix +++ b/nixos/modules/services/x11/desktop-managers/gnome3.nix @@ -82,7 +82,7 @@ in { environment.gnome3.packageSet = mkOption { default = null; - example = literalExample "pkgs.gnome3_20"; + example = literalExample "pkgs.gnome3_22"; description = "Which GNOME 3 package set to use."; apply = p: if p == null then pkgs.gnome3 else p; }; diff --git a/pkgs/desktops/gnome-3/3.22/core/vte/2.90.nix b/pkgs/desktops/gnome-3/3.22/core/vte/2.90.nix new file mode 100644 index 000000000000..cbb52c9aaa12 --- /dev/null +++ b/pkgs/desktops/gnome-3/3.22/core/vte/2.90.nix @@ -0,0 +1,40 @@ +{ stdenv, fetchurl, intltool, pkgconfig, gnome3, ncurses, gobjectIntrospection }: + +stdenv.mkDerivation rec { + versionMajor = "0.36"; + versionMinor = "3"; + moduleName = "vte"; + + name = "${moduleName}-${versionMajor}.${versionMinor}"; + + src = fetchurl { + url = "mirror://gnome/sources/${moduleName}/${versionMajor}/${name}.tar.xz"; + sha256 = "54e5b07be3c0f7b158302f54ee79d4de1cb002f4259b6642b79b1e0e314a959c"; + }; + + buildInputs = [ gobjectIntrospection intltool pkgconfig gnome3.glib gnome3.gtk3 ncurses ]; + + configureFlags = [ "--enable-introspection" ]; + + enableParallelBuilding = true; + + postInstall = '' + substituteInPlace $out/lib/libvte2_90.la --replace "-lncurses" "-L${ncurses.out}/lib -lncurses" + ''; + + meta = with stdenv.lib; { + homepage = http://www.gnome.org/; + description = "A library implementing a terminal emulator widget for GTK+"; + longDescription = '' + VTE is a library (libvte) implementing a terminal emulator widget for + GTK+, and a minimal sample application (vte) using that. Vte is + mainly used in gnome-terminal, but can also be used to embed a + console/terminal in games, editors, IDEs, etc. VTE supports Unicode and + character set conversion, as well as emulating any terminal known to + the system's terminfo database. + ''; + license = licenses.lgpl2; + maintainers = with maintainers; [ astsmtl antono lethalman ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/desktops/gnome-3/3.22/default.nix b/pkgs/desktops/gnome-3/3.22/default.nix index 926694f48d40..3ebd964ab0ec 100644 --- a/pkgs/desktops/gnome-3/3.22/default.nix +++ b/pkgs/desktops/gnome-3/3.22/default.nix @@ -232,6 +232,8 @@ let vte = callPackage ./core/vte { }; + vte_290 = callPackage ./core/vte/2.90.nix { }; + vino = callPackage ./core/vino { }; yelp = callPackage ./core/yelp { }; diff --git a/pkgs/misc/themes/zuki/default.nix b/pkgs/misc/themes/zuki/default.nix index 73bc677854a1..6da6d24902ed 100644 --- a/pkgs/misc/themes/zuki/default.nix +++ b/pkgs/misc/themes/zuki/default.nix @@ -4,20 +4,20 @@ stdenv.mkDerivation rec { name = "zuki-themes-${version}"; version = "${gnome3.version}.${date}"; date = { - "3.18" = "2016-06-21"; "3.20" = "2016-07-01"; + "3.22" = "2016-10-20"; }."${gnome3.version}"; src = fetchFromGitHub { owner = "lassekongo83"; repo = "zuki-themes"; rev = { - "3.18" = "5c83a847ad8fab0fe0b82ed2a7db429655ac9c10"; "3.20" = "dda1726ac7b556df2ef9696e530f8c2eaa0aed37"; + "3.22" = "a48f0f12f81c49b480f82369ae45cfa49d78b143"; }."${gnome3.version}"; sha256 = { - "3.18" = "1x9zrx5dqq8kivhqj5kjwhy4vwr899pri6jvwxbff5hibvyc7ipy"; "3.20" = "0p7db8a2ni494vwp3b7av7d214fnynf6gr976qma6h9x4ck3phiz"; + "3.22" = "05sa5ighq01krbgfd4lddxvbhfqk5x5kgw6jnxwvx9rmmff713s1"; }."${gnome3.version}"; }; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2d15001186ce..761b191a3a5c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14664,7 +14664,7 @@ in }; termite = callPackage ../applications/misc/termite { - vte = gnome3.vte-select-text; + vte = gnome3_20.vte-select-text; }; tesseract = callPackage ../applications/graphics/tesseract { }; @@ -15959,7 +15959,7 @@ in gnome3_22 = recurseIntoAttrs (callPackage ../desktops/gnome-3/3.22 { }); - gnome3 = gnome3_20; + gnome3 = gnome3_22; hsetroot = callPackage ../tools/X11/hsetroot { };