gspell: 1.12.0 → 1.12.1

https://gitlab.gnome.org/GNOME/gspell/-/compare/1.12.0...1.12.1
This commit is contained in:
Bobby Rong 2023-05-03 11:56:40 +08:00
parent 1a411f23ba
commit 238fcd35f5
No known key found for this signature in database
2 changed files with 5 additions and 14 deletions

View file

@ -11,14 +11,6 @@ diff --git a/gspell/Makefile.am b/gspell/Makefile.am
index 69ee421..7c58973 100644 index 69ee421..7c58973 100644
--- a/gspell/Makefile.am --- a/gspell/Makefile.am
+++ b/gspell/Makefile.am +++ b/gspell/Makefile.am
@@ -95,6 +95,7 @@ nodist_libgspell_core_la_SOURCES = \
$(BUILT_SOURCES)
libgspell_core_la_LIBADD = \
+ $(GTK_MAC_LIBS) \
$(CODE_COVERAGE_LIBS)
libgspell_core_la_CFLAGS = \
@@ -161,6 +162,12 @@ gspell_private_headers += \ @@ -161,6 +162,12 @@ gspell_private_headers += \
gspell_private_c_files += \ gspell_private_c_files += \
gspell-osx.c gspell-osx.c

View file

@ -1,4 +1,5 @@
{ lib, stdenv { stdenv
, lib
, buildPackages , buildPackages
, fetchurl , fetchurl
, pkg-config , pkg-config
@ -12,23 +13,23 @@
, vala , vala
, gobject-introspection , gobject-introspection
, gnome , gnome
, gtk-mac-integration
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gspell"; pname = "gspell";
version = "1.12.0"; version = "1.12.1";
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
outputBin = "dev"; outputBin = "dev";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "QNKFDxu26HdSRvoeOUOLNsqvvbraHSihn6HKB+H/gq0="; sha256 = "jsRPMgUuiW/N1JJuuBSjJuOaUEfiUe7HuQVvvZREsPE=";
}; };
patches = [ patches = [
# Extracted from: https://github.com/Homebrew/homebrew-core/blob/2a27fb86b08afc7ae6dff79cf64aafb8ecc93275/Formula/gspell.rb#L125-L149 # Extracted from: https://github.com/Homebrew/homebrew-core/blob/2a27fb86b08afc7ae6dff79cf64aafb8ecc93275/Formula/gspell.rb#L125-L149
# Dropped the GTK_MAC_* changes since gtk-mac-integration is not needed since 1.12.1
./0001-Darwin-build-fix.patch ./0001-Darwin-build-fix.patch
]; ];
@ -45,8 +46,6 @@ stdenv.mkDerivation rec {
buildInputs = [ buildInputs = [
gtk3 gtk3
icu icu
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
gtk-mac-integration
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [