Hello community, here is the log from the commit of package zathura-plugin-cb for openSUSE:Factory checked in at 2018-01-30 15:42:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/zathura-plugin-cb (Old) and /work/SRC/openSUSE:Factory/.zathura-plugin-cb.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "zathura-plugin-cb" Tue Jan 30 15:42:30 2018 rev:3 rq:569895 version:0.1.6 Changes: -------- --- /work/SRC/openSUSE:Factory/zathura-plugin-cb/zathura-plugin-cb.changes 2016-02-24 14:26:39.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.zathura-plugin-cb.new/zathura-plugin-cb.changes 2018-01-30 15:42:32.179835537 +0100 @@ -1,0 +2,6 @@ +Fri Jan 26 14:30:51 UTC 2018 - mimi.vx@gmail.com + +- update to 0.1.6 +* adapt to new plugin interface + +------------------------------------------------------------------- Old: ---- zathura-cb-0.1.5.tar.gz New: ---- zathura-cb-0.1.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ zathura-plugin-cb.spec ++++++ --- /var/tmp/diff_new_pack.YjcPQM/_old 2018-01-30 15:42:32.691811636 +0100 +++ /var/tmp/diff_new_pack.YjcPQM/_new 2018-01-30 15:42:32.695811448 +0100 @@ -1,7 +1,7 @@ # # spec file for package zathura-plugin-cb # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,19 +18,19 @@ %define realname zathura-cb Name: zathura-plugin-cb -Version: 0.1.5 +Version: 0.1.6 Release: 0 Summary: Adds comic book support to zathura License: Zlib Group: Productivity/Office/Other Url: http://pwmt.org/projects/zathura/plugins/zathura-cb/ Source: http://pwmt.org/projects/zathura/plugins/download/%{realname}-%{version}.tar.gz +BuildRequires: pkgconfig BuildRequires: pkgconfig(girara-gtk3) BuildRequires: pkgconfig(libarchive) BuildRequires: pkgconfig(zathura) Requires: zathura Provides: zathura-cb-plugin -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The zathura-cb plugin adds comic book support to zathura. @@ -47,11 +47,9 @@ find %{buildroot} -name '*.desktop' -delete -print %post -n %{name} -p /sbin/ldconfig - %postun -n %{name} -p /sbin/ldconfig %files -n %{name} -%defattr(-,root,root) %doc AUTHORS LICENSE %dir %{_libdir}/zathura %{_libdir}/zathura/cb.so ++++++ zathura-cb-0.1.5.tar.gz -> zathura-cb-0.1.6.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zathura-cb-0.1.5/LICENSE new/zathura-cb-0.1.6/LICENSE --- old/zathura-cb-0.1.5/LICENSE 2015-12-22 23:44:56.000000000 +0100 +++ new/zathura-cb-0.1.6/LICENSE 2017-01-11 22:34:41.000000000 +0100 @@ -1,4 +1,4 @@ -Copyright (c) 2012-2013 pwmt.org +Copyright (c) 2012-2017 pwmt.org This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zathura-cb-0.1.5/Makefile new/zathura-cb-0.1.6/Makefile --- old/zathura-cb-0.1.5/Makefile 2015-12-22 23:44:56.000000000 +0100 +++ new/zathura-cb-0.1.6/Makefile 2017-01-11 22:34:41.000000000 +0100 @@ -5,8 +5,8 @@ PROJECT = zathura-cb PLUGIN = cb -SOURCE = $(wildcard *.c) -HEADER = $(wildcard *.h) +SOURCE = $(sort $(wildcard *.c)) +HEADER = $(sort $(wildcard *.h)) OBJECTS = ${SOURCE:.c=.o} DOBJECTS = ${SOURCE:.c=.do} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zathura-cb-0.1.5/config.mk new/zathura-cb-0.1.6/config.mk --- old/zathura-cb-0.1.5/config.mk 2015-12-22 23:44:56.000000000 +0100 +++ new/zathura-cb-0.1.6/config.mk 2017-01-11 22:34:41.000000000 +0100 @@ -2,7 +2,7 @@ VERSION_MAJOR = 0 VERSION_MINOR = 1 -VERSION_REV = 5 +VERSION_REV = 6 VERSION = ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_REV} # minimum required zathura version @@ -42,9 +42,12 @@ PLUGINDIR = ${LIBDIR}/zathura endif -# flags +# compiler flags CFLAGS += -std=c11 -fPIC -pedantic -Wall -Wno-format-zero-length $(INCS) +# linker flags +LDFLAGS += -fPIC + # debug DFLAGS ?= -g diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zathura-cb-0.1.5/plugin.h new/zathura-cb-0.1.6/plugin.h --- old/zathura-cb-0.1.5/plugin.h 2015-12-22 23:44:56.000000000 +0100 +++ new/zathura-cb-0.1.6/plugin.h 2017-01-11 22:34:41.000000000 +0100 @@ -18,7 +18,7 @@ * Opens a new document * * @param document The document - * @return ZATHURA_ERROR_OK if no error occured + * @return ZATHURA_ERROR_OK if no error occurred */ zathura_error_t cb_document_open(zathura_document_t* document); @@ -27,7 +27,7 @@ * * @param document The document * @param data Custom data - * @return ZATHURA_ERROR_OK if no error occured + * @return ZATHURA_ERROR_OK if no error occurred */ zathura_error_t cb_document_free(zathura_document_t* document, cb_document_t* cb_document); @@ -36,7 +36,7 @@ * * @param document Zathura document * @param error Set to an error value (see zathura_error_t) if an - * error occured + * error occurred * @return Tree node object or NULL if an error occurred (e.g.: the document has * no index) */ @@ -47,7 +47,7 @@ * Initializes a page * * @param page The page - * @return ZATHURA_ERROR_OK if no error occured + * @return ZATHURA_ERROR_OK if no error occurred */ zathura_error_t cb_page_init(zathura_page_t* page); @@ -56,7 +56,7 @@ * * @param page The page * @param cb_page cb Page - * @return ZATHURA_ERROR_OK if no error occured + * @return ZATHURA_ERROR_OK if no error occurred */ zathura_error_t cb_page_clear(zathura_page_t* page, cb_page_t* cb_page); @@ -68,7 +68,7 @@ * @param cb_page cb Page * @param cairo Cairo object * @param printing Render for printing - * @return ZATHURA_ERROR_OK if no error occured + * @return ZATHURA_ERROR_OK if no error occurred */ zathura_error_t cb_page_render_cairo(zathura_page_t* page, cb_page_t* cb_page, cairo_t* cairo, bool printing);