@ -0,0 +1 @@ |
|||||||
|
tar: . name=branding |
@ -0,0 +1,18 @@ |
|||||||
|
STATUS=@STATUS@
|
||||||
|
THEME=@THEME@
|
||||||
|
NAME=@NAME@
|
||||||
|
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
|
||||||
|
cp -al wallpaper.png graphics/backgrounds/default.png
|
||||||
|
cp -al wallpaper.png graphics/backgrounds/xdm.png
|
||||||
|
convert wallpaper.png kde3-styles-splash/Background.jpg
|
||||||
|
cp -al wallpaper.png kde3-styles-splash/Background.png
|
||||||
|
convert -resize '400x320!' images/wallpaper.png kde3-styles-splash/Preview.png
|
||||||
|
#color scheme
|
||||||
|
mv kde3-settings/apps/kdisplay/color-schemes/scheme.kcsrc "kde3-settings/apps/kdisplay/color-schemes/@BRAND_FNAME@ @NAME@.kcsrc"
|
||||||
|
|
||||||
|
include components.mk |
||||||
|
install: browser-qt ahttpd boot-images boot-splash @X86@ indexhtml |
@ -0,0 +1,705 @@ |
|||||||
|
%define theme school |
||||||
|
%define Theme School |
||||||
|
%define codename S830 |
||||||
|
%define brand kometa |
||||||
|
%define Brand KOMETA |
||||||
|
%define distribution KOMETA |
||||||
|
|
||||||
|
Name: branding-%brand-%theme |
||||||
|
Version: 4.0 |
||||||
|
Release: kometa0 |
||||||
|
Packager: Artem Proskurnev <tema@proskurnev.name> |
||||||
|
|
||||||
|
|
||||||
|
BuildRequires: cpio gfxboot >= 4 fonts-ttf-dejavu fonts-ttf-google-droid-sans |
||||||
|
BuildRequires: design-bootloader-source >= 5.0-alt2 |
||||||
|
%ifnarch %arm |
||||||
|
%endif |
||||||
|
|
||||||
|
BuildRequires(pre): libqt4-core |
||||||
|
BuildRequires: libalternatives-devel |
||||||
|
BuildRequires: libqt4-devel |
||||||
|
|
||||||
|
BuildRequires: ImageMagick fontconfig bc libGConf-devel |
||||||
|
|
||||||
|
%define status %nil |
||||||
|
%define status_en %nil |
||||||
|
|
||||||
|
%define variants Platform6-server-light alt-desktop alt-education alt-server alt-starterkit alt-workstation altlinux-backup-server altlinux-centaurus altlinux-desktop altlinux-gnome-desktop altlinux-kdesktop altlinux-lite altlinux-lxdesktop altlinux-office-desktop altlinux-office-server altlinux-p7 altlinux-school-server altlinux-sisyphus altlinux-spt altlinux-starterkit altlinux-tablet altlinux-workbench basealt-server basealt-starterkit basealt-workstation informika-schoolmaster ivk-chainmail lxde-desktop lxde-school-lite school-junior school-lite school-master school-server school-teacher school-terminal simply-linux sisyphus-server-light xalt-kworkstation altlinux-club-small kometa-home kometa-sport kometa-business |
||||||
|
|
||||||
|
Source: branding.tar |
||||||
|
|
||||||
|
Group: Graphics |
||||||
|
Summary: System/Base |
||||||
|
License: GPL |
||||||
|
|
||||||
|
%description |
||||||
|
Distro-specific packages with design and texts |
||||||
|
|
||||||
|
|
||||||
|
%package bootloader |
||||||
|
Group: System/Configuration/Boot and Init |
||||||
|
Summary: Graphical boot logo for grub2, lilo and syslinux |
||||||
|
License: GPL |
||||||
|
|
||||||
|
PreReq: coreutils |
||||||
|
Provides: design-bootloader-system-%theme design-bootloader-livecd-%theme design-bootloader-livecd-%theme design-bootloader-%theme branding-alt-%theme-bootloader |
||||||
|
|
||||||
|
Obsoletes: design-bootloader-system-%theme design-bootloader-livecd-%theme design-bootloader-livecd-%theme design-bootloader-%theme branding-alt-%theme-bootloader |
||||||
|
Conflicts: %(for n in %variants ; do [ "$n" = %brand-%theme ] || echo -n "branding-$n-bootloader ";done ) |
||||||
|
|
||||||
|
%define grub_normal white/black |
||||||
|
%define grub_high black/white |
||||||
|
|
||||||
|
%description bootloader |
||||||
|
Here you find the graphical boot logo. Suitable for both lilo and syslinux. |
||||||
|
|
||||||
|
%package bootsplash |
||||||
|
BuildArch: noarch |
||||||
|
Summary: Theme for splash animations during bootup |
||||||
|
License: Distributable |
||||||
|
Group: System/Configuration/Boot and Init |
||||||
|
Provides: plymouth-theme-%theme |
||||||
|
Requires: plymouth-plugin-script |
||||||
|
PreReq: plymouth |
||||||
|
|
||||||
|
Conflicts: %(for n in %variants ; do [ "$n" = %brand-%theme ] || echo -n "branding-$n-bootsplash ";done ) |
||||||
|
%description bootsplash |
||||||
|
This package contains graphics for boot process, displayed via Plymouth |
||||||
|
|
||||||
|
|
||||||
|
%package alterator |
||||||
|
BuildArch: noarch |
||||||
|
Summary: Design for alterator for %Brand %Theme |
||||||
|
License: GPL |
||||||
|
Group: System/Configuration/Other |
||||||
|
Provides: design-alterator-browser-%theme branding-alt-%theme-browser-qt branding-altlinux-%theme-browser-qt |
||||||
|
Provides: alterator-icons design-alterator design-alterator-%theme |
||||||
|
Obsoletes: branding-alt-%theme-browser-qt branding-altlinux-%theme-browser-qt |
||||||
|
|
||||||
|
Conflicts: %(for n in %variants ; do [ "$n" = %brand-%theme ] || echo -n "branding-$n-alterator ";done ) |
||||||
|
Obsoletes: design-alterator-server design-alterator-desktop design-altertor-browser-desktop design-altertor-browser-server |
||||||
|
PreReq(post,preun): alternatives >= 0.2 alterator |
||||||
|
|
||||||
|
%description alterator |
||||||
|
Design for QT and web alterator for %Brand %Theme |
||||||
|
|
||||||
|
%package graphics |
||||||
|
BuildArch: noarch |
||||||
|
Summary: design for ALT |
||||||
|
License: Different licenses |
||||||
|
Group: Graphics |
||||||
|
|
||||||
|
Provides: design-graphics-%theme branding-alt-%theme-graphics |
||||||
|
Obsoletes: branding-alt-%theme-graphics design-graphics-%theme |
||||||
|
Provides: design-graphics = 12.0.0 |
||||||
|
Provides: gnome-session-splash = %version-%release |
||||||
|
PreReq(post,preun): alternatives >= 0.2 |
||||||
|
Conflicts: %(for n in %variants ; do [ "$n" = %brand-%theme ] || echo -n "branding-$n-graphics ";done ) |
||||||
|
|
||||||
|
%description graphics |
||||||
|
This package contains some graphics for ALT design. |
||||||
|
|
||||||
|
|
||||||
|
%define provide_list altlinux fedora redhat system altlinux |
||||||
|
%define obsolete_list altlinux-release fedora-release redhat-release |
||||||
|
%define conflicts_list altlinux-release-sisyphus altlinux-release-4.0 altlinux-release-junior altlinux-release-master altlinux-release-server altlinux-release-terminal altlinux-release-small_business |
||||||
|
|
||||||
|
%package release |
||||||
|
BuildArch: noarch |
||||||
|
|
||||||
|
Summary: %distribution %Theme release file |
||||||
|
License: GPL |
||||||
|
Group: System/Configuration/Other |
||||||
|
Provides: %(for n in %provide_list; do echo -n "$n-release = %version-%release "; done) altlinux-release-%theme branding-alt-%theme-release |
||||||
|
Obsoletes: %obsolete_list branding-alt-%theme-release |
||||||
|
Conflicts: %conflicts_list |
||||||
|
Conflicts: %(for n in %variants ; do [ "$n" = %brand-%theme ] || echo -n "branding-$n-release ";done ) |
||||||
|
|
||||||
|
%description release |
||||||
|
%distribution %version %Theme release file. |
||||||
|
|
||||||
|
%package notes |
||||||
|
BuildArch: noarch |
||||||
|
Provides: alt-license-theme = %version alt-notes-%theme |
||||||
|
Obsoletes: alt-license-%theme alt-notes-%theme |
||||||
|
Summary: Distribution license and release notes |
||||||
|
License: Distributable |
||||||
|
Group: Documentation |
||||||
|
Conflicts: alt-notes-children alt-notes-hpc alt-notes-junior alt-notes-junior-sj alt-notes-junior-sm alt-notes-school-server alt-notes-server-lite alt-notes-skif alt-notes-terminal |
||||||
|
Conflicts: %(for n in %variants ; do [ "$n" = %brand-%theme ] || echo -n "branding-$n-notes ";done ) |
||||||
|
|
||||||
|
%description notes |
||||||
|
Distribution license and release notes |
||||||
|
|
||||||
|
%package kde4-settings |
||||||
|
BuildArch: noarch |
||||||
|
Summary: KDE4 settings for %Brand %version %Theme |
||||||
|
License: Distributable |
||||||
|
Group: Graphical desktop/KDE |
||||||
|
Conflicts: %(for n in %variants ; do [ "$n" = %brand-%theme ] || echo -n "branding-$n-kde4-settings ";done ) |
||||||
|
PreReq: %name-graphics |
||||||
|
|
||||||
|
%description kde4-settings |
||||||
|
KDE4 settings for %Brand %version %Theme |
||||||
|
|
||||||
|
%package kde3-settings |
||||||
|
|
||||||
|
BuildArch: noarch |
||||||
|
Summary: KDE3 settings for %Brand %version %Theme |
||||||
|
License: Distributable |
||||||
|
Group: Graphical desktop/KDE |
||||||
|
Requires: ksplash-engine-moodin |
||||||
|
PreReq: %name-graphics |
||||||
|
Conflicts: %(for n in %variants ; do [ "$n" = %brand-%theme ] || echo -n "branding-$n-kde3-settings ";done ) |
||||||
|
|
||||||
|
%description kde3-settings |
||||||
|
KDE3 settings for %Brand %version %Theme |
||||||
|
|
||||||
|
%package fvwm-settings |
||||||
|
|
||||||
|
BuildArch: noarch |
||||||
|
Summary: FVWM2 settings for %Brand %version %Theme |
||||||
|
License: Distributable |
||||||
|
Group: Graphical desktop/FVWM based |
||||||
|
Requires: altlinux-freedesktop-menu-gnomish-menu |
||||||
|
Conflicts: %(for n in %variants ; do [ "$n" = %brand-%theme ] || echo -n "branding-$n-fvwm-settings ";done ) |
||||||
|
|
||||||
|
%description fvwm-settings |
||||||
|
FVWM2 settings for %Brand %version %Theme |
||||||
|
|
||||||
|
%package gnome-settings |
||||||
|
|
||||||
|
BuildArch: noarch |
||||||
|
Summary: GNOME settings for %Brand %version %Theme |
||||||
|
License: Distributable |
||||||
|
Group: Graphical desktop/GNOME |
||||||
|
Requires: gtk2-theme-mist |
||||||
|
Requires: altlinux-freedesktop-menu-gnomish-menu |
||||||
|
PreReq: gnome-panel |
||||||
|
Provides: gnome-theme-%brand-%theme = %version-%release |
||||||
|
Provides: metacity-theme-%brand-%theme = %version-%release |
||||||
|
Provides: metacity-theme |
||||||
|
Provides: gnome-menus = 2.30.4 |
||||||
|
Conflicts: %(for n in %variants ; do [ "$n" = %brand-%theme ] || echo -n "branding-$n-gnome-settings ";done ) |
||||||
|
|
||||||
|
%description gnome-settings |
||||||
|
GNOME settings for %Brand %version %Theme |
||||||
|
|
||||||
|
|
||||||
|
%package slideshow |
||||||
|
|
||||||
|
BuildArch: noarch |
||||||
|
Summary: Slideshow for %Brand %version %Theme installer |
||||||
|
License: Distributable |
||||||
|
Group: System/Configuration/Other |
||||||
|
Conflicts: %(for n in %variants ; do [ "$n" = %brand-%theme ] || echo -n "branding-$n-slideshow ";done ) |
||||||
|
|
||||||
|
%description slideshow |
||||||
|
Slideshow for %Brand %version %Theme installer |
||||||
|
|
||||||
|
%package indexhtml |
||||||
|
|
||||||
|
BuildArch: noarch |
||||||
|
Summary: %name -- ALT Linux html welcome page |
||||||
|
License: distributable |
||||||
|
Group: System/Base |
||||||
|
Provides: indexhtml indexhtml-%theme = %version indexhtml-Desktop = 1:5.0 |
||||||
|
Obsoletes: indexhtml-desktop indexhtml-Desktop |
||||||
|
|
||||||
|
Conflicts: indexhtml-sisyphus |
||||||
|
Conflicts: indexhtml-school_junior |
||||||
|
Conflicts: indexhtml-school_lite |
||||||
|
Conflicts: indexhtml-school_master |
||||||
|
Conflicts: indexhtml-school_terminal |
||||||
|
Conflicts: indexhtml-small_business |
||||||
|
Conflicts: indexhtml-school-server |
||||||
|
|
||||||
|
Requires: xdg-utils |
||||||
|
Requires(post): indexhtml-common |
||||||
|
|
||||||
|
%description indexhtml |
||||||
|
ALT Linux index.html welcome page. |
||||||
|
|
||||||
|
%prep |
||||||
|
%setup -n branding |
||||||
|
|
||||||
|
%ifnarch %arm |
||||||
|
%define x86 boot |
||||||
|
%else |
||||||
|
%define x86 %nil |
||||||
|
%endif |
||||||
|
|
||||||
|
%build |
||||||
|
autoconf |
||||||
|
THEME=%theme NAME='%Theme' BRAND_FNAME='%Brand' BRAND='%brand' STATUS_EN=%status_en STATUS=%status VERSION=%version X86='%x86' ./configure |
||||||
|
make |
||||||
|
|
||||||
|
%install |
||||||
|
%makeinstall |
||||||
|
|
||||||
|
#graphics |
||||||
|
mkdir -p %buildroot/%_datadir/design/{%theme,backgrounds} |
||||||
|
cp -ar graphics/* %buildroot/%_datadir/design/%theme |
||||||
|
|
||||||
|
pushd %buildroot/%_datadir/design/%theme |
||||||
|
pushd backgrounds |
||||||
|
ln -sf ../../../wallpapers more |
||||||
|
popd |
||||||
|
popd |
||||||
|
|
||||||
|
install -d %buildroot//etc/alternatives/packages.d |
||||||
|
cat >%buildroot/etc/alternatives/packages.d/%name-graphics <<__EOF__ |
||||||
|
%_datadir/artworks %_datadir/design/%theme 10 |
||||||
|
%_datadir/design-current %_datadir/design/%theme 10 |
||||||
|
%_datadir/design/current %_datadir/design/%theme 10 |
||||||
|
__EOF__ |
||||||
|
|
||||||
|
#release |
||||||
|
install -pD -m644 /dev/null %buildroot%_sysconfdir/buildreqs/packages/ignore.d/%name-release |
||||||
|
echo "%distribution %version %Theme %status_en (%codename)" >%buildroot%_sysconfdir/altlinux-release |
||||||
|
for n in fedora redhat system; do |
||||||
|
ln -s altlinux-release %buildroot%_sysconfdir/$n-release |
||||||
|
done |
||||||
|
|
||||||
|
#notes |
||||||
|
pushd notes |
||||||
|
%makeinstall |
||||||
|
popd |
||||||
|
|
||||||
|
#kde4-settings |
||||||
|
pushd kde4-settings |
||||||
|
mkdir -p %buildroot%_sysconfdir/skel/.kde4 |
||||||
|
cp -a kde4/* %buildroot%_sysconfdir/skel/.kde4/ |
||||||
|
popd |
||||||
|
|
||||||
|
#kde3-settings |
||||||
|
pushd kde3-settings |
||||||
|
mkdir -p %buildroot%_sysconfdir/skel/.kde |
||||||
|
cp -a kde/* %buildroot%_sysconfdir/skel/.kde/ |
||||||
|
mkdir -p %buildroot%_sysconfdir/skel/.kde/share |
||||||
|
mkdir -p %buildroot%_sysconfdir/skel/.kde/share/config |
||||||
|
mkdir -p %buildroot%_sysconfdir/skel/.kde/share/apps |
||||||
|
cp -a config/* %buildroot%_sysconfdir/skel/.kde/share/config/ |
||||||
|
cp -a apps/* %buildroot%_sysconfdir/skel/.kde/share/apps/ |
||||||
|
popd |
||||||
|
|
||||||
|
#kde3-splash |
||||||
|
pushd kde3-styles-splash |
||||||
|
mkdir -p "%buildroot/%_datadir/apps/ksplash/Themes/ALTLinux%Theme" |
||||||
|
install -m 644 *.jpg "%buildroot/%_datadir/apps/ksplash/Themes/ALTLinux%Theme/" |
||||||
|
install -m 644 *.png "%buildroot/%_datadir/apps/ksplash/Themes/ALTLinux%Theme/" |
||||||
|
install -m 644 *.rc "%buildroot/%_datadir/apps/ksplash/Themes/ALTLinux%Theme/" |
||||||
|
popd |
||||||
|
|
||||||
|
#fwvm-settings |
||||||
|
mkdir -p %buildroot/etc/skel |
||||||
|
install -m 644 fvwm-settings/.fvwm2rc %buildroot/etc/skel/ |
||||||
|
|
||||||
|
#gnome-settings |
||||||
|
%define XdgThemeName %Brand %Theme |
||||||
|
pushd gnome-settings |
||||||
|
mkdir -p '%buildroot/%_datadir/themes/%XdgThemeName' |
||||||
|
install -m 644 panel-default-setup.entries '%buildroot/%_datadir/themes/%XdgThemeName/' |
||||||
|
mkdir -p '%buildroot/%_datadir/themes/%XdgThemeName/gtk-2.0' |
||||||
|
install -m 644 gtkrc '%buildroot/%_datadir/themes/%XdgThemeName/gtk-2.0' |
||||||
|
mkdir -p '%buildroot/%_datadir/themes/%XdgThemeName/metacity-1' |
||||||
|
install -m 644 metacity-theme-1.xml '%buildroot/%_datadir/themes/%XdgThemeName/metacity-1/' |
||||||
|
install -m 644 index.theme '%buildroot/%_datadir/themes/%XdgThemeName/' |
||||||
|
mkdir -p '%buildroot/etc/xdg/menus/' |
||||||
|
install -m 644 gnome-applications.menu '%buildroot/etc/xdg/menus/' |
||||||
|
install -m 644 settings.menu '%buildroot/etc/xdg/menus/' |
||||||
|
popd |
||||||
|
|
||||||
|
#slideshow |
||||||
|
mkdir -p %buildroot/usr/share/install2/slideshow |
||||||
|
install slideshow/* %buildroot/usr/share/install2/slideshow/ |
||||||
|
|
||||||
|
#bootloader |
||||||
|
%pre bootloader |
||||||
|
[ -s /usr/share/gfxboot/%theme ] && rm -fr /usr/share/gfxboot/%theme ||: |
||||||
|
[ -s /boot/splash/%theme ] && rm -fr /boot/splash/%theme ||: |
||||||
|
|
||||||
|
%post bootloader |
||||||
|
%__ln_s -nf %theme/message /boot/splash/message |
||||||
|
. /etc/sysconfig/i18n |
||||||
|
lang=$(echo $LANG | cut -d. -f 1) |
||||||
|
cd boot/splash/%theme/ |
||||||
|
echo $lang > lang |
||||||
|
[ "$lang" = "C" ] || echo lang | cpio -o --append -F message |
||||||
|
. shell-config |
||||||
|
shell_config_set /etc/sysconfig/grub2 GRUB_THEME /boot/grub/themes/%theme/theme.txt |
||||||
|
shell_config_set /etc/sysconfig/grub2 GRUB_COLOR_NORMAL %grub_normal |
||||||
|
shell_config_set /etc/sysconfig/grub2 GRUB_COLOR_HIGHLIGHT %grub_high |
||||||
|
|
||||||
|
|
||||||
|
%preun bootloader |
||||||
|
[ $1 = 0 ] || exit 0 |
||||||
|
[ "`readlink /boot/splash/message`" != "%theme/message" ] || |
||||||
|
%__rm -f /boot/splash/message |
||||||
|
|
||||||
|
%post indexhtml |
||||||
|
%_sbindir/indexhtml-update |
||||||
|
|
||||||
|
%ifnarch %arm |
||||||
|
%files bootloader |
||||||
|
%_datadir/gfxboot/%theme |
||||||
|
/boot/splash/%theme |
||||||
|
/boot/grub/themes/%theme |
||||||
|
%endif |
||||||
|
|
||||||
|
#bootsplash |
||||||
|
%post bootsplash |
||||||
|
subst "s/Theme=.*/Theme=%theme/" /etc/plymouth/plymouthd.conf |
||||||
|
[ -f /etc/sysconfig/grub2 ] && \ |
||||||
|
subst "s|GRUB_WALLPAPER=.*|GRUB_WALLPAPER=/usr/share/plymouth/themes/%theme/grub.jpg|" \ |
||||||
|
/etc/sysconfig/grub2 ||: |
||||||
|
|
||||||
|
%post gnome-settings |
||||||
|
%gconf2_set string /desktop/gnome/interface/font_name Sans 11 |
||||||
|
%gconf2_set string /desktop/gnome/interface/monospace_font_name Monospace 10 |
||||||
|
cat '/%_datadir/themes/%XdgThemeName/panel-default-setup.entries' > \ |
||||||
|
/etc/gconf/schemas/panel-default-setup.entries |
||||||
|
/usr/bin/gconftool-2 --direct --config-source=$(/usr/bin/gconftool-2 --get-default-source) \ |
||||||
|
--load='/%_datadir/themes/%XdgThemeName/panel-default-setup.entries' |
||||||
|
/usr/bin/gconftool-2 --direct --config-source=$(/usr/bin/gconftool-2 --get-default-source) \ |
||||||
|
--load='/%_datadir/themes/%XdgThemeName/panel-default-setup.entries' /apps/panel |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
%files alterator |
||||||
|
%config %_altdir/*.rcc |
||||||
|
/usr/share/alterator-browser-qt/design/*.rcc |
||||||
|
/usr/share/alterator/design/* |
||||||
|
|
||||||
|
%files graphics |
||||||
|
%config /etc/alternatives/packages.d/%name-graphics |
||||||
|
%_datadir/design |
||||||
|
|
||||||
|
%files bootsplash |
||||||
|
%_datadir/plymouth/themes/%theme/* |
||||||
|
|
||||||
|
%files release |
||||||
|
%_sysconfdir/*-* |
||||||
|
%_sysconfdir/buildreqs/packages/ignore.d/* |
||||||
|
|
||||||
|
%files notes |
||||||
|
%_datadir/alt-notes/* |
||||||
|
|
||||||
|
%files kde4-settings |
||||||
|
%_sysconfdir/skel/.kde4 |
||||||
|
|
||||||
|
%ifnarch %arm |
||||||
|
%files kde3-settings |
||||||
|
%_sysconfdir/skel/.kde |
||||||
|
%_datadir/apps/ksplash/Themes/* |
||||||
|
%endif |
||||||
|
|
||||||
|
%files fvwm-settings |
||||||
|
%_sysconfdir/skel/.fvwm2rc |
||||||
|
|
||||||
|
%files gnome-settings |
||||||
|
%_datadir/themes/* |
||||||
|
/etc/xdg/menus/* |
||||||
|
|
||||||
|
%files slideshow |
||||||
|
/usr/share/install2/slideshow |
||||||
|
|
||||||
|
%define indexhtmldir %_defaultdocdir/indexhtml |
||||||
|
|
||||||
|
%files indexhtml |
||||||
|
%ghost %indexhtmldir/index.html |
||||||
|
%indexhtmldir/index-*.html |
||||||
|
%indexhtmldir/index.css |
||||||
|
%indexhtmldir/images |
||||||
|
%_desktopdir/indexhtml.desktop |
||||||
|
|
||||||
|
%changelog |
||||||
|
* Thu Mar 22 2018 Artem Proskurnev <tema@proskurnev.name> 3.3-kometa3 |
||||||
|
- Исправление фонов |
||||||
|
|
||||||
|
* Mon Apr 03 2017 Artem Proskurnev <tema@proskurnev.name> 3.3-kometa1 |
||||||
|
- new build |
||||||
|
|
||||||
|
* Thu Feb 04 2016 Konstantin Kogan <kostyalamer@yandex.ru> 7.0.0-alt1 |
||||||
|
- new build |
||||||
|
|
||||||
|
* Thu Dec 1 2011 Konstantin Kogan <kostyalamer@yandex.ru> 6.0.0-alt21 |
||||||
|
- fixed index-ru.html.in |
||||||
|
|
||||||
|
* Sun Oct 16 2011 Konstantin Kogan <kostyalamer@yandex.ru> 6.0.0-alt20 |
||||||
|
- branding ALT Linux Active Users Club |
||||||
|
|
||||||
|
* Fri Sep 30 2011 Anton V. Boyarshinov <boyarsh@altlinux.ru> 6.0.0-alt18 |
||||||
|
- theme-livecd.qrc for livecd |
||||||
|
|
||||||
|
* Mon Sep 19 2011 Andrey Cherepanov <cas@altlinux.org> 6.0.0-alt17 |
||||||
|
- New design of indexhtml |
||||||
|
|
||||||
|
* Fri Sep 09 2011 Anton V. Boyarshinov <boyarsh@altlinux.ru> 6.0.0-alt16 |
||||||
|
- gtk theme fix from mex3@ |
||||||
|
|
||||||
|
* Tue Aug 23 2011 Anton V. Boyarshinov <boyarsh@altlinux.ru> 6.0.0-alt15 |
||||||
|
- tooltip color in browser-qt really fixed |
||||||
|
|
||||||
|
* Mon Aug 22 2011 Anton V. Boyarshinov <boyarsh@altlinux.ru> 6.0.0-alt14 |
||||||
|
- indexhtml design and links fixed |
||||||
|
- tooltip color in browser-qt fixed |
||||||
|
|
||||||
|
* Wed Aug 10 2011 Anton V. Boyarshinov <boyarsh@altlinux.ru> 6.0.0-alt13 |
||||||
|
- yet another slide added |
||||||
|
|
||||||
|
* Fri Jul 01 2011 Anton V. Boyarshinov <boyarsh@altlinux.ru> 6.0.0-alt12.1 |
||||||
|
- rebuild with design-bootloader-source 6.0 |
||||||
|
|
||||||
|
* Wed Jun 15 2011 Anton V. Boyarshinov <boyarsh@altlinux.ru> 6.0.0-alt12 |
||||||
|
- Style=Cleanlooks in alterator |
||||||
|
|
||||||
|
* Fri Jun 10 2011 Anton V. Boyarshinov <boyarsh@altlinux.ru> 6.0.0-alt11 |
||||||
|
- images with p6 logo |
||||||
|
|
||||||
|
* Mon Jun 06 2011 Anton V. Boyarshinov <boyarsh@altlinux.ru> 6.0.0-alt10 |
||||||
|
- automatic 800x600 for virtualbox |
||||||
|
|
||||||
|
* Thu May 26 2011 Anton V. Boyarshinov <boyarsh@altlinux.ru> 6.0.0-alt9 |
||||||
|
- setup default gnome panel |
||||||
|
- .gconf deleted from etcskel |
||||||
|
|
||||||
|
* Mon May 23 2011 Anton V. Boyarshinov <boyarsh@altlinux.ru> 6.0.0-alt8 |
||||||
|
- dependence on altlinux-menus dropped |
||||||
|
|
||||||
|
* Sat May 07 2011 Anton V. Boyarshinov <boyarsh@altlinux.ru> 6.0.0-alt7 |
||||||
|
- beta status deleted |
||||||
|
- rebuild with design-bootloader-source 5.9-alt4 |
||||||
|
|
||||||
|
* Wed Apr 27 2011 Anton V. Boyarshinov <boyarsh@altlinux.ru> 6.0.0-alt6 |
||||||
|
- settings menu translation fixed |
||||||
|
|
||||||
|
* Tue Apr 26 2011 Anton V. Boyarshinov <boyarsh@altlinux.ru> 6.0.0-alt5 |
||||||
|
- arm buildabulity |
||||||
|
- gnome menus customization |
||||||
|
|
||||||
|
* Mon Feb 21 2011 Anton V. Boyarshinov <boyarsh@altlinux.ru> 6.0.0-alt4 |
||||||
|
- indexhtml colors changed (mex3) |
||||||
|
|
||||||
|
* Thu Feb 10 2011 Anton V. Boyarshinov <boyarsh@altlinux.ru> 6.0.0-alt3 |
||||||
|
- fixed logo in web interface |
||||||
|
- boot colors changed |
||||||
|
|
||||||
|
* Thu Feb 03 2011 Anton V. Boyarshinov <boyarsh@altlinux.ru> 6.0.0-alt2 |
||||||
|
- install menu position changed |
||||||
|
- web design from mex3@ |
||||||
|
|
||||||
|
* Fri Jan 28 2011 Anton V. Boyarshinov <boyarsh@altlinux.ru> 6.0.0-alt1 |
||||||
|
- production slideshow |
||||||
|
- installer wallpaper changed |
||||||
|
- grub theme |
||||||
|
|
||||||
|
* Wed Dec 15 2010 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.9.9-alt11 |
||||||
|
- fvwm settings added |
||||||
|
|
||||||
|
* Thu Nov 18 2010 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.9.9-alt10 |
||||||
|
- gfxboot colors changed |
||||||
|
|
||||||
|
* Tue Nov 16 2010 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.9.9-alt9 |
||||||
|
- plymouth: scaling for non 4:3 or 16:9 resolutions fixed |
||||||
|
|
||||||
|
* Sat Nov 13 2010 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.9.9-alt8 |
||||||
|
- typo in plymouth script fixed |
||||||
|
|
||||||
|
* Fri Nov 12 2010 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.9.9-alt7 |
||||||
|
- migration from bootsplash to plymouth |
||||||
|
|
||||||
|
* Fri Oct 22 2010 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.9.9-alt6 |
||||||
|
- menu bar size fixed |
||||||
|
|
||||||
|
* Wed Sep 15 2010 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.9.9-alt5 |
||||||
|
- setup grub colors added |
||||||
|
|
||||||
|
* Tue Aug 31 2010 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.9.9-alt4 |
||||||
|
- status changed to beta |
||||||
|
- background changed |
||||||
|
|
||||||
|
* Mon Aug 02 2010 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.9.9-alt3 |
||||||
|
- fonts changed |
||||||
|
|
||||||
|
* Tue May 25 2010 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.9.9-alt2.2 |
||||||
|
- rebuld with design-bootloader-source 5.9 |
||||||
|
|
||||||
|
* Fri May 21 2010 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.9.9-alt2.1 |
||||||
|
- rebuild with gfxboot.git-4.1.47 |
||||||
|
|
||||||
|
* Tue Apr 06 2010 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.9.9-alt2 |
||||||
|
- product-logo.png changed |
||||||
|
|
||||||
|
* Thu Mar 04 2010 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.9.9-alt1 |
||||||
|
- Centaurus branding |
||||||
|
|
||||||
|
* Wed Mar 03 2010 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0.1-alt1 |
||||||
|
- OO.o desktop files names changed |
||||||
|
|
||||||
|
* Mon Oct 26 2009 Andrey Cherepanov <cas@altlinux.org> 5.0.0-alt22 |
||||||
|
- provide design-graphics and gnome-session-splash to avoid wrong |
||||||
|
graphics package installation |
||||||
|
|
||||||
|
* Thu Oct 22 2009 Andrey Cherepanov <cas@altlinux.org> 5.0.0-alt21 |
||||||
|
- fix Russian name and copyright years |
||||||
|
- fix images |
||||||
|
- remove beta status |
||||||
|
|
||||||
|
* Mon Sep 07 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0.0-alt20 |
||||||
|
- beep on boot disabled |
||||||
|
|
||||||
|
* Thu Aug 13 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0.0-alt19 |
||||||
|
- production images, slides (and colors?) |
||||||
|
|
||||||
|
* Sun Jul 12 2009 Alexey Rusakov <ktirf@altlinux.org> 5.0.0-alt18.1.1 |
||||||
|
- fix unexpanded autoconf substitute (closes bug 20757) |
||||||
|
- beautify theme names in -gnome-settings |
||||||
|
|
||||||
|
* Thu Jun 25 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0.0-alt18.1 |
||||||
|
- titles removed from wallpater and installer |
||||||
|
|
||||||
|
* Wed Jun 24 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0.0-alt18 |
||||||
|
- sources restructure |
||||||
|
|
||||||
|
* Thu Jun 11 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0.0-alt17 |
||||||
|
- ksplashrc added for kde4 |
||||||
|
- kde3-settings and splash for kde3 added (mex@) |
||||||
|
- gnome-settngs added (mex@) |
||||||
|
|
||||||
|
* Wed May 13 2009 Alexandra Panyukova <mex3@altlinux.ru> 5.0.0-alt16 |
||||||
|
- setup fixed from boyarsh@ |
||||||
|
- remove package name from .gear-rules from boyarsh@ |
||||||
|
|
||||||
|
* Fri Apr 24 2009 Alexandra Panyukova <mex3@altlinux.ru> 5.0.0-alt15 |
||||||
|
- minor fixes of strange merge |
||||||
|
- changes in alterator.css.in from inger@ |
||||||
|
|
||||||
|
* Fri Apr 17 2009 Alexandra Panyukova <mex3@altlinux.ru> 5.0.0-alt14 |
||||||
|
- better quality background image for installer |
||||||
|
|
||||||
|
* Thu Apr 16 2009 Alexandra Panyukova <mex3@altlinux.ru> 5.0.0-alt13 |
||||||
|
- alterator.css = alterator.css+menu.css |
||||||
|
- some strange results of merge fixed |
||||||
|
|
||||||
|
* Fri Apr 10 2009 Alexandra Panyukova <mex3@altlinux.ru> 5.0.0-alt12 |
||||||
|
- gear-rules fixed |
||||||
|
|
||||||
|
* Fri Apr 10 2009 Alexandra Panyukova <mex3@altlinux.ru> 5.0.0-alt11 |
||||||
|
- web logo - white and smaller; |
||||||
|
labels on buttons - darker; |
||||||
|
disabled elements - lighter; |
||||||
|
|
||||||
|
* Fri Apr 10 2009 Alxandra Panyukova <mex3@altlinux.ru> 5.0.0-alt10 |
||||||
|
- some misspells fixed |
||||||
|
|
||||||
|
* Thu Apr 09 2009 Alexandra Panyukova <mex3@altlinux.ru> 5.0.0-alt9 |
||||||
|
- darker text and new logo for web |
||||||
|
|
||||||
|
* Thu Apr 09 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0.0-alt8 |
||||||
|
- gradients and some colors in css fixed by mex3@ |
||||||
|
|
||||||
|
* Tue Apr 07 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0.0-alt7 |
||||||
|
- fixes for installer design from mex3@ |
||||||
|
|
||||||
|
* Fri Apr 03 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0.0-alt6 |
||||||
|
- default gray design from mex3@ |
||||||
|
- status_en intorduces for release file |
||||||
|
|
||||||
|
* Wed Apr 01 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0.0-alt5 |
||||||
|
- logo in www design fixed |
||||||
|
|
||||||
|
* Tue Mar 31 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0.0-alt4 |
||||||
|
- www design fixed |
||||||
|
|
||||||
|
* Tue Mar 31 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0.0-alt3 |
||||||
|
- conflicts for -alterator subpackages added |
||||||
|
- design for web alterator changed |
||||||
|
|
||||||
|
* Mon Mar 30 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0.0-alt2 |
||||||
|
- -browser-qt subpackage remaned to -alterator as it really is |
||||||
|
|
||||||
|
* Fri Mar 27 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0.0-alt1 |
||||||
|
- addes status to altlinux-release |
||||||
|
- images for verbose bootsplash mode from one source |
||||||
|
|
||||||
|
* Wed Mar 25 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt24 |
||||||
|
- added versioned provides for indexhtml |
||||||
|
|
||||||
|
* Tue Mar 24 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt23 |
||||||
|
- indexhtml subpackage added |
||||||
|
|
||||||
|
* Mon Mar 23 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt22 |
||||||
|
- nepomukserverrc added into kde4 |
||||||
|
|
||||||
|
* Wed Mar 18 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt21 |
||||||
|
- other images for browser-qt added |
||||||
|
- gtkrcs added into kde4-settings |
||||||
|
- plasma-applet-networkmanagenemt removed from kde4 by default |
||||||
|
- conflicts bitween different brandings added |
||||||
|
|
||||||
|
* Thu Mar 05 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt20 |
||||||
|
- steps icons added |
||||||
|
|
||||||
|
* Fri Feb 27 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt19 |
||||||
|
- sample slideshow added |
||||||
|
|
||||||
|
* Wed Feb 25 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt18 |
||||||
|
- 1024x768 removed :D |
||||||
|
- more transparent menu selection bar |
||||||
|
|
||||||
|
* Tue Feb 24 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt17 |
||||||
|
- 1024x768 added |
||||||
|
- fonts changed |
||||||
|
|
||||||
|
* Thu Feb 19 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt16 |
||||||
|
- not setup language in bootloader during install (when it is 'C') |
||||||
|
|
||||||
|
* Wed Feb 18 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt15 |
||||||
|
- rebuild with new bootloader-source with support of real language change |
||||||
|
|
||||||
|
* Tue Feb 17 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt14 |
||||||
|
- auto set default language for bootloader from /etc/sysconfig/i18n |
||||||
|
|
||||||
|
* Mon Feb 16 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt13 |
||||||
|
- rebuild for fix oversized /boot/splash/message |
||||||
|
|
||||||
|
* Fri Feb 13 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt12 |
||||||
|
- default language set to ru_RU for system boot |
||||||
|
|
||||||
|
* Wed Feb 11 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt11 |
||||||
|
- fixed conflict of notes subpackage with itself |
||||||
|
|
||||||
|
* Tue Feb 10 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt10 |
||||||
|
- more kde4 settings from zerg@ |
||||||
|
- alternative and obsoletes for graphics added |
||||||
|
|
||||||
|
* Thu Feb 05 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt9 |
||||||
|
- rebuild with new translations |
||||||
|
|
||||||
|
* Thu Feb 05 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt8 |
||||||
|
- added kde4-settings subpackage |
||||||
|
|
||||||
|
* Wed Feb 04 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt7 |
||||||
|
- added conflicts for notes |
||||||
|
|
||||||
|
* Mon Jan 26 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt6 |
||||||
|
- xdm background fixed |
||||||
|
|
||||||
|
* Fri Jan 23 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt5 |
||||||
|
- added 'notes' subpackage |
||||||
|
|
||||||
|
* Thu Jan 15 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt4 |
||||||
|
- fixed problem with owerwritten alternative |
||||||
|
|
||||||
|
* Wed Jan 14 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt3 |
||||||
|
- release subpackage added |
||||||
|
|
||||||
|
* Fri Dec 26 2008 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt2 |
||||||
|
- colors integration |
||||||
|
- graphics package added |
||||||
|
|
||||||
|
* Thu Dec 18 2008 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.0-alt1 |
||||||
|
- initial sceleton |
||||||
|
|
@ -0,0 +1,2 @@ |
|||||||
|
#!/bin/bash |
||||||
|
echo $(echo "ibase=16; ${1:0:2}" | bc)','$(echo "ibase=16; ${1:2:2}" | bc)','$(echo "ibase=16; ${1:4:2}" | bc) |
@ -0,0 +1,71 @@ |
|||||||
|
# browser-qt
|
||||||
|
|
||||||
|
components/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)"' $@
|
||||||
|
|
||||||
|
browser-qt:components/browser-qt/design/bg.png |
||||||
|
install -d $(datadir)/alterator-browser-qt/design
|
||||||
|
rcc-qt4 -binary components/browser-qt/theme.qrc -o $(datadir)/alterator-browser-qt/design/$(THEME).rcc;
|
||||||
|
subst 's/background-image.*//' components/browser-qt/design/design.qss
|
||||||
|
rcc-qt4 -binary components/browser-qt/theme.qrc -o $(datadir)/alterator-browser-qt/design/$(THEME)-live.rcc;
|
||||||
|
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
|
||||||
|
|
||||||
|
# ahttpd
|
||||||
|
|
||||||
|
ahttpd: |
||||||
|
for i in components/ahttpd/images/*.svg; do \
|
||||||
|
image=$${i%.svg}; \
|
||||||
|
convert -background none $$image.svg $$image.png ; \
|
||||||
|
done
|
||||||
|
install -d $(datadir)/alterator/design/styles
|
||||||
|
cp -a components/ahttpd/images $(datadir)/alterator/design
|
||||||
|
install -Dpm644 images/product-logo.png $(datadir)/alterator/design/images/product-logo.png
|
||||||
|
cp -a components/ahttpd/styles/*.css $(datadir)/alterator/design/styles
|
||||||
|
|
||||||
|
|
||||||
|
# bootloader and bootsplash
|
||||||
|
boot-images: |
||||||
|
cp -a /usr/src/design-bootloader-source ./
|
||||||
|
cp -a components/bootloader/config design-bootloader-source/
|
||||||
|
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.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
|
||||||
|
cp -al boot-800x600.jpg design-bootloader-source/data-boot/back.jpg
|
||||||
|
convert images/boot.png -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)"' design-bootloader-source/data-install/back.jpg
|
||||||
|
mv design-bootloader-source/data-install/back.jpg design-bootloader-source/data-install/back.jpg.bak
|
||||||
|
convert -colorspace YCbCr -sampling-factor 2x2 design-bootloader-source/data-install/back.jpg.bak JPEG:design-bootloader-source/data-install/back.jpg
|
||||||
|
#bootsplash
|
||||||
|
boot-splash: boot-images |
||||||
|
mkdir -p $(datadir)/plymouth/themes/$(THEME)
|
||||||
|
cp -al boot-800x600.jpg $(datadir)/plymouth/themes/$(THEME)/grub.jpg
|
||||||
|
cp -al images/background*x*.png $(datadir)/plymouth/themes/$(THEME)/
|
||||||
|
cp -a components/bootsplash/* $(datadir)/plymouth/themes/$(THEME)
|
||||||
|
mv $(datadir)/plymouth/themes/$(THEME)/theme.plymouth $(datadir)/plymouth/themes/$(THEME)/$(THEME).plymouth
|
||||||
|
#bootloader
|
||||||
|
boot: boot-images |
||||||
|
DEFAULT_LANG='--lang-to-subst--' PATH=$(PATH):/usr/sbin make -C design-bootloader-source
|
||||||
|
install -d -m 755 $(sysconfdir)/../boot/splash/$(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/bootlogo $(datadir)/gfxboot/$(THEME)
|
||||||
|
#grub2
|
||||||
|
install -d -m 755 $(sysconfdir)/../boot/grub/themes/$(THEME)
|
||||||
|
cp -a components/grub2/* $(sysconfdir)/../boot/grub/themes/$(THEME)/
|
||||||
|
install -m 644 images/grub.png $(sysconfdir)/../boot/grub/themes/$(THEME)/boot.png
|
||||||
|
|
||||||
|
# index html page, start page for all local browsers
|
||||||
|
components/indexhtml/index.css: |
||||||
|
sed 's|/design/|file:///usr/share/alterator/design/|g' components/ahttpd/styles/alterator.css > components/indexhtml/index.css
|
||||||
|
|
||||||
|
INDEXHTML_DIR=$(datadir)/doc/indexhtml
|
||||||
|
indexhtml: components/indexhtml/index.css |
||||||
|
for i in components/indexhtml/*.html components/indexhtml/*.css;do \
|
||||||
|
install -Dpm644 $$i $(INDEXHTML_DIR)/`basename $$i`; \
|
||||||
|
done
|
||||||
|
install -Dpm644 /dev/null $(INDEXHTML_DIR)/index.html
|
||||||
|
cp -a components/indexhtml/images $(INDEXHTML_DIR)
|
||||||
|
install -Dpm644 images/product-logo.png $(INDEXHTML_DIR)/images/product-logo.png
|
||||||
|
install -Dpm644 components/indexhtml/indexhtml.desktop $(datadir)/applications/indexhtml.desktop
|
After Width: | Height: | Size: 64 B |
After Width: | Height: | Size: 54 B |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 259 B |
After Width: | Height: | Size: 750 B |
After Width: | Height: | Size: 770 B |
After Width: | Height: | Size: 250 B |
After Width: | Height: | Size: 861 B |
After Width: | Height: | Size: 867 B |
After Width: | Height: | Size: 257 B |
After Width: | Height: | Size: 535 B |
After Width: | Height: | Size: 400 B |
After Width: | Height: | Size: 29 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 54 B |
After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 310 B |
After Width: | Height: | Size: 237 B |
After Width: | Height: | Size: 221 B |
After Width: | Height: | Size: 7.5 KiB |
After Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 7.5 KiB |
After Width: | Height: | Size: 5.9 KiB |
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 7.0 KiB |
After Width: | Height: | Size: 6.2 KiB |
After Width: | Height: | Size: 7.1 KiB |
After Width: | Height: | Size: 273 B |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 834 B |
After Width: | Height: | Size: 216 B |
After Width: | Height: | Size: 4.9 KiB |
After Width: | Height: | Size: 262 B |
After Width: | Height: | Size: 259 B |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 305 B |
After Width: | Height: | Size: 384 B |
After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 59 B |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 8.9 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 698 B |
After Width: | Height: | Size: 698 B |
After Width: | Height: | Size: 698 B |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 5.7 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 264 B |
After Width: | Height: | Size: 414 B |
@ -0,0 +1,744 @@ |
|||||||
|
/* basic elements and widgets */ |
||||||
|
|
||||||
|
body { |
||||||
|
background-color: #@LIGHT_COLOR_HEX@; |
||||||
|
color: #@DARK_LABELS_HEX@; |
||||||
|
margin: 0px; |
||||||
|
padding: 10px; |
||||||
|
font-family : Tahoma, Verdana, Geneva, Arial, Helvetica, sans-serif; |
||||||
|
font-size: 9pt; |
||||||
|
} |
||||||
|
|
||||||
|
a { |
||||||
|
color: #@DARK_LABELS_HEX@; |
||||||
|
font-weight: bold; |
||||||
|
} |
||||||
|
|
||||||
|
table { |
||||||
|
font-size: 9pt; |
||||||
|
border-color: #@MIDDLE_COLOR_HEX@; |
||||||
|
border-spacing: 0px; |
||||||
|
/* border-collapse: collapse;*/ |
||||||
|
} |
||||||
|
|
||||||
|
th { |
||||||
|
padding: 0px 7px 3px 0px; |
||||||
|
} |
||||||
|
|
||||||
|
/*tr:nth-child(even) {background: #eaecf2} |
||||||
|
tr:nth-child(odd) {background: #FFF}*/ |
||||||
|
|
||||||
|
tr { |
||||||
|
vertical-align: top; |
||||||
|
} |
||||||
|
|
||||||
|
hr { |
||||||
|
border: none; |
||||||
|
border-top: 1px solid #415E6F;; |
||||||
|
} |
||||||
|
|
||||||
|
h1 { |
||||||
|
text-align: center; |
||||||
|
margin: 0px; |
||||||
|
color: #@DARK_LABELS_HEX@; |
||||||
|
} |
||||||
|
|
||||||
|
h2 { |
||||||
|
color: #@DARK_LABELS_HEX@; |
||||||
|
} |
||||||
|
|
||||||
|
h3 { |
||||||
|
color: #@DARK_LABELS_HEX@; |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
textarea, select, input.text { |
||||||
|
|
||||||
|
/*border: 1px solid #e2e6eb; #MIDDLE_LABELS_HEX@;*/ /*FIX NEEDED!!!!!*/ |
||||||
|
|
||||||
|
font-size: 8pt; |
||||||
|
margin: 1px 3px 1px 0px; |
||||||
|
padding: 1px 3px; |
||||||
|
border-color: #c1c3cb; |
||||||
|
|
||||||
|
-moz-border-radius: 0.3em; |
||||||
|
-webkit-border-radius: 0.3em; |
||||||
|
-khtml-border-radius: 0.3em; |
||||||
|
border-radius: 0.3em; |
||||||
|
background-color: #eaecf2; |
||||||
|
} |
||||||
|
|
||||||
|
input.text[disabled], select[disabled]{ |
||||||
|
background-color: #e2e6eb; |
||||||
|
} |
||||||
|
|
||||||
|
.disabled{ |
||||||
|
color:#@MIDDLE_LABELS_HEX@; |
||||||
|
} |
||||||
|
|
||||||
|
.btn, button { |
||||||
|
background-image: url(/design/images/button-active.png); |
||||||
|
background-repeat:repeat-x; |
||||||
|
color: #@DARK_LABELS_HEX@; |
||||||
|
border: 1px solid #@MIDDLE_COLOR_HEX@; |
||||||
|
|
||||||
|
-moz-border-radius: 0.7em; |
||||||
|
-webkit-border-radius: 0.7em; |
||||||
|
-khtml-border-radius: 0.7em; |
||||||
|
border-radius: 0.7em; |
||||||
|
|
||||||
|
cursor: pointer; |
||||||
|
font-size: 9pt; |
||||||
|
padding: 2.5px 10px; |
||||||
|
|
||||||
|
|
||||||
|
-moz-box-shadow: 5px 5px 6px #a6a6a6; |
||||||
|
-webkit-box-shadow: 5px 5px 6px #a6a6a6; |
||||||
|
box-shadow: 5px 5px 6px #a6a6a6; |
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
|
.btn:hover, button:hover { |
||||||
|
background-image: url(/design/images/button-passive.png); |
||||||
|
background-repeat:repeat-x; |
||||||
|
color: #@LIGHT_LABELS_HEX@; |
||||||
|
border: 1px solid #@DARK_LABELS_HEX@; |
||||||
|
} |
||||||
|
|
||||||
|
.box { |
||||||
|
position: relative; |
||||||
|
width: 780px; |
||||||
|
margin-top: 10px; |
||||||
|
|
||||||
|
padding: 10px 20px; |
||||||
|
padding-top: 10px; |
||||||
|
|
||||||
|
background-color: #cfd4e3; |
||||||
|
border: 1px solid #@SHADOW_HEX@; |
||||||
|
} |
||||||
|
|
||||||
|
.next-page-button,.prev-page-button,.first-page-button,.last-page-button { |
||||||
|
width: 25px; |
||||||
|
height: 20px; |
||||||
|
vertical-align:middle; |
||||||
|
cursor: pointer; |
||||||
|
} |
||||||
|
|
||||||
|
.next-page-button { |
||||||
|
background: url(/design/images/next-page-button.png) no-repeat; |
||||||
|
} |
||||||
|
|
||||||
|
.prev-page-button { |
||||||
|
background: url(/design/images/prev-page-button.png) no-repeat; |
||||||
|
} |
||||||
|
|
||||||
|
.first-page-button { |
||||||
|
background: url(/design/images/first-page-button.png) no-repeat; |
||||||
|
} |
||||||
|
|
||||||
|
.last-page-button { |
||||||
|
background: url(/design/images/last-page-button.png) no-repeat; |
||||||
|
} |
||||||
|
|
||||||
|
.close-dialog-button { |
||||||
|
width: 22px; |
||||||
|
height: 22px; |
||||||
|
border: 0px; |
||||||
|
cursor: pointer; |
||||||
|
background: url(/design/images/close-dialog-button.png) no-repeat; |
||||||
|
} |
||||||
|
|
||||||
|
/* messages */ |
||||||
|
|
||||||
|
.alterator-information-message { |
||||||
|
font-style:italic; |
||||||
|
font-size: 9pt; |
||||||
|
padding-top:3px; |
||||||
|
padding-bottom:3px; |
||||||
|
} |
||||||
|
|
||||||
|
.alterator-information-message img { |
||||||
|
vertical-align:middle; |
||||||
|
} |
||||||
|
|
||||||
|
.alterator-attention-message { |
||||||
|
color: darkred; |
||||||
|
border-color: darkred; |
||||||
|
border-width: 5px; |
||||||
|
border-style: double; |
||||||
|
padding: 4px; |
||||||
|
margin: 4px; |
||||||
|
|
||||||
|
min-width:10px; |
||||||
|
float:left; |
||||||
|
|
||||||
|
-moz-border-radius: 7px; |
||||||
|
-webkit-border-radius: 7px; |
||||||
|
-khtml-border-radius: 7px; |
||||||
|
border-radius: 7px; |
||||||
|
} |
||||||
|
|
||||||
|
.alterator-attention-message img { |
||||||
|
vertical-align:middle; |
||||||
|
} |
||||||
|
|
||||||
|
/* clock and timeedit */ |
||||||
|
|
||||||
|
canvas.alterator-clock { |
||||||
|
background: url(/design/images/clock-face.png) no-repeat; |
||||||
|
} |
||||||
|
|
||||||
|
/* calendar and dateedit */ |
||||||
|
|
||||||
|
.year { |
||||||
|
font-weight: bold; |
||||||
|
color:#@DARK_LABELS_HEX@; |
||||||
|
font-size:10pt; |
||||||
|
/*background-color: #F4F8F9;*/ |
||||||
|
} |
||||||
|
|
||||||
|
.month { |
||||||
|
font-weight:bold; |
||||||
|
color:#@DARK_LABELS_HEX@; |
||||||
|
font-size:10pt; |
||||||
|
} |
||||||
|
|
||||||
|
.week { |
||||||
|
border-style:solid; |
||||||
|
border-width:1px; |
||||||
|
background-color: white; |
||||||
|
} |
||||||
|
|
||||||
|
.today { |
||||||
|
border: 1px solid #@DARK_LABELS_HEX@; |
||||||
|
cursor: pointer; |
||||||
|
|
||||||
|
background-image: url(/design/images/button-passive.png); |
||||||
|
background-repeat:repeat-x; |
||||||
|
color: #FFFFFF; |
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
|
.day { |
||||||
|
border-style:solid; |
||||||
|
border-width:1px; |
||||||
|
background-color: #@LIGHT_LABELS_HEX@; |
||||||
|
cursor: pointer; |
||||||
|
} |
||||||
|
|
||||||
|
.day:hover { |
||||||
|
background-color: #@MIDDLE_COLOR_HEX@; |
||||||
|
} |
||||||
|
|
||||||
|
.alterator-dateedit-calendar table { |
||||||
|
width: 100%; |
||||||
|
text-align: center; |
||||||
|
background-image: url(/design/images/table-header.png); |
||||||
|
background-repeat:repeat-x; |
||||||
|
|
||||||
|
-webkit-border-top-left-radius: 0.7em; |
||||||
|
-webkit-border-top-right-radius: 0.7em; |
||||||
|
-moz-border-radius-topleft: 0.7em; |
||||||
|
-moz-border-radius-topright: 0.7em; |
||||||
|
border-top-left-radius: 0.7em; |
||||||
|
border-top-right-radius: 0.7em; |
||||||
|
/*border-width: 2px; |
||||||
|
border-style: solid; |
||||||
|
border-color: #242a60;*/ |
||||||
|
border-collapse: collapse; |
||||||
|
|
||||||
|
/* |
||||||
|
-moz-border-radius-topright: 0.7em; |
||||||
|
-webkit-border-top-right-radius: 0.7em; |
||||||
|
-khtml-border-radius-topright: 0.7em; |
||||||
|
border-top-right-radius: 0.7em; |
||||||
|
-webkit-border-top-right-radius: 4px; |
||||||
|
*/ |
||||||
|
|
||||||
|
-moz-box-shadow: 0 0 8px 0.2em #a6a6a6; |
||||||
|
-webkit-box-shadow: 0 0 8px 0.2em #a6a6a6; |
||||||
|
box-shadow: 0 0 8px 0.2em #a6a6a6; |
||||||
|
} |
||||||
|
|
||||||
|
.alterator-dateedit-calendar td { |
||||||
|
padding: 3px; |
||||||
|
} |
||||||
|
|
||||||
|
.alterator-dateedit-button { |
||||||
|
vertical-align:middle; |
||||||
|
cursor:pointer; |
||||||
|
width: 15px; |
||||||
|
height: 16px; |
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
|
/* main menu */ |
||||||
|
|
||||||
|
#main, #box { |
||||||
|
padding: 10px 20px; |
||||||
|
padding-top: 10px; |
||||||
|
|
||||||
|
background-color: #cfd4e3; |
||||||
|
border: 1px solid #@MIDDLE_COLOR_HEX@; |
||||||
|
} |
||||||
|
|
||||||
|
#main-td { |
||||||
|
width: 100%; |
||||||
|
padding-top: 10px; |
||||||
|
} |
||||||
|
|
||||||
|
#menu-td { |
||||||
|
padding-right: 10px; |
||||||
|
padding-top: 10px; |
||||||
|
} |
||||||
|
|
||||||
|
#menu { |
||||||
|
/*padding: 10px;*/ |
||||||
|
background-color: white; |
||||||
|
border: 1px solid #c1c3cb; |
||||||
|
-moz-border-radius: 7px; |
||||||
|
-webkit-border-radius: 7px; |
||||||
|
-khtml-border-radius: 7px; |
||||||
|
border-radius: 7px; |
||||||
|
} |
||||||
|
|
||||||
|
.menu-item-normal a { |
||||||
|
font-weight: normal; |
||||||
|
text-decoration: none; |
||||||
|
color: #@DARK_LABELS_HEX@; |
||||||
|
} |
||||||
|
|
||||||
|
.menu-item-selected a { |
||||||
|
font-weight: bold; |
||||||
|
text-decoration: none; |
||||||
|
color: #@DARK_LABELS_HEX@; |
||||||
|
padding-top: 10px; |
||||||
|
margin-top: 10px; |
||||||
|
width: 200px; |
||||||
|
} |
||||||
|
|
||||||
|
.menu-item-normal { |
||||||
|
padding-left: 20px; |
||||||
|
width: 100%; |
||||||
|
padding-right: 4px; |
||||||
|
margin-top: 3px; |
||||||
|
margin-bottom: 2px; |
||||||
|
} |
||||||
|
|
||||||
|
.menu-item-selected { |
||||||
|
background-image: url(/design/images/menu-selected.png); |
||||||
|
background-repeat:repeat-y; |
||||||
|
padding-left: 20px; |
||||||
|
width: 80%; |
||||||
|
padding-top: 3px; |
||||||
|
padding-bottom: 3px; |
||||||
|
padding-right: 3px; |
||||||
|
margin-top: 3px; |
||||||
|
margin-bottom: 2px; |
||||||
|
} |
||||||
|
|
||||||
|
.menu-group-name { |
||||||
|
color: #@DARK_LABELS_HEX@; |
||||||
|
background-image: url(/design/images/menu-header.png); |
||||||
|
background-repeat:repeat-x; |
||||||
|
font-size: 10pt; |
||||||
|
|
||||||
|
padding-top: 3px; |
||||||
|
padding-bottom: 3px; |
||||||
|
padding-right: 4px; |
||||||
|
padding-left: 10px; |
||||||
|
margin: 10px; |
||||||
|
} |
||||||
|
|
||||||
|
/* tables */ |
||||||
|
|
||||||
|
table.alterator-listbox { |
||||||
|
font-family:arial; |
||||||
|
margin:10px 0pt 15px; |
||||||
|
font-size: 8pt; |
||||||
|
width: 100%; |
||||||
|
text-align: left; |
||||||
|
/* border: solid 1px;*/ |
||||||
|
|
||||||
|
-webkit-border-top-left-radius: 0.7em; |
||||||
|
-webkit-border-top-right-radius: 0.7em; |
||||||
|
-moz-border-radius-topleft: 0.7em; |
||||||
|
-moz-border-radius-topright: 0.7em; |
||||||
|
|
||||||
|
border-top-left-radius: 0.7em; |
||||||
|
border-top-right-radius: 0.7em; |
||||||
|
border-style:solid; |
||||||
|
border-color:#242a60; |
||||||
|
border-width: 1px; |
||||||
|
border-spacing:0px; |
||||||
|
|
||||||
|
background-image: url(/design/images/table-header.png); |
||||||
|
background-repeat:repeat-x; |
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
|
table.alterator-listbox thead tr th, table.alterator-listbox tfoot tr th { |
||||||
|
|
||||||
|
/*border-collapse: separate; |
||||||
|
border: solid 1px; |
||||||
|
border-right-color:#242a60; |
||||||
|
border-right: 1px solid #242a60;*/ |
||||||
|
font-size: 8pt; |
||||||
|
margin: 0px; |
||||||
|
padding: 4px; |
||||||
|
color: #@DARK_LABELS_HEX@; |
||||||
|
} |
||||||
|
|
||||||
|
table.alterator-listbox thead tr .header { |
||||||
|
background-image: url(/design/images/asc-desc.gif); |
||||||
|
background-repeat: no-repeat; |
||||||
|
background-position: center right; |
||||||
|
cursor: pointer; |
||||||
|
padding-right: 24px; |
||||||
|
border-right: #@MIDDLE_COLOR_HEX@ solid 1px; |
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
|
table.alterator-listbox tbody td { |
||||||
|
color: #@DARK_COLOR_HEX@; |
||||||
|
padding: 4px; |
||||||
|
background-color: #@LIGHT_LABELS_HEX@; |
||||||
|
vertical-align: top; |
||||||
|
/*border-left: solid 1px; |
||||||
|
border-right: solid 1px; |
||||||
|
border:none;*/ |
||||||
|
border-right: #@MIDDLE_COLOR_HEX@ solid 1px; |
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
|
table.alterator-listbox tbody tr.odd td { |
||||||
|
background-color:#eaecf2; |
||||||
|
/*border:none;*/ |
||||||
|
} |
||||||
|
|
||||||
|
table.alterator-listbox tbody tr.selected td, table.alterator-listbox tbody tr.odd.selected td { |
||||||
|
background-color: #D0E1FF; |
||||||
|
/*border-top: #ffffff solid 1px; WTF??*/ |
||||||
|
} |
||||||
|
|
||||||
|
table.alterator-listbox tbody tr.error td { |
||||||
|
background-color: #e6999b; |
||||||
|
font-weight: bold; |
||||||
|
} |
||||||
|
|
||||||
|
table.alterator-listbox tbody tr.odd.error td { |
||||||
|
background-color: #e68b8d; |
||||||
|
font-weight: bold; |
||||||
|
} |
||||||
|
|
||||||
|
table.alterator-listbox tbody tr.working td { |
||||||
|
background-color: #f2ecbd; |
||||||
|
} |
||||||
|
|
||||||
|
table.alterator-listbox tbody tr.odd.working td { |
||||||
|
background-color: #f2e88f; |
||||||
|
} |
||||||
|
|
||||||
|
table.alterator-listbox thead tr .headerSortUp { |
||||||
|
background-image: url(/design/images/asc.gif); |
||||||
|
} |
||||||
|
|
||||||
|
table.alterator-listbox thead tr .headerSortDown { |
||||||
|
background-image: url(/design/images/desc.gif); |
||||||
|
} |
||||||
|
|
||||||
|
table.alterator-listbox thead tr .headerSortDown, table.alterator-listbox thead tr .headerSortUp { |
||||||
|
background-color: #@LIGHT_LABELS_HEX@; |
||||||
|
} |
||||||
|
|
||||||
|
/* states */ |
||||||
|
|
||||||
|
.ui-state-disabled { |
||||||
|
cursor: default !important; |
||||||
|
color: #c3c7cb; |
||||||
|
background-color: #e2e6eb; |
||||||
|
} |
||||||
|
|
||||||
|
.btn.ui-state-disabled { |
||||||
|
color: #415E6F; |
||||||
|
background-color: #E2E6EB; |
||||||
|
} |
||||||
|
|
||||||
|
.btn.ui-state-disabled:hover { |
||||||
|
background-color: #E2E6EB; |
||||||
|
} |
||||||
|
|
||||||
|
/* progressbar */ |
||||||
|
|
||||||
|
.ui-progressbar { |
||||||
|
height:20px; |
||||||
|
text-align: left; |
||||||
|
} |
||||||
|
.ui-progressbar .ui-progressbar-value { |
||||||
|
height:100%; |
||||||
|
} |
||||||
|
|
||||||
|
/* accordion */ |
||||||
|
|
||||||
|
div.alterator-accordion h3 { |
||||||
|
background-color: #eaecf2; |
||||||
|
font-size: 9pt; |
||||||
|
|
||||||
|
padding-top: 3px; |
||||||
|
padding-bottom: 3px; |
||||||
|
padding-left: 24px; |
||||||
|
|
||||||
|
margin: 2px; |
||||||
|
|
||||||
|
background-image: url(/design/images/right.gif); |
||||||
|
background-repeat: no-repeat; |
||||||
|
background-position: center left; |
||||||
|
cursor: pointer; |
||||||
|
} |
||||||
|
|
||||||
|
div.alterator-accordion h3.ui-state-active { |
||||||
|
background-image: url(/design/images/asc.gif); |
||||||
|
} |
||||||
|
|
||||||
|
/* resizeable */ |
||||||
|
|
||||||
|
.ui-resizable-s { |
||||||
|
cursor: s-resize; |
||||||
|
height: 7px; |
||||||
|
width: 100%; |
||||||
|
bottom: 0px; |
||||||
|
left: 0px; |
||||||
|
background:#E2E6EB url(/design/images/hgrabber.gif) no-repeat scroll 45%; |
||||||
|
} |
||||||
|
|
||||||
|
.ui-resizable-s:hover { |
||||||
|
background-color: #1B3664; |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
/* corner radius */ |
||||||
|
|
||||||
|
.ui-corner-tl { |
||||||
|
-moz-border-radius-topleft: 4px; |
||||||
|
-webkit-border-top-left-radius: 4px; |
||||||
|
} |
||||||
|
|
||||||
|
.ui-corner-tr { |
||||||
|
-moz-border-radius-topright: 4px; |
||||||
|
-webkit-border-top-right-radius: 4px; |
||||||
|
} |
||||||
|
|
||||||
|
.ui-corner-bl { |
||||||
|
-moz-border-radius-bottomleft: 4px; |
||||||
|
-webkit-border-bottom-left-radius: 4px; |
||||||
|
} |
||||||
|
|
||||||
|
.ui-corner-br { |
||||||
|
-moz-border-radius-bottomright: 4px; |
||||||
|
-webkit-border-bottom-right-radius: 4px; |
||||||
|
} |
||||||
|
|
||||||
|
.ui-corner-top { |
||||||
|
-moz-border-radius-topleft: 4px; |
||||||
|
-webkit-border-top-left-radius: 4px; |
||||||
|
-moz-border-radius-topright: 4px; |
||||||
|
-webkit-border-top-right-radius: 4px; |
||||||
|
} |
||||||
|
|
||||||
|
.ui-corner-bottom { |
||||||
|
-moz-border-radius-bottomleft: 4px; |
||||||
|
-webkit-border-bottom-left-radius: 4px; |
||||||
|
-moz-border-radius-bottomright: 4px; |
||||||
|
-webkit-border-bottom-right-radius: 4px; |
||||||
|
} |
||||||
|
|
||||||
|
.ui-corner-right { |
||||||
|
-moz-border-radius-topright: 4px; |
||||||
|
-webkit-border-top-right-radius: 4px; |
||||||
|
-moz-border-radius-bottomright: 4px; |
||||||
|
-webkit-border-bottom-right-radius: 4px; |
||||||
|
} |
||||||
|
|
||||||
|
.ui-corner-left { |
||||||
|
-moz-border-radius-topleft: 4px; |
||||||
|
-webkit-border-top-left-radius: 4px; |
||||||
|
-moz-border-radius-bottomleft: 4px; |
||||||
|
-webkit-border-bottom-left-radius: 4px; |
||||||
|
} |
||||||
|
|
||||||
|
.ui-corner-all { |
||||||
|
-moz-border-radius: 0.8em; |
||||||
|
-webkit-border-radius: 0.8em; |
||||||
|
} |
||||||
|
|
||||||
|
/* overlays */ |
||||||
|
|
||||||
|
.ui-widget-overlay { |
||||||
|
position: absolute; |
||||||
|
top: 0; |
||||||
|
left: 0; |
||||||
|
width: 100%; |
||||||
|
height: 100%; |
||||||
|
background: #aaaaaa; |
||||||
|
opacity: .3; |
||||||
|
filter:Alpha(Opacity=30); |
||||||
|
} |
||||||
|
|
||||||
|
/* dialog */ |
||||||
|
|
||||||
|
.ui-widget-content { |
||||||
|
background-color: #@LIGHT_LABELS_HEX@; |
||||||
|
border: 1px solid #@MIDDLE_COLOR_HEX@; |
||||||
|
} |
||||||
|
|
||||||
|
.ui-widget-header { |
||||||
|
color: #EAEDEF; |
||||||
|
background-color: #@MIDDLE_COLOR_HEX@; |
||||||
|
font-weight: bold; |
||||||
|
} |
||||||
|
|
||||||
|
.ui-dialog .ui-dialog-title { |
||||||
|
float: left; |
||||||
|
margin: .1em 0 .2em; |
||||||
|
} |
||||||
|
|
||||||
|
.ui-dialog .ui-dialog-titlebar { |
||||||
|
padding: .5em .3em .3em 1em; |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
.ui-dialog .ui-dialog-titlebar-close { |
||||||
|
float:right; |
||||||
|
} |
||||||
|
|
||||||
|
.ui-dialog .ui-dialog-titlebar-close span { |
||||||
|
display: block; |
||||||
|
margin: 1px; |
||||||
|
} |
||||||
|
|
||||||
|
.ui-dialog .ui-dialog-content { |
||||||
|
border: 0; |
||||||
|
padding: .5em 1em; |
||||||
|
background: none; |
||||||
|
overflow: auto; |
||||||
|
} |
||||||
|
|
||||||
|
.ui-dialog .ui-dialog-buttonpane { |
||||||
|
text-align: left; |
||||||
|
border-width: 1px 0 0 0; |
||||||
|
background-image: none; |
||||||
|
margin: .5em 0 0 0; |
||||||
|
padding: .3em 1em .5em .4em; |
||||||
|
} |
||||||
|
|
||||||
|
.ui-dialog .ui-dialog-buttonpane button { |
||||||
|
float: right; |
||||||
|
margin: .5em .4em .5em 0; |
||||||
|
cursor: pointer; |
||||||
|
width:auto; |
||||||
|
overflow:visible; |
||||||
|
} |
||||||
|
|
||||||
|
.ui-icon-closethick { |
||||||
|
width: 22px; |
||||||
|
height: 22px; |
||||||
|
text-indent: -99999px; |
||||||
|
overflow: hidden; |
||||||
|
background: url(/design/images/close-dialog-button.png) no-repeat; |
||||||
|
} |
||||||
|
|
||||||
|
/* layout helpers */ |
||||||
|
|
||||||
|
.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } |
||||||
|
.ui-helper-clearfix { display: inline-block; } |
||||||
|
/* required comment for clearfix to work in Opera \*/ |
||||||
|
* html .ui-helper-clearfix { height:1%; } |
||||||
|
.ui-helper-clearfix { display:block; } |
||||||
|
/* end clearfix */ |
||||||
|
|
||||||
|
/* help button */ |
||||||
|
|
||||||
|
.ui-help-button { |
||||||
|
background-color: #@LIGHT_LABELS_HEX@; |
||||||
|
margin-bottom: 10px; |
||||||
|
padding-top: 7px; |
||||||
|
|
||||||
|
border: 1px solid #c1c3cb; |
||||||
|
-moz-border-radius: 4px; |
||||||
|
-webkit-border-radius: 4px; |
||||||
|
-khtml-border-radius: 4px; |
||||||
|
border-radius: 4px; |
||||||
|
} |
||||||
|
|
||||||
|
.ui-help-button-content { |
||||||
|
padding-left: 10px; |
||||||
|
padding-right: 30px; |
||||||
|
} |
||||||
|
|
||||||
|
/* top line */ |
||||||
|
|
||||||
|
#top { |
||||||
|
text-align:left; |
||||||
|
background: url(/design/images/header-gradient.png) repeat-x; |
||||||
|
|
||||||
|
padding: 0em; |
||||||
|
margin-bottom: 0px; |
||||||
|
} |
||||||
|
|
||||||
|
#product-logo { |
||||||
|
background: url(/design/images/product-logo.png) no-repeat; |
||||||
|
width: 521px; |
||||||
|
height: 58px; |
||||||
|
border: 0px; |
||||||
|
padding: 0px; |
||||||
|
margin: 0px; |
||||||
|
} |
||||||
|
|
||||||
|
#title { |
||||||
|
padding-left: 1em; |
||||||
|
padding-right: 1em; |
||||||
|
text-align: left; |
||||||
|
|
||||||
|
color: #@DARK_LABELS_HEX@; |
||||||
|
font-weight: bold; |
||||||
|
text-decoration: none; |
||||||
|
font-size:large; |
||||||
|
} |
||||||
|
|
||||||
|
.top-button { |
||||||
|
padding-right: 10px; |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
/* deprecated */ |
||||||
|
|
||||||
|
.error-message { |
||||||
|
background-color: #efc9d3; |
||||||
|
border: 1px solid #f81751; |
||||||
|
padding-left:10px; |
||||||
|
padding-right:10px; |
||||||
|
margin-bottom:10px; |
||||||
|
} |
||||||
|
|
||||||
|
#help-popup { |
||||||
|
padding-left: 10px; |
||||||
|
padding-right: -30px; |
||||||
|
background-color: #@LIGHT_LABELS_HEX@; |
||||||
|
|
||||||
|
border: 1px solid #c1c3cb; |
||||||
|
-moz-border-radius: 0.5em; |
||||||
|
-webkit-border-radius: 0.5em; |
||||||
|
-khtml-border-radius: 0.5em; |
||||||
|
border-radius: 0.5em; |
||||||
|
} |
||||||
|
|
||||||
|
.hresizeable { |
||||||
|
width: 100%; |
||||||
|
height: 7px; |
||||||
|
background:#@DARK_COLOR_HEX@ url(/design/images/hgrabber.gif) no-repeat scroll 45%; |
||||||
|
cursor: s-resize; |
||||||
|
} |
||||||
|
|
||||||
|
.hresizeable:hover { |
||||||
|
background-color: #@MIDDLE_COLOR_HEX@; |
||||||
|
} |
@ -0,0 +1,2 @@ |
|||||||
|
product=@BRAND_FNAME@ @VERSION@ @NAME@ @STATUS@ |
||||||
|
based_on=ALT Linux Sisyphus |
@ -0,0 +1,155 @@ |
|||||||
|
; Sections are read in the order given in base::layout, with section 'base' |
||||||
|
; implicitly added at the end. If a config value is given more than once, |
||||||
|
; the first entry wins. |
||||||
|
; |
||||||
|
; If a screen resolution can't be set, 640x480 is used as fallback (and |
||||||
|
; section '640x480' added to the layout list). |
||||||
|
; |
||||||
|
; If the penguin screen is active, section 'penguin' is automatically added |
||||||
|
; to the layout list. |
||||||
|
; |
||||||
|
; Color values: 24 bit RGB (e.g. 0xff0000 = red). |
||||||
|
; |
||||||
|
|
||||||
|
[base] |
||||||
|
; theme name |
||||||
|
theme=ALTLinux |
||||||
|
; other sections to read |
||||||
|
layout=800x600,install |
||||||
|
; penguin theme likelihood (in percent, -1 = auto) |
||||||
|
penguin=0 |
||||||
|
; activate speech output |
||||||
|
talk=0 |
||||||
|
; sound volume (0..100) |
||||||
|
volume=70 |
||||||
|
; menu background transparency (0..255) |
||||||
|
menu.transparency=0x20 |
||||||
|
; default font |
||||||
|
font.normal=drs16.fnt |
||||||
|
; main menu font |
||||||
|
font.large=drs16.fnt |
||||||
|
; bold main menu font |
||||||
|
font.large.bold=drs16b.fnt |
||||||
|
; background image |
||||||
|
background=back.jpg |
||||||
|
; max. visible main menu items |
||||||
|
mainmenu.entries=8 |
||||||
|
; minimal main menu selection bar width |
||||||
|
mainmenu.bar.minwidth=294 |
||||||
|
; main menu selection bar transparency (0..255) |
||||||
|
mainmenu.bar.transparency=0 |
||||||
|
; main menu colors |
||||||
|
mainmenu.bar.color=0x001056 |
||||||
|
mainmenu.normal.fg=0x001056 |
||||||
|
mainmenu.selected.fg=0xffffff |
||||||
|
; boot option colors |
||||||
|
bootopt.label.fg=0xffffff |
||||||
|
bootopt.text.fg=0xffffff |
||||||
|
; progress bar color |
||||||
|
progress.bar.color=0x@MIDDLE_COLOR_HEX@ |
||||||
|
; menu colors |
||||||
|
menu.normal.bg=0x798491 |
||||||
|
menu.normal.fg=@DARK_LABELS_HEX@ |
||||||
|
menu.selected.bg=0x@LIGHT_COLOR_HEX@ |
||||||
|
menu.selected.fg=@DARK_LABELS_HEX@ |
||||||
|
; window colors |
||||||
|
window.bg=0xd8deed |
||||||
|
window.fg=0x000000 |
||||||
|
window.title.bg=0x@TITLE_COLOR@ |
||||||
|
window.title.fg=0x@DARK_LABELS_HEX@ |
||||||
|
window.title.error.bg=0xc00000 |
||||||
|
; help system colors |
||||||
|
help.link.fg=0x@DARK_COLOR_HEX@ |
||||||
|
help.link.selected.fg=0xffffff |
||||||
|
help.link.selected.bg=0x@DARK_COLOR_HEX@ |
||||||
|
help.highlight.fg=0x@DARK_COLOR_HEX@ |
||||||
|
; panel colors |
||||||
|
panel.fg=0x000000 |
||||||
|
panel.title.fg=0xffffff |
||||||
|
panel.normal.fg=0xffffff |
||||||
|
panel.f-key.fg=0xffffff |
||||||
|
; default keymap (e.g. de_DE, czech) |
||||||
|
keymap= |
||||||
|
|
||||||
|
[800x600] |
||||||
|
; screen size |
||||||
|
screen.size=800,600 |
||||||
|
; upper left corner |
||||||
|
mainmenu.pos=253,210 |
||||||
|
; boot option input field position |
||||||
|
bootopt.pos=200,480 |
||||||
|
|
||||||
|
[640x480] |
||||||
|
; screen size |
||||||
|
screen.size=640,480 |
||||||
|
; upper left corner |
||||||
|
mainmenu.pos=130,122 |
||||||
|
; boot option input field position |
||||||
|
bootopt.pos=263,380 |
||||||
|
|
||||||
|
|
||||||
|
[install] |
||||||
|
; show welcome animation |
||||||
|
welcome=0 |
||||||
|
; beep when menu is ready |
||||||
|
beep=0 |
||||||
|
; main menu item shown only if iso is tagged for media check |
||||||
|
mediacheck=mediachk |
||||||
|
; main menu items where user can't add boot options |
||||||
|
nobootoptions=harddisk,memtest |
||||||
|
; main menu items that are not passed an 'install' parameter |
||||||
|
noinstallopt=harddisk,firmware,memtest |
||||||
|
; default install method (one of: cdrom, slp, ftp, http, nfs, smb, hd; default: cdrom) |
||||||
|
install= |
||||||
|
; default repo location |
||||||
|
install.http.server= |
||||||
|
install.http.path= |
||||||
|
install.nfs.server= |
||||||
|
install.nfs.path= |
||||||
|
install.ftp.server= |
||||||
|
install.ftp.path= |
||||||
|
install.ftp.user= |
||||||
|
install.ftp.password= |
||||||
|
install.smb.server= |
||||||
|
install.smb.share= |
||||||
|
install.smb.path= |
||||||
|
install.smb.domain= |
||||||
|
install.smb.user= |
||||||
|
install.smb.password= |
||||||
|
install.hd.device= |
||||||
|
install.hd.path= |
||||||
|
; default driver update (one of: yes, no, file, url; default: no) |
||||||
|
dud= |
||||||
|
; if 'dud=file': file name on DVD |
||||||
|
dud.file= |
||||||
|
; if 'dud=url': URL |
||||||
|
dud.url= |
||||||
|
; if 'dud=url': menu item name (default = 'URL') |
||||||
|
dud.url.name= |
||||||
|
; serial line setup (up to four lines) |
||||||
|
; format: port,baud,dev |
||||||
|
; - port: 0-3: first four BIOS serial lines (COM1-COM4); >=4: I/O port (0x3f8) |
||||||
|
; - baud: baud rate (e.g. 115200); 0 = autodetect (considers baud rates >= 9600) |
||||||
|
; - dev: linux device name (e.g. ttyS0) |
||||||
|
; - all lines are set up with 8 bits, no parity, 1 stop bit |
||||||
|
; - if the bootloader also has a serial line setup, the port is |
||||||
|
; automatically used |
||||||
|
serial.line0=0,0,ttyS0 |
||||||
|
serial.line1=1,0,ttyS1 |
||||||
|
serial.line2= |
||||||
|
serial.line3= |
||||||
|
; show keymap menu as submenu in lang dialog |
||||||
|
keymap.submenu=0 |
||||||
|
; show keymap in main menu |
||||||
|
keymap.mainmenu=0 |
||||||
|
|
||||||
|
[boot] |
||||||
|
; show welcome animation |
||||||
|
welcome=0 |
||||||
|
; beep when menu is ready |
||||||
|
beep=0 |
||||||
|
; show keymap menu as submenu in lang dialog |
||||||
|
keymap.submenu=0 |
||||||
|
; show keymap in main menu |
||||||
|
keymap.mainmenu=0 |
||||||
|
|
After Width: | Height: | Size: 870 B |
After Width: | Height: | Size: 296 B |
After Width: | Height: | Size: 350 B |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 173 B |
After Width: | Height: | Size: 7.4 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 4.5 KiB |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 3.3 KiB |
@ -0,0 +1,8 @@ |
|||||||
|
[Plymouth Theme] |
||||||
|
Name=@NAME@ |
||||||
|
Description=Script for @BRAND_FNAME@ @NAME@ |
||||||
|
ModuleName=script |
||||||
|
|
||||||
|
[script] |
||||||
|
ImageDir=/usr/share/plymouth/themes/@THEME@ |
||||||
|
ScriptFile=/usr/share/plymouth/themes/@THEME@/theme.script |
@ -0,0 +1,207 @@ |
|||||||
|
# Centaurus theme |
||||||
|
|
||||||
|
fun imgscale( image, scale ) |
||||||
|
{ |
||||||
|
image.Scale( image.GetWidth() * scale, image.GetHeight() * scale ); |
||||||
|
} |
||||||
|
|
||||||
|
fun imgscale2( image, scaleX, scaleY ) |
||||||
|
{ |
||||||
|
image.Scale( image.GetWidth() * scaleX, image.GetHeight() * scaleY ); |
||||||
|
} |
||||||
|
|
||||||
|
# background |
||||||
|
if( Window.GetWidth()/Window.GetHeight() > 1.5 ) |
||||||
|
{ |
||||||
|
logo.raw = Image("background16x9.png"); |
||||||
|
} |
||||||
|
else |
||||||
|
{ |
||||||
|
logo.raw = Image("background4x3.png"); |
||||||
|
} |
||||||
|
|
||||||
|
logo.image = imgscale2( logo.raw, |
||||||
|
Window.GetWidth()/logo.raw.GetWidth(), |
||||||
|
Window.GetHeight()/logo.raw.GetHeight()); |
||||||
|
logo.sprite = Sprite(logo.image); |
||||||
|
logo.sprite.SetPosition(0, 0, 0); |
||||||
|
|
||||||
|
#----------------------------------------- Dialogue -------------------------------- |
||||||
|
|
||||||
|
status = "normal"; |
||||||
|
|
||||||
|
fun dialog_setup() |
||||||
|
{ |
||||||
|
local.box; |
||||||
|
local.lock; |
||||||
|
local.entry; |
||||||
|
|
||||||
|
box.image = Image("box.png"); |
||||||
|
lock.image = Image("lock.png"); |
||||||
|
entry.image = Image("entry.png"); |
||||||
|
|
||||||
|
box.sprite = Sprite(box.image); |
||||||
|
box.x = Window.GetX() + Window.GetWidth() / 2 - box.image.GetWidth ()/2; |
||||||
|
box.y = Window.GetY() + Window.GetHeight() / 2 - box.image.GetHeight()/2; |
||||||
|
box.z = 10000; |
||||||
|
box.sprite.SetPosition(box.x, box.y, box.z); |
||||||
|
|
||||||
|
lock.sprite = Sprite(lock.image); |
||||||
|
lock.x = box.x + box.image.GetWidth()/2 - (lock.image.GetWidth() + entry.image.GetWidth()) / 2; |
||||||
|
lock.y = box.y + box.image.GetHeight()/2 - lock.image.GetHeight()/2; |
||||||
|
lock.z = box.z + 1; |
||||||
|
lock.sprite.SetPosition(lock.x, lock.y, lock.z); |
||||||
|
|
||||||
|
entry.sprite = Sprite(entry.image); |
||||||
|
entry.x = lock.x + lock.image.GetWidth(); |
||||||
|
entry.y = box.y + box.image.GetHeight()/2 - entry.image.GetHeight()/2; |
||||||
|
entry.z = box.z + 1; |
||||||
|
entry.sprite.SetPosition(entry.x, entry.y, entry.z); |
||||||
|
|
||||||
|
global.dialog.box = box; |
||||||
|
global.dialog.lock = lock; |
||||||
|
global.dialog.entry = entry; |
||||||
|
global.dialog.bullet_image = Image("bullet.png"); |
||||||
|
dialog_opacity (1); |
||||||
|
} |
||||||
|
|
||||||
|
fun dialog_opacity(opacity) |
||||||
|
{ |
||||||
|
dialog.box.sprite.SetOpacity (opacity); |
||||||
|
dialog.lock.sprite.SetOpacity (opacity); |
||||||
|
dialog.entry.sprite.SetOpacity (opacity); |
||||||
|
for (index = 0; dialog.bullet[index]; index++) |
||||||
|
{ |
||||||
|
dialog.bullet[index].sprite.SetOpacity(opacity); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
fun display_normal_callback () |
||||||
|
{ |
||||||
|
global.status = "normal"; |
||||||
|
if (global.dialog) |
||||||
|
dialog_opacity (0); |
||||||
|
} |
||||||
|
|
||||||
|
fun display_password_callback (prompt, bullets) |
||||||
|
{ |
||||||
|
global.status = "password"; |
||||||
|
if (!global.dialog) |
||||||
|
dialog_setup(); |
||||||
|
else |
||||||
|
dialog_opacity(1); |
||||||
|
for (index = 0; dialog.bullet[index] || index < bullets; index++) |
||||||
|
{ |
||||||
|
if (!dialog.bullet[index]) |
||||||
|
{ |
||||||
|
dialog.bullet[index].sprite = Sprite(dialog.bullet_image); |
||||||
|
dialog.bullet[index].x = dialog.entry.x + index * dialog.bullet_image.GetWidth(); |
||||||
|
dialog.bullet[index].y = dialog.entry.y + dialog.entry.image.GetHeight() / 2 - dialog.bullet_image.GetHeight() / 2; |
||||||
|
dialog.bullet[index].z = dialog.entry.z + 1; |
||||||
|
dialog.bullet[index].sprite.SetPosition(dialog.bullet[index].x, dialog.bullet[index].y, dialog.bullet[index].z); |
||||||
|
} |
||||||
|
if (index < bullets) |
||||||
|
dialog.bullet[index].sprite.SetOpacity(1); |
||||||
|
else |
||||||
|
dialog.bullet[index].sprite.SetOpacity(0); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
Plymouth.SetDisplayNormalFunction(display_normal_callback); |
||||||
|
Plymouth.SetDisplayPasswordFunction(display_password_callback); |
||||||
|
|
||||||
|
#----------------------------------------- Progress Bar -------------------------------- |
||||||
|
|
||||||
|
progress_box.raw = Image("progress_box.png"); |
||||||
|
scale_factor = Window.GetWidth() / progress_box.raw.GetWidth() * 0.8; |
||||||
|
|
||||||
|
progress_box.image = imgscale( progress_box.raw, scale_factor ); |
||||||
|
|
||||||
|
progress_box.sprite = Sprite(progress_box.image); |
||||||
|
|
||||||
|
progress_box.x = Window.GetX() + Window.GetWidth() / 2 - progress_box.image.GetWidth() / 2; |
||||||
|
progress_box.y = Window.GetY() + Window.GetHeight() / 2 - progress_box.image.GetHeight() / 2; |
||||||
|
progress_box.sprite.SetPosition(progress_box.x, progress_box.y, 0); |
||||||
|
|
||||||
|
progress_bar.status.raw = Image("segment_status.png"); |
||||||
|
progress_bar.runner = Sprite(); |
||||||
|
progress_bar.runner.SetImage ( imgscale(progress_bar.status.raw, scale_factor)); |
||||||
|
|
||||||
|
|
||||||
|
progress_bar.x = Window.GetX() + Window.GetWidth() / 2 - progress_box.image.GetWidth() / 2; |
||||||
|
progress_bar.y = Window.GetY() + Window.GetHeight() / 2 - progress_box.image.GetHeight() / 2 + |
||||||
|
(progress_box.image.GetHeight() - progress_box.image.GetHeight()) / 2; |
||||||
|
|
||||||
|
#Total steps |
||||||
|
steps=33; |
||||||
|
|
||||||
|
#left corner |
||||||
|
progress_bar.l = imgscale( Image("segment_cornerL.png") , scale_factor ); |
||||||
|
progress_bar.spriteL = Sprite(); |
||||||
|
progress_bar.spriteL.SetImage (progress_bar.l); |
||||||
|
progress_bar.spriteL.SetPosition(progress_bar.x,progress_bar.y, 2) ; |
||||||
|
progress_bar.x += progress_bar.l.GetWidth()-1; |
||||||
|
|
||||||
|
#middle |
||||||
|
progress_bar.image = imgscale(Image("segment_middle.png"), scale_factor); |
||||||
|
step = progress_bar.image.GetWidth()-1; |
||||||
|
for( i=0; i<steps; i++ ) |
||||||
|
{ |
||||||
|
progress_bar.sprites[i] = Sprite(); |
||||||
|
progress_bar.sprites[i].SetImage (progress_bar.image); |
||||||
|
progress_bar.sprites[i].SetPosition(progress_bar.x+i*step,progress_bar.y, -1000) ; |
||||||
|
} |
||||||
|
#right corner |
||||||
|
progress_bar.r = imgscale( Image("segment_cornerR.png") , scale_factor ); |
||||||
|
progress_bar.sprites[steps+1] = Sprite(); |
||||||
|
progress_bar.sprites[steps+1].SetImage (progress_bar.r); |
||||||
|
progress_bar.sprites[steps+1].SetPosition(progress_bar.x+step*steps,progress_bar.y, -1000) ; |
||||||
|
|
||||||
|
fun progress_callback (duration, progress) |
||||||
|
{ |
||||||
|
for( i=0; i< progress*steps; i++ ) |
||||||
|
progress_bar.sprites[i].SetZ(2); |
||||||
|
if( progress > 0.99 ) |
||||||
|
progress_bar.sprites[i+1].SetZ(2); |
||||||
|
if( progress < 0.96 ) |
||||||
|
progress_bar.runner.SetPosition(progress_bar.x+progress*step*steps, progress_bar.y, 1); |
||||||
|
} |
||||||
|
|
||||||
|
Plymouth.SetBootProgressFunction(progress_callback); |
||||||
|
|
||||||
|
#----------------------------------------- Quit -------------------------------- |
||||||
|
|
||||||
|
fun quit_callback () |
||||||
|
{ |
||||||
|
logo.sprite.SetOpacity (1); |
||||||
|
} |
||||||
|
|
||||||
|
Plymouth.SetQuitFunction(quit_callback); |
||||||
|
|
||||||
|
#----------------------------------------- Message -------------------------------- |
||||||
|
|
||||||
|
message_sprites = []; |
||||||
|
message_sprite_count = 0; |
||||||
|
message_sprite_y = 10; |
||||||
|
|
||||||
|
fun display_message_callback (text) |
||||||
|
{ |
||||||
|
my_image = Image.Text(text, 1, 1, 1); |
||||||
|
message_sprites[message_sprite_count] = Sprite(my_image); |
||||||
|
message_sprites[message_sprite_count].SetPosition(10, message_sprite_y, 10000); |
||||||
|
message_sprites[message_sprite_count].text = text; |
||||||
|
message_sprite_count++; |
||||||
|
message_sprite_y += my_image.GetHeight(); |
||||||
|
} |
||||||
|
|
||||||
|
fun hide_message_callback (text) |
||||||
|
{ |
||||||
|
for (i = 0; i < message_sprite_count; i++) |
||||||
|
{ |
||||||
|
if (message_sprites[i].text == text) |
||||||
|
message_sprites[i] = NULL; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
Plymouth.SetDisplayMessageFunction (display_message_callback); |
||||||
|
Plymouth.SetHideMessageFunction (hide_message_callback); |
After Width: | Height: | Size: 1.2 KiB |
@ -0,0 +1,5 @@ |
|||||||
|
Palette\active=#141312, #e8e7e6, #ffffff, #ebebea, #6d6c6b, #b7b5b3, #141312, #ffffff, #141312, #ffffff, #e0dfde, #3d3c3c, #@MIDDLE_COLOR_HEX@, #ffffff, #0057ae, #644a9b, #f8f7f6, #000000, #f8f7f6, #141312 |
||||||
|
Palette\inactive=#141312, #e8e7e6, #ffffff, #ebebea, #6d6c6b, #b7b5b3, #141312, #ffffff, #141312, #ffffff, #e0dfde, #3d3c3c, #@MIDDLE_COLOR_HEX@, #ffffff, #0057ae, #644a9b, #f8f7f6, #000000, #f8f7f6, #141312 |
||||||
|
Palette\disabled=#929190, #dedcdb, #ffffff, #e2e1e0, #686766, #b0aeac, #a5a4a4, #ffffff, #979695, #f4f4f4, #d6d5d3, #3c3b3b, #d6d5d3, #929190, #97bcdf, #c1b6d7, #eeece9, #000000, #f8f7f6, #141312 |
||||||
|
|
||||||
|
Style=Cleanlooks |
@ -0,0 +1,21 @@ |
|||||||
|
/* Customize any plain widget that is a child of a QMainWindow. */ |
||||||
|
.AWizardFace { |
||||||
|
border-style: none; |
||||||
|
background-image: url(:/design/bg.png); |
||||||
|
background-position: bottom right; |
||||||
|
background-repeat: no-repeat |
||||||
|
} |
||||||
|
|
||||||
|
.ACenterFace { |
||||||
|
border-style: none; |
||||||
|
} |
||||||
|
|
||||||
|
.ACenterFace #modules_view { |
||||||
|
background-color: white; |
||||||
|
} |
||||||
|
|
||||||
|
/* Nice WindowsXP-style password character for password line edits. */ |
||||||
|
QLineEdit[echoMode="2"] { |
||||||
|
lineedit-password-character: 9679; |
||||||
|
} |
||||||
|
|
After Width: | Height: | Size: 1.2 KiB |
@ -0,0 +1,9 @@ |
|||||||
|
<!DOCTYPE RCC><RCC version="1.0"> |
||||||
|
<qresource> |
||||||
|
<file>design/bg.png</file> |
||||||
|
<file>design/design.qss</file> |
||||||
|
<file>design/design.ini</file> |
||||||
|
<file>design/forward.png</file> |
||||||
|
<file>design/backward.png</file> |
||||||
|
</qresource> |
||||||
|
</RCC> |
@ -0,0 +1,3 @@ |
|||||||
|
[Dolphin] |
||||||
|
Timestamp=2016,10,22,16,47,8 |
||||||
|
Version=3 |
After Width: | Height: | Size: 178 B |
After Width: | Height: | Size: 178 B |
After Width: | Height: | Size: 178 B |