Package Details: kwin-effect-xrdesktop-git 0.14.0.r0.g3e85e5b-1

Git Clone URL: https://aur.archlinux.org/kwin-effect-xrdesktop-git.git (read-only, click to copy)
Package Base: kwin-effect-xrdesktop-git
Description: xrdesktop effect for KWin.
Upstream URL: https://gitlab.freedesktop.org/xrdesktop/kwin-effect-xrdesktop
Licenses: GPL
Submitter: lubosz
Maintainer: lubosz (haagch)
Last Packager: haagch
Votes: 3
Popularity: 0.059414
First Submitted: 2019-07-30 15:40
Last Updated: 2020-05-08 11:44

Latest Comments

BODYPRINT commented on 2019-12-25 05:58

Error when Building VRMirror...

[EDIT] VRMirror.h needs "#undef None" at line 30 to fix [/EDIT]


[ 31%] Building CXX object src/CMakeFiles/kwin_effect_xrdesktop.dir/VRMirror.cpp.o
In file included from /usr/include/X11/Xlib.h:44,
                 from /usr/include/EGL/eglplatform.h:128,
                 from /usr/include/epoxy/egl_generated.h:11,
                 from /usr/include/epoxy/egl.h:46,
                 from /home/phil/.cache/yay/kwin-effect-xrdesktop-git/src/kwin-effect-xrdesktop/src/VRMirror.h:22,
                 from /home/phil/.cache/yay/kwin-effect-xrdesktop-git/src/kwin-effect-xrdesktop/src/VRMirror.cpp:11:
/usr/include/qt/QtWidgets/qactiongroup.h:64:9: error: expected identifier before numeric constant
   64 |         None,
      |         ^~~~
/usr/include/qt/QtWidgets/qactiongroup.h:64:9: error: expected ‘}’ before numeric constant
In file included from /usr/include/qt/QtWidgets/qaction.h:221,
                 from /usr/include/qt/QtWidgets/QAction:1,
                 from /home/phil/.cache/yay/kwin-effect-xrdesktop-git/src/kwin-effect-xrdesktop/src/VRMirror.cpp:18:
/usr/include/qt/QtWidgets/qactiongroup.h:63:32: note: to match this ‘{’
   63 |     enum class ExclusionPolicy {
      |                                ^
In file included from /usr/include/X11/Xlib.h:44,
                 from /usr/include/EGL/eglplatform.h:128,
                 from /usr/include/epoxy/egl_generated.h:11,
                 from /usr/include/epoxy/egl.h:46,
                 from /home/phil/.cache/yay/kwin-effect-xrdesktop-git/src/kwin-effect-xrdesktop/src/VRMirror.h:22,
                 from /home/phil/.cache/yay/kwin-effect-xrdesktop-git/src/kwin-effect-xrdesktop/src/VRMirror.cpp:11:
/usr/include/qt/QtWidgets/qactiongroup.h:64:9: error: expected unqualified-id before numeric constant
   64 |         None,
      |         ^~~~
In file included from /usr/include/qt/QtGui/qwindowdefs.h:44,
                 from /usr/include/qt/QtGui/qregion.h:46,
                 from /usr/include/qt/QtGui/QRegion:1,
                 from /home/phil/.cache/yay/kwin-effect-xrdesktop-git/src/kwin-effect-xrdesktop/src/kwingltexture.h:28,
                 from /home/phil/.cache/yay/kwin-effect-xrdesktop-git/src/kwin-effect-xrdesktop/src/VRMirror.cpp:8:
/usr/include/qt/QtWidgets/qactiongroup.h:68:5: error: ‘friend’ used outside of class
   68 |     Q_ENUM(ExclusionPolicy)
      |     ^~~~~~
/usr/include/qt/QtWidgets/qactiongroup.h:68:5: error: ‘constexpr const QMetaObject* const qt_getEnumMetaObject’ redeclared as different kind of entity
   68 |     Q_ENUM(ExclusionPolicy)
      |     ^~~~~~
/usr/include/qt/QtCore/qlocale.h:895:5: note: previous declaration ‘constexpr const QMetaObject* qt_getEnumMetaObject(QLocale::Language)’
  895 |     Q_ENUM(Language)
      |     ^~~~~~
/usr/include/qt/QtWidgets/qactiongroup.h:68:5: error: ‘ExclusionPolicy’ was not declared in this scope
   68 |     Q_ENUM(ExclusionPolicy)
      |     ^~~~~~
/usr/include/qt/QtWidgets/qactiongroup.h:68:5: error: ‘friend’ used outside of class
   68 |     Q_ENUM(ExclusionPolicy)
      |     ^~~~~~
/usr/include/qt/QtWidgets/qactiongroup.h:68:5: error: ‘constexpr const char* const qt_getEnumName’ redeclared as different kind of entity
   68 |     Q_ENUM(ExclusionPolicy)
      |     ^~~~~~
/usr/include/qt/QtCore/qlocale.h:895:5: note: previous declaration ‘constexpr const char* qt_getEnumName(QLocale::Language)’
  895 |     Q_ENUM(Language)
      |     ^~~~~~
/usr/include/qt/QtWidgets/qactiongroup.h:68:5: error: ‘ExclusionPolicy’ was not declared in this scope
   68 |     Q_ENUM(ExclusionPolicy)
      |     ^~~~~~
In file included from /usr/include/qt/QtWidgets/qaction.h:221,
                 from /usr/include/qt/QtWidgets/QAction:1,
                 from /home/phil/.cache/yay/kwin-effect-xrdesktop-git/src/kwin-effect-xrdesktop/src/VRMirror.cpp:18:
/usr/include/qt/QtWidgets/qactiongroup.h:70:34: error: expected ‘)’ before ‘*’ token
   70 |     explicit QActionGroup(QObject* parent);
      |                          ~       ^
      |                                  )
/usr/include/qt/QtWidgets/qactiongroup.h:71:20: error: expected constructor, destructor, or type conversion before ‘;’ token
   71 |     ~QActionGroup();
      |                    ^
/usr/include/qt/QtWidgets/qactiongroup.h:77:31: error: non-member function ‘QList<QAction*> actions()’ cannot have cv-qualifier
   77 |     QList<QAction*> actions() const;
      |                               ^~~~~
/usr/include/qt/QtWidgets/qactiongroup.h:79:30: error: non-member function ‘QAction* checkedAction()’ cannot have cv-qualifier
   79 |     QAction *checkedAction() const;
      |                              ^~~~~
/usr/include/qt/QtWidgets/qactiongroup.h:80:24: error: non-member function ‘bool isExclusive()’ cannot have cv-qualifier
   80 |     bool isExclusive() const;
      |                        ^~~~~
/usr/include/qt/QtWidgets/qactiongroup.h:81:22: error: non-member function ‘bool isEnabled()’ cannot have cv-qualifier
   81 |     bool isEnabled() const;
      |                      ^~~~~
/usr/include/qt/QtWidgets/qactiongroup.h:82:22: error: non-member function ‘bool isVisible()’ cannot have cv-qualifier
   82 |     bool isVisible() const;
      |                      ^~~~~
/usr/include/qt/QtWidgets/qactiongroup.h:83:5: error: ‘ExclusionPolicy’ does not name a type
   83 |     ExclusionPolicy exclusionPolicy() const;
      |     ^~~~~~~~~~~~~~~
/usr/include/qt/QtWidgets/qactiongroup.h:86:1: error: expected unqualified-id before ‘public’
   86 | public Q_SLOTS:
      | ^~~~~~
/usr/include/qt/QtWidgets/qactiongroup.h: In function ‘void setDisabled(bool)’:
/usr/include/qt/QtWidgets/qactiongroup.h:88:39: error: ‘setEnabled’ was not declared in this scope; did you mean ‘setDisabled’?
   88 |     inline void setDisabled(bool b) { setEnabled(!b); }
      |                                       ^~~~~~~~~~
      |                                       setDisabled
/usr/include/qt/QtWidgets/qactiongroup.h: At global scope:
/usr/include/qt/QtWidgets/qactiongroup.h:91:29: error: variable or field ‘setExclusionPolicy’ declared void
   91 |     void setExclusionPolicy(ExclusionPolicy policy);
      |                             ^~~~~~~~~~~~~~~
/usr/include/qt/QtWidgets/qactiongroup.h:91:29: error: ‘ExclusionPolicy’ was not declared in this scope
In file included from /usr/include/qt/QtGui/qwindowdefs.h:44,
                 from /usr/include/qt/QtGui/qregion.h:46,
                 from /usr/include/qt/QtGui/QRegion:1,
                 from /home/phil/.cache/yay/kwin-effect-xrdesktop-git/src/kwin-effect-xrdesktop/src/kwingltexture.h:28,
                 from /home/phil/.cache/yay/kwin-effect-xrdesktop-git/src/kwin-effect-xrdesktop/src/VRMirror.cpp:8:
/usr/include/qt/QtWidgets/qactiongroup.h:93:1: error: expected unqualified-id before ‘public’
   93 | Q_SIGNALS:
      | ^~~~~~~~~
In file included from /usr/include/qt/QtWidgets/qaction.h:221,
                 from /usr/include/qt/QtWidgets/QAction:1,
                 from /home/phil/.cache/yay/kwin-effect-xrdesktop-git/src/kwin-effect-xrdesktop/src/VRMirror.cpp:18:
/usr/include/qt/QtWidgets/qactiongroup.h:97:1: error: expected unqualified-id before ‘private’
   97 | private:
      | ^~~~~~~
In file included from /usr/include/qt/QtCore/qnamespace.h:43,
                 from /usr/include/qt/QtCore/qsize.h:43,
                 from /usr/include/qt/QtCore/QSize:1,
                 from /home/phil/.cache/yay/kwin-effect-xrdesktop-git/src/kwin-effect-xrdesktop/src/kwingltexture.h:27,
                 from /home/phil/.cache/yay/kwin-effect-xrdesktop-git/src/kwin-effect-xrdesktop/src/VRMirror.cpp:8:
/usr/include/qt/QtWidgets/qactiongroup.h:98:5: error: ‘QActionGroup& operator=(const QActionGroup&)’ must be a nonstatic member function
   98 |     Q_DISABLE_COPY(QActionGroup)
      |     ^~~~~~~~~~~~~~
In file included from /usr/include/qt/QtWidgets/qaction.h:221,
                 from /usr/include/qt/QtWidgets/QAction:1,
                 from /home/phil/.cache/yay/kwin-effect-xrdesktop-git/src/kwin-effect-xrdesktop/src/VRMirror.cpp:18:
/usr/include/qt/QtWidgets/qactiongroup.h:102:1: error: expected declaration before ‘}’ token
  102 | };
      | ^
/home/phil/.cache/yay/kwin-effect-xrdesktop-git/src/kwin-effect-xrdesktop/src/VRMirror.cpp: In member function ‘void VRMirror::activateVRMirror(bool)’:
/home/phil/.cache/yay/kwin-effect-xrdesktop-git/src/kwin-effect-xrdesktop/src/VRMirror.cpp:1146:20: warning: unused variable ‘xrdWin’ [-Wunused-variable]
 1146 |         XrdWindow *xrdWin = mapWindow(win, false);
      |                    ^~~~~~
/home/phil/.cache/yay/kwin-effect-xrdesktop-git/src/kwin-effect-xrdesktop/src/VRMirror.cpp: At global scope:
/home/phil/.cache/yay/kwin-effect-xrdesktop-git/src/kwin-effect-xrdesktop/src/VRMirror.cpp:139:13: warning: ‘void fitWindowOnDesktop(KWin::EffectWindow*)’ defined but not used [-Wunused-function]
  139 | static void fitWindowOnDesktop(KWin::EffectWindow *win)
      |             ^~~~~~~~~~~~~~~~~~
/home/phil/.cache/yay/kwin-effect-xrdesktop-git/src/kwin-effect-xrdesktop/src/VRMirror.cpp:121:13: warning: ‘void putAbove(KWin::EffectWindow*)’ defined but not used [-Wunused-function]
  121 | static void putAbove(KWin::EffectWindow *win)
      |             ^~~~~~~~
make[2]: *** [src/CMakeFiles/kwin_effect_xrdesktop.dir/build.make:89: src/CMakeFiles/kwin_effect_xrdesktop.dir/VRMirror.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:212: src/CMakeFiles/kwin_effect_xrdesktop.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
Error making: kwin-effect-xrdesktop-git

PedroHLC commented on 2019-07-30 22:58

Hi, makedepends is missing "vulkan-headers".