Bug 263785 - graphics/cairo: html docs location is incorrect
Summary: graphics/cairo: html docs location is incorrect
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-desktop (Team)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-05 07:48 UTC by Hodong
Modified: 2022-09-17 14:31 UTC (History)
3 users (show)

See Also:
tcberner: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hodong 2022-05-05 07:48:52 UTC
Hello.

After installing https://www.freshports.org/graphics/cairo the html file is located in /usr/local/share/doc/cairo/cairo.
The html file should be in /usr/local/share/doc/cairo.
That way we can search for the function in devhelp.
Comment 1 Tobias C. Berner freebsd_committer freebsd_triage 2022-05-05 07:56:15 UTC
Moin moin 

I'll handle this while updating to 1.17.6


mfg Tobias
Comment 2 Adriaan de Groot freebsd_committer freebsd_triage 2022-07-30 20:08:54 UTC
This is a duplicate of 263852 -- or overlaps a great deal. That PR has more explanation of what is going on, and contains a patch for the documentation location.
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-09-17 14:28:03 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=064fa58763573d636c1a83724b37bc507a79d4f8

commit 064fa58763573d636c1a83724b37bc507a79d4f8
Author:     Adriaan de Groot <adridg@FreeBSD.org>
AuthorDate: 2022-09-17 14:22:36 +0000
Commit:     Adriaan de Groot <adridg@FreeBSD.org>
CommitDate: 2022-09-17 14:26:59 +0000

    graphics/cairo: make documentation available in devhelp

    GNOME devhelp looks for documentation in particular places,
    and cairo was putting it somewhere subtly different.
    Switch DOCSDIR (since it was already being used in the
    Makefile and pkg-plist, this is the smallest change)
    to point to where it should. This approach is copied
    from devel/libsoup/ and was suggested by Sean Champ.

    PR:             263852 263785

 graphics/cairo/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)