The devel/woboq_codebrowser port
woboq_codebrowser-2.1pl20231117 – generator for the woboq code browser (cvsweb github mirror)
Description
The generator generates static HTML pages that can be served by any web server. It can be run automatically manually or with a hook on your version control or CI system. It functions as the source code indexer (using libclang). In contrast to other solutions (LXR, OpenGrok) it semantically analyzes the code as a compile step. The generation is a two-step process: First is a compile step that creates a .h.html and .cpp.html (and some other) files from the syntax tree (AST) of the source source. The second step generates an index.html for each directory. A server-side database or CGI script are currently not needed, so it is easy to host. Your normal HTML5 web browser is the source code navigator (from your local machine or your network). Please note that the license does not allow you to use the code browser to assist the development of your commercial software. If you intent to do so, consider purchasing a commercial licence.WWW: https://woboq.com/codebrowser.html
Readme
+------------------------------------------------------------------------------- | Running ${PKGSTEM} on OpenBSD +------------------------------------------------------------------------------- Licence information ------------------- Licensees holding valid commercial licenses provided by Woboq may use this software in accordance with the terms contained in a written agreement between the licensee and Woboq. For further information see https://woboq.com/codebrowser.html Alternatively, this work may be used under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 (CC-BY-NC-SA 3.0) License. http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_US This license does not allow you to use the code browser to assist the development of your commercial software. If you intent to do so, consider purchasing a commercial licence. Example of usage with OpenBSD kernel (~1.5Go) --------------------------------------------- Compile and generate compile_commands.json $ cd /sys/arch/amd64/compile/GENERIC.MP $ make obj $ make config $ make COPTS='-MJ $@.json -O2' $ sed -e '1s/^/[/' -e '$s/,$/]/' obj/*.o.json > compile_commands.json Generate static HTML from compile_commands.json $ codebrowser_generator -a -b /sys/arch/amd64/compile/GENERIC.MP \ -o ${LOCALSTATEDIR}/www/htdocs/openbsd \ -p sys:/sys \ -d http://localhost/data $ codebrowser_indexgenerator ${LOCALSTATEDIR}/www/htdocs/openbsd \ -p sys:/sys \ -d http://localhost/data $ cp -R ${TRUEPREFIX}/share/woboq/data ${LOCALSTATEDIR}/www/htdocs
Maintainer
The OpenBSD ports mailing-list
Only for arches
aarch64 amd64 arm i386 mips64 mips64el powerpc powerpc64 riscv64 sparc64
Categories
Library dependencies
Build dependencies
Run dependencies
Files
- /usr/local/bin/codebrowser_generator
- /usr/local/bin/codebrowser_indexgenerator
- /usr/local/share/doc/pkg-readmes/woboq_codebrowser
- /usr/local/share/doc/woboq_codebrowser/
- /usr/local/share/doc/woboq_codebrowser/README.md
- /usr/local/share/woboq/
- /usr/local/share/woboq/data/
- /usr/local/share/woboq/data/back.png
- /usr/local/share/woboq/data/codebrowser.js
- /usr/local/share/woboq/data/common.css
- /usr/local/share/woboq/data/folder.png
- /usr/local/share/woboq/data/indexscript.js
- /usr/local/share/woboq/data/indexstyle.css
- /usr/local/share/woboq/data/jquery/
- /usr/local/share/woboq/data/jquery/images/
- /usr/local/share/woboq/data/jquery/images/ui-bg_diagonals-thick_18_b81900_40x40.png
- /usr/local/share/woboq/data/jquery/images/ui-bg_diagonals-thick_20_666666_40x40.png
- /usr/local/share/woboq/data/jquery/images/ui-bg_glass_100_f6f6f6_1x400.png
- /usr/local/share/woboq/data/jquery/images/ui-bg_glass_100_fdf5ce_1x400.png
- /usr/local/share/woboq/data/jquery/images/ui-bg_glass_65_ffffff_1x400.png
- /usr/local/share/woboq/data/jquery/images/ui-bg_gloss-wave_35_f6a828_500x100.png
- /usr/local/share/woboq/data/jquery/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
- /usr/local/share/woboq/data/jquery/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
- /usr/local/share/woboq/data/jquery/images/ui-icons_222222_256x240.png
- /usr/local/share/woboq/data/jquery/images/ui-icons_228ef1_256x240.png
- /usr/local/share/woboq/data/jquery/images/ui-icons_ef8c08_256x240.png
- /usr/local/share/woboq/data/jquery/images/ui-icons_ffd27a_256x240.png
- /usr/local/share/woboq/data/jquery/images/ui-icons_ffffff_256x240.png
- /usr/local/share/woboq/data/jquery/jquery-ui.css
- /usr/local/share/woboq/data/jquery/jquery-ui.min.js
- /usr/local/share/woboq/data/jquery/jquery.min.js
- /usr/local/share/woboq/data/jquery/js/
- /usr/local/share/woboq/data/jquery/js/jquery-1.8.0.min.js
- /usr/local/share/woboq/data/jquery/js/jquery-ui-1.8.23.custom.min.js
- /usr/local/share/woboq/data/kdevelop.css
- /usr/local/share/woboq/data/qtcreator.css
- /usr/local/share/woboq/data/solarized.css
- /usr/local/share/woboq/data/symbol.html
- /usr/local/share/woboq/data/txt.png
- /usr/local/share/woboq/data/woboq-48.png