summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog8
-rw-r--r--debian/control21
-rw-r--r--debian/itzks-systems-smartboard.install5
-rwxr-xr-xdebian/itzks-systems-smartboard.postinst161
-rwxr-xr-xdebian/itzks-systems-smartboard.prerm156
5 files changed, 351 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 30bef83..d1b794f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+itzks-systems (2015.02.12.1) UNRELEASED; urgency=medium
+
+ * Add bin:package itzks-systems-smartboard. Provide wrapping-like support
+ on Debian wheezy and above for SMART Notebook and tools contained in
+ a Ubuntu 12.04 (i386) chroot.
+
+ -- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Thu, 12 Feb 2015 13:20:21 +0100
+
itzks-systems (2014.12.17.1) unstable; urgency=medium
* debian/control:
diff --git a/debian/control b/debian/control
index 8c182ab..8d67c5e 100644
--- a/debian/control
+++ b/debian/control
@@ -854,3 +854,24 @@ Description: Profiling for ITZkS Workstation Systems
.
ITZkS (IT-Zukunft Schule) is a Nothern German project and based
on Debian Edu / Skolelinux.
+
+Package: itzks-systems-smartboard
+Architecture: all
+Depends:
+ schroot,
+ ${misc:Depends},
+Recommends:
+ itzks-systems-workstation (>= ${source:Version}),
+Description: Profiling for ITZkS Workstation Systems running a SMART Board
+ Install this package to pull in all dependencies required on
+ ITZkS (diskfull) Workstation systems.
+ .
+ Additionally, configure the system to be used with SMART Notebook 11.
+ .
+ The SMART Notebook 11 software will get deployed via an Ubuntu 12.04
+ chroot image (in-school downloadable tarball). This package provides
+ all the needed integration parts, to integrate the SMART Notebook 11
+ software into the Debian Edu desktop system.
+ .
+ ITZkS (IT-Zukunft Schule) is a Nothern German project and based
+ on Debian Edu / Skolelinux.
diff --git a/debian/itzks-systems-smartboard.install b/debian/itzks-systems-smartboard.install
new file mode 100644
index 0000000..5db729b
--- /dev/null
+++ b/debian/itzks-systems-smartboard.install
@@ -0,0 +1,5 @@
+bin/smarttech* usr/bin/
+etc/xdg/autostart/smarttech-SMART*.desktop etc/xdg/autostart/
+etc/schroot/chroot.d/precise-i386-smartboard-ITZkS etc/schroot/chroot.d/
+share/itzks-systems-smartboard/ usr/share/
+share/polkit-1/actions/*smarttech*.policy usr/share/polkit-1/actions/ \ No newline at end of file
diff --git a/debian/itzks-systems-smartboard.postinst b/debian/itzks-systems-smartboard.postinst
new file mode 100755
index 0000000..386bf97
--- /dev/null
+++ b/debian/itzks-systems-smartboard.postinst
@@ -0,0 +1,161 @@
+#!/bin/sh
+# postinst script for itzks-systems-smartboard
+#
+# 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
+
+SMARTBOARD_CHROOT="/srv/schroot/precise-i386-smartboard-ITZkS"
+
+ICON_SYMLINKS="
+128x128/mimetypes/application-x-smarttech-galleryitem.png\n
+128x128/mimetypes/application-x-smarttech-gallery.png\n
+128x128/mimetypes/gnome-mime-application-x-smarttech-notebook.png\n
+128x128/mimetypes/gnome-mime-application-x-smarttech-gallery.png\n
+128x128/mimetypes/application-x-smarttech-notebook.png\n
+128x128/mimetypes/gnome-mime-application-x-smarttech-galleryitem.png\n
+128x128/apps/SMART_Orient.png\n
+128x128/apps/SMART_Notebook.png\n
+128x128/apps/SMART_Pointer.png\n
+128x128/apps/SMART_Keyboard.png\n
+128x128/apps/SMART_ScreenCapture.png\n
+128x128/apps/SMART_ControlPanel.png\n
+128x128/apps/SMART_ScreenShade.png\n
+128x128/apps/SMART_Spotlight.png\n
+128x128/apps/SMART_Magnifier.png\n
+16x16/mimetypes/application-x-smarttech-galleryitem.png\n
+16x16/mimetypes/application-x-smarttech-gallery.png\n
+16x16/mimetypes/gnome-mime-application-x-smarttech-notebook.png\n
+16x16/mimetypes/gnome-mime-application-x-smarttech-gallery.png\n
+16x16/mimetypes/application-x-smarttech-notebook.png\n
+16x16/mimetypes/gnome-mime-application-x-smarttech-galleryitem.png\n
+16x16/apps/SMART_Orient.png\n
+16x16/apps/SMART_Notebook.png\n
+16x16/apps/SMART_Pointer.png\n
+16x16/apps/SMART_Keyboard.png\n
+16x16/apps/SMART_ScreenCapture.png\n
+16x16/apps/SMART_ControlPanel.png\n
+16x16/apps/SMART_ScreenShade.png\n
+16x16/apps/SMART_Spotlight.png\n
+16x16/apps/SMART_Magnifier.png\n
+22x22/mimetypes/application-x-smarttech-galleryitem.png\n
+22x22/mimetypes/application-x-smarttech-gallery.png\n
+22x22/mimetypes/gnome-mime-application-x-smarttech-notebook.png\n
+22x22/mimetypes/gnome-mime-application-x-smarttech-gallery.png\n
+22x22/mimetypes/application-x-smarttech-notebook.png\n
+22x22/mimetypes/gnome-mime-application-x-smarttech-galleryitem.png\n
+22x22/apps/SMART_Orient.png\n
+22x22/apps/SMART_Notebook.png\n
+22x22/apps/SMART_Pointer.png\n
+22x22/apps/SMART_Keyboard.png\n
+22x22/apps/SMART_ScreenCapture.png\n
+22x22/apps/SMART_ControlPanel.png\n
+22x22/apps/SMART_ScreenShade.png\n
+22x22/apps/SMART_Spotlight.png\n
+22x22/apps/SMART_Magnifier.png\n
+32x32/mimetypes/application-x-smarttech-galleryitem.png\n
+32x32/mimetypes/application-x-smarttech-gallery.png\n
+32x32/mimetypes/gnome-mime-application-x-smarttech-notebook.png\n
+32x32/mimetypes/gnome-mime-application-x-smarttech-gallery.png\n
+32x32/mimetypes/application-x-smarttech-notebook.png\n
+32x32/mimetypes/gnome-mime-application-x-smarttech-galleryitem.png\n
+32x32/apps/SMART_Orient.png\n
+32x32/apps/SMART_Notebook.png\n
+32x32/apps/SMART_Pointer.png\n
+32x32/apps/SMART_Keyboard.png\n
+32x32/apps/SMART_ScreenCapture.png\n
+32x32/apps/SMART_ControlPanel.png\n
+32x32/apps/SMART_ScreenShade.png\n
+32x32/apps/SMART_Spotlight.png\n
+32x32/apps/SMART_Magnifier.png\n
+48x48/mimetypes/application-x-smarttech-galleryitem.png\n
+48x48/mimetypes/application-x-smarttech-gallery.png\n
+48x48/mimetypes/gnome-mime-application-x-smarttech-notebook.png\n
+48x48/mimetypes/gnome-mime-application-x-smarttech-gallery.png\n
+48x48/mimetypes/application-x-smarttech-notebook.png\n
+48x48/mimetypes/gnome-mime-application-x-smarttech-galleryitem.png\n
+48x48/apps/SMART_Orient.png\n
+48x48/apps/SMART_Notebook.png\n
+48x48/apps/SMART_Pointer.png\n
+48x48/apps/SMART_Keyboard.png\n
+48x48/apps/SMART_ScreenCapture.png\n
+48x48/apps/SMART_ControlPanel.png\n
+48x48/apps/SMART_ScreenShade.png\n
+48x48/apps/SMART_Spotlight.png\n
+48x48/apps/SMART_Magnifier.png\n
+22x22/apps/SMART_ProductUpdate.png\n
+22x22/apps/SMART_Tools.png\n
+22x22/apps/SMART_Board_Software.png\n
+48x48/apps/SMART_ProductUpdate.png\n
+48x48/apps/SMART_Tools.png\n
+48x48/apps/SMART_Board_Software.png\n
+128x128/apps/SMART_ProductUpdate.png\n
+128x128/apps/SMART_Tools.png\n
+128x128/apps/SMART_Board_Software.png\n
+32x32/apps/SMART_ProductUpdate.png\n
+32x32/apps/SMART_Tools.png\n
+32x32/apps/SMART_Board_Software.png\n
+16x16/apps/SMART_ProductUpdate.png\n
+16x16/apps/SMART_Tools.png\n
+16x16/apps/SMART_Board_Software.png\n
+22x22/apps/SMART_LanguageChooser.png\n
+48x48/apps/SMART_LanguageChooser.png\n
+128x128/apps/SMART_LanguageChooser.png\n
+32x32/apps/SMART_LanguageChooser.png\n
+scalable/apps/SMART_LanguageChooser.svg\n
+16x16/apps/SMART_LanguageChooser.png
+"
+
+set -x
+
+case "$1" in
+ configure)
+ if [ -d "$SMARTBOARD_CHROOT" ]; then
+ cd /usr/share/itzks-systems-smartboard
+ find * -type f | while read path; do
+ ln -fs /usr/share/itzks-systems-smartboard/$path /usr/share/$path
+ done
+ cd - 1>/dev/null
+
+ printf "$ICON_SYMLINKS" | while read rel_icon_path; do
+ chroot_icon_path="$SMARTBOARD_CHROOT/usr/share/icons/hicolor/$rel_icon_path"
+ system_icon_path="/usr/share/icons/hicolor/$rel_icon_path"
+ if [ -f "$chroot_icon_path" ]; then
+ ln -sf "$chroot_icon_path" "$system_icon_path"
+ fi
+ done
+
+ update-icon-caches /usr/share/icons/hicolor
+ update-desktop-database
+ update-mime-database /usr/share/mime
+
+ fi
+ ;;
+
+ 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/itzks-systems-smartboard.prerm b/debian/itzks-systems-smartboard.prerm
new file mode 100755
index 0000000..5d1a0c6
--- /dev/null
+++ b/debian/itzks-systems-smartboard.prerm
@@ -0,0 +1,156 @@
+#!/bin/sh
+# prerm script for itzks-systems-smartboard
+#
+# see: dh_installdeb(1)
+# summary of how this script can be called:
+# * <prerm> `remove'
+# * <old-prerm> `upgrade' <new-version>
+# * <new-prerm> `failed-upgrade' <old-version>
+# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+# * <deconfigured's-prerm> `deconfigure' `in-favour'
+# <package-being-installed> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+set -e
+
+SMARTBOARD_CHROOT="/srv/schroot/precise-i386-smartboard-ITZkS"
+
+ICON_SYMLINKS="
+128x128/mimetypes/application-x-smarttech-galleryitem.png\n
+128x128/mimetypes/application-x-smarttech-gallery.png\n
+128x128/mimetypes/gnome-mime-application-x-smarttech-notebook.png\n
+128x128/mimetypes/gnome-mime-application-x-smarttech-gallery.png\n
+128x128/mimetypes/application-x-smarttech-notebook.png\n
+128x128/mimetypes/gnome-mime-application-x-smarttech-galleryitem.png\n
+128x128/apps/SMART_Orient.png\n
+128x128/apps/SMART_Notebook.png\n
+128x128/apps/SMART_Pointer.png\n
+128x128/apps/SMART_Keyboard.png\n
+128x128/apps/SMART_ScreenCapture.png\n
+128x128/apps/SMART_ControlPanel.png\n
+128x128/apps/SMART_ScreenShade.png\n
+128x128/apps/SMART_Spotlight.png\n
+128x128/apps/SMART_Magnifier.png\n
+16x16/mimetypes/application-x-smarttech-galleryitem.png\n
+16x16/mimetypes/application-x-smarttech-gallery.png\n
+16x16/mimetypes/gnome-mime-application-x-smarttech-notebook.png\n
+16x16/mimetypes/gnome-mime-application-x-smarttech-gallery.png\n
+16x16/mimetypes/application-x-smarttech-notebook.png\n
+16x16/mimetypes/gnome-mime-application-x-smarttech-galleryitem.png\n
+16x16/apps/SMART_Orient.png\n
+16x16/apps/SMART_Notebook.png\n
+16x16/apps/SMART_Pointer.png\n
+16x16/apps/SMART_Keyboard.png\n
+16x16/apps/SMART_ScreenCapture.png\n
+16x16/apps/SMART_ControlPanel.png\n
+16x16/apps/SMART_ScreenShade.png\n
+16x16/apps/SMART_Spotlight.png\n
+16x16/apps/SMART_Magnifier.png\n
+22x22/mimetypes/application-x-smarttech-galleryitem.png\n
+22x22/mimetypes/application-x-smarttech-gallery.png\n
+22x22/mimetypes/gnome-mime-application-x-smarttech-notebook.png\n
+22x22/mimetypes/gnome-mime-application-x-smarttech-gallery.png\n
+22x22/mimetypes/application-x-smarttech-notebook.png\n
+22x22/mimetypes/gnome-mime-application-x-smarttech-galleryitem.png\n
+22x22/apps/SMART_Orient.png\n
+22x22/apps/SMART_Notebook.png\n
+22x22/apps/SMART_Pointer.png\n
+22x22/apps/SMART_Keyboard.png\n
+22x22/apps/SMART_ScreenCapture.png\n
+22x22/apps/SMART_ControlPanel.png\n
+22x22/apps/SMART_ScreenShade.png\n
+22x22/apps/SMART_Spotlight.png\n
+22x22/apps/SMART_Magnifier.png\n
+32x32/mimetypes/application-x-smarttech-galleryitem.png\n
+32x32/mimetypes/application-x-smarttech-gallery.png\n
+32x32/mimetypes/gnome-mime-application-x-smarttech-notebook.png\n
+32x32/mimetypes/gnome-mime-application-x-smarttech-gallery.png\n
+32x32/mimetypes/application-x-smarttech-notebook.png\n
+32x32/mimetypes/gnome-mime-application-x-smarttech-galleryitem.png\n
+32x32/apps/SMART_Orient.png\n
+32x32/apps/SMART_Notebook.png\n
+32x32/apps/SMART_Pointer.png\n
+32x32/apps/SMART_Keyboard.png\n
+32x32/apps/SMART_ScreenCapture.png\n
+32x32/apps/SMART_ControlPanel.png\n
+32x32/apps/SMART_ScreenShade.png\n
+32x32/apps/SMART_Spotlight.png\n
+32x32/apps/SMART_Magnifier.png\n
+48x48/mimetypes/application-x-smarttech-galleryitem.png\n
+48x48/mimetypes/application-x-smarttech-gallery.png\n
+48x48/mimetypes/gnome-mime-application-x-smarttech-notebook.png\n
+48x48/mimetypes/gnome-mime-application-x-smarttech-gallery.png\n
+48x48/mimetypes/application-x-smarttech-notebook.png\n
+48x48/mimetypes/gnome-mime-application-x-smarttech-galleryitem.png\n
+48x48/apps/SMART_Orient.png\n
+48x48/apps/SMART_Notebook.png\n
+48x48/apps/SMART_Pointer.png\n
+48x48/apps/SMART_Keyboard.png\n
+48x48/apps/SMART_ScreenCapture.png\n
+48x48/apps/SMART_ControlPanel.png\n
+48x48/apps/SMART_ScreenShade.png\n
+48x48/apps/SMART_Spotlight.png\n
+48x48/apps/SMART_Magnifier.png\n
+22x22/apps/SMART_ProductUpdate.png\n
+22x22/apps/SMART_Tools.png\n
+22x22/apps/SMART_Board_Software.png\n
+48x48/apps/SMART_ProductUpdate.png\n
+48x48/apps/SMART_Tools.png\n
+48x48/apps/SMART_Board_Software.png\n
+128x128/apps/SMART_ProductUpdate.png\n
+128x128/apps/SMART_Tools.png\n
+128x128/apps/SMART_Board_Software.png\n
+32x32/apps/SMART_ProductUpdate.png\n
+32x32/apps/SMART_Tools.png\n
+32x32/apps/SMART_Board_Software.png\n
+16x16/apps/SMART_ProductUpdate.png\n
+16x16/apps/SMART_Tools.png\n
+16x16/apps/SMART_Board_Software.png\n
+16x16/apps/SMART_Board_Software.png\n
+22x22/apps/SMART_LanguageChooser.png\n
+48x48/apps/SMART_LanguageChooser.png\n
+128x128/apps/SMART_LanguageChooser.png\n
+32x32/apps/SMART_LanguageChooser.png\n
+scalable/apps/SMART_LanguageChooser.svg\n
+16x16/apps/SMART_LanguageChooser.png
+"
+
+set -x
+
+case "$1" in
+ remove)
+ cd /usr/share/itzks-systems-smartboard
+ find * -type f | while read path; do
+ if [ -h /usr/share/$path ] && [ "$(readlink /usr/share/$path)" = "/usr/share/itzks-systems-smartboard/$path" ]; then
+ rm -f /usr/share/$path
+ fi
+ done
+ cd - 1>/dev/null
+
+ printf "$ICON_SYMLINKS" | while read rel_icon_path; do
+ system_icon_path="/usr/share/icons/hicolor/$rel_icon_path"
+ if [ -h "$system_icon_path" ]; then
+ rm "$system_icon_path"
+ fi
+ done
+
+ update-icon-caches /usr/share/icons/gnome
+ update-desktop-database
+ update-mime-database /usr/share/mime
+
+ ;;
+ deconfigure|upgrade|failed-upgrade)
+ :
+ ;;
+ *) echo "$0: didn't understand being called with \`$1'" 1>&2
+ exit 1;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0