gtkspell2: drop (#545093)

This commit is contained in:
Masum Reza
2026-07-25 04:00:55 +00:00
committed by GitHub
4 changed files with 3 additions and 78 deletions
@@ -13,7 +13,6 @@
gst_all_1,
gtk2,
gtk2-x11,
gtkspell2,
intltool,
lib,
libice,
@@ -94,7 +93,6 @@ let
]
++ lib.optionals stdenv.hostPlatform.isLinux [
gtk2
gtkspell2
farstream
]
++ lib.optional stdenv.hostPlatform.isDarwin gtk2-x11;
@@ -126,16 +124,14 @@ let
"--disable-nm"
"--disable-tcl"
"--disable-gevolution"
"--disable-gtkspell"
]
++ lib.optionals withCyrus_sasl [ "--enable-cyrus-sasl=yes" ]
++ lib.optionals withGnutls [
"--enable-gnutls=yes"
"--enable-nss=no"
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
"--disable-gtkspell"
"--disable-vv"
]
++ lib.optionals stdenv.hostPlatform.isDarwin [ "--disable-vv" ]
++ lib.optionals stdenv.cc.isClang [ "CFLAGS=-Wno-error=int-conversion" ];
enableParallelBuilding = true;
@@ -1,15 +0,0 @@
diff --git a/configure.ac b/configure.ac
index e926833..667a8e6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -12,6 +12,10 @@ AC_CONFIG_SRCDIR(gtkspell/gtkspell.c)
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
AC_CONFIG_HEADERS([config.h])
+AC_CONFIG_MACRO_DIRS([m4])
+AM_GNU_GETTEXT_VERSION([0.25])
+AM_GNU_GETTEXT([external])
+
SPELLER_LIB=-lenchant
AC_SUBST(SPELLER_LIB)
-57
View File
@@ -1,57 +0,0 @@
{
stdenv,
lib,
fetchurl,
fetchpatch,
autoreconfHook,
docbook_xsl,
gtk-doc,
intltool,
pkg-config,
aspell,
enchant,
gtk2,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "gtkspell";
version = "2.0.16";
src = fetchurl {
url = "mirror://sourceforge/gtkspell/gtkspell-${finalAttrs.version}.tar.gz";
sha256 = "00hdv28bp72kg1mq2jdz1sdw2b8mb9iclsp7jdqwpck705bdriwg";
};
patches = [
# Fix build with gettext 0.25
./gettext-0.25.patch
# Build with enchant 2
# https://github.com/archlinux/svntogit-packages/tree/packages/gtkspell/trunk
(fetchpatch {
url = "https://github.com/archlinux/svntogit-packages/raw/17fb30b5196db378c18e7c115f28e97b962b95ff/trunk/enchant-2.diff";
sha256 = "0d9409bnapwzwhnfpz3dvl6qalskqa4lzmhrmciazsypbw3ry5rf";
})
];
nativeBuildInputs = [
autoreconfHook
docbook_xsl
gtk2 # GLIB_GNU_GETTEXT
gtk-doc
intltool
pkg-config
];
buildInputs = [
aspell
enchant
gtk2
];
meta = {
description = "Word-processor-style highlighting and replacement of misspelled words";
homepage = "https://gtkspell.sourceforge.net";
platforms = lib.platforms.unix;
license = lib.licenses.gpl2;
};
})
+1
View File
@@ -1021,6 +1021,7 @@ mapAliases {
gtkgnutella = gtk-gnutella; # Added 2026-05-21
gtklp = throw "'gtklp' has been removed, as it depended on GTK 2. Consider using 'system-config-printer' instead."; # Added 2026-05-22
gtkradiant = throw "'gtkradiant' has been removed, as it relies on gtk2"; # Added 2026-06-18
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
guile-disarchive = throw "'guile-disarchive' has been renamed to/replaced by 'disarchive'"; # Converted to throw 2025-10-27