From: cinerea0 <cinerea0@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] gwenhywfar: update to 5.10.2, remove -gtk; aqbanking: update to 6.5.4
Date: Mon, 31 Jul 2023 23:37:42 +0200 [thread overview]
Message-ID: <20230731213742.sXrtINpLd2OP70l36qFq9xDoQIoMTUI1cKJMT48uCfQ@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-45360@inbox.vuxu.org>
[-- 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
}
next prev parent reply other threads:[~2023-07-31 21:37 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
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
2023-07-31 21:37 ` cinerea0 [this message]
2023-07-31 21:56 ` cinerea0
2023-07-31 21:57 ` cinerea0
2023-08-04 19:25 ` [PR REVIEW] " ahesford
2023-08-05 18:31 ` [PR PATCH] [Updated] " cinerea0
2023-08-05 18:37 ` [PR REVIEW] " cinerea0
2023-08-09 17:26 ` [PR PATCH] [Merged]: " Duncaen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230731213742.sXrtINpLd2OP70l36qFq9xDoQIoMTUI1cKJMT48uCfQ@z \
--to=cinerea0@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).