summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlsf2023-03-12 18:03:48 +0100
committerlsf2023-03-12 18:03:48 +0100
commitd296bf4d0090f482d4ffbfdb1f76585f71c5756d (patch)
treee1672946194ac5b67cbb0ad5bd95b0cb6683950c
parent3aa89c9b010086cf3ad1f56ae75d84ec1831f060 (diff)
downloadaur-d296bf4d0090f482d4ffbfdb1f76585f71c5756d.tar.gz
fix broken ui
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD12
2 files changed, 11 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3da54a87f73c..03046c3cabe1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = opensnitch-git
pkgdesc = A GNU/Linux port of the Little Snitch application firewall
- pkgver = 1.6.0rc5.r7.c2352d0
- pkgrel = 1
+ pkgver = 1.6.0rc5.r10.5f532e5
+ pkgrel = 2
url = https://github.com/evilsocket/opensnitch
install = opensnitch.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 7d31b352f78f..918e3a34557d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,8 @@
# Contributor: lsf
# Contributor: Adam Hose <adis@blad.is>
pkgname=opensnitch-git
-pkgver=1.6.0rc5.r7.c2352d0
-pkgrel=1
+pkgver=1.6.0rc5.r10.5f532e5
+pkgrel=2
pkgdesc="A GNU/Linux port of the Little Snitch application firewall"
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
url="https://github.com/evilsocket/opensnitch"
@@ -116,7 +116,13 @@ build() {
pushd ui
pyrcc5 -o opensnitch/resources_rc.py opensnitch/res/resources.qrc
- # sed -i 's/^import ui_pb2/from . import ui_pb2/' opensnitch/ui_pb2*
+ # NOTE: yes, we do need this.
+ # Arch upstream uses a patch, but _also_ includes pb files pre-generated
+ # so it fails for this PKGBUILD.
+ # not seeing the files to be fixed with this in the tree _before_ building
+ # made me assume they were just not there anymore (and thus no need for the fix).
+ # I was wrong.
+ sed -i 's/^import ui_pb2/from . import ui_pb2/' opensnitch/ui_pb2*
python -m build --wheel --no-isolation
# python setup.py build
popd