diff options
author | Jonathan Bauer | 2014-03-25 15:24:04 +0100 |
---|---|---|
committer | Jonathan Bauer | 2014-03-25 15:24:04 +0100 |
commit | 3d1235af060955e271be68240c0ca46bc6d81b03 (patch) | |
tree | ef02dcc4bb8476cfeef07e2df6a38b4c29d350df /remote/modules/kdm | |
parent | [rootfs-stage32] /var/log/openslx in tmpfiles.d (diff) | |
download | tm-scripts-3d1235af060955e271be68240c0ca46bc6d81b03.tar.gz tm-scripts-3d1235af060955e271be68240c0ca46bc6d81b03.tar.xz tm-scripts-3d1235af060955e271be68240c0ca46bc6d81b03.zip |
[modules] new module naming convention
rename $MODULE.{conf,build} to module.{conf,build}
Diffstat (limited to 'remote/modules/kdm')
-rw-r--r-- | remote/modules/kdm/module.build | 19 | ||||
-rw-r--r-- | remote/modules/kdm/module.conf | 20 | ||||
-rw-r--r-- | remote/modules/kdm/module.conf.debian | 28 | ||||
-rw-r--r-- | remote/modules/kdm/module.conf.opensuse | 10 | ||||
-rw-r--r-- | remote/modules/kdm/module.conf.scientific | 20 | ||||
-rw-r--r-- | remote/modules/kdm/module.conf.ubuntu | 29 |
6 files changed, 126 insertions, 0 deletions
diff --git a/remote/modules/kdm/module.build b/remote/modules/kdm/module.build new file mode 100644 index 00000000..d5199340 --- /dev/null +++ b/remote/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/remote/modules/kdm/module.conf b/remote/modules/kdm/module.conf new file mode 100644 index 00000000..2778a2bc --- /dev/null +++ b/remote/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/remote/modules/kdm/module.conf.debian b/remote/modules/kdm/module.conf.debian new file mode 100644 index 00000000..da0df913 --- /dev/null +++ b/remote/modules/kdm/module.conf.debian @@ -0,0 +1,28 @@ +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/icons/default/index.theme +" + diff --git a/remote/modules/kdm/module.conf.opensuse b/remote/modules/kdm/module.conf.opensuse new file mode 100644 index 00000000..832baf9c --- /dev/null +++ b/remote/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/remote/modules/kdm/module.conf.scientific b/remote/modules/kdm/module.conf.scientific new file mode 100644 index 00000000..d61cc8d6 --- /dev/null +++ b/remote/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/remote/modules/kdm/module.conf.ubuntu b/remote/modules/kdm/module.conf.ubuntu new file mode 100644 index 00000000..b91d00e0 --- /dev/null +++ b/remote/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 +" + |