[arch-commits] Commit in skrooge/trunk (PKGBUILD skrooge-sqlite-migration.patch)
Antonio Rojas
arojas at archlinux.org
Mon May 13 06:38:39 UTC 2019
Date: Monday, May 13, 2019 @ 06:38:38
Author: arojas
Revision: 467116
Update to 2.19.0, restore designer plugin, switch to webengine
Modified:
skrooge/trunk/PKGBUILD
Deleted:
skrooge/trunk/skrooge-sqlite-migration.patch
--------------------------------+
PKGBUILD | 27 ++++++++++-----------------
skrooge-sqlite-migration.patch | 25 -------------------------
2 files changed, 10 insertions(+), 42 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-05-13 06:29:44 UTC (rev 467115)
+++ PKGBUILD 2019-05-13 06:38:38 UTC (rev 467116)
@@ -4,38 +4,31 @@
# Contributor: neuromante <lorenzo.nizzi.grifi at gmail.com>
pkgname=skrooge
-pkgver=2.18.0
-pkgrel=4
+pkgver=2.19.0
+pkgrel=1
pkgdesc="A personal finances manager for KDE"
arch=('x86_64')
url="https://skrooge.org/"
license=('GPL')
-depends=('qt5-base' 'qca' 'qt5-script' 'qt5-webkit' 'libofx'
+depends=('qt5-base' 'qca' 'qt5-script' 'qt5-webengine' 'libofx'
'grantlee' 'kross' 'knewstuff' 'krunner' 'knotifyconfig'
'sqlcipher' 'python' 'hicolor-icon-theme')
-makedepends=('cmake' 'kdoctools' 'extra-cmake-modules' 'qt5-tools' 'patch')
+makedepends=('cmake' 'kdoctools' 'extra-cmake-modules' 'qt5-tools' 'patch' 'kdesignerplugin')
options=('!emptydirs')
install=$pkgname.install
changelog=$pkgname.changelog
-source=(https://download.kde.org/stable/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}
- skrooge-sqlite-migration.patch)
+source=(https://download.kde.org/stable/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
validpgpkeys=('103DC6D087B3A4A2ED975D7EF0C8CED3382A5C4D') #Stephane MANKOWSKI (Perso) <stephane at mankowski.fr>
-sha256sums=('4671dfe736d92c2de51a872b49bfbdc251e7e869b5672b6546b85aca4409f303'
- 'SKIP'
- '94a3065deb5d925ca1e2dbeb081a989cdd8183387b26c28535b4b9fa13f4cc22')
+sha256sums=('e678624bc7baaf15b21019d1f37f44bbcc04f464992796e24e8938b3f4c48aa0'
+ 'SKIP')
-prepare() {
- cd $pkgname-$pkgver
- patch -p1 -i ../skrooge-sqlite-migration.patch # Fix migration failure with sqlite 3.25.0
-}
-
build() {
cd $pkgname-$pkgver
- cmake . -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
+ cmake . -DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_LIBDIR=/usr/lib \
- -DSKG_DESIGNER=OFF
+ -DSKG_WEBENGINE=ON \
+ -DSKG_BUILD_TEST=OFF
make
}
Deleted: skrooge-sqlite-migration.patch
===================================================================
--- skrooge-sqlite-migration.patch 2019-05-13 06:29:44 UTC (rev 467115)
+++ skrooge-sqlite-migration.patch 2019-05-13 06:38:38 UTC (rev 467116)
@@ -1,25 +0,0 @@
-From ed442747240d4f14d275890f4a327a1bb6675af7 Mon Sep 17 00:00:00 2001
-From: Stephane MANKOWSKI <stephane at mankowski.fr>
-Date: Thu, 7 Mar 2019 19:00:20 +0100
-Subject: Migration failure with sqlite >= 3.25.0 due to ALTER TABLE behavior
- modification
-
----
- skgbasemodeler/skgdocument.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/skgbasemodeler/skgdocument.cpp b/skgbasemodeler/skgdocument.cpp
-index 01cdcf6..fe8fa03 100644
---- a/skgbasemodeler/skgdocument.cpp
-+++ b/skgbasemodeler/skgdocument.cpp
-@@ -1524,6 +1524,7 @@ SKGError SKGDocument::load(const QString& iName, const QString& iPassword, bool
- << QStringLiteral("PRAGMA temp_store=MEMORY")
- // << QStringLiteral("PRAGMA locking_mode=EXCLUSIVE")
- << QStringLiteral("PRAGMA synchronous = OFF")
-+ << QStringLiteral("PRAGMA legacy_alter_table=ON") // For migration on sqlite >=3.25 (see https://sqlite.org/lang_altertable.html)
- << QStringLiteral("PRAGMA recursive_triggers=true");
- IFOKDO(err, executeSqliteOrders(optimization))
-
---
-cgit v1.1
-
More information about the arch-commits
mailing list