diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2022-10-26 12:42:40 +0200 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2022-10-26 20:19:06 +0200 |
commit | e84c8d685df21f5b9bffe6ab6c9cd156a3759b6f (patch) | |
tree | 623d87d8ea9abc7fb7c978453c74d1a4d55c9486 /pkgs/desktops/gnome | |
parent | 514adf455def08dcc8fd1a793b86ff3ccc0e0da8 (diff) |
gnome.gnome-documents: remove
The package is broken and abandoned.
Diffstat (limited to 'pkgs/desktops/gnome')
-rw-r--r-- | pkgs/desktops/gnome/apps/gnome-documents/default.nix | 127 | ||||
-rw-r--r-- | pkgs/desktops/gnome/default.nix | 3 |
2 files changed, 1 insertions, 129 deletions
diff --git a/pkgs/desktops/gnome/apps/gnome-documents/default.nix b/pkgs/desktops/gnome/apps/gnome-documents/default.nix deleted file mode 100644 index 3f7ac34696bfe..0000000000000 --- a/pkgs/desktops/gnome/apps/gnome-documents/default.nix +++ /dev/null @@ -1,127 +0,0 @@ -{ lib, stdenv -, meson -, ninja -, gettext -, fetchurl -, fetchpatch -, evince -, gjs -, pkg-config -, gtk3 -, glib -, tracker -, tracker-miners -, itstool -, libxslt -, webkitgtk -, libgdata -, gnome-desktop -, libzapojit -, libgepub -, gnome -, gdk-pixbuf -, libsoup -, docbook_xsl -, docbook_xml_dtd_42 -, gobject-introspection -, inkscape -, poppler_utils -, desktop-file-utils -, wrapGAppsHook -, python3 -, appstream-glib -, gsettings-desktop-schemas -}: - -stdenv.mkDerivation rec { - pname = "gnome-documents"; - version = "3.34.0"; - - src = fetchurl { - url = "mirror://gnome/sources/gnome-documents/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; - sha256 = "1qph567mapg3s1a26k7b8y57g9bklhj2mh8xm758z9zkms20xafq"; - }; - - patches = [ - # Fix inkscape 1.0 usage - (fetchpatch { - url = "https://gitlab.gnome.org/GNOME/gnome-documents/commit/0f55a18c40a61e6ae4ec4652604775f139892350.diff"; - sha256 = "1yrisq69dl1dn7639drlbza20a5ic6xg04ksr9iq4sxdx3xj3d8s"; - }) - ]; - - nativeBuildInputs = [ - meson - ninja - pkg-config - gettext - itstool - libxslt - desktop-file-utils - docbook_xsl - docbook_xml_dtd_42 - wrapGAppsHook - python3 - appstream-glib - - # building getting started - inkscape - poppler_utils - ]; - - buildInputs = [ - gtk3 - glib - gsettings-desktop-schemas - gdk-pixbuf - gnome.adwaita-icon-theme - evince - libsoup - webkitgtk - gjs - gobject-introspection - tracker - tracker-miners - libgdata - gnome-desktop - libzapojit - libgepub - ]; - - doCheck = true; - - mesonFlags = [ - "-Dgetting_started=true" - ]; - - postPatch = '' - chmod +x meson_post_install.py # patchShebangs requires executable file - patchShebangs meson_post_install.py - ''; - - preFixup = '' - substituteInPlace $out/bin/gnome-documents --replace gapplication "${glib.bin}/bin/gapplication" - ''; - - preConfigure = - # To silence inkscape warnings regarding profile directory - '' - export INKSCAPE_PROFILE_DIR="$(mktemp -d)" - ''; - - passthru = { - updateScript = gnome.updateScript { - packageName = pname; - attrPath = "gnome.${pname}"; - }; - }; - - meta = with lib; { - broken = true; # Tracker 3 not supported and it cannot start Tracker 2. - homepage = "https://wiki.gnome.org/Apps/Documents"; - description = "Document manager application designed to work with GNOME 3"; - maintainers = teams.gnome.members; - license = licenses.gpl2; - platforms = platforms.linux; - }; -} diff --git a/pkgs/desktops/gnome/default.nix b/pkgs/desktops/gnome/default.nix index f099d96373626..5d5e0a215a26c 100644 --- a/pkgs/desktops/gnome/default.nix +++ b/pkgs/desktops/gnome/default.nix @@ -160,8 +160,6 @@ lib.makeScope pkgs.newScope (self: with self; { gnome-clocks = callPackage ./apps/gnome-clocks { }; - gnome-documents = callPackage ./apps/gnome-documents { }; - gnome-logs = callPackage ./apps/gnome-logs { }; gnome-maps = callPackage ./apps/gnome-maps { }; @@ -267,6 +265,7 @@ lib.makeScope pkgs.newScope (self: with self; { libgnome-games-support = throw "The ‘gnome.libgnome-games-support’ alias was removed. Please use ‘pkgs.libgnome-games-support’ directly."; # converted to throw on 2022-10-26 gnome-books = throw "The ‘gnome.gnome-books’ package was removed as it is broken and abandoned."; # added 2022-10-26 + gnome-documents = throw "The ‘gnome.gnome-documents’ package was removed as it is broken and abandoned."; # added 2022-10-26 gnome-devel-docs = throw "The ‘gnome.gnome-devel-docs’ package was removed as it is outdated and no longer relevant."; # added 2022-10-26 } |