summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorormorph <roma251078@mail.ru>2024-06-03 20:29:15 +0300
committerormorph <roma251078@mail.ru>2024-06-03 20:30:50 +0300
commitf2b8d2a65ae8b42de5688c8ae8bc52dc8095b207 (patch)
treed300b9b8a4bfda6abdb45e2c71d6152018ba7179
parent223ba529fb5a8122f242780762dde59fa1724cd1 (diff)
downloadtde-packaging-gentoo-f2b8d2a65ae8b42de5688c8ae8bc52dc8095b207.tar.gz
tde-packaging-gentoo-f2b8d2a65ae8b42de5688c8ae8bc52dc8095b207.zip
Added support for loading tdm unit to systemd
Solving problem #380 Signed-off-by: ormorph <roma251078@mail.ru>
-rw-r--r--trinity-base/tdm/tdm-14.1.1.ebuild4
-rw-r--r--trinity-base/tdm/tdm-14.1.2.ebuild4
-rw-r--r--trinity-base/tdm/tdm-9999.ebuild4
3 files changed, 9 insertions, 3 deletions
diff --git a/trinity-base/tdm/tdm-14.1.1.ebuild b/trinity-base/tdm/tdm-14.1.1.ebuild
index 4e6c44f0..0b2b794a 100644
--- a/trinity-base/tdm/tdm-14.1.1.ebuild
+++ b/trinity-base/tdm/tdm-14.1.1.ebuild
@@ -12,7 +12,7 @@ DESCRIPTION="Trinity login manager, similar to XDM and GDM"
if [[ ${PV} != *9999* ]] ; then
KEYWORDS="~amd64 ~arm64 ~x86"
fi
-IUSE="+hwlib pam sak +svg xcomposite xdmcp +xrandr"
+IUSE="+hwlib pam sak systemd +svg xcomposite xdmcp +xrandr"
DEPEND="
sys-apps/dbus
@@ -20,6 +20,7 @@ DEPEND="
~trinity-base/tdelibs-${PV}[xrandr?]
x11-libs/libXtst
pam? ( trinity-base/tdebase-pam )
+ systemd? ( sys-apps/systemd )
svg? ( media-libs/libart_lgpl )
xcomposite? ( x11-libs/libXcomposite )
xdmcp? ( x11-libs/libXdmcp )
@@ -41,6 +42,7 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
+ -DBUILD_TDM_SYSTEMD_UNIT_FILE="$(usex systemd)"
-DWITH_XTEST=ON
-DWITH_SHADOW=ON
-DWITH_LIBART="$(usex svg)"
diff --git a/trinity-base/tdm/tdm-14.1.2.ebuild b/trinity-base/tdm/tdm-14.1.2.ebuild
index 8e37f63f..ac50b56e 100644
--- a/trinity-base/tdm/tdm-14.1.2.ebuild
+++ b/trinity-base/tdm/tdm-14.1.2.ebuild
@@ -12,7 +12,7 @@ DESCRIPTION="Trinity login manager, similar to XDM and GDM"
if [[ ${PV} != *9999* ]] ; then
KEYWORDS="~amd64 ~arm64 ~x86"
fi
-IUSE="+hwlib pam sak +svg xcomposite xdmcp +xrandr"
+IUSE="+hwlib pam sak systemd +svg xcomposite xdmcp +xrandr"
DEPEND="
sys-apps/dbus
@@ -20,6 +20,7 @@ DEPEND="
~trinity-base/tdelibs-${PV}[xrandr?]
x11-libs/libXtst
pam? ( trinity-base/tdebase-pam )
+ systemd? ( sys-apps/systemd )
svg? ( media-libs/libart_lgpl )
xcomposite? ( x11-libs/libXcomposite )
xdmcp? ( x11-libs/libXdmcp )
@@ -36,6 +37,7 @@ pkg_setup() {
src_configure() {
local mycmakeargs=(
+ -DBUILD_TDM_SYSTEMD_UNIT_FILE="$(usex systemd)"
-DWITH_XTEST=ON
-DWITH_SHADOW=ON
-DWITH_LIBART="$(usex svg)"
diff --git a/trinity-base/tdm/tdm-9999.ebuild b/trinity-base/tdm/tdm-9999.ebuild
index eaee9ed7..23712eb9 100644
--- a/trinity-base/tdm/tdm-9999.ebuild
+++ b/trinity-base/tdm/tdm-9999.ebuild
@@ -13,7 +13,7 @@ DESCRIPTION="Trinity login manager, similar to XDM and GDM"
if [[ ${PV} != *9999* ]] ; then
KEYWORDS="~amd64 ~arm64 ~x86"
fi
-IUSE="+hwlib pam sak +svg xcomposite xdmcp +xrandr"
+IUSE="+hwlib pam sak systemd +svg xcomposite xdmcp +xrandr"
DEPEND="
sys-apps/dbus
@@ -21,6 +21,7 @@ DEPEND="
~trinity-base/tdelibs-${PV}[xrandr?]
x11-libs/libXtst
pam? ( trinity-base/tdebase-pam )
+ systemd? ( sys-apps/systemd )
svg? ( media-libs/libart_lgpl )
xcomposite? ( x11-libs/libXcomposite )
xdmcp? ( x11-libs/libXdmcp )
@@ -37,6 +38,7 @@ pkg_setup() {
src_configure() {
local mycmakeargs=(
+ -DBUILD_TDM_SYSTEMD_UNIT_FILE="$(usex systemd)"
-DWITH_XTEST=ON
-DWITH_SHADOW=ON
-DWITH_LIBART="$(usex svg)"