From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/slim/
Date: Sun, 25 Jul 2021 23:23:45 +0000 (UTC) [thread overview]
Message-ID: <1627255415.6118c0e2e25e655cdf9ae2608277822ea706ccb3.sam@gentoo> (raw)
commit: 6118c0e2e25e655cdf9ae2608277822ea706ccb3
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 25 23:11:21 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 25 23:23:35 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6118c0e2
x11-misc/slim: drop obsolete live ebuild
Signed-off-by: Sam James <sam <AT> gentoo.org>
x11-misc/slim/slim-1.3.6-r5.ebuild | 9 +--
x11-misc/slim/slim-9999.ebuild | 131 -------------------------------------
2 files changed, 2 insertions(+), 138 deletions(-)
diff --git a/x11-misc/slim/slim-1.3.6-r5.ebuild b/x11-misc/slim/slim-1.3.6-r5.ebuild
index 66c1f3e89e6..880a442d847 100644
--- a/x11-misc/slim/slim-1.3.6-r5.ebuild
+++ b/x11-misc/slim/slim-1.3.6-r5.ebuild
@@ -6,13 +6,8 @@ EAPI=7
inherit cmake pam systemd
DESCRIPTION="Simple Login Manager"
-if [[ ${PV} == 9999* ]]; then
- EGIT_REPO_URI="https://github.com/axs-gentoo/slim-git.git"
- inherit git-r3
-else
- SRC_URI="mirror://sourceforge/project/${PN}.berlios/${P}.tar.gz"
- KEYWORDS="amd64 arm ~arm64 ~mips ppc ppc64 sparc x86"
-fi
+SRC_URI="mirror://sourceforge/project/${PN}.berlios/${P}.tar.gz"
+KEYWORDS="amd64 arm ~arm64 ~mips ppc ppc64 sparc x86"
LICENSE="GPL-2"
SLOT="0"
diff --git a/x11-misc/slim/slim-9999.ebuild b/x11-misc/slim/slim-9999.ebuild
deleted file mode 100644
index cfaf87f96c0..00000000000
--- a/x11-misc/slim/slim-9999.ebuild
+++ /dev/null
@@ -1,131 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake pam systemd
-
-DESCRIPTION="Simple Login Manager"
-if [[ ${PV} == 9999* ]]; then
- EGIT_REPO_URI="https://github.com/axs-gentoo/slim-git.git"
- inherit git-r3
-else
- SRC_URI="mirror://sourceforge/project/${PN}.berlios/${P}.tar.gz"
- KEYWORDS="amd64 arm ~arm64 ~mips ppc ppc64 sparc x86"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="branding pam"
-
-RDEPEND="x11-libs/libXmu
- x11-libs/libX11
- x11-libs/libXpm
- x11-libs/libXft
- x11-libs/libXrandr
- media-libs/libpng:0=
- virtual/jpeg:=
- x11-apps/sessreg
- pam? ( sys-libs/pam
- !x11-misc/slimlock )"
-DEPEND="${RDEPEND}
- x11-base/xorg-proto"
-BDEPEND="virtual/pkgconfig"
-PDEPEND="branding? ( >=x11-themes/slim-themes-1.2.3a-r3 )"
-
-PATCHES=(
- # Our Gentoo-specific config changes
- "${FILESDIR}"/${P}-config.diff
-)
-
-src_prepare() {
- cmake_src_prepare
-
- if use elibc_FreeBSD; then
- sed -i -e 's/"-DHAVE_SHADOW"/"-DNEEDS_BASENAME"/' CMakeLists.txt \
- || die
- fi
-
- if use branding; then
- sed -i -e '/current_theme/s/default/slim-gentoo-simple/' slim.conf \
- || die
- fi
-}
-
-src_configure() {
- local mycmakeargs=(
- -DUSE_PAM=$(usex pam)
- -DUSE_CONSOLEKIT=OFF
- )
-
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- if use pam ; then
- pamd_mimic system-local-login slim auth account session
- pamd_mimic system-local-login slimlock auth
- fi
-
- systemd_dounit build_files/slim.service
-
- insinto /usr/share/slim
- newins "${FILESDIR}/Xsession-r3" Xsession
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}/slim.logrotate" slim
-
- dodoc xinitrc.sample README THEMES
-}
-
-pkg_postinst() {
- # massage ${REPLACING_VERSIONS} to come up with whether or not it's a new install
- # or if it's older than 1.3.2-r7
- # Note - there should only ever be zero or one version as this package isn't slotted,
- # so the logic doesn't worry about what happens if there's two, due to the case where
- # a previous emerge attempt failed in the middle of qmerge.
- local rv=none
- for rv in ${REPLACING_VERSIONS} ; do
- if ver_test "1.3.2-r7" -le "${rv}" ; then
- rv=newer
- break;
- fi
-
- if ver_test "1.0" -le "${rv}" ; then
- rv=older
- break;
- fi
- done
-
- if [[ ${rv} == none ]]; then
- elog
- elog "The configuration file is located at /etc/slim.conf."
- elog
- elog "If you wish ${PN} to start automatically, set DISPLAYMANAGER=\"${PN}\" "
- elog "in /etc/conf.d/xdm and run \"rc-update add xdm default\"."
- fi
- if [[ ${rv} != newer ]]; then
- elog
- elog "By default, ${PN} is set up to do proper X session selection, including ~/.xsession"
- elog "support, as well as selection between sessions available in"
- elog "/etc/X11/Sessions/ at login by pressing [F1]."
- elog
- elog "The XSESSION environment variable is still supported as a default"
- elog "if no session has been specified by the user."
- elog
- elog "If you want to use .xinitrc in the user's home directory for session"
- elog "management instead, see README and xinitrc.sample in"
- elog "/usr/share/doc/${PF} and change your login_cmd in /etc/slim.conf"
- elog "accordingly."
- elog
- fi
-
- if ! use pam; then
- elog "You have merged ${PN} without USE=\"pam\", this will cause ${PN} to fall back to"
- elog "the console when restarting your window manager. If this is not desired, then"
- elog "please remerge ${PN} with USE=\"pam\""
- elog
- fi
-}
next reply other threads:[~2021-07-25 23:23 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-25 23:23 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-05-29 6:14 [gentoo-commits] repo/gentoo:master commit in: x11-misc/slim/ Joonas Niilola
2023-05-29 6:14 Joonas Niilola
2023-05-29 6:14 Joonas Niilola
2023-05-28 23:41 Sam James
2023-05-28 23:33 Sam James
2023-05-28 23:33 Sam James
2023-05-28 23:33 Sam James
2023-05-28 23:33 Sam James
2023-02-28 12:41 Yixun Lan
2022-01-02 17:49 David Seifert
2021-07-25 23:24 Sam James
2021-04-18 6:06 Sam James
2020-11-25 19:42 Jonas Stein
2020-10-08 19:43 Mikle Kolyada
2020-07-10 13:23 Sam James
2019-10-12 17:54 Mikle Kolyada
2019-01-12 20:07 Andreas Sturmlechner
2017-10-16 3:34 David Seifert
2017-07-30 9:23 Michał Górny
2017-03-07 9:14 David Seifert
2016-12-23 10:11 Johannes Huber
2016-07-25 14:39 Ian Stakenvicius
2015-10-11 13:37 Markus Meier
2015-09-23 12:52 Agostino Sarubbo
2015-09-22 8:57 Agostino Sarubbo
2015-09-20 9:30 Agostino Sarubbo
2015-09-19 12:32 Agostino Sarubbo
2015-09-14 15:44 Ian Stakenvicius
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1627255415.6118c0e2e25e655cdf9ae2608277822ea706ccb3.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox