public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Andreas Bierfert <awjb@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/fluxbox] epel10: - fix #388971
Date: Mon, 09 Nov 2026 12:24:38 GMT	[thread overview]
Message-ID: <179422707851.1.4835667908192273764.rpms-fluxbox-19f1670fdb92@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/fluxbox
Branch : epel10
Commit : 19f1670fdb92335d343f15f5b04a29f2fd512205
Author : Andreas Bierfert <awjb@fedoraproject.org>
Date   : 2008-01-03T11:32:59+00:00
Stats  : +41/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/fluxbox/c/19f1670fdb92335d343f15f5b04a29f2fd512205?branch=epel10

Log:
- fix #388971

---
diff --git a/fluxbox-startfluxbox-pulseaudio.patch b/fluxbox-startfluxbox-pulseaudio.patch
new file mode 100644
index 0000000..2be652a
--- /dev/null
+++ b/fluxbox-startfluxbox-pulseaudio.patch
@@ -0,0 +1,16 @@
+--- util/startfluxbox.in.orig	2008-01-03 12:01:31.000000000 +0100
++++ util/startfluxbox.in	2008-01-03 12:07:30.000000000 +0100
+@@ -24,6 +24,13 @@
+     shift
+ done
+ 
++# start pulseaudio
++if [ -f /etc/fluxbox-pulseaudio ]; then
++    if [ -x /usr/bin/pulseaudio ]; then
++      /usr/bin/pulseaudio -D
++    fi
++fi
++
+ if [ -x "$startup" ]; then
+     exec "$startup"
+ elif [ -r "$startup" ]; then

diff --git a/fluxbox.spec b/fluxbox.spec
index be465f1..e8929cb 100644
--- a/fluxbox.spec
+++ b/fluxbox.spec
@@ -1,6 +1,6 @@
 Name:           fluxbox
 Version:        1.0.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 
 Summary:	Window Manager based on Blackbox
 
@@ -11,6 +11,7 @@ URL:            http://fluxbox.sourceforge.net
 Source0:        http://download.sourceforge.net/fluxbox/fluxbox-1.0.0.tar.bz2
 Source3:        fluxbox.desktop
 Source4:        fluxbox-xdg-menu.py
+Patch0:         fluxbox-startfluxbox-pulseaudio.patch
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-buildroot
 BuildRequires:  imlib2-devel
@@ -38,9 +39,19 @@ what's the difference between fluxbox and blackbox then?  The answer is: LOTS!
 
 Have a look at the homepage for more info ;)
 
+%package pulseaudio
+Group:          User Interface/Desktops
+Summary:        Enable pulseaudio support
+Requires:       %{name} = %{version}-%{release}
+Requires:       alsa-plugins-pulseaudio
+Requires:       pulseaudio pulseaudio-module-x11 pulseaudio-utils
+
+%description pulseaudio
+Enable pulseaudio support.
 
 %prep
 %setup -q
+%patch0
 
 %build
 %configure      --enable-xft \
@@ -65,6 +76,10 @@ mkdir -p $RPM_BUILD_ROOT%{_datadir}/xsessions/
 install -m 0644 -p %SOURCE3 $RPM_BUILD_ROOT%{_datadir}/xsessions/
 install -m 0755 -p %SOURCE4 $RPM_BUILD_ROOT%{_bindir}/fluxbox-xdg-menu
 
+# fix 388971
+mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}
+touch -r ChangeLog $RPM_BUILD_ROOT/%{_sysconfdir}/fluxbox-pulseaudio
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -76,7 +91,16 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/%{name}
 %{_datadir}/xsessions/fluxbox.desktop
 
+%files pulseaudio
+%defattr(-,root,root,755)
+%{_sysconfdir}/fluxbox-pulseaudio
+
 %changelog
+* Thu Jan 03 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
+1.0.0-2
+- add subpage -pulseaudio to fix #388971: fluxbox fails to start pulseaudio
+  at login
+
 * Mon Oct 08 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
 1.0.0-1
 - version upgrade

                 reply	other threads:[~2026-11-09 12:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179422707851.1.4835667908192273764.rpms-fluxbox-19f1670fdb92@fedoraproject.org \
    --to=awjb@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox