gtk-sharp-2_0: drop

gtk-sharp-2_0 provides bindings for gtk 2, which is being removed from
nixpkgs. it is thus no longer useful, and we remove it.
This commit is contained in:
whispers
2026-08-10 19:58:04 -04:00
parent 01c32bc99f
commit c02664284f
3 changed files with 1 additions and 92 deletions

View File

@@ -1,9 +0,0 @@
genericBuild
# !!! hack
export ALL_INPUTS="$out $pkgs"
find $out -name "*.dll.config" | while read configFile; do
echo "modifying config file $configFile"
$monoDLLFixer "$configFile"
done

View File

@@ -1,83 +0,0 @@
{
stdenv,
lib,
fetchFromGitHub,
pkg-config,
mono,
glib,
pango,
gtk2,
libxml2,
monoDLLFixer,
autoconf,
automake,
libtool,
which,
fetchpatch,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "gtk-sharp";
version = "2.12.45";
builder = ./builder.sh;
src = fetchFromGitHub {
owner = "mono";
repo = "gtk-sharp";
rev = finalAttrs.version;
sha256 = "1vy6yfwkfv6bb45bzf4g6dayiqkvqqvlr02rsnhd10793hlpqlgg";
};
patches = [
(fetchpatch {
url = "https://projects.archlinux.de/svntogit/packages.git/plain/trunk/gtk-sharp2-2.12.12-gtkrange.patch?h=packages/gtk-sharp-2";
sha256 = "bjx+OfgWnN8SO82p8G7pbGuxJ9EeQxMLeHnrtEm8RV8=";
})
];
postInstall = ''
pushd $out/bin
for f in gapi2-*
do
substituteInPlace $f --replace mono ${mono}/bin/mono
done
popd
'';
nativeBuildInputs = [
pkg-config
autoconf
automake
libtool
which
];
buildInputs = [
mono
glib
pango
gtk2
libxml2
];
preConfigure = ''
./bootstrap-${lib.versions.majorMinor finalAttrs.version}
'';
env.NIX_CFLAGS_COMPILE = "-Wno-error=int-conversion";
dontStrip = true;
inherit monoDLLFixer;
passthru = {
gtk = gtk2;
};
meta = {
description = "Graphical User Interface Toolkit for mono and .Net";
homepage = "https://www.mono-project.com/docs/gui/gtksharp";
platforms = lib.platforms.unix;
license = lib.licenses.gpl2;
};
})

View File

@@ -1059,6 +1059,7 @@ mapAliases {
gssdp = throw "'gssdp' (version 1.4) has been removed as it was unmaintained upstream and depended on libsoup 2.4. Consider using `gssdp_1_6` instead"; # Added 2026-06-07
gtdialog = throw "'gtdialog' has been removed, as it depended on GTK 2. Consider using 'yad' or 'zenity' instead."; # Added 2026-05-22
gtk-engine-murrine = throw "'gtk-engine-murrine' has been removed, as it depended on GTK2."; # Added 2026-07-22
gtk-sharp-2_0 = throw "'gtk-sharp-2_0' has been removed as it provided bindings for the deprecated GTK 2 engine, which is being removed from Nixpkgs."; # Added 2026-08-10
gtk-sharp-beans = throw "'gtk-sharp-beans' has been removed as it depended on the deprecated GTK 2 engine via Gtk# 2."; # Added 2026-08-10
gtk_engines = throw "'gtk_engines' has been removed as it was archived upstream and depends on the deprecated GTK2 engine."; # Added 2026-07-30
gtkcord4 = throw "'gtkcord4' has been renamed to/replaced by 'dissent'"; # Converted to throw 2025-10-27