bootloader: remove grub theme

This commit is contained in:
Алексей Шабалин 2024-10-11 17:15:53 +03:00
parent d89a89461f
commit d2934da337
20 changed files with 3 additions and 118 deletions

View File

@ -7,7 +7,7 @@ PRODUCT_NAME=@PRODUCT_NAME@
CODENAME=@CODENAME@
ARCH=$(shell arch)
.PHONY: graphics browser-qt ahttpd boot-images boot-splash boot indexhtml install browser-qt/design/bg.png
.PHONY: graphics browser-qt ahttpd boot-images boot-splash indexhtml install browser-qt/design/bg.png
# graphics
@ -19,25 +19,6 @@ graphics:
cp -al images/product-logo.png backgrounds/product-logo.png
cp -al images/wallpaper.png backgrounds/default.png
cp -al images/wallpaper.png backgrounds/xdm.png
# make wallpapers for gfxboot and grub2
# convert images/background4x3.png -resize 800x600 images/small.png
# display status
# convert images/small.png images/product-logo.png -geometry +30+30 -composite images/grub.png
# cp -al images/grub.png images/boot.png
# use predefined image 800x600 with logo
if [ -n "$(STATUS)" ];then \
mv images/boot.png images/.boot.png; \
convert images/.boot.png -undercolor '#c62530' -fill white -font /usr/share/fonts/ttf/dejavu/DejaVuSansCondensed-Bold.ttf -style Normal -weight Normal -pointsize 30 -gravity NorthEast -draw 'text 0,55 " $(STATUS) "' images/boot.png;\
rm -f images/.boot.png; \
for i in images/with-logo/*.png; do \
mv $$i $$i.png; \
convert $$i.png -undercolor '#c62530' -fill white -font /usr/share/fonts/ttf/dejavu/DejaVuSansCondensed-Bold.ttf -style Normal -weight Normal -pointsize 30 -gravity NorthEast -draw 'text 0,0 " $(STATUS) "' $$i;\
rm -f $$i.png; \
done; \
fi
convert -size 16x16 -define png:color-type=2 -depth 8 xc:'#001056' grub2/selected_blob_c.png
convert -colorspace YCbCr -sampling-factor 2x2 images/boot.png JPEG:images/boot.jpg
cp -al images/boot.png images/grub.png; \
# product logo for ahttpd
cp -al images/product-logo.png ahttpd/images/product-logo.png
# product logo for indexhtml
@ -82,13 +63,7 @@ boot-splash: boot-images
rm -f $(datadir)/plymouth/themes/$(THEME)/*.in
mkdir -p $(datadir)/pixmaps
mv $(datadir)/plymouth/themes/$(THEME)/system-logo.png $(datadir)/pixmaps
#bootloader
boot:
convert -size 16x16 -define png:color-type=2 -depth 8 xc:'#001056' grub2/selected_blob_c.png
install -d -m 755 $(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/grub.jpg $(sysconfdir)/../boot/grub/themes/$(THEME)/grub.jpg
INDEXHTML_DIR=$(datadir)/doc/indexhtml
indexhtml:
@ -103,7 +78,7 @@ indexhtml:
done
install -Dpm644 indexhtml/indexhtml.desktop $(datadir)/applications/indexhtml.desktop
install: browser-qt ahttpd boot-images boot-splash boot indexhtml
install: browser-qt ahttpd boot-images boot-splash indexhtml
# install product icon
# for size in 16 22 24 32 48 64 128; do \
# install -Dm 0644 icons/alt-$(THEME)-$$size.png $(datadir)/icons/hicolor/$${size}x$${size}/apps/alt-$(THEME).png; \

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 178 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 178 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 178 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 226 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 518 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 564 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

View File

@ -1,90 +0,0 @@
# Debian Lenny theme for GRUB2
#
# Copyright © 2010 Jo Shields
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
#general settings
message-font: "DejaVu Sans Regular 12"
title-text: ""
message-color: "#000000"
message-bg-color: "#ff9631"
desktop-image: "grub.jpg"
terminal-font: "Misc Fixed Regular 13"
#help bar at the bottom
+ label {
top = 100%-60
left = 20%
width = 60%
height = 25
text = "Для запуска системы выберите пункт меню и нажмите Enter."
align = "center"
#font = "Droid Sans Bold 14"
color = "#465056"
}
+ label {
top = 100%-40
left = 20%
width = 60%
height = 25
text = "Для редактирования меню нажмите E. Для выхода - Esc."
align = "center"
#font = "Droid Sans Bold 14"
color = "#465056"
}
#menu
+ boot_menu {
left = 20%
width = 60%
top = 30%
height = 40%
item_font = "DejaVu Sans Bold 14"
selected_item_font = "DejaVu Sans Bold 14"
icon_width = 24
item_height = 26
item_padding = 0
item_icon_space = 0
item_spacing = 1
selected_item_pixmap_style = "selected_blob_*.png"
scrollbar = true
scrollbar_width = 20
scrollbar_thumb = "scrollbar_slider_*.png"
scrollbar_frame = "scrollbar_border_*.png"
item_color = "#000000"
selected_item_color = "#ffffff"
}
+ circular_progress
{
id = "__timeout__"
left = 52%
top = 13%
width = 36
height =36
num_ticks = 12
ticks_disappear = false
start_angle = -60
center_bitmap = "zero.png"
tick_bitmap = "tick.png"
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 209 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 141 B