summaryrefslogtreecommitdiffstats
path: root/core/modules/kdm
diff options
context:
space:
mode:
authorSebastian2016-04-25 12:01:08 +0200
committerSebastian2016-04-25 12:01:08 +0200
commit5acda3eaeabae9045609539303a8c12c4ce401f1 (patch)
tree7e71975f8570b05aafe2ea6ec0e242a8912387bb /core/modules/kdm
parentinitial commit (diff)
downloadmltk-5acda3eaeabae9045609539303a8c12c4ce401f1.tar.gz
mltk-5acda3eaeabae9045609539303a8c12c4ce401f1.tar.xz
mltk-5acda3eaeabae9045609539303a8c12c4ce401f1.zip
merge with latest dev version
Diffstat (limited to 'core/modules/kdm')
-rw-r--r--core/modules/kdm/data/etc/branding.svg22
l---------core/modules/kdm/data/etc/kde1
-rw-r--r--core/modules/kdm/data/etc/kde4/kdm/kdmrc52
l---------core/modules/kdm/data/etc/systemd/system/display-manager.service1
-rw-r--r--core/modules/kdm/data/etc/systemd/system/kdm.service10
-rw-r--r--core/modules/kdm/data/etc/tmpfiles.d/kdm.conf2
l---------core/modules/kdm/data/usr/share/config/kdm1
-rwxr-xr-xcore/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/KdmGreeterTheme.desktop8
-rw-r--r--core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/color.pngbin0 -> 177 bytes
-rw-r--r--core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/enter.pngbin0 -> 2642 bytes
-rw-r--r--core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/enter_inactive.pngbin0 -> 2527 bytes
-rw-r--r--core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/environment.pngbin0 -> 3215 bytes
-rw-r--r--core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/main-runner.pngbin0 -> 153 bytes
-rw-r--r--core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/openslx-logo-main.pngbin0 -> 69575 bytes
-rw-r--r--core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/openslx-logo.pngbin0 -> 6770 bytes
-rw-r--r--core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/sessions.pngbin0 -> 2653 bytes
-rw-r--r--core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/sessions_inactive.pngbin0 -> 2529 bytes
-rw-r--r--core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/system.pngbin0 -> 2639 bytes
-rw-r--r--core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/system_inactive.pngbin0 -> 2532 bytes
-rw-r--r--core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/theme.xml235
-rw-r--r--core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/welcome-time-shadowed.pngbin0 -> 1199 bytes
l---------core/modules/kdm/data/usr/share/kde4/config/kdm1
-rw-r--r--core/modules/kdm/data/var/lib/kdm/.placeholder1
-rw-r--r--core/modules/kdm/module.build19
-rw-r--r--core/modules/kdm/module.conf20
-rw-r--r--core/modules/kdm/module.conf.debian29
-rw-r--r--core/modules/kdm/module.conf.fedora26
-rw-r--r--core/modules/kdm/module.conf.opensuse10
-rw-r--r--core/modules/kdm/module.conf.scientific20
-rw-r--r--core/modules/kdm/module.conf.ubuntu29
-rw-r--r--core/modules/kdm/module.conf.ubuntu.1429
31 files changed, 516 insertions, 0 deletions
diff --git a/core/modules/kdm/data/etc/branding.svg b/core/modules/kdm/data/etc/branding.svg
new file mode 100644
index 00000000..4891fb58
--- /dev/null
+++ b/core/modules/kdm/data/etc/branding.svg
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.1"
+ width="149.62437"
+ height="92.827499"
+ id="svg2985"
+ xml:space="preserve">
+<metadata
+ id="metadata2991"><rdf:RDF><cc:Work
+ rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata>
+<g
+ id="g2993">
+</g>
+</svg> \ No newline at end of file
diff --git a/core/modules/kdm/data/etc/kde b/core/modules/kdm/data/etc/kde
new file mode 120000
index 00000000..5a94165b
--- /dev/null
+++ b/core/modules/kdm/data/etc/kde
@@ -0,0 +1 @@
+kde4 \ No newline at end of file
diff --git a/core/modules/kdm/data/etc/kde4/kdm/kdmrc b/core/modules/kdm/data/etc/kde4/kdm/kdmrc
new file mode 100644
index 00000000..5f9f9e39
--- /dev/null
+++ b/core/modules/kdm/data/etc/kde4/kdm/kdmrc
@@ -0,0 +1,52 @@
+[General]
+PidFile=/var/run/kdm.pid
+ServerVTs=-7
+# Always spawn :0 (this is the default but it won't hurt)
+StaticServers=:0
+
+[X-*-Greeter]
+UseTheme=true
+Theme=/usr/share/desktop/themes/kdm/openslx
+UseBackground=false
+GreetString=OpenSLX Workstation (%h)
+SelectedUsers=
+UserList=false
+AuthComplain=true
+AntiAliasing=true
+
+[X-:*-Greeter]
+AllowClose=false
+UseAdminSession=true
+
+[X-:0-Greeter]
+LogSource=/dev/xconsole
+PreselectUser=None
+UseAdminSession=false
+
+[X-*-Core]
+AllowRootLogin=true
+AllowShutdown=All
+AutoLoginEnable=false
+ServerAttempts=2
+# Custom directory so kdm never sees any other sessions - it's up to the vmchooser to list them
+SessionsDirs=/opt/openslx/xsessions
+TerminateServer=true
+
+# Session is executed to start the user's session (as the user)
+# "One of the keywords failsafe, default or custom, or a string to eval by a Bourne-compatible shell is passed as the first argument."
+Session=/etc/X11/Xsession
+# Reset is run after a session terminates (as root)
+Reset=/etc/X11/Xreset
+# Setup is executed once before the greeter starts (as root)
+Setup=/etc/X11/Xsetup
+# Startup is executed on successful authentication, before the session is opened (as root)
+Startup=/etc/X11/Xstartup
+
+[Shutdown]
+AllowFifo=false
+HaltCmd=/usr/bin/systemctl poweroff
+RebootCmd=/usr/bin/systemctl reboot
+
+[Xdmcp]
+Enable=false
+
diff --git a/core/modules/kdm/data/etc/systemd/system/display-manager.service b/core/modules/kdm/data/etc/systemd/system/display-manager.service
new file mode 120000
index 00000000..640910e3
--- /dev/null
+++ b/core/modules/kdm/data/etc/systemd/system/display-manager.service
@@ -0,0 +1 @@
+kdm.service \ No newline at end of file
diff --git a/core/modules/kdm/data/etc/systemd/system/kdm.service b/core/modules/kdm/data/etc/systemd/system/kdm.service
new file mode 100644
index 00000000..e77d1cbd
--- /dev/null
+++ b/core/modules/kdm/data/etc/systemd/system/kdm.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=KDM Display Manager
+Conflicts=getty@tty7.service
+After=systemd-user-sessions.service getty@tty7.service setup-slx-addon@nvidia_libs.service setup-slx-addon@vmware.service
+
+[Service]
+ExecStartPre=-/opt/openslx/bin/killall fbsplash
+ExecStart=/usr/bin/kdm -nodaemon
+Restart=always
+IgnoreSIGPIPE=no
diff --git a/core/modules/kdm/data/etc/tmpfiles.d/kdm.conf b/core/modules/kdm/data/etc/tmpfiles.d/kdm.conf
new file mode 100644
index 00000000..9b726ba2
--- /dev/null
+++ b/core/modules/kdm/data/etc/tmpfiles.d/kdm.conf
@@ -0,0 +1,2 @@
+d /var/run/kdm 0755 root root
+
diff --git a/core/modules/kdm/data/usr/share/config/kdm b/core/modules/kdm/data/usr/share/config/kdm
new file mode 120000
index 00000000..8f0c47bd
--- /dev/null
+++ b/core/modules/kdm/data/usr/share/config/kdm
@@ -0,0 +1 @@
+/etc/kde4/kdm \ No newline at end of file
diff --git a/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/KdmGreeterTheme.desktop b/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/KdmGreeterTheme.desktop
new file mode 100755
index 00000000..3cb9069d
--- /dev/null
+++ b/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/KdmGreeterTheme.desktop
@@ -0,0 +1,8 @@
+[KdmGreeterTheme]
+Encoding=UTF-8
+Greeter=theme.xml
+Name=OpenSLX KDM theme
+Description=KDM Port of Daemonic KDM theme for FreeBSD
+Author=MJanc / KDM by aceph <aceph@ventcore.net>
+Copyright=Creative Commons
+Screenshot=screenshot.png
diff --git a/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/color.png b/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/color.png
new file mode 100644
index 00000000..7a0feb03
--- /dev/null
+++ b/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/color.png
Binary files differ
diff --git a/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/enter.png b/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/enter.png
new file mode 100644
index 00000000..b2912721
--- /dev/null
+++ b/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/enter.png
Binary files differ
diff --git a/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/enter_inactive.png b/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/enter_inactive.png
new file mode 100644
index 00000000..c3efb2ea
--- /dev/null
+++ b/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/enter_inactive.png
Binary files differ
diff --git a/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/environment.png b/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/environment.png
new file mode 100644
index 00000000..76a4768c
--- /dev/null
+++ b/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/environment.png
Binary files differ
diff --git a/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/main-runner.png b/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/main-runner.png
new file mode 100644
index 00000000..dde10cc8
--- /dev/null
+++ b/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/main-runner.png
Binary files differ
diff --git a/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/openslx-logo-main.png b/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/openslx-logo-main.png
new file mode 100644
index 00000000..dfae62d2
--- /dev/null
+++ b/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/openslx-logo-main.png
Binary files differ
diff --git a/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/openslx-logo.png b/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/openslx-logo.png
new file mode 100644
index 00000000..a2ea7929
--- /dev/null
+++ b/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/openslx-logo.png
Binary files differ
diff --git a/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/sessions.png b/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/sessions.png
new file mode 100644
index 00000000..fa5c52bf
--- /dev/null
+++ b/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/sessions.png
Binary files differ
diff --git a/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/sessions_inactive.png b/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/sessions_inactive.png
new file mode 100644
index 00000000..d9c11d93
--- /dev/null
+++ b/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/sessions_inactive.png
Binary files differ
diff --git a/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/system.png b/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/system.png
new file mode 100644
index 00000000..6e480364
--- /dev/null
+++ b/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/system.png
Binary files differ
diff --git a/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/system_inactive.png b/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/system_inactive.png
new file mode 100644
index 00000000..28adad5a
--- /dev/null
+++ b/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/system_inactive.png
Binary files differ
diff --git a/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/theme.xml b/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/theme.xml
new file mode 100644
index 00000000..8b4ca0f9
--- /dev/null
+++ b/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/theme.xml
@@ -0,0 +1,235 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE greeter SYSTEM "greeter.dtd">
+<!--
+KDM-OpenSLX-Theme
+-->
+<greeter id="theme">
+ <style font="Sans 11" window-text-color="#f0f0f0" base-color="#f0f0f0" text-color="#000000"/>
+
+ <!-- background -->
+ <item type="pixmap" id="background" background="true">
+ <normal file="color.png"/>
+ <pos x="0" y="0" width="100%" height="100%"/>
+ </item>
+
+ <!-- top / welcome, clock and big logo -->
+ <item type="rect" id="top" background="true">
+ <normal color="#000000" alpha="0.0"/>
+ <pos anchor="n" x="50%" y="0" width="100%" height="40%"/>
+ <box orientation="vertical" homogeneous="true">
+
+ <item type="pixmap" background="true">
+ <normal file="welcome-time-shadowed.png"/>
+ <pos anchor="n" x="50%" y="0" width="80%" height="44"/>
+ <box orientation="horizontal" homogeneous="true">
+ <!-- Welcome on ... -->
+ <item type="label" background="true">
+ <pos anchor="w" x="10%" y="30%"/>
+ <normal color="#f0f0f0" font="Sans 11"/>
+ <stock type="welcome-label"/>
+ </item>
+ <!-- clock -->
+ <item type="label" id="clock">
+ <pos anchor="e" x="90%" y="30%"/>
+ <normal color="#f0f0f0" font="Sans 11"/>
+ <text>%c</text>
+ </item>
+ </box>
+ </item>
+
+ <item type="rect" id="logo">
+ <normal color="#000000" alpha="0.0"/>
+ <pos anchor="c" x="50%" y="10%" width="100%" height="100%"/>
+ <box orientation="vertical" homogeneous="true">
+ <item type="pixmap">
+ <normal file="openslx-logo-main.png"/>
+ <pos anchor="c" x="50%" y="50%"/>
+ </item>
+ </box>
+ </item>
+
+ </box>
+ </item>
+
+ <!-- main part / login, session, menu, ... -->
+ <item type="pixmap" id="main-runner" background="true">
+ <normal file="main-runner.png"/>
+ <pos anchor="c" x="50%" y="50%" width="100%" height="160"/>
+ <box orientation="horizontal" homogeneous="true">
+
+ <item type="rect" background="true">
+ <normal color="#000000" alpha="0.0"/>
+ <pos anchor="w" x="0%" y="50%" width="100%" height="100%"/>
+ <box orientation="horizontal" homogeneous="true">
+
+ <!-- left part / login -->
+ <item type="rect" background="true">
+ <normal color="#000000" alpha="0.0"/>
+ <pos anchor="w" x="0" y="50%" width="100%" height="100%"/>
+ <box orientation="horizontal">
+
+ <!-- small logo -->
+ <item type="pixmap" background="true">
+ <normal file="openslx-logo.png"/>
+ <pos anchor="w" x="30" y="50%"/>
+ </item>
+
+ <!-- login -->
+ <item type="rect">
+ <normal color="#000000" alpha="0.0"/>
+ <pos anchor="w" x="70" y="50%" width="box" height="box"/>
+ <box orientation="horizontal" spacing="10">
+
+ <item type="rect">
+ <normal color="#000000" alpha="0.0"/>
+ <pos anchor="sw" x="0" y="100%" width="box" height="100%"/>
+ <box homogeneous="true" spacing="10">
+ <!-- username-label -->
+ <item type="label">
+ <pos anchor="nw" x="0" y="0"/>
+ <normal color="#f0f0f0" font="Sans 11"/>
+ <stock type="username-label"/>
+ </item>
+ <!-- password-label -->
+ <item type="label">
+ <pos anchor="sw" x="0" y="-0"/>
+ <normal color="#f0f0f0" font="Sans 11"/>
+ <stock type="password-label"/>
+ </item>
+ </box>
+ </item>
+
+ <item type="rect">
+ <normal color="#000000" alpha="0.0"/>
+ <pos anchor="nw" x="0" y="0" width="box" height="box"/>
+ <box homogeneous="true" spacing="10">
+ <!-- username-entry -->
+ <item type="entry" id="user-entry">
+ <pos anchor="w" x="0" y="50%" height="20" width="100"/>
+ </item>
+ <!-- password-entry -->
+ <item type="entry" id="pw-entry">
+ <pos anchor="w" x="0" y="50%" height="20" width="100"/>
+ </item>
+ </box>
+ </item>
+
+ <item type="pixmap" button="true" id="login_button">
+ <pos anchor="sw" x="0" y="-0" height="20" width="20"/>
+ <normal file="enter_inactive.png"/>
+ <prelight file="enter.png"/>
+ </item>
+
+ </box>
+ </item>
+
+ </box>
+ </item>
+
+ <!-- middle part / errors, caps info, kdm logo -->
+ <item type="rect">
+ <normal color="#000000" alpha="0.0"/>
+ <pos anchor="c" x="50%" y="50%" width="90%" height="100%"/>
+ <box orientation="vertical">
+
+ <!-- Login-Error -->
+ <item type="rect">
+ <normal color="#000000" alpha="0.0"/>
+ <pos anchor="n" x="50%" y="10" width="100%" height="30"/>
+ <box>
+ <item type="label" id="pam-error">
+ <normal color="#ff8b00" font="Sans 11"/>
+ <pos anchor="c" x="50%" y="15"/>
+ <text/>
+ </item>
+ </box>
+ </item>
+
+ <item type="pixmap">
+ <normal file="environment.png"/>
+ <pos anchor="c" x="50%" y="50%"/>
+ </item>
+
+ <!-- capslock-warning -->
+ <item type="rect" id="caps-lock-warning">
+ <normal color="#000000" alpha="0.4"/>
+ <pos anchor="s" x="50%" y="-10" width="100%" height="30"/>
+ <box>
+ <item type="label">
+ <normal color="#ff8b00" font="Sans 11"/>
+ <pos anchor="c" x="50%" y="15"/>
+ <stock type="caps-lock-warning"/>
+ </item>
+ </box>
+ </item>
+
+ </box>
+ </item>
+
+ <!-- right part / sessions, menu -->
+ <item type="rect">
+ <normal color="#000000" alpha="0.0"/>
+ <pos anchor="e" x="100%" y="50%" width="100%" height="100%"/>
+ <box orientation="vertical" homogeneous="true" spacing="10">
+
+ <!-- session-button -->
+ <item type="rect" id="session_button" button="true">
+ <normal color="#000000" alpha="0.0"/>
+ <pos anchor="se" x="-50" y="100%" width="box" height="box"/>
+ <box orientation="horizontal">
+ <item type="label">
+ <normal color="#bbbbbb" font="Sans 11"/>
+ <prelight color="#f0f0f0" font="Sans 11"/>
+ <active color="#ff8b00" font="Sans 11"/>
+ <pos anchor="e" x="100%" y="-24"/>
+ <stock type="session"/>
+ </item>
+ <item type="rect" id="session_button" button="true">
+ <normal color="#000000" alpha="0.0"/>
+ <pos anchor="c" x="50%" y="50%" width="10"/>
+ </item>
+ <item type="pixmap" id="session_button" button="true">
+ <normal file="sessions_inactive.png"/>
+ <prelight file="sessions.png"/>
+ <pos anchor="se" x="100%" y="100%"/>
+ </item>
+ </box>
+ </item>
+
+ <!-- menu-button -->
+ <item type="rect" id="system_button" button="true">
+ <normal color="#000000" alpha="0.0"/>
+ <pos anchor="ne" x="-50" y="0" width="box" height="box"/>
+ <box orientation="horizontal">
+ <item type="label">
+ <normal color="#bbbbbb" font="Sans 11"/>
+ <prelight color="#f0f0f0" font="Sans 11"/>
+ <active color="#ff8b00" font="Sans 11"/>
+ <pos anchor="e" x="100%" y="24"/>
+ <stock type="system"/>
+ </item>
+ <item type="rect" id="system_button" button="true">
+ <normal color="#000000" alpha="0.0"/>
+ <pos anchor="c" x="50%" y="50%" width="10"/>
+ </item>
+ <item type="pixmap" id="system_button" button="true">
+ <normal file="system_inactive.png"/>
+ <prelight file="system.png"/>
+ <pos anchor="ne" x="100%" y="0%"/>
+ </item>
+ </box>
+ </item>
+
+ </box>
+ </item>
+
+ </box>
+ </item>
+
+ </box>
+ </item>
+ <item type="pixmap" id="distro_logo" button="false">
+ <normal file="/etc/distro.png"/>
+ <pos anchor="se" x="99%" y="99%"/>
+ </item>
+</greeter>
diff --git a/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/welcome-time-shadowed.png b/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/welcome-time-shadowed.png
new file mode 100644
index 00000000..d908972e
--- /dev/null
+++ b/core/modules/kdm/data/usr/share/desktop/themes/kdm/openslx/welcome-time-shadowed.png
Binary files differ
diff --git a/core/modules/kdm/data/usr/share/kde4/config/kdm b/core/modules/kdm/data/usr/share/kde4/config/kdm
new file mode 120000
index 00000000..8f0c47bd
--- /dev/null
+++ b/core/modules/kdm/data/usr/share/kde4/config/kdm
@@ -0,0 +1 @@
+/etc/kde4/kdm \ No newline at end of file
diff --git a/core/modules/kdm/data/var/lib/kdm/.placeholder b/core/modules/kdm/data/var/lib/kdm/.placeholder
new file mode 100644
index 00000000..778fd62b
--- /dev/null
+++ b/core/modules/kdm/data/var/lib/kdm/.placeholder
@@ -0,0 +1 @@
+# Nothing to see here, just fooling git a bit
diff --git a/core/modules/kdm/module.build b/core/modules/kdm/module.build
new file mode 100644
index 00000000..d5199340
--- /dev/null
+++ b/core/modules/kdm/module.build
@@ -0,0 +1,19 @@
+
+fetch_source () {
+ :
+}
+
+build () {
+ COPYLIST="list_dpkg_output"
+ [ -e "${COPYLIST}" ] && rm "${COPYLIST}"
+
+ list_packet_files >> "${COPYLIST}"
+ tarcopy "$(cat "${COPYLIST}" | sort -u)" "${MODULE_BUILD_DIR}"
+}
+
+post_copy() {
+ # copy required icons
+ # TODO: Why here? gtk <-> kdm?
+ gtk-update-icon-cache-3.0 "${TARGET_BUILD_DIR}/usr/share/icons/oxygen/" || pwarning "update-icon-cache-3.0 failed."
+}
+
diff --git a/core/modules/kdm/module.conf b/core/modules/kdm/module.conf
new file mode 100644
index 00000000..2778a2bc
--- /dev/null
+++ b/core/modules/kdm/module.conf
@@ -0,0 +1,20 @@
+REQUIRED_BINARIES=""
+REQUIRED_FILES=""
+REQUIRED_DIRECTORIES="
+ /usr/bin
+ /usr/share/dbus-1
+ /usr/share/polkit-1
+ /usr/share/kde4/services
+ /etc/dbus-1
+"
+REQUIRED_LIBRARIES=""
+# non-standard vars
+REQUIRED_SYSTEM_FILES="
+ /usr/share/icons/oxygen/16x16/actions/system-reboot.png
+ /usr/share/icons/oxygen/16x16/actions/system-shutdown.png
+ /usr/share/icons/oxygen/16x16/actions/dialog-cancel.png
+ /usr/share/icons/oxygen/index.theme
+ /usr/share/icons/default.kde4/index.theme
+"
+# Ignore these libs even if output by ldd
+REQUIRED_LDD_BLACKLIST="\|libQtWebKit\|libGL"
diff --git a/core/modules/kdm/module.conf.debian b/core/modules/kdm/module.conf.debian
new file mode 100644
index 00000000..2b1ca00d
--- /dev/null
+++ b/core/modules/kdm/module.conf.debian
@@ -0,0 +1,29 @@
+REQUIRED_INSTALLED_PACKAGES="
+ kdm
+ kde-workspace-kgreet-plugins
+ ttf-dejavu
+"
+REQUIRED_CONTENT_PACKAGES="
+ kdm
+ kde-workspace-kgreet-plugins
+ libicu52
+ libxcursor1
+ libxrandr2
+ libxfixes3
+ libxinerama1
+ libxi6
+"
+REQUIRED_DIRECTORIES+="
+ /usr/lib
+ /etc/pam.d
+ /etc/logrotate.d
+ /etc/insserv.conf.d
+ /etc/kde4/kdm
+"
+# non-standard vars
+REQUIRED_SYSTEM_FILES+="
+ /usr/share/kde4/apps/kdm/pics/shutdown.png
+ /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
+ /usr/share/icons/default/index.theme
+"
+
diff --git a/core/modules/kdm/module.conf.fedora b/core/modules/kdm/module.conf.fedora
new file mode 100644
index 00000000..59bfacb7
--- /dev/null
+++ b/core/modules/kdm/module.conf.fedora
@@ -0,0 +1,26 @@
+REQUIRED_INSTALLED_PACKAGES="
+ kdm
+ kgreeter-plugins
+ oxygen-icon-theme
+"
+REQUIRED_CONTENT_PACKAGES="
+ kdm
+ kgreeter-plugins
+"
+REQUIRED_BINARIES=""
+REQUIRED_DIRECTORIES="
+ /usr/bin
+ /usr/share/kde4/services
+ /usr/$LIB64/kde4
+ /usr/libexec/kde4
+"
+REQUIRED_FILES=""
+REQUIRED_LIBRARIES=""
+#non-standard vars
+REQUIRED_SYSTEM_FILES="
+ /usr/share/icons/oxygen/16x16/actions/system-reboot.png
+ /usr/share/icons/oxygen/16x16/actions/system-shutdown.png
+ /usr/share/icons/oxygen/16x16/actions/dialog-cancel.png
+ /usr/share/icons/oxygen/index.theme
+"
+
diff --git a/core/modules/kdm/module.conf.opensuse b/core/modules/kdm/module.conf.opensuse
new file mode 100644
index 00000000..832baf9c
--- /dev/null
+++ b/core/modules/kdm/module.conf.opensuse
@@ -0,0 +1,10 @@
+REQUIRED_INSTALLED_PACKAGES="
+ kdm
+"
+REQUIRED_CONTENT_PACKAGES="
+ kdm
+ kde4-kgreeter-plugins
+"
+REQUIRED_DIRECTORIES+="
+ /usr/$LIB64/kde4
+"
diff --git a/core/modules/kdm/module.conf.scientific b/core/modules/kdm/module.conf.scientific
new file mode 100644
index 00000000..d61cc8d6
--- /dev/null
+++ b/core/modules/kdm/module.conf.scientific
@@ -0,0 +1,20 @@
+REQUIRED_INSTALLED_PACKAGES="
+ kdm
+"
+REQUIRED_CONTENT_PACKAGES="
+ kdm
+"
+REQUIRED_BINARIES=""
+REQUIRED_DIRECTORIES+="
+ /usr/$LIB64/kde4
+"
+REQUIRED_FILES=""
+REQUIRED_LIBRARIES=""
+#non-standard vars
+REQUIRED_SYSTEM_FILES="
+ /usr/share/icons/oxygen/16x16/actions/system-reboot.png
+ /usr/share/icons/oxygen/16x16/actions/system-shutdown.png
+ /usr/share/icons/oxygen/16x16/actions/dialog-cancel.png
+ /usr/share/icons/oxygen/index.theme
+ /usr/share/icons/default.kde4/index.theme
+"
diff --git a/core/modules/kdm/module.conf.ubuntu b/core/modules/kdm/module.conf.ubuntu
new file mode 100644
index 00000000..660b3a1e
--- /dev/null
+++ b/core/modules/kdm/module.conf.ubuntu
@@ -0,0 +1,29 @@
+REQUIRED_INSTALLED_PACKAGES="
+ kdm
+ kde-workspace-kgreet-plugins
+"
+REQUIRED_CONTENT_PACKAGES="
+ kdm
+ kde-workspace-kgreet-plugins
+ libicu48
+ libxcursor1
+ libxrandr2
+ libxfixes3
+ libxinerama1
+ libxi6
+"
+REQUIRED_DIRECTORIES+="
+ /usr/lib
+ /etc/pam.d
+ /etc/logrotate.d
+ /etc/insserv.conf.d
+ /etc/kde4/kdm
+"
+# non-standard vars
+REQUIRED_SYSTEM_FILES+="
+ /usr/share/kde4/apps/kdm/pics/shutdown.png
+ /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
+ /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-R.ttf
+ /usr/share/icons/default/index.theme
+"
+
diff --git a/core/modules/kdm/module.conf.ubuntu.14 b/core/modules/kdm/module.conf.ubuntu.14
new file mode 100644
index 00000000..e29f35d0
--- /dev/null
+++ b/core/modules/kdm/module.conf.ubuntu.14
@@ -0,0 +1,29 @@
+REQUIRED_INSTALLED_PACKAGES="
+ kdm
+ kde-workspace-kgreet-plugins
+"
+REQUIRED_CONTENT_PACKAGES="
+ kdm
+ kde-workspace-kgreet-plugins
+ libicu52
+ libxcursor1
+ libxrandr2
+ libxfixes3
+ libxinerama1
+ libxi6
+"
+REQUIRED_DIRECTORIES+="
+ /usr/lib
+ /etc/pam.d
+ /etc/logrotate.d
+ /etc/insserv.conf.d
+ /etc/kde4/kdm
+"
+# non-standard vars
+REQUIRED_SYSTEM_FILES+="
+ /usr/share/kde4/apps/kdm/pics/shutdown.png
+ /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
+ /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-R.ttf
+ /usr/share/icons/default/index.theme
+"
+