gtksourceview: drop unversioned alias

Having the older ABI version as the default seems odd and the different
gtksourceview packages appear to be fundamentally incompatible, so drop
the unsuffixed version similar to webkitgtk and as discussed in [1].

[1] https://github.com/NixOS/nixpkgs/pull/543345#issuecomment-5199018730
This commit is contained in:
Tom Hunze
2026-09-04 21:49:07 +02:00
parent dff6994123
commit df071433bb
9 changed files with 15 additions and 16 deletions

View File

@@ -16,7 +16,7 @@
glib,
glib-networking,
gtk3,
gtksourceview,
gtksourceview3,
kakasi,
keybinder3,
libappindicator,
@@ -89,7 +89,7 @@ python3.pkgs.buildPythonApplication (finalAttrs: {
glib
glib-networking
gtk3
gtksourceview
gtksourceview3
kakasi
keybinder3
libappindicator

View File

@@ -15,7 +15,7 @@
libsndfile,
aubio,
gtk3,
gtksourceview,
gtksourceview3,
evince,
fluidsynth,
rubberband,
@@ -47,7 +47,7 @@ stdenv.mkDerivation (finalAttrs: {
libsndfile
aubio
gtk3
gtksourceview
gtksourceview3
evince
fluidsynth
rubberband

View File

@@ -18,7 +18,7 @@ let
gnomeDeps =
pkgs: with pkgs; [
zenity
gtksourceview
gtksourceview3
gnome-desktop
libgnome-keyring
webkitgtk_4_1

View File

@@ -8,7 +8,7 @@
pkg-config,
wrapGAppsHook3,
gtk3,
gtksourceview,
gtksourceview3,
gtkspell3,
webkitgtk_4_1,
pandoc,
@@ -41,7 +41,7 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [
gtk3
gtksourceview
gtksourceview3
gtkspell3
webkitgtk_4_1
pandoc

View File

@@ -6,7 +6,7 @@
glib,
gobject-introspection,
gtk3,
gtksourceview,
gtksourceview3,
pango,
webkitgtk_4_1,
}:
@@ -34,7 +34,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
gdk-pixbuf
glib
gtk3
gtksourceview
gtksourceview3
pango
webkitgtk_4_1
]

View File

@@ -8,7 +8,7 @@
gettext,
gspell,
gtk3,
gtksourceview,
gtksourceview3,
libappindicator,
netpbm,
webkitgtk_4_1,
@@ -40,7 +40,7 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [
gspell
gtk3
gtksourceview
gtksourceview3
libappindicator
webkitgtk_4_1
];

View File

@@ -1,12 +1,12 @@
{
buildDunePackage,
gtksourceview,
gtksourceview3,
lablgtk3,
}:
buildDunePackage {
pname = "lablgtk3-sourceview3";
buildInputs = lablgtk3.buildInputs ++ [ gtksourceview ];
buildInputs = lablgtk3.buildInputs ++ [ gtksourceview3 ];
propagatedBuildInputs = [ lablgtk3 ];
inherit (lablgtk3)
src

View File

@@ -1109,6 +1109,7 @@ mapAliases {
gtklp = throw "'gtklp' has been removed, as it depended on GTK 2. Consider using 'system-config-printer' instead."; # Added 2026-05-22
gtkmm2 = throw "'gtkmm2' has been removed as it depended on the deprecated gtk2. Consider using 'gtkmm3' or 'gtkmm4' instead."; # Added 2026-08-09
gtkradiant = throw "'gtkradiant' has been removed, as it relies on gtk2"; # Added 2026-06-18
gtksourceview = throw "'gtksourceview' attribute has been removed from nixpkgs. Use a 'gtksourceview*' attribute with an explicit ABI version instead."; # Added 2026-09-04
gtkspell2 = throw "'gtkspell2' has been removed as it depended on the deprecated GTK2 engine. Consider using 'gtkspell3' instead"; # Added 2026-07-23
gtuber = throw "'gtuber' has been removed due to being discontinued by upstream."; # Added 2025-12-12
gui-for-clash = throw "'gui-for-clash' has been removed, as it is unmaintained"; # Added 2026-05-28

View File

@@ -5795,8 +5795,6 @@ with pkgs;
gtk-mac-integration-gtk3 = gtk-mac-integration;
gtksourceview = gtksourceview3;
gtksourceview3 = callPackage ../development/libraries/gtksourceview/3.x.nix { };
gtksourceview4 = callPackage ../development/libraries/gtksourceview/4.x.nix { };
@@ -9052,7 +9050,7 @@ with pkgs;
};
quodlibet-full = quodlibet.override {
inherit gtksourceview;
inherit gtksourceview3;
kakasi = kakasi;
keybinder3 = keybinder3;
libappindicator = libappindicator;