Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
78f434a0
Commit
78f434a0
authored
1 month ago
by
Sertonix
Committed by
J0WI
1 month ago
Browse files
Options
Downloads
Patches
Plain Diff
community/i3status: upgrade to 2.15
parent
b86f5289
No related branches found
No related tags found
2 merge requests
!79570
community/firefox-esr: upgrade to 128.7.0
,
!77170
community/i3status: upgrade to 2.15
Pipeline
#285104
skipped
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
community/i3status/APKBUILD
+20
-4
20 additions, 4 deletions
community/i3status/APKBUILD
community/i3status/tests.patch
+13
-0
13 additions, 0 deletions
community/i3status/tests.patch
with
33 additions
and
4 deletions
community/i3status/APKBUILD
+
20
−
4
View file @
78f434a0
# Contributor: k0r10n <k0r10n.dev@gmail.com>
# Maintainer: Martijn Braam <martijn@brixit.nl>
pkgname
=
i3status
pkgver
=
2.1
4
pkgrel
=
1
pkgver
=
2.1
5
pkgrel
=
0
pkgdesc
=
"Generates status bar for dzen2, xmobar or similar"
url
=
"https://i3wm.org/i3status/"
arch
=
"all"
license
=
"BSD-3-Clause"
options
=
"!check"
# No test suite
makedepends
=
"alsa-lib-dev asciidoc meson confuse-dev libnl3-dev linux-headers yajl-dev xmlto"
checkdepends
=
"perl grep"
subpackages
=
"
$pkgname
-doc"
source
=
"https://i3wm.org/i3status/i3status-
$pkgver
.tar.xz
tests.patch
"
prepare
()
{
default_prepare
# FIXME failing tests
rm
-r
testcases/020-percentliteral-time testcases/020-percentliteral-volume
if
[
"
$CARCH
"
=
s390x
]
;
then
rm
-r
testcases/01[01]-cpu-usage testcases/022-cpu-usage-tenth-cpu
fi
}
build
()
{
abuild-meson
\
-Dpulseaudio
=
false
\
...
...
@@ -21,10 +32,15 @@ build() {
meson compile
-C
output
}
check
()
{
meson
test
--no-rebuild
--print-errorlogs
-C
output
}
package
()
{
DESTDIR
=
"
$pkgdir
"
meson
install
--no-rebuild
-C
output
}
sha512sums
=
"
10a1235cc314f5fc4dde4e1369a30f49118c95271f636c5803caa52d94d99ad8565b89fcd602d0c8aa7c830a79d3a3bb08e5ac8123cf07cfddc8ef0126b10f80 i3status-2.14.tar.xz
fc099abb6740a4989a1797bc298e57ed0c824598a3fac50d497060af53079a9d350bfc7748e75fa4194db05d3373254a03e94611f0a97a2ffe62cc023b2a2260 i3status-2.15.tar.xz
eede76b44c0862946a3d26fccaa3af173d806f7dbbcfd53fed9054eff1888cfbea5335f9aabc9ef9a4c155315368a3613eed68b5eba7786b1abdd5cb4d82c685 tests.patch
"
This diff is collapsed.
Click to expand it.
community/i3status/tests.patch
0 → 100644
+
13
−
0
View file @
78f434a0
Fix tests on devices with exactly 10 cores
--- a/testcases/022-cpu-usage-tenth-cpu/expected_output.pl
+++ b/testcases/022-cpu-usage-tenth-cpu/expected_output.pl
@@ -5,7 +5,7 @@
use strict;
use warnings;
chomp(my $cpu_count = `grep -c -P '^processor\\s+:' /proc/cpuinfo`);
-if ($cpu_count < 10) {
+if ($cpu_count <= 10) {
print "all: 00% CPU_0: 00% CPU_10: \n";
} else {
print "all: 00% CPU_0: 00% CPU_10: 00%\n";
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment