[arch-commits] Commit in gnucash/trunk (Fix-CMakeLists-error.patch PKGBUILD)

Balló György bgyorgy at archlinux.org
Thu Aug 29 15:04:24 UTC 2019


    Date: Thursday, August 29, 2019 @ 15:04:24
  Author: bgyorgy
Revision: 504953

upgpkg: gnucash 3.6-1

Update to new version

Added:
  gnucash/trunk/Fix-CMakeLists-error.patch
Modified:
  gnucash/trunk/PKGBUILD

----------------------------+
 Fix-CMakeLists-error.patch |   20 ++++++++++++++++++++
 PKGBUILD                   |   13 ++++++++++---
 2 files changed, 30 insertions(+), 3 deletions(-)

Added: Fix-CMakeLists-error.patch
===================================================================
--- Fix-CMakeLists-error.patch	                        (rev 0)
+++ Fix-CMakeLists-error.patch	2019-08-29 15:04:24 UTC (rev 504953)
@@ -0,0 +1,20 @@
+From ce6c3c22a15102341ca41ddba2a46ea7daf63f17 Mon Sep 17 00:00:00 2001
+From: Christopher Lam <christopher.lck at gmail.com>
+Date: Sat, 20 Jul 2019 20:32:07 +0800
+Subject: [PATCH] Fix CMakeLists error
+
+need to include module
+---
+ gnucash/register/register-gnome/CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/gnucash/register/register-gnome/CMakeLists.txt b/gnucash/register/register-gnome/CMakeLists.txt
+index acfdd89f38..f3527484ba 100644
+--- a/gnucash/register/register-gnome/CMakeLists.txt
++++ b/gnucash/register/register-gnome/CMakeLists.txt
+@@ -1,4 +1,5 @@
+ add_subdirectory(test)
++include(CheckSymbolExists)
+ 
+ #GTK before 3.14 didn't have GDK_MODIFIER_INTENT_DEFAULT_MOD_MASK
+ check_symbol_exists(GDK_MODIFIER_INTENT_DEFAULT_MOD_MASK gdk/gdktypes.h have_mod_mask)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-29 15:02:58 UTC (rev 504952)
+++ PKGBUILD	2019-08-29 15:04:24 UTC (rev 504953)
@@ -3,7 +3,7 @@
 # Contributor: Mark Schneider <queueRAM at gmail.com>
 
 pkgname=gnucash
-pkgver=3.5
+pkgver=3.6
 pkgrel=1
 pkgdesc='Personal and small-business financial-accounting application'
 arch=(x86_64)
@@ -16,9 +16,16 @@
             'perl-date-manip: stock information lookups'
             'perl-finance-quote: stock information lookups')
 options=(!emptydirs)
-source=(https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
-sha256sums=('a378c18df302d9b2c53a59e63a5e1e2d7192048e96f81be6e53926af5c8607d7')
+source=(https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
+        Fix-CMakeLists-error.patch)
+sha256sums=('3ac6627834bb163653eccf4873dabe2adf4d6feb40e0d9f6f6f4d8d91a321677'
+            '1161e9b7e972eaf881376841ec7fbaa68e97d23da6b7694298040ddb721435ac')
 
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i ../Fix-CMakeLists-error.patch
+}
+
 build() {
   cd $pkgname-$pkgver
 



More information about the arch-commits mailing list