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/openbox | |
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/openbox')
-rw-r--r-- | remote/modules/openbox/module.build | 36 | ||||
-rw-r--r-- | remote/modules/openbox/module.conf | 11 | ||||
-rw-r--r-- | remote/modules/openbox/module.conf.debian | 15 | ||||
-rw-r--r-- | remote/modules/openbox/module.conf.opensuse | 13 | ||||
-rw-r--r-- | remote/modules/openbox/module.conf.ubuntu | 15 | ||||
-rw-r--r-- | remote/modules/openbox/module.conf.zypper | 11 |
6 files changed, 101 insertions, 0 deletions
diff --git a/remote/modules/openbox/module.build b/remote/modules/openbox/module.build new file mode 100644 index 00000000..0cd6aaad --- /dev/null +++ b/remote/modules/openbox/module.build @@ -0,0 +1,36 @@ +fetch_source() { + : +} + +build() { + COPYLIST="list_dpkg_output" + [ -e "$COPYLIST" ] && rm "$COPYLIST" + + list_packet_files >> "$COPYLIST" + # FIXME: Hack: openSUSE's rpm -ql lilsts non-existant pango.modules, which makes + # tarcopy fail. We probably can't fix that, so remove it using grep.... + tarcopy "$(cat "$COPYLIST" | grep -v 'pango\.modules$' | sort -u)" "${MODULE_BUILD_DIR}" + + return 0 +} + +post_copy() { + [ ! -d "$TARGET_BUILD_DIR/etc/pango" ] && mkdir -p "$TARGET_BUILD_DIR/etc/pango" + + # little Workaround, as under e.g. 64bit Suse the binary is called + # pango-querymodules-64, not pango-querymodules. + which pango-querymodules 2>/dev/null 1>&2 + ERR=$? + if [[ "$ERR" -eq 0 ]]; then + PANGO_QUERYMODULES_ARCH=pango-querymodules + else + which pango-querymodules-64 2>/dev/null 1>&2 + ERR=$? + if [[ "$ERR" -eq 0 ]]; then + PANGO_QUERYMODULES_ARCH=pango-querymodules-64 + else + perror "Could not find either pango-querymodules or pango-querymodules-64!" + fi + fi + $PANGO_QUERYMODULES_ARCH > "$TARGET_BUILD_DIR/etc/pango/pango.modules" +} diff --git a/remote/modules/openbox/module.conf b/remote/modules/openbox/module.conf new file mode 100644 index 00000000..8a816b97 --- /dev/null +++ b/remote/modules/openbox/module.conf @@ -0,0 +1,11 @@ +REQUIRED_BINARIES=" + openbox + openbox-session +" +REQUIRED_FILES=" + /usr/share/xsessions/openbox.desktop +" +REQUIRED_DIRECTORIES=" + /etc + /usr/share/themes/Clearlooks +" diff --git a/remote/modules/openbox/module.conf.debian b/remote/modules/openbox/module.conf.debian new file mode 100644 index 00000000..b10bd40d --- /dev/null +++ b/remote/modules/openbox/module.conf.debian @@ -0,0 +1,15 @@ +REQUIRED_INSTALLED_PACKAGES=" + openbox + libpango1.0-0 + libpango1.0-dev + libdbus-1-dev +" +REQUIRED_CONTENT_PACKAGES=" + openbox + libpango1.0-0 + libpango1.0-dev + libdbus-1-dev +" +REQUIRED_DIRECTORIES+=" + /usr/lib +" diff --git a/remote/modules/openbox/module.conf.opensuse b/remote/modules/openbox/module.conf.opensuse new file mode 100644 index 00000000..c06a89b2 --- /dev/null +++ b/remote/modules/openbox/module.conf.opensuse @@ -0,0 +1,13 @@ +REQUIRED_INSTALLED_PACKAGES=" + openbox + libpango-1_0-0 + pango-tools +" +REQUIRED_CONTENT_PACKAGES=" + openbox + libpango-1_0-0 + pango-tools +" +REQUIRED_DIRECTORIES+=" + /usr/$LIB64 +" diff --git a/remote/modules/openbox/module.conf.ubuntu b/remote/modules/openbox/module.conf.ubuntu new file mode 100644 index 00000000..b10bd40d --- /dev/null +++ b/remote/modules/openbox/module.conf.ubuntu @@ -0,0 +1,15 @@ +REQUIRED_INSTALLED_PACKAGES=" + openbox + libpango1.0-0 + libpango1.0-dev + libdbus-1-dev +" +REQUIRED_CONTENT_PACKAGES=" + openbox + libpango1.0-0 + libpango1.0-dev + libdbus-1-dev +" +REQUIRED_DIRECTORIES+=" + /usr/lib +" diff --git a/remote/modules/openbox/module.conf.zypper b/remote/modules/openbox/module.conf.zypper new file mode 100644 index 00000000..1d0b68c5 --- /dev/null +++ b/remote/modules/openbox/module.conf.zypper @@ -0,0 +1,11 @@ +REQUIRED_INSTALLED_PACKAGES=" openbox + libpango-1_0-0" +REQUIRED_CONTENT_PACKAGES=" openbox + libpango-1_0-0" +REQUIRED_BINARIES=" openbox + openbox-session" +REQUIRED_FILES=" /usr/share/xsessions/openbox.desktop" +REQUIRED_DIRECTORIES=" /etc + /usr/$LIB64 + /usr/share/themes/Clearlooks" + |