Merge #291339: GNOME: 45 → 46

...into staging-next
This commit is contained in:
Vladimír Čunát 2024-04-22 21:56:49 +02:00
commit 6162a4e3f9
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
156 changed files with 2654 additions and 756 deletions

View File

@ -46,6 +46,8 @@ Use `services.pipewire.extraConfig` or `services.pipewire.configPackages` for Pi
- The default dbus implementation has transitioned to dbus-broker from the classic dbus daemon for better performance and reliability. Users can revert to the classic dbus daemon by setting `services.dbus.implementation = "dbus";`. For detailed deviations, refer to [dbus-broker's deviations page](https://github.com/bus1/dbus-broker/wiki/Deviations).
- GNOME has been updated to v46. Refer to the [release notes](https://release.gnome.org/46/) for more details. Notably this release brings experimental VRR support, default GTK renderer changes and WebDAV support in Online Accounts. This release we have also stopped including the legacy and unsupported Adwaita-Dark theme by default.
- A new option `virtualisation.containers.cdi` was added. It contains `static` and `dynamic` attributes (corresponding to `/etc/cdi` and `/run/cdi` respectively) to configure the Container Device Interface (CDI).
- `virtualisation.docker.enableNvidia` and `virtualisation.podman.enableNvidia` options are deprecated. `virtualisation.containers.cdi.dynamic.nvidia.enable` should be used instead. This option will expose GPUs on containers with the `--device` CLI option. This is supported by Docker 25, Podman 3.2.0 and Singularity 4. Any container runtime that supports the CDI specification will take advantage of this feature.

View File

@ -26,7 +26,21 @@ with lib;
###### implementation
config = mkIf config.services.gnome.gnome-remote-desktop.enable {
services.pipewire.enable = true;
services.dbus.packages = [ pkgs.gnome.gnome-remote-desktop ];
environment.systemPackages = [ pkgs.gnome.gnome-remote-desktop ];
systemd.packages = [ pkgs.gnome.gnome-remote-desktop ];
systemd.tmpfiles.packages = [ pkgs.gnome.gnome-remote-desktop ];
# TODO: if possible, switch to using provided g-r-d sysusers.d
users = {
users.gnome-remote-desktop = {
isSystemUser = true;
group = "gnome-remote-desktop";
home = "/var/lib/gnome-remote-desktop";
};
groups.gnome-remote-desktop = { };
};
};
}

View File

@ -157,6 +157,7 @@ in
# packages
nemo-with-extensions
gnome-online-accounts-gtk
cinnamon-control-center
cinnamon-settings-daemon
libgnomekbd

View File

@ -408,10 +408,6 @@ in
services.avahi.enable = mkDefault true;
xdg.portal.extraPortals = [
pkgs.gnome.gnome-shell
];
services.geoclue2.enable = mkDefault true;
services.geoclue2.enableDemoAgent = false; # GNOME has its own geoclue agent

View File

@ -5,7 +5,6 @@
, desktop-file-utils
, editorconfig-core-c
, fetchurl
, fetchpatch
, flatpak
, gnome
, libgit2-glib
@ -43,13 +42,13 @@
stdenv.mkDerivation rec {
pname = "gnome-builder";
version = "45.0";
version = "46.1";
outputs = [ "out" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "JC2gJZMpPUVuokEIpFk0cwoeMW2NxbGNnfDoZNt7pZY=";
hash = "sha256-lhaWbVIqLIUCizPAm605cudp6fkK91VNXnGDfb3HiHE=";
};
patches = [
@ -64,12 +63,6 @@ stdenv.mkDerivation rec {
#
# Typelib file for namespace 'Pango', version '1.0' not found (g-irepository-error-quark, 0)
./fix-finding-test-typelibs.patch
(fetchpatch {
name = "redefinition-of-glib_autoptr_clear_GtkStackPage.patch";
url = "https://gitlab.gnome.org/GNOME/gnome-builder/-/commit/7aaaecefc2ea8a37eaeae8b4d726d119d4eb8fa3.patch";
hash = "sha256-sYLqhwCd9GOkUMUZAO2trAGKC3013jgivHrNC4atdn0=";
})
];
nativeBuildInputs = [

View File

@ -18,11 +18,11 @@
stdenv.mkDerivation (finalAttrs: {
pname = "snapshot";
version = "45.2";
version = "46.2";
src = fetchurl {
url = "mirror://gnome/sources/snapshot/${lib.versions.major finalAttrs.version}/snapshot-${finalAttrs.version}.tar.xz";
hash = "sha256-iQd4F/xzXMjonbUWKPUuqKxmwZTfxqekLgA8TCnE3T4=";
hash = "sha256-Ef55oSuzQFHionnajB9FRYfQEaFPwkI35FTGT0S6z00=";
};
nativeBuildInputs = [

View File

@ -15,11 +15,11 @@
stdenv.mkDerivation (finalAttrs: {
pname = "tecla";
version = "45.0";
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/tecla/${lib.versions.major finalAttrs.version}/tecla-${finalAttrs.version}.tar.xz";
hash = "sha256-XAK7QBmxz/tWY9phB1A+/4U4Nqh4PdRwXdBKSfetwls=";
hash = "sha256-Sggeq4Z6WosJdYmRytdkWSDzI6q8qVRAgpD7b0RZGw8=";
};
nativeBuildInputs = [

View File

@ -20,11 +20,11 @@
stdenv.mkDerivation rec {
pname = "gnome-usage";
version = "45.0";
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "5nfE/iwBSXqE/x4RV+kTHp+ZmfGnjTUjSvHXfYJ18pQ=";
hash = "sha256-GGrajgAYjIn4yrVPNZmO2XpG6rb9shiRAoNhvzhqybI=";
};
nativeBuildInputs = [

View File

@ -1,88 +0,0 @@
diff --git a/src/orca/debug.py b/src/orca/debug.py
index b7e11ea60..9ab996765 100644
--- a/src/orca/debug.py
+++ b/src/orca/debug.py
@@ -447,7 +447,7 @@ def traceit(frame, event, arg):
return traceit
def getOpenFDCount(pid):
- procs = subprocess.check_output([ 'lsof', '-w', '-Ff', '-p', str(pid)])
+ procs = subprocess.check_output([ '@lsof@', '-w', '-Ff', '-p', str(pid)])
procs = procs.decode('UTF-8').split('\n')
files = list(filter(lambda s: s and s[0] == 'f' and s[1:].isdigit(), procs))
@@ -465,7 +465,7 @@ def getCmdline(pid):
return cmdline
def pidOf(procName):
- openFile = subprocess.Popen(f'pgrep {procName}',
+ openFile = subprocess.Popen(f'@pgrep@ {procName}',
shell=True,
stdout=subprocess.PIPE).stdout
pids = openFile.read()
diff --git a/src/orca/orca.py b/src/orca/orca.py
index d4e89f918..bb3e6cc1d 100644
--- a/src/orca/orca.py
+++ b/src/orca/orca.py
@@ -312,7 +312,7 @@ def updateKeyMap(keyboardEvent):
def _setXmodmap(xkbmap):
"""Set the keyboard map using xkbcomp."""
- p = subprocess.Popen(['xkbcomp', '-w0', '-', os.environ['DISPLAY']],
+ p = subprocess.Popen(['@xkbcomp@', '-w0', '-', os.environ['DISPLAY']],
stdin=subprocess.PIPE, stdout=None, stderr=None)
p.communicate(xkbmap)
@@ -389,7 +389,7 @@ def _storeXmodmap(keyList):
"""
global _originalXmodmap
- _originalXmodmap = subprocess.check_output(['xkbcomp', os.environ['DISPLAY'], '-'])
+ _originalXmodmap = subprocess.check_output(['@xkbcomp@', os.environ['DISPLAY'], '-'])
def _restoreXmodmap(keyList=[]):
"""Restore the original xmodmap values for the keys in keyList.
@@ -404,7 +404,7 @@ def _restoreXmodmap(keyList=[]):
global _capsLockCleared
_capsLockCleared = False
- p = subprocess.Popen(['xkbcomp', '-w0', '-', os.environ['DISPLAY']],
+ p = subprocess.Popen(['@xkbcomp@', '-w0', '-', os.environ['DISPLAY']],
stdin=subprocess.PIPE, stdout=None, stderr=None)
p.communicate(_originalXmodmap)
diff --git a/src/orca/orca_bin.py.in b/src/orca/orca_bin.py.in
index 9d64af948..ca9c9e083 100644
--- a/src/orca/orca_bin.py.in
+++ b/src/orca/orca_bin.py.in
@@ -65,7 +65,7 @@ class ListApps(argparse.Action):
name = "[DEAD]"
try:
- cmdline = subprocess.getoutput('cat /proc/%s/cmdline' % pid)
+ cmdline = subprocess.getoutput('@cat@ /proc/%s/cmdline' % pid)
except Exception:
cmdline = '(exception encountered)'
else:
@@ -198,7 +198,7 @@ def inGraphicalDesktop():
def otherOrcas():
"""Returns the pid of any other instances of Orca owned by this user."""
- openFile = subprocess.Popen('pgrep -u %s -x orca' % os.getuid(),
+ openFile = subprocess.Popen('@pgrep@ -u %s -x orca' % os.getuid(),
shell=True,
stdout=subprocess.PIPE).stdout
pids = openFile.read()
diff --git a/src/orca/script_utilities.py b/src/orca/script_utilities.py
index ed8b155e4..0436cca42 100644
--- a/src/orca/script_utilities.py
+++ b/src/orca/script_utilities.py
@@ -144,7 +144,7 @@ class Utilities:
return ""
try:
- cmdline = subprocess.getoutput(f"cat /proc/{pid}/cmdline")
+ cmdline = subprocess.getoutput(f"@cat@ /proc/{pid}/cmdline")
except Exception:
return ""

View File

@ -22,11 +22,11 @@
stdenv.mkDerivation rec {
pname = "evolution-ews";
version = "3.50.3";
version = "3.52.1";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "4vpZQTdq1X4H0mc/hnbDH38rBo1J9o6g+4uv6rtSm+0=";
hash = "sha256-TR9OlipFClJnADNQiaOQfZgMB2Z/q9Vmmag06Z2HSrI=";
};
patches = [

View File

@ -44,11 +44,11 @@
stdenv.mkDerivation rec {
pname = "evolution";
version = "3.50.4";
version = "3.52.1";
src = fetchurl {
url = "mirror://gnome/sources/evolution/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "sha256-4PlVyhTfsbLhaC/PoYFqA8EUuBYZmPls+daBpqOEJpg=";
hash = "sha256-aNrtER2t42GMpwjss8q0zZO6UC9a6dXnlwc8OhPinek=";
};
nativeBuildInputs = [

View File

@ -0,0 +1,209 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, docbook-xsl-nons
, libxslt
, pkg-config
, alsa-lib
, faac
, faad2
, ffmpeg
, fuse3
, glib
, openh264
, openssl
, p11-kit
, pcre2
, pkcs11helper
, uriparser
, zlib
, libX11
, libXcursor
, libXdamage
, libXdmcp
, libXext
, libXi
, libXinerama
, libXrandr
, libXrender
, libXtst
, libXv
, libxkbcommon
, libxkbfile
, wayland
, wayland-scanner
, icu
, libunwind
, orc
, cairo
, cjson
, libusb1
, libpulseaudio
, cups
, pcsclite
, SDL2
, SDL2_ttf
, SDL2_image
, systemd
, libjpeg_turbo
, libkrb5
, libopus
, buildServer ? true
, nocaps ? false
, AudioToolbox
, AVFoundation
, Carbon
, Cocoa
, CoreMedia
, withUnfree ? false
# tries to compile and run generate_argument_docbook.c
, withManPages ? stdenv.buildPlatform.canExecute stdenv.hostPlatform
, buildPackages
}:
let
cmFlag = flag: if flag then "ON" else "OFF";
in
stdenv.mkDerivation (finalAttrs: {
pname = "freerdp";
version = "3.4.0";
src = fetchFromGitHub {
owner = "FreeRDP";
repo = "FreeRDP";
rev = finalAttrs.version;
hash = "sha256-ZOYHhldTdV8DrOHoXS42NXB6JHBJMGRswgTczn1S6BE=";
};
postPatch = ''
export HOME=$TMP
# skip NIB file generation on darwin
substituteInPlace "client/Mac/CMakeLists.txt" "client/Mac/cli/CMakeLists.txt" \
--replace-fail "if (NOT IS_XCODE)" "if (FALSE)"
substituteInPlace "libfreerdp/freerdp.pc.in" \
--replace-fail "Requires:" "Requires: @WINPR_PKG_CONFIG_FILENAME@"
'' + lib.optionalString (pcsclite != null) ''
substituteInPlace "winpr/libwinpr/smartcard/smartcard_pcsc.c" \
--replace-fail "libpcsclite.so" "${lib.getLib pcsclite}/lib/libpcsclite.so"
'' + lib.optionalString nocaps ''
substituteInPlace "libfreerdp/locale/keyboard_xkbfile.c" \
--replace-fail "RDP_SCANCODE_CAPSLOCK" "RDP_SCANCODE_LCONTROL"
'';
nativeBuildInputs = [
cmake
libxslt
docbook-xsl-nons
pkg-config
wayland-scanner
];
buildInputs = [
cairo
cjson
cups
faad2
ffmpeg
glib
icu
libX11
libXcursor
libXdamage
libXdmcp
libXext
libXi
libXinerama
libXrandr
libXrender
libXtst
libXv
libjpeg_turbo
libkrb5
libopus
libpulseaudio
libunwind
libusb1
libxkbcommon
libxkbfile
openh264
openssl
orc
pcre2
pcsclite
pkcs11helper
SDL2
SDL2_ttf
SDL2_image
uriparser
zlib
] ++ lib.optionals stdenv.isLinux [
alsa-lib
fuse3
systemd
wayland
] ++ lib.optionals stdenv.isDarwin [
AudioToolbox
AVFoundation
Carbon
Cocoa
CoreMedia
] ++ lib.optionals withUnfree [
faac
];
# https://github.com/FreeRDP/FreeRDP/issues/8526#issuecomment-1357134746
cmakeFlags = [
"-Wno-dev"
"-DCMAKE_INSTALL_LIBDIR=lib"
"-DDOCBOOKXSL_DIR=${docbook-xsl-nons}/xml/xsl/docbook"
"-DWAYLAND_SCANNER=${buildPackages.wayland-scanner}/bin/wayland-scanner"
] ++ lib.mapAttrsToList (k: v: "-D${k}=${cmFlag v}") {
BUILD_TESTING = false; # false is recommended by upstream
WITH_CAIRO = (cairo != null);
WITH_CUPS = (cups != null);
WITH_FAAC = (withUnfree && faac != null);
WITH_FAAD2 = (faad2 != null);
WITH_FUSE = (stdenv.isLinux && fuse3 != null);
WITH_JPEG = (libjpeg_turbo != null);
WITH_KRB5 = (libkrb5 != null);
WITH_OPENH264 = (openh264 != null);
WITH_OPUS = (libopus != null);
WITH_OSS = false;
WITH_MANPAGES = withManPages;
WITH_PCSC = (pcsclite != null);
WITH_PULSE = (libpulseaudio != null);
WITH_SERVER = buildServer;
WITH_WEBVIEW = false; # avoid introducing webkit2gtk-4.0
WITH_VAAPI = false; # false is recommended by upstream
WITH_X11 = true;
};
env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.isDarwin [
"-DTARGET_OS_IPHONE=0"
"-DTARGET_OS_WATCH=0"
"-include AudioToolbox/AudioToolbox.h"
] ++ lib.optionals stdenv.cc.isClang [
"-Wno-error=incompatible-function-pointer-types"
]);
env.NIX_LDFLAGS = toString (lib.optionals stdenv.isDarwin [
"-framework AudioToolbox"
]);
meta = with lib; {
description = "A Remote Desktop Protocol Client";
longDescription = ''
FreeRDP is a client-side implementation of the Remote Desktop Protocol (RDP)
following the Microsoft Open Specifications.
'';
homepage = "https://www.freerdp.com/";
license = licenses.asl20;
maintainers = with maintainers; [ peterhoeg lheckemann ];
platforms = platforms.unix;
};
})

View File

@ -5,6 +5,7 @@
, gettext
, gtkmm4
, itstool
, libadwaita
, libsecret
, libuuid
, libxml2
@ -18,15 +19,16 @@
stdenv.mkDerivation rec {
pname = "gnote";
version = "45.1";
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
hash = "sha256-nuwn+MsKENL9uRSkUei4QYwmDni/BzYHgaeKXkGM+UE=";
hash = "sha256-ht9YoVlbIVN0aRq0S/wWE7Sf28p3CEI6PVZY3NOgFe0=";
};
buildInputs = [
gtkmm4
libadwaita
libsecret
libuuid
libxml2

View File

@ -18,11 +18,11 @@
stdenv.mkDerivation rec {
pname = "gnome-console";
version = "45.0";
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/gnome-console/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "50YhKNLfIySh10gGLEBCnNBQSvCeQHBnsz86nQxZyOE=";
hash = "sha256-FhnOcBdzssDJA3GPVHaMGS6lB0UU1VoXdKkslyMdbD4=";
};
nativeBuildInputs = [

View File

@ -50,6 +50,10 @@ stdenv.mkDerivation (finalAttrs: {
substituteInPlace libmessaging-menu/messaging-menu.pc.in \
--replace "\''${exec_prefix}/@CMAKE_INSTALL_LIBDIR@" '@CMAKE_INSTALL_FULL_LIBDIR@' \
--replace "\''${prefix}/@CMAKE_INSTALL_INCLUDEDIR@" '@CMAKE_INSTALL_FULL_INCLUDEDIR@'
# Fix tests with gobject-introspection 1.80 not installing GLib introspection data
substituteInPlace tests/CMakeLists.txt \
--replace-fail 'GI_TYPELIB_PATH=\"' 'GI_TYPELIB_PATH=\"$GI_TYPELIB_PATH$\{GI_TYPELIB_PATH\:+\:\}'
'' + lib.optionalString (!withDocumentation) ''
sed -i CMakeLists.txt \
'/add_subdirectory(doc)/d'

View File

@ -0,0 +1,61 @@
{ lib
, stdenv
, fetchFromGitLab
, cargo
, meson
, ninja
, pkg-config
, desktop-file-utils
, rustPlatform
, rustc
, wrapGAppsHook4
, glib
, gtk4
, libadwaita
}:
stdenv.mkDerivation (finalAttrs: {
pname = "bustle";
version = "0.9.2";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "World";
repo = "bustle";
rev = finalAttrs.version;
hash = "sha256-/B1rY8epcP0OFv+kVgv4Jx6x/oK3XpNnZcpSGvdIPx0=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit (finalAttrs) src;
name = "bustle-${finalAttrs.version}";
hash = "sha256-r29Z+6P+yuCpOBUE3vkESd15lcGXs5+ZTBiQ9nW6DJ4=";
};
nativeBuildInputs = [
cargo
meson
ninja
pkg-config
desktop-file-utils
rustPlatform.cargoSetupHook
rustc
wrapGAppsHook4
glib
];
buildInputs = [
glib
gtk4
libadwaita
];
meta = with lib; {
description = "Graphical D-Bus message analyser and profiler";
homepage = "https://gitlab.gnome.org/World/bustle";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ jtojnar ];
mainProgram = "bustle";
platforms = platforms.all;
};
})

View File

@ -1,13 +1,24 @@
diff --git a/vendor/glycin/src/dbus.rs b/vendor/glycin/src/dbus.rs
index aa5a876..4f37420 100644
--- a/vendor/glycin/src/dbus.rs
+++ b/vendor/glycin/src/dbus.rs
@@ -43,7 +43,7 @@ impl<'a> DecoderProcess<'a> {
diff --git a/vendor/glycin/src/sandbox.rs b/vendor/glycin/src/sandbox.rs
index 7d00b36..aa70dc7 100644
--- a/vendor/glycin/src/sandbox.rs
+++ b/vendor/glycin/src/sandbox.rs
@@ -165,7 +165,7 @@ impl Sandbox {
let (bin, args, final_arg) = match sandbox_mechanism {
SandboxMechanism::Bwrap => (
- "bwrap".into(),
+ "@bwrap@".into(),
vec![
"--unshare-all",
"--die-with-parent",
args.push(self.command);
- ("bwrap".into(), args, Some(seccomp_memfd))
+ ("@bwrap@".into(), args, Some(seccomp_memfd))
}
SandboxMechanism::FlatpakSpawn => {
let memory_limit = Self::memory_limit();
@@ -233,8 +233,8 @@ impl Sandbox {
"/",
// Make /usr available as read only
"--ro-bind",
- "/usr",
- "/usr",
+ "/nix/store",
+ "/nix/store",
// Make tmpfs dev available
"--dev",
"/dev",

View File

@ -9,20 +9,23 @@
, ninja
, pkg-config
, rustc
, rustPlatform
, gtk4
, cairo
, libheif
, libxml2
, libseccomp
, libjxl
, gnome
}:
stdenv.mkDerivation (finalAttrs: {
pname = "glycin-loaders";
version = "0.1.2";
version = "1.0.1";
src = fetchurl {
url = "mirror://gnome/sources/glycin-loaders/${lib.versions.majorMinor finalAttrs.version}/glycin-loaders-${finalAttrs.version}.tar.xz";
hash = "sha256-x2wBklq9BwF0WJzLkWpEpXOrZbHp1JPxVOQnVkMebdc=";
hash = "sha256-0PAiRi/1VYVuheqUBHRHC7NrN8n/y8umOgP+XpVDcM8=";
};
patches = [
@ -40,6 +43,7 @@ stdenv.mkDerivation (finalAttrs: {
ninja
pkg-config
rustc
rustPlatform.bindgenHook # for libheif-sys
];
buildInputs = [
@ -47,6 +51,8 @@ stdenv.mkDerivation (finalAttrs: {
cairo
libheif
libxml2 # for librsvg crate
libseccomp
libjxl
];
passthru = {

View File

@ -0,0 +1,48 @@
{ stdenv
, lib
, fetchFromGitHub
, meson
, ninja
, pkg-config
, wrapGAppsHook4
, glib
, glib-networking
, gnome-online-accounts
, gtk4
, libadwaita
}:
stdenv.mkDerivation (finalAttrs: {
pname = "gnome-online-accounts-gtk";
version = "3.50.1";
src = fetchFromGitHub {
owner = "xapp-project";
repo = "gnome-online-accounts-gtk";
rev = finalAttrs.version;
hash = "sha256-lirL1bsAZfuE669BdPo03M85O5eZzU/D/hfGp+LxvSo=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
wrapGAppsHook4
];
buildInputs = [
glib
glib-networking
gnome-online-accounts
gtk4
libadwaita # for goa-backend
];
meta = with lib; {
description = "Online accounts configuration utility";
homepage = "https://github.com/xapp-project/gnome-online-accounts-gtk";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = teams.cinnamon.members;
};
})

View File

@ -0,0 +1,73 @@
{ stdenv
, lib
, fetchurl
, gi-docgen
, gobject-introspection
, meson
, ninja
, pkg-config
, uhttpmock_1_0
, glib
, gnome-online-accounts
, json-glib
, librest_1_0
, libsoup_3
, gnome
}:
stdenv.mkDerivation (finalAttrs: {
pname = "libmsgraph";
version = "0.2.1";
outputs = [ "out" "dev" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/msgraph/${lib.versions.majorMinor finalAttrs.version}/msgraph-${finalAttrs.version}.tar.xz";
hash = "sha256-4OWeqorj4KSOwKbC/tBHCFanCSSOkhK2odA33leS7Ls=";
};
nativeBuildInputs = [
gi-docgen
gobject-introspection
meson
ninja
pkg-config
];
buildInputs = [
uhttpmock_1_0
];
propagatedBuildInputs = [
glib
gnome-online-accounts
json-glib
librest_1_0
libsoup_3
];
mesonFlags = [
# https://gitlab.gnome.org/GNOME/msgraph/-/merge_requests/9
"-Dc_args=-Wno-error=format-security"
];
postFixup = ''
# Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back.
moveToOutput "share/doc/msgraph-0" "$devdoc"
'';
passthru = {
updateScript = gnome.updateScript {
attrPath = "libmsgraph";
packageName = "msgraph";
};
};
meta = with lib; {
description = "Library to access MS Graph API for Office 365";
homepage = "https://gitlab.gnome.org/GNOME/msgraph";
license = licenses.lgpl3Plus;
maintainers = teams.gnome.members;
platforms = platforms.linux;
};
})

View File

@ -15,17 +15,18 @@
, lcms2
, libadwaita
, libgweather
, libseccomp
, glycin-loaders
, gnome
}:
stdenv.mkDerivation (finalAttrs: {
pname = "loupe";
version = "45.3";
version = "46.2";
src = fetchurl {
url = "mirror://gnome/sources/loupe/${lib.versions.major finalAttrs.version}/loupe-${finalAttrs.version}.tar.xz";
hash = "sha256-9l8tEgjQhatf+pmN1DyS/pUictTVm1HP7MEevf/KLYY=";
hash = "sha256-OhWj+c+PiJp+ZC45AimfeSGKkAHAjFY3TgWRT/71qzA=";
};
patches = [
@ -51,13 +52,14 @@ stdenv.mkDerivation (finalAttrs: {
lcms2
libadwaita
libgweather
libseccomp
];
postPatch = ''
# Replace hash of file we patch in vendored glycin.
jq \
--arg hash "$(sha256sum vendor/glycin/src/dbus.rs | cut -d' ' -f 1)" \
'.files."src/dbus.rs" = $hash' \
--arg hash "$(sha256sum vendor/glycin/src/sandbox.rs | cut -d' ' -f 1)" \
'.files."src/sandbox.rs" = $hash' \
vendor/glycin/.cargo-checksum.json \
| sponge vendor/glycin/.cargo-checksum.json
'';

View File

@ -0,0 +1,75 @@
diff --git a/src/orca/debug.py b/src/orca/debug.py
index eb939a236..4e4db2e84 100644
--- a/src/orca/debug.py
+++ b/src/orca/debug.py
@@ -522,7 +522,7 @@ def traceit(frame, event, arg):
return traceit
def getOpenFDCount(pid):
- procs = subprocess.check_output([ 'lsof', '-w', '-Ff', '-p', str(pid)])
+ procs = subprocess.check_output([ '@lsof@', '-w', '-Ff', '-p', str(pid)])
procs = procs.decode('UTF-8').split('\n')
files = list(filter(lambda s: s and s[0] == 'f' and s[1:].isdigit(), procs))
@@ -540,7 +540,7 @@ def getCmdline(pid):
return cmdline
def pidOf(procName):
- openFile = subprocess.Popen(f'pgrep {procName}',
+ openFile = subprocess.Popen(f'@pgrep@ {procName}',
shell=True,
stdout=subprocess.PIPE).stdout
pids = openFile.read()
diff --git a/src/orca/orca_bin.py.in b/src/orca/orca_bin.py.in
index c6f99de14..2370204f3 100755
--- a/src/orca/orca_bin.py.in
+++ b/src/orca/orca_bin.py.in
@@ -62,7 +62,7 @@ class ListApps(argparse.Action):
name = "[DEAD]"
try:
- cmdline = subprocess.getoutput('cat /proc/%s/cmdline' % pid)
+ cmdline = subprocess.getoutput('@cat@ /proc/%s/cmdline' % pid)
except Exception:
cmdline = '(exception encountered)'
else:
@@ -195,7 +195,7 @@ def inGraphicalDesktop():
def otherOrcas():
"""Returns the pid of any other instances of Orca owned by this user."""
- openFile = subprocess.Popen('pgrep -u %s -x orca' % os.getuid(),
+ openFile = subprocess.Popen('@pgrep@ -u %s -x orca' % os.getuid(),
shell=True,
stdout=subprocess.PIPE).stdout
pids = openFile.read()
diff --git a/src/orca/orca_modifier_manager.py b/src/orca/orca_modifier_manager.py
index c45cd4a5b..3f2ec59f0 100644
--- a/src/orca/orca_modifier_manager.py
+++ b/src/orca/orca_modifier_manager.py
@@ -115,7 +115,7 @@ class OrcaModifierManager:
debug.printMessage(debug.LEVEL_INFO, msg, True)
self.unset_orca_modifiers(reason)
- self._original_xmodmap = subprocess.check_output(['xkbcomp', os.environ['DISPLAY'], '-'])
+ self._original_xmodmap = subprocess.check_output(['@xkbcomp@', os.environ['DISPLAY'], '-'])
self._create_orca_xmodmap()
def update_key_map(self, keyboard_event):
@@ -162,7 +162,7 @@ class OrcaModifierManager:
return
self._caps_lock_cleared = False
- p = subprocess.Popen(['xkbcomp', '-w0', '-', os.environ['DISPLAY']],
+ p = subprocess.Popen(['@xkbcomp@', '-w0', '-', os.environ['DISPLAY']],
stdin=subprocess.PIPE, stdout=None, stderr=None)
p.communicate(self._original_xmodmap)
@@ -223,7 +223,7 @@ class OrcaModifierManager:
if modified:
msg = "ORCA MODIFIER MANAGER: Updating xmodmap"
debug.printMessage(debug.LEVEL_INFO, msg, True)
- p = subprocess.Popen(['xkbcomp', '-w0', '-', os.environ['DISPLAY']],
+ p = subprocess.Popen(['@xkbcomp@', '-w0', '-', os.environ['DISPLAY']],
stdin=subprocess.PIPE, stdout=None, stderr=None)
p.communicate(bytes('\n'.join(lines), 'UTF-8'))
else:

View File

@ -1,24 +1,20 @@
{ lib
, pkg-config
, fetchurl
, buildPythonApplication
, autoreconfHook
, meson
, ninja
, wrapGAppsHook
, gobject-introspection
, gettext
, yelp-tools
, itstool
, python
, pygobject3
, python3
, gtk3
, gnome
, substituteAll
, at-spi2-atk
, at-spi2-core
, pyatspi
, dbus
, dbus-python
, pyxdg
, xkbcomp
, procps
, lsof
@ -27,20 +23,18 @@
, speechd
, brltty
, liblouis
, setproctitle
, gst_all_1
, gst-python
}:
buildPythonApplication rec {
python3.pkgs.buildPythonApplication rec {
pname = "orca";
version = "45.2";
version = "46.1";
format = "other";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "8PLFeaW+7f5WU7x/4kSBxNaqxd0fccHnoghZXzx473Y=";
hash = "sha256-z2deNQwYrA+ilDbGVZ0dqXX3///vqAjr5HbY+enRERQ=";
};
patches = [
@ -54,7 +48,8 @@ buildPythonApplication rec {
];
nativeBuildInputs = [
autoreconfHook
meson
ninja
wrapGAppsHook
pkg-config
gettext
@ -63,13 +58,13 @@ buildPythonApplication rec {
gobject-introspection
];
pythonPath = [
pythonPath = with python3.pkgs; [
pygobject3
pyatspi
dbus-python
pyxdg
brltty
liblouis
psutil
speechd
gst-python
setproctitle
@ -78,7 +73,7 @@ buildPythonApplication rec {
strictDeps = false;
buildInputs = [
python
python3
gtk3
at-spi2-atk
at-spi2-core
@ -89,6 +84,12 @@ buildPythonApplication rec {
gst_all_1.gst-plugins-good
];
dontWrapGApps = true; # Prevent double wrapping
preFixup = ''
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';
passthru = {
updateScript = gnome.updateScript {
packageName = pname;

1251
pkgs/by-name/pa/papers/Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,133 @@
{ lib
, stdenv
, fetchFromGitLab
, meson
, ninja
, pkg-config
, appstream
, desktop-file-utils
, gtk4
, glib
, pango
, atk
, gdk-pixbuf
, shared-mime-info
, itstool
, poppler
, ghostscriptX
, djvulibre
, libspectre
, libarchive
, libsecret
, wrapGAppsHook4
, librsvg
, gobject-introspection
, yelp-tools
, gsettings-desktop-schemas
, dbus
, gi-docgen
, libgxps
, supportXPS ? true # Open XML Paper Specification via libgxps
, withLibsecret ? true
, libadwaita
, exempi
, cargo
, rustPlatform
}:
stdenv.mkDerivation (finalAttrs: {
pname = "papers";
version = "45.0-unstable-2024-03-27";
outputs = [ "out" "dev" "devdoc" ];
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "GNOME/Incubator";
repo = "papers";
rev = "4374535f4f5e5cea613b2df7b3dc99e97da27d99";
hash = "sha256-wjLRGENJ+TjXV3JPn/lcqv3DonAsJrC0OiLs1DoNHkc=";
};
cargoRoot = "shell-rs";
cargoDeps = rustPlatform.importCargoLock {
lockFile = ./Cargo.lock;
outputHashes = {
"cairo-rs-0.20.0" = "sha256-aCG9rh/tXqmcCIijuqJZJEgrGdG/IygcdWlvKYzVPhU=";
"gdk4-0.9.0" = "sha256-KYisC8nm6KVfowiKXtMoimXzB3UjHarH+2ZLhvW8oMU=";
"libadwaita-0.7.0" = "sha256-gfkaj/BIqvWj1UNVAGNNXww4aoJPlqvBwIRGmDiv48E=";
};
};
nativeBuildInputs = [
appstream
desktop-file-utils
gobject-introspection
gi-docgen
itstool
meson
ninja
pkg-config
wrapGAppsHook4
yelp-tools
cargo
rustPlatform.cargoSetupHook
];
buildInputs = [
atk
dbus # only needed to find the service directory
djvulibre
exempi
gdk-pixbuf
ghostscriptX
glib
gtk4
gsettings-desktop-schemas
libadwaita
libarchive
librsvg
libspectre
pango
poppler
] ++ lib.optionals withLibsecret [
libsecret
] ++ lib.optionals supportXPS [
libgxps
];
mesonFlags = [
"-Dnautilus=false"
"-Dps=enabled"
] ++ lib.optionals (!withLibsecret) [
"-Dkeyring=disabled"
];
preFixup = ''
gappsWrapperArgs+=(--prefix XDG_DATA_DIRS : "${shared-mime-info}/share")
'';
postFixup = ''
# Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back.
moveToOutput "share/doc" "$devdoc"
'';
meta = with lib; {
homepage = "https://wiki.gnome.org/Apps/papers";
description = "GNOME's document viewer";
longDescription = ''
papers is a document viewer for multiple document formats. It
currently supports PDF, PostScript, DjVu, and TIFF (not DVI anymore).
The goal of papers is to replace the evince document viewer that exist
on the GNOME Desktop with a more modern interface.
'';
license = licenses.gpl2Plus;
platforms = platforms.unix;
mainProgram = "papers";
maintainers = teams.gnome.members;
};
})

View File

@ -0,0 +1,56 @@
{ stdenv
, lib
, fetchFromGitLab
, meson
, mesonEmulatorHook
, ninja
, pkg-config
, gobject-introspection
, vala
, gtk-doc
, docbook-xsl-nons
, glib
, libsoup_3
}:
stdenv.mkDerivation (finalAttrs: {
pname = "uhttpmock";
version = "0.10.0";
outputs = [ "out" "dev" "devdoc" ];
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "pwithnall";
repo = "uhttpmock";
rev = finalAttrs.version;
hash = "sha256-d3IVlPOLOLzlUDuGOLll8pOK5FMsXI/d2wbwPZ6WI34=";
};
strictDeps = true;
nativeBuildInputs = [
meson
ninja
pkg-config
gobject-introspection
vala
gtk-doc
docbook-xsl-nons
] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
mesonEmulatorHook
];
propagatedBuildInputs = [
glib
libsoup_3
];
meta = with lib; {
description = "Project for mocking web service APIs which use HTTP or HTTPS";
homepage = "https://gitlab.freedesktop.org/pwithnall/uhttpmock/";
license = licenses.lgpl21Plus;
maintainers = teams.gnome.members;
platforms = platforms.linux;
};
})

View File

@ -9,11 +9,11 @@
stdenv.mkDerivation rec {
pname = "gnome-user-docs";
version = "45.5";
version = "46.1";
src = fetchurl {
url = "mirror://gnome/sources/gnome-user-docs/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "sha256-dBZ/z0KgTZ5dPMEw0nvCA9h7aFzmBqhGdN8k4f9xnlQ=";
hash = "sha256-qXKTy+63l+tPTRadcTu2WDvRLDeR4UAoPkNW0v4YCto=";
};
nativeBuildInputs = [

View File

@ -31,9 +31,6 @@ let
document-font-name="Noto Sans 10"
monospace-font-name="Hack 10"
[org.gnome.desktop.peripherals.touchpad:Budgie]
tap-to-click=true
[org.gnome.desktop.wm.preferences:Budgie]
titlebar-font="Noto Sans Bold 10"

View File

@ -9,6 +9,7 @@
, cjs
, evolution-data-server
, fetchFromGitHub
, fetchpatch
, gdk-pixbuf
, gettext
, libgnomekbd
@ -83,6 +84,13 @@ stdenv.mkDerivation rec {
patches = [
./use-sane-install-dir.patch
./libdir.patch
# Switch to GNOME Online Accounts GTK
(fetchpatch {
url = "https://github.com/linuxmint/cinnamon/commit/d22f889c376734f0ca5d904885c2772e790fbadc.patch";
includes = [ "files/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py" ];
hash = "sha256-xutJqxtzk3/BUQGZY/tnBkRyAfZZY7AckaGC6b7Sfn8=";
})
];
buildInputs = [
@ -140,13 +148,6 @@ stdenv.mkDerivation rec {
pkg-config
];
# Use locales from cinnamon-translations.
# FIXME: Upstream does not respect localedir option from Meson currently.
# https://github.com/linuxmint/cinnamon/pull/11244#issuecomment-1305855783
postInstall = ''
ln -s ${cinnamon-translations}/share/locale $out/share/locale
'';
postPatch = ''
find . -type f -exec sed -i \
-e s,/usr/share/cinnamon,$out/share/cinnamon,g \
@ -173,6 +174,18 @@ stdenv.mkDerivation rec {
patchShebangs src/data-to-c.pl
'';
postInstall = ''
# Use locales from cinnamon-translations.
ln -s ${cinnamon-translations}/share/locale $out/share/locale
# Do not install online accounts module, with a -Donlineaccounts=false c-c-c
# this just shows an empty page.
rm -f $out/share/cinnamon/cinnamon-settings/modules/cs_online_accounts.py
# g-o-a-gtk already provides its own desktop item.
rm -f $out/share/applications/cinnamon-settings-online-accounts.desktop
'';
preFixup = ''
# https://github.com/NixOS/nixpkgs/issues/101881
gappsWrapperArgs+=(

View File

@ -9,7 +9,6 @@
, gtk3
, libnotify
, libxml2
, gnome-online-accounts
, colord
, polkit
, libxkbfile
@ -59,7 +58,6 @@ stdenv.mkDerivation rec {
colord
libgudev
libwacom
gnome-online-accounts
tzdata
networkmanager
libnma
@ -85,6 +83,8 @@ stdenv.mkDerivation rec {
mesonFlags = [
# use locales from cinnamon-translations
"--localedir=${cinnamon-translations}/share/locale"
# https://github.com/linuxmint/cinnamon-control-center/issues/326
"-Donlineaccounts=false"
];
nativeBuildInputs = [

View File

@ -15,21 +15,22 @@
, cpio
, glib
, gnome
, gtk3
, gtk4
, libadwaita
, libhandy
, json-glib
, libarchive
, libportal-gtk3
, libportal-gtk4
, nautilus
}:
stdenv.mkDerivation (finalAttrs: {
pname = "file-roller";
version = "43.1";
version = "44.1";
src = fetchurl {
url = "mirror://gnome/sources/file-roller/${lib.versions.major finalAttrs.version}/file-roller-${finalAttrs.version}.tar.xz";
sha256 = "hJlAI5lyk76zRdl5Pbj18Lu0H6oVXG/7SDKPIDlXrQg=";
hash = "sha256-JQz1Uc/LEqZwyorflT4GgfHJt27gnZRYsgIDxiYCxIc=";
};
nativeBuildInputs = [
@ -48,11 +49,12 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [
cpio
glib
gtk3
gtk4
libadwaita
libhandy
json-glib
libarchive
libportal-gtk3
libportal-gtk4
nautilus
];

View File

@ -22,13 +22,13 @@
stdenv.mkDerivation rec {
pname = "ghex";
version = "45.1";
version = "46.0";
outputs = [ "out" "dev" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/ghex/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "+ysII80WJJ7b6u6DAvm9UAXgFQNos18eR8JmgMrKwvo=";
hash = "sha256-ocRvMCDLNYuDIwJds6U5yX2ZSkxG9wH0jtxjV/f7y9E=";
};
nativeBuildInputs = [

View File

@ -44,15 +44,16 @@
, vte
, glib-networking
, qemu-utils
, libportal-gtk3
}:
stdenv.mkDerivation rec {
pname = "gnome-boxes";
version = "45.0";
version = "46.1";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "zGMIDu+hR6hHKrGl/wh7l6J6tyOk7gBe1B6Mndd5jkE=";
hash = "sha256-kAwXf2diZANwpmNM+efTzYIH5Jg2eopmemtzGwQRYDY=";
};
patches = [
@ -114,6 +115,7 @@ stdenv.mkDerivation rec {
vte
webkitgtk_4_1
yajl
libportal-gtk3
];
preFixup = ''

View File

@ -21,11 +21,11 @@
stdenv.mkDerivation rec {
pname = "gnome-calendar";
version = "45.1";
version = "46.1";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "f6hQdUOGWqdDK7UxmDDIcVi1RHygnMpFtgfcZ5bHEAg=";
hash = "sha256-mGH/e4q9W3sgaQulXrdULH7FNLVmJp4ptbHoWMFhCJc=";
};
nativeBuildInputs = [

View File

@ -21,11 +21,11 @@
stdenv.mkDerivation rec {
pname = "gnome-characters";
version = "45.0";
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/gnome-characters/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "P9VPzBTSkbd//xLe7/8A2jg+CmQAr1B9FgX7y0m4x0E=";
hash = "sha256-pOjixRC/SCBLmZSk581TeEQkbnTIqYb52+BOIj9dgnw=";
};
nativeBuildInputs = [

View File

@ -25,11 +25,11 @@
stdenv.mkDerivation rec {
pname = "gnome-clocks";
version = "45.0";
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/gnome-clocks/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "/I60/ZUw8eZB3ADuIIbufTVKegCwoNFyLjBdXJqrkbU=";
hash = "sha256-6qPFeM3O+XVOZotWJnCbc/NSZxAjX0tyB20v9JpPmcc=";
};
nativeBuildInputs = [

View File

@ -7,7 +7,6 @@
, vala
, gettext
, itstool
, appstream-glib
, desktop-file-utils
, wrapGAppsHook
, glib
@ -22,11 +21,11 @@
stdenv.mkDerivation rec {
pname = "gnome-connections";
version = "45.0";
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
hash = "sha256-ufq1JbkKPifRE8FvuGjCucR7+BSTENFNuGLqGRLAb7g=";
hash = "sha256-+xzqaOeTC73B2yi3zQqaN80xDUtOeHL+gU9QoWqNJdM=";
};
nativeBuildInputs = [
@ -36,7 +35,6 @@ stdenv.mkDerivation rec {
vala
gettext
itstool
appstream-glib
desktop-file-utils
glib # glib-compile-resources
wrapGAppsHook

View File

@ -22,11 +22,11 @@
stdenv.mkDerivation rec {
pname = "gnome-logs";
version = "45.beta";
version = "45.0";
src = fetchurl {
url = "mirror://gnome/sources/gnome-logs/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "nbxJ/7J90jQuji/UmK8ltUENsjkQ/I7/XmiTrHa7jK4=";
hash = "sha256-sooG6lyYvRfyhztQfwhbDKDemBATZhH08u6wmGFOzlI=";
};
nativeBuildInputs = [

View File

@ -24,18 +24,19 @@
, gjs
, libadwaita
, geocode-glib_2
, tzdata
}:
stdenv.mkDerivation (finalAttrs: {
pname = "gnome-maps";
version = "45.5";
version = "46.10";
src = fetchurl {
url = "mirror://gnome/sources/gnome-maps/${lib.versions.major finalAttrs.version}/gnome-maps-${finalAttrs.version}.tar.xz";
hash = "sha256-HCD14Q3OaEre+ylhUmJmoiTmxGwW+gO5VK/6Czobt0A=";
hash = "sha256-XyXul6DC/t+E8M8DkrTvi+GT4/bOJfl1RntvzsBUIa8=";
};
doCheck = true;
doCheck = !stdenv.isDarwin;
nativeBuildInputs = [
gettext
@ -80,6 +81,19 @@ stdenv.mkDerivation (finalAttrs: {
preCheck = ''
# “time.js” included by “timeTest” and “translationsTest” depends on “org.gnome.desktop.interface” schema.
export XDG_DATA_DIRS="${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:$XDG_DATA_DIRS"
export HOME=$(mktemp -d)
export TZDIR=${tzdata}/share/zoneinfo
# Our gobject-introspection patches make the shared library paths absolute
# in the GIR files. When running tests, the library is not yet installed,
# though, so we need to replace the absolute path with a local one during build.
# We are using a symlink that we will delete before installation.
mkdir -p $out/lib/gnome-maps
ln -s $PWD/lib/libgnome-maps.so.0 $out/lib/gnome-maps/libgnome-maps.so.0
'';
postCheck = ''
rm $out/lib/gnome-maps/libgnome-maps.so.0
'';
passthru = {

View File

@ -30,13 +30,13 @@
python3.pkgs.buildPythonApplication rec {
pname = "gnome-music";
version = "45.1";
version = "46.0";
format = "other";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "lZWc24AkRASNUKGpHELbiyUWWgpoUzvAOJXrNyxN3gs=";
hash = "sha256-pFDVzgFokvavL4q3H8fDlDguIse2ILqSpuFc9mvF7F8=";
};
nativeBuildInputs = [

View File

@ -18,21 +18,19 @@
, libadwaita
, editorconfig-core-c
, libxml2
, appstream-glib
, desktop-file-utils
}:
stdenv.mkDerivation rec {
pname = "gnome-text-editor";
version = "45.3";
version = "46.1";
src = fetchurl {
url = "mirror://gnome/sources/gnome-text-editor/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "sha256-8//LEakt/QS6PDs9DmZ4R9REmiHgEq428H3aBax9OlI=";
hash = "sha256-jr+gvqEudfXv6sxyG+O4rmUCewJKqB257KuMMSJXous=";
};
nativeBuildInputs = [
appstream-glib
desktop-file-utils
itstool
libxml2 # for xmllint

View File

@ -19,11 +19,11 @@
stdenv.mkDerivation rec {
pname = "gnome-weather";
version = "45.0";
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/gnome-weather/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "MMAClwKIPcjYFg5t4dYRaHfNbCW8lQ1OSQKmq0Z7L6Q=";
hash = "sha256-FTgmcFzPZy4U8v5N/Hgvjom3xMvkqv6VpVMvveej1J0=";
};
nativeBuildInputs = [

View File

@ -30,11 +30,11 @@
stdenv.mkDerivation rec {
pname = "polari";
version = "45.0";
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "nbfdwJSqhVfxkXfhZMQti+Fn9UckuScTC3YhyCnB1KE=";
hash = "sha256-0rFwnjeRiSlPU9TvFfA/i8u76MUvD0FeYvfV8Aw2CjE=";
};
patches = [

View File

@ -13,11 +13,11 @@
stdenv.mkDerivation rec {
pname = "adwaita-icon-theme";
version = "45.0";
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/adwaita-icon-theme/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "JEK/sG9ObMlb9uJoL9/5j6Xt3GiHUbnWIVxiPLTkL/E=";
hash = "sha256-S8tTm9ddZNo4XW+gjLqp3erOtqyOgrhbpsQRF79bpk4=";
};
nativeBuildInputs = [

View File

@ -18,11 +18,11 @@
stdenv.mkDerivation rec {
pname = "baobab";
version = "45.0";
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "p9LPMIpsg57gsL8HT49f1g1iri8GSpSzxhDWVgt1joY=";
hash = "sha256-zk3vXILQVnGlAJ9768+FrJhnXZ2BYNKK2RgbJppy43w=";
};
nativeBuildInputs = [

View File

@ -36,11 +36,11 @@
stdenv.mkDerivation rec {
pname = "epiphany";
version = "45.3";
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "bDAum91mKQyw4m9ihDzUxDWklVq9u08VHwfcgEldZzA=";
hash = "sha256-9DSPLPUcB8DBBtEwFy1NI/LNQGh3Hh3gB7dYyireVmA=";
};
nativeBuildInputs = [

View File

@ -42,13 +42,13 @@
stdenv.mkDerivation rec {
pname = "evince";
version = "45.0";
version = "46.0";
outputs = [ "out" "dev" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/evince/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "0YZH1Cdcvd8NMoF7HQTjBzQqhb6RTsTa0tgIKq+KpKg=";
hash = "sha256-r/avaTksBJVr+tl23sXRWDtB1aM06TeZX3w8oHQN4iE=";
};
depsBuildBuild = [

View File

@ -50,13 +50,13 @@
stdenv.mkDerivation rec {
pname = "evolution-data-server";
version = "3.50.4";
version = "3.52.1";
outputs = [ "out" "dev" ];
src = fetchurl {
url = "mirror://gnome/sources/evolution-data-server/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "sha256-1+3/vgOgu87L7mc5MhS4McexjNiVuExNv+E4d3biV8U=";
hash = "sha256-gls9fVRoRApn0R3SojkzlgwHue7MeXuxJYQ8sshwo0g=";
};
patches = [
@ -147,10 +147,6 @@ stdenv.mkDerivation rec {
--replace "-Wl,--no-undefined" ""
substituteInPlace src/services/evolution-alarm-notify/e-alarm-notify.c \
--replace "G_OS_WIN32" "__APPLE__"
'' + lib.optionalString stdenv.cc.isClang ''
# https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/513
substituteInPlace src/addressbook/libebook-contacts/e-phone-number-private.cpp \
--replace "std::auto_ptr" "std::unique_ptr"
'';
postInstall = lib.optionalString stdenv.isDarwin ''

View File

@ -1,8 +1,8 @@
diff --git a/src/addressbook/libebook/e-book-client.c b/src/addressbook/libebook/e-book-client.c
index bd479d8..bd049b3 100644
index 5e65ec8..8ca28c6 100644
--- a/src/addressbook/libebook/e-book-client.c
+++ b/src/addressbook/libebook/e-book-client.c
@@ -1997,7 +1997,18 @@ e_book_client_get_self (ESourceRegistry *registry,
@@ -1924,7 +1924,18 @@ e_book_client_get_self (ESourceRegistry *registry,
*out_client = book_client;
@ -22,7 +22,7 @@ index bd479d8..bd049b3 100644
uid = g_settings_get_string (settings, SELF_UID_KEY);
g_object_unref (settings);
@@ -2065,7 +2076,18 @@ e_book_client_set_self (EBookClient *client,
@@ -1992,7 +2003,18 @@ e_book_client_set_self (EBookClient *client,
g_return_val_if_fail (
e_contact_get_const (contact, E_CONTACT_UID) != NULL, FALSE);
@ -42,7 +42,7 @@ index bd479d8..bd049b3 100644
g_settings_set_string (
settings, SELF_UID_KEY,
e_contact_get_const (contact, E_CONTACT_UID));
@@ -2101,8 +2123,18 @@ e_book_client_is_self (EContact *contact)
@@ -2028,8 +2050,18 @@ e_book_client_is_self (EContact *contact)
* unfortunately the API doesn't allow that.
*/
g_mutex_lock (&mutex);
@ -128,7 +128,7 @@ index e85a56b..59d3fe2 100644
g_object_unref (settings);
diff --git a/src/addressbook/libedata-book/e-book-meta-backend.c b/src/addressbook/libedata-book/e-book-meta-backend.c
index 63e1016..0492756 100644
index 5b4debf..77c8d9c 100644
--- a/src/addressbook/libedata-book/e-book-meta-backend.c
+++ b/src/addressbook/libedata-book/e-book-meta-backend.c
@@ -144,7 +144,18 @@ ebmb_is_power_saver_enabled (void)
@ -152,10 +152,10 @@ index 63e1016..0492756 100644
if (g_settings_get_boolean (settings, "limit-operations-in-power-saver-mode")) {
GPowerProfileMonitor *power_monitor;
diff --git a/src/calendar/backends/contacts/e-cal-backend-contacts.c b/src/calendar/backends/contacts/e-cal-backend-contacts.c
index 42f3457..b4926af 100644
index 43bd383..4dce824 100644
--- a/src/calendar/backends/contacts/e-cal-backend-contacts.c
+++ b/src/calendar/backends/contacts/e-cal-backend-contacts.c
@@ -1387,7 +1387,18 @@ e_cal_backend_contacts_init (ECalBackendContacts *cbc)
@@ -1369,7 +1369,18 @@ e_cal_backend_contacts_init (ECalBackendContacts *cbc)
(GDestroyNotify) g_free,
(GDestroyNotify) contact_record_free);
@ -202,10 +202,10 @@ index 2525856..7ecc1a8 100644
g_clear_object (&settings);
}
diff --git a/src/calendar/libecal/e-reminder-watcher.c b/src/calendar/libecal/e-reminder-watcher.c
index ade0a73..d7c3e73 100644
index 44ba49c..dfac2a2 100644
--- a/src/calendar/libecal/e-reminder-watcher.c
+++ b/src/calendar/libecal/e-reminder-watcher.c
@@ -2626,8 +2626,33 @@ e_reminder_watcher_init (EReminderWatcher *watcher)
@@ -2826,8 +2826,33 @@ e_reminder_watcher_init (EReminderWatcher *watcher)
watcher->priv = e_reminder_watcher_get_instance_private (watcher);
watcher->priv->cancellable = g_cancellable_new ();
@ -242,7 +242,7 @@ index ade0a73..d7c3e73 100644
g_signal_connect_object (
watcher->priv->desktop_settings,
diff --git a/src/calendar/libedata-cal/e-cal-meta-backend.c b/src/calendar/libedata-cal/e-cal-meta-backend.c
index 27fa153..3679d72 100644
index b9145af..350fcd3 100644
--- a/src/calendar/libedata-cal/e-cal-meta-backend.c
+++ b/src/calendar/libedata-cal/e-cal-meta-backend.c
@@ -156,7 +156,18 @@ ecmb_is_power_saver_enabled (void)
@ -265,7 +265,7 @@ index 27fa153..3679d72 100644
if (g_settings_get_boolean (settings, "limit-operations-in-power-saver-mode")) {
GPowerProfileMonitor *power_monitor;
@@ -2633,7 +2644,20 @@ ecmb_receive_object_sync (ECalMetaBackend *meta_backend,
@@ -2632,7 +2643,20 @@ ecmb_receive_object_sync (ECalMetaBackend *meta_backend,
if (is_declined) {
GSettings *settings;
@ -288,7 +288,7 @@ index 27fa153..3679d72 100644
g_clear_object (&settings);
}
diff --git a/src/camel/camel-cipher-context.c b/src/camel/camel-cipher-context.c
index bef9188..ce92f6c 100644
index d5a0823..2ae03f8 100644
--- a/src/camel/camel-cipher-context.c
+++ b/src/camel/camel-cipher-context.c
@@ -1631,7 +1631,18 @@ camel_cipher_can_load_photos (void)
@ -312,7 +312,7 @@ index bef9188..ce92f6c 100644
g_clear_object (&settings);
diff --git a/src/camel/camel-gpg-context.c b/src/camel/camel-gpg-context.c
index 4deae76..ebe0a1b 100644
index cecd740..9a15180 100644
--- a/src/camel/camel-gpg-context.c
+++ b/src/camel/camel-gpg-context.c
@@ -747,7 +747,18 @@ gpg_ctx_get_executable_name (void)
@ -361,10 +361,10 @@ index e61160c..b6553a4 100644
G_CALLBACK (mi_user_headers_settings_changed_cb), NULL);
G_UNLOCK (mi_user_headers);
diff --git a/src/camel/providers/imapx/camel-imapx-server.c b/src/camel/providers/imapx/camel-imapx-server.c
index 8518c90..6a655a9 100644
index bbf214b..bed39d2 100644
--- a/src/camel/providers/imapx/camel-imapx-server.c
+++ b/src/camel/providers/imapx/camel-imapx-server.c
@@ -5627,7 +5627,18 @@ camel_imapx_server_do_old_flags_update (CamelFolder *folder)
@@ -5661,7 +5661,18 @@ camel_imapx_server_do_old_flags_update (CamelFolder *folder)
if (do_old_flags_update) {
GSettings *eds_settings;
@ -433,10 +433,10 @@ index 188f276..939f89b 100644
settings, "network-monitor-gio-name",
object, "gio-name",
diff --git a/src/libedataserver/e-oauth2-service-google.c b/src/libedataserver/e-oauth2-service-google.c
index ec08afe..7b31227 100644
index 1453410..a3f06b0 100644
--- a/src/libedataserver/e-oauth2-service-google.c
+++ b/src/libedataserver/e-oauth2-service-google.c
@@ -71,7 +71,18 @@ eos_google_read_settings (EOAuth2Service *service,
@@ -72,7 +72,18 @@ eos_google_read_settings (EOAuth2Service *service,
if (!value) {
GSettings *settings;
@ -529,10 +529,10 @@ index af59b0b..0c7e75e 100644
g_object_unref (settings);
diff --git a/src/libedataserver/e-source-registry.c b/src/libedataserver/e-source-registry.c
index 4a9b398..e7cb404 100644
index 1539f8b..77cf123 100644
--- a/src/libedataserver/e-source-registry.c
+++ b/src/libedataserver/e-source-registry.c
@@ -1773,7 +1773,19 @@ e_source_registry_init (ESourceRegistry *registry)
@@ -1754,7 +1754,19 @@ e_source_registry_init (ESourceRegistry *registry)
g_mutex_init (&registry->priv->sources_lock);

View File

@ -7,6 +7,7 @@
, ninja
, pkg-config
, glib
, json-glib
, itstool
, xorg
, accountsservice
@ -42,13 +43,13 @@ in
stdenv.mkDerivation (finalAttrs: {
pname = "gdm";
version = "45.0.1";
version = "46.0";
outputs = [ "out" "dev" ];
src = fetchurl {
url = "mirror://gnome/sources/gdm/${lib.versions.major finalAttrs.version}/${finalAttrs.pname}-${finalAttrs.version}.tar.xz";
sha256 = "ZXJXjAXjxladbtJp994qrzoDVldlRYbYJDkHu3pv+oU=";
hash = "sha256-jWy1IXbspItrvxz+L9rgjZZ3taDyvKYA3uRgTeDdHvw=";
};
mesonFlags = [
@ -76,6 +77,7 @@ stdenv.mkDerivation (finalAttrs: {
accountsservice
audit
glib
json-glib
gtk3
keyutils
libX11
@ -94,7 +96,7 @@ stdenv.mkDerivation (finalAttrs: {
# https://gitlab.gnome.org/GNOME/gdm/-/merge_requests/92
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gdm/-/commit/ccecd9c975d04da80db4cd547b67a1a94fa83292.patch";
sha256 = "5hKS9wjjhuSAYwXct5vS0dPbmPRIINJoLC0Zm1naz6Q=";
hash = "sha256-5hKS9wjjhuSAYwXct5vS0dPbmPRIINJoLC0Zm1naz6Q=";
revert = true;
})

View File

@ -1,8 +1,8 @@
diff --git a/daemon/gdm-local-display-factory.c b/daemon/gdm-local-display-factory.c
index 5fbbad68..739718ec 100644
index f2d8e155b..54b998826 100644
--- a/daemon/gdm-local-display-factory.c
+++ b/daemon/gdm-local-display-factory.c
@@ -233,9 +233,9 @@ struct GdmDisplayServerConfiguration {
@@ -245,9 +245,9 @@ struct GdmDisplayServerConfiguration {
const char *session_type;
} display_server_configuration[] = {
#ifdef ENABLE_WAYLAND_SUPPORT
@ -15,10 +15,10 @@ index 5fbbad68..739718ec 100644
};
diff --git a/daemon/gdm-manager.c b/daemon/gdm-manager.c
index cc61efc9..4c9d15af 100644
index fc5aef6ac..c61e0046b 100644
--- a/daemon/gdm-manager.c
+++ b/daemon/gdm-manager.c
@@ -148,7 +148,7 @@ plymouth_is_running (void)
@@ -151,7 +151,7 @@ plymouth_is_running (void)
GError *error;
error = NULL;
@ -27,7 +27,7 @@ index cc61efc9..4c9d15af 100644
NULL, NULL, &status, &error);
if (! res) {
g_debug ("Could not ping plymouth: %s", error->message);
@@ -166,7 +166,7 @@ plymouth_prepare_for_transition (void)
@@ -169,7 +169,7 @@ plymouth_prepare_for_transition (void)
GError *error;
error = NULL;
@ -36,7 +36,7 @@ index cc61efc9..4c9d15af 100644
NULL, NULL, NULL, &error);
if (! res) {
g_warning ("Could not deactivate plymouth: %s", error->message);
@@ -181,7 +181,7 @@ plymouth_quit_with_transition (void)
@@ -184,7 +184,7 @@ plymouth_quit_with_transition (void)
GError *error;
error = NULL;
@ -45,7 +45,7 @@ index cc61efc9..4c9d15af 100644
if (! res) {
g_warning ("Could not quit plymouth: %s", error->message);
g_error_free (error);
@@ -197,7 +197,7 @@ plymouth_quit_without_transition (void)
@@ -200,7 +200,7 @@ plymouth_quit_without_transition (void)
GError *error;
error = NULL;
@ -55,10 +55,10 @@ index cc61efc9..4c9d15af 100644
g_warning ("Could not quit plymouth: %s", error->message);
g_error_free (error);
diff --git a/daemon/gdm-session.c b/daemon/gdm-session.c
index 4b709731..245ac0cf 100644
index a4c4b2dcf..67416b204 100644
--- a/daemon/gdm-session.c
+++ b/daemon/gdm-session.c
@@ -2972,16 +2972,16 @@ gdm_session_start_session (GdmSession *self,
@@ -3193,16 +3193,16 @@ gdm_session_start_session (GdmSession *self,
*/
if (run_launcher) {
if (is_x11) {
@ -79,7 +79,7 @@ index 4b709731..245ac0cf 100644
}
}
diff --git a/data/gdm.service.in b/data/gdm.service.in
index 17e8a8de..afc70977 100644
index 17e8a8de8..afc709778 100644
--- a/data/gdm.service.in
+++ b/data/gdm.service.in
@@ -26,7 +26,7 @@ Restart=always

View File

@ -8,11 +8,11 @@
stdenv.mkDerivation rec {
pname = "gnome-backgrounds";
version = "45.0";
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/gnome-backgrounds/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "zuDmiPuuXvenXzNa2i0Qd54I68qURfFYbeMsWptt7i0=";
hash = "sha256-Td06xDmkoGeHaAWSG7dfTTyLhaIY1Hwnbd3eiShEPC4=";
};
patches = [

View File

@ -27,14 +27,14 @@
stdenv.mkDerivation rec {
pname = "gnome-bluetooth";
version = "42.8";
version = "46.0";
# TODO: split out "lib"
outputs = [ "out" "dev" "devdoc" "man" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "dsJB6MosmxA1NkU1yiYIT4n8XA4YKVEPiQlYMRX8wts=";
hash = "sha256-E/4edfMXrNvfXoDJAp0uBjLWCpzPcqQ64263VFAh++8=";
};
nativeBuildInputs = [

View File

@ -1,5 +1,6 @@
{ stdenv
, lib
, appstream
, meson
, ninja
, vala
@ -24,14 +25,15 @@
stdenv.mkDerivation rec {
pname = "gnome-calculator";
version = "45.0.2";
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/gnome-calculator/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "fcvzI4SJcXHL5Ug+xmTZlOXnVekSrh35EWJPA8kIZ8I=";
hash = "sha256-RGlP2mtiM5I/XBCkjQLSz1ck4BGoqFeJB0yVMQHzO/E=";
};
nativeBuildInputs = [
appstream
meson
ninja
pkg-config

View File

@ -58,6 +58,7 @@ stdenv.mkDerivation rec {
updateScript = gnome.updateScript {
packageName = pname;
attrPath = "gnome.${pname}";
freeze = true;
};
};

View File

@ -11,7 +11,6 @@
, gtk4
, glib
, libportal-gtk4
, gnome-desktop
, gnome-online-accounts
, qrencode
, wrapGAppsHook4
@ -27,11 +26,11 @@
stdenv.mkDerivation rec {
pname = "gnome-contacts";
version = "45.1";
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/gnome-contacts/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "gj9WCe7NkMQk3T5khXKHvBMh+23+KJJKR0/w6azyG3U=";
hash = "sha256-cK606DWhx3+bzH5XotzCN22TvbYXVxYYJXRF9WxjcN8=";
};
nativeBuildInputs = [
@ -54,7 +53,6 @@ stdenv.mkDerivation rec {
evolution-data-server-gtk4
gsettings-desktop-schemas
folks
gnome-desktop
libadwaita
libxml2
gnome-online-accounts

View File

@ -7,13 +7,14 @@
, colord
, colord-gtk4
, cups
, dbus
, docbook-xsl-nons
, fontconfig
, gdk-pixbuf
, gettext
, glib
, glib-networking
, gcr
, gcr_4
, glibc
, gnome-bluetooth
, gnome-color-manager
@ -37,7 +38,9 @@
, librsvg
, webp-pixbuf-loader
, libsecret
, libsoup_3
, libwacom
, libXi
, libxml2
, libxslt
, meson
@ -69,11 +72,11 @@
stdenv.mkDerivation (finalAttrs: {
pname = "gnome-control-center";
version = "45.3";
version = "46.1";
src = fetchurl {
url = "mirror://gnome/sources/gnome-control-center/${lib.versions.major finalAttrs.version}/gnome-control-center-${finalAttrs.version}.tar.xz";
sha256 = "sha256-selJxOhsBiTsam7Q3wnJ+uKyKYPB3KYO2GrsjvCyQAQ=";
hash = "sha256-gXkkIwGd7aHSoHTB7Pan5u8xcsCcvm9NeZWktd6igxI=";
};
patches = [
@ -102,12 +105,12 @@ stdenv.mkDerivation (finalAttrs: {
adwaita-icon-theme
colord
colord-gtk4
libepoxy
cups
fontconfig
gdk-pixbuf
glib
glib-networking
gcr
gcr_4
gnome-bluetooth
gnome-desktop
gnome-online-accounts
@ -119,6 +122,7 @@ stdenv.mkDerivation (finalAttrs: {
gsound
gtk4
ibus
libepoxy
libgtop
libgudev
libadwaita
@ -128,7 +132,9 @@ stdenv.mkDerivation (finalAttrs: {
libpwquality
librsvg
libsecret
libsoup_3
libwacom
libXi
libxml2
modemmanager
mutter # schemas for the keybindings
@ -146,6 +152,7 @@ stdenv.mkDerivation (finalAttrs: {
]);
nativeCheckInputs = [
dbus
python3.pkgs.python-dbusmock
setxkbmap
xvfb-run

View File

@ -37,10 +37,10 @@ index f6c84e3d2..cd897f8f5 100644
gtk_widget_set_sensitive (self->toolbutton_profile_view, TRUE);
else
gtk_widget_set_sensitive (self->toolbutton_profile_view, FALSE);
diff --git a/panels/datetime/tz.h b/panels/datetime/tz.h
diff --git a/panels/system/datetime/tz.h b/panels/system/datetime/tz.h
index feef16580..4b88ef7b1 100644
--- a/panels/datetime/tz.h
+++ b/panels/datetime/tz.h
--- a/panels/system/datetime/tz.h
+++ b/panels/system/datetime/tz.h
@@ -27,11 +27,7 @@
G_BEGIN_DECLS
@ -67,37 +67,6 @@ index ec5a905a5..689fdbebe 100644
if (self->is_new_connection) {
g_autofree gchar *type_str = NULL;
diff --git a/panels/network/net-device-bluetooth.c b/panels/network/net-device-bluetooth.c
index 303f4a8af..e5afc4dff 100644
--- a/panels/network/net-device-bluetooth.c
+++ b/panels/network/net-device-bluetooth.c
@@ -80,7 +80,7 @@ nm_device_bluetooth_refresh_ui (NetDeviceBluetooth *self)
update_off_switch_from_device_state (self->device_off_switch, state, self);
/* set up the Options button */
- path = g_find_program_in_path ("nm-connection-editor");
+ path = g_find_program_in_path ("@networkmanagerapplet@/bin/nm-connection-editor");
gtk_widget_set_visible (GTK_WIDGET (self->options_button), state != NM_DEVICE_STATE_UNMANAGED && path != NULL);
}
@@ -131,7 +131,7 @@ options_button_clicked_cb (NetDeviceBluetooth *self)
connection = net_device_get_find_connection (self->client, self->device);
uuid = nm_connection_get_uuid (connection);
- cmdline = g_strdup_printf ("nm-connection-editor --edit %s", uuid);
+ cmdline = g_strdup_printf ("@networkmanagerapplet@/bin/nm-connection-editor --edit %s", uuid);
g_debug ("Launching '%s'\n", cmdline);
if (!g_spawn_command_line_async (cmdline, &error))
g_warning ("Failed to launch nm-connection-editor: %s", error->message);
@@ -173,7 +173,7 @@ net_device_bluetooth_init (NetDeviceBluetooth *self)
gtk_widget_init_template (GTK_WIDGET (self));
- path = g_find_program_in_path ("nm-connection-editor");
+ path = g_find_program_in_path ("@networkmanagerapplet@/bin/nm-connection-editor");
gtk_widget_set_visible (GTK_WIDGET (self->options_button), path != NULL);
}
diff --git a/panels/network/net-device-mobile.c b/panels/network/net-device-mobile.c
index 166670224..36f720d36 100644
--- a/panels/network/net-device-mobile.c
@ -133,10 +102,10 @@ index a31a606e3..ed5133d29 100644
argv[1] = g_strdup (priv->hostname);
/* Use SNMP to get printer's informations */
diff --git a/panels/user-accounts/run-passwd.c b/panels/user-accounts/run-passwd.c
diff --git a/panels/system/users/run-passwd.c b/panels/system/users/run-passwd.c
index edbc99830..1e1d90141 100644
--- a/panels/user-accounts/run-passwd.c
+++ b/panels/user-accounts/run-passwd.c
--- a/panels/system/users/run-passwd.c
+++ b/panels/system/users/run-passwd.c
@@ -152,7 +152,7 @@ spawn_passwd (PasswdHandler *passwd_handler, GError **error)
gchar **envp;
gint my_stdin, my_stdout;
@ -146,10 +115,10 @@ index edbc99830..1e1d90141 100644
argv[1] = NULL;
envp = g_get_environ ();
diff --git a/panels/user-accounts/user-utils.c b/panels/user-accounts/user-utils.c
diff --git a/panels/system/users/user-utils.c b/panels/system/users/user-utils.c
index 5b7bc1f02..13ffe6ca8 100644
--- a/panels/user-accounts/user-utils.c
+++ b/panels/user-accounts/user-utils.c
--- a/panels/system/users/user-utils.c
+++ b/panels/system/users/user-utils.c
@@ -215,7 +215,7 @@ is_valid_username_async (const gchar *username,
* future, so it would be nice to have some official way for this
* instead of relying on the current "--login" implementation.

View File

@ -27,11 +27,11 @@
stdenv.mkDerivation rec {
pname = "gnome-disk-utility";
version = "45.1";
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/gnome-disk-utility/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "sha256-VA/07JprljAAP/TNYNYk85/nDyWpVZ5TMziWA8hblSk=";
hash = "sha256-RkZJFIxtZ3HxrC6/5DpOUZIFsRwtkUoJ8qABgh0GlX0=";
};
nativeBuildInputs = [

View File

@ -18,11 +18,11 @@
stdenv.mkDerivation rec {
pname = "gnome-font-viewer";
version = "45.0";
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/gnome-font-viewer/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "l8traN2mDeCrMDg4NYbx5LwdpaSPRAJb1rvnTqBcKwg=";
hash = "sha256-WS9AHkhdAswETUh7tcjgTJYdpoViFnaKWfH/mL0tU3w=";
};
doCheck = true;

View File

@ -16,14 +16,11 @@
, geocode-glib_2
, glib
, gnome-desktop
, gnome-online-accounts
, gtk3
, gtk4
, libgweather
, json-glib
, krb5
, libpwquality
, librest_1_0
, libsecret
, networkmanager
, pango
@ -39,11 +36,11 @@
stdenv.mkDerivation rec {
pname = "gnome-initial-setup";
version = "45.4.1";
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "Nj4JqjMI5/QHTgZiU6AYKzIqtgN2dD3heLu0AOVLqO4=";
hash = "sha256-+O6dzqfjXnNeqjvI0QQdBrtk6/HhBG5ejkjx+0QVGEc=";
};
patches = [
@ -72,9 +69,7 @@ stdenv.mkDerivation rec {
geocode-glib_2
glib
gnome-desktop
gnome-online-accounts
gsettings-desktop-schemas
gtk3
gtk4
json-glib
krb5
@ -82,7 +77,6 @@ stdenv.mkDerivation rec {
libadwaita
libnma-gtk4
libpwquality
librest_1_0
libsecret
networkmanager
pango

View File

@ -24,13 +24,13 @@
stdenv.mkDerivation rec {
pname = "gnome-keyring";
version = "42.1";
version = "46.1";
outputs = [ "out" "dev" ];
src = fetchurl {
url = "mirror://gnome/sources/gnome-keyring/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "x/TQQMx2prf+Z+CO+RBpEcPIDUD8iMv8jiaEpMlG4+Y=";
hash = "sha256-sdOukTL/L4s/JaGQeQiSlo49Cs+VKkh+QPZEqFUM4/Y=";
};
nativeBuildInputs = [
@ -60,6 +60,9 @@ stdenv.mkDerivation rec {
configureFlags = [
"--with-pkcs11-config=${placeholder "out"}/etc/pkcs11/" # installation directories
"--with-pkcs11-modules=${placeholder "out"}/lib/pkcs11/"
# gnome-keyring doesn't build with ssh-agent by default anymore, we need to
# switch to using gcr https://github.com/NixOS/nixpkgs/issues/140824
"--enable-ssh-agent"
];
# Tends to fail non-deterministically.

View File

@ -1,4 +1,5 @@
{ lib, stdenv
{ stdenv
, lib
, fetchurl
, cairo
, meson
@ -16,22 +17,24 @@
, systemd
, libsecret
, libnotify
, libopus
, libxkbcommon
, gdk-pixbuf
, freerdp
, freerdp3
, fdk_aac
, tpm2-tss
, fuse3
, gnome
, polkit
}:
stdenv.mkDerivation rec {
pname = "gnome-remote-desktop";
version = "45.1";
version = "46.1";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
hash = "sha256-3NnBisIwZpVjH88AqIZFw443DroFxp3zn1QCBNTq/Y0=";
hash = "sha256-fGKkKB/fqVIhEK/7910JlzA18q3H+kV3UR1zMYa+to8=";
};
nativeBuildInputs = [
@ -45,7 +48,7 @@ stdenv.mkDerivation rec {
buildInputs = [
cairo
freerdp
freerdp3
fdk_aac
tpm2-tss
fuse3
@ -56,15 +59,23 @@ stdenv.mkDerivation rec {
libdrm
nv-codec-headers-11
libnotify
libopus
libsecret
libxkbcommon
pipewire
systemd
polkit # For polkit-gobject
];
mesonFlags = [
"-Dconf_dir=/etc/gnome-remote-desktop"
"-Dsystemd_user_unit_dir=${placeholder "out"}/lib/systemd/user"
"-Dsystemd_system_unit_dir=${placeholder "out"}/lib/systemd/system"
"-Dsystemd_sysusers_dir=${placeholder "out"}/lib/sysusers.d"
"-Dsystemd_tmpfiles_dir=${placeholder "out"}/lib/tmpfiles.d"
"-Dtests=false" # Too deep of a rabbit hole.
# TODO: investigate who should be fixed here.
"-Dc_args=-I${freerdp3}/include/winpr3"
];
passthru = {

View File

@ -30,13 +30,13 @@
stdenv.mkDerivation rec {
pname = "gnome-session";
# Also bump ./ctl.nix when bumping major version.
version = "45.0";
version = "46.0";
outputs = [ "out" "sessions" ];
src = fetchurl {
url = "mirror://gnome/sources/gnome-session/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "cG0v/KysOFU6PAGFeT9aK0qslAu154nZU8mAgWO+8vE=";
hash = "sha256-xuFiSvYJC8ThoZH+Imir+nqN4HgxynpX8hfmeb97mlQ=";
};
patches = [
@ -76,11 +76,6 @@ stdenv.mkDerivation rec {
libepoxy
];
mesonFlags = [
"-Dsystemd=true"
"-Dsystemd_session=default"
];
postPatch = ''
chmod +x meson_post_install.py # patchShebangs requires executable file
patchShebangs meson_post_install.py

View File

@ -40,11 +40,11 @@
stdenv.mkDerivation rec {
pname = "gnome-settings-daemon";
version = "45.1";
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/gnome-settings-daemon/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "xiv+yYF+7luD6+kBqShhiaZ+tf8DPF3UFQZXT4Ir8JA=";
hash = "sha256-C5oPZPoYqOfgm0yVo/dU+gM8LNvS3DVwHwYYVywcs9c=";
};
patches = [

View File

@ -13,11 +13,11 @@
stdenv.mkDerivation (finalAttrs: {
pname = "gnome-shell-extensions";
version = "45.2";
version = "46.1";
src = fetchurl {
url = "mirror://gnome/sources/gnome-shell-extensions/${lib.versions.major finalAttrs.version}/gnome-shell-extensions-${finalAttrs.version}.tar.xz";
sha256 = "7jL2OHotGK2/96lWaJvHR4ZrSocS1zeQwAKr6uTMqq8=";
hash = "sha256-xbpQcA2nephvAGC+7az8AX5+yCKD8qY4SEKggHvEVT8=";
};
patches = [

View File

@ -12,8 +12,7 @@
, python3
, polkit
, networkmanager
, gtk-doc
, docbook-xsl-nons
, gi-docgen
, at-spi2-core
, libstartup_notification
, unzip
@ -24,7 +23,6 @@
, webp-pixbuf-loader
, geoclue2
, perl
, docbook_xml_dtd_45
, desktop-file-utils
, libpulseaudio
, libical
@ -68,13 +66,13 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "gnome-shell";
version = "45.5";
version = "46.1";
outputs = [ "out" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/gnome-shell/${lib.versions.major finalAttrs.version}/gnome-shell-${finalAttrs.version}.tar.xz";
sha256 = "sha256-vVw9PQKNRyM+QgUiPwrAKsmpc7aZvCd0OQlNQaeNarA=";
hash = "sha256-ZPmZhEwQHmO/KU1FsTjeVjGa0vMmKCchqtD6hgZTs2k=";
};
patches = [
@ -101,8 +99,8 @@ stdenv.mkDerivation (finalAttrs: {
# Work around failing fingerprint auth
(fetchpatch {
url = "https://src.fedoraproject.org/rpms/gnome-shell/raw/9a647c460b651aaec0b8a21f046cc289c1999416/f/0001-gdm-Work-around-failing-fingerprint-auth.patch";
sha256 = "pFvZli3TilUt6YwdZztpB8Xq7O60XfuWUuPMMVSpqLw=";
url = "https://src.fedoraproject.org/rpms/gnome-shell/raw/dcd112d9708954187e7490564c2229d82ba5326f/f/0001-gdm-Work-around-failing-fingerprint-auth.patch";
hash = "sha256-mgXty5HhiwUO1UV3/eDgWtauQKM0cRFQ0U7uocST25s=";
})
];
@ -111,9 +109,7 @@ stdenv.mkDerivation (finalAttrs: {
ninja
pkg-config
gettext
docbook-xsl-nons
docbook_xml_dtd_45
gtk-doc
gi-docgen
perl
wrapGAppsHook4
sassc
@ -213,6 +209,9 @@ stdenv.mkDerivation (finalAttrs: {
for svc in org.gnome.ScreenSaver org.gnome.Shell.Extensions org.gnome.Shell.Notifications org.gnome.Shell.Screencast; do
wrapGApp $out/share/gnome-shell/$svc
done
# Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back.
moveToOutput "share/doc" "$devdoc"
'';
separateDebugInfo = true;

View File

@ -56,16 +56,3 @@ index 11fb4b6b7..e00e4807b 100644
NULL);
if (!g_subprocess_wait_check (proc, NULL, &error))
diff --git a/subprojects/extensions-tool/src/command-pack.c b/subprojects/extensions-tool/src/command-pack.c
index f2cfcd51a..2a9a7efdf 100644
--- a/subprojects/extensions-tool/src/command-pack.c
+++ b/subprojects/extensions-tool/src/command-pack.c
@@ -168,7 +168,7 @@ extension_pack_add_schemas (ExtensionPack *pack,
#else
dstpath = g_file_get_path (dstdir);
proc = g_subprocess_new (G_SUBPROCESS_FLAGS_STDERR_SILENCE, error,
- "glib-compile-schemas", "--strict", dstpath, NULL);
+ "@glib_compile_schemas@", "--strict", dstpath, NULL);
if (!g_subprocess_wait_check (proc, NULL, error))
return FALSE;

View File

@ -1,16 +1,16 @@
diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js
index a3e4372b4..36f6c1f47 100644
index 28db1a9de..805b686bf 100644
--- a/js/gdm/loginDialog.js
+++ b/js/gdm/loginDialog.js
@@ -43,6 +43,7 @@ import * as UserWidget from '../ui/userWidget.js';
const _FADE_ANIMATION_TIME = 250;
@@ -46,6 +46,7 @@ const _FADE_ANIMATION_TIME = 250;
const _SCROLL_ANIMATION_TIME = 500;
const _TIMED_LOGIN_IDLE_THRESHOLD = 5.0;
const _CONFLICTING_SESSION_DIALOG_TIMEOUT = 60;
+const _LOGO_ICON_HEIGHT = 48;
export const UserListItem = GObject.registerClass({
Signals: {'activate': {}},
@@ -839,7 +840,7 @@ export const LoginDialog = GObject.registerClass({
@@ -908,7 +909,7 @@ export const LoginDialog = GObject.registerClass({
const scaleFactor = St.ThemeContext.get_for_stage(global.stage).scale_factor;
const texture = this._textureCache.load_file_async(
this._logoFile,

View File

@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchurl
, fetchpatch
, substituteAll
, pkg-config
, meson
@ -46,11 +45,11 @@ in
stdenv.mkDerivation rec {
pname = "gnome-software";
version = "45.3";
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/gnome-software/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "1rkkWyIjfae9FzndKMI8yPODX5n6EMEDfZ3XY1M1JRw=";
hash = "sha256-EYkwAru1QIKJZoNwe8OZGuVaLzBAgRp2DjqSyWVE+G4=";
};
patches = [
@ -58,17 +57,6 @@ stdenv.mkDerivation rec {
src = ./fix-paths.patch;
inherit isocodes;
})
# Add support for AppStream 1.0.
# https://gitlab.gnome.org/GNOME/gnome-software/-/issues/2393
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gnome-software/-/commit/0655f358ed0e8455e12d9634f60bc4dbaee434e3.patch";
hash = "sha256-8IXXUfNeha5yRlRLuxQV8whwQmyNw7Aoi/r5NNFS/zA=";
})
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gnome-software/-/commit/e431ab003f3fabf616b6eb7dc93f8967bc9473e5.patch";
hash = "sha256-Y5GcC1XMbb9Bl2/VKFnrV1B/ipLKxY4guse25LhxhKM=";
})
];
nativeBuildInputs = [

View File

@ -3,13 +3,13 @@
, gettext
, fetchurl
, pkg-config
, gtkmm3
, gtkmm4
, libxml2
, bash
, gtk3
, libhandy
, gtk4
, libadwaita
, glib
, wrapGAppsHook
, wrapGAppsHook4
, meson
, ninja
, gsettings-desktop-schemas
@ -23,11 +23,11 @@
stdenv.mkDerivation rec {
pname = "gnome-system-monitor";
version = "45.0.2";
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/gnome-system-monitor/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "xeJy2Qv5mGo/hhPXbg0n+kLfrO5cAZLnOSG7lLGGii4=";
hash = "sha256-U3YkgVjGhsMIJVRy6MKp5MFyVWQsFJ/HGYxtA05UdZk=";
};
patches = [
@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
pkg-config
gettext
itstool
wrapGAppsHook
wrapGAppsHook4
meson
ninja
glib
@ -47,11 +47,11 @@ stdenv.mkDerivation rec {
buildInputs = [
bash
gtk3
libhandy
gtk4
libadwaita
glib
libxml2
gtkmm3
gtkmm4
libgtop
gdk-pixbuf
gnome.adwaita-icon-theme

View File

@ -30,14 +30,14 @@
stdenv.mkDerivation rec {
pname = "gnome-terminal";
version = "3.50.1";
version = "3.52.0";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "GNOME";
repo = "gnome-terminal";
rev = version;
sha256 = "sha256-lJAzmz8tvEbr371VtYjlV4+z3cSy4QrmP0vmD5WiJD4=";
hash = "sha256-6+6/fgGlSM/57+n0SopuF0ZY9htma5usIgxy2BBAC+M=";
};
nativeBuildInputs = [

View File

@ -22,11 +22,11 @@
stdenv.mkDerivation rec {
pname = "gnome-tour";
version = "45.0";
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
hash = "sha256-W+S470uPTV7KzMMQSNtuCFqPe/+tqghDuOiniP8dre4=";
hash = "sha256-8yZSqp1+8GQ3YM5jkyCCz9NkHnczt2xCm3jQl4O3xGo=";
};
cargoVendorDir = "vendor";

View File

@ -36,6 +36,7 @@
, libinput
, libdrm
, libei
, libdisplay-info
, gsettings-desktop-schemas
, glib
, atk
@ -67,13 +68,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "mutter";
version = "45.5";
version = "46.1";
outputs = [ "out" "dev" "man" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/mutter/${lib.versions.major finalAttrs.version}/mutter-${finalAttrs.version}.tar.xz";
sha256 = "sha256-UcMyS4qXX5luWsaTqzhWPElubxQubNM1e0lQ0lAzSHQ=";
hash = "sha256-Y7JmDdD6GT+mYsgO4S64sW8rjDvDiWNmIAx5lDgk1R0=";
};
mesonFlags = [
@ -125,6 +126,7 @@ stdenv.mkDerivation (finalAttrs: {
libcanberra
libdrm
libei
libdisplay-info
libgudev
libinput
libstartup_notification
@ -172,7 +174,7 @@ stdenv.mkDerivation (finalAttrs: {
postFixup = ''
# Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back.
# TODO: Move this into a directory devhelp can find.
moveToOutput "share/mutter-13/doc" "$devdoc"
moveToOutput "share/mutter-14/doc" "$devdoc"
'';
# Install udev files into our own tree.
@ -181,7 +183,7 @@ stdenv.mkDerivation (finalAttrs: {
separateDebugInfo = true;
passthru = {
libdir = "${finalAttrs.finalPackage}/lib/mutter-13";
libdir = "${finalAttrs.finalPackage}/lib/mutter-14";
tests = {
libdirExists = runCommand "mutter-libdir-exists" {} ''

View File

@ -7,7 +7,6 @@
, gi-docgen
, docbook-xsl-nons
, gettext
, libxml2
, desktop-file-utils
, wrapGAppsHook4
, gtk4
@ -39,13 +38,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "nautilus";
version = "45.2.1";
version = "46.1";
outputs = [ "out" "dev" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/nautilus/${lib.versions.major finalAttrs.version}/nautilus-${finalAttrs.version}.tar.xz";
sha256 = "ul1T3zmhVVYt+XHvXjHoJwdJBdDEjqseskIaEChLmQ0=";
hash = "sha256-zBpf3x3XL5Lp4/PHrSY3CaDeU5Golb6TRPamf0OIe9c=";
};
patches = [
@ -63,7 +62,6 @@ stdenv.mkDerivation (finalAttrs: {
desktop-file-utils
gettext
gobject-introspection
libxml2
meson
ninja
pkg-config

View File

@ -21,6 +21,4 @@ index cd889ff18..e2cd6468e 100644
+ }
+
+ load_module_dir (extensiondir);
eel_debug_call_at_shutdown (free_module_objects);
}

View File

@ -6,15 +6,15 @@
, gettext
, itstool
, python3
, wrapGAppsHook
, wrapGAppsHook4
, cairo
, gdk-pixbuf
, colord
, glib
, gtk3
, libadwaita
, gtk4
, gusb
, packagekit
, libhandy
, libwebp
, libxml2
, sane-backends
@ -25,11 +25,11 @@
stdenv.mkDerivation rec {
pname = "simple-scan";
version = "44.0";
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "sha256-Obhw/Ub0R/dH6uzC3yYEnvdzGFCZ8OE8Z1ZWJk3ZjpU=";
hash = "sha256-wW5lkBQv5WO+UUMSKzu7U/awCn2p2VL2HEf6Jve08Kk=";
};
nativeBuildInputs = [
@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
itstool
pkg-config
python3
wrapGAppsHook
wrapGAppsHook4
libxml2
gobject-introspection # For setup hook
vala
@ -51,8 +51,8 @@ stdenv.mkDerivation rec {
colord
glib
gusb
gtk3
libhandy
libadwaita
gtk4
libwebp
packagekit
sane-backends

View File

@ -23,11 +23,11 @@
stdenv.mkDerivation rec {
pname = "sushi";
version = "45.0";
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/sushi/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "al8UsFo0cf5DhTzCsOGuVITX+fhvfqN2F5gpub9Kwd0=";
hash = "sha256-lghbqqQwqyFCxgaqtcR+L7sv0+two1ITfmXFmlig8sY=";
};
nativeBuildInputs = [

View File

@ -67,7 +67,7 @@ in rec {
gnome46Extensions = mapUuidNames (produceExtensionsList "46");
# Keep the last three versions in here
gnomeExtensions = lib.trivial.pipe (gnome44Extensions // gnome45Extensions) [
gnomeExtensions = lib.trivial.pipe (gnome44Extensions // gnome45Extensions // gnome46Extensions) [
(v: builtins.removeAttrs v [ "__attrsFailEvaluation" ])
# Apply some custom patches for automatically packaged extensions
(callPackage ./extensionOverrides.nix {})

View File

@ -21,11 +21,11 @@
stdenv.mkDerivation rec {
pname = "gnome-chess";
version = "43.2";
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/gnome-chess/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "NIUI+PbnRRwHNE/6egmpkM8dKIO8z1M0CdvgKSaNSfI=";
hash = "sha256-oryQ4KdUMSxXibkZi0knMDd1tiWDqOlnbSxqlztG/ec=";
};
nativeBuildInputs = [

View File

@ -20,11 +20,11 @@
stdenv.mkDerivation (finalAttrs: {
pname = "gnome-nibbles";
version = "4.0.2";
version = "4.0.4";
src = fetchurl {
url = "mirror://gnome/sources/gnome-nibbles/${lib.versions.majorMinor finalAttrs.version}/gnome-nibbles-${finalAttrs.version}.tar.xz";
sha256 = "SF+Mnq03/xr/ANXFfZk40PXc/xyocDHyKkrjhS6HU8U=";
hash = "sha256-1xKkxpQ78ylWrfuSIvHxQ2mRHlTs67DNYffCWr16Wdo=";
};
nativeBuildInputs = [

View File

@ -21,11 +21,11 @@
stdenv.mkDerivation rec {
pname = "gnome-sudoku";
version = "45.5";
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/gnome-sudoku/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "jo4rymzaSfBdAGHD+YZgILNj74TDow9bfo7U5BpX/Q8=";
hash = "sha256-d8TnjYhvOxRFav7w+5aPLqAa01cDzEhSP41yR4P/pq8=";
};
nativeBuildInputs = [

View File

@ -4,11 +4,11 @@
stdenv.mkDerivation rec {
pname = "lightsoff";
version = "40.0.1";
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/lightsoff/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "1aziy64g15bm83zfn3ifs20z9yvscdvsxbx132xnq77i0r3qvlxc";
hash = "sha256-ZysVMuBkX64C8oN6ltU57c/Uw7pPcuWR3HP+R567i5I=";
};
nativeBuildInputs = [

View File

@ -6,26 +6,26 @@
, pkg-config
, vala
, glib
, gtk3
, libgnome-games-support
, gtk4
, libgee
, libgnome-games-support_2_0
, pango
, gnome
, desktop-file-utils
, clutter
, clutter-gtk
, gettext
, itstool
, libxml2
, wrapGAppsHook
, wrapGAppsHook4
, python3
}:
stdenv.mkDerivation rec {
pname = "swell-foop";
version = "41.1";
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "JD96VeXnU6UQhu7CVoMg12ktWxWmanI6tZFwXg2O9t0=";
hash = "sha256-BvireAfXHOyUi4aDcfR/ut7vzLXDV+E9HvPISBiR/KM=";
};
nativeBuildInputs = [
@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
ninja
vala
pkg-config
wrapGAppsHook
wrapGAppsHook4
python3
itstool
gettext
@ -43,17 +43,12 @@ stdenv.mkDerivation rec {
buildInputs = [
glib
gtk3
libgnome-games-support
clutter
clutter-gtk
gtk4
libgee
libgnome-games-support_2_0
pango
];
postPatch = ''
chmod +x meson_post_install.py # patchShebangs requires executable file
patchShebangs meson_post_install.py
'';
passthru = {
updateScript = gnome.updateScript {
packageName = pname;

View File

@ -23,11 +23,11 @@
stdenv.mkDerivation rec {
pname = "gnome-applets";
version = "3.50.0";
version = "3.52.0";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "b3kagx8WQ+YvOJ7sCLHqPfHzr+1DqzQJb6Ic+njcgKU=";
hash = "sha256-bz07QoZW/21bHT7lzLfs49Kxi1S/BFes9DtxHlXi1iw=";
};
nativeBuildInputs = [

View File

@ -31,11 +31,11 @@
}:
let
pname = "gnome-flashback";
version = "3.50.0";
version = "3.52.1";
# From data/sessions/Makefile.am
requiredComponentsCommon = enableGnomePanel:
[ "gnome-flashback" ]
[ ]
++ lib.optional enableGnomePanel "gnome-panel";
requiredComponentsGsd = [
"org.gnome.SettingsDaemon.A11ySettings"
@ -62,13 +62,13 @@ let
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "sha256-0ExDSCICLJ+n5gh05cjNIGDI88BwPBnytAMr4lQnKv4=";
hash = "sha256-ugRhPNrbYr2iBkN8BHKZ4WAlzeG9gJXglKp3dpx4YDo=";
};
# make .desktop Execs absolute
postPatch = ''
patch -p0 <<END_PATCH
+++ data/applications/gnome-flashback.desktop.in.in
+++ data/applications/gnome-flashback.desktop.in
@@ -4 +4 @@
-Exec=gnome-flashback
+Exec=$out/bin/gnome-flashback

View File

@ -24,13 +24,13 @@
stdenv.mkDerivation rec {
pname = "gnome-panel";
version = "3.50.0";
version = "3.52.0";
outputs = [ "out" "dev" "man" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
hash = "sha256-Al7IidBCYtQclb7oW+ZCG6OmBQ4mm5zpn2ksrUmi6xM=";
hash = "sha256-nim6iHPN5A1AwpNKRk+PQ7ousbUisZFEfKon3XhTxdQ=";
};
patches = [

View File

@ -2,6 +2,7 @@
, meson
, ninja
, fetchurl
, desktop-file-utils
, gdk-pixbuf
, gettext
, glib
@ -9,26 +10,29 @@
, gnome-desktop
, gobject-introspection
, gsettings-desktop-schemas
, gtk3
, gtk4
, itstool
, libhandy
, libadwaita
, libgudev
, libnotify
, libxml2
, pkg-config
, python3Packages
, wrapGAppsHook }:
, wrapGAppsHook4
}:
python3Packages.buildPythonApplication rec {
pname = "gnome-tweaks";
version = "45.1";
version = "46.0";
format = "other";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "lf+n842bHf1eTOvvt1JBn+ohzUBwITla3J8RKFRBbU8=";
hash = "sha256-Fnh4Y0H2ZKxFgHhCIqFkCfqb9cx6XxtG3O/SqhPdujE=";
};
nativeBuildInputs = [
desktop-file-utils
gettext
gobject-introspection
itstool
@ -36,7 +40,7 @@ python3Packages.buildPythonApplication rec {
meson
ninja
pkg-config
wrapGAppsHook
wrapGAppsHook4
];
buildInputs = [
@ -49,8 +53,9 @@ python3Packages.buildPythonApplication rec {
gnome.gnome-shell-extensions
gnome.mutter
gsettings-desktop-schemas
gtk3
libhandy
gtk4
libadwaita
libgudev
libnotify
];

View File

@ -18,11 +18,11 @@
stdenv.mkDerivation rec {
pname = "metacity";
version = "3.50.0";
version = "3.52.0";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "GOmxBkONRjlOQUi8uDrMY2cxK+VFWc21ZOJwwcyutg8=";
hash = "sha256-pyQ4rObVkDrnkzjGCYsbNauRyKl8QyNwHTvvHz7rGRw=";
};
patches = [

View File

@ -15,13 +15,13 @@
stdenv.mkDerivation rec {
pname = "nautilus-python";
version = "4.0";
version = "4.0.1";
outputs = [ "out" "dev" "doc" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/nautilus-python/${lib.versions.majorMinor version}/nautilus-python-${version}.tar.xz";
sha256 = "FyQ9Yut9fYOalGGrjQcBaIgFxxYaZwXmFBOljsJoKBo=";
hash = "sha256-/EnBBPsyoK0ZWmawE2eEzRnRDYs+jVnV7n9z6PlOko8=";
};
patches = [

View File

@ -44,6 +44,12 @@ stdenv.mkDerivation rec {
libhandy
];
postPatch = ''
# https://github.com/elementary/notifications/issues/222
substituteInPlace src/FdoActionGroup.vala \
--replace-fail "out VariantType" "out unowned VariantType"
'';
passthru = {
updateScript = nix-update-script { };
};

View File

@ -1,10 +1,10 @@
{ stdenv, lib, fetchurl, fetchpatch, pkg-config, flex, bison, libxslt, autoconf, autoreconfHook
, gnome, graphviz, glib, libiconv, libintl, libtool, expat, substituteAll, vala
, gnome, graphviz, glib, libiconv, libintl, libtool, expat, substituteAll, vala, gobject-introspection
}:
let
generic = lib.makeOverridable ({
version, sha256,
version, hash,
extraNativeBuildInputs ? [],
extraBuildInputs ? [],
withGraphviz ? false
@ -30,7 +30,7 @@ let
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
inherit sha256;
inherit hash;
};
postPatch = ''
@ -49,7 +49,7 @@ let
outputs = [ "out" "devdoc" ];
nativeBuildInputs = [
pkg-config flex bison libxslt
pkg-config flex bison libxslt gobject-introspection
] ++ lib.optional (stdenv.isDarwin) expat
++ lib.optional disableGraphviz autoreconfHook # if we changed our ./configure script, need to reconfigure
++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ vala ]
@ -86,8 +86,8 @@ let
in rec {
vala_0_56 = generic {
version = "0.56.14";
sha256 = "k4LCaMqb3AKq7cgVKpgYvzk1JzBB9inFbeQQ42Cj9Vc=";
version = "0.56.17";
hash = "sha256-JhAMTk7wBJxhknXxQNl89WWIPQDHVDyCvM5aQmk07Wo=";
};
vala = vala_0_56;

View File

@ -940,22 +940,6 @@ self: super: {
# https://github.com/Euterpea/Euterpea2/issues/40
Euterpea = doJailbreak super.Euterpea;
# Install icons, metadata and cli program.
bustle = appendPatches [
# Fix build with libpcap 1.10.2
# https://gitlab.freedesktop.org/bustle/bustle/-/merge_requests/21
(pkgs.fetchpatch {
url = "https://gitlab.freedesktop.org/bustle/bustle/-/commit/77e2de892cd359f779c84739682431a66eb8cf31.patch";
hash = "sha256-sPb6/Z/ANids53aL9VsMHa/v5y+TA1ZY3jwAXlEH3Ec=";
})
] (overrideCabal (drv: {
buildDepends = [ pkgs.libpcap ];
buildTools = with pkgs.buildPackages; [ gettext perl help2man ];
postInstall = ''
make install PREFIX=$out
'';
}) super.bustle);
# Byte-compile elisp code for Emacs.
ghc-mod = overrideCabal (drv: {
preCheck = "export HOME=$TMPDIR";

View File

@ -23,14 +23,14 @@
stdenv.mkDerivation rec {
pname = "at-spi2-core";
version = "2.50.2";
version = "2.52.0";
outputs = [ "out" "dev" ];
separateDebugInfo = true;
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
hash = "sha256-W4GxRhpi3Y++0aJ2+p71txEvmuX/huHjKtlkS2VP94w=";
hash = "sha256-CsP8gyDI0B+hR8Jyun+gOAY4nGsD08QG0II+MONf9as=";
};
nativeBuildInputs = [

View File

@ -27,13 +27,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "folks";
version = "0.15.7";
version = "0.15.9";
outputs = [ "out" "dev" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/folks/${lib.versions.majorMinor finalAttrs.version}/folks-${finalAttrs.version}.tar.xz";
sha256 = "Eg8hnvYyEsqpWuf2rrZOKZKLCxqLlFIFQwSgDQ80eHE=";
hash = "sha256-IxGzc1XDUfM/Fj/cOUh0oioKBoLDGUk9bYpuQgcRQV8=";
};
nativeBuildInputs = [

View File

@ -26,13 +26,13 @@
stdenv.mkDerivation rec {
pname = "gcr";
version = "4.1.0";
version = "4.3.0";
outputs = [ "out" "bin" "dev" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "nOqtKShLqRm5IW4oiMGOxnJAwsk7OkhWvFSIu8Hzo4M=";
hash = "sha256-w+6HKOQ2SwOX9DX6IPkvkBqxOdKyZPTgWdZ7PA9DzTY=";
};
nativeBuildInputs = [

View File

@ -32,13 +32,13 @@ let
];
in stdenv.mkDerivation (finalAttrs: {
pname = "gjs";
version = "1.78.4";
version = "1.80.2";
outputs = [ "out" "dev" "installedTests" ];
src = fetchurl {
url = "mirror://gnome/sources/gjs/${lib.versions.majorMinor finalAttrs.version}/gjs-${finalAttrs.version}.tar.xz";
hash = "sha256-mux6uHLCBQQEkHrpTwrnq+yKVL2ciU3bXC0PUekyuaE=";
hash = "sha256-E145xaxZEJYjPlV8/ld9ZAk/UFRBHUfLLiFLrX1Bmb0=";
};
patches = [
@ -47,6 +47,10 @@ in stdenv.mkDerivation (finalAttrs: {
# Allow installing installed tests to a separate output.
./installed-tests-path.patch
# Disable introspection test in installed tests
# (minijasmine:1317): GLib-GIO-WARNING **: 17:33:39.556: Error creating IO channel for /proc/self/mountinfo: No such file or directory (g-io-error-quark, 1)
./disable-introspection-test.patch
];
nativeBuildInputs = [

View File

@ -0,0 +1,12 @@
diff --git a/installed-tests/js/meson.build b/installed-tests/js/meson.build
index 07759690..43c87c59 100644
--- a/installed-tests/js/meson.build
+++ b/installed-tests/js/meson.build
@@ -123,7 +123,6 @@ jasmine_tests = [
'GTypeClass',
'Importer',
'Importer2',
- 'Introspection',
'Lang',
'LegacyByteArray',
'LegacyClass',

View File

@ -19,13 +19,13 @@
stdenv.mkDerivation rec {
pname = "glib-networking";
version = "2.78.1";
version = "2.80.0";
outputs = [ "out" "installedTests" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "5I8t27BJgyy7CSMFKcXkXayp8N8O2jJfgy9zeYWb8J8=";
hash = "sha256-2PTxqrITF5rjNRYXtZ2rXea8yeeFAh7uF4mY69S7Os8=";
};
patches = [

View File

@ -2,24 +2,27 @@
, lib
, stdenv
, fetchurl
, fetchpatch
, gettext
, meson
, ninja
, pkg-config
, perl
, python3
, libiconv, zlib, libffi, pcre2, elfutils, gnome, libselinux, bash, gnum4, gtk-doc, docbook_xsl, docbook_xml_dtd_45, libxslt
, python3Packages
, libiconv, zlib, libffi, pcre2, elfutils, gnome, libselinux, bash, gnum4, libxslt
, docutils, gi-docgen
# use util-linuxMinimal to avoid circular dependency (util-linux, systemd, glib)
, util-linuxMinimal ? null
, buildPackages
# this is just for tests (not in the closure of any regular package)
, coreutils, dbus, libxml2, tzdata
, coreutils, dbus, tzdata
, desktop-file-utils, shared-mime-info
, darwin
, makeHardcodeGsettingsPatch
, testers
, gobject-introspection
, withIntrospection ? stdenv.buildPlatform.canExecute stdenv.hostPlatform && lib.meta.availableOn stdenv.hostPlatform gobject-introspection
}:
assert stdenv.isLinux -> util-linuxMinimal != null;
@ -46,16 +49,26 @@ let
ln -sr -t "''${!outputInclude}/include/" "''${!outputInclude}"/lib/*/include/* 2>/dev/null || true
'';
buildDocs = stdenv.hostPlatform == stdenv.buildPlatform && !stdenv.hostPlatform.isStatic;
gobject-introspection' = buildPackages.gobject-introspection.override {
propagateFullGlib = false;
# Avoid introducing cairo, which enables gobjectSupport by default.
x11Support = false;
};
librarySuffix = if (stdenv.targetPlatform.extensions.library == ".so") then "2.0.so.0"
else if (stdenv.targetPlatform.extensions.library == ".dylib") then "2.0.0.dylib"
else if (stdenv.targetPlatform.extensions.library == ".a") then "2.0.a"
else if (stdenv.targetPlatform.extensions.library == ".dll") then "2.0-0.dll"
else "2.0-0.lib";
in
stdenv.mkDerivation (finalAttrs: {
pname = "glib";
version = "2.78.4";
version = "2.80.0";
src = fetchurl {
url = "mirror://gnome/sources/glib/${lib.versions.majorMinor finalAttrs.version}/glib-${finalAttrs.version}.tar.xz";
sha256 = "sha256-JLjgZy3KEgzDLTlLzLhYROcy4E/nXRi7BXOy28dUj2M=";
hash = "sha256-giipL5KkEhYLE5rmi2NFvSjyRDSnta8VDr4h/1h6Vh0=";
};
patches = lib.optionals stdenv.isDarwin [
@ -64,13 +77,19 @@ stdenv.mkDerivation (finalAttrs: {
./quark_init_on_demand.patch
./gobject_init_on_demand.patch
] ++ [
(fetchpatch {
name = "GLib-against-PCRE2-10.43.patch";
url = "https://gitlab.gnome.org/GNOME/glib/-/commit/cce3ae98a2c1966719daabff5a4ec6cf94a846f6.patch";
hash = "sha256-vgKzb5hQmFQGD8zxRrXnuX9Gpg/TeSrzehlOH2vA1xU=";
})
# This patch lets GLib's GDesktopAppInfo API watch and notice changes
# to the Nix user and system profiles. That way, the list of available
# applications shown by the desktop environment is immediately updated
# when the user installs or removes any
# (see <https://issues.guix.gnu.org/35594>).
# It does so by monitoring /nix/var/nix/profiles (for changes to the system
# profile) and /nix/var/nix/profiles/per-user/USER (for changes to the user
# profile) as well as /etc/profiles/per-user (for chanes to the user
# environment profile) and crawling their share/applications sub-directory when
# changes happen.
./glib-appinfo-watch.patch
./schema-override-variable.patch
# Add support for Pantheons terminal emulator.
@ -99,10 +118,6 @@ stdenv.mkDerivation (finalAttrs: {
# 3. Tools for desktop environment that cannot go to $bin due to $out depending on them ($out)
# * gio-launch-desktop
./split-dev-programs.patch
# Disable flaky test.
# https://gitlab.gnome.org/GNOME/glib/-/issues/820
./skip-timer-test.patch
];
outputs = [ "bin" "out" "dev" "devdoc" ];
@ -121,48 +136,44 @@ stdenv.mkDerivation (finalAttrs: {
util-linuxMinimal # for libmount
] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
AppKit Carbon Cocoa CoreFoundation CoreServices Foundation
]) ++ lib.optionals buildDocs [
# Note: this needs to be both in buildInputs and nativeBuildInputs. The
# Meson gtkdoc module uses find_program to look it up (-> build dep), but
# glib's own Meson configuration uses the host pkg-config to find its
# version (-> host dep). We could technically go and fix this in glib, add
# pkg-config to depsBuildBuild, but this would be a futile exercise since
# Meson's gtkdoc integration does not support cross compilation[1] anyway
# and this derivation disables the docs build when cross compiling.
#
# [1] https://github.com/mesonbuild/meson/issues/2003
gtk-doc
];
]);
strictDeps = true;
depsBuildBuild = [
pkg-config # required to find native gi-docgen
];
nativeBuildInputs = [
docutils # for rst2man, rst2html5
meson
ninja
pkg-config
perl
python3
python3Packages.packaging # mostly used to make meson happy
python3Packages.wrapPython # for patchPythonScript
gettext
libxslt
docbook_xsl
] ++ lib.optionals buildDocs [
gtk-doc
docbook_xml_dtd_45
libxml2
] ++ lib.optionals withIntrospection [
gi-docgen
gobject-introspection'
];
propagatedBuildInputs = [ zlib libffi gettext libiconv ];
mesonFlags = [
# Avoid the need for gobject introspection binaries in PATH in cross-compiling case.
# Instead we just copy them over from the native output.
"-Dgtk_doc=${lib.boolToString buildDocs}"
"-Ddocumentation=true" # gvariant specification can be built without gi-docgen
"-Dnls=enabled"
"-Ddevbindir=${placeholder "dev"}/bin"
] ++ lib.optionals (!lib.meta.availableOn stdenv.hostPlatform elfutils) [
"-Dlibelf=disabled"
] ++ lib.optionals (!stdenv.isDarwin) [
"-Dman=true" # broken on Darwin
(lib.mesonEnable "introspection" withIntrospection)
# FIXME: Fails when linking target glib/tests/libconstructor-helper.so
# relocation R_X86_64_32 against hidden symbol `__TMC_END__' can not be used when making a shared object
"-Dtests=${lib.boolToString (!stdenv.hostPlatform.isStatic)}"
] ++ lib.optionals stdenv.isFreeBSD [
"-Db_lundef=false"
"-Dxattr=false"
@ -176,14 +187,11 @@ stdenv.mkDerivation (finalAttrs: {
];
postPatch = ''
chmod +x gio/tests/gengiotypefuncs.py
patchShebangs gio/tests/gengiotypefuncs.py
chmod +x docs/reference/gio/concat-files-helper.py
patchShebangs docs/reference/gio/concat-files-helper.py
patchShebangs glib/gen-unicode-tables.pl
patchShebangs glib/tests/gen-casefold-txt.py
patchShebangs glib/tests/gen-casemap-txt.py
patchShebangs tools/gen-visibility-macros.py
patchShebangs tests
# Needs machine-id, comment the test
sed -e '/\/gdbus\/codegen-peer-to-peer/ s/^\/*/\/\//' -i gio/tests/gdbus-peer.c
@ -219,8 +227,11 @@ stdenv.mkDerivation (finalAttrs: {
for i in $dev/bin/*; do
moveToOutput "share/bash-completion/completions/''${i##*/}" "$dev"
done
'' + lib.optionalString (!buildDocs) ''
cp -r ${buildPackages.glib.devdoc} $devdoc
'';
preFixup = lib.optionalString (!stdenv.hostPlatform.isStatic) ''
buildPythonPath ${python3Packages.packaging}
patchPythonScript "$dev/share/glib-2.0/codegen/utils.py"
'';
# Move man pages to the same output as their binaries (needs to be
@ -230,6 +241,9 @@ stdenv.mkDerivation (finalAttrs: {
for i in $dev/bin/*; do
moveToOutput "share/man/man1/''${i##*/}.1.*" "$dev"
done
# Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back.
moveToOutput "share/doc/glib-2.0" "$devdoc"
'';
nativeCheckInputs = [ tzdata desktop-file-utils shared-mime-info ];
@ -242,8 +256,34 @@ stdenv.mkDerivation (finalAttrs: {
export HOME="$TMP"
export XDG_DATA_DIRS="${desktop-file-utils}/share:${shared-mime-info}/share"
export G_TEST_DBUS_DAEMON="${dbus}/bin/dbus-daemon"
export PATH="$PATH:$(pwd)/gobject"
# pkg_config_tests expects a PKG_CONFIG_PATH that points to meson-private, wrapped pkg-config
# tries to be clever and picks up the wrong glib at the end.
export PATH="${buildPackages.pkg-config-unwrapped}/bin:$PATH:$(pwd)/gobject"
echo "PATH=$PATH"
# Our gobject-introspection patches make the shared library paths absolute
# in the GIR files. When running tests, the library is not yet installed,
# though, so we need to replace the absolute path with a local one during build.
# We are using a symlink that we will delete before installation.
mkdir -p $out/lib
ln -s $PWD/gobject/libgobject-${librarySuffix} $out/lib/libgobject-${librarySuffix}
ln -s $PWD/gio/libgio-${librarySuffix} $out/lib/libgio-${librarySuffix}
ln -s $PWD/glib/libglib-${librarySuffix} $out/lib/libglib-${librarySuffix}
'';
checkPhase = ''
runHook preCheck
meson test --print-errorlogs
runHook postCheck
'';
postCheck = ''
rm $out/lib/libgobject-${librarySuffix}
rm $out/lib/libgio-${librarySuffix}
rm $out/lib/libglib-${librarySuffix}
'';
separateDebugInfo = stdenv.isLinux;

Some files were not shown because too many files have changed in this diff Show More