#2 patch for scaling JPEGs
Closed 2 years ago by aekoroglu. Opened 4 years ago by shlomif.
rpms/ shlomif/jwm scale-jpegs  into  rawhide

file modified
+1
@@ -6,3 +6,4 @@ 

  /jwm-2.3.5.tar.xz

  /jwm-2.3.6.tar.xz

  /jwm-2.3.7.tar.xz

+ /jwm-shlomif-dont-scale-jpeg.patch

file modified
+10 -2
@@ -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

  

file modified
+1
@@ -1,1 +1,2 @@ 

  SHA512 (jwm-2.3.7.tar.xz) = dab0241518e52aa2e3e1ef3f67b6965ceb683bdb0224de7d3a653d76440606d70e86e35047eda40ea53a80aa227408be77739ad7c53d51f53026e3d113ab7efc

+ SHA512 (jwm-shlomif-dont-scale-jpeg.patch) = dfac0120ce7f90cdf15a5d1511407b45791a491dabf4f140b8e225363b187c6c19db025c5089463e1e9d7c3e9b5e2a4d9c2123f46d11f0d2a2e6f9ab3d31c2be

Pull-Request has been closed by aekoroglu

2 years ago