{"id":1000,"date":"2012-11-20T18:14:00","date_gmt":"2012-11-20T18:14:00","guid":{"rendered":"http:\/\/www.fbcs.co.uk\/wp\/?p=1000"},"modified":"2012-11-20T18:14:00","modified_gmt":"2012-11-20T18:14:00","slug":"gnucash-on-arch-linux","status":"publish","type":"post","link":"https:\/\/wp.fbcs.co.uk\/gnucash-on-arch-linux\/","title":{"rendered":"GnuCash on Arch Linux"},"content":{"rendered":"

The version of GnuCash<\/a> in Arch Linux<\/a>, although up-to-date, is not compiled to use the webkit library, so formatting of reports such the tax invoice is very basic: it doesn't use the fonts that can be selected in the report options.<\/p>\n

It's easily fixed though:<\/p>\n

    \n
  1. sudo pacman -S abs webkitgtk2<\/span><\/li>\n
  2. sudo abs<\/span><\/li>\n
  3. copy \/var\/abs\/extra\/gnucash<\/span> to a suitable place, such as ~\/abs\/<\/span><\/li>\n
  4. cd ~\/abs\/gnucash<\/span><\/li>\n
  5. add the option '–with-html-engine=webkit<\/span>' to the PKGBUILD<\/span> file after the line beginning with '.\/configure<\/span>'.  Or apply this patch:
    \n\t\t— PKGBUILD~    2012-11-20 16:49:51.048534626 +0000
    \n\t\t+++ PKGBUILD    2012-11-20 16:49:54.015211392 +0000
    \n\t\t@@ -1,4 +1,4 @@
    \n\t\t-# $Id: PKGBUILD,v 1.1 2012\/11\/20 05:03:00 chris Exp chris $
    \n\t\t+# $Id: PKGBUILD 165143 2012-08-11 18:49:18Z eric $
    \n\t\t # Maintainer: Aaron Griffin <aaron@archlinux.org>
    \n\t\t # Contributor: Mark Schneider <queueRAM@gmail.com>
    \n\t\t 
    \n\t\t@@ -22,6 +22,7 @@
    \n\t\t build() {
    \n\t\t   cd "${srcdir}\/${pkgname}-${pkgver}"
    \n\t\t   .\/configure –prefix=\/usr –mandir=\/usr\/share\/man –sysconfdir=\/etc
    \n\t\t+    –with-html-engine=webkit
    \n\t\t     –libexecdir=\/usr\/lib –disable-schemas-install –enable-ofx –enable-aqbanking
    \n\t\t   make
    \n\t\t }<\/span><\/span><\/li>\n
  6. makepkg<\/span><\/li>\n
  7. sudo pacman -U *.xz<\/span><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"

    The version of GnuCash in Arch Linux, although up-to-date, is not compiled to use the webkit library, so formatting of reports such the tax invoice is very basic: it doesn't use the fonts that can be selected in the report options. It's easily fixed though: sudo pacman -S abs webkitgtk2 sudo abs copy \/var\/abs\/extra\/gnucash to […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[12,53,29],"tags":[],"_links":{"self":[{"href":"https:\/\/wp.fbcs.co.uk\/wp-json\/wp\/v2\/posts\/1000"}],"collection":[{"href":"https:\/\/wp.fbcs.co.uk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.fbcs.co.uk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.fbcs.co.uk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.fbcs.co.uk\/wp-json\/wp\/v2\/comments?post=1000"}],"version-history":[{"count":0,"href":"https:\/\/wp.fbcs.co.uk\/wp-json\/wp\/v2\/posts\/1000\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.fbcs.co.uk\/wp-json\/wp\/v2\/media?parent=1000"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.fbcs.co.uk\/wp-json\/wp\/v2\/categories?post=1000"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.fbcs.co.uk\/wp-json\/wp\/v2\/tags?post=1000"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}