Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
kmymoney


Commits:
505fbaa6 by Antonio Rojas at 2025-10-07T14:41:23+02:00
Fix build with libxml2 2.15

- - - - -
af2ab459 by Antonio Rojas at 2025-10-07T14:51:38+02:00
Fix build with Qt 6.10

- - - - -


3 changed files:

- PKGBUILD
- + libxml2-2.15.patch
- + qt-6.10.patch


Changes:

=====================================
PKGBUILD
=====================================
@@ -21,14 +21,21 @@ makedepends=('extra-cmake-modules' 'kdoctools' 'doxygen' 
'qgpgme')
 optdepends=('perl: for financequote.pl')
 changelog=$pkgname.changelog
 
source=(https://download.kde.org/stable/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz{,.sig}
-        identitymanagement.patch)
+        identitymanagement.patch
+        libxml2-2.15.patch
+        qt-6.10.patch)
 validpgpkeys=('D69A745A55331F44F404D8258D4DE062AA2EB01C')
 sha256sums=('feadf40b6d4c90d77e32716a858dd23769081863104d8cea62910b1ec3e4336b'
             'SKIP'
-            'a92ed7427764bbff9e043b45a38280a1e752ef70413605d34957acb3caaa9761')
+            'a92ed7427764bbff9e043b45a38280a1e752ef70413605d34957acb3caaa9761'
+            'b7a95cabb61d6341d5d07911df0f996daaf18b3868f47bfee5d9155b1f3d97b3'
+            'dea34bbb247890217ce70a3a6bd062335e37271b01b31b2ae3568f76f2f9ce5e')
 
 prepare() {
   patch -d $pkgname-$pkgver -p1 < identitymanagement.patch
+  find -name *.docbook | xargs sed -e 's|linkend=" details|linkend="details|g' 
-e 's|tool- aqb-modules|tool-aqb-modules|g' -i
+  patch -d $pkgname-$pkgver -p1 < libxml2-2.15.patch
+  patch -d $pkgname-$pkgver -p1 < qt-6.10.patch
 }
 
 build() {


=====================================
libxml2-2.15.patch
=====================================
@@ -0,0 +1,13 @@
+diff -ru kmymoney-5.2.1.orig/doc/reference.docbook 
kmymoney-5.2.1/doc/reference.docbook
+--- kmymoney-5.2.1.orig/doc/reference.docbook  2025-10-07 14:38:53.058263767 
+0200
++++ kmymoney-5.2.1/doc/reference.docbook       2025-10-07 14:39:12.424509466 
+0200
+@@ -873,8 +873,7 @@
+         enabled.  More information may be found in the section on configuring 
the
+         <link linkend="details.settings.plugins.kbanking">KBanking 
plugin</link> as
+         well as in the <ulink
+-        
url="https://www.gnucash.org/docs/v5/C/gnucash-manual/tools-on-line-banking.html#tool-
+-        aqb-modules">&gnucash; documentation</ulink>.
++        
url="https://www.gnucash.org/docs/v5/C/gnucash-manual/tools-on-line-banking.html#tool-aqb-modules";>&gnucash;
 documentation</ulink>.
+       </para>
+ 
+       <para>


=====================================
qt-6.10.patch
=====================================
@@ -0,0 +1,13 @@
+diff -ru kmymoney-5.2.1.orig/CMakeLists.txt kmymoney-5.2.1/CMakeLists.txt
+--- kmymoney-5.2.1.orig/CMakeLists.txt  2025-10-07 14:38:53.055369291 +0200
++++ kmymoney-5.2.1/CMakeLists.txt       2025-10-07 14:44:41.093977132 +0200
+@@ -184,6 +184,9 @@
+ 
+ find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} REQUIRED COMPONENTS Core 
DBus Widgets Svg Xml Test PrintSupport)
+ find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} OPTIONAL_COMPONENTS Sql 
Concurrent QuickWidgets)
++if (Qt${QT_MAJOR_VERSION}_VERSION VERSION_GREATER_EQUAL 6.10)
++    find_package(Qt${QT_MAJOR_VERSION} COMPONENTS SqlPrivate REQUIRED)
++endif()
+ 
+ find_package(KF${QT_MAJOR_VERSION} ${KF_MIN_VERSION} REQUIRED COMPONENTS 
Archive CoreAddons Config ConfigWidgets Crash I18n Completion KCMUtils 
ItemModels ItemViews Service XmlGui TextWidgets Notifications KIO)
+ 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/kmymoney/-/compare/3c6d8a9f608de921354223a2eaa52736d9e2e666...af2ab4593111252754107f04d771e7350bfa9fc6

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/kmymoney/-/compare/3c6d8a9f608de921354223a2eaa52736d9e2e666...af2ab4593111252754107f04d771e7350bfa9fc6
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to