diff --git a/blackbox.spec b/blackbox.spec index 51cf5cf..e3c6b27 100644 --- a/blackbox.spec +++ b/blackbox.spec @@ -1,16 +1,12 @@ Name: blackbox Version: 0.77 -Release: %autorelease +Release: 1%{?dist} Summary: Very small and fast Window Manager License: MIT URL: https://github.com/bbidulock/blackboxwm Source0: https://github.com/bbidulock/blackboxwm/releases/download/%{version}/%{name}-%{version}.tar.lz Source1: blackbox.desktop Source2: blackbox.session -# Fix build with GCC 12 (missing include) -Patch0: d3481ee7b7d104ef53ead4d35b9a9254c64bb87a.patch -# Toolbar.cc: fix build for systems where time_t != long -Patch1: d45570b2317ff8f20642fbda5aa07e8f43b254b0.patch BuildRequires: automake BuildRequires: autoconf BuildRequires: gcc-c++ @@ -20,7 +16,7 @@ BuildRequires: libXext-devel BuildRequires: libXft-devel BuildRequires: libXt-devel BuildRequires: lzip -BuildRequires: make +BuildRequires: make %description Blackbox is a window manager for the X Window environment, which is @@ -91,4 +87,193 @@ install -pDm0755 %{SOURCE2} \ %{_libdir}/pkgconfig/libbt.pc %changelog -%autochangelog +* Wed Mar 23 2022 Filipe Rosset - 0.77-1 +- Update to 0.77 fixes rhbz#1959905 + +* Wed Jan 19 2022 Fedora Release Engineering - 0.76-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Wed Jul 21 2021 Fedora Release Engineering - 0.76-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 0.76-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sat Aug 01 2020 Fedora Release Engineering - 0.76-4 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jul 27 2020 Fedora Release Engineering - 0.76-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sun Feb 16 2020 Filipe Rosset - 0.76-2 +- make spec compatible with EPEL8 + +* Sun Feb 16 2020 Filipe Rosset - 0.76-1 +- Update to 0.76 + +* Tue Jan 28 2020 Fedora Release Engineering - 0.75-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sat Sep 21 2019 Filipe Rosset - 0.75-1 +- Update to 0.75 fixes rhbz#1749810 +- src file changed to lzip format added lzip as BR + +* Sun Aug 04 2019 Filipe Rosset - 0.74-1 +- Update to 0.74 and remove upstreamed patches fixes rhbz#1595818 and rhbz#1603495 +- Fix FTBFS + spec cleanup and modernization fixes rhbz#1674698 and rhbz#1734979 + +* Wed Jul 24 2019 Fedora Release Engineering - 0.70.1-34 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jan 31 2019 Fedora Release Engineering - 0.70.1-33 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Thu Jul 12 2018 Fedora Release Engineering - 0.70.1-32 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 0.70.1-31 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Aug 02 2017 Fedora Release Engineering - 0.70.1-30 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 0.70.1-29 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 0.70.1-28 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Feb 03 2016 Fedora Release Engineering - 0.70.1-27 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 0.70.1-26 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat May 02 2015 Kalev Lember - 0.70.1-25 +- Rebuilt for GCC 5 C++11 ABI change + +* Fri Aug 15 2014 Fedora Release Engineering - 0.70.1-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Thu Jun 12 2014 Christopher Meng - 0.70.1-23 +- Fix messy pkg-config file. + +* Sat Jun 07 2014 Fedora Release Engineering - 0.70.1-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 0.70.1-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Feb 13 2013 Fedora Release Engineering - 0.70.1-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Jul 18 2012 Fedora Release Engineering - 0.70.1-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Feb 28 2012 Fedora Release Engineering - 0.70.1-18 +- Rebuilt for c++ ABI breakage + +* Thu Jan 19 2012 Niels de Vos - 0.70.1-17 +- Fix Fails To Build From Source (#660798) + +* Thu Jan 12 2012 Fedora Release Engineering - 0.70.1-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Feb 07 2011 Fedora Release Engineering - 0.70.1-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Jul 24 2009 Fedora Release Engineering - 0.70.1-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Sun Mar 01 2009 Caolán McNamara - 0.70.1-13 +- make build + +* Mon Feb 23 2009 Fedora Release Engineering - 0.70.1-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sun Feb 24 2008 Matthias Saou 0.70.1-11 +- Include patch to fix build with gcc 4.3. + +* Tue Feb 19 2008 Fedora Release Engineering +- Autorebuild for GCC 4.3 + +* Wed Aug 22 2007 Matthias Saou 0.70.1-9 +- Rebuild for new BuildID feature. + +* Fri Aug 3 2007 Matthias Saou 0.70.1-8 +- Fix License field, it was "GPL" but should have been "MIT" all along. +- Remove dist tag, since the package will seldom change. + +* Tue Jun 19 2007 Matthias Saou 0.70.1-7 +- Switch to using the DESTDIR install method. +- Remove old X build requirements conditionals. + +* Mon Aug 28 2006 Matthias Saou 0.70.1-6 +- Switch to shared libbt library, so have devel require main and call ldconfig. +- Make the GDM session file be a separate source. +- Autoreconf to cleanly get rid of the useless rpath. +- Add missing libXft-devel build requirement. +- Switch to using downloads.sf.net source URL. +- Minor spec file tweaks. +- Add new libXft-devel devel sub-package requirement. + +* Mon Aug 28 2006 Matthias Saou 0.70.1-5 +- FC6 rebuild. +- Remove gcc-c++ build requirement and devel sub-package requirement. +- Remove pkgconfig buildd requirement, as it's pulled in by Xorg devel now. + +* Mon Mar 6 2006 Matthias Saou 0.70.1-4 +- FC5 rebuild. + +* Wed Feb 8 2006 Matthias Saou 0.70.1-3 +- Rebuild for new gcc/glibc. + +* Mon Jan 23 2006 Matthias Saou 0.70.1-2 +- Add conditional to build with/without modular X depending on FC version. + +* Thu Nov 3 2005 Matthias Saou 0.70.1-1 +- Update to 0.70.1. + +* Sat Mar 12 2005 Matthias Saou 0.70.0-1 +- Update to 0.70.0. +- Use bz2 source instead of gz. +- Add devel sub-package for the libbt stuff. + +* Tue Nov 16 2004 Matthias Saou 0.65.0-10 +- Bump release to provide Extras upgrade path. + +* Mon Nov 15 2004 Matthias Saou 0.65.0-9 +- Added gcc 3.4 patch from Arch Linux. + +* Thu May 6 2004 Matthias Saou 0.65.0-8 +- Removed switchdesk file, it doesn't work because of hardcoded stuff. + +* Wed Mar 24 2004 Matthias Saou 0.65.0-8 +- Removed explicit XFree86 dependency. + +* Mon Feb 23 2004 Matthias Saou 0.65.0-7 +- Added blackbox.desktop file for xsessions based on the GNOME one. + +* Tue Feb 10 2004 Scott R. Godin 0.65.0-6 +- Patch for #include in Window.cc +- Fixed nls problem, left in --disable just in case. Smile, Matthias. :-) + +* Fri Nov 14 2003 Matthias Saou 0.65.0-5 +- Rebuild for Fedora Core 1. + +* Wed May 14 2003 Matthias Saou +- Added --without nls to enable rebuilding on Red Hat Linux 9 :-( + +* Mon Mar 31 2003 Matthias Saou +- Rebuilt for Red Hat Linux 9. + +* Sun Oct 6 2002 Matthias Saou +- Rebuilt for Red Hat Linux 8.0. + +* Fri Sep 20 2002 Matthias Saou +- Update to 0.65.0 final. + +* Mon Aug 12 2002 Matthias Saou +- Initial RPM release. + diff --git a/changelog b/changelog deleted file mode 100644 index c5ef425..0000000 --- a/changelog +++ /dev/null @@ -1,202 +0,0 @@ -* Wed Jul 19 2023 Fedora Release Engineering - 0.77-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Wed Jan 18 2023 Fedora Release Engineering - 0.77-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Sat Aug 27 2022 Filipe Rosset - 0.77-3 -- Fix FTBFS rhbz#2113121 - -* Wed Jul 20 2022 Fedora Release Engineering - 0.77-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Wed Mar 23 2022 Filipe Rosset - 0.77-1 -- Update to 0.77 fixes rhbz#1959905 - -* Wed Jan 19 2022 Fedora Release Engineering - 0.76-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Wed Jul 21 2021 Fedora Release Engineering - 0.76-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Tue Jan 26 2021 Fedora Release Engineering - 0.76-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Sat Aug 01 2020 Fedora Release Engineering - 0.76-4 -- Second attempt - Rebuilt for - https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Mon Jul 27 2020 Fedora Release Engineering - 0.76-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Sun Feb 16 2020 Filipe Rosset - 0.76-2 -- make spec compatible with EPEL8 - -* Sun Feb 16 2020 Filipe Rosset - 0.76-1 -- Update to 0.76 - -* Tue Jan 28 2020 Fedora Release Engineering - 0.75-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Sat Sep 21 2019 Filipe Rosset - 0.75-1 -- Update to 0.75 fixes rhbz#1749810 -- src file changed to lzip format added lzip as BR - -* Sun Aug 04 2019 Filipe Rosset - 0.74-1 -- Update to 0.74 and remove upstreamed patches fixes rhbz#1595818 and rhbz#1603495 -- Fix FTBFS + spec cleanup and modernization fixes rhbz#1674698 and rhbz#1734979 - -* Wed Jul 24 2019 Fedora Release Engineering - 0.70.1-34 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Thu Jan 31 2019 Fedora Release Engineering - 0.70.1-33 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Thu Jul 12 2018 Fedora Release Engineering - 0.70.1-32 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Feb 07 2018 Fedora Release Engineering - 0.70.1-31 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Wed Aug 02 2017 Fedora Release Engineering - 0.70.1-30 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 0.70.1-29 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri Feb 10 2017 Fedora Release Engineering - 0.70.1-28 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Wed Feb 03 2016 Fedora Release Engineering - 0.70.1-27 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Wed Jun 17 2015 Fedora Release Engineering - 0.70.1-26 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Sat May 02 2015 Kalev Lember - 0.70.1-25 -- Rebuilt for GCC 5 C++11 ABI change - -* Fri Aug 15 2014 Fedora Release Engineering - 0.70.1-24 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Thu Jun 12 2014 Christopher Meng - 0.70.1-23 -- Fix messy pkg-config file. - -* Sat Jun 07 2014 Fedora Release Engineering - 0.70.1-22 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Sat Aug 03 2013 Fedora Release Engineering - 0.70.1-21 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Wed Feb 13 2013 Fedora Release Engineering - 0.70.1-20 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Wed Jul 18 2012 Fedora Release Engineering - 0.70.1-19 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Tue Feb 28 2012 Fedora Release Engineering - 0.70.1-18 -- Rebuilt for c++ ABI breakage - -* Thu Jan 19 2012 Niels de Vos - 0.70.1-17 -- Fix Fails To Build From Source (#660798) - -* Thu Jan 12 2012 Fedora Release Engineering - 0.70.1-16 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Mon Feb 07 2011 Fedora Release Engineering - 0.70.1-15 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Fri Jul 24 2009 Fedora Release Engineering - 0.70.1-14 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Sun Mar 01 2009 Caolán McNamara - 0.70.1-13 -- make build - -* Mon Feb 23 2009 Fedora Release Engineering - 0.70.1-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Sun Feb 24 2008 Matthias Saou 0.70.1-11 -- Include patch to fix build with gcc 4.3. - -* Tue Feb 19 2008 Fedora Release Engineering -- Autorebuild for GCC 4.3 - -* Wed Aug 22 2007 Matthias Saou 0.70.1-9 -- Rebuild for new BuildID feature. - -* Fri Aug 3 2007 Matthias Saou 0.70.1-8 -- Fix License field, it was "GPL" but should have been "MIT" all along. -- Remove dist tag, since the package will seldom change. - -* Tue Jun 19 2007 Matthias Saou 0.70.1-7 -- Switch to using the DESTDIR install method. -- Remove old X build requirements conditionals. - -* Mon Aug 28 2006 Matthias Saou 0.70.1-6 -- Switch to shared libbt library, so have devel require main and call ldconfig. -- Make the GDM session file be a separate source. -- Autoreconf to cleanly get rid of the useless rpath. -- Add missing libXft-devel build requirement. -- Switch to using downloads.sf.net source URL. -- Minor spec file tweaks. -- Add new libXft-devel devel sub-package requirement. - -* Mon Aug 28 2006 Matthias Saou 0.70.1-5 -- FC6 rebuild. -- Remove gcc-c++ build requirement and devel sub-package requirement. -- Remove pkgconfig buildd requirement, as it's pulled in by Xorg devel now. - -* Mon Mar 6 2006 Matthias Saou 0.70.1-4 -- FC5 rebuild. - -* Wed Feb 8 2006 Matthias Saou 0.70.1-3 -- Rebuild for new gcc/glibc. - -* Mon Jan 23 2006 Matthias Saou 0.70.1-2 -- Add conditional to build with/without modular X depending on FC version. - -* Thu Nov 3 2005 Matthias Saou 0.70.1-1 -- Update to 0.70.1. - -* Sat Mar 12 2005 Matthias Saou 0.70.0-1 -- Update to 0.70.0. -- Use bz2 source instead of gz. -- Add devel sub-package for the libbt stuff. - -* Tue Nov 16 2004 Matthias Saou 0.65.0-10 -- Bump release to provide Extras upgrade path. - -* Mon Nov 15 2004 Matthias Saou 0.65.0-9 -- Added gcc 3.4 patch from Arch Linux. - -* Thu May 6 2004 Matthias Saou 0.65.0-8 -- Removed switchdesk file, it doesn't work because of hardcoded stuff. - -* Wed Mar 24 2004 Matthias Saou 0.65.0-8 -- Removed explicit XFree86 dependency. - -* Mon Feb 23 2004 Matthias Saou 0.65.0-7 -- Added blackbox.desktop file for xsessions based on the GNOME one. - -* Tue Feb 10 2004 Scott R. Godin 0.65.0-6 -- Patch for #include in Window.cc -- Fixed nls problem, left in --disable just in case. Smile, Matthias. :-) - -* Fri Nov 14 2003 Matthias Saou 0.65.0-5 -- Rebuild for Fedora Core 1. - -* Wed May 14 2003 Matthias Saou -- Added --without nls to enable rebuilding on Red Hat Linux 9 :-( - -* Mon Mar 31 2003 Matthias Saou -- Rebuilt for Red Hat Linux 9. - -* Sun Oct 6 2002 Matthias Saou -- Rebuilt for Red Hat Linux 8.0. - -* Fri Sep 20 2002 Matthias Saou -- Update to 0.65.0 final. - -* Mon Aug 12 2002 Matthias Saou -- Initial RPM release. - diff --git a/d3481ee7b7d104ef53ead4d35b9a9254c64bb87a.patch b/d3481ee7b7d104ef53ead4d35b9a9254c64bb87a.patch deleted file mode 100644 index f12c821..0000000 --- a/d3481ee7b7d104ef53ead4d35b9a9254c64bb87a.patch +++ /dev/null @@ -1,38 +0,0 @@ -From d3481ee7b7d104ef53ead4d35b9a9254c64bb87a Mon Sep 17 00:00:00 2001 -From: Sam James -Date: Sun, 12 Jun 2022 20:49:09 +0100 -Subject: [PATCH] Fix build with GCC 12 (missing include) -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Fixes build failure with GCC 12: -``` -Toolbar.cc: In member function ‘void Toolbar::reconfigure()’: -Toolbar.cc:260:17: error: ‘time’ was not declared in this scope; did you mean ‘Time’? - 260 | time_t ttmp = time(NULL); - | ^~~~ - | Time -Toolbar.cc:265:21: error: ‘localtime’ was not declared in this scope; did you mean ‘clock_timer’? - 265 | struct tm *tt = localtime(&ttmp); - | ^~~~~~~~~ - | clock_timer -``` - -Bug: https://bugs.gentoo.org/851603 ---- - src/Toolbar.cc | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/Toolbar.cc b/src/Toolbar.cc -index e88b8f6b..8ccad201 100644 ---- a/src/Toolbar.cc -+++ b/src/Toolbar.cc -@@ -38,6 +38,7 @@ - #include - #include - #include -+#include - - - long nextTimeout(int resolution) diff --git a/d45570b2317ff8f20642fbda5aa07e8f43b254b0.patch b/d45570b2317ff8f20642fbda5aa07e8f43b254b0.patch deleted file mode 100644 index c5d2b69..0000000 --- a/d45570b2317ff8f20642fbda5aa07e8f43b254b0.patch +++ /dev/null @@ -1,24 +0,0 @@ -From d45570b2317ff8f20642fbda5aa07e8f43b254b0 Mon Sep 17 00:00:00 2001 -From: Andrii Batyiev -Date: Thu, 22 Feb 2024 01:57:55 +0000 -Subject: [PATCH] Toolbar.cc: fix build for systems where time_t != long - ---- - src/Toolbar.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/Toolbar.cc b/src/Toolbar.cc -index 8ccad201..fc19f346 100644 ---- a/src/Toolbar.cc -+++ b/src/Toolbar.cc -@@ -45,8 +45,8 @@ long nextTimeout(int resolution) - { - timeval now; - gettimeofday(&now, 0); -- return (std::max(1000l, ((((resolution - (now.tv_sec % resolution)) * 1000l)) -- - (now.tv_usec / 1000l)))); -+ return (std::max(1000l, ((((resolution - (now.tv_sec % resolution)) * 1000l)) -+ - (now.tv_usec / 1000l)))); - } - -