diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-17 00:48:59 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-17 00:48:59 +0000 |
commit | cd356b722fd8d162f02a5059fae1a66e00be52e3 (patch) | |
tree | 504d62c3aeab09148b029f019e77ba15b10cf8e6 /gui-wm/wayfire | |
parent | f265f17242b04ae036b4dc174fa95401d895dbc5 (diff) |
gentoo auto-resync : 17:03:2024 - 00:48:58
Diffstat (limited to 'gui-wm/wayfire')
-rw-r--r-- | gui-wm/wayfire/Manifest | 8 | ||||
-rw-r--r-- | gui-wm/wayfire/files/wayfire-0.7.5-gcc13.patch | 25 | ||||
-rw-r--r-- | gui-wm/wayfire/wayfire-0.7.5-r1.ebuild | 116 | ||||
-rw-r--r-- | gui-wm/wayfire/wayfire-0.8.1.ebuild (renamed from gui-wm/wayfire/wayfire-0.8.0.ebuild) | 74 | ||||
-rw-r--r-- | gui-wm/wayfire/wayfire-9999.ebuild | 79 |
5 files changed, 31 insertions, 271 deletions
diff --git a/gui-wm/wayfire/Manifest b/gui-wm/wayfire/Manifest index d1dc123122ab..4daa6b2b6edd 100644 --- a/gui-wm/wayfire/Manifest +++ b/gui-wm/wayfire/Manifest @@ -1,11 +1,9 @@ -AUX wayfire-0.7.5-gcc13.patch 824 BLAKE2B 1825db0a5bfa1ace6e6d99889b4934e863e338e62ae15db806b4cfe3b5923f8c7c6c4fe3a45b31db9d909b3250bed3d3a0bd5d3b0c2ab77d957313ce4842b39b SHA512 f03b85bdd69876fa5624148e2b1f6e7627f0abd605615d4314b46d460427c62be2689157b6c5648b6b2f1f53edb9a0c80e1ca4c017c0167733b72306f6e26624 AUX wayfire-0.8.0-fix-duplicate-manpage.patch 755 BLAKE2B c4e3fec4c5861eadd58480d098f92ae5d24b798d29e2e5898eda80132df53705e440516b6af67de4eadd7d788c106b72693e315467f3397be12ab6d03da5082c SHA512 77930c892938d3f27e12e9a2f1ac31f9552c91869e011b933d2bb1f6b986abda75f71d1bb008f71665d3edf9a2fb0e650ad1fc397f4dc0c9bcb77f94d7f8ea24 AUX wayfire-session 540 BLAKE2B 02970ebece43c8643ab68f0108d2166f7946d54cea7c6143c9badf0e9852bed4af14bb0c4dd3101a179958b06904889204915e965c46f64073fb8f05800553e3 SHA512 616bbf244a358fb7fbeb1230a3ba862a7ca373fdf3b181819a05ca63da82c78fcd80d0f7167d50488c38820559f007702d2c86ac861f214775c3a6271351bb1d AUX wayfire-session.desktop 204 BLAKE2B a8e01f911881c651ec67b5945b91dca6151866599c0a7d0ef5b17c2b88ff6178c6f6d42506f1d6f6cbce8f9231388fa63e2a870116a45c677bd9faee94eabfac SHA512 0c7fd2f04c5b2c413bda02f2c43090dc8c64503d372e8eb19df8a4d7190f6ba703db672753bfa0629a2f627b505886c33f874a933cc6cf7f876caf60a4e70039 -DIST wayfire-0.7.5.tar.xz 781952 BLAKE2B 10f4927d793ad2f8047ab5608db72bb5988fbb4df805dc65a87b011453729109ca0b3a92cf89e867266fae52268e1e2ac452bbd6efcc81e8f1a0c0640008adc1 SHA512 fce6d4c81fa3675df1e656f8bf504f7fc9d1b7104687bcc6d669950582f46bd0ad084c6a487434077df029438243cd91cf6ec60dc7d584b40bfd7a4c8d069f53 DIST wayfire-0.8.0.tar.xz 828576 BLAKE2B 4d80a0d43061a4564d45f7c077fd97737b426c4036c12f004815dbad120f51b38b2fac9a010e2df27a6a96205cd0dcceb81864bdccbd6e337d81f6c37926e019 SHA512 fab55f6112c462312edf43d41b29f476d493449eca8f0c5cfee8f3aae73dcb98be46c589fc23d10d961f738bdf6d1fe78286b4c96e1d4444fdc8b1b898d998a9 -EBUILD wayfire-0.7.5-r1.ebuild 2713 BLAKE2B 31c696b51d11a6ac6fa1888a5f426e9169ee16c37307519471536d32bf63ab3e2719b064e1dde4ca279eb682a86585cdd830bc9f02ab1e9b837f4dde70951150 SHA512 3c0ab1ab5680d90681edc838c02ea67590ca5c648d72b7bd0533274c0769edb2439bf46927e137cc43571acbc8a871d24136e360e2fc66a4e161e3f955dc1c1b +DIST wayfire-0.8.1.tar.xz 856364 BLAKE2B 1b596b28878789ca26eeb57c6c24e0b69508731de2144e1477f8071b41f17757b2125f2f4f99670ca8b7f85172a9f641b9be1f9190eeff5b261bcc2df1bec4ab SHA512 7bce5656b6a7a7fe53b37492465dee3e591eb386666fdd3d6876f4a589f059510fb2d0c0a326df260ca6a293edf4ba43bb55f813e85d4d2d38d6ef1319280254 EBUILD wayfire-0.8.0-r1.ebuild 3710 BLAKE2B 5f64dbdb42209d9b05a0eaa30f47fdbf0d3622e242cf5eb31598efdc615201a53c733d4ba0a4d5710d0131e91bcc3bd242e524493d37652e0a8110ba3c8bc1d7 SHA512 968704fbb1d2145064e98da1f0aad422eac38ecd2aac4009663a97efe5f11f9d1420e2a251815255b47afcd326646119a94769e0f4b569fb4c83326e08f1e56c -EBUILD wayfire-0.8.0.ebuild 3644 BLAKE2B c7b4cfe3f9dd95924b30408a55e0c56e834f0ecd008c90e05b02f8e768ec89909ab7819ac2430450c8c2b69c25d9284f4026fd78c72bc8f43a115f716b3c133e SHA512 4b9500a79e00d85592fd1ca3db5321ef7af9b318831ae817039ca5ca77e4b7daf12b60acc44680f52e6941ab805f6b3ed9ee66622744bb63ecf3bb9d23b5bb53 -EBUILD wayfire-9999.ebuild 3667 BLAKE2B 31749f91a69cec00f8c40513f75c534366b89379fd5180fd11be5d777b95e1b3cdeb5b27430cf9552e776cc85f5340deaebb97393702727b6d55d501d03a9503 SHA512 c01badcb642bff5f548550d468811c116a3ca6de8b65528df7a6f5bc44632c31d0c8a1e011e29afe7d9bbf1a0cbd21fd208cb9da4b02d432e878372f91d87d39 +EBUILD wayfire-0.8.1.ebuild 2394 BLAKE2B 240d0dfb82d8558a24788a01ed3d160817e8daf677872ad43617d084b17164db2ed51bd8b69dae28e3151b6891123419b7c1b6cf652d8d28276e4ec68a11b6dd SHA512 c378a7447877a77054feb423b7cf70b580ded1367656811734bd54ebd3a082f69f54b5ae2e7bd9c04e92baf44bc02b9a1cf10a9732676ada950aaed2eec0b6f5 +EBUILD wayfire-9999.ebuild 2394 BLAKE2B a505a34384530f77a28d64dcd595a8ebd648e1b3040fb0ab6dbee24ce2190dea40cabeb23f14955ecdad63ca16f699e0b17cde36e1422a5d5713173aef8c7b79 SHA512 4ccdc73fd11af122c7c91065309d3ebe7cdd5ca7b852a7d5bd679604d649ad87ed78eb94354664c05ad9e6600567a25c0821467e49c889bede747ac5ab1018d7 MISC metadata.xml 920 BLAKE2B 0b0ad723f8383bc65a87cbab8b7195d33a3dabd9ea73c8c2f91957151b9f324e63ea4b25c480d44eba391f595ffe3a9d0c39800eaa9bf4b81b47cb8e3262222f SHA512 c0eb23bcfc87b274bcb2c96b0e52cb91fb6dd3ffb51ef4285f34af3a9861122c0d30179c5989070de85ebcd0dff282906bb4c15c4983bfdce123c5c3b101561e diff --git a/gui-wm/wayfire/files/wayfire-0.7.5-gcc13.patch b/gui-wm/wayfire/files/wayfire-0.7.5-gcc13.patch deleted file mode 100644 index 0ee666664c93..000000000000 --- a/gui-wm/wayfire/files/wayfire-0.7.5-gcc13.patch +++ /dev/null @@ -1,25 +0,0 @@ -https://github.com/WayfireWM/wf-utils/pull/5 - -From 57460e364f6a1e5bdbad424e8cc576e346c8b7b6 Mon Sep 17 00:00:00 2001 -From: Sam James <sam@gentoo.org> -Date: Tue, 18 Apr 2023 08:26:50 +0100 -Subject: [PATCH] Fix build with GCC 13 - -GCC 13 (as usual for new compiler releases) shuffles around some internal includes so some -are no longer transitively included. - -See https://gnu.org/software/gcc/gcc-13/porting_to.html. - -Bug: https://bugs.gentoo.org/895570 -Closes: https://github.com/WayfireWM/wayfire/issues/1758 ---- a/subprojects/wf-utils/wayfire/rule/lambda_rule.cpp -+++ b/subprojects/wf-utils/wayfire/rule/lambda_rule.cpp -@@ -1,6 +1,7 @@ - #include "wayfire/rule/lambda_rule.hpp" - #include "wayfire/condition/condition.hpp" - #include <cstddef> -+#include <cstdint> - #include <functional> - #include <memory> - #include <sstream> - diff --git a/gui-wm/wayfire/wayfire-0.7.5-r1.ebuild b/gui-wm/wayfire/wayfire-0.7.5-r1.ebuild deleted file mode 100644 index eed7d341eeca..000000000000 --- a/gui-wm/wayfire/wayfire-0.7.5-r1.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 2019-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit meson - -DESCRIPTION="compiz like 3D wayland compositor" -HOMEPAGE="https://github.com/WayfireWM/wayfire" - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/WayfireWM/${PN}.git" -else - SRC_URI="https://github.com/WayfireWM/${PN}/releases/download/v${PV}/${P}.tar.xz" - KEYWORDS="amd64 ~arm64 ~riscv ~x86" -fi - -LICENSE="MIT" -SLOT="0" -IUSE="+gles +system-wfconfig +system-wlroots X" - -DEPEND=" - dev-libs/libinput:= - dev-libs/wayland - gui-libs/gtk-layer-shell - media-libs/glm - media-libs/mesa:=[gles2,wayland,X?] - media-libs/libglvnd[X?] - media-libs/libjpeg-turbo:= - media-libs/libpng:= - media-libs/freetype:=[X?] - x11-libs/libdrm - x11-libs/gtk+:3=[wayland,X?] - x11-libs/cairo[X?,svg(+)] - x11-libs/libxkbcommon[X?] - x11-libs/pango - x11-libs/pixman - X? ( - x11-base/xwayland - x11-libs/libxcb - ) -" - -if [[ ${PV} == 9999 ]] ; then - DEPEND+=" - system-wfconfig? ( ~gui-libs/wf-config-9999:= ) - !system-wfconfig? ( !gui-libs/wf-config ) - system-wlroots? ( ~gui-libs/wlroots-9999:=[drm(+),libinput(+),x11-backend,X?] ) - !system-wlroots? ( !gui-libs/wlroots ) - " -else - DEPEND+=" - system-wfconfig? ( - >=gui-libs/wf-config-0.7.1 - <gui-libs/wf-config-0.8.0 - ) - !system-wfconfig? ( !gui-libs/wf-config ) - system-wlroots? ( - >=gui-libs/wlroots-0.16.0:0/16[drm(+),libinput(+),x11-backend,X?] - ) - !system-wlroots? ( !gui-libs/wlroots ) - " -fi - -RDEPEND=" - ${DEPEND} - x11-misc/xkeyboard-config -" - -BDEPEND=" - dev-libs/wayland-protocols - virtual/pkgconfig -" - -PATCHES=( - "${FILESDIR}"/${PN}-0.7.5-gcc13.patch -) - -src_configure() { - sed -e "s:@EPREFIX@:${EPREFIX}:" \ - "${FILESDIR}"/wayfire-session > "${T}"/wayfire-session || die - sed -e "s:@EPREFIX@:${EPREFIX}:" \ - "${FILESDIR}"/wayfire-session.desktop > "${T}"/wayfire-session.desktop || die - local emesonargs=( - $(meson_feature system-wfconfig use_system_wfconfig) - $(meson_feature system-wlroots use_system_wlroots) - $(meson_feature X xwayland) - $(meson_use gles enable_gles32) - ) - - meson_src_configure -} - -src_install() { - meson_src_install - dobin "${T}"/wayfire-session - - insinto "/usr/share/wayland-sessions/" - insopts -m644 - doins wayfire.desktop - doins "${T}"/wayfire-session.desktop - - insinto "/usr/share/wayfire/" - doins wayfire.ini -} - -pkg_postinst() { - if [ -z "${REPLACING_VERSIONS}" ]; then - elog "Wayfire has been installed but the session cannot be used" - elog "until you install a configuration file. The default config" - elog "file is installed at \"/usr/share/wayfire/wayfire.ini\"" - elog "To install the file execute" - elog "\$ cp /usr/share/wayfire/wayfire.ini ~/.config/wayfire.ini" - fi -} diff --git a/gui-wm/wayfire/wayfire-0.8.0.ebuild b/gui-wm/wayfire/wayfire-0.8.1.ebuild index 15e5598edc0f..a5e655f6d398 100644 --- a/gui-wm/wayfire/wayfire-0.8.0.ebuild +++ b/gui-wm/wayfire/wayfire-0.8.1.ebuild @@ -11,119 +11,71 @@ HOMEPAGE="https://github.com/WayfireWM/wayfire" if [[ ${PV} == 9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/WayfireWM/${PN}.git" - SLOT="0/9999" + SLOT="0/0.8" else SRC_URI="https://github.com/WayfireWM/${PN}/releases/download/v${PV}/${P}.tar.xz" - KEYWORDS="amd64 ~arm64 ~riscv ~x86" + KEYWORDS="~amd64 ~arm64 ~riscv" SLOT="0/$(ver_cut 1-2)" fi LICENSE="MIT" -IUSE="+gles +system-wfconfig +system-wlroots test X" +IUSE="+gles test X" RESTRICT="!test? ( test )" # bundled wlroots has the following dependency string according to included headers. # wlroots[drm,gles2-renderer,libinput,x11-backend?,X?] # enable x11-backend with X and vice versa -WLROOTS_CDEPEND=" - >=dev-libs/libinput-1.14.0:= - >=dev-libs/wayland-1.21 - media-libs/libglvnd - media-libs/mesa[egl(+),gles2] - sys-apps/hwdata:= - sys-auth/seatd:= - >=x11-libs/libdrm-2.4.114:= - x11-libs/libxkbcommon - >=x11-libs/pixman-0.42.0 - virtual/libudev - X? ( - x11-base/xwayland - x11-libs/libxcb:0= - x11-libs/xcb-util-image - x11-libs/xcb-util-renderutil - x11-libs/xcb-util-wm - ) -" -WLROOTS_DEPEND=" - >=dev-libs/wayland-protocols-1.28 -" -WLROOTS_BDEPEND=" - dev-util/glslang - dev-util/wayland-scanner -" - CDEPEND=" dev-cpp/nlohmann_json + dev-libs/glib:2 dev-libs/libevdev - >=dev-libs/libinput-1.7.0 + >=dev-libs/libinput-1.7.0:= dev-libs/wayland >=dev-libs/wayland-protocols-1.12 + gui-libs/wf-config:${SLOT} + gui-libs/wlroots:0/17[drm(+),libinput(+),x11-backend,X?] media-libs/glm media-libs/libglvnd media-libs/libjpeg-turbo:= media-libs/libpng:= x11-libs/cairo - x11-libs/libdrm:= x11-libs/libxkbcommon x11-libs/pango x11-libs/pixman - system-wfconfig? ( gui-libs/wf-config:${SLOT} ) - !system-wfconfig? ( dev-libs/libxml2 ) - !system-wlroots? ( ${WLROOTS_CDEPEND} ) + X? ( + x11-libs/libxcb:= + ) " -if [[ ${PV} == 9999 ]] ; then - CDEPEND+=" - system-wlroots? ( gui-libs/wlroots:0/9999[drm(+),libinput(+),x11-backend,X?] ) - " -else - CDEPEND+=" - system-wlroots? ( gui-libs/wlroots:0/16[drm(+),libinput(+),x11-backend,X?] ) - " -fi - RDEPEND=" ${CDEPEND} x11-misc/xkeyboard-config - !system-wfconfig? ( !gui-libs/wf-config ) - !system-wlroots? ( !gui-libs/wlroots ) " DEPEND=" ${CDEPEND} - !system-wlroots? ( ${WLROOTS_DEPEND} ) test? ( dev-cpp/doctest ) " BDEPEND=" dev-util/wayland-scanner virtual/pkgconfig - !system-wlroots? ( ${WLROOTS_BDEPEND} ) " src_prepare() { - eapply_user + default sed -e "s:@EPREFIX@:${EPREFIX}:" \ "${FILESDIR}"/wayfire-session > "${T}"/wayfire-session || die sed -e "s:@EPREFIX@:${EPREFIX}:" \ "${FILESDIR}"/wayfire-session.desktop > "${T}"/wayfire-session.desktop || die - - if [[ "${PV}" != 9999 ]]; then - # Don't run git if git is installed and its not a git dir - sed -i \ - -e "/git = find_program/ifs = import\('fs'\)" \ - -e "s/if git.found()/if git.found() and fs.is_dir('.git')/" \ - meson.build || die - fi - } src_configure() { local emesonargs=( - $(meson_feature system-wfconfig use_system_wfconfig) - $(meson_feature system-wlroots use_system_wlroots) $(meson_feature test tests) $(meson_feature X xwayland) $(meson_use gles enable_gles32) + -Duse_system_wfconfig=enabled + -Duse_system_wlroots=enabled ) meson_src_configure diff --git a/gui-wm/wayfire/wayfire-9999.ebuild b/gui-wm/wayfire/wayfire-9999.ebuild index d1cadbe72df8..0666f1cd607d 100644 --- a/gui-wm/wayfire/wayfire-9999.ebuild +++ b/gui-wm/wayfire/wayfire-9999.ebuild @@ -11,120 +11,71 @@ HOMEPAGE="https://github.com/WayfireWM/wayfire" if [[ ${PV} == 9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/WayfireWM/${PN}.git" - SLOT="0/9999" + SLOT="0/0.9" else SRC_URI="https://github.com/WayfireWM/${PN}/releases/download/v${PV}/${P}.tar.xz" - KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + KEYWORDS="~amd64 ~arm64 ~riscv" SLOT="0/$(ver_cut 1-2)" fi LICENSE="MIT" -IUSE="+gles +system-wfconfig +system-wlroots test X" +IUSE="+gles test X" RESTRICT="!test? ( test )" # bundled wlroots has the following dependency string according to included headers. # wlroots[drm,gles2-renderer,libinput,x11-backend?,X?] # enable x11-backend with X and vice versa -WLROOTS_CDEPEND=" - >=dev-libs/libinput-1.14.0:= - >=dev-libs/wayland-1.22 - media-libs/libdisplay-info - media-libs/libglvnd - media-libs/mesa[egl(+),gles2] - sys-apps/hwdata:= - sys-auth/seatd:= - >=x11-libs/libdrm-2.4.114:= - x11-libs/libxkbcommon - >=x11-libs/pixman-0.42.0 - virtual/libudev - X? ( - x11-base/xwayland - x11-libs/libxcb:0= - x11-libs/xcb-util-image - x11-libs/xcb-util-renderutil - x11-libs/xcb-util-wm - ) -" -WLROOTS_DEPEND=" - >=dev-libs/wayland-protocols-1.32 -" -WLROOTS_BDEPEND=" - dev-util/glslang - dev-util/wayland-scanner -" - CDEPEND=" dev-cpp/nlohmann_json + dev-libs/glib:2 dev-libs/libevdev - >=dev-libs/libinput-1.7.0 + >=dev-libs/libinput-1.7.0:= dev-libs/wayland >=dev-libs/wayland-protocols-1.12 + gui-libs/wf-config:${SLOT} + gui-libs/wlroots:0/17[drm(+),libinput(+),x11-backend,X?] media-libs/glm media-libs/libglvnd - media-libs/libjpeg-turbo - media-libs/libpng + media-libs/libjpeg-turbo:= + media-libs/libpng:= x11-libs/cairo - x11-libs/libdrm x11-libs/libxkbcommon x11-libs/pango x11-libs/pixman - system-wfconfig? ( gui-libs/wf-config:${SLOT} ) - !system-wfconfig? ( dev-libs/libxml2 ) - !system-wlroots? ( ${WLROOTS_CDEPEND} ) + X? ( + x11-libs/libxcb:= + ) " -if [[ ${PV} == 9999 ]] ; then - CDEPEND+=" - system-wlroots? ( gui-libs/wlroots:0/9999[drm(+),libinput(+),x11-backend,X?] ) - " -else - CDEPEND+=" - system-wlroots? ( gui-libs/wlroots:0/16[drm(+),libinput(+),x11-backend,X?] ) - " -fi - RDEPEND=" ${CDEPEND} x11-misc/xkeyboard-config - !system-wfconfig? ( !gui-libs/wf-config ) - !system-wlroots? ( !gui-libs/wlroots ) " DEPEND=" ${CDEPEND} - !system-wlroots? ( ${WLROOTS_DEPEND} ) test? ( dev-cpp/doctest ) " BDEPEND=" dev-util/wayland-scanner virtual/pkgconfig - !system-wlroots? ( ${WLROOTS_BDEPEND} ) " src_prepare() { - eapply_user + default sed -e "s:@EPREFIX@:${EPREFIX}:" \ "${FILESDIR}"/wayfire-session > "${T}"/wayfire-session || die sed -e "s:@EPREFIX@:${EPREFIX}:" \ "${FILESDIR}"/wayfire-session.desktop > "${T}"/wayfire-session.desktop || die - - if [[ "${PV}" != 9999 ]]; then - # Don't run git if git is installed and its not a git dir - sed -i \ - -e "/git = find_program/ifs = import\('fs'\)" \ - -e "s/if git.found()/if git.found() and fs.is_dir('.git')/" \ - meson.build || die - fi - } src_configure() { local emesonargs=( - $(meson_feature system-wfconfig use_system_wfconfig) - $(meson_feature system-wlroots use_system_wlroots) $(meson_feature test tests) $(meson_feature X xwayland) $(meson_use gles enable_gles32) + -Duse_system_wfconfig=enabled + -Duse_system_wlroots=enabled ) meson_src_configure |