commit zathura-plugin-cb for openSUSE:Factory

2018-08-10 Thread root
Hello community,

here is the log from the commit of package zathura-plugin-cb for 
openSUSE:Factory checked in at 2018-08-10 09:51:37

Comparing /work/SRC/openSUSE:Factory/zathura-plugin-cb (Old)
 and  /work/SRC/openSUSE:Factory/.zathura-plugin-cb.new (New)


Package is "zathura-plugin-cb"

Fri Aug 10 09:51:37 2018 rev:5 rq:628357 version:0.1.8

Changes:

--- /work/SRC/openSUSE:Factory/zathura-plugin-cb/zathura-plugin-cb.changes  
2018-05-29 10:47:28.658829660 +0200
+++ /work/SRC/openSUSE:Factory/.zathura-plugin-cb.new/zathura-plugin-cb.changes 
2018-08-10 09:51:46.830463766 +0200
@@ -1,0 +2,6 @@
+Wed Aug  8 16:48:48 UTC 2018 - jeng...@inai.de
+
+- Use noun phrase in summary.
+- Remove unnecessary ldconfig calls for plugins.
+
+---



Other differences:
--
++ zathura-plugin-cb.spec ++
--- /var/tmp/diff_new_pack.8niCB6/_old  2018-08-10 09:51:47.942465562 +0200
+++ /var/tmp/diff_new_pack.8niCB6/_new  2018-08-10 09:51:47.942465562 +0200
@@ -20,7 +20,7 @@
 Name:   zathura-plugin-cb
 Version:0.1.8
 Release:0
-Summary:Adds comic book support to zathura
+Summary:Comic book support for zathura
 License:Zlib
 Group:  Productivity/Office/Other
 URL:http://pwmt.org/projects/zathura/plugins/zathura-cb/
@@ -48,9 +48,6 @@
 %meson_install
 find %{buildroot} -name '*.desktop' -delete -print
 
-%post -n %{name} -p /sbin/ldconfig
-%postun -n %{name} -p /sbin/ldconfig
-
 %files -n %{name}
 %license LICENSE
 %doc AUTHORS




commit zathura-plugin-cb for openSUSE:Factory

2018-05-29 Thread root
Hello community,

here is the log from the commit of package zathura-plugin-cb for 
openSUSE:Factory checked in at 2018-05-29 10:47:23

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 May 29 10:47:23 2018 rev:4 rq:612404 version:0.1.8

Changes:

--- /work/SRC/openSUSE:Factory/zathura-plugin-cb/zathura-plugin-cb.changes  
2018-01-30 15:42:32.179835537 +0100
+++ /work/SRC/openSUSE:Factory/.zathura-plugin-cb.new/zathura-plugin-cb.changes 
2018-05-29 10:47:28.658829660 +0200
@@ -1,0 +2,6 @@
+Sat May 26 14:21:27 UTC 2018 - mimi...@gmail.com
+
+- update to 0.1.8
+- build with meson
+
+---

Old:

  zathura-cb-0.1.6.tar.gz

New:

  zathura-cb-0.1.8.tar.xz



Other differences:
--
++ zathura-plugin-cb.spec ++
--- /var/tmp/diff_new_pack.nwlT4b/_old  2018-05-29 10:47:29.474799553 +0200
+++ /var/tmp/diff_new_pack.nwlT4b/_new  2018-05-29 10:47:29.474799553 +0200
@@ -18,13 +18,14 @@
 
 %define realname zathura-cb
 Name:   zathura-plugin-cb
-Version:0.1.6
+Version:0.1.8
 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
+URL:http://pwmt.org/projects/zathura/plugins/zathura-cb/
+Source: 
http://pwmt.org/projects/zathura/plugins/download/%{realname}-%{version}.tar.xz
+BuildRequires:  meson > 0.43
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(girara-gtk3)
 BuildRequires:  pkgconfig(libarchive)
@@ -40,18 +41,21 @@
 
 %build
 export CFLAGS="%{optflags}"
-make %{?_smp_mflags} VERBOSE=1 SFLAGS=""
+%meson
+%meson_build
 
 %install
-%make_install LIBDIR=%{_libdir} SFLAGS=""
+%meson_install
 find %{buildroot} -name '*.desktop' -delete -print
 
 %post -n %{name} -p /sbin/ldconfig
 %postun -n %{name} -p /sbin/ldconfig
 
 %files -n %{name}
-%doc AUTHORS LICENSE
+%license LICENSE
+%doc AUTHORS
 %dir %{_libdir}/zathura
-%{_libdir}/zathura/cb.so
+%{_libdir}/zathura/libcb.so
+%{_datadir}/metainfo/org.pwmt.zathura-cb.metainfo.xml
 
 %changelog




commit zathura-plugin-cb for openSUSE:Factory

2018-01-30 Thread root
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.0 +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...@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/LICENSE2015-12-22 23:44:56.0 +0100
+++ new/zathura-cb-0.1.6/LICENSE2017-01-11 22:34:41.0 +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.0 +0100
+++ new/zathura-cb-0.1.6/Makefile   2017-01-11 22:34:41.0 +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.0 +0100
+++ new/zathura-cb-0.1.6/config.mk  2017-01-11 22:34:41.0 +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.0 +0100
+++ new/zathura-cb-0.1.6/plugin.h   2017-01-11 22:34:41.0 +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 i

commit zathura-plugin-cb for openSUSE:Factory

2016-02-24 Thread h_root
Hello community,

here is the log from the commit of package zathura-plugin-cb for 
openSUSE:Factory checked in at 2016-02-24 14:26:37

Comparing /work/SRC/openSUSE:Factory/zathura-plugin-cb (Old)
 and  /work/SRC/openSUSE:Factory/.zathura-plugin-cb.new (New)


Package is "zathura-plugin-cb"

Changes:

--- /work/SRC/openSUSE:Factory/zathura-plugin-cb/zathura-plugin-cb.changes  
2014-11-26 10:33:05.0 +0100
+++ /work/SRC/openSUSE:Factory/.zathura-plugin-cb.new/zathura-plugin-cb.changes 
2016-02-24 14:26:39.0 +0100
@@ -1,0 +2,7 @@
+Wed Feb 24 08:36:10 UTC 2016 - mimi...@gmail.com
+
+- update to 0.1.5
+* Fix issue where archive_read_data_block returns a NP buffer
+* Advertise URL support
+
+---

Old:

  zathura-cb-0.1.3.tar.gz

New:

  zathura-cb-0.1.5.tar.gz



Other differences:
--
++ zathura-plugin-cb.spec ++
--- /var/tmp/diff_new_pack.7FWRZb/_old  2016-02-24 14:26:39.0 +0100
+++ /var/tmp/diff_new_pack.7FWRZb/_new  2016-02-24 14:26:39.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package zathura-plugin-cb
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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,7 +18,7 @@
 
 %define realname zathura-cb
 Name:   zathura-plugin-cb
-Version:0.1.3
+Version:0.1.5
 Release:0
 Summary:Adds comic book support to zathura
 License:Zlib

++ zathura-cb-0.1.3.tar.gz -> zathura-cb-0.1.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zathura-cb-0.1.3/config.mk 
new/zathura-cb-0.1.5/config.mk
--- old/zathura-cb-0.1.3/config.mk  2014-10-17 00:12:52.0 +0200
+++ new/zathura-cb-0.1.5/config.mk  2015-12-22 23:44:56.0 +0100
@@ -2,7 +2,7 @@
 
 VERSION_MAJOR = 0
 VERSION_MINOR = 1
-VERSION_REV = 3
+VERSION_REV = 5
 VERSION = ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_REV}
 
 # minimum required zathura version
@@ -43,7 +43,7 @@
 endif
 
 # flags
-CFLAGS += -std=c99 -fPIC -pedantic -Wall -Wno-format-zero-length $(INCS)
+CFLAGS += -std=c11 -fPIC -pedantic -Wall -Wno-format-zero-length $(INCS)
 
 # debug
 DFLAGS ?= -g
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zathura-cb-0.1.3/document.c 
new/zathura-cb-0.1.5/document.c
--- old/zathura-cb-0.1.3/document.c 2014-10-17 00:12:52.0 +0200
+++ new/zathura-cb-0.1.5/document.c 2015-12-22 23:44:56.0 +0100
@@ -166,9 +166,13 @@
 
 size_t size = 0;
 const void* buf = NULL;
-off_t offset = 0;
+__LA_INT64_T offset = 0;
 while ((r = archive_read_data_block(a, &buf, &size, &offset)) != 
ARCHIVE_EOF) {
-  if (size <= 0) {
+  if (r < ARCHIVE_WARN) {
+break;
+  }
+
+  if (buf == NULL || size <= 0) {
 continue;
   }
 
@@ -176,7 +180,7 @@
 break;
   }
 
-  if (meta->width > 0 || meta->height > 0) {
+  if (meta->width > 0 && meta->height > 0) {
 break;
   }
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zathura-cb-0.1.3/render.c 
new/zathura-cb-0.1.5/render.c
--- old/zathura-cb-0.1.3/render.c   2014-10-17 00:12:52.0 +0200
+++ new/zathura-cb-0.1.5/render.c   2015-12-22 23:44:56.0 +0100
@@ -85,7 +85,7 @@
 
 size_t size = 0;
 const void* buf = NULL;
-off_t offset = 0;
+__LA_INT64_T offset = 0;
 while ((r = archive_read_data_block(a, &buf, &size, &offset)) != 
ARCHIVE_EOF) {
   if (r < ARCHIVE_WARN) {
 archive_read_close(a);
@@ -94,7 +94,7 @@
 return NULL;
   }
 
-  if (size == 0) {
+  if (size == 0 || buf == NULL) {
 continue;
   }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zathura-cb-0.1.3/zathura-cb.desktop 
new/zathura-cb-0.1.5/zathura-cb.desktop
--- old/zathura-cb-0.1.3/zathura-cb.desktop 2014-10-17 00:12:52.0 
+0200
+++ new/zathura-cb-0.1.5/zathura-cb.desktop 2015-12-22 23:44:56.0 
+0100
@@ -17,7 +17,7 @@
 Comment[ru]=Минималистичный просмотрщик документов
 Comment[tr]=Minimalist bir belge görüntüleyicisi
 Comment[uk_UA]=Легкий переглядач документів
-Exec=zathura %f
+Exec=zathura %U
 Terminal=false
 NoDisplay=true
 Categories=Office;Viewer;