Accepting request 310174 from X11:windowmanagers
1 OBS-URL: https://build.opensuse.org/request/show/310174 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/i3status?expand=0&rev=4
This commit is contained in:
commit
6888e6f8ce
@ -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:ab06c5dd454354e6fc64354082616115082b70dc3906361bce5a02beb0f807fe
|
||||
size 40422
|
@ -1,3 +1,40 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 1 00:41:34 UTC 2015 - arun@gmx.de
|
||||
|
||||
- replaced tar-ball with tar-ball from Source location
|
||||
(they were different for some location, which was the
|
||||
reason the package didn't get updated in Factory)
|
||||
- Removed i3status-2.7-makefile.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
@ -34,4 +71,3 @@ Thu Mar 14 08:52:47 UTC 2013 - toganm@opensuse.org
|
||||
Sat Nov 24 18:39:30 CET 2012 - pascal.bleser@opensuse.org
|
||||
|
||||
- initial version (2.6)
|
||||
|
||||
|
@ -1,9 +1,8 @@
|
||||
# vim: set sw=4 ts=4 et nu:
|
||||
#
|
||||
# spec file for package i3status
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org>
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2014 Thomas Pfeiffer <email@pfeiffer.pw>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -19,18 +18,21 @@
|
||||
|
||||
|
||||
Name: i3status
|
||||
Version: 2.7
|
||||
Version: 2.8
|
||||
Release: 0
|
||||
Summary: I3 Status Bar
|
||||
License: BSD-3-Clause
|
||||
Group: System/Monitoring
|
||||
Source: http://i3wm.org/i3status/i3status-%{version}.tar.bz2
|
||||
Patch1: i3status-2.7-makefile.patch
|
||||
Source: http://i3wm.org/i3status/%{name}-%{version}.tar.bz2
|
||||
Url: http://i3wm.org/i3status/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: alsa-devel
|
||||
BuildRequires: asciidoc
|
||||
BuildRequires: libasound2
|
||||
BuildRequires: libcap2
|
||||
BuildRequires: libconfuse-devel
|
||||
BuildRequires: libiw-devel
|
||||
BuildRequires: libxslt-devel
|
||||
BuildRequires: libyajl-devel
|
||||
|
||||
%description
|
||||
@ -44,9 +46,9 @@ would.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
|
||||
chmod -x contrib/*.*
|
||||
|
||||
%build
|
||||
%__make %{?_smp_mflags} \
|
||||
OPTFLAGS="%{optflags}" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user