Merge master into staging-next
This commit is contained in:
commit
db767c789d
|
@ -68,7 +68,7 @@ preFixup = ''
|
||||||
|
|
||||||
Fortunately, there is [`wrapGAppsHook`]{#ssec-gnome-hooks-wrapgappshook}. It works in conjunction with other setup hooks that populate environment variables, and it will then wrap all executables in `bin` and `libexec` directories using said variables.
|
Fortunately, there is [`wrapGAppsHook`]{#ssec-gnome-hooks-wrapgappshook}. It works in conjunction with other setup hooks that populate environment variables, and it will then wrap all executables in `bin` and `libexec` directories using said variables.
|
||||||
|
|
||||||
For convenience, it also adds `dconf.lib` for a GIO module implementing a GSettings backend using `dconf`, `gtk3` for GSettings schemas, and `librsvg` for GdkPixbuf loader to the closure. In case you are packaging a program without a graphical interface, you might want to use [`wrapGAppsNoGuiHook`]{#ssec-gnome-hooks-wrapgappsnoguihook}, which runs the same script as `wrapGAppsHook` but does not bring `gtk3` and `librsvg` into the closure.
|
For convenience, it also adds `dconf.lib` for a GIO module implementing a GSettings backend using `dconf`, `gtk3` for GSettings schemas, and `librsvg` for GdkPixbuf loader to the closure. There is also [`wrapGAppsHook4`]{#ssec-gnome-hooks-wrapgappshook4}, which replaces GTK 3 with GTK 4. And in case you are packaging a program without a graphical interface, you might want to use [`wrapGAppsNoGuiHook`]{#ssec-gnome-hooks-wrapgappsnoguihook}, which runs the same script as `wrapGAppsHook` but does not bring `gtk3` and `librsvg` into the closure.
|
||||||
|
|
||||||
- `wrapGAppsHook` itself will add the package’s `share` directory to `XDG_DATA_DIRS`.
|
- `wrapGAppsHook` itself will add the package’s `share` directory to `XDG_DATA_DIRS`.
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{ package ? null
|
{ package ? null
|
||||||
, maintainer ? null
|
, maintainer ? null
|
||||||
|
, predicate ? null
|
||||||
, path ? null
|
, path ? null
|
||||||
, max-workers ? null
|
, max-workers ? null
|
||||||
, include-overlays ? false
|
, include-overlays ? false
|
||||||
|
@ -69,6 +70,11 @@ let
|
||||||
*/
|
*/
|
||||||
packagesWith = packagesWithPath [];
|
packagesWith = packagesWithPath [];
|
||||||
|
|
||||||
|
/* Recursively find all packages in `pkgs` with updateScript matching given predicate.
|
||||||
|
*/
|
||||||
|
packagesWithUpdateScriptMatchingPredicate = cond:
|
||||||
|
packagesWith (path: pkg: builtins.hasAttr "updateScript" pkg && cond path pkg);
|
||||||
|
|
||||||
/* Recursively find all packages in `pkgs` with updateScript by given maintainer.
|
/* Recursively find all packages in `pkgs` with updateScript by given maintainer.
|
||||||
*/
|
*/
|
||||||
packagesWithUpdateScriptAndMaintainer = maintainer':
|
packagesWithUpdateScriptAndMaintainer = maintainer':
|
||||||
|
@ -79,7 +85,7 @@ let
|
||||||
else
|
else
|
||||||
builtins.getAttr maintainer' lib.maintainers;
|
builtins.getAttr maintainer' lib.maintainers;
|
||||||
in
|
in
|
||||||
packagesWith (path: pkg: builtins.hasAttr "updateScript" pkg &&
|
packagesWithUpdateScriptMatchingPredicate (path: pkg:
|
||||||
(if builtins.hasAttr "maintainers" pkg.meta
|
(if builtins.hasAttr "maintainers" pkg.meta
|
||||||
then (if builtins.isList pkg.meta.maintainers
|
then (if builtins.isList pkg.meta.maintainers
|
||||||
then builtins.elem maintainer pkg.meta.maintainers
|
then builtins.elem maintainer pkg.meta.maintainers
|
||||||
|
@ -120,6 +126,8 @@ let
|
||||||
packages =
|
packages =
|
||||||
if package != null then
|
if package != null then
|
||||||
[ (packageByName package pkgs) ]
|
[ (packageByName package pkgs) ]
|
||||||
|
else if predicate != null then
|
||||||
|
packagesWithUpdateScriptMatchingPredicate predicate pkgs
|
||||||
else if maintainer != null then
|
else if maintainer != null then
|
||||||
packagesWithUpdateScriptAndMaintainer maintainer pkgs
|
packagesWithUpdateScriptAndMaintainer maintainer pkgs
|
||||||
else if path != null then
|
else if path != null then
|
||||||
|
@ -139,6 +147,10 @@ let
|
||||||
|
|
||||||
to run update script for specific package, or
|
to run update script for specific package, or
|
||||||
|
|
||||||
|
% nix-shell maintainers/scripts/update.nix --arg predicate '(path: pkg: builtins.isList pkg.updateScript && builtins.length pkg.updateScript >= 1 && (let script = builtins.head pkg.updateScript; in builtins.isAttrs script && script.name == "gnome-update-script"))'
|
||||||
|
|
||||||
|
to run update script for all packages matching given predicate, or
|
||||||
|
|
||||||
% nix-shell maintainers/scripts/update.nix --argstr path gnome3
|
% nix-shell maintainers/scripts/update.nix --argstr path gnome3
|
||||||
|
|
||||||
to run update script for all package under an attribute path.
|
to run update script for all package under an attribute path.
|
||||||
|
|
|
@ -39,6 +39,9 @@ async def run_update_script(nixpkgs_root: str, merge_lock: asyncio.Lock, temp_di
|
||||||
if temp_dir is not None:
|
if temp_dir is not None:
|
||||||
worktree, _branch = temp_dir
|
worktree, _branch = temp_dir
|
||||||
|
|
||||||
|
# Ensure the worktree is clean before update.
|
||||||
|
await check_subprocess('git', 'reset', '--hard', '--quiet', 'HEAD', cwd=worktree)
|
||||||
|
|
||||||
# Update scripts can use $(dirname $0) to get their location but we want to run
|
# Update scripts can use $(dirname $0) to get their location but we want to run
|
||||||
# their clones in the git worktree, not in the main nixpkgs repo.
|
# their clones in the git worktree, not in the main nixpkgs repo.
|
||||||
update_script_command = map(lambda arg: re.sub(r'^{0}'.format(re.escape(nixpkgs_root)), worktree, arg), update_script_command)
|
update_script_command = map(lambda arg: re.sub(r'^{0}'.format(re.escape(nixpkgs_root)), worktree, arg), update_script_command)
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
<para>The default Linux kernel was updated to the 5.10 LTS series, coming from the 5.4 LTS series.</para>
|
<para>The default Linux kernel was updated to the 5.10 LTS series, coming from the 5.4 LTS series.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>GNOME desktop environment was upgraded to 3.38, see its <link xlink:href="https://help.gnome.org/misc/release-notes/3.38/">release notes</link>.</para>
|
<para>GNOME desktop environment was upgraded to 40, see the release notes for <link xlink:href="https://help.gnome.org/misc/release-notes/40.0/">40.0</link> and <link xlink:href="https://help.gnome.org/misc/release-notes/3.38/">3.38</link>.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
|
|
|
@ -273,6 +273,7 @@ in
|
||||||
services.accounts-daemon.enable = true;
|
services.accounts-daemon.enable = true;
|
||||||
services.dleyna-renderer.enable = mkDefault true;
|
services.dleyna-renderer.enable = mkDefault true;
|
||||||
services.dleyna-server.enable = mkDefault true;
|
services.dleyna-server.enable = mkDefault true;
|
||||||
|
services.power-profiles-daemon.enable = mkDefault true;
|
||||||
services.gnome3.at-spi2-core.enable = true;
|
services.gnome3.at-spi2-core.enable = true;
|
||||||
services.gnome3.evolution-data-server.enable = true;
|
services.gnome3.evolution-data-server.enable = true;
|
||||||
services.gnome3.gnome-keyring.enable = true;
|
services.gnome3.gnome-keyring.enable = true;
|
||||||
|
@ -365,10 +366,10 @@ in
|
||||||
gnome-bluetooth
|
gnome-bluetooth
|
||||||
gnome-color-manager
|
gnome-color-manager
|
||||||
gnome-control-center
|
gnome-control-center
|
||||||
gnome-getting-started-docs
|
|
||||||
gnome-shell
|
gnome-shell
|
||||||
gnome-shell-extensions
|
gnome-shell-extensions
|
||||||
gnome-themes-extra
|
gnome-themes-extra
|
||||||
|
pkgs.gnome-tour # GNOME Shell detects the .desktop file on first log-in.
|
||||||
pkgs.nixos-artwork.wallpapers.simple-dark-gray
|
pkgs.nixos-artwork.wallpapers.simple-dark-gray
|
||||||
pkgs.nixos-artwork.wallpapers.simple-dark-gray-bottom
|
pkgs.nixos-artwork.wallpapers.simple-dark-gray-bottom
|
||||||
pkgs.gnome-user-docs
|
pkgs.gnome-user-docs
|
||||||
|
|
|
@ -218,14 +218,14 @@ in
|
||||||
# We duplicate upstream's udev rules manually to make wayland with nvidia configurable
|
# We duplicate upstream's udev rules manually to make wayland with nvidia configurable
|
||||||
services.udev.extraRules = ''
|
services.udev.extraRules = ''
|
||||||
# disable Wayland on Cirrus chipsets
|
# disable Wayland on Cirrus chipsets
|
||||||
ATTR{vendor}=="0x1013", ATTR{device}=="0x00b8", ATTR{subsystem_vendor}=="0x1af4", ATTR{subsystem_device}=="0x1100", RUN+="${gdm}/libexec/gdm-disable-wayland"
|
ATTR{vendor}=="0x1013", ATTR{device}=="0x00b8", ATTR{subsystem_vendor}=="0x1af4", ATTR{subsystem_device}=="0x1100", RUN+="${gdm}/libexec/gdm-runtime-config set daemon WaylandEnable false"
|
||||||
# disable Wayland on Hi1710 chipsets
|
# disable Wayland on Hi1710 chipsets
|
||||||
ATTR{vendor}=="0x19e5", ATTR{device}=="0x1711", RUN+="${gdm}/libexec/gdm-disable-wayland"
|
ATTR{vendor}=="0x19e5", ATTR{device}=="0x1711", RUN+="${gdm}/libexec/gdm-runtime-config set daemon WaylandEnable false"
|
||||||
${optionalString (!cfg.gdm.nvidiaWayland) ''
|
${optionalString (!cfg.gdm.nvidiaWayland) ''
|
||||||
DRIVER=="nvidia", RUN+="${gdm}/libexec/gdm-disable-wayland"
|
DRIVER=="nvidia", RUN+="${gdm}/libexec/gdm-runtime-config set daemon WaylandEnable false"
|
||||||
''}
|
''}
|
||||||
# disable Wayland when modesetting is disabled
|
# disable Wayland when modesetting is disabled
|
||||||
IMPORT{cmdline}="nomodeset", RUN+="${gdm}/libexec/gdm-disable-wayland"
|
IMPORT{cmdline}="nomodeset", RUN+="${gdm}/libexec/gdm-runtime-config set daemon WaylandEnable false"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
systemd.user.services.dbus.wantedBy = [ "default.target" ];
|
systemd.user.services.dbus.wantedBy = [ "default.target" ];
|
||||||
|
|
|
@ -97,6 +97,7 @@ in
|
||||||
gsconnect = callInstalledTest ./gsconnect.nix {};
|
gsconnect = callInstalledTest ./gsconnect.nix {};
|
||||||
ibus = callInstalledTest ./ibus.nix {};
|
ibus = callInstalledTest ./ibus.nix {};
|
||||||
libgdata = callInstalledTest ./libgdata.nix {};
|
libgdata = callInstalledTest ./libgdata.nix {};
|
||||||
|
librsvg = callInstalledTest ./librsvg.nix {};
|
||||||
glib-testing = callInstalledTest ./glib-testing.nix {};
|
glib-testing = callInstalledTest ./glib-testing.nix {};
|
||||||
libjcat = callInstalledTest ./libjcat.nix {};
|
libjcat = callInstalledTest ./libjcat.nix {};
|
||||||
libxmlb = callInstalledTest ./libxmlb.nix {};
|
libxmlb = callInstalledTest ./libxmlb.nix {};
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
{ pkgs, makeInstalledTest, ... }:
|
||||||
|
|
||||||
|
makeInstalledTest {
|
||||||
|
tested = pkgs.librsvg;
|
||||||
|
|
||||||
|
testConfig = {
|
||||||
|
virtualisation.memorySize = 2047;
|
||||||
|
};
|
||||||
|
}
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "mousai";
|
pname = "mousai";
|
||||||
version = "0.3.1";
|
version = "0.3.2";
|
||||||
|
|
||||||
format = "other";
|
format = "other";
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
owner = "SeaDve";
|
owner = "SeaDve";
|
||||||
repo = "Mousai";
|
repo = "Mousai";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0x57dci0prhlj79h74yh79cazn48rn0bckz5j3z4njk4fwc3fvfx";
|
sha256 = "sha256-sBB2kqlC+2qPgQinhGxY8lq9unxgQoOOhDP5o1pUWMo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|
|
@ -1,28 +1,58 @@
|
||||||
{ lib, stdenv, fetchurl, pkg-config, glib, gtk3, intltool, itstool, libxml2, brasero
|
{ lib
|
||||||
, libcanberra-gtk3, gnome3, gst_all_1, libmusicbrainz5, libdiscid, isocodes
|
, stdenv
|
||||||
, gsettings-desktop-schemas, wrapGAppsHook }:
|
, fetchurl
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, pkg-config
|
||||||
|
, glib
|
||||||
|
, gtk3
|
||||||
|
, itstool
|
||||||
|
, libxml2
|
||||||
|
, brasero
|
||||||
|
, libcanberra-gtk3
|
||||||
|
, gnome3
|
||||||
|
, gst_all_1
|
||||||
|
, libmusicbrainz5
|
||||||
|
, libdiscid
|
||||||
|
, isocodes
|
||||||
|
, gsettings-desktop-schemas
|
||||||
|
, wrapGAppsHook
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
pname = "sound-juicer";
|
pname = "sound-juicer";
|
||||||
version = "3.24.0";
|
version = "3.38.0";
|
||||||
in stdenv.mkDerivation rec {
|
|
||||||
name = "${pname}-${version}";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny";
|
sha256 = "08d5d81rz9sj3m5paw8fwbgxmhlbr7bcjdzpmzj832qvg8smydxf";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config intltool itstool libxml2 wrapGAppsHook ];
|
nativeBuildInputs = [
|
||||||
buildInputs = [
|
meson
|
||||||
glib gtk3 brasero libcanberra-gtk3 gnome3.adwaita-icon-theme
|
ninja
|
||||||
gsettings-desktop-schemas libmusicbrainz5 libdiscid isocodes
|
pkg-config
|
||||||
gst_all_1.gstreamer gst_all_1.gst-plugins-base
|
itstool
|
||||||
gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad
|
libxml2
|
||||||
gst_all_1.gst-libav
|
wrapGAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE="-Wno-error=format-nonliteral";
|
buildInputs = [
|
||||||
|
glib
|
||||||
|
gtk3
|
||||||
|
brasero
|
||||||
|
libcanberra-gtk3
|
||||||
|
gnome3.adwaita-icon-theme
|
||||||
|
gsettings-desktop-schemas
|
||||||
|
libmusicbrainz5
|
||||||
|
libdiscid
|
||||||
|
isocodes
|
||||||
|
gst_all_1.gstreamer
|
||||||
|
gst_all_1.gst-plugins-base
|
||||||
|
gst_all_1.gst-plugins-good
|
||||||
|
gst_all_1.gst-plugins-bad
|
||||||
|
gst_all_1.gst-libav
|
||||||
|
];
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
|
@ -34,7 +64,7 @@ in stdenv.mkDerivation rec {
|
||||||
description = "A Gnome CD Ripper";
|
description = "A Gnome CD Ripper";
|
||||||
homepage = "https://wiki.gnome.org/Apps/SoundJuicer";
|
homepage = "https://wiki.gnome.org/Apps/SoundJuicer";
|
||||||
maintainers = [ maintainers.bdimcheff ];
|
maintainers = [ maintainers.bdimcheff ];
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
{ fetchFromGitLab
|
{ fetchFromGitLab
|
||||||
, fetchpatch
|
|
||||||
, lib
|
, lib
|
||||||
, python3Packages
|
, python3Packages
|
||||||
, gobject-introspection
|
, gobject-introspection
|
||||||
|
@ -16,26 +15,16 @@
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "sublime-music";
|
pname = "sublime-music";
|
||||||
version = "0.11.11";
|
version = "0.11.12";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
owner = "sublime-music";
|
owner = "sublime-music";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-r4Tn/7CGDny8Aa4kF4PM5ZKMYthMJ7801X3zPdvXh4Q=";
|
sha256 = "sha256-fcEdpht+xKJRTaD3gKoRdf6O2SAPlZHZ61Jy8bdTKjs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# Switch to poetry-core:
|
|
||||||
# https://gitlab.com/sublime-music/sublime-music/-/merge_requests/60
|
|
||||||
(fetchpatch {
|
|
||||||
name = "use-poetry-core.patch";
|
|
||||||
url = "https://gitlab.com/sublime-music/sublime-music/-/commit/9b0af19dbdfdcc5a0fa23e73bb34c7135a8c2855.patch";
|
|
||||||
sha256 = "sha256-cXG0RvrnBpme6yKWM0nfqMqoK0qPT6spflJ9AaaslVg=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
python3Packages.poetry-core
|
python3Packages.poetry-core
|
||||||
|
|
|
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.warmplace.ru/soft/sunvox/sunvox-${version}.zip";
|
url = "http://www.warmplace.ru/soft/sunvox/sunvox-${version}.zip";
|
||||||
sha256 = "0lqzr68n2c6aifw2vbyars91wn1chmgb9xfdk463g4vjqiava3ih";
|
sha256 = "10lqbm1grw0sqasx7i6528cishv5ksdf9zbb3ygxd8c1iwaxzhb9";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ unzip ];
|
nativeBuildInputs = [ unzip ];
|
||||||
|
@ -44,7 +44,5 @@ stdenv.mkDerivation rec {
|
||||||
homepage = "http://www.warmplace.ru/soft/sunvox/";
|
homepage = "http://www.warmplace.ru/soft/sunvox/";
|
||||||
maintainers = with maintainers; [ puffnfresh ];
|
maintainers = with maintainers; [ puffnfresh ];
|
||||||
platforms = [ "i686-linux" "x86_64-linux" ];
|
platforms = [ "i686-linux" "x86_64-linux" ];
|
||||||
# hash mismatch
|
|
||||||
broken = true;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
, coreutils
|
, coreutils
|
||||||
, libsoup
|
, libsoup
|
||||||
, libsecret
|
, libsecret
|
||||||
, libhandy_0
|
, libhandy
|
||||||
, wrapGAppsHook
|
, wrapGAppsHook
|
||||||
, libgpgerror
|
, libgpgerror
|
||||||
, json-glib
|
, json-glib
|
||||||
|
@ -21,14 +21,14 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "deja-dup";
|
pname = "deja-dup";
|
||||||
version = "42.6";
|
version = "42.7";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
domain = "gitlab.gnome.org";
|
domain = "gitlab.gnome.org";
|
||||||
owner = "World";
|
owner = "World";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0grwlfakrnr9ij7h8lsfazlws6qix8pl50dr94cpxnnbjga9xn9z";
|
sha256 = "1q66wccnph78cp1r5mln2iq4bcqdrrchxq3c1pjrzkmzwc6l93gz";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
|
||||||
glib
|
glib
|
||||||
gtk3
|
gtk3
|
||||||
libsecret
|
libsecret
|
||||||
libhandy_0
|
libhandy
|
||||||
libgpgerror
|
libgpgerror
|
||||||
json-glib
|
json-glib
|
||||||
];
|
];
|
||||||
|
|
|
@ -94,8 +94,8 @@ let emacs = stdenv.mkDerivation (lib.optionalAttrs nativeComp {
|
||||||
]));
|
]));
|
||||||
in ''
|
in ''
|
||||||
substituteInPlace lisp/emacs-lisp/comp.el --replace \
|
substituteInPlace lisp/emacs-lisp/comp.el --replace \
|
||||||
"(defcustom comp-native-driver-options nil" \
|
"(defcustom native-comp-driver-options nil" \
|
||||||
"(defcustom comp-native-driver-options '(${backendPath})"
|
"(defcustom native-comp-driver-options '(${backendPath})"
|
||||||
''))
|
''))
|
||||||
""
|
""
|
||||||
];
|
];
|
||||||
|
@ -175,7 +175,7 @@ let emacs = stdenv.mkDerivation (lib.optionalAttrs nativeComp {
|
||||||
(comp-trampoline-compile (intern (pop argv))))"
|
(comp-trampoline-compile (intern (pop argv))))"
|
||||||
mkdir -p $out/share/emacs/native-lisp
|
mkdir -p $out/share/emacs/native-lisp
|
||||||
$out/bin/emacs --batch \
|
$out/bin/emacs --batch \
|
||||||
--eval "(add-to-list 'comp-eln-load-path \"$out/share/emacs/native-lisp\")" \
|
--eval "(add-to-list 'native-comp-eln-load-path \"$out/share/emacs/native-lisp\")" \
|
||||||
-f batch-native-compile $out/share/emacs/site-lisp/site-start.el
|
-f batch-native-compile $out/share/emacs/site-lisp/site-start.el
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -47,11 +47,11 @@ least specific (the system profile)"
|
||||||
;;; Set up native-comp load path.
|
;;; Set up native-comp load path.
|
||||||
(when (featurep 'comp)
|
(when (featurep 'comp)
|
||||||
;; Append native-comp subdirectories from `NIX_PROFILES'.
|
;; Append native-comp subdirectories from `NIX_PROFILES'.
|
||||||
(setq comp-eln-load-path
|
(setq native-comp-eln-load-path
|
||||||
(append (mapcar (lambda (profile-dir)
|
(append (mapcar (lambda (profile-dir)
|
||||||
(concat profile-dir "/share/emacs/native-lisp/"))
|
(concat profile-dir "/share/emacs/native-lisp/"))
|
||||||
(nix--profile-paths))
|
(nix--profile-paths))
|
||||||
comp-eln-load-path)))
|
native-comp-eln-load-path)))
|
||||||
|
|
||||||
;;; Make `woman' find the man pages
|
;;; Make `woman' find the man pages
|
||||||
(defvar woman-manpath)
|
(defvar woman-manpath)
|
||||||
|
|
|
@ -39,11 +39,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-builder";
|
pname = "gnome-builder";
|
||||||
version = "3.38.2";
|
version = "3.40.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "jFNco64yoZC1TZbTIHGVf+wBYYQHo2JRiMZFHngzYTs=";
|
sha256 = "16kikslvcfjqj4q3j857mq9i8cyd965b3lvfzcwijc91x3ylr15j";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -99,7 +99,6 @@ stdenv.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
"-Dpython_libprefix=${python3.libPrefix}"
|
|
||||||
"-Ddocs=true"
|
"-Ddocs=true"
|
||||||
|
|
||||||
# Making the build system correctly detect clang header and library paths
|
# Making the build system correctly detect clang header and library paths
|
||||||
|
@ -135,7 +134,10 @@ stdenv.mkDerivation rec {
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.updateScript = gnome3.updateScript { packageName = pname; };
|
passthru.updateScript = gnome3.updateScript {
|
||||||
|
packageName = pname;
|
||||||
|
versionPolicy = "odd-unstable";
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "An IDE for writing GNOME-based software";
|
description = "An IDE for writing GNOME-based software";
|
||||||
|
|
|
@ -1,21 +1,49 @@
|
||||||
{ lib, stdenv, fetchurl, wrapGAppsHook, gsettings-desktop-schemas, gspell, gtksourceview4, libgee
|
{ lib
|
||||||
, tepl, amtk, gnome3, glib, pkg-config, intltool, itstool, libxml2 }:
|
, stdenv
|
||||||
let
|
, fetchurl
|
||||||
|
, fetchpatch
|
||||||
|
, autoreconfHook
|
||||||
|
, gtk-doc
|
||||||
|
, vala
|
||||||
|
, gobject-introspection
|
||||||
|
, wrapGAppsHook
|
||||||
|
, gsettings-desktop-schemas
|
||||||
|
, gspell
|
||||||
|
, gtksourceview4
|
||||||
|
, libgee
|
||||||
|
, tepl
|
||||||
|
, amtk
|
||||||
|
, gnome3
|
||||||
|
, glib
|
||||||
|
, pkg-config
|
||||||
|
, intltool
|
||||||
|
, itstool
|
||||||
|
, libxml2
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
version = "3.38.0";
|
version = "3.38.0";
|
||||||
pname = "gnome-latex";
|
pname = "gnome-latex";
|
||||||
in stdenv.mkDerivation {
|
|
||||||
name = "${pname}-${version}";
|
|
||||||
|
|
||||||
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 = "0xqd49pgi82dygqnxj08i1v22b0vwwhx3zvdinhrx4jny339yam8";
|
sha256 = "0xqd49pgi82dygqnxj08i1v22b0vwwhx3zvdinhrx4jny339yam8";
|
||||||
};
|
};
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
patches = [
|
||||||
configureFlags = ["--disable-dconf-migration"];
|
# Fix build with latest tepl.
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://gitlab.gnome.org/Archive/gnome-latex/commit/e1b01186f8a4e5d3fee4c9ccfbedd6d098517df9.patch";
|
||||||
|
sha256 = "H8cbp5hDZoXytEdKE2D/oYHNKIbEFwxQoEaC4JMfGHY=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkg-config
|
pkg-config
|
||||||
|
autoreconfHook
|
||||||
|
gtk-doc
|
||||||
|
vala
|
||||||
|
gobject-introspection
|
||||||
wrapGAppsHook
|
wrapGAppsHook
|
||||||
itstool
|
itstool
|
||||||
intltool
|
intltool
|
||||||
|
@ -33,9 +61,18 @@ in stdenv.mkDerivation {
|
||||||
tepl
|
tepl
|
||||||
];
|
];
|
||||||
|
|
||||||
|
configureFlags = [
|
||||||
|
"--disable-dconf-migration"
|
||||||
|
];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
passthru.updateScript = gnome3.updateScript { packageName = pname; };
|
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
||||||
|
|
||||||
|
passthru.updateScript = gnome3.updateScript {
|
||||||
|
packageName = pname;
|
||||||
|
versionPolicy = "odd-unstable";
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://wiki.gnome.org/Apps/GNOME-LaTeX";
|
homepage = "https://wiki.gnome.org/Apps/GNOME-LaTeX";
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
, bzip2, zlib, libX11, libXext, libXt, fontconfig, freetype, ghostscript, libjpeg, djvulibre
|
, bzip2, zlib, libX11, libXext, libXt, fontconfig, freetype, ghostscript, libjpeg, djvulibre
|
||||||
, lcms2, openexr, libpng, librsvg, libtiff, libxml2, openjpeg, libwebp, libheif
|
, lcms2, openexr, libpng, librsvg, libtiff, libxml2, openjpeg, libwebp, libheif
|
||||||
, ApplicationServices
|
, ApplicationServices
|
||||||
|
, Foundation
|
||||||
|
, testVersion, imagemagick
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
@ -50,7 +52,10 @@ stdenv.mkDerivation rec {
|
||||||
]
|
]
|
||||||
++ lib.optionals (!stdenv.hostPlatform.isMinGW)
|
++ lib.optionals (!stdenv.hostPlatform.isMinGW)
|
||||||
[ openexr librsvg openjpeg ]
|
[ openexr librsvg openjpeg ]
|
||||||
++ lib.optional stdenv.isDarwin ApplicationServices;
|
++ lib.optionals stdenv.isDarwin [
|
||||||
|
ApplicationServices
|
||||||
|
Foundation
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs =
|
propagatedBuildInputs =
|
||||||
[ bzip2 freetype libjpeg lcms2 ]
|
[ bzip2 freetype libjpeg lcms2 ]
|
||||||
|
@ -72,6 +77,9 @@ stdenv.mkDerivation rec {
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.tests.version =
|
||||||
|
testVersion { package = imagemagick; };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "http://www.imagemagick.org/";
|
homepage = "http://www.imagemagick.org/";
|
||||||
description = "A software suite to create, edit, compose, or convert bitmap images";
|
description = "A software suite to create, edit, compose, or convert bitmap images";
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{ stdenv
|
{ stdenv
|
||||||
, lib
|
, lib
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, fetchpatch
|
|
||||||
, substituteAll
|
, substituteAll
|
||||||
, autoreconfHook
|
, autoreconfHook
|
||||||
, pkg-config
|
, pkg-config
|
||||||
|
@ -34,6 +33,7 @@
|
||||||
, libexif
|
, libexif
|
||||||
, gettext
|
, gettext
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
|
, gtk-doc
|
||||||
, xorg
|
, xorg
|
||||||
, glib-networking
|
, glib-networking
|
||||||
, libmypaint
|
, libmypaint
|
||||||
|
@ -53,13 +53,13 @@ let
|
||||||
python = python2.withPackages (pp: [ pp.pygtk ]);
|
python = python2.withPackages (pp: [ pp.pygtk ]);
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "gimp";
|
pname = "gimp";
|
||||||
version = "2.10.22";
|
version = "2.10.24";
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://download.gimp.org/pub/gimp/v${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
|
url = "http://download.gimp.org/pub/gimp/v${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
|
||||||
sha256 = "1fqqyshakvdarf1jipk2n33ibqr23ni22z3d8srq13bpydblpf1d";
|
sha256 = "17lq6ns5qhspd171zqh76yf98xnn5n0hcl7hbhbx63cc6ribf6xx";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -73,12 +73,6 @@ in stdenv.mkDerivation rec {
|
||||||
# Use absolute paths instead of relying on PATH
|
# Use absolute paths instead of relying on PATH
|
||||||
# to make sure plug-ins are loaded by the correct interpreter.
|
# to make sure plug-ins are loaded by the correct interpreter.
|
||||||
./hardcode-plugin-interpreters.patch
|
./hardcode-plugin-interpreters.patch
|
||||||
|
|
||||||
# Fix crash without dot.
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://gitlab.gnome.org/GNOME/gimp/-/commit/f83fd22c4b8701ffc4ce14383e5e22756a4bce04.patch";
|
|
||||||
sha256 = "POuvBhOSStO7hBGp4HgNx5F9pElFRoqN3W+i3u4zOnk=";
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -87,6 +81,7 @@ in stdenv.mkDerivation rec {
|
||||||
intltool
|
intltool
|
||||||
gettext
|
gettext
|
||||||
makeWrapper
|
makeWrapper
|
||||||
|
gtk-doc
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{ lib, stdenv
|
{ lib, stdenv
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, fetchpatch
|
|
||||||
, at-spi2-core
|
, at-spi2-core
|
||||||
, babl
|
, babl
|
||||||
, dbus
|
, dbus
|
||||||
|
@ -22,6 +21,7 @@
|
||||||
, gtk3
|
, gtk3
|
||||||
, itstool
|
, itstool
|
||||||
, libdazzle
|
, libdazzle
|
||||||
|
, libhandy
|
||||||
, libgdata
|
, libgdata
|
||||||
, libxml2
|
, libxml2
|
||||||
, meson
|
, meson
|
||||||
|
@ -36,32 +36,17 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-photos";
|
pname = "gnome-photos";
|
||||||
version = "3.38.0";
|
version = "40.0";
|
||||||
|
|
||||||
outputs = [ "out" "installedTests" ];
|
outputs = [ "out" "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.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "1i64w69kk3sdf9vn7npnwrhy8qjwn0vizq200x3pgmbrfm3kjzv6";
|
sha256 = "1bzi79plw6ji6qlckhxnwfnswy6jpnhzmmyanml2i2xg73hp6bg0";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./installed-tests-path.patch
|
./installed-tests-path.patch
|
||||||
|
|
||||||
# Port to Tracker 3
|
|
||||||
# https://gitlab.gnome.org/GNOME/gnome-photos/-/merge_requests/135
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://gitlab.gnome.org/GNOME/gnome-photos/commit/f39a85bb1a82093f4ba615494ff7e95609674fc2.patch";
|
|
||||||
sha256 = "M5r5WuB1JpUBVN3KxNvpMiPWj0pIpT+ImQMOiGtUgT4=";
|
|
||||||
})
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://gitlab.gnome.org/GNOME/gnome-photos/commit/3d847ff80d429cadf0bc59aa50caa37bf27c0201.patch";
|
|
||||||
sha256 = "zGjSL1qpWVJ/5Ifgh2CbhFSBR/WDAra8F+YUOemyxyU=";
|
|
||||||
})
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://gitlab.gnome.org/GNOME/gnome-photos/commit/2eb923726147b05c936dee64b205d833525db1df.patch";
|
|
||||||
sha256 = "vCA6NXHzmNf2GoLqzWwIyziC6puJgJ0QTLeKWsAEFAE=";
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -99,6 +84,7 @@ stdenv.mkDerivation rec {
|
||||||
gsettings-desktop-schemas
|
gsettings-desktop-schemas
|
||||||
gtk3
|
gtk3
|
||||||
libdazzle
|
libdazzle
|
||||||
|
libhandy
|
||||||
libgdata
|
libgdata
|
||||||
tracker
|
tracker
|
||||||
tracker-miners # For 'org.freedesktop.Tracker.Miner.Files' GSettings schema
|
tracker-miners # For 'org.freedesktop.Tracker.Miner.Files' GSettings schema
|
||||||
|
|
|
@ -32,11 +32,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gthumb";
|
pname = "gthumb";
|
||||||
version = "3.10.2";
|
version = "3.11.3";
|
||||||
|
|
||||||
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 = "/erkKBg3j5s8qwBgTu61t8Cnpez+ad4IuZOGd0ZDXJM=";
|
sha256 = "11bvcimamdcksgqj1ymh54yzhpwc5j8glda8brqqhwq3h2wj0j9d";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -97,6 +97,7 @@ stdenv.mkDerivation rec {
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
packageName = pname;
|
packageName = pname;
|
||||||
|
versionPolicy = "odd-unstable";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
, cmake
|
, cmake
|
||||||
, double-conversion
|
, double-conversion
|
||||||
, fetchurl
|
, fetchurl
|
||||||
|
, fetchpatch
|
||||||
, gettext
|
, gettext
|
||||||
, gdl
|
, gdl
|
||||||
, ghostscript
|
, ghostscript
|
||||||
|
@ -71,6 +72,13 @@ stdenv.mkDerivation rec {
|
||||||
# e.g., those from the "Effects" menu.
|
# e.g., those from the "Effects" menu.
|
||||||
python3 = "${python3Env}/bin/python";
|
python3 = "${python3Env}/bin/python";
|
||||||
})
|
})
|
||||||
|
|
||||||
|
# Fix build with glib 2.68
|
||||||
|
# https://gitlab.com/inkscape/inkscape/-/merge_requests/2790
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://gitlab.com/inkscape/inkscape/-/commit/eb24388f1730918edd9565d9e5d09340ec0b3b08.patch";
|
||||||
|
sha256 = "d2FHRWcOzi0Vsr6t0MuLu3rWpvhFKuuvoXd4/NKUSJI=";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|
|
@ -1,20 +1,61 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, meson, ninja, gettext, python3,
|
{ lib
|
||||||
pkg-config, libxml2, json-glib , sqlite, itstool, yelp-tools,
|
, stdenv
|
||||||
vala, gtk3, gnome3, desktop-file-utils, wrapGAppsHook, gobject-introspection,
|
, fetchFromGitHub
|
||||||
libsoup, webkitgtk
|
, meson
|
||||||
|
, fetchpatch
|
||||||
|
, ninja
|
||||||
|
, gettext
|
||||||
|
, python3
|
||||||
|
, pkg-config
|
||||||
|
, libxml2
|
||||||
|
, json-glib
|
||||||
|
, sqlite
|
||||||
|
, itstool
|
||||||
|
, yelp-tools
|
||||||
|
, vala
|
||||||
|
, gsettings-desktop-schemas
|
||||||
|
, gtk3
|
||||||
|
, gnome3
|
||||||
|
, desktop-file-utils
|
||||||
|
, wrapGAppsHook
|
||||||
|
, gobject-introspection
|
||||||
|
, libsoup
|
||||||
|
, glib-networking
|
||||||
|
, webkitgtk
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "font-manager";
|
pname = "font-manager";
|
||||||
version = "0.8.5-1";
|
version = "0.8.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "FontManager";
|
owner = "FontManager";
|
||||||
repo = "master";
|
repo = "master";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1p0hfnf06892hn25a6zv8fnhbh4ln11nn2fv1vjqs63rr59fprbk";
|
sha256 = "0a18rbdy9d0fj0vnsc2rm7xlh17vjqn4kdyrq0ldzlzkb6zbdk2k";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Fix some Desktop Settings with GNOME 40.
|
||||||
|
# https://github.com/FontManager/font-manager/issues/215
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/FontManager/font-manager/commit/b28f325d7951a66ebf1a2a432ee09fd22048a033.patch";
|
||||||
|
sha256 = "dKbrXGb9a4JuG/4x9vprMlh5J17HKJFifRWq9BWp1ow=";
|
||||||
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/FontManager/font-manager/commit/2147204d4c4c6b58161230500186c3a5d4eeb1c1.patch";
|
||||||
|
sha256 = "2/PFLwf7h76fIIN4+lyjg/L0KVU1hhRQCfwCAGDpb00=";
|
||||||
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/FontManager/font-manager/commit/3abc541ef8606727c72af7631c021809600336ac.patch";
|
||||||
|
sha256 = "rJPnW+7uuFLxTf5tk+Rzo+xkw2+uzU6BkzPXLeR/RGc=";
|
||||||
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/FontManager/font-manager/commit/03a822f0d7b72442cd2ffcc8668da265d3535e0d.patch";
|
||||||
|
sha256 = "3Z2UqK5VV2bIwpGd1tA7fivd7ooIuV6CxTJhzgOAkIM=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkg-config
|
pkg-config
|
||||||
meson
|
meson
|
||||||
|
@ -34,12 +75,18 @@ stdenv.mkDerivation rec {
|
||||||
libxml2
|
libxml2
|
||||||
json-glib
|
json-glib
|
||||||
sqlite
|
sqlite
|
||||||
|
gsettings-desktop-schemas # for font settings
|
||||||
gtk3
|
gtk3
|
||||||
gnome3.adwaita-icon-theme
|
gnome3.adwaita-icon-theme
|
||||||
libsoup
|
libsoup
|
||||||
|
glib-networking # for SSL so that Google Fonts can load
|
||||||
webkitgtk
|
webkitgtk
|
||||||
];
|
];
|
||||||
|
|
||||||
|
mesonFlags = [
|
||||||
|
"-Dreproducible=true" # Do not hardcode build directory…
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
chmod +x meson_post_install.py
|
chmod +x meson_post_install.py
|
||||||
patchShebangs meson_post_install.py
|
patchShebangs meson_post_install.py
|
||||||
|
|
|
@ -19,11 +19,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-multi-writer";
|
pname = "gnome-multi-writer";
|
||||||
version = "3.32.1";
|
version = "3.35.90";
|
||||||
|
|
||||||
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 = "1apdd8yi12zagf82k376a9wmdm27wzwdxpm2wf2pnwkaf786rmdw";
|
sha256 = "07vgzjjdrxcp7h73z13h9agafxb4vmqx5i81bcfyw0ilw9kkdzmp";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
{ lib, stdenv, fetchurl }:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchurl
|
||||||
|
, testVersion
|
||||||
|
, hello
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "hello";
|
pname = "hello";
|
||||||
|
@ -11,6 +16,9 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
passthru.tests.version =
|
||||||
|
testVersion { package = hello; };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A program that produces a familiar, friendly greeting";
|
description = "A program that produces a familiar, friendly greeting";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
|
|
@ -0,0 +1,42 @@
|
||||||
|
{ fetchFromGitHub, buildGoModule, lib, stdenv }:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "kratos";
|
||||||
|
version = "0.6.0-alpha.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "ory";
|
||||||
|
repo = "kratos";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0lnrm7ma203b5a0vxgm9zqsbs3nigx0kng5zymrjvrzll1gd79wm";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorSha256 = "16qg44k97l6719hib8vbv0j15x6gvs9d6738d2y990a2qiqbsqpw";
|
||||||
|
|
||||||
|
subPackages = [ "." ];
|
||||||
|
|
||||||
|
buildFlags = [ "-tags sqlite" ];
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
# Patch shebangs
|
||||||
|
files=(
|
||||||
|
test/e2e/run.sh
|
||||||
|
script/testenv.sh
|
||||||
|
script/test-envs.sh
|
||||||
|
persistence/sql/migratest/update_fixtures.sh
|
||||||
|
)
|
||||||
|
patchShebangs "''${files[@]}"
|
||||||
|
|
||||||
|
# patchShebangs doesn't work for this Makefile, do it manually
|
||||||
|
substituteInPlace Makefile --replace '/bin/bash' '${stdenv.shell}'
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
maintainers = with maintainers; [ mrmebelman ];
|
||||||
|
homepage = "https://www.ory.sh/kratos/";
|
||||||
|
license = licenses.asl20;
|
||||||
|
description = "An API-first Identity and User Management system that is built according to cloud architecture best practices";
|
||||||
|
};
|
||||||
|
}
|
|
@ -35,13 +35,13 @@
|
||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "orca";
|
pname = "orca";
|
||||||
version = "3.38.2";
|
version = "40.0";
|
||||||
|
|
||||||
format = "other";
|
format = "other";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "UAX/LhHdH3E/WswZA6JwEZvFjDD9uMn4K8rHFJfGwjw=";
|
sha256 = "0hq0zdcn80ficpcffbk667907v6m7dih3dhyc7ss01mrj3iyw000";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
|
diff --git a/src/orca/debug.py b/src/orca/debug.py
|
||||||
|
index e79482ed4..cbf3a24ec 100644
|
||||||
--- a/src/orca/debug.py
|
--- a/src/orca/debug.py
|
||||||
+++ b/src/orca/debug.py
|
+++ b/src/orca/debug.py
|
||||||
@@ -474,7 +474,7 @@
|
@@ -502,7 +502,7 @@ def traceit(frame, event, arg):
|
||||||
return traceit
|
return traceit
|
||||||
|
|
||||||
def getOpenFDCount(pid):
|
def getOpenFDCount(pid):
|
||||||
|
@ -9,7 +11,7 @@
|
||||||
procs = procs.decode('UTF-8').split('\n')
|
procs = procs.decode('UTF-8').split('\n')
|
||||||
files = list(filter(lambda s: s and s[0] == 'f' and s[1:].isdigit(), procs))
|
files = list(filter(lambda s: s and s[0] == 'f' and s[1:].isdigit(), procs))
|
||||||
|
|
||||||
@@ -482,7 +482,7 @@
|
@@ -510,7 +510,7 @@ def getOpenFDCount(pid):
|
||||||
|
|
||||||
def getCmdline(pid):
|
def getCmdline(pid):
|
||||||
try:
|
try:
|
||||||
|
@ -18,7 +20,7 @@
|
||||||
cmdline = openFile.read()
|
cmdline = openFile.read()
|
||||||
openFile.close()
|
openFile.close()
|
||||||
except:
|
except:
|
||||||
@@ -492,7 +492,7 @@
|
@@ -520,7 +520,7 @@ def getCmdline(pid):
|
||||||
return cmdline
|
return cmdline
|
||||||
|
|
||||||
def pidOf(procName):
|
def pidOf(procName):
|
||||||
|
@ -27,9 +29,11 @@
|
||||||
shell=True,
|
shell=True,
|
||||||
stdout=subprocess.PIPE).stdout
|
stdout=subprocess.PIPE).stdout
|
||||||
pids = openFile.read()
|
pids = openFile.read()
|
||||||
|
diff --git a/src/orca/orca.py b/src/orca/orca.py
|
||||||
|
index 2fe0a0bf2..087526556 100644
|
||||||
--- a/src/orca/orca.py
|
--- a/src/orca/orca.py
|
||||||
+++ b/src/orca/orca.py
|
+++ b/src/orca/orca.py
|
||||||
@@ -239,7 +239,7 @@
|
@@ -285,7 +285,7 @@ def updateKeyMap(keyboardEvent):
|
||||||
|
|
||||||
def _setXmodmap(xkbmap):
|
def _setXmodmap(xkbmap):
|
||||||
"""Set the keyboard map using xkbcomp."""
|
"""Set the keyboard map using xkbcomp."""
|
||||||
|
@ -38,7 +42,7 @@
|
||||||
stdin=subprocess.PIPE, stdout=None, stderr=None)
|
stdin=subprocess.PIPE, stdout=None, stderr=None)
|
||||||
p.communicate(xkbmap)
|
p.communicate(xkbmap)
|
||||||
|
|
||||||
@@ -297,7 +297,7 @@
|
@@ -363,7 +363,7 @@ def _storeXmodmap(keyList):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
global _originalXmodmap
|
global _originalXmodmap
|
||||||
|
@ -47,7 +51,7 @@
|
||||||
|
|
||||||
def _restoreXmodmap(keyList=[]):
|
def _restoreXmodmap(keyList=[]):
|
||||||
"""Restore the original xmodmap values for the keys in keyList.
|
"""Restore the original xmodmap values for the keys in keyList.
|
||||||
@@ -309,7 +309,7 @@
|
@@ -375,7 +375,7 @@ def _restoreXmodmap(keyList=[]):
|
||||||
|
|
||||||
global _capsLockCleared
|
global _capsLockCleared
|
||||||
_capsLockCleared = False
|
_capsLockCleared = False
|
||||||
|
@ -56,9 +60,11 @@
|
||||||
stdin=subprocess.PIPE, stdout=None, stderr=None)
|
stdin=subprocess.PIPE, stdout=None, stderr=None)
|
||||||
p.communicate(_originalXmodmap)
|
p.communicate(_originalXmodmap)
|
||||||
|
|
||||||
|
diff --git a/src/orca/orca_bin.py.in b/src/orca/orca_bin.py.in
|
||||||
|
index 8c9d40153..eec0d5437 100644
|
||||||
--- a/src/orca/orca_bin.py.in
|
--- a/src/orca/orca_bin.py.in
|
||||||
+++ b/src/orca/orca_bin.py.in
|
+++ b/src/orca/orca_bin.py.in
|
||||||
@@ -59,7 +59,7 @@
|
@@ -62,7 +62,7 @@ class ListApps(argparse.Action):
|
||||||
name = "[DEAD]"
|
name = "[DEAD]"
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
@ -67,12 +73,12 @@
|
||||||
except:
|
except:
|
||||||
cmdline = '(exception encountered)'
|
cmdline = '(exception encountered)'
|
||||||
else:
|
else:
|
||||||
@@ -192,7 +192,7 @@
|
@@ -197,7 +197,7 @@ def inGraphicalDesktop():
|
||||||
def otherOrcas():
|
def otherOrcas():
|
||||||
"""Returns the pid of any other instances of Orca owned by this user."""
|
"""Returns the pid of any other instances of Orca owned by this user."""
|
||||||
|
|
||||||
- openFile = subprocess.Popen('pgrep -u %s orca' % os.getuid(),
|
- openFile = subprocess.Popen('pgrep -u %s -x orca' % os.getuid(),
|
||||||
+ openFile = subprocess.Popen('@pgrep@ -u %s orca' % os.getuid(),
|
+ openFile = subprocess.Popen('@pgrep@ -u %s -x orca' % os.getuid(),
|
||||||
shell=True,
|
shell=True,
|
||||||
stdout=subprocess.PIPE).stdout
|
stdout=subprocess.PIPE).stdout
|
||||||
pids = openFile.read()
|
pids = openFile.read()
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
, desktop-file-utils
|
, desktop-file-utils
|
||||||
, appstream-glib
|
, appstream-glib
|
||||||
, libpeas
|
, libpeas
|
||||||
|
, libgdata
|
||||||
, dbus
|
, dbus
|
||||||
, vala
|
, vala
|
||||||
, wrapGAppsHook
|
, wrapGAppsHook
|
||||||
|
@ -65,6 +66,7 @@ stdenv.mkDerivation rec {
|
||||||
callaudiod
|
callaudiod
|
||||||
gtk3
|
gtk3
|
||||||
libpeas
|
libpeas
|
||||||
|
libgdata # required by some dependency transitively
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchurl, pidgin, intltool, libxml2, gmime, nss }:
|
{ lib, stdenv, fetchurl, fetchpatch, pidgin, intltool, libxml2, gmime, nss }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "pidgin-sipe";
|
pname = "pidgin-sipe";
|
||||||
|
@ -9,6 +9,20 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "0262sz00iqxylx0xfyr48xikhiqzr8pg7b4b7vwj5iv4qxpxv939";
|
sha256 = "0262sz00iqxylx0xfyr48xikhiqzr8pg7b4b7vwj5iv4qxpxv939";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# add sipe_utils_memdup() function
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://repo.or.cz/siplcs.git/patch/567d0ddc0692adfef5f15d0d383825a9b2ea4b49";
|
||||||
|
sha256 = "24L8ZfoOGc3JoTCGxuTNjuHzt5QgFDu1+vSoJpGvde4=";
|
||||||
|
})
|
||||||
|
# replace g_memdup() with sipe_utils_memdup()
|
||||||
|
# g_memdup is deprecatein newer Glib
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://repo.or.cz/siplcs.git/patch/583a734e63833f03d11798b7b0d59a17d08ae60f";
|
||||||
|
sha256 = "Ai6Czpy/FYvBi4GZR7yzch6OcouJgfreI9HcojhGVV4=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ intltool ];
|
nativeBuildInputs = [ intltool ];
|
||||||
buildInputs = [ pidgin gmime libxml2 nss ];
|
buildInputs = [ pidgin gmime libxml2 nss ];
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "evolution-ews";
|
pname = "evolution-ews";
|
||||||
version = "3.38.3";
|
version = "3.40.1";
|
||||||
|
|
||||||
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 = "1s2jpviliazmhnpkh8dc57ga3c3612f2rnc0nfya5ndbi6lpzxhi";
|
sha256 = "1kgxdacqqcq8yfkij6vyqlk5r4yqvw7gh7mxqii670hrn1mb2s50";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake gettext intltool pkg-config ];
|
nativeBuildInputs = [ cmake gettext intltool pkg-config ];
|
||||||
|
@ -19,23 +19,17 @@ stdenv.mkDerivation rec {
|
||||||
libmspack
|
libmspack
|
||||||
];
|
];
|
||||||
|
|
||||||
# Building with libmspack as reccommended: https://wiki.gnome.org/Apps/Evolution/Building#Build_evolution-ews
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
|
# Building with libmspack as recommended: https://wiki.gnome.org/Apps/Evolution/Building#Build_evolution-ews
|
||||||
"-DWITH_MSPACK=ON"
|
"-DWITH_MSPACK=ON"
|
||||||
|
# don't try to install into ${evolution}
|
||||||
|
"-DFORCE_INSTALL_PREFIX=ON"
|
||||||
];
|
];
|
||||||
|
|
||||||
PKG_CONFIG_EVOLUTION_SHELL_3_0_ERRORDIR = "${placeholder "out"}/share/evolution/errors";
|
|
||||||
PKG_CONFIG_EVOLUTION_SHELL_3_0_PRIVLIBDIR = "${placeholder "out"}/lib/evolution";
|
|
||||||
PKG_CONFIG_CAMEL_1_2_CAMEL_PROVIDERDIR = "${placeholder "out"}/lib/evolution-data-server/camel-providers";
|
|
||||||
PKG_CONFIG_LIBEDATA_BOOK_1_2_BACKENDDIR = "${placeholder "out"}/lib/evolution-data-server/addressbook-backends";
|
|
||||||
PKG_CONFIG_LIBEDATA_CAL_2_0_BACKENDDIR = "${placeholder "out"}/lib/evolution-data-server/calendar-backends";
|
|
||||||
PKG_CONFIG_LIBEBACKEND_1_2_MODULEDIR = "${placeholder "out"}/lib/evolution-data-server/registry-modules";
|
|
||||||
PKG_CONFIG_EVOLUTION_SHELL_3_0_MODULEDIR = "${placeholder "out"}/lib/evolution/modules";
|
|
||||||
PKG_CONFIG_EVOLUTION_DATA_SERVER_1_2_PRIVDATADIR = "${placeholder "out"}/share/evolution-data-server";
|
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
packageName = "evolution-ews";
|
packageName = "evolution-ews";
|
||||||
|
versionPolicy = "odd-unstable";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -42,11 +42,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "evolution";
|
pname = "evolution";
|
||||||
version = "3.38.4";
|
version = "3.40.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/evolution/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/evolution/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "NB+S0k4rRMJ4mwA38aiU/xZUh9qksAuA+uMTii4Fr9Q=";
|
sha256 = "07n4sbgsh0y9hrn52ymvy45ah65ll55gglgvqqi3h9nhkyy64y9g";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -114,13 +114,10 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
patches = [
|
|
||||||
./moduledir_from_env.patch
|
|
||||||
];
|
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
packageName = "evolution";
|
packageName = "evolution";
|
||||||
|
versionPolicy = "odd-unstable";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,21 +0,0 @@
|
||||||
diff --git a/src/shell/main.c b/src/shell/main.c
|
|
||||||
index 5d089225ca..030908d684 100644
|
|
||||||
--- a/src/shell/main.c
|
|
||||||
+++ b/src/shell/main.c
|
|
||||||
@@ -407,7 +407,15 @@ create_default_shell (void)
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Load all shared library modules. */
|
|
||||||
- module_types = e_module_load_all_in_directory (EVOLUTION_MODULEDIR);
|
|
||||||
+ const gchar *modules_directory = EVOLUTION_MODULEDIR;
|
|
||||||
+ const gchar *modules_directory_env;
|
|
||||||
+
|
|
||||||
+ modules_directory_env = g_getenv ("EVOLUTION_MODULEDIR");
|
|
||||||
+ if (modules_directory_env &&
|
|
||||||
+ g_file_test (modules_directory_env, G_FILE_TEST_IS_DIR))
|
|
||||||
+ modules_directory = g_strdup (modules_directory_env);
|
|
||||||
+
|
|
||||||
+ module_types = e_module_load_all_in_directory (modules_directory);
|
|
||||||
g_list_free_full (module_types, (GDestroyNotify) g_type_module_unuse);
|
|
||||||
|
|
||||||
flags = G_APPLICATION_HANDLES_OPEN |
|
|
|
@ -10,13 +10,7 @@ symlinkJoin {
|
||||||
for i in $out/bin/* $out/libexec/**; do
|
for i in $out/bin/* $out/libexec/**; do
|
||||||
if [ ! -d $i ]; then
|
if [ ! -d $i ]; then
|
||||||
echo wrapping $i
|
echo wrapping $i
|
||||||
wrapProgram $i \
|
wrapProgram $i --set EDS_EXTRA_PREFIXES "${lib.concatStringsSep ":" plugins}"
|
||||||
--set LD_LIBRARY_PATH "$out/lib" \
|
|
||||||
--set EDS_ADDRESS_BOOK_MODULES "$out/lib/evolution-data-server/addressbook-backends/" \
|
|
||||||
--set EDS_CALENDAR_MODULES "$out/lib/evolution-data-server/calendar-backends/" \
|
|
||||||
--set EDS_CAMEL_PROVIDER_DIR "$out/lib/evolution-data-server/camel-providers/" \
|
|
||||||
--set EDS_REGISTRY_MODULES "$out/lib/evolution-data-server/registry-modules/" \
|
|
||||||
--set EVOLUTION_MODULEDIR "$out/lib/evolution/modules"
|
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, buildGoModule
|
, buildGoModule
|
||||||
, runCommand
|
, testVersion
|
||||||
, seaweedfs
|
, seaweedfs
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -20,10 +20,8 @@ buildGoModule rec {
|
||||||
|
|
||||||
subPackages = [ "weed" ];
|
subPackages = [ "weed" ];
|
||||||
|
|
||||||
passthru.tests.check-version = runCommand "weed-version" { meta.timeout = 3; } ''
|
passthru.tests.version =
|
||||||
${seaweedfs}/bin/weed version | grep -Fw ${version}
|
testVersion { package = seaweedfs; command = "weed version"; };
|
||||||
touch $out
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Simple and highly scalable distributed file system";
|
description = "Simple and highly scalable distributed file system";
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
, glib-networking
|
, glib-networking
|
||||||
, sqlite
|
, sqlite
|
||||||
, libsoup
|
, libsoup
|
||||||
|
, libgdata
|
||||||
, gtk3
|
, gtk3
|
||||||
, pantheon /* granite, icons, maintainers */
|
, pantheon /* granite, icons, maintainers */
|
||||||
, webkitgtk
|
, webkitgtk
|
||||||
|
@ -56,6 +57,7 @@ stdenv.mkDerivation rec {
|
||||||
pantheon.granite
|
pantheon.granite
|
||||||
sqlite
|
sqlite
|
||||||
webkitgtk
|
webkitgtk
|
||||||
|
libgdata # required by some dependency transitively
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ fetchurl, lib, stdenv, pkg-config, makeWrapper, cmake, gtest
|
{ fetchurl, fetchpatch, lib, stdenv, pkg-config, makeWrapper, cmake, gtest
|
||||||
, boost, icu, libxml2, libxslt, gettext, swig, isocodes, gtk3, glibcLocales
|
, boost, icu, libxml2, libxslt, gettext, swig, isocodes, gtk3, glibcLocales
|
||||||
, webkitgtk, dconf, hicolor-icon-theme, libofx, aqbanking, gwenhywfar, libdbi
|
, webkitgtk, dconf, hicolor-icon-theme, libofx, aqbanking, gwenhywfar, libdbi
|
||||||
, libdbiDrivers, guile, perl, perlPackages
|
, libdbiDrivers, guile, perl, perlPackages
|
||||||
|
@ -25,13 +25,21 @@ in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnucash";
|
pname = "gnucash";
|
||||||
version = "4.4";
|
version = "4.5";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/gnucash/${pname}-${version}.tar.bz2";
|
url = "mirror://sourceforge/gnucash/${pname}-${version}.tar.bz2";
|
||||||
sha256 = "sha256-2R4NEmtGHXHeG8GyDZzxQnBDU97AfT5lmdE4QidZ5no=";
|
sha256 = "sha256-vB9IqEU0iKLp9rg7aGE6pVyuvk0pg0YL2sfghLRs/9w=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Fix build with GLib 2.68.
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/Gnucash/gnucash/commit/bbb4113a5a996dcd7bb3494e0be900b275b49a4f.patch";
|
||||||
|
sha256 = "Pnvwoq5zutFw7ByduEEANiLM2J50WiXpm2aZ8B2MDMQ=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config makeWrapper cmake gtest ];
|
nativeBuildInputs = [ pkg-config makeWrapper cmake gtest ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
|
|
@ -29,6 +29,7 @@ in stdenv.mkDerivation rec {
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
packageName = pname;
|
packageName = pname;
|
||||||
|
versionPolicy = "odd-unstable";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
, ant
|
, ant
|
||||||
, jre
|
, jre
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, runCommand
|
, testVersion
|
||||||
, key
|
, key
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -51,10 +51,13 @@ in stdenv.mkDerivation rec {
|
||||||
--add-flags "-cp $out/share/java/KeY.jar de.uka.ilkd.key.core.Main"
|
--add-flags "-cp $out/share/java/KeY.jar de.uka.ilkd.key.core.Main"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.tests.check-version = runCommand "key-help" {} ''
|
passthru.tests.version =
|
||||||
${key}/bin/KeY --help | grep 2.5 # Wrong version in the code. On next version change to ${version}
|
testVersion {
|
||||||
touch $out
|
package = key;
|
||||||
'';
|
command = "KeY --help";
|
||||||
|
# Wrong '2.5' version in the code. On next version change to ${version}
|
||||||
|
version = "2.5";
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Java formal verification tool";
|
description = "Java formal verification tool";
|
||||||
|
|
|
@ -59,6 +59,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
packageName = pname;
|
packageName = pname;
|
||||||
|
versionPolicy = "odd-unstable";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -21,13 +21,13 @@
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "pitivi";
|
pname = "pitivi";
|
||||||
version = "2020.09.2";
|
version = "2021.01";
|
||||||
|
|
||||||
format = "other";
|
format = "other";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/pitivi/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/pitivi/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "0hzvv4wia4rk0kvq16y27imq2qd4q5lg3vx99hdcjdb1x3zqqfg0";
|
sha256 = "0krzsrv19v3mwhbsm72ica6m3p8ijy0lbd0c3s87yd7pmbwld2c1";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
|
|
@ -159,7 +159,7 @@ runCommand
|
||||||
(add-to-list 'load-path "$out/share/emacs/site-lisp")
|
(add-to-list 'load-path "$out/share/emacs/site-lisp")
|
||||||
(add-to-list 'exec-path "$out/bin")
|
(add-to-list 'exec-path "$out/bin")
|
||||||
${optionalString nativeComp ''
|
${optionalString nativeComp ''
|
||||||
(add-to-list 'comp-eln-load-path "$out/share/emacs/native-lisp/")
|
(add-to-list 'native-comp-eln-load-path "$out/share/emacs/native-lisp/")
|
||||||
''}
|
''}
|
||||||
EOF
|
EOF
|
||||||
# Link subdirs.el from the emacs distribution
|
# Link subdirs.el from the emacs distribution
|
||||||
|
@ -170,7 +170,7 @@ runCommand
|
||||||
|
|
||||||
${optionalString nativeComp ''
|
${optionalString nativeComp ''
|
||||||
$emacs/bin/emacs --batch \
|
$emacs/bin/emacs --batch \
|
||||||
--eval "(add-to-list 'comp-eln-load-path \"$out/share/emacs/native-lisp/\")" \
|
--eval "(add-to-list 'native-comp-eln-load-path \"$out/share/emacs/native-lisp/\")" \
|
||||||
-f batch-native-compile "$siteStart" "$subdirs"
|
-f batch-native-compile "$siteStart" "$subdirs"
|
||||||
''}
|
''}
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -541,4 +541,37 @@ rec {
|
||||||
phases = "unpackPhase patchPhase installPhase";
|
phases = "unpackPhase patchPhase installPhase";
|
||||||
installPhase = "cp -R ./ $out";
|
installPhase = "cp -R ./ $out";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* Checks the command output contains the specified version
|
||||||
|
*
|
||||||
|
* Although simplistic, this test assures that the main program
|
||||||
|
* can run. While there's no substitute for a real test case,
|
||||||
|
* it does catch dynamic linking errors and such. It also provides
|
||||||
|
* some protection against accidentally building the wrong version,
|
||||||
|
* for example when using an 'old' hash in a fixed-output derivation.
|
||||||
|
*
|
||||||
|
* Examples:
|
||||||
|
*
|
||||||
|
* passthru.tests.version = testVersion { package = hello; };
|
||||||
|
*
|
||||||
|
* passthru.tests.version = testVersion {
|
||||||
|
* package = seaweedfs;
|
||||||
|
* command = "weed version";
|
||||||
|
* };
|
||||||
|
*
|
||||||
|
* passthru.tests.version = testVersion {
|
||||||
|
* package = key;
|
||||||
|
* command = "KeY --help";
|
||||||
|
* # Wrong '2.5' version in the code. Drop on next version.
|
||||||
|
* version = "2.5";
|
||||||
|
* };
|
||||||
|
*/
|
||||||
|
testVersion =
|
||||||
|
{ package,
|
||||||
|
command ? "${package.meta.mainProgram or package.pname or package.name} --version",
|
||||||
|
version ? package.version,
|
||||||
|
}: runCommand "test-version" { nativeBuildInputs = [ package ]; meta.timeout = 60; } ''
|
||||||
|
${command} | grep -Fw ${version}
|
||||||
|
touch $out
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,11 +9,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-user-docs";
|
pname = "gnome-user-docs";
|
||||||
version = "3.38.2";
|
version = "40.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gnome-user-docs/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/gnome-user-docs/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "1h9lyn80zccmgi6gpymabgrcj7km0sb1axll5z490qnx74xbn37m";
|
sha256 = "09ld9r29nz64s04fmp3b2wwldmfnwxp4w36dkh7mbz5pdd3z7fwk";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -1,14 +1,12 @@
|
||||||
{ lib, stdenv, fetchurl, meson, ninja, gettext, appstream-glib, gnome3 }:
|
{ lib, stdenv, fetchurl, meson, ninja, gettext, appstream-glib, gnome3 }:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
pname = "cantarell-fonts";
|
pname = "cantarell-fonts";
|
||||||
version = "0.111";
|
version = "0.301";
|
||||||
in stdenv.mkDerivation rec {
|
|
||||||
name = "${pname}-${version}";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "05hpnhihwm9sxlq1qn993g03pwkmpjbn0dvnba71r1gfjv0jp2w5";
|
sha256 = "3d35db0ac03f9e6b0d5a53577591b714238985f4cfc31a0aa17f26cd74675e83";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ meson ninja gettext appstream-glib ];
|
nativeBuildInputs = [ meson ninja gettext appstream-glib ];
|
||||||
|
@ -21,7 +19,7 @@ in stdenv.mkDerivation rec {
|
||||||
|
|
||||||
outputHashAlgo = "sha256";
|
outputHashAlgo = "sha256";
|
||||||
outputHashMode = "recursive";
|
outputHashMode = "recursive";
|
||||||
outputHash = "12ps2gjv1lmzbmkv16vgjmaahl3ayadpniyrx0z31sqn443r57hq";
|
outputHash = "1sczskw2kv3qy39i9mzw2lkl94a90bjgv5ln9acy5kh4gb2zmy7z";
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
|
|
|
@ -1,14 +1,19 @@
|
||||||
{ lib, stdenv, fetchurl, gnome3 }:
|
{ lib, stdenv, fetchurl, gnome3, libxslt }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "mobile-broadband-provider-info";
|
pname = "mobile-broadband-provider-info";
|
||||||
version = "20190116";
|
version = "20201225";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic";
|
sha256 = "1g9x2i4xjm2sagaha07n9psacbylrwfrmfqkp17gjwhpyi6w0zqd";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
# fixes configure: error: xsltproc not found
|
||||||
|
libxslt
|
||||||
|
];
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
packageName = pname;
|
packageName = pname;
|
||||||
|
|
|
@ -60,6 +60,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
packageName = "accerciser";
|
packageName = "accerciser";
|
||||||
attrPath = "gnome3.accerciser";
|
attrPath = "gnome3.accerciser";
|
||||||
|
versionPolicy = "odd-unstable";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
{ lib, stdenv
|
{ lib
|
||||||
|
, stdenv
|
||||||
, gettext
|
, gettext
|
||||||
, fetchurl
|
, fetchurl
|
||||||
|
, fetchpatch
|
||||||
, wrapGAppsHook
|
, wrapGAppsHook
|
||||||
, gnome-video-effects
|
, gnome-video-effects
|
||||||
, libcanberra-gtk3
|
, libcanberra-gtk3
|
||||||
|
@ -9,17 +11,13 @@
|
||||||
, glib
|
, glib
|
||||||
, clutter-gtk
|
, clutter-gtk
|
||||||
, clutter-gst
|
, clutter-gst
|
||||||
, udev
|
|
||||||
, gst_all_1
|
, gst_all_1
|
||||||
, itstool
|
, itstool
|
||||||
, libgudev
|
|
||||||
, vala
|
, vala
|
||||||
, docbook_xml_dtd_43
|
, docbook_xml_dtd_43
|
||||||
, docbook_xsl
|
, docbook-xsl-nons
|
||||||
, appstream-glib
|
, appstream-glib
|
||||||
, libxslt
|
, libxslt
|
||||||
, yelp-tools
|
|
||||||
, gnome-common
|
|
||||||
, gtk-doc
|
, gtk-doc
|
||||||
, adwaita-icon-theme
|
, adwaita-icon-theme
|
||||||
, librsvg
|
, librsvg
|
||||||
|
@ -38,37 +36,37 @@ stdenv.mkDerivation rec {
|
||||||
pname = "cheese";
|
pname = "cheese";
|
||||||
version = "3.38.0";
|
version = "3.38.0";
|
||||||
|
|
||||||
|
outputs = [ "out" "man" "devdoc" ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/cheese/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/cheese/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "0vyim2avlgq3a48rgdfz5g21kqk11mfb53b2l883340v88mp7ll8";
|
sha256 = "0vyim2avlgq3a48rgdfz5g21kqk11mfb53b2l883340v88mp7ll8";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
patches = [
|
||||||
chmod +x meson_post_install.py
|
# Fix build with latest Vala or GLib
|
||||||
patchShebangs meson_post_install.py
|
(fetchpatch {
|
||||||
'';
|
url = "https://gitlab.gnome.org/GNOME/cheese/commit/7cf6268e54620bbbe5e6e61800c50fb0cb4bea57.patch";
|
||||||
|
sha256 = "WJgGNrpZLTahe7Sxr8HdTl+4Mf4VcmJb6DdiInlDcT4=";
|
||||||
passthru = {
|
})
|
||||||
updateScript = gnome3.updateScript { packageName = "cheese"; attrPath = "gnome3.cheese"; };
|
];
|
||||||
};
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
appstream-glib
|
appstream-glib
|
||||||
docbook_xml_dtd_43
|
docbook_xml_dtd_43
|
||||||
docbook_xsl
|
docbook-xsl-nons
|
||||||
gettext
|
gettext
|
||||||
gnome-common
|
|
||||||
gtk-doc
|
gtk-doc
|
||||||
itstool
|
itstool
|
||||||
libxml2
|
libxml2
|
||||||
libxslt
|
libxslt # for xsltproc
|
||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
pkg-config
|
pkg-config
|
||||||
python3
|
python3
|
||||||
vala
|
vala
|
||||||
wrapGAppsHook
|
wrapGAppsHook
|
||||||
yelp-tools
|
glib # for glib-compile-schemas
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -86,12 +84,13 @@ stdenv.mkDerivation rec {
|
||||||
gst_all_1.gstreamer
|
gst_all_1.gstreamer
|
||||||
gtk3
|
gtk3
|
||||||
libcanberra-gtk3
|
libcanberra-gtk3
|
||||||
libgudev
|
|
||||||
librsvg
|
librsvg
|
||||||
udev
|
|
||||||
];
|
];
|
||||||
|
|
||||||
outputs = [ "out" "man" "devdoc" ];
|
postPatch = ''
|
||||||
|
chmod +x meson_post_install.py
|
||||||
|
patchShebangs meson_post_install.py
|
||||||
|
'';
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
gappsWrapperArgs+=(
|
gappsWrapperArgs+=(
|
||||||
|
@ -105,13 +104,18 @@ stdenv.mkDerivation rec {
|
||||||
)
|
)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
passthru = {
|
||||||
|
updateScript = gnome3.updateScript {
|
||||||
|
packageName = "cheese";
|
||||||
|
attrPath = "gnome3.cheese";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://wiki.gnome.org/Apps/Cheese";
|
homepage = "https://wiki.gnome.org/Apps/Cheese";
|
||||||
description = "Take photos and videos with your webcam, with fun graphical effects";
|
description = "Take photos and videos with your webcam, with fun graphical effects";
|
||||||
maintainers = teams.gnome.members;
|
maintainers = teams.gnome.members;
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl2Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,20 +1,21 @@
|
||||||
{ lib, stdenv, fetchurl, glib, gtk3, meson, ninja, pkg-config, gnome3, gettext, itstool, libxml2, libarchive
|
{ lib, stdenv, fetchurl, glib, gtk3, meson, ninja, pkg-config, gnome3, gettext, itstool, libxml2, libarchive
|
||||||
, file, json-glib, python3, wrapGAppsHook, desktop-file-utils, libnotify, nautilus, glibcLocales }:
|
, file, json-glib, python3, wrapGAppsHook, desktop-file-utils, libnotify, nautilus, glibcLocales
|
||||||
|
, unzip, cpio }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "file-roller";
|
pname = "file-roller";
|
||||||
version = "3.38.1";
|
version = "3.40.0";
|
||||||
|
|
||||||
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 = "0mxwdbfqizakxq65fa8zlvjf48v5f44lv8ckjw8sl8fk2871784l";
|
sha256 = "039w1dcpa5ypmv6sm634alk9vbcdkyvy595vkh5gn032jsiqca2a";
|
||||||
};
|
};
|
||||||
|
|
||||||
LANG = "en_US.UTF-8"; # postinstall.py
|
LANG = "en_US.UTF-8"; # postinstall.py
|
||||||
|
|
||||||
nativeBuildInputs = [ meson ninja gettext itstool pkg-config libxml2 python3 wrapGAppsHook glibcLocales desktop-file-utils ];
|
nativeBuildInputs = [ meson ninja gettext itstool pkg-config libxml2 python3 wrapGAppsHook glibcLocales desktop-file-utils ];
|
||||||
|
|
||||||
buildInputs = [ glib gtk3 json-glib libarchive file gnome3.adwaita-icon-theme libnotify nautilus ];
|
buildInputs = [ glib gtk3 json-glib libarchive file gnome3.adwaita-icon-theme libnotify nautilus cpio ];
|
||||||
|
|
||||||
PKG_CONFIG_LIBNAUTILUS_EXTENSION_EXTENSIONDIR = "${placeholder "out"}/lib/nautilus/extensions-3.0";
|
PKG_CONFIG_LIBNAUTILUS_EXTENSION_EXTENSIONDIR = "${placeholder "out"}/lib/nautilus/extensions-3.0";
|
||||||
|
|
||||||
|
@ -24,6 +25,12 @@ stdenv.mkDerivation rec {
|
||||||
patchShebangs data/set-mime-type-entry.py
|
patchShebangs data/set-mime-type-entry.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
# Workaround because of https://gitlab.gnome.org/GNOME/file-roller/issues/40
|
||||||
|
wrapProgram "$out/bin/file-roller" \
|
||||||
|
--prefix PATH : ${lib.makeBinPath [ unzip ]}
|
||||||
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
packageName = "file-roller";
|
packageName = "file-roller";
|
||||||
|
|
|
@ -23,11 +23,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gedit";
|
pname = "gedit";
|
||||||
version = "3.38.1";
|
version = "40.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gedit/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/gedit/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "0kc48a399achcz6vlqq0jk0b8ixbrzyv9xb22s5av76m5hyqalq0";
|
sha256 = "149ngl9qw6h59546lir1pa7hvw23ppsnqlj9mfqphmmn5jl99qsm";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
, gdk-pixbuf
|
, gdk-pixbuf
|
||||||
, gsettings-desktop-schemas
|
, gsettings-desktop-schemas
|
||||||
, adwaita-icon-theme
|
, adwaita-icon-theme
|
||||||
, docbook_xsl
|
, docbook-xsl-nons
|
||||||
, docbook_xml_dtd_42
|
, docbook_xml_dtd_42
|
||||||
, desktop-file-utils
|
, desktop-file-utils
|
||||||
, python3
|
, python3
|
||||||
|
@ -28,11 +28,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-books";
|
pname = "gnome-books";
|
||||||
version = "3.34.0";
|
version = "40.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "153vknqisjn5f105avzm933fsc3v0pjzzbwxlqxf8vjjksh1cmya";
|
sha256 = "0c41l8m2di8h39bmk2fnhpwglwp6qhljmwqqbihzp4ay9976zrc5";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
|
||||||
gettext
|
gettext
|
||||||
libxslt
|
libxslt
|
||||||
desktop-file-utils
|
desktop-file-utils
|
||||||
docbook_xsl
|
docbook-xsl-nons
|
||||||
docbook_xml_dtd_42
|
docbook_xml_dtd_42
|
||||||
wrapGAppsHook
|
wrapGAppsHook
|
||||||
python3
|
python3
|
||||||
|
@ -77,7 +77,6 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
broken = true; # Tracker 3 not supported and it cannot start Tracker 2.
|
|
||||||
homepage = "https://wiki.gnome.org/Apps/Books";
|
homepage = "https://wiki.gnome.org/Apps/Books";
|
||||||
description = "An e-book manager application for GNOME";
|
description = "An e-book manager application for GNOME";
|
||||||
maintainers = teams.gnome.members;
|
maintainers = teams.gnome.members;
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
, python3
|
, python3
|
||||||
, appstream-glib
|
, appstream-glib
|
||||||
, spice-protocol
|
, spice-protocol
|
||||||
, libhandy_0
|
, libhandy
|
||||||
, libsoup
|
, libsoup
|
||||||
, libosinfo
|
, libosinfo
|
||||||
, systemd
|
, systemd
|
||||||
|
@ -53,11 +53,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-boxes";
|
pname = "gnome-boxes";
|
||||||
version = "3.38.2";
|
version = "40.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "1zjvng0izbws3506998l3dwsxjbm7wnhqipb8nmqzvi096czvajl";
|
sha256 = "seKPLH+3a/T7uGLQ1S6BG5TL6f8W8GdAiWRWhpCILvg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
@ -99,7 +99,7 @@ stdenv.mkDerivation rec {
|
||||||
libcap
|
libcap
|
||||||
libcap_ng
|
libcap_ng
|
||||||
libgudev
|
libgudev
|
||||||
libhandy_0
|
libhandy
|
||||||
libosinfo
|
libosinfo
|
||||||
librsvg
|
librsvg
|
||||||
libsecret
|
libsecret
|
||||||
|
@ -138,7 +138,7 @@ stdenv.mkDerivation rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Simple GNOME 3 application to access remote or virtual systems";
|
description = "Simple GNOME 3 application to access remote or virtual systems";
|
||||||
homepage = "https://wiki.gnome.org/Apps/Boxes";
|
homepage = "https://wiki.gnome.org/Apps/Boxes";
|
||||||
license = licenses.gpl3;
|
license = licenses.lgpl2Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = teams.gnome.members;
|
maintainers = teams.gnome.members;
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{ lib, stdenv
|
{ lib, stdenv
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, fetchpatch
|
|
||||||
, meson
|
, meson
|
||||||
, ninja
|
, ninja
|
||||||
, pkg-config
|
, pkg-config
|
||||||
|
@ -25,25 +24,17 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-calendar";
|
pname = "gnome-calendar";
|
||||||
version = "3.38.2";
|
version = "40.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "0SG7NLCLbqYB9du6Q6SxYTpuVJP8Cx4uzJDGZnEakS0=";
|
sha256 = "0d74hng9jdmwdcjgj4xfrcink2gwkbp1k1mad4wanaf7q31c6f38";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
# Port to libhandy-1
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://gitlab.gnome.org/GNOME/gnome-calendar/-/commit/8be361b6ce8f0f8053e1609decbdbdc164ec8448.patch";
|
|
||||||
sha256 = "Ue0pWwcbYyCZPHPPoR0dXW5n948/AZ3wVDMTIZDOnyE=";
|
|
||||||
})
|
|
||||||
|
|
||||||
# https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/84
|
# https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/84
|
||||||
(fetchpatch {
|
# A refactor has caused the PR patch to drift enough to need rebasing
|
||||||
url = "https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/84.patch";
|
./gtk_image_reset_crash.patch
|
||||||
sha256 = "czG3uIHl3tBnjDUvCOPm8IRp2o7yZYCb0/jWtv3uzIY=";
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
|
|
@ -0,0 +1,17 @@
|
||||||
|
diff --git a/src/gui/views/gcal-year-view.c b/src/gui/views/gcal-year-view.c
|
||||||
|
index ac32a8f9..532425c1 100644
|
||||||
|
--- a/src/gui/views/gcal-year-view.c
|
||||||
|
+++ b/src/gui/views/gcal-year-view.c
|
||||||
|
@@ -2158,7 +2158,11 @@ update_weather (GcalYearView *self)
|
||||||
|
if (!updated)
|
||||||
|
{
|
||||||
|
gtk_label_set_text (self->temp_label, "");
|
||||||
|
- gtk_image_clear (self->weather_icon);
|
||||||
|
+ /* FIXME: This should never be NULL, but it somehow is.
|
||||||
|
+ * https://gitlab.gnome.org/GNOME/gnome-calendar/issues/299
|
||||||
|
+ */
|
||||||
|
+ if (self->weather_icon != NULL)
|
||||||
|
+ gtk_image_clear (self->weather_icon);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{ lib, stdenv
|
{ lib
|
||||||
|
, stdenv
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, meson
|
, meson
|
||||||
, ninja
|
, ninja
|
||||||
|
@ -13,6 +14,7 @@
|
||||||
, gobject-introspection
|
, gobject-introspection
|
||||||
, gjs
|
, gjs
|
||||||
, libunistring
|
, libunistring
|
||||||
|
, libhandy
|
||||||
, gsettings-desktop-schemas
|
, gsettings-desktop-schemas
|
||||||
, adwaita-icon-theme
|
, adwaita-icon-theme
|
||||||
, gnome-desktop
|
, gnome-desktop
|
||||||
|
@ -20,11 +22,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-characters";
|
pname = "gnome-characters";
|
||||||
version = "3.34.0";
|
version = "40.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gnome-characters/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/gnome-characters/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "0mqaxsa7hcmvid3zbzvxpfkp7s01ghiq6kaibmd3169axrr8ahql";
|
sha256 = "0z2xa4w921bzpzj6gv88pvbrijcnnwni6jxynwz0ybaravyzaqha";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -46,6 +48,7 @@ stdenv.mkDerivation rec {
|
||||||
gsettings-desktop-schemas
|
gsettings-desktop-schemas
|
||||||
gtk3
|
gtk3
|
||||||
libunistring
|
libunistring
|
||||||
|
libhandy
|
||||||
pango
|
pango
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -76,10 +79,10 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://wiki.gnome.org/Design/Apps/CharacterMap";
|
homepage = "https://wiki.gnome.org/Apps/Characters";
|
||||||
description = "Simple utility application to find and insert unusual characters";
|
description = "Simple utility application to find and insert unusual characters";
|
||||||
maintainers = teams.gnome.members;
|
maintainers = teams.gnome.members;
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,11 +27,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-clocks";
|
pname = "gnome-clocks";
|
||||||
version = "3.38.0";
|
version = "40.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gnome-clocks/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/gnome-clocks/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "0f24g76ax59qnms1rjfyf1i0sa84nadgbr0r6m26p90w1w2wnmnr";
|
sha256 = "02d3jg46sn8d9gd4dsaly22gg5vkbz2gpq4pmwpvncb4rsqk7sn2";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -1,25 +0,0 @@
|
||||||
{ lib, stdenv, fetchurl, gnome3, intltool, itstool, libxml2 }:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
pname = "gnome-getting-started-docs";
|
|
||||||
version = "3.38.1";
|
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = "mirror://gnome/sources/gnome-getting-started-docs/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
||||||
sha256 = "EPviPyw85CdTmk4wekYWlNOHCyMgBGT3BbfYGvmTyFk=";
|
|
||||||
};
|
|
||||||
|
|
||||||
passthru = {
|
|
||||||
updateScript = gnome3.updateScript { packageName = "gnome-getting-started-docs"; attrPath = "gnome3.gnome-getting-started-docs"; };
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = [ intltool itstool libxml2 ];
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
homepage = "https://live.gnome.org/DocumentationProject";
|
|
||||||
description = "Help a new user get started in GNOME";
|
|
||||||
maintainers = teams.gnome.members;
|
|
||||||
license = licenses.cc-by-sa-30;
|
|
||||||
platforms = platforms.linux;
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -29,11 +29,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-maps";
|
pname = "gnome-maps";
|
||||||
version = "3.38.4";
|
version = "40.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "sha256-1WQekf/kePsqqcpIliJczxjsLqTZjjV2UXmBin2+RKM=";
|
sha256 = "sha256-mAXUwFs6NpV0bTdisoFr/+bZ19VuF7y7nZ1B3C0CYxo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
@ -82,6 +82,11 @@ stdenv.mkDerivation rec {
|
||||||
"Exec=$out/bin/gnome-maps"
|
"Exec=$out/bin/gnome-maps"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
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"
|
||||||
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
packageName = pname;
|
packageName = pname;
|
||||||
|
|
|
@ -30,13 +30,13 @@
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "gnome-music";
|
pname = "gnome-music";
|
||||||
version = "3.38.2";
|
version = "40.0";
|
||||||
|
|
||||||
format = "other";
|
format = "other";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "0c2051wngf3jrifl5bv5kyqcci459n62vixxkryiryjcaqwbd1am";
|
sha256 = "1djqhd4jccvk352hwxjhiwjgbnv1qnpv450f2c6w6581vcn9pq38";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -12,10 +12,11 @@
|
||||||
, gtk3
|
, gtk3
|
||||||
, evolution-data-server
|
, evolution-data-server
|
||||||
, gnome-online-accounts
|
, gnome-online-accounts
|
||||||
|
, json-glib
|
||||||
, libuuid
|
, libuuid
|
||||||
, libhandy_0
|
, curl
|
||||||
|
, libhandy
|
||||||
, webkitgtk
|
, webkitgtk
|
||||||
, zeitgeist
|
|
||||||
, gnome3
|
, gnome3
|
||||||
, libxml2
|
, libxml2
|
||||||
, gsettings-desktop-schemas
|
, gsettings-desktop-schemas
|
||||||
|
@ -24,11 +25,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-notes";
|
pname = "gnome-notes";
|
||||||
version = "3.38.0";
|
version = "40.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/bijiben/${lib.versions.majorMinor version}/bijiben-${version}.tar.xz";
|
url = "mirror://gnome/sources/bijiben/${lib.versions.major version}/bijiben-${version}.tar.xz";
|
||||||
sha256 = "H/bMCsbGKQe/KgmhchXt0vF7dNrKs6XIminDBJFyvis=";
|
sha256 = "1gvvb2klkzbmyzwkjgmscdiqcl8lyz9b0rxb4igjz079csq6z805";
|
||||||
};
|
};
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
@ -53,19 +54,19 @@ stdenv.mkDerivation rec {
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
glib
|
glib
|
||||||
gtk3
|
gtk3
|
||||||
|
json-glib
|
||||||
libuuid
|
libuuid
|
||||||
libhandy_0 # doesn't support libhandy-1 yet
|
curl
|
||||||
|
libhandy
|
||||||
webkitgtk
|
webkitgtk
|
||||||
tracker
|
tracker
|
||||||
gnome-online-accounts
|
gnome-online-accounts
|
||||||
zeitgeist
|
|
||||||
gsettings-desktop-schemas
|
gsettings-desktop-schemas
|
||||||
evolution-data-server
|
evolution-data-server
|
||||||
gnome3.adwaita-icon-theme
|
gnome3.adwaita-icon-theme
|
||||||
];
|
];
|
||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
"-Dzeitgeist=true"
|
|
||||||
"-Dupdate_mimedb=false"
|
"-Dupdate_mimedb=false"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -19,11 +19,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-sound-recorder";
|
pname = "gnome-sound-recorder";
|
||||||
version = "3.38.1";
|
version = "40.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "2Z6k+WPsEInpzVl6fUQ5ihHs7xMeQUInGhyQwVuqRSE=";
|
sha256 = "00b55vsfzx877b7mj744abzjws7zclz71wbvh0axsrbl9l84ranl";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -1,19 +1,49 @@
|
||||||
{ lib, stdenv, fetchurl, pkg-config, gnome3, gtk3, wrapGAppsHook, gjs, gobject-introspection
|
{ lib
|
||||||
, libgweather, meson, ninja, geoclue2, gnome-desktop, python3, gsettings-desktop-schemas }:
|
, stdenv
|
||||||
|
, fetchurl
|
||||||
|
, pkg-config
|
||||||
|
, gnome3
|
||||||
|
, gtk3
|
||||||
|
, libhandy
|
||||||
|
, wrapGAppsHook
|
||||||
|
, gjs
|
||||||
|
, gobject-introspection
|
||||||
|
, libgweather
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, geoclue2
|
||||||
|
, gnome-desktop
|
||||||
|
, python3
|
||||||
|
, gsettings-desktop-schemas
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-weather";
|
pname = "gnome-weather";
|
||||||
version = "3.36.1";
|
version = "40.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gnome-weather/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/gnome-weather/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "11z75ky6xp9hx7lm24xng7ydr20bzh4d6p9sbi9c8ccz2m3fdrk8";
|
sha256 = "1vxfcvga5waangq3rzwdrdxyy5sw40vv0l463lc651s0n8xafd9a";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config meson ninja wrapGAppsHook python3 ];
|
nativeBuildInputs = [
|
||||||
|
pkg-config
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
wrapGAppsHook
|
||||||
|
python3
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
gtk3 gjs gobject-introspection gnome-desktop
|
gtk3
|
||||||
libgweather gnome3.adwaita-icon-theme geoclue2 gsettings-desktop-schemas
|
libhandy
|
||||||
|
gjs
|
||||||
|
gobject-introspection
|
||||||
|
gnome-desktop
|
||||||
|
libgweather
|
||||||
|
gnome3.adwaita-icon-theme
|
||||||
|
geoclue2
|
||||||
|
gsettings-desktop-schemas
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|
|
@ -26,11 +26,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "seahorse";
|
pname = "seahorse";
|
||||||
version = "3.38.0.1";
|
version = "40.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
hash = "sha256-x0XdHebhog8ZorB6Q4uO98yiNaaqc0ENt/E3sCHpsqI=";
|
hash = "sha256-fscFezhousbqBB/aghQKOfXsnlsYi0UJFNRTvC1V0Cw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "adwaita-icon-theme";
|
pname = "adwaita-icon-theme";
|
||||||
version = "3.38.0";
|
version = "40.1.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/adwaita-icon-theme/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/adwaita-icon-theme/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "15xgz9wzk07442x3s3052as95g0223z4pp9qlsgcs323yama30v6";
|
sha256 = "C2xDbtatmIeoitofcqAZex63OwINjTRKurTH+nJQ+PY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# For convenience, we can specify adwaita-icon-theme only in packages
|
# For convenience, we can specify adwaita-icon-theme only in packages
|
||||||
|
|
|
@ -1,20 +1,50 @@
|
||||||
{ lib, stdenv, gettext, fetchurl, vala, desktop-file-utils
|
{ stdenv
|
||||||
, meson, ninja, pkg-config, python3, gtk3, glib, libxml2
|
, lib
|
||||||
, wrapGAppsHook, itstool, gnome3 }:
|
, gettext
|
||||||
|
, fetchurl
|
||||||
|
, vala
|
||||||
|
, desktop-file-utils
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, pkg-config
|
||||||
|
, python3
|
||||||
|
, gtk3
|
||||||
|
, libhandy
|
||||||
|
, glib
|
||||||
|
, libxml2
|
||||||
|
, wrapGAppsHook
|
||||||
|
, itstool
|
||||||
|
, gnome3
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
pname = "baobab";
|
pname = "baobab";
|
||||||
version = "3.38.0";
|
version = "40.0";
|
||||||
in stdenv.mkDerivation rec {
|
|
||||||
name = "${pname}-${version}";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "0ac3fbl15l836yvgw724q4whbkws9v4b6l2xy6bnp0b0g0a6i104";
|
sha256 = "19yii3bdgivxrcka1c4g6dpbmql5nyawwhzlsph7z6bs68nambm6";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ meson ninja pkg-config vala gettext itstool libxml2 desktop-file-utils wrapGAppsHook python3 ];
|
nativeBuildInputs = [
|
||||||
buildInputs = [ gtk3 glib gnome3.adwaita-icon-theme ];
|
meson
|
||||||
|
ninja
|
||||||
|
pkg-config
|
||||||
|
vala
|
||||||
|
gettext
|
||||||
|
itstool
|
||||||
|
libxml2
|
||||||
|
desktop-file-utils
|
||||||
|
wrapGAppsHook
|
||||||
|
python3
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
gtk3
|
||||||
|
libhandy
|
||||||
|
glib
|
||||||
|
gnome3.adwaita-icon-theme
|
||||||
|
];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
@ -27,7 +57,7 @@ in stdenv.mkDerivation rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Graphical application to analyse disk usage in any GNOME environment";
|
description = "Graphical application to analyse disk usage in any GNOME environment";
|
||||||
homepage = "https://wiki.gnome.org/Apps/DiskUsageAnalyzer";
|
homepage = "https://wiki.gnome.org/Apps/DiskUsageAnalyzer";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2Plus;
|
||||||
maintainers = teams.gnome.members;
|
maintainers = teams.gnome.members;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,21 +1,51 @@
|
||||||
{ lib, stdenv, fetchurl, meson, ninja, vala, libxslt, pkg-config, glib, gtk3, gnome3, python3, dconf
|
{ lib
|
||||||
, libxml2, gettext, docbook_xsl, wrapGAppsHook, gobject-introspection }:
|
, stdenv
|
||||||
|
, fetchurl
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, vala
|
||||||
|
, libxslt
|
||||||
|
, pkg-config
|
||||||
|
, glib
|
||||||
|
, gtk3
|
||||||
|
, gnome3
|
||||||
|
, python3
|
||||||
|
, dconf
|
||||||
|
, libxml2
|
||||||
|
, gettext
|
||||||
|
, docbook-xsl-nons
|
||||||
|
, wrapGAppsHook
|
||||||
|
, gobject-introspection
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "dconf-editor";
|
pname = "dconf-editor";
|
||||||
version = "3.38.2";
|
version = "3.38.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "sha256-ElPa2H5iE/vzE/+eydxDWKobECYfKAcsHcDgmXuS+DU=";
|
sha256 = "sha256-Vxr0x9rU8Em1PmzXKLea3fCMJ92ra8V7OW0hGGbueeM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
meson ninja vala libxslt pkg-config wrapGAppsHook
|
meson
|
||||||
gettext docbook_xsl libxml2 gobject-introspection python3
|
ninja
|
||||||
|
vala
|
||||||
|
libxslt
|
||||||
|
pkg-config
|
||||||
|
wrapGAppsHook
|
||||||
|
gettext
|
||||||
|
docbook-xsl-nons
|
||||||
|
libxml2
|
||||||
|
gobject-introspection
|
||||||
|
python3
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [ glib gtk3 dconf ];
|
buildInputs = [
|
||||||
|
glib
|
||||||
|
gtk3
|
||||||
|
dconf
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
chmod +x meson_post_install.py
|
chmod +x meson_post_install.py
|
||||||
|
@ -30,7 +60,10 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
platforms = platforms.linux;
|
description = "GSettings editor for GNOME";
|
||||||
|
homepage = "https://wiki.gnome.org/Apps/DconfEditor";
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
maintainers = teams.gnome.members;
|
maintainers = teams.gnome.members;
|
||||||
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,11 +28,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "eog";
|
pname = "eog";
|
||||||
version = "3.38.2";
|
version = "40.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "sha256-ilT9+T4wag9khToYgxrIwEg4IEdxBqrgvcAKrDc4bw4=";
|
sha256 = "sha256-e+CGA3/tm2v4S6yXqD48kYMBt+nJavEwsnJS0KURFok=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
, libsecret
|
, libsecret
|
||||||
, gnome-desktop
|
, gnome-desktop
|
||||||
, libnotify
|
, libnotify
|
||||||
|
, libarchive
|
||||||
, p11-kit
|
, p11-kit
|
||||||
, sqlite
|
, sqlite
|
||||||
, gcr
|
, gcr
|
||||||
|
@ -36,18 +37,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "epiphany";
|
pname = "epiphany";
|
||||||
version = "3.38.2";
|
version = "40.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "0v8iymg72m83ikxxyhapvz5v8zh8hlr1pw7n215cy3p8q6yg41cb";
|
sha256 = "1l0sb1xg16g4wg3z99xb0w2kbyczbn7q4mphs3w4lxq22xml4sk9";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Tests need an X display
|
|
||||||
mesonFlags = [
|
|
||||||
"-Dunit_tests=disabled"
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
desktop-file-utils
|
desktop-file-utils
|
||||||
gettext
|
gettext
|
||||||
|
@ -83,6 +79,7 @@ stdenv.mkDerivation rec {
|
||||||
libhandy
|
libhandy
|
||||||
libportal
|
libportal
|
||||||
libnotify
|
libnotify
|
||||||
|
libarchive
|
||||||
libsecret
|
libsecret
|
||||||
libsoup
|
libsoup
|
||||||
libxml2
|
libxml2
|
||||||
|
@ -92,6 +89,11 @@ stdenv.mkDerivation rec {
|
||||||
webkitgtk
|
webkitgtk
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Tests need an X display
|
||||||
|
mesonFlags = [
|
||||||
|
"-Dunit_tests=disabled"
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
chmod +x post_install.py # patchShebangs requires executable file
|
chmod +x post_install.py # patchShebangs requires executable file
|
||||||
patchShebangs post_install.py
|
patchShebangs post_install.py
|
||||||
|
@ -107,7 +109,7 @@ stdenv.mkDerivation rec {
|
||||||
homepage = "https://wiki.gnome.org/Apps/Epiphany";
|
homepage = "https://wiki.gnome.org/Apps/Epiphany";
|
||||||
description = "WebKit based web browser for GNOME";
|
description = "WebKit based web browser for GNOME";
|
||||||
maintainers = teams.gnome.members;
|
maintainers = teams.gnome.members;
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl3Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
, djvulibre
|
, djvulibre
|
||||||
, libspectre
|
, libspectre
|
||||||
, libarchive
|
, libarchive
|
||||||
|
, libhandy
|
||||||
, libsecret
|
, libsecret
|
||||||
, wrapGAppsHook
|
, wrapGAppsHook
|
||||||
, librsvg
|
, librsvg
|
||||||
|
@ -43,13 +44,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "evince";
|
pname = "evince";
|
||||||
version = "3.38.2";
|
version = "40.1";
|
||||||
|
|
||||||
outputs = [ "out" "dev" "devdoc" ];
|
outputs = [ "out" "dev" "devdoc" ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/evince/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/evince/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "J9QZ1f7WMF4HRijtz94MtzT//aIF1jysMjORwEkDvZQ=";
|
sha256 = "0bfg7prmjk3z8irx1nfkkqph3igg3cy4pwd7pcxjxbshqdin6rks";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -86,6 +87,7 @@ stdenv.mkDerivation rec {
|
||||||
gspell
|
gspell
|
||||||
gtk3
|
gtk3
|
||||||
libarchive
|
libarchive
|
||||||
|
libhandy
|
||||||
librsvg
|
librsvg
|
||||||
libsecret
|
libsecret
|
||||||
libspectre
|
libspectre
|
||||||
|
|
|
@ -6,13 +6,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "evolution-data-server";
|
pname = "evolution-data-server";
|
||||||
version = "3.38.4";
|
version = "3.40.1";
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/evolution-data-server/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/evolution-data-server/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "rFPxay1R8+f/gCX5yhn0otTOOEHXKun+K7iX3ICZ1wU=";
|
sha256 = "08iykha7zhk21b3axsp3v1jfwda612v0m8rz8zlzppm5i8s5ziza";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -52,6 +52,7 @@ stdenv.mkDerivation rec {
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
packageName = "evolution-data-server";
|
packageName = "evolution-data-server";
|
||||||
|
versionPolicy = "odd-unstable";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -42,13 +42,13 @@ in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gdm";
|
pname = "gdm";
|
||||||
version = "3.38.2.1";
|
version = "40.0";
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gdm/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/gdm/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "yliiBdXr/L2rVqEXFriY4Wrl3/Ia7nnQdgRkRGKOxNo=";
|
sha256 = "XtdLc506Iy/7HkoTK8+WW9/pVdmVtSh3NYh3WwLylQ4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
|
@ -90,10 +90,13 @@ stdenv.mkDerivation rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
# https://gitlab.gnome.org/GNOME/gdm/-/merge_requests/112
|
# GDM fails to find g-s with the following error in the journal.
|
||||||
|
# gdm-x-session[976]: dbus-run-session: failed to exec 'gnome-session': No such file or directory
|
||||||
|
# https://gitlab.gnome.org/GNOME/gdm/-/merge_requests/92
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
url = "https://gitlab.gnome.org/GNOME/gdm/-/commit/1d28d4b3568381b8590d2235737b924aefd1746c.patch";
|
url = "https://gitlab.gnome.org/GNOME/gdm/-/commit/ccecd9c975d04da80db4cd547b67a1a94fa83292.patch";
|
||||||
sha256 = "ZUXKZS4T0o0hzrApxaqcR0txCRv5zBgqeQ9K9fLNX1o=";
|
sha256 = "5hKS9wjjhuSAYwXct5vS0dPbmPRIINJoLC0Zm1naz6Q=";
|
||||||
|
revert = true;
|
||||||
})
|
})
|
||||||
|
|
||||||
# Change hardcoded paths to nix store paths.
|
# Change hardcoded paths to nix store paths.
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-backgrounds";
|
pname = "gnome-backgrounds";
|
||||||
version = "3.38.0";
|
version = "40.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gnome-backgrounds/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/gnome-backgrounds/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "1qqygm15rcdgm36vz2iy7b9axndjzvpi29lmygyakjc07a3jlwgp";
|
sha256 = "YN+KDaMBzkJbcEPUKuMuxAEf8I8Y4Pxi8pQBMF2jpw4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
|
|
@ -1,28 +1,62 @@
|
||||||
{ lib, stdenv, fetchurl, gnome3, meson, ninja, pkg-config, gtk3, intltool, glib
|
{ lib
|
||||||
, udev, itstool, libxml2, wrapGAppsHook, libnotify, libcanberra-gtk3, gobject-introspection
|
, stdenv
|
||||||
, gtk-doc, docbook_xsl, docbook_xml_dtd_43, python3, gsettings-desktop-schemas }:
|
, fetchurl
|
||||||
|
, gnome3
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, pkg-config
|
||||||
|
, gtk3
|
||||||
|
, gettext
|
||||||
|
, glib
|
||||||
|
, udev
|
||||||
|
, itstool
|
||||||
|
, libxml2
|
||||||
|
, wrapGAppsHook
|
||||||
|
, libnotify
|
||||||
|
, libcanberra-gtk3
|
||||||
|
, gobject-introspection
|
||||||
|
, gtk-doc
|
||||||
|
, docbook-xsl-nons
|
||||||
|
, docbook_xml_dtd_43
|
||||||
|
, python3
|
||||||
|
, gsettings-desktop-schemas
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-bluetooth";
|
pname = "gnome-bluetooth";
|
||||||
in stdenv.mkDerivation rec {
|
version = "3.34.5";
|
||||||
name = "${pname}-${version}";
|
|
||||||
version = "3.34.3";
|
|
||||||
|
|
||||||
# TODO: split out "lib"
|
# TODO: split out "lib"
|
||||||
outputs = [ "out" "dev" "devdoc" "man" ];
|
outputs = [ "out" "dev" "devdoc" "man" ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "08k4jak4r72pvn5kjhm21planyc514j6c7jjj5lv9nmvvlxqw1ha";
|
sha256 = "1a9ynlwwkb3wpg293ym517vmrkk63y809mmcv9a21k5yr199x53c";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
meson ninja intltool itstool pkg-config libxml2 wrapGAppsHook gobject-introspection
|
meson
|
||||||
gtk-doc docbook_xsl docbook_xml_dtd_43 python3
|
ninja
|
||||||
|
gettext
|
||||||
|
itstool
|
||||||
|
pkg-config
|
||||||
|
libxml2
|
||||||
|
wrapGAppsHook
|
||||||
|
gobject-introspection
|
||||||
|
gtk-doc
|
||||||
|
docbook-xsl-nons
|
||||||
|
docbook_xml_dtd_43
|
||||||
|
python3
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
glib gtk3 udev libnotify libcanberra-gtk3
|
glib
|
||||||
gnome3.adwaita-icon-theme gsettings-desktop-schemas
|
gtk3
|
||||||
|
udev
|
||||||
|
libnotify
|
||||||
|
libcanberra-gtk3
|
||||||
|
gnome3.adwaita-icon-theme
|
||||||
|
gsettings-desktop-schemas
|
||||||
];
|
];
|
||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
|
@ -46,7 +80,7 @@ in stdenv.mkDerivation rec {
|
||||||
homepage = "https://help.gnome.org/users/gnome-bluetooth/stable/index.html.en";
|
homepage = "https://help.gnome.org/users/gnome-bluetooth/stable/index.html.en";
|
||||||
description = "Application that let you manage Bluetooth in the GNOME destkop";
|
description = "Application that let you manage Bluetooth in the GNOME destkop";
|
||||||
maintainers = teams.gnome.members;
|
maintainers = teams.gnome.members;
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,25 +1,63 @@
|
||||||
{ lib, stdenv, meson, ninja, vala, gettext, itstool, fetchurl, pkg-config, libxml2
|
{ stdenv
|
||||||
, gtk3, glib, gtksourceview4, wrapGAppsHook, gobject-introspection, python3
|
, lib
|
||||||
, gnome3, mpfr, gmp, libsoup, libmpc, gsettings-desktop-schemas, libgee }:
|
, meson
|
||||||
|
, ninja
|
||||||
|
, vala
|
||||||
|
, gettext
|
||||||
|
, itstool
|
||||||
|
, fetchurl
|
||||||
|
, pkg-config
|
||||||
|
, libxml2
|
||||||
|
, gtk3
|
||||||
|
, glib
|
||||||
|
, gtksourceview4
|
||||||
|
, wrapGAppsHook
|
||||||
|
, gobject-introspection
|
||||||
|
, python3
|
||||||
|
, gnome3
|
||||||
|
, mpfr
|
||||||
|
, gmp
|
||||||
|
, libsoup
|
||||||
|
, libmpc
|
||||||
|
, libhandy
|
||||||
|
, gsettings-desktop-schemas
|
||||||
|
, libgee
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-calculator";
|
pname = "gnome-calculator";
|
||||||
version = "3.38.2";
|
version = "40.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gnome-calculator/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/gnome-calculator/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "0sri58cp6v07cqpdsf8dhf9dnykz305kvkx0l9dd25g06djcr0wc";
|
sha256 = "1xkazxbkpn1z5pfphhps7fc5q4yc8lp7f6b222n8bx5iyxhwbrkz";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
meson ninja pkg-config vala gettext itstool wrapGAppsHook python3
|
meson
|
||||||
|
ninja
|
||||||
|
pkg-config
|
||||||
|
vala
|
||||||
|
gettext
|
||||||
|
itstool
|
||||||
|
wrapGAppsHook
|
||||||
|
python3
|
||||||
gobject-introspection # for finding vapi files
|
gobject-introspection # for finding vapi files
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
gtk3 glib libxml2 gtksourceview4 mpfr gmp
|
gtk3
|
||||||
gnome3.adwaita-icon-theme libgee
|
glib
|
||||||
gsettings-desktop-schemas libsoup libmpc
|
libxml2
|
||||||
|
gtksourceview4
|
||||||
|
mpfr
|
||||||
|
gmp
|
||||||
|
gnome3.adwaita-icon-theme
|
||||||
|
libgee
|
||||||
|
gsettings-desktop-schemas
|
||||||
|
libsoup
|
||||||
|
libmpc
|
||||||
|
libhandy
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
@ -29,6 +67,11 @@ stdenv.mkDerivation rec {
|
||||||
patchShebangs meson_post_install.py
|
patchShebangs meson_post_install.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
preCheck = ''
|
||||||
|
# Currency conversion test tries to store currency data in $HOME/.cache.
|
||||||
|
export HOME=$TMPDIR
|
||||||
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
packageName = "gnome-calculator";
|
packageName = "gnome-calculator";
|
||||||
|
@ -40,7 +83,7 @@ stdenv.mkDerivation rec {
|
||||||
homepage = "https://wiki.gnome.org/Apps/Calculator";
|
homepage = "https://wiki.gnome.org/Apps/Calculator";
|
||||||
description = "Application that solves mathematical equations and is suitable as a default application in a Desktop environment";
|
description = "Application that solves mathematical equations and is suitable as a default application in a Desktop environment";
|
||||||
maintainers = teams.gnome.members;
|
maintainers = teams.gnome.members;
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
, gnome-online-accounts
|
, gnome-online-accounts
|
||||||
, wrapGAppsHook
|
, wrapGAppsHook
|
||||||
, folks
|
, folks
|
||||||
|
, libgdata
|
||||||
, libxml2
|
, libxml2
|
||||||
, gnome3
|
, gnome3
|
||||||
, vala
|
, vala
|
||||||
|
@ -28,11 +29,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-contacts";
|
pname = "gnome-contacts";
|
||||||
version = "3.38.1";
|
version = "40.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gnome-contacts/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/gnome-contacts/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "0hsq0dwxjahcaxnm1m4r1lync9k2fkwzybfmkchrmn95vqcwwvf9";
|
sha256 = "0w2g5xhw65adzvwzakrj5kaim4sw1w7s8qqwm3nm6inq50znzpn9";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedUserEnvPkgs = [
|
propagatedUserEnvPkgs = [
|
||||||
|
@ -58,6 +59,7 @@ stdenv.mkDerivation rec {
|
||||||
evolution-data-server
|
evolution-data-server
|
||||||
gsettings-desktop-schemas
|
gsettings-desktop-schemas
|
||||||
folks
|
folks
|
||||||
|
libgdata # required by some dependency transitively
|
||||||
gnome-desktop
|
gnome-desktop
|
||||||
libhandy
|
libhandy
|
||||||
libxml2
|
libxml2
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{ fetchurl
|
{ fetchurl
|
||||||
, fetchFromGitLab
|
, fetchpatch
|
||||||
, lib, stdenv
|
, lib
|
||||||
|
, stdenv
|
||||||
, substituteAll
|
, substituteAll
|
||||||
, accountsservice
|
, accountsservice
|
||||||
, adwaita-icon-theme
|
, adwaita-icon-theme
|
||||||
|
@ -10,7 +11,7 @@
|
||||||
, colord
|
, colord
|
||||||
, colord-gtk
|
, colord-gtk
|
||||||
, cups
|
, cups
|
||||||
, docbook_xsl
|
, docbook-xsl-nons
|
||||||
, fontconfig
|
, fontconfig
|
||||||
, gdk-pixbuf
|
, gdk-pixbuf
|
||||||
, gettext
|
, gettext
|
||||||
|
@ -69,20 +70,32 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-control-center";
|
pname = "gnome-control-center";
|
||||||
version = "3.38.4";
|
version = "40.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "sha256-SdxjeNTTXBxu1ZIk9WNpFsK2+km7+4tW6xmoTW6QzRk=";
|
sha256 = "sha256-zMmlc2UXOFEJrlpZkGwlgkTdh5t1A61ZhM9BZVyzAvE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# See https://mail.gnome.org/archives/distributor-list/2020-September/msg00001.html
|
patches = [
|
||||||
prePatch = (import ../gvc-with-ucm-prePatch.nix {
|
(substituteAll {
|
||||||
inherit fetchFromGitLab;
|
src = ./paths.patch;
|
||||||
});
|
gcm = gnome-color-manager;
|
||||||
|
gnome_desktop = gnome-desktop;
|
||||||
|
inherit glibc libgnomekbd tzdata;
|
||||||
|
inherit cups networkmanagerapplet;
|
||||||
|
})
|
||||||
|
|
||||||
|
# Fix startup assertion in power panel.
|
||||||
|
# https://gitlab.gnome.org/GNOME/gnome-control-center/merge_requests/974
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://gitlab.gnome.org/GNOME/gnome-control-center/commit/9acaa10567c94048657c69538e5d7813f82c4224.patch";
|
||||||
|
sha256 = "59GeTPcG2UiVTL4VTS/TP0p0QkAQpm3VgvuAiw64wUU=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
docbook_xsl
|
docbook-xsl-nons
|
||||||
gettext
|
gettext
|
||||||
libxslt
|
libxslt
|
||||||
meson
|
meson
|
||||||
|
@ -142,16 +155,6 @@ stdenv.mkDerivation rec {
|
||||||
upower
|
upower
|
||||||
];
|
];
|
||||||
|
|
||||||
patches = [
|
|
||||||
(substituteAll {
|
|
||||||
src = ./paths.patch;
|
|
||||||
gcm = gnome-color-manager;
|
|
||||||
gnome_desktop = gnome-desktop;
|
|
||||||
inherit glibc libgnomekbd tzdata;
|
|
||||||
inherit cups networkmanagerapplet;
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
chmod +x build-aux/meson/meson_post_install.py # patchShebangs requires executable file
|
chmod +x build-aux/meson/meson_post_install.py # patchShebangs requires executable file
|
||||||
patchShebangs build-aux/meson/meson_post_install.py
|
patchShebangs build-aux/meson/meson_post_install.py
|
||||||
|
|
|
@ -1,26 +1,26 @@
|
||||||
diff --git a/panels/color/cc-color-panel.c b/panels/color/cc-color-panel.c
|
diff --git a/panels/color/cc-color-panel.c b/panels/color/cc-color-panel.c
|
||||||
index 49ca35220..adefb87b9 100644
|
index 603178efc..c363a6a5c 100644
|
||||||
--- a/panels/color/cc-color-panel.c
|
--- a/panels/color/cc-color-panel.c
|
||||||
+++ b/panels/color/cc-color-panel.c
|
+++ b/panels/color/cc-color-panel.c
|
||||||
@@ -599,7 +599,7 @@ gcm_prefs_calibrate_cb (GtkWidget *widget, CcColorPanel *prefs)
|
@@ -591,7 +591,7 @@ gcm_prefs_calibrate_cb (CcColorPanel *prefs)
|
||||||
|
|
||||||
/* run with modal set */
|
/* run with modal set */
|
||||||
argv = g_ptr_array_new_with_free_func (g_free);
|
argv = g_ptr_array_new_with_free_func (g_free);
|
||||||
- g_ptr_array_add (argv, g_build_filename (BINDIR, "gcm-calibrate", NULL));
|
- g_ptr_array_add (argv, g_strdup ("gcm-calibrate"));
|
||||||
+ g_ptr_array_add (argv, g_build_filename ("@gcm@", "bin", "gcm-calibrate", NULL));
|
+ g_ptr_array_add (argv, g_build_filename ("@gcm@", "bin", "gcm-calibrate", NULL));
|
||||||
g_ptr_array_add (argv, g_strdup ("--device"));
|
g_ptr_array_add (argv, g_strdup ("--device"));
|
||||||
g_ptr_array_add (argv, g_strdup (cd_device_get_id (prefs->current_device)));
|
g_ptr_array_add (argv, g_strdup (cd_device_get_id (prefs->current_device)));
|
||||||
g_ptr_array_add (argv, g_strdup ("--parent-window"));
|
g_ptr_array_add (argv, g_strdup ("--parent-window"));
|
||||||
@@ -1038,7 +1038,7 @@ gcm_prefs_profile_view (CcColorPanel *prefs, CdProfile *profile)
|
@@ -1029,7 +1029,7 @@ gcm_prefs_profile_view (CcColorPanel *prefs, CdProfile *profile)
|
||||||
|
|
||||||
/* open up gcm-viewer as a info pane */
|
/* open up gcm-viewer as a info pane */
|
||||||
argv = g_ptr_array_new_with_free_func (g_free);
|
argv = g_ptr_array_new_with_free_func (g_free);
|
||||||
- g_ptr_array_add (argv, g_build_filename (BINDIR, "gcm-viewer", NULL));
|
- g_ptr_array_add (argv, g_strdup ("gcm-viewer"));
|
||||||
+ g_ptr_array_add (argv, g_build_filename ("@gcm@", "bin", "gcm-viewer", NULL));
|
+ g_ptr_array_add (argv, g_build_filename ("@gcm@", "bin", "gcm-viewer", NULL));
|
||||||
g_ptr_array_add (argv, g_strdup ("--profile"));
|
g_ptr_array_add (argv, g_strdup ("--profile"));
|
||||||
g_ptr_array_add (argv, g_strdup (cd_profile_get_id (profile)));
|
g_ptr_array_add (argv, g_strdup (cd_profile_get_id (profile)));
|
||||||
g_ptr_array_add (argv, g_strdup ("--parent-window"));
|
g_ptr_array_add (argv, g_strdup ("--parent-window"));
|
||||||
@@ -1288,15 +1288,12 @@ gcm_prefs_device_clicked (CcColorPanel *prefs, CdDevice *device)
|
@@ -1275,15 +1275,12 @@ gcm_prefs_device_clicked (CcColorPanel *prefs, CdDevice *device)
|
||||||
static void
|
static void
|
||||||
gcm_prefs_profile_clicked (CcColorPanel *prefs, CdProfile *profile, CdDevice *device)
|
gcm_prefs_profile_clicked (CcColorPanel *prefs, CdProfile *profile, CdDevice *device)
|
||||||
{
|
{
|
||||||
|
@ -38,12 +38,12 @@ index 49ca35220..adefb87b9 100644
|
||||||
else
|
else
|
||||||
gtk_widget_set_sensitive (prefs->toolbutton_profile_view, FALSE);
|
gtk_widget_set_sensitive (prefs->toolbutton_profile_view, FALSE);
|
||||||
diff --git a/panels/datetime/tz.h b/panels/datetime/tz.h
|
diff --git a/panels/datetime/tz.h b/panels/datetime/tz.h
|
||||||
index 96b25140c..1ad704d4a 100644
|
index a2376f8a4..98769e08f 100644
|
||||||
--- a/panels/datetime/tz.h
|
--- a/panels/datetime/tz.h
|
||||||
+++ b/panels/datetime/tz.h
|
+++ b/panels/datetime/tz.h
|
||||||
@@ -27,11 +27,7 @@
|
@@ -27,11 +27,7 @@
|
||||||
|
|
||||||
#include <glib.h>
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
-#ifndef __sun
|
-#ifndef __sun
|
||||||
-# define TZ_DATA_FILE "/usr/share/zoneinfo/zone.tab"
|
-# define TZ_DATA_FILE "/usr/share/zoneinfo/zone.tab"
|
||||||
|
@ -55,25 +55,42 @@ index 96b25140c..1ad704d4a 100644
|
||||||
typedef struct _TzDB TzDB;
|
typedef struct _TzDB TzDB;
|
||||||
typedef struct _TzLocation TzLocation;
|
typedef struct _TzLocation TzLocation;
|
||||||
diff --git a/panels/info-overview/cc-info-overview-panel.c b/panels/info-overview/cc-info-overview-panel.c
|
diff --git a/panels/info-overview/cc-info-overview-panel.c b/panels/info-overview/cc-info-overview-panel.c
|
||||||
index 4541986db..da7826bfe 100644
|
index bd0e07762..0e71351f8 100644
|
||||||
--- a/panels/info-overview/cc-info-overview-panel.c
|
--- a/panels/info-overview/cc-info-overview-panel.c
|
||||||
+++ b/panels/info-overview/cc-info-overview-panel.c
|
+++ b/panels/info-overview/cc-info-overview-panel.c
|
||||||
@@ -169,7 +169,7 @@ load_gnome_version (char **version,
|
@@ -172,7 +172,7 @@ load_gnome_version (char **version,
|
||||||
gsize length;
|
gsize length;
|
||||||
g_autoptr(VersionData) data = NULL;
|
g_autoptr(VersionData) data = NULL;
|
||||||
|
|
||||||
- if (!g_file_get_contents (DATADIR "/gnome/gnome-version.xml",
|
- if (!g_file_get_contents (DATADIR "/gnome/gnome-version.xml",
|
||||||
+ if (!g_file_get_contents ("@gnome_desktop@/share/gnome/gnome-version.xml",
|
+ if (!g_file_get_contents ("@gnome_desktop@/share/gnome/gnome-version.xml",
|
||||||
&contents,
|
&contents,
|
||||||
&length,
|
&length,
|
||||||
&error))
|
&error))
|
||||||
|
diff --git a/panels/keyboard/cc-input-list-box.c b/panels/keyboard/cc-input-list-box.c
|
||||||
|
index 6c2cb5614..8f57159cc 100644
|
||||||
|
--- a/panels/keyboard/cc-input-list-box.c
|
||||||
|
+++ b/panels/keyboard/cc-input-list-box.c
|
||||||
|
@@ -223,10 +223,10 @@ row_layout_cb (CcInputListBox *self,
|
||||||
|
layout_variant = cc_input_source_get_layout_variant (source);
|
||||||
|
|
||||||
|
if (layout_variant && layout_variant[0])
|
||||||
|
- commandline = g_strdup_printf ("gkbd-keyboard-display -l \"%s\t%s\"",
|
||||||
|
+ commandline = g_strdup_printf ("@libgnomekbd@/bin/gkbd-keyboard-display -l \"%s\t%s\"",
|
||||||
|
layout, layout_variant);
|
||||||
|
else
|
||||||
|
- commandline = g_strdup_printf ("gkbd-keyboard-display -l %s",
|
||||||
|
+ commandline = g_strdup_printf ("@libgnomekbd@/bin/gkbd-keyboard-display -l %s",
|
||||||
|
layout);
|
||||||
|
|
||||||
|
g_spawn_command_line_async (commandline, NULL);
|
||||||
diff --git a/panels/network/connection-editor/net-connection-editor.c b/panels/network/connection-editor/net-connection-editor.c
|
diff --git a/panels/network/connection-editor/net-connection-editor.c b/panels/network/connection-editor/net-connection-editor.c
|
||||||
index 9390a3308..d30b4a68e 100644
|
index 505b8ee25..62e94009f 100644
|
||||||
--- a/panels/network/connection-editor/net-connection-editor.c
|
--- a/panels/network/connection-editor/net-connection-editor.c
|
||||||
+++ b/panels/network/connection-editor/net-connection-editor.c
|
+++ b/panels/network/connection-editor/net-connection-editor.c
|
||||||
@@ -278,9 +278,9 @@ net_connection_editor_do_fallback (NetConnectionEditor *self, const gchar *type)
|
@@ -267,9 +267,9 @@ net_connection_editor_do_fallback (NetConnectionEditor *self, const gchar *type)
|
||||||
g_autoptr(GError) error = NULL;
|
g_autoptr(GError) error = NULL;
|
||||||
|
|
||||||
if (self->is_new_connection) {
|
if (self->is_new_connection) {
|
||||||
- cmdline = g_strdup_printf ("nm-connection-editor --type='%s' --create", type);
|
- cmdline = g_strdup_printf ("nm-connection-editor --type='%s' --create", type);
|
||||||
+ cmdline = g_strdup_printf ("@networkmanagerapplet@/bin/nm-connection-editor --type='%s' --create", type);
|
+ cmdline = g_strdup_printf ("@networkmanagerapplet@/bin/nm-connection-editor --type='%s' --create", type);
|
||||||
|
@ -84,19 +101,20 @@ index 9390a3308..d30b4a68e 100644
|
||||||
}
|
}
|
||||||
|
|
||||||
diff --git a/panels/network/net-device-bluetooth.c b/panels/network/net-device-bluetooth.c
|
diff --git a/panels/network/net-device-bluetooth.c b/panels/network/net-device-bluetooth.c
|
||||||
|
index 74dfb0e9a..5f53d1a20 100644
|
||||||
--- a/panels/network/net-device-bluetooth.c
|
--- a/panels/network/net-device-bluetooth.c
|
||||||
+++ b/panels/network/net-device-bluetooth.c
|
+++ b/panels/network/net-device-bluetooth.c
|
||||||
@@ -90,7 +90,7 @@ nm_device_bluetooth_refresh_ui (NetDeviceBluetooth *self)
|
@@ -90,7 +90,7 @@ nm_device_bluetooth_refresh_ui (NetDeviceBluetooth *self)
|
||||||
update_off_switch_from_device_state (self->device_off_switch, state, self);
|
update_off_switch_from_device_state (self->device_off_switch, state, self);
|
||||||
|
|
||||||
/* set up the Options button */
|
/* set up the Options button */
|
||||||
- path = g_find_program_in_path ("nm-connection-editor");
|
- path = g_find_program_in_path ("nm-connection-editor");
|
||||||
+ path = g_find_program_in_path ("@networkmanagerapplet@/bin/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);
|
gtk_widget_set_visible (GTK_WIDGET (self->options_button), state != NM_DEVICE_STATE_UNMANAGED && path != NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -141,7 +141,7 @@ options_button_clicked_cb (NetDeviceBluetooth *self)
|
@@ -141,7 +141,7 @@ options_button_clicked_cb (NetDeviceBluetooth *self)
|
||||||
|
|
||||||
connection = net_device_get_find_connection (self->client, self->device);
|
connection = net_device_get_find_connection (self->client, self->device);
|
||||||
uuid = nm_connection_get_uuid (connection);
|
uuid = nm_connection_get_uuid (connection);
|
||||||
- cmdline = g_strdup_printf ("nm-connection-editor --edit %s", uuid);
|
- cmdline = g_strdup_printf ("nm-connection-editor --edit %s", uuid);
|
||||||
|
@ -105,19 +123,20 @@ diff --git a/panels/network/net-device-bluetooth.c b/panels/network/net-device-b
|
||||||
if (!g_spawn_command_line_async (cmdline, &error))
|
if (!g_spawn_command_line_async (cmdline, &error))
|
||||||
g_warning ("Failed to launch nm-connection-editor: %s", error->message);
|
g_warning ("Failed to launch nm-connection-editor: %s", error->message);
|
||||||
@@ -185,7 +185,7 @@ net_device_bluetooth_init (NetDeviceBluetooth *self)
|
@@ -185,7 +185,7 @@ net_device_bluetooth_init (NetDeviceBluetooth *self)
|
||||||
|
|
||||||
gtk_widget_init_template (GTK_WIDGET (self));
|
gtk_widget_init_template (GTK_WIDGET (self));
|
||||||
|
|
||||||
- path = g_find_program_in_path ("nm-connection-editor");
|
- path = g_find_program_in_path ("nm-connection-editor");
|
||||||
+ path = g_find_program_in_path ("@networkmanagerapplet@/bin/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);
|
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
|
diff --git a/panels/network/net-device-mobile.c b/panels/network/net-device-mobile.c
|
||||||
|
index 34eb86241..50d0a2bed 100644
|
||||||
--- a/panels/network/net-device-mobile.c
|
--- a/panels/network/net-device-mobile.c
|
||||||
+++ b/panels/network/net-device-mobile.c
|
+++ b/panels/network/net-device-mobile.c
|
||||||
@@ -484,7 +484,7 @@ options_button_clicked_cb (NetDeviceMobile *self)
|
@@ -508,7 +508,7 @@ options_button_clicked_cb (NetDeviceMobile *self)
|
||||||
|
|
||||||
connection = net_device_get_find_connection (self->client, self->device);
|
connection = net_device_get_find_connection (self->client, self->device);
|
||||||
uuid = nm_connection_get_uuid (connection);
|
uuid = nm_connection_get_uuid (connection);
|
||||||
- cmdline = g_strdup_printf ("nm-connection-editor --edit %s", uuid);
|
- cmdline = g_strdup_printf ("nm-connection-editor --edit %s", uuid);
|
||||||
|
@ -125,21 +144,21 @@ diff --git a/panels/network/net-device-mobile.c b/panels/network/net-device-mobi
|
||||||
g_debug ("Launching '%s'\n", cmdline);
|
g_debug ("Launching '%s'\n", cmdline);
|
||||||
if (!g_spawn_command_line_async (cmdline, &error))
|
if (!g_spawn_command_line_async (cmdline, &error))
|
||||||
g_warning ("Failed to launch nm-connection-editor: %s", error->message);
|
g_warning ("Failed to launch nm-connection-editor: %s", error->message);
|
||||||
@@ -776,7 +776,7 @@ net_device_mobile_init (NetDeviceMobile *self)
|
@@ -797,7 +797,7 @@ net_device_mobile_init (NetDeviceMobile *self)
|
||||||
|
|
||||||
self->cancellable = g_cancellable_new ();
|
self->cancellable = g_cancellable_new ();
|
||||||
|
|
||||||
- path = g_find_program_in_path ("nm-connection-editor");
|
- path = g_find_program_in_path ("nm-connection-editor");
|
||||||
+ path = g_find_program_in_path ("@networkmanagerapplet@/bin/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);
|
gtk_widget_set_visible (GTK_WIDGET (self->options_button), path != NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
diff --git a/panels/printers/pp-host.c b/panels/printers/pp-host.c
|
diff --git a/panels/printers/pp-host.c b/panels/printers/pp-host.c
|
||||||
index f53ba217e..d24bcaeb9 100644
|
index a31a606e3..ed5133d29 100644
|
||||||
--- a/panels/printers/pp-host.c
|
--- a/panels/printers/pp-host.c
|
||||||
+++ b/panels/printers/pp-host.c
|
+++ b/panels/printers/pp-host.c
|
||||||
@@ -256,7 +256,7 @@ _pp_host_get_snmp_devices_thread (GTask *task,
|
@@ -256,7 +256,7 @@ _pp_host_get_snmp_devices_thread (GTask *task,
|
||||||
devices = g_new0 (PpDevicesList, 1);
|
devices = g_ptr_array_new_with_free_func (g_object_unref);
|
||||||
|
|
||||||
argv = g_new0 (gchar *, 3);
|
argv = g_new0 (gchar *, 3);
|
||||||
- argv[0] = g_strdup ("/usr/lib/cups/backend/snmp");
|
- argv[0] = g_strdup ("/usr/lib/cups/backend/snmp");
|
||||||
|
@ -147,25 +166,8 @@ index f53ba217e..d24bcaeb9 100644
|
||||||
argv[1] = g_strdup (priv->hostname);
|
argv[1] = g_strdup (priv->hostname);
|
||||||
|
|
||||||
/* Use SNMP to get printer's informations */
|
/* Use SNMP to get printer's informations */
|
||||||
diff --git a/panels/region/cc-region-panel.c b/panels/region/cc-region-panel.c
|
|
||||||
index 35859526d..21486c917 100644
|
|
||||||
--- a/panels/region/cc-region-panel.c
|
|
||||||
+++ b/panels/region/cc-region-panel.c
|
|
||||||
@@ -755,10 +755,10 @@ row_layout_cb (CcRegionPanel *self,
|
|
||||||
layout_variant = cc_input_source_get_layout_variant (source);
|
|
||||||
|
|
||||||
if (layout_variant && layout_variant[0])
|
|
||||||
- commandline = g_strdup_printf ("gkbd-keyboard-display -l \"%s\t%s\"",
|
|
||||||
+ commandline = g_strdup_printf ("@libgnomekbd@/bin/gkbd-keyboard-display -l \"%s\t%s\"",
|
|
||||||
layout, layout_variant);
|
|
||||||
else
|
|
||||||
- commandline = g_strdup_printf ("gkbd-keyboard-display -l %s",
|
|
||||||
+ commandline = g_strdup_printf ("@libgnomekbd@/bin/gkbd-keyboard-display -l %s",
|
|
||||||
layout);
|
|
||||||
|
|
||||||
g_spawn_command_line_async (commandline, NULL);
|
|
||||||
diff --git a/panels/user-accounts/run-passwd.c b/panels/user-accounts/run-passwd.c
|
diff --git a/panels/user-accounts/run-passwd.c b/panels/user-accounts/run-passwd.c
|
||||||
index 00239ce0f..617c98870 100644
|
index 86f53d4fc..0b052856f 100644
|
||||||
--- a/panels/user-accounts/run-passwd.c
|
--- a/panels/user-accounts/run-passwd.c
|
||||||
+++ b/panels/user-accounts/run-passwd.c
|
+++ b/panels/user-accounts/run-passwd.c
|
||||||
@@ -150,7 +150,7 @@ spawn_passwd (PasswdHandler *passwd_handler, GError **error)
|
@@ -150,7 +150,7 @@ spawn_passwd (PasswdHandler *passwd_handler, GError **error)
|
||||||
|
|
|
@ -1,29 +1,40 @@
|
||||||
{ lib, stdenv, fetchurl, substituteAll, pkg-config, libxslt, ninja, gnome3, gtk3, glib
|
{ lib
|
||||||
, gettext, libxml2, xkeyboard_config, isocodes, meson, wayland
|
, stdenv
|
||||||
, libseccomp, systemd, bubblewrap, gobject-introspection, gtk-doc, docbook_xsl, gsettings-desktop-schemas }:
|
, fetchurl
|
||||||
|
, substituteAll
|
||||||
|
, pkg-config
|
||||||
|
, libxslt
|
||||||
|
, ninja
|
||||||
|
, gnome3
|
||||||
|
, gtk3
|
||||||
|
, glib
|
||||||
|
, gettext
|
||||||
|
, libxml2
|
||||||
|
, xkeyboard_config
|
||||||
|
, libxkbcommon
|
||||||
|
, isocodes
|
||||||
|
, meson
|
||||||
|
, wayland
|
||||||
|
, libseccomp
|
||||||
|
, systemd
|
||||||
|
, bubblewrap
|
||||||
|
, gobject-introspection
|
||||||
|
, gtk-doc
|
||||||
|
, docbook-xsl-nons
|
||||||
|
, gsettings-desktop-schemas
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-desktop";
|
pname = "gnome-desktop";
|
||||||
version = "3.38.4";
|
version = "40.1";
|
||||||
|
|
||||||
outputs = [ "out" "dev" "devdoc" ];
|
outputs = [ "out" "dev" "devdoc" ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gnome-desktop/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/gnome-desktop/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "sha256-P2A+pb/UdyLJLPybiFRGtGJg6gnIz7Y/a92f7+NC5Iw=";
|
sha256 = "sha256-igeJcwUhnFaZVJriBI9xVVFe+Xx85NZYXd2hXVhZ4c8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
|
||||||
pkg-config meson ninja gettext libxslt libxml2 gobject-introspection
|
|
||||||
gtk-doc docbook_xsl glib
|
|
||||||
];
|
|
||||||
buildInputs = [
|
|
||||||
bubblewrap xkeyboard_config isocodes wayland
|
|
||||||
gtk3 glib libseccomp systemd
|
|
||||||
];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [ gsettings-desktop-schemas ];
|
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
(substituteAll {
|
(substituteAll {
|
||||||
src = ./bubblewrap-paths.patch;
|
src = ./bubblewrap-paths.patch;
|
||||||
|
@ -32,11 +43,42 @@ stdenv.mkDerivation rec {
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pkg-config
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
gettext
|
||||||
|
libxslt
|
||||||
|
libxml2
|
||||||
|
gobject-introspection
|
||||||
|
gtk-doc
|
||||||
|
docbook-xsl-nons
|
||||||
|
glib
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
bubblewrap
|
||||||
|
xkeyboard_config
|
||||||
|
libxkbcommon # for xkbregistry
|
||||||
|
isocodes
|
||||||
|
wayland
|
||||||
|
gtk3
|
||||||
|
glib
|
||||||
|
libseccomp
|
||||||
|
systemd
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
gsettings-desktop-schemas
|
||||||
|
];
|
||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
"-Dgtk_doc=true"
|
"-Dgtk_doc=true"
|
||||||
"-Ddesktop_docs=false"
|
"-Ddesktop_docs=false"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
separateDebugInfo = stdenv.isLinux;
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
packageName = "gnome-desktop";
|
packageName = "gnome-desktop";
|
||||||
|
@ -46,7 +88,8 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Library with common API for various GNOME modules";
|
description = "Library with common API for various GNOME modules";
|
||||||
license = with licenses; [ gpl2 lgpl2 ];
|
homepage = "https://gitlab.gnome.org/GNOME/gnome-desktop";
|
||||||
|
license = with licenses; [ gpl2Plus lgpl2Plus ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = teams.gnome.members;
|
maintainers = teams.gnome.members;
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,24 +1,16 @@
|
||||||
{ lib, stdenv, fetchurl, fetchpatch, meson, ninja, pkg-config, desktop-file-utils, appstream-glib, libxslt
|
{ lib, stdenv, fetchurl, meson, ninja, pkg-config, desktop-file-utils, appstream-glib, libxslt
|
||||||
, libxml2, gettext, itstool, wrapGAppsHook, docbook_xsl, docbook_xml_dtd_43
|
, libxml2, gettext, itstool, wrapGAppsHook, docbook_xsl, docbook_xml_dtd_43
|
||||||
, gnome3, gtk3, glib, gsettings-desktop-schemas }:
|
, gnome3, gtk3, glib, gsettings-desktop-schemas }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-dictionary";
|
pname = "gnome-dictionary";
|
||||||
version = "3.26.1";
|
version = "40.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gnome-dictionary/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/gnome-dictionary/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "16b8bc248dcf68987826d5e39234b1bb7fd24a2607fcdbf4258fde88f012f300";
|
sha256 = "1d8dhcfys788vv27v34i3s3x3jdvdi2kqn2a5p8c937a9hm0qr9f";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# fix AppStream validation
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://gitlab.gnome.org/GNOME/gnome-dictionary/commit/1c94d612030ef87c6e26a01a490470b71c39e341.patch";
|
|
||||||
sha256 = "0cbswmhs9mks3gsc0iy4wnidsa8sfzzf4s1kgvb80qwffgxz5m8b";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -1,26 +1,66 @@
|
||||||
{ lib, stdenv, gettext, fetchurl, pkg-config, udisks2, libsecret, libdvdread
|
{ lib
|
||||||
, meson, ninja, gtk3, glib, wrapGAppsHook, python3, libnotify
|
, stdenv
|
||||||
, itstool, gnome3, libxml2, gsettings-desktop-schemas
|
, gettext
|
||||||
, libcanberra-gtk3, libxslt, docbook_xsl, libpwquality, systemd }:
|
, fetchurl
|
||||||
|
, pkg-config
|
||||||
|
, udisks2
|
||||||
|
, libhandy
|
||||||
|
, libsecret
|
||||||
|
, libdvdread
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, gtk3
|
||||||
|
, glib
|
||||||
|
, wrapGAppsHook
|
||||||
|
, python3
|
||||||
|
, libnotify
|
||||||
|
, itstool
|
||||||
|
, gnome3
|
||||||
|
, libxml2
|
||||||
|
, gsettings-desktop-schemas
|
||||||
|
, libcanberra-gtk3
|
||||||
|
, libxslt
|
||||||
|
, docbook-xsl-nons
|
||||||
|
, libpwquality
|
||||||
|
, systemd
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-disk-utility";
|
pname = "gnome-disk-utility";
|
||||||
version = "3.38.2";
|
version = "40.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gnome-disk-utility/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/gnome-disk-utility/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "sha256-EL7d5UlL6zTjoiDW8w2TIMiCUv7rhCa9mM760YNteOk=";
|
sha256 = "sha256-KkuZrBHKIzlLKMVYS56WKE6MWk2mXPBiB95U9Csf8UE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
meson ninja pkg-config gettext itstool libxslt docbook_xsl
|
meson
|
||||||
wrapGAppsHook python3 libxml2
|
ninja
|
||||||
|
pkg-config
|
||||||
|
gettext
|
||||||
|
itstool
|
||||||
|
libxslt
|
||||||
|
docbook-xsl-nons
|
||||||
|
wrapGAppsHook
|
||||||
|
python3
|
||||||
|
libxml2
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
gtk3 glib libsecret libpwquality libnotify libdvdread libcanberra-gtk3
|
gtk3
|
||||||
udisks2 gnome3.adwaita-icon-theme systemd
|
glib
|
||||||
gnome3.gnome-settings-daemon gsettings-desktop-schemas
|
libhandy
|
||||||
|
libsecret
|
||||||
|
libpwquality
|
||||||
|
libnotify
|
||||||
|
libdvdread
|
||||||
|
libcanberra-gtk3
|
||||||
|
udisks2
|
||||||
|
gnome3.adwaita-icon-theme
|
||||||
|
systemd
|
||||||
|
gnome3.gnome-settings-daemon
|
||||||
|
gsettings-desktop-schemas
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -36,10 +76,10 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://en.wikipedia.org/wiki/GNOME_Disks";
|
homepage = "https://wiki.gnome.org/Apps/Disks";
|
||||||
description = "A udisks graphical front-end";
|
description = "A udisks graphical front-end";
|
||||||
maintainers = teams.gnome.members;
|
maintainers = teams.gnome.members;
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,20 +1,20 @@
|
||||||
{ lib, stdenv, meson, ninja, gettext, fetchurl
|
{ lib, stdenv, meson, ninja, gettext, fetchurl
|
||||||
, pkg-config, gtk3, glib, libxml2, gnome-desktop, adwaita-icon-theme
|
, pkg-config, gtk3, glib, libxml2, gnome-desktop, adwaita-icon-theme, libhandy
|
||||||
, wrapGAppsHook, gnome3, harfbuzz }:
|
, wrapGAppsHook, gnome3, harfbuzz }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-font-viewer";
|
pname = "gnome-font-viewer";
|
||||||
version = "3.34.0";
|
version = "40.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gnome-font-viewer/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/gnome-font-viewer/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "12xrsqwmvid7hksiw4zhj4jd1qwxn8w0czskbq4yqfprwn1havxa";
|
sha256 = "0hpyi0sz3gcqqs9lkwyk8b6hr39m3n27432x98kxr436jj37dk6j";
|
||||||
};
|
};
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
nativeBuildInputs = [ meson ninja pkg-config gettext wrapGAppsHook libxml2 ];
|
nativeBuildInputs = [ meson ninja pkg-config gettext wrapGAppsHook libxml2 ];
|
||||||
buildInputs = [ gtk3 glib gnome-desktop adwaita-icon-theme harfbuzz ];
|
buildInputs = [ gtk3 glib gnome-desktop adwaita-icon-theme harfbuzz libhandy ];
|
||||||
|
|
||||||
# Do not run meson-postinstall.sh
|
# Do not run meson-postinstall.sh
|
||||||
preConfigure = "sed -i '2,$ d' meson-postinstall.sh";
|
preConfigure = "sed -i '2,$ d' meson-postinstall.sh";
|
||||||
|
|
|
@ -5,29 +5,10 @@ Date: Sun, 20 Sep 2020 14:46:59 -0400
|
||||||
Subject: [PATCH] fix paths
|
Subject: [PATCH] fix paths
|
||||||
|
|
||||||
---
|
---
|
||||||
data/gnome-welcome-tour | 4 ++--
|
|
||||||
gnome-initial-setup/pages/keyboard/cc-input-chooser.c | 6 +++---
|
gnome-initial-setup/pages/keyboard/cc-input-chooser.c | 6 +++---
|
||||||
gnome-initial-setup/pages/timezone/tz.h | 4 ++--
|
gnome-initial-setup/pages/timezone/tz.h | 4 ++--
|
||||||
3 files changed, 7 insertions(+), 7 deletions(-)
|
3 files changed, 5 insertions(+), 5 deletions(-)
|
||||||
|
|
||||||
diff --git a/data/gnome-welcome-tour b/data/gnome-welcome-tour
|
|
||||||
index 51c9b59..68ab0c4 100755
|
|
||||||
--- a/data/gnome-welcome-tour
|
|
||||||
+++ b/data/gnome-welcome-tour
|
|
||||||
@@ -3,11 +3,11 @@
|
|
||||||
cfgdir=${XDG_CONFIG_DIR:-$HOME/.config}
|
|
||||||
|
|
||||||
# Don't do anything if gnome-tour isn't installed
|
|
||||||
-gnome_tour_path=$(which gnome-tour 2>/dev/null)
|
|
||||||
+gnome_tour_path="@gnome_tour@"
|
|
||||||
if test -z "${gnome_tour_path}"; then
|
|
||||||
rm -f $cfgdir/run-welcome-tour
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
|
|
||||||
-gnome-tour
|
|
||||||
+@gnome_tour@
|
|
||||||
rm -f $cfgdir/run-welcome-tour
|
|
||||||
diff --git a/gnome-initial-setup/pages/keyboard/cc-input-chooser.c b/gnome-initial-setup/pages/keyboard/cc-input-chooser.c
|
diff --git a/gnome-initial-setup/pages/keyboard/cc-input-chooser.c b/gnome-initial-setup/pages/keyboard/cc-input-chooser.c
|
||||||
index 196abf6..613d0e5 100644
|
index 196abf6..613d0e5 100644
|
||||||
--- a/gnome-initial-setup/pages/keyboard/cc-input-chooser.c
|
--- a/gnome-initial-setup/pages/keyboard/cc-input-chooser.c
|
||||||
|
|
|
@ -14,7 +14,6 @@
|
||||||
, geocode-glib
|
, geocode-glib
|
||||||
, glib
|
, glib
|
||||||
, gnome-desktop
|
, gnome-desktop
|
||||||
, gnome-getting-started-docs
|
|
||||||
, gnome-online-accounts
|
, gnome-online-accounts
|
||||||
, gtk3
|
, gtk3
|
||||||
, libgweather
|
, libgweather
|
||||||
|
@ -32,18 +31,24 @@
|
||||||
, tzdata
|
, tzdata
|
||||||
, libgnomekbd
|
, libgnomekbd
|
||||||
, gsettings-desktop-schemas
|
, gsettings-desktop-schemas
|
||||||
, gnome-tour
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-initial-setup";
|
pname = "gnome-initial-setup";
|
||||||
version = "3.38.4";
|
version = "40.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "001jdzsvc541qracn68r609pr5qwymrh85xrqmvzzc1dbg5w3mlg";
|
sha256 = "10zf87n6c947k9rkk2rqc9cbfwcvq23axq3rf7x1an7npv3414gi";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(substituteAll {
|
||||||
|
src = ./0001-fix-paths.patch;
|
||||||
|
inherit tzdata libgnomekbd;
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
gettext
|
gettext
|
||||||
meson
|
meson
|
||||||
|
@ -61,7 +66,6 @@ stdenv.mkDerivation rec {
|
||||||
geocode-glib
|
geocode-glib
|
||||||
glib
|
glib
|
||||||
gnome-desktop
|
gnome-desktop
|
||||||
gnome-getting-started-docs
|
|
||||||
gnome-online-accounts
|
gnome-online-accounts
|
||||||
gsettings-desktop-schemas
|
gsettings-desktop-schemas
|
||||||
gtk3
|
gtk3
|
||||||
|
@ -78,14 +82,6 @@ stdenv.mkDerivation rec {
|
||||||
webkitgtk
|
webkitgtk
|
||||||
];
|
];
|
||||||
|
|
||||||
patches = [
|
|
||||||
(substituteAll {
|
|
||||||
src = ./0001-fix-paths.patch;
|
|
||||||
inherit tzdata libgnomekbd;
|
|
||||||
gnome_tour = "${gnome-tour}/bin/gnome-tour";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
"-Dcheese=disabled"
|
"-Dcheese=disabled"
|
||||||
"-Dibus=disabled"
|
"-Dibus=disabled"
|
||||||
|
|
|
@ -1,51 +1,72 @@
|
||||||
{ lib, stdenv, fetchurl, fetchpatch, pkg-config, dbus, libgcrypt, pam, python2, glib, libxslt
|
{ lib
|
||||||
, gettext, gcr, libcap_ng, libselinux, p11-kit, openssh, wrapGAppsHook
|
, stdenv
|
||||||
, docbook_xsl, docbook_xml_dtd_43, gnome3 }:
|
, fetchurl
|
||||||
|
, pkg-config
|
||||||
|
, dbus
|
||||||
|
, libgcrypt
|
||||||
|
, pam
|
||||||
|
, python2
|
||||||
|
, glib
|
||||||
|
, libxslt
|
||||||
|
, gettext
|
||||||
|
, gcr
|
||||||
|
, libcap_ng
|
||||||
|
, libselinux
|
||||||
|
, p11-kit
|
||||||
|
, openssh
|
||||||
|
, wrapGAppsHook
|
||||||
|
, docbook-xsl-nons
|
||||||
|
, docbook_xml_dtd_43
|
||||||
|
, gnome3
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-keyring";
|
pname = "gnome-keyring";
|
||||||
version = "3.36.0";
|
version = "40.0";
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = "mirror://gnome/sources/gnome-keyring/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
||||||
sha256 = "11sgffrrpss5cmv3b717pqlbhgq17l1xd33fsvqgsw8simxbar52";
|
|
||||||
};
|
|
||||||
|
|
||||||
patches = [
|
|
||||||
# version 3.36.0 is incompatible with libncap_ng >= 0.8.1. remove patch after update.
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://gitlab.gnome.org/GNOME/gnome-keyring/-/commit/ebc7bc9efacc17049e54da8d96a4a29943621113.diff";
|
|
||||||
sha256 = "07bx7zmdswqsa3dj37m729g35n1prhylkw7ya8a7h64i10la12cs";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
buildInputs = [
|
src = fetchurl {
|
||||||
glib libgcrypt pam openssh libcap_ng libselinux
|
url = "mirror://gnome/sources/gnome-keyring/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
gcr p11-kit
|
sha256 = "0cdrlcw814zayhvlaxqs1sm9bqlfijlp22dzzd0g5zg2isq4vlm3";
|
||||||
];
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkg-config gettext libxslt docbook_xsl docbook_xml_dtd_43 wrapGAppsHook
|
pkg-config
|
||||||
|
gettext
|
||||||
|
libxslt
|
||||||
|
docbook-xsl-nons
|
||||||
|
docbook_xml_dtd_43
|
||||||
|
wrapGAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
glib
|
||||||
|
libgcrypt
|
||||||
|
pam
|
||||||
|
openssh
|
||||||
|
libcap_ng
|
||||||
|
libselinux
|
||||||
|
gcr
|
||||||
|
p11-kit
|
||||||
|
];
|
||||||
|
|
||||||
|
# In 3.20.1, tests do not support Python 3
|
||||||
|
checkInputs = [ dbus python2 ];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-pkcs11-config=${placeholder "out"}/etc/pkcs11/" # installation directories
|
"--with-pkcs11-config=${placeholder "out"}/etc/pkcs11/" # installation directories
|
||||||
"--with-pkcs11-modules=${placeholder "out"}/lib/pkcs11/"
|
"--with-pkcs11-modules=${placeholder "out"}/lib/pkcs11/"
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
patchShebangs build
|
|
||||||
'';
|
|
||||||
|
|
||||||
# Tends to fail non-deterministically.
|
# Tends to fail non-deterministically.
|
||||||
# - https://github.com/NixOS/nixpkgs/issues/55293
|
# - https://github.com/NixOS/nixpkgs/issues/55293
|
||||||
# - https://github.com/NixOS/nixpkgs/issues/51121
|
# - https://github.com/NixOS/nixpkgs/issues/51121
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
# In 3.20.1, tests do not support Python 3
|
postPatch = ''
|
||||||
checkInputs = [ dbus python2 ];
|
patchShebangs build
|
||||||
|
'';
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
export HOME=$(mktemp -d)
|
export HOME=$(mktemp -d)
|
||||||
|
|
|
@ -4,13 +4,13 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
pname = "gnome-screenshot";
|
pname = "gnome-screenshot";
|
||||||
version = "3.38.0";
|
version = "40.0";
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${name}.tar.xz";
|
||||||
sha256 = "1h4zsaybjrlkfcrvriyybg4gfr7v9d1ndh2p516k94ad2gfx6mp5";
|
sha256 = "1qm544ymwibk31s30k47vnn79xg30m18r7l4di0c57g375dak31n";
|
||||||
};
|
};
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{ lib, stdenv
|
{ lib
|
||||||
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, meson
|
, meson
|
||||||
, ninja
|
, ninja
|
||||||
|
@ -10,13 +11,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-session-ctl";
|
pname = "gnome-session-ctl";
|
||||||
version = "3.38.0";
|
version = "40.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nix-community";
|
owner = "nix-community";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "c20907fea27fa96568b8375a6756c40d0bfb9e40"; # main
|
rev = version;
|
||||||
hash = "sha256-y9/yOH6N8wf93+gPqnqzRzV/lPXYD0M6v7dsLFF8lWo=";
|
hash = "sha256-gvBmLx8Qoj1vPsOwaZsd9+pTDvU5D7uUts7ZT1pXwNo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -1,17 +1,16 @@
|
||||||
{ fetchurl, lib, stdenv, substituteAll, meson, ninja, pkg-config, gnome3, glib, gtk3, gsettings-desktop-schemas
|
{ fetchurl, lib, stdenv, substituteAll, meson, ninja, pkg-config, gnome3, glib, gtk3, gsettings-desktop-schemas
|
||||||
, gnome-desktop, dbus, json-glib, libICE, xmlto, docbook_xsl, docbook_xml_dtd_412, python3
|
, gnome-desktop, dbus, json-glib, libICE, xmlto, docbook_xsl, docbook_xml_dtd_412, python3
|
||||||
, libxslt, gettext, makeWrapper, systemd, xorg, epoxy, gnugrep, bash, gnome-session-ctl
|
, libxslt, gettext, makeWrapper, systemd, xorg, epoxy, gnugrep, bash, gnome-session-ctl }:
|
||||||
, fetchpatch }:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-session";
|
pname = "gnome-session";
|
||||||
version = "3.38.0";
|
version = "40.1.1";
|
||||||
|
|
||||||
outputs = ["out" "sessions"];
|
outputs = ["out" "sessions"];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gnome-session/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/gnome-session/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "0rrxjk3vbqy3cdgnl7rw71dvcyrvhwq3m6s53dnkyjxsrnr0xk3v";
|
sha256 = "10nzyhmgkrzk6i70kj7690na0hmsv6qy5bmr10akxq9jxqlphy4w";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -22,12 +21,6 @@ stdenv.mkDerivation rec {
|
||||||
grep = "${gnugrep}/bin/grep";
|
grep = "${gnugrep}/bin/grep";
|
||||||
bash = "${bash}/bin/bash";
|
bash = "${bash}/bin/bash";
|
||||||
})
|
})
|
||||||
# Fixes 2 minute delay at poweroff.
|
|
||||||
# https://gitlab.gnome.org/GNOME/gnome-session/issues/74
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://gitlab.gnome.org/GNOME/gnome-session/-/commit/9de6e40f12e8878f524f8d429d85724c156a0517.diff";
|
|
||||||
sha256 = "19vrjdf7d6dfl7sqxvbc5h5lcgk1krgzg5rkssrdzd1h4ma6y8fz";
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
mesonFlags = [ "-Dsystemd=true" "-Dsystemd_session=default" ];
|
mesonFlags = [ "-Dsystemd=true" "-Dsystemd_session=default" ];
|
||||||
|
|
|
@ -42,11 +42,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-settings-daemon";
|
pname = "gnome-settings-daemon";
|
||||||
version = "3.38.1";
|
version = "40.0.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gnome-settings-daemon/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/gnome-settings-daemon/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "0r010wzw3dj87mapzvq15zv93i86wg0x0rpii3x2wapq3bcj30g2";
|
sha256 = "08bv32hvsmd8izw0llvldg0c2d71srch4hi8j94jwgm5d4dsrprp";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
{ lib, stdenv, fetchurl, meson, ninja, gettext, pkg-config, spidermonkey_68, glib
|
{ lib, stdenv, fetchurl, fetchpatch, meson, ninja, gettext, pkg-config, spidermonkey_68, glib
|
||||||
, gnome3, gnome-menus, substituteAll }:
|
, gnome3, gnome-menus, substituteAll }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-shell-extensions";
|
pname = "gnome-shell-extensions";
|
||||||
version = "3.38.2";
|
version = "40.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gnome-shell-extensions/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/gnome-shell-extensions/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "0hzn975v49rv3nsqp8m0mzv8gcm7nyvn54gj3zsml8ahlxwl592p";
|
sha256 = "15hak4prx2nx1svfii39clxy1lll8crdf7p91if85jcsh6r8ab8p";
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
@ -22,6 +22,14 @@ stdenv.mkDerivation rec {
|
||||||
src = ./fix_gmenu.patch;
|
src = ./fix_gmenu.patch;
|
||||||
gmenu_path = "${gnome-menus}/lib/girepository-1.0";
|
gmenu_path = "${gnome-menus}/lib/girepository-1.0";
|
||||||
})
|
})
|
||||||
|
|
||||||
|
# Do not show welcome dialog in gnome-classic.
|
||||||
|
# Needed for gnome-shell 40.1.
|
||||||
|
# https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/169
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://gitlab.gnome.org/GNOME/gnome-shell-extensions/commit/3e8bbb07ea7109c44d5ac7998f473779e742d041.patch";
|
||||||
|
sha256 = "jSmPwSBgRBfPPP9mGVjw1mSWumIXQqtA6tSqHr3U+3w=";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{ fetchurl
|
{ fetchurl
|
||||||
, fetchpatch
|
, fetchpatch
|
||||||
|
, fetchgit
|
||||||
, substituteAll
|
, substituteAll
|
||||||
, lib, stdenv
|
, lib, stdenv
|
||||||
, meson
|
, meson
|
||||||
|
@ -22,8 +23,7 @@
|
||||||
, librsvg
|
, librsvg
|
||||||
, geoclue2
|
, geoclue2
|
||||||
, perl
|
, perl
|
||||||
, docbook_xml_dtd_42
|
, docbook_xml_dtd_45
|
||||||
, docbook_xml_dtd_43
|
|
||||||
, desktop-file-utils
|
, desktop-file-utils
|
||||||
, libpulseaudio
|
, libpulseaudio
|
||||||
, libical
|
, libical
|
||||||
|
@ -46,6 +46,7 @@
|
||||||
, mutter
|
, mutter
|
||||||
, evolution-data-server
|
, evolution-data-server
|
||||||
, gtk3
|
, gtk3
|
||||||
|
, gtk4
|
||||||
, sassc
|
, sassc
|
||||||
, systemd
|
, systemd
|
||||||
, pipewire
|
, pipewire
|
||||||
|
@ -66,14 +67,20 @@ let
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-shell";
|
pname = "gnome-shell";
|
||||||
version = "3.38.3";
|
version = "40.0-unstable-2021-05-01";
|
||||||
|
|
||||||
outputs = [ "out" "devdoc" ];
|
outputs = [ "out" "devdoc" ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchgit {
|
||||||
url = "mirror://gnome/sources/gnome-shell/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "https://gitlab.gnome.org/GNOME/gnome-shell.git";
|
||||||
sha256 = "sha256-U0W0GMsSqXKVXOXM6u1mYkgAJzNrXFHa6lcwV1tiHO0=";
|
rev = "a8a79c03330427808e776c344f7ebc42782a1b5a";
|
||||||
|
sha256 = "ivHV0SRpnBqsdC7fu1Xhtd/BA55O0UdbUyDLy5KHNYs=";
|
||||||
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
# src = fetchurl {
|
||||||
|
# url = "mirror://gnome/sources/gnome-shell/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
|
# sha256 = "sha256-vOcfQC36qcXiab9lv0iiI0PYlubPmiw0ZpOS1/v2hHg=";
|
||||||
|
# };
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
# Hardcode paths to various dependencies so that they can be found at runtime.
|
# Hardcode paths to various dependencies so that they can be found at runtime.
|
||||||
|
@ -97,6 +104,12 @@ stdenv.mkDerivation rec {
|
||||||
revert = true;
|
revert = true;
|
||||||
sha256 = "14h7ahlxgly0n3sskzq9dhxzbyb04fn80pv74vz1526396676dzl";
|
sha256 = "14h7ahlxgly0n3sskzq9dhxzbyb04fn80pv74vz1526396676dzl";
|
||||||
})
|
})
|
||||||
|
|
||||||
|
# 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=";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -105,9 +118,7 @@ stdenv.mkDerivation rec {
|
||||||
pkg-config
|
pkg-config
|
||||||
gettext
|
gettext
|
||||||
docbook-xsl-nons
|
docbook-xsl-nons
|
||||||
# Switch to 4.5 in the 40.
|
docbook_xml_dtd_45
|
||||||
docbook_xml_dtd_42
|
|
||||||
docbook_xml_dtd_43
|
|
||||||
gtk-doc
|
gtk-doc
|
||||||
perl
|
perl
|
||||||
wrapGAppsHook
|
wrapGAppsHook
|
||||||
|
@ -137,6 +148,7 @@ stdenv.mkDerivation rec {
|
||||||
evolution-data-server
|
evolution-data-server
|
||||||
libical
|
libical
|
||||||
gtk3
|
gtk3
|
||||||
|
gtk4
|
||||||
gdm
|
gdm
|
||||||
geoclue2
|
geoclue2
|
||||||
adwaita-icon-theme
|
adwaita-icon-theme
|
||||||
|
@ -189,7 +201,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
# The services need typelibs.
|
# The services need typelibs.
|
||||||
for svc in org.gnome.Shell.Extensions org.gnome.Shell.Notifications org.gnome.Shell.Screencast; do
|
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
|
wrapGApp $out/share/gnome-shell/$svc
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
@@ -13,7 +13,7 @@ shew_sources = [
|
@@ -13,7 +13,7 @@ shew_sources = [
|
||||||
libshew = library(full_name,
|
libshew = library(full_name,
|
||||||
sources: shew_sources,
|
sources: shew_sources,
|
||||||
dependencies: [gtk_dep],
|
dependencies: [gtk_dep, x11_dep],
|
||||||
- install_dir: pkglibdir,
|
- install_dir: pkglibdir,
|
||||||
+ install_dir: get_option('prefix') / pkglibdir,
|
+ install_dir: get_option('prefix') / pkglibdir,
|
||||||
install: true,
|
install: true,
|
||||||
|
|
|
@ -11,8 +11,9 @@
|
||||||
, packagekit
|
, packagekit
|
||||||
, ostree
|
, ostree
|
||||||
, glib
|
, glib
|
||||||
, appstream-glib
|
, appstream
|
||||||
, libsoup
|
, libsoup
|
||||||
|
, libhandy
|
||||||
, polkit
|
, polkit
|
||||||
, isocodes
|
, isocodes
|
||||||
, gspell
|
, gspell
|
||||||
|
@ -42,11 +43,11 @@ in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-software";
|
pname = "gnome-software";
|
||||||
version = "3.38.0";
|
version = "40.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gnome-software/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/gnome-software/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "0rjm486vgn6gi9mv1rqdcvr9cilmw6in4r6djqkxbxqll89cp2l7";
|
sha256 = "16q2902swxsjdxb1nj335sv1bb76rvq4w6dn4yszkwf3s0fd86in";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -76,8 +77,9 @@ stdenv.mkDerivation rec {
|
||||||
gtk3
|
gtk3
|
||||||
glib
|
glib
|
||||||
packagekit
|
packagekit
|
||||||
appstream-glib
|
appstream
|
||||||
libsoup
|
libsoup
|
||||||
|
libhandy
|
||||||
gsettings-desktop-schemas
|
gsettings-desktop-schemas
|
||||||
gnome-desktop
|
gnome-desktop
|
||||||
gspell
|
gspell
|
||||||
|
@ -94,7 +96,6 @@ stdenv.mkDerivation rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
"-Dubuntu_reviews=false"
|
|
||||||
"-Dgudev=false"
|
"-Dgudev=false"
|
||||||
# FIXME: package malcontent parental controls
|
# FIXME: package malcontent parental controls
|
||||||
"-Dmalcontent=false"
|
"-Dmalcontent=false"
|
||||||
|
|
|
@ -1,26 +1,63 @@
|
||||||
{ lib, stdenv, gettext, fetchurl, pkg-config, gtkmm3, libxml2
|
{ lib
|
||||||
, bash, gtk3, glib, wrapGAppsHook, meson, ninja, python3
|
, stdenv
|
||||||
, gsettings-desktop-schemas, itstool, gnome3, librsvg, gdk-pixbuf, libgtop, systemd }:
|
, gettext
|
||||||
|
, fetchurl
|
||||||
|
, pkg-config
|
||||||
|
, gtkmm3
|
||||||
|
, libxml2
|
||||||
|
, bash
|
||||||
|
, gtk3
|
||||||
|
, libhandy
|
||||||
|
, glib
|
||||||
|
, wrapGAppsHook
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, python3
|
||||||
|
, gsettings-desktop-schemas
|
||||||
|
, itstool
|
||||||
|
, gnome3
|
||||||
|
, librsvg
|
||||||
|
, gdk-pixbuf
|
||||||
|
, libgtop
|
||||||
|
, systemd
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-system-monitor";
|
pname = "gnome-system-monitor";
|
||||||
version = "3.38.0";
|
version = "40.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gnome-system-monitor/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/gnome-system-monitor/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "1x5gd30g87im7fnqj63njlac69zywfd1r0vgsxkjag2hsns7mgvk";
|
sha256 = "06hxd4igxas2kyind5jwfq5qbfkknykpdfy2sy3anylhcx1hzczx";
|
||||||
};
|
};
|
||||||
|
|
||||||
doCheck = true;
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkg-config gettext itstool wrapGAppsHook meson ninja python3
|
pkg-config
|
||||||
|
gettext
|
||||||
|
itstool
|
||||||
|
wrapGAppsHook
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
python3
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
bash gtk3 glib libxml2 gtkmm3 libgtop gdk-pixbuf gnome3.adwaita-icon-theme librsvg
|
bash
|
||||||
gsettings-desktop-schemas systemd
|
gtk3
|
||||||
|
libhandy
|
||||||
|
glib
|
||||||
|
libxml2
|
||||||
|
gtkmm3
|
||||||
|
libgtop
|
||||||
|
gdk-pixbuf
|
||||||
|
gnome3.adwaita-icon-theme
|
||||||
|
librsvg
|
||||||
|
gsettings-desktop-schemas
|
||||||
|
systemd
|
||||||
];
|
];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
chmod +x meson_post_install.py # patchShebangs requires executable file
|
chmod +x meson_post_install.py # patchShebangs requires executable file
|
||||||
patchShebangs meson_post_install.py
|
patchShebangs meson_post_install.py
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-terminal";
|
pname = "gnome-terminal";
|
||||||
version = "3.38.3";
|
version = "3.40.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gnome-terminal/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/gnome-terminal/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "EaWw1jXxX9znUINRpRD79OkqpTMVKlD/DHhF4xAuR2Q=";
|
sha256 = "1r6qd6w18gk83w32y6bvn4hg2hd7qvngak4ymwpgndyp41rwqw07";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
|
|
@ -22,11 +22,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-tour";
|
pname = "gnome-tour";
|
||||||
version = "3.38.0";
|
version = "40.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
hash = "sha256-hV/C/Lyz6e9zhe3FRw4Sox5gMqThDP57wVCTgcekjng=";
|
hash = "sha256-cGMiOGmgdHJ0FL7H23ONhQYhbuhMz8O8p9rFLkmMG/k=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoVendorDir = "vendor";
|
cargoVendorDir = "vendor";
|
||||||
|
|
|
@ -1,17 +0,0 @@
|
||||||
{ fetchFromGitLab }:
|
|
||||||
|
|
||||||
let
|
|
||||||
# We need a gvc different then that which is shipped in the source tarball of
|
|
||||||
# whatever package that imports this file
|
|
||||||
gvc-src-with-ucm = fetchFromGitLab {
|
|
||||||
domain = "gitlab.gnome.org";
|
|
||||||
owner = "GNOME";
|
|
||||||
repo = "libgnome-volume-control";
|
|
||||||
rev = "7a621180b46421e356b33972e3446775a504139c";
|
|
||||||
sha256 = "07rkgh9f7qcmlpy6jqh944axzh3z38f47g48ii842f2i3a1mrbw9";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
''
|
|
||||||
rm -r ./subprojects/gvc
|
|
||||||
cp -r ${gvc-src-with-ucm} ./subprojects/gvc
|
|
||||||
''
|
|
|
@ -17,13 +17,6 @@ stdenv.mkDerivation rec {
|
||||||
propagatedBuildInputs = [ glib gobject-introspection dbus libgcrypt ];
|
propagatedBuildInputs = [ glib gobject-introspection dbus libgcrypt ];
|
||||||
nativeBuildInputs = [ pkg-config intltool ];
|
nativeBuildInputs = [ pkg-config intltool ];
|
||||||
|
|
||||||
passthru = {
|
|
||||||
updateScript = gnome3.updateScript {
|
|
||||||
packageName = pname;
|
|
||||||
attrPath = "gnome3.${pname}";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Framework for managing passwords and other secrets";
|
description = "Framework for managing passwords and other secrets";
|
||||||
homepage = "https://wiki.gnome.org/Projects/GnomeKeyring";
|
homepage = "https://wiki.gnome.org/Projects/GnomeKeyring";
|
||||||
|
|
|
@ -45,24 +45,31 @@
|
||||||
|
|
||||||
let self = stdenv.mkDerivation rec {
|
let self = stdenv.mkDerivation rec {
|
||||||
pname = "mutter";
|
pname = "mutter";
|
||||||
version = "3.38.3";
|
version = "40.0";
|
||||||
|
|
||||||
outputs = [ "out" "dev" "man" ];
|
outputs = [ "out" "dev" "man" ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/mutter/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/mutter/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "sha256-sjIec9Hj/i6Q5jAfQrugf02UvGR1aivxPXWunW+qIB8=";
|
sha256 = "sha256-enGzEuWmZ8U3SJUYilBqP2tnF2i8s2K2jv3FYnc9GY4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
# Drop inheritable cap_sys_nice, to prevent the ambient set from leaking
|
# Drop inheritable cap_sys_nice, to prevent the ambient set from leaking
|
||||||
# from mutter/gnome-shell, see https://github.com/NixOS/nixpkgs/issues/71381
|
# from mutter/gnome-shell, see https://github.com/NixOS/nixpkgs/issues/71381
|
||||||
./drop-inheritable.patch
|
# ./drop-inheritable.patch
|
||||||
|
|
||||||
(substituteAll {
|
(substituteAll {
|
||||||
src = ./fix-paths.patch;
|
src = ./fix-paths.patch;
|
||||||
inherit zenity;
|
inherit zenity;
|
||||||
})
|
})
|
||||||
|
|
||||||
|
# Fix non-deterministic build failure:
|
||||||
|
# https://gitlab.gnome.org/GNOME/mutter/-/issues/1682
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://gitlab.gnome.org/GNOME/mutter/commit/91117bb052ed0d69c8ea4159c1df15c814d90627.patch";
|
||||||
|
sha256 = "ek8hEoPP4S2TGOm6SGGOhUVIp4OT68nz0SQzZrceFUU=";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
|
@ -155,7 +162,7 @@ let self = stdenv.mkDerivation rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A window manager for GNOME";
|
description = "A window manager for GNOME";
|
||||||
homepage = "https://gitlab.gnome.org/GNOME/mutter";
|
homepage = "https://gitlab.gnome.org/GNOME/mutter";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2Plus;
|
||||||
maintainers = teams.gnome.members;
|
maintainers = teams.gnome.members;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
|
|
|
@ -9,6 +9,8 @@
|
||||||
, python3
|
, python3
|
||||||
, wrapGAppsHook
|
, wrapGAppsHook
|
||||||
, gtk3
|
, gtk3
|
||||||
|
, libhandy
|
||||||
|
, libportal
|
||||||
, gnome3
|
, gnome3
|
||||||
, gnome-autoar
|
, gnome-autoar
|
||||||
, glib-networking
|
, glib-networking
|
||||||
|
@ -32,11 +34,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "nautilus";
|
pname = "nautilus";
|
||||||
version = "3.38.2";
|
version = "40.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "19ln84d6s05h6cvx3c500bg5pvkz4k6p6ykmr2201rblq9afp76h";
|
sha256 = "0cwxr7bfa19dvzra81s9wfshzv0zv7ycpfffn4amigd0fh0vkkwf";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -71,6 +73,8 @@ stdenv.mkDerivation rec {
|
||||||
gsettings-desktop-schemas
|
gsettings-desktop-schemas
|
||||||
gst_all_1.gst-plugins-base
|
gst_all_1.gst-plugins-base
|
||||||
gtk3
|
gtk3
|
||||||
|
libhandy
|
||||||
|
libportal
|
||||||
libexif
|
libexif
|
||||||
libnotify
|
libnotify
|
||||||
libseccomp
|
libseccomp
|
||||||
|
|
|
@ -96,6 +96,7 @@ stdenv.mkDerivation rec {
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
packageName = pname;
|
packageName = pname;
|
||||||
attrPath = "gnome3.${pname}";
|
attrPath = "gnome3.${pname}";
|
||||||
|
versionPolicy = "odd-unstable";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue