3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #147037 from jtojnar/gnome-update

gnome update
This commit is contained in:
Jan Tojnar 2021-11-23 16:09:58 +01:00 committed by GitHub
commit 2767ab90d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 40 additions and 37 deletions

View file

@ -39,13 +39,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-builder"; pname = "gnome-builder";
version = "41.1"; version = "41.2";
outputs = [ "out" "devdoc" ]; outputs = [ "out" "devdoc" ];
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "XVXkqqKkdYpGJj0cf9AJyz20RV4O1/nkTDoWNIYfo4o="; sha256 = "VjF7Vn94Yd2gNzKVsk6U7fSRnMlV+0XtYqyllGIY4BI=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -34,13 +34,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "cheese"; pname = "cheese";
version = "41.0"; version = "41.1";
outputs = [ "out" "man" "devdoc" ]; outputs = [ "out" "man" "devdoc" ];
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/cheese/${lib.versions.major version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/cheese/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "EG8d9n4c9Bwqp5yZveZ2rskA2wNstSX6EIObBhh9Ivk="; sha256 = "UilgyihzD/ZkOQcLBEGMngpLtVVg11v+CLIY2ixn5Uc=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -46,13 +46,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "evince"; pname = "evince";
version = "41.2"; version = "41.3";
outputs = [ "out" "dev" "devdoc" ]; outputs = [ "out" "dev" "devdoc" ];
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/evince/${lib.versions.major version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/evince/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "lautDW/urJVg2zq4C6fF6rsf3xyg47PJMzmvBUU6JNg="; sha256 = "M0awH5vcjy1f/qkvEQoJDGSjYklCtbVDqtRZKp3jO7A=";
}; };
patches = lib.optionals withPantheon [ patches = lib.optionals withPantheon [

View file

@ -4,13 +4,13 @@
let let
pname = "gnome-screenshot"; pname = "gnome-screenshot";
version = "40.0"; version = "41.0";
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
name = "${pname}-${version}"; name = "${pname}-${version}";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${name}.tar.xz"; url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${name}.tar.xz";
sha256 = "1qm544ymwibk31s30k47vnn79xg30m18r7l4di0c57g375dak31n"; sha256 = "Stt97JJkKPdCY9V5ZnPPFC5HILbnaPVGio0JM/mMlZc=";
}; };
doCheck = true; doCheck = true;

View file

@ -30,7 +30,7 @@
}: }:
let let
pname = "gnome-flashback"; pname = "gnome-flashback";
version = "3.40.0"; version = "3.42.0";
# From data/sessions/Makefile.am # From data/sessions/Makefile.am
requiredComponentsCommon = enableGnomePanel: requiredComponentsCommon = enableGnomePanel:
@ -61,7 +61,7 @@ let
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz"; url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "0fxv13m2q9z1q3i9jbggl35cb7jlckbdrfsr5sf030hr1w836gz0"; sha256 = "1CcdwHrHOyceS07cgfMfZPVzGqbUSOehXX2TOXbc3Us=";
}; };
# make .desktop Execs absolute # make .desktop Execs absolute

View file

@ -216,6 +216,7 @@ stdenv.mkDerivation rec {
passthru = { passthru = {
updateScript = gnome.updateScript { updateScript = gnome.updateScript {
packageName = "gtk"; packageName = "gtk";
versionPolicy = "odd-unstable";
attrPath = "gtk4"; attrPath = "gtk4";
}; };
}; };

View file

@ -9,10 +9,11 @@
, gtk-doc , gtk-doc
, docbook-xsl-nons , docbook-xsl-nons
, docbook_xml_dtd_43 , docbook_xml_dtd_43
, glib
, gsettings-desktop-schemas
, gtk3 , gtk3
, enableGlade ? false , enableGlade ? false
, glade , glade
, dbus
, xvfb-run , xvfb-run
, libxml2 , libxml2
, gdk-pixbuf , gdk-pixbuf
@ -27,7 +28,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libhandy"; pname = "libhandy";
version = "1.4.0"; version = "1.5.0";
outputs = [ outputs = [
"out" "out"
@ -40,7 +41,7 @@ stdenv.mkDerivation rec {
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "sha256-JnbVH6H6QP3udJfT52P++hiwM4v/zS7jLn9+YzyIVEY="; sha256 = "sha256-RmueAmwfnrO2WWb1MNl3A6ghLar5EXSMFF6cuEPb1v4=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -64,7 +65,6 @@ stdenv.mkDerivation rec {
]; ];
checkInputs = [ checkInputs = [
dbus
xvfb-run xvfb-run
at-spi2-atk at-spi2-atk
at-spi2-core at-spi2-core
@ -84,12 +84,26 @@ stdenv.mkDerivation rec {
doCheck = !stdenv.isDarwin; doCheck = !stdenv.isDarwin;
checkPhase = '' checkPhase = ''
NO_AT_BRIDGE=1 \ runHook preCheck
XDG_DATA_DIRS="$XDG_DATA_DIRS:${hicolor-icon-theme}/share" \
GDK_PIXBUF_MODULE_FILE="${librsvg.out}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache" \ testEnvironment=(
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \ # Disable portal since we cannot run it in tests.
--config-file=${dbus.daemon}/share/dbus-1/session.conf \ HDY_DISABLE_PORTAL=1
"XDG_DATA_DIRS=${lib.concatStringsSep ":" [
# HdySettings needs to be initialized from “org.gnome.desktop.interface” GSettings schema when portal is not used for color scheme.
# It will not actually be used since the “color-scheme” key will only have been introduced in GNOME 42, falling back to detecting theme name.
# See hdy_settings_constructed function in https://gitlab.gnome.org/GNOME/libhandy/-/commit/bb68249b005c445947bfb2bee66c91d0fe9c41a4
"${glib.getSchemaPath gsettings-desktop-schemas}/../.."
# Some tests require icons
"${hicolor-icon-theme}/share"
]}"
)
env "''${testEnvironment[@]}" xvfb-run \
meson test --print-errorlogs meson test --print-errorlogs
runHook postCheck
''; '';
passthru = { passthru = {

View file

@ -15,6 +15,7 @@
, vala , vala
, gettext , gettext
, perl , perl
, python3
, gnome , gnome
, gdk-pixbuf , gdk-pixbuf
, zlib , zlib
@ -22,13 +23,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gtk-vnc"; pname = "gtk-vnc";
version = "1.2.0"; version = "1.3.0";
outputs = [ "out" "bin" "man" "dev" ]; outputs = [ "out" "bin" "man" "dev" ];
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0jmr6igyzcj2wmx5v5ywaazvdz3hx6a6rys26yb4l4s71l281bvs"; sha256 = "X6qlgjuMvowLC6HkVsTnDEsa5mhcn+gaQoLZjPAKIR0=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -39,6 +40,7 @@ stdenv.mkDerivation rec {
vala vala
gettext gettext
perl # for pod2man perl # for pod2man
python3
]; ];
buildInputs = [ buildInputs = [

View file

@ -1,7 +1,6 @@
{ stdenv { stdenv
, lib , lib
, fetchurl , fetchurl
, fetchpatch
, meson , meson
, ninja , ninja
, gupnp , gupnp
@ -18,26 +17,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gupnp-tools"; pname = "gupnp-tools";
version = "0.10.1"; version = "0.10.2";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "TqltFnRis6VI78T8TqCJ/lGNfSm+NJ0czomCuf+1O0o="; sha256 = "beSe9LN1uKFk90t2YWixGE4NKBlrawek9TQfCN/YXWw=";
}; };
patches = [
# Fix compilation with -Werror=format-security.
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gupnp-tools/commit/d738baae3bffaf6a8dfc12f5fe1ea13168fe2e48.patch";
sha256 = "wrORH4y9Yb0YGAsjzoeN2MM07y9o+91kx078RH0G76w=";
})
# Fix missing variable reference caused by the previous patch.
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gupnp-tools/commit/9b852d91175bc7607ad845459ba29d07a16fcbce.patch";
sha256 = "WjEBN/+snJSIg4SUP5iChdj2auIyzePI0TH3Ilks7fk=";
})
];
nativeBuildInputs = [ nativeBuildInputs = [
meson meson
ninja ninja