Opened 14 years ago

Closed 14 years ago

#28928 closed enhancement (fixed)

[PATCH] add dbi backend support to gnucash

Reported by: fitz.elliott@… Owned by: drkp (Dan Ports)
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 (1)

gnucash-add-dbi-variant.patch (524 bytes) - added by fitz.elliott@… 14 years ago.

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by fitz.elliott@…

comment:1 Changed 14 years ago by drkp (Dan Ports)

Cc: dports@… removed
Owner: changed from macports-tickets@… to dports@…
Status: newassigned

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.

comment:2 Changed 14 years ago by drkp (Dan Ports)

Keywords: haspatch added

comment:3 Changed 14 years ago by drkp (Dan Ports)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.