Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 652064 - app-doc/doxygen-1.8.14[-doc]: DOC_INSTALL_DIR cmake variable not used
Summary: app-doc/doxygen-1.8.14[-doc]: DOC_INSTALL_DIR cmake variable not used
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-31 03:52 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2018-06-04 02:44 UTC (History)
1 user (show)

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


Attachments
Patch (doxygen.patch,1.60 KB, patch)
2018-03-31 03:59 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2018-03-31 03:52:28 UTC
"""
CMake Warning:
  Manually-specified variables were not used by the project:

    DOC_INSTALL_DIR
"""


DOC_INSTALL_DIR is set in doc/CMakeLists.txt.
Since https://github.com/doxygen/doxygen/commit/62e87408cb7094eeac130775e62d5b7a6f4a79c9 (released in Doxygen 1.8.14), doc directory and doc/CMakeLists.txt are used only when build_doc is true (which is set to some value by -Dbuild_doc=$(usex doc) in ebuild).
So when build_doc is false, from the point of view of cmake, DOC_INSTALL_DIR variable is not used.
Comment 1 Arfrever Frehtes Taifersar Arahesis 2018-03-31 03:59:51 UTC
Created attachment 526184 [details, diff]
Patch
Comment 2 Larry the Git Cow gentoo-dev 2018-06-03 21:18:23 UTC
The bug has been closed via the following commit(s):

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

commit f2cd8c1e3ea46173ab2f884b8b8ef9e36cc7f49f
Author:     Matthias Maier <tamiko@gentoo.org>
AuthorDate: 2018-06-03 21:10:39 +0000
Commit:     Matthias Maier <tamiko@gentoo.org>
CommitDate: 2018-06-03 21:18:11 +0000

    app-doc/doxygen: fix warning about unused variable if USE=-doc
    
    Closes: https://bugs.gentoo.org/652064
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 app-doc/doxygen/doxygen-1.8.14.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Comment 3 Arfrever Frehtes Taifersar Arahesis 2018-06-03 23:48:26 UTC
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfd268ba983104c4175325e49345306c7b700454

app-doc/doxygen-9999 now has 2 lines with:
-DDOC_INSTALL_DIR="share/doc/${P}"
The first line should be deleted.
Comment 4 Larry the Git Cow gentoo-dev 2018-06-04 02:44:44 UTC
The bug has been closed via the following commit(s):

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

commit a0906e417725b0e193275df2020c69a0a5d3dd9d
Author:     Matthias Maier <tamiko@gentoo.org>
AuthorDate: 2018-06-04 02:44:18 +0000
Commit:     Matthias Maier <tamiko@gentoo.org>
CommitDate: 2018-06-04 02:44:31 +0000

    app-doc/doxygen: fix the fix
    
    Closes: https://bugs.gentoo.org/652064
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 app-doc/doxygen/doxygen-9999.ebuild | 1 -
 1 file changed, 1 deletion(-)