From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: media-sound/amarok/
Date: Tue, 4 May 2021 16:05:19 +0000 (UTC) [thread overview]
Message-ID: <1620143772.2b64abf82a29fef9dfe1f2a5e9c5ad4d099bb4ce.asturm@gentoo> (raw)
commit: 2b64abf82a29fef9dfe1f2a5e9c5ad4d099bb4ce
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue May 4 15:15:54 2021 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue May 4 15:56:12 2021 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=2b64abf8
media-sound/amarok: Unclutter pkg_postinst() message
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
media-sound/amarok/amarok-9999.ebuild | 36 ++++++++++++++++++-----------------
1 file changed, 19 insertions(+), 17 deletions(-)
diff --git a/media-sound/amarok/amarok-9999.ebuild b/media-sound/amarok/amarok-9999.ebuild
index 397a86c538..40c1222c75 100644
--- a/media-sound/amarok/amarok-9999.ebuild
+++ b/media-sound/amarok/amarok-9999.ebuild
@@ -111,25 +111,27 @@ pkg_postinst() {
echo "${1} ($(has_version ${1} || echo "not ")installed)"
}
+ db_name() {
+ use mariadb && echo "MariaDB" || echo "MySQL"
+ }
+
optfeature "Audio CD support" kde-apps/audiocd-kio
- if [[ -z "${REPLACING_VERSIONS}" ]]; then
- elog "You'll have to configure amarok to use an external database server:"
- if use mariadb ; then
- elog " $(pkg_is_installed dev-db/mariadb)"
- elog " For preliminary configuration of MariaDB Server please refer to"
- elog " https://wiki.gentoo.org/wiki/MariaDB#Configuration"
- else
- elog " $(pkg_is_installed dev-db/mysql)"
- elog " For preliminary configuration of MySQL Server please refer to"
- elog " https://wiki.gentoo.org/wiki/MySQL#Configuration"
- fi
- elog "Please read https://community.kde.org/Amarok/Community/MySQL for details on how"
- elog "to configure the external database and migrate your data from the embedded database."
- elog "To create external amarok database with default user/password please:"
- elog " 1. Make sure that MySQL or MariaDB is installed and configured (see above)"
- elog " 2. Ensure that 'mysql' service is started and then run command 'emerge --config amarok'"
- elog " 3. On 'Configure Amarok - Database' menu page check 'Use external MySQL database' and press OK"
+ if [[ -z ${REPLACING_VERSIONS} ]]; then
+ elog "You must configure ${PN} to use an external database server."
+ elog " 1. Make sure either MySQL or MariaDB is installed and configured"
+ elog " Checking local system:"
+ elog " $(pkg_is_installed dev-db/mariadb)"
+ elog " $(pkg_is_installed dev-db/mysql)"
+ elog " For preliminary configuration of $(db_name) Server refer to"
+ elog " https://wiki.gentoo.org/wiki/$(db_name)#Configuration"
+ elog " 2. Ensure 'mysql' service is started and run:"
+ elog " # emerge --config amarok"
+ elog " 3. Run ${PN} and go to 'Configure Amarok - Database' menu page"
+ elog " Check 'Use external MySQL database' and press OK"
+ elog
+ elog "For more information please read:"
+ elog " https://community.kde.org/Amarok/Community/MySQL"
fi
}
next reply other threads:[~2021-05-04 16:05 UTC|newest]
Thread overview: 97+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-04 16:05 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-23 21:50 [gentoo-commits] proj/kde:master commit in: media-sound/amarok/ Andreas Sturmlechner
2025-02-22 9:49 Andreas Sturmlechner
2025-02-22 9:38 Andreas Sturmlechner
2025-02-21 22:46 Andreas Sturmlechner
2025-02-21 16:44 Andreas Sturmlechner
2025-02-21 16:44 Andreas Sturmlechner
2024-12-29 21:54 Andreas Sturmlechner
2024-10-15 20:10 Andreas Sturmlechner
2024-10-13 11:01 Andreas Sturmlechner
2024-05-16 11:49 Andreas Sturmlechner
2024-03-25 19:00 Andreas Sturmlechner
2024-02-27 19:11 Andreas Sturmlechner
2023-12-17 10:36 Andreas Sturmlechner
2023-12-17 10:03 Andreas Sturmlechner
2022-10-11 15:18 Andreas Sturmlechner
2021-05-04 16:05 Andreas Sturmlechner
2020-10-01 17:51 Andreas Sturmlechner
2020-04-26 11:00 Andreas Sturmlechner
2019-04-03 9:10 Andreas Sturmlechner
2019-02-26 11:54 Andreas Sturmlechner
2019-02-25 21:15 Andreas Sturmlechner
2019-02-07 22:50 Andreas Sturmlechner
2018-10-04 21:35 Andreas Sturmlechner
2018-10-04 13:39 Andreas Sturmlechner
2018-10-04 12:20 Andreas Sturmlechner
2018-10-02 19:53 Andreas Sturmlechner
2018-06-07 17:10 Andreas Sturmlechner
2018-05-27 5:44 Andreas Sturmlechner
2018-05-26 23:19 Andreas Sturmlechner
2018-05-06 8:12 Andreas Sturmlechner
2018-03-20 16:50 Andreas Sturmlechner
2018-03-20 16:50 Andreas Sturmlechner
2018-03-15 22:26 Andreas Sturmlechner
2018-03-15 22:26 Andreas Sturmlechner
2018-03-15 22:26 Andreas Sturmlechner
2018-03-15 22:26 Andreas Sturmlechner
2018-03-08 20:55 Andreas Sturmlechner
2018-03-03 17:29 Andreas Sturmlechner
2018-02-27 16:03 Andreas Sturmlechner
2018-02-22 21:14 Andreas Sturmlechner
2018-02-22 20:23 Andreas Sturmlechner
2018-01-07 17:52 Andreas Sturmlechner
2017-12-14 8:22 Andreas Sturmlechner
2017-12-14 8:20 Andreas Sturmlechner
2017-06-25 11:17 Andreas Sturmlechner
2016-07-21 9:41 Michael Palimaka
2016-03-28 12:24 Johannes Huber
2015-12-31 9:17 Michael Palimaka
2015-11-26 16:06 Michael Palimaka
2015-09-14 13:09 Michael Palimaka
2015-09-10 18:15 Michael Palimaka
2015-08-07 21:42 Johannes Huber
2015-02-17 13:53 Michael Palimaka
2015-01-29 14:34 Michael Palimaka
2015-01-29 0:10 Johannes Huber
2014-07-17 13:04 Michael Palimaka
2014-05-04 23:35 Johannes Huber
2014-03-14 14:52 Johannes Huber
2013-11-28 10:55 Michael Palimaka
2013-11-23 23:09 Johannes Huber
2013-10-06 19:57 Chris Reffett
2013-08-18 13:10 Manuel Rüger
2013-08-17 14:39 Michael Palimaka
2013-08-16 3:31 Manuel Rüger
2013-08-16 3:27 Manuel Rüger
2013-08-01 12:32 Michael Palimaka
2013-08-01 11:04 Michael Palimaka
2013-07-18 3:23 Manuel Rüger
2013-07-06 17:14 Manuel Rüger
2013-07-06 16:43 Manuel Rüger
2013-06-06 16:40 Michael Palimaka
2013-06-04 11:28 Michael Palimaka
2013-05-30 12:28 Michael Palimaka
2013-05-16 0:06 David Heidelberger
2013-04-29 20:26 Manuel Rüger
2013-01-07 11:15 Jorge Manuel B. S. Vicetto
2012-12-18 2:58 Paulos Ratis
2012-12-17 4:21 Jorge Manuel B. S. Vicetto
2012-12-10 16:17 Michael Palimaka
2012-09-17 11:55 Johannes Huber
2012-08-24 2:00 Chris Reffett
2012-07-14 18:01 Michael Palimaka
2012-07-09 9:37 Johannes Huber
2012-07-08 14:37 Jorge Manuel B. S. Vicetto
2012-07-08 14:29 Jorge Manuel B. S. Vicetto
2012-07-08 14:05 Jorge Manuel B. S. Vicetto
2012-06-04 19:16 Jorge Manuel B. S. Vicetto
2012-05-26 16:12 Alexey Shvetsov
2012-05-02 22:16 Johannes Huber
2012-02-09 15:38 Johannes Huber
2011-11-15 4:49 Jorge Manuel B. S. Vicetto
2011-11-15 4:22 Jorge Manuel B. S. Vicetto
2011-11-08 20:37 Johannes Huber
2011-08-23 21:56 Andreas Hüttel
2011-07-31 0:22 Jorge Manuel B. S. Vicetto
2011-07-10 0:33 Johannes Huber
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=1620143772.2b64abf82a29fef9dfe1f2a5e9c5ad4d099bb4ce.asturm@gentoo \
--to=asturm@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