push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,55 @@
{
lib,
stdenv,
fetchurl,
gtk3,
aspell,
pkg-config,
enchant,
isocodes,
intltool,
gobject-introspection,
vala,
}:
stdenv.mkDerivation rec {
pname = "gtkspell";
version = "3.0.10";
outputs = [
"out"
"dev"
];
src = fetchurl {
url = "mirror://sourceforge/gtkspell/gtkspell3-${version}.tar.xz";
sha256 = "0cjp6xdcnzh6kka42w9g0w2ihqjlq8yl8hjm9wsfnixk6qwgch5h";
};
nativeBuildInputs = [
pkg-config
intltool
gobject-introspection
vala
];
buildInputs = [
aspell
gtk3
enchant
isocodes
];
propagatedBuildInputs = [ enchant ];
configureFlags = [
"--enable-introspection"
"--enable-vala"
];
meta = with lib; {
homepage = "https://gtkspell.sourceforge.net/";
description = "Word-processor-style highlighting GtkTextView widget";
license = licenses.gpl2Plus;
platforms = platforms.unix;
maintainers = [ ];
};
}

View File

@@ -0,0 +1,57 @@
{
stdenv,
lib,
fetchurl,
fetchpatch,
autoreconfHook,
docbook_xsl,
gtk-doc,
intltool,
pkg-config,
aspell,
enchant,
gtk2,
}:
stdenv.mkDerivation rec {
pname = "gtkspell";
version = "2.0.16";
src = fetchurl {
url = "mirror://sourceforge/gtkspell/${pname}-${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 = with lib; {
description = "Word-processor-style highlighting and replacement of misspelled words";
homepage = "https://gtkspell.sourceforge.net";
platforms = platforms.unix;
license = licenses.gpl2;
};
}

View File

@@ -0,0 +1,15 @@
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)