Ticket #28928 (closed enhancement: fixed)
[PATCH] add dbi backend support to gnucash
| Reported by: | fitz.elliott@… | Owned by: | dports@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.9.2 |
| Keywords: | haspatch | Cc: | |
| Port: | gnucash |
Description
Hello,
Attached is a patch to add a variant called 'dbi' to gnucash. This variant adds the --enable-dbi flag and depends on libdbi and libdbi-drivers. By default libdbi-drivers enables sqlite3 support, which I suspect is the most common use case. I couldn't find a way to depend on the postgres or mysql variants of libdbi-drivers, so instead I noted in the variant description that people desiring those backends should look at the variants of libdbi-drivers. If you would prefer I can add a 'notes' section that explains how to rebuild libdbi-drivers with the desired backend support.
Thanks again for your work on this package!
Cheers, Fitz Elliott
Attachments
Change History
comment:1 Changed 2 years ago by dports@…
- Status changed from new to assigned
- Cc dports@… removed
- Owner changed from macports-tickets@… to dports@…
Thanks! I looked into doing something similar when I updated the port to 2.4, but got hung up on the issue of libdbi-drivers' variants.
I would prefer to split libdbi-drivers into separate ports rather than variants so we can actually depend on them (and I also see its postgres dependency is for an old version...) but this seems like a good thing to have in the meantime.

