* Re: [PR PATCH] [Updated] gwenhywfar: update to 5.10.2, remove -gtk; aqbanking: update to 6.5.4
2023-07-31 18:31 [PR PATCH] gwenhywfar: update to 5.10.2, remove -gtk cinerea0
@ 2023-07-31 20:26 ` cinerea0
2023-07-31 20:53 ` cinerea0
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: cinerea0 @ 2023-07-31 20:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 840 bytes --]
There is an updated pull request by cinerea0 against master on the void-packages repository
https://github.com/cinerea0/void-packages gwenhywfar
https://github.com/void-linux/void-packages/pull/45360
gwenhywfar: update to 5.10.2, remove -gtk; aqbanking: update to 6.5.4
#### Testing the changes
- I tested the changes in this PR: **briefly**
I tested this as part of the gnucash update, and everything seems to work fine. I did **not** test against the older version of gnucash, so this should only be merged after https://github.com/void-linux/void-packages/pull/43386.
Please let me know if I handled anything incorrectly with removing the `gwenhywfar-gtk` subpackage. Nothing depends on it and it's GTK2, so it should be fine to remove.
A patch file from https://github.com/void-linux/void-packages/pull/45360.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gwenhywfar-45360.patch --]
[-- Type: text/x-diff, Size: 5608 bytes --]
From 483c03baf3b7af08b0db0cef41b173bccd99ed6f Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Mon, 31 Jul 2023 16:24:53 -0400
Subject: [PATCH] gwenhywfar: update to 5.10.2, remove -gtk gwenhywfar-gtk:
remove package, GTK2 no longer supported
---
common/shlibs | 1 -
srcpkgs/gwenhywfar-gtk | 1 -
srcpkgs/gwenhywfar/patches/qt5-cross.patch | 25 ++++++++++++---------
srcpkgs/gwenhywfar/template | 26 ++++++++--------------
srcpkgs/removed-packages/template | 1 +
5 files changed, 24 insertions(+), 30 deletions(-)
delete mode 120000 srcpkgs/gwenhywfar-gtk
diff --git a/common/shlibs b/common/shlibs
index a521ea1b66ae1..f1397a98e423b 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1548,7 +1548,6 @@ libslang.so.2 slang-2.2.4_1
libtre.so.5 tre-0.8.0_1
libktoblzcheck.so.1 ktoblzcheck-1.43_2
libgwenhywfar.so.79 gwenhywfar-5.4.0_2
-libgwengui-gtk2.so.79 gwenhywfar-gtk-5.4.0_2
libgwengui-gtk3.so.79 gwenhywfar-gtk3-5.4.0_2
libgwengui-cpp.so.79 gwenhywfar-5.4.0_2
libgwengui-qt5.so.79 gwenhywfar-qt5-5.4.0_2
diff --git a/srcpkgs/gwenhywfar-gtk b/srcpkgs/gwenhywfar-gtk
deleted file mode 120000
index b046bf7ff97c8..0000000000000
--- a/srcpkgs/gwenhywfar-gtk
+++ /dev/null
@@ -1 +0,0 @@
-gwenhywfar
\ No newline at end of file
diff --git a/srcpkgs/gwenhywfar/patches/qt5-cross.patch b/srcpkgs/gwenhywfar/patches/qt5-cross.patch
index 3488200908f1e..b7c53311b0fa8 100644
--- a/srcpkgs/gwenhywfar/patches/qt5-cross.patch
+++ b/srcpkgs/gwenhywfar/patches/qt5-cross.patch
@@ -1,28 +1,31 @@
---- a/m4/ax_have_qt.m4 2020-01-16 19:40:22.927813462 +0100
-+++ b/m4/ax_have_qt.m4 2020-01-16 19:42:12.106436543 +0100
-@@ -74,6 +74,12 @@
+diff --git a/m4/ax_have_qt.m4 b/m4/ax_have_qt.m4
+index f035a81852..b43f8c2387 100644
+--- a/m4/ax_have_qt.m4
++++ b/m4/ax_have_qt.m4
+@@ -74,6 +74,13 @@ AC_DEFUN([AX_HAVE_QT],
+ [QT_QMAKE="$withval"],
[QT_QMAKE="qmake"]
)
-
++
+ AC_ARG_WITH(qt5-config,
+ [ --with-qt5-config=FILE uses given qt configuration],
-+ [QT_CONFIGURATION="$withval"],
++ [QT_CONFIGURATION="$withval"],
+ [QT_CONFIGURATION=""]
+ )
-+
++
AC_MSG_CHECKING(for Qt)
# If we have Qt5 or later in the path, we're golden
ver=`$QT_QMAKE --version | grep -o "Qt version ."`
-@@ -122,7 +128,11 @@
+@@ -96,7 +103,11 @@ percent.target = %
percent.commands = @echo -n "\$(\$(@))\ "
QMAKE_EXTRA_TARGETS += percent
EOF
- $QT_QMAKE $am_have_qt_pro -o $am_have_qt_makefile
+ if test -z $QT_CONFIGURATION; then
-+ $QT_QMAKE $am_have_qt_pro -o $am_have_qt_makefile
++ $QT_QMAKE $am_have_qt_pro -o $am_have_qt_makefile
+ else
-+ $QT_QMAKE $am_have_qt_pro -o $am_have_qt_makefile -qtconf $QT_CONFIGURATION
++ $QT_QMAKE $am_have_qt_pro -o $am_have_qt_makefile -qtconf $QT_CONFIGURATION
+ fi
- QT_CXXFLAGS=`make -s -f $am_have_qt_makefile CXXFLAGS INCPATH`
- QT_LIBS=`make -s -f $am_have_qt_makefile LIBS`
+ QT_CXXFLAGS=`cd $am_have_qt_dir; make -s -f $am_have_qt_makefile CXXFLAGS INCPATH`
+ QT_LIBS=`cd $am_have_qt_dir; make -s -f $am_have_qt_makefile LIBS`
rm $am_have_qt_pro $am_have_qt_makefile
diff --git a/srcpkgs/gwenhywfar/template b/srcpkgs/gwenhywfar/template
index c6e01f4bea860..5dab031241afa 100644
--- a/srcpkgs/gwenhywfar/template
+++ b/srcpkgs/gwenhywfar/template
@@ -1,18 +1,19 @@
# Template file for 'gwenhywfar'
pkgname=gwenhywfar
-version=5.6.0
+version=5.10.2
revision=1
build_style=gnu-configure
-configure_args="--disable-binreloc
+configure_args="--disable-binreloc --disable-network-checks
--with-qt5-moc=/usr/lib/qt5/bin/moc --with-qt5-uic=/usr/lib/qt5/bin/uic"
-hostmakedepends="automake pkg-config libgcrypt-devel libtool which"
+hostmakedepends="automake pkg-config libgcrypt-devel libtool which
+ gettext-devel"
makedepends="libgcrypt-devel gnutls-devel gtk+-devel qt5-devel gtk+3-devel"
short_desc="OS abstraction functions for various projects"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://github.com/aqbanking/gwenhywfar"
-distfiles="https://github.com/aqbanking/gwenhywfar/archive/${version}.tar.gz"
-checksum=9f2876770824a283d02fd730bb1f7a98970fa6f20121f4af433d6698831c3a84
+distfiles="https://github.com/aqbanking/gwenhywfar/archive/refs/tags/${version}.tar.gz"
+checksum=2b0b9dd49b95f025f4e0c0346ba88e20b893407c444fccf6403a4da349954f04
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel"
@@ -20,11 +21,9 @@ fi
pre_configure() {
export QT_SELECT=5
- # Build all GUIs
- vsed -i configure.ac -e's;"qt4 gtk2";"qt5 gtk2 gtk3";'
autoreconf -fi
if [ "$CROSS_BUILD" ]; then
- cat > "${wrksrc}/qt.conf" <<_EOF
+ cat > "${wrksrc}/qt.conf" <<_EOF
[Paths]
Sysroot=${XBPS_CROSS_BASE}
Prefix=${XBPS_CROSS_BASE}/usr
@@ -49,15 +48,8 @@ HostLibraries=/usr/lib
Spec=linux-g++
TargetSpec=linux-g++
_EOF
- configure_args+=" --with-qt5-config=${wrksrc}/qt.conf"
- fi
-}
-
-gwenhywfar-gtk_package() {
- short_desc+=" - gtk+2 bindings"
- pkg_install() {
- vmove usr/lib/*-gtk2*
- }
+ configure_args+=" --with-qt5-config=${wrksrc}/qt.conf"
+ fi
}
gwenhywfar-gtk3_package() {
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index 5b0e0047ee3e6..711569bc6f134 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -166,6 +166,7 @@ replaces="
gtkhtml<=4.10.0_1
guile1.8-devel<=1.8.8_3
guile1.8<=1.8.8_3
+ gwenhywfar-gtk<=5.6.0_1
gx-go<=1.9.0_1
gx<=0.14.3_1
hangups<=0.4.18_2
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PR PATCH] [Updated] gwenhywfar: update to 5.10.2, remove -gtk; aqbanking: update to 6.5.4
2023-07-31 18:31 [PR PATCH] gwenhywfar: update to 5.10.2, remove -gtk cinerea0
2023-07-31 20:26 ` [PR PATCH] [Updated] gwenhywfar: update to 5.10.2, remove -gtk; aqbanking: update to 6.5.4 cinerea0
@ 2023-07-31 20:53 ` cinerea0
2023-07-31 21:05 ` cinerea0
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: cinerea0 @ 2023-07-31 20:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 840 bytes --]
There is an updated pull request by cinerea0 against master on the void-packages repository
https://github.com/cinerea0/void-packages gwenhywfar
https://github.com/void-linux/void-packages/pull/45360
gwenhywfar: update to 5.10.2, remove -gtk; aqbanking: update to 6.5.4
#### Testing the changes
- I tested the changes in this PR: **briefly**
I tested this as part of the gnucash update, and everything seems to work fine. I did **not** test against the older version of gnucash, so this should only be merged after https://github.com/void-linux/void-packages/pull/43386.
Please let me know if I handled anything incorrectly with removing the `gwenhywfar-gtk` subpackage. Nothing depends on it and it's GTK2, so it should be fine to remove.
A patch file from https://github.com/void-linux/void-packages/pull/45360.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gwenhywfar-45360.patch --]
[-- Type: text/x-diff, Size: 7068 bytes --]
From fe75379f17242d2f3eb3561d54712f84412afd36 Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Mon, 31 Jul 2023 16:53:00 -0400
Subject: [PATCH] gwenhywfar: update to 5.10.2, remove -gtk gwenhywfar-gtk:
remove package, GTK2 no longer supported
---
common/shlibs | 1 -
srcpkgs/gwenhywfar-gtk | 1 -
srcpkgs/gwenhywfar/patches/qt5-cross.patch | 25 ++++----
srcpkgs/gwenhywfar/template | 74 ++++++++++------------
srcpkgs/removed-packages/template | 1 +
5 files changed, 48 insertions(+), 54 deletions(-)
delete mode 120000 srcpkgs/gwenhywfar-gtk
diff --git a/common/shlibs b/common/shlibs
index a521ea1b66ae1..f1397a98e423b 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1548,7 +1548,6 @@ libslang.so.2 slang-2.2.4_1
libtre.so.5 tre-0.8.0_1
libktoblzcheck.so.1 ktoblzcheck-1.43_2
libgwenhywfar.so.79 gwenhywfar-5.4.0_2
-libgwengui-gtk2.so.79 gwenhywfar-gtk-5.4.0_2
libgwengui-gtk3.so.79 gwenhywfar-gtk3-5.4.0_2
libgwengui-cpp.so.79 gwenhywfar-5.4.0_2
libgwengui-qt5.so.79 gwenhywfar-qt5-5.4.0_2
diff --git a/srcpkgs/gwenhywfar-gtk b/srcpkgs/gwenhywfar-gtk
deleted file mode 120000
index b046bf7ff97c8..0000000000000
--- a/srcpkgs/gwenhywfar-gtk
+++ /dev/null
@@ -1 +0,0 @@
-gwenhywfar
\ No newline at end of file
diff --git a/srcpkgs/gwenhywfar/patches/qt5-cross.patch b/srcpkgs/gwenhywfar/patches/qt5-cross.patch
index 3488200908f1e..b7c53311b0fa8 100644
--- a/srcpkgs/gwenhywfar/patches/qt5-cross.patch
+++ b/srcpkgs/gwenhywfar/patches/qt5-cross.patch
@@ -1,28 +1,31 @@
---- a/m4/ax_have_qt.m4 2020-01-16 19:40:22.927813462 +0100
-+++ b/m4/ax_have_qt.m4 2020-01-16 19:42:12.106436543 +0100
-@@ -74,6 +74,12 @@
+diff --git a/m4/ax_have_qt.m4 b/m4/ax_have_qt.m4
+index f035a81852..b43f8c2387 100644
+--- a/m4/ax_have_qt.m4
++++ b/m4/ax_have_qt.m4
+@@ -74,6 +74,13 @@ AC_DEFUN([AX_HAVE_QT],
+ [QT_QMAKE="$withval"],
[QT_QMAKE="qmake"]
)
-
++
+ AC_ARG_WITH(qt5-config,
+ [ --with-qt5-config=FILE uses given qt configuration],
-+ [QT_CONFIGURATION="$withval"],
++ [QT_CONFIGURATION="$withval"],
+ [QT_CONFIGURATION=""]
+ )
-+
++
AC_MSG_CHECKING(for Qt)
# If we have Qt5 or later in the path, we're golden
ver=`$QT_QMAKE --version | grep -o "Qt version ."`
-@@ -122,7 +128,11 @@
+@@ -96,7 +103,11 @@ percent.target = %
percent.commands = @echo -n "\$(\$(@))\ "
QMAKE_EXTRA_TARGETS += percent
EOF
- $QT_QMAKE $am_have_qt_pro -o $am_have_qt_makefile
+ if test -z $QT_CONFIGURATION; then
-+ $QT_QMAKE $am_have_qt_pro -o $am_have_qt_makefile
++ $QT_QMAKE $am_have_qt_pro -o $am_have_qt_makefile
+ else
-+ $QT_QMAKE $am_have_qt_pro -o $am_have_qt_makefile -qtconf $QT_CONFIGURATION
++ $QT_QMAKE $am_have_qt_pro -o $am_have_qt_makefile -qtconf $QT_CONFIGURATION
+ fi
- QT_CXXFLAGS=`make -s -f $am_have_qt_makefile CXXFLAGS INCPATH`
- QT_LIBS=`make -s -f $am_have_qt_makefile LIBS`
+ QT_CXXFLAGS=`cd $am_have_qt_dir; make -s -f $am_have_qt_makefile CXXFLAGS INCPATH`
+ QT_LIBS=`cd $am_have_qt_dir; make -s -f $am_have_qt_makefile LIBS`
rm $am_have_qt_pro $am_have_qt_makefile
diff --git a/srcpkgs/gwenhywfar/template b/srcpkgs/gwenhywfar/template
index c6e01f4bea860..e6fdfa7a1aea6 100644
--- a/srcpkgs/gwenhywfar/template
+++ b/srcpkgs/gwenhywfar/template
@@ -1,18 +1,19 @@
# Template file for 'gwenhywfar'
pkgname=gwenhywfar
-version=5.6.0
+version=5.10.2
revision=1
build_style=gnu-configure
-configure_args="--disable-binreloc
+configure_args="--disable-binreloc --disable-network-checks
--with-qt5-moc=/usr/lib/qt5/bin/moc --with-qt5-uic=/usr/lib/qt5/bin/uic"
-hostmakedepends="automake pkg-config libgcrypt-devel libtool which"
+hostmakedepends="automake pkg-config libgcrypt-devel libtool which
+ gettext-devel"
makedepends="libgcrypt-devel gnutls-devel gtk+-devel qt5-devel gtk+3-devel"
short_desc="OS abstraction functions for various projects"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://github.com/aqbanking/gwenhywfar"
-distfiles="https://github.com/aqbanking/gwenhywfar/archive/${version}.tar.gz"
-checksum=9f2876770824a283d02fd730bb1f7a98970fa6f20121f4af433d6698831c3a84
+distfiles="https://github.com/aqbanking/gwenhywfar/archive/refs/tags/${version}.tar.gz"
+checksum=2b0b9dd49b95f025f4e0c0346ba88e20b893407c444fccf6403a4da349954f04
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel"
@@ -20,44 +21,35 @@ fi
pre_configure() {
export QT_SELECT=5
- # Build all GUIs
- vsed -i configure.ac -e's;"qt4 gtk2";"qt5 gtk2 gtk3";'
autoreconf -fi
if [ "$CROSS_BUILD" ]; then
- cat > "${wrksrc}/qt.conf" <<_EOF
-[Paths]
-Sysroot=${XBPS_CROSS_BASE}
-Prefix=${XBPS_CROSS_BASE}/usr
-ArchData=${XBPS_CROSS_BASE}/usr/lib/qt5
-Data=${XBPS_CROSS_BASE}/usr/share/qt5
-Documentation=${XBPS_CROSS_BASE}/usr/share/doc/qt5
-Headers=${XBPS_CROSS_BASE}/usr/include/qt5
-Libraries=${XBPS_CROSS_BASE}/usr/lib
-LibraryExecutables=/usr/lib/qt5/libexec
-Binaries=/usr/lib/qt5/bin
-Tests=${XBPS_CROSS_BASE}/usr/tests
-Plugins=/usr/lib/qt5/plugins
-Imports=${XBPS_CROSS_BASE}/usr/lib/qt5/imports
-Qml2Imports=${XBPS_CROSS_BASE}/usr/lib/qt5/qml
-Translations=${XBPS_CROSS_BASE}/usr/share/qt5/translations
-Settings=${XBPS_CROSS_BASE}/etc/xdg
-Examples=${XBPS_CROSS_BASE}/usr/share/qt5/examples
-HostPrefix=/usr
-HostData=/usr/lib/qt5
-HostBinaries=/usr/lib/qt5/bin
-HostLibraries=/usr/lib
-Spec=linux-g++
-TargetSpec=linux-g++
-_EOF
- configure_args+=" --with-qt5-config=${wrksrc}/qt.conf"
- fi
-}
-
-gwenhywfar-gtk_package() {
- short_desc+=" - gtk+2 bindings"
- pkg_install() {
- vmove usr/lib/*-gtk2*
- }
+ cat > "${wrksrc}/qt.conf" <<- _EOF
+ [Paths]
+ Sysroot=${XBPS_CROSS_BASE}
+ Prefix=${XBPS_CROSS_BASE}/usr
+ ArchData=${XBPS_CROSS_BASE}/usr/lib/qt5
+ Data=${XBPS_CROSS_BASE}/usr/share/qt5
+ Documentation=${XBPS_CROSS_BASE}/usr/share/doc/qt5
+ Headers=${XBPS_CROSS_BASE}/usr/include/qt5
+ Libraries=${XBPS_CROSS_BASE}/usr/lib
+ LibraryExecutables=/usr/lib/qt5/libexec
+ Binaries=/usr/lib/qt5/bin
+ Tests=${XBPS_CROSS_BASE}/usr/tests
+ Plugins=/usr/lib/qt5/plugins
+ Imports=${XBPS_CROSS_BASE}/usr/lib/qt5/imports
+ Qml2Imports=${XBPS_CROSS_BASE}/usr/lib/qt5/qml
+ Translations=${XBPS_CROSS_BASE}/usr/share/qt5/translations
+ Settings=${XBPS_CROSS_BASE}/etc/xdg
+ Examples=${XBPS_CROSS_BASE}/usr/share/qt5/examples
+ HostPrefix=/usr
+ HostData=/usr/lib/qt5
+ HostBinaries=/usr/lib/qt5/bin
+ HostLibraries=/usr/lib
+ Spec=linux-g++
+ TargetSpec=linux-g++
+ _EOF
+ configure_args+=" --with-qt5-config=${wrksrc}/qt.conf"
+ fi
}
gwenhywfar-gtk3_package() {
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index 5b0e0047ee3e6..711569bc6f134 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -166,6 +166,7 @@ replaces="
gtkhtml<=4.10.0_1
guile1.8-devel<=1.8.8_3
guile1.8<=1.8.8_3
+ gwenhywfar-gtk<=5.6.0_1
gx-go<=1.9.0_1
gx<=0.14.3_1
hangups<=0.4.18_2
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PR PATCH] [Updated] gwenhywfar: update to 5.10.2, remove -gtk; aqbanking: update to 6.5.4
2023-07-31 18:31 [PR PATCH] gwenhywfar: update to 5.10.2, remove -gtk cinerea0
2023-07-31 20:26 ` [PR PATCH] [Updated] gwenhywfar: update to 5.10.2, remove -gtk; aqbanking: update to 6.5.4 cinerea0
2023-07-31 20:53 ` cinerea0
@ 2023-07-31 21:05 ` cinerea0
2023-07-31 21:26 ` cinerea0
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: cinerea0 @ 2023-07-31 21:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 840 bytes --]
There is an updated pull request by cinerea0 against master on the void-packages repository
https://github.com/cinerea0/void-packages gwenhywfar
https://github.com/void-linux/void-packages/pull/45360
gwenhywfar: update to 5.10.2, remove -gtk; aqbanking: update to 6.5.4
#### Testing the changes
- I tested the changes in this PR: **briefly**
I tested this as part of the gnucash update, and everything seems to work fine. I did **not** test against the older version of gnucash, so this should only be merged after https://github.com/void-linux/void-packages/pull/43386.
Please let me know if I handled anything incorrectly with removing the `gwenhywfar-gtk` subpackage. Nothing depends on it and it's GTK2, so it should be fine to remove.
A patch file from https://github.com/void-linux/void-packages/pull/45360.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gwenhywfar-45360.patch --]
[-- Type: text/x-diff, Size: 9064 bytes --]
From a9c659fb591704b6b38bca2ee54603912828ea79 Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Mon, 31 Jul 2023 17:05:16 -0400
Subject: [PATCH 1/2] gwenhywfar: update to 5.10.2, remove -gtk
gwenhywfar-gtk: remove package, GTK2 no longer supported
---
common/shlibs | 1 -
srcpkgs/gwenhywfar-gtk | 1 -
srcpkgs/gwenhywfar/patches/qt5-cross.patch | 25 ++++----
srcpkgs/gwenhywfar/template | 74 ++++++++++------------
srcpkgs/removed-packages/template | 1 +
5 files changed, 48 insertions(+), 54 deletions(-)
delete mode 120000 srcpkgs/gwenhywfar-gtk
diff --git a/common/shlibs b/common/shlibs
index a521ea1b66ae1..f1397a98e423b 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1548,7 +1548,6 @@ libslang.so.2 slang-2.2.4_1
libtre.so.5 tre-0.8.0_1
libktoblzcheck.so.1 ktoblzcheck-1.43_2
libgwenhywfar.so.79 gwenhywfar-5.4.0_2
-libgwengui-gtk2.so.79 gwenhywfar-gtk-5.4.0_2
libgwengui-gtk3.so.79 gwenhywfar-gtk3-5.4.0_2
libgwengui-cpp.so.79 gwenhywfar-5.4.0_2
libgwengui-qt5.so.79 gwenhywfar-qt5-5.4.0_2
diff --git a/srcpkgs/gwenhywfar-gtk b/srcpkgs/gwenhywfar-gtk
deleted file mode 120000
index b046bf7ff97c8..0000000000000
--- a/srcpkgs/gwenhywfar-gtk
+++ /dev/null
@@ -1 +0,0 @@
-gwenhywfar
\ No newline at end of file
diff --git a/srcpkgs/gwenhywfar/patches/qt5-cross.patch b/srcpkgs/gwenhywfar/patches/qt5-cross.patch
index 3488200908f1e..b7c53311b0fa8 100644
--- a/srcpkgs/gwenhywfar/patches/qt5-cross.patch
+++ b/srcpkgs/gwenhywfar/patches/qt5-cross.patch
@@ -1,28 +1,31 @@
---- a/m4/ax_have_qt.m4 2020-01-16 19:40:22.927813462 +0100
-+++ b/m4/ax_have_qt.m4 2020-01-16 19:42:12.106436543 +0100
-@@ -74,6 +74,12 @@
+diff --git a/m4/ax_have_qt.m4 b/m4/ax_have_qt.m4
+index f035a81852..b43f8c2387 100644
+--- a/m4/ax_have_qt.m4
++++ b/m4/ax_have_qt.m4
+@@ -74,6 +74,13 @@ AC_DEFUN([AX_HAVE_QT],
+ [QT_QMAKE="$withval"],
[QT_QMAKE="qmake"]
)
-
++
+ AC_ARG_WITH(qt5-config,
+ [ --with-qt5-config=FILE uses given qt configuration],
-+ [QT_CONFIGURATION="$withval"],
++ [QT_CONFIGURATION="$withval"],
+ [QT_CONFIGURATION=""]
+ )
-+
++
AC_MSG_CHECKING(for Qt)
# If we have Qt5 or later in the path, we're golden
ver=`$QT_QMAKE --version | grep -o "Qt version ."`
-@@ -122,7 +128,11 @@
+@@ -96,7 +103,11 @@ percent.target = %
percent.commands = @echo -n "\$(\$(@))\ "
QMAKE_EXTRA_TARGETS += percent
EOF
- $QT_QMAKE $am_have_qt_pro -o $am_have_qt_makefile
+ if test -z $QT_CONFIGURATION; then
-+ $QT_QMAKE $am_have_qt_pro -o $am_have_qt_makefile
++ $QT_QMAKE $am_have_qt_pro -o $am_have_qt_makefile
+ else
-+ $QT_QMAKE $am_have_qt_pro -o $am_have_qt_makefile -qtconf $QT_CONFIGURATION
++ $QT_QMAKE $am_have_qt_pro -o $am_have_qt_makefile -qtconf $QT_CONFIGURATION
+ fi
- QT_CXXFLAGS=`make -s -f $am_have_qt_makefile CXXFLAGS INCPATH`
- QT_LIBS=`make -s -f $am_have_qt_makefile LIBS`
+ QT_CXXFLAGS=`cd $am_have_qt_dir; make -s -f $am_have_qt_makefile CXXFLAGS INCPATH`
+ QT_LIBS=`cd $am_have_qt_dir; make -s -f $am_have_qt_makefile LIBS`
rm $am_have_qt_pro $am_have_qt_makefile
diff --git a/srcpkgs/gwenhywfar/template b/srcpkgs/gwenhywfar/template
index c6e01f4bea860..e6fdfa7a1aea6 100644
--- a/srcpkgs/gwenhywfar/template
+++ b/srcpkgs/gwenhywfar/template
@@ -1,18 +1,19 @@
# Template file for 'gwenhywfar'
pkgname=gwenhywfar
-version=5.6.0
+version=5.10.2
revision=1
build_style=gnu-configure
-configure_args="--disable-binreloc
+configure_args="--disable-binreloc --disable-network-checks
--with-qt5-moc=/usr/lib/qt5/bin/moc --with-qt5-uic=/usr/lib/qt5/bin/uic"
-hostmakedepends="automake pkg-config libgcrypt-devel libtool which"
+hostmakedepends="automake pkg-config libgcrypt-devel libtool which
+ gettext-devel"
makedepends="libgcrypt-devel gnutls-devel gtk+-devel qt5-devel gtk+3-devel"
short_desc="OS abstraction functions for various projects"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://github.com/aqbanking/gwenhywfar"
-distfiles="https://github.com/aqbanking/gwenhywfar/archive/${version}.tar.gz"
-checksum=9f2876770824a283d02fd730bb1f7a98970fa6f20121f4af433d6698831c3a84
+distfiles="https://github.com/aqbanking/gwenhywfar/archive/refs/tags/${version}.tar.gz"
+checksum=2b0b9dd49b95f025f4e0c0346ba88e20b893407c444fccf6403a4da349954f04
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel"
@@ -20,44 +21,35 @@ fi
pre_configure() {
export QT_SELECT=5
- # Build all GUIs
- vsed -i configure.ac -e's;"qt4 gtk2";"qt5 gtk2 gtk3";'
autoreconf -fi
if [ "$CROSS_BUILD" ]; then
- cat > "${wrksrc}/qt.conf" <<_EOF
-[Paths]
-Sysroot=${XBPS_CROSS_BASE}
-Prefix=${XBPS_CROSS_BASE}/usr
-ArchData=${XBPS_CROSS_BASE}/usr/lib/qt5
-Data=${XBPS_CROSS_BASE}/usr/share/qt5
-Documentation=${XBPS_CROSS_BASE}/usr/share/doc/qt5
-Headers=${XBPS_CROSS_BASE}/usr/include/qt5
-Libraries=${XBPS_CROSS_BASE}/usr/lib
-LibraryExecutables=/usr/lib/qt5/libexec
-Binaries=/usr/lib/qt5/bin
-Tests=${XBPS_CROSS_BASE}/usr/tests
-Plugins=/usr/lib/qt5/plugins
-Imports=${XBPS_CROSS_BASE}/usr/lib/qt5/imports
-Qml2Imports=${XBPS_CROSS_BASE}/usr/lib/qt5/qml
-Translations=${XBPS_CROSS_BASE}/usr/share/qt5/translations
-Settings=${XBPS_CROSS_BASE}/etc/xdg
-Examples=${XBPS_CROSS_BASE}/usr/share/qt5/examples
-HostPrefix=/usr
-HostData=/usr/lib/qt5
-HostBinaries=/usr/lib/qt5/bin
-HostLibraries=/usr/lib
-Spec=linux-g++
-TargetSpec=linux-g++
-_EOF
- configure_args+=" --with-qt5-config=${wrksrc}/qt.conf"
- fi
-}
-
-gwenhywfar-gtk_package() {
- short_desc+=" - gtk+2 bindings"
- pkg_install() {
- vmove usr/lib/*-gtk2*
- }
+ cat > "${wrksrc}/qt.conf" <<- _EOF
+ [Paths]
+ Sysroot=${XBPS_CROSS_BASE}
+ Prefix=${XBPS_CROSS_BASE}/usr
+ ArchData=${XBPS_CROSS_BASE}/usr/lib/qt5
+ Data=${XBPS_CROSS_BASE}/usr/share/qt5
+ Documentation=${XBPS_CROSS_BASE}/usr/share/doc/qt5
+ Headers=${XBPS_CROSS_BASE}/usr/include/qt5
+ Libraries=${XBPS_CROSS_BASE}/usr/lib
+ LibraryExecutables=/usr/lib/qt5/libexec
+ Binaries=/usr/lib/qt5/bin
+ Tests=${XBPS_CROSS_BASE}/usr/tests
+ Plugins=/usr/lib/qt5/plugins
+ Imports=${XBPS_CROSS_BASE}/usr/lib/qt5/imports
+ Qml2Imports=${XBPS_CROSS_BASE}/usr/lib/qt5/qml
+ Translations=${XBPS_CROSS_BASE}/usr/share/qt5/translations
+ Settings=${XBPS_CROSS_BASE}/etc/xdg
+ Examples=${XBPS_CROSS_BASE}/usr/share/qt5/examples
+ HostPrefix=/usr
+ HostData=/usr/lib/qt5
+ HostBinaries=/usr/lib/qt5/bin
+ HostLibraries=/usr/lib
+ Spec=linux-g++
+ TargetSpec=linux-g++
+ _EOF
+ configure_args+=" --with-qt5-config=${wrksrc}/qt.conf"
+ fi
}
gwenhywfar-gtk3_package() {
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index 5b0e0047ee3e6..711569bc6f134 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -166,6 +166,7 @@ replaces="
gtkhtml<=4.10.0_1
guile1.8-devel<=1.8.8_3
guile1.8<=1.8.8_3
+ gwenhywfar-gtk<=5.6.0_1
gx-go<=1.9.0_1
gx<=0.14.3_1
hangups<=0.4.18_2
From 44bcaf55495a607f5ff22636f17edf56740a1b28 Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Mon, 31 Jul 2023 17:05:32 -0400
Subject: [PATCH 2/2] aqbanking: update to 6.5.4
---
srcpkgs/aqbanking/template | 21 ++++++++++++++++-----
1 file changed, 16 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/aqbanking/template b/srcpkgs/aqbanking/template
index b21f9f9afa095..45db0a56ec9c6 100644
--- a/srcpkgs/aqbanking/template
+++ b/srcpkgs/aqbanking/template
@@ -1,16 +1,16 @@
# Template file for 'aqbanking'
pkgname=aqbanking
-version=6.3.2
+version=6.5.4
revision=1
build_style=gnu-configure
-hostmakedepends="pkg-config gwenhywfar tar"
-makedepends="gwenhywfar-devel xmlsec1-devel ktoblzcheck-devel gmp-devel"
+hostmakedepends="automake libtool pkg-config gwenhywfar tar"
+makedepends="gwenhywfar-devel xmlsec1-devel gmp-devel"
short_desc="Library for online banking and financial applications"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-only, GPL-3.0-only"
homepage="https://www.aquamaniac.de/rdm/"
-distfiles="https://www.aquamaniac.de/rdm/attachments/download/386/${pkgname}-${version}.tar.gz"
-checksum=a97ab42f7298cbb2617b2bda53ca51a2b0fe5f780bde098a39a5f4a3243e3418
+distfiles="https://github.com/aqbanking/aqbanking/archive/refs/tags/${version}.tar.gz"
+checksum=66b13d7694c25d09511b77edc14262025a452dfd93359c7257826f0e4c60dc6b
disable_parallel_build=yes
if [ "$CROSS_BUILD" ]; then
@@ -18,6 +18,16 @@ if [ "$CROSS_BUILD" ]; then
configure_args+=" -with-xmlmerge=/usr/bin/xmlmerge"
fi
+pre_configure() {
+ autoreconf -fi
+}
+
+pre_build() {
+ make -f Makefile.cvs
+ make typedefs
+ make types
+}
+
aqbanking-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
@@ -25,6 +35,7 @@ aqbanking-devel_package() {
vmove usr/bin/aqbanking-config
vmove usr/include
vmove "usr/lib/*.so"
+ vmove usr/lib/cmake
vmove usr/lib/pkgconfig
vmove usr/share/aclocal
}
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PR PATCH] [Updated] gwenhywfar: update to 5.10.2, remove -gtk; aqbanking: update to 6.5.4
2023-07-31 18:31 [PR PATCH] gwenhywfar: update to 5.10.2, remove -gtk cinerea0
` (2 preceding siblings ...)
2023-07-31 21:05 ` cinerea0
@ 2023-07-31 21:26 ` cinerea0
2023-07-31 21:37 ` cinerea0
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: cinerea0 @ 2023-07-31 21:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 840 bytes --]
There is an updated pull request by cinerea0 against master on the void-packages repository
https://github.com/cinerea0/void-packages gwenhywfar
https://github.com/void-linux/void-packages/pull/45360
gwenhywfar: update to 5.10.2, remove -gtk; aqbanking: update to 6.5.4
#### Testing the changes
- I tested the changes in this PR: **briefly**
I tested this as part of the gnucash update, and everything seems to work fine. I did **not** test against the older version of gnucash, so this should only be merged after https://github.com/void-linux/void-packages/pull/43386.
Please let me know if I handled anything incorrectly with removing the `gwenhywfar-gtk` subpackage. Nothing depends on it and it's GTK2, so it should be fine to remove.
A patch file from https://github.com/void-linux/void-packages/pull/45360.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gwenhywfar-45360.patch --]
[-- Type: text/x-diff, Size: 9064 bytes --]
From a9c659fb591704b6b38bca2ee54603912828ea79 Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Mon, 31 Jul 2023 17:05:16 -0400
Subject: [PATCH 1/2] gwenhywfar: update to 5.10.2, remove -gtk
gwenhywfar-gtk: remove package, GTK2 no longer supported
---
common/shlibs | 1 -
srcpkgs/gwenhywfar-gtk | 1 -
srcpkgs/gwenhywfar/patches/qt5-cross.patch | 25 ++++----
srcpkgs/gwenhywfar/template | 74 ++++++++++------------
srcpkgs/removed-packages/template | 1 +
5 files changed, 48 insertions(+), 54 deletions(-)
delete mode 120000 srcpkgs/gwenhywfar-gtk
diff --git a/common/shlibs b/common/shlibs
index a521ea1b66ae1..f1397a98e423b 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1548,7 +1548,6 @@ libslang.so.2 slang-2.2.4_1
libtre.so.5 tre-0.8.0_1
libktoblzcheck.so.1 ktoblzcheck-1.43_2
libgwenhywfar.so.79 gwenhywfar-5.4.0_2
-libgwengui-gtk2.so.79 gwenhywfar-gtk-5.4.0_2
libgwengui-gtk3.so.79 gwenhywfar-gtk3-5.4.0_2
libgwengui-cpp.so.79 gwenhywfar-5.4.0_2
libgwengui-qt5.so.79 gwenhywfar-qt5-5.4.0_2
diff --git a/srcpkgs/gwenhywfar-gtk b/srcpkgs/gwenhywfar-gtk
deleted file mode 120000
index b046bf7ff97c8..0000000000000
--- a/srcpkgs/gwenhywfar-gtk
+++ /dev/null
@@ -1 +0,0 @@
-gwenhywfar
\ No newline at end of file
diff --git a/srcpkgs/gwenhywfar/patches/qt5-cross.patch b/srcpkgs/gwenhywfar/patches/qt5-cross.patch
index 3488200908f1e..b7c53311b0fa8 100644
--- a/srcpkgs/gwenhywfar/patches/qt5-cross.patch
+++ b/srcpkgs/gwenhywfar/patches/qt5-cross.patch
@@ -1,28 +1,31 @@
---- a/m4/ax_have_qt.m4 2020-01-16 19:40:22.927813462 +0100
-+++ b/m4/ax_have_qt.m4 2020-01-16 19:42:12.106436543 +0100
-@@ -74,6 +74,12 @@
+diff --git a/m4/ax_have_qt.m4 b/m4/ax_have_qt.m4
+index f035a81852..b43f8c2387 100644
+--- a/m4/ax_have_qt.m4
++++ b/m4/ax_have_qt.m4
+@@ -74,6 +74,13 @@ AC_DEFUN([AX_HAVE_QT],
+ [QT_QMAKE="$withval"],
[QT_QMAKE="qmake"]
)
-
++
+ AC_ARG_WITH(qt5-config,
+ [ --with-qt5-config=FILE uses given qt configuration],
-+ [QT_CONFIGURATION="$withval"],
++ [QT_CONFIGURATION="$withval"],
+ [QT_CONFIGURATION=""]
+ )
-+
++
AC_MSG_CHECKING(for Qt)
# If we have Qt5 or later in the path, we're golden
ver=`$QT_QMAKE --version | grep -o "Qt version ."`
-@@ -122,7 +128,11 @@
+@@ -96,7 +103,11 @@ percent.target = %
percent.commands = @echo -n "\$(\$(@))\ "
QMAKE_EXTRA_TARGETS += percent
EOF
- $QT_QMAKE $am_have_qt_pro -o $am_have_qt_makefile
+ if test -z $QT_CONFIGURATION; then
-+ $QT_QMAKE $am_have_qt_pro -o $am_have_qt_makefile
++ $QT_QMAKE $am_have_qt_pro -o $am_have_qt_makefile
+ else
-+ $QT_QMAKE $am_have_qt_pro -o $am_have_qt_makefile -qtconf $QT_CONFIGURATION
++ $QT_QMAKE $am_have_qt_pro -o $am_have_qt_makefile -qtconf $QT_CONFIGURATION
+ fi
- QT_CXXFLAGS=`make -s -f $am_have_qt_makefile CXXFLAGS INCPATH`
- QT_LIBS=`make -s -f $am_have_qt_makefile LIBS`
+ QT_CXXFLAGS=`cd $am_have_qt_dir; make -s -f $am_have_qt_makefile CXXFLAGS INCPATH`
+ QT_LIBS=`cd $am_have_qt_dir; make -s -f $am_have_qt_makefile LIBS`
rm $am_have_qt_pro $am_have_qt_makefile
diff --git a/srcpkgs/gwenhywfar/template b/srcpkgs/gwenhywfar/template
index c6e01f4bea860..e6fdfa7a1aea6 100644
--- a/srcpkgs/gwenhywfar/template
+++ b/srcpkgs/gwenhywfar/template
@@ -1,18 +1,19 @@
# Template file for 'gwenhywfar'
pkgname=gwenhywfar
-version=5.6.0
+version=5.10.2
revision=1
build_style=gnu-configure
-configure_args="--disable-binreloc
+configure_args="--disable-binreloc --disable-network-checks
--with-qt5-moc=/usr/lib/qt5/bin/moc --with-qt5-uic=/usr/lib/qt5/bin/uic"
-hostmakedepends="automake pkg-config libgcrypt-devel libtool which"
+hostmakedepends="automake pkg-config libgcrypt-devel libtool which
+ gettext-devel"
makedepends="libgcrypt-devel gnutls-devel gtk+-devel qt5-devel gtk+3-devel"
short_desc="OS abstraction functions for various projects"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://github.com/aqbanking/gwenhywfar"
-distfiles="https://github.com/aqbanking/gwenhywfar/archive/${version}.tar.gz"
-checksum=9f2876770824a283d02fd730bb1f7a98970fa6f20121f4af433d6698831c3a84
+distfiles="https://github.com/aqbanking/gwenhywfar/archive/refs/tags/${version}.tar.gz"
+checksum=2b0b9dd49b95f025f4e0c0346ba88e20b893407c444fccf6403a4da349954f04
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel"
@@ -20,44 +21,35 @@ fi
pre_configure() {
export QT_SELECT=5
- # Build all GUIs
- vsed -i configure.ac -e's;"qt4 gtk2";"qt5 gtk2 gtk3";'
autoreconf -fi
if [ "$CROSS_BUILD" ]; then
- cat > "${wrksrc}/qt.conf" <<_EOF
-[Paths]
-Sysroot=${XBPS_CROSS_BASE}
-Prefix=${XBPS_CROSS_BASE}/usr
-ArchData=${XBPS_CROSS_BASE}/usr/lib/qt5
-Data=${XBPS_CROSS_BASE}/usr/share/qt5
-Documentation=${XBPS_CROSS_BASE}/usr/share/doc/qt5
-Headers=${XBPS_CROSS_BASE}/usr/include/qt5
-Libraries=${XBPS_CROSS_BASE}/usr/lib
-LibraryExecutables=/usr/lib/qt5/libexec
-Binaries=/usr/lib/qt5/bin
-Tests=${XBPS_CROSS_BASE}/usr/tests
-Plugins=/usr/lib/qt5/plugins
-Imports=${XBPS_CROSS_BASE}/usr/lib/qt5/imports
-Qml2Imports=${XBPS_CROSS_BASE}/usr/lib/qt5/qml
-Translations=${XBPS_CROSS_BASE}/usr/share/qt5/translations
-Settings=${XBPS_CROSS_BASE}/etc/xdg
-Examples=${XBPS_CROSS_BASE}/usr/share/qt5/examples
-HostPrefix=/usr
-HostData=/usr/lib/qt5
-HostBinaries=/usr/lib/qt5/bin
-HostLibraries=/usr/lib
-Spec=linux-g++
-TargetSpec=linux-g++
-_EOF
- configure_args+=" --with-qt5-config=${wrksrc}/qt.conf"
- fi
-}
-
-gwenhywfar-gtk_package() {
- short_desc+=" - gtk+2 bindings"
- pkg_install() {
- vmove usr/lib/*-gtk2*
- }
+ cat > "${wrksrc}/qt.conf" <<- _EOF
+ [Paths]
+ Sysroot=${XBPS_CROSS_BASE}
+ Prefix=${XBPS_CROSS_BASE}/usr
+ ArchData=${XBPS_CROSS_BASE}/usr/lib/qt5
+ Data=${XBPS_CROSS_BASE}/usr/share/qt5
+ Documentation=${XBPS_CROSS_BASE}/usr/share/doc/qt5
+ Headers=${XBPS_CROSS_BASE}/usr/include/qt5
+ Libraries=${XBPS_CROSS_BASE}/usr/lib
+ LibraryExecutables=/usr/lib/qt5/libexec
+ Binaries=/usr/lib/qt5/bin
+ Tests=${XBPS_CROSS_BASE}/usr/tests
+ Plugins=/usr/lib/qt5/plugins
+ Imports=${XBPS_CROSS_BASE}/usr/lib/qt5/imports
+ Qml2Imports=${XBPS_CROSS_BASE}/usr/lib/qt5/qml
+ Translations=${XBPS_CROSS_BASE}/usr/share/qt5/translations
+ Settings=${XBPS_CROSS_BASE}/etc/xdg
+ Examples=${XBPS_CROSS_BASE}/usr/share/qt5/examples
+ HostPrefix=/usr
+ HostData=/usr/lib/qt5
+ HostBinaries=/usr/lib/qt5/bin
+ HostLibraries=/usr/lib
+ Spec=linux-g++
+ TargetSpec=linux-g++
+ _EOF
+ configure_args+=" --with-qt5-config=${wrksrc}/qt.conf"
+ fi
}
gwenhywfar-gtk3_package() {
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index 5b0e0047ee3e6..711569bc6f134 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -166,6 +166,7 @@ replaces="
gtkhtml<=4.10.0_1
guile1.8-devel<=1.8.8_3
guile1.8<=1.8.8_3
+ gwenhywfar-gtk<=5.6.0_1
gx-go<=1.9.0_1
gx<=0.14.3_1
hangups<=0.4.18_2
From d6d6786c99208f87722d03b953fefd5e4b46acd3 Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Mon, 31 Jul 2023 17:26:39 -0400
Subject: [PATCH 2/2] aqbanking: update to 6.5.4
---
srcpkgs/aqbanking/template | 21 ++++++++++++++++-----
1 file changed, 16 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/aqbanking/template b/srcpkgs/aqbanking/template
index b21f9f9afa095..216c07281ebc9 100644
--- a/srcpkgs/aqbanking/template
+++ b/srcpkgs/aqbanking/template
@@ -1,16 +1,16 @@
# Template file for 'aqbanking'
pkgname=aqbanking
-version=6.3.2
+version=6.5.4
revision=1
build_style=gnu-configure
-hostmakedepends="pkg-config gwenhywfar tar"
-makedepends="gwenhywfar-devel xmlsec1-devel ktoblzcheck-devel gmp-devel"
+hostmakedepends="automake libtool pkg-config gwenhywfar gwenhywfar-devel tar"
+makedepends="xmlsec1-devel gmp-devel"
short_desc="Library for online banking and financial applications"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-only, GPL-3.0-only"
homepage="https://www.aquamaniac.de/rdm/"
-distfiles="https://www.aquamaniac.de/rdm/attachments/download/386/${pkgname}-${version}.tar.gz"
-checksum=a97ab42f7298cbb2617b2bda53ca51a2b0fe5f780bde098a39a5f4a3243e3418
+distfiles="https://github.com/aqbanking/aqbanking/archive/refs/tags/${version}.tar.gz"
+checksum=66b13d7694c25d09511b77edc14262025a452dfd93359c7257826f0e4c60dc6b
disable_parallel_build=yes
if [ "$CROSS_BUILD" ]; then
@@ -18,6 +18,16 @@ if [ "$CROSS_BUILD" ]; then
configure_args+=" -with-xmlmerge=/usr/bin/xmlmerge"
fi
+pre_configure() {
+ autoreconf -fi
+}
+
+pre_build() {
+ make -f Makefile.cvs
+ make typedefs
+ make types
+}
+
aqbanking-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
@@ -25,6 +35,7 @@ aqbanking-devel_package() {
vmove usr/bin/aqbanking-config
vmove usr/include
vmove "usr/lib/*.so"
+ vmove usr/lib/cmake
vmove usr/lib/pkgconfig
vmove usr/share/aclocal
}
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PR PATCH] [Updated] gwenhywfar: update to 5.10.2, remove -gtk; aqbanking: update to 6.5.4
2023-07-31 18:31 [PR PATCH] gwenhywfar: update to 5.10.2, remove -gtk cinerea0
` (3 preceding siblings ...)
2023-07-31 21:26 ` cinerea0
@ 2023-07-31 21:37 ` cinerea0
2023-07-31 21:56 ` cinerea0
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: cinerea0 @ 2023-07-31 21:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 840 bytes --]
There is an updated pull request by cinerea0 against master on the void-packages repository
https://github.com/cinerea0/void-packages gwenhywfar
https://github.com/void-linux/void-packages/pull/45360
gwenhywfar: update to 5.10.2, remove -gtk; aqbanking: update to 6.5.4
#### Testing the changes
- I tested the changes in this PR: **briefly**
I tested this as part of the gnucash update, and everything seems to work fine. I did **not** test against the older version of gnucash, so this should only be merged after https://github.com/void-linux/void-packages/pull/43386.
Please let me know if I handled anything incorrectly with removing the `gwenhywfar-gtk` subpackage. Nothing depends on it and it's GTK2, so it should be fine to remove.
A patch file from https://github.com/void-linux/void-packages/pull/45360.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gwenhywfar-45360.patch --]
[-- Type: text/x-diff, Size: 9081 bytes --]
From a9c659fb591704b6b38bca2ee54603912828ea79 Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Mon, 31 Jul 2023 17:05:16 -0400
Subject: [PATCH 1/2] gwenhywfar: update to 5.10.2, remove -gtk
gwenhywfar-gtk: remove package, GTK2 no longer supported
---
common/shlibs | 1 -
srcpkgs/gwenhywfar-gtk | 1 -
srcpkgs/gwenhywfar/patches/qt5-cross.patch | 25 ++++----
srcpkgs/gwenhywfar/template | 74 ++++++++++------------
srcpkgs/removed-packages/template | 1 +
5 files changed, 48 insertions(+), 54 deletions(-)
delete mode 120000 srcpkgs/gwenhywfar-gtk
diff --git a/common/shlibs b/common/shlibs
index a521ea1b66ae1..f1397a98e423b 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1548,7 +1548,6 @@ libslang.so.2 slang-2.2.4_1
libtre.so.5 tre-0.8.0_1
libktoblzcheck.so.1 ktoblzcheck-1.43_2
libgwenhywfar.so.79 gwenhywfar-5.4.0_2
-libgwengui-gtk2.so.79 gwenhywfar-gtk-5.4.0_2
libgwengui-gtk3.so.79 gwenhywfar-gtk3-5.4.0_2
libgwengui-cpp.so.79 gwenhywfar-5.4.0_2
libgwengui-qt5.so.79 gwenhywfar-qt5-5.4.0_2
diff --git a/srcpkgs/gwenhywfar-gtk b/srcpkgs/gwenhywfar-gtk
deleted file mode 120000
index b046bf7ff97c8..0000000000000
--- a/srcpkgs/gwenhywfar-gtk
+++ /dev/null
@@ -1 +0,0 @@
-gwenhywfar
\ No newline at end of file
diff --git a/srcpkgs/gwenhywfar/patches/qt5-cross.patch b/srcpkgs/gwenhywfar/patches/qt5-cross.patch
index 3488200908f1e..b7c53311b0fa8 100644
--- a/srcpkgs/gwenhywfar/patches/qt5-cross.patch
+++ b/srcpkgs/gwenhywfar/patches/qt5-cross.patch
@@ -1,28 +1,31 @@
---- a/m4/ax_have_qt.m4 2020-01-16 19:40:22.927813462 +0100
-+++ b/m4/ax_have_qt.m4 2020-01-16 19:42:12.106436543 +0100
-@@ -74,6 +74,12 @@
+diff --git a/m4/ax_have_qt.m4 b/m4/ax_have_qt.m4
+index f035a81852..b43f8c2387 100644
+--- a/m4/ax_have_qt.m4
++++ b/m4/ax_have_qt.m4
+@@ -74,6 +74,13 @@ AC_DEFUN([AX_HAVE_QT],
+ [QT_QMAKE="$withval"],
[QT_QMAKE="qmake"]
)
-
++
+ AC_ARG_WITH(qt5-config,
+ [ --with-qt5-config=FILE uses given qt configuration],
-+ [QT_CONFIGURATION="$withval"],
++ [QT_CONFIGURATION="$withval"],
+ [QT_CONFIGURATION=""]
+ )
-+
++
AC_MSG_CHECKING(for Qt)
# If we have Qt5 or later in the path, we're golden
ver=`$QT_QMAKE --version | grep -o "Qt version ."`
-@@ -122,7 +128,11 @@
+@@ -96,7 +103,11 @@ percent.target = %
percent.commands = @echo -n "\$(\$(@))\ "
QMAKE_EXTRA_TARGETS += percent
EOF
- $QT_QMAKE $am_have_qt_pro -o $am_have_qt_makefile
+ if test -z $QT_CONFIGURATION; then
-+ $QT_QMAKE $am_have_qt_pro -o $am_have_qt_makefile
++ $QT_QMAKE $am_have_qt_pro -o $am_have_qt_makefile
+ else
-+ $QT_QMAKE $am_have_qt_pro -o $am_have_qt_makefile -qtconf $QT_CONFIGURATION
++ $QT_QMAKE $am_have_qt_pro -o $am_have_qt_makefile -qtconf $QT_CONFIGURATION
+ fi
- QT_CXXFLAGS=`make -s -f $am_have_qt_makefile CXXFLAGS INCPATH`
- QT_LIBS=`make -s -f $am_have_qt_makefile LIBS`
+ QT_CXXFLAGS=`cd $am_have_qt_dir; make -s -f $am_have_qt_makefile CXXFLAGS INCPATH`
+ QT_LIBS=`cd $am_have_qt_dir; make -s -f $am_have_qt_makefile LIBS`
rm $am_have_qt_pro $am_have_qt_makefile
diff --git a/srcpkgs/gwenhywfar/template b/srcpkgs/gwenhywfar/template
index c6e01f4bea860..e6fdfa7a1aea6 100644
--- a/srcpkgs/gwenhywfar/template
+++ b/srcpkgs/gwenhywfar/template
@@ -1,18 +1,19 @@
# Template file for 'gwenhywfar'
pkgname=gwenhywfar
-version=5.6.0
+version=5.10.2
revision=1
build_style=gnu-configure
-configure_args="--disable-binreloc
+configure_args="--disable-binreloc --disable-network-checks
--with-qt5-moc=/usr/lib/qt5/bin/moc --with-qt5-uic=/usr/lib/qt5/bin/uic"
-hostmakedepends="automake pkg-config libgcrypt-devel libtool which"
+hostmakedepends="automake pkg-config libgcrypt-devel libtool which
+ gettext-devel"
makedepends="libgcrypt-devel gnutls-devel gtk+-devel qt5-devel gtk+3-devel"
short_desc="OS abstraction functions for various projects"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://github.com/aqbanking/gwenhywfar"
-distfiles="https://github.com/aqbanking/gwenhywfar/archive/${version}.tar.gz"
-checksum=9f2876770824a283d02fd730bb1f7a98970fa6f20121f4af433d6698831c3a84
+distfiles="https://github.com/aqbanking/gwenhywfar/archive/refs/tags/${version}.tar.gz"
+checksum=2b0b9dd49b95f025f4e0c0346ba88e20b893407c444fccf6403a4da349954f04
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel"
@@ -20,44 +21,35 @@ fi
pre_configure() {
export QT_SELECT=5
- # Build all GUIs
- vsed -i configure.ac -e's;"qt4 gtk2";"qt5 gtk2 gtk3";'
autoreconf -fi
if [ "$CROSS_BUILD" ]; then
- cat > "${wrksrc}/qt.conf" <<_EOF
-[Paths]
-Sysroot=${XBPS_CROSS_BASE}
-Prefix=${XBPS_CROSS_BASE}/usr
-ArchData=${XBPS_CROSS_BASE}/usr/lib/qt5
-Data=${XBPS_CROSS_BASE}/usr/share/qt5
-Documentation=${XBPS_CROSS_BASE}/usr/share/doc/qt5
-Headers=${XBPS_CROSS_BASE}/usr/include/qt5
-Libraries=${XBPS_CROSS_BASE}/usr/lib
-LibraryExecutables=/usr/lib/qt5/libexec
-Binaries=/usr/lib/qt5/bin
-Tests=${XBPS_CROSS_BASE}/usr/tests
-Plugins=/usr/lib/qt5/plugins
-Imports=${XBPS_CROSS_BASE}/usr/lib/qt5/imports
-Qml2Imports=${XBPS_CROSS_BASE}/usr/lib/qt5/qml
-Translations=${XBPS_CROSS_BASE}/usr/share/qt5/translations
-Settings=${XBPS_CROSS_BASE}/etc/xdg
-Examples=${XBPS_CROSS_BASE}/usr/share/qt5/examples
-HostPrefix=/usr
-HostData=/usr/lib/qt5
-HostBinaries=/usr/lib/qt5/bin
-HostLibraries=/usr/lib
-Spec=linux-g++
-TargetSpec=linux-g++
-_EOF
- configure_args+=" --with-qt5-config=${wrksrc}/qt.conf"
- fi
-}
-
-gwenhywfar-gtk_package() {
- short_desc+=" - gtk+2 bindings"
- pkg_install() {
- vmove usr/lib/*-gtk2*
- }
+ cat > "${wrksrc}/qt.conf" <<- _EOF
+ [Paths]
+ Sysroot=${XBPS_CROSS_BASE}
+ Prefix=${XBPS_CROSS_BASE}/usr
+ ArchData=${XBPS_CROSS_BASE}/usr/lib/qt5
+ Data=${XBPS_CROSS_BASE}/usr/share/qt5
+ Documentation=${XBPS_CROSS_BASE}/usr/share/doc/qt5
+ Headers=${XBPS_CROSS_BASE}/usr/include/qt5
+ Libraries=${XBPS_CROSS_BASE}/usr/lib
+ LibraryExecutables=/usr/lib/qt5/libexec
+ Binaries=/usr/lib/qt5/bin
+ Tests=${XBPS_CROSS_BASE}/usr/tests
+ Plugins=/usr/lib/qt5/plugins
+ Imports=${XBPS_CROSS_BASE}/usr/lib/qt5/imports
+ Qml2Imports=${XBPS_CROSS_BASE}/usr/lib/qt5/qml
+ Translations=${XBPS_CROSS_BASE}/usr/share/qt5/translations
+ Settings=${XBPS_CROSS_BASE}/etc/xdg
+ Examples=${XBPS_CROSS_BASE}/usr/share/qt5/examples
+ HostPrefix=/usr
+ HostData=/usr/lib/qt5
+ HostBinaries=/usr/lib/qt5/bin
+ HostLibraries=/usr/lib
+ Spec=linux-g++
+ TargetSpec=linux-g++
+ _EOF
+ configure_args+=" --with-qt5-config=${wrksrc}/qt.conf"
+ fi
}
gwenhywfar-gtk3_package() {
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index 5b0e0047ee3e6..711569bc6f134 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -166,6 +166,7 @@ replaces="
gtkhtml<=4.10.0_1
guile1.8-devel<=1.8.8_3
guile1.8<=1.8.8_3
+ gwenhywfar-gtk<=5.6.0_1
gx-go<=1.9.0_1
gx<=0.14.3_1
hangups<=0.4.18_2
From 09b8e1690163604edb38e6aae69c0a9220041b60 Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Mon, 31 Jul 2023 17:37:26 -0400
Subject: [PATCH 2/2] aqbanking: update to 6.5.4
---
srcpkgs/aqbanking/template | 21 ++++++++++++++++-----
1 file changed, 16 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/aqbanking/template b/srcpkgs/aqbanking/template
index b21f9f9afa095..a95934f2aa72f 100644
--- a/srcpkgs/aqbanking/template
+++ b/srcpkgs/aqbanking/template
@@ -1,16 +1,16 @@
# Template file for 'aqbanking'
pkgname=aqbanking
-version=6.3.2
+version=6.5.4
revision=1
build_style=gnu-configure
-hostmakedepends="pkg-config gwenhywfar tar"
-makedepends="gwenhywfar-devel xmlsec1-devel ktoblzcheck-devel gmp-devel"
+hostmakedepends="automake libtool pkg-config gwenhywfar gwenhywfar-devel tar"
+makedepends="gwenhywfar-devel xmlsec1-devel gmp-devel"
short_desc="Library for online banking and financial applications"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-only, GPL-3.0-only"
homepage="https://www.aquamaniac.de/rdm/"
-distfiles="https://www.aquamaniac.de/rdm/attachments/download/386/${pkgname}-${version}.tar.gz"
-checksum=a97ab42f7298cbb2617b2bda53ca51a2b0fe5f780bde098a39a5f4a3243e3418
+distfiles="https://github.com/aqbanking/aqbanking/archive/refs/tags/${version}.tar.gz"
+checksum=66b13d7694c25d09511b77edc14262025a452dfd93359c7257826f0e4c60dc6b
disable_parallel_build=yes
if [ "$CROSS_BUILD" ]; then
@@ -18,6 +18,16 @@ if [ "$CROSS_BUILD" ]; then
configure_args+=" -with-xmlmerge=/usr/bin/xmlmerge"
fi
+pre_configure() {
+ autoreconf -fi
+}
+
+pre_build() {
+ make -f Makefile.cvs
+ make typedefs
+ make types
+}
+
aqbanking-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
@@ -25,6 +35,7 @@ aqbanking-devel_package() {
vmove usr/bin/aqbanking-config
vmove usr/include
vmove "usr/lib/*.so"
+ vmove usr/lib/cmake
vmove usr/lib/pkgconfig
vmove usr/share/aclocal
}
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: gwenhywfar: update to 5.10.2, remove -gtk; aqbanking: update to 6.5.4
2023-07-31 18:31 [PR PATCH] gwenhywfar: update to 5.10.2, remove -gtk cinerea0
` (4 preceding siblings ...)
2023-07-31 21:37 ` cinerea0
@ 2023-07-31 21:56 ` cinerea0
2023-07-31 21:57 ` cinerea0
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: cinerea0 @ 2023-07-31 21:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1101 bytes --]
New comment by cinerea0 on void-packages repository
https://github.com/void-linux/void-packages/pull/45360#issuecomment-1659245800
Comment:
I had to add `gwenhywfar-devel` to hostmakedepends because it contains `/usr/bin/gwenhywfar-config`. Personally I think it should stay in there based on its usage information:
```
Usage:
/usr/sbin/gwenhywfar-config --includes gives you the include flags
/usr/sbin/gwenhywfar-config --libraries gives you the library flags
/usr/sbin/gwenhywfar-config --bindir returns the folder for binary tools
/usr/sbin/gwenhywfar-config --headers gives you the location of the header files
/usr/sbin/gwenhywfar-config --vmajor gives the major version of LibGwenhywfar
/usr/sbin/gwenhywfar-config --vminor gives the minor version of LibGwenhywfar
/usr/sbin/gwenhywfar-config --vpatchlevel gives the patchlevel of LibGwenhywfar
/usr/sbin/gwenhywfar-config --vbuild gives the build number of LibGwenhywfar
/usr/sbin/gwenhywfar-config --vtag gives the tag of LibGwenhywfar (cvs, beta or stable)
/usr/sbin/gwenhywfar-config --vstring returns a version string
```
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: gwenhywfar: update to 5.10.2, remove -gtk; aqbanking: update to 6.5.4
2023-07-31 18:31 [PR PATCH] gwenhywfar: update to 5.10.2, remove -gtk cinerea0
` (5 preceding siblings ...)
2023-07-31 21:56 ` cinerea0
@ 2023-07-31 21:57 ` cinerea0
2023-08-04 19:25 ` [PR REVIEW] " ahesford
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: cinerea0 @ 2023-07-31 21:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1113 bytes --]
New comment by cinerea0 on void-packages repository
https://github.com/void-linux/void-packages/pull/45360#issuecomment-1659245800
Comment:
I had to add `gwenhywfar-devel` to aqbanking's hostmakedepends because it contains `/usr/bin/gwenhywfar-config`. Personally I think it should stay in there based on its usage information:
```
Usage:
/usr/sbin/gwenhywfar-config --includes gives you the include flags
/usr/sbin/gwenhywfar-config --libraries gives you the library flags
/usr/sbin/gwenhywfar-config --bindir returns the folder for binary tools
/usr/sbin/gwenhywfar-config --headers gives you the location of the header files
/usr/sbin/gwenhywfar-config --vmajor gives the major version of LibGwenhywfar
/usr/sbin/gwenhywfar-config --vminor gives the minor version of LibGwenhywfar
/usr/sbin/gwenhywfar-config --vpatchlevel gives the patchlevel of LibGwenhywfar
/usr/sbin/gwenhywfar-config --vbuild gives the build number of LibGwenhywfar
/usr/sbin/gwenhywfar-config --vtag gives the tag of LibGwenhywfar (cvs, beta or stable)
/usr/sbin/gwenhywfar-config --vstring returns a version string
```
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PR REVIEW] gwenhywfar: update to 5.10.2, remove -gtk; aqbanking: update to 6.5.4
2023-07-31 18:31 [PR PATCH] gwenhywfar: update to 5.10.2, remove -gtk cinerea0
` (6 preceding siblings ...)
2023-07-31 21:57 ` cinerea0
@ 2023-08-04 19:25 ` ahesford
2023-08-05 18:31 ` [PR PATCH] [Updated] " cinerea0
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: ahesford @ 2023-08-04 19:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 309 bytes --]
New review comment by ahesford on void-packages repository
https://github.com/void-linux/void-packages/pull/45360#discussion_r1284774323
Comment:
I suggest indenting this one or two more levels so it's visually obvious that it's part of the `cat`. The `<<-` operator will ignore any number of leading tabs.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PR PATCH] [Updated] gwenhywfar: update to 5.10.2, remove -gtk; aqbanking: update to 6.5.4
2023-07-31 18:31 [PR PATCH] gwenhywfar: update to 5.10.2, remove -gtk cinerea0
` (7 preceding siblings ...)
2023-08-04 19:25 ` [PR REVIEW] " ahesford
@ 2023-08-05 18:31 ` cinerea0
2023-08-05 18:37 ` [PR REVIEW] " cinerea0
2023-08-09 17:26 ` [PR PATCH] [Merged]: " Duncaen
10 siblings, 0 replies; 12+ messages in thread
From: cinerea0 @ 2023-08-05 18:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 840 bytes --]
There is an updated pull request by cinerea0 against master on the void-packages repository
https://github.com/cinerea0/void-packages gwenhywfar
https://github.com/void-linux/void-packages/pull/45360
gwenhywfar: update to 5.10.2, remove -gtk; aqbanking: update to 6.5.4
#### Testing the changes
- I tested the changes in this PR: **briefly**
I tested this as part of the gnucash update, and everything seems to work fine. I did **not** test against the older version of gnucash, so this should only be merged after https://github.com/void-linux/void-packages/pull/43386.
Please let me know if I handled anything incorrectly with removing the `gwenhywfar-gtk` subpackage. Nothing depends on it and it's GTK2, so it should be fine to remove.
A patch file from https://github.com/void-linux/void-packages/pull/45360.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gwenhywfar-45360.patch --]
[-- Type: text/x-diff, Size: 9342 bytes --]
From 47a8f322275f19c671002515baf529a6dc39455d Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Sat, 5 Aug 2023 14:29:29 -0400
Subject: [PATCH 1/2] gwenhywfar: update to 5.10.2, remove -gtk
gwenhywfar-gtk: remove package, GTK2 no longer supported
---
common/shlibs | 1 -
srcpkgs/gwenhywfar-gtk | 1 -
srcpkgs/gwenhywfar/patches/qt5-cross.patch | 25 ++++----
srcpkgs/gwenhywfar/template | 74 ++++++++++------------
srcpkgs/removed-packages/template | 3 +-
5 files changed, 49 insertions(+), 55 deletions(-)
delete mode 120000 srcpkgs/gwenhywfar-gtk
diff --git a/common/shlibs b/common/shlibs
index 9f4553e6ccc2b..0df4538e01c13 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1548,7 +1548,6 @@ libslang.so.2 slang-2.2.4_1
libtre.so.5 tre-0.8.0_1
libktoblzcheck.so.1 ktoblzcheck-1.43_2
libgwenhywfar.so.79 gwenhywfar-5.4.0_2
-libgwengui-gtk2.so.79 gwenhywfar-gtk-5.4.0_2
libgwengui-gtk3.so.79 gwenhywfar-gtk3-5.4.0_2
libgwengui-cpp.so.79 gwenhywfar-5.4.0_2
libgwengui-qt5.so.79 gwenhywfar-qt5-5.4.0_2
diff --git a/srcpkgs/gwenhywfar-gtk b/srcpkgs/gwenhywfar-gtk
deleted file mode 120000
index b046bf7ff97c8..0000000000000
--- a/srcpkgs/gwenhywfar-gtk
+++ /dev/null
@@ -1 +0,0 @@
-gwenhywfar
\ No newline at end of file
diff --git a/srcpkgs/gwenhywfar/patches/qt5-cross.patch b/srcpkgs/gwenhywfar/patches/qt5-cross.patch
index 3488200908f1e..b7c53311b0fa8 100644
--- a/srcpkgs/gwenhywfar/patches/qt5-cross.patch
+++ b/srcpkgs/gwenhywfar/patches/qt5-cross.patch
@@ -1,28 +1,31 @@
---- a/m4/ax_have_qt.m4 2020-01-16 19:40:22.927813462 +0100
-+++ b/m4/ax_have_qt.m4 2020-01-16 19:42:12.106436543 +0100
-@@ -74,6 +74,12 @@
+diff --git a/m4/ax_have_qt.m4 b/m4/ax_have_qt.m4
+index f035a81852..b43f8c2387 100644
+--- a/m4/ax_have_qt.m4
++++ b/m4/ax_have_qt.m4
+@@ -74,6 +74,13 @@ AC_DEFUN([AX_HAVE_QT],
+ [QT_QMAKE="$withval"],
[QT_QMAKE="qmake"]
)
-
++
+ AC_ARG_WITH(qt5-config,
+ [ --with-qt5-config=FILE uses given qt configuration],
-+ [QT_CONFIGURATION="$withval"],
++ [QT_CONFIGURATION="$withval"],
+ [QT_CONFIGURATION=""]
+ )
-+
++
AC_MSG_CHECKING(for Qt)
# If we have Qt5 or later in the path, we're golden
ver=`$QT_QMAKE --version | grep -o "Qt version ."`
-@@ -122,7 +128,11 @@
+@@ -96,7 +103,11 @@ percent.target = %
percent.commands = @echo -n "\$(\$(@))\ "
QMAKE_EXTRA_TARGETS += percent
EOF
- $QT_QMAKE $am_have_qt_pro -o $am_have_qt_makefile
+ if test -z $QT_CONFIGURATION; then
-+ $QT_QMAKE $am_have_qt_pro -o $am_have_qt_makefile
++ $QT_QMAKE $am_have_qt_pro -o $am_have_qt_makefile
+ else
-+ $QT_QMAKE $am_have_qt_pro -o $am_have_qt_makefile -qtconf $QT_CONFIGURATION
++ $QT_QMAKE $am_have_qt_pro -o $am_have_qt_makefile -qtconf $QT_CONFIGURATION
+ fi
- QT_CXXFLAGS=`make -s -f $am_have_qt_makefile CXXFLAGS INCPATH`
- QT_LIBS=`make -s -f $am_have_qt_makefile LIBS`
+ QT_CXXFLAGS=`cd $am_have_qt_dir; make -s -f $am_have_qt_makefile CXXFLAGS INCPATH`
+ QT_LIBS=`cd $am_have_qt_dir; make -s -f $am_have_qt_makefile LIBS`
rm $am_have_qt_pro $am_have_qt_makefile
diff --git a/srcpkgs/gwenhywfar/template b/srcpkgs/gwenhywfar/template
index c6e01f4bea860..3ef32f6b260af 100644
--- a/srcpkgs/gwenhywfar/template
+++ b/srcpkgs/gwenhywfar/template
@@ -1,18 +1,19 @@
# Template file for 'gwenhywfar'
pkgname=gwenhywfar
-version=5.6.0
+version=5.10.2
revision=1
build_style=gnu-configure
-configure_args="--disable-binreloc
+configure_args="--disable-binreloc --disable-network-checks
--with-qt5-moc=/usr/lib/qt5/bin/moc --with-qt5-uic=/usr/lib/qt5/bin/uic"
-hostmakedepends="automake pkg-config libgcrypt-devel libtool which"
+hostmakedepends="automake pkg-config libgcrypt-devel libtool which
+ gettext-devel"
makedepends="libgcrypt-devel gnutls-devel gtk+-devel qt5-devel gtk+3-devel"
short_desc="OS abstraction functions for various projects"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://github.com/aqbanking/gwenhywfar"
-distfiles="https://github.com/aqbanking/gwenhywfar/archive/${version}.tar.gz"
-checksum=9f2876770824a283d02fd730bb1f7a98970fa6f20121f4af433d6698831c3a84
+distfiles="https://github.com/aqbanking/gwenhywfar/archive/refs/tags/${version}.tar.gz"
+checksum=2b0b9dd49b95f025f4e0c0346ba88e20b893407c444fccf6403a4da349954f04
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel"
@@ -20,44 +21,35 @@ fi
pre_configure() {
export QT_SELECT=5
- # Build all GUIs
- vsed -i configure.ac -e's;"qt4 gtk2";"qt5 gtk2 gtk3";'
autoreconf -fi
if [ "$CROSS_BUILD" ]; then
- cat > "${wrksrc}/qt.conf" <<_EOF
-[Paths]
-Sysroot=${XBPS_CROSS_BASE}
-Prefix=${XBPS_CROSS_BASE}/usr
-ArchData=${XBPS_CROSS_BASE}/usr/lib/qt5
-Data=${XBPS_CROSS_BASE}/usr/share/qt5
-Documentation=${XBPS_CROSS_BASE}/usr/share/doc/qt5
-Headers=${XBPS_CROSS_BASE}/usr/include/qt5
-Libraries=${XBPS_CROSS_BASE}/usr/lib
-LibraryExecutables=/usr/lib/qt5/libexec
-Binaries=/usr/lib/qt5/bin
-Tests=${XBPS_CROSS_BASE}/usr/tests
-Plugins=/usr/lib/qt5/plugins
-Imports=${XBPS_CROSS_BASE}/usr/lib/qt5/imports
-Qml2Imports=${XBPS_CROSS_BASE}/usr/lib/qt5/qml
-Translations=${XBPS_CROSS_BASE}/usr/share/qt5/translations
-Settings=${XBPS_CROSS_BASE}/etc/xdg
-Examples=${XBPS_CROSS_BASE}/usr/share/qt5/examples
-HostPrefix=/usr
-HostData=/usr/lib/qt5
-HostBinaries=/usr/lib/qt5/bin
-HostLibraries=/usr/lib
-Spec=linux-g++
-TargetSpec=linux-g++
-_EOF
- configure_args+=" --with-qt5-config=${wrksrc}/qt.conf"
- fi
-}
-
-gwenhywfar-gtk_package() {
- short_desc+=" - gtk+2 bindings"
- pkg_install() {
- vmove usr/lib/*-gtk2*
- }
+ cat > "${wrksrc}/qt.conf" <<- _EOF
+ [Paths]
+ Sysroot=${XBPS_CROSS_BASE}
+ Prefix=${XBPS_CROSS_BASE}/usr
+ ArchData=${XBPS_CROSS_BASE}/usr/lib/qt5
+ Data=${XBPS_CROSS_BASE}/usr/share/qt5
+ Documentation=${XBPS_CROSS_BASE}/usr/share/doc/qt5
+ Headers=${XBPS_CROSS_BASE}/usr/include/qt5
+ Libraries=${XBPS_CROSS_BASE}/usr/lib
+ LibraryExecutables=/usr/lib/qt5/libexec
+ Binaries=/usr/lib/qt5/bin
+ Tests=${XBPS_CROSS_BASE}/usr/tests
+ Plugins=/usr/lib/qt5/plugins
+ Imports=${XBPS_CROSS_BASE}/usr/lib/qt5/imports
+ Qml2Imports=${XBPS_CROSS_BASE}/usr/lib/qt5/qml
+ Translations=${XBPS_CROSS_BASE}/usr/share/qt5/translations
+ Settings=${XBPS_CROSS_BASE}/etc/xdg
+ Examples=${XBPS_CROSS_BASE}/usr/share/qt5/examples
+ HostPrefix=/usr
+ HostData=/usr/lib/qt5
+ HostBinaries=/usr/lib/qt5/bin
+ HostLibraries=/usr/lib
+ Spec=linux-g++
+ TargetSpec=linux-g++
+ _EOF
+ configure_args+=" --with-qt5-config=${wrksrc}/qt.conf"
+ fi
}
gwenhywfar-gtk3_package() {
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index 5b0e0047ee3e6..926e86c276436 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -1,6 +1,6 @@
# Template file for 'removed-packages'
pkgname=removed-packages
-version=0.1.20230728
+version=0.1.20230805
revision=1
build_style=meta
short_desc="Uninstalls packages removed from repository"
@@ -166,6 +166,7 @@ replaces="
gtkhtml<=4.10.0_1
guile1.8-devel<=1.8.8_3
guile1.8<=1.8.8_3
+ gwenhywfar-gtk<=5.6.0_1
gx-go<=1.9.0_1
gx<=0.14.3_1
hangups<=0.4.18_2
From 79a5e31b9894f295710f23c3297aee4397344061 Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Sat, 5 Aug 2023 14:29:58 -0400
Subject: [PATCH 2/2] aqbanking: update to 6.5.4
---
srcpkgs/aqbanking/template | 21 ++++++++++++++++-----
1 file changed, 16 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/aqbanking/template b/srcpkgs/aqbanking/template
index b21f9f9afa095..a95934f2aa72f 100644
--- a/srcpkgs/aqbanking/template
+++ b/srcpkgs/aqbanking/template
@@ -1,16 +1,16 @@
# Template file for 'aqbanking'
pkgname=aqbanking
-version=6.3.2
+version=6.5.4
revision=1
build_style=gnu-configure
-hostmakedepends="pkg-config gwenhywfar tar"
-makedepends="gwenhywfar-devel xmlsec1-devel ktoblzcheck-devel gmp-devel"
+hostmakedepends="automake libtool pkg-config gwenhywfar gwenhywfar-devel tar"
+makedepends="gwenhywfar-devel xmlsec1-devel gmp-devel"
short_desc="Library for online banking and financial applications"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-only, GPL-3.0-only"
homepage="https://www.aquamaniac.de/rdm/"
-distfiles="https://www.aquamaniac.de/rdm/attachments/download/386/${pkgname}-${version}.tar.gz"
-checksum=a97ab42f7298cbb2617b2bda53ca51a2b0fe5f780bde098a39a5f4a3243e3418
+distfiles="https://github.com/aqbanking/aqbanking/archive/refs/tags/${version}.tar.gz"
+checksum=66b13d7694c25d09511b77edc14262025a452dfd93359c7257826f0e4c60dc6b
disable_parallel_build=yes
if [ "$CROSS_BUILD" ]; then
@@ -18,6 +18,16 @@ if [ "$CROSS_BUILD" ]; then
configure_args+=" -with-xmlmerge=/usr/bin/xmlmerge"
fi
+pre_configure() {
+ autoreconf -fi
+}
+
+pre_build() {
+ make -f Makefile.cvs
+ make typedefs
+ make types
+}
+
aqbanking-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
@@ -25,6 +35,7 @@ aqbanking-devel_package() {
vmove usr/bin/aqbanking-config
vmove usr/include
vmove "usr/lib/*.so"
+ vmove usr/lib/cmake
vmove usr/lib/pkgconfig
vmove usr/share/aclocal
}
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PR REVIEW] gwenhywfar: update to 5.10.2, remove -gtk; aqbanking: update to 6.5.4
2023-07-31 18:31 [PR PATCH] gwenhywfar: update to 5.10.2, remove -gtk cinerea0
` (8 preceding siblings ...)
2023-08-05 18:31 ` [PR PATCH] [Updated] " cinerea0
@ 2023-08-05 18:37 ` cinerea0
2023-08-09 17:26 ` [PR PATCH] [Merged]: " Duncaen
10 siblings, 0 replies; 12+ messages in thread
From: cinerea0 @ 2023-08-05 18:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 230 bytes --]
New review comment by cinerea0 on void-packages repository
https://github.com/void-linux/void-packages/pull/45360#discussion_r1285107476
Comment:
I indented two more levels in the latest push. You're right, it's more clear now.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PR PATCH] [Merged]: gwenhywfar: update to 5.10.2, remove -gtk; aqbanking: update to 6.5.4
2023-07-31 18:31 [PR PATCH] gwenhywfar: update to 5.10.2, remove -gtk cinerea0
` (9 preceding siblings ...)
2023-08-05 18:37 ` [PR REVIEW] " cinerea0
@ 2023-08-09 17:26 ` Duncaen
10 siblings, 0 replies; 12+ messages in thread
From: Duncaen @ 2023-08-09 17:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 679 bytes --]
There's a merged pull request on the void-packages repository
gwenhywfar: update to 5.10.2, remove -gtk; aqbanking: update to 6.5.4
https://github.com/void-linux/void-packages/pull/45360
Description:
#### Testing the changes
- I tested the changes in this PR: **briefly**
I tested this as part of the gnucash update, and everything seems to work fine. I did **not** test against the older version of gnucash, so this should only be merged after https://github.com/void-linux/void-packages/pull/43386.
Please let me know if I handled anything incorrectly with removing the `gwenhywfar-gtk` subpackage. Nothing depends on it and it's GTK2, so it should be fine to remove.
^ permalink raw reply [flat|nested] 12+ messages in thread