@ -1,10 +1,10 @@
|
|||||||
ifeq ($(PACKAGE_SET),dom0)
|
ifeq ($(PACKAGE_SET),dom0)
|
||||||
RPM_SPEC_FILES := anaconda/anaconda.spec \
|
RPM_SPEC_FILES := \
|
||||||
firstboot/firstboot.spec \
|
anaconda/anaconda.spec \
|
||||||
qubes-logos/qubes-logos.spec \
|
firstboot/firstboot.spec \
|
||||||
qubes-release/qubes-release.spec \
|
qubes-release/qubes-release.spec \
|
||||||
lorax-templates-qubes/lorax-templates-qubes.spec \
|
lorax-templates-qubes/lorax-templates-qubes.spec \
|
||||||
pungi/pungi.spec \
|
pungi/pungi.spec \
|
||||||
pykickstart/pykickstart.spec \
|
pykickstart/pykickstart.spec \
|
||||||
qubes-release/qubes-dom0-dist-upgrade.spec
|
qubes-release/qubes-dom0-dist-upgrade.spec
|
||||||
endif
|
endif
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
From http://wiki.kde.org/tiki-index.php?page=KDE+Logo:
|
|
||||||
Trademark License
|
|
||||||
Copying of the KDE Logo is subject to the LGPL copyright license.
|
|
||||||
Trading and branding with the KDE Logo is subject to our trademark licence:
|
|
||||||
1. The KDE logo can be used freely as long as it is not used to refer to
|
|
||||||
products other than KDE itself.
|
|
||||||
2. There is no formal procedure for using the KDE logo as long as you stay
|
|
||||||
within the above guideline for usage.
|
|
||||||
3. Whilst not required you should acknowledge the KDE e.V.s rights by mentioning
|
|
||||||
"KDE, K Desktop Environment and the KDE Logo are trademarks of KDE e.V."
|
|
@ -1,19 +0,0 @@
|
|||||||
NAME = generic-logos
|
|
||||||
XML = backgrounds/desktop-backgrounds-fedora.xml
|
|
||||||
|
|
||||||
all: update-po archive
|
|
||||||
VERSION := $(shell awk '/Version:/ { print $$2 }' $(NAME).spec)
|
|
||||||
RELEASE := $(shell awk '/Release:/ { print $$2 }' $(NAME).spec | sed 's|%{?dist}||g')
|
|
||||||
TAG=$(NAME)-$(VERSION)-$(RELEASE)
|
|
||||||
|
|
||||||
tag:
|
|
||||||
@git tag -a -f -m "Tag as $(TAG)" -f $(TAG)
|
|
||||||
@echo "Tagged as $(TAG)"
|
|
||||||
|
|
||||||
archive: tag
|
|
||||||
@git archive --format=tar --prefix=$(NAME)-$(VERSION)/ HEAD > $(NAME)-$(VERSION).tar
|
|
||||||
@bzip2 -f $(NAME)-$(VERSION).tar
|
|
||||||
@echo "The archive is at $(NAME)-$(VERSION).tar.bz2"
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f *~ *bz2
|
|
@ -1,29 +0,0 @@
|
|||||||
ANACONDADATADIR = /usr/share/anaconda
|
|
||||||
ANACONDARUNTIMEDIR = /usr/lib/anaconda-runtime
|
|
||||||
|
|
||||||
all:
|
|
||||||
@echo "Nothing to do."
|
|
||||||
|
|
||||||
splash.lss: syslinux-splash.png
|
|
||||||
./splashtolss.sh syslinux-splash.png splash.lss
|
|
||||||
|
|
||||||
install:
|
|
||||||
@if [ "$(DESTDIR)" = "" ]; then \
|
|
||||||
echo " "; \
|
|
||||||
echo "ERROR: A destdir is required"; \
|
|
||||||
exit 1; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
mkdir -p $(DESTDIR)/$(ANACONDADATADIR)
|
|
||||||
mkdir -p $(DESTDIR)/$(ANACONDADATADIR)/pixmaps
|
|
||||||
mkdir -p $(DESTDIR)/$(ANACONDADATADIR)/boot
|
|
||||||
install -m 644 *.png $(DESTDIR)/$(ANACONDADATADIR)/pixmaps
|
|
||||||
install -m 644 splash.png $(DESTDIR)/$(ANACONDADATADIR)/pixmaps/progress_first.png
|
|
||||||
install -m 644 splash.png $(DESTDIR)/$(ANACONDADATADIR)/pixmaps/progress_first-lowres.png
|
|
||||||
install -m 644 syslinux-splash.png $(DESTDIR)/$(ANACONDADATADIR)/boot/syslinux-splash.png
|
|
||||||
|
|
||||||
mkdir -p $(DESTDIR)/$(ANACONDARUNTIMEDIR)
|
|
||||||
install -m 644 syslinux-vesa-splash.jpg $(DESTDIR)/$(ANACONDARUNTIMEDIR)
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f splash.lss
|
|
@ -1,19 +0,0 @@
|
|||||||
These files are used by anaconda during the installation process. A
|
|
||||||
basic description/specification for them is as follows:
|
|
||||||
|
|
||||||
* anaconda_header.png: This is strip header at the top of
|
|
||||||
the screen during the install. 800x58.
|
|
||||||
* progress_first.png: First graphic displayed during package
|
|
||||||
installation. If there are no rnotes, this is displayed the entire
|
|
||||||
time. 500x325
|
|
||||||
* progress_first-lowres.png: Lowres version of progress_first.png. 350x225
|
|
||||||
* splash.png: Splash screen shown on the "Welcome to ..." screen.
|
|
||||||
400x420
|
|
||||||
* syslinux-splash.png: Splash screen used at the boot prompt with
|
|
||||||
syslinux/isolinux. This gets transformed into the syslinux specific
|
|
||||||
format. 640x300. This uses a 16 color palette (should be an indexed png).
|
|
||||||
You should ensure that 0 = #000000, 1 = #ffffff, 7 = #cdcfd5, 15 = #c90000.
|
|
||||||
Alternately, you can use 12 colors and have them be any that you want.
|
|
||||||
* syslinux-vesa-splash.jpg: Splash screen used at the boot prompt when
|
|
||||||
using the menu. It should be 640x480 RGB. Can just be a conversion
|
|
||||||
of the grub splash and work well.
|
|
Before Width: | Height: | Size: 92 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 286 KiB |
Before Width: | Height: | Size: 270 KiB |
@ -1,8 +0,0 @@
|
|||||||
splash.xpm.gz: the splashscreen used by grub.
|
|
||||||
|
|
||||||
Format requirements:
|
|
||||||
|
|
||||||
640x480, 15 colors, XPM format. Note that the grub text is defined to be
|
|
||||||
white, highlighted in black, so keep contrast in mind.
|
|
||||||
|
|
||||||
grub does not use descriptive color names; if using ppmtoxpm, pass -hexonly.
|
|
Before Width: | Height: | Size: 44 KiB |
Before Width: | Height: | Size: 119 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 4.3 KiB |
@ -1,14 +0,0 @@
|
|||||||
#/bin/bash
|
|
||||||
FIRST=00
|
|
||||||
LAST=15
|
|
||||||
IMAGE=plymouth/charge/throbber-
|
|
||||||
FORMAT=png
|
|
||||||
|
|
||||||
cd `dirname $0`
|
|
||||||
|
|
||||||
convert $IMAGE$FIRST.$FORMAT $IMAGE$LAST.$FORMAT -morph $(( 10#$LAST - 1 )) __throbber.png
|
|
||||||
|
|
||||||
COUNT=0
|
|
||||||
for i in `seq -w $FIRST $LAST`; do
|
|
||||||
mv __throbber-$((COUNT++)).$FORMAT $IMAGE$i.$FORMAT
|
|
||||||
done
|
|
Before Width: | Height: | Size: 186 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 372 B |
Before Width: | Height: | Size: 434 B |
Before Width: | Height: | Size: 515 B |
Before Width: | Height: | Size: 534 B |
Before Width: | Height: | Size: 534 B |
Before Width: | Height: | Size: 522 B |
Before Width: | Height: | Size: 632 B |
Before Width: | Height: | Size: 579 B |
Before Width: | Height: | Size: 553 B |
Before Width: | Height: | Size: 537 B |
Before Width: | Height: | Size: 630 B |
Before Width: | Height: | Size: 692 B |
Before Width: | Height: | Size: 789 B |
Before Width: | Height: | Size: 820 B |
Before Width: | Height: | Size: 848 B |
Before Width: | Height: | Size: 864 B |
Before Width: | Height: | Size: 720 B |
Before Width: | Height: | Size: 836 B |
Before Width: | Height: | Size: 892 B |
Before Width: | Height: | Size: 943 B |
Before Width: | Height: | Size: 883 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 949 B |
Before Width: | Height: | Size: 878 B |
Before Width: | Height: | Size: 817 B |
Before Width: | Height: | Size: 897 B |
Before Width: | Height: | Size: 972 B |
Before Width: | Height: | Size: 1023 B |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 9.2 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 20 KiB |
@ -1,7 +0,0 @@
|
|||||||
install_items+=" /usr/share/fonts/dejavu/DejaVuSans.ttf "
|
|
||||||
install_items+=" /usr/share/fontconfig/conf.avail/57-dejavu-sans.conf "
|
|
||||||
install_items+=" /etc/fonts/conf.d/57-dejavu-sans.conf "
|
|
||||||
install_items+=" /etc/fonts/fonts.conf "
|
|
||||||
# This unfortunately pulls about 10MB of libraries into initrd, but what can we
|
|
||||||
# do... without this, the 'script' plugin cannot output any text message
|
|
||||||
install_items+=" $(plymouth --get-splash-plugin-path)/label.so "
|
|
@ -1,4 +0,0 @@
|
|||||||
# Distribution defaults. Changes to this file will get overwritten during
|
|
||||||
# upgrades.
|
|
||||||
[Daemon]
|
|
||||||
Theme=qubes
|
|
@ -1 +0,0 @@
|
|||||||
Most of the files here have been taken from plymouth-theme-script.
|
|
Before Width: | Height: | Size: 870 B |
Before Width: | Height: | Size: 296 B |
Before Width: | Height: | Size: 350 B |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 180 B |
Before Width: | Height: | Size: 314 B |
@ -1,8 +0,0 @@
|
|||||||
[Plymouth Theme]
|
|
||||||
Name=Qubes
|
|
||||||
Description=Qubes plymouth theme
|
|
||||||
ModuleName=script
|
|
||||||
|
|
||||||
[script]
|
|
||||||
ImageDir=/usr/share/plymouth/themes/qubes
|
|
||||||
ScriptFile=/usr/share/plymouth/themes/qubes/qubes.script
|
|
@ -1,200 +0,0 @@
|
|||||||
# This is an example plymouth plugin script
|
|
||||||
|
|
||||||
Window.SetBackgroundTopColor(0.234, 0.43, 0.705);
|
|
||||||
Window.SetBackgroundBottomColor(0.16, 0.25, 0.44);
|
|
||||||
|
|
||||||
logo.image = Image("logo.png");
|
|
||||||
logo.sprite = Sprite(logo.image);
|
|
||||||
logo.opacity_angle = 0;
|
|
||||||
|
|
||||||
fun refresh_callback ()
|
|
||||||
{
|
|
||||||
if (status == "normal")
|
|
||||||
{
|
|
||||||
logo.opacity_angle += ((2 * 3.14) / 50) * 0.5; # 0.5 HZ
|
|
||||||
min_opacity = 0.3;
|
|
||||||
opacity = (Math.Cos(logo.opacity_angle) + 1) / 2;
|
|
||||||
opacity *= 1 - min_opacity;
|
|
||||||
opacity += min_opacity;
|
|
||||||
logo.sprite.SetX (Window.GetX() + Window.GetWidth() / 2 - logo.image.GetWidth() / 2);
|
|
||||||
logo.sprite.SetY (Window.GetY() + Window.GetHeight() / 2 - logo.image.GetHeight() / 2);
|
|
||||||
logo.sprite.SetOpacity (opacity);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
logo.sprite.SetX (0);
|
|
||||||
logo.sprite.SetY (0);
|
|
||||||
logo.sprite.SetOpacity (1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Plymouth.SetRefreshFunction (refresh_callback);
|
|
||||||
|
|
||||||
#----------------------------------------- Dialogue --------------------------------
|
|
||||||
|
|
||||||
status = "normal";
|
|
||||||
|
|
||||||
fun dialog_setup(text)
|
|
||||||
{
|
|
||||||
local.box;
|
|
||||||
local.prompt;
|
|
||||||
local.lock;
|
|
||||||
local.entry;
|
|
||||||
|
|
||||||
box.image = Image("box.png");
|
|
||||||
prompt.text = text;
|
|
||||||
prompt.image = Image.Text(text, 1, 1, 1);
|
|
||||||
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);
|
|
||||||
|
|
||||||
prompt.sprite = Sprite(prompt.image);
|
|
||||||
prompt.x = box.x + box.image.GetWidth()/2 - prompt.image.GetWidth() / 2;
|
|
||||||
prompt.y = box.y + box.image.GetHeight()/2 - (prompt.image.GetHeight() + entry.image.GetHeight())/2;
|
|
||||||
prompt.z = box.z + 1;
|
|
||||||
prompt.sprite.SetPosition(prompt.x, prompt.y, prompt.z);
|
|
||||||
prompt.sprite.text = text;
|
|
||||||
|
|
||||||
lock.sprite = Sprite(lock.image);
|
|
||||||
lock.x = box.x + box.image.GetWidth()/2 - (lock.image.GetWidth() + entry.image.GetWidth()) / 2;
|
|
||||||
lock.y = prompt.y + prompt.image.GetHeight() + (entry.image.GetHeight() - 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 = prompt.y + prompt.image.GetHeight();
|
|
||||||
entry.z = box.z + 1;
|
|
||||||
entry.sprite.SetPosition(entry.x, entry.y, entry.z);
|
|
||||||
|
|
||||||
global.dialog.box = box;
|
|
||||||
global.dialog.prompt = prompt;
|
|
||||||
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.prompt.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)
|
|
||||||
{
|
|
||||||
if (prompt.SubString(0,32) == "Please enter passphrase for disk") {
|
|
||||||
prompt = "Disk password";
|
|
||||||
}
|
|
||||||
global.status = "password";
|
|
||||||
if (!global.dialog)
|
|
||||||
dialog_setup(prompt);
|
|
||||||
else {
|
|
||||||
if (global.dialog.prompt.text != prompt) {
|
|
||||||
dialog_opacity(0);
|
|
||||||
global.dialog = NULL;
|
|
||||||
dialog_setup(prompt);
|
|
||||||
} 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 + 5 + (index % 21) * (dialog.bullet_image.GetWidth() + 2);
|
|
||||||
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.image = Image("progress_box.png");
|
|
||||||
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() * 0.75 - progress_box.image.GetHeight() / 2;
|
|
||||||
progress_box.sprite.SetPosition(progress_box.x, progress_box.y, 0);
|
|
||||||
|
|
||||||
progress_bar.original_image = Image("progress_bar.png");
|
|
||||||
progress_bar.sprite = Sprite();
|
|
||||||
|
|
||||||
progress_bar.x = Window.GetX() + Window.GetWidth() / 2 - progress_bar.original_image.GetWidth() / 2;
|
|
||||||
progress_bar.y = Window.GetY() + Window.GetHeight() / 2 * 1.5 - progress_box.image.GetHeight() / 2 + (progress_box.image.GetHeight() - progress_bar.original_image.GetHeight()) / 2;
|
|
||||||
progress_bar.sprite.SetPosition(progress_bar.x, progress_bar.y, 1);
|
|
||||||
|
|
||||||
fun progress_callback (duration, progress)
|
|
||||||
{
|
|
||||||
if (progress_bar.image.GetWidth () != Math.Int (progress_bar.original_image.GetWidth () * progress))
|
|
||||||
{
|
|
||||||
progress_bar.image = progress_bar.original_image.Scale(progress_bar.original_image.GetWidth(progress_bar.original_image) * progress, progress_bar.original_image.GetHeight());
|
|
||||||
progress_bar.sprite.SetImage (progress_bar.image);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
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);
|
|
@ -1,112 +0,0 @@
|
|||||||
%if 0%{?qubes_builder}
|
|
||||||
%define _builddir %(pwd)/qubes-logos
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Name: qubes-logos
|
|
||||||
Summary: Icons and pictures
|
|
||||||
Version: 1.2
|
|
||||||
Release: 1
|
|
||||||
Group: System Environment/Base
|
|
||||||
Source0: qubes-logos-%{version}.tar.bz2
|
|
||||||
License: GPLv2 and LGPL
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
BuildArch: noarch
|
|
||||||
Obsoletes: fedora-logos
|
|
||||||
Obsoletes: redhat-logos
|
|
||||||
Provides: fedora-logos = 13-%{release}
|
|
||||||
Provides: redhat-logos = 13-%{release}
|
|
||||||
Provides: system-logos = %{version}-%{release}
|
|
||||||
# Suppress real Fedora desktop-backgrounds-gnome
|
|
||||||
Provides: system-backgrounds-gnome
|
|
||||||
Conflicts: kdebase <= 3.1.5
|
|
||||||
Conflicts: anaconda-images <= 10
|
|
||||||
Conflicts: redhat-artwork <= 5.0.5
|
|
||||||
# For _kde4_appsdir macro:
|
|
||||||
BuildRequires: kde-filesystem
|
|
||||||
Requires: plymouth-plugin-script
|
|
||||||
Requires: plymouth-plugin-label
|
|
||||||
# For plymouth-set-default-theme
|
|
||||||
Requires(post): plymouth-scripts
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
|
||||||
The qubes-logos package contains various image files which can be
|
|
||||||
used by the bootloader, anaconda, and other related tools.
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%if ! 0%{?qubes_builder}
|
|
||||||
%setup -q
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%build
|
|
||||||
|
|
||||||
%install
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
# should be ifarch i386
|
|
||||||
mkdir -p $RPM_BUILD_ROOT/boot/grub
|
|
||||||
mkdir -p $RPM_BUILD_ROOT/boot/grub2/themes/system
|
|
||||||
install -p -m 644 bootloader/splash.xpm.gz $RPM_BUILD_ROOT/boot/grub/splash.xpm.gz
|
|
||||||
install -p -m 644 bootloader/fireworks.png $RPM_BUILD_ROOT/boot/grub2/themes/system/fireworks.png
|
|
||||||
# end i386 bits
|
|
||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/firstboot/themes/qubes
|
|
||||||
for i in firstboot/* ; do
|
|
||||||
install -p -m 644 $i $RPM_BUILD_ROOT%{_datadir}/firstboot/themes/qubes
|
|
||||||
done
|
|
||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps/splash
|
|
||||||
for i in gnome-splash/* ; do
|
|
||||||
install -p -m 644 $i $RPM_BUILD_ROOT%{_datadir}/pixmaps/splash
|
|
||||||
done
|
|
||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_kde4_appsdir}/ksplash/Themes/Leonidas/2048x1536
|
|
||||||
install -p -m 644 ksplash/SolarComet-kde.png $RPM_BUILD_ROOT%{_kde4_appsdir}/ksplash/Themes/Leonidas/2048x1536/logo.png
|
|
||||||
|
|
||||||
for k in charge qubes; do
|
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/plymouth/themes/$k/
|
|
||||||
for i in plymouth/$k/* ; do
|
|
||||||
install -p -m 644 $i $RPM_BUILD_ROOT%{_datadir}/plymouth/themes/$k/
|
|
||||||
done
|
|
||||||
done
|
|
||||||
install -p -m 644 plymouth/plymouthd.defaults.qubes $RPM_BUILD_ROOT%{_datadir}/plymouth
|
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/dracut.conf.d
|
|
||||||
install -p -m 644 plymouth/plymouth-missing-fonts.conf $RPM_BUILD_ROOT%{_sysconfdir}/dracut.conf.d
|
|
||||||
|
|
||||||
install -D icons/96-logo.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/96x96/apps/qubes-logo-icon.png
|
|
||||||
|
|
||||||
(cd anaconda; make DESTDIR=$RPM_BUILD_ROOT install)
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%triggerin -- plymouth
|
|
||||||
cp -f %{_datadir}/plymouth/plymouthd.defaults.qubes %{_datadir}/plymouth/plymouthd.defaults
|
|
||||||
/usr/sbin/plymouth-set-default-theme qubes || :
|
|
||||||
|
|
||||||
%post
|
|
||||||
/usr/sbin/plymouth-set-default-theme qubes || :
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-, root, root)
|
|
||||||
%doc COPYING COPYING-kde-logo
|
|
||||||
%{_datadir}/firstboot/themes/*
|
|
||||||
%{_datadir}/anaconda/boot/*
|
|
||||||
%{_datadir}/anaconda/pixmaps/*
|
|
||||||
%{_datadir}/plymouth/plymouthd.defaults.qubes
|
|
||||||
%{_datadir}/plymouth/themes/charge/*
|
|
||||||
%{_datadir}/plymouth/themes/qubes/*
|
|
||||||
%{_datadir}/pixmaps/splash/*
|
|
||||||
%{_datadir}/icons/hicolor/96x96/apps/qubes-logo-icon.png
|
|
||||||
/usr/lib/anaconda-runtime/*.jpg
|
|
||||||
%{_sysconfdir}/dracut.conf.d/plymouth-missing-fonts.conf
|
|
||||||
%{_kde4_appsdir}/ksplash/Themes/Leonidas/2048x1536/logo.png
|
|
||||||
# should be ifarch i386
|
|
||||||
/boot/grub/splash.xpm.gz
|
|
||||||
/boot/grub2/themes/system/fireworks.png
|
|
||||||
# end i386 bits
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Wed Jan 13 2010 Tomasz Sterna <smoku@xiaoka.com> - 1
|
|
||||||
- Initial Qubes 1 Release package
|
|