%global hash_thread1 2501673c %global hash_thread2 5d70 %global use_gcc_strict_sanitize 0 Name: xfe Version: 1.46.1 Release: 2%{?dist} Summary: X File Explorer File Manager # GPL-2.0-or-later: README # Zlib: src/xfeutils.h # MIT: st/x.c # SPDX confirmed License: GPL-2.0-or-later AND Zlib AND MIT URL: http://roland65.free.fr/xfe/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz # Temporarily # Use system-wide startup-notification: need discuss with upstream Patch0: xfe-1.44-use-system-libsn.patch BuildRequires: make BuildRequires: gcc-c++ BuildRequires: desktop-file-utils BuildRequires: fox-devel BuildRequires: gettext BuildRequires: intltool BuildRequires: libpng-devel BuildRequires: libX11-devel BuildRequires: libXft-devel BuildRequires: libXrandr-devel BuildRequires: startup-notification-devel BuildRequires: /usr/bin/pkexec BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(xcb) BuildRequires: pkgconfig(xcb-aux) BuildRequires: pkgconfig(xcb-event) BuildRequires: pkgconfig(x11-xcb) # Patch0 BuildRequires: autoconf BuildRequires: automake %if 0%{?use_gcc_strict_sanitize} BuildRequires: libasan BuildRequires: libubsan %endif %description X File Explorer (xfe) is a lightweight file manager for X11, written using the FOX toolkit. %package theme Summary: Extra theme files for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description theme This package contains extra theme files for %{name}. %prep %setup -q %patch -P0 -p1 -b .syssn for f in \ ChangeLog do mv $f{,.iso} iconv -f ISO-8859-1 -t UTF-8 -o $f{,.iso} touch -r $f{.iso,} rm -f $f.iso done # Fix libreoffice related command name (bug 1788292) sed -i.oo xferc.in \ -e 's|lobase|oobase|g' \ -e 's|localc|oocalc|g' \ -e 's|lodraw|oodraw|g' \ -e 's|loimpress|ooimpress|g' \ -e 's|lomath|oomath|g' \ -e 's|lowriter|oowriter|g' \ %{nil} # Patch0 autoreconf -fi rm -rf libsn %build %set_build_flags %if 0%{?use_gcc_strict_sanitize} export CC="${CC} -fsanitize=address -fsanitize=undefined" export CXX="${CXX} -fsanitize=address -fsanitize=undefined -fno-sanitize=vptr" export LDFLAGS="${LDFLAGS} -pthread" # Currently -fPIE binary cannot work with ASAN on kernel 4.12 # https://github.com/google/sanitizers/issues/837 export CFLAGS="$(echo $CFLAGS | sed -e 's|-specs=[^ \t][^ \t]*hardened[^ \t][^ \t]*||g')" export CXXFLAGS="$(echo $CXXFLAGS | sed -e 's|-specs=[^ \t][^ \t]*hardened[^ \t][^ \t]*||g')" export LDFLAGS="$(echo $LDFLAGS | sed -e 's|-specs=[^ \t][^ \t]*hardened[^ \t][^ \t]*||g')" %endif %configure \ --bindir=%{_libexecdir}/%{name} make %{?_smp_mflags} %install %make_install \ INSTALL="install -p" %find_lang %{name} # Tweak too generic and short names mkdir -p %{buildroot}%{_datadir}/%{name}/pixmaps mkdir -p %{buildroot}%{_bindir} for suffix in \ i e p w do cat > %{buildroot}%{_bindir}/xfe-xf${suffix} < - 1.46.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Mon Mar 04 2024 Mamoru TASAKA - 1.46.1-1 - 1.46.1 * Sat Jan 27 2024 Fedora Release Engineering - 1.46-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jan 4 2024 Mamoru TASAKA - 1.46-1 - 1.46 * Tue Nov 14 2023 Mamoru TASAKA - 1.45-6 - Fix abort when opening font selection (bug 2249586) (upstream bug 278) * Sat Jul 22 2023 Mamoru TASAKA - 1.45-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat May 6 2023 Mamoru TASAKA - 1.45-4 - Fix window disappearance after opening recent file (upstream bug 275) (bug 2190356) * Wed Apr 26 2023 Mamoru TASAKA - 1.45-3 - SPDX migration - Fix crash with Ctrl-L (upstream bug 274) * Sat Jan 21 2023 Fedora Release Engineering - 1.45-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Dec 31 2022 Mamoru TASAKA - 1.45-1 - 1.45 * Sat Jul 23 2022 Fedora Release Engineering - 1.44-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jan 22 2022 Fedora Release Engineering - 1.44-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.44-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Mar 30 2021 Mamoru TASAKA - 1.44-1 - 1.44 * Thu Jan 28 2021 Fedora Release Engineering - 1.43.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.43.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Mamoru TASAKA - 1.43.2-3 - Fix libreoffice binding (bug 1788292) * Sat Jul 27 2019 Fedora Release Engineering - 1.43.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Jun 19 2019 Mamoru TASAKA - 1.43.2-1 - 1.43.2 * Sun Feb 03 2019 Fedora Release Engineering - 1.43.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Sep 25 2018 Mamoru TASAKA - 1.43.1-1 - 1.43.1 * Fri Jul 20 2018 Mamoru TASAKA - 1.43-1 - 1.43 * Sat Jul 14 2018 Fedora Release Engineering - 1.42-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 1.42-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 1.42-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.42-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.42-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Jul 29 2016 Mamoru TASAKA - 1.42-1 - 1.42 * Fri Feb 05 2016 Fedora Release Engineering - 1.41-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sun Nov 29 2015 Mamoru TASAKA - 1.41-1 - 1.41 * Tue Aug 11 2015 Mamoru TASAKA - 1.40.1-1 - Formal 1.40.1 * Fri Jun 19 2015 Fedora Release Engineering - 1.40.1-0.4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 1.40.1-0.3 - Rebuilt for GCC 5 C++11 ABI change * Mon Feb 16 2015 Mamoru TASAKA - 1.40.1-0.2 - 1.40.1 (prerelease), for hang up issue using UIM * Tue Jan 13 2015 Mamoru TASAKA - 1.40-1 - 1.40 * Mon Aug 18 2014 Fedora Release Engineering - 1.37-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Mon Jun 9 2014 Mamoru TASAKA - 1.37-2 - Patch for freetype 2.5.3 header place change * Mon Dec 2 2013 Mamoru TASAKA - 1.37-1 - 1.37 * Sun Sep 1 2013 Mamoru TASAKA - 1.35-1 - 1.35 * Sun Aug 04 2013 Fedora Release Engineering - 1.34-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sat May 4 2013 Mamoru TASAKA - 1.34-2 - Try to use system-wide startup-notification * Tue Apr 30 2013 Mamoru TASAKA - 1.34-1 - Initial packaging