Merge pull request #83618 from NixOS/staging-next

Staging next
This commit is contained in:
Frederik Rietdijk 2020-04-05 13:13:21 +02:00 committed by GitHub
commit e50c67ad7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
335 changed files with 2132 additions and 2109 deletions

View File

@ -23,6 +23,9 @@
Support is planned until the end of April 2021, handing over to 21.03. Support is planned until the end of April 2021, handing over to 21.03.
</para> </para>
</listitem> </listitem>
<listitem>
<para>GNOME desktop environment was upgraded to 3.36, see its <link xlink:href="https://help.gnome.org/misc/release-notes/3.36/">release notes</link>.</para>
</listitem>
<listitem> <listitem>
<para> <para>
PHP now defaults to PHP 7.4, updated from 7.3. PHP now defaults to PHP 7.4, updated from 7.3.

View File

@ -77,7 +77,7 @@ with lib;
if [ -w "$themedir" ]; then if [ -w "$themedir" ]; then
rm -f "$themedir"/icon-theme.cache rm -f "$themedir"/icon-theme.cache
${pkgs.gtk3.out}/bin/gtk-update-icon-cache --ignore-theme-index "$themedir" ${pkgs.buildPackages.gtk3.out}/bin/gtk-update-icon-cache --ignore-theme-index "$themedir"
fi fi
done done
''; '';

View File

@ -76,7 +76,7 @@ in
XMODIFIERS = "@im=ibus"; XMODIFIERS = "@im=ibus";
}; };
xdg.portal.extraPortals = mkIf xdg.portal.enable [ xdg.portal.extraPortals = mkIf config.xdg.portal.enable [
ibusPackage ibusPackage
]; ];
}; };

View File

@ -39,6 +39,8 @@ with lib;
services.dbus.packages = [ pkgs.gnome3.gnome-keyring pkgs.gcr ]; services.dbus.packages = [ pkgs.gnome3.gnome-keyring pkgs.gcr ];
xdg.portal.extraPortals = [ pkgs.gnome3.gnome-keyring ];
security.pam.services.login.enableGnomeKeyring = true; security.pam.services.login.enableGnomeKeyring = true;
security.wrappers.gnome-keyring-daemon = { security.wrappers.gnome-keyring-daemon = {

View File

@ -5,20 +5,6 @@ with lib;
let let
cfg = config.networking.rxe; cfg = config.networking.rxe;
runRxeCmd = cmd: ifcs:
concatStrings ( map (x: "${pkgs.rdma-core}/bin/rxe_cfg -n ${cmd} ${x};") ifcs);
startScript = pkgs.writeShellScriptBin "rxe-start" ''
${pkgs.rdma-core}/bin/rxe_cfg -n start
${runRxeCmd "add" cfg.interfaces}
${pkgs.rdma-core}/bin/rxe_cfg
'';
stopScript = pkgs.writeShellScriptBin "rxe-stop" ''
${runRxeCmd "remove" cfg.interfaces }
${pkgs.rdma-core}/bin/rxe_cfg -n stop
'';
in { in {
###### interface ###### interface
@ -31,9 +17,8 @@ in {
example = [ "eth0" ]; example = [ "eth0" ];
description = '' description = ''
Enable RDMA on the listed interfaces. The corresponding virtual Enable RDMA on the listed interfaces. The corresponding virtual
RDMA interfaces will be named rxe0 ... rxeN where the ordering RDMA interfaces will be named rxe_<interface>.
will be as they are named in the list. UDP port 4791 must be UDP port 4791 must be open on the respective ethernet interfaces.
open on the respective ethernet interfaces.
''; '';
}; };
}; };
@ -44,7 +29,6 @@ in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
systemd.services.rxe = { systemd.services.rxe = {
path = with pkgs; [ kmod rdma-core ];
description = "RoCE interfaces"; description = "RoCE interfaces";
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
@ -54,8 +38,13 @@ in {
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";
RemainAfterExit = true; RemainAfterExit = true;
ExecStart = "${startScript}/bin/rxe-start"; ExecStart = map ( x:
ExecStop = "${stopScript}/bin/rxe-stop"; "${pkgs.iproute}/bin/rdma link add rxe_${x} type rxe netdev ${x}"
) cfg.interfaces;
ExecStop = map ( x:
"${pkgs.iproute}/bin/rdma link delete rxe_${x}"
) cfg.interfaces;
}; };
}; };
}; };

View File

@ -184,7 +184,7 @@ in
wmCommand = "${pkgs.gnome3.metacity}/bin/metacity"; wmCommand = "${pkgs.gnome3.metacity}/bin/metacity";
} ++ cfg.flashback.customSessions); } ++ cfg.flashback.customSessions);
security.pam.services.gnome-screensaver = { security.pam.services.gnome-flashback = {
enableGnomeKeyring = true; enableGnomeKeyring = true;
}; };
@ -195,9 +195,10 @@ in
inherit (wm) wmName; inherit (wm) wmName;
}) cfg.flashback.customSessions); }) cfg.flashback.customSessions);
services.dbus.packages = [ # gnome-panel needs these for menu applet
pkgs.gnome3.gnome-screensaver environment.sessionVariables.XDG_DATA_DIRS = [ "${pkgs.gnome3.gnome-flashback}/share" ];
]; # TODO: switch to sessionVariables (resolve conflict)
environment.variables.XDG_CONFIG_DIRS = [ "${pkgs.gnome3.gnome-flashback}/etc/xdg" ];
}) })
(mkIf serviceCfg.core-os-services.enable { (mkIf serviceCfg.core-os-services.enable {
@ -256,7 +257,6 @@ in
systemd.packages = with pkgs.gnome3; [ systemd.packages = with pkgs.gnome3; [
gnome-session gnome-session
gnome-shell gnome-shell
vino
]; ];
services.avahi.enable = mkDefault true; services.avahi.enable = mkDefault true;
@ -308,7 +308,7 @@ in
environment = mkForce {}; environment = mkForce {};
}; };
# Adapt from https://gitlab.gnome.org/GNOME/gnome-build-meta/blob/gnome-3-32/elements/core/meta-gnome-core-shell.bst # Adapt from https://gitlab.gnome.org/GNOME/gnome-build-meta/blob/gnome-3-36/elements/core/meta-gnome-core-shell.bst
environment.systemPackages = with pkgs.gnome3; [ environment.systemPackages = with pkgs.gnome3; [
adwaita-icon-theme adwaita-icon-theme
gnome-backgrounds gnome-backgrounds
@ -327,11 +327,10 @@ in
pkgs.hicolor-icon-theme pkgs.hicolor-icon-theme
pkgs.shared-mime-info # for update-mime-database pkgs.shared-mime-info # for update-mime-database
pkgs.xdg-user-dirs # Update user dirs as described in http://freedesktop.org/wiki/Software/xdg-user-dirs/ pkgs.xdg-user-dirs # Update user dirs as described in http://freedesktop.org/wiki/Software/xdg-user-dirs/
vino
]; ];
}) })
# Adapt from https://gitlab.gnome.org/GNOME/gnome-build-meta/blob/gnome-3-32/elements/core/meta-gnome-core-utilities.bst # Adapt from https://gitlab.gnome.org/GNOME/gnome-build-meta/blob/gnome-3-36/elements/core/meta-gnome-core-utilities.bst
(mkIf serviceCfg.core-utilities.enable { (mkIf serviceCfg.core-utilities.enable {
environment.systemPackages = (with pkgs.gnome3; removePackagesByName [ environment.systemPackages = (with pkgs.gnome3; removePackagesByName [
baobab baobab

View File

@ -28,7 +28,7 @@ in {
# Test if rxe interface comes up # Test if rxe interface comes up
server.wait_for_unit("default.target") server.wait_for_unit("default.target")
server.succeed("systemctl status rxe.service") server.succeed("systemctl status rxe.service")
server.succeed("ibv_devices | grep rxe0") server.succeed("ibv_devices | grep rxe_eth1")
client.wait_for_unit("default.target") client.wait_for_unit("default.target")

View File

@ -40,6 +40,7 @@ rustPlatform.buildRustPackage rec {
pkgconfig pkgconfig
python3 python3
wrapGAppsHook wrapGAppsHook
glib # for glib-compile-resources
]; ];
buildInputs = [ buildInputs = [

View File

@ -9,9 +9,8 @@ stdenv.mkDerivation {
patches = [ ./no_error.patch ]; patches = [ ./no_error.patch ];
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ scons.py2 pkgconfig ];
buildInputs = [ buildInputs = [
scons
qt4 qt4
lash lash
jack jack

View File

@ -28,10 +28,11 @@ mkDerivation rec {
sha256 = "1h7q25fv62c5m74d4cn1m6mpanmqpbl2wqbch4qvn488jb2jw1dv"; sha256 = "1h7q25fv62c5m74d4cn1m6mpanmqpbl2wqbch4qvn488jb2jw1dv";
}; };
nativeBuildInputs = [ scons.py2 ];
buildInputs = [ buildInputs = [
chromaprint fftw flac faad2 glibcLocales mp4v2 libid3tag libmad libopus libshout241 libsndfile chromaprint fftw flac faad2 glibcLocales mp4v2 libid3tag libmad libopus libshout241 libsndfile
libusb1 libvorbis libxcb libGLU lilv lv2 opusfile pkgconfig portaudio portmidi protobuf qtbase qtscript qtsvg libusb1 libvorbis libxcb libGLU lilv lv2 opusfile pkgconfig portaudio portmidi protobuf qtbase qtscript qtsvg
qtx11extras rubberband scons sqlite taglib upower vamp-plugin-sdk qtx11extras rubberband sqlite taglib upower vamp-plugin-sdk
]; ];
enableParallelBuilding = true; enableParallelBuilding = true;

View File

@ -15,7 +15,7 @@ in stdenv.mkDerivation {
}; };
nativeBuildInputs = [ nativeBuildInputs = [
scons pkgconfig scons.py2 pkgconfig
]; ];
buildInputs = [ buildInputs = [

View File

@ -27,7 +27,6 @@ in stdenv.mkDerivation rec{
passthru = { passthru = {
updateScript = gnome3.updateScript { updateScript = gnome3.updateScript {
packageName = pname; packageName = pname;
attrPath = "gnome3.${pname}";
}; };
}; };

View File

@ -98,6 +98,8 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
passthru = { inherit skia; };
meta = with lib; { meta = with lib; {
homepage = https://www.aseprite.org/; homepage = https://www.aseprite.org/;
description = "Animated sprite editor & pixel art tool"; description = "Animated sprite editor & pixel art tool";

View File

@ -6,6 +6,14 @@
let let
# skia-deps.nix is generated by: ./skia-make-deps.sh 'angle2|dng_sdk|piex|sfntly' # skia-deps.nix is generated by: ./skia-make-deps.sh 'angle2|dng_sdk|piex|sfntly'
depSrcs = import ./skia-deps.nix { inherit fetchgit; }; depSrcs = import ./skia-deps.nix { inherit fetchgit; };
gnOld = gn.overrideAttrs (oldAttrs: rec {
version = "20190403";
src = fetchgit {
url = "https://gn.googlesource.com/gn";
rev = "64b846c96daeb3eaf08e26d8a84d8451c6cb712b";
sha256 = "1v2kzsshhxn0ck6gd5w16gi2m3higwd9vkyylmsczxfxnw8skgpy";
};
});
in in
stdenv.mkDerivation { stdenv.mkDerivation {
name = "skia-aseprite-m71"; name = "skia-aseprite-m71";
@ -14,11 +22,11 @@ stdenv.mkDerivation {
owner = "aseprite"; owner = "aseprite";
repo = "skia"; repo = "skia";
# latest commit from aseprite-m71 branch # latest commit from aseprite-m71 branch
rev = "89e4ca4352d05adc892f5983b108433f29b2c0c2"; rev = "89e4ca4352d05adc892f5983b108433f29b2c0c2"; # TODO: Remove the gnOld override
sha256 = "0n3vrkswvi6rib9zv2pzi18h3j5wm7flmgkgaikcm6q7iw4l2c7x"; sha256 = "0n3vrkswvi6rib9zv2pzi18h3j5wm7flmgkgaikcm6q7iw4l2c7x";
}; };
nativeBuildInputs = [ python2 gn ninja ]; nativeBuildInputs = [ python2 gnOld ninja ];
buildInputs = [ buildInputs = [
fontconfig expat icu58 libglvnd libjpeg libpng libwebp zlib fontconfig expat icu58 libglvnd libjpeg libpng libwebp zlib

View File

@ -5,7 +5,6 @@
, docbook_xsl , docbook_xsl
, docbook_xml_dtd_43 , docbook_xml_dtd_43
, fetchurl , fetchurl
, fetchpatch
, flatpak , flatpak
, gnome3 , gnome3
, libgit2-glib , libgit2-glib
@ -18,6 +17,7 @@
, jsonrpc-glib , jsonrpc-glib
, libdazzle , libdazzle
, libpeas , libpeas
, libportal
, libxml2 , libxml2
, meson , meson
, ninja , ninja
@ -39,25 +39,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-builder"; pname = "gnome-builder";
version = "3.34.1"; version = "3.36.0";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "19018pq94cxf6fywd7fsmy98x56by5zfmh140pl530gaaw84cvhb"; sha256 = "G0nl6DVzb3k6cN2guFIe/XNhFNhKbaq5e8wz62VA0Qo=";
}; };
patches = [
# Fix build with Meson 0.52
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gnome-builder/commit/c8b862b491cfbbb4f79b24d7cd90e4fb1f37cb9f.patch";
sha256 = "0n8kg7nnjqmbnyag1ps6dvrlqrxc94djjncqx10d6y7ijwdxf4w8";
})
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gnome-builder/commit/da26dfbf78468f5ed724e022b300a07862a95833.patch";
sha256 = "0psa65bzjpjj7vc5rknv2w2dz3p50jjv10s6j2fd6lpw8j2800k4";
})
];
nativeBuildInputs = [ nativeBuildInputs = [
appstream-glib appstream-glib
desktop-file-utils desktop-file-utils
@ -65,7 +53,7 @@ stdenv.mkDerivation rec {
docbook_xml_dtd_43 docbook_xml_dtd_43
gobject-introspection gobject-introspection
gtk-doc gtk-doc
(meson.override ({ inherit stdenv; })) meson
ninja ninja
pkgconfig pkgconfig
python3 python3
@ -80,6 +68,7 @@ stdenv.mkDerivation rec {
gnome3.glade gnome3.glade
libgit2-glib libgit2-glib
libpeas libpeas
libportal
vte vte
gspell gspell
gtk3 gtk3
@ -109,8 +98,6 @@ stdenv.mkDerivation rec {
patchShebangs build-aux/meson/post_install.py patchShebangs build-aux/meson/post_install.py
''; '';
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
mesonFlags = [ mesonFlags = [
"-Dpython_libprefix=${python3.libPrefix}" "-Dpython_libprefix=${python3.libPrefix}"
"-Ddocs=true" "-Ddocs=true"

View File

@ -69,7 +69,7 @@ stdenv.mkDerivation rec {
openssl.dev openssl.dev
racket racket
]; ];
nativeBuildInputs = [ scons ]; nativeBuildInputs = [ scons.py2 ];
patches = [ ./fix-build.patch ]; patches = [ ./fix-build.patch ];
sconsFlags = [ sconsFlags = [

View File

@ -2,6 +2,7 @@
mkDerivation, lib, extra-cmake-modules mkDerivation, lib, extra-cmake-modules
, qtbase, qtdeclarative, ki18n, kmime, kpkpass , qtbase, qtdeclarative, ki18n, kmime, kpkpass
, poppler, kcontacts, kcalendarcore , poppler, kcontacts, kcalendarcore
, shared-mime-info
}: }:
mkDerivation { mkDerivation {
@ -10,7 +11,10 @@ mkDerivation {
license = with lib.licenses; [ lgpl21 ]; license = with lib.licenses; [ lgpl21 ];
maintainers = [ lib.maintainers.bkchr ]; maintainers = [ lib.maintainers.bkchr ];
}; };
nativeBuildInputs = [ extra-cmake-modules ]; nativeBuildInputs = [
extra-cmake-modules
shared-mime-info # for update-mime-database
];
buildInputs = [ buildInputs = [
qtbase qtdeclarative ki18n kmime kpkpass poppler qtbase qtdeclarative ki18n kmime kpkpass poppler
kcontacts kcalendarcore kcontacts kcalendarcore

View File

@ -35,13 +35,13 @@
buildPythonApplication rec { buildPythonApplication rec {
pname = "orca"; pname = "orca";
version = "3.34.2"; version = "3.36.0";
format = "other"; format = "other";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0aaagz8mxvfigrsdbmg22q44vf5yhkbw4rh4cnizysbfvijk4dan"; sha256 = "0yrkl0j1mm4fd5zib8jvbfgm2iyanlx05vhhnmjcmvpm464c7pf9";
}; };
patches = [ patches = [

View File

@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
patches = [ ./qt-5.11.patch ./scons.patch ]; patches = [ ./qt-5.11.patch ./scons.patch ];
nativeBuildInputs = [ pkgconfig qttools scons ]; nativeBuildInputs = [ pkgconfig qttools scons.py2 ];
buildInputs = [ buildInputs = [
GConf avahi boost hunspell libXScrnSaver libedit libidn libnatpmp libxml2 GConf avahi boost hunspell libXScrnSaver libedit libidn libnatpmp libxml2

View File

@ -1,5 +1,6 @@
{ stdenv { stdenv
, fetchurl , fetchurl
, fetchpatch
, pkgconfig , pkgconfig
, dconf , dconf
, telepathy-glib , telepathy-glib
@ -19,6 +20,16 @@ stdenv.mkDerivation rec {
sha256 = "00xxv38cfdirnfvgyd56m60j0nkmsv5fz6p2ydyzsychicxl6ssc"; sha256 = "00xxv38cfdirnfvgyd56m60j0nkmsv5fz6p2ydyzsychicxl6ssc";
}; };
patches = [
# Fix property name (new GLib is stricter)
# https://github.com/NixOS/nixpkgs/pull/81626#issuecomment-601494939
# https://gitlab.gnome.org/GNOME/polari/-/merge_requests/141
(fetchpatch {
url = "https://github.com/TelepathyIM/telepathy-mission-control/commit/d8dab08fe8db137c6bbd8bbdc3d9b01d98c48910.patch";
sha256 = "Sw+V5QcWQ5zugwTTdkwa3pqV+v5XD0OhH6xI5ymgkOU=";
})
];
buildInputs = [ buildInputs = [
python3 python3
]; # ToDo: optional stuff missing ]; # ToDo: optional stuff missing

View File

@ -2,6 +2,7 @@
, pkgconfig , pkgconfig
, python3 , python3
, fetchhg , fetchhg
, fetchpatch
, gtk3 , gtk3
, glib , glib
, gdbm , gdbm
@ -25,6 +26,14 @@ stdenv.mkDerivation rec {
sha256 = "11iibh36567814h2bz41sa1072b86p1l13xyj670pwkh9k8kw8fd"; sha256 = "11iibh36567814h2bz41sa1072b86p1l13xyj670pwkh9k8kw8fd";
}; };
patches = [
# Fix docs build
(fetchpatch {
url = "https://bitbucket.org/linuxonly/modem-manager-gui/commits/68fb09c12413b7de9b7477cbf4241c3527568325/raw";
sha256 = "58XIT/RTZ9sjUK2e47h+SqpRWhQ2vbKb2h9MKiHNdgw=";
})
];
nativeBuildInputs = [ nativeBuildInputs = [
pkgconfig pkgconfig
python3 python3

View File

@ -2,7 +2,7 @@
, fetchFromGitHub , fetchFromGitHub
, pantheon , pantheon
, pkgconfig , pkgconfig
, vala , vala_0_46
, cmake , cmake
, ninja , ninja
, gtk3 , gtk3
@ -30,7 +30,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
ninja ninja
vala # fails with newer vala: https://github.com/Philip-Scott/Notes-up/issues/349
vala_0_46
pkgconfig pkgconfig
wrapGAppsHook wrapGAppsHook
]; ];
@ -59,7 +60,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Markdown notes editor and manager designed for elementary OS" description = "Markdown notes editor and manager designed for elementary OS"
+ stdenv.lib.optionalString withPantheon " - built with Contractor support"; + stdenv.lib.optionalString withPantheon " - built with Contractor support";
homepage = https://github.com/Philip-Scott/Notes-up; homepage = "https://github.com/Philip-Scott/Notes-up";
license = licenses.gpl2; license = licenses.gpl2;
maintainers = with maintainers; [ davidak worldofpeace ]; maintainers = with maintainers; [ davidak worldofpeace ];
platforms = platforms.linux; platforms = platforms.linux;

View File

@ -1,36 +1,33 @@
{ stdenv, lib, fetchFromGitHub { stdenv, lib, fetchFromGitHub
, cmake , pkgconfig, libusb , cmake , pkgconfig, libusb1
}: }:
let stdenv.mkDerivation rec {
pname = "airspy";
version = "1.0.9"; version = "1.0.9";
in
stdenv.mkDerivation {
pname = "airspy";
inherit version;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "airspy"; owner = "airspy";
repo = "airspyone_host"; repo = "airspyone_host";
rev = "v${version}"; rev = "v${version}";
sha256 = "04kx2p461sqd4q354n1a99zcabg9h29dwcnyhakykq8bpg3mgf1x"; sha256 = "04kx2p461sqd4q354n1a99zcabg9h29dwcnyhakykq8bpg3mgf1x";
}; };
postPatch = '' postPatch = ''
substituteInPlace airspy-tools/CMakeLists.txt --replace "/etc/udev/rules.d" "$out/etc/udev/rules.d" substituteInPlace airspy-tools/CMakeLists.txt --replace "/etc/udev/rules.d" "$out/etc/udev/rules.d"
''; '';
nativeBuildInputs = [ cmake pkgconfig ]; nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ libusb ]; buildInputs = [ libusb1 ];
cmakeFlags = cmakeFlags =
lib.optionals stdenv.isLinux [ "-DINSTALL_UDEV_RULES=ON" ]; lib.optionals stdenv.isLinux [ "-DINSTALL_UDEV_RULES=ON" ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://github.com/airspy/airspyone_host; homepage = https://github.com/airspy/airspyone_host;
description = "Host tools and driver library for the AirSpy SDR"; description = "Host tools and driver library for the AirSpy SDR";
license = licenses.bsd3; license = licenses.bsd3;
platforms = with platforms; linux ++ darwin; platforms = with platforms; linux ++ darwin;
maintainers = with maintainers; [ markuskowa ]; maintainers = with maintainers; [ markuskowa ];
}; };
} }

View File

@ -2,7 +2,7 @@
, fetchFromGitHub , fetchFromGitHub
, pkgconfig , pkgconfig
, libbladeRF , libbladeRF
, libusb , libusb1
, ncurses , ncurses
, rtl-sdr , rtl-sdr
}: }:
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
buildInputs = [ buildInputs = [
libbladeRF libbladeRF
libusb libusb1
ncurses ncurses
rtl-sdr rtl-sdr
]; ];

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, libusb, fftwSinglePrec }: { stdenv, fetchFromGitHub, cmake, pkgconfig, libusb1, fftwSinglePrec }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "hackrf"; pname = "hackrf";
@ -11,9 +11,14 @@ stdenv.mkDerivation rec {
sha256 = "0idh983xh6gndk9kdgx5nzz76x3mxb42b02c5xvdqahadsfx3b9w"; sha256 = "0idh983xh6gndk9kdgx5nzz76x3mxb42b02c5xvdqahadsfx3b9w";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [
cmake
pkgconfig
];
buildInputs = [ buildInputs = [
cmake libusb fftwSinglePrec libusb1
fftwSinglePrec
]; ];
cmakeFlags = [ "-DUDEV_RULES_GROUP=plugdev" "-DUDEV_RULES_PATH=lib/udev/rules.d" ]; cmakeFlags = [ "-DUDEV_RULES_GROUP=plugdev" "-DUDEV_RULES_PATH=lib/udev/rules.d" ];

View File

@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, pkgconfig, cmake, { stdenv, fetchFromGitHub, pkgconfig, cmake,
libzip, boost, fftw, qtbase, libzip, boost, fftw, qtbase,
libusb, wrapQtAppsHook, libsigrok4dsl, libsigrokdecode4dsl libusb1, wrapQtAppsHook, libsigrok4dsl, libsigrokdecode4dsl
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake pkgconfig wrapQtAppsHook ]; nativeBuildInputs = [ cmake pkgconfig wrapQtAppsHook ];
buildInputs = [ buildInputs = [
boost fftw qtbase libusb libzip libsigrokdecode4dsl libsigrok4dsl boost fftw qtbase libusb1 libzip libsigrokdecode4dsl libsigrok4dsl
]; ];
enableParallelBuilding = true; enableParallelBuilding = true;

View File

@ -1,5 +1,5 @@
{ stdenv, pkgconfig, autoreconfHook, { stdenv, pkgconfig, autoreconfHook,
glib, libzip, libserialport, check, libusb, libftdi, glib, libzip, libserialport, check, libusb1, libftdi,
systemd, alsaLib, dsview systemd, alsaLib, dsview
}: }:
@ -15,7 +15,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [ pkgconfig autoreconfHook ]; nativeBuildInputs = [ pkgconfig autoreconfHook ];
buildInputs = [ buildInputs = [
glib libzip libserialport libusb libftdi systemd check alsaLib glib libzip libserialport libusb1 libftdi systemd check alsaLib
]; ];
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -95,7 +95,15 @@ stdenv.mkDerivation {
++ stdenv.lib.optionals stdenv.isSunOS ["INSTALL=install" "NO_INET_NTOP=" "NO_INET_PTON="] ++ stdenv.lib.optionals stdenv.isSunOS ["INSTALL=install" "NO_INET_NTOP=" "NO_INET_PTON="]
++ (if stdenv.isDarwin then ["NO_APPLE_COMMON_CRYPTO=1"] else ["sysconfdir=/etc"]) ++ (if stdenv.isDarwin then ["NO_APPLE_COMMON_CRYPTO=1"] else ["sysconfdir=/etc"])
++ stdenv.lib.optionals stdenv.hostPlatform.isMusl ["NO_SYS_POLL_H=1" "NO_GETTEXT=YesPlease"] ++ stdenv.lib.optionals stdenv.hostPlatform.isMusl ["NO_SYS_POLL_H=1" "NO_GETTEXT=YesPlease"]
++ stdenv.lib.optional withpcre2 "USE_LIBPCRE2=1"; ++ stdenv.lib.optional withpcre2 "USE_LIBPCRE2=1"
# git-gui refuses to start with the version of tk distributed with
# macOS Catalina. We can prevent git from building the .app bundle
# by specifying an invalid tk framework. The postInstall step will
# then ensure that git-gui uses tcl/tk from nixpkgs, which is an
# acceptable version.
#
# See https://github.com/Homebrew/homebrew-core/commit/dfa3ccf1e7d3901e371b5140b935839ba9d8b706
++ stdenv.lib.optional stdenv.isDarwin "TKFRAMEWORK=/nonexistent";
postBuild = '' postBuild = ''
@ -232,7 +240,6 @@ stdenv.mkDerivation {
for prog in bin/gitk libexec/git-core/{git-gui,git-citool,git-gui--askpass}; do for prog in bin/gitk libexec/git-core/{git-gui,git-citool,git-gui--askpass}; do
sed -i -e "s|exec 'wish'|exec '${tk}/bin/wish'|g" \ sed -i -e "s|exec 'wish'|exec '${tk}/bin/wish'|g" \
-e "s|exec wish|exec '${tk}/bin/wish'|g" \ -e "s|exec wish|exec '${tk}/bin/wish'|g" \
-e "s|exec \"[^\"]*/MacOS/Wish\"|exec '${tk}/bin/wish'|g" \
"$out/$prog" "$out/$prog"
done done
ln -s $out/share/git/contrib/completion/git-completion.bash $out/share/bash-completion/completions/gitk ln -s $out/share/git/contrib/completion/git-completion.bash $out/share/bash-completion/completions/gitk

View File

@ -17,7 +17,13 @@ stdenv.mkDerivation rec {
sha256 = "1lz1vik6abn1i1pvxhm55c9g47nxxv755wb2ijszwswwrwgvq5b9"; sha256 = "1lz1vik6abn1i1pvxhm55c9g47nxxv755wb2ijszwswwrwgvq5b9";
}; };
patches = map fetchPatchFromAur [ patches = [
(fetchpatch {
name = "bombono-dvd-1.2.4-scons3.patch";
url = "https://svnweb.mageia.org/packages/cauldron/bombono-dvd/current/SOURCES/bombono-dvd-1.2.4-scons-python3.patch?revision=1447925&view=co&pathrev=1484457";
sha256 = "081116d0if6s2r1rgqfr1n5gl3kpvzk01pf4v2k7gg2rnid83qp4";
})
] ++ (map fetchPatchFromAur [
{name="fix_ffmpeg_codecid.patch"; sha256="1asfc0lqzk4gjssrvjmsi1xr53ygnsx2sh7c8yzp5r3j2bagxhp7";} {name="fix_ffmpeg_codecid.patch"; sha256="1asfc0lqzk4gjssrvjmsi1xr53ygnsx2sh7c8yzp5r3j2bagxhp7";}
{name="fix_ptr2bool_cast.patch"; sha256="0iqzrmbg38ikh4x9cmx0v0rnm7a9lcq0kd8sh1z9yfmnz71qqahg";} {name="fix_ptr2bool_cast.patch"; sha256="0iqzrmbg38ikh4x9cmx0v0rnm7a9lcq0kd8sh1z9yfmnz71qqahg";}
{name="fix_c++11_literal_warnings.patch"; sha256="1zbf12i77p0j0090pz5lzg4a7kyahahzqssybv7vi0xikwvw57w9";} {name="fix_c++11_literal_warnings.patch"; sha256="1zbf12i77p0j0090pz5lzg4a7kyahahzqssybv7vi0xikwvw57w9";}
@ -26,7 +32,7 @@ stdenv.mkDerivation rec {
{name="fix_throw_specifications.patch"; sha256="1f5gi3qwm843hsxvijq7sjy0s62xm7rnr1vdp7f242fi0ldq6c1n";} {name="fix_throw_specifications.patch"; sha256="1f5gi3qwm843hsxvijq7sjy0s62xm7rnr1vdp7f242fi0ldq6c1n";}
{name="fix_operator_ambiguity.patch"; sha256="0r4scsbsqfg6wgzsbfxxpckamvgyrida0n1ypg1klx24pk5dc7n7";} {name="fix_operator_ambiguity.patch"; sha256="0r4scsbsqfg6wgzsbfxxpckamvgyrida0n1ypg1klx24pk5dc7n7";}
{name="fix_ffmpeg30.patch"; sha256="1irva7a9bpbzs60ga8ypa3la9y84i5rz20jnd721qmfqp2yip8dw";} {name="fix_ffmpeg30.patch"; sha256="1irva7a9bpbzs60ga8ypa3la9y84i5rz20jnd721qmfqp2yip8dw";}
]; ]);
nativeBuildInputs = [ wrapGAppsHook scons pkgconfig gettext ]; nativeBuildInputs = [ wrapGAppsHook scons pkgconfig gettext ];

View File

@ -1,6 +1,6 @@
{ stdenv, callPackage, fetchFromGitHub { stdenv, callPackage, fetchFromGitHub
, cmake, kodiPlain, libcec_platform, tinyxml, rapidxml , cmake, kodiPlain, libcec_platform, tinyxml, rapidxml
, steam, libusb, pcre-cpp, jsoncpp, libhdhomerun, zlib , steam, udev, libusb1, jsoncpp, libhdhomerun, zlib
, python2Packages, expat, glib, nspr, nss, openssl , python2Packages, expat, glib, nspr, nss, openssl
, libssh, libarchive, lzma, bzip2, lz4, lzo }: , libssh, libarchive, lzma, bzip2, lz4, lzo }:
@ -236,8 +236,7 @@ let self = rec {
maintainers = with maintainers; [ edwtjo ]; maintainers = with maintainers; [ edwtjo ];
}; };
extraBuildInputs = [ libusb pcre-cpp ]; extraBuildInputs = [ udev ];
}; };
simpleplugin = mkKodiPlugin rec { simpleplugin = mkKodiPlugin rec {
@ -300,7 +299,7 @@ let self = rec {
sha256 = "1hbd8fdvn7xkr9csz1g9wah78nhnq1rkazl4zwa31y70830k3279"; sha256 = "1hbd8fdvn7xkr9csz1g9wah78nhnq1rkazl4zwa31y70830k3279";
}; };
extraBuildInputs = [ libusb ]; extraBuildInputs = [ libusb1 ];
meta = { meta = {
description = "Binary addon for steam controller."; description = "Binary addon for steam controller.";

View File

@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
sha256 = "1gkqx26pvlw00b3fgx6sh87yyjfzyj51jwxvbf9k117npkrf4b2g"; sha256 = "1gkqx26pvlw00b3fgx6sh87yyjfzyj51jwxvbf9k117npkrf4b2g";
}; };
nativeBuildInputs = [ meson ninja pkgconfig makeWrapper ]; nativeBuildInputs = [ meson ninja pkgconfig makeWrapper wayland ];
buildInputs = [ buildInputs = [
wlroots wayland wayland-protocols pixman libxkbcommon wlroots wayland wayland-protocols pixman libxkbcommon

View File

@ -181,6 +181,8 @@ stdenv.mkDerivation (args // {
doCheck = args.doCheck or true; doCheck = args.doCheck or true;
strictDeps = true;
inherit releaseDir; inherit releaseDir;
installPhase = args.installPhase or '' installPhase = args.installPhase or ''

View File

@ -42,7 +42,7 @@ patchShebangs() {
local newInterpreterLine local newInterpreterLine
if [ $# -eq 0 ]; then if [ $# -eq 0 ]; then
echo "No arguments supplied to patchShebangs" >0 echo "No arguments supplied to patchShebangs" >&2
return 0 return 0
fi fi
@ -66,7 +66,7 @@ patchShebangs() {
# - options: something starting with a '-' # - options: something starting with a '-'
# - environment variables: foo=bar # - environment variables: foo=bar
if $(echo "$arg0" | grep -q -- "^-.*\|.*=.*"); then if $(echo "$arg0" | grep -q -- "^-.*\|.*=.*"); then
echo "$f: unsupported interpreter directive \"$oldInterpreterLine\" (set dontPatchShebangs=1 and handle shebang patching yourself)" >0 echo "$f: unsupported interpreter directive \"$oldInterpreterLine\" (set dontPatchShebangs=1 and handle shebang patching yourself)" >&2
exit 1 exit 1
fi fi

View File

@ -9,5 +9,5 @@ stdenv.mkDerivation {
sha256 = "0wp08b1gh2chs1xri43wziznyjcplx0clpsrb13wzyscv290ay5a"; sha256 = "0wp08b1gh2chs1xri43wziznyjcplx0clpsrb13wzyscv290ay5a";
}; };
makeFlags = [ "DESTDIR=$(out)" "prefix=" ]; makeFlags = [ "DESTDIR=$(out)" "prefix=" ];
buildInputs = [ imagemagick ]; nativeBuildInputs = [ imagemagick ];
} }

View File

@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Osinfo database of information about operating systems for virtualization provisioning tools"; description = "Osinfo database of information about operating systems for virtualization provisioning tools";
homepage = "https://libosinfo.org/"; homepage = "https://gitlab.com/libosinfo/osinfo-db/";
license = licenses.gpl2Plus; license = licenses.gpl2Plus;
platforms = platforms.linux; platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ]; maintainers = [ maintainers.bjornfor ];

View File

@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
''; '';
configureFlags = [ configureFlags = [
"--with-gnome-shell=${stdenv.lib.versions.majorMinor gnome3.gnome-shell.version}" "--disable-gnome-shell" # 3.36 not supported
"--disable-unity" "--disable-unity"
]; ];

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, pkgconfig, cmake, ninja, vala_0_40, { stdenv, fetchFromGitHub, pkgconfig, cmake, ninja, vala_0_40, fetchpatch,
gettext, at-spi2-core, dbus, epoxy, expect, gtk3, json-glib, gettext, at-spi2-core, dbus, epoxy, expect, gtk3, json-glib,
libXdmcp, libgee, libpthreadstubs, librsvg, libsecret, libtasn1, libXdmcp, libgee, libpthreadstubs, librsvg, libsecret, libtasn1,
libxcb, libxkbcommon, p11-kit, pcre, vte, wnck, libselinux, gnutls, pcre2, libxcb, libxkbcommon, p11-kit, pcre, vte, wnck, libselinux, gnutls, pcre2,
@ -15,6 +15,14 @@ stdenv.mkDerivation rec {
sha256 = "1929saj828b438d07caw3cjhqq60v6gni7mi3fqrg9wdjz81xwv7"; sha256 = "1929saj828b438d07caw3cjhqq60v6gni7mi3fqrg9wdjz81xwv7";
}; };
patches = [
# Fix build with VTE 0.60
(fetchpatch {
url = "https://github.com/linuxdeepin/deepin-terminal/commit/542d1035b609698ee81aa7971d20ca8e5930743d.patch";
sha256 = "1pihiy70yc25fm5fx7i7v9gmi65v4mhldvi7xwv8rgr2z6hbfj41";
})
];
nativeBuildInputs = [ nativeBuildInputs = [
pkgconfig pkgconfig
cmake cmake

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, pkgconfig, go, gobject-introspection, { stdenv, fetchpatch, fetchFromGitHub, pkgconfig, go, gobject-introspection,
libgudev, deepin }: libgudev, deepin }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -12,6 +12,15 @@ stdenv.mkDerivation rec {
sha256 = "1ydzll8zlk897iqcihvv6p046p0rzr4qqz2drmz2nx95njp8n03a"; sha256 = "1ydzll8zlk897iqcihvv6p046p0rzr4qqz2drmz2nx95njp8n03a";
}; };
patches = [
# Fix compatibility with glib 2.63+
# https://github.com/linuxdeepin/go-gir-generator/pull/11
(fetchpatch {
url = "https://github.com/linuxdeepin/go-gir-generator/commit/7dea15a1a491f28d2ac8c411068ccefeba01aae3.patch";
sha256 = "7bn/mtruCcK+AIXMzhN2e3o7CuzuJ3mtTz0HOTEYTaA=";
})
];
nativeBuildInputs = [ nativeBuildInputs = [
pkgconfig pkgconfig
go go

View File

@ -17,13 +17,13 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
name = "accerciser-${version}"; name = "accerciser-${version}";
version = "3.34.4"; version = "3.36.0";
format = "other"; format = "other";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/accerciser/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; url = "mirror://gnome/sources/accerciser/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "0f1dixq5hc55dl3y0fr85bkrc2zk08n4dacqcjifij1dys4ks3z1"; sha256 = "1iwi7mnayw1f90s439flh0zkgmj4qx10dzgj38nd5f3wvqmhabk3";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -43,11 +43,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "evolution"; pname = "evolution";
version = "3.34.4"; version = "3.36.0";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/evolution/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/evolution/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "136vpaq94ymyn8pf3a3z1w45xlk1xbvwjdnzasq0d7iwbac0jwks"; sha256 = "0ylqvg52s6vc9xmyizcv3im66ra8xixzrfgn7hsmp12fg47na5vj";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -3,11 +3,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "file-roller"; pname = "file-roller";
version = "3.32.4"; version = "3.36.0";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/file-roller/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/file-roller/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "05s046br4fcli1d3wngh4jmwi0aikpfkl1px1cahskj4rfzjqfqv"; sha256 = "0y04y58sbggsgqzmxkb6q7300bdzf30w40yp57n87x9nypl4s55r";
}; };
LANG = "en_US.UTF-8"; # postinstall.py LANG = "en_US.UTF-8"; # postinstall.py

View File

@ -1,20 +1,21 @@
{ stdenv, meson, fetchurl, python3 { stdenv, meson, fetchurl, python3
, pkgconfig, gtk3, glib, adwaita-icon-theme , pkgconfig, gtk3, glib, adwaita-icon-theme
, libpeas, gtksourceview4, gsettings-desktop-schemas , libpeas, gtksourceview4, gsettings-desktop-schemas
, wrapGAppsHook, ninja, libsoup, libxml2 , wrapGAppsHook, ninja, libsoup, tepl
, gnome3, gspell, perl, itstool, desktop-file-utils }: , gnome3, gspell, perl, itstool, desktop-file-utils
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gedit"; pname = "gedit";
version = "3.34.1"; version = "3.36.0";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/gedit/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/gedit/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"; sha256 = "0dclapyghbkg15cjcf6nljcyy4980ipjw1m3mbqpmnz9lh9dv0y9";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
pkgconfig wrapGAppsHook meson ninja libxml2 pkgconfig wrapGAppsHook meson ninja
python3 perl itstool desktop-file-utils python3 perl itstool desktop-file-utils
]; ];
@ -23,6 +24,7 @@ stdenv.mkDerivation rec {
adwaita-icon-theme libsoup adwaita-icon-theme libsoup
libpeas gtksourceview4 libpeas gtksourceview4
gsettings-desktop-schemas gspell gsettings-desktop-schemas gspell
tepl
]; ];
postPatch = '' postPatch = ''

View File

@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
}; };
nativeBuildInputs = [ nativeBuildInputs = [
pkgconfig intltool itstool wrapGAppsHook docbook_xsl libxslt gobject-introspection pkgconfig intltool itstool wrapGAppsHook docbook_xsl libxslt libxml2 gobject-introspection
]; ];
buildInputs = [ buildInputs = [
gtk3 glib libxml2 python3 python3.pkgs.pygobject3 gtk3 glib libxml2 python3 python3.pkgs.pygobject3

View File

@ -34,7 +34,7 @@
, mtools , mtools
, cdrkit , cdrkit
, libcdio , libcdio
, libusb , libusb1
, libarchive , libarchive
, acl , acl
, libgudev , libgudev
@ -51,11 +51,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-boxes"; pname = "gnome-boxes";
version = "3.34.4"; version = "3.36.0";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/gnome-boxes/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/gnome-boxes/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1bqrl36nngbd8jpj31ipnywg2k0rg2j3bcgnyvn8r86ysh1gnm0f"; sha256 = "0saxz2mwp7y348izzgp7mmp6vnv5zi57x5rbsyag8s7pd7yp211n";
}; };
doCheck = true; doCheck = true;
@ -99,7 +99,7 @@ stdenv.mkDerivation rec {
librsvg librsvg
libsecret libsecret
libsoup libsoup
libusb libusb1
libvirt libvirt
libvirt-glib libvirt-glib
libxml2 libxml2

View File

@ -1,16 +1,16 @@
{ stdenv, fetchurl, meson, ninja, pkgconfig, wrapGAppsHook, libdazzle, libgweather, geoclue2, geocode-glib, python3 { stdenv, fetchurl, meson, ninja, pkgconfig, wrapGAppsHook, libdazzle, libgweather, geoclue2, geocode-glib, python3
, gettext, libxml2, gnome3, gtk3, evolution-data-server, libsoup , gettext, libxml2, gnome3, gtk3, evolution-data-server, libsoup
, glib, gnome-online-accounts, gsettings-desktop-schemas }: , glib, gnome-online-accounts, gsettings-desktop-schemas, libhandy }:
let let
pname = "gnome-calendar"; pname = "gnome-calendar";
version = "3.34.2"; version = "3.36.0";
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
name = "${pname}-${version}"; name = "${pname}-${version}";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "1bnmd191044zn2kr6f5vg7sm5q59qf7z652awll1f7s6ahijr8rw"; sha256 = "1cxy4qf83s8w1ys94rcc4ksf7ywi0hkkpfs0szkkip2v8g3j6kq2";
}; };
passthru = { passthru = {
@ -23,7 +23,7 @@ in stdenv.mkDerivation rec {
nativeBuildInputs = [ meson ninja pkgconfig gettext libxml2 wrapGAppsHook python3 ]; nativeBuildInputs = [ meson ninja pkgconfig gettext libxml2 wrapGAppsHook python3 ];
buildInputs = [ buildInputs = [
gtk3 evolution-data-server libsoup glib gnome-online-accounts libdazzle libgweather geoclue2 geocode-glib gtk3 evolution-data-server libsoup glib gnome-online-accounts libdazzle libgweather geoclue2 geocode-glib
gsettings-desktop-schemas gnome3.adwaita-icon-theme gsettings-desktop-schemas gnome3.adwaita-icon-theme libhandy
]; ];
postPatch = '' postPatch = ''

View File

@ -1,16 +1,37 @@
{ stdenv, fetchurl { stdenv
, meson, ninja, gettext, pkgconfig, wrapGAppsHook, itstool, desktop-file-utils , fetchurl
, vala, gobject-introspection, libxml2, gtk3, glib, gsound, sound-theme-freedesktop , meson
, gsettings-desktop-schemas, adwaita-icon-theme, gnome-desktop, geocode-glib , ninja
, gnome3, gdk-pixbuf, geoclue2, libgweather }: , gettext
, pkgconfig
, wrapGAppsHook
, itstool
, desktop-file-utils
, vala
, gobject-introspection
, libxml2
, gtk3
, glib
, gsound
, sound-theme-freedesktop
, gsettings-desktop-schemas
, adwaita-icon-theme
, gnome-desktop
, geocode-glib
, gnome3
, gdk-pixbuf
, geoclue2
, libgweather
, libhandy
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-clocks"; pname = "gnome-clocks";
version = "3.34.0"; version = "3.36.0";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/gnome-clocks/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/gnome-clocks/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0g7hjk55smhkd09hwa9kag3h5a12l494wj89w9smpdk3ghsmy6b1"; sha256 = "1ij9xwp3c96gsnnlhkqkiw3y45a4lpw7a09d4yysx7bvgw68p5sc";
}; };
passthru = { passthru = {
@ -23,12 +44,29 @@ stdenv.mkDerivation rec {
doCheck = true; doCheck = true;
nativeBuildInputs = [ nativeBuildInputs = [
vala meson ninja pkgconfig gettext itstool wrapGAppsHook desktop-file-utils libxml2 vala
meson
ninja
pkgconfig
gettext
itstool
wrapGAppsHook
desktop-file-utils
libxml2
gobject-introspection # for finding vapi files gobject-introspection # for finding vapi files
]; ];
buildInputs = [ buildInputs = [
gtk3 glib gsettings-desktop-schemas gdk-pixbuf adwaita-icon-theme gtk3
gnome-desktop geocode-glib geoclue2 libgweather gsound glib
gsettings-desktop-schemas
gdk-pixbuf
adwaita-icon-theme
gnome-desktop
geocode-glib
geoclue2
libgweather
gsound
libhandy
]; ];
preFixup = '' preFixup = ''

View File

@ -5,13 +5,13 @@
let let
pname = "gnome-maps"; pname = "gnome-maps";
version = "3.34.3"; version = "3.36.0";
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
name = "${pname}-${version}"; name = "${pname}-${version}";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "1p58il8dqj96nlv41gf926y8nw6ya15vmv9yr52025sizxaqzydw"; sha256 = "0kyd4f15bj409mhs97i94ggzwqdj3r3yjdmvvkn80pym0vw1xik5";
}; };
doCheck = true; doCheck = true;

View File

@ -16,6 +16,7 @@
, grilo-plugins , grilo-plugins
, pkgconfig , pkgconfig
, gtk3 , gtk3
, pango
, glib , glib
, desktop-file-utils , desktop-file-utils
, appstream-glib , appstream-glib
@ -29,13 +30,13 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "gnome-music"; pname = "gnome-music";
version = "3.34.4"; version = "3.36.0";
format = "other"; format = "other";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1l2jaf5jfdkqqpjxwahsjslb3sa2vlhjgpi1ib51is04ln729xb6"; sha256 = "01vjcaabd5m8vmicax7vaybsaml3wik4r85g4q8avdkzs8h4gz9h";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -53,6 +54,7 @@ python3.pkgs.buildPythonApplication rec {
buildInputs = [ buildInputs = [
gtk3 gtk3
pango
glib glib
libmediaart libmediaart
gnome-online-accounts gnome-online-accounts

View File

@ -1,18 +1,37 @@
{ stdenv, meson, ninja, gettext, fetchurl, pkgconfig { stdenv
, wrapGAppsHook, itstool, desktop-file-utils, python3 , meson
, glib, gtk3, evolution-data-server, gnome-online-accounts , ninja
, libuuid, webkitgtk, zeitgeist , gettext
, gnome3, libxml2, gsettings-desktop-schemas, tracker }: , fetchurl
, pkgconfig
, wrapGAppsHook
, itstool
, desktop-file-utils
, python3
, glib
, gtk3
, evolution-data-server
, gnome-online-accounts
, libuuid
, libhandy
, webkitgtk
, zeitgeist
, gnome3
, libxml2
, gsettings-desktop-schemas
, tracker
}:
let let
version = "3.34.2"; version = "3.36.0";
in stdenv.mkDerivation { in
stdenv.mkDerivation {
pname = "gnome-notes"; pname = "gnome-notes";
inherit version; inherit version;
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/bijiben/${stdenv.lib.versions.majorMinor version}/bijiben-${version}.tar.xz"; url = "mirror://gnome/sources/bijiben/${stdenv.lib.versions.majorMinor version}/bijiben-${version}.tar.xz";
sha256 = "0kmhivgamnv2kk5kywrwm4af4s7663rjwh2wdri8iy1n2gmc9qpv"; sha256 = "1pz53hdd888si7vfy6d9h8cwarsdm4wwn7ni7f3az9638h3ilmfv";
}; };
doCheck = true; doCheck = true;
@ -23,12 +42,26 @@ in stdenv.mkDerivation {
''; '';
nativeBuildInputs = [ nativeBuildInputs = [
meson ninja pkgconfig gettext itstool libxml2 desktop-file-utils python3 wrapGAppsHook meson
ninja
pkgconfig
gettext
itstool
libxml2
desktop-file-utils
python3
wrapGAppsHook
]; ];
buildInputs = [ buildInputs = [
glib gtk3 libuuid webkitgtk tracker glib
gnome-online-accounts zeitgeist gtk3
libuuid
libhandy
webkitgtk
tracker
gnome-online-accounts
zeitgeist
gsettings-desktop-schemas gsettings-desktop-schemas
evolution-data-server evolution-data-server
gnome3.adwaita-icon-theme gnome3.adwaita-icon-theme

View File

@ -1,19 +1,26 @@
{ stdenv, itstool, fetchurl, gdk-pixbuf, adwaita-icon-theme { stdenv, itstool, fetchurl, gdk-pixbuf, adwaita-icon-theme
, telepathy-glib, gjs, meson, ninja, gettext, telepathy-idle, libxml2, desktop-file-utils , telepathy-glib, gjs, meson, ninja, gettext, telepathy-idle, libxml2, desktop-file-utils
, pkgconfig, gtk3, glib, libsecret, libsoup, gobject-introspection, appstream-glib , pkgconfig, gtk3, glib, libsecret, libsoup, webkitgtk, gobject-introspection, appstream-glib
, gnome3, wrapGAppsHook, telepathy-logger, gspell, gsettings-desktop-schemas }: , gnome3, wrapGAppsHook, telepathy-logger, gspell, gsettings-desktop-schemas }:
let let
pname = "polari"; pname = "polari";
version = "3.34.1"; version = "3.36.0";
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
name = "${pname}-${version}"; name = "${pname}-${version}";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "0wcfkib673fpys7hcpi5cqc0zgqzqmqvpzjzx4wwmim8lb121x5w"; sha256 = "0wi7bpscm4rghlwljilsgrls5dy9p0b27k246a1vrdadjghc69l4";
}; };
patches = [
# Upstream runs the thumbnailer by passing it to gjs.
# If we wrap it in a shell script, gjs can no longer run it.
# Lets change the code to run the script directly by making it executable and having gjs in shebang.
./make-thumbnailer-wrappable.patch
];
propagatedUserEnvPkgs = [ telepathy-idle telepathy-logger ]; propagatedUserEnvPkgs = [ telepathy-idle telepathy-logger ];
nativeBuildInputs = [ nativeBuildInputs = [
@ -23,9 +30,13 @@ in stdenv.mkDerivation rec {
buildInputs = [ buildInputs = [
gtk3 glib adwaita-icon-theme gsettings-desktop-schemas gtk3 glib adwaita-icon-theme gsettings-desktop-schemas
telepathy-glib telepathy-logger gjs gspell gdk-pixbuf libsecret libsoup telepathy-glib telepathy-logger gjs gspell gdk-pixbuf libsecret libsoup webkitgtk
]; ];
postFixup = ''
wrapGApp "$out/share/polari/thumbnailer.js"
'';
passthru = { passthru = {
updateScript = gnome3.updateScript { updateScript = gnome3.updateScript {
packageName = pname; packageName = pname;

View File

@ -0,0 +1,24 @@
diff --git a/src/thumbnailer.js b/src/thumbnailer.js
old mode 100644
new mode 100755
index e2ad0a5..7ebf08a
--- a/src/thumbnailer.js
+++ b/src/thumbnailer.js
@@ -1,3 +1,4 @@
+#!/usr/bin/env gjs
imports.gi.versions.Gdk = '3.0';
imports.gi.versions.Gtk = '3.0';
diff --git a/src/urlPreview.js b/src/urlPreview.js
index f17e0be..ccffc32 100644
--- a/src/urlPreview.js
+++ b/src/urlPreview.js
@@ -44,7 +44,7 @@ class Thumbnailer {
_generateThumbnail(data) {
let { filename, uri } = data;
this._subProc = Gio.Subprocess.new(
- ['gjs', `${pkg.pkgdatadir}/thumbnailer.js`, uri, filename],
+ [`${pkg.pkgdatadir}/thumbnailer.js`, uri, filename],
Gio.SubprocessFlags.NONE);
this._subProc.wait_async(null, (o, res) => {
try {

View File

@ -22,15 +22,16 @@
, p11-kit , p11-kit
, openssh , openssh
, gsettings-desktop-schemas , gsettings-desktop-schemas
, libhandy
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "seahorse"; pname = "seahorse";
version = "3.34.1"; version = "3.36";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "19c2zylwgycb5q9hal8rmflc2sywc5c2grpsfsq3rf37i9lfwynw"; sha256 = "1nqn4a6dr4l1fpzj3mv4swhpnvhjcqlwsyhwm59sdzqgdfx4hbwr";
}; };
doCheck = true; doCheck = true;
@ -60,6 +61,7 @@ stdenv.mkDerivation rec {
openssh openssh
openldap openldap
libpwquality libpwquality
libhandy
]; ];
postPatch = '' postPatch = ''

View File

@ -3,11 +3,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "adwaita-icon-theme"; pname = "adwaita-icon-theme";
version = "3.34.3"; version = "3.36.0";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/adwaita-icon-theme/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/adwaita-icon-theme/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7"; sha256 = "066m3vd6k6xf3ap1ahrbw5hnx2322wf0qsnywcxjsj6snq9225qs";
}; };
# For convenience, we can specify adwaita-icon-theme only in packages # For convenience, we can specify adwaita-icon-theme only in packages

View File

@ -3,13 +3,13 @@
let let
pname = "dconf-editor"; pname = "dconf-editor";
version = "3.34.4"; version = "3.36.0";
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
name = "${pname}-${version}"; name = "${pname}-${version}";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "129a2klywvnrj49rz6p5camwsamajldqpsfkl1rgpm6nw0q2lnyy"; sha256 = "14q678bwgmhzmi7565xhhw51y8b0pv3cqh0f411qwzwif1bd1vkj";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -4,13 +4,13 @@
let let
pname = "eog"; pname = "eog";
version = "3.34.2"; version = "3.36.0";
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
name = "${pname}-${version}"; name = "${pname}-${version}";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "1lx96nn8q61ajk2m5454s9b5v5wyn7jbz2sf3k1irv8waiq0aavg"; sha256 = "0gnfpjp3ldvcij557dga4skj4ykb2idkyif7n1d758x42z2hh0s0";
}; };
nativeBuildInputs = [ meson ninja pkgconfig gettext itstool wrapGAppsHook libxml2 gobject-introspection python3 ]; nativeBuildInputs = [ meson ninja pkgconfig gettext itstool wrapGAppsHook libxml2 gobject-introspection python3 ];

View File

@ -3,6 +3,7 @@
, ninja , ninja
, gettext , gettext
, fetchurl , fetchurl
, fetchpatch
, pkgconfig , pkgconfig
, gtk3 , gtk3
, glib , glib
@ -30,17 +31,27 @@
, json-glib , json-glib
, libdazzle , libdazzle
, libhandy , libhandy
, buildPackages
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "epiphany"; pname = "epiphany";
version = "3.34.4"; version = "3.36.0";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/epiphany/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/epiphany/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "13ar3s40cds1rplwbzx0fzigf120w0rydiv05r3k6zpc0zy91qb0"; sha256 = "1xjn6jk4dx2kl2llalydcyvibnpwjahp9z3210pflyy4k68pfw6l";
}; };
patches = [
# Fix downloading files
# https://gitlab.gnome.org/GNOME/epiphany/issues/1127
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/epiphany/commit/8682a084bab7e758a9b8efe1deaf0cb8d55fcf44.patch";
sha256 = "bep+Q8Wpu84KA13a5T3JCz8nyeC13HT/QkMKvWT6vLk=";
})
];
# Tests need an X display # Tests need an X display
mesonFlags = [ mesonFlags = [
"-Dunit_tests=disabled" "-Dunit_tests=disabled"
@ -56,6 +67,7 @@ stdenv.mkDerivation rec {
pkgconfig pkgconfig
python3 python3
wrapGAppsHook wrapGAppsHook
buildPackages.glib
]; ];
buildInputs = [ buildInputs = [

View File

@ -43,13 +43,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "evince"; pname = "evince";
version = "3.34.2"; version = "3.36.0";
outputs = [ "out" "dev" "devdoc" ]; outputs = [ "out" "dev" "devdoc" ];
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/evince/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/evince/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "05q6v9lssd21623mnj2p49clj9v9csw9kay7n4nklki025grbh1w"; sha256 = "1a7v534sqbg7rlrvg9x1rffdf6p9n37blp3wix6anyfl6i99n7c5";
}; };
postPatch = '' postPatch = ''

View File

@ -6,13 +6,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "evolution-data-server"; pname = "evolution-data-server";
version = "3.34.4"; version = "3.36.0";
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/evolution-data-server/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/evolution-data-server/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1wz8mizblmvficxap6z9w62ymjwa8x99spnaljcwjl1wc55lnp4q"; sha256 = "1v4qjnggpwvafyqnkl1avsi3mpfxpcaz7kwxcf2iz7pvb1k0xmyl";
}; };
patches = [ patches = [

View File

@ -423,10 +423,10 @@ diff --git a/src/libedataserverui/e-reminders-widget.c b/src/libedataserverui/e-
index f89cd4a5c..06cca9b5f 100644 index f89cd4a5c..06cca9b5f 100644
--- a/src/libedataserverui/e-reminders-widget.c --- a/src/libedataserverui/e-reminders-widget.c
+++ b/src/libedataserverui/e-reminders-widget.c +++ b/src/libedataserverui/e-reminders-widget.c
@@ -1642,7 +1642,21 @@ static void @@ -1650,7 +1650,21 @@ static void
e_reminders_widget_init (ERemindersWidget *reminders) e_reminders_widget_init (ERemindersWidget *reminders)
{ {
reminders->priv = G_TYPE_INSTANCE_GET_PRIVATE (reminders, E_TYPE_REMINDERS_WIDGET, ERemindersWidgetPrivate); reminders->priv = e_reminders_widget_get_instance_private (reminders);
- reminders->priv->settings = g_settings_new ("org.gnome.evolution-data-server.calendar"); - reminders->priv->settings = g_settings_new ("org.gnome.evolution-data-server.calendar");
+ { + {
+ GSettingsSchemaSource *schema_source; + GSettingsSchemaSource *schema_source;

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-backgrounds"; pname = "gnome-backgrounds";
version = "3.34.0"; version = "3.36.0";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/gnome-backgrounds/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/gnome-backgrounds/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"; sha256 = "02xvfwfi3133mjljl731z2hj9hfmjas3a1jl4fxmy24xrzj83jxq";
}; };
passthru = { passthru = {

View File

@ -4,11 +4,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-calculator"; pname = "gnome-calculator";
version = "3.34.1"; version = "3.36.0";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/gnome-calculator/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/gnome-calculator/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"; sha256 = "1cqd4b25qp1i0p04m669jssg1l5sdapc1mniv9jssvw5r7wk1s52";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -1,18 +1,18 @@
{ stdenv, gettext, fetchurl, evolution-data-server, fetchpatch { stdenv, gettext, fetchurl, evolution-data-server, fetchpatch
, pkgconfig, libxslt, docbook_xsl, docbook_xml_dtd_42, python3, gtk3, glib, cheese , pkgconfig, libxslt, docbook_xsl, docbook_xml_dtd_42, python3, gtk3, glib, cheese
, libchamplain, clutter-gtk, geocode-glib, gnome-desktop, gnome-online-accounts , libchamplain, clutter-gtk, geocode-glib, gnome-desktop, gnome-online-accounts
, wrapGAppsHook, folks, libxml2, gnome3, telepathy-glib , wrapGAppsHook, folks, libxml2, gnome3
, vala, meson, ninja, libhandy, gsettings-desktop-schemas }: , vala, meson, ninja, libhandy, gsettings-desktop-schemas
# , telepathy-glib
}:
let stdenv.mkDerivation rec {
version = "3.34.1";
in stdenv.mkDerivation rec {
pname = "gnome-contacts"; pname = "gnome-contacts";
inherit version; version = "3.36";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/gnome-contacts/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/gnome-contacts/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1jqw5yrypvjxzgg70vjbryylwx06amg6sg85mqi14a97xbccg0qa"; sha256 = "0yvgsfmqm8dxbhay12m20xp6qi9v31wwyv1gz4fx7j4kklhd5jzf";
}; };
propagatedUserEnvPkgs = [ evolution-data-server ]; propagatedUserEnvPkgs = [ evolution-data-server ];
@ -23,16 +23,15 @@ in stdenv.mkDerivation rec {
buildInputs = [ buildInputs = [
gtk3 glib evolution-data-server gsettings-desktop-schemas gtk3 glib evolution-data-server gsettings-desktop-schemas
folks gnome-desktop telepathy-glib libhandy folks gnome-desktop libhandy
libxml2 gnome-online-accounts cheese libxml2 gnome-online-accounts cheese
gnome3.adwaita-icon-theme libchamplain clutter-gtk geocode-glib gnome3.adwaita-icon-theme libchamplain clutter-gtk geocode-glib
# telepathy-glib 3.35.90 fails to build with telepathy
]; ];
mesonFlags = [ mesonFlags = [
"-Dtelepathy=true" # Upstream does not seem to maintain this properly: https://gitlab.gnome.org/GNOME/gnome-contacts/issues/103
]; "-Dtelepathy=false"
patches = [
]; ];
postPatch = '' postPatch = ''

View File

@ -60,20 +60,19 @@
, tzdata , tzdata
, udisks2 , udisks2
, upower , upower
, vino , epoxy
, gnome-user-share , gnome-user-share
, gnome-remote-desktop , gnome-remote-desktop
, shadow
, wrapGAppsHook , wrapGAppsHook
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-control-center"; pname = "gnome-control-center";
version = "3.34.4"; version = "3.36.0";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0bi7lsmr5hcf0v17brsa8j33p6i0wnh620bzwycmxryfp6s6vshp"; sha256 = "0gdadbkynldxqffdlw760039ci1vv9wsi5i0mdq4q9dblmb79q1b";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -133,14 +132,13 @@ stdenv.mkDerivation rec {
tracker tracker
udisks2 udisks2
upower upower
vino epoxy
]; ];
patches = [ patches = [
(substituteAll { (substituteAll {
src = ./paths.patch; src = ./paths.patch;
gcm = gnome-color-manager; gcm = gnome-color-manager;
usermod = "${shadow}/bin/usermod";
gnome_desktop = gnome-desktop; gnome_desktop = gnome-desktop;
inherit glibc libgnomekbd tzdata; inherit glibc libgnomekbd tzdata;
inherit cups networkmanagerapplet; inherit cups networkmanagerapplet;

View File

@ -54,14 +54,14 @@ 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/cc-info-overview-panel.c b/panels/info/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 7fce8691e..b839f8b69 100644 index 4541986db..da7826bfe 100644
--- a/panels/info/cc-info-overview-panel.c --- a/panels/info-overview/cc-info-overview-panel.c
+++ b/panels/info/cc-info-overview-panel.c +++ b/panels/info-overview/cc-info-overview-panel.c
@@ -187,7 +187,7 @@ load_gnome_version (char **version, @@ -169,7 +169,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,
@ -71,44 +71,69 @@ diff --git a/panels/network/connection-editor/net-connection-editor.c b/panels/n
index 9390a3308..d30b4a68e 100644 index 9390a3308..d30b4a68e 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
@@ -247,9 +247,9 @@ net_connection_editor_do_fallback (NetConnectionEditor *editor, const gchar *typ @@ -278,9 +278,9 @@ net_connection_editor_do_fallback (NetConnectionEditor *self, const gchar *type)
GError *error = NULL; g_autoptr(GError) error = NULL;
if (editor->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);
} else { } else {
- cmdline = g_strdup_printf ("nm-connection-editor --edit='%s'", - cmdline = g_strdup_printf ("nm-connection-editor --edit='%s'",
+ cmdline = g_strdup_printf ("@networkmanagerapplet@/bin/nm-connection-editor --edit='%s'", + cmdline = g_strdup_printf ("@networkmanagerapplet@/bin/nm-connection-editor --edit='%s'",
nm_connection_get_uuid (editor->connection)); nm_connection_get_uuid (self->connection));
} }
diff --git a/panels/network/net-device-wifi.c b/panels/network/net-device-wifi.c diff --git a/panels/network/net-device-bluetooth.c b/panels/network/net-device-bluetooth.c
index dd99a7485..4baa88a4e 100644 --- a/panels/network/net-device-bluetooth.c
--- a/panels/network/net-device-wifi.c +++ b/panels/network/net-device-bluetooth.c
+++ b/panels/network/net-device-wifi.c @@ -90,7 +90,7 @@ nm_device_bluetooth_refresh_ui (NetDeviceBluetooth *self)
@@ -1445,7 +1445,7 @@ device_wifi_edit (NetObject *object) update_off_switch_from_device_state (self->device_off_switch, state, self);
return;
} /* set up the Options button */
uuid = nm_connection_get_uuid (NM_CONNECTION (connection)); - path = g_find_program_in_path ("nm-connection-editor");
- cmdline = g_strdup_printf ("nm-connection-editor --edit %s", uuid); + path = g_find_program_in_path ("@networkmanagerapplet@/bin/nm-connection-editor");
+ cmdline = g_strdup_printf ("@networkmanagerapplet@/bin/nm-connection-editor --edit %s", uuid); gtk_widget_set_visible (GTK_WIDGET (self->options_button), state != NM_DEVICE_STATE_UNMANAGED && path != NULL);
g_debug ("Launching '%s'\n", cmdline); }
if (!g_spawn_command_line_async (cmdline, &error)) {
g_warning ("Failed to launch nm-connection-editor: %s", error->message); @@ -141,7 +141,7 @@ options_button_clicked_cb (NetDeviceBluetooth *self)
diff --git a/panels/network/net-device.c b/panels/network/net-device.c
index d73b537b9..e2ee54294 100644 connection = net_device_get_find_connection (self->client, self->device);
--- a/panels/network/net-device.c
+++ b/panels/network/net-device.c
@@ -197,7 +197,7 @@ net_device_edit (NetObject *object)
connection = net_device_get_find_connection (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);
+ cmdline = g_strdup_printf ("@networkmanagerapplet@/bin/nm-connection-editor --edit %s", uuid); + cmdline = g_strdup_printf ("@networkmanagerapplet@/bin/nm-connection-editor --edit %s", uuid);
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);
@@ -185,7 +185,7 @@ net_device_bluetooth_init (NetDeviceBluetooth *self)
gtk_widget_init_template (GTK_WIDGET (self));
- path = g_find_program_in_path ("nm-connection-editor");
+ path = g_find_program_in_path ("@networkmanagerapplet@/bin/nm-connection-editor");
gtk_widget_set_visible (GTK_WIDGET (self->options_button), path != NULL);
}
diff --git a/panels/network/net-device-mobile.c b/panels/network/net-device-mobile.c
--- a/panels/network/net-device-mobile.c
+++ b/panels/network/net-device-mobile.c
@@ -484,7 +484,7 @@ options_button_clicked_cb (NetDeviceMobile *self)
connection = net_device_get_find_connection (self->client, self->device);
uuid = nm_connection_get_uuid (connection);
- cmdline = g_strdup_printf ("nm-connection-editor --edit %s", uuid);
+ cmdline = g_strdup_printf ("@networkmanagerapplet@/bin/nm-connection-editor --edit %s", uuid);
g_debug ("Launching '%s'\n", cmdline);
if (!g_spawn_command_line_async (cmdline, &error))
g_warning ("Failed to launch nm-connection-editor: %s", error->message);
@@ -776,7 +776,7 @@ net_device_mobile_init (NetDeviceMobile *self)
self->cancellable = g_cancellable_new ();
- path = g_find_program_in_path ("nm-connection-editor");
+ path = g_find_program_in_path ("@networkmanagerapplet@/bin/nm-connection-editor");
gtk_widget_set_visible (GTK_WIDGET (self->options_button), path != NULL);
}
diff --git a/panels/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 f53ba217e..d24bcaeb9 100644
--- a/panels/printers/pp-host.c --- a/panels/printers/pp-host.c
@ -123,10 +148,10 @@ index f53ba217e..d24bcaeb9 100644
/* 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 diff --git a/panels/region/cc-region-panel.c b/panels/region/cc-region-panel.c
index e0604b8c3..fc323c1b2 100644 index 35859526d..21486c917 100644
--- a/panels/region/cc-region-panel.c --- a/panels/region/cc-region-panel.c
+++ b/panels/region/cc-region-panel.c +++ b/panels/region/cc-region-panel.c
@@ -763,10 +763,10 @@ row_layout_cb (CcRegionPanel *self, @@ -755,10 +755,10 @@ row_layout_cb (CcRegionPanel *self,
layout_variant = cc_input_source_get_layout_variant (source); layout_variant = cc_input_source_get_layout_variant (source);
if (layout_variant && layout_variant[0]) if (layout_variant && layout_variant[0])
@ -140,7 +165,7 @@ index e0604b8c3..fc323c1b2 100644
g_spawn_command_line_async (commandline, NULL); 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 19934f186..9f41a9620 100644 index 00239ce0f..617c98870 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)
@ -152,19 +177,6 @@ index 19934f186..9f41a9620 100644
argv[1] = NULL; argv[1] = NULL;
envp = g_get_environ (); envp = g_get_environ ();
diff --git a/panels/user-accounts/user-utils.c b/panels/user-accounts/user-utils.c
index 83d4cd091..e8784c722 100644
--- a/panels/user-accounts/user-utils.c
+++ b/panels/user-accounts/user-utils.c
@@ -486,7 +486,7 @@ is_valid_username_async (const gchar *username,
* future, so it would be nice to have some official way for this
* instead of relying on the current "--login" implementation.
*/
- argv[0] = "/usr/sbin/usermod";
+ argv[0] = "@usermod@";
argv[1] = "--login";
argv[2] = data->username;
argv[3] = "--";
diff --git a/tests/datetime/test-endianess.c b/tests/datetime/test-endianess.c diff --git a/tests/datetime/test-endianess.c b/tests/datetime/test-endianess.c
index 9cb92007a..84d2f0fa3 100644 index 9cb92007a..84d2f0fa3 100644
--- a/tests/datetime/test-endianess.c --- a/tests/datetime/test-endianess.c

View File

@ -1,21 +1,21 @@
{ stdenv, fetchurl, fetchpatch, substituteAll, pkgconfig, libxslt, ninja, libX11, gnome3, gtk3, glib { stdenv, fetchurl, substituteAll, pkgconfig, libxslt, ninja, libX11, gnome3, gtk3, glib
, gettext, libxml2, xkeyboard_config, isocodes, meson, wayland , gettext, libxml2, xkeyboard_config, isocodes, meson, wayland
, libseccomp, systemd, bubblewrap, gobject-introspection, gtk-doc, docbook_xsl, gsettings-desktop-schemas }: , libseccomp, systemd, bubblewrap, gobject-introspection, gtk-doc, docbook_xsl, gsettings-desktop-schemas }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-desktop"; pname = "gnome-desktop";
version = "3.34.4"; version = "3.36.0";
outputs = [ "out" "dev" "devdoc" ]; outputs = [ "out" "dev" "devdoc" ];
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/gnome-desktop/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/gnome-desktop/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1g0cvsx0gk65kfa91knkqg7l2isrnlpvqwjbzpr3a5f2girp4gn5"; sha256 = "05awmswzd4qa0vg23np0s7z6qks73j3sfj71y8azpvyxricw612b";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
pkgconfig meson ninja gettext libxslt libxml2 gobject-introspection pkgconfig meson ninja gettext libxslt libxml2 gobject-introspection
gtk-doc docbook_xsl gtk-doc docbook_xsl glib
]; ];
buildInputs = [ buildInputs = [
libX11 bubblewrap xkeyboard_config isocodes wayland libX11 bubblewrap xkeyboard_config isocodes wayland
@ -30,14 +30,6 @@ stdenv.mkDerivation rec {
bubblewrap_bin = "${bubblewrap}/bin/bwrap"; bubblewrap_bin = "${bubblewrap}/bin/bwrap";
inherit (builtins) storeDir; inherit (builtins) storeDir;
}) })
# honor $XKB_CONFIG_ROOT
# addresses #76590: services.xserver.extraLayouts aren't honored by GNOME3
# NOTE: should be merged upstream in 3.36.
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gnome-desktop/commit/450446b5353e8231edded4d5b5db90a67a9fa9b7.diff";
sha256 = "07y989x7mbgn3rsm2qfdi8qkkc8i60k28hw87l744nlkydn78kq5";
})
]; ];
mesonFlags = [ mesonFlags = [

View File

@ -5,11 +5,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-disk-utility"; pname = "gnome-disk-utility";
version = "3.34.4"; version = "3.36.0";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/gnome-disk-utility/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/gnome-disk-utility/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0p7pifmihg1vpsvym4qabdjqdp96yx9b4cbc6cnmf5i055js7i8y"; sha256 = "00xi9m8vklwska1k3sdcfyba3mhwx7clrh522dgksn7v0ja9l1zl";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -36,11 +36,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-initial-setup"; pname = "gnome-initial-setup";
version = "3.34.3"; version = "3.36.0";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1dc87mcvr7vdhfx4q0c44q37lf7ls2qvnc34dm66802qssrcxy9k"; sha256 = "08di7n26qhjfr0p1dvya2xfqwx37k8xbya97a8ccz3j0fzw0my4a";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -85,10 +85,9 @@ stdenv.mkDerivation rec {
]; ];
mesonFlags = [ mesonFlags = [
"-Dregion-page=true"
"-Dcheese=disabled" "-Dcheese=disabled"
"-Dsoftware-sources=disabled"
"-Dibus=disabled" "-Dibus=disabled"
"-Dparental_controls=disabled"
"-Dvendor-conf-file=${./vendor.conf}" "-Dvendor-conf-file=${./vendor.conf}"
]; ];

View File

@ -4,11 +4,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-keyring"; pname = "gnome-keyring";
version = "3.34.0"; version = "3.36.0";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/gnome-keyring/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/gnome-keyring/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0hqrsh5g9q9lm190f0m85q4nki8k4ng7wphl6qbccdry59aakkg9"; sha256 = "11sgffrrpss5cmv3b717pqlbhgq17l1xd33fsvqgsw8simxbar52";
}; };
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitLab, meson, ninja, pkgconfig, python3, wrapGAppsHook { stdenv, fetchFromGitLab, meson, ninja, pkgconfig, python3, wrapGAppsHook
, glib, pipewire, systemd, libvncserver, libsecret, libnotify, gdk-pixbuf, gnome3 }: , glib, pipewire_0_2, systemd, libvncserver, libsecret, libnotify, gdk-pixbuf, gnome3 }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-remote-desktop"; pname = "gnome-remote-desktop";
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ meson ninja pkgconfig python3 wrapGAppsHook ]; nativeBuildInputs = [ meson ninja pkgconfig python3 wrapGAppsHook ];
buildInputs = [ buildInputs = [
glib pipewire systemd libvncserver libsecret libnotify glib pipewire_0_2 systemd libvncserver libsecret libnotify
gdk-pixbuf # For libnotify gdk-pixbuf # For libnotify
]; ];

View File

@ -4,13 +4,13 @@
let let
pname = "gnome-screenshot"; pname = "gnome-screenshot";
version = "3.34.0"; version = "3.36.0";
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
name = "${pname}-${version}"; name = "${pname}-${version}";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"; sha256 = "0rhj6fkpxfm26jv3vsn7yb2ybkc2k86ggy23nxa945q74y4msj9k";
}; };
doCheck = true; doCheck = true;

View File

@ -4,13 +4,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-session"; pname = "gnome-session";
version = "3.34.2"; version = "3.36.0";
outputs = ["out" "sessions"]; outputs = ["out" "sessions"];
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/gnome-session/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/gnome-session/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb"; sha256 = "0ymvf1bap35348rpjqp63qwnwnnawdwi4snch95zc4n832w3hjym";
}; };
patches = [ patches = [

View File

@ -13,7 +13,6 @@
, libgnomekbd , libgnomekbd
, lcms2 , lcms2
, libpulseaudio , libpulseaudio
, mousetweaks
, alsaLib , alsaLib
, libcanberra-gtk3 , libcanberra-gtk3
, upower , upower
@ -41,19 +40,18 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-settings-daemon"; pname = "gnome-settings-daemon";
version = "3.34.2"; version = "3.36.0";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/gnome-settings-daemon/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/gnome-settings-daemon/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1vfpgbdxkhh9xwvb3ja174jk3gpzj4n3jzcy9ygbjlvy45zfdflz"; sha256 = "0jddz8f2j4ps7csgq9b694h9hjxsyhlimik6rb2f8nbcxhrg0bzs";
}; };
patches = [ patches = [
(substituteAll { (substituteAll {
src = ./fix-paths.patch; src = ./fix-paths.patch;
inherit tzdata mousetweaks; inherit tzdata;
}) })
./global-backlight-helper.patch
]; ];
nativeBuildInputs = [ nativeBuildInputs = [
@ -103,11 +101,6 @@ stdenv.mkDerivation rec {
# we're using plain # we're using plain
NIX_CFLAGS_COMPILE = "-DG_DISABLE_CAST_CHECKS"; NIX_CFLAGS_COMPILE = "-DG_DISABLE_CAST_CHECKS";
# So the polkit policy can reference /run/current-system/sw/bin/gnome-settings-daemon/gsd-backlight-helper
postFixup = ''
mkdir -p $out/bin/gnome-settings-daemon
ln -s $out/libexec/gsd-backlight-helper $out/bin/gnome-settings-daemon/gsd-backlight-helper
'';
postPatch = '' postPatch = ''
for f in gnome-settings-daemon/codegen.py plugins/power/gsd-power-constants-update.pl meson_post_install.py; do for f in gnome-settings-daemon/codegen.py plugins/power/gsd-power-constants-update.pl meson_post_install.py; do

View File

@ -1,13 +1,13 @@
{ stdenv, fetchurl, meson, ninja, gettext, pkgconfig, spidermonkey_60, glib { stdenv, fetchurl, meson, ninja, gettext, pkgconfig, 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.34.2"; version = "3.36.0";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/gnome-shell-extensions/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/gnome-shell-extensions/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1f5l35l3kdkzrv49xmg1sh11vwmgjbg7hx3gb91i39bfl1snxqd1"; sha256 = "1rmi6ccqfdisvmmzaiqr2r031r0f3h8qxgw5qwq62x859nbrzcmm";
}; };
passthru = { passthru = {
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
doCheck = true; doCheck = true;
# 60 is required for tests # 60 is required for tests
# https://gitlab.gnome.org/GNOME/gnome-shell-extensions/blob/3.34.0/meson.build#L23 # https://gitlab.gnome.org/GNOME/gnome-shell-extensions/blob/3.34.0/meson.build#L23
checkInputs = [ spidermonkey_60 ]; checkInputs = [ spidermonkey_68 ];
nativeBuildInputs = [ meson ninja pkgconfig gettext glib ]; nativeBuildInputs = [ meson ninja pkgconfig gettext glib ];

View File

@ -1,8 +1,8 @@
{ fetchurl, fetchpatch, substituteAll, stdenv, meson, ninja, pkgconfig, gnome3, json-glib, libcroco, gettext, libsecret { fetchurl, fetchpatch, substituteAll, stdenv, meson, ninja, pkgconfig, gnome3, json-glib, gettext, libsecret
, python3, libsoup, polkit, clutter, networkmanager, docbook_xsl , docbook_xsl_ns, at-spi2-core , python3, libsoup, polkit, clutter, networkmanager, docbook_xsl , docbook_xsl_ns, at-spi2-core
, libstartup_notification, telepathy-glib, telepathy-logger, libXtst, unzip, glibcLocales, shared-mime-info , libstartup_notification, telepathy-glib, telepathy-logger, libXtst, unzip, glibcLocales, shared-mime-info
, libgweather, libcanberra-gtk3, librsvg, geoclue2, perl, docbook_xml_dtd_42, desktop-file-utils , libgweather, libcanberra-gtk3, librsvg, geoclue2, perl, docbook_xml_dtd_42, desktop-file-utils
, libpulseaudio, libical, gobject-introspection, gstreamer, wrapGAppsHook, libxslt, gcr , libpulseaudio, libical, gobject-introspection, wrapGAppsHook, libxslt, gcr
, accountsservice, gdk-pixbuf, gdm, upower, ibus, libnma, libgnomekbd, gnome-desktop , accountsservice, gdk-pixbuf, gdm, upower, ibus, libnma, libgnomekbd, gnome-desktop
, gsettings-desktop-schemas, gnome-keyring, glib, gjs, mutter, evolution-data-server, gtk3 , gsettings-desktop-schemas, gnome-keyring, glib, gjs, mutter, evolution-data-server, gtk3
, sassc, systemd, gst_all_1, adwaita-icon-theme, gnome-bluetooth, gnome-clocks, gnome-settings-daemon , sassc, systemd, gst_all_1, adwaita-icon-theme, gnome-bluetooth, gnome-clocks, gnome-settings-daemon
@ -15,11 +15,11 @@ let
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
pname = "gnome-shell"; pname = "gnome-shell";
version = "3.34.4"; version = "3.36.0";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/gnome-shell/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/gnome-shell/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0rm32h7lv4vyadi9x32sb6fwxslarwk70yzmvzjxbq872cazp779"; sha256 = "1phkkkwrrigchz58xs324vf6snd1fm7mxa2iaqwwj526vh5c1s2q";
}; };
LANG = "en_US.UTF-8"; LANG = "en_US.UTF-8";
@ -31,45 +31,79 @@ in stdenv.mkDerivation rec {
buildInputs = [ buildInputs = [
systemd systemd
gsettings-desktop-schemas gnome-keyring glib gcr json-glib accountsservice gsettings-desktop-schemas gnome-keyring glib gcr json-glib accountsservice
libcroco libsecret libsoup polkit gdk-pixbuf librsvg libsecret libsoup polkit gdk-pixbuf librsvg
clutter networkmanager libstartup_notification telepathy-glib networkmanager libstartup_notification telepathy-glib
libXtst gjs mutter libpulseaudio evolution-data-server libXtst gjs mutter libpulseaudio evolution-data-server
libical gtk3 gstreamer gdm libcanberra-gtk3 geoclue2 libical gtk3 gdm libcanberra-gtk3 geoclue2
adwaita-icon-theme gnome-bluetooth adwaita-icon-theme gnome-bluetooth
gnome-clocks # schemas needed gnome-clocks # schemas needed
at-spi2-core upower ibus gnome-desktop telepathy-logger gnome-settings-daemon at-spi2-core upower ibus gnome-desktop telepathy-logger gnome-settings-daemon
gst_all_1.gst-plugins-good # recording
gobject-introspection gobject-introspection
gnome-autoar gnome-autoar
# recording
gst_all_1.gstreamer
gst_all_1.gst-plugins-base
gst_all_1.gst-plugins-good
# not declared at build time, but typelib is needed at runtime # not declared at build time, but typelib is needed at runtime
libgweather libnma libgweather libnma
]; ];
patches = [ patches = [
# Fix dependencies.
# https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1114
(fetchpatch { (fetchpatch {
name = "0001-build-Add-missing-dependency-to-run-js-test.patch"; name = "0001-build-Add-missing-dependency-to-run-js-test.patch";
url = https://bug787864.bugzilla-attachments.gnome.org/attachment.cgi?id=360016; url = https://bug787864.bugzilla-attachments.gnome.org/attachment.cgi?id=360016;
sha256 = "1dmahd8ysbzh33rxglba0fbq127aw9h14cl2a2bw9913vjxhxijm"; sha256 = "1dmahd8ysbzh33rxglba0fbq127aw9h14cl2a2bw9913vjxhxijm";
}) })
# Hardcode paths to various dependencies so that they can be found at runtime.
(substituteAll { (substituteAll {
src = ./fix-paths.patch; src = ./fix-paths.patch;
inherit libgnomekbd unzip; inherit libgnomekbd unzip;
gsettings = "${glib.bin}/bin/gsettings"; gsettings = "${glib.bin}/bin/gsettings";
}) })
# Fix ibus launching regression.
# https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1080
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gnome-shell/commit/94f6976ddd6337593203fdcdd2e3644774408dfa.patch";
sha256 = "PGmFQhqqd3gK+3kp0dlmlYd2G5ZTIQpfE++Q03Ghkx0=";
})
# Fix typing regression with ibus.
# https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1084
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gnome-shell/commit/b18469427e5c19402111de5fe9888bceec0eaacd.patch";
sha256 = "1M+3kjt7K61BFgk1Zf9XfK1ziilQGa60PD8xtVjnQec=";
})
# Fix theming breakage after Shell restart on X11.
# https://gitlab.gnome.org/GNOME/gnome-shell/issues/2329
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gnome-shell/commit/72c4f148ef88b4bffb2106b99434da5c05c0bb64.patch";
sha256 = "RBA+JHz4ZvmbJZMnGNieD6D5LONRgFU4iOFIMQQ2kHQ=";
})
# Fix Telepathy chat integration.
# https://gitlab.gnome.org/GNOME/gnome-shell/issues/2449
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gnome-shell/commit/766288eec1bd3bd50dfc4ddf410c2b507187e603.patch";
sha256 = "Cp6xLohCM0gmMxtyYjSukS2oV60Khmxf4iQd9EDAlIc=";
})
]; ];
postPatch = '' postPatch = ''
patchShebangs src/data-to-c.pl patchShebangs src/data-to-c.pl
chmod +x meson/postinstall.py
patchShebangs meson/postinstall.py
substituteInPlace src/gnome-shell-extension-tool.in --replace "@PYTHON@" "${pythonEnv}/bin/python" substituteInPlace src/gnome-shell-extension-tool.in --replace "@PYTHON@" "${pythonEnv}/bin/python"
substituteInPlace src/gnome-shell-perf-tool.in --replace "@PYTHON@" "${pythonEnv}/bin/python" substituteInPlace src/gnome-shell-perf-tool.in --replace "@PYTHON@" "${pythonEnv}/bin/python"
''; '';
postInstall = ''
glib-compile-schemas $out/share/glib-2.0/schemas
'';
preFixup = '' preFixup = ''
gappsWrapperArgs+=( gappsWrapperArgs+=(
# Until glibs xdgmime is patched # Until glibs xdgmime is patched

View File

@ -11,11 +11,11 @@ in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-software"; pname = "gnome-software";
version = "3.34.2"; version = "3.36.0";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/gnome-software/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/gnome-software/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1zhi6zkphq0wfm9z2d1rp1ym8x52c7as4r8h2nrcd34mmv02xnm7"; sha256 = "0b5b1k0a531c2jyf4g59dw7lblga8xrba38mzfdl57dnknbvbafs";
}; };
patches = [ patches = [
@ -42,6 +42,8 @@ stdenv.mkDerivation rec {
mesonFlags = [ mesonFlags = [
"-Dubuntu_reviews=false" "-Dubuntu_reviews=false"
"-Dgudev=false" "-Dgudev=false"
# FIXME: package malcontent parental controls
"-Dmalcontent=false"
] ++ stdenv.lib.optionals (!withFwupd) [ ] ++ stdenv.lib.optionals (!withFwupd) [
"-Dfwupd=false" "-Dfwupd=false"
]; ];

View File

@ -1,21 +1,20 @@
{ stdenv, gettext, fetchurl, pkgconfig, gtkmm3, libxml2, polkit { stdenv, gettext, fetchurl, pkgconfig, gtkmm3, libxml2
, bash, gtk3, glib, wrapGAppsHook, meson, ninja, python3 , bash, gtk3, glib, wrapGAppsHook, meson, ninja, python3
, gsettings-desktop-schemas, itstool, gnome3, librsvg, gdk-pixbuf, libgtop, systemd }: , 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.32.1"; version = "3.36.0";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/gnome-system-monitor/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/gnome-system-monitor/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"; sha256 = "1gipjaw708lv1zj1c9g09x4h4226kawam2kzdhdd6zjkzfghp9s0";
}; };
doCheck = true; doCheck = true;
nativeBuildInputs = [ nativeBuildInputs = [
pkgconfig gettext itstool wrapGAppsHook meson ninja python3 pkgconfig gettext itstool wrapGAppsHook meson ninja python3
polkit # for ITS file
]; ];
buildInputs = [ buildInputs = [
bash gtk3 glib libxml2 gtkmm3 libgtop gdk-pixbuf gnome3.adwaita-icon-theme librsvg bash gtk3 glib libxml2 gtkmm3 libgtop gdk-pixbuf gnome3.adwaita-icon-theme librsvg

View File

@ -1,14 +1,14 @@
{ stdenv, fetchurl, pkgconfig, libxml2, gnome3, dconf, nautilus { stdenv, fetchurl, pkgconfig, libxml2, gnome3, dconf, nautilus
, gtk3, gsettings-desktop-schemas, vte, intltool, which, libuuid, vala , gtk3, gsettings-desktop-schemas, vte, gettext, which, libuuid, vala
, desktop-file-utils, itstool, wrapGAppsHook, glib, pcre2 }: , desktop-file-utils, itstool, wrapGAppsHook, glib, pcre2 }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-terminal"; pname = "gnome-terminal";
version = "3.34.2"; version = "3.36.0.1";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/gnome-terminal/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/gnome-terminal/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0gc004f9b5k94gkdanmqjz3wqgnpny0l3nqm8zd19h4f0ps27mrv"; sha256 = "1qj0zggig6iwahjvj9wcqpf9xj6aw6ar5pgnmrhbhc90cb7c2ccb";
}; };
buildInputs = [ buildInputs = [
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
]; ];
nativeBuildInputs = [ nativeBuildInputs = [
pkgconfig intltool itstool which libxml2 pkgconfig gettext itstool which libxml2
vala desktop-file-utils wrapGAppsHook pcre2 vala desktop-file-utils wrapGAppsHook pcre2
]; ];

View File

@ -1,25 +0,0 @@
From 71acfd5258b4d12323fc51dda48e83830e62e696 Mon Sep 17 00:00:00 2001
From: worldofpeace <worldofpeace@protonmail.ch>
Date: Mon, 16 Sep 2019 11:18:27 -0400
Subject: [PATCH] build: use get_pkgconfig_variable for sysprof dbusdir
---
src/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/meson.build b/src/meson.build
index 182f7f5f5..43060865b 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -710,7 +710,7 @@ if have_profiler
'backends/meta-profiler.h',
]
- dbus_interfaces_dir = join_paths(datadir, 'dbus-1', 'interfaces')
+ dbus_interfaces_dir = join_paths(sysprof_dep.get_pkgconfig_variable('prefix'), 'share', 'dbus-1', 'interfaces')
sysprof3_dbus_file = join_paths(dbus_interfaces_dir, 'org.gnome.Sysprof3.Profiler.xml')
dbus_sysprof3_profiler_built_sources = gnome.gdbus_codegen('meta-dbus-sysprof3-profiler',
--
2.22.1

View File

@ -38,24 +38,30 @@
, desktop-file-utils , desktop-file-utils
, libcap_ng , libcap_ng
, egl-wayland , egl-wayland
, graphene
, wayland-protocols
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "mutter"; pname = "mutter";
version = "3.34.4"; version = "3.36.0";
outputs = [ "out" "dev" "man" ]; outputs = [ "out" "dev" "man" ];
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/mutter/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/mutter/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "18hbw98p4h3d4qz57415smwmfg72s9a0nk8mb04ds1gn2lsm2d01"; sha256 = "18lvj158w6gwc6xpvn699v8ykh1r5szry7sqascl6f1i8g628v2x";
}; };
mesonFlags = [ mesonFlags = [
"-Degl_device=true" "-Degl_device=true"
"-Dinstalled_tests=false" # TODO: enable these "-Dinstalled_tests=false" # TODO: enable these
"-Dwayland_eglstream=true" "-Dwayland_eglstream=true"
"-Dxwayland-path=${xwayland}/bin/Xwayland" "-Dprofiler=true"
"-Dxwayland_path=${xwayland}/bin/Xwayland"
# This should be auto detected, but it looks like it manages a false
# positive.
"-Dxwayland_initfd=disabled"
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -63,6 +69,7 @@ stdenv.mkDerivation rec {
json-glib json-glib
libXtst libXtst
libcap_ng libcap_ng
graphene
]; ];
nativeBuildInputs = [ nativeBuildInputs = [
@ -102,26 +109,25 @@ stdenv.mkDerivation rec {
xwayland xwayland
zenity zenity
zenity zenity
wayland-protocols
]; ];
patches = [ patches = [
# Fix build with libglvnd provided headers
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/mutter/commit/a444a4c5f58ea516ad3cd9d6ddc0056c3ca9bc90.patch";
sha256 = "0imy2j8af9477jliwdq4jc40yw1cifsjjf196gnmwxr9rkj0hbrd";
})
# 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
# TODO: submit upstream
./0001-build-use-get_pkgconfig_variable-for-sysprof-dbusdir.patch
(substituteAll { (substituteAll {
src = ./fix-paths.patch; src = ./fix-paths.patch;
inherit zenity; inherit zenity;
}) })
# Fix crash when opening submenus from «always on visible workspace» windows
# https://gitlab.gnome.org/GNOME/mutter/issues/1083
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/mutter/commit/7e32cc05ce2e5b3931ddcf46ce9ead603a0de39e.patch";
sha256 = "5ZzOMizucfrSnHNYjHIUObLHCvAIjrE6fY/CxLp4c7k=";
})
]; ];
postPatch = '' postPatch = ''

View File

@ -41,12 +41,12 @@ index 3322bd3b1..01c8020fa 100644
# optional version requirements # optional version requirements
udev_req = '>= 228' udev_req = '>= 228'
@@ -125,6 +126,7 @@ xau_dep = dependency('xau') @@ -131,6 +131,7 @@ ice_dep = dependency('ice')
ice_dep = dependency('ice')
atk_dep = dependency('atk', version: atk_req) atk_dep = dependency('atk', version: atk_req)
libcanberra_dep = dependency('libcanberra', version: libcanberra_req) libcanberra_dep = dependency('libcanberra', version: libcanberra_req)
dbus_dep = dependency('dbus-1')
+libcapng_dep = dependency('libcap-ng', required: get_option('libcapng')) +libcapng_dep = dependency('libcap-ng', required: get_option('libcapng'))
# For now always require X11 support # For now always require X11 support
have_x11 = true have_x11 = true
@@ -256,6 +258,7 @@ have_core_tests = false @@ -256,6 +258,7 @@ have_core_tests = false
@ -65,10 +65,10 @@ index 3322bd3b1..01c8020fa 100644
cdata.set('HAVE_PROFILER', have_profiler) cdata.set('HAVE_PROFILER', have_profiler)
xkb_base = xkeyboard_config_dep.get_pkgconfig_variable('xkb_base') xkb_base = xkeyboard_config_dep.get_pkgconfig_variable('xkb_base')
@@ -443,6 +447,7 @@ output = [ @@ -465,6 +465,7 @@ output = [
' Startup notification..... ' + have_startup_notification.to_string(),
' Introspection............ ' + have_introspection.to_string(), ' Introspection............ ' + have_introspection.to_string(),
' Profiler................. ' + have_profiler.to_string(), ' Profiler................. ' + have_profiler.to_string(),
' Xwayland initfd.......... ' + have_xwayland_initfd.to_string(),
+ ' libcap-ng................ ' + have_libcapng.to_string(), + ' libcap-ng................ ' + have_libcapng.to_string(),
'', '',
' Tests:', ' Tests:',

View File

@ -32,11 +32,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "nautilus"; pname = "nautilus";
version = "3.34.2"; version = "3.36.0";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "19zqwq4qyyncc5wq3xls0f7rsavnw741k336p2h7kx35p4kf41mv"; sha256 = "1pynxxcpk4idp4fmsdgv5qwvaw0l93r68b5pks372fhjff4qcjr6";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -4,11 +4,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "simple-scan"; pname = "simple-scan";
version = "3.34.4"; version = "3.36.0";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/simple-scan/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/simple-scan/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0xvy672zyl6jsdlnxma8nc2aqsx9k92jhp6wfxs0msj9ppp1nd3z"; sha256 = "198l3yhqhb2wzfdcgi8fzbwycr0njn44583dazz6wy1gqbiqnzgm";
}; };
buildInputs = [ buildInputs = [

View File

@ -1,98 +0,0 @@
{ stdenv
, fetchFromGitLab
, wrapGAppsHook
, pkgconfig
, gnome3
, gtk3
, glib
, intltool
, libXtst
, libnotify
, libsoup
, libsecret
, gnutls
, libgcrypt
, avahi
, zlib
, libjpeg
, libXdamage
, libXfixes
, libXext
, networkmanager
, gnome-common
, libtool
, automake
, autoconf
, telepathySupport ? false
, dbus-glib ? null
, telepathy-glib ? null
}:
stdenv.mkDerivation {
pname = "vino";
version = "unstable-2019-07-08";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "GNOME";
repo = "vino";
rev = "aed81a798558c8127b765cd4fb4dc726d10f1e21";
sha256 = "16r4cj5nsygmd9v97nq6d1yhynzak9hdnaprcdbmwfhh0c9w8jv3";
};
doCheck = true;
nativeBuildInputs = [
autoconf
automake
gnome-common
intltool
libtool
pkgconfig
wrapGAppsHook
];
buildInputs = [
avahi
glib
gnome3.adwaita-icon-theme
gnutls
gtk3
libXdamage
libXext
libXfixes
libXtst
libgcrypt
libjpeg
libnotify
libsecret
libsoup
networkmanager
zlib
]
++ stdenv.lib.optionals telepathySupport [ dbus-glib telepathy-glib ]
;
preConfigure = ''
NOCONFIGURE=1 ./autogen.sh
'';
postInstall = stdenv.lib.optionalString (!telepathySupport) ''
rm -f $out/share/dbus-1/services/org.freedesktop.Telepathy.Client.Vino.service
'';
passthru = {
# updateScript = gnome3.updateScript {
# packageName = "vino";
# attrPath = "gnome3.vino";
# };
};
meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Projects/Vino;
description = "GNOME desktop sharing server";
maintainers = gnome3.maintainers;
license = licenses.gpl2;
platforms = platforms.linux;
};
}

View File

@ -10,11 +10,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "yelp-xsl"; pname = "yelp-xsl";
version = "3.34.2"; version = "3.36.0";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/yelp-xsl/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/yelp-xsl/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"; sha256 = "1hsfj3q3a3kca0cf9i02xlq2qd4vy12qsjb89hh4r6mp6c11rrag";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -5,11 +5,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "yelp"; pname = "yelp";
version = "3.34.0"; version = "3.36.0";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/yelp/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/yelp/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0ifhgdxff2xx2damaj72gpjln5k36grg2chvi4335mv3b5y55mp3"; sha256 = "097djjyl096zmicjpxlb858yz6rd5cj813xc8azbxlhsscikwjzx";
}; };
nativeBuildInputs = [ pkgconfig gettext itstool wrapGAppsHook ]; nativeBuildInputs = [ pkgconfig gettext itstool wrapGAppsHook ];

View File

@ -146,8 +146,6 @@ lib.makeScope pkgs.newScope (self: with self; {
totem = callPackage ./core/totem { }; totem = callPackage ./core/totem { };
vino = callPackage ./core/vino { };
yelp = callPackage ./core/yelp { }; yelp = callPackage ./core/yelp { };
yelp-xsl = callPackage ./core/yelp-xsl { }; yelp-xsl = callPackage ./core/yelp-xsl { };
@ -271,8 +269,6 @@ lib.makeScope pkgs.newScope (self: with self; {
gnome-panel = callPackage ./misc/gnome-panel { }; gnome-panel = callPackage ./misc/gnome-panel { };
gnome-screensaver = callPackage ./misc/gnome-screensaver { };
gnome-tweaks = callPackage ./misc/gnome-tweaks { }; gnome-tweaks = callPackage ./misc/gnome-tweaks { };
gpaste = callPackage ./misc/gpaste { }; gpaste = callPackage ./misc/gpaste { };
@ -324,7 +320,7 @@ lib.makeScope pkgs.newScope (self: with self; {
inherit (pkgs) atk glib gobject-introspection gspell webkitgtk gtk3 gtkmm3 inherit (pkgs) atk glib gobject-introspection gspell webkitgtk gtk3 gtkmm3
libgtop libgudev libhttpseverywhere librsvg libsecret gdk_pixbuf gtksourceview gtksourceviewmm gtksourceview4 libgtop libgudev libhttpseverywhere librsvg libsecret gdk_pixbuf gtksourceview gtksourceviewmm gtksourceview4
easytag meld orca rhythmbox shotwell gnome-usage easytag meld orca rhythmbox shotwell gnome-usage
clutter clutter-gst clutter-gtk cogl gtk-vnc libdazzle libgda libgit2-glib libgxps libgdata libgepub libcroco libpeas libgee geocode-glib libgweather librest libzapojit libmediaart gfbgraph gexiv2 folks totem-pl-parser gcr gsound libgnomekbd vte vte_290 gnome-menus gdl; clutter clutter-gst clutter-gtk cogl gtk-vnc libdazzle libgda libgit2-glib libgxps libgdata libgepub libpeas libgee geocode-glib libgweather librest libzapojit libmediaart gfbgraph gexiv2 folks totem-pl-parser gcr gsound libgnomekbd vte vte_290 gnome-menus gdl;
inherit (pkgs) gsettings-desktop-schemas; # added 2019-04-16 inherit (pkgs) gsettings-desktop-schemas; # added 2019-04-16
inherit (pkgs) gnome-video-effects; # added 2019-08-19 inherit (pkgs) gnome-video-effects; # added 2019-08-19
inherit (pkgs) gnome-online-accounts grilo grilo-plugins tracker tracker-miners gnome-photos; # added 2019-08-23 inherit (pkgs) gnome-online-accounts grilo grilo-plugins tracker tracker-miners gnome-photos; # added 2019-08-23
@ -358,4 +354,8 @@ lib.makeScope pkgs.newScope (self: with self; {
inherit (pkgs) dconf; # added 2019-11-30 inherit (pkgs) dconf; # added 2019-11-30
inherit (pkgs) networkmanagerapplet; # added 2019-12-12 inherit (pkgs) networkmanagerapplet; # added 2019-12-12
vino = throw "vino is deprecated, use gnome-remote-desktop instead."; # added 2020-03-13
gnome-screensaver = throw "gnome-screensaver is deprecated. If you are using GNOME Flashback, it now has a built-in lock screen. If you are using it elsewhere, you can try xscreenlock or other alternatives."; # added 2020-03-19
}) })

View File

@ -20,11 +20,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "devhelp"; pname = "devhelp";
version = "3.34.0"; version = "3.36.0";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/devhelp/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/devhelp/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0zpmn6fgkgiayvn4diia5df0s6s7dqrdnp3nrvpavsmgn0vhb4pg"; sha256 = "0d2fvd7p08qfv21cxpjl3rh5cl0bzk3fj2msvyz49fqmc69k5z93";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-shell-extension-appindicator"; pname = "gnome-shell-extension-appindicator";
version = "32"; version = "33";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Ubuntu"; owner = "Ubuntu";
repo = "gnome-shell-extension-appindicator"; repo = "gnome-shell-extension-appindicator";
rev = "v${version}"; rev = "v${version}";
sha256 = "1qv9ll4iwkinwk5mf2jppj4fbk8rfncix6q4hhrwnqmhmsbiz6n2"; sha256 = "B039bgg5b63oaHp1Z36k9Dh5FLr8fmfxI25ZgIA+p2I=";
}; };
# This package has a Makefile, but it's used for building a zip for # This package has a Makefile, but it's used for building a zip for

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-shell-arc-menu"; pname = "gnome-shell-arc-menu";
version = "33"; version = "43";
src = fetchFromGitLab { src = fetchFromGitLab {
owner = "LinxGem33"; owner = "LinxGem33";
repo = "Arc-Menu"; repo = "Arc-Menu";
rev = "v${version}-Stable"; rev = "v${version}-Stable";
sha256 = "0ncb19jlwy2y9jcj8g6cdbasdv6n7hm96qv9l251z6qgrmg28x4z"; sha256 = "1rspl89bxqy0wla8cj0h1d29gp38xg1vmvhc1qg7bl46ank4yp5q";
}; };
patches = [ patches = [
@ -22,12 +22,12 @@ stdenv.mkDerivation rec {
glib gettext glib gettext
]; ];
makeFlags = [ "INSTALL_BASE=${placeholder "out"}/share/gnome-shell/extensions" ]; makeFlags = [ "INSTALLBASE=${placeholder "out"}/share/gnome-shell/extensions" ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Gnome shell extension designed to replace the standard menu found in Gnome 3"; description = "Gnome shell extension designed to replace the standard menu found in Gnome 3";
license = licenses.gpl2Plus; license = licenses.gpl2Plus;
maintainers = with maintainers; [ dkabot ]; maintainers = with maintainers; [ dkabot ];
homepage = https://gitlab.com/LinxGem33/Arc-Menu; homepage = "https://gitlab.com/LinxGem33/Arc-Menu";
}; };
} }

View File

@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, glib, gettext, bash, gnome3 }: { stdenv, fetchFromGitHub, glib, gettext, bash, gnome3 }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-shell-extension-caffeine"; pname = "gnome-shell-extension-caffeine-unstable";
version = "33"; version = "2020-03-13";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "eonpatapon"; owner = "eonpatapon";
repo = "gnome-shell-extension-caffeine"; repo = "gnome-shell-extension-caffeine";
rev = "v${version}"; rev = "f25fa5cd586271f080c2304d0ad1273b55e864f5";
sha256 = "1v74xfk7csgc4kw1fg75brmhk2aby3d453ksnmj4k8ivyxkzxmfg"; sha256 = "12a76g1ydw677pjnj00r3vw31k4xybc63ynqzx3s4g0wi6lipng7";
}; };
uuid = "caffeine@patapon.info"; uuid = "caffeine@patapon.info";
@ -31,6 +31,6 @@ stdenv.mkDerivation rec {
description = "Fill the cup to inhibit auto suspend and screensaver"; description = "Fill the cup to inhibit auto suspend and screensaver";
license = licenses.gpl2; license = licenses.gpl2;
maintainers = with maintainers; [ eperuffo ]; maintainers = with maintainers; [ eperuffo ];
homepage = https://github.com/eonpatapon/gnome-shell-extension-caffeine; homepage = "https://github.com/eonpatapon/gnome-shell-extension-caffeine";
}; };
} }

View File

@ -1,14 +1,15 @@
{ stdenv, fetchFromGitHub, glib, gettext }: { stdenv, fetchFromGitHub, glib, gettext }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-shell-dash-to-dock"; pname = "gnome-shell-dash-to-dock-unstable";
version = "67"; version = "2020-03-19";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "micheleg"; owner = "micheleg";
repo = "dash-to-dock"; repo = "dash-to-dock";
rev = "extensions.gnome.org-v" + version; # rev = "extensions.gnome.org-v" + version;
sha256 = "1746xm0iyvyzj6m3pvjx11smh9w1s7naz426ki0dlr5l7jh3mpy5"; rev = "c58004802b2eedfde96966a4ec0151fea2a1bd98";
sha256 = "IjunykPFP2CbGcd8XVqhPuNUOUOOgDAQFIytLaoyqRg=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-shell-dash-to-panel"; pname = "gnome-shell-dash-to-panel";
version = "26"; version = "31";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "home-sweet-gnome"; owner = "home-sweet-gnome";
repo = "dash-to-panel"; repo = "dash-to-panel";
rev = "v${version}"; rev = "v${version}";
sha256 = "1phfx2pblygpcvsppsqqqflm7qnz46mqkw29hj0nv2dn69hf4xbc"; sha256 = "A8Ft+tLNv8KlTnVUzrWGavBWpP0u2rhkuG5LZls1A24=";
}; };
buildInputs = [ buildInputs = [
@ -21,6 +21,6 @@ stdenv.mkDerivation rec {
description = "An icon taskbar for Gnome Shell"; description = "An icon taskbar for Gnome Shell";
license = licenses.gpl2; license = licenses.gpl2;
maintainers = with maintainers; [ mounium ]; maintainers = with maintainers; [ mounium ];
homepage = https://github.com/jderose9/dash-to-panel; homepage = "https://github.com/jderose9/dash-to-panel";
}; };
} }

View File

@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, substituteAll, gjs, vte }: { stdenv, fetchFromGitHub, substituteAll, gjs, vte, gnome3 }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-shell-extension-drop-down-terminal"; pname = "gnome-shell-extension-drop-down-terminal";
version = "24"; version = "unstable-2020-03-25";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "zzrough"; owner = "zzrough";
repo = "gs-extensions-drop-down-terminal"; repo = "gs-extensions-drop-down-terminal";
rev = "v${version}"; rev = "a59669afdb395b3315619f62c1f740f8b2f0690d";
sha256 = "1gda56xzwsa5pgmgpb7lhb3i3gqishvn84282inwvqm86afks73r"; sha256 = "0igfxgrjdqq6z6xg4rsawxn261pk25g5dw2pm3bhwz5sqsy4bq3i";
}; };
uuid = "drop-down-terminal@gs-extensions.zzrough.org"; uuid = "drop-down-terminal@gs-extensions.zzrough.org";
@ -29,6 +29,6 @@ stdenv.mkDerivation rec {
description = "Configurable drop down terminal shell"; description = "Configurable drop down terminal shell";
license = licenses.gpl3; license = licenses.gpl3;
maintainers = with maintainers; [ ericdallo ]; maintainers = with maintainers; [ ericdallo ];
homepage = https://github.com/zzrough/gs-extensions-drop-down-terminal; homepage = "https://github.com/zzrough/gs-extensions-drop-down-terminal";
}; };
} }

View File

@ -4,13 +4,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-shell-gsconnect"; pname = "gnome-shell-gsconnect";
version = "31"; version = "35";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "andyholmes"; owner = "andyholmes";
repo = "gnome-shell-extension-gsconnect"; repo = "gnome-shell-extension-gsconnect";
rev = "v${version}"; rev = "v${version}";
sha256 = "0nricm31jh4akncs0rkkilmq9afg7kgbj5cy7w26pfqb3l4nhifg"; sha256 = "GqM2S9FIOHw+8AK2K7fpEBq34JqgKRCsW8I9Ve6c6IM=";
}; };
patches = [ patches = [

View File

@ -2,12 +2,12 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-shell-impatience"; pname = "gnome-shell-impatience";
version = "0.4.5"; version = "unstable-2019-09-23";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "timbertson"; owner = "timbertson";
repo = "gnome-shell-impatience"; repo = "gnome-shell-impatience";
rev = "version-${version}"; rev = "43e4e0a1e0eeb334a2da5224ce3ab4fdddf4f1b2";
sha256 = "0kvdhlz41fjyqdgcfw6mrr9nali6wg2qwji3dvykzfi0aypljzpx"; sha256 = "0kvdhlz41fjyqdgcfw6mrr9nali6wg2qwji3dvykzfi0aypljzpx";
}; };

View File

@ -5,13 +5,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-shell-extension-mpris-indicator-button-unstable"; pname = "gnome-shell-extension-mpris-indicator-button-unstable";
version = "2019-09-29"; version = "2020-03-21";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "JasonLG1979"; owner = "JasonLG1979";
repo = "gnome-shell-extension-mpris-indicator-button"; repo = "gnome-shell-extension-mpris-indicator-button";
rev = "6cdc28a8bde98f25618b27ee48280996e2b4a0f8"; rev = "de54160e7d905b8c48c0fe30a437f7c51efc1aa3";
sha256 = "1n3sh3phpa75y3vpc09wnzhis0m92zli1m46amzsdbvmk6gkifif"; sha256 = "k/NLmDrlaOsMkwLye7YGQhaQvOMNfhCsDVh2F0qnuFg=";
}; };
uuid = "mprisindicatorbutton@JasonLG1979.github.io"; uuid = "mprisindicatorbutton@JasonLG1979.github.io";

View File

@ -1,21 +1,31 @@
{ stdenv, fetchgit }: { stdenv, fetchFromGitLab }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-shell-extension-night-theme-switcher"; pname = "gnome-shell-extension-night-theme-switcher";
version = "2.1"; version = "19";
src = fetchgit { src = fetchFromGitLab {
url = "https://git.romainvigier.fr/Romain/nightthemeswitcher-gnome-shell-extension"; owner = "rmnvgr";
repo = "nightthemeswitcher-gnome-shell-extension";
rev = "v${version}"; rev = "v${version}";
sha256 = "1md44vmc83cp35riszhdvysnvl8pmkcpf5j6n4i2b3wwcjwxqwfy"; sha256 = "1ll0yf1skf51wa10mlrajd1dy459w33kx0i3vhfcx2pdk7mw5a3c";
}; };
makeFlags = [ "GSEXT_DIR_LOCAL=${placeholder "out"}/share/gnome-shell/extensions" ]; # makefile tries to do install in home directory using
# `gnome-extensions install`
dontBuild = true;
uuid = "nightthemeswitcher@romainvigier.fr";
installPhase = ''
mkdir -p $out/share/gnome-shell/extensions/
cp -r src/ $out/share/gnome-shell/extensions/${uuid}
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Automatically change the GTK theme to dark variant when Night Light activates"; description = "Automatically change the GTK theme to dark variant when Night Light activates";
license = licenses.gpl3; license = licenses.gpl3;
maintainers = with maintainers; [ jonafato ]; maintainers = with maintainers; [ jonafato ];
homepage = https://git.romainvigier.fr/Romain/nightthemeswitcher-gnome-shell-extension; homepage = "https://gitlab.com/rmnvgr/nightthemeswitcher-gnome-shell-extension/";
}; };
} }

View File

@ -7,13 +7,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-shell-extension-sound-output-device-chooser"; pname = "gnome-shell-extension-sound-output-device-chooser";
version = "25"; version = "28";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kgshank"; owner = "kgshank";
repo = "gse-sound-output-device-chooser"; repo = "gse-sound-output-device-chooser";
rev = version; rev = version;
sha256 = "16xaa4r01575ix9lrvww8n6pird8r3ml1j037b3sm6dfrf8kvzxs"; sha256 = "JmDUi6xTMbkMzW+hYJuKtjQj4ERctaiHr6eLsl5Fru4=";
}; };
patches = [ patches = [

View File

@ -1,4 +1,4 @@
{ stdenv, substituteAll, fetchFromGitHub, glib, glib-networking, libgtop }: { stdenv, substituteAll, fetchFromGitHub, glib, glib-networking, libgtop, gnome3 }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-shell-system-monitor"; pname = "gnome-shell-system-monitor";
@ -41,5 +41,8 @@ stdenv.mkDerivation rec {
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
maintainers = with maintainers; [ tiramiseb ]; maintainers = with maintainers; [ tiramiseb ];
homepage = https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet; homepage = https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet;
# 3.36 support not yet ready
# https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet/pull/564
broken = stdenv.lib.versionAtLeast gnome3.gnome-shell.version "3.34";
}; };
} }

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, glib, gettext }: { stdenv, fetchFromGitHub, glib, gnome3, gettext }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-shell-extension-topicons-plus"; pname = "gnome-shell-extension-topicons-plus";
@ -22,5 +22,7 @@ stdenv.mkDerivation rec {
license = licenses.gpl2; license = licenses.gpl2;
maintainers = with maintainers; [ eperuffo ]; maintainers = with maintainers; [ eperuffo ];
homepage = https://github.com/phocean/TopIcons-plus; homepage = https://github.com/phocean/TopIcons-plus;
# Unmaintained and no longer working with GNOME Shell 3.34+
broken = stdenv.lib.versionAtLeast gnome3.gnome-shell.version "3.32";
}; };
} }

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