Merge update papers, fix libspelling to have gktsourceview5 in propagatedBuildInputs (#406778)

This commit is contained in:
Jan Tojnar 2025-05-14 20:58:21 +02:00 committed by GitHub
commit 6e9d31b2d8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 16 additions and 17 deletions

View file

@ -42,14 +42,19 @@ stdenv.mkDerivation (finalAttrs: {
]; ];
buildInputs = [ buildInputs = [
glib
gtk4
gtksourceview5
enchant enchant
icu icu
libsysprof-capture libsysprof-capture
]; ];
propagatedBuildInputs = [
# These were moved from buildInputs because they are
# listed in `Requires` key of `libspelling-1.pc`
glib
gtk4
gtksourceview5
];
postFixup = '' postFixup = ''
# Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back. # Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back.
moveToOutput "share/doc" "$devdoc" moveToOutput "share/doc" "$devdoc"

View file

@ -16,7 +16,6 @@
poppler, poppler,
nautilus, nautilus,
djvulibre, djvulibre,
libspectre,
libarchive, libarchive,
libsecret, libsecret,
wrapGAppsHook4, wrapGAppsHook4,
@ -26,7 +25,8 @@
gsettings-desktop-schemas, gsettings-desktop-schemas,
dbus, dbus,
gi-docgen, gi-docgen,
libgxps, libsysprof-capture,
libspelling,
withLibsecret ? true, withLibsecret ? true,
supportNautilus ? (!stdenv.hostPlatform.isDarwin), supportNautilus ? (!stdenv.hostPlatform.isDarwin),
libadwaita, libadwaita,
@ -37,7 +37,7 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "papers"; pname = "papers";
version = "47.3"; version = "48.2";
outputs = [ outputs = [
"out" "out"
@ -47,19 +47,16 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/papers/${lib.versions.major finalAttrs.version}/papers-${finalAttrs.version}.tar.xz"; url = "mirror://gnome/sources/papers/${lib.versions.major finalAttrs.version}/papers-${finalAttrs.version}.tar.xz";
hash = "sha256-PlhTk+gef6D5r55U38hvYSa1w9hS6pDf3DumsHlSxKo="; hash = "sha256-HpvFlhNCS/ZVIjxr3Khzri8d2ifPAtc0K/9bVZBRYG0=";
}; };
cargoRoot = "shell-rs";
cargoDeps = rustPlatform.fetchCargoVendor { cargoDeps = rustPlatform.fetchCargoVendor {
inherit (finalAttrs) inherit (finalAttrs)
src src
pname pname
version version
cargoRoot
; ;
hash = "sha256-66pOdZxgzbvXkvF07rNvWtcF/dJ2+RuS24IeI/VWykE="; hash = "sha256-1HFecOTn84m9lT166HlmYjqP+KN/ZOTWW4ztigrpqNQ=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -88,9 +85,9 @@ stdenv.mkDerivation (finalAttrs: {
gsettings-desktop-schemas gsettings-desktop-schemas
libadwaita libadwaita
libarchive libarchive
libgxps
librsvg librsvg
libspectre libsysprof-capture
libspelling
pango pango
poppler poppler
] ]
@ -102,10 +99,7 @@ stdenv.mkDerivation (finalAttrs: {
]; ];
mesonFlags = mesonFlags =
[ lib.optionals (!withLibsecret) [
"-Dps=enabled"
]
++ lib.optionals (!withLibsecret) [
"-Dkeyring=disabled" "-Dkeyring=disabled"
] ]
++ lib.optionals (!supportNautilus) [ ++ lib.optionals (!supportNautilus) [