xfce.tumbler: backport PDF thumbnail generation fix (#399755)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
mkXfceDerivation,
|
||||
fetchpatch,
|
||||
ffmpegthumbnailer,
|
||||
gdk-pixbuf,
|
||||
glib,
|
||||
@@ -25,6 +26,16 @@ mkXfceDerivation {
|
||||
|
||||
sha256 = "sha256-GmEMdG8Ikd4Tq/1ntCHiN0S7ehUXqzMX7OtXsycLd6E=";
|
||||
|
||||
patches = [
|
||||
# Fixes PDF previews staying low resolution
|
||||
# https://gitlab.xfce.org/xfce/tumbler/-/merge_requests/35
|
||||
(fetchpatch {
|
||||
name = "only-use-embedded-pdf-thumbnail-if-resolution-suffices.patch";
|
||||
url = "https://gitlab.xfce.org/xfce/tumbler/-/commit/69a704e0f4e622861ce4007f6f3f4f6f6b962689.patch";
|
||||
hash = "sha256-aFJoWWzTaikqCw6C1LH+BFxst/uKkOGT1QK9Mx8/8/c=";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libxfce4util
|
||||
ffmpegthumbnailer
|
||||
|
||||
Reference in New Issue
Block a user