From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/slim/
Date: Mon, 16 Oct 2017 03:34:56 +0000 (UTC) [thread overview]
Message-ID: <1508124652.9da455a209dada81709f22fd96037ab779ae8646.soap@gentoo> (raw)
commit: 9da455a209dada81709f22fd96037ab779ae8646
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 16 03:30:52 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Oct 16 03:30:52 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9da455a2
x11-misc/slim: [QA] Add cmake-utils_src_prepare
Package-Manager: Portage-2.3.11, Repoman-2.3.3
x11-misc/slim/slim-1.3.6-r5.ebuild | 36 +++++++++++++++++++-----------------
x11-misc/slim/slim-9999.ebuild | 10 +++++++---
2 files changed, 26 insertions(+), 20 deletions(-)
diff --git a/x11-misc/slim/slim-1.3.6-r5.ebuild b/x11-misc/slim/slim-1.3.6-r5.ebuild
index 6663621cf77..3a0c714df65 100644
--- a/x11-misc/slim/slim-1.3.6-r5.ebuild
+++ b/x11-misc/slim/slim-1.3.6-r5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -32,20 +32,24 @@ DEPEND="${RDEPEND}
x11-proto/xproto"
PDEPEND="branding? ( >=x11-themes/slim-themes-1.2.3a-r3 )"
-src_prepare() {
+PATCHES=(
# Our Gentoo-specific config changes
- epatch "${FILESDIR}"/${P}-config.diff \
- "${FILESDIR}"/${PN}-1.3.5-arm.patch \
- "${FILESDIR}"/${P}-honour-cflags.patch \
- "${FILESDIR}"/${P}-libslim-cmake-fixes.patch \
- "${FILESDIR}"/${PN}-1.3.5-disable-ck-for-systemd.patch \
- "${FILESDIR}"/${P}-strip-systemd-unit-install.patch \
- "${FILESDIR}"/${P}-systemd-session.patch \
- "${FILESDIR}"/${P}-session-chooser.patch \
- "${FILESDIR}"/${P}-fix-slimlock-nopam-v2.patch \
- "${FILESDIR}"/${P}-drop-zlib.patch \
- "${FILESDIR}"/${P}-freetype.patch \
- "${FILESDIR}"/${P}-envcpy-bad-pointer-arithmetic.patch
+ "${FILESDIR}"/${P}-config.diff
+ "${FILESDIR}"/${PN}-1.3.5-arm.patch
+ "${FILESDIR}"/${P}-honour-cflags.patch
+ "${FILESDIR}"/${P}-libslim-cmake-fixes.patch
+ "${FILESDIR}"/${PN}-1.3.5-disable-ck-for-systemd.patch
+ "${FILESDIR}"/${P}-strip-systemd-unit-install.patch
+ "${FILESDIR}"/${P}-systemd-session.patch
+ "${FILESDIR}"/${P}-session-chooser.patch
+ "${FILESDIR}"/${P}-fix-slimlock-nopam-v2.patch
+ "${FILESDIR}"/${P}-drop-zlib.patch
+ "${FILESDIR}"/${P}-freetype.patch
+ "${FILESDIR}"/${P}-envcpy-bad-pointer-arithmetic.patch
+)
+
+src_prepare() {
+ cmake-utils_src_prepare
if use elibc_FreeBSD; then
sed -i -e 's/"-DHAVE_SHADOW"/"-DNEEDS_BASENAME"/' CMakeLists.txt \
@@ -55,12 +59,10 @@ src_prepare() {
if use branding; then
sed -i -e 's/ default/ slim-gentoo-simple/' slim.conf || die
fi
-
- epatch_user
}
src_configure() {
- mycmakeargs=(
+ local mycmakeargs=(
$(cmake-utils_use pam USE_PAM)
$(cmake-utils_use consolekit USE_CONSOLEKIT)
)
diff --git a/x11-misc/slim/slim-9999.ebuild b/x11-misc/slim/slim-9999.ebuild
index 1b8b9a68b1c..7b08d5e831d 100644
--- a/x11-misc/slim/slim-9999.ebuild
+++ b/x11-misc/slim/slim-9999.ebuild
@@ -38,9 +38,13 @@ DEPEND="${RDEPEND}
x11-proto/xproto"
PDEPEND="branding? ( >=x11-themes/slim-themes-1.2.3a-r3 )"
-src_prepare() {
+PATCHES=(
# Our Gentoo-specific config changes
- epatch "${FILESDIR}"/${P}-config.diff
+ "${FILESDIR}"/${P}-config.diff
+)
+
+src_prepare() {
+ cmake-utils_src_prepare
if use elibc_FreeBSD; then
sed -i -e 's/"-DHAVE_SHADOW"/"-DNEEDS_BASENAME"/' CMakeLists.txt \
@@ -54,7 +58,7 @@ src_prepare() {
}
src_configure() {
- mycmakeargs=(
+ local mycmakeargs=(
$(cmake-utils_use pam USE_PAM)
$(cmake-utils_use consolekit USE_CONSOLEKIT)
)
next reply other threads:[~2017-10-16 3:35 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-16 3:34 David Seifert [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-07-25 23:23 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-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=1508124652.9da455a209dada81709f22fd96037ab779ae8646.soap@gentoo \
--to=soap@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