Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 585054 - net-irc/weechat-9999: upstream renamed files in DOCS
Summary: net-irc/weechat-9999: upstream renamed files in DOCS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Tim Harder
URL: https://github.com/weechat/weechat/is...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2016-06-05 01:32 UTC by Alexander Turenko
Modified: 2016-08-08 19:26 UTC (History)
2 users (show)

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


Attachments
patch for fix doc files names (weechat-9999.ebuild.fix-docs.patch,489 bytes, patch)
2016-06-05 01:32 UTC, Alexander Turenko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Turenko 2016-06-05 01:32:42 UTC
Created attachment 436492 [details, diff]
patch for fix doc files names

*.asciidoc files were renamed to *.adoc, see URL field.

Attached patch for the ebuild to fix the problem.
Comment 1 Krzyztof Kosrocik 2016-06-20 16:26:09 UTC
I face the same issue and this patch is working for me. When this fix will enter the tree?
Comment 2 Niklas Haas 2016-06-21 09:03:57 UTC
Applying this patch locally fixes the issue for me.

This has been around for a while (since may), any chance of getting the fix upstreamed so I don't have to keep applying it after syncs?
Comment 3 Niklas Haas 2016-06-21 09:08:16 UTC
(In reply to Niklas Haas from comment #2)
> Applying this patch locally fixes the issue for me.
> 
> This has been around for a while (since may), any chance of getting the fix
> upstreamed so I don't have to keep applying it after syncs?

Looked into it some more, it seems like the files were not just renamed, but upstream also switched from asciidoc to asciidoctor. The DEPENDS for USE="doc" should probably also be updated.

See https://github.com/weechat/weechat/issues/722
Comment 4 Alexander Turenko 2016-06-22 09:08:17 UTC
(In reply to Niklas Haas from comment #3)
> (In reply to Niklas Haas from comment #2)
> > Applying this patch locally fixes the issue for me.
> > 
> > This has been around for a while (since may), any chance of getting the fix
> > upstreamed so I don't have to keep applying it after syncs?
> 
> Looked into it some more, it seems like the files were not just renamed, but
> upstream also switched from asciidoc to asciidoctor. The DEPENDS for
> USE="doc" should probably also be updated.
> 
> See https://github.com/weechat/weechat/issues/722

It seems that *.adoc files just bzipped and saved as is:

$ equery f weechat | grep doc
/usr/share/doc
/usr/share/doc/weechat-9999
/usr/share/doc/weechat-9999/AUTHORS.adoc.bz2
/usr/share/doc/weechat-9999/ChangeLog.adoc.bz2
/usr/share/doc/weechat-9999/README.adoc.bz2
/usr/share/doc/weechat-9999/ReleaseNotes.adoc.bz2

Anyway, it human-readable w/o any specific tool. I guess asciidoc/asciidoctor need only for creating html documantation. I don't sure whether asciidoc/asciidoctor necessary in dependencies under "doc" USE flag.
Comment 5 Tim Harder gentoo-dev 2016-08-08 19:26:43 UTC
Fixed in the tree.