Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package zathura-plugin-pdf-mupdf for openSUSE:Factory checked in at 2022-09-20 19:23:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/zathura-plugin-pdf-mupdf (Old) and /work/SRC/openSUSE:Factory/.zathura-plugin-pdf-mupdf.new.2083 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "zathura-plugin-pdf-mupdf" Tue Sep 20 19:23:36 2022 rev:5 rq:1004732 version:0.3.9 Changes: -------- --- /work/SRC/openSUSE:Factory/zathura-plugin-pdf-mupdf/zathura-plugin-pdf-mupdf.changes 2021-08-04 22:29:44.413739383 +0200 +++ /work/SRC/openSUSE:Factory/.zathura-plugin-pdf-mupdf.new.2083/zathura-plugin-pdf-mupdf.changes 2022-09-20 19:23:40.758490501 +0200 @@ -1,0 +2,8 @@ +Mon Sep 19 14:09:22 UTC 2022 - Ond??ej S??kup <mimi...@gmail.com> + +- update to 0.3.9 + * Compatible with mupdf 1.20 + * Rework detection of mupdf + * Various fixes and improvements + +------------------------------------------------------------------- Old: ---- zathura-pdf-mupdf-0.3.7.tar.xz New: ---- zathura-pdf-mupdf-0.3.9.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ zathura-plugin-pdf-mupdf.spec ++++++ --- /var/tmp/diff_new_pack.f0vJzI/_old 2022-09-20 19:23:41.250491912 +0200 +++ /var/tmp/diff_new_pack.f0vJzI/_new 2022-09-20 19:23:41.254491923 +0200 @@ -1,7 +1,7 @@ # # spec file for package zathura-plugin-pdf-mupdf # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %define realname zathura-pdf-mupdf Name: zathura-plugin-pdf-mupdf -Version: 0.3.7 +Version: 0.3.9 Release: 0 Summary: Zathura PDF support through MuPDF License: Zlib @@ -28,15 +28,15 @@ BuildRequires: cmake BuildRequires: libgumbo-devel BuildRequires: meson -BuildRequires: mupdf-devel-static >= 1.17 +BuildRequires: mupdf-devel-static >= 1.20 BuildRequires: pkgconfig BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(girara-gtk3) BuildRequires: pkgconfig(jbig2dec) BuildRequires: pkgconfig(libjpeg) BuildRequires: pkgconfig(libopenjp2) -BuildRequires: pkgconfig(zathura) >= 0.2.0 -Requires: mupdf >= 1.17 +BuildRequires: pkgconfig(zathura) >= 0.3.9 +Requires: mupdf >= 1.20 Requires: zathura >= 0.2.0 Conflicts: zathura-plugin-pdf-poppler Provides: zathura-pdf-mupdf-plugin @@ -49,7 +49,7 @@ %build export CFLAGS="%{optflags}" -%meson -Dlink-external=true +%meson %meson_build %install ++++++ zathura-pdf-mupdf-0.3.7.tar.xz -> zathura-pdf-mupdf-0.3.9.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zathura-pdf-mupdf-0.3.7/.gitignore new/zathura-pdf-mupdf-0.3.9/.gitignore --- old/zathura-pdf-mupdf-0.3.7/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/zathura-pdf-mupdf-0.3.9/.gitignore 2022-08-22 23:00:38.000000000 +0200 @@ -0,0 +1,8 @@ +*.o +*~ +pdf.so +*.swp +.ycm_extra_conf.* +compile_commands.json +tags +build/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zathura-pdf-mupdf-0.3.7/README new/zathura-pdf-mupdf-0.3.9/README --- old/zathura-pdf-mupdf-0.3.7/README 2021-07-14 18:55:03.293939600 +0200 +++ new/zathura-pdf-mupdf-0.3.9/README 1970-01-01 01:00:00.000000000 +0100 @@ -1,22 +0,0 @@ -zathura-pdf-mupdf -================= -The zathura-pdf-mupdf plugin adds PDF support to zathura by using the mupdf -rendering library. - -Requirements ------------- -zathura (>= 0.2.0) -girara -mupdf (>= 1.17) - -Installation ------------- -To build and install the plugin: - - make install - -Uninstall: ----------- -To delete the plugin from your system, just type: - - make uninstall diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zathura-pdf-mupdf-0.3.7/README.md new/zathura-pdf-mupdf-0.3.9/README.md --- old/zathura-pdf-mupdf-0.3.7/README.md 1970-01-01 01:00:00.000000000 +0100 +++ new/zathura-pdf-mupdf-0.3.9/README.md 2022-08-22 23:00:38.000000000 +0200 @@ -0,0 +1,37 @@ +zathura-pdf-mupdf +================= + +zathura is a highly customizable and functional document viewer based on the girara user interface +library and several document libraries. This plugin for zathura provides PDF support using the +`mupdf` library. + +Requirements +------------ + +The following dependencies are required: + +* `zathura` (>= 0.2.0) +* `girara` +* `mupdf` (>= 1.20.0) + +For building plugin, the following dependencies are also required: + +* `meson` (>= 0.56) + +Installation +------------ + +To build and install the plugin using meson's ninja backend: + + meson build + cd build + ninja + ninja install + +Note that the default backend for meson might vary based on the platform. Please +refer to the meson documentation for platform specific dependencies. + +Bugs +---- + +Please report bugs at http://git.pwmt.org/pwmt/zathura-pdf-poppler. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zathura-pdf-mupdf-0.3.7/meson.build new/zathura-pdf-mupdf-0.3.9/meson.build --- old/zathura-pdf-mupdf-0.3.7/meson.build 2021-07-14 18:55:03.293939600 +0200 +++ new/zathura-pdf-mupdf-0.3.9/meson.build 2022-08-22 23:00:38.000000000 +0200 @@ -1,5 +1,5 @@ project('zathura-pdf-mupdf', 'c', - version: '0.3.7', + version: '0.3.9', meson_version: '>=0.43', default_options: ['c_std=c11', 'warning_level=3'] ) @@ -19,7 +19,7 @@ girara = dependency('girara-gtk3') glib = dependency('glib-2.0') cairo = dependency('cairo') -mupdf = cc.find_library('mupdf') +mupdf = dependency('mupdf', required: false) mupdfthird = cc.find_library('mupdf-third') build_dependencies = [ @@ -27,21 +27,32 @@ girara, glib, cairo, - mupdf, - mupdfthird ] -if get_option('link-external') +if not mupdf.found() + # normal build of mupdf + mupdf = cc.find_library('mupdf') + build_dependencies += [mupdf, mupdfthird] +else + # build from Debian's libmupdf-dev + build_dependencies += [mupdf, mupdfthird] + libjpeg = dependency('libjpeg') libjbig2dec = cc.find_library('jbig2dec') libopenjp2 = dependency('libopenjp2') gumbo = dependency('gumbo') + tesseract = dependency('tesseract') + leptonica = dependency('lept') + mujs = dependency('mujs') build_dependencies += [ libjpeg, libjbig2dec, libopenjp2, - gumbo + gumbo, + tesseract, + leptonica, + mujs ] endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zathura-pdf-mupdf-0.3.7/meson_options.txt new/zathura-pdf-mupdf-0.3.9/meson_options.txt --- old/zathura-pdf-mupdf-0.3.7/meson_options.txt 2021-07-14 18:55:03.293939600 +0200 +++ new/zathura-pdf-mupdf-0.3.9/meson_options.txt 2022-08-22 23:00:38.000000000 +0200 @@ -1,9 +1,3 @@ -option('link-external', - type: 'boolean', - value: false, - description: 'Link external libraries required by mupdf.' -) - option('plugindir', type: 'string', value: '', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zathura-pdf-mupdf-0.3.7/zathura-pdf-mupdf/search.c new/zathura-pdf-mupdf-0.3.9/zathura-pdf-mupdf/search.c --- old/zathura-pdf-mupdf-0.3.7/zathura-pdf-mupdf/search.c 2021-07-14 18:55:03.293939600 +0200 +++ new/zathura-pdf-mupdf-0.3.9/zathura-pdf-mupdf/search.c 2022-08-22 23:00:38.000000000 +0200 @@ -41,7 +41,7 @@ fz_quad* hit_bbox = fz_malloc_array(mupdf_page->ctx, N_SEARCH_RESULTS, fz_quad); int num_results = fz_search_stext_page(mupdf_page->ctx, mupdf_page->text, - text, hit_bbox, N_SEARCH_RESULTS); + text, NULL, hit_bbox, N_SEARCH_RESULTS); fz_rect r; for (int i = 0; i < num_results; i++) {