diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
commit | 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch) | |
tree | 758c221bad35c9288d0bd6df9c7dfc226728e52c /sys-apps/kmscon | |
parent | 8d5dbd847cbc704a6a06405856e94b461011afe3 (diff) |
gentoo resync : 28.04.2021
Diffstat (limited to 'sys-apps/kmscon')
-rw-r--r-- | sys-apps/kmscon/Manifest | 5 | ||||
-rw-r--r-- | sys-apps/kmscon/files/kmscon-SIGUNUSED.patch | 14 | ||||
-rw-r--r-- | sys-apps/kmscon/files/kmscon-sysmacros-fix.patch | 11 | ||||
-rw-r--r-- | sys-apps/kmscon/kmscon-8-r1.ebuild | 145 | ||||
-rw-r--r-- | sys-apps/kmscon/kmscon-8_p20180906.ebuild | 143 |
5 files changed, 0 insertions, 318 deletions
diff --git a/sys-apps/kmscon/Manifest b/sys-apps/kmscon/Manifest index b720b3a1f917..b82fdc3fdf6b 100644 --- a/sys-apps/kmscon/Manifest +++ b/sys-apps/kmscon/Manifest @@ -1,8 +1,3 @@ -AUX kmscon-SIGUNUSED.patch 385 BLAKE2B 0384e96bb5809d7b8c702f2cfe79e885bd469b4bfc44eda7f313c0b4caf0b72e278a537c5b0d4a053dcef604baa3cf6acacba61e636c23fa6cf46803d38642f2 SHA512 5bbdbd7f3f8a11d4fb8b5ff01455214de2aef5b65ee04c8da868d62ab1bba75f4bae0f348d15cee8667586d935afb7a8165a041f2c7df5f5e79d1f6fb6baaa36 -AUX kmscon-sysmacros-fix.patch 339 BLAKE2B c088bf8bad2ac171af219e763f404b6311c67541ac4febf0e8a02349783c49720912eebbc31f0a7c124b563394477ef9de4e2461931a20ae8c4448a1dd0ea593 SHA512 2b227b6cfa959002938209e85e0aac85d4bd4c567a7023ce0734f5d2131b001f29bdb3a62304d295747adb487ff10da9df4080c87139120da2eb9c8dda6f18df -DIST kmscon-8.tar.xz 950068 BLAKE2B 7c4bbcc6eb0967d8e38e05a3e6fac60109a0ce468bc8967364b621274a9af4dd12a31af692be2efe0cc234af36f760836ec421b6567460efd4b7b1c3d913f44b SHA512 ac1581c2520a9c30406848dafc27231b38d392b2176e3ed4dd95b03cd54e256dd22f09e04057fc089effbbe08eb25546164bb885e0e5cbdbd752d4c27d07a41d DIST kmscon-8_p20180906.tar.gz 1156350 BLAKE2B 52c024ca6e9652b468efb23d38cda34bf0c05e1e2bb4268435e17adb8858439ac6bf0e1783cfdd24a48fcb2dcf7c1cb20eee09aeb90db08c2e94224d01efeff7 SHA512 2ccdc5b30df6d96ac7a75d01d674b295bcdb0d445169716638a20c9884b090bbfe509e0aee79cb674a2d9b0eb18ea6284b9d4e2939cb5bf290cade4c1a02487a -EBUILD kmscon-8-r1.ebuild 2978 BLAKE2B 778c7acd8c5d2fec8d9f3adea8e47f9f1d8b27688f18dcfcf92fca9e0bba15ab32aedff2000907ed88e12f9412ea54fa6d813c29e92fc181ff5222ec8c588fe8 SHA512 e762b0372dd21c6afd8b7a46572d5f005eeb8f18ccaa50f5dd05f9f0fd63bb12d448b12fa44c398ccd50f6a7e2ea4430cfc92322aaaf816643f5058e449fb173 EBUILD kmscon-8_p20180906-r1.ebuild 2914 BLAKE2B 5ae857b7cc683e7e634b37d4902964d302ade0fc77863b8e2ffda7a61232273dcc8a844d245e8eafa51263358f95c6b31959d9cc524ce51b033d51080565f001 SHA512 e596373113c4f1294fa7cbd6eaee31111ae15eb9332b6f3e1d97d856242ab75020016b214df8e9c19bf59c53f6d931c8635e0cded8faf3790f0133af7c7bf01a -EBUILD kmscon-8_p20180906.ebuild 2856 BLAKE2B a794c5360d3214ec1b6928525b5333e721c313d73bcb5df7be4bbc2c48624a2dc52971bb5af43db18ccd50b38cbbc070340491681108d1f9fd63311874ad1fe5 SHA512 a07cce39e1db29f5efe8291a53141b7a3fc0e5d267d45e62bfc5f101966fb4fb6ec60c68e8b2727897d5b3b37093e6915ad3c6d2728ab406da5f93ad83c8ee6b MISC metadata.xml 664 BLAKE2B 3e24275e972d23c41dbab76a90f4a47b589f652f580f5e019b44d5e926556ac2e5138a23f36beee31c53f3f5c344908832ca0d008826a720256d756425048063 SHA512 96f2c383dda46a41505e4aaf01376ed51cb2856516b800652d9ddb43c4794c1f57840368d31b822230ed3f16b6009699ee0ccec62f4967cbdaa8781a845d96b3 diff --git a/sys-apps/kmscon/files/kmscon-SIGUNUSED.patch b/sys-apps/kmscon/files/kmscon-SIGUNUSED.patch deleted file mode 100644 index dc69f7700c67..000000000000 --- a/sys-apps/kmscon/files/kmscon-SIGUNUSED.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -ur kmscon-8/src/pty.c kmscon-8.new/src/pty.c ---- kmscon-8/src/pty.c 2018-01-10 09:03:09.477962638 -0600 -+++ kmscon-8.new/src/pty.c 2018-01-10 09:04:21.620658836 -0600 -@@ -299,8 +299,10 @@ - if (ret) - log_warn("cannot reset blocked signals: %m"); - -+ #ifdef SIGUNUSED - for (i = 1; i < SIGUNUSED; ++i) - signal(i, SIG_DFL); -+ #endif - - ret = grantpt(master); - if (ret < 0) { diff --git a/sys-apps/kmscon/files/kmscon-sysmacros-fix.patch b/sys-apps/kmscon/files/kmscon-sysmacros-fix.patch deleted file mode 100644 index cd8a374e5ca1..000000000000 --- a/sys-apps/kmscon/files/kmscon-sysmacros-fix.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -ur a/src/uterm_vt.c b/src/uterm_vt.c ---- a/src/uterm_vt.c 2017-08-12 12:14:46.213183769 -0500 -+++ b/src/uterm_vt.c 2017-08-12 12:16:12.011069210 -0500 -@@ -40,6 +40,7 @@ - #include <sys/ioctl.h> - #include <sys/signalfd.h> - #include <sys/stat.h> -+#include <sys/sysmacros.h> - #include <termios.h> - #include <time.h> - #include <unistd.h> diff --git a/sys-apps/kmscon/kmscon-8-r1.ebuild b/sys-apps/kmscon/kmscon-8-r1.ebuild deleted file mode 100644 index 831393bd22a7..000000000000 --- a/sys-apps/kmscon/kmscon-8-r1.ebuild +++ /dev/null @@ -1,145 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -SRC_URI="https://www.freedesktop.org/software/${PN}/releases/${P}.tar.xz" -KEYWORDS="~amd64 ~x86" - -inherit autotools systemd flag-o-matic - -DESCRIPTION="KMS/DRM based virtual Console Emulator" -HOMEPAGE="https://www.freedesktop.org/wiki/Software/kmscon" - -LICENSE="MIT LGPL-2.1 BSD-2" -SLOT="0" -IUSE="debug doc +drm +fbdev +gles2 +optimizations +pango pixman static-libs systemd +unicode" - -COMMON_DEPEND=" - >=virtual/udev-172 - x11-libs/libxkbcommon - dev-libs/libtsm:= - media-libs/mesa[X(+)] - drm? ( x11-libs/libdrm - >=media-libs/mesa-8.0.3[egl,gbm] ) - gles2? ( >=media-libs/mesa-8.0.3[gles2] ) - systemd? ( sys-apps/systemd ) - pango? ( x11-libs/pango dev-libs/glib:2 ) - pixman? ( x11-libs/pixman )" -RDEPEND="${COMMON_DEPEND} - x11-misc/xkeyboard-config" -DEPEND="${COMMON_DEPEND} - virtual/pkgconfig - x11-base/xorg-proto - doc? ( dev-util/gtk-doc )" - -REQUIRED_USE="gles2? ( drm )" - -# args - names of renderers to enable -renderers_enable() { - if [[ "x${RENDER}" == "x" ]]; then - RENDER="$1" - shift - else - for i in $@; do - RENDER+=",${i}" - done - fi -} - -# args - names of font renderer backends to enable -fonts_enable() { - if [[ "x${FONTS}" == "x" ]]; then - FONTS="$1" - shift - else - for i in $@; do - FONTS+=",${i}" - done - fi -} - -# args - names of video backends to enable -video_enable() { - if [[ "x${VIDEO}" == "x" ]]; then - VIDEO="$1" - shift - else - for i in $@; do - VIDEO+=",${i}" - done - fi -} - -src_prepare() { - eapply "${FILESDIR}/kmscon-sysmacros-fix.patch" - eapply "${FILESDIR}/kmscon-SIGUNUSED.patch" - eapply_user - sed -i -e 's/\[libsystemd-daemon libsystemd-login\]/\[libsystemd\]/' configure.ac - eautoreconf -} - -src_configure() { - # Video backends - - if use fbdev; then - video_enable fbdev - fi - - if use drm; then - video_enable drm2d - fi - - if use gles2; then - video_enable drm3d - fi - - # Font rendering backends - - if use unicode; then - fonts_enable unifont - fi - - if use pango; then - fonts_enable pango - fi - - # Console rendering backends - - renderers_enable bbulk - - if use gles2; then - renderers_enable gltex - fi - - if use pixman; then - renderers_enable pixman - fi - - # kmscon sets -ffast-math unconditionally - strip-flags - - # xkbcommon not in portage - econf \ - $(use_enable static-libs static) \ - $(use_enable debug) \ - $(use_enable optimizations) \ - $(use_enable systemd multi-seat) \ - --with-video=${VIDEO} \ - --with-fonts=${FONTS} \ - --with-renderers=${RENDER} \ - --with-sessions=dummy,terminal -} - -src_install() { - emake DESTDIR="${D}" install - systemd_dounit "${S}/docs"/kmscon{,vt@}.service -} - -pkg_postinst() { - grep -e "^ERASECHAR" "${EROOT}"/etc/login.defs && \ - ewarn "It is recommended that you comment out the ERASECHAR line in" && \ - ewarn " /etc/login.defs for proper backspace functionality at the" && \ - ewarn " kmscon login prompt. For details see:" && \ - ewarn "https://github.com/dvdhrm/kmscon/issues/69#issuecomment-13827797" -} diff --git a/sys-apps/kmscon/kmscon-8_p20180906.ebuild b/sys-apps/kmscon/kmscon-8_p20180906.ebuild deleted file mode 100644 index c24fedc3f965..000000000000 --- a/sys-apps/kmscon/kmscon-8_p20180906.ebuild +++ /dev/null @@ -1,143 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -COMMIT="01dd0a231e2125a40ceba5f59fd945ff29bf2cdc" -SRC_URI="https://github.com/Aetf/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" -KEYWORDS="~amd64 ~x86" - -inherit autotools flag-o-matic systemd vcs-snapshot - -DESCRIPTION="KMS/DRM based virtual Console Emulator" -HOMEPAGE="https://github.com/Aetf/kmscon" - -LICENSE="MIT LGPL-2.1 BSD-2" -SLOT="0" -IUSE="debug doc +drm +fbdev +gles2 +optimizations +pango pixman static-libs systemd +unicode" - -COMMON_DEPEND=" - >=virtual/udev-172 - x11-libs/libxkbcommon - >=dev-libs/libtsm-4.0.0:= - media-libs/mesa[X(+)] - drm? ( x11-libs/libdrm - >=media-libs/mesa-8.0.3[egl,gbm] ) - gles2? ( >=media-libs/mesa-8.0.3[gles2] ) - systemd? ( sys-apps/systemd ) - pango? ( x11-libs/pango dev-libs/glib:2 ) - pixman? ( x11-libs/pixman )" -RDEPEND="${COMMON_DEPEND} - x11-misc/xkeyboard-config" -DEPEND="${COMMON_DEPEND} - virtual/pkgconfig - x11-base/xorg-proto - doc? ( dev-util/gtk-doc )" - -REQUIRED_USE="gles2? ( drm )" - -# args - names of renderers to enable -renderers_enable() { - if [[ "x${RENDER}" == "x" ]]; then - RENDER="$1" - shift - else - for i in $@; do - RENDER+=",${i}" - done - fi -} - -# args - names of font renderer backends to enable -fonts_enable() { - if [[ "x${FONTS}" == "x" ]]; then - FONTS="$1" - shift - else - for i in $@; do - FONTS+=",${i}" - done - fi -} - -# args - names of video backends to enable -video_enable() { - if [[ "x${VIDEO}" == "x" ]]; then - VIDEO="$1" - shift - else - for i in $@; do - VIDEO+=",${i}" - done - fi -} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - # Video backends - - if use fbdev; then - video_enable fbdev - fi - - if use drm; then - video_enable drm2d - fi - - if use gles2; then - video_enable drm3d - fi - - # Font rendering backends - - if use unicode; then - fonts_enable unifont - fi - - if use pango; then - fonts_enable pango - fi - - # Console rendering backends - - renderers_enable bbulk - - if use gles2; then - renderers_enable gltex - fi - - if use pixman; then - renderers_enable pixman - fi - - # kmscon sets -ffast-math unconditionally - strip-flags - - # xkbcommon not in portage - econf \ - $(use_enable static-libs static) \ - $(use_enable debug) \ - $(use_enable optimizations) \ - $(use_enable systemd multi-seat) \ - --with-video=${VIDEO} \ - --with-fonts=${FONTS} \ - --with-renderers=${RENDER} \ - --with-sessions=dummy,terminal -} - -src_install() { - emake DESTDIR="${D}" install - systemd_dounit "${S}/docs"/kmscon{,vt@}.service -} - -pkg_postinst() { - grep -e "^ERASECHAR" "${EROOT}"/etc/login.defs && \ - ewarn "It is recommended that you comment out the ERASECHAR line in" && \ - ewarn " /etc/login.defs for proper backspace functionality at the" && \ - ewarn " kmscon login prompt. For details see:" && \ - ewarn "https://github.com/dvdhrm/kmscon/issues/69#issuecomment-13827797" -} |