diff --git a/Makefile b/Makefile index 76a2cb5..2461119 100644 --- a/Makefile +++ b/Makefile @@ -14,8 +14,8 @@ RPM_DISTROEXT = mamba SYSCONFIGFILE = netsrpminstall -WALLPAPER = openmamba_Bamboo -DEFAULT_WALLPAPER = openmamba_Bamboo +WALLPAPERS = openmamba_Bamboo,openmamba_Circles +DEFAULT_WALLPAPER = openmamba_Circles #SCREENSAVER = $(DISTROid).desktop SCREENSAVER = @@ -100,7 +100,7 @@ pck_catalogs2 := $(wildcard bootrecover/po/*.po) s,@wallpaper@,$(DEFAULT_WALLPAPER),g;\ s,@screensaver@,${SCREENSAVER},g;" $< > $@ -all: dist-update locales +all: dist-update locales wallpapers dist-update: $(pck_infiles:.in=) @@ -108,6 +108,14 @@ dist-update: $(pck_infiles:.in=) locales: $(pck_catalogs:.po=.mo) $(pck_catalogs1:.po=.mo) $(pck_catalogs2:.po=.mo) +wallpapers: + @for w in openmamba_Circles; do \ + mkdir -p kde/wallpapers/$${w}/contents/images; \ + convert src/wallpapers/$${w}.svg +repage -gravity SouthEast -resize 400 -crop 400x250+0+0 +repage kde/wallpapers/$${w}/contents/screenshot.png; \ + for s in 1024x768 1280x1024 1280x800 1440x900 1600x1200 1920x1200; do \ + convert src/wallpapers/$${w}.svg +repage -gravity SouthEast -resize $${s/x*} -crop $${s}+0+0 +repage kde/wallpapers/$${w}/contents/images/$${s}.png; \ + done; done + install-kde-distro-addons: dist-update @$(INSTALL_DIR) $(DESTDIR)$(sysconfdir)/pam.d @$(INSTALL_DIR) $(DESTDIR)$(sysconfdir)/sudoers.d/ @@ -147,7 +155,7 @@ install-kde-distro-addons: dist-update $(INSTALL_DATA) kde/config/plasma-desktop-appletsrc $(DESTDIR)$(kdeconfigdir)/plasma-desktop-appletsrc $(INSTALL_DATA) kde/config/plasma-desktoprc $(DESTDIR)$(kdeconfigdir)/plasma-desktoprc $(INSTALL_DATA) kde/config/powerdevilrc $(DESTDIR)$(kdeconfigdir)/powerdevilrc - cp -a kde/wallpapers/$(WALLPAPER) $(DESTDIR)$(kdewallpapersdir) + cp -a kde/wallpapers/{$(WALLPAPERS)} $(DESTDIR)$(kdewallpapersdir) cp -a kde/desktoptheme $(DESTDIR)$(kdeappsdir)/ $(INSTALL_SCRIPT) bin/kickoffcfg $(DESTDIR)$(kdebindir)/kickoffcfg @@ -190,3 +198,4 @@ dist-rpm: dist clean: rm -f $(dist_archive) rm -f $(patsubst %.in,%,$(pck_infiles)) + rm -rf kde/wallpapers/openmamba_Circles/contents diff --git a/kde/wallpapers/openmamba_Circles/metadata.desktop b/kde/wallpapers/openmamba_Circles/metadata.desktop new file mode 100644 index 0000000..20c156d --- /dev/null +++ b/kde/wallpapers/openmamba_Circles/metadata.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=openmamba Circles +Name[it]=openmamba Circles +X-KDE-PluginInfo-Name=openmamba_Circles +X-KDE-PluginInfo-Author=Cristina Iurissevich +X-KDE-PluginInfo-Email=info@openmamba.org +X-KDE-PluginInfo-License=LGPLv3 diff --git a/src/wallpapers/openmamba_Circles.svg b/src/wallpapers/openmamba_Circles.svg new file mode 100644 index 0000000..1c64f3a --- /dev/null +++ b/src/wallpapers/openmamba_Circles.svg @@ -0,0 +1,35 @@ + + + +image/svg+xml \ No newline at end of file