mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
x11-apps/xdm: Drop old versions
Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST xdm-1.1.13.tar.xz 418404 BLAKE2B b5e1df5e0fd284b227bac5b07114b7882c34adca8c8f7878350576f865ec0675fc7f8218b5eba24e0ca75895093f9412e838a997562ec99bc8196233354bd7eb SHA512 1c7ba51dc8c6989ff6ede3a3abd06e002903609d4ebd31f06ec39fbfee3a80a690c6180f85c3ab135a0de4623261d92a191d1ca5f733cdb3bd2e7e78977b98e5
|
||||
DIST xdm-1.1.14.tar.xz 419324 BLAKE2B e1c4f1db1af670171e80b7ab759f8e477c84997a873401eb27042590eebe457b38dc7bc998c42e954012ce06c1f4c216655a9c2809a22d88e372c9f7b57e0ff0 SHA512 8ed1d2c946916c24cb4b2de9326f65629c97e53b145312c9cb9c6e4308d8b47d67d3981319fbd4feac9b3ed436b9dfb24a1c905d37d7bcf07b49c18a68c7a6e4
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
configure.ac | 10 ++++++++--
|
||||
1 file changed, 8 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index db973f7..64a0e37 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -330,7 +330,13 @@ AC_SUBST(SHELL_CMD)
|
||||
|
||||
PKG_CHECK_MODULES(XDM, [xmu x11 xau xproto >= 7.0.17])
|
||||
|
||||
-PKG_CHECK_EXISTS(xinerama, [
|
||||
+AC_ARG_WITH(xinerama,
|
||||
+ AS_HELP_STRING([--with-xinerama],
|
||||
+ [Use Xinerama (default is YES if installed)]),
|
||||
+ [USE_XINERAMA="$withval"],
|
||||
+ PKG_CHECK_EXISTS(xinerama, [USE_XINERAMA="yes"], [USE_XINERAMA="no"]))
|
||||
+
|
||||
+if test "x$USE_XINERAMA" = "xyes" ; then
|
||||
AC_DEFINE([USE_XINERAMA], 1,
|
||||
[Define to 1 to use XINERAMA in greeter & chooser])
|
||||
PKG_CHECK_MODULES(XINERAMA, xinerama)
|
||||
@@ -338,7 +344,7 @@ PKG_CHECK_EXISTS(xinerama, [
|
||||
CHOOSER_LIBS="$CHOOSER_LIBS $XINERAMA_LIBS"
|
||||
GREETER_CFLAGS="$GREETER_CFLAGS $XINERAMA_CFLAGS"
|
||||
GREETER_LIBS="$GREETER_LIBS $XINERAMA_LIBS"
|
||||
-])
|
||||
+fi
|
||||
|
||||
# Xft text drawing for the greeter screen
|
||||
AC_ARG_WITH(xft,
|
||||
--
|
||||
2.19.2
|
||||
|
||||
@@ -1,82 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
XORG_EAUTORECONF=yes
|
||||
XORG_TARBALL_SUFFIX="xz"
|
||||
inherit xorg-3 pam systemd
|
||||
|
||||
DEFAULTVT=vt7
|
||||
|
||||
DESCRIPTION="X.Org xdm application"
|
||||
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
IUSE="ipv6 pam systemd truetype xinerama xpm"
|
||||
|
||||
RDEPEND="
|
||||
x11-apps/sessreg
|
||||
x11-apps/xconsole
|
||||
x11-apps/xinit
|
||||
x11-apps/xrdb
|
||||
x11-apps/xsm
|
||||
x11-libs/libX11
|
||||
x11-libs/libXaw
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
virtual/libcrypt:=
|
||||
pam? ( sys-libs/pam )
|
||||
systemd? ( >=sys-apps/systemd-209 )
|
||||
truetype? (
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXft
|
||||
)
|
||||
xinerama? ( x11-libs/libXinerama )
|
||||
xpm? ( x11-libs/libXpm )
|
||||
elibc_glibc? ( dev-libs/libbsd )"
|
||||
DEPEND="${RDEPEND}
|
||||
x11-base/xorg-proto"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/xdm-1.1.12-make-xinerama-optional.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's:^Alias=.*$:Alias=display-manager.service:' \
|
||||
xdm.service.in || die
|
||||
|
||||
# Disable XDM-AUTHORIZATION-1 (bug #445662).
|
||||
# it causes issue with libreoffice and SDL games (bug #306223).
|
||||
sed -i -e '/authorize/a DisplayManager*authName: MIT-MAGIC-COOKIE-1' \
|
||||
config/xdm-config.in || die
|
||||
|
||||
xorg-3_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local XORG_CONFIGURE_OPTIONS=(
|
||||
$(use_enable ipv6)
|
||||
$(use_with pam)
|
||||
$(use_with systemd systemd-daemon)
|
||||
$(use_with truetype xft)
|
||||
$(use_with xinerama)
|
||||
$(use_enable xpm xpm-logos)
|
||||
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
|
||||
--with-default-vt=${DEFAULTVT}
|
||||
--with-xdmconfigdir=/etc/X11/xdm
|
||||
)
|
||||
xorg-3_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
xorg-3_src_install
|
||||
|
||||
exeinto /usr/$(get_libdir)/X11/xdm
|
||||
doexe "${FILESDIR}"/Xsession
|
||||
|
||||
use pam && pamd_mimic system-local-login xdm auth account session
|
||||
|
||||
# Keep /var/lib/xdm. This is where authfiles are stored. See #286350.
|
||||
keepdir /var/lib/xdm
|
||||
}
|
||||
Reference in New Issue
Block a user