-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
media-sound/mpdscribble: add version 0.23 #22254
Conversation
Pull Request assignmentSubmitter: @ArsenArsen media-sound/mpdscribble: @gentoo/sound Linked bugsIn order to force reassignment and/or bug reference scan, please append Docs: Code of Conduct ● Copyright policy (expl.) ● Devmanual ● GitHub PRs ● Proxy-maint guide |
Pull request CI reportReport generated at: 2021-09-09 12:40 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
Pull request CI reportReport generated at: 2021-09-09 12:55 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay let's process this. Few notes.
# Copyright 1999-2021 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
8 should work now.
inherit meson systemd | ||
|
||
DESCRIPTION="An MPD client that submits information to Audioscrobbler" | ||
HOMEPAGE="https://www.musicpd.org/clients/mpdscribble/" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you also add the Github page as 2ndary HOMEPAGE here?
media-libs/libmpdclient | ||
net-misc/curl | ||
dev-libs/boost | ||
dev-libs/libgcrypt | ||
" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please sort
From 0921e6816d390d219f4e7a4fe72d10a17d67e359 Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?Arsen=20Arsenovi=C4=87?= <arsen@aarsen.me> | ||
Date: Thu, 9 Sep 2021 14:19:01 +0200 | ||
Subject: [PATCH] Don't install AUTHORS, COPYING, NEWS, README.rst | ||
|
||
We install these in ebuilds. | ||
--- | ||
meson.build | 5 ----- | ||
1 file changed, 5 deletions(-) | ||
|
||
diff --git a/meson.build b/meson.build | ||
index b4cc736..28ade21 100644 | ||
--- a/meson.build | ||
+++ b/meson.build | ||
@@ -128,11 +128,6 @@ executable( | ||
install: true | ||
) | ||
|
||
-install_data( | ||
- 'AUTHORS', 'COPYING', 'NEWS', 'README.rst', | ||
- install_dir: join_paths(get_option('datadir'), 'doc', meson.project_name()), | ||
-) | ||
- | ||
subdir('systemd') | ||
|
||
subdir('doc') | ||
-- | ||
2.32.0 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess there's some sort of conflict with compressing these files properly?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, a version with and without compression would be installed
|
||
DOCS=( AUTHORS COPYING NEWS README.rst ) | ||
|
||
DEPEND="${RDEPEND}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please move this below RDEPEND.
|
||
src_prepare() { | ||
# we install these below via systemd_do{,user}unit | ||
sed -i '/install_dir/d' -i systemd/*/meson.build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't you already introduce some sort of patch file for this? Why's the sed needed anymore? Besides, external commands (sed
) needs to || die
.
media-libs/libmpdclient | ||
net-misc/curl | ||
dev-libs/boost | ||
dev-libs/libgcrypt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also if this gets linked, add a subslot binder,
dev-libs/libgcrypt:=
This version of mpdscribble uses meson to build, so a full rewrite of the ebuild was needed. Closes: https://bugs.gentoo.org/812275 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Arsen Arsenović <arsen@aarsen.me>
This ebuild is broken due to upstream changes. Closes: https://bugs.gentoo.org/784398 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Arsen Arsenović <arsen@aarsen.me>
All that should be fixed, I believe. BTW, is the sort order for fields defined anywhere? For future reference |
Pull request CI reportReport generated at: 2021-09-27 09:26 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
Theory: Practical example: EDIT: if you mean the variables, we try to follow the ebuild.skel for tree-wide consistency: FYI getting:
Contribution looks fine, but I'd like to hear your opinion on this: Do you think you can modify the systemd service file & openrc init script to accomplish this? It's not a requirement, will merge if you don't want to put time for that now, but it'd be a great extra. Let me know. |
I did ask about this on IRC, since this is an old issue. This seems like a job for the *tmpfile implementations. I can add the configuration for those. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well let's merge and fix the issues this PR was originally raised for. If you do end up fixing the init.d/service files, please ping me directly in Github so I see it (not part of the project that maintains this)
Addresses https://bugs.gentoo.org/812275 and https://bugs.gentoo.org/784398
Keywords in
0.23
were adjusted to my testing abilities (and even with that might be inaccurate still, since I haven't explicitly tested onx86
alone). I believe bug https://bugs.gentoo.org/605374 can also be addressed in this commit, with some further changes.