Package Details: dspdfviewer 1.15.1-4

Git Clone URL: https://aur.archlinux.org/dspdfviewer.git (read-only)
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: kd35a
Last Packager: kd35a
Votes: 11
Popularity: 0.057632
First Submitted: 2015-01-07 20:07
Last Updated: 2019-07-15 20:30

Latest Comments

1 2 Next › Last »

kd35a commented on 2019-07-15 20:33

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

paulequilibrio commented on 2019-07-13 22:53

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

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

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

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

opt12 commented on 2019-05-24 08:16

@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

@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

@opt12 could you try to install libcurl-gnutls?

opt12 commented on 2019-03-02 11:50

@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

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