summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorb3niup2019-06-30 13:05:51 +0200
committerb3niup2019-06-30 13:07:20 +0200
commitb030589f8a7286adbb2cc4d7b5c1368b71b5de80 (patch)
tree41cd0bb05940ce61c6057664745b6d8f46e2db31
parent05e4e9ce1a3a7ed032cb9dad31d922165e408559 (diff)
downloadaur-b030589f8a7286adbb2cc4d7b5c1368b71b5de80.tar.gz
Update to 3.5-1.
-rw-r--r--.SRCINFO15
-rw-r--r--0001-Fix-compiler-warning-issues.patch28
-rw-r--r--PKGBUILD18
3 files changed, 14 insertions, 47 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 66d9f263026..29c8e7a6da0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,16 @@
pkgbase = gnucash-xbt
pkgdesc = A personal and small-business financial-accounting application with Bitcoin support
- pkgver = 3.2
- pkgrel = 2
+ pkgver = 3.5
+ pkgrel = 1
url = http://www.gnucash.org
arch = x86_64
license = GPL
makedepends = boost
makedepends = cmake
makedepends = gmock
- makedepends = gwenhywfar
makedepends = libdbi
makedepends = libdbi-drivers
- makedepends = libmariadbclient
+ makedepends = mariadb-libs
makedepends = postgresql-libs
depends = aqbanking
depends = boost-libs
@@ -25,12 +24,10 @@ pkgbase = gnucash-xbt
conflicts = gnucash
conflicts = gnucash-devel
options = !emptydirs
- source = https://github.com/Gnucash/gnucash/releases/download/3.2/gnucash-3.2.tar.bz2
+ source = https://github.com/Gnucash/gnucash/releases/download/3.5/gnucash-3.5.tar.bz2
source = xbt.patch
- source = 0001-Fix-compiler-warning-issues.patch
- sha1sums = 4ab5baf0d7328e7b6f6a0cb0b4fea3864beb17dd
- sha1sums = 52cf6820bf1dd87b5807997e49ec9c861ff516af
- sha1sums = 2a206572b385288fd4a7dd9b2bedb2b793d4ca2b
+ sha256sums = 776d0b51b6029e25b5c7e9eb86021d5ecf1b09d8f3241b279f76dba9cc3b7745
+ sha256sums = 8cf12425a9f66c69473d83582742244889dc0ffb854d3a502aca58bc649878d4
pkgname = gnucash-xbt
diff --git a/0001-Fix-compiler-warning-issues.patch b/0001-Fix-compiler-warning-issues.patch
deleted file mode 100644
index 903a0b006e6..00000000000
--- a/0001-Fix-compiler-warning-issues.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index b2fcffb17..b2ecf7dc2 100644
---- CMakeLists.txt.orig
-+++ CMakeLists.txt
-@@ -572,8 +572,9 @@ set(CMAKE_CXX_FLAGS "-std=gnu++11 ${CMAKE_CXX_FLAGS}") # FIXME: should be -std=
-
- if (UNIX)
- set( CMAKE_C_FLAGS "-Werror -Wdeclaration-after-statement -Wno-pointer-sign -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-unused ${CMAKE_C_FLAGS}")
-- set( CMAKE_CXX_FLAGS "-Werror -Wall -Wmissing-declarations -Wno-unused -Wno-error=parentheses ${CMAKE_CXX_FLAGS}")
- set( CMAKE_C_FLAGS "-Wno-deprecated-declarations -std=gnu11 -Wno-error=parentheses ${CMAKE_C_FLAGS}")
-+ set( CMAKE_CXX_FLAGS "-Werror -Wall -Wmissing-declarations -Wno-unused -Wno-error=parentheses ${CMAKE_CXX_FLAGS}")
-+ set( CMAKE_CXX_FLAGS "-Wno-deprecated-declarations -Wno-register ${CMAKE_CXX_FLAGS}")
- set( CMAKE_C_FLAGS_RELEASE "-O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 ${CMAKE_C_FLAGS}")
- endif (UNIX)
- if (MINGW)
---- libgnucash/engine/CMakeLists.txt.orig
-+++ libgnucash/engine/CMakeLists.txt
-@@ -235,7 +235,6 @@ add_dependencies (gncmod-engine swig-runtime-h iso-4217-c)
- target_link_libraries(gncmod-engine gnc-core-utils gnc-module ${Boost_DATE_TIME_LIBRARIES} ${Boost_REGEX_LIBRARIES} ${REGEX_LDFLAGS} ${GMODULE_LDFLAGS} ${GLIB2_LDFLAGS} ${GOBJECT_LDFLAGS} ${GUILE_LDFLAGS})
-
- target_compile_definitions (gncmod-engine PRIVATE -DG_LOG_DOMAIN=\"gnc.engine\")
--target_compile_options (gncmod-engine PRIVATE -Wno-deprecated-register)
-
- target_include_directories (gncmod-engine
- PRIVATE ${CMAKE_CURRENT_BINARY_DIR} # for iso-4217-currencies.c
---
-2.19.0
-
diff --git a/PKGBUILD b/PKGBUILD
index ec0bc378deb..1aac835a2f3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,15 +2,15 @@
pkgname=gnucash-xbt
_pkgname=gnucash
-pkgver=3.2
-pkgrel=2
+pkgver=3.5
+pkgrel=1
_sourcerel=
pkgdesc="A personal and small-business financial-accounting application with Bitcoin support"
arch=(x86_64)
url="http://www.gnucash.org"
license=(GPL)
depends=(aqbanking boost-libs webkit2gtk libsecret)
-makedepends=(boost cmake gmock gwenhywfar libdbi libdbi-drivers libmariadbclient postgresql-libs)
+makedepends=(boost cmake gmock libdbi libdbi-drivers mariadb-libs postgresql-libs)
optdepends=(
'gnucash-docs: for documentation'
'iso-codes: for translation of currency names'
@@ -21,16 +21,14 @@ options=(!emptydirs)
conflicts=(gnucash gnucash-devel)
provides=(gnucash)
source=("https://github.com/Gnucash/${_pkgname}/releases/download/${pkgver}/${_pkgname}-${pkgver}${_sourcerel}.tar.bz2"
- "xbt.patch"
- "0001-Fix-compiler-warning-issues.patch")
-sha1sums=('4ab5baf0d7328e7b6f6a0cb0b4fea3864beb17dd'
- '52cf6820bf1dd87b5807997e49ec9c861ff516af'
- '2a206572b385288fd4a7dd9b2bedb2b793d4ca2b')
+ "xbt.patch")
+
+sha256sums=('776d0b51b6029e25b5c7e9eb86021d5ecf1b09d8f3241b279f76dba9cc3b7745'
+ '8cf12425a9f66c69473d83582742244889dc0ffb854d3a502aca58bc649878d4')
prepare() {
cd "${srcdir}/${_pkgname}-${pkgver}"
patch -Np0 -i "${srcdir}/xbt.patch"
- patch -Np0 -i "${srcdir}/0001-Fix-compiler-warning-issues.patch"
cd "${srcdir}"
mkdir build
@@ -48,7 +46,7 @@ prepare() {
build() {
cd "${srcdir}/build"
- make -j8
+ make
}
package() {