summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile42
1 files changed, 21 insertions, 21 deletions
diff --git a/Makefile b/Makefile
index 7b5bf7d..263f8cb 100644
--- a/Makefile
+++ b/Makefile
@@ -1,27 +1,27 @@
-NAME=mandriva-theme
-PACKAGE=mandriva-theme
+NAME=mageia-theme
+PACKAGE=mageia-theme
VERSION=1.4.8
-THEMES=Mandriva-Free Mandriva-One Mandriva-Powerpack Mandriva-Flash
+THEMES=Mageia-default
FILES=$(THEMES) Makefile common gimp extra-backgrounds
sharedir=/usr/share
configdir=/etc
-SVNSOFT=svn+ssh://svn.mandriva.com/svn/soft/theme/mandriva-theme/
-SVNNAME=svn+ssh://svn.mandriva.com/svn/packages/cooker/mandriva-theme/current/
+SVNSOFT=svn+ssh://svn.mageia.org/svn/soft/theme/mageia-theme/
+SVNNAME=svn+ssh://svn.mageia.org/svn/packages/cauldron/mageia-theme/current/
all:
install:
- @mkdir -p $(prefix)$(sharedir)/mdk/backgrounds/
+ @mkdir -p $(prefix)$(sharedir)/mga/backgrounds/
@/bin/cp -f gimp/scripts/gimp-normalize-to-bootsplash.scm tmp-gimp-command
@cat gimp/scripts/gimp-convert-to-jpeg.scm >> tmp-gimp-command
@for i in */gfxboot/*.png ; do \
echo \(gimp-normalize-to-bootsplash 1.0 \"$$i\" \"`dirname $$i`/`basename $$i .png`.jpg\"\) >> tmp-gimp-command; \
done
@for i in */background/*.png ; do \
- echo \(gimp-convert-to-jpeg 0.98 \"$$i\" \"$(prefix)$(sharedir)/mdk/backgrounds/`basename $$i .png`.jpg\"\) >> tmp-gimp-command; \
+ echo \(gimp-convert-to-jpeg 0.98 \"$$i\" \"$(prefix)$(sharedir)/mga/backgrounds/`basename $$i .png`.jpg\"\) >> tmp-gimp-command; \
done
@echo \(gimp-quit 1\) >> tmp-gimp-command
@echo running gimp to convert images
@@ -30,12 +30,12 @@ install:
# GIMP2_DIRECTORY=`pwd`/gimp gimp --console-messages -i -d -b '(begin (gimp-normalize-to-bootsplash-dirs "1.0" "*" "bootsplash/data/*.png") (gimp-quit 1))'
# GIMP2_DIRECTORY=`pwd`/gimp gimp --console-messages -i -d -b '(begin (gimp-normalize-to-bootsplash-dirs "1.0" "*" "gfxboot/*.png") (gimp-quit 1))'
- mkdir -p $(prefix)/$(sharedir)/mdk/screensaver
- mkdir -p $(prefix)/$(sharedir)/mdk/backgrounds
- install -m 644 common/screensaver/*.jpg $(prefix)$(sharedir)/mdk/screensaver
- install -m 644 extra-backgrounds/*.jpg $(prefix)$(sharedir)/mdk/backgrounds
- install -m 644 extra-backgrounds/*.xml $(prefix)$(sharedir)/mdk/backgrounds
-# install -m644 */background/*.jpg $(prefix)$(sharedir)/mdk/backgrounds
+ mkdir -p $(prefix)/$(sharedir)/mga/screensaver
+ mkdir -p $(prefix)/$(sharedir)/mga/backgrounds
+ install -m 644 common/screensaver/*.jpg $(prefix)$(sharedir)/mga/screensaver
+ install -m 644 extra-backgrounds/*.jpg $(prefix)$(sharedir)/mga/backgrounds
+ install -m 644 extra-backgrounds/*.xml $(prefix)$(sharedir)/mga/backgrounds
+# install -m644 */background/*.jpg $(prefix)$(sharedir)/mga/backgrounds
@for t in $(THEMES); do \
set -x; set -e; \
install -d $(prefix)/$(sharedir)/plymouth/themes/$$t; \
@@ -43,19 +43,19 @@ install:
install -m644 common/plymouth/*.png $(prefix)$(sharedir)/plymouth/themes/$$t/; \
install -m644 $$t/plymouth/*.plymouth $(prefix)$(sharedir)/plymouth/themes/$$t/; \
install -m644 $$t/plymouth/*.png $(prefix)$(sharedir)/plymouth/themes/$$t/; \
- install -m644 $$t/background/$$t.xml $(prefix)$(sharedir)/mdk/backgrounds/; \
+ install -m644 $$t/background/$$t.xml $(prefix)$(sharedir)/mga/backgrounds/; \
for h in 0000 0700 1300 1800 ; \
do \
- ln -f -s $$t-1920x1440-$$h.jpg $(prefix)$(sharedir)/mdk/backgrounds/$$t-1024x768-$$h.jpg ; \
- ln -f -s $$t-1920x1440-$$h.jpg $(prefix)$(sharedir)/mdk/backgrounds/$$t-1600x1200-$$h.jpg ; \
- ln -f -s $$t-1920x1200-$$h.jpg $(prefix)$(sharedir)/mdk/backgrounds/$$t-1280x800-$$h.jpg ; \
- ln -f -s $$t-1920x1200-$$h.jpg $(prefix)$(sharedir)/mdk/backgrounds/$$t-1440x900-$$h.jpg ; \
- ln -f -s $$t-1920x1200-$$h.jpg $(prefix)$(sharedir)/mdk/backgrounds/$$t-1680x1050-$$h.jpg ; \
- ln -f -s $$t-1920x1200-$$h.jpg $(prefix)$(sharedir)/mdk/backgrounds/$$t-1024x600-$$h.jpg ; \
+ ln -f -s $$t-1920x1440-$$h.jpg $(prefix)$(sharedir)/mga/backgrounds/$$t-1024x768-$$h.jpg ; \
+ ln -f -s $$t-1920x1440-$$h.jpg $(prefix)$(sharedir)/mga/backgrounds/$$t-1600x1200-$$h.jpg ; \
+ ln -f -s $$t-1920x1200-$$h.jpg $(prefix)$(sharedir)/mga/backgrounds/$$t-1280x800-$$h.jpg ; \
+ ln -f -s $$t-1920x1200-$$h.jpg $(prefix)$(sharedir)/mga/backgrounds/$$t-1440x900-$$h.jpg ; \
+ ln -f -s $$t-1920x1200-$$h.jpg $(prefix)$(sharedir)/mga/backgrounds/$$t-1680x1050-$$h.jpg ; \
+ ln -f -s $$t-1920x1200-$$h.jpg $(prefix)$(sharedir)/mga/backgrounds/$$t-1024x600-$$h.jpg ; \
done ; \
for d in 800x480 1024x768 1280x1024 1280x800 1440x900 1600x1200 1680x1050 1920x1080 1920x1200 1920x1440 1024x600 800x600 ; \
do \
- [ -e $(prefix)$(sharedir)/mdk/backgrounds/$$t-$$d-1300.jpg ] && ln -f -s $$t-$$d-1300.jpg $(prefix)$(sharedir)/mdk/backgrounds/$$t-$$d.jpg; \
+ [ -e $(prefix)$(sharedir)/mga/backgrounds/$$t-$$d-1300.jpg ] && ln -f -s $$t-$$d-1300.jpg $(prefix)$(sharedir)/mga/backgrounds/$$t-$$d.jpg; \
done; \
install -d $(prefix)$(sharedir)/gfxboot/themes/$$t; \
install -m644 $$t/gfxboot/*.jpg $(prefix)$(sharedir)/gfxboot/themes/$$t/; \