diff --git a/gui-libs/wlroots/Manifest b/gui-libs/wlroots/Manifest new file mode 100644 index 0000000..7947f8c --- /dev/null +++ b/gui-libs/wlroots/Manifest @@ -0,0 +1,10 @@ +DIST wlroots-0.10.1.tar.gz 455232 BLAKE2B 0f4def61d8501b7746ccc589d59586b3641340fb7633b0c4a7b518f1b1b5285c1ee71fb629aa0a0e649c15a4ae69b5cfbc7a034c96e545765a96ddda35f10609 SHA512 e1af5a5b6484b5f4060090e13d22d699d5aaa6926e1a6b1043d2b900f88a002ed67dacf8498f23ed3008bf8a35500f415f95b3dbcf50de5da354f309f9161d58 +DIST wlroots-0.4.1.tar.gz 480127 BLAKE2B f193860ef9e0852b053270bdaa44b491a8c65a76dc01c71690f7a006eac46e606cca95675e6dec4d65487d9b98bcabb7cd12578f028a9cb9c5cd648e47754df4 SHA512 bd8863c7f285579d81b9372f1335c10eb2d0fd7b46b7589e6b2acad53fa373f2e3b549d2c31876d87d66851af0415a12a011a05953ffe2384b718db6d95cba2e +DIST wlroots-0.5.0.tar.gz 481154 BLAKE2B 094c7c92191ea9c581debc90fa7b0117ed15328c11a098e53cec05b326e84c54481a69382ef9a592337ade370ffb55ea98b545794471808dee9f41ee9db8194f SHA512 4defecff91a6179d3a6b7d05c92c14b20c7fa69263a889869912e913a5d1e29f9fd4684f9816b03e2427a21c004d64236f35d8282e02e8d27d826442f1f8b3a7 +DIST wlroots-0.6.0.tar.gz 497934 BLAKE2B a0b631831752e533f83ed62e402ef69b0994df050fd643cf2ef89556face4a822b3936bc758b70ab160eedda8ced16c0992dc209600914095784bba97bd26ee2 SHA512 c205d4303a381e11ef2f4db2faac1ddf9ad85c675824aae9cfe62d9f8bd313f1568d4810db1d006416783b50c8364198648a46d1ba453a0d8f659d6920618286 +EBUILD wlroots-0.10.1.ebuild 2560 BLAKE2B 76b28e33dbe932fe89160a4806a46d3f1de2118ea05545d2248f3c7ddf59609bcd339dbe34673054943e7ca37360d3dec773630f0e2a4dde803062aa14facab3 SHA512 aebd49d399a8989d56bd2e08291da1af80432ec9cf642446bc5aa6f71c8c63d9f3467243fd43d216693831dfa432e1ba4be494a79b999254e6a741e730559ff6 +EBUILD wlroots-0.4.1.ebuild 2556 BLAKE2B 387bad0c2177db317674eca833112491e6a9fb78dfe1f6f652450a557bcc5ef65c575f0024b069e6b93122b94e6fc180f8d046ee4d83c2be571150458fdb8868 SHA512 4c57f85f868d258bbe8168137f4e5f639dd617ab994a93324a115ed31e3ff2dddd802bc787cada563df8df780cd7a4ad3d1a57cf2b64c6408c862ffa64178c41 +EBUILD wlroots-0.5.0.ebuild 2560 BLAKE2B 888dbb482966d512c7c448ef30061acf9bf19f311cb1cede67eb51d4969236f366980b2d13a852a6a19e5ed0dfd3969abb739796b3ba77556a70447245ec6ac2 SHA512 60e2b90b688e7e62e1a34077e5edbf07c1103da4d9198fb224b511b01a78c98011a835e6f547388646b337509f912d93ef674e919a08da2c24a6383ce74d0f21 +EBUILD wlroots-0.6.0.ebuild 2560 BLAKE2B 76b28e33dbe932fe89160a4806a46d3f1de2118ea05545d2248f3c7ddf59609bcd339dbe34673054943e7ca37360d3dec773630f0e2a4dde803062aa14facab3 SHA512 aebd49d399a8989d56bd2e08291da1af80432ec9cf642446bc5aa6f71c8c63d9f3467243fd43d216693831dfa432e1ba4be494a79b999254e6a741e730559ff6 +EBUILD wlroots-9999.ebuild 2563 BLAKE2B 3702306601cfb39e3d3e6719cfa75e6c23ee7f35814c804a4eb9997bcc004b5ff57f328d17625bd1313ca7898ee86211a3f1857c401886e39d9971443ccd478e SHA512 9c69220a61469efe672e06414dbdac04e7dbf25eb5b3e8cda4696752b0604421144b167cf5836ef413d500427edcc5a7d02dbc821027f3952bcb385cb310d6ad +MISC metadata.xml 1682 BLAKE2B 5713fb5006f1c178ba401ff4831ff991ec1e2270bf7d7961a0727a8934cf9262654fa12b9e13cd14803a8ace50c04dcdcdd37ff6162239fb22c30c84970b1f7a SHA512 88263936158e8d423f79ac9932286674e0b7e6e50f0279cefc07fa3961cda5c65874b14029553ce8b93dd22a7715ca40b1db32d239498d144fc6c901000e5018 diff --git a/gui-libs/wlroots/metadata.xml b/gui-libs/wlroots/metadata.xml new file mode 100644 index 0000000..5fb5999 --- /dev/null +++ b/gui-libs/wlroots/metadata.xml @@ -0,0 +1,40 @@ + + + + + bman@gentoo.org + Aaron Bauman + + + speedjack95@gmail.com + Niccolò Scatena + + + Pluggable, composable, unopinionated modules for building a Wayland + compositor. + + wlroots implements a huge variety of Wayland compositor features and + implements them right. By using wlroots, you get high performance, + excellent hardware compatibility, broad support for many wayland + interfaces, and comfortable development tools. + + wlroots is developed under the direction of the dev-libs/sway project. + + + Enable support for rootless session via elogind + Use xcb-icccm (from x11-libs/xcb-util-wm) util library for improved Xwayland introspection + Build the rootston example compositor + Enable support for handling input/output devices through x11-libs/libxcb + Enable support for X11 applications (XWayland) + + + swaywm/wlroots + + sir@cmpwn.com + Drew DeVault + + https://github.com/swaywm/wlroots/issues + https://github.com/swaywm/wlroots/wiki + https://github.com/swaywm/wlroots/releases + + diff --git a/gui-libs/wlroots/wlroots-0.10.1.ebuild b/gui-libs/wlroots/wlroots-0.10.1.ebuild new file mode 100644 index 0000000..99d9b05 --- /dev/null +++ b/gui-libs/wlroots/wlroots-0.10.1.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit fcaps meson + +DESCRIPTION="Pluggable, composable, unopinionated modules for building a Wayland compositor" +HOMEPAGE="https://github.com/swaywm/wlroots" + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/swaywm/${PN}.git" + inherit git-r3 +else + SRC_URI="https://github.com/swaywm/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="amd64 arm64 x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="elogind icccm rootston systemd x11-backend X" +REQUIRED_USE="?? ( elogind systemd )" + +DEPEND=" + >=dev-libs/libinput-1.9.0:0= + >=dev-libs/wayland-1.17.0 + media-libs/mesa[egl,gles2,gbm] + virtual/libudev + x11-libs/libdrm + x11-libs/libxkbcommon + x11-libs/pixman + elogind? ( >=sys-auth/elogind-237 ) + icccm? ( x11-libs/xcb-util-wm ) + systemd? ( >=sys-apps/systemd-237 ) + x11-backend? ( x11-libs/libxcb:0= ) + X? ( + x11-base/xorg-server[wayland] + x11-libs/libxcb:0= + x11-libs/xcb-util-image + ) +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + >=dev-libs/wayland-protocols-1.17 + virtual/pkgconfig +" + +FILECAPS=( cap_sys_admin usr/bin/rootston ) + +src_configure() { + # xcb-util-errors is not on Gentoo Repository (and upstream seems inactive?) + local emesonargs=( + "-Dxcb-errors=disabled" + -Dlibcap=$(usex filecaps enabled disabled) + -Dxcb-icccm=$(usex icccm enabled disabled) + -Dxwayland=$(usex X enabled disabled) + -Dx11-backend=$(usex x11-backend enabled disabled) + $(meson_use rootston) + "-Dexamples=false" + "-Dwerror=false" + ) + if use systemd; then + emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=systemd") + elif use elogind; then + emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=elogind") + else + emesonargs+=("-Dlogind=disabled") + fi + + meson_src_configure +} + +src_install() { + if use rootston; then + dobin "${BUILD_DIR}"/rootston/rootston + newdoc rootston/rootston.ini.example rootston.ini + fi + + meson_src_install +} + +pkg_postinst() { + elog "You must be in the input group to allow your compositor" + elog "to access input devices via libinput." + if use rootston; then + elog "" + elog "You should copy (and decompress) the example configuration file" + elog "from ${EROOT:-${ROOT}}/usr/share/doc/${PF}/rootston.ini" + elog "to the working directory from where you launch rootston" + elog "(or pass the '-C path-to-config' option to rootston)." + if ! use systemd && ! use elogind; then + elog "" + elog "If you use ConsoleKit2, remember to launch rootston using:" + elog "exec ck-launch-session rootston" + + fcaps_pkg_postinst + fi + fi +} diff --git a/gui-libs/wlroots/wlroots-0.4.1.ebuild b/gui-libs/wlroots/wlroots-0.4.1.ebuild new file mode 100644 index 0000000..9d83039 --- /dev/null +++ b/gui-libs/wlroots/wlroots-0.4.1.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit fcaps meson + +DESCRIPTION="Pluggable, composable, unopinionated modules for building a Wayland compositor" +HOMEPAGE="https://github.com/swaywm/wlroots" + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/swaywm/${PN}.git" + inherit git-r3 +else + SRC_URI="https://github.com/swaywm/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="elogind icccm rootston systemd x11-backend X" +REQUIRED_USE="?? ( elogind systemd )" + +DEPEND=" + >=dev-libs/libinput-1.7.0:0= + >=dev-libs/wayland-1.16.0 + media-libs/mesa[egl,gles2,gbm] + virtual/libudev + x11-libs/libdrm + x11-libs/libxkbcommon + x11-libs/pixman + elogind? ( >=sys-auth/elogind-237 ) + icccm? ( x11-libs/xcb-util-wm ) + systemd? ( >=sys-apps/systemd-237 ) + x11-backend? ( x11-libs/libxcb:0= ) + X? ( + x11-base/xorg-server[wayland] + x11-libs/libxcb:0= + x11-libs/xcb-util-image + ) +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + >=dev-libs/wayland-protocols-1.17 + virtual/pkgconfig +" + +FILECAPS=( cap_sys_admin usr/bin/rootston ) + +src_configure() { + # xcb-util-errors is not on Gentoo Repository (and upstream seems inactive?) + local emesonargs=( + "-Dxcb-errors=disabled" + -Dlibcap=$(usex filecaps enabled disabled) + -Dxcb-icccm=$(usex icccm enabled disabled) + -Dxwayland=$(usex X enabled disabled) + -Dx11-backend=$(usex x11-backend enabled disabled) + $(meson_use rootston) + "-Dexamples=false" + "-Dwerror=false" + ) + if use systemd; then + emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=systemd") + elif use elogind; then + emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=elogind") + else + emesonargs+=("-Dlogind=disabled") + fi + + meson_src_configure +} + +src_install() { + if use rootston; then + dobin "${BUILD_DIR}"/rootston/rootston + newdoc rootston/rootston.ini.example rootston.ini + fi + + meson_src_install +} + +pkg_postinst() { + elog "You must be in the input group to allow your compositor" + elog "to access input devices via libinput." + if use rootston; then + elog "" + elog "You should copy (and decompress) the example configuration file" + elog "from ${EROOT:-${ROOT}}/usr/share/doc/${PF}/rootston.ini" + elog "to the working directory from where you launch rootston" + elog "(or pass the '-C path-to-config' option to rootston)." + if ! use systemd && ! use elogind; then + elog "" + elog "If you use ConsoleKit2, remember to launch rootston using:" + elog "exec ck-launch-session rootston" + + fcaps_pkg_postinst + fi + fi +} diff --git a/gui-libs/wlroots/wlroots-0.5.0.ebuild b/gui-libs/wlroots/wlroots-0.5.0.ebuild new file mode 100644 index 0000000..c41237d --- /dev/null +++ b/gui-libs/wlroots/wlroots-0.5.0.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit fcaps meson + +DESCRIPTION="Pluggable, composable, unopinionated modules for building a Wayland compositor" +HOMEPAGE="https://github.com/swaywm/wlroots" + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/swaywm/${PN}.git" + inherit git-r3 +else + SRC_URI="https://github.com/swaywm/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="amd64 arm64 x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="elogind icccm rootston systemd x11-backend X" +REQUIRED_USE="?? ( elogind systemd )" + +DEPEND=" + >=dev-libs/libinput-1.7.0:0= + >=dev-libs/wayland-1.16.0 + media-libs/mesa[egl,gles2,gbm] + virtual/libudev + x11-libs/libdrm + x11-libs/libxkbcommon + x11-libs/pixman + elogind? ( >=sys-auth/elogind-237 ) + icccm? ( x11-libs/xcb-util-wm ) + systemd? ( >=sys-apps/systemd-237 ) + x11-backend? ( x11-libs/libxcb:0= ) + X? ( + x11-base/xorg-server[wayland] + x11-libs/libxcb:0= + x11-libs/xcb-util-image + ) +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + >=dev-libs/wayland-protocols-1.17 + virtual/pkgconfig +" + +FILECAPS=( cap_sys_admin usr/bin/rootston ) + +src_configure() { + # xcb-util-errors is not on Gentoo Repository (and upstream seems inactive?) + local emesonargs=( + "-Dxcb-errors=disabled" + -Dlibcap=$(usex filecaps enabled disabled) + -Dxcb-icccm=$(usex icccm enabled disabled) + -Dxwayland=$(usex X enabled disabled) + -Dx11-backend=$(usex x11-backend enabled disabled) + $(meson_use rootston) + "-Dexamples=false" + "-Dwerror=false" + ) + if use systemd; then + emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=systemd") + elif use elogind; then + emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=elogind") + else + emesonargs+=("-Dlogind=disabled") + fi + + meson_src_configure +} + +src_install() { + if use rootston; then + dobin "${BUILD_DIR}"/rootston/rootston + newdoc rootston/rootston.ini.example rootston.ini + fi + + meson_src_install +} + +pkg_postinst() { + elog "You must be in the input group to allow your compositor" + elog "to access input devices via libinput." + if use rootston; then + elog "" + elog "You should copy (and decompress) the example configuration file" + elog "from ${EROOT:-${ROOT}}/usr/share/doc/${PF}/rootston.ini" + elog "to the working directory from where you launch rootston" + elog "(or pass the '-C path-to-config' option to rootston)." + if ! use systemd && ! use elogind; then + elog "" + elog "If you use ConsoleKit2, remember to launch rootston using:" + elog "exec ck-launch-session rootston" + + fcaps_pkg_postinst + fi + fi +} diff --git a/gui-libs/wlroots/wlroots-0.6.0.ebuild b/gui-libs/wlroots/wlroots-0.6.0.ebuild new file mode 100644 index 0000000..99d9b05 --- /dev/null +++ b/gui-libs/wlroots/wlroots-0.6.0.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit fcaps meson + +DESCRIPTION="Pluggable, composable, unopinionated modules for building a Wayland compositor" +HOMEPAGE="https://github.com/swaywm/wlroots" + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/swaywm/${PN}.git" + inherit git-r3 +else + SRC_URI="https://github.com/swaywm/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="amd64 arm64 x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="elogind icccm rootston systemd x11-backend X" +REQUIRED_USE="?? ( elogind systemd )" + +DEPEND=" + >=dev-libs/libinput-1.9.0:0= + >=dev-libs/wayland-1.17.0 + media-libs/mesa[egl,gles2,gbm] + virtual/libudev + x11-libs/libdrm + x11-libs/libxkbcommon + x11-libs/pixman + elogind? ( >=sys-auth/elogind-237 ) + icccm? ( x11-libs/xcb-util-wm ) + systemd? ( >=sys-apps/systemd-237 ) + x11-backend? ( x11-libs/libxcb:0= ) + X? ( + x11-base/xorg-server[wayland] + x11-libs/libxcb:0= + x11-libs/xcb-util-image + ) +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + >=dev-libs/wayland-protocols-1.17 + virtual/pkgconfig +" + +FILECAPS=( cap_sys_admin usr/bin/rootston ) + +src_configure() { + # xcb-util-errors is not on Gentoo Repository (and upstream seems inactive?) + local emesonargs=( + "-Dxcb-errors=disabled" + -Dlibcap=$(usex filecaps enabled disabled) + -Dxcb-icccm=$(usex icccm enabled disabled) + -Dxwayland=$(usex X enabled disabled) + -Dx11-backend=$(usex x11-backend enabled disabled) + $(meson_use rootston) + "-Dexamples=false" + "-Dwerror=false" + ) + if use systemd; then + emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=systemd") + elif use elogind; then + emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=elogind") + else + emesonargs+=("-Dlogind=disabled") + fi + + meson_src_configure +} + +src_install() { + if use rootston; then + dobin "${BUILD_DIR}"/rootston/rootston + newdoc rootston/rootston.ini.example rootston.ini + fi + + meson_src_install +} + +pkg_postinst() { + elog "You must be in the input group to allow your compositor" + elog "to access input devices via libinput." + if use rootston; then + elog "" + elog "You should copy (and decompress) the example configuration file" + elog "from ${EROOT:-${ROOT}}/usr/share/doc/${PF}/rootston.ini" + elog "to the working directory from where you launch rootston" + elog "(or pass the '-C path-to-config' option to rootston)." + if ! use systemd && ! use elogind; then + elog "" + elog "If you use ConsoleKit2, remember to launch rootston using:" + elog "exec ck-launch-session rootston" + + fcaps_pkg_postinst + fi + fi +} diff --git a/gui-libs/wlroots/wlroots-9999.ebuild b/gui-libs/wlroots/wlroots-9999.ebuild new file mode 100644 index 0000000..db03b0f --- /dev/null +++ b/gui-libs/wlroots/wlroots-9999.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit fcaps meson + +DESCRIPTION="Pluggable, composable, unopinionated modules for building a Wayland compositor" +HOMEPAGE="https://github.com/swaywm/wlroots" + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/swaywm/${PN}.git" + inherit git-r3 +else + SRC_URI="https://github.com/swaywm/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="elogind icccm rootston systemd x11-backend X" +REQUIRED_USE="?? ( elogind systemd )" + +DEPEND=" + >=dev-libs/libinput-1.9.0:0= + >=dev-libs/wayland-1.17.0 + media-libs/mesa[egl,gles2,gbm] + virtual/libudev + x11-libs/libdrm + x11-libs/libxkbcommon + x11-libs/pixman + elogind? ( >=sys-auth/elogind-237 ) + icccm? ( x11-libs/xcb-util-wm ) + systemd? ( >=sys-apps/systemd-237 ) + x11-backend? ( x11-libs/libxcb:0= ) + X? ( + x11-base/xorg-server[wayland] + x11-libs/libxcb:0= + x11-libs/xcb-util-image + ) +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + >=dev-libs/wayland-protocols-1.17 + virtual/pkgconfig +" + +FILECAPS=( cap_sys_admin usr/bin/rootston ) + +src_configure() { + # xcb-util-errors is not on Gentoo Repository (and upstream seems inactive?) + local emesonargs=( + "-Dxcb-errors=disabled" + -Dlibcap=$(usex filecaps enabled disabled) + -Dxcb-icccm=$(usex icccm enabled disabled) + -Dxwayland=$(usex X enabled disabled) + -Dx11-backend=$(usex x11-backend enabled disabled) + $(meson_use rootston) + "-Dexamples=false" + "-Dwerror=false" + ) + if use systemd; then + emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=systemd") + elif use elogind; then + emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=elogind") + else + emesonargs+=("-Dlogind=disabled") + fi + + meson_src_configure +} + +src_install() { + if use rootston; then + dobin "${BUILD_DIR}"/rootston/rootston + newdoc rootston/rootston.ini.example rootston.ini + fi + + meson_src_install +} + +pkg_postinst() { + elog "You must be in the input group to allow your compositor" + elog "to access input devices via libinput." + if use rootston; then + elog "" + elog "You should copy (and decompress) the example configuration file" + elog "from ${EROOT:-${ROOT}}/usr/share/doc/${PF}/rootston.ini" + elog "to the working directory from where you launch rootston" + elog "(or pass the '-C path-to-config' option to rootston)." + if ! use systemd && ! use elogind; then + elog "" + elog "If you use ConsoleKit2, remember to launch rootston using:" + elog "exec ck-launch-session rootston" + + fcaps_pkg_postinst + fi + fi +} diff --git a/gui-wm/sway/Manifest b/gui-wm/sway/Manifest new file mode 100644 index 0000000..90edc44 --- /dev/null +++ b/gui-wm/sway/Manifest @@ -0,0 +1,8 @@ +DIST sway-1.0.tar.gz 5474548 BLAKE2B bea0a72c374b75f027e466d83e8c06abe32205e0cda80776b0e48e327a6da4e965a6a575595e5a38bcb125294c509b5d9a1db17604dd9e9032acef404366bdb9 SHA512 57e2610244c8bcd2b09bb5396113176d118ee5a0688aea297d4c191eda70ce29b36ff64e05c57d1a32a31cc4f2ac2562fd3cb3890508a8f3c7cbcb9fb017171d +DIST sway-1.1.1.tar.gz 5480615 BLAKE2B 2cc55535a030d5d057c332a8b2647f394ec8f08a3a5aebe48e0bd21da718eac23bdbcc5a2ce26624efb9360518e5f14eaafe406e1c7d9b3eb81621bab7b6c39c SHA512 2585446ca0936df41c7959b6b48487b25c86f1a8a3bedcd146aab023a873a416ce750698e3cabcd9cb861e35bbd7e280574ff477152906669af9b17d3e54028e +DIST sway-1.4.tar.gz 5514489 BLAKE2B 31eb1aee32079e643cc7a0263a097000c089e36916ea2a681e1ec696f8329e7ecfe3c8a981ec3b6d4e3dd99c8e263b2c208dbe602308d6bdaf4cdabbb3c10971 SHA512 3b280bdfdbdae8fb9b4f555bc630c64e7c1d09f7b2c783b99413863a6b620d50cd2b6d10d63e11fdfb9c678fce9a403228ac52fa69fb52561ffbd06790505a71 +EBUILD sway-1.0.ebuild 3085 BLAKE2B 62c575e078c9078faca0d58cc0adc18fd52b10f648fdf6cc8cc18b5080fc8844d92a7bdf80141c03bae5d1dac8ccc62b0f263a05b82a407d4ee3e25c573470b5 SHA512 10aeba287ad9113010d60b1e07af1ba6291c575109f89c9501bd42370e8bc1afb148bb6604d95048b4d390b9d66213249c25b5f8867599e5cdce53db0967550b +EBUILD sway-1.1.1.ebuild 2953 BLAKE2B 0146efd670edbafed4df718383d9c059cced7dc7178d407e46c3ee3a3b260464972e2a485fd34f511bfc276a1cd41e41ba14e2a76058a626c222c06e8a32fb02 SHA512 b6fc5f65a764a2fc6e31e8b828bcccfca3b85d5d6b1d39ee7096b0dee22de36385d9432bd4bd90358c84e6cf7d17efdcf077c0513ced9d0be4e18ed8467b6d68 +EBUILD sway-1.4.ebuild 2953 BLAKE2B 0146efd670edbafed4df718383d9c059cced7dc7178d407e46c3ee3a3b260464972e2a485fd34f511bfc276a1cd41e41ba14e2a76058a626c222c06e8a32fb02 SHA512 b6fc5f65a764a2fc6e31e8b828bcccfca3b85d5d6b1d39ee7096b0dee22de36385d9432bd4bd90358c84e6cf7d17efdcf077c0513ced9d0be4e18ed8467b6d68 +EBUILD sway-9999.ebuild 2953 BLAKE2B 0146efd670edbafed4df718383d9c059cced7dc7178d407e46c3ee3a3b260464972e2a485fd34f511bfc276a1cd41e41ba14e2a76058a626c222c06e8a32fb02 SHA512 b6fc5f65a764a2fc6e31e8b828bcccfca3b85d5d6b1d39ee7096b0dee22de36385d9432bd4bd90358c84e6cf7d17efdcf077c0513ced9d0be4e18ed8467b6d68 +MISC metadata.xml 2486 BLAKE2B 2d34da83a8d8726b91189d27a400e705a1b0259a1ca577a85e7c21784274a08a0adccc134cd523e193f8635b26dcb1802e37bfa1831f58c922285341b1eadd5e SHA512 9d382307136a126a614a8361828cb018865243b1a8c2a4dd08fbd484afc53320abf6d64dd82dd93a47d8de284552f1857c028c6c72db06199152e1458b636ec0 diff --git a/gui-wm/sway/metadata.xml b/gui-wm/sway/metadata.xml new file mode 100644 index 0000000..e73eacb --- /dev/null +++ b/gui-wm/sway/metadata.xml @@ -0,0 +1,56 @@ + + + + + bman@gentoo.org + Aaron Bauman + + + prometheanfire@gentoo.org + Matthew Thode + + + hilobakho@gmail.com + Mykyta Holubakha + + + speedjack95@gmail.com + Niccolò Scatena + + + "SirCmpwn's Wayland window manager" is an i3-compatible window manager + for Wayland. + + sway was created to fill the need of an i3-like window manager for + Wayland. The upstream i3 developers have no intention of porting i3 to + Wayland, and projects proposed by others ended up as vaporware. Many + thanks to the i3 folks for providing such a great piece of software, so + good that your users would rather write an entirely new window manager + from scratch that behaved *exactly* like i3 rather than switch to + something else. + + + Enable support for rootless session via elogind + Enable fish completion support + Build and install man pages + Install 'swaybar': sway's status bar component + Install 'swaybg': allows to set a desktop background image + Install 'swayidle': idle manager to run commands when user is inactive + Install 'swaylock': sway's screen locker + Install 'swaymsg': tool for communicating with a running sway instance + Install 'swaynag': shows a message with buttons + Enable support for StatusNotifierItem tray specification + Install sway's default wallpaper image + Enable support for X11 applications (XWayland) + + + swaywm/sway + + sir@cmpwn.com + Drew DeVault + + https://github.com/swaywm/sway/issues + https://github.com/swaywm/sway/wiki + https://github.com/swaywm/sway/releases + + diff --git a/gui-wm/sway/sway-1.0.ebuild b/gui-wm/sway/sway-1.0.ebuild new file mode 100644 index 0000000..34a7896 --- /dev/null +++ b/gui-wm/sway/sway-1.0.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit eutils meson + +DESCRIPTION="i3-compatible Wayland window manager" +HOMEPAGE="https://swaywm.org" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/swaywm/${PN}.git" +else + MY_PV=${PV/_rc/-rc} + SRC_URI="https://github.com/swaywm/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="amd64 arm64 x86" + S="${WORKDIR}/${PN}-${MY_PV}" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="elogind fish-completion +man +swaybar +swaybg +swayidle +swaylock +swaymsg +swaynag systemd tray wallpapers X zsh-completion" +REQUIRED_USE="?? ( elogind systemd ) + tray? ( || ( elogind systemd ) )" + +DEPEND=" + >=dev-libs/json-c-0.13:0= + >=dev-libs/libinput-1.6.0:0= + dev-libs/libpcre + dev-libs/wayland + x11-libs/cairo + x11-libs/libxkbcommon + x11-libs/pango + x11-libs/pixman + elogind? ( >=sys-auth/elogind-239 ) + swaybar? ( x11-libs/gdk-pixbuf:2 ) + swaybg? ( x11-libs/gdk-pixbuf:2 ) + swayidle? ( gui-apps/swayidle ) + swaylock? ( gui-apps/swaylock ) + systemd? ( >=sys-apps/systemd-239 ) + X? ( x11-libs/libxcb:0= ) +" +if [[ ${PV} == 9999 ]]; then + DEPEND+="~gui-libs/wlroots-9999[elogind=,systemd=,X=]" +else + DEPEND+=">=gui-libs/wlroots-0.5.0[elogind=,systemd=,X=] + "${UCODETMP}/early_cpio" + + local amd_ucode_file="${UCODEDIR}/AuthenticAMD.bin" + cat "${S}"/amd-ucode/*.bin > "${amd_ucode_file}" || die "Failed to concat amd cpu ucode" + + if [[ ! -s "${amd_ucode_file}" ]]; then + die "Sanity check failed: '${amd_ucode_file}' is empty!" + fi + + pushd "${UCODETMP}" &>/dev/null || die + find . -print0 | cpio --quiet --null -o -H newc -R 0:0 > "${S}"/amd-uc.img + popd &>/dev/null || die + if [[ ! -s "${S}/amd-uc.img" ]]; then + die "Failed to create '${S}/amd-uc.img'!" + fi + else + # If this will ever happen something has changed which + # must be reviewed + die "'${S}/amd-ucode' not found!" + fi + fi + + echo "# Remove files that shall not be installed from this list." > ${PN}.conf + find * ! -type d ! \( -name ${PN}.conf -o -name amd-uc.img \) >> ${PN}.conf + + if use savedconfig; then + restore_config ${PN}.conf + + ebegin "Removing all files not listed in config" + find ! -type d ! \( -name ${PN}.conf -o -name amd-uc.img \) -printf "%P\n" \ + | grep -Fvx -f <(grep -v '^#' ${PN}.conf \ + || die "grep failed, empty config file?") \ + | xargs -d '\n' --no-run-if-empty rm + eend $? || die + fi + + # remove empty directories, bug #396073 + find -type d -empty -delete || die +} + +src_install() { + save_config ${PN}.conf + rm ${PN}.conf || die + + if use initramfs ; then + mkdir "${ED}/boot" || die + mv "${S}"/amd-uc.img "${ED}/boot" || die + fi + + if ! ( shopt -s failglob; : * ) 2>/dev/null; then + eerror "No files to install. Check your USE flag settings" + eerror "and the list of files in your saved configuration." + die "Refusing to install an empty package" + fi + + insinto /lib/firmware/ + doins -r * +} + +pkg_preinst() { + if use savedconfig; then + ewarn "USE=savedconfig is active. You must handle file collisions manually." + fi + + # Make sure /boot is available if needed. + use initramfs && mount-boot_pkg_preinst +} + +pkg_postinst() { + elog "If you are only interested in particular firmware files, edit the saved" + elog "configfile and remove those that you do not want." + + local ver + for ver in ${REPLACING_VERSIONS}; do + if ver_test ${ver} -lt 20190514; then + elog + elog 'Starting with version 20190514, installation of many firmware' + elog 'files is controlled by USE flags. Please review your USE flag' + elog 'and package.license settings if you are missing some files.' + break + fi + done + + # Don't forget to umount /boot if it was previously mounted by us. + use initramfs && mount-boot_pkg_postinst +} + +pkg_prerm() { + # Make sure /boot is mounted so that we can remove /boot/amd-uc.img! + use initramfs && mount-boot_pkg_prerm +} + +pkg_postrm() { + # Don't forget to umount /boot if it was previously mounted by us. + use initramfs && mount-boot_pkg_postrm +} diff --git a/sys-kernel/linux-firmware/metadata.xml b/sys-kernel/linux-firmware/metadata.xml new file mode 100644 index 0000000..b1cdaa4 --- /dev/null +++ b/sys-kernel/linux-firmware/metadata.xml @@ -0,0 +1,22 @@ + + + + + chithanh@gentoo.org + Chí-Thanh Christopher Nguyễn + + + zerochaos@gentoo.org + Rick Farina + + + kernel@gentoo.org + Gentoo Kernel Project + + + Create and install initramfs for early microcode loading in /boot (only AMD for now) + Install also non-free (but redistributable) firmware files + Allows individual selection of firmware files + Install firmware files whose license is unknown + +