New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
please add a use_sys_sqlite3 config option #10263
Comments
Having the possibility to used the OS distributed packages or the doxygen bundled has an advantage for a single user as he has the freedom to choose the version of a package he wants. When using the OS version of a package, probably some compilation link flags have to be set as well, wouldn't it be good to use the I don't think it is good that an OS provides an executable that is not build with the bundled parts. Do not link proposed pull requests to the issue as this is not the way doxygen handles issues / PRs, instead use a text e.g. like: (in this case the I is not correct as @simevo created the PR). |
Let me quote myself here:
Back to this specific issue, I just provisionally patched like this: Building works fine without setting any additional compilation link flags (CMake magick!). I used the branch git clone https://github.com/simevo/hello_doxygen.git
cd hello_doxygen
git checkout sqlite3
docker run --rm -it -v "$PWD:/hello_doxygen" -w /hello_doxygen debian:unstable
apt update && apt install -y wget
wget https://salsa.debian.org/debian/doxygen/-/jobs/4614916/artifacts/raw/debian/output/doxygen_1.9.8+ds-1+salsaci+20230827+81_amd64.deb
apt install ./doxygen_1.9.8+ds-1+salsaci+20230827+81_amd64.deb graphviz sqlite3
doxygen The resulting sqlite file seems OK as this indicates:
Finally, regarding the automatic link to the PR to the issue, this happened because I tagged the issue with one of the supported keywords ( |
Auch those automatic things... |
@simevo Please check if the referenced commit works for you. Do not close the issue, this will be done automatically when the next official release is out. |
This issue was previously marked 'fixed but not released', |
While working at packaging 1.9.8 for Debian, I noticed that you have vendored (bundled) spdlog and sqlite3 in
deps/
dir.There dependencies are available on all platforms supported by Debian, so this is not required for us (but I understand your point of course).
Debian is against vendoring so we'll repackage doxygen stripping these source files (that we already have in the corresponding packages), so for us the source tree has the dirs
deps/spdlog
anddeps/sqlite3
missing.With
use_sys_spdlog
config option I can tell CMake to skip the former, but it errors out because it still lacks the latter.So for us it would be really helpful if you could add a
use_sys_sqlite3
option and patchdeps/CMakeLists.txt
so:The text was updated successfully, but these errors were encountered: