Merge pull request #197884 from jtojnar/gnome-cleanups

GNOME: clean up old packages
This commit is contained in:
Jan Tojnar 2022-10-27 12:35:03 +02:00 committed by GitHub
commit b04d62c24f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 379 deletions

View file

@ -1,98 +0,0 @@
{ stdenv
, lib
, meson
, ninja
, gettext
, fetchurl
, fetchpatch
, evince
, gjs
, pkg-config
, gtk3
, glib
, tracker
, tracker-miners
, libxslt
, webkitgtk
, gnome-desktop
, libgepub
, gnome
, gdk-pixbuf
, gsettings-desktop-schemas
, adwaita-icon-theme
, docbook-xsl-nons
, docbook_xml_dtd_42
, desktop-file-utils
, python3
, gobject-introspection
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "gnome-books";
version = "40.0";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "0c41l8m2di8h39bmk2fnhpwglwp6qhljmwqqbihzp4ay9976zrc5";
};
patches = [
# Fix build with meson 0.61
# https://gitlab.gnome.org/GNOME/gnome-books/-/merge_requests/62
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gnome-books/-/commit/2663dcdaaaa71f067a4c2d0005eecc0fdf940bf5.patch";
sha256 = "v2mLzrxSWrkJ0N6seR8jNXX14FsneEPuE9ELLVUe6+E=";
})
];
nativeBuildInputs = [
meson
ninja
pkg-config
gettext
libxslt
desktop-file-utils
docbook-xsl-nons
docbook_xml_dtd_42
wrapGAppsHook
python3
];
buildInputs = [
gtk3
glib
gsettings-desktop-schemas
gdk-pixbuf
adwaita-icon-theme
evince
webkitgtk
gjs
gobject-introspection
tracker
tracker-miners
gnome-desktop
libgepub
];
postPatch = ''
chmod +x meson_post_install.py # patchShebangs requires executable file
patchShebangs meson_post_install.py
'';
passthru = {
updateScript = gnome.updateScript {
packageName = "gnome-books";
attrPath = "gnome.gnome-books";
};
};
meta = with lib; {
broken = true; # won't build with current meson; upstream is dead/archived
homepage = "https://wiki.gnome.org/Apps/Books";
description = "An e-book manager application for GNOME";
maintainers = teams.gnome.members;
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
}

View file

@ -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;
};
}

View file

@ -156,8 +156,6 @@ lib.makeScope pkgs.newScope (self: with self; {
ghex = callPackage ./apps/ghex { };
gnome-books = callPackage ./apps/gnome-books { };
gnome-boxes = callPackage ./apps/gnome-boxes { };
gnome-calendar = callPackage ./apps/gnome-calendar { };
@ -166,8 +164,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 { };
@ -196,8 +192,6 @@ lib.makeScope pkgs.newScope (self: with self; {
devhelp = callPackage ./devtools/devhelp { };
gnome-devel-docs = callPackage ./devtools/gnome-devel-docs { };
#### Games
aisleriot = callPackage ./games/aisleriot { };
@ -270,129 +264,12 @@ lib.makeScope pkgs.newScope (self: with self; {
}) // lib.optionalAttrs config.allowAliases {
#### Legacy aliases. They need to be outside the scope or they will shadow the attributes from parent scope.
gnome-desktop = pkgs.gnome-desktop; # added 2022-03-16
gnome-desktop = throw "The gnome.gnome-desktop alias was removed. Please use pkgs.gnome-desktop directly."; # converted to throw on 2022-10-26
gnome-todo = pkgs.endeavour; # added 2022-07-30
libgnome-games-support = pkgs.libgnome-games-support; # added 2022-02-19
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
bijiben = throw "The gnome.bijiben alias was removed on 2022-01-13. Please use gnome.gnome-notes directly."; # added 2018-09-26
evolution_data_server = throw "The gnome.evolution_data_server alias was removed on 2022-01-13. Please use gnome.evolution-data-server directly."; # added 2018-02-25
geocode_glib = throw "The gnome.geocode_glib alias was removed on 2022-01-13. Please use pkgs.geocode-glib directly."; # added 2018-02-25
glib_networking = throw "The gnome.glib_networking alias was removed on 2022-01-13. Please use pkgs.glib-networking directly."; # added 2018-02-25
gnome_common = throw "The gnome.gnome_common alias was removed on 2022-01-13. Please use gnome.gnome-common directly."; # added 2018-02-25
gnome_control_center = throw "The gnome.gnome_control_center alias was removed on 2022-01-13. Please use gnome.gnome-control-center directly."; # added 2018-02-25
gnome_desktop = throw "The gnome.gnome_desktop alias was removed on 2022-01-13. Please use pkgs.gnome-desktop directly."; # added 2018-02-25
gnome_keyring = throw "The gnome.gnome_keyring alias was removed on 2022-01-13. Please use gnome.gnome-keyring directly."; # added 2018-02-25
gnome_online_accounts = throw "The gnome.gnome_online_accounts alias was removed on 2022-01-13. Please use gnome.gnome-online-accounts directly."; # added 2018-02-25
gnome_session = throw "The gnome.gnome_session alias was removed on 2022-01-13. Please use gnome.gnome-session directly."; # added 2018-02-25
gnome_settings_daemon = throw "The gnome.gnome_settings_daemon alias was removed on 2022-01-13. Please use gnome.gnome-settings-daemon directly."; # added 2018-02-25
gnome_shell = throw "The gnome.gnome_shell alias was removed on 2022-01-13. Please use gnome.gnome-shell directly."; # added 2018-02-25
gnome_terminal = throw "The gnome.gnome_terminal alias was removed on 2022-01-13. Please use gnome.gnome-terminal directly."; # added 2018-02-25
gnome-themes-standard = throw "The gnome.gnome-themes-standard alias was removed on 2022-01-13. Please use gnome.gnome-themes-extra directly."; # added 2018-03-14
gnome_themes_standard = throw "The gnome.gnome_themes_standard alias was removed on 2022-01-13. Please use gnome.gnome-themes-standard directly."; # added 2018-02-25
gnome-tweak-tool = throw "The gnome.gnome-tweak-tool alias was removed on 2022-01-13. Please use gnome.gnome-tweaks directly."; # added 2018-03-21
gsettings_desktop_schemas = throw "The gnome.gsettings_desktop_schemas alias was removed on 2022-01-13. Please use gnome.gsettings-desktop-schemas directly."; # added 2018-02-25
libgames-support = throw "The gnome.libgames-support alias was removed on 2022-01-13. Please use pkgs.libgnome-games-support directly."; # added 2018-03-14
libgnome_keyring = throw "The gnome.libgnome_keyring alias was removed on 2022-01-13. Please use gnome.libgnome-keyring directly."; # added 2018-02-25
rarian = throw "The gnome.rarian alias was removed on 2022-01-13. Please use pkgs.rarian directly."; # added 2018-04-25
networkmanager_fortisslvpn = throw "The gnome.networkmanager_fortisslvpn alias was removed on 2022-01-13. Please use gnome.networkmanager-fortisslvpn directly."; # added 2018-02-25
networkmanager_iodine = throw "The gnome.networkmanager_iodine alias was removed on 2022-01-13. Please use gnome.networkmanager-iodine directly."; # added 2018-02-25
networkmanager_l2tp = throw "The gnome.networkmanager_l2tp alias was removed on 2022-01-13. Please use gnome.networkmanager-l2tp directly."; # added 2018-02-25
networkmanager_openconnect = throw "The gnome.networkmanager_openconnect alias was removed on 2022-01-13. Please use gnome.networkmanager-openconnect directly."; # added 2018-02-25
networkmanager_openvpn = throw "The gnome.networkmanager_openvpn alias was removed on 2022-01-13. Please use gnome.networkmanager-openvpn directly."; # added 2018-02-25
networkmanager_vpnc = throw "The gnome.networkmanager_vpnc alias was removed on 2022-01-13. Please use gnome.networkmanager-vpnc directly."; # added 2018-02-25
yelp_xsl = throw "The gnome.yelp_xsl alias was removed on 2022-01-13. Please use gnome.yelp-xsl directly."; # added 2018-02-25
yelp_tools = throw "The gnome.yelp_tools alias was removed on 2022-01-13. Please use gnome.yelp-tools directly."; # added 2018-02-25
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
atk = throw "The gnome.atk alias was removed on 2022-01-13. Please use pkgs.atk directly."; # added 2019-02-08
glib = throw "The gnome.glib alias was removed on 2022-01-13. Please use pkgs.glib directly."; # added 2019-02-08
gobject-introspection = throw "The gnome.gobject-introspection alias was removed on 2022-01-13. Please use pkgs.gobject-introspection directly."; # added 2019-02-08
gspell = throw "The gnome.gspell alias was removed on 2022-01-13. Please use pkgs.gspell directly."; # added 2019-02-08
webkitgtk = throw "The gnome.webkitgtk alias was removed on 2022-01-13. Please use pkgs.webkitgtk directly."; # added 2019-02-08
gtk3 = throw "The gnome.gtk3 alias was removed on 2022-01-13. Please use pkgs.gtk3 directly."; # added 2019-02-08
gtkmm3 = throw "The gnome.gtkmm3 alias was removed on 2022-01-13. Please use pkgs.gtkmm3 directly."; # added 2019-02-08
libgtop = throw "The gnome.libgtop alias was removed on 2022-01-13. Please use pkgs.libgtop directly."; # added 2019-02-08
libgudev = throw "The gnome.libgudev alias was removed on 2022-01-13. Please use pkgs.libgudev directly."; # added 2019-02-08
libhttpseverywhere = throw "The gnome.libhttpseverywhere alias was removed on 2022-01-13. Please use pkgs.libhttpseverywhere directly."; # added 2019-02-08
librsvg = throw "The gnome.librsvg alias was removed on 2022-01-13. Please use pkgs.librsvg directly."; # added 2019-02-08
libsecret = throw "The gnome.libsecret alias was removed on 2022-01-13. Please use pkgs.libsecret directly."; # added 2019-02-08
gdk-pixbuf = throw "The gnome.gdk-pixbuf alias was removed on 2022-01-13. Please use pkgs.gdk-pixbuf directly."; # added 2019-02-08
gtksourceview = throw "The gnome.gtksourceview alias was removed on 2022-01-13. Please use pkgs.gtksourceview directly."; # added 2019-02-08
gtksourceviewmm = throw "The gnome.gtksourceviewmm alias was removed on 2022-01-13. Please use pkgs.gtksourceviewmm directly."; # added 2019-02-08
gtksourceview4 = throw "The gnome.gtksourceview4 alias was removed on 2022-01-13. Please use pkgs.gtksourceview4 directly."; # added 2019-02-08
easytag = throw "The gnome.easytag alias was removed on 2022-01-13. Please use pkgs.easytag directly."; # added 2019-02-08
meld = throw "The gnome.meld alias was removed on 2022-01-13. Please use pkgs.meld directly."; # added 2019-02-08
orca = throw "The gnome.orca alias was removed on 2022-01-13. Please use pkgs.orca directly."; # added 2019-02-08
rhythmbox = throw "The gnome.rhythmbox alias was removed on 2022-01-13. Please use pkgs.rhythmbox directly."; # added 2019-02-08
shotwell = throw "The gnome.shotwell alias was removed on 2022-01-13. Please use pkgs.shotwell directly."; # added 2019-02-08
gnome-usage = throw "The gnome.gnome-usage alias was removed on 2022-01-13. Please use pkgs.gnome-usage directly."; # added 2019-02-08
clutter = throw "The gnome.clutter alias was removed on 2022-01-13. Please use pkgs.clutter directly."; # added 2019-02-08
clutter-gst = throw "The gnome.clutter-gst alias was removed on 2022-01-13. Please use pkgs.clutter-gst directly."; # added 2019-02-08
clutter-gtk = throw "The gnome.clutter-gtk alias was removed on 2022-01-13. Please use pkgs.clutter-gtk directly."; # added 2019-02-08
cogl = throw "The gnome.cogl alias was removed on 2022-01-13. Please use pkgs.cogl directly."; # added 2019-02-08
gtk-vnc = throw "The gnome.gtk-vnc alias was removed on 2022-01-13. Please use pkgs.gtk-vnc directly."; # added 2019-02-08
libdazzle = throw "The gnome.libdazzle alias was removed on 2022-01-13. Please use pkgs.libdazzle directly."; # added 2019-02-08
libgda = throw "The gnome.libgda alias was removed on 2022-01-13. Please use pkgs.libgda directly."; # added 2019-02-08
libgit2-glib = throw "The gnome.libgit2-glib alias was removed on 2022-01-13. Please use pkgs.libgit2-glib directly."; # added 2019-02-08
libgxps = throw "The gnome.libgxps alias was removed on 2022-01-13. Please use pkgs.libgxps directly."; # added 2019-02-08
libgdata = throw "The gnome.libgdata alias was removed on 2022-01-13. Please use pkgs.libgdata directly."; # added 2019-02-08
libgepub = throw "The gnome.libgepub alias was removed on 2022-01-13. Please use pkgs.libgepub directly."; # added 2019-02-08
libpeas = throw "The gnome.libpeas alias was removed on 2022-01-13. Please use pkgs.libpeas directly."; # added 2019-02-08
libgee = throw "The gnome.libgee alias was removed on 2022-01-13. Please use pkgs.libgee directly."; # added 2019-02-08
geocode-glib = throw "The gnome.geocode-glib alias was removed on 2022-01-13. Please use pkgs.geocode-glib directly."; # added 2019-02-08
libgweather = throw "The gnome.libgweather alias was removed on 2022-01-13. Please use pkgs.libgweather directly."; # added 2019-02-08
librest = throw "The gnome.librest alias was removed on 2022-01-13. Please use pkgs.librest directly."; # added 2019-02-08
libzapojit = throw "The gnome.libzapojit alias was removed on 2022-01-13. Please use pkgs.libzapojit directly."; # added 2019-02-08
libmediaart = throw "The gnome.libmediaart alias was removed on 2022-01-13. Please use pkgs.libmediaart directly."; # added 2019-02-08
gfbgraph = throw "The gnome.gfbgraph alias was removed on 2022-01-13. Please use pkgs.gfbgraph directly."; # added 2019-02-08
gexiv2 = throw "The gnome.gexiv2 alias was removed on 2022-01-13. Please use pkgs.gexiv2 directly."; # added 2019-02-08
folks = throw "The gnome.folks alias was removed on 2022-01-13. Please use pkgs.folks directly."; # added 2019-02-08
totem-pl-parser = throw "The gnome.totem-pl-parser alias was removed on 2022-01-13. Please use pkgs.totem-pl-parser directly."; # added 2019-02-08
gcr = throw "The gnome.gcr alias was removed on 2022-01-13. Please use pkgs.gcr directly."; # added 2019-02-08
gsound = throw "The gnome.gsound alias was removed on 2022-01-13. Please use pkgs.gsound directly."; # added 2019-02-08
libgnomekbd = throw "The gnome.libgnomekbd alias was removed on 2022-01-13. Please use pkgs.libgnomekbd directly."; # added 2019-02-08
vte = throw "The gnome.vte alias was removed on 2022-01-13. Please use pkgs.vte directly."; # added 2019-02-08
vte_290 = throw "The gnome.vte_290 alias was removed on 2022-01-13. Please use pkgs.vte_290 directly."; # added 2019-02-08
gnome-menus = throw "The gnome.gnome-menus alias was removed on 2022-01-13. Please use pkgs.gnome-menus directly."; # added 2019-02-08
gdl = throw "The gnome.gdl alias was removed on 2022-01-13. Please use pkgs.gdl directly."; # added 2019-02-08
gsettings-desktop-schemas = throw "The gnome.gsettings-desktop-schemas alias was removed on 2022-01-13. Please use pkgs.gsettings-desktop-schemas directly."; # added 2019-04-16
gnome-video-effects = throw "The gnome.gnome-video-effects alias was removed on 2022-01-13. Please use pkgs.gnome-video-effects directly."; # added 2019-08-19
gnome-online-accounts = throw "The gnome.gnome-online-accounts alias was removed on 2022-01-13. Please use pkgs.gnome-online-accounts directly."; # added 2019-08-23
grilo = throw "The gnome.grilo alias was removed on 2022-01-13. Please use pkgs.grilo directly."; # added 2019-08-23
grilo-plugins = throw "The gnome.grilo-plugins alias was removed on 2022-01-13. Please use pkgs.grilo-plugins directly."; # added 2019-08-23
tracker = throw "The gnome.tracker alias was removed on 2022-01-13. Please use pkgs.tracker directly."; # added 2019-08-23
tracker-miners = throw "The gnome.tracker-miners alias was removed on 2022-01-13. Please use pkgs.tracker-miners directly."; # added 2019-08-23
gnome-photos = throw "The gnome.gnome-photos alias was removed on 2022-01-13. Please use pkgs.gnome-photos directly."; # added 2019-08-23
glib-networking = throw "The gnome.glib-networking alias was removed on 2022-01-13. Please use pkgs.glib-networking directly."; # added 2019-09-02
nemiver = throw "The gnome.nemiver alias was removed on 2022-01-13. Please use pkgs.nemiver directly."; # added 2019-09-09
defaultIconTheme = throw "The gnome.defaultIconTheme alias was removed on 2022-01-13. Please use gnome.adwaita-icon-theme directly."; # added 2019-02-08
gtk = throw "The gnome.gtk alias was removed on 2022-01-13. Please use pkgs.gtk3 directly."; # added 2019-02-08
gtkmm = throw "The gnome.gtkmm alias was removed on 2022-01-13. Please use pkgs.gtkmm3 directly."; # added 2019-02-08
rest = throw "The gnome.rest alias was removed on 2022-01-13. Please use pkgs.librest directly."; # added 2019-02-08
pidgin-im-gnome-shell-extension = throw "The gnome.pidgin-im-gnome-shell-extension alias was removed on 2022-01-13. Please use pkgs.gnomeExtensions.pidgin-im-integration directly."; # added 2019-08-01
vala = throw "The gnome.vala alias was removed on 2022-01-13. Please use pkgs.vala directly."; # added 2019-10-10
gnome-user-docs = throw "The gnome.gnome-user-docs alias was removed on 2022-01-13. Please use pkgs.gnome-user-docs directly."; # added 2019-11-20
gjs = throw "The gnome.gjs alias was removed on 2022-01-13. Please use pkgs.gjs directly."; # added 2019-01-05
yelp-tools = throw "The gnome.yelp-tools alias was removed on 2022-01-13. Please use pkgs.yelp-tools directly."; # added 2019-11-20
dconf = throw "The gnome.dconf alias was removed on 2022-01-13. Please use pkgs.dconf directly."; # added 2019-11-30
networkmanagerapplet = throw "The gnome.networkmanagerapplet alias was removed on 2022-01-13. Please use pkgs.networkmanagerapplet directly."; # added 2019-12-12
glade = throw "The gnome.glade alias was removed on 2022-01-13. Please use pkgs.glade directly."; # added 2020-05-15
maintainers = throw "The gnome.maintainers alias was removed on 2022-01-13. Please use lib.teams.gnome.members directly."; # added 2020-04-01
mutter328 = throw "Removed as Pantheon is upgraded to mutter338.";
mutter334 = throw "Removed as Pantheon is upgraded to mutter338.";
gnome-getting-started-docs = throw "Removed in favour of gnome-tour.";
}

View file

@ -1,26 +0,0 @@
{ lib, stdenv, fetchurl, gnome, intltool, itstool, libxml2 }:
stdenv.mkDerivation rec {
pname = "gnome-devel-docs";
version = "40.3";
src = fetchurl {
url = "mirror://gnome/sources/gnome-devel-docs/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "v+jyHcqx70sRVlThchK8sDtqEAgzQIA/SW8ia0oILPY=";
};
passthru = {
updateScript = gnome.updateScript { packageName = "gnome-devel-docs"; attrPath = "gnome.gnome-devel-docs"; };
};
nativeBuildInputs = [ intltool ];
buildInputs = [ itstool libxml2 ];
meta = with lib; {
homepage = "https://github.com/GNOME/gnome-devel-docs";
description = "Developer documentation for GNOME";
maintainers = teams.gnome.members;
license = licenses.fdl12;
platforms = platforms.linux;
};
}