Package Details: wayfire-plugins-extra 0.9.0-1

Git Clone URL: https://aur.archlinux.org/wayfire-plugins-extra.git (read-only, click to copy)
Package Base: wayfire-plugins-extra
Description: Additional plugins for Wayfire
Upstream URL: https://wayfire.org
Licenses: MIT
Conflicts: wayfire-plugins-focus-request, wayfire-plugins-shadows-git, wayfire-plugins-windecor
Submitter: aperez
Maintainer: aperez
Last Packager: aperez
Votes: 6
Popularity: 0.000728
First Submitted: 2020-08-05 21:00 (UTC)
Last Updated: 2024-08-26 09:55 (UTC)

Latest Comments

1 2 Next › Last »

je-vv commented on 2024-07-14 00:39 (UTC) (edited on 2024-07-14 00:42 (UTC) by je-vv)

Confirming that the packages needing rebuild message goes away after installing wlroots0.17, and actually on another box doing:

pacman -Syu wlroots0.17

Ended up clean. So that's good.

Unfortunately those needing to build for whatever reason will find issues doing so... A patch might be needed so that 0.17 version of wlroots is required, like when wlroots upgraded on arch from 0.16 to 0.17...

je-vv commented on 2024-07-14 00:31 (UTC) (edited on 2024-07-14 00:32 (UTC) by je-vv)

Most probably after installing wlroots0.17 the packages needing rebuilding message will no longer include wayfire neither wayfire-plugins-extra, though they still fail to build.

je-vv commented on 2024-07-14 00:08 (UTC) (edited on 2024-07-14 00:12 (UTC) by je-vv)

With up to date box, failing to build:

Found pkg-config: YES (/usr/bin/pkg-config) 2.1.1
Found CMake: /usr/bin/cmake (3.29.6)
Run-time dependency wayfire found: NO (tried cmake)

wayfire-plugins-extra-0.8.1/meson.build:16:10: ERROR: Dependency lookup for wayfire with method 'pkgconfig' failed: Could not generate cflags for wayfire:
Package wlroots was not found in the pkg-config search path.
Perhaps you should add the directory containing `wlroots.pc'
to the PKG_CONFIG_PATH environment variable
Package 'wlroots', required by 'wayfire', not found


A full log can be found at /home/general/.pkgs/src/laur/wayfire-plugins-extra/src/build/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().

The rebuuild was attempted given:

(13/15) Checking which packages need to be rebuilt
laur    wayfire
laur    wayfire-plugins-extra

That while upgrading the box.

bermudi commented on 2024-02-06 19:28 (UTC)

@je-vv thanks!

hopefully @aperez can update the PKGBUILD soon

je-vv commented on 2024-02-06 08:55 (UTC)

@bermudi, try applying the patch I shared on comment https://aur.archlinux.org/packages/wayfire-plugins-extra#comment-949350. The issue you're finding is the same I found some time back, and it's due to wayfire-plugins-extra, latest released version, 0.8.0, depending on wlroots 0.16, while wlroots on official repos moved to 0.17 already. Fortunately wlroots0.16 is also offered.

That said the patch is pretty similar to the one that was required for wayfire and another wayfire related package. I'm not sure why it wasn't applied to wayfire-plugins-extra, when it clearly required a pretty similar change.

bermudi commented on 2024-02-06 04:15 (UTC)

Failed to build for me.

FAILED: src/libannotate.so.p/annotate.cpp.o 
c++ -Isrc/libannotate.so.p -Isrc -I../wayfire-plugins-extra-0.8.0/src -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-6 -I/usr/include/libdrm -I/usr/include/libevdev-1.0 -I/usr/include/libxml2 -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++17 -DWLR_USE_UNSTABLE -DWAYFIRE_PLUGIN -Wno-unused-parameter -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fPIC -pthread -MD -MQ src/libannotate.so.p/annotate.cpp.o -MF src/libannotate.so.p/annotate.cpp.o.d -o src/libannotate.so.p/annotate.cpp.o -c ../wayfire-plugins-extra-0.8.0/src/annotate.cpp
In file included from /usr/include/wayfire/seat.hpp:6,
                 from /usr/include/wayfire/plugins/common/input-grab.hpp:11,
                 from ../wayfire-plugins-extra-0.8.0/src/annotate.cpp:43:
/usr/include/wayfire/nonstd/wlroots-full.hpp:35:10: fatal error: wlr/types/wlr_output_damage.h: No such file or directory
   35 | #include <wlr/types/wlr_output_damage.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Full output:

https://sprunge.us/gvQI7g

je-vv commented on 2023-12-26 01:42 (UTC) (edited on 2023-12-30 06:03 (UTC) by je-vv)

I don't know if the package also works on aarch64, as it does on wayfire, but I guess so.

BTW @aperez, notice that I disable most bloated fancy plugins on wayfire, but use one from extra plugins, workspace-names like:

[workspace-names]
HDMI-A-1_workspace_1 = 1
HDMI-A-1_workspace_2 = 2
HDMI-A-1_workspace_3 = 3
HDMI-A-1_workspace_4 = 4

And it's only available from extra plugins. It's pretty light on resources, and it shows the destination workspace name when changing from one workspace to another. Not only this is useful when not using the fancy showing workspaces, but also when not wanting any sort of pager on waybar.

So I really recommend to have wayfire-plugins-extra working as the wayfire one. As it currently is, it doesn't work...

Greetings ! And thanks a lot for these great packages, they have allowed me try wayland before, and finally, I hope, staying on wayland.

je-vv commented on 2023-12-26 01:37 (UTC) (edited on 2023-12-30 05:56 (UTC) by je-vv)

Just noticed applying the same changes that ware applied to wayfire (in essence using wlroots0.16) just works out fine. Here the patch:

diff -Naur wayfire-plugins-extra-old/PKGBUILD wayfire-plugins-extra/PKGBUILD
--- wayfire-plugins-extra-old/PKGBUILD 2023-12-25 19:33:02.106338290 -0600
+++ wayfire-plugins-extra/PKGBUILD  2023-12-25 19:29:17.176444103 -0600
@@ -1,19 +1,20 @@
 # Maintainer: Adrian Perez de Castro <aperez@igalia.com>
 pkgname=wayfire-plugins-extra
 pkgver=0.8.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Additional plugins for Wayfire'
 url=https://wayfire.org
 arch=(x86_64)
 license=(custom:MIT)
 conflicts=("${pkgname}-git")
-depends=('wayfire>=0.7' cairo glibmm iio-sensor-proxy)
+depends=(wlroots0.16 'wayfire>=0.7' cairo glibmm iio-sensor-proxy)
 makedepends=(meson ninja glm git wayland-protocols)
 source=("https://github.com/WayfireWM/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz")
 b2sums=('f8f46782e31f170eb566567f50d302df4db23fbeb29c71569624a7f79c2bbcfcf48b070e7b55bf1880a9cd02afe78783d6680c457e466d765eb0db72f4b1f61b')

 build () {
   rm -rf build
+  PKG_CONFIG_PATH=/usr/lib/wlroots0.16/pkgconfig \
   arch-meson "${pkgname}-${pkgver}" build \
      --auto-features=disabled
   ninja -C build
diff -Naur wayfire-plugins-extra-old/.SRCINFO wayfire-plugins-extra/.SRCINFO
--- wayfire-plugins-extra-old/.SRCINFO 2023-12-25 19:33:02.106338290 -0600
+++ wayfire-plugins-extra/.SRCINFO  2023-12-25 19:29:47.501289588 -0600
@@ -1,7 +1,7 @@
 pkgbase = wayfire-plugins-extra
   pkgdesc = Additional plugins for Wayfire
   pkgver = 0.8.0
-  pkgrel = 1
+  pkgrel = 2
   url = https://wayfire.org
   arch = x86_64
   license = custom:MIT
@@ -10,7 +10,7 @@
   makedepends = glm
   makedepends = git
   makedepends = wayland-protocols
-  depends = wayfire>=0.7
+  depends = wlroots0.16
   depends = cairo
   depends = glibmm
   depends = iio-sensor-proxy

je-vv commented on 2023-12-26 01:23 (UTC)

Not building:

Found ninja-1.11.1 at /usr/bin/ninja
ninja: Entering directory `build'
[6/43] Compiling C++ object src/libannotate.so.p/annotate.cpp.o
FAILED: src/libannotate.so.p/annotate.cpp.o
ccache c++ -Isrc/libannotate.so.p -Isrc -I../wayfire-plugins-extra-0.8.0/src -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/
usr/include/pixman-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-6 -I/usr/include/libdrm -I/usr/include/elogind -I/usr/include/libevdev-1.0 -I/usr/include/l
ibxml2 -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++17 -DWLR_USE_UNSTABLE -DWAYFIRE_PLUGIN -Wno-unused-parameter -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -
Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fPIC -pthread -MD -MQ src/libannotate.so.p/annotate.cpp.o -MF src/libannotate.so.p/annotate.cpp.o.d -o
src/libannotate.so.p/annotate.cpp.o -c ../wayfire-plugins-extra-0.8.0/src/annotate.cpp
In file included from /usr/include/wayfire/seat.hpp:6,
                 from /usr/include/wayfire/plugins/common/input-grab.hpp:11,
                 from ../wayfire-plugins-extra-0.8.0/src/annotate.cpp:43:
/usr/include/wayfire/nonstd/wlroots-full.hpp:35:10: fatal error: wlr/types/wlr_output_damage.h: No such file or directory
   35 | #include <wlr/types/wlr_output_damage.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[7/43] Compiling C++ object src/libbackground-view.so.p/background-view.cpp.o
FAILED: src/libbackground-view.so.p/background-view.cpp.o
ccache c++ -Isrc/libbackground-view.so.p -Isrc -I../wayfire-plugins-extra-0.8.0/src -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-6 -I/usr/include/libdrm -I/usr/include/elogind -I/usr/include/libevdev-1.0 -I/usr/include/libxml2 -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++17 -DWLR_USE_UNSTABLE -DWAYFIRE_PLUGIN -Wno-unused-parameter -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fPIC -pthread -MD -MQ src/libbackground-view.so.p/background-view.cpp.o -MF src/libbackground-view.so.p/background-view.cpp.o.d -o src/libbackground-view.so.p/background-view.cpp.o -c ../wayfire-plugins-extra-0.8.0/src/background-view.cpp
In file included from /usr/include/wayfire/seat.hpp:6,
                 from ../wayfire-plugins-extra-0.8.0/src/background-view.cpp:29:
/usr/include/wayfire/nonstd/wlroots-full.hpp:35:10: fatal error: wlr/types/wlr_output_damage.h: No such file or directory
   35 | #include <wlr/types/wlr_output_damage.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[8/43] Compiling C++ object src/libcrosshair.so.p/crosshair.cpp.o
FAILED: src/libcrosshair.so.p/crosshair.cpp.o
ccache c++ -Isrc/libcrosshair.so.p -Isrc -I../wayfire-plugins-extra-0.8.0/src -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-6 -I/usr/include/libdrm -I/usr/include/elogind -I/usr/include/libevdev-1.0 -I/usr/include/libxml2 -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++17 -DWLR_USE_UNSTABLE -DWAYFIRE_PLUGIN -Wno-unused-parameter -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fPIC -pthread -MD -MQ src/libcrosshair.so.p/crosshair.cpp.o -MF src/libcrosshair.so.p/crosshair.cpp.o.d -o src/libcrosshair.so.p/crosshair.cpp.o -c ../wayfire-plugins-extra-0.8.0/src/crosshair.cpp
In file included from /usr/include/wlr/types/wlr_output.h:17,
                 from /usr/include/wayfire/nonstd/wlroots.hpp:56,
                 from /usr/include/wayfire/bindings.hpp:6,
                 from /usr/include/wayfire/plugin.hpp:7,
                 from ../wayfire-plugins-extra-0.8.0/src/crosshair.cpp:25:
/usr/include/wlr/render/wlr_renderer.h:78:67: error: expected primary-expression before ‘static’
   78 | void wlr_renderer_clear(struct wlr_renderer *r, const float color[static 4]);
      |                                                                   ^~~~~~
/usr/include/wlr/render/wlr_renderer.h:78:67: error: expected ‘]’ before ‘static’

I remember no long ago wayfire required changes and rebuild, but wayfire-plugins-extra never got updated. Is there something missing?

malacology commented on 2022-06-22 21:51 (UTC) (edited on 2022-06-22 21:52 (UTC) by malacology)

should list wayland-protocols as makedepend also cmake