diff --git a/.gitignore b/.gitignore index a68a256..69c3ce4 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,5 @@ blackbox-0.70.1.tar.bz2 +/blackbox-0.74.tar.xz +/blackbox-0.75.tar.lz +/blackbox-0.76.tar.lz +/blackbox-0.77.tar.lz diff --git a/blackbox-0.70.1-Xutil.patch b/blackbox-0.70.1-Xutil.patch deleted file mode 100644 index 2b28ba7..0000000 --- a/blackbox-0.70.1-Xutil.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- blackbox-0.70.1/lib/Util.hh.Xutil 2005-04-06 15:01:18.000000000 +0100 -+++ blackbox-0.70.1/lib/Util.hh 2011-03-26 00:39:30.468690153 +0000 -@@ -25,6 +25,7 @@ - #ifndef __Util_hh - #define __Util_hh - -+#include - #include - #include - -@@ -94,10 +95,8 @@ - - std::string tolower(const std::string &string); - --#ifdef _XUTIL_H_ - std::string textPropertyToString(::Display *display, - ::XTextProperty& text_prop); --#endif - - } // namespace bt - diff --git a/blackbox-0.70.1-gcc43.patch b/blackbox-0.70.1-gcc43.patch deleted file mode 100644 index 1026bd5..0000000 --- a/blackbox-0.70.1-gcc43.patch +++ /dev/null @@ -1,106 +0,0 @@ -diff -Naupr blackbox-0.70.1.orig/lib/Image.cc blackbox-0.70.1/lib/Image.cc ---- blackbox-0.70.1.orig/lib/Image.cc 2005-04-08 17:41:09.000000000 +0200 -+++ blackbox-0.70.1/lib/Image.cc 2008-02-24 08:31:28.000000000 +0100 -@@ -42,8 +42,9 @@ - - #include - #include --#include --#include -+#include -+#include -+#include - - // #define COLORTABLE_DEBUG - // #define MITSHM_DEBUG -diff -Naupr blackbox-0.70.1.orig/lib/Resource.cc blackbox-0.70.1/lib/Resource.cc ---- blackbox-0.70.1.orig/lib/Resource.cc 2005-04-06 23:16:50.000000000 +0200 -+++ blackbox-0.70.1/lib/Resource.cc 2008-02-24 08:33:11.000000000 +0100 -@@ -28,7 +28,8 @@ - #include - #include - --#include -+#include -+#include - - - bt::Resource::Resource(void) -diff -Naupr blackbox-0.70.1.orig/lib/XDG.cc blackbox-0.70.1/lib/XDG.cc ---- blackbox-0.70.1.orig/lib/XDG.cc 2005-04-06 16:04:38.000000000 +0200 -+++ blackbox-0.70.1/lib/XDG.cc 2008-02-24 08:34:11.000000000 +0100 -@@ -25,7 +25,8 @@ - #include "Util.hh" - #include "XDG.hh" - --#include -+#include -+#include - - - // make sure directory names end with a slash -diff -Naupr blackbox-0.70.1.orig/src/BlackboxResource.cc blackbox-0.70.1/src/BlackboxResource.cc ---- blackbox-0.70.1.orig/src/BlackboxResource.cc 2005-10-18 09:34:46.000000000 +0200 -+++ blackbox-0.70.1/src/BlackboxResource.cc 2008-02-24 08:34:49.000000000 +0100 -@@ -33,6 +33,8 @@ - #include - #include - -+#include -+ - - BlackboxResource::BlackboxResource(const std::string& rc): rc_file(rc) { - screen_resources = 0; -diff -Naupr blackbox-0.70.1.orig/src/main.cc blackbox-0.70.1/src/main.cc ---- blackbox-0.70.1.orig/src/main.cc 2005-01-03 10:42:57.000000000 +0100 -+++ blackbox-0.70.1/src/main.cc 2008-02-24 08:37:16.000000000 +0100 -@@ -34,7 +34,8 @@ - #include "blackbox.hh" - #include "../version.h" - --#include -+#include -+#include - - - static void showHelp(int exitval) { -diff -Naupr blackbox-0.70.1.orig/src/Screen.cc blackbox-0.70.1/src/Screen.cc ---- blackbox-0.70.1.orig/src/Screen.cc 2005-10-18 10:07:22.000000000 +0200 -+++ blackbox-0.70.1/src/Screen.cc 2008-02-24 08:35:46.000000000 +0100 -@@ -45,8 +45,9 @@ - #include - #include - #include --#include - #include -+#include -+#include - - - static bool running = true; -diff -Naupr blackbox-0.70.1.orig/src/ScreenResource.cc blackbox-0.70.1/src/ScreenResource.cc ---- blackbox-0.70.1.orig/src/ScreenResource.cc 2005-04-13 07:54:08.000000000 +0200 -+++ blackbox-0.70.1/src/ScreenResource.cc 2008-02-24 08:36:31.000000000 +0100 -@@ -33,6 +33,8 @@ - - #include - -+#include -+ - - static const int iconify_width = 9; - static const int iconify_height = 9; -diff -Naupr blackbox-0.70.1.orig/util/bsetroot.cc blackbox-0.70.1/util/bsetroot.cc ---- blackbox-0.70.1.orig/util/bsetroot.cc 2005-03-15 08:01:37.000000000 +0100 -+++ blackbox-0.70.1/util/bsetroot.cc 2008-02-24 08:38:41.000000000 +0100 -@@ -30,7 +30,9 @@ - #include - - #include --#include -+#include -+#include -+#include - - - // ignore all X errors diff --git a/blackbox.spec b/blackbox.spec index c76d487..51cf5cf 100644 --- a/blackbox.spec +++ b/blackbox.spec @@ -1,21 +1,26 @@ Name: blackbox -Version: 0.70.1 -Release: 32%{?dist} +Version: 0.77 +Release: %autorelease Summary: Very small and fast Window Manager License: MIT -URL: http://blackboxwm.sourceforge.net/ -Source0: http://downloads.sf.net/blackboxwm/blackbox-%{version}.tar.bz2 +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 -Patch0: blackbox-0.70.1-gcc43.patch -# Bug #660798 -Patch1: blackbox-0.70.1-Xutil.patch +# 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++ +BuildRequires: gettext-devel BuildRequires: libtool BuildRequires: libXext-devel BuildRequires: libXft-devel BuildRequires: libXt-devel +BuildRequires: lzip +BuildRequires: make %description Blackbox is a window manager for the X Window environment, which is @@ -35,14 +40,13 @@ This package contains the Blackbox Toolbox files, headers and static library of the utility class library for writing small applications. %prep -%setup -q -%patch0 -p1 -b .gcc43 -%patch1 -p1 -b .Xutil +%autosetup -p1 # %%{__global_ldflags} wrongly passed to pkgconfig file sed -i 's|@LDFLAGS@||g' lib/libbt.pc.in %build # Required to cleanly get rid of the useless rpath +sh autogen.sh autoreconf -fiv %configure \ --enable-shared \ @@ -51,7 +55,6 @@ autoreconf -fiv %install %make_install - find %{buildroot} -name '*.la' -delete -print # Install the desktop entry @@ -62,12 +65,12 @@ install -pDm0644 %{SOURCE1} \ install -pDm0755 %{SOURCE2} \ %{buildroot}%{_sysconfdir}/X11/gdm/Sessions/Blackbox -%post -p /sbin/ldconfig +%find_lang %{name} +%ldconfig_scriptlets -%postun -p /sbin/ldconfig - -%files -%doc AUTHORS ChangeLog* COMPLIANCE LICENSE README* RELNOTES TODO +%files -f %{name}.lang +%doc ABOUT-NLS AUTHORS ChangeLog COMPLIANCE NEWS README* RELEASE* THANKS TODO +%license COPYING %{_sysconfdir}/X11/gdm/Sessions/Blackbox %{_bindir}/blackbox %{_bindir}/bsetbg @@ -79,6 +82,8 @@ install -pDm0755 %{SOURCE2} \ %{_mandir}/man1/blackbox.1* %{_mandir}/man1/bsetbg.1* %{_mandir}/man1/bsetroot.1* +%{_mandir}/*/man1/blackbox.1* +%{_mandir}/*/man1/bsetroot.1* %files devel %{_includedir}/bt/ @@ -86,151 +91,4 @@ install -pDm0755 %{SOURCE2} \ %{_libdir}/pkgconfig/libbt.pc %changelog -* 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. - +%autochangelog diff --git a/changelog b/changelog new file mode 100644 index 0000000..c5ef425 --- /dev/null +++ b/changelog @@ -0,0 +1,202 @@ +* 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 new file mode 100644 index 0000000..f12c821 --- /dev/null +++ b/d3481ee7b7d104ef53ead4d35b9a9254c64bb87a.patch @@ -0,0 +1,38 @@ +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 new file mode 100644 index 0000000..c5d2b69 --- /dev/null +++ b/d45570b2317ff8f20642fbda5aa07e8f43b254b0.patch @@ -0,0 +1,24 @@ +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)))); + } + + diff --git a/sources b/sources index dbe244e..ecf034d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -53b84260b9d38b35fb25b4baf7bb795a blackbox-0.70.1.tar.bz2 +SHA512 (blackbox-0.77.tar.lz) = d33c611ae019ab37b936566470f318b7a9de601da6586f2b7485882e2da2c9a22cfaa6dd4850b9a749791f33a9dbb8bcb84c88cb10a890080eb437131f19c593