public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fluxbox] epel10: - fix gdm detection
@ 2026-11-09 12:24 Andreas Bierfert
  0 siblings, 0 replies; only message in thread
From: Andreas Bierfert @ 2026-11-09 12:24 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/fluxbox
            Branch : epel10
            Commit : 4c224c9c283dc644c4909f6d15ee4899db5be5ee
            Author : Andreas Bierfert <awjb@fedoraproject.org>
            Date   : 2006-03-02T22:57:50+00:00
            Stats  : +27/-30 in 6 file(s)
            URL    : https://src.fedoraproject.org/rpms/fluxbox/c/4c224c9c283dc644c4909f6d15ee4899db5be5ee?branch=epel10

            Log:
            - fix gdm detection
- fix menu generation

---
diff --git a/.cvsignore b/.cvsignore
index 8c3f795..bfa07b3 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -1,2 +1 @@
 fluxbox-0.9.14.tar.bz2
-artwiz-aleczapka.tar.bz2

diff --git a/FluxBox b/FluxBox
deleted file mode 100755
index 8713e83..0000000
--- a/FluxBox
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec /etc/X11/xdm/Xsession fluxbox

diff --git a/Xclients.fluxbox b/Xclients.fluxbox
deleted file mode 100644
index 6c8b5ad..0000000
--- a/Xclients.fluxbox
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/bash
-
-exec /usr/bin/fluxbox

diff --git a/fluxbox-menu.patch b/fluxbox-menu.patch
new file mode 100644
index 0000000..328a083
--- /dev/null
+++ b/fluxbox-menu.patch
@@ -0,0 +1,13 @@
+--- util/startfluxbox.in.orig	2006-03-02 16:10:01.000000000 +0100
++++ util/startfluxbox.in	2006-03-02 16:11:29.000000000 +0100
+@@ -76,6 +76,10 @@
+ # wmsmixer -w &
+ # idesk &
+ 
++if [ -x /usr/bin/fluxbox-xdg-menu.py ]; then
++ /usr/bin/fluxbox-generate_menu --with-icons &
++fi
++
+ # And last but not least we start fluxbox.
+ # Because it is the last app you have to run it with ''exec'' before it.
+ 

diff --git a/fluxbox.spec b/fluxbox.spec
index faddd99..d974e74 100644
--- a/fluxbox.spec
+++ b/fluxbox.spec
@@ -1,6 +1,6 @@
 Name:           fluxbox
 Version:        0.9.14
-Release:        2%{?dist}
+Release:        3%{?dist}
 
 Summary:	Window Manager based on Blackbox
 
@@ -9,11 +9,10 @@ License:        MIT
 URL:            http://fluxbox.sourceforge.net
 
 Source0:        http://download.sourceforge.net/fluxbox/fluxbox-0.9.14.tar.bz2
-Source1:        Xclients.%{name}
-Source2:        FluxBox
 Source3:        fluxbox.desktop
 Source4:        fluxbox-xdg-menu.py
 Patch0:         fluxbox-gcc41.patch
+Patch1:         fluxbox-menu.patch
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-buildroot
 BuildRequires:  imlib2-devel
@@ -29,7 +28,7 @@ BuildRequires:  libXrandr-devel
 BuildRequires:  libXrender-devel
 BuildRequires:  fontconfig-devel
 
-Requires(post): python
+Requires:       pyxdg
 Requires:       artwiz-aleczapka-fonts
 
 %description
@@ -45,6 +44,7 @@ Have a look at the homepage for more info ;)
 %prep
 %setup -q
 %patch0 -p1
+%patch1
 
 %build
 %configure      --enable-xft \
@@ -63,23 +63,11 @@ rm -rf $RPM_BUILD_ROOT
 
 make install DESTDIR=$RPM_BUILD_ROOT
 
-# make gdm users happy
-mkdir -p $RPM_BUILD_ROOT%{_datadir}/apps/switchdesk/
-install -m 0755 -p %SOURCE1 $RPM_BUILD_ROOT%{_datadir}/apps/switchdesk/
-
-mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/X11/gdm/Sessions
-install -m 0755 -p %SOURCE2 $RPM_BUILD_ROOT%{_sysconfdir}/X11/gdm/Sessions/
-
 # this is for Fedora Core
-mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/X11/dm/Sessions
-install -m 0755 -p %SOURCE3 $RPM_BUILD_ROOT%{_sysconfdir}/X11/dm/Sessions/
-
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/xsessions/
+install -m 0755 -p %SOURCE3 $RPM_BUILD_ROOT%{_datadir}/xsessions/
 install -m 0755 -p %SOURCE4 $RPM_BUILD_ROOT%{_bindir}/fluxbox-xdg-menu
 
-%post
-# New menu-system
-%{_bindir}/fluxbox-xdg-menu --with-icons
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -89,20 +77,23 @@ rm -rf $RPM_BUILD_ROOT
 %{_bindir}/*
 %{_mandir}/man1/*
 %{_datadir}/%{name}
-%{_datadir}/apps/switchdesk/Xclients.fluxbox
-
-%{_sysconfdir}/X11/gdm/Sessions/FluxBox
-%{_sysconfdir}/X11/dm/Sessions/fluxbox.desktop
+%{_datadir}/xsessions/fluxbox.desktop
 
 %changelog
 * Thu Mar 02 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
+0.9.14-3
+- fix Requires
+- patch startfluxbox to generate user menu
+- fix gdm detection
+
+* Thu Mar 02 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
 0.9.14-2
 - fix build on gcc41
 
 * Thu Nov 10 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
 - enable nls and imlib2
 - require artwizaleczepka instead of providing it...
-- add menu script from Rudolf Kastel
+- add menu script from Rudolf Kastl
 
 * Thu Sep 15 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
 0.9.14-1

diff --git a/sources b/sources
index ccbc68b..be8eeac 100644
--- a/sources
+++ b/sources
@@ -1,2 +1 @@
 7641aaea532841e103e9705bb5b98f62  fluxbox-0.9.14.tar.bz2
-3c7da9a10a84d517e6846b2031950380  artwiz-aleczapka.tar.bz2

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-09 12:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-09 12:24 [rpms/fluxbox] epel10: - fix gdm detection Andreas Bierfert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox