From 4c4cc6a4307332c633f17c5effc5874f6392398e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 1 Dec 2023 02:20:35 +0000 Subject: x11-misc/sddm : revision bump --- metadata/md5-cache/x11-misc/sddm-0.20.0 | 17 ----- metadata/md5-cache/x11-misc/sddm-0.20.0-r1 | 17 +++++ metadata/pkg_desc_index | 2 +- x11-misc/sddm/sddm-0.20.0-r1.ebuild | 109 +++++++++++++++++++++++++++++ x11-misc/sddm/sddm-0.20.0.ebuild | 109 ----------------------------- 5 files changed, 127 insertions(+), 127 deletions(-) delete mode 100644 metadata/md5-cache/x11-misc/sddm-0.20.0 create mode 100644 metadata/md5-cache/x11-misc/sddm-0.20.0-r1 create mode 100644 x11-misc/sddm/sddm-0.20.0-r1.ebuild delete mode 100644 x11-misc/sddm/sddm-0.20.0.ebuild diff --git a/metadata/md5-cache/x11-misc/sddm-0.20.0 b/metadata/md5-cache/x11-misc/sddm-0.20.0 deleted file mode 100644 index 96ff185c..00000000 --- a/metadata/md5-cache/x11-misc/sddm-0.20.0 +++ /dev/null @@ -1,17 +0,0 @@ -BDEPEND=dev-python/docutils >=dev-qt/linguist-tools-5.15.2:5 kde-frameworks/extra-cmake-modules:5 virtual/pkgconfig >=dev-util/ninja-1.8.2 >=dev-util/cmake-3.20.5 virtual/pkgconfig -DEFINED_PHASES=compile configure install postinst prepare setup test -DEPEND=acct-group/sddm acct-user/sddm >=dev-qt/qtcore-5.15.2:5 >=dev-qt/qtdbus-5.15.2:5 >=dev-qt/qtdeclarative-5.15.2:5 >=dev-qt/qtgui-5.15.2:5 >=dev-qt/qtnetwork-5.15.2:5 sys-libs/pam x11-libs/libXau x11-libs/libxcb:= branding? ( x11-themes/redcore-theme-sddm ) elogind? ( sys-auth/elogind[pam] ) systemd? ( sys-apps/systemd:=[pam] ) !systemd? ( sys-power/upower ) test? ( >=dev-qt/qttest-5.15.2:5 ) -DESCRIPTION=Simple Desktop Display Manager -EAPI=8 -HOMEPAGE=https://github.com/sddm/sddm -INHERIT=cmake linux-info systemd tmpfiles -IUSE=+branding +elogind systemd test -KEYWORDS=~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 -LICENSE=GPL-2+ MIT CC-BY-3.0 CC-BY-SA-3.0 public-domain -RDEPEND=acct-group/sddm acct-user/sddm >=dev-qt/qtcore-5.15.2:5 >=dev-qt/qtdbus-5.15.2:5 >=dev-qt/qtdeclarative-5.15.2:5 >=dev-qt/qtgui-5.15.2:5 >=dev-qt/qtnetwork-5.15.2:5 sys-libs/pam x11-libs/libXau x11-libs/libxcb:= branding? ( x11-themes/redcore-theme-sddm ) elogind? ( sys-auth/elogind[pam] ) systemd? ( sys-apps/systemd:=[pam] ) !systemd? ( sys-power/upower ) x11-base/xorg-server !systemd? ( gui-libs/display-manager-init ) virtual/tmpfiles -REQUIRED_USE=^^ ( elogind systemd ) -RESTRICT=!test? ( test ) -SLOT=0 -SRC_URI=https://github.com/sddm/sddm/archive/refs/tags/v0.20.0.tar.gz -> sddm-0.20.0.tar.gz -_eclasses_=cmake 0f2e0c197fad0312f3c4765c9cf36271 flag-o-matic baa4d385108ac87993edac956a916a36 linux-info c4f1201b96a8a2c1f3b86cc8b2c71c91 multilib c19072c3cd7ac5cb21de013f7e9832e0 multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe ninja-utils 39e7a84b06eff4efd9f2e0c3d1668b98 systemd c8b03e8df84486aa991d4396686e8942 tmpfiles 216aa76c3a6fcb5d893c23a0de86048f toolchain-funcs eed10cf5e5a06916e654d31f5a1925cc xdg-utils baea6080dd821f5562d715887954c9d3 -_md5_=c8c319cdabc2dc91af7f1257a3e7754f diff --git a/metadata/md5-cache/x11-misc/sddm-0.20.0-r1 b/metadata/md5-cache/x11-misc/sddm-0.20.0-r1 new file mode 100644 index 00000000..7faec884 --- /dev/null +++ b/metadata/md5-cache/x11-misc/sddm-0.20.0-r1 @@ -0,0 +1,17 @@ +BDEPEND=dev-python/docutils >=dev-qt/linguist-tools-5.15.2:5 kde-frameworks/extra-cmake-modules virtual/pkgconfig >=dev-util/ninja-1.8.2 >=dev-util/cmake-3.20.5 virtual/pkgconfig +DEFINED_PHASES=compile configure install postinst prepare setup test +DEPEND=acct-group/sddm acct-user/sddm >=dev-qt/qtcore-5.15.2:5 >=dev-qt/qtdbus-5.15.2:5 >=dev-qt/qtdeclarative-5.15.2:5 >=dev-qt/qtgui-5.15.2:5 >=dev-qt/qtnetwork-5.15.2:5 sys-libs/pam x11-libs/libXau x11-libs/libxcb:= branding? ( x11-themes/redcore-theme-sddm ) elogind? ( sys-auth/elogind[pam] ) systemd? ( sys-apps/systemd:=[pam] ) !systemd? ( sys-power/upower ) test? ( >=dev-qt/qttest-5.15.2:5 ) +DESCRIPTION=Simple Desktop Display Manager +EAPI=8 +HOMEPAGE=https://github.com/sddm/sddm +INHERIT=cmake linux-info systemd tmpfiles +IUSE=+branding +elogind systemd test +KEYWORDS=~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 +LICENSE=GPL-2+ MIT CC-BY-3.0 CC-BY-SA-3.0 public-domain +RDEPEND=acct-group/sddm acct-user/sddm >=dev-qt/qtcore-5.15.2:5 >=dev-qt/qtdbus-5.15.2:5 >=dev-qt/qtdeclarative-5.15.2:5 >=dev-qt/qtgui-5.15.2:5 >=dev-qt/qtnetwork-5.15.2:5 sys-libs/pam x11-libs/libXau x11-libs/libxcb:= branding? ( x11-themes/redcore-theme-sddm ) elogind? ( sys-auth/elogind[pam] ) systemd? ( sys-apps/systemd:=[pam] ) !systemd? ( sys-power/upower ) x11-base/xorg-server !systemd? ( gui-libs/display-manager-init ) virtual/tmpfiles +REQUIRED_USE=^^ ( elogind systemd ) +RESTRICT=!test? ( test ) +SLOT=0 +SRC_URI=https://github.com/sddm/sddm/archive/refs/tags/v0.20.0.tar.gz -> sddm-0.20.0.tar.gz +_eclasses_=cmake 0f2e0c197fad0312f3c4765c9cf36271 flag-o-matic baa4d385108ac87993edac956a916a36 linux-info c4f1201b96a8a2c1f3b86cc8b2c71c91 multilib c19072c3cd7ac5cb21de013f7e9832e0 multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe ninja-utils 39e7a84b06eff4efd9f2e0c3d1668b98 systemd c8b03e8df84486aa991d4396686e8942 tmpfiles 216aa76c3a6fcb5d893c23a0de86048f toolchain-funcs eed10cf5e5a06916e654d31f5a1925cc xdg-utils baea6080dd821f5562d715887954c9d3 +_md5_=32227cefab6afd36246792d656e94654 diff --git a/metadata/pkg_desc_index b/metadata/pkg_desc_index index 5402c3c5..876836f5 100644 --- a/metadata/pkg_desc_index +++ b/metadata/pkg_desc_index @@ -81,7 +81,7 @@ x11-libs/gtk+ 2.24.33-r3 3.24.37-r1: Gimp ToolKit + x11-misc/nvidia-prime 314: NVIDIA Prime Render Offload configuration and utilities x11-misc/nvidia-settings 390.157-r5 470.223.02 535.129.03: NVIDIA Linux X11 Settings Utility x11-misc/pcmanfm-qt-share 1337: PCManFM-QT custom action to share folder using Samba -x11-misc/sddm 0.20.0: Simple Desktop Display Manager +x11-misc/sddm 0.20.0-r1: Simple Desktop Display Manager x11-themes/material-icon-theme 1.314.1337: Icon theme following the Google's material design specifications x11-themes/redcore-artwork-calamares 1.314.1337-r3: Redcore Linux branding component for Calamares x11-themes/redcore-artwork-community 1.314.1337: Redcore Linux Community Wallpapers diff --git a/x11-misc/sddm/sddm-0.20.0-r1.ebuild b/x11-misc/sddm/sddm-0.20.0-r1.ebuild new file mode 100644 index 00000000..c04c9923 --- /dev/null +++ b/x11-misc/sddm/sddm-0.20.0-r1.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + +QTMIN=5.15.2 +inherit cmake linux-info systemd tmpfiles + +DESCRIPTION="Simple Desktop Display Manager" +HOMEPAGE="https://github.com/sddm/sddm" + +LICENSE="GPL-2+ MIT CC-BY-3.0 CC-BY-SA-3.0 public-domain" +SLOT="0" +IUSE="+branding +elogind systemd test" + +REQUIRED_USE="^^ ( elogind systemd )" +RESTRICT="!test? ( test )" + +COMMON_DEPEND=" + acct-group/sddm + acct-user/sddm + >=dev-qt/qtcore-${QTMIN}:5 + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtdeclarative-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtnetwork-${QTMIN}:5 + sys-libs/pam + x11-libs/libXau + x11-libs/libxcb:= + branding? ( x11-themes/redcore-theme-sddm ) + elogind? ( sys-auth/elogind[pam] ) + systemd? ( sys-apps/systemd:=[pam] ) + !systemd? ( sys-power/upower ) +" +DEPEND="${COMMON_DEPEND} + test? ( >=dev-qt/qttest-${QTMIN}:5 ) +" +RDEPEND="${COMMON_DEPEND} + x11-base/xorg-server + !systemd? ( gui-libs/display-manager-init ) +" +BDEPEND=" + dev-python/docutils + >=dev-qt/linguist-tools-${QTMIN}:5 + kde-frameworks/extra-cmake-modules + virtual/pkgconfig +" + +PATCHES=( + # Downstream patches + "${FILESDIR}/${P}-respect-user-flags.patch" + "${FILESDIR}/${PN}-0.18.1-Xsession.patch" # bug 611210 + "${FILESDIR}/${P}-sddm.pam-use-substack.patch" # bug 728550 + "${FILESDIR}/${P}-disable-etc-debian-check.patch" + "${FILESDIR}/${P}-no-default-pam_systemd-module.patch" # bug 669980 + "${FILESDIR}/${P}-fix-use-development-sessions.patch" # git master +) + +pkg_setup() { + local CONFIG_CHECK="~DRM" + use kernel_linux && linux-info_pkg_setup +} + +src_prepare() { + cmake_src_prepare + + if ! use test; then + sed -e "/^find_package/s/ Test//" -i CMakeLists.txt || die + cmake_comment_add_subdirectory test + fi +} + +src_configure() { + local mycmakeargs=( + -DBUILD_MAN_PAGES=ON + -DDBUS_CONFIG_FILENAME="org.freedesktop.sddm.conf" + -DRUNTIME_DIR=/run/sddm + -DSYSTEMD_TMPFILES_DIR="/usr/lib/tmpfiles.d" + -DNO_SYSTEMD=$(usex !systemd) + -DUSE_ELOGIND=$(usex elogind) + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + + # since 0.18.0 sddm no longer installs a config file + # install one ourselves in gentoo's default location + insinto /etc/sddm.conf.d/ + newins "${FILESDIR}"/"${PN}".conf 01redcore.conf + + # override gentoo's default location with the + # classical location which is /etc/sddm.conf + insinto etc + doins "${FILESDIR}"/"${PN}".conf +} + +pkg_postinst() { + tmpfiles_process "${PN}".conf + chown -R "${PN}":"${PN}" /var/lib/"${PN}" + + if use systemd; then + systemd_reenable sddm.service + fi +} diff --git a/x11-misc/sddm/sddm-0.20.0.ebuild b/x11-misc/sddm/sddm-0.20.0.ebuild deleted file mode 100644 index 8bf67d80..00000000 --- a/x11-misc/sddm/sddm-0.20.0.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" - -QTMIN=5.15.2 -inherit cmake linux-info systemd tmpfiles - -DESCRIPTION="Simple Desktop Display Manager" -HOMEPAGE="https://github.com/sddm/sddm" - -LICENSE="GPL-2+ MIT CC-BY-3.0 CC-BY-SA-3.0 public-domain" -SLOT="0" -IUSE="+branding +elogind systemd test" - -REQUIRED_USE="^^ ( elogind systemd )" -RESTRICT="!test? ( test )" - -COMMON_DEPEND=" - acct-group/sddm - acct-user/sddm - >=dev-qt/qtcore-${QTMIN}:5 - >=dev-qt/qtdbus-${QTMIN}:5 - >=dev-qt/qtdeclarative-${QTMIN}:5 - >=dev-qt/qtgui-${QTMIN}:5 - >=dev-qt/qtnetwork-${QTMIN}:5 - sys-libs/pam - x11-libs/libXau - x11-libs/libxcb:= - branding? ( x11-themes/redcore-theme-sddm ) - elogind? ( sys-auth/elogind[pam] ) - systemd? ( sys-apps/systemd:=[pam] ) - !systemd? ( sys-power/upower ) -" -DEPEND="${COMMON_DEPEND} - test? ( >=dev-qt/qttest-${QTMIN}:5 ) -" -RDEPEND="${COMMON_DEPEND} - x11-base/xorg-server - !systemd? ( gui-libs/display-manager-init ) -" -BDEPEND=" - dev-python/docutils - >=dev-qt/linguist-tools-${QTMIN}:5 - kde-frameworks/extra-cmake-modules:5 - virtual/pkgconfig -" - -PATCHES=( - # Downstream patches - "${FILESDIR}/${P}-respect-user-flags.patch" - "${FILESDIR}/${PN}-0.18.1-Xsession.patch" # bug 611210 - "${FILESDIR}/${P}-sddm.pam-use-substack.patch" # bug 728550 - "${FILESDIR}/${P}-disable-etc-debian-check.patch" - "${FILESDIR}/${P}-no-default-pam_systemd-module.patch" # bug 669980 - "${FILESDIR}/${P}-fix-use-development-sessions.patch" # git master -) - -pkg_setup() { - local CONFIG_CHECK="~DRM" - use kernel_linux && linux-info_pkg_setup -} - -src_prepare() { - cmake_src_prepare - - if ! use test; then - sed -e "/^find_package/s/ Test//" -i CMakeLists.txt || die - cmake_comment_add_subdirectory test - fi -} - -src_configure() { - local mycmakeargs=( - -DBUILD_MAN_PAGES=ON - -DDBUS_CONFIG_FILENAME="org.freedesktop.sddm.conf" - -DRUNTIME_DIR=/run/sddm - -DSYSTEMD_TMPFILES_DIR="/usr/lib/tmpfiles.d" - -DNO_SYSTEMD=$(usex !systemd) - -DUSE_ELOGIND=$(usex elogind) - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - - # since 0.18.0 sddm no longer installs a config file - # install one ourselves in gentoo's default location - insinto /etc/sddm.conf.d/ - newins "${FILESDIR}"/"${PN}".conf 01redcore.conf - - # override gentoo's default location with the - # classical location which is /etc/sddm.conf - insinto etc - doins "${FILESDIR}"/"${PN}".conf -} - -pkg_postinst() { - tmpfiles_process "${PN}".conf - chown -R "${PN}":"${PN}" /var/lib/"${PN}" - - if use systemd; then - systemd_reenable sddm.service - fi -} -- cgit v1.2.3