Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 671434 - app-text/zathura-0.4.1 add USE=doc to make dev-python/sphinx optional
Summary: app-text/zathura-0.4.1 add USE=doc to make dev-python/sphinx optional
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-18 14:33 UTC by Cedric Sodhi
Modified: 2018-12-07 12:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
zathura-0.4.1.ebuild.patch (ebuild.patch,881 bytes, patch)
2018-11-25 10:02 UTC, Cedric Sodhi
Details | Diff
zathura-optional.doc.patch (new file) (zathura-optional-doc.patch,771 bytes, patch)
2018-11-25 10:03 UTC, Cedric Sodhi
Details | Diff
Updates required for ebuild (zathura-9999.ebuild.patch,1.17 KB, patch)
2018-11-30 12:04 UTC, Cedric Sodhi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Cedric Sodhi 2018-11-18 14:33:16 UTC
dev-python/sphinx was added to 0.4.1 and pulls in a lot of stuff. It would be nice if that was optional with a USE=doc flag.
Comment 1 Cedric Sodhi 2018-11-25 10:02:54 UTC
Created attachment 556222 [details, diff]
zathura-0.4.1.ebuild.patch
Comment 2 Cedric Sodhi 2018-11-25 10:03:35 UTC
Created attachment 556224 [details, diff]
zathura-optional.doc.patch (new file)
Comment 3 Cedric Sodhi 2018-11-25 10:05:00 UTC
Added a donwstream patch file (zathura-optional-doc.patch) and the ebuild patch to add USE=doc.
Comment 4 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2018-11-25 12:26:11 UTC
report it upstream, gentoo has nothing to do here
Comment 5 Cedric Sodhi 2018-11-25 12:30:40 UTC
Upstream only accepts making it automagic, but says we should patch it if we want sphinx optional. I don't see any problem with that?
Comment 6 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2018-11-25 12:39:44 UTC
are there any references whewre they refuse to patch this?
Comment 7 Cedric Sodhi 2018-11-25 13:11:44 UTC
In the spirit of http://www-sop.inria.fr/members/Joelle.Despeyroux/proofs.txt "Proof by Personal Communication" (irc://oftc.net/pwmt):

> [11:23 Sebastinas] Then please patch that downstream.

It was later mentioned that they might apply an according patch after the move to meson-0.74.0. Though I don't know when this will happen.
Comment 8 Cedric Sodhi 2018-11-25 13:13:00 UTC
Erratum: meson-0.47.0
Comment 9 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2018-11-25 13:15:04 UTC
meh, it is stupid

Ok, I will take a look as I am not ok with spinx being needlessly installed on my desktop, and heard there are patches sent to upstream, though :/
Comment 10 Cedric Sodhi 2018-11-25 13:25:41 UTC
In all fairness, should add that sphinx is properly a bdep, contrary what it says in the ebuild. So if the patch is not all-right, at least it should be moved over into DEPEND.
Comment 11 Sebastian Ramacher 2018-11-25 14:57:26 UTC
For reference: we are not opposed to fixing this properly upstream. However, we won't take the patch as is and would prefer to fix this by using meson 0.47's "feature" build option (for all optional dependencies). If you, Cedric, can't be bothered to update the patch so that we are happy to maintain it in the future, then yes, you'll have to "patch it downstream". Otherwise be patient and wait until we have the time and motivation to fix that ourselves. And the motivation to do that is non existing after our interaction.
Comment 12 Cedric Sodhi 2018-11-25 15:38:23 UTC
(In reply to Sebastian Ramacher from comment #11)
> For reference: we are not opposed to fixing this properly upstream. However,
> we won't take the patch as is and would prefer to fix this by using meson
> 0.47's "feature" build option (for all optional dependencies). If you,
> Cedric, can't be bothered to update the patch so that we are happy to
> maintain it in the future, then yes, you'll have to "patch it downstream".
> Otherwise be patient and wait until we have the time and motivation to fix
> that ourselves. And the motivation to do that is non existing after our
> interaction.

Excuse me, but I don't think that insinuating I couldn't be bothered to update the patch is fair, since your reply to my offering the patch was:

> [13:53 Sebastinas] Come back after we've switch to meson 0.48 and its features support.

and I even added

> [14:14 ManDay] yeah, if you moved to meson-0.47 and it's still mandatory I'll try to get you another patch

That said, I offered the patch for current situation and proposed I'd port it, once the build system is updated, so I think both, your reluctance to apply it and your response right here are much uncalled for.
Comment 13 Sebastian Ramacher 2018-11-25 15:49:15 UTC
"<Sebastinas> I won't accept in the current state. If you re-write it using meson features, then I'll happily take it."
Comment 14 Sebastian Ramacher 2018-11-25 16:14:58 UTC
Why is dev-python/sphinx even listed in RDEPENDS? It's a build dependency only. It is not required during runtime at all.
Comment 15 Cedric Sodhi 2018-11-30 12:04:19 UTC
Fixed upstream by Sebastian:

https://git.pwmt.org/pwmt/zathura/compare/fac4f7fea3ae735492b77a18731dacd22df8c5e8...6719bee7

Adding the patch for -9999. FWIW, the meson eclass does not enforce the required >=meson-0.47, but since 0.47 is in all stable this should work.
Comment 16 Cedric Sodhi 2018-11-30 12:04:55 UTC
Created attachment 556774 [details, diff]
Updates required for ebuild
Comment 17 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2018-12-07 09:38:18 UTC
(In reply to Cedric Sodhi from comment #15)
> Fixed upstream by Sebastian:
> 
> https://git.pwmt.org/pwmt/zathura/compare/
> fac4f7fea3ae735492b77a18731dacd22df8c5e8...6719bee7
> 
> Adding the patch for -9999. FWIW, the meson eclass does not enforce the
> required >=meson-0.47, but since 0.47 is in all stable this should work.

then I do not see the point to port it
Comment 18 Cedric Sodhi 2018-12-07 12:11:45 UTC
Please clarify? Port what? Why did you mark the ebuild-patch as obsolete and why is this now WONTFIX?
Comment 19 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2018-12-07 12:15:27 UTC
(In reply to Cedric Sodhi from comment #18)
> Please clarify? Port what? Why did you mark the ebuild-patch as obsolete and
> why is this now WONTFIX?

I am not gonna fix upstream madness and port ton of patches just because they change their mind all the time. Maybe they will fix in in the new release.
Comment 20 Cedric Sodhi 2018-12-07 12:54:13 UTC
Might this be a misunderstanding? The problem was *properly* fixed upstream. My ebuild patch merely added the newly gained "manpages" feature under a "doc" USE flag for future versions (and necessarily in -9999). So I think this can be closed RESOLVED FIXED or UPSTREAM?