diff --git a/community/gajim/APKBUILD b/community/gajim/APKBUILD index bd88f2e71ed92f2ab5f2070d67961360569deccb..ccf810b0f6cb836745b681d1d558bb32ce4f24eb 100644 --- a/community/gajim/APKBUILD +++ b/community/gajim/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Peter Shkenev <santurysim@gmail.com> pkgname=gajim pkgver=1.9.5 -pkgrel=0 +pkgrel=1 _pkgver_suffix="" pkgdesc="A full featured and easy to use XMPP client" url="https://gajim.org/" @@ -40,6 +40,7 @@ checkdepends="xvfb-run font-dejavu py3-pytest" source=" https://gajim.org/downloads/${pkgver:0:3}/gajim-$pkgver$_pkgver_suffix.tar.gz disable-test.patch + gzip-mtime.patch " subpackages="$pkgname-doc $pkgname-lang $pkgname-pyc" @@ -70,4 +71,5 @@ lang() { sha512sums=" 00adfffa255ecbd73227967f86be02549403e81801339dbd896c9c48c3717e7f99d7c1d70d3629b2b242e60ddba6037a9877f264af6f8b6b0d7d30666a54e5f5 gajim-1.9.5.tar.gz 228ec0c9a92e88861888d64a5077f19a6b87b1e29f712c5db23601add69406c0ef0e865780db6b1deaae28397969978869dde18704cc0bbb5a37f8ef564760f7 disable-test.patch +34b224e2f0400016114401b5284cade5645a7586d6c2b401a97440e104986aadbd7a0bd5832beae544ccb2c5235c4e32e84528d282ba5fd65bc44c10ecd2f409 gzip-mtime.patch " diff --git a/community/gajim/gzip-mtime.patch b/community/gajim/gzip-mtime.patch new file mode 100644 index 0000000000000000000000000000000000000000..686f422ada365797f0470e4c82dd087b6b49ee66 --- /dev/null +++ b/community/gajim/gzip-mtime.patch @@ -0,0 +1,13 @@ +Strip mtime from compressed manpages. + +--- a/make.py ++++ b/make.py +@@ -96,7 +96,7 @@ def build_man() -> None: + man_out_path = METADATA / f'{man_file_name}.gz' + logging.info('Compress %s >> %s', man_file_name, man_out_path) + +- with gzip.open(man_out_path, 'wb') as f_out: ++ with gzip.GzipFile(man_out_path, 'wb', mtime=0) as f_out: + f_out.write(data) + +