Commit 010c8a7f authored by Alexandra Panyukova's avatar Alexandra Panyukova

gnome settings added

parent ab4f1253
...@@ -142,6 +142,17 @@ Conflicts: %(for n in %variants ; do [ "$n" = %brand-%theme ] || echo -n "brandi ...@@ -142,6 +142,17 @@ Conflicts: %(for n in %variants ; do [ "$n" = %brand-%theme ] || echo -n "brandi
%description kde3-settings %description kde3-settings
KDE3 settings for %Brand %version %Theme KDE3 settings for %Brand %version %Theme
%package gnome-settings
Summary: GNOME settings for %Brand %version %Theme
License: Distributable
Group: Graphical desktop/KDE
Requires: gtk2-theme-mist
Conflicts: %(for n in %variants ; do [ "$n" = %brand-%theme ] || echo -n "branding-$n-kde3-settings ";done )
%description gnome-settings
GNOME settings for %Brand %version %Theme
%package slideshow %package slideshow
Summary: Slideshow for %Brand %version %Theme installer Summary: Slideshow for %Brand %version %Theme installer
...@@ -180,7 +191,7 @@ ALT Linux index.html welcome page. ...@@ -180,7 +191,7 @@ ALT Linux index.html welcome page.
%build %build
autoconf autoconf
THEME=%theme NAME='%Theme' BRAND_FNAME='ALT Linux' STATUS_EN=%status_en STATUS=%status VERSION=%version ./configure THEME=%theme NAME='%Theme' BRAND_FNAME='%Brand' BRAND='%brand' STATUS_EN=%status_en STATUS=%status VERSION=%version ./configure
make make
#bootloader #bootloader
...@@ -292,6 +303,16 @@ install -m 644 *.png %buildroot/%_datadir/apps/ksplash/Themes/ALTLinux%Theme/ ...@@ -292,6 +303,16 @@ install -m 644 *.png %buildroot/%_datadir/apps/ksplash/Themes/ALTLinux%Theme/
install -m 644 *.rc %buildroot/%_datadir/apps/ksplash/Themes/ALTLinux%Theme/ install -m 644 *.rc %buildroot/%_datadir/apps/ksplash/Themes/ALTLinux%Theme/
popd popd
#gnome-settings
pushd gnome-settings
mkdir -p %buildroot/%_datadir/themes/theme-%brand-%theme
mkdir -p %buildroot/%_datadir/themes/theme-%brand-%theme/gtk-2.0
install -m 644 gtkrc %buildroot/%_datadir/themes/theme-%brand-%theme/gtk-2.0
mkdir -p %buildroot/%_datadir/themes/theme-%brand-%theme/metacity-1
install -m 644 metacity-theme-1.xml %buildroot/%_datadir/themes/theme-%brand-%theme/metacity-1/
install -m 644 index.theme %buildroot/%_datadir/themes/theme-%brand-%theme/
popd
#slideshow #slideshow
mkdir -p %buildroot/usr/share/install2/slideshow mkdir -p %buildroot/usr/share/install2/slideshow
install slideshow/* %buildroot/usr/share/install2/slideshow/ install slideshow/* %buildroot/usr/share/install2/slideshow/
...@@ -372,6 +393,9 @@ echo $lang > lang ...@@ -372,6 +393,9 @@ echo $lang > lang
%_sysconfdir/skel/.kde %_sysconfdir/skel/.kde
%_datadir/apps/ksplash/Themes/ALTLinux%Theme/* %_datadir/apps/ksplash/Themes/ALTLinux%Theme/*
%files gnome-settings
%_datadir/themes/theme-%brand-%theme/*
%files slideshow %files slideshow
/usr/share/install2/slideshow /usr/share/install2/slideshow
...@@ -383,6 +407,7 @@ echo $lang > lang ...@@ -383,6 +407,7 @@ echo $lang > lang
%changelog %changelog
* Fri May 29 2009 Alexandra Panyukova <mex3@altlinux.ru> 5.0.0-alt17 * Fri May 29 2009 Alexandra Panyukova <mex3@altlinux.ru> 5.0.0-alt17
- kde3-settings and splash for kde3 added - kde3-settings and splash for kde3 added
- gnome-settngs added
* Wed May 13 2009 Alexandra Panyukova <mex3@altlinux.ru> 5.0.0-alt16 * Wed May 13 2009 Alexandra Panyukova <mex3@altlinux.ru> 5.0.0-alt16
- %setup fixed from boyarsh@ - %setup fixed from boyarsh@
......
...@@ -51,6 +51,9 @@ AC_CONFIG_FILES([ ...@@ -51,6 +51,9 @@ AC_CONFIG_FILES([
indexhtml/index-uk.html indexhtml/index-uk.html
indexhtml/index-en.html indexhtml/index-en.html
indexhtml/index.css indexhtml/index.css
gnome-settings/gtkrc
gnome-settings/index.theme
gnome-settings/metacity-theme-1.xml
alterator/styles/alterator.css alterator/styles/alterator.css
kde3-styles-splash/Theme.rc kde3-styles-splash/Theme.rc
]) ])
......
gtk-color-scheme =
"bg_color:#eaeaea\nfg_color:#000\nbase_color:#fff\ntext_color:#000\nselected_fg_color:#fff\nselected_bg_color:@MIDDLE_COLOR_HEX@"
style "default"
{
fg[NORMAL] = @fg_color
fg[ACTIVE] = @fg_color
fg[INSENSITIVE] = mix (0.4, @fg_color, shade (0.85, @bg_color)) #shaded to bg[INSENSITIVE]
fg[PRELIGHT] = @fg_color
fg[SELECTED] = @selected_fg_color
bg[ACTIVE] = shade (0.9, @bg_color)
bg[NORMAL] = @bg_color
bg[INSENSITIVE] = shade (0.95, @bg_color)
bg[PRELIGHT] = shade (1.03, @bg_color)
bg[SELECTED] = @selected_bg_color
base[NORMAL] = @base_color
base[ACTIVE] = shade (0.9, @selected_bg_color)
base[INSENSITIVE] = @base_color
base[PRELIGHT] = @bg_color
base[SELECTED] = @selected_bg_color
text[NORMAL] = @text_color
text[ACTIVE] = @text_color
text[PRELIGHT] = @text_color
text[SELECTED] = @selected_fg_color
text[INSENSITIVE] = mix (0.5, @text_color, @base_color)
GtkRange::trough_border = 0
GtkRange::slider_width = 15
GtkRange::stepper_size = 15
GtkEntry::progress-border = { 0, 0, 0, 0 }
GtkScrollbar::min_slider_length = 15
GtkCheckButton::indicator_size=10
GtkCheckMenuItem::indicator_size=10
GtkRadioButton::indicator_size=12
GtkNotebook::tab_vborder = 1
GtkNotebook::tab_hborder = 1
xthickness = 1
ythickness = 1
NautilusIconContainer::dark_info_color="#888888"
NautilusIconContainer::light_info_color="#bbbbbb"
NautilusIconContainer::highlight_alpha=200
GtkMenu::horizontal_padding=0
GtkMenu::vertical_padding=0
engine "mist"
{
}
}
style "menuitem"
{
ythickness = 2
xthickness = 2
fg[PRELIGHT] = @selected_fg_color
}
style "menu"
{
ythickness = 2
xthickness = 2
}
style "entry"
{
bg[SELECTED] = mix(0.35, @selected_bg_color, @base_color)
fg[SELECTED] = @text_color
}
class "GtkWidget" style "default"
class "GtkMenu" style "menu"
class "GtkEntry" style "entry"
widget_class "*<GtkMenuItem>*" style "menuitem"
# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
# Note that the work around assumes that the combobox is _not_ in
# appears-as-list mode.
# This style does not affect GtkComboBoxEntry, it does have an effect
# on comboboxes in appears-as-list mode though.
style "mist-text-is-fg-color-workaround"
{
text[NORMAL] = @fg_color
text[ACTIVE] = @fg_color
text[INSENSITIVE] = mix (0.4, @fg_color, shade (0.85, @bg_color)) #shaded to bg[INSENSITIVE]
text[PRELIGHT] = @fg_color
text[SELECTED] = @selected_fg_color
}
widget_class "*.<GtkComboBox>.<GtkCellView>" style "mist-text-is-fg-color-workaround"
style "mist-menuitem-text-is-fg-color-workaround"
{
text[NORMAL] = @fg_color
text[ACTIVE] = @fg_color
text[INSENSITIVE] = mix (0.4, @fg_color, shade (0.85, @bg_color)) #shaded to bg[INSENSITIVE]
text[PRELIGHT] = @selected_fg_color
text[SELECTED] = @selected_fg_color
}
widget "*.gtk-combobox-popup-menu.*" style "mist-menuitem-text-is-fg-color-workaround"
# Work around the usage of GtkLabel inside GtkListItems to display text.
# This breaks because the label is shown on a background that is based on the
# base color set.
style "mist-fg-is-text-color-workaround"
{
fg[NORMAL] = @text_color
fg[ACTIVE] = @text_color
fg[PRELIGHT] = @text_color
fg[SELECTED] = @selected_fg_color
fg[INSENSITIVE] = mix (0.5, @text_color, @base_color)
}
widget_class "*<GtkListItem>*" style "mist-fg-is-text-color-workaround"
# The same problem also exists for GtkCList and GtkCTree
# Only match GtkCList and not the parent widgets, because that would also change the headers.
widget_class "*<GtkCList>" style "mist-fg-is-text-color-workaround"
[X-GNOME-Metatheme]
Name=@BRAND@-@THEME@
Type=X-GNOME-Metatheme
Comment=Theme for @BRAND_FNAME@ @NAME@
Encoding=UTF-8
GtkTheme=@BRAND_FNAME@ @NAME@
MetacityTheme=@BRAND@-@THEME@
IconTheme=Mist
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment