Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831123 - net-news/newsboat: make dependency on ruby optional
Summary: net-news/newsboat: make dependency on ruby optional
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Cédric Krier
URL: https://github.com/newsboat/newsboat/...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-01-13 10:30 UTC by Morteza
Modified: 2024-04-05 17:23 UTC (History)
2 users (show)

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


Attachments
newsboat-2.33 ebuild without docs (file_831123.txt,3.80 KB, text/plain)
2023-12-12 05:39 UTC, Emre AKYUZ
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Morteza 2022-01-13 10:30:35 UTC
according to this issue https://github.com/newsboat/newsboat/issues/1885 newsboat can be made without docs and therefore emerging ruby can be avoided with doc use flag
Comment 1 ignamartinoli 2022-08-13 18:41:36 UTC
Hey, any update? It seems a sound proposal
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-13 19:17:37 UTC
I think I'd prefer it if we shipped pre-generated man pages instead of disabling it entirely. I have some scripts which make it quite easy to do and I've started doing it for e.g. qemu.
Comment 3 ignamartinoli 2022-08-19 04:49:42 UTC
Hey Sam, pre-generated man pages would be cool but for the time being, seeing this is an issue unattended for almost half a year we could disable it temporarily until your optimal solution is implemented
Comment 4 Morteza 2023-01-29 05:35:13 UTC
it's been a long time since i created this bug, is there motivation to add doc flag
Comment 5 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2023-02-20 17:28:52 UTC
(In reply to Morteza from comment #4)
> it's been a long time since i created this bug, is there motivation to add
> doc flag

Maybe you could do it?
Comment 6 Emre AKYUZ 2023-12-12 05:39:16 UTC
Created attachment 878823 [details]
newsboat-2.33 ebuild without docs

With this ebuild you can build the newest Newsboat(2.33) without docs meaning you don't need about 50 Ruby packages.

I could not decide how to add the doc flag since it's the default for the actual project and the docs being optional is not yet implemented.

What I did was basically:
1- Remove the asciidoctor dependency.
2- Update the versions for the crates.
3- Instead of using "emake" and "emake-install", I used "emake newsboat" and "emake install-newsboat". These were mentioned in the GitHub issues.

Temporarily a useflag can be added to reverse this and use the older method (plain make and make install) to compile and install it.
Comment 7 Larry the Git Cow gentoo-dev 2024-04-05 17:23:31 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02ed578c12e9e4e109a62eaa8561018eb77a9b82

commit 02ed578c12e9e4e109a62eaa8561018eb77a9b82
Author:     Vadim I <vadign00@gmail.com>
AuthorDate: 2023-12-28 14:17:21 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2024-04-05 17:22:51 +0000

    net-news/newsboat: add 2.34, ship prebuilt docs
    
    Closes: https://bugs.gentoo.org/831123
    Closes: https://bugs.gentoo.org/901213
    Closes: https://bugs.gentoo.org/910210
    Signed-off-by: Vadim I <vadign00@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/34517
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 net-news/newsboat/Manifest             |  79 ++++++++++++
 net-news/newsboat/newsboat-2.34.ebuild | 212 +++++++++++++++++++++++++++++++++
 2 files changed, 291 insertions(+)