From b8ef609f0b76e07ab8fea02409d95973eda1b7c8 Mon Sep 17 00:00:00 2001 From: Helmut Pozimski Date: Fri, 7 Sep 2018 15:41:41 +0200 Subject: [PATCH] gnucash: update to 3.2. --- common/shlibs | 11 ------ srcpkgs/{libgnucash => gnucash-devel} | 0 srcpkgs/gnucash/template | 55 +++++++++++---------------- srcpkgs/libgnucash-devel | 1 - 4 files changed, 23 insertions(+), 44 deletions(-) rename srcpkgs/{libgnucash => gnucash-devel} (100%) delete mode 120000 srcpkgs/libgnucash-devel diff --git a/common/shlibs b/common/shlibs index c68c1fbd408..d3a44794c0a 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1595,17 +1595,6 @@ libfreerdp-utils.so.1.0 libfreerdp-1.0.2_2 libfreerdp-codec.so.1.0 libfreerdp-1.0.2_2 libfreerdp-gdi.so.1.0 libfreerdp-1.0.2_2 libfreerdp-cache.so.1.0 libfreerdp-1.0.2_2 -libgnc-gnome.so.0 libgnucash-2.6.3_1 -libgnc-business-ledger.so.0 libgnucash-2.6.3_1 -libgnc-backend-xml-utils.so.0 libgnucash-2.6.3_1 -libgnc-backend-sql.so.0 libgnucash-2.6.3_1 -libgnc-module.so.0 libgnucash-2.6.3_1 -libgnc-qof.so.1 libgnucash-2.6.3_1 -libgnc-core-utils-python.so.0 libgnucash-2.6.3_1 -libgnc-core-utils.so.0 libgnucash-2.6.3_1 -libgncmod-app-utils.so libgnucash-2.6.3_1 -libgncmod-engine.so libgnucash-2.6.3_1 -libgncmod-gnome-utils.so libgnucash-2.6.3_1 libcppunit-1.12.so.1 libcppunit-1.12.1_1 libcppunit-1.14.so.0 libcppunit-1.14.0_1 libcalc.so.2.12.6.5 libcalc-2.12.6.5_1 diff --git a/srcpkgs/libgnucash b/srcpkgs/gnucash-devel similarity index 100% rename from srcpkgs/libgnucash rename to srcpkgs/gnucash-devel diff --git a/srcpkgs/gnucash/template b/srcpkgs/gnucash/template index abd3ef9b21b..c9dac2de4a5 100644 --- a/srcpkgs/gnucash/template +++ b/srcpkgs/gnucash/template @@ -1,43 +1,34 @@ # Template file for 'gnucash' pkgname=gnucash -version=2.6.19 +version=3.2 revision=1 -conf_files=" - /etc/gnucash/config - /etc/gnucash/environment" +build_style=cmake +configure_args="-DWITH_SQL=0 -DWITH_PYTHON=1" +hostmakedepends="pkg-config guile python3 libxslt" +makedepends="aqbanking-devel boost-devel gc-devel glib-devel gtest-devel guile-devel + gwenhywfar-devel ktoblzcheck-devel libofx-devel libsecret-devel + libxslt-devel webkit2gtk-devel python3-devel" +depends="dconf" +short_desc="Financial-accounting software" +maintainer="Helmut Pozimski " +license="GPL-2.0-or-later" +homepage="http://www.gnucash.org" +distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2" +checksum=63e5b00c148ed0f7021ebc03e4e70c4a9c549feb3ea49d6c810f2abaaf592452 + pycompile_module="gnucash" pycompile_dirs="usr/share/gnucash/python" -hostmakedepends="pkg-config intltool guile" -makedepends="GConf-devel aqbanking aqbanking-devel gc-devel gmp-devel - goffice0.8-devel gtk+-devel guile-devel gwenhywfar-devel gwenhywfar-gtk - libgnomecanvas-devel libgsf-devel libltdl-devel libofx-devel libxml2-devel - libxslt-devel python-devel webkitgtk2-devel" -depends="dconf guile pygtk" -build_style="gnu-configure" -configure_args="--disable-dbi --enable-aqbanking --enable-python" -maintainer="Juan RP " -license="GPL-3" -homepage="http://www.gnucash.org/" -short_desc="Financial-accounting software" -distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2" -checksum=50b89367246ec2d51e9765bd6bd8c669e35ceb4ac5ab92636f76758a9f3f7fd1 +conf_files="/etc/gnucash/environment" +nocross="fails to compile guile code when cross-compiling" -nocross=yes +case "$XBPS_TARGET_MACHINE" in + *-musl) CXXFLAGS="-Wno-error" + export LC_ALL="C";; +esac -libgnucash_package() { - shlib_provides="libgncmod-gnome-utils.so libgncmod-app-utils.so libgncmod-engine.so" - short_desc+=" - library files" - pkg_install() { - # gnucash depends on the *.so symlinks to compile guile - # modules on demand. - vmove usr/lib/*.so - vmove usr/lib/*.so.* - vmove usr/lib/gnucash - } -} -libgnucash-devel_package() { +gnucash-devel_package() { short_desc+=" - development files" - depends="libgnucash>=${version}_${revision}" + depends="gnucash>=${version}_${revision}" pkg_install() { vmove usr/include } diff --git a/srcpkgs/libgnucash-devel b/srcpkgs/libgnucash-devel deleted file mode 120000 index 66d1f770303..00000000000 --- a/srcpkgs/libgnucash-devel +++ /dev/null @@ -1 +0,0 @@ -gnucash \ No newline at end of file