Commit 6c7cdfde authored by Sergey V Turchin's avatar Sergey V Turchin

- fix draw text on for big images

parent 5e3bb2df
......@@ -5,7 +5,7 @@ VERSION=@VERSION@
all:
# background
convert images/wallpaper.png -fill '#c62530' -font /usr/share/fonts/ttf/dejavu/DejaVuSansCondensed-Bold.ttf -style Normal -weight Normal -pointsize 20 -gravity northeast -draw 'text 25,25 "@STATUS@"' wallpaper.png
convert images/wallpaper.png -fill '#c62530' -font /usr/share/fonts/ttf/dejavu/DejaVuSansCondensed-Bold.ttf -style Normal -weight Normal -pointsize 20 -draw 'gravity SouthEast rotate -90 text -300,5 "$(STATUS)"' wallpaper.png
cp -al wallpaper.png graphics/backgrounds/default.png
cp -al wallpaper.png graphics/backgrounds/xdm.png
convert wallpaper.png kde3-styles-splash/Background.jpg
......
......@@ -2,25 +2,26 @@
%define codename Lycoris Radiata
%define brand altlinux
%define Brand ALT Linux
%define theme branding-%brand-kdesktop
%define status beta
%define status_en beta
%define design_graphics_abi_epoch 0
%define design_graphics_abi_major 12
%define design_graphics_abi_minor 0
%define design_graphics_abi_bugfix 0
%define variants altlinux-office-desktop altlinux-office-server altlinux-lite altlinux-workbench school-master altlinux-gnome-desktop
%define variants altlinux-desktop altlinux-office-desktop altlinux-office-server altlinux-lite altlinux-workbench school-master altlinux-gnome-desktop
Name: branding-%brand-kdesktop
Version: 5.0.0
Release: alt25.1
Release: alt25.3
BuildArch: noarch
%define theme %name
%define design_graphics_abi_epoch 0
%define design_graphics_abi_major 12
%define design_graphics_abi_minor 0
%define design_graphics_abi_bugfix 0
%define status бета-версия
%define status_en beta
BuildRequires: cpio gfxboot >= 4 fonts-ttf-dejavu
BuildRequires: design-bootloader-source >= 5.0-alt2
BuildRequires(pre): libqt4-core
BuildRequires(pre): libqt4-core
BuildRequires: libalternatives-devel
BuildRequires: libqt4-devel
......
# browser-qt
components/browser-qt/design/bg.png: images/installer.png
convert $< -resize '800x600!' -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 -draw 'gravity SouthEast rotate -90 text -300,5 "$(STATUS)"' $@
browser-qt:components/browser-qt/design/bg.png
install -d $(datadir)/alterator-browser-qt/design
......@@ -24,7 +24,7 @@ boot:
cp -a components/bootloader/gfxboot.cfg design-bootloader-source/data-install/
cp -a components/bootloader/gfxboot.cfg design-bootloader-source/data-boot/
for size in 1024x768 800x600 640x480; do \
convert images/boot.png -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.png -resize "$$size!" -fill '#c62530' -font /usr/share/fonts/ttf/dejavu/DejaVuSansCondensed-Bold.ttf -style Normal -weight Normal -pointsize 20 -draw 'gravity SouthEast rotate -90 text -300,5 "$(STATUS)"' boot-$$size.jpg ;\
cp -al boot-$$size.jpg components/bootsplash/images/silent-$$size.jpg ;\
convert -resize "$$size!" images/console.jpg components/bootsplash/images/bootsplash-$$size.jpg;\
done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment