From d7e5eaa9f520b33377a014f483379b7f17ce3473 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sun, 1 Sep 2013 17:50:42 +0200 Subject: [PATCH] Makefile: fix image crop for certain geometries --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c650538..549575f 100644 --- a/Makefile +++ b/Makefile @@ -64,10 +64,14 @@ all: wallpapers wallpapers: @echo "Converting background images..." - @for s in 1024x768 1280x1024 1280x800 1440x900 1600x1200 1920x1200; do \ + @for s in 1280x800 1440x900 1920x1200; do \ mkdir -p ksplash-theme-openmamba/$${s}; \ convert openmamba_Circles-ksplash.svg +repage -gravity NorthWest -resize $${s/x*} -crop $${s}+0+0 +repage ksplash-theme-openmamba/$${s}/background.png; \ done + @for s in 1024x768 1280x1024 1600x1200; do \ + mkdir -p ksplash-theme-openmamba/$${s}; \ + convert openmamba_Circles-ksplash.svg +repage -gravity NorthWest -resize x$${s/*x} -crop $${s}+0+0 +repage ksplash-theme-openmamba/$${s}/background.png; \ + done install: $(INSTALL_DIR) $(DESTDIR)$(kdedatadir)/apps/ksplash/Themes/openmamba