~alpine/aports

testing/nwg-bar: upgrade to 0.1.0 v1 APPLIED

Edd Salkield: 1
 testing/nwg-bar: upgrade to 0.1.0

 1 files changed, 3 insertions(+), 4 deletions(-)
Interesting, any ideas why the bindings take such a long time to build?

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/33363#note_230648
It's using single thread, there is open issue about this https://github.com/gotk3/gotk3/issues/837

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/33363#note_230649
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/4036/mbox | git am -3
Learn more about email & git

[PATCH] testing/nwg-bar: upgrade to 0.1.0 Export this patch

---
 testing/nwg-bar/APKBUILD | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/testing/nwg-bar/APKBUILD b/testing/nwg-bar/APKBUILD
index 938ab6b056..9388a1a010 100644
--- a/testing/nwg-bar/APKBUILD
+++ b/testing/nwg-bar/APKBUILD
@@ -1,18 +1,17 @@
# Contributor: Edd Salkield <edd@salkield.uk>
# Maintainer: Edd Salkield <edd@salkield.uk>
pkgname=nwg-bar
pkgver=0.0.1
pkgver=0.1.0
pkgrel=1
pkgdesc="GTK3-based button bar for sway and other wlroots-based compositors"
url="https://github.com/nwg-piotr/nwg-bar/"
arch="all"
license="MIT"
makedepends="go glib-dev cairo-dev gtk+3.0-dev gtk-layer-shell-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/nwg-piotr/nwg-bar/archive/refs/tags/v$pkgver.tar.gz"
source="https://github.com/nwg-piotr/nwg-bar/archive/v$pkgver/nwg-bar-v$pkgver.tar.gz"
options="!check net"	# no upstream tests

build() {
	rm ./bin/nwg-bar
	go build -o bin/nwg-bar .
}

@@ -23,5 +22,5 @@ package() {
}

sha512sums="
3b5290e7ee49ec6303dace6987fc32b9d632bc574adcb2be3881d5535f6b50ba102aa9a2688875d3c2d06df0772008f2ae3eb642b7b16f227ea23e8e62362998  nwg-bar-0.0.1.tar.gz
46c7fefe9e8b9557663154f5a808f630835212537d5ee9a5fe4067339d8cd44bd11c2735bd4042309b3d57820fd7f8dcbc23a8366246e9716fc0f00328301cbe  nwg-bar-v0.1.0.tar.gz
"
-- 
2.35.1
i was wondering why this takes 78 years to build and then realised they use the https://github.com/gotk3/gotk3/ cgo bindings, and cgo is such a flaming pile of shit it just sits there and hangs on a single thread for roughly 20 minutes before it gets anywhere.. really wish people didn't use those

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/33363#note_230626