From 1cecf4f4902a0830a4511d6dd6a8eacb6c479272 Mon Sep 17 00:00:00 2001 From: lemmi Date: Tue, 4 Jun 2024 22:52:41 +0200 Subject: [PATCH] zathura: update to 0.5.6. --- ...e_valid_extension-should-return-True.patch | 26 ------------------- srcpkgs/zathura/template | 6 ++--- 2 files changed, 3 insertions(+), 29 deletions(-) delete mode 100644 srcpkgs/zathura/patches/0001-The-function-file_valid_extension-should-return-True.patch diff --git a/srcpkgs/zathura/patches/0001-The-function-file_valid_extension-should-return-True.patch b/srcpkgs/zathura/patches/0001-The-function-file_valid_extension-should-return-True.patch deleted file mode 100644 index 517c0d49cb3..00000000000 --- a/srcpkgs/zathura/patches/0001-The-function-file_valid_extension-should-return-True.patch +++ /dev/null @@ -1,26 +0,0 @@ -From d74091a7452846112c0bb11e1412cd2af48ee7cd Mon Sep 17 00:00:00 2001 -From: Carlo Buccisano -Date: Tue, 12 Dec 2023 00:24:20 +0100 -Subject: [PATCH] The function file_valid_extension should return True if - plugin is different then NULL, not if it is equal. - ---- - zathura/utils.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/zathura/utils.c b/zathura/utils.c -index 802757f..8f379be 100644 ---- a/zathura/utils.c -+++ b/zathura/utils.c -@@ -60,7 +60,7 @@ file_valid_extension(zathura_t* zathura, const char* path) - zathura_plugin_t* plugin = zathura_plugin_manager_get_plugin(zathura->plugins.manager, content_type); - g_free(content_type); - -- return plugin == NULL; -+ return plugin != NULL; - } - - static void --- -2.43.0 - diff --git a/srcpkgs/zathura/template b/srcpkgs/zathura/template index 2e1efbcd709..f63fb3ddcd3 100644 --- a/srcpkgs/zathura/template +++ b/srcpkgs/zathura/template @@ -1,7 +1,7 @@ # Template file for 'zathura' pkgname=zathura -version=0.5.4 -revision=2 +version=0.5.6 +revision=1 build_style=meson configure_args="-Dsynctex=enabled" hostmakedepends="pkg-config gettext python3-Sphinx desktop-file-utils @@ -15,7 +15,7 @@ license="Zlib" homepage="https://pwmt.org/projects/zathura/" changelog="https://pwmt.org/projects/zathura/changelog/${version}/index.html" distfiles="https://pwmt.org/projects/zathura/download/zathura-${version}.tar.xz" -checksum=a3037f7aa94d4096bfd97069f62ffcdca9f06431e8663548c1cd6b945c556f32 +checksum=b478e35e87cce57d651b4112dc8193c4b744a07f121b7b6465229a8f386f10da if [ -z "$CROSS_BUILD" ] && [ "$XBPS_CHECK_PKGS" ]; then configure_args+=" -Dtests=enabled"