Browse Source

Bumped Standards to 3.9.8, no changes needed

Drop Pre-Depends, Depends should be sufficient
Reworked grub-theme-template
master
Alf Gaida 4 years ago
parent
commit
a14c3a5d7a
49 changed files with 159 additions and 450 deletions
  1. 0
    301
      templates/bootstrap.sh
  2. 3
    4
      templates/debian/cinnamon-control
  3. 3
    4
      templates/debian/gnome-control
  4. 9
    2
      templates/debian/grub-theme-control
  5. 1
    1
      templates/debian/grub-theme.install
  6. 3
    4
      templates/debian/kde-control
  7. 1
    2
      templates/debian/lightdm-control
  8. 3
    4
      templates/debian/lxde-control
  9. 3
    3
      templates/debian/lxqt-control
  10. 3
    4
      templates/debian/mate-control
  11. 1
    1
      templates/debian/wallpapers-control
  12. 4
    7
      templates/debian/xfce-control
  13. 99
    7
      templates/grub-theme/Makefile
  14. 0
    36
      templates/grub-theme/template/README
  15. BIN
      templates/grub-theme/template/blob_w.png
  16. BIN
      templates/grub-theme/template/boot_menu_c.png
  17. BIN
      templates/grub-theme/template/boot_menu_e.png
  18. BIN
      templates/grub-theme/template/boot_menu_n.png
  19. BIN
      templates/grub-theme/template/boot_menu_ne.png
  20. BIN
      templates/grub-theme/template/boot_menu_nw.png
  21. BIN
      templates/grub-theme/template/boot_menu_s.png
  22. BIN
      templates/grub-theme/template/boot_menu_se.png
  23. BIN
      templates/grub-theme/template/boot_menu_sw.png
  24. BIN
      templates/grub-theme/template/boot_menu_w.png
  25. 0
    0
      templates/grub-theme/template/dummy-for-module-load.jpg
  26. BIN
      templates/grub-theme/template/slider_c.png
  27. BIN
      templates/grub-theme/template/slider_n.png
  28. BIN
      templates/grub-theme/template/slider_s.png
  29. BIN
      templates/grub-theme/template/src/blob_nw.xcf
  30. BIN
      templates/grub-theme/template/src/bootmenu/center.xcf
  31. BIN
      templates/grub-theme/template/src/bootmenu/corner.xcf
  32. BIN
      templates/grub-theme/template/src/bootmenu/side.xcf
  33. BIN
      templates/grub-theme/template/src/slider_c.xcf
  34. BIN
      templates/grub-theme/template/src/slider_n.xcf
  35. BIN
      templates/grub-theme/template/src/slider_s.xcf
  36. BIN
      templates/grub-theme/template/src/terminalbox/center.xcf
  37. BIN
      templates/grub-theme/template/src/terminalbox/corner.xcf
  38. BIN
      templates/grub-theme/template/src/terminalbox/side.xcf
  39. BIN
      templates/grub-theme/template/terminal_box_c.png
  40. BIN
      templates/grub-theme/template/terminal_box_e.png
  41. BIN
      templates/grub-theme/template/terminal_box_n.png
  42. BIN
      templates/grub-theme/template/terminal_box_ne.png
  43. BIN
      templates/grub-theme/template/terminal_box_nw.png
  44. BIN
      templates/grub-theme/template/terminal_box_s.png
  45. BIN
      templates/grub-theme/template/terminal_box_se.png
  46. BIN
      templates/grub-theme/template/terminal_box_sw.png
  47. BIN
      templates/grub-theme/template/terminal_box_w.png
  48. 26
    70
      templates/grub-theme/template/theme.txt
  49. 0
    0
      templates/xsplash/src/themerc

+ 0
- 301
templates/bootstrap.sh View File

@@ -1,301 +0,0 @@
#!/bin/sh
set -e

if [ -f ./debian/rules ]; then
echo "Running debuild clean and delete the old debian/rules now. "
echo "Please run bootstrap again!"
[ -f ./debian/changelog ] && debuild -d clean
rm -f debian/rules
exit 1
fi

if [ -f VERSION ]; then
. ./VERSION
else
echo "No VERSION-File, exit!"
exit 1
fi

if [ -f FLAVOUR ]; then
. ./FLAVOUR
else
echo "No FLAVOUR-File, exit!"
exit 1
fi

# clean up obsolete stuff
rm -f ./debian/*.install \
./debian/install \
./debian/*.links \
./debian/ĺinks \
./debian/*.postinst \
./debian/postinst \
./debian/*.postrm \
./debian/postrm \
./debian/*.prerm \
./debian/prerm \
./debian/*.preinst \
./debian/preinst


[ -d ./debian ] || exit 1


if [ ! -e ./debian/changelog ]; then
sed -e "s/\@CODENAME_SAFE\@/${NAME}/g" \
-e "s/\@CODENAME\@/${DESCRIPTION}/g" \
-e "s/\@VERSION\@/${VERSION}/g" \
-e "s/\@FLAVOUR\@/${FLAVOUR}/g" \
-e "s/\@DISPLAY\@/${DISPLAY}/g" \
templates/debian/changelog \
> ./debian/changelog
fi

sed -e "s/\@CODENAME_SAFE\@/${NAME}/g" \
-e "s/\@CODENAME\@/${DESCRIPTION}/g" \
-e "s/\@VERSION\@/${VERSION}/g" \
-e "s/\@FLAVOUR\@/${FLAVOUR}/g" \
-e "s/\@DISPLAY\@/${DISPLAY}/g" \
templates/debian/${FLAVOUR}-control \
> ./debian/control

sed -e "s/\@CODENAME_SAFE\@/${NAME}/g" \
-e "s/\@CODENAME\@/${DESCRIPTION}/g" \
-e "s/\@VERSION\@/${VERSION}/g" \
-e "s/\@FLAVOUR\@/${FLAVOUR}/g" \
-e "s/\@DISPLAY\@/${DISPLAY}/g" \
templates/debian/rules \
> ./debian/rules
chmod 755 ./debian/rules

sed -e "s/\@CODENAME_SAFE\@/${NAME}/g" \
-e "s/\@CODENAME\@/${DESCRIPTION}/g" \
-e "s/\@VERSION\@/${VERSION}/g" \
-e "s/\@FLAVOUR\@/${FLAVOUR}/g" \
-e "s/\@DISPLAY\@/${DISPLAY}/g" \
templates/debian/source/options \
> ./debian/source/options




if [ "${FLAVOUR}" = 'grub-theme' ]; then
rm -rf template
cp -a templates/grub-theme/* .
cp -f templates/grub-theme/Makefile .
sed -e "s/\@CODENAME_SAFE\@/${NAME}/g" \
-e "s/\@CODENAME\@/${DESCRIPTION}/g" \
-e "s/\@VERSION\@/${VERSION}/g" \
-e "s/\@FLAVOUR\@/${FLAVOUR}/g" \
-e "s/\@DISPLAY\@/${DISPLAY}/g" \
templates/debian/grub-theme.install \
> ./debian/install
sed -e "s/\@CODENAME_SAFE\@/${NAME}/g" \
-e "s/\@CODENAME\@/${DESCRIPTION}/g" \
-e "s/\@VERSION\@/${VERSION}/g" \
-e "s/\@FLAVOUR\@/${FLAVOUR}/g" \
-e "s/\@DISPLAY\@/${DISPLAY}/g" \
templates/debian/grub-theme.postinst \
> ./debian/postinst
fi


# if [ "${FLAVOUR}" = 'kde' ]; then
# sed -e "s/\@CODENAME_SAFE\@/${NAME}/g" \
# templates/debian/CODENAME_SAFE-kde.install \
# > ./debian/kde.install

# sed -e "s/\@CODENAME_SAFE\@/${NAME}/g" \
# templates/debian/CODENAME_SAFE.install \
# > ./debian/kde.install


# sed -e "s/\@CODENAME_SAFE\@/${NAME}/g" \
# templates/debian/CODENAME_SAFE-kde.postinst \
# > ./debian/${NAME}.postinst



# sed -e "s/\@CODENAME_SAFE\@/${NAME}/g" \
# templates/debian/CODENAME_SAFE.postrm \
# > ./debian/${NAME}.postrm


# sed -e "s/\@CODENAME_SAFE\@/${NAME}/g" \
# templates/debian/CODENAME_SAFE.links \
# > ./debian/${NAME}.links

# sed -e "s/\@CODENAME_SAFE\@/${NAME}/g" \
# templates/ksplash/description.txt \
# > ./ksplash/description.txt

# sed -e "s/\@CODENAME_SAFE\@/${NAME}/g" \
# templates/ksplash/Theme.rc \
# > ./ksplash/Theme.rc
#fi

if [ "${FLAVOUR}" = 'lxqt' ]; then
rm -r theme
cp -a templates/lxqt/theme .
sed -e "s/\@CODENAME_SAFE\@/${NAME}/g" \
templates/debian/lxqt.install \
> ./debian/install
sed -e "s/\@CODENAME_SAFE\@/${NAME}/g" \
templates/debian/lxqt.links \
> ./debian/links
fi


if [ "${FLAVOUR}" = 'wallpapers' ]; then
# svg copy
rm -f ./svg/*.svg
for i in templates/wallpapers/svg/*.svg; do
BASENAME=$(basename $i)
sed -e "s/\@CODENAME_SAFE\@/${NAME}/g" \
-e "s/\@CODENAME\@/${DESCRIPTION}/g" \
-e "s/\@VERSION\@/${VERSION}/g" \
-e "s/\@FLAVOUR\@/${FLAVOUR}/g" \
-e "s/\@DISPLAY\@/${DISPLAY}/g" \
$i \
> ./svg/${BASENAME}
done

sed -e "s/\@CODENAME_SAFE\@/${NAME}/g" \
-e "s/\@CODENAME\@/${DESCRIPTION}/g" \
-e "s/\@VERSION\@/${VERSION}/g" \
-e "s/\@FLAVOUR\@/${FLAVOUR}/g" \
-e "s/\@DISPLAY\@/${DISPLAY}/g" \
templates/debian/wallpapers.install \
> ./debian/install
sed -e "s/\@CODENAME_SAFE\@/${NAME}/g" \
-e "s/\@CODENAME\@/${DESCRIPTION}/g" \
-e "s/\@VERSION\@/${VERSION}/g" \
-e "s/\@FLAVOUR\@/${FLAVOUR}/g" \
-e "s/\@DISPLAY\@/${DISPLAY}/g" \
templates/debian/wallpapers.links \
> ./debian/links

cp templates/wallpapers/Makefile .
sed -e "s/\@CODENAME_SAFE\@/${NAME}/g" \
-e "s/\@CODENAME\@/${DESCRIPTION}/g" \
-e "s/\@VERSION\@/${VERSION}/g" \
-e "s/\@FLAVOUR\@/${FLAVOUR}/g" \
-e "s/\@DISPLAY\@/${DISPLAY}/g" \
templates/wallpapers/metadata.desktop \
> ./metadata.desktop
fi



if [ "${FLAVOUR}" = 'xfce' ]; then
sed -e "s/\@CODENAME_SAFE\@/${NAME}/g" \
templates/debian/xsplash.install \
> ./debian/${NAME}-xsplash.install

sed -e "s/\@CODENAME_SAFE\@/${NAME}/g" \
-e "s/\@CODENAME\@/${DESCRIPTION}/g" \
-e "s/\@VERSION\@/${VERSION}/g" \
-e "s/\@FLAVOUR\@/${FLAVOUR}/g" \
-e "s/\@DISPLAY\@/${DISPLAY}/g" \
templates/xsplash/src/logo.svg \
> ./src/logo.svg

sed -e "s/\@CODENAME_SAFE\@/${NAME}/g" \
-e "s/\@CODENAME\@/${DESCRIPTION}/g" \
-e "s/\@VERSION\@/${VERSION}/g" \
-e "s/\@FLAVOUR\@/${FLAVOUR}/g" \
-e "s/\@DISPLAY\@/${DISPLAY}/g" \
templates/xsplash/themerc \
> ./src/themerc

sed -e "s/\@CODENAME_SAFE\@/${NAME}/g" \
-e "s/\@CODENAME\@/${DESCRIPTION}/g" \
-e "s/\@VERSION\@/${VERSION}/g" \
-e "s/\@FLAVOUR\@/${FLAVOUR}/g" \
-e "s/\@DISPLAY\@/${DISPLAY}/g" \
templates/xsplash/Makefile \
> ./Makefile
fi



exit 0


# write debian/*.install from templates
for k in lightdm lxde xfce; do
if [ -r ../templates/debian/siduction-art-${k}-CODENAME_SAFE.install ]; then
sed -e "s/\@CODENAME_SAFE\@/${NAME}/g" \
../templates/debian/siduction-art-${k}-CODENAME_SAFE.install \
> ./debian/siduction-art-${k}-${NAME}.install
else
continue
fi
done


# write debian/*.postinst from templates
for k in lightdm lxde xfce; do
if [ -r ../templates/debian/siduction-art-${k}-CODENAME_SAFE.postinst ]; then
sed -e "s/\@CODENAME_SAFE\@/${NAME}/g" \
../templates/debian/siduction-art-${k}-CODENAME_SAFE.postinst \
> ./debian/siduction-art-${k}-${NAME}.postinst
else
continue
fi
done


# write debian/*.postrm from templates
for k in lightdm lxde wallpaper xfce xsplash; do
if [ -r ../templates/debian/siduction-art-${k}-CODENAME_SAFE.postrm ]; then
sed -e "s/\@CODENAME_SAFE\@/${NAME}/g" \
../templates/debian/siduction-art-${k}-CODENAME_SAFE.postrm \
> ./debian/siduction-art-${k}-${NAME}.postrm
else
continue
fi
done


# create links
for k in lightdm lxde wallpaper xfce xsplash; do
if [ -r ../templates/debian/siduction-art-${k}-CODENAME_SAFE.links ]; then
sed -e "s/\@CODENAME_SAFE\@/${NAME}/g" \
../templates/debian/siduction-art-${k}-CODENAME_SAFE.links \
> ./debian/siduction-art-${k}-${NAME}.links
else
continue
fi
done






sed -e "s/\@CODENAME_SAFE\@/${NAME}/g" \
../templates/artwork/splash-xfce/themerc \
> ./artwork/splash-xfce/themerc


##
## Editable svg's support
##

# Each branch has own background.jpg and elements.svg and those should be added
# in branch svg dir

# edit *svg.in's from templates and push them to ./artwork/svg
for res in 1024x768 1280x1024 1600x1200 1920x1200 ; do
sed -e "s/\@CODENAME_SAFE\@/${DISPLAY}/g" ../templates/artwork/svg/kde-splash-$res.svg \
> ./artwork/svg/kde-splash-$res.svg
done

sed -e "s/\@CODENAME_SAFE\@/${DISPLAY}/g" ../templates/artwork/svg/xfce-splash-logo.svg \
> ./artwork/svg/xfce-splash-logo.svg


#xsplash
ln -sf ../../svg/background.jpg src/


+ 3
- 4
templates/debian/cinnamon-control View File

@@ -3,18 +3,17 @@ Section: graphics
Priority: extra
Maintainer: Alf Gaida <agaida@siduction.org>
Build-Depends: debhelper (>= 9),
Standards-Version: 3.9.7
Standards-Version: 3.9.8
Vcs-Git: git://git.siduction.org/packages/siduction-repository/siduction-art-foo.git
Vcs-Browser: http://git.siduction.org/packages/siduction-repository/siduction-art-foo.git


Package: @CODENAME_SAFE@-cinnamon-artwork
Architecture: all
Pre-Depends:
@CODENAME_SAFE@-grub-theme,
@CODENAME_SAFE@-wallpapers,
Depends:
${misc:Depends},
@CODENAME_SAFE@-grub-theme,
@CODENAME_SAFE@-wallpapers,
siduction-icons,
Recommends:
dmz-cursor-theme

+ 3
- 4
templates/debian/gnome-control View File

@@ -3,18 +3,17 @@ Section: graphics
Priority: extra
Maintainer: Alf Gaida <agaida@siduction.org>
Build-Depends: debhelper (>= 9),
Standards-Version: 3.9.7
Standards-Version: 3.9.8
Vcs-Git: git://git.siduction.org/packages/siduction-repository/siduction-art-foo.git
Vcs-Browser: http://git.siduction.org/packages/siduction-repository/siduction-art-foo.git


Package: @CODENAME_SAFE@-gnome-artwork
Architecture: all
Pre-Depends:
@CODENAME_SAFE@-grub-theme,
@CODENAME_SAFE@-wallpapers,
Depends:
${misc:Depends},
@CODENAME_SAFE@-grub-theme,
@CODENAME_SAFE@-wallpapers,
siduction-icons,
Recommends:
dmz-cursor-theme

+ 9
- 2
templates/debian/grub-theme-control View File

@@ -3,7 +3,7 @@ Section: graphics
Priority: extra
Maintainer: Alf Gaida <agaida@siduction.org>
Build-Depends: debhelper (>= 9),
Standards-Version: 3.9.7
Standards-Version: 3.9.8
Vcs-Git: git://git.siduction.org/packages/siduction-repository/siduction-art-foo.git
Vcs-Browser: http://git.siduction.org/packages/siduction-repository/siduction-art-foo.git

@@ -12,6 +12,13 @@ Package: @CODENAME_SAFE@-grub-theme
Architecture: all
Depends:
${misc:Depends},
@CODENAME_SAFE@-wallpapers,
Description: grub-theme for @CODENAME@
mostly copy from grub-sources

Package: @CODENAME_SAFE@-live-grub-theme
Architecture: all
Depends:
${misc:Depends},
@CODENAME_SAFE@-grub-theme
Description: live grub-theme for @CODENAME@
mostly copy from grub-sources

+ 1
- 1
templates/debian/grub-theme.install View File

@@ -1 +1 @@
build/* usr/share/grub/themes/
build/@CODENAME_SAFE@ usr/share/grub/themes/

+ 3
- 4
templates/debian/kde-control View File

@@ -10,18 +10,17 @@ Build-Depends: debhelper (>= 9),
libxml-parser-perl,
fonts-noto,
fonts-noto-hinted
Standards-Version: 3.9.7
Standards-Version: 3.9.8
Vcs-Git: git://git.siduction.org/packages/siduction-repository/siduction-art-foo.git
Vcs-Browser: http://git.siduction.org/packages/siduction-repository/siduction-art-foo.git

Package: @CODENAME_SAFE@-kde-artwork
Architecture: all
Pre-Depends:
Depends:
${misc:Depends},
@CODENAME_SAFE@-grub-theme,
@CODENAME_SAFE@-ksplash,
@CODENAME_SAFE@-wallpapers,
Depends:
${misc:Depends},
siduction-icons,
Description: KDE theme for @CODENAME@
Release specific metapackage depending on ksplash and KDE themes to be

+ 1
- 2
templates/debian/lightdm-control View File

@@ -10,12 +10,11 @@ Build-Depends: debhelper (>= 9),
libxml-parser-perl,
fonts-noto,
fonts-noto-hinted
Standards-Version: 3.9.7
Standards-Version: 3.9.8
Vcs-Git: git://git.siduction.org/packages/siduction-repository/siduction-art-foo.git
Vcs-Browser: http://git.siduction.org/packages/siduction-repository/siduction-art-foo.git



Package: siduction-art-lightdm-@CODENAME_SAFE@
Architecture: all
Pre-Depends:

+ 3
- 4
templates/debian/lxde-control View File

@@ -3,18 +3,17 @@ Section: graphics
Priority: extra
Maintainer: Alf Gaida <agaida@siduction.org>
Build-Depends: debhelper (>= 9),
Standards-Version: 3.9.7
Standards-Version: 3.9.8
Vcs-Git: git://git.siduction.org/packages/siduction-repository/siduction-art-foo.git
Vcs-Browser: http://git.siduction.org/packages/siduction-repository/siduction-art-foo.git


Package: @CODENAME_SAFE@-@FLAVOUR@-artwork
Architecture: all
Pre-Depends:
@CODENAME_SAFE@-grub-theme,
@CODENAME_SAFE@-wallpapers,
Depends:
${misc:Depends},
@CODENAME_SAFE@-grub-theme,
@CODENAME_SAFE@-wallpapers,
siduction-icons,
breeze-cursor-theme
Description: LXDE theme for @CODENAME@

+ 3
- 3
templates/debian/lxqt-control View File

@@ -3,18 +3,18 @@ Section: graphics
Priority: extra
Maintainer: Alf Gaida <agaida@siduction.org>
Build-Depends: debhelper (>= 9),
Standards-Version: 3.9.7
Standards-Version: 3.9.8
Vcs-Git: git://git.siduction.org/packages/siduction-repository/siduction-art-foo.git
Vcs-Browser: http://git.siduction.org/packages/siduction-repository/siduction-art-foo.git


Package: @CODENAME_SAFE@-@FLAVOUR@-artwork
Architecture: all
Pre-Depends:
Depends:
${misc:Depends},
lxqt-common,
@CODENAME_SAFE@-grub-theme,
@CODENAME_SAFE@-wallpapers,
Depends:
${misc:Depends},
siduction-icons,
breeze-cursor-theme

+ 3
- 4
templates/debian/mate-control View File

@@ -3,18 +3,17 @@ Section: graphics
Priority: extra
Maintainer: Alf Gaida <agaida@siduction.org>
Build-Depends: debhelper (>= 9),
Standards-Version: 3.9.7
Standards-Version: 3.9.8
Vcs-Git: git://git.siduction.org/packages/siduction-repository/siduction-art-foo.git
Vcs-Browser: http://git.siduction.org/packages/siduction-repository/siduction-art-foo.git


Package: @CODENAME_SAFE@-@FLAVOUR@-artwork
Architecture: all
Pre-Depends:
@CODENAME_SAFE@-grub-theme,
@CODENAME_SAFE@-wallpapers,
Depends:
${misc:Depends},
@CODENAME_SAFE@-grub-theme,
@CODENAME_SAFE@-wallpapers,
siduction-icons,
Recommends:
dmz-cursor-theme

+ 1
- 1
templates/debian/wallpapers-control View File

@@ -7,7 +7,7 @@ Build-Depends: debhelper (>= 9),
graphicsmagick-imagemagick-compat,
fonts-noto,
fonts-noto-hinted
Standards-Version: 3.9.7
Standards-Version: 3.9.8
Vcs-Git: git://git.siduction.org/packages/siduction-repository/siduction-art-foo.git
Vcs-Browser: http://git.siduction.org/packages/siduction-repository/siduction-art-foo.git


+ 4
- 7
templates/debian/xfce-control View File

@@ -5,19 +5,18 @@ Maintainer: Alf Gaida <agaida@siduction.org>
Build-Depends: debhelper (>= 9),
inkscape,
graphicsmagick-imagemagick-compat,
Standards-Version: 3.9.7
Standards-Version: 3.9.8
Vcs-Git: git://git.siduction.org/packages/siduction-repository/siduction-art-foo.git
Vcs-Browser: http://git.siduction.org/packages/siduction-repository/siduction-art-foo.git


Package: @CODENAME_SAFE@-@FLAVOUR@-artwork
Architecture: all
Pre-Depends:
Depends:
${misc:Depends},
@CODENAME_SAFE@-grub-theme,
@CODENAME_SAFE@-xsplash,
@CODENAME_SAFE@-wallpapers,
Depends:
${misc:Depends},
siduction-icons,
Recommends:
dmz-cursor-theme
@@ -27,13 +26,11 @@ Description: Xfce theme for @CODENAME@

Package: @CODENAME_SAFE@-xsplash
Architecture: all
Pre-Depends:
xfce4-session,
Depends:
${misc:Depends},
xfce4-session,
Description: Xfce splash theme for the @CODENAME@
Release specific Xfce splash theme, based on the balou theme engine.
.
This package does not override existing theme configurations and needs to be
selected manually.


+ 99
- 7
templates/grub-theme/Makefile View File

@@ -1,14 +1,106 @@
#!/usr/bin/make -f

include VERSION
include ./VERSION

all: clean
all: background logo font icons theme menu slider highlight userpass live
icons: template/icons/*.svg

dir:
mkdir -p build/$(NAME)
cp -a template/* build/$(NAME)

sed -e s/\@NAME\@/\$(NAME)\/g \
./template/theme.txt \
> ./build/${NAME}/theme.txt
iconsdir:
mkdir -p build/$(NAME)/icons

background: dir
inkscape --without-gui \
--export-width=1024 \
--export-height=768 \
--export-png="build/$(NAME)/$@.png" \
svg/$@.svg

logo: dir
inkscape --without-gui \
--export-width=1024 \
--export-height=100 \
--export-png="build/$(NAME)/logo.png" \
svg/logo.svg

userpass: dir
inkscape --without-gui \
--export-png="build/$(NAME)/userpass.png" \
template/userpass.svg

font: dir
grub-mkfont -s 16 -o build/$(NAME)/u_vga16_16.pf2 u_vga16.bdf

slider_n: dir
inkscape --without-gui \
--export-area=0:16:32:32 \
--export-png="build/$(NAME)/slider_n.png" \
template/dot_white.svg

slider_c: dir
inkscape --without-gui \
--export-area=0:16:32:17 \
--export-png="build/$(NAME)/slider_c.png" \
template/dot_white.svg

slider_s: dir
inkscape --without-gui \
--export-area=0:0:32:16 \
--export-png="build/$(NAME)/slider_s.png" \
template/dot_white.svg

slider: slider_n slider_c slider_s

menu_e: dir
inkscape --without-gui \
--export-area=16:16:32:17 \
--export-png="build/$(NAME)/menu_e.png" \
template/dot_black.svg

menu_c: dir
inkscape --without-gui \
--export-area=16:16:17:17 \
--export-png="build/$(NAME)/menu_c.png" \
template/dot_black.svg

menu: menu_c menu_e

highlight_w: dir
inkscape --without-gui \
--export-area=0:0:16:32 \
--export-png="build/$(NAME)/highlight_w.png" \
template/dot_black.svg

highlight_c: dir
inkscape --without-gui \
--export-area=16:0:17:32 \
--export-png="build/$(NAME)/highlight_c.png" \
template/dot_black.svg

highlight_e: dir
inkscape --without-gui \
--export-area=16:0:32:32 \
--export-png="build/$(NAME)/highlight_e.png" \
template/dot_black.svg

highlight: highlight_w highlight_c highlight_e

template/icons/*.svg: iconsdir
inkscape --without-gui \
--export-width=32 \
--export-height=32 \
--export-png="$(patsubst template/icons/%.svg,build/$(NAME)/icons/%.png,$@)" \
$@

theme:
cp template/theme.txt build/$(NAME)

live:
cp -a build/$(NAME) build/$(NAME)-live
cp template/theme-live.txt build/$(NAME)-live/theme.txt


clean:
$(RM) -r build;
$(RM) -r build

+ 0
- 36
templates/grub-theme/template/README View File

@@ -1,36 +0,0 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% GRUB2 gfxmenu default theme by Daniel Tschudi %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Version history:

0.99: first test release

Introduction:
This shall be the default theme for the GRUB2. As the theme format seems to be more stable then before, there is hope that this theme will work
in future version of GRUB2 as well.

Usage:
The font (c.f. theme.txt) required by this theme are not supplied with it,
as they should be generated out of the newest available version at compile time.

Remarks:

All images of the theme have been made by the author using GIMP.

This theme does not contain any text in a fixed language.

As soon as gfxmenu allows it, this theme should be updated to support localised layouts, such as different position for the scrollbar depending on reading direction.

In order to speed up the loading process on smaller resolutions, the starfield.png might be converted in to .jpeg images of different resolution.

This theme is inspired by the work and themes of Jo Shields.

Do not not use the m-word near the ape, ook!

Copyright & Licensing:

Please see the COPYING file

BIN
templates/grub-theme/template/blob_w.png View File


BIN
templates/grub-theme/template/boot_menu_c.png View File


BIN
templates/grub-theme/template/boot_menu_e.png View File


BIN
templates/grub-theme/template/boot_menu_n.png View File


BIN
templates/grub-theme/template/boot_menu_ne.png View File


BIN
templates/grub-theme/template/boot_menu_nw.png View File


BIN
templates/grub-theme/template/boot_menu_s.png View File


BIN
templates/grub-theme/template/boot_menu_se.png View File


BIN
templates/grub-theme/template/boot_menu_sw.png View File


BIN
templates/grub-theme/template/boot_menu_w.png View File


+ 0
- 0
templates/grub-theme/template/dummy-for-module-load.jpg View File


BIN
templates/grub-theme/template/slider_c.png View File


BIN
templates/grub-theme/template/slider_n.png View File


BIN
templates/grub-theme/template/slider_s.png View File


BIN
templates/grub-theme/template/src/blob_nw.xcf View File


BIN
templates/grub-theme/template/src/bootmenu/center.xcf View File


BIN
templates/grub-theme/template/src/bootmenu/corner.xcf View File


BIN
templates/grub-theme/template/src/bootmenu/side.xcf View File


BIN
templates/grub-theme/template/src/slider_c.xcf View File


BIN
templates/grub-theme/template/src/slider_n.xcf View File


BIN
templates/grub-theme/template/src/slider_s.xcf View File


BIN
templates/grub-theme/template/src/terminalbox/center.xcf View File


BIN
templates/grub-theme/template/src/terminalbox/corner.xcf View File


BIN
templates/grub-theme/template/src/terminalbox/side.xcf View File


BIN
templates/grub-theme/template/terminal_box_c.png View File


BIN
templates/grub-theme/template/terminal_box_e.png View File


BIN
templates/grub-theme/template/terminal_box_n.png View File


BIN
templates/grub-theme/template/terminal_box_ne.png View File


BIN
templates/grub-theme/template/terminal_box_nw.png View File


BIN
templates/grub-theme/template/terminal_box_s.png View File


BIN
templates/grub-theme/template/terminal_box_se.png View File


BIN
templates/grub-theme/template/terminal_box_sw.png View File


BIN
templates/grub-theme/template/terminal_box_w.png View File


+ 26
- 70
templates/grub-theme/template/theme.txt View File

@@ -1,79 +1,35 @@
# Default theme for GRUB2
#
# Copyright (C) 2011 Daniel Tschudi
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
message-font: "u_vga16 16"
message-color: "#fff"
message-bg-color: "#000"
terminal-font: "u_vga16 16"
desktop-image: "background.png"
title-text: ""

#general settings
message-font: "DejaVu Sans Regular 12"
message-color: "#000"
message-bg-color: "#fff"
terminal-box: "terminal_box_*.png"
terminal-font: "DejaVu Sans Regular 12"
desktop-image: "/usr/share/wallpapers/@NAME@.jpg"

#help bar at the bottom
+ label {
top = 100%-25
left = 0
width = 100%
height = 20
text = "@KEYMAP_MIDDLE@"
align = "center"
font = "DejaVu Sans Regular 10"
color = "#FFF"
}

#boot menu
+ boot_menu {
left = 10%
width = 80%
left = 15%
top = 20%
height = 50%
item_font = "DejaVu Sans Regular 12"
item_color = "#FF0"
selected_item_font = "DejaVu Sans Bold 14"
selected_item_color= "#F00"
selected_item_pixmap_style = "blob_*.png"
icon_height = 25
icon_width = 25
item_height = 26
width = 75%
height = 60%
item_font = "u_vga16 16"
item_color = "#888"
selected_item_font = "u_vga16 16"
selected_item_color= "#fff"
selected_item_pixmap_style= "highlight_*.png"
icon_height = 28
icon_width = 28
item_height = 32
item_padding = 0
item_icon_space = 0
item_spacing = 1
item_icon_space = 32
item_spacing = 0
scrollbar = true
scrollbar_width = 20
scrollbar_width = 32
scrollbar_thumb = "slider_*.png"
menu_pixmap_style = "boot_menu_*.png"
menu_pixmap_style = "menu_*.png"
}

#progress bar
+ progress_bar {
id = "__timeout__"
left = 15%
top = 80%
height = 20
width = 70%
font = "DejaVu Sans Regular 12"
text_color = "#000"
fg_color = "#fff"
bg_color = "#6ac"
border_color = "#fff"
text = "@TIMEOUT_NOTIFICATION_LONG@"
+ image {
left = 0%
top = 84%
width=100%
file = "logo.png"
}

templates/xsplash/themerc → templates/xsplash/src/themerc View File