Commit b05670b6a8d52f4c63f00c8ebd00db7d2477883e

Authored by Silvan Calarco
1 parent d753428779
Exists in master

openmamba_Circles.png: use .png source to workaround current convert problems on…

… x86_64 (white output)
Makefile: fix resizing of resolutions not matching aspect by first resizing by height rather than width

Showing 2 changed files with 8 additions and 3 deletions Side-by-side Diff

... ... @@ -114,9 +114,14 @@
114 114 wallpapers:
115 115 @for w in openmamba_Circles; do \
116 116 mkdir -p kde/wallpapers/$${w}/contents/images; \
117   - convert src/wallpapers/$${w}.svg +repage -gravity SouthEast -resize 400 -crop 400x250+0+0 +repage kde/wallpapers/$${w}/contents/screenshot.png; \
118   - for s in 1024x768 1280x1024 1280x800 1440x900 1600x1200 1920x1200; do \
119   - convert src/wallpapers/$${w}.svg +repage -gravity SouthEast -resize $${s/x*} -crop $${s}+0+0 +repage kde/wallpapers/$${w}/contents/images/$${s}.png; \
  117 + convert src/wallpapers/$${w}.png +repage -gravity SouthEast -resize 400 -crop 400x250+0+0 +repage kde/wallpapers/$${w}/contents/screenshot.png; \
  118 + for s in 1280x800 1440x900 1920x1200; do \
  119 + convert src/wallpapers/$${w}.png +repage -gravity SouthEast -resize $${s/x*} \
  120 + -crop $${s}+0+0 +repage kde/wallpapers/$${w}/contents/images/$${s}.png; \
  121 + done; \
  122 + for s in 1024x768 1280x1024 1600x1200; do \
  123 + convert src/wallpapers/$${w}.png +repage -gravity SouthEast -resize x$${s/*x} \
  124 + -crop $${s}+0+0 +repage kde/wallpapers/$${w}/contents/images/$${s}.png; \
120 125 done; done
121 126  
122 127 install-kde-distro-addons: dist-update
src/wallpapers/openmamba_Circles.png