Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 421824 Details for
Bug 570786
x11-misc/i3status-2.10: add USE=pulseaudio support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to optionally remove PulseAudio dependency (use make "NO_PULSE=1")
i3status-2.10-no-pulseaudio.patch (text/plain), 1.13 KB, created by
Watcom
on 2016-01-03 22:37:34 UTC
(
hide
)
Description:
Patch to optionally remove PulseAudio dependency (use make "NO_PULSE=1")
Filename:
MIME Type:
Creator:
Watcom
Created:
2016-01-03 22:37:34 UTC
Size:
1.13 KB
patch
obsolete
>Only in i3status-2.10-patched: i3status >diff -aurb i3status-2.10/Makefile i3status-2.10-patched/Makefile >--- i3status-2.10/Makefile 2016-01-01 16:51:19.000000000 -0200 >+++ i3status-2.10-patched/Makefile 2016-01-03 19:46:25.437297236 -0200 >@@ -21,7 +21,9 @@ > CFLAGS+=-Iinclude > LIBS+=-lconfuse > LIBS+=-lyajl >+ifndef NO_PULSE > LIBS+=-lpulse >+endif > LIBS+=-lm > > VERSION=2.10 >@@ -74,6 +76,11 @@ > OBJS:=$(filter-out src/pulse.o, $(OBJS)) > LIBS:=$(filter-out -lpulse, $(LIBS)) -lpthread > endif >+ifdef NO_PULSE >+OBJS:=$(filter-out src/pulse.o, $(OBJS)) >+LIBS:=$(filter-out -lpulse, $(LIBS)) >+CFLAGS+=-DNO_PULSE >+endif > > src/%.o: src/%.c include/i3status.h > $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $< >diff -aurb i3status-2.10/src/print_volume.c i3status-2.10-patched/src/print_volume.c >--- i3status-2.10/src/print_volume.c 2016-01-01 16:51:19.000000000 -0200 >+++ i3status-2.10-patched/src/print_volume.c 2016-01-03 19:48:29.123291154 -0200 >@@ -60,7 +60,7 @@ > free(instance); > } > >-#ifndef __OpenBSD__ >+#if !defined(__OpenBSD__) && !defined(NO_PULSE) > /* Try PulseAudio first */ > > /* If the device name has the format "pulse[:N]" where N is the
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 570786
: 421824 |
421826