Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832939 - dev-db/postgis-3.1.5[doc] missing stylesheet and some images
Summary: dev-db/postgis-3.1.5[doc] missing stylesheet and some images
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-02-08 16:29 UTC by Frank Limpert
Modified: 2023-09-18 10:43 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Limpert 2022-02-08 16:29:33 UTC
emerging dev-db/postgis with use flag [doc], I am missing some images referenced by the generated html page since ca. dev-db/postgis-3.0.x.

docbook.css is also missing in the generated image.

Looking inside the work directory, i found all missing files inside the html/ directory. Somehow these are not installed into the image.

Also, the *_cheatsheet.html files, while generated inside the work directory, were not copied over into the image.

Since I'm at it, I've got another wish: The generated html documentation is a rather huge one-pager that is hard to read on screen. I would prefer if you generated the target chunked-html. Or simply generate both: html and chunked-html.
Comment 1 Chris Mayo 2023-09-16 18:12:10 UTC
Yes there is a link to docbook.css, but it looks like style.css provides postgis customised versions of the styles (I haven't checked them all). Indeed the Makefile targets html-install and html-assets-install don't install docbook.css either.

It is possible to get xsltproc to not generate the docbook.css link:
  https://github.com/postgis/postgis/pull/744
Although that may need some more work.

chunked creates over 600 HTML pages.
Comment 2 Larry the Git Cow gentoo-dev 2023-09-18 10:43:03 UTC
The bug has been closed via the following commit(s):

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

commit af53d4638808515ea0e55ce4a1dc86ee592ead00
Author:     Chris Mayo <aklhfex@gmail.com>
AuthorDate: 2023-09-16 16:44:03 +0000
Commit:     Aaron W. Swenson <titanofold@gentoo.org>
CommitDate: 2023-09-18 10:42:39 +0000

    dev-db/postgis: Install missing images and cheatsheets
    
    Closes: https://bugs.gentoo.org/832939
    Signed-off-by: Chris Mayo <aklhfex@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/32843
    Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>

 dev-db/postgis/postgis-3.4.0-r2.ebuild | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)