Package Details: wayfire-plugins-extra 0.8.0-2

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-extra-git, wayfire-plugins-focus-request, wayfire-plugins-shadows-git, wayfire-plugins-windecor
Submitter: aperez
Maintainer: aperez
Last Packager: aperez
Votes: 6
Popularity: 0.153840
First Submitted: 2020-08-05 21:00 (UTC)
Last Updated: 2024-03-14 09:38 (UTC)

Latest Comments

1 2 Next › Last »

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

dr460nf1r3 commented on 2022-06-18 09:44 (UTC)

Apply this patch to the PKGUILD to build it successfully with the current version. All credits going to marcusbritanicus, I just changed to patch to properly apply to our source.

diff --git a/PKGBUILD b/PKGBUILD
index 363475a..884f76c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,8 +9,15 @@ license=(custom:MIT)
 conflicts=("${pkgname}-git")
 depends=('wayfire>=0.7' cairo glibmm iio-sensor-proxy)
 makedepends=(meson ninja glm git)
-source=("https://github.com/WayfireWM/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz")
-sha256sums=(01dcb040ced5509cf8f8a1f46dba6f61b613209b76b82550906140266c4921eb)
+source=("https://github.com/WayfireWM/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz"
+       build_fix.patch::https://gist.githubusercontent.com/dr460nf1r3/e5c52144372e0948229e96e2f1936e35/raw/4d4ab455c9ed781939edc1d07e5fc990f6ebea69/gistfile1.txt)
+sha256sums=('01dcb040ced5509cf8f8a1f46dba6f61b613209b76b82550906140266c4921eb'
+            '7f6cb2ed474b0a74cb96e4706328a869ab777018869f4cb7eba7aebd2b38e3e6')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i $srcdir/build_fix.patch
+}

 build () {
    rm -rf build

magnus commented on 2022-05-15 09:33 (UTC)

Fails to build at the moment. It's an upstream problem though: https://github.com/WayfireWM/wayfire-plugins-extra/issues/126

@aperez if you want to make it compile you could temporarily remove the mag plugin.

Technetium1 commented on 2022-04-02 03:36 (UTC)

git is missing.