Giter Site home page Giter Site logo

apvlv's People

Contributors

bertogg avatar claudiocabral avatar darkstarsword avatar linsujie avatar mathstuf avatar naihe2010 avatar oblique avatar quinston avatar rdbliss avatar rreno17 avatar serejkus avatar spapanik avatar spwhitton avatar sunqm avatar the-shank avatar troydm avatar yselkowitz avatar yumkam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

apvlv's Issues

Table of contents

IMHO, will be great if there are some key to open and close the table of contents of the pdf if it exist.

No status bar after gtk3 migration

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.

feature: 3-pages-continuous-scrolling (pull request draft)

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(-)

Scrolling broken in latest version

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.

Print

Hello

is there a way to print a pdf with apvlv?
I mean to send the seen pdf to the printer?

Thanks

How do I build apvlv?

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?

fails to build on Fedora rawhide/gcc9

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

  • /usr/bin/make -O -j4
    /usr/bin/cmake -S/home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5 -B/home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5 --check-build-system CMakeFiles/Makefile.cmake 0
    /usr/bin/cmake -E cmake_progress_start /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/CMakeFiles /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/CMakeFiles/progress.marks
    /usr/bin/make -f CMakeFiles/Makefile2 all
    /usr/bin/make -f src/CMakeFiles/apvlv.dir/build.make src/CMakeFiles/apvlv.dir/depend
    make[2]: Entering directory '/home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5'
    cd /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5 /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5 /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/CMakeFiles/apvlv.dir/DependInfo.cmake --color=
    Scanning dependencies of target apvlv
    make[2]: Leaving directory '/home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5'
    /usr/bin/make -f src/CMakeFiles/apvlv.dir/build.make src/CMakeFiles/apvlv.dir/build
    make[2]: Entering directory '/home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5'
    [ 11%] Building CXX object src/CMakeFiles/apvlv.dir/ApvlvCore.cc.o
    cd /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src && /usr/lib64/ccache/c++ -DAPVLV_WITH_DJVU -DAPVLV_WITH_TXT -DDOCDIR="/usr/share/doc/apvlv" -DPACKAGE_BUGREPORT=""Alf [email protected]"" -DPACKAGE_NAME="apvlv" -DPACKAGE_VERSION="0.1.04eed10" -DRELEASE="rel" -DSYSCONFDIR="/etc" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/poppler/glib -I/usr/include/poppler -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 -Wall -fno-strict-aliasing -o CMakeFiles/apvlv.dir/ApvlvCore.cc.o -c /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvCore.cc
    make[2]: Leaving directory '/home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5'
    /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvDir.cc: In member function 'virtual void apvlv::ApvlvDirStatus::active(bool)':
    /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvDir.cc:824:68: warning: 'void gtk_widget_override_color(GtkWidget*, GtkStateFlags, const GdkRGBA*)' is deprecated [-Wdeprecated-declarations]
    824 | GTK_STATE_FLAG_INSENSITIVE, NULL);
    | ^
    In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27,
    from /usr/include/gtk-3.0/gtk/gtkwindow.h:33,
    from /usr/include/gtk-3.0/gtk/gtkdialog.h:32,
    from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
    from /usr/include/gtk-3.0/gtk/gtk.h:31,
    from /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvMenu.h:31,
    from /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvView.h:32,
    from /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvDir.cc:29:
    /usr/include/gtk-3.0/gtk/gtkwidget.h:1144:14: note: declared here
    1144 | void gtk_widget_override_color (GtkWidget widget,
    | ^~~~~~~~~~~~~~~~~~~~~~~~~
    /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvDir.cc:824:68: warning: 'void gtk_widget_override_color(GtkWidget
    , GtkStateFlags, const GdkRGBA*)' is deprecated [-Wdeprecated-declarations]
    824 | GTK_STATE_FLAG_INSENSITIVE, NULL);
    | ^
    In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27,
    from /usr/include/gtk-3.0/gtk/gtkwindow.h:33,
    from /usr/include/gtk-3.0/gtk/gtkdialog.h:32,
    from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
    from /usr/include/gtk-3.0/gtk/gtk.h:31,
    from /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvMenu.h:31,
    from /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvView.h:32,
    from /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvDir.cc:29:
    /usr/include/gtk-3.0/gtk/gtkwidget.h:1144:14: note: declared here
    1144 | void gtk_widget_override_color (GtkWidget widget,
    | ^~~~~~~~~~~~~~~~~~~~~~~~~
    make[2]: Entering directory '/home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5'
    [ 17%] Building CXX object src/CMakeFiles/apvlv.dir/ApvlvDir.cc.o
    cd /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src && /usr/lib64/ccache/c++ -DAPVLV_WITH_DJVU -DAPVLV_WITH_TXT -DDOCDIR="/usr/share/doc/apvlv" -DPACKAGE_BUGREPORT=""Alf [email protected]"" -DPACKAGE_NAME="apvlv" -DPACKAGE_VERSION="0.1.04eed10" -DRELEASE="rel" -DSYSCONFDIR="/etc" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/poppler/glib -I/usr/include/poppler -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 -Wall -fno-strict-aliasing -o CMakeFiles/apvlv.dir/ApvlvDir.cc.o -c /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvDir.cc
    make[2]: Leaving directory '/home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5'
    make[2]: Entering directory '/home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5'
    [ 5%] Building CXX object src/CMakeFiles/apvlv.dir/ApvlvCmds.cc.o
    cd /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src && /usr/lib64/ccache/c++ -DAPVLV_WITH_DJVU -DAPVLV_WITH_TXT -DDOCDIR="/usr/share/doc/apvlv" -DPACKAGE_BUGREPORT=""Alf [email protected]"" -DPACKAGE_NAME="apvlv" -DPACKAGE_VERSION="0.1.04eed10" -DRELEASE="rel" -DSYSCONFDIR="/etc" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/poppler/glib -I/usr/include/poppler -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 -Wall -fno-strict-aliasing -o CMakeFiles/apvlv.dir/ApvlvCmds.cc.o -c /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvCmds.cc
    make[2]: Leaving directory '/home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5'
    /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvDoc.cc: In static member function 'static void apvlv::ApvlvDoc::apvlv_doc_button_event(GtkEventBox
    , GdkEventButton*, apvlv::ApvlvDoc*)':
    /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvDoc.cc:1684:63: warning: 'void gtk_menu_popup(GtkMenu*, GtkWidget*, GtkWidget*, GtkMenuPositionFunc, gpointer, guint, guint32)' is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Wdeprecated-declarations]
    1684 | gtk_menu_popup (GTK_MENU (menu), NULL, NULL, NULL, NULL, 0, 0);
    | ^
    In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:34,
    from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
    from /usr/include/gtk-3.0/gtk/gtk.h:33,
    from /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvUtil.h:32,
    from /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvDoc.cc:29:
    /usr/include/gtk-3.0/gtk/gtkmenu.h:138:9: note: declared here
    138 | void gtk_menu_popup (GtkMenu menu,
    | ^~~~~~~~~~~~~~
    /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvDoc.cc:1684:63: warning: 'void gtk_menu_popup(GtkMenu
    , GtkWidget*, GtkWidget*, GtkMenuPositionFunc, gpointer, guint, guint32)' is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Wdeprecated-declarations]
    1684 | gtk_menu_popup (GTK_MENU (menu), NULL, NULL, NULL, NULL, 0, 0);
    | ^
    In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:34,
    from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
    from /usr/include/gtk-3.0/gtk/gtk.h:33,
    from /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvUtil.h:32,
    from /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvDoc.cc:29:
    /usr/include/gtk-3.0/gtk/gtkmenu.h:138:9: note: declared here
    138 | void gtk_menu_popup (GtkMenu menu,
    | ^~~~~~~~~~~~~~
    /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvDoc.cc: In member function 'virtual void apvlv::ApvlvDocStatus::active(bool)':
    /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvDoc.cc:2103:68: warning: 'void gtk_widget_override_color(GtkWidget
    , GtkStateFlags, const GdkRGBA*)' is deprecated [-Wdeprecated-declarations]
    2103 | GTK_STATE_FLAG_INSENSITIVE, NULL);
    | ^
    In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27,
    from /usr/include/gtk-3.0/gtk/gtkwindow.h:33,
    from /usr/include/gtk-3.0/gtk/gtkdialog.h:32,
    from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
    from /usr/include/gtk-3.0/gtk/gtk.h:31,
    from /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvUtil.h:32,
    from /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvDoc.cc:29:
    /usr/include/gtk-3.0/gtk/gtkwidget.h:1144:14: note: declared here
    1144 | void gtk_widget_override_color (GtkWidget widget,
    | ^~~~~~~~~~~~~~~~~~~~~~~~~
    /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvDoc.cc:2103:68: warning: 'void gtk_widget_override_color(GtkWidget
    , GtkStateFlags, const GdkRGBA*)' is deprecated [-Wdeprecated-declarations]
    2103 | GTK_STATE_FLAG_INSENSITIVE, NULL);
    | ^
    In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27,
    from /usr/include/gtk-3.0/gtk/gtkwindow.h:33,
    from /usr/include/gtk-3.0/gtk/gtkdialog.h:32,
    from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
    from /usr/include/gtk-3.0/gtk/gtk.h:31,
    from /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvUtil.h:32,
    from /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvDoc.cc:29:
    /usr/include/gtk-3.0/gtk/gtkwidget.h:1144:14: note: declared here
    1144 | void gtk_widget_override_color (GtkWidget widget,
    | ^~~~~~~~~~~~~~~~~~~~~~~~~
    make[2]: Entering directory '/home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5'
    [ 23%] Building CXX object src/CMakeFiles/apvlv.dir/ApvlvDoc.cc.o
    cd /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src && /usr/lib64/ccache/c++ -DAPVLV_WITH_DJVU -DAPVLV_WITH_TXT -DDOCDIR="/usr/share/doc/apvlv" -DPACKAGE_BUGREPORT=""Alf [email protected]"" -DPACKAGE_NAME="apvlv" -DPACKAGE_VERSION="0.1.04eed10" -DRELEASE="rel" -DSYSCONFDIR="/etc" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/poppler/glib -I/usr/include/poppler -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 -Wall -fno-strict-aliasing -o CMakeFiles/apvlv.dir/ApvlvDoc.cc.o -c /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvDoc.cc
    make[2]: Leaving directory '/home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5'
    make[2]: Entering directory '/home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5'
    [ 35%] Building CXX object src/CMakeFiles/apvlv.dir/ApvlvInfo.cc.o
    cd /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src && /usr/lib64/ccache/c++ -DAPVLV_WITH_DJVU -DAPVLV_WITH_TXT -DDOCDIR="/usr/share/doc/apvlv" -DPACKAGE_BUGREPORT=""Alf [email protected]"" -DPACKAGE_NAME="apvlv" -DPACKAGE_VERSION="0.1.04eed10" -DRELEASE="rel" -DSYSCONFDIR="/etc" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/poppler/glib -I/usr/include/poppler -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 -Wall -fno-strict-aliasing -o CMakeFiles/apvlv.dir/ApvlvInfo.cc.o -c /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvInfo.cc
    make[2]: Leaving directory '/home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5'
    /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvFile.cc: In static member function 'static apvlv::ApvlvFile
    apvlv::ApvlvFile::newfile(const char*, bool)':
    /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvFile.cc:141:22: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=]
    141 | catch (bad_alloc e)
    | ^
    make[2]: Entering directory '/home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5'
    [ 29%] Building CXX object src/CMakeFiles/apvlv.dir/ApvlvFile.cc.o
    cd /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src && /usr/lib64/ccache/c++ -DAPVLV_WITH_DJVU -DAPVLV_WITH_TXT -DDOCDIR="/usr/share/doc/apvlv" -DPACKAGE_BUGREPORT=""Alf [email protected]"" -DPACKAGE_NAME="apvlv" -DPACKAGE_VERSION="0.1.04eed10" -DRELEASE="rel" -DSYSCONFDIR="/etc" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/poppler/glib -I/usr/include/poppler -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 -Wall -fno-strict-aliasing -o CMakeFiles/apvlv.dir/ApvlvFile.cc.o -c /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvFile.cc
    make[2]: Leaving directory '/home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5'
    make[2]: Entering directory '/home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5'
    [ 47%] Building CXX object src/CMakeFiles/apvlv.dir/ApvlvMenu.cc.o
    cd /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src && /usr/lib64/ccache/c++ -DAPVLV_WITH_DJVU -DAPVLV_WITH_TXT -DDOCDIR="/usr/share/doc/apvlv" -DPACKAGE_BUGREPORT=""Alf [email protected]"" -DPACKAGE_NAME="apvlv" -DPACKAGE_VERSION="0.1.04eed10" -DRELEASE="rel" -DSYSCONFDIR="/etc" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/poppler/glib -I/usr/include/poppler -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 -Wall -fno-strict-aliasing -o CMakeFiles/apvlv.dir/ApvlvMenu.cc.o -c /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvMenu.cc
    make[2]: Leaving directory '/home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5'
    make[2]: Entering directory '/home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5'
    [ 52%] Building CXX object src/CMakeFiles/apvlv.dir/ApvlvParams.cc.o
    cd /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src && /usr/lib64/ccache/c++ -DAPVLV_WITH_DJVU -DAPVLV_WITH_TXT -DDOCDIR="/usr/share/doc/apvlv" -DPACKAGE_BUGREPORT=""Alf [email protected]"" -DPACKAGE_NAME="apvlv" -DPACKAGE_VERSION="0.1.04eed10" -DRELEASE="rel" -DSYSCONFDIR="/etc" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/poppler/glib -I/usr/include/poppler -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 -Wall -fno-strict-aliasing -o CMakeFiles/apvlv.dir/ApvlvParams.cc.o -c /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvParams.cc
    make[2]: Leaving directory '/home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5'
    /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvPdf.cc:32:10: fatal error: goo/gtypes.h: No such file or directory
    32 | #include <goo/gtypes.h>
    | ^~~~~~~~~~~~~~
    compilation terminated.
    make[2]: *** [src/CMakeFiles/apvlv.dir/build.make:131: src/CMakeFiles/apvlv.dir/ApvlvPdf.cc.o] Error 1
    make[2]: Entering directory '/home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5'
    [ 41%] Building CXX object src/CMakeFiles/apvlv.dir/ApvlvPdf.cc.o
    cd /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src && /usr/lib64/ccache/c++ -DAPVLV_WITH_DJVU -DAPVLV_WITH_TXT -DDOCDIR="/usr/share/doc/apvlv" -DPACKAGE_BUGREPORT=""Alf [email protected]"" -DPACKAGE_NAME="apvlv" -DPACKAGE_VERSION="0.1.04eed10" -DRELEASE="rel" -DSYSCONFDIR="/etc" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/poppler/glib -I/usr/include/poppler -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 -Wall -fno-strict-aliasing -o CMakeFiles/apvlv.dir/ApvlvPdf.cc.o -c /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvPdf.cc
    make[2]: Leaving directory '/home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5'
    make[2]: *** Waiting for unfinished jobs....
    make[2]: Entering directory '/home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5'
    [ 58%] Building CXX object src/CMakeFiles/apvlv.dir/ApvlvUtil.cc.o
    cd /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src && /usr/lib64/ccache/c++ -DAPVLV_WITH_DJVU -DAPVLV_WITH_TXT -DDOCDIR="/usr/share/doc/apvlv" -DPACKAGE_BUGREPORT=""Alf [email protected]"" -DPACKAGE_NAME="apvlv" -DPACKAGE_VERSION="0.1.04eed10" -DRELEASE="rel" -DSYSCONFDIR="/etc" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/poppler/glib -I/usr/include/poppler -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 -Wall -fno-strict-aliasing -o CMakeFiles/apvlv.dir/ApvlvUtil.cc.o -c /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvUtil.cc
    make[2]: Leaving directory '/home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5'
    make[2]: Entering directory '/home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5'
    [ 70%] Building CXX object src/CMakeFiles/apvlv.dir/ApvlvWindow.cc.o
    cd /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src && /usr/lib64/ccache/c++ -DAPVLV_WITH_DJVU -DAPVLV_WITH_TXT -DDOCDIR="/usr/share/doc/apvlv" -DPACKAGE_BUGREPORT=""Alf [email protected]"" -DPACKAGE_NAME="apvlv" -DPACKAGE_VERSION="0.1.04eed10" -DRELEASE="rel" -DSYSCONFDIR="/etc" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/poppler/glib -I/usr/include/poppler -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 -Wall -fno-strict-aliasing -o CMakeFiles/apvlv.dir/ApvlvWindow.cc.o -c /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvWindow.cc
    make[2]: Leaving directory '/home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5'
    /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvView.cc: In constructor 'apvlv::ApvlvView::ApvlvView(const char*)':
    /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvView.cc:75:36: warning: 'gint gdk_screen_get_width(GdkScreen*)' is deprecated [-Wdeprecated-declarations]
    75 | mWidth = gdk_screen_get_width (scr);
    | ^
    In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
    from /usr/include/gtk-3.0/gdk/gdk.h:32,
    from /usr/include/gtk-3.0/gtk/gtk.h:30,
    from /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvUtil.h:32,
    from /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvParams.h:32,
    from /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvView.cc:29:
    /usr/include/gtk-3.0/gdk/gdkscreen.h:58:14: note: declared here
    58 | gint gdk_screen_get_width (GdkScreen screen);
    | ^~~~~~~~~~~~~~~~~~~~
    /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvView.cc:75:36: warning: 'gint gdk_screen_get_width(GdkScreen
    )' is deprecated [-Wdeprecated-declarations]
    75 | mWidth = gdk_screen_get_width (scr);
    | ^
    In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
    from /usr/include/gtk-3.0/gdk/gdk.h:32,
    from /usr/include/gtk-3.0/gtk/gtk.h:30,
    from /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvUtil.h:32,
    from /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvParams.h:32,
    from /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvView.cc:29:
    /usr/include/gtk-3.0/gdk/gdkscreen.h:58:14: note: declared here
    58 | gint gdk_screen_get_width (GdkScreen screen);
    | ^~~~~~~~~~~~~~~~~~~~
    /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvView.cc:76:38: warning: 'gint gdk_screen_get_height(GdkScreen
    )' is deprecated [-Wdeprecated-declarations]
    76 | mHeight = gdk_screen_get_height (scr);
    | ^
    In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
    from /usr/include/gtk-3.0/gdk/gdk.h:32,
    from /usr/include/gtk-3.0/gtk/gtk.h:30,
    from /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvUtil.h:32,
    from /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvParams.h:32,
    from /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvView.cc:29:
    /usr/include/gtk-3.0/gdk/gdkscreen.h:60:14: note: declared here
    60 | gint gdk_screen_get_height (GdkScreen screen);
    | ^~~~~~~~~~~~~~~~~~~~~
    /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvView.cc:76:38: warning: 'gint gdk_screen_get_height(GdkScreen
    )' is deprecated [-Wdeprecated-declarations]
    76 | mHeight = gdk_screen_get_height (scr);
    | ^
    In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
    from /usr/include/gtk-3.0/gdk/gdk.h:32,
    from /usr/include/gtk-3.0/gtk/gtk.h:30,
    from /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvUtil.h:32,
    from /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvParams.h:32,
    from /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvView.cc:29:
    /usr/include/gtk-3.0/gdk/gdkscreen.h:60:14: note: declared here
    60 | gint gdk_screen_get_height (GdkScreen *screen);
    | ^~~~~~~~~~~~~~~~~~~~~
    make[2]: Entering directory '/home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5'
    [ 64%] Building CXX object src/CMakeFiles/apvlv.dir/ApvlvView.cc.o
    cd /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src && /usr/lib64/ccache/c++ -DAPVLV_WITH_DJVU -DAPVLV_WITH_TXT -DDOCDIR="/usr/share/doc/apvlv" -DPACKAGE_BUGREPORT=""Alf [email protected]"" -DPACKAGE_NAME="apvlv" -DPACKAGE_VERSION="0.1.04eed10" -DRELEASE="rel" -DSYSCONFDIR="/etc" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/poppler/glib -I/usr/include/poppler -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 -Wall -fno-strict-aliasing -o CMakeFiles/apvlv.dir/ApvlvView.cc.o -c /home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5/src/ApvlvView.cc
    make[2]: Leaving directory '/home/filiperosset/rpmbuild/my/apvlv/apvlv-0.1.5'
    make[1]: *** [CMakeFiles/Makefile2:94: src/CMakeFiles/apvlv.dir/all] Error 2
    make: *** [Makefile:155: all] Error 2
    erro: Status de saída de /var/tmp/rpm-tmp.jf2D4B inválido (%build)
    Status de saída de /var/tmp/rpm-tmp.jf2D4B inválido (%build)

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]$

EPUB support?

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!

Option to set fixed width and height of EPUB files in fullscreen mode

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.

Setting "doubleclick" to "word" or "line" causes high CPU load, when opening, scrolling or closing PDFs

SUMMARY

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.

ISSUE TYPE
  • Bug Report
APVLV VERSION
ramon@sharkoon ~ % apvlv --version
apvlv 0.1.5-rel
Please send bug report to Alf <[email protected]>

ramon@sharkoon ~ %
CONFIGURATION
~/.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>
OS / ENVIRONMENT
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 ~ %
STEPS TO REPRODUCE
  1. Copy the above configuration file to ~/.apvlvrc
    (1.2. Set doubleclick to line)
  2. Open htop, to monitor the CPU load
  3. Open the attached PDF lua5.1_short_reference.pdf; watch CPU load
  4. Scroll the PDF; could freeze; watch the CPU load
  5. Close the PDF; could freeze; watch the CPU load
  6. Comment doubleclick
    (6.1. Set doubleclick to none or page)
  7. Open the attached PDF lua5.1_short_reference.pdf; should open immediately; watch CPU load
  8. Scroll the PDF; watch CPU load
  9. Close the PDF; watch CPU load
EXPECTED RESULTS

The PDF should open immediately and should not cause high CPU load.

ACTUAL RESULTS

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

build failed on fedora 15

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

locate libpoppler-glib.so

/usr/lib64/libpoppler-glib.so.6
/usr/lib64/libpoppler-glib.so.6.0.0

Thanks.

Does it support annotations

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 ?

open file window (Key command O) on 'cancel' creates $HOME in $HOME

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!

autoscrolldoc Error

Setting set autoscrolldoc=no in .apvlvrc causes 'G' to go to the end of the document to no longer work.

Touchpad scrolling not working

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

Feature request: improve documentation

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.

Feature request: follow internal links in pdf

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 ...).

Source ID xxxx was not found when attemting to remove it

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:
2020-08-19_19-07

And in the terminal where started the app i can see this errors:
2020-08-19_19-08

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!

Error: Program closes sometimes instead of creating a newtab.

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.

Add color inversion support

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!

Chapter Order Displayed incorrectly when opening a pdf.

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.

it doesn't 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.

mapping keys

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)

Statusbar unnecessarily tall

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.

Scroll to page not working

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.

Feature Request: Custom Background Colour

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)?

Lag while reloading PDF files

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.

Some ~/.apvlvrc settings not applying

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.

Photo of program on startup:
apvlv
.

Scrolling down/upwords in EPUB documents is broken

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.

Feature Request: '.' command (repeat last action)

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.

Canonical name not used in .apvlvinfo

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).

Feature Request: Color schemes

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.

error: ‘PACKAGE_NAME’ was not declared in this scope

Hi! I can't build apvlv in Ubuntu 15.10:

amp@albuntu:/sources/apvlv$ make
[ 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:
/sources/apvlv$

any hint?

feature request: setting do stop wrapping of document

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.

feature request: screen-wise scrolling

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.

fatal error: goo/gtypes.h: No such file or directory

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

autoreload if file is a symlink

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.

src/ApvlvInfo.h:28: bad header guard

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.