pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
gnucash-devel: update to 2.7.7.
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <tk%giga.or.at@localhost>
Pushed By: wiz
Date: Mon Mar 19 11:09:29 2018 +0100
Changeset: 1e5f43aaff25110febb6aac586b98c71328479ed
Modified Files:
gnucash-devel/Makefile
gnucash-devel/PLIST.python
gnucash-devel/distinfo
gnucash-devel/options.mk
Log Message:
gnucash-devel: update to 2.7.7.
Enable python option by default.
New Features for Users:
None in this release.
For Developers and Distro packagers:
• The Python Bindings and Console are now for Python 3.
• It's now possible to create a GncPrice from the Python bindings with "gnc_price_create(book)", removing the need to clone an existing GncPrice object and modify it.
• Compilation of GLib Schemas during build and installation can be disabled by setting -DCOMPILE_GSCHEMAS=OFF. This is intended only for distribution packaging scripts that run glib-compile-schemas themselves.
Bugs fixed in this release:
• Bug 787439 - Segmentation Fault in Transfer dialog after clearing Date field and pressing escape.
• Bug 791831 - Add python3 support.
• Bug 794242 - Remove keep above setting for assistant hierarchy
Some other fixes not associated with reported bugs:
• Fix date corruption in SQL load. Four date elements were affected: GncEntry::date, GncEntry::date_entered, GncInvoice::opened, and GncInvoice::posted. This does not affect the stored values of the dates.
• Fix lost Bayesian matches in SQL backend. The import-map-bayes uses a three-part key that uses the same delimiter as a path and the SQL backend was throwing away everything except the account guid.
• More transient-window fixes and other Gtk3 cleanups.
• Add xmlns namespace declarations to all of the accounts templates that lacked it and remove the emacs mode-setting comments at the end of them.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1e5f43aaff25110febb6aac586b98c71328479ed
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
gnucash-devel/Makefile | 3 ++-
gnucash-devel/PLIST.python | 7 +++----
gnucash-devel/distinfo | 8 ++++----
gnucash-devel/options.mk | 25 ++++++++++++-------------
4 files changed, 21 insertions(+), 22 deletions(-)
diffs:
diff --git a/gnucash-devel/Makefile b/gnucash-devel/Makefile
index 27bd40886b..1dacff8180 100644
--- a/gnucash-devel/Makefile
+++ b/gnucash-devel/Makefile
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.248 2017/07/03 11:49:37 wiz Exp $
-DISTNAME= gnucash-2.7.6
+DISTNAME= gnucash-2.7.7
CATEGORIES= finance
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gnucash/}
EXTRACT_SUFX= .tar.bz2
@@ -38,6 +38,7 @@ CMAKE_ARGS+= -DGMOCK_ROOT=${WRKDIR}/googletest-release-1.8.0/googlemock
CMAKE_ARGS+= -DGTEST_ROOT=${WRKDIR}/googletest-release-1.8.0/googletest
CMAKE_ARGS+= -DWITH_AQBANKING=OFF
CMAKE_ARGS+= -DPERL_EXECUTABLE=${PERL5}
+CMAKE_ARGS+= -DCOMPILE_GSCHEMAS=OFF
#CMAKE_ARGS+= -GNinja
#BUILD_DEPENDS+= ninja-build-[0-9]*:../../devel/ninja-build
diff --git a/gnucash-devel/PLIST.python b/gnucash-devel/PLIST.python
index 0829fe2f37..a04017f369 100644
--- a/gnucash-devel/PLIST.python
+++ b/gnucash-devel/PLIST.python
@@ -1,9 +1,8 @@
@comment $NetBSD$
-lib/gnucash/libgncmod-app-utils-python.la
-lib/gnucash/libgncmod-python.la
-lib/libgnc-core-utils-python.la
${PYSITELIB}/gnucash/__init__.py
-${PYSITELIB}/gnucash/_gnucash_core_c.la
+${PYSITELIB}/gnucash/_gnucash_core_c.so
+${PYSITELIB}/gnucash/_sw_app_utils.so
+${PYSITELIB}/gnucash/_sw_core_utils.so
${PYSITELIB}/gnucash/function_class.py
${PYSITELIB}/gnucash/gnucash_business.py
${PYSITELIB}/gnucash/gnucash_core.py
diff --git a/gnucash-devel/distinfo b/gnucash-devel/distinfo
index 32a7879430..4197a47f89 100644
--- a/gnucash-devel/distinfo
+++ b/gnucash-devel/distinfo
@@ -1,9 +1,9 @@
$NetBSD: distinfo,v 1.82 2017/07/03 11:49:37 wiz Exp $
-SHA1 (gnucash-2.7.6.tar.bz2) = c9f27303bb178a02de5d8f03cba7bcc700cdb532
-RMD160 (gnucash-2.7.6.tar.bz2) = 3421835c146af80bffb082f9832ccfd9f57434fe
-SHA512 (gnucash-2.7.6.tar.bz2) = 4bf813f68987bcd8784e5cba3662b544bf2c28bad8dad71c728fda67970c1b2c221b027ab9c3fffd1c7e4024fd46ba054cbc9b8fa6de91ad50915610b1fd77f4
-Size (gnucash-2.7.6.tar.bz2) = 13340295 bytes
+SHA1 (gnucash-2.7.7.tar.bz2) = 4d95e0e21406db19c7930a977c708b06e7d5e72f
+RMD160 (gnucash-2.7.7.tar.bz2) = c01875b32676cb80c2703f6f8fc1a96f9d4c66b3
+SHA512 (gnucash-2.7.7.tar.bz2) = b7d91e87c4bc4e604560f4502a86deaafa4f636e9fe2af26db53b11da9f48986c970ba0ed08cb7172ca08a5fb2da451d26976963241206c388a33555c80f28fe
+Size (gnucash-2.7.7.tar.bz2) = 13368946 bytes
SHA1 (googletest-1.8.0.tar.gz) = e7e646a6204638fe8e87e165292b8dd9cd4c36ed
RMD160 (googletest-1.8.0.tar.gz) = b0a9e48874df3291a261ed85a0c0a4d677b01dc1
SHA512 (googletest-1.8.0.tar.gz) = 1dbece324473e53a83a60601b02c92c089f5d314761351974e097b2cf4d24af4296f9eb8653b6b03b1e363d9c5f793897acae1f0c7ac40149216035c4d395d9d
diff --git a/gnucash-devel/options.mk b/gnucash-devel/options.mk
index 16bad66c8a..c9fb0e068c 100644
--- a/gnucash-devel/options.mk
+++ b/gnucash-devel/options.mk
@@ -2,41 +2,40 @@
PKG_OPTIONS_VAR= PKG_OPTIONS.gnucash
PKG_SUPPORTED_OPTIONS= libdbi libofx python
-PKG_SUGGESTED_OPTIONS= libdbi libofx
+PKG_SUGGESTED_OPTIONS= libdbi libofx python
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mlibofx)
+CMAKE_ARGS+= -DWITH_OFX=ON
PLIST_SRC+= PLIST.ofx
.include "../../finance/libofx/buildlink3.mk"
.else
-CONFIGURE_ARGS+= --disable-ofx
+CMAKE_ARGS+= -DWITH_OFX=OFF
.endif
.if !empty(PKG_OPTIONS:Mlibdbi)
-CONFIGURE_ARGS+= --enable-dbi
-PLIST_SRC+= PLIST.dbi
-
-# to make a configure test happy
-BUILD_DEPENDS+= libdbi-driver-sqlite3-[0-9]*:../../databases/libdbi-driver-sqlite3
+CMAKE_ARGS+= -DWITH_SQL=ON
+PLIST_SRC+= PLIST.dbi
.include "../../databases/libdbi/buildlink3.mk"
.else
-CONFIGURE_ARGS+= --disable-dbi
+CMAKE_ARGS+= -DWITH_SQL=OFF
.endif
.if !empty(PKG_OPTIONS:Mpython)
-CONFIGURE_ARGS+= --enable-python
-PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # not yet ported as of 2.6.1
-REPLACE_PYTHON+= src/python/pycons/*.py src/python/pycons/pycons
+CMAKE_ARGS+= -DWITH_PYTHON=ON
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+REPLACE_PYTHON+= bindings/python/example_scripts/*.py
+REPLACE_PYTHON+= bindings/python/example_scripts/rest-api/*.py
+REPLACE_PYTHON+= gnucash/python/pycons/*.py
PY_PATCHPLIST= yes
PLIST_SRC+= PLIST.python
-DEPENDS+= ${PYPKGPREFIX}-gtk2-[0-9]*:../../x11/py-gtk2
# /usr/pkg/share/gnucash/python/pycons/console.py imports readline
DEPENDS+= ${PYPKGPREFIX}-readline-[0-9]*:../../devel/py-readline
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.else
-CONFIGURE_ARGS+= --disable-python
+CMAKE_ARGS+= -DWITH_PYTHON=OFF
.endif
Home |
Main Index |
Thread Index |
Old Index