Move components from subdirectory to top level
50
Makefile.in
@ -21,40 +21,40 @@ graphics:
|
|||||||
# use predefined image 800x600 with logo
|
# use predefined image 800x600 with logo
|
||||||
cp -al images/boot.png images/grub.png
|
cp -al images/boot.png images/grub.png
|
||||||
# product logo for ahttpd
|
# product logo for ahttpd
|
||||||
cp -al images/product-logo.png components/ahttpd/images/product-logo.png
|
cp -al images/product-logo.png ahttpd/images/product-logo.png
|
||||||
# product logo for indexhtml
|
# product logo for indexhtml
|
||||||
cp -al images/product-logo.png components/indexhtml/images/product-logo.png
|
cp -al images/product-logo.png indexhtml/images/product-logo.png
|
||||||
|
|
||||||
# browser-qt
|
# browser-qt
|
||||||
|
|
||||||
components/browser-qt/design/bg.png: images/installer.png
|
browser-qt/design/bg.png: images/installer.png
|
||||||
convert $< -fill '#c62530' -font /usr/share/fonts/ttf/dejavu/DejaVuSansCondensed-Bold.ttf -style Normal -weight Normal -pointsize 20 -gravity northeast -draw 'text 25,25 "$(STATUS)"' $@
|
convert $< -fill '#c62530' -font /usr/share/fonts/ttf/dejavu/DejaVuSansCondensed-Bold.ttf -style Normal -weight Normal -pointsize 20 -gravity northeast -draw 'text 25,25 "$(STATUS)"' $@
|
||||||
|
|
||||||
browser-qt:components/browser-qt/design/bg.png
|
browser-qt:browser-qt/design/bg.png
|
||||||
install -d $(datadir)/alterator-browser-qt/design
|
install -d $(datadir)/alterator-browser-qt/design
|
||||||
rcc-qt4 -binary components/browser-qt/theme.qrc -o $(datadir)/alterator-browser-qt/design/$(THEME).rcc
|
rcc-qt4 -binary browser-qt/theme.qrc -o $(datadir)/alterator-browser-qt/design/$(THEME).rcc
|
||||||
#cp -f components/browser-qt/design/design-live.qss components/browser-qt/design/design.qss
|
#cp -f browser-qt/design/design-live.qss browser-qt/design/design.qss
|
||||||
rcc-qt4 -binary components/browser-qt/theme.qrc -o $(datadir)/alterator-browser-qt/design/$(THEME)-live.rcc
|
rcc-qt4 -binary browser-qt/theme.qrc -o $(datadir)/alterator-browser-qt/design/$(THEME)-live.rcc
|
||||||
install -d $(sysconfdir)/alternatives/packages.d
|
install -d $(sysconfdir)/alternatives/packages.d
|
||||||
printf '/etc/alterator/design-browser-qt\t/usr/share/alterator-browser-qt/design/$(THEME).rcc\t50\n'>$(sysconfdir)/alternatives/packages.d/$(THEME).rcc
|
printf '/etc/alterator/design-browser-qt\t/usr/share/alterator-browser-qt/design/$(THEME).rcc\t50\n'>$(sysconfdir)/alternatives/packages.d/$(THEME).rcc
|
||||||
|
|
||||||
# ahttpd
|
# ahttpd
|
||||||
|
|
||||||
ahttpd:
|
ahttpd:
|
||||||
for i in components/ahttpd/images/*.svg; do \
|
for i in ahttpd/images/*.svg; do \
|
||||||
image=$${i%.svg}; \
|
image=$${i%.svg}; \
|
||||||
convert -background none $$image.svg $$image.png ; \
|
convert -background none $$image.svg $$image.png ; \
|
||||||
done
|
done
|
||||||
install -d $(datadir)/alterator/design/styles
|
install -d $(datadir)/alterator/design/styles
|
||||||
cp -a components/ahttpd/images $(datadir)/alterator/design
|
cp -a ahttpd/images $(datadir)/alterator/design
|
||||||
cp -a components/ahttpd/styles/*.css $(datadir)/alterator/design/styles
|
cp -a ahttpd/styles/*.css $(datadir)/alterator/design/styles
|
||||||
|
|
||||||
# bootloader and bootsplash
|
# bootloader and bootsplash
|
||||||
boot-images:
|
boot-images:
|
||||||
cp -a /usr/src/design-bootloader-source ./
|
cp -a /usr/src/design-bootloader-source ./
|
||||||
cp -a components/bootloader/config design-bootloader-source/
|
cp -a bootloader/config design-bootloader-source/
|
||||||
cp -a components/bootloader/gfxboot.cfg design-bootloader-source/data-install/
|
cp -a bootloader/gfxboot.cfg design-bootloader-source/data-install/
|
||||||
cp -a components/bootloader/gfxboot.cfg design-bootloader-source/data-boot/
|
cp -a bootloader/gfxboot.cfg design-bootloader-source/data-boot/
|
||||||
#for size in 1024x768 800x600 640x480; do \
|
#for size in 1024x768 800x600 640x480; do \
|
||||||
# convert images/boot.jpg -quality 97 -resize "$$size!" -fill '#c62530' -font /usr/share/fonts/ttf/dejavu/DejaVuSansCondensed-Bold.ttf -style Normal -weight Normal -pointsize 20 -gravity northeast -draw 'text 25,25 "$(STATUS)"' boot-$$size.jpg ;\
|
# convert images/boot.jpg -quality 97 -resize "$$size!" -fill '#c62530' -font /usr/share/fonts/ttf/dejavu/DejaVuSansCondensed-Bold.ttf -style Normal -weight Normal -pointsize 20 -gravity northeast -draw 'text 25,25 "$(STATUS)"' boot-$$size.jpg ;\
|
||||||
#done
|
#done
|
||||||
@ -72,7 +72,7 @@ boot-splash: boot-images
|
|||||||
cp -al images/grub.jpg $(datadir)/plymouth/themes/$(THEME)/grub.jpg
|
cp -al images/grub.jpg $(datadir)/plymouth/themes/$(THEME)/grub.jpg
|
||||||
# Put logo to background*x*.png
|
# Put logo to background*x*.png
|
||||||
cp -al images/with-logo/background*x*.png $(datadir)/plymouth/themes/$(THEME)/
|
cp -al images/with-logo/background*x*.png $(datadir)/plymouth/themes/$(THEME)/
|
||||||
cp -a components/bootsplash/* $(datadir)/plymouth/themes/$(THEME)
|
cp -a bootsplash/* $(datadir)/plymouth/themes/$(THEME)
|
||||||
mv $(datadir)/plymouth/themes/$(THEME)/theme.plymouth $(datadir)/plymouth/themes/$(THEME)/$(THEME).plymouth
|
mv $(datadir)/plymouth/themes/$(THEME)/theme.plymouth $(datadir)/plymouth/themes/$(THEME)/$(THEME).plymouth
|
||||||
rm -f $(datadir)/plymouth/themes/$(THEME)/*.in
|
rm -f $(datadir)/plymouth/themes/$(THEME)/*.in
|
||||||
#bootloader
|
#bootloader
|
||||||
@ -82,30 +82,30 @@ boot: boot-images
|
|||||||
install -d -m 755 $(datadir)/gfxboot/$(THEME)
|
install -d -m 755 $(datadir)/gfxboot/$(THEME)
|
||||||
install -m 644 design-bootloader-source/message $(sysconfdir)/../boot/splash/$(THEME)
|
install -m 644 design-bootloader-source/message $(sysconfdir)/../boot/splash/$(THEME)
|
||||||
install -m 644 design-bootloader-source/bootlogo $(datadir)/gfxboot/$(THEME)
|
install -m 644 design-bootloader-source/bootlogo $(datadir)/gfxboot/$(THEME)
|
||||||
#install -m644 components/bootloader/bootlogo $(datadir)/gfxboot/$(THEME)
|
#install -m644 bootloader/bootlogo $(datadir)/gfxboot/$(THEME)
|
||||||
#grub2
|
#grub2
|
||||||
convert -size 16x16 -define png:color-type=2 -depth 8 xc:'#268BD2' components/grub2/selected_blob_c.png
|
convert -size 16x16 -define png:color-type=2 -depth 8 xc:'#268BD2' grub2/selected_blob_c.png
|
||||||
install -d -m 755 $(sysconfdir)/../boot/grub/themes/$(THEME)
|
install -d -m 755 $(sysconfdir)/../boot/grub/themes/$(THEME)
|
||||||
cp -a components/grub2/* $(sysconfdir)/../boot/grub/themes/$(THEME)/
|
cp -a grub2/* $(sysconfdir)/../boot/grub/themes/$(THEME)/
|
||||||
install -m 644 images/boot.png $(sysconfdir)/../boot/grub/themes/$(THEME)/boot.png
|
install -m 644 images/boot.png $(sysconfdir)/../boot/grub/themes/$(THEME)/boot.png
|
||||||
install -m 644 images/boot.jpg $(sysconfdir)/../boot/grub/themes/$(THEME)/grub.jpg
|
install -m 644 images/boot.jpg $(sysconfdir)/../boot/grub/themes/$(THEME)/grub.jpg
|
||||||
|
|
||||||
# index html page, start page for all local browsers
|
# index html page, start page for all local browsers
|
||||||
components/indexhtml/index.css:
|
indexhtml/index.css:
|
||||||
sed 's|/design/|file:///usr/share/alterator/design/|g' components/ahttpd/styles/alterator.css > components/indexhtml/index.css
|
sed 's|/design/|file:///usr/share/alterator/design/|g' ahttpd/styles/alterator.css > indexhtml/index.css
|
||||||
|
|
||||||
INDEXHTML_DIR=$(datadir)/doc/indexhtml
|
INDEXHTML_DIR=$(datadir)/doc/indexhtml
|
||||||
indexhtml: components/indexhtml/index.css
|
indexhtml: indexhtml/index.css
|
||||||
for i in components/indexhtml/*.html components/indexhtml/*.css;do \
|
for i in indexhtml/*.html indexhtml/*.css;do \
|
||||||
install -Dpm644 $$i $(INDEXHTML_DIR)/`basename $$i`; \
|
install -Dpm644 $$i $(INDEXHTML_DIR)/`basename $$i`; \
|
||||||
done
|
done
|
||||||
install -Dpm644 /dev/null $(INDEXHTML_DIR)/index.html
|
install -Dpm644 /dev/null $(INDEXHTML_DIR)/index.html
|
||||||
cp -a components/indexhtml/images $(INDEXHTML_DIR)
|
cp -a indexhtml/images $(INDEXHTML_DIR)
|
||||||
for i in alt-docs documentation;do \
|
for i in alt-docs documentation;do \
|
||||||
ln -s /usr/share/doc/$$i $(INDEXHTML_DIR)/$$i; \
|
ln -s /usr/share/doc/$$i $(INDEXHTML_DIR)/$$i; \
|
||||||
done
|
done
|
||||||
install -Dpm644 components/indexhtml/indexhtml.desktop $(datadir)/applications/indexhtml.desktop
|
install -Dpm644 indexhtml/indexhtml.desktop $(datadir)/applications/indexhtml.desktop
|
||||||
install -Dpm755 components/indexhtml/indexhtml.desktop $(datadir)/kde4/apps/kio_desktop/DesktopLinks/indexhtml.desktop
|
install -Dpm755 indexhtml/indexhtml.desktop $(datadir)/kde4/apps/kio_desktop/DesktopLinks/indexhtml.desktop
|
||||||
|
|
||||||
all: graphics
|
all: graphics
|
||||||
install: all browser-qt ahttpd boot-images boot-splash @X86@ indexhtml
|
install: browser-qt ahttpd boot-images boot-splash @X86@ indexhtml
|
||||||
|
Before Width: | Height: | Size: 64 B After Width: | Height: | Size: 64 B |
Before Width: | Height: | Size: 54 B After Width: | Height: | Size: 54 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 79 B After Width: | Height: | Size: 79 B |
Before Width: | Height: | Size: 259 B After Width: | Height: | Size: 259 B |
Before Width: | Height: | Size: 750 B After Width: | Height: | Size: 750 B |
Before Width: | Height: | Size: 770 B After Width: | Height: | Size: 770 B |
Before Width: | Height: | Size: 250 B After Width: | Height: | Size: 250 B |
Before Width: | Height: | Size: 861 B After Width: | Height: | Size: 861 B |
Before Width: | Height: | Size: 867 B After Width: | Height: | Size: 867 B |
Before Width: | Height: | Size: 257 B After Width: | Height: | Size: 257 B |
Before Width: | Height: | Size: 535 B After Width: | Height: | Size: 535 B |
Before Width: | Height: | Size: 400 B After Width: | Height: | Size: 400 B |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 812 B After Width: | Height: | Size: 812 B |
Before Width: | Height: | Size: 54 B After Width: | Height: | Size: 54 B |
Before Width: | Height: | Size: 165 B After Width: | Height: | Size: 165 B |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 310 B After Width: | Height: | Size: 310 B |
Before Width: | Height: | Size: 237 B After Width: | Height: | Size: 237 B |
Before Width: | Height: | Size: 221 B After Width: | Height: | Size: 221 B |
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 6.9 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 6.5 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 6.3 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 6.9 KiB |
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 6.6 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 6.7 KiB |
Before Width: | Height: | Size: 273 B After Width: | Height: | Size: 273 B |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 834 B After Width: | Height: | Size: 834 B |
Before Width: | Height: | Size: 216 B After Width: | Height: | Size: 216 B |
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 262 B After Width: | Height: | Size: 262 B |
Before Width: | Height: | Size: 259 B After Width: | Height: | Size: 259 B |
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 305 B After Width: | Height: | Size: 305 B |
Before Width: | Height: | Size: 384 B After Width: | Height: | Size: 384 B |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 456 B After Width: | Height: | Size: 456 B |
Before Width: | Height: | Size: 90 B After Width: | Height: | Size: 90 B |
Before Width: | Height: | Size: 59 B After Width: | Height: | Size: 59 B |
Before Width: | Height: | Size: 284 B After Width: | Height: | Size: 284 B |
Before Width: | Height: | Size: 165 B After Width: | Height: | Size: 165 B |
Before Width: | Height: | Size: 264 B After Width: | Height: | Size: 264 B |
Before Width: | Height: | Size: 414 B After Width: | Height: | Size: 414 B |
Before Width: | Height: | Size: 870 B After Width: | Height: | Size: 870 B |
Before Width: | Height: | Size: 296 B After Width: | Height: | Size: 296 B |
Before Width: | Height: | Size: 350 B After Width: | Height: | Size: 350 B |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 173 B After Width: | Height: | Size: 173 B |
Before Width: | Height: | Size: 7.4 KiB After Width: | Height: | Size: 7.4 KiB |
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |