summaryrefslogtreecommitdiffstats
path: root/ubuntu/_base/applications/system/tdepowersave
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2021-07-05 00:28:13 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2021-07-05 00:28:13 +0900
commit0cf700f49d6437ea21867ae6300c7056eadfbd97 (patch)
treedec8bff7ef4366370de0ad280d6395c363ce1f3f /ubuntu/_base/applications/system/tdepowersave
parente52d0aefda74071dece63a038079503cdc2cc905 (diff)
downloadtde-packaging-0cf700f49d6437ea21867ae6300c7056eadfbd97.tar.gz
tde-packaging-0cf700f49d6437ea21867ae6300c7056eadfbd97.zip
Rearranged applications folder into sub categories.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ubuntu/_base/applications/system/tdepowersave')
-rw-r--r--ubuntu/_base/applications/system/tdepowersave/debian/acpi-support/policy-funcs67
-rw-r--r--ubuntu/_base/applications/system/tdepowersave/debian/cdbs/debian-tde.mk246
-rw-r--r--ubuntu/_base/applications/system/tdepowersave/debian/cdbs/versions.pl19
-rw-r--r--ubuntu/_base/applications/system/tdepowersave/debian/changelog6
-rw-r--r--ubuntu/_base/applications/system/tdepowersave/debian/compat1
-rw-r--r--ubuntu/_base/applications/system/tdepowersave/debian/control41
-rw-r--r--ubuntu/_base/applications/system/tdepowersave/debian/copyright28
-rw-r--r--ubuntu/_base/applications/system/tdepowersave/debian/install2
-rw-r--r--ubuntu/_base/applications/system/tdepowersave/debian/menu7
-rw-r--r--ubuntu/_base/applications/system/tdepowersave/debian/patches/series0
-rw-r--r--ubuntu/_base/applications/system/tdepowersave/debian/postrm26
-rw-r--r--ubuntu/_base/applications/system/tdepowersave/debian/preinst49
-rwxr-xr-xubuntu/_base/applications/system/tdepowersave/debian/rules23
-rw-r--r--ubuntu/_base/applications/system/tdepowersave/debian/source/format1
-rw-r--r--ubuntu/_base/applications/system/tdepowersave/debian/source/options6
-rw-r--r--ubuntu/_base/applications/system/tdepowersave/debian/tdepowersave-trinity.linda4
-rw-r--r--ubuntu/_base/applications/system/tdepowersave/debian/tdepowersave-trinity.lintian5
-rw-r--r--ubuntu/_base/applications/system/tdepowersave/debian/tdepowersave-trinity.postinst13
-rw-r--r--ubuntu/_base/applications/system/tdepowersave/debian/tdepowersave.xpm628
19 files changed, 1172 insertions, 0 deletions
diff --git a/ubuntu/_base/applications/system/tdepowersave/debian/acpi-support/policy-funcs b/ubuntu/_base/applications/system/tdepowersave/debian/acpi-support/policy-funcs
new file mode 100644
index 000000000..8b9f13762
--- /dev/null
+++ b/ubuntu/_base/applications/system/tdepowersave/debian/acpi-support/policy-funcs
@@ -0,0 +1,67 @@
+. /usr/share/acpi-support/power-funcs
+
+CheckUPowerPolicy() {
+ pidof upowerd > /dev/null
+}
+
+# The (not very aptly named) function CheckPolicy checks if the current X
+# console user is running a power management daemon that handles suspend/resume
+# requests. This is used in various places to determine if we need to handle
+# something ourselves or if we need to pass the info on to a power management
+# daemon (e.g. through a fake key press).
+
+CheckPolicy() {
+ local PMS
+
+ getXconsole
+ PMS="/usr/bin/gnome-power-manager /usr/bin/kpowersave /usr/bin/xfce4-power-manager"
+ PMS="$PMS /usr/bin/guidance-power-manager /usr/lib/dalston/dalston-power-applet"
+ PMS="$PMS /opt/trinity/bin/tdepowersave"
+ pidof -x $PMS > /dev/null ||
+ { test "$XUSER" != "" &&
+ pidof dcopserver > /dev/null &&
+ test -x /opt/trinity/bin/dcop &&
+ /opt/trinity/bin/dcop --user $XUSER kded kded loadedModules | grep -q klaptopdaemon; } ||
+ PowerDevilRunning ||
+ GnomeSettingsDaemonPowerRunning
+}
+
+# Find a DBUS session bus, by looking at the given process' environment and
+# then send a message to that bus. If multiple processes match the given name,
+# the message is sent to all of the buses (and output is simply concatenated.
+DBusSend() {
+ # The process to get the DBUS session address from
+ local PROC_NAME="$1"
+
+ # Parameters for dbus-send
+ local DEST="$2"
+ local DBUS_PATH="$3"
+ local METHOD="$4"
+
+ test -x /usr/bin/dbus-send || return 1
+
+ local DBUS_SESS
+ for p in $(pidof "$PROC_NAME"); do
+ test -r /proc/$p/environ || continue
+ DBUS_SESS=$(grep -a -z "DBUS_SESSION_BUS_ADDRESS=" /proc/$p/environ || :)
+ test "$DBUS_SESS" != "" || continue
+ su $(ps -o user= $p) -s /bin/sh -c "$DBUS_SESS dbus-send --print-reply --dest='$DEST' '$DBUS_PATH' '$METHOD'"
+ done
+}
+
+# Ask kde if the powerdevil module is loaded
+PowerDevilRunning() {
+ DBusSend kded4 org.kde.kded /kded org.kde.kded.loadedModules | grep -q powerdevil
+}
+
+# gnome-power-manager was integrated into gnome-settings-daemon from version
+# 3.1.4, in a new Power plugin (though the handling of buttons is done in the
+# MediaKeys plugin.
+#
+# gnome-settings-daemon does not export a list of loaded plugins, but
+# fortunately the Power plugin does have its own Dbus interface we can check
+# for (We can't check the MediaKeys plugin, since that has been around for
+# longer).
+GnomeSettingsDaemonPowerRunning() {
+ DBusSend gnome-settings-daemon org.gnome.SettingsDaemon /org/gnome/SettingsDaemon/Power org.freedesktop.DBus.Introspectable.Introspect | grep -q 'interface name="org.gnome.SettingsDaemon.Power"'
+}
diff --git a/ubuntu/_base/applications/system/tdepowersave/debian/cdbs/debian-tde.mk b/ubuntu/_base/applications/system/tdepowersave/debian/cdbs/debian-tde.mk
new file mode 100644
index 000000000..f36e3527c
--- /dev/null
+++ b/ubuntu/_base/applications/system/tdepowersave/debian/cdbs/debian-tde.mk
@@ -0,0 +1,246 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2003 Christopher L Cheney <ccheney@debian.org>
+# Copyright © 2019 TDE Team
+# Description: A class for TDE packages; sets TDE environment variables, etc
+#
+# 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; either version 2, or (at
+# your option) any later version.
+#
+# This program 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, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+ifndef _cdbs_bootstrap
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+endif
+
+ifndef _cdbs_class_debian-qt-kde
+_cdbs_class_debian-qt-kde := 1
+
+# for dh_icons
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), debhelper (>= 5.0.7ubuntu4)
+
+# Note: This _must_ be included before autotools.mk, or it won't work.
+common-configure-arch common-configure-indep:: debian/stamp-cvs-make
+debian/stamp-cvs-make:
+ifndef _cdbs_class_cmake
+ cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
+ $(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
+endif
+ touch debian/stamp-cvs-make
+
+include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
+
+ifdef _cdbs_tarball_dir
+DEB_BUILDDIR = $(_cdbs_tarball_dir)/obj-$(DEB_BUILD_GNU_TYPE)
+else
+DEB_BUILDDIR = obj-$(DEB_BUILD_GNU_TYPE)
+endif
+
+ifndef _cdbs_class_cmake
+include $(_cdbs_class_path)/autotools.mk$(_cdbs_makefile_suffix)
+endif
+
+ifdef _cdbs_class_cmake
+ifneq "$(wildcard /usr/bin/ninja)" ""
+MAKE = ninja -v
+DEB_MAKE_ENVVARS += DESTDIR=$(DEB_DESTDIR)
+DEB_MAKE_INSTALL_TARGET = install
+DEB_CMAKE_NORMAL_ARGS += -GNinja
+endif
+endif
+
+ifndef _cdbs_rules_patchsys_quilt
+DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
+
+export kde_cgidir = \$${libdir}/cgi-bin
+export kde_confdir = \$${sysconfdir}/trinity
+export kde_htmldir = \$${datadir}/doc/tde/HTML
+
+DEB_KDE_ENABLE_FINAL := yes
+DEB_INSTALL_DOCS_ALL :=
+
+DEB_DH_MAKESHLIBS_ARGS_ALL := -V
+DEB_SHLIBDEPS_INCLUDE = $(foreach p,$(PACKAGES_WITH_LIBS),debian/$(p)/usr/lib)
+
+DEB_AC_AUX_DIR = $(DEB_SRCDIR)/admin
+DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include"
+DEB_COMPRESS_EXCLUDE = .dcl .docbook -license .tag .sty .el
+
+# The default gzip compressor has been changed in dpkg >= 1.17.0.
+deb_default_compress = $(shell LANG=C dpkg-deb --version | head -n1 | \
+ sed -e "s|.*version ||" -e "s| .*||" | \
+ xargs -r dpkg --compare-versions 1.17.0 lt \
+ && echo xz || echo gzip)
+ifeq ($(deb_default_compress),gzip)
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+endif
+
+ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ cdbs_treat_me_gently_arches := arm m68k alpha ppc64 armel armeb
+ ifeq (,$(filter $(DEB_HOST_ARCH_CPU),$(cdbs_treat_me_gently_arches)))
+ cdbs_kde_enable_final = $(if $(DEB_KDE_ENABLE_FINAL),--enable-final,)
+ else
+ cdbs_kde_enable_final =
+ endif
+endif
+
+ifneq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_final =
+ cdbs_kde_enable_debug = --enable-debug=yes
+else
+ cdbs_kde_enable_debug = --disable-debug
+endif
+
+ifneq (,$(filter debug,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_debug = --enable-debug=full
+endif
+
+DEB_BUILD_PARALLEL ?= true
+
+cdbs_configure_flags += \
+ --with-qt-dir=/usr/share/qt3 \
+ --disable-rpath \
+ --with-xinerama \
+ $(cdbs_kde_enable_final) \
+ $(cdbs_kde_enable_debug)
+
+
+# This is a convenience target for calling manually.
+# It's not part of the build process.
+buildprep: clean apply-patches
+ifndef _cdbs_class_cmake
+ $(MAKE) -f admin/Makefile.common dist
+endif
+ debian/rules clean
+
+.tdepkginfo:
+ echo "# TDE package information" >.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Source: |Name: |p" >>.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Version: |Version: |p" >>.tdepkginfo
+ date +"DateTime: %m/%d/%Y %H:%M" -u -d "$$(dpkg-parsechangelog | sed -n 's|^Date: ||p')" >>.tdepkginfo
+
+post-patches:: .tdepkginfo
+
+common-build-arch:: debian/stamp-man-pages
+debian/stamp-man-pages:
+ if ! test -d debian/man/out; then mkdir -p debian/man/out; fi
+ for f in $$(find debian/man -name '*.sgml'); do \
+ docbook-to-man $$f > debian/man/out/`basename $$f .sgml`.1; \
+ done
+ for f in $$(find debian/man -name '*.man'); do \
+ soelim -I debian/man $$f \
+ > debian/man/out/`basename $$f .man`.`head -n1 $$f | awk '{print $$NF}'`; \
+ done
+ touch debian/stamp-man-pages
+
+common-binary-indep::
+ ( set -e; \
+ tmpf=`mktemp debian/versions.XXXXXX`; \
+ perl debian/cdbs/versions.pl >$$tmpf; \
+ for p in $(DEB_INDEP_PACKAGES); do \
+ cat $$tmpf >>debian/$$p.substvars; \
+ done; \
+ rm -f $$tmpf )
+
+common-binary-arch::
+ ( set -e; \
+ tmpf=`mktemp debian/versions.XXXXXX`; \
+ perl debian/cdbs/versions.pl >$$tmpf; \
+ for p in $(DEB_ARCH_PACKAGES); do \
+ cat $$tmpf >>debian/$$p.substvars; \
+ done; \
+ rm -f $$tmpf )
+ # update multi-arch path in install files
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
+ [ -d $$a ] || [ -f $$a.arch ] || \
+ ! grep -q "\$$(DEB_HOST_MULTIARCH)" $$a || \
+ sed -i.arch "s|\$$(DEB_HOST_MULTIARCH)|$(DEB_HOST_MULTIARCH)|g" $$a; \
+ done
+
+clean::
+ rm -rf debian/man/out
+ -rmdir debian/man
+ rm -f debian/stamp-man-pages
+ rm -rf debian/shlibs-check
+ # revert multi-arch path in install files
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
+ [ ! -f $$a.arch ] || \
+ mv $$a.arch $$a; \
+ done
+
+$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
+ if test -x /usr/bin/dh_icons; then dh_icons -p$(cdbs_curpkg) $(DEB_DH_ICONCACHE_ARGS); fi
+ if test -x /usr/bin/dh_desktop; then dh_desktop -p$(cdbs_curpkg) $(DEB_DH_DESKTOP_ARGS); fi
+ if test -e debian/$(cdbs_curpkg).lintian; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).lintian \
+ debian/$(cdbs_curpkg)/usr/share/lintian/overrides/$(cdbs_curpkg); \
+ fi
+ if test -e debian/$(cdbs_curpkg).presubj; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).presubj \
+ debian/$(cdbs_curpkg)/usr/share/bug/$(cdbs_curpkg)/presubj; \
+ fi
+
+binary-install/$(DEB_SOURCE_PACKAGE)-doc-html::
+ set -e; \
+ for doc in `cd $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en; find . -name index.docbook`; do \
+ pkg=$${doc%/index.docbook}; pkg=$${pkg#./}; \
+ echo Building $$pkg HTML docs...; \
+ mkdir -p $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ cd $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ /opt/trinity/bin/meinproc $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en/$$pkg/index.docbook; \
+ done
+ for pkg in $(DOC_HTML_PRUNE) ; do \
+ rm -rf debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ done
+
+common-build-indep:: debian/stamp-kde-apidox
+debian/stamp-kde-apidox:
+ $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) apidox)
+ touch $@
+
+common-install-indep:: common-install-kde-apidox
+common-install-kde-apidox::
+ $(if $(DEB_KDE_APIDOX),+DESTDIR=$(DEB_DESTDIR) $(DEB_MAKE_INVOKE) install-apidox)
+
+cleanbuilddir::
+ -$(if $(call cdbs_streq,$(DEB_BUILDDIR),$(DEB_SRCDIR)),,rm -rf $(DEB_BUILDDIR))
+
+clean::
+ifndef _cdbs_class_cmake
+ if test -n "$(DEB_KDE_CVS_MAKE)" && test -d $(DEB_SRCDIR); then \
+ cd $(DEB_SRCDIR); \
+ find . -name Makefile.in -print | \
+ xargs --no-run-if-empty rm -f; \
+ rm -f Makefile.am acinclude.m4 aclocal.m4 config.h.in \
+ configure configure.files configure.in stamp-h.in \
+ subdirs; \
+ fi
+endif
+ rm -f .tdepkginfo
+ rm -f debian/stamp-kde-apidox
+ rm -f debian/stamp-cvs-make
+
+endif
diff --git a/ubuntu/_base/applications/system/tdepowersave/debian/cdbs/versions.pl b/ubuntu/_base/applications/system/tdepowersave/debian/cdbs/versions.pl
new file mode 100644
index 000000000..1b110f7af
--- /dev/null
+++ b/ubuntu/_base/applications/system/tdepowersave/debian/cdbs/versions.pl
@@ -0,0 +1,19 @@
+#!/usr/bin/env perl
+
+use strict;
+use warnings;
+
+my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`;
+my ($version3, $version3_next);
+my ($version2, $version2_next);
+
+($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/;
+($version2 = $version3) =~ s/\.[^.]+$//;
+
+($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e;
+($version2_next = $version2) =~ s/(?<=\.)(\d+)$/($1+1)/e;
+
+print "TDE-Version3=$version3\n";
+print "TDE-Version2=$version2\n";
+print "TDE-Next-Version3=$version3_next\n";
+print "TDE-Next-Version2=$version2_next\n";
diff --git a/ubuntu/_base/applications/system/tdepowersave/debian/changelog b/ubuntu/_base/applications/system/tdepowersave/debian/changelog
new file mode 100644
index 000000000..66a1994bc
--- /dev/null
+++ b/ubuntu/_base/applications/system/tdepowersave/debian/changelog
@@ -0,0 +1,6 @@
+tdepowersave-trinity (0.7.3-0ubuntu3) karmic; urgency=low
+
+ * Karmic rebuild
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 02 Jul 2009 16:08:00 -0600
+
diff --git a/ubuntu/_base/applications/system/tdepowersave/debian/compat b/ubuntu/_base/applications/system/tdepowersave/debian/compat
new file mode 100644
index 000000000..ec635144f
--- /dev/null
+++ b/ubuntu/_base/applications/system/tdepowersave/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/ubuntu/_base/applications/system/tdepowersave/debian/control b/ubuntu/_base/applications/system/tdepowersave/debian/control
new file mode 100644
index 000000000..4a715d99b
--- /dev/null
+++ b/ubuntu/_base/applications/system/tdepowersave/debian/control
@@ -0,0 +1,41 @@
+Source: tdepowersave-trinity
+Section: tde
+Priority: optional
+Maintainer: TDE Debian Team <team-debian@trinitydesktop.org>
+XSBC-Original-Maintainer: Michael Biebl <biebl@debian.org>
+Build-Depends: cdbs, debhelper (>= 9~), quilt, cmake-trinity, ninja-build, tdelibs14-trinity-dev, libxss-dev, libxtst-dev, libdbus-1-dev (>= 0.6), libdbus-1-tqt-dev
+Standards-Version: 3.8.4
+Homepage: http://sourceforge.net/projects/powersave/
+
+Package: tdepowersave-trinity
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Conflicts: kpowersave-trinity, kpowersave-nohal-trinity
+Description: Power management applet for Trinity
+ TDEPowersave is a TDE systray applet which allows to control the power
+ management settings and policies of your computer.
+ It relies on the TDE hardware library to do the heavy lifting.
+ .
+ Current feature list:
+ * support for ACPI, APM and PMU
+ * trigger suspend to disk/ram and standby
+ * switch cpu frequency policy (between: performance, dynamic and powersave)
+ * applet icon with information about AC state, battery fill and battery
+ (warning) states
+ * applet tooltip with information about battery fill and remaining battery
+ time/percentage
+ * autosuspend (to suspend the machine if the user has been inactive for a
+ defined time)
+ * a global configurable blacklist with programs which prevent autosuspend
+ (e.g. videoplayer and cd burning tools)
+ * trigger lock screen and select the lock method
+ * KNotify support
+ * online help
+ * localisations for many languages
+ TDEPowersave supports schemes with following configurable specific
+ settings for:
+ * screensaver
+ * DPMS
+ * autosuspend
+ * scheme specific blacklist for autosuspend
+ * notification settings
diff --git a/ubuntu/_base/applications/system/tdepowersave/debian/copyright b/ubuntu/_base/applications/system/tdepowersave/debian/copyright
new file mode 100644
index 000000000..a1557e62e
--- /dev/null
+++ b/ubuntu/_base/applications/system/tdepowersave/debian/copyright
@@ -0,0 +1,28 @@
+This package was debianized by Michael Biebl <biebl@teco.edu> on
+Sun, 25 Sep 2005 01:12:21 +0200.
+
+It was downloaded from http://sourceforge.net/projects/powersave/
+
+Copyright Holders:
+ Danny Kukawka <dkukawka@suse.de>
+ Thomas Renninger <trenn@suse.de>
+
+License:
+
+ 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 package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
diff --git a/ubuntu/_base/applications/system/tdepowersave/debian/install b/ubuntu/_base/applications/system/tdepowersave/debian/install
new file mode 100644
index 000000000..a07d0d86c
--- /dev/null
+++ b/ubuntu/_base/applications/system/tdepowersave/debian/install
@@ -0,0 +1,2 @@
+debian/tdepowersave.xpm opt/trinity/share/pixmaps
+debian/acpi-support/policy-funcs usr/share/acpi-support
diff --git a/ubuntu/_base/applications/system/tdepowersave/debian/menu b/ubuntu/_base/applications/system/tdepowersave/debian/menu
new file mode 100644
index 000000000..0a4ee7ee2
--- /dev/null
+++ b/ubuntu/_base/applications/system/tdepowersave/debian/menu
@@ -0,0 +1,7 @@
+?package(tdepowersave-trinity):\
+ needs="X11"\
+ section="Applications/System/Monitoring"\
+ title="TDEPowersave"\
+ longtitle="Battery monitor and general power management"\
+ icon="/opt/trinity/share/pixmaps/tdepowersave.xpm"\
+ command="/opt/trinity/bin/tdepowersave"
diff --git a/ubuntu/_base/applications/system/tdepowersave/debian/patches/series b/ubuntu/_base/applications/system/tdepowersave/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/_base/applications/system/tdepowersave/debian/patches/series
diff --git a/ubuntu/_base/applications/system/tdepowersave/debian/postrm b/ubuntu/_base/applications/system/tdepowersave/debian/postrm
new file mode 100644
index 000000000..951550174
--- /dev/null
+++ b/ubuntu/_base/applications/system/tdepowersave/debian/postrm
@@ -0,0 +1,26 @@
+#! /bin/sh
+
+set -e
+
+package_name=tdepowersave-trinity
+
+if [ -z "$package_name" ]; then
+ print >&2 "Internal Error. Please report a bug."
+ exit 1;
+fi
+
+case "$1" in
+ remove)
+ dpkg-divert --package $package_name --rename --remove /usr/share/acpi-support/policy-funcs
+ ;;
+ purge)
+ ;;
+ upgrade)
+ ;;
+ *) echo "$0: didn't understand being called with \`$1'" 1>&2
+ exit 0;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff --git a/ubuntu/_base/applications/system/tdepowersave/debian/preinst b/ubuntu/_base/applications/system/tdepowersave/debian/preinst
new file mode 100644
index 000000000..baf2826fc
--- /dev/null
+++ b/ubuntu/_base/applications/system/tdepowersave/debian/preinst
@@ -0,0 +1,49 @@
+#! /bin/sh
+
+set -e
+
+package_name=tdepowersave-trinity
+
+if [ -z "$package_name" ]; then
+ print >&2 "Internal Error. Please report a bug."
+ exit 1;
+fi
+
+case "$1" in
+ install)
+ # remove obsolete divert for acpid
+ divert=`dpkg-divert --listpackage "/etc/acpi/powerbtn.sh"`
+ if [ -n "$divert" ] && [ "$divert" = "LOCAL" ]; then
+ dpkg-divert --remove --local --rename "/etc/acpi/powerbtn.sh"
+ fi
+
+ # create new divert for acpi-support-base
+ dpkg-divert --package $package_name --rename /usr/share/acpi-support/policy-funcs
+ ;;
+ upgrade)
+ # remove obsolete divert acpid
+ divert=`dpkg-divert --listpackage "/etc/acpi/powerbtn.sh"`
+ if [ -n "$divert" ]; then
+ if [ "$divert" = "LOCAL" ]; then
+ dpkg-divert --remove --local --rename "/etc/acpi/powerbtn.sh"
+ fi
+ if [ "$divert" = $package_name ]; then
+ dpkg-divert --remove --package $package_name --rename "/etc/acpi/powerbtn.sh"
+ fi
+ fi
+
+ # create new divert for acpi-support-base
+ divert=`dpkg-divert --listpackage "/usr/share/acpi-support/policy-funcs"`
+ if [ -z "$divert" ]; then
+ dpkg-divert --package $package_name --rename /usr/share/acpi-support/policy-funcs
+ fi
+ ;;
+ abort-upgrade)
+ ;;
+ *) echo "$0: didn't understand being called with \`$1'" 1>&2
+ exit 0;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff --git a/ubuntu/_base/applications/system/tdepowersave/debian/rules b/ubuntu/_base/applications/system/tdepowersave/debian/rules
new file mode 100755
index 000000000..01e5357b6
--- /dev/null
+++ b/ubuntu/_base/applications/system/tdepowersave/debian/rules
@@ -0,0 +1,23 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/cmake.mk
+include debian/cdbs/debian-tde.mk
+
+DEB_INSTALL_DOCS_ALL := AUTHORS NEWS
+
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc/trinity" \
+ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DBUILD_ALL="ON" \
+ -DWITH_GCC_VISIBILITY="ON"
+
+install/tdepowersave-trinity::
+ install -p -D -m644 debian/tdepowersave-trinity.lintian debian/tdepowersave-trinity/usr/share/lintian/overrides/tdepowersave-trinity
+ install -p -D -m644 debian/tdepowersave-trinity.linda debian/tdepowersave-trinity/usr/share/linda/overrides/tdepowersave-trinity
diff --git a/ubuntu/_base/applications/system/tdepowersave/debian/source/format b/ubuntu/_base/applications/system/tdepowersave/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/ubuntu/_base/applications/system/tdepowersave/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/ubuntu/_base/applications/system/tdepowersave/debian/source/options b/ubuntu/_base/applications/system/tdepowersave/debian/source/options
new file mode 100644
index 000000000..72f1f5450
--- /dev/null
+++ b/ubuntu/_base/applications/system/tdepowersave/debian/source/options
@@ -0,0 +1,6 @@
+# Use xz instead of gzip
+compression = "xz"
+compression-level = 9
+
+# Don't run differences
+diff-ignore = .*
diff --git a/ubuntu/_base/applications/system/tdepowersave/debian/tdepowersave-trinity.linda b/ubuntu/_base/applications/system/tdepowersave/debian/tdepowersave-trinity.linda
new file mode 100644
index 000000000..ff5153632
--- /dev/null
+++ b/ubuntu/_base/applications/system/tdepowersave/debian/tdepowersave-trinity.linda
@@ -0,0 +1,4 @@
+Tag: lib-not-in-shlibs
+
+Tag: no-shlib-file
+Data: /usr/trinity/lib/libtdeinit_*.so
diff --git a/ubuntu/_base/applications/system/tdepowersave/debian/tdepowersave-trinity.lintian b/ubuntu/_base/applications/system/tdepowersave/debian/tdepowersave-trinity.lintian
new file mode 100644
index 000000000..e27c64261
--- /dev/null
+++ b/ubuntu/_base/applications/system/tdepowersave/debian/tdepowersave-trinity.lintian
@@ -0,0 +1,5 @@
+tdepowersave-trinity: no-shlibs-control-file opt/trinity/lib/libtdeinit_tdepowersave.so
+tdepowersave-trinity: package-name-doesnt-match-sonames libtdeinit-tdepowersave
+tdepowersave-trinity: postinst-must-call-ldconfig opt/trinity/lib/libtdeinit_tdepowersave.so
+tdepowersave-trinity: postrm-should-call-ldconfig opt/trinity/lib/libtdeinit_tdepowersave.so
+
diff --git a/ubuntu/_base/applications/system/tdepowersave/debian/tdepowersave-trinity.postinst b/ubuntu/_base/applications/system/tdepowersave/debian/tdepowersave-trinity.postinst
new file mode 100644
index 000000000..a00246bd9
--- /dev/null
+++ b/ubuntu/_base/applications/system/tdepowersave/debian/tdepowersave-trinity.postinst
@@ -0,0 +1,13 @@
+#!/bin/sh
+# postinst script for tdepowersave-trinity
+
+set -e
+
+if [ "$1" = "configure" ] ; then
+ # force ldconfig due to tdeinit library
+ ldconfig
+fi
+
+#DEBHELPER#
+
+exit 0
diff --git a/ubuntu/_base/applications/system/tdepowersave/debian/tdepowersave.xpm b/ubuntu/_base/applications/system/tdepowersave/debian/tdepowersave.xpm
new file mode 100644
index 000000000..a7b0f2e7c
--- /dev/null
+++ b/ubuntu/_base/applications/system/tdepowersave/debian/tdepowersave.xpm
@@ -0,0 +1,628 @@
+/* XPM */
+static char * tdepowersave_xpm[] = {
+"32 32 593 2",
+" c None",
+". c #6D2121",
+"+ c #783738",
+"@ c #743E40",
+"# c #5D2F30",
+"$ c #3E1618",
+"% c #8A0200",
+"& c #982306",
+"* c #A75C4B",
+"= c #D3B8BC",
+"- c #E9E0E1",
+"; c #E7E7ED",
+"> c #DDDFE7",
+", c #CCCBD7",
+"' c #B3ADBB",
+") c #827583",
+"! c #6A3227",
+"~ c #410B00",
+"{ c #080000",
+"] c #AE381A",
+"^ c #C79676",
+"/ c #D8C9B7",
+"( c #B3B7C2",
+"_ c #F2F8FF",
+": c #EBEDF4",
+"< c #D8D9E3",
+"[ c #CBCBD8",
+"} c #BEC0CF",
+"| c #B4B5C9",
+"1 c #A0A4BD",
+"2 c #9B90A1",
+"3 c #B08583",
+"4 c #8F493D",
+"5 c #340B02",
+"6 c #A71F09",
+"7 c #D5BEA2",
+"8 c #F1FFFF",
+"9 c #EEF2F6",
+"0 c #999AAD",
+"a c #C8C8D7",
+"b c #CFCFDB",
+"c c #C2C2D0",
+"d c #B6B6C6",
+"e c #A8A8BC",
+"f c #9B9BB1",
+"g c #8685A0",
+"h c #8D8EA6",
+"i c #AFB8CD",
+"j c #ABAFC6",
+"k c #9F534D",
+"l c #1C0000",
+"m c #B63F26",
+"n c #DAC1A4",
+"o c #DCD9DF",
+"p c #EEF3F6",
+"q c #B0B6C4",
+"r c #AEB0C4",
+"s c #BDBECF",
+"t c #B2B3C6",
+"u c #A6A7BB",
+"v c #9A9BB1",
+"w c #8C8EA5",
+"x c #797D94",
+"y c #98A0B4",
+"z c #B3BCD0",
+"A c #A99EAF",
+"B c #C46347",
+"C c #2B0C00",
+"D c #B63C1A",
+"E c #FED76A",
+"F c #E2BE8D",
+"G c #DCB4A6",
+"H c #D6BCBA",
+"I c #B3ABB9",
+"J c #A9A7B9",
+"K c #A4A5B7",
+"L c #9EA1B1",
+"M c #9798A9",
+"N c #9392A1",
+"O c #A2969F",
+"P c #C29994",
+"Q c #CD866F",
+"R c #DC6A3D",
+"S c #B42A0E",
+"T c #160101",
+"U c #B53817",
+"V c #FFDA34",
+"W c #FFF727",
+"X c #FCE43C",
+"Y c #F5B84C",
+"Z c #EDA45F",
+"` c #E79B6C",
+" . c #E39872",
+".. c #E2926F",
+"+. c #E08764",
+"@. c #E07853",
+"#. c #DF623C",
+"$. c #DA4925",
+"%. c #C83415",
+"&. c #B10E04",
+"*. c #900000",
+"=. c #180000",
+"-. c #B53918",
+";. c #FFD83B",
+">. c #FFF30F",
+",. c #FBED00",
+"'. c #F2BD00",
+"). c #EB8F02",
+"!. c #E4650D",
+"~. c #DE3B14",
+"{. c #D71E15",
+"]. c #CF180F",
+"^. c #C60D07",
+"/. c #BA0100",
+"(. c #B10000",
+"_. c #AA0000",
+":. c #AB0000",
+"<. c #980000",
+"[. c #170000",
+"}. c #FFF312",
+"|. c #FBEC00",
+"1. c #F2BA00",
+"2. c #EA8B00",
+"3. c #E45A00",
+"4. c #DE2200",
+"5. c #D40000",
+"6. c #CC0000",
+"7. c #C00000",
+"8. c #A20103",
+"9. c #8D0811",
+"0. c #7F1825",
+"a. c #6D293B",
+"b. c #474158",
+"c. c #60637E",
+"d. c #7D7D99",
+"e. c #9292AB",
+"f. c #77779C",
+"g. c #FDEE00",
+"h. c #F9BF00",
+"i. c #E68600",
+"j. c #CC5100",
+"k. c #AB260B",
+"l. c #95161A",
+"m. c #83232C",
+"n. c #803D48",
+"o. c #875E6B",
+"p. c #8D7C8A",
+"q. c #9698A7",
+"r. c #A5ABB8",
+"s. c #B7BCC6",
+"t. c #CBC7CD",
+"u. c #D0CBCF",
+"v. c #C7C4CC",
+"w. c #CAC9CF",
+"x. c #9F9FB8",
+"y. c #262641",
+"z. c #B63915",
+"A. c #FFD838",
+"B. c #FFF413",
+"C. c #F9EA00",
+"D. c #99822F",
+"E. c #8D7B67",
+"F. c #958B89",
+"G. c #A2A5A9",
+"H. c #B4BABD",
+"I. c #C6CDCE",
+"J. c #D2DADA",
+"K. c #D5DCE2",
+"L. c #CDD5DF",
+"M. c #BCC5D7",
+"N. c #A0B5D8",
+"O. c #83A5D9",
+"P. c #6B98DB",
+"Q. c #5A8FDE",
+"R. c #3C80E3",
+"S. c #5E8AD2",
+"T. c #B4B0BE",
+"U. c #3F3F61",
+"V. c #AA372A",
+"W. c #F9D742",
+"X. c #FFFC02",
+"Y. c #B1AB13",
+"Z. c #6F7184",
+"`. c #EDF1F8",
+" + c #EAECEF",
+".+ c #CBD4E0",
+"++ c #B2C6E0",
+"@+ c #97B7E0",
+"#+ c #84ADE2",
+"$+ c #79A8E5",
+"%+ c #6DA2E9",
+"&+ c #5E9CED",
+"*+ c #5299F8",
+"=+ c #509AFD",
+"-+ c #529BFE",
+";+ c #509CFF",
+">+ c #4094FF",
+",+ c #3D7EE0",
+"'+ c #B4B3C0",
+")+ c #5D5C7F",
+"!+ c #9D363D",
+"~+ c #D1D0B4",
+"{+ c #FFF856",
+"]+ c #A29E28",
+"^+ c #72727F",
+"/+ c #E5E2E1",
+"(+ c #94B7DB",
+"_+ c #97C2EF",
+":+ c #A3CBF7",
+"<+ c #A6CEFC",
+"[+ c #AAD0FF",
+"}+ c #ABD1FF",
+"|+ c #A1CAFF",
+"1+ c #94C4FF",
+"2+ c #8ABDFF",
+"3+ c #7EB6FF",
+"4+ c #6DACFF",
+"5+ c #559EFF",
+"6+ c #4195FF",
+"7+ c #2877EB",
+"8+ c #9DA6C2",
+"9+ c #767292",
+"0+ c #0E0E1C",
+"a+ c #9F3636",
+"b+ c #C7CED6",
+"c+ c #EBEDF5",
+"d+ c #BEBCAD",
+"e+ c #606061",
+"f+ c #D3CECE",
+"g+ c #9ABEE5",
+"h+ c #D5EBFF",
+"i+ c #EEF4FF",
+"j+ c #D2E5FF",
+"k+ c #BFDAFF",
+"l+ c #ACD0FF",
+"m+ c #9BC7FF",
+"n+ c #8FBFFF",
+"o+ c #7FB6FF",
+"p+ c #4F9BFF",
+"q+ c #2B84FD",
+"r+ c #1875F6",
+"s+ c #0E6AF1",
+"t+ c #075DE3",
+"u+ c #8498C5",
+"v+ c #8E89A3",
+"w+ c #161629",
+"x+ c #C8CFCE",
+"y+ c #E8EAEB",
+"z+ c #D1D1D7",
+"A+ c #5C5C5D",
+"B+ c #BBB7B7",
+"C+ c #A6C0DF",
+"D+ c #AAD1FD",
+"E+ c #DEECFF",
+"F+ c #C4DDFF",
+"G+ c #B4D4FF",
+"H+ c #A4CAFF",
+"I+ c #9AC5FF",
+"J+ c #76B1FF",
+"K+ c #2C89FF",
+"L+ c #016BFE",
+"M+ c #0064F8",
+"N+ c #005FEE",
+"O+ c #005AE5",
+"P+ c #0050DD",
+"Q+ c #6588C7",
+"R+ c #A09AB0",
+"S+ c #2A2A44",
+"T+ c #C9CFCF",
+"U+ c #E5E7E7",
+"V+ c #E0E0E0",
+"W+ c #676767",
+"X+ c #A3A1A1",
+"Y+ c #B8C4D9",
+"Z+ c #93BFF0",
+"`+ c #D6E9FF",
+" @ c #BDD9FF",
+".@ c #ACCFFF",
+"+@ c #A3CAFF",
+"@@ c #7BB5FF",
+"#@ c #2386FF",
+"$@ c #0472FF",
+"%@ c #006AFC",
+"&@ c #0065F4",
+"*@ c #005FEA",
+"=@ c #005AE3",
+"-@ c #004FDB",
+";@ c #4B78C9",
+">@ c #A5A0B1",
+",@ c #454569",
+"'@ c #E4E6E6",
+")@ c #E7E7E7",
+"!@ c #7D7D7E",
+"~@ c #898788",
+"{@ c #C7CAD5",
+"]@ c #89B6EA",
+"^@ c #C7E1FF",
+"/@ c #B6D5FF",
+"(@ c #ABCEFF",
+"_@ c #86BBFF",
+":@ c #2F8EFF",
+"<@ c #117BFF",
+"[@ c #0570FF",
+"}@ c #0068F8",
+"|@ c #0063F0",
+"1@ c #005DE7",
+"2@ c #0059DF",
+"3@ c #004CD6",
+"4@ c #3369CD",
+"5@ c #A3A2B4",
+"6@ c #585880",
+"7@ c #909090",
+"8@ c #717072",
+"9@ c #C6C4CB",
+"0@ c #84AFE7",
+"a@ c #B5D7FF",
+"b@ c #B5D4FF",
+"c@ c #96C4FF",
+"d@ c #3A96FF",
+"e@ c #1C82FF",
+"f@ c #0D77FF",
+"g@ c #006BFD",
+"h@ c #0066F4",
+"i@ c #0061EC",
+"j@ c #005BE4",
+"k@ c #0055DB",
+"l@ c #004ED3",
+"m@ c #0D51CB",
+"n@ c #9298B7",
+"o@ c #6B6A90",
+"p@ c #0B0B17",
+"q@ c #E5E6E6",
+"r@ c #E6E6E6",
+"s@ c #9F9F9F",
+"t@ c #636265",
+"u@ c #BFBABC",
+"v@ c #80AAE1",
+"w@ c #9FC9FF",
+"x@ c #A8CEFF",
+"y@ c #4EA1FF",
+"z@ c #2489FF",
+"A@ c #187EFF",
+"B@ c #0069FA",
+"C@ c #005EE8",
+"D@ c #0058DF",
+"E@ c #0052D7",
+"F@ c #004DCE",
+"G@ c #0047C8",
+"H@ c #7B8CBA",
+"I@ c #7E7B9B",
+"J@ c #1D1D34",
+"K@ c #E5E5E5",
+"L@ c #AAAAAB",
+"M@ c #5E5E60",
+"N@ c #B3ADAC",
+"O@ c #90ADDA",
+"P@ c #78B4FC",
+"Q@ c #61ADFF",
+"R@ c #2D90FF",
+"S@ c #2185FF",
+"T@ c #0E78FF",
+"U@ c #016CFE",
+"V@ c #0066F5",
+"W@ c #005CE4",
+"X@ c #0055DC",
+"Y@ c #0050D3",
+"Z@ c #004ACB",
+"`@ c #003AC2",
+" # c #617CC1",
+".# c #8C89A2",
+"+# c #2D2D4C",
+"@# c #E4E4E4",
+"## c #B5B5B5",
+"$# c #606062",
+"%# c #9D9A9B",
+"&# c #ABB6CF",
+"*# c #3D94F7",
+"=# c #3C9CFF",
+"-# c #2C8DFF",
+";# c #1A80FF",
+"># c #0772FF",
+",# c #0068FB",
+"'# c #0062F2",
+")# c #005BEA",
+"!# c #0053E2",
+"~# c #004FD9",
+"{# c #024BCF",
+"]# c #094DC7",
+"^# c #1950C0",
+"/# c #6681C0",
+"(# c #8987A0",
+"_# c #41416E",
+":# c #E3E3E3",
+"<# c #BCBCBC",
+"[# c #69696B",
+"}# c #858488",
+"|# c #BDBAC5",
+"1# c #3E8DEF",
+"2# c #3094FF",
+"3# c #1C84FF",
+"4# c #0473FF",
+"5# c #0069FD",
+"6# c #0364F2",
+"7# c #1464E5",
+"8# c #296AD7",
+"9# c #4A7ACB",
+"0# c #6281BF",
+"a# c #7B8CB9",
+"b# c #9098B4",
+"c# c #ABAAB7",
+"d# c #B4B2B9",
+"e# c #B8B7BD",
+"f# c #AAAAB9",
+"g# c #8080A3",
+"h# c #5B5B8F",
+"i# c #A03838",
+"j# c #E2E2E2",
+"k# c #727274",
+"l# c #727276",
+"m# c #BDB6BB",
+"n# c #508DE5",
+"o# c #1579F9",
+"p# c #347FE8",
+"q# c #5287D9",
+"r# c #6B8DCB",
+"s# c #8699C1",
+"t# c #9BA4BC",
+"u# c #BAB8C0",
+"v# c #CCC6C4",
+"w# c #D1CCC9",
+"x# c #D3D0CE",
+"y# c #D3D0D6",
+"z# c #D1D2E3",
+"A# c #D4D6EE",
+"B# c #DADBF6",
+"C# c #DCDEE9",
+"D# c #D4D4D4",
+"E# c #BFBFC4",
+"F# c #A6A6B9",
+"G# c #8686AD",
+"H# c #56568C",
+"I# c #3E3E79",
+"J# c #A13434",
+"K# c #CAD4D4",
+"L# c #7C7C7D",
+"M# c #67676A",
+"N# c #ACABB4",
+"O# c #AAB1CA",
+"P# c #AAB1C9",
+"Q# c #C5C2C7",
+"R# c #D3CCCA",
+"S# c #D7D1D0",
+"T# c #DAD7D8",
+"U# c #DEDCE0",
+"V# c #D8D9EA",
+"W# c #CCCFF1",
+"X# c #C5C8F6",
+"Y# c #C5C9FA",
+"Z# c #CACDFF",
+"`# c #D0D3FF",
+" $ c #D7DAFF",
+".$ c #E1E3FF",
+"+$ c #EAECFF",
+"@$ c #EDEEFD",
+"#$ c #E2E3E7",
+"$$ c #CBCBC7",
+"%$ c #C8C8C4",
+"&$ c #BDBDC0",
+"*$ c #9E9EAF",
+"=$ c #6A6A9D",
+"-$ c #840808",
+";$ c #C18B8B",
+">$ c #EBF3F3",
+",$ c #E8F0F0",
+"'$ c #BDC2C2",
+")$ c #878A8A",
+"!$ c #616367",
+"~$ c #B1B1B4",
+"{$ c #D0CECC",
+"]$ c #DEDBD8",
+"^$ c #E4E4E2",
+"/$ c #E6E6E5",
+"($ c #E7E8EA",
+"_$ c #D2D4F9",
+":$ c #B9BEFD",
+"<$ c #B0B5FF",
+"[$ c #B4B9FF",
+"}$ c #BFC3FF",
+"|$ c #C9CEFF",
+"1$ c #D5D8FF",
+"2$ c #DDDFFF",
+"3$ c #E4E7FC",
+"4$ c #E3E4EF",
+"5$ c #DADBDF",
+"6$ c #D1D1D2",
+"7$ c #C5C5C5",
+"8$ c #B1B1B1",
+"9$ c #959595",
+"0$ c #717170",
+"a$ c #606056",
+"b$ c #676782",
+"c$ c #17172F",
+"d$ c #5C0303",
+"e$ c #9E4545",
+"f$ c #C08787",
+"g$ c #B59F9F",
+"h$ c #8F8787",
+"i$ c #5D5C5F",
+"j$ c #777A7E",
+"k$ c #9DA0A4",
+"l$ c #B1B2B2",
+"m$ c #BCBBBB",
+"n$ c #C5C5C3",
+"o$ c #D3D3D3",
+"p$ c #E1E1E1",
+"q$ c #DDDDEA",
+"r$ c #D4D6F5",
+"s$ c #CED1FD",
+"t$ c #D4D6FD",
+"u$ c #DDDEF5",
+"v$ c #DBDCE7",
+"w$ c #D8D8DB",
+"x$ c #D0CFCF",
+"y$ c #C0C1BF",
+"z$ c #ACACAB",
+"A$ c #959594",
+"B$ c #82827F",
+"C$ c #737370",
+"D$ c #64646D",
+"E$ c #595973",
+"F$ c #565680",
+"G$ c #48487B",
+"H$ c #0D0D1B",
+"I$ c #2C0000",
+"J$ c #4B0E0E",
+"K$ c #541717",
+"L$ c #521516",
+"M$ c #430E10",
+"N$ c #442329",
+"O$ c #59535C",
+"P$ c #777882",
+"Q$ c #97979B",
+"R$ c #A7A7A8",
+"S$ c #AFAFAE",
+"T$ c #BABAB6",
+"U$ c #CBCAC6",
+"V$ c #D7D8D8",
+"W$ c #D9D9DB",
+"X$ c #D2D1CF",
+"Y$ c #C4C3C1",
+"Z$ c #B0AFAD",
+"`$ c #9B9B99",
+" % c #8B8B88",
+".% c #7E7E7D",
+"+% c #74747B",
+"@% c #66667E",
+"#% c #5A5A82",
+"$% c #44446F",
+"%% c #29294B",
+"&% c #131329",
+"*% c #06060E",
+"=% c #131319",
+"-% c #2C2C37",
+";% c #545463",
+">% c #757584",
+",% c #8D8D94",
+"'% c #989897",
+")% c #A1A19E",
+"!% c #A9A9A7",
+"~% c #A2A29F",
+"{% c #91918E",
+"]% c #848484",
+"^% c #7A7A85",
+"/% c #696983",
+"(% c #535376",
+"_% c #363659",
+":% c #1F1F3C",
+"<% c #0D0D1A",
+"[% c #12121C",
+"}% c #333345",
+"|% c #5A5A6F",
+"1% c #737385",
+"2% c #88888E",
+"3% c #7E7E89",
+"4% c #686882",
+"5% c #50506E",
+"6% c #30304C",
+"7% c #16162A",
+"8% c #080811",
+"9% c #1A1A29",
+"0% c #2E2E44",
+"a% c #26263C",
+"b% c #11111F",
+" ",
+" . + @ # $ ",
+" % & * = - ; > , ' ) ! ~ { ",
+" ] ^ / ( _ : < [ } | 1 2 3 4 5 ",
+"6 7 8 9 0 a b c d e f g h i j k l ",
+"m n o p q r s t u v w x y z A B C ",
+"D E F G H I J K L M N O P Q R S T ",
+"U V W X Y Z ` ...+.@.#.$.%.&.*.=. ",
+"-.;.>.,.'.).!.~.{.].^./.(._.:.<.[. ",
+"-.;.}.|.1.2.3.4.5.6.7.(.8.9.0.a.b.c.d.e.f. ",
+"-.;.}.g.h.i.j.k.l.m.n.o.p.q.r.s.t.u.v.w.x.y. ",
+"z.A.B.C.D.E.F.G.H.I.J.K.L.M.N.O.P.Q.R.S.T.U. ",
+"V.W.X.Y.Z.`. +.+++@+#+$+%+&+*+=+-+;+>+,+'+)+ ",
+"!+~+{+]+^+/+(+_+:+<+[+}+|+1+2+3+4+5+6+7+8+9+0+ ",
+"a+b+c+d+e+f+g+h+i+j+k+l+m+n+o+p+q+r+s+t+u+v+w+ ",
+"a+x+y+z+A+B+C+D+E+F+G+H+I+J+K+L+M+N+O+P+Q+R+S+ ",
+"a+T+U+V+W+X+Y+Z+`+ @.@+@@@#@$@%@&@*@=@-@;@>@,@ ",
+"a+T+'@)@!@~@{@]@^@/@(@_@:@<@[@}@|@1@2@3@4@5@6@ ",
+"a+T+'@)@7@8@9@0@a@b@c@d@e@f@g@h@i@j@k@l@m@n@o@p@ ",
+"a+T+q@r@s@t@u@v@w@x@y@z@A@[@B@|@C@D@E@F@G@H@I@J@ ",
+"a+T+q@K@L@M@N@O@P@Q@R@S@T@U@V@i@W@X@Y@Z@`@ #.#+# ",
+"a+T+q@@###$#%#&#*#=#-#;#>#,#'#)#!#~#{#]#^#/#(#_# ",
+"a+T+q@:#<#[#}#|#1#2#3#4#5#6#7#8#9#0#a#b#c#d#e#f#g#h# ",
+"i#T+q@j#<#k#l#m#n#o#p#q#r#s#t#u#v#w#x#y#z#A#B#C#D#E#F#G#H#I# ",
+"J#K#U+j#<#L#M#N#O#P#Q#R#S#T#U#V#W#X#Y#Z#`# $.$+$@$#$$$%$&$*$=$ ",
+"-$;$>$,$'$)$!$~${$]$^$/$($_$:$<$[$}$|$1$2$3$4$5$6$7$8$9$0$a$b$c$",
+" d$e$f$g$h$i$j$k$l$m$n$o$p$q$r$s$t$u$v$w$x$y$z$A$B$C$D$E$F$G$H$",
+" I$J$K$L$M$N$O$P$Q$R$S$T$U$V$W$X$Y$Z$`$ %.%+%@%#%$%%%&%*% ",
+" =%-%;%>%,%'%)%!%~%{%]%^%/%(%_%:%<% ",
+" [%}%|%1%2%3%4%5%6%7%8% ",
+" 9%0%a%b% ",
+" "};