Merge pull request #142733 from jtojnar/more-gnome-staging

More GNOME updates (staging)
This commit is contained in:
Jan Tojnar 2021-10-25 06:10:36 +02:00 committed by GitHub
commit d647a68608
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 24 additions and 17 deletions

View file

@ -129,13 +129,13 @@ in rec {
}; };
vala_0_52 = generic { vala_0_52 = generic {
version = "0.52.5"; version = "0.52.6";
sha256 = "sha256-hKG7MSs+Xcrkt7JcRVmNN14stpIzzvtZoV0jUMdr3ZE="; sha256 = "sha256-FNfrTZZLfDrcFuRTcTIIbdxmJO0eDruBEeKsgierOnI=";
}; };
vala_0_54 = generic { vala_0_54 = generic {
version = "0.54.1"; version = "0.54.2";
sha256 = "0jlhd6hr9mai7hhc2c78w6zmnzf7xncp7fhyiavkqqzhhsn7gpjx"; sha256 = "iE3nRTF9TVbk6M7emT3I8E1Qz8o2z2DS8vJ4wwwrExE=";
}; };
vala = vala_0_54; vala = vala_0_54;

View file

@ -9,22 +9,20 @@
, withIntrospection ? stdenv.buildPlatform == stdenv.hostPlatform , withIntrospection ? stdenv.buildPlatform == stdenv.hostPlatform
, gobject-introspection , gobject-introspection
, fixDarwinDylibNames , fixDarwinDylibNames
, gtk-doc , gi-docgen
, docbook-xsl-nons
, docbook_xml_dtd_43
, gnome , gnome
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "json-glib"; pname = "json-glib";
version = "1.6.2"; version = "1.6.6";
outputs = [ "out" "dev" ] outputs = [ "out" "dev" ]
++ lib.optional withIntrospection "devdoc"; ++ lib.optional withIntrospection "devdoc";
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 = "092g2dyy1hhl0ix9kp33wcab0pg1qicnsv0cj5ms9g9qs336cgd3"; sha256 = "luyYvnqR9t3jNjZyDj2i/27LuQ52zKpJSX8xpoVaSQ4=";
}; };
strictDeps = true; strictDeps = true;
@ -39,13 +37,11 @@ stdenv.mkDerivation rec {
pkg-config pkg-config
gettext gettext
glib glib
docbook-xsl-nons
docbook_xml_dtd_43
] ++ lib.optional stdenv.hostPlatform.isDarwin [ ] ++ lib.optional stdenv.hostPlatform.isDarwin [
fixDarwinDylibNames fixDarwinDylibNames
] ++ lib.optionals withIntrospection [ ] ++ lib.optionals withIntrospection [
gobject-introspection gobject-introspection
gtk-doc gi-docgen
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -54,12 +50,23 @@ stdenv.mkDerivation rec {
mesonFlags = lib.optionals (!withIntrospection) [ mesonFlags = lib.optionals (!withIntrospection) [
"-Dintrospection=disabled" "-Dintrospection=disabled"
# doc gen uses introspection, doesn't work properly # gi-docgen relies on introspection data
"-Dgtk_doc=disabled" "-Dgtk_doc=disabled"
]; ];
doCheck = true; doCheck = true;
postFixup = ''
# Move developer documentation to devdoc output.
# Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back.
if [[ -d "$out/share/doc" ]]; then
find -L "$out/share/doc" -type f -regex '.*\.devhelp2?' -print0 \
| while IFS= read -r -d ''' file; do
moveToOutput "$(dirname "''${file/"$out/"/}")" "$devdoc"
done
fi
'';
passthru = { passthru = {
updateScript = gnome.updateScript { updateScript = gnome.updateScript {
packageName = pname; packageName = pname;

View file

@ -24,13 +24,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "librsvg"; pname = "librsvg";
version = "2.52.0"; version = "2.52.2";
outputs = [ "out" "dev" "installedTests" ]; outputs = [ "out" "dev" "installedTests" ];
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 = "14zkdd7a9mymnfs3laqj0gr69c16nwixvbc5a4gvd534w6riz0mx"; sha256 = "A9KIfBj/uQbhpg+X/kanFp9pqijW210oV0jzYYsJNCc=";
}; };
cargoVendorDir = "vendor"; cargoVendorDir = "vendor";

View file

@ -7,7 +7,7 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "gi-docgen"; pname = "gi-docgen";
version = "2021.7"; version = "2021.8";
format = "other"; format = "other";
@ -16,7 +16,7 @@ python3.pkgs.buildPythonApplication rec {
owner = "GNOME"; owner = "GNOME";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "i2s4JXg+D9sYq1QwVcDRLIr9qnRmzHC+cBInHv4SXHI="; sha256 = "Y1IdCH6bytxbKIj48IAw/3XUQhoqwPshvdj/d1hRS3o=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [