From 34d0378bc17e913b037ce9edccf0b6c7250ed840 Mon Sep 17 00:00:00 2001 From: ormorph Date: Mon, 31 Oct 2022 14:39:35 +0000 Subject: [PATCH] Fixed shortcomings of TDM ebuilds Signed-off-by: ormorph --- trinity-base/tdm/metadata.xml | 6 +++--- trinity-base/tdm/tdm-14.0.12.ebuild | 8 ++++---- trinity-base/tdm/tdm-14.0.13.ebuild | 10 +++++----- trinity-base/tdm/tdm-9999.ebuild | 8 ++++---- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/trinity-base/tdm/metadata.xml b/trinity-base/tdm/metadata.xml index 2a40b214..3cae580e 100644 --- a/trinity-base/tdm/metadata.xml +++ b/trinity-base/tdm/metadata.xml @@ -1,9 +1,9 @@ - - fatzer2@gmail.com - Alexander Golubev + + team-gentoo@trinitydesktop.org + Trinity Gentoo ebuilds project Support for x11-libs/libXdmcp diff --git a/trinity-base/tdm/tdm-14.0.12.ebuild b/trinity-base/tdm/tdm-14.0.12.ebuild index 7a6763b2..06cbc65e 100644 --- a/trinity-base/tdm/tdm-14.0.12.ebuild +++ b/trinity-base/tdm/tdm-14.0.12.ebuild @@ -7,7 +7,7 @@ EAPI="8" TRINITY_MODULE_NAME="tdebase" TRINITY_MODULE_TYPE="core" TSM_EXTRACT_ALSO="translations/" -inherit trinity-meta-2 +inherit linux-info trinity-meta-2 DESCRIPTION="Trinity login manager, similar to XDM and GDM" if [[ ${PV} != *9999* ]] ; then @@ -52,7 +52,7 @@ src_configure() { } src_install() { - cmake_src_install + trinity-meta-2_src_install # Customize the tdmrc configuration sed -i -e "s:#SessionsDirs=:SessionsDirs=/usr/share/xsessions\n#SessionsDirs=:" \ @@ -99,8 +99,8 @@ pkg_postinst() { fi fi if [[ "$sak_ok" != yes ]]; then - sed -i -e 's:#\?\s*UseSAK=\(true\|false\)\?:UseSak=false:' \ - "${D}${TDEDIR}/share/config/tdm/tdmrc" || die "sed tdmrc failed" + sed -i -e 's:#\?\s*UseSAK=\(true\|false\)\?:UseSAK=false:' \ + "${TDEDIR}/share/config/tdm/tdmrc" || die "sed tdmrc failed" ewarn "SAK feature is disabled. You can enable it yourself by setting UseSAK=true" ewarn "in ${TDEDIR}/share/config/tdm/tdmrc " else diff --git a/trinity-base/tdm/tdm-14.0.13.ebuild b/trinity-base/tdm/tdm-14.0.13.ebuild index 7a6763b2..e801ca1b 100644 --- a/trinity-base/tdm/tdm-14.0.13.ebuild +++ b/trinity-base/tdm/tdm-14.0.13.ebuild @@ -7,7 +7,7 @@ EAPI="8" TRINITY_MODULE_NAME="tdebase" TRINITY_MODULE_TYPE="core" TSM_EXTRACT_ALSO="translations/" -inherit trinity-meta-2 +inherit linux-info trinity-meta-2 DESCRIPTION="Trinity login manager, similar to XDM and GDM" if [[ ${PV} != *9999* ]] ; then @@ -52,11 +52,11 @@ src_configure() { } src_install() { - cmake_src_install + trinity-meta-2_src_install # Customize the tdmrc configuration sed -i -e "s:#SessionsDirs=:SessionsDirs=/usr/share/xsessions\n#SessionsDirs=:" \ - "${D}/${TDEDIR}/share/config/tdm/tdmrc" || die "sed tdmrc failed" + "${TDEDIR}/share/config/tdm/tdmrc" || die "sed tdmrc failed" # Install XSession upstream script seems to be debian-cpecific cp "${FILESDIR}/${PN}-14.0.8-xsession.script" "${D}/${TDEDIR}/share/config/tdm/Xsession" || die @@ -99,8 +99,8 @@ pkg_postinst() { fi fi if [[ "$sak_ok" != yes ]]; then - sed -i -e 's:#\?\s*UseSAK=\(true\|false\)\?:UseSak=false:' \ - "${D}${TDEDIR}/share/config/tdm/tdmrc" || die "sed tdmrc failed" + sed -i -e 's:#\?\s*UseSAK=\(true\|false\)\?:UseSAK=false:' \ + "${TDEDIR}/share/config/tdm/tdmrc" || die "sed tdmrc failed" ewarn "SAK feature is disabled. You can enable it yourself by setting UseSAK=true" ewarn "in ${TDEDIR}/share/config/tdm/tdmrc " else diff --git a/trinity-base/tdm/tdm-9999.ebuild b/trinity-base/tdm/tdm-9999.ebuild index d1c8c352..a6fcc57a 100644 --- a/trinity-base/tdm/tdm-9999.ebuild +++ b/trinity-base/tdm/tdm-9999.ebuild @@ -7,7 +7,7 @@ EAPI="8" TRINITY_MODULE_NAME="tdebase" TRINITY_MODULE_TYPE="core" TSM_EXTRACT_ALSO="translations/" -inherit trinity-meta-2 +inherit linux-info trinity-meta-2 DESCRIPTION="Trinity login manager, similar to XDM and GDM" if [[ ${PV} != *9999* ]] ; then @@ -52,7 +52,7 @@ src_configure() { } src_install() { - cmake_src_install + trinity-meta-2_src_install # Customize the tdmrc configuration sed -i -e "s:#SessionsDirs=:SessionsDirs=/usr/share/xsessions\n#SessionsDirs=:" \ @@ -99,8 +99,8 @@ pkg_postinst() { fi fi if [[ "$sak_ok" != yes ]]; then - sed -i -e 's:#\?\s*UseSAK=\(true\|false\)\?:UseSak=false:' \ - "${D}${TDEDIR}/share/config/tdm/tdmrc" || die "sed tdmrc failed" + sed -i -e 's:#\?\s*UseSAK=\(true\|false\)\?:UseSAK=false:' \ + "${TDEDIR}/share/config/tdm/tdmrc" || die "sed tdmrc failed" ewarn "SAK feature is disabled. You can enable it yourself by setting UseSAK=true" ewarn "in ${TDEDIR}/share/config/tdm/tdmrc " else