From 6a88f7b69377e136d2d8d9a75218bf6a2cc37b34 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Fri, 13 Jul 2012 09:36:45 -0700 Subject: ldm-themes (12.07.1) unstable; urgency=low [ Jonathan Carter ] * Remove all alternatives (Closes: #679208). * Replace murrine gtk theme with mist in greeter-gtkrc. * Replace recommends on gtk2-engines-murrine with gtk2-engines, as it is already used in ldm, and doesn't pull in extraneous Recommends. * Fix typos in package description. * My first upload at a Debconf! :D [ Vagrant Cascadian ] * Remove spacefun theme, as it was never shipped with squeeze. * Remove unnecessary .png files that are already shipped with ldm. * Update debian/copyright to reflect switch to Joy theme. * Finish switching to Joy theme (Closes: #678474). # imported from the archive --- debian/changelog | 35 ++++++++++++++ debian/compat | 1 + debian/control | 19 ++++++++ debian/copyright | 47 +++++++++++++++++++ debian/install | 1 + debian/postinst | 42 +++++++++++++++++ debian/prerm | 40 ++++++++++++++++ debian/rules | 13 ++++++ debian/source/format | 1 + joy/bg.png | Bin 0 -> 187566 bytes joy/greeter-gtkrc | 128 +++++++++++++++++++++++++++++++++++++++++++++++++++ joy/logo.png | Bin 0 -> 3404 bytes 12 files changed, 327 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/install create mode 100644 debian/postinst create mode 100644 debian/prerm create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 joy/bg.png create mode 100644 joy/greeter-gtkrc create mode 100644 joy/logo.png diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..ff83b14 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,35 @@ +ldm-themes (12.07.1) unstable; urgency=low + + [ Jonathan Carter ] + * Remove all alternatives (Closes: #679208). + * Replace murrine gtk theme with mist in greeter-gtkrc. + * Replace recommends on gtk2-engines-murrine with gtk2-engines, as it is + already used in ldm, and doesn't pull in extraneous Recommends. + * Fix typos in package description. + * My first upload at a Debconf! :D + + [ Vagrant Cascadian ] + * Remove spacefun theme, as it was never shipped with squeeze. + * Remove unnecessary .png files that are already shipped with ldm. + * Update debian/copyright to reflect switch to Joy theme. + * Finish switching to Joy theme (Closes: #678474). + + -- Vagrant Cascadian Fri, 13 Jul 2012 10:36:45 -0600 + +ldm-themes (12.06.1) unstable; urgency=low + + [ Jonathan Carter ] + * Add Joy theme + * Set Joy theme as new default theme + * Change versioning to yy.mm.revision + + [ Holger Levsen ] + * Mention Joy theme in package description. + + -- Jonathan Carter Thu, 21 Jun 2012 18:32:45 -0400 + +ldm-themes (0.1) unstable; urgency=low + + * Initial release (Closes: #623770) + + -- Jonathan Carter Fri, 22 Apr 2011 15:33:27 -0400 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..12c2413 --- /dev/null +++ b/debian/control @@ -0,0 +1,19 @@ +Source: ldm-themes +Section: misc +Priority: optional +Maintainer: LTSP Debian/Ubuntu Maintainers +Uploaders: Jonathan Carter , Vagrant Cascadian +Build-Depends: debhelper (>= 7.0.50~) +Standards-Version: 3.9.2 + +Package: ldm-themes +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: gtk2-engines +Description: Collection of themes for the LTSP login manager + LDM is the LTSP Display Manager. It manages logins to + sessions hosted on remote machines. + . + This package currently provides the following themes: + - Joy + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..8106df5 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,47 @@ +Format: http://dep.debian.net/deps/dep5 + +Source: Artwork source images can be found at: + http://wiki.debian.org/DebianArt/Themes/Joy + +Files: joy/* +Copyright: 2012 Adrien Aubourg +License: GPLv2 + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; version 2. + . + On Debian systems, a copy of the GNU General Public License version + 2 may be found in the file /usr/share/common-licenses/GPL-2. + +Files: joy/greeter-gtkrc +Copyright: Kenneth Wimer + Conn O'Griofa + Jonathan Carter + Dave Camp +License: GPLv2 + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; version 2. + . + On Debian systems, a copy of the GNU General Public License version + 2 may be found in the file /usr/share/common-licenses/GPL-2. + +Files: debian/* +Copyright: 2011-2012 Jonathan Carter + 2012 Vagrant Cascadian +License: GPL-2+ + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see + . + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". diff --git a/debian/install b/debian/install new file mode 100644 index 0000000..f1f862f --- /dev/null +++ b/debian/install @@ -0,0 +1 @@ +joy usr/share/ldm/themes diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..45cf179 --- /dev/null +++ b/debian/postinst @@ -0,0 +1,42 @@ +#!/bin/sh +# postinst script for ldm-themes +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-remove' +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + configure) + update-alternatives \ + --install /usr/share/ldm/themes/default \ + ldm-theme /usr/share/ldm/themes/joy 80 +;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 diff --git a/debian/prerm b/debian/prerm new file mode 100644 index 0000000..6c97e0c --- /dev/null +++ b/debian/prerm @@ -0,0 +1,40 @@ +#!/bin/sh +# prerm script for ldm-themes +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|deconfigure|failed-upgrade) + update-alternatives --remove ldm-theme \ + /usr/share/ldm/themes/joy + ;; + + upgrade) + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..b760bee --- /dev/null +++ b/debian/rules @@ -0,0 +1,13 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +%: + dh $@ diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/joy/bg.png b/joy/bg.png new file mode 100644 index 0000000..f101934 Binary files /dev/null and b/joy/bg.png differ diff --git a/joy/greeter-gtkrc b/joy/greeter-gtkrc new file mode 100644 index 0000000..290ac20 --- /dev/null +++ b/joy/greeter-gtkrc @@ -0,0 +1,128 @@ +gtk_color_scheme = "fg_color:#ffffff\nbg_color:#424242\nbase_color:#FFF\ntext_color:#000000\nselected_bg_color:#c8c8c9\nselected_fg_color:#1A1A1A\ntooltip_bg_color:#F5F5B5\ntooltip_fg_color:#000" + +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] = shade (0.95, @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 "**" 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 "*.." 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 "**" 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 "*" style "mist-fg-is-text-color-workaround" + + diff --git a/joy/logo.png b/joy/logo.png new file mode 100644 index 0000000..9d2a894 Binary files /dev/null and b/joy/logo.png differ -- cgit v1.2.3