naihe2010 / apvlv Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v2.0
License: GNU General Public License v2.0
Ubuntu repositories for apvlv are very outdated. They have 0.1.5-rel
I would like to build apvlv from the source but could not find the instructions on GitHub.
Can you please update the readme file with some instructions for building it from the source?
IMHO, will be great if there are some key to open and close the table of contents of the pdf if it exist.
I can't find a configure or makefile.
Could you let me know how to compile?
Would like to have a night mode in my reader.
I noticed that pressing .
doesn't seem to repeat the last command as in Vim and think this would be quite useful. Say if I'm trying to find the right zoom for the PDF, and I'm doing zi
or 3zi
, I could use .
to keep repeating it until I get the zoom I want.
Perhaps canonical names (resolving symlinks) should be used when storing last viewing settings/info in .apvlvinfo. If, for example, multiple bookmarks were to be made (and stored) I feel they should be per "real book" (imagining these pdfs to some extent as physical), rather than per virtual bookshelf instance (as the symlinks may be imagined).
Hello,
There seems to be an issue with how the new tab command works. Whenever t
is pressed and no new file is opened startup.pdf
is opend instead , as expected, but if I close this instance of startup.pdf
then press t
again apvlv
will crash. I am currently using v0.1.5
.
I often read longer documents and books in fullscreen to minimise distraction. However, in apvlv, this always renders the text of EPUB documents at full width, making it inconvenient to read.
The desktop version of FBReader allows one to set margins so that the text is always centred. This is a great step in the right direction as in full screen the width of the text may be optimal. However, with the same margin settings, when the window of the reader is half the size of the screen and placed next to another window, the text becomes too narrow.
So, I would like to see the ability to set fixed width and height, which are forced regardless of the window size. If the window is bigger than the given dimension, the rest should be filled with a dark colour (or maybe even with a custom one), as if a PDF file was opened.
If you keep pressing Page down you will reach (lastpage - 1) but never the last page.
apvlv-0.2.0/src/ApvlvInfo.h:28:9: warning: 'APVLV_INFO_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef APVLV_INFO_H
^~~~~~~~~~~~~~
/home/dcb32B/rpmbuild/BUILD/apvlv-0.2.0/src/ApvlvInfo.h:29:9: note: 'APVLV_INOF_H' is defined here; did you mean 'APVLV_INFO_H'?
#define APVLV_INOF_H
I can't download apvlv-0.1.4-Source.tar.gz from download page.
Good day , I'm using Zathura pdf reader, however it doesn't support text annotations(make notes in pdf file). Does this project support this feature ?
Hello
is there a way to print a pdf with apvlv?
I mean to send the seen pdf to the printer?
Thanks
Hi,
Congrats for the great software.
Adding the ability to highlight and comment PDF files would help a lot students and faculty.
Exporting the all comments to the clipboard or text file would be a plus!
Regards,
Iuri.
The old status bar with the filename, page number & zoom level has disappeared when building the latest apvlv. Bisecting points to the gtk3 migration as the culprit, but I haven't investigated further yet.
You might be able to recreate this by opening any large pdf with a table of contents and repeatedly opening it with :toc.
The following changes since commit 6b23aeb:
update C++ standard to 11 and using nullptr, auto. (2019-12-10 16:05:45 +0800)
are available in the Git repository at:
https://github.com/alexander-n8hgeg5e/apvlv.git for-origin
for you to fetch changes up to b90b938:
fet: 3 pages continous scrolling (2020-03-12 04:57:31 +0100)
alexander-n8hgeg5e (1):
fet: 3 pages continous scrolling
src/ApvlvCore.cc | 54 +++++++++++++++++++++++++++++++++++++++++-------------
src/ApvlvDoc.cc | 35 ++++++++++++++++++++++++-----------
src/ApvlvDoc.h | 6 +++---
3 files changed, 68 insertions(+), 27 deletions(-)
Setting the option doubleclick
to word
or line
causes on one core of the CPU to go up to 100%, when opening
, scrolling
and closing
PDFs. Sometimes the entire PDF freezes
.
Setting doubleclick
to none
or page
opens the PDF immediately and causes no high CPU load, which I consider as a workaround.
ramon@sharkoon ~ % apvlv --version
apvlv 0.1.5-rel
Please send bug report to Alf <[email protected]>
ramon@sharkoon ~ %
~/.apvlvrc
" vi: set ft=vim :
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Copyright 2020 Ramon Fischer "
" "
" Licensed under the Apache License, Version 2.0 (the "License"); "
" you may not use this file except in compliance with the License. "
" You may obtain a copy of the License at "
" "
" http://www.apache.org/licenses/LICENSE-2.0 "
" "
" Unless required by applicable law or agreed to in writing, software "
" distributed under the License is distributed on an "AS IS" BASIS, "
" WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. "
" See the License for the specific language governing permissions and "
" limitations under the License. "
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" custom - 20200617 - rfischer: set miscellaneous settings
" application settings
"" save cursor position; the file "~/.apvlvinfo" will be created
set noinfo = no
"" select a word on double-click
set doubleclick = word
"" do not start with the table of contents
set content = no
"" enable continuous scrolling
set continuous = yes
"" enable padding for continuous scrolling
set continuouspad = yes
"" set the default zoom level to "160%"
set zoom = 1.6
" keyboard settings
"" open link
map l <C-]>
"" go to next page
map n <C-f>
"" go to previous page
map p <C-b>
"" zoom in
map z zi
"" zoom out
map Z zo
"" fit content to window width
map w zw
"" fit content to window height
map h zh
" use "spacebar" to search
map <Space> /
" print file
map <C-p> :print<CR>
ramon@sharkoon ~ % uname --all
Linux sharkoon 5.4.48-gentoo #7 SMP Sat Jul 25 14:09:13 CEST 2020 x86_64 Intel(R) Core(TM) i5-3450 CPU @ 3.10GHz GenuineIntel GNU/Linux
ramon@sharkoon ~ %
ramon@sharkoon ~ % equery uses app-text/apvlv
[ Legend : U - final flag setting for installation]
[ : I - package is installed with flag ]
[ Colors : set, unset ]
* Found these USE flags for app-text/apvlv-0.1.5-r2:
U I
- - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see
https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
- - djvu : Support DjVu, a PDF-like document format esp. suited for scanned documents
ramon@sharkoon ~ %
ramon@sharkoon ~ % equery uses x11-libs/gtk+
[ Legend : U - final flag setting for installation]
[ : I - package is installed with flag ]
[ Colors : set, unset ]
* Found these USE flags for x11-libs/gtk+-3.24.20:
U I
+ + X : Add support for X11
- - broadway : Enable the GDK Broadway backend.
- - cloudprint : Enable printing via Google Cloud Print.
- - colord : Use x11-misc/colord for color management in printing
+ + cups : Add support for CUPS (Common Unix Printing System)
- - examples : Install examples, usually source code
- - gtk-doc : Build and install gtk-doc based developer documentation for dev-util/devhelp, IDE and offline use
+ + introspection : Add support for GObject based introspection
- - test : Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
- - vim-syntax : Pulls in related vim syntax scripts
- - wayland : Enable dev-libs/wayland backend
- - xinerama : Add support for querying multi-monitor screen geometry through the Xinerama API
ramon@sharkoon ~ %
ramon@sharkoon ~ % equery uses app-text/poppler
[ Legend : U - final flag setting for installation]
[ : I - package is installed with flag ]
[ Colors : set, unset ]
* Found these USE flags for app-text/poppler-0.88.0-r1:
U I
+ + cairo : Enable support for the cairo graphics library
- - cjk : Add support for Multi-byte character languages (Chinese, Japanese, Korean)
- - curl : Add support for client-side URL transfer library
+ + cxx : Build support for C++ (bindings, extra libraries, code generation, ...)
- - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see
https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
- - doc : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
+ + introspection : Add support for GObject based introspection
+ + jpeg : Add JPEG image support
+ + jpeg2k : Support for JPEG 2000, a wavelet-based image compression format
+ + lcms : Add lcms support (color management engine)
- - nss : Enable signatures handling with dev-libs/nss
- - png : Add support for libpng (PNG images)
- - qt5 : Add support for the Qt 5 application and UI framework
- - tiff : Add support for the TIFF image format
+ + utils : Install command-line PDF converters and various utilities.
ramon@sharkoon ~ %
ramon@sharkoon ~ % equery uses app-text/libepubgen
[ Legend : U - final flag setting for installation]
[ : I - package is installed with flag ]
[ Colors : set, unset ]
* Found these USE flags for app-text/libepubgen-0.1.1:
U I
- - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see
https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
- - doc : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
- - test : Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
ramon@sharkoon ~ %
ramon@sharkoon ~ % eix --installed poppler-data
[I] app-text/poppler-data
Available versions: 0.4.9
Installed versions: 0.4.9(19:04:05 13/06/20)
Homepage: https://poppler.freedesktop.org/
Description: Data files for poppler to support uncommon encodings without xpdfrc
ramon@sharkoon ~ %
~/.apvlvrc
doubleclick
to line
)htop
, to monitor the CPU loadlua5.1_short_reference.pdf
; watch CPU loaddoubleclick
doubleclick
to none
or page
)lua5.1_short_reference.pdf
; should open immediately; watch CPU loadThe PDF should open immediately and should not cause high CPU load.
The PDF freezes and causes high CPU load.
Issue template stolen from Ansible. :)
Source: http://lua-users.org/files/wiki_insecure/users/thomasl/luarefv51.pdf
For me the [count]G function isn't working. It behaves like theres no count and goes to last page.
I tried archlinux repository version 0.1.5 and self compiled from git. I have the issue for a long time now (haven't used apvlv very often) , so I can't remember when it appeared. Only setting I've done is set autoscrolldoc=no
, but also occurs without this.
Is there a command like :goto [page]
, so that I can test I just the binding not working, and workaround by setting manually? Edit: Found it. Simply :[page]
and it is working.
If apvlv was used to open a symlink to a document, the autoreload doesn't seem to work. If replace the target document, apvlv doesn't reload. I think it would be logical if it did, since you what you actually opened -- the document that the symlink pointed to -- has changed.
The auto-reload feature is awesome. It reloads the PDF file after I recompile a TeX file.
But something seems wrong after it does that 3 or 4 times. During one instance, the reloading time becomes longer and longer. Seemingly the process is occupying a whole core to do that. It's also not responding to any keyboard input. The only way to interrupt it is killing it.
I don't think it's the file's problem because I can view the same PDF file with another apvlv instance. And the new instance reloads faster than the old one.
I don't know how to provide more specific information about this issue. If you need some, please tell me.
I just did install this awesome vim based pdf reader (among other formats), so I tried it calling the app from the command-line and I realized that, when i open a pdf (using o
), it opens a new window where i pick a chapter of the book and then creates a new window where it opens the pdf (in the page where that chapter starts as expected). But there is an issu, the other windows aren't killed (or removed) like you see here:
And in the terminal where started the app i can see this errors:
Edit:
I don't know if not killing the window where you choose the chapter to view is default, but when I try to go to another chapter that window gives no answer, but the window where I'm reading the pdf.
p.e. in the chapter window i press the downwards arrow key, in the chapter window nothing happens, but where im reading the pdf it goes down.
Edit2:
Woah, just realized i had to :q
in the pdf window to be able to access to the chapter window.
Maybe I should close this issue.
Pls ask for more info if you need it, and thanks!
When using two finger scrolling on a touchpad, removing my fingers doesn't halt the scrolling, scroll velocity remains fast.
I'm using a macbook with linux installed on it, and I'm using libinput as my touchpad driver
In browsers and other PDF viewers there's a feature that allows one to scroll a screenful of text hitting spacebar. I really miss it in apvlv as it requires one to navigate his way in the document non-uniformly or fit page in the screen that doesn't work very good on small displays.
It should be possible to scroll with the mouse even if scrollbar = no
is set.
I've just switched to Apvlv as my main pdf viewer and have found it awesome so far! I was wondering if it would be possible to follow links included in a pdf (e.g. links to section in the table of contents, or links to bibliography in the main text ...).
Setting set autoscrolldoc=no
in .apvlvrc causes 'G' to go to the end of the document to no longer work.
In the current git version, the scroll rate is messed up for
me. It scrolls a really small amount on one key press, then it
just jumps an entire page on the second, and every key press after that.
The current Debian version doesn't have this bug, so I used that as a
reference.
The page size of mVaj
in the Debian version is 708, while the page
size in the current git version is only 2 less than the upper bound.
This becomes a problem, because according to the GTK3 docs,
Note that for adjustments which are used in a GtkScrollbar, the
effective range of allowed values goes from “lower” to “upper” -
“page_size”.
Since the difference there is only 2, mVaj
caps out at 2, locking the
user the first bit of a page.
I tried manually setting the page size to 708, identical to the Debian
version, which worked until about the bottom of the second page, where
it locked position again.
Not much really changed in the core from the Debian version, except for
upgrading to GTK3, so that could be the issue. I haven't tried to revert the
code to GTK2 and test.
I did change an odd line in ApvlvCore::scrolldown
,
if (val + mVrate * times + gtk_adjustment_get_page_size(mVaj) < gtk_adjustment_get_upper(mVaj))
I wasn't sure why the page size is added to that check, so I removed it to
debug.
When I opened a pdf which had chapter numbers, the list was as follows:
10
11
12
13
1
2
3
4
5
6
7
8
9
The list was ordered incorrectly, should be 1 first. Let me know if I'm the only person having this issue, or if someone else is able to reproduce it.
I just found apvlv while looking for a minimal viewer that allowed for color inversion. Not only does apvlv do that, but it's like vim! Now that I've found apvlv (in the Arch repos), I'm craving the ability to make it solarized like everything else I run.
Color schemes would be a great addition to this already-badass piece of software.
The text inversion feature definitely helps when reading in a dark room but the white background is still an eyesore. Can you create an option to set the background colour (at least black/white, but any of 256 would be better)?
At the moment, if I am in the bottom of the last page (both with continuous set to yes and no), if I press j or PgDn, the document wrap around and I am back in the first page. I would like to be able to set wrapping to no, which would prevent that.
Hi, I really like the look of this project - I just heard about it today. I'm a huge vim fan and your project does a good job at emulating its configuration and key shortcuts. Thanks for creating it. I'm currently using mupdf because of its speed and simplicity, but it lacks some features (like configuration in general) that apvlv supports. One thing it does have that apvlv does not though is the ability to invert the PDF's colors. I find this useful as I prefer reading PDFs with light text on dark background. If it wouldn't be too difficult to add this feature I would much appreciate it. Thanks!
I can't build it: (Ubuntu 14.10)
[ 7%] Building CXX object src/CMakeFiles/apvlv.dir/ApvlvCmds.cc.o
[ 14%] Building CXX object src/CMakeFiles/apvlv.dir/ApvlvCore.cc.o
[ 21%] Building CXX object src/CMakeFiles/apvlv.dir/ApvlvDir.cc.o
[ 28%] Building CXX object src/CMakeFiles/apvlv.dir/ApvlvDoc.cc.o
[ 35%] Building CXX object src/CMakeFiles/apvlv.dir/ApvlvFile.cc.o
[ 42%] Building CXX object src/CMakeFiles/apvlv.dir/ApvlvPdf.cc.o
/home/gustav/apvlv_git/apvlv/src/ApvlvPdf.cc:32:24: fatal error: goo/gtypes.h: No such file or directory
#include <goo/gtypes.h>
Even if cmake run without any error...
-- The C compiler identification is GNU 4.9.1
-- The CXX compiler identification is GNU 4.9.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found Git: /usr/bin/git (found version "2.1.0")
-- Configure git: e2c449a
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- checking for module 'freetype2'
-- found freetype2, version 17.1.11
-- checking for module 'gtk+-3.0'
-- found gtk+-3.0, version 3.12.2
-- checking for module 'glib-2.0'
-- found glib-2.0, version 2.42.1
-- checking for module 'gthread-2.0'
-- found gthread-2.0, version 2.42.1
-- checking for module 'poppler-glib'
-- found poppler-glib, version 0.32.0
-- Configuring done
-- Generating done
When apvlv is started, normal statusbar is (physically) two lines tall. The bottom line
showing "filename page/total percent etc", the space/line above it is always empty.
Is this intentional? If I do a split with :sp, the two windows have a statusbar which is
only one line tall.
Mapping C-a to 0 doesn't work:
map 0
Also, I'd like to make C-tab, but it doesn't work:
map gt
(and as well C-S-tab)
When I open an EPUB file (such as Byte of Python) in apvlv v0.2.0 under Manjaro Linux, pressing the down/up arrow keys or j
and k
in normal mode results in jumping to the next/previous chapter. (In PDF documents, pressing these keys scrolls just a few lines as expected.)
If visual mode is enabled by running :set visualmode yes
, pressing k
moves to the previous chapter and j
doesn’t seem to do anything.
I’m using the example rc file shipped with the package installed from the AUR.
gcc version 9.0.1 20190328 (Red Hat 9.0.1-0.12) (GCC)
umask 022
cd /home/filiperosset/rpmbuild/my/apvlv
cd /home/filiperosset/rpmbuild/my/apvlv
rm -rf apvlv-0.1.5
/usr/bin/gzip -dc /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5.tar.gz
/usr/bin/tar -xof -
STATUS=0
'[' 0 -ne 0 ']'
cd apvlv-0.1.5
/usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
/usr/bin/cat /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5-cflags.patch
/usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
/usr/bin/cat /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5-gcc6.patch
/usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
/usr/bin/cat /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5-gcc7.patch
/usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
exit 0
Executando (%build): /bin/sh -e /var/tmp/rpm-tmp.jf2D4B
umask 022
cd /home/filiperosset/rpmbuild/my/apvlv
cd apvlv-0.1.5
CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
export CFLAGS
CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
export CXXFLAGS
FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
export FFLAGS
FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
export FCFLAGS
LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
export LDFLAGS
/usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON . -DDOCDIR=/usr/share/doc/apvlv -DAPVLV_WITH_DJVU:BOOL=ON -DAPVLV_WITH_TXT:BOOL=ON
-- The C compiler identification is GNU 9.0.1
-- The CXX compiler identification is GNU 9.0.1
-- Check for working C compiler: /usr/lib64/ccache/cc
-- Check for working C compiler: /usr/lib64/ccache/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/lib64/ccache/c++
-- Check for working CXX compiler: /usr/lib64/ccache/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "2.21.0")
-- Configure git: 04eed10
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.6.1")
-- Checking for module 'freetype2'
-- Found freetype2, version 22.1.16
-- Checking for module 'gtk+-3.0'
-- Found gtk+-3.0, version 3.24.8
-- Checking for module 'glib-2.0'
-- Found glib-2.0, version 2.60.0
-- Checking for module 'gthread-2.0'
-- Found gthread-2.0, version 2.60.0
-- Checking for module 'poppler-glib'
-- Found poppler-glib, version 0.73.0
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
BUILD_SHARED_LIBS
CMAKE_CXX_FLAGS_RELEASE
CMAKE_C_FLAGS_RELEASE
CMAKE_Fortran_FLAGS_RELEASE
INCLUDE_INSTALL_DIR
LIB_INSTALL_DIR
LIB_SUFFIX
SHARE_INSTALL_PREFIX
SYSCONF_INSTALL_DIR
-- Build files have been written to: /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5
Erros na construção do RPM:
Could not execute local: rpmbuild --define '_sourcedir /home/filiperosset/rpmbuild/my/apvlv' --define '_specdir /home/filiperosset/rpmbuild/my/apvlv' --define '_builddir /home/filiperosset/rpmbuild/my/apvlv' --define '_srcrpmdir /home/filiperosset/rpmbuild/my/apvlv' --define '_rpmdir /home/filiperosset/rpmbuild/my/apvlv' --define 'dist .fc31' --define 'fedora 31' --eval '%undefine rhel' --define 'fc31 1' -ba /home/filiperosset/rpmbuild/my/apvlv/apvlv.spec | tee .build-0.1.5-3.fc31.log
[filiperosset@raw apvlv]$
The command parsing chokes on spaces, even if they are escaped.
Dear developers,
Thank you very much for this beautiful piece of software.
However, the version on Ubuntu repositories is quite old (0.1.5) and with bugs (probably dependencies).
I would like to build it for my system.
Could you please add a couple of lines in the README.md with instructions for building it? I am not a developer, but I can type a couple of commands and build it myself, with the appropriate directions.
I tried to find those instructions in other places using search engines, to no avail.
Kind regards.
Hi! I can't build apvlv in Ubuntu 15.10:
amp@albuntu:/sources/apvlv$ make/sources/apvlv$
[ 7%] Building CXX object CMakeFiles/apvlv.dir/ApvlvMenu.o
/home/amp/sources/apvlv/src/ApvlvMenu.cc: In function ‘void apvlv::apvlv_menu_on_help_about()’:
/home/amp/sources/apvlv/src/ApvlvMenu.cc:134:64: error: ‘PACKAGE_NAME’ was not declared in this scope
gtk_about_dialog_set_program_name (GTK_ABOUT_DIALOG (dia), PACKAGE_NAME);
^
/home/amp/sources/apvlv/src/ApvlvMenu.cc:135:59: error: ‘PACKAGE_VERSION’ was not declared in this scope
gtk_about_dialog_set_version (GTK_ABOUT_DIALOG (dia), PACKAGE_VERSION);
^
CMakeFiles/apvlv.dir/build.make:215: recipe for target 'CMakeFiles/apvlv.dir/ApvlvMenu.o' failed
make[2]: *** [CMakeFiles/apvlv.dir/ApvlvMenu.o] Error 1
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/apvlv.dir/all' failed
make[1]: *** [CMakeFiles/apvlv.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
amp@albuntu:
any hint?
apvlv currently uses the deprecated gdk pixbuf API of poppler-glib (poppler_page_render_to_pixbuf(), in particular), which has been dropped starting from poppler 0.17.0 (unstable version for the current stable 0.18). Please migrate the rendering code to cairo.
For more details, see the blog of the poppler-glib developer: http://carlosgc.linups.org/gnome/gdk-api-removed-poppler.html
Opening the open file window and closing it creates a $HOME directory in $HOME. Here is the created folder structure.
$HOME
$HOME
.config
dconf
user
I am able to recreate this behaviour everytime which is what makes me suspect apvlv. But could be wrong.
Using version 0.1.5-rel on arch linux. Thanks for the great tool!
On my system (Manjaro 21.1.5, i3) some settings don't seem to apply when opening the application. Below in my ~/.apvlvrc file:
set continuous=no
set content=no
set zoom=fitwidth
set guioptions=mT
set visualmode=yes
The continuous, content, and guioptions settings work. But the zoom and visual mode values don't. Unsure if other settigs have the same issue. Changing the settings doesn't change behavior when starting the program.
Also, the default zoom level is not showing as the "window width" like the example ~/.apvlvrc in the GitHub suggested. It is some random zoom level. Setting zoom within the program with ":zoom " also doesn't seem to effect anything. The "zw" command works properly.
I have tried explicitly running the config file with "apvlvrc -c ~/.apvlvrc" but the behavior is the same.
Does it work on mac os x?
Hi,
Have you considered adding EPUB support to apvlv?
Sumatra PDF for Windows has it; Zathura for Linux also has a plugin (which I didn't get to work, though). But there seems to be no cross-platform tool that supports all three -- EPUB, PDF and DJVU. So add this, and you'll have a kind of perfect document reader with vi keybindings.
Thanks anyway for the great work!
Startup.pdf not up to date. installation does not work like described. ./configure does not work.
It used to work well, but today I update the whole ArchLinux System, and it's not work any more.
(apvlv:20486): Gtk-CRITICAL **: IA__gtk_tree_store_append: assertion `VALID_ITER (parent, tree_store)' failed
(apvlv:20486): Gtk-CRITICAL **: IA__gtk_tree_store_set_valist: assertion `VALID_ITER (iter, tree_store)' failed
(apvlv:20486): Gtk-CRITICAL **: IA__gtk_tree_store_append: assertion `VALID_ITER (parent, tree_store)' failed
(apvlv:20486): Gtk-CRITICAL **: IA__gtk_tree_store_set_valist: assertion `VALID_ITER (iter, tree_store)' failed
(apvlv:20486): Gtk-CRITICAL **: IA__gtk_tree_store_append: assertion `VALID_ITER (parent, tree_store)' failed
(apvlv:20486): Gtk-CRITICAL **: IA__gtk_tree_store_set_valist: assertion `VALID_ITER (iter, tree_store)' failed
my version
$ apvlv --version
apvlv 0.1.2-rel
Please send bug report to Alf <[email protected]>
[ERROR] /home/haawda/paketierung/svn-packages/apvlv/trunk/src/apvlv-0.1.2-Source/src/main.cpp: 178: main(): Parse options failed.
btw: I like apvlv very much.
I grabed the code from the master branch, the details are:
/home/user/Vcs/apvlv/src/ApvlvFile.cpp: In member function ‘virtual bool apvlv::ApvlvPDF::pagetext(int, int, int, int, int, char*)’:
/home/user/Vcs/apvlv/src/ApvlvFile.cpp:307:68: error: too many arguments to function ‘char poppler_page_get_text(PopplerPage_)’
/usr/include/poppler/glib/poppler-page.h:101:7: note: declared here
make[2]: *_* [src/CMakeFiles/apvlv.dir/ApvlvFile.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/apvlv.dir/all] Error 2
make: *** [all] Error 2
poppler-glib version : 0.16.6
I've also tried the rpm package, but it has some failed dependancies.
error: Failed dependencies:
libdjvulibre.so.21 is needed by apvlv-0.1.2-1.i386
libpoppler-glib.so.4 is needed by apvlv-0.1.2-1.i386
libumd.so is needed by apvlv-0.1.2-1.i386
$ yum provides _/_libumd*
No Matches found
/usr/lib64/libpoppler-glib.so.6
/usr/lib64/libpoppler-glib.so.6.0.0
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.