Package Details: dspdfviewer 1.15.1-4

Git Clone URL: https://aur.archlinux.org/dspdfviewer.git (read-only, click to copy)
Package Base: dspdfviewer
Description: Viewer for latex-beamer presentations that are built with the «show notes on second screen»-option
Upstream URL: https://github.com/dannyedel/dspdfviewer
Licenses: GPL
Conflicts: dspdfviewer-git
Submitter: kd35a
Maintainer: None
Last Packager: kd35a
Votes: 12
Popularity: 0.73
First Submitted: 2015-01-07 20:07 (UTC)
Last Updated: 2019-07-15 20:30 (UTC)

Latest Comments

MartinX3 commented on 2021-02-25 16:17 (UTC) (edited on 2021-02-25 17:12 (UTC) by MartinX3)

@vitalis Thank you https://github.com/pdfpc/pdfpc/
It uses a different approach to add the notes but for the CTAN package pdfpc it works almost the same in LaTeX.
https://github.com/pdfpc/pdfpc/issues/472 -> Removed the beamer notes
The different approach is described here
https://github.com/pdfpc/pdfpc/pull/471

vitalis commented on 2021-02-25 15:26 (UTC)

As an alternative, I am using the package pdfpc from the community repo.

MartinX3 commented on 2021-02-15 14:22 (UTC)

Should be worry about that this project wasn't updated since 2016 (security issues, etc)?

Is there a good alternative to view LaTeX presentations with their page comments?

djpohly commented on 2019-10-11 23:52 (UTC)

I was having trouble building this with the latest Boost update (error about INTERFACE_INCLUDE_DIRECTORIES including nonexistent "/include"). Not sure if it's specific to this package or a Boost+cmake+Arch problem generally, but I found that adding -DCMAKE_FIND_PACKAGE_RESOLVE_SYMLINKS=ON to the cmake command resolved it.

kd35a commented on 2019-07-15 20:33 (UTC)

@bleak @ppaspp @paulequilibrio I have now resolved the issue, so it should be working again!

paulequilibrio commented on 2019-07-13 22:53 (UTC) (edited on 2019-07-13 22:58 (UTC) by paulequilibrio)

Thanks for the package, but unfortunately I'm getting the following error on building:

[ 36%] Building CXX object CMakeFiles/libdspdfviewer.dir/pdfviewerwindow.cpp.o
/tmp/dspdfviewer-1.15.1/pdfviewerwindow.cpp: In member function ‘void PDFViewerWindow::reposition()’:
/tmp/dspdfviewer-1.15.1/pdfviewerwindow.cpp:119:89: error: ‘const QRect QDesktopWidget::screenGeometry(int) const’ is deprecated: Use QGuiApplication::screens() [-Werror=deprecated-declarations]
  119 |   QRect rect = QApplication::desktop()->screenGeometry( numeric_cast<int>(getMonitor()) );
      |                                                                                         ^
In file included from /usr/include/qt/QtWidgets/QDesktopWidget:1,
                 from /tmp/dspdfviewer-1.15.1/pdfviewerwindow.cpp:23:
/usr/include/qt/QtWidgets/qdesktopwidget.h:79:67: note: declared here
   79 |     QT_DEPRECATED_X("Use QGuiApplication::screens()") const QRect screenGeometry(int screen = -1) const;
      |                                                                   ^~~~~~~~~~~~~~
/tmp/dspdfviewer-1.15.1/pdfviewerwindow.cpp: In member function ‘virtual void PDFViewerWindow::resizeEvent(QResizeEvent*)’:
/tmp/dspdfviewer-1.15.1/pdfviewerwindow.cpp:384:17: error: ‘static void QCoreApplication::flush()’ is deprecated [-Werror=deprecated-declarations]
  384 |   QApplication::flush(); // Make sure the window has been painted
      |                 ^~~~~
In file included from /usr/include/qt/QtWidgets/qapplication.h:44,
                 from /usr/include/qt/QtWidgets/QApplication:1,
                 from /tmp/dspdfviewer-1.15.1/build/ui_pdfviewerwindow.h:13,
                 from /tmp/dspdfviewer-1.15.1/pdfviewerwindow.h:30,
                 from /tmp/dspdfviewer-1.15.1/pdfviewerwindow.cpp:21:
/usr/include/qt/QtCore/qcoreapplication.h:169:31: note: declared here
  169 |     QT_DEPRECATED static void flush();
      |                               ^~~~~
/tmp/dspdfviewer-1.15.1/pdfviewerwindow.cpp:384:23: error: ‘static void QCoreApplication::flush()’ is deprecated [-Werror=deprecated-declarations]
  384 |   QApplication::flush(); // Make sure the window has been painted
      |                       ^
In file included from /usr/include/qt/QtWidgets/qapplication.h:44,
                 from /usr/include/qt/QtWidgets/QApplication:1,
                 from /tmp/dspdfviewer-1.15.1/build/ui_pdfviewerwindow.h:13,
                 from /tmp/dspdfviewer-1.15.1/pdfviewerwindow.h:30,
                 from /tmp/dspdfviewer-1.15.1/pdfviewerwindow.cpp:21:
/usr/include/qt/QtCore/qcoreapplication.h:169:31: note: declared here
  169 |     QT_DEPRECATED static void flush();
      |                               ^~~~~
/tmp/dspdfviewer-1.15.1/pdfviewerwindow.cpp:384:23: error: ‘static void QCoreApplication::flush()’ is deprecated [-Werror=deprecated-declarations]
  384 |   QApplication::flush(); // Make sure the window has been painted
      |                       ^
In file included from /usr/include/qt/QtWidgets/qapplication.h:44,
                 from /usr/include/qt/QtWidgets/QApplication:1,
                 from /tmp/dspdfviewer-1.15.1/build/ui_pdfviewerwindow.h:13,
                 from /tmp/dspdfviewer-1.15.1/pdfviewerwindow.h:30,
                 from /tmp/dspdfviewer-1.15.1/pdfviewerwindow.cpp:21:
/usr/include/qt/QtCore/qcoreapplication.h:169:31: note: declared here
  169 |     QT_DEPRECATED static void flush();
      |                               ^~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [CMakeFiles/libdspdfviewer.dir/build.make:231: CMakeFiles/libdspdfviewer.dir/pdfviewerwindow.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:297: CMakeFiles/libdspdfviewer.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

ppaspp commented on 2019-07-07 10:49 (UTC) (edited on 2019-07-07 10:58 (UTC) by ppaspp)

Fails to build with the following error (after conda deactivate):

/home/pp/.cache/yay/dspdfviewer/src/dspdfviewer-1.15.1/pdfviewerwindow.cpp:119:89: Error: »const QRect QDesktopWidget::screenGeometry(int) const« is deprecated: Use QGuiApplication::screens() [-Werror=deprecated-declarations]

Any ideas?

bleak commented on 2019-07-07 10:46 (UTC)

Hey, thanks for the package, but i'm trying to build it with no luck. I'm completely unexperienced in make and Cmake, so i got a hard time to understand the problem.

Multiple deprecation warnings [-Werror=deprecated-declarations] while building

cc1plus: all warnings being treated as errors
make[2]: *** [CMakeFiles/libdspdfviewer.dir/build.make:231: CMakeFiles/libdspdfviewer.dir/pdfviewerwindow.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:111: CMakeFiles/libdspdfviewer.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

I tried to set -Wnoerror=deprecated-declarations and other arguments to ignore the warnings but i could not manage to pass the compilation.

kd35a commented on 2019-05-24 08:42 (UTC)

@opt12 Glad you solved it, and that you enjoy the package :)

opt12 commented on 2019-05-24 08:16 (UTC)

@kd35a It works now perfectly. I found the reason for my linker problems to be originating from my ANACONDA environments.

As described here (https://github.com/pytorch/pytorch/issues/16683), the Anaconda stuff maintains a linker version shadowing the ordinary /usr/bin/ld.

A conda deactivate before installing does the trick. Thanks a lot for maintaining the package dspdfviewer.

Cheers!

opt12 commented on 2019-03-03 16:30 (UTC)

@kd35a I tried to install libcurl-gnutls as well as lib32-libcurl-gnutls

Unfortunately, the result is still exactly the same: Linker error when trying to link the `curl_easy_getinfo@CURL_OPENSSL_4' symbols :-(

kd35a commented on 2019-03-02 17:40 (UTC)

@opt12 could you try to install libcurl-gnutls?

opt12 commented on 2019-03-02 11:50 (UTC) (edited on 2019-03-02 11:52 (UTC) by opt12)

@kd35a Thanks for your try to reproduce!

With 'pacman -Qs curl' I get:

local/curl 7.64.0-9

An URL retrieval utility and library

local/python-pycurl 7.43.0.2-2

A Python 3.x interface to libcurl

Honestly, I don't really know what this means. I' really an ARCH newbie :-(

I did another test with 'yay -S dspdfviewer' and a clean build and this gives me:

[ 96%] Linking CXX executable dspdfviewer

/usr/bin/ld: /usr/lib/libpoppler.so.85: undefined reference to `curl_easy_getinfo@CURL_OPENSSL_4'

/usr/bin/ld: /usr/lib/libpoppler.so.85: undefined reference to `curl_easy_perform@CURL_OPENSSL_4'

/usr/bin/ld: /usr/lib/libpoppler.so.85: undefined reference to `curl_easy_init@CURL_OPENSSL_4'

/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libpoppler-qt5.so: undefined reference to `qt_version_tag@Qt_5.12'

/usr/bin/ld: /usr/lib/libpoppler.so.85: undefined reference to `curl_easy_setopt@CURL_OPENSSL_4'

/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libpoppler-qt5.so: undefined reference to `QDateTime::QDateTime(QDateTime&&)@Qt_5'

/usr/bin/ld: /usr/lib/libpoppler.so.85: undefined reference to `curl_easy_cleanup@CURL_OPENSSL_4'

/usr/bin/ld: /usr/lib/libpoppler.so.85: undefined reference to `curl_easy_reset@CURL_OPENSSL_4'

collect2: Fehler: ld gab 1 als Ende-Status zurück

An ideas how to resolve this?

Regards!

kd35a commented on 2019-02-28 21:06 (UTC)

@opt12 Not directly. I tried to rebuild the package on my machine with the latest updates of all other packages, and that was succesfull. What does pacman -Qs curl say?

opt12 commented on 2019-02-28 17:27 (UTC)

Fails to build on a freshly installed Manjaro:

[ 96%] Linking CXX executable dspdfviewer /usr/bin/ld: /usr/lib/libpoppler.so.85: undefined reference to `curl_easy_getinfo@CURL_OPENSSL_4'

Any ideas how to fix this?

kd35a commented on 2017-06-03 08:10 (UTC)

@Gondlar that seems like an upstream bug. Someone else has already reported parts of what you describe, so I would suggest you add your experiences here: https://github.com/dannyedel/dspdfviewer/issues/191

Gondlar commented on 2017-06-02 22:28 (UTC)

For me the build fails with clang, but it compiles fine with g++. The error is: In file included from /home/gondlar/aur/dspdfviewer/src/dspdfviewer-1.15.1/runtimeconfiguration.cpp:21: /home/gondlar/aur/dspdfviewer/src/dspdfviewer-1.15.1/runtimeconfiguration.h:30:8: warning: 'noFileNameException' has no out-of-line virtual method definitions; its vtable will be emitted in every translation unit [-Wweak-vtables] struct noFileNameException: public std::logic_error { ^ /home/gondlar/aur/dspdfviewer/src/dspdfviewer-1.15.1/runtimeconfiguration.cpp:201:14: error: instantiation of function 'boost::program_options::parse_config_file<char>' required here, but no definition is available [-Werror,-Wundefined-func-template] store( parse_config_file( cfile, configFileOptions), vm); ^ /usr/include/boost/program_options/parsers.hpp:185:5: note: forward declaration of template entity is here parse_config_file(std::basic_istream<charT>&, const options_description&, ^ /home/gondlar/aur/dspdfviewer/src/dspdfviewer-1.15.1/runtimeconfiguration.cpp:201:14: note: add an explicit instantiation declaration to suppress this warning if 'boost::program_options::parse_config_file<char>' is explicitly instantiated in another translation unit store( parse_config_file( cfile, configFileOptions), vm); ^ 1 warning and 1 error generated.

kd35a commented on 2016-04-18 09:21 (UTC)

@arthaud Thanks for reporting this issue, will update as soon as I'm home again!

arthaud commented on 2016-04-18 01:04 (UTC)

Hi, The build fails on my laptop: -- Compiling for system Linux -- Boost version: 1.60.0 -- Found the following Boost libraries: -- program_options -- Using Qt5 and libpoppler-qt5 CMake Error at cmake/external_libraries.cmake:47 (find_package): By not providing "FindQt5LinguistTools.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5LinguistTools", but CMake did not find one. Could not find a package configuration file provided by "Qt5LinguistTools" with any of the following names: Qt5LinguistToolsConfig.cmake qt5linguisttools-config.cmake Add the installation prefix of "Qt5LinguistTools" to CMAKE_PREFIX_PATH or set "Qt5LinguistTools_DIR" to a directory containing one of the above files. If "Qt5LinguistTools" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): CMakeLists.txt:47 (include) I fixed it by including qt5-tools in the makedepends array.

tasnad commented on 2016-04-14 20:30 (UTC)

Works like a charm, tahnks :)

kd35a commented on 2016-04-13 15:34 (UTC)

@tasnad: this issue should be resolved now.

kd35a commented on 2016-04-13 12:13 (UTC)

@tasnad: Yes, seems like I missed checking for that, as it built without problems on my machine. Hopefully I'll be able to fix this in the evening (UTC+2) when I get home. Thanks for reporting the issue!

tasnad commented on 2016-04-13 12:08 (UTC)

Hi, The build fails if poppler-qt5 is not installed. I guess you switched to Qt5 and forgot to update the dependency in the PKGBUILD? Regards, Tasnad