diff options
author | lsf | 2023-03-12 18:03:48 +0100 |
---|---|---|
committer | lsf | 2023-03-12 18:03:48 +0100 |
commit | d296bf4d0090f482d4ffbfdb1f76585f71c5756d (patch) | |
tree | e1672946194ac5b67cbb0ad5bd95b0cb6683950c | |
parent | 3aa89c9b010086cf3ad1f56ae75d84ec1831f060 (diff) | |
download | aur-d296bf4d0090f482d4ffbfdb1f76585f71c5756d.tar.gz |
fix broken ui
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 11 insertions, 5 deletions
@@ -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 @@ -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 |