aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-06-16 16:59:46 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-06-16 17:00:52 +0200
commit4181e30a0e2329b41274bc3e8c73273ea1d4ecb6 (patch)
tree54accab8b7a57d70bb1ebcf174191ecb13f6d313
parentcc5dcc0e0c22e16ed8ce8c598ccb58843175a177 (diff)
downloadarctica-greeter-4181e30a0e2329b41274bc3e8c73273ea1d4ecb6.tar.gz
arctica-greeter-4181e30a0e2329b41274bc3e8c73273ea1d4ecb6.tar.bz2
arctica-greeter-4181e30a0e2329b41274bc3e8c73273ea1d4ecb6.zip
New theming bin:package: arctica-greeter-theme-debian.
-rw-r--r--debian/arctica-greeter-theme-debian.gschema.override5
-rw-r--r--debian/arctica-greeter-theme-debian.install2
-rwxr-xr-xdebian/arctica-greeter-theme-debian.postinst40
-rwxr-xr-xdebian/arctica-greeter-theme-debian.postrm37
-rw-r--r--debian/control11
-rwxr-xr-xdebian/rules5
-rw-r--r--debian/theme-debian-logo-bare.pngbin0 -> 14716 bytes
7 files changed, 100 insertions, 0 deletions
diff --git a/debian/arctica-greeter-theme-debian.gschema.override b/debian/arctica-greeter-theme-debian.gschema.override
new file mode 100644
index 0000000..a693c16
--- /dev/null
+++ b/debian/arctica-greeter-theme-debian.gschema.override
@@ -0,0 +1,5 @@
+[org.ArcticaProject.arctica-greeter]
+background='/usr/share/images/desktop-base/desktop-background'
+background-color='#274d63'
+togglebox-button-bgcolor='#274d63'
+logo='/usr/share/arctica-greeter/theme-debian-logo.png'
diff --git a/debian/arctica-greeter-theme-debian.install b/debian/arctica-greeter-theme-debian.install
new file mode 100644
index 0000000..6f95f42
--- /dev/null
+++ b/debian/arctica-greeter-theme-debian.install
@@ -0,0 +1,2 @@
+debian/arctica-greeter-theme-debian.gschema.override usr/share/glib-2.0/schemas/
+debian/theme-debian-logo.png usr/share/arctica-greeter/ \ No newline at end of file
diff --git a/debian/arctica-greeter-theme-debian.postinst b/debian/arctica-greeter-theme-debian.postinst
new file mode 100755
index 0000000..b9aa9fb
--- /dev/null
+++ b/debian/arctica-greeter-theme-debian.postinst
@@ -0,0 +1,40 @@
+#!/bin/sh
+# postinst script for arctica-greeter-theme-debian
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <postinst> `abort-remove'
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ configure)
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+ ;;
+
+ 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/arctica-greeter-theme-debian.postrm b/debian/arctica-greeter-theme-debian.postrm
new file mode 100755
index 0000000..8beb806
--- /dev/null
+++ b/debian/arctica-greeter-theme-debian.postrm
@@ -0,0 +1,37 @@
+#!/bin/sh
+# postrm script for arctica-greeter-theme-debian
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postrm> `remove'
+# * <postrm> `purge'
+# * <old-postrm> `upgrade' <new-version>
+# * <new-postrm> `failed-upgrade' <old-version>
+# * <new-postrm> `abort-install'
+# * <new-postrm> `abort-install' <old-version>
+# * <new-postrm> `abort-upgrade' <old-version>
+# * <disappearer's-postrm> `disappear' <overwriter>
+# <overwriter-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+case "$1" in
+ purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+ ;;
+
+ *)
+ echo "postrm 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/control b/debian/control
index dd12c97..1cf0afe 100644
--- a/debian/control
+++ b/debian/control
@@ -84,3 +84,14 @@ Description: LightDM Arctica Greeter - Remote Login Support
- X2Go Desktop Sessions
- Windows RDP sessions (FreeRDP)
- Citrix Remote Desktop Sessions
+
+Package: arctica-greeter-theme-debian
+Architecture: all
+Depends: ${misc:Depends},
+ arctica-greeter,
+ libglib2.0-bin,
+Description: LightDM Arctica Greeter - Debian Theme
+ A greeter shell for the LightDM login manager. Arctica Greeter can be used as
+ local display manager as well as thin client login manager.
+ .
+ This package themes Arctica Greeter with a Debian look'n'feel.
diff --git a/debian/rules b/debian/rules
index 4c0ff8f..a1fa740 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,6 +14,10 @@ override_dh_autoreconf:
override_dh_auto_build:
dh_auto_build
+override_dh_install:
+ src/logo-generator --logo debian/theme-debian-logo-bare.png --text "$$(head -n1 /etc/debian_version)" --width=280 --height=82 --output debian/theme-debian-logo.png
+ dh_install --fail-missing
+
override_dh_auto_install:
dh_auto_install
mkdir -p debian/tmp/var/lib/polkit-1/localauthority/10-vendor.d/
@@ -33,5 +37,6 @@ override_dh_auto_clean:
rm -f tests/arctica_greeter_test_vala.stamp
rm -f src/*.c
rm -f tests/*.c
+ rm -f debian/theme-debian-logo.png
override_dh_auto_test:
diff --git a/debian/theme-debian-logo-bare.png b/debian/theme-debian-logo-bare.png
new file mode 100644
index 0000000..0270c14
--- /dev/null
+++ b/debian/theme-debian-logo-bare.png
Binary files differ