New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #28928 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

[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

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

Change History

Changed 2 years ago by fitz.elliott@…

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.

comment:2 Changed 2 years ago by dports@…

  • Keywords haspatch added

comment:3 Changed 2 years ago by dports@…

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.