forked from pool/i3status
Accepting request 246615 from home:t-p
Sa Jul 26 22:2:11 UTC 2014 - email@pfeiffer.pw • Fix build on GNU/Hurd • Add format_down for battery if no battery is available • Use degraded color in case volume is muted with OSS • Support mixer_idx with OSS • Enable colored output for battery on FreeBSD • print_volume: don’t return, complete the buffer first • Support colored output for CPU temperature on FreeBSD • manpage: mention i3bar in the description • manpage: be more explicit about the path option • battery: use path as i3bar JSON “instance” • print_volume(linux): Open a new mixer every time • Implement term output format • signal handler: set flag because directly calling fprintf() is unsafe • Makefile: use .SILENT and support V=1 for verbose builds • load: allow max_threshold to be a float • manpage: Add example path for CPU temperature • Fix build on NetBSD • Implement cpu usage, ethernet status, cpu temperature on NetBSD • fix slurp(), it needs to read size-1 for the trailing NUL • format detection: simplify code, handle "sh" processes in the hierarchy • default config: show %avail disk space instead of %free • Added different format string for volume in case it is muted • manpage: document format_muted • add support for path_exists directive • disk: Distinguish between IEC, SI and custom prefixes - initial version (2.7) OBS-URL: https://build.opensuse.org/request/show/246615 OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/i3status?expand=0&rev=5
This commit is contained in:
parent
54c9ae7302
commit
602a4f1ed7
@ -1,46 +0,0 @@
|
|||||||
From: Togan Muftuoglu <toganm@opensuse.org>
|
|
||||||
Date: 2013-03-14 10:04:55 +0100
|
|
||||||
Subject: Enable optflags in Makefile
|
|
||||||
References:
|
|
||||||
Upstream: no
|
|
||||||
|
|
||||||
---
|
|
||||||
Makefile | 12 ++++--------
|
|
||||||
1 file changed, 4 insertions(+), 8 deletions(-)
|
|
||||||
|
|
||||||
--- a/Makefile
|
|
||||||
+++ b/Makefile
|
|
||||||
@@ -10,9 +10,9 @@ ifndef SYSCONFDIR
|
|
||||||
endif
|
|
||||||
|
|
||||||
CFLAGS+=-Wall -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare
|
|
||||||
-CFLAGS+=-g
|
|
||||||
CFLAGS+=-std=gnu99
|
|
||||||
CFLAGS+=-pedantic
|
|
||||||
+CFLAGS+=$(OPTFLAGS)
|
|
||||||
CPPFLAGS+=-DSYSCONFDIR=\"$(SYSCONFDIR)\"
|
|
||||||
CPPFLAGS+=-DVERSION=\"${GIT_VERSION}\"
|
|
||||||
CFLAGS+=-Iinclude
|
|
||||||
@@ -56,19 +56,15 @@ OBJS:=$(wildcard src/*.c *.c)
|
|
||||||
OBJS:=$(OBJS:.c=.o)
|
|
||||||
|
|
||||||
src/%.o: src/%.c include/i3status.h
|
|
||||||
- @$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
|
|
||||||
- @echo " CC $<"
|
|
||||||
+ $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
|
|
||||||
|
|
||||||
%.o: %.c include/%.h
|
|
||||||
- @$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
|
|
||||||
- @echo " CC $<"
|
|
||||||
+ $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
|
|
||||||
|
|
||||||
all: i3status manpage
|
|
||||||
|
|
||||||
i3status: ${OBJS}
|
|
||||||
- @$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
|
|
||||||
- @echo " LD $@"
|
|
||||||
-
|
|
||||||
+ $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
|
|
||||||
clean:
|
|
||||||
rm -f *.o src/*.o
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:073f4e5de3bc5afc1f23c52ea52e2aa4b90ca8a012f28ba2c5fac3c33474a632
|
|
||||||
size 37594
|
|
3
i3status-2.8.tar.bz2
Normal file
3
i3status-2.8.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b15ccf9e2a677e99a5d6e7619ba7c36f2f3b48fda17b8c1f970d1d2139f56f5c
|
||||||
|
size 37710
|
@ -1,37 +1,33 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sa Jul 26 22:2:11 UTC 2014 - email@pfeiffer.pw
|
||||||
|
|
||||||
|
• Fix build on GNU/Hurd
|
||||||
|
• Add format_down for battery if no battery is available
|
||||||
|
• Use degraded color in case volume is muted with OSS
|
||||||
|
• Support mixer_idx with OSS
|
||||||
|
• Enable colored output for battery on FreeBSD
|
||||||
|
• print_volume: don’t return, complete the buffer first
|
||||||
|
• Support colored output for CPU temperature on FreeBSD
|
||||||
|
• manpage: mention i3bar in the description
|
||||||
|
• manpage: be more explicit about the path option
|
||||||
|
• battery: use path as i3bar JSON “instance”
|
||||||
|
• print_volume(linux): Open a new mixer every time
|
||||||
|
• Implement term output format
|
||||||
|
• signal handler: set flag because directly calling fprintf() is unsafe
|
||||||
|
• Makefile: use .SILENT and support V=1 for verbose builds
|
||||||
|
• load: allow max_threshold to be a float
|
||||||
|
• manpage: Add example path for CPU temperature
|
||||||
|
• Fix build on NetBSD
|
||||||
|
• Implement cpu usage, ethernet status, cpu temperature on NetBSD
|
||||||
|
• fix slurp(), it needs to read size-1 for the trailing NUL
|
||||||
|
• format detection: simplify code, handle "sh" processes in the hierarchy
|
||||||
|
• default config: show %avail disk space instead of %free
|
||||||
|
• Added different format string for volume in case it is muted
|
||||||
|
• manpage: document format_muted
|
||||||
|
• add support for path_exists directive
|
||||||
|
• disk: Distinguish between IEC, SI and custom prefixes
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 14 08:52:47 UTC 2013 - toganm@opensuse.org
|
Thu Mar 14 08:52:47 UTC 2013 - toganm@opensuse.org
|
||||||
|
|
||||||
- Update to 2.7 version
|
- initial version (2.7)
|
||||||
* Skip a day in the Discordian calendar when St. Tib's Day has
|
|
||||||
passed
|
|
||||||
* colors: Handle down wireless interfaces just like ethernet
|
|
||||||
interfaces
|
|
||||||
* temperature: introduce max_threshold
|
|
||||||
* battery: colorize output even without discharge rate
|
|
||||||
* ddate: Reduce the season day to 0-9 to properly print ordinal
|
|
||||||
suffixes
|
|
||||||
* add good, degraded and bad colors per module
|
|
||||||
* config: introduce an utf-8 character so that editors are forced
|
|
||||||
to use utf-8
|
|
||||||
* ddate: Teen ordinal numbers always use a 'th' suffix.
|
|
||||||
* make SIGUSR1 do nothing, so that killall -USR1 i3status will
|
|
||||||
force an update
|
|
||||||
* changing volume color from bad to degraded if muted
|
|
||||||
* make refreshs align with minutes
|
|
||||||
* wifi: properly display ad-hoc networks
|
|
||||||
* Bugfix: output auto detect: properly detect ambiguous situations
|
|
||||||
* Add tztime module to support multiple different timezones
|
|
||||||
* battery: add option to show capacity without decimals
|
|
||||||
* Add colorized output for load avg
|
|
||||||
* ipv6: properly handle colors for output_format == xmobar
|
|
||||||
* contrib: fix premature insetion of status message into JSON
|
|
||||||
|
|
||||||
- Spec file cleanup
|
|
||||||
* rebased i3status-makefile.patch and renamed as
|
|
||||||
i3status-2.7-makefile.patch
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Nov 24 18:39:30 CET 2012 - pascal.bleser@opensuse.org
|
|
||||||
|
|
||||||
- initial version (2.6)
|
|
||||||
|
|
||||||
|
@ -1,9 +1,7 @@
|
|||||||
# vim: set sw=4 ts=4 et nu:
|
|
||||||
#
|
#
|
||||||
# spec file for package i3status
|
# spec file for package i3status
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2014 Thomas Pfeiffer <email@pfeiffer.pw>
|
||||||
# Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org>
|
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -13,25 +11,27 @@
|
|||||||
# case the license is the MIT License). An "Open Source License" is a
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
#
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: i3status
|
Name: i3status
|
||||||
Version: 2.7
|
Version: 2.8
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: I3 Status Bar
|
Summary: I3 Status Bar
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: System/Monitoring
|
Group: System/Monitoring
|
||||||
Source: http://i3wm.org/i3status/i3status-%{version}.tar.bz2
|
Source: http://i3wm.org/i3status/%{name}-%{version}.tar.bz2
|
||||||
Patch1: i3status-2.7-makefile.patch
|
|
||||||
Url: http://i3wm.org/i3status/
|
Url: http://i3wm.org/i3status/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: alsa-devel
|
BuildRequires: alsa-devel
|
||||||
BuildRequires: libconfuse-devel
|
BuildRequires: libconfuse-devel
|
||||||
|
BuildRequires: libasound2
|
||||||
BuildRequires: libiw-devel
|
BuildRequires: libiw-devel
|
||||||
BuildRequires: libyajl-devel
|
BuildRequires: libyajl-devel
|
||||||
|
BuildRequires: libcap2
|
||||||
|
BuildRequires: asciidoc
|
||||||
|
BuildRequires: libxslt-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
i3status is a small program (about 1500 SLOC) for generating a status bar for
|
i3status is a small program (about 1500 SLOC) for generating a status bar for
|
||||||
@ -44,7 +44,6 @@ would.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p1
|
|
||||||
|
|
||||||
chmod -x contrib/*.*
|
chmod -x contrib/*.*
|
||||||
%build
|
%build
|
||||||
@ -64,3 +63,4 @@ chmod -x contrib/*.*
|
|||||||
%doc %{_mandir}/man1/i3status.1*
|
%doc %{_mandir}/man1/i3status.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user