apvlv: update to 0.2.0

This commit is contained in:
logen 2020-12-20 15:12:49 -05:00 committed by Érico Nogueira Rolim
parent 06a99096ea
commit 335a5b37de
4 changed files with 5 additions and 50 deletions

View file

@ -1,11 +0,0 @@
--- src/ApvlvPdf.cc
+++ src/ApvlvPdf.cc
@@ -29,7 +29,7 @@
#include "ApvlvPdf.h"
#ifndef POPPLER_WITH_GDK
-#include <goo/gtypes.h>
+#include <goo/gfile.h>
static void
copy_cairo_surface_to_pixbuf (cairo_surface_t *surface,

View file

@ -1,11 +0,0 @@
--- src/ApvlvParams.cc 2015-01-10 15:04:24.000000000 +0100
+++ src/ApvlvParams.cc 2016-10-04 00:06:58.187468048 +0200
@@ -90,7 +90,7 @@
return false;
}
- while ((getline (os, str)) != NULL)
+ while (getline (os, str))
{
string argu, data, crap;
stringstream is (str);

View file

@ -1,23 +0,0 @@
--- src/ApvlvCmds.cc
+++ src/ApvlvCmds.cc
@@ -200,7 +200,7 @@ namespace apvlv
if (len >= 4
&& *s == '<'
- && (e = strchr ((char *) s, '>')) != '\0' && *(s + 2) != '-')
+ && (e = strchr ((char *) s, '>')) && *(s + 2) != '-')
{
e++;
StringKeyMap::iterator it;
--- src/ApvlvCore.cc
+++ src/ApvlvCore.cc
@@ -90,7 +90,7 @@ namespace apvlv
{
mInuse = use;
- if (mInuse == false && gView->hasloaded (filename (), type ()) == false)
+ if (mInuse == false && !gView->hasloaded (filename (), type ()))
{
debug ("core :%p is not needed, delete it\n", this);
delete this;

View file

@ -1,16 +1,16 @@
# Template file for 'apvlv'
pkgname=apvlv
version=0.1.5
revision=8
version=0.2.0
revision=1
build_style=cmake
configure_args="-DAPVLV_WITH_UMD=no -DAPVLV_WITH_DJVU=yes -DAPVLV_WITH_TXT=yes"
hostmakedepends="pkg-config"
makedepends="gtk+3-devel poppler-glib-devel djvulibre-devel"
makedepends="gtk+3-devel poppler-glib-devel djvulibre-devel webkit2gtk-devel ebook-tools-devel"
depends="desktop-file-utils"
short_desc="Vim-like PDF/DJVU/TXT viewer"
maintainer="Logen K <logen@sudotask.com>"
license="GPL-2"
license="GPL-2.0-only"
homepage="http://naihe2010.github.io/apvlv/"
distfiles="https://github.com/naihe2010/apvlv/archive/v${version}.tar.gz"
checksum=dca98157e63c9fec12d6514751ea26549813dc7b87d838b0003f31a444100a8a
checksum=a4a2f42a7e42715a21d2356def3ed93c180c6ae41128580addee42835e5374c2
replaces="apvlv-git>=0"