| |
@@ -7,7 +7,12 @@
|
| |
URL: http://joewing.net/projects/jwm/
|
| |
Source0: %{url}/releases/%{name}-%{version}.tar.xz
|
| |
Source1: %{name}.desktop
|
| |
-
|
| |
+ # Patch to not scale JPEGs if the image dimensions remained the same.
|
| |
+ # Without it, the JPEGs are more blurry and less crisp.
|
| |
+ # * https://github.com/joewing/jwm/issues/490
|
| |
+ # * https://github.com/shlomif/jwm/tree/issue490-tentative-fix--make-jpeg-not-blurry
|
| |
+ # * http://svnweb.mageia.org/packages/cauldron/jwm/current/SOURCES/jwm-shlomif-dont-scale-jpeg.patch?view=log
|
| |
+ Patch1: jwm-shlomif-dont-scale-jpeg.patch
|
| |
BuildRequires: gcc
|
| |
BuildRequires: pkgconfig(libpng)
|
| |
%if 0%{?fedora} > 24
|
| |
@@ -48,7 +53,7 @@
|
| |
Note that Fedora package is built with all supported features enabled.
|
| |
|
| |
%prep
|
| |
- %autosetup
|
| |
+ %autosetup -p1
|
| |
|
| |
# Preserve timestamps in installation
|
| |
sed -i -e 's|install -m|install -pm|g' Makefile.in
|
| |
@@ -75,6 +80,9 @@
|
| |
%{_datadir}/%{name}/
|
| |
|
| |
%changelog
|
| |
+ * Fri May 29 2020 Shlomi Fish <shlomif@cpan.org> 2.3.7-8
|
| |
+ - Add patch from GitHub and Mageia for scaling JPEGs as backgrounds.
|
| |
+
|
| |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.7-8
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
| |
|
| |
Apply a patch I prepared: https://github.com/joewing/jwm/issues/490