Hello community,
here is the log from the commit of package zathura-plugin-djvu for
openSUSE:Factory checked in at 2018-01-30 15:42:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/zathura-plugin-djvu (Old)
and /work/SRC/openSUSE:Factory/.zathura-plugin-djvu.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "zathura-plugin-djvu"
Tue Jan 30 15:42:32 2018 rev:3 rq:569896 version:0.2.6
Changes:
--------
--- /work/SRC/openSUSE:Factory/zathura-plugin-djvu/zathura-plugin-djvu.changes
2016-02-24 14:26:36.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.zathura-plugin-djvu.new/zathura-plugin-djvu.changes
2018-01-30 15:42:32.847804353 +0100
@@ -1,0 +2,6 @@
+Fri Jan 26 14:32:25 UTC 2018 - [email protected]
+
+- update to 0.2.6
+* adapt to new plugin interface
+
+-------------------------------------------------------------------
Old:
----
zathura-djvu-0.2.5.tar.gz
New:
----
zathura-djvu-0.2.6.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ zathura-plugin-djvu.spec ++++++
--- /var/tmp/diff_new_pack.IwvBpN/_old 2018-01-30 15:42:33.395778770 +0100
+++ /var/tmp/diff_new_pack.IwvBpN/_new 2018-01-30 15:42:33.395778770 +0100
@@ -1,7 +1,7 @@
#
# spec file for package zathura-plugin-djvu
#
-# 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-djvu
Name: zathura-plugin-djvu
-Version: 0.2.5
+Version: 0.2.6
Release: 0
Summary: Adds DjVu support to zathura by using the djvulibre library
License: Zlib
Group: Productivity/Office/Other
Url: http://pwmt.org/projects/zathura/plugins/zathura-djvu/
Source:
http://pwmt.org/projects/zathura/plugins/download/%{realname}-%{version}.tar.gz
+BuildRequires: pkgconfig
BuildRequires: pkgconfig(ddjvuapi)
BuildRequires: pkgconfig(girara-gtk3)
BuildRequires: pkgconfig(zathura)
Requires: zathura
Provides: zathura-djvu-plugin
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The zathura-djvu plugin adds DjVu support to zathura by using the djvulibre
library.
@@ -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/djvu.so
++++++ zathura-djvu-0.2.5.tar.gz -> zathura-djvu-0.2.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zathura-djvu-0.2.5/LICENSE
new/zathura-djvu-0.2.6/LICENSE
--- old/zathura-djvu-0.2.5/LICENSE 2015-12-22 23:47:18.000000000 +0100
+++ new/zathura-djvu-0.2.6/LICENSE 2017-01-11 22:09:55.000000000 +0100
@@ -1,4 +1,4 @@
-Copyright (c) 2010-2012 pwmt.org
+Copyright (c) 2010-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-djvu-0.2.5/Makefile
new/zathura-djvu-0.2.6/Makefile
--- old/zathura-djvu-0.2.5/Makefile 2015-12-22 23:47:18.000000000 +0100
+++ new/zathura-djvu-0.2.6/Makefile 2017-01-11 22:09:55.000000000 +0100
@@ -5,8 +5,8 @@
PROJECT = zathura-djvu
PLUGIN = djvu
-SOURCE = $(shell find . -iname "*.c")
-HEADER = $(shell find . -iname "*.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-djvu-0.2.5/config.mk
new/zathura-djvu-0.2.6/config.mk
--- old/zathura-djvu-0.2.5/config.mk 2015-12-22 23:47:18.000000000 +0100
+++ new/zathura-djvu-0.2.6/config.mk 2017-01-11 22:09:55.000000000 +0100
@@ -2,7 +2,7 @@
VERSION_MAJOR = 0
VERSION_MINOR = 2
-VERSION_REV = 5
+VERSION_REV = 6
VERSION = ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_REV}
# minimum required zathura version
@@ -43,6 +43,9 @@
# compiler flags
CFLAGS += -std=c11 -fPIC -pedantic -Wall -Wno-format-zero-length -Wextra
$(INCS)
+# linker flags
+LDFLAGS += -fPIC
+
# debug
DFLAGS ?= -g
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zathura-djvu-0.2.5/djvu.h
new/zathura-djvu-0.2.6/djvu.h
--- old/zathura-djvu-0.2.5/djvu.h 2015-12-22 23:47:18.000000000 +0100
+++ new/zathura-djvu-0.2.6/djvu.h 2017-01-11 22:09:55.000000000 +0100
@@ -24,7 +24,7 @@
* Open a DjVU document
*
* @param document Zathura document
- * @return ZATHURA_ERROR_OK when no error occured, otherwise see
+ * @return ZATHURA_ERROR_OK when no error occurred, otherwise see
* zathura_error_t
*/
zathura_error_t djvu_document_open(zathura_document_t* document);
@@ -33,7 +33,7 @@
* Closes and frees the internal document structure
*
* @param document Zathura document
- * @return ZATHURA_ERROR_OK when no error occured, otherwise see
+ * @return ZATHURA_ERROR_OK when no error occurred, otherwise see
* zathura_error_t
*/
zathura_error_t djvu_document_free(zathura_document_t* document,
djvu_document_t* djvu_document);
@@ -43,7 +43,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)
*/
@@ -55,7 +55,7 @@
*
* @param document Zathura document
* @param path File path
- * @return ZATHURA_ERROR_OK when no error occured, otherwise see
+ * @return ZATHURA_ERROR_OK when no error occurred, otherwise see
* zathura_error_t
*/
zathura_error_t djvu_document_save_as(zathura_document_t* document,
djvu_document_t* djvu_document, const char* path);
@@ -64,7 +64,7 @@
* Initializes the page
*
* @param page The page object
- * @return ZATHURA_ERROR_OK when no error occured, otherwise see
+ * @return ZATHURA_ERROR_OK when no error occurred, otherwise see
* zathura_error_t
*/
zathura_error_t djvu_page_init(zathura_page_t* page, void* data);
@@ -73,7 +73,7 @@
* Frees a DjVu page
*
* @param page Page
- * @return ZATHURA_ERROR_OK when no error occured, otherwise see
+ * @return ZATHURA_ERROR_OK when no error occurred, otherwise see
* zathura_error_t
*/
zathura_error_t djvu_page_clear(zathura_page_t* page, void* data);
@@ -84,7 +84,7 @@
* @param page Page
* @param text Search item
* @param error Set to an error value (see zathura_error_t) if an
- * error occured
+ * error occurred
* @return List of search results or NULL if an error occurred
*/
girara_list_t* djvu_page_search_text(zathura_page_t* page, void* data, const
char* text, zathura_error_t* error);
@@ -95,7 +95,7 @@
* @param page Page
* @param rectangle Selection
* @error Set to an error value (see \ref zathura_error_t) if an error
- * occured
+ * occurred
* @return The selected text (needs to be deallocated with g_free)
*/
char* djvu_page_get_text(zathura_page_t* page, void* data, zathura_rectangle_t
rectangle, zathura_error_t* error);
@@ -106,7 +106,7 @@
* @param page The page
* @param data Unused page data
* @param error Error code
- * @return List of links or NULL if an error occured
+ * @return List of links or NULL if an error occurred
*/
girara_list_t* djvu_page_links_get(zathura_page_t* page, void* data,
zathura_error_t* error);
@@ -117,7 +117,7 @@
*
* @param page Page
* @param error Set to an error value (see zathura_error_t) if an
- * error occured
+ * error occurred
* @return Image buffer or NULL if an error occurred
*/
zathura_image_buffer_t* djvu_page_render(zathura_page_t* page, void* data,
zathura_error_t* error);
@@ -129,7 +129,7 @@
* @param page Page
* @param cairo Cairo object
* @param printing Set to true if page should be rendered for printing
- * @return ZATHURA_ERROR_OK when no error occured, otherwise see
+ * @return ZATHURA_ERROR_OK when no error occurred, otherwise see
* zathura_error_t
*/
zathura_error_t djvu_page_render_cairo(zathura_page_t* page, void* data,
cairo_t* cairo, bool printing);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zathura-djvu-0.2.5/page-text.h
new/zathura-djvu-0.2.6/page-text.h
--- old/zathura-djvu-0.2.5/page-text.h 2015-12-22 23:47:18.000000000 +0100
+++ new/zathura-djvu-0.2.6/page-text.h 2017-01-11 22:09:55.000000000 +0100
@@ -31,7 +31,7 @@
*
* @param document The document
* @param page_number The number of the page
- * @return The page object or NULL if an error occured
+ * @return The page object or NULL if an error occurred
*/
GIRARA_HIDDEN djvu_page_text_t* djvu_page_text_new(djvu_document_t* document,
zathura_page_t* page);
@@ -44,11 +44,11 @@
GIRARA_HIDDEN void djvu_page_text_free(djvu_page_text_t* page_text);
/**
- * Searchs the page for a specific key word and returns a list of results
+ * Searches the page for a specific key word and returns a list of results
*
* @param page_text The djvu page text object
* @param text The text to search
- * @return List of results or NULL if an error occured
+ * @return List of results or NULL if an error occurred
*/
GIRARA_HIDDEN girara_list_t* djvu_page_text_search(djvu_page_text_t* page_text,
const char* text);
@@ -58,7 +58,7 @@
*
* @param page_text The djvu page text object
* @param rectangle The area of where the text should be copied
- * @return Copy of the text or NULL if an error occured or if the area is empty
+ * @return Copy of the text or NULL if an error occurred or if the area is
empty
*/
GIRARA_HIDDEN char* djvu_page_text_select(djvu_page_text_t* page_text,
zathura_rectangle_t rectangle);