Merge pull request #196351 from jtojnar/gnome-cleanups

GNOME cleanups
This commit is contained in:
Jan Tojnar 2022-10-18 09:21:06 +02:00 committed by GitHub
commit d9f2904cb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 24 additions and 32 deletions

View File

@ -12,7 +12,7 @@
, ostree , ostree
, glib , glib
, appstream , appstream
, libsoup , libsoup_3
, libadwaita , libadwaita
, polkit , polkit
, isocodes , isocodes
@ -80,7 +80,7 @@ stdenv.mkDerivation rec {
glib glib
packagekit packagekit
appstream appstream
libsoup libsoup_3
libadwaita libadwaita
gsettings-desktop-schemas gsettings-desktop-schemas
gnome-desktop gnome-desktop
@ -102,8 +102,6 @@ stdenv.mkDerivation rec {
]; ];
mesonFlags = [ mesonFlags = [
# Needs flatpak to upgrade
"-Dsoup2=true"
# Requires /etc/machine-id, D-Bus system bus, etc. # Requires /etc/machine-id, D-Bus system bus, etc.
"-Dtests=false" "-Dtests=false"
] ++ lib.optionals (!withFwupd) [ ] ++ lib.optionals (!withFwupd) [

View File

@ -8,7 +8,7 @@
, gnome , gnome
, gtksourceview4 , gtksourceview4
, gjs , gjs
, libsoup , libsoup_3
, webkitgtk_4_1 , webkitgtk_4_1
, icu , icu
, wrapGAppsHook , wrapGAppsHook
@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
gtksourceview4 gtksourceview4
gdk-pixbuf gdk-pixbuf
librsvg librsvg
libsoup libsoup_3
webkitgtk_4_1 webkitgtk_4_1
libepoxy libepoxy
gst_all_1.gstreamer gst_all_1.gstreamer

View File

@ -12,7 +12,6 @@
, libpeas , libpeas
, bash , bash
, gobject-introspection , gobject-introspection
, libsoup
, gtksourceview4 , gtksourceview4
, gsettings-desktop-schemas , gsettings-desktop-schemas
, adwaita-icon-theme , adwaita-icon-theme
@ -22,6 +21,7 @@
, libgee , libgee
, libgit2-glib , libgit2-glib
, libsecret , libsecret
, libxml2
, meson , meson
, ninja , ninja
, python3 , python3
@ -70,7 +70,7 @@ stdenv.mkDerivation rec {
libgit2-glib libgit2-glib
libpeas libpeas
libsecret libsecret
libsoup libxml2
]; ];
doCheck = false; # FAIL: tests-gitg gtk_style_context_add_provider_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed doCheck = false; # FAIL: tests-gitg gtk_style_context_add_provider_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

View File

@ -13,7 +13,6 @@
, itstool , itstool
, libhandy , libhandy
, libnotify , libnotify
, libsoup
, libxml2 , libxml2
, pkg-config , pkg-config
, python3Packages , python3Packages
@ -54,7 +53,6 @@ python3Packages.buildPythonApplication rec {
gtk3 gtk3
libhandy libhandy
libnotify libnotify
libsoup
]; ];
pythonPath = with python3Packages; [ pythonPath = with python3Packages; [

View File

@ -1,28 +1,22 @@
{ stdenv { stdenv
, lib , lib
, fetchurl , fetchurl
, fetchpatch
, pkg-config , pkg-config
, meson , meson
, ninja , ninja
, glib , glib
, gnome , gnome
, nspr
, gettext , gettext
, gobject-introspection , gobject-introspection
, vala , vala
, sqlite , sqlite
, libxml2
, dbus-glib , dbus-glib
, libsoup
, nss
, dbus , dbus
, libgee , libgee
, evolution-data-server-gtk4 , evolution-data-server-gtk4
, libsecret
, db
, python3 , python3
, readline , readline
, gtk3
, gtk-doc , gtk-doc
, docbook-xsl-nons , docbook-xsl-nons
, docbook_xml_dtd_43 , docbook_xml_dtd_43
@ -43,31 +37,35 @@ stdenv.mkDerivation rec {
sha256 = "D/+KiWMwzYKu5FmDJPflQciE0DN1NiEnI7S+s4x1kIY="; sha256 = "D/+KiWMwzYKu5FmDJPflQciE0DN1NiEnI7S+s4x1kIY=";
}; };
patches = [
# Do not check for unneeded GTK dependency.
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/folks/-/commit/686d58fb2454e5038bb951423245ed8c2d4b5cf6.patch";
sha256 = "0ydafVKhSrkHZK8bitPF5mNDTG5GrixGzBgBLNzLuXQ=";
})
];
nativeBuildInputs = [ nativeBuildInputs = [
gettext gettext
gobject-introspection gobject-introspection
gtk3
gtk-doc gtk-doc
docbook-xsl-nons docbook-xsl-nons
docbook_xml_dtd_43 docbook_xml_dtd_43
meson meson
ninja ninja
pkg-config pkg-config
python3
vala vala
] ++ lib.optionals telepathySupport [
python3
]; ];
buildInputs = [ buildInputs = [
db
dbus-glib dbus-glib
evolution-data-server-gtk4 evolution-data-server-gtk4 # UI part not needed, using gtk4 version to reduce system closure.
libsecret
libsoup
libxml2
nspr
nss
readline readline
] ++ lib.optional telepathySupport telepathy-glib; ] ++ lib.optionals telepathySupport [
telepathy-glib
];
propagatedBuildInputs = [ propagatedBuildInputs = [
glib glib
@ -105,9 +103,7 @@ stdenv.mkDerivation rec {
runHook postCheck runHook postCheck
''; '';
postPatch = '' postPatch = lib.optionalString telepathySupport ''
chmod +x meson_post_install.py
patchShebangs meson_post_install.py
patchShebangs tests/tools/manager-file.py patchShebangs tests/tools/manager-file.py
''; '';

View File

@ -15,7 +15,7 @@
, e2fsprogs , e2fsprogs
, libsoup , libsoup
, glib-networking , glib-networking
, wrapGAppsHook , wrapGAppsNoGuiHook
, gpgme , gpgme
, which , which
, makeWrapper , makeWrapper
@ -82,7 +82,7 @@ in stdenv.mkDerivation rec {
libxslt libxslt
docbook-xsl-nons docbook-xsl-nons
docbook_xml_dtd_42 docbook_xml_dtd_42
wrapGAppsHook wrapGAppsNoGuiHook
]; ];
buildInputs = [ buildInputs = [