--- italc-1.0.4.orig/debian/italc-client.postinst +++ italc-1.0.4/debian/italc-client.postinst @@ -0,0 +1,17 @@ +#!/bin/bash +if [ ! -f /etc/italc/keys/private/teacher/key ] && [ ! -f /etc/italc/keys/public/teacher/key ]; then + echo "Creating teacher keypair" + ica -role teacher -createkeypair > /dev/zero +fi +if [ ! -f /etc/italc/keys/private/admin/key ] && [ ! -f /etc/italc/keys/public/admin/key ]; then + echo "Creating admin keypair" + ica -role admin -createkeypair > /dev/zero +fi +if [ ! -f /etc/italc/keys/private/supporter/key ] && [ ! -f /etc/italc/keys/public/supporter/key ]; then + echo "Creating supporter keypair" + ica -role supporter -createkeypair > /dev/zero +fi +echo "Setting up the permissions" +chown root.admin /etc/italc/keys/private/*/key + +#DEBHELPER# --- italc-1.0.4.orig/debian/italc-client.dirs +++ italc-1.0.4/debian/italc-client.dirs @@ -0,0 +1 @@ +etc/italc --- italc-1.0.4.orig/debian/italc-master.dirs +++ italc-1.0.4/debian/italc-master.dirs @@ -0,0 +1 @@ +usr/bin --- italc-1.0.4.orig/debian/italc-client.postrm +++ italc-1.0.4/debian/italc-client.postrm @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +if [ "$1" = purge ]; then + rm -rf /etc/italc +fi; + +#DEBHELPER# --- italc-1.0.4.orig/debian/italc-master.install +++ italc-1.0.4/debian/italc-master.install @@ -0,0 +1 @@ +usr/bin/italc --- italc-1.0.4.orig/debian/control +++ italc-1.0.4/debian/control @@ -0,0 +1,48 @@ +Source: italc +Section: x11 +Priority: optional +Maintainer: Patrick Winnertz +Build-Depends: cdbs, dpatch, debhelper (>= 5.0), libqt4-dev, zlib1g-dev, libjpeg62-dev, openssl, imagemagick, libxtst-dev +Standards-Version: 3.7.2 + +Package: italc-master +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, python, italc-client +Description: Intelligent Teaching and Learning with Computers + iTALC makes it possible, to access and influence the pupils + activities just from the computer of the teacher. With the + help of iTALC, for example the teacher is able to see the + content of the pupils screens on his screen. If a pupil needs + help, the teacher can access the pupils desktop and give support + from his computer. The pupil can watch all activities, the + teacher is doing on his desktop. So the pupil can learn new processes. + For teaching something to all pupils, you can switch into demo-mode + where all screens of the pupils show the teacher-screen. + Furthermore things like locking pupil's screens, killing games, + power on/off clients and much more can be done with iTALC. + . + This package contains the software necessary to observe and control iTALC + clients provided by the italc-client package. + . + Web site: http://italc.sourceforge.net/home.php + +Package: italc-client +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Intelligent Teaching and Learning with Computers + iTALC makes it possible, to access and influence the pupils + activities just from the computer of the teacher. With the + help of iTALC, for example the teacher is able to see the + content of the pupils screens on his screen. If a pupil needs + help, the teacher can access the pupils desktop and give support + from his computer. The pupil can watch all activities, the + teacher is doing on his desktop. So the pupil can learn new processes. + For teaching something to all pupils, you can switch into demo-mode + where all screens of the pupils show the teacher-screen. + Furthermore things like locking pupil's screens, killing games, + power on/off clients and much more can be done with iTALC. + . + This package contains the client software for iTALC that can be controlled + using italc-master. + . + Web site: http://italc.sourceforge.net/home.php --- italc-1.0.4.orig/debian/copyright +++ italc-1.0.4/debian/copyright @@ -0,0 +1,211 @@ +This package was debianized by Steffen Joeris on +Sat, 12 Nov 2005 00:20:36 +0100. + +It was downloaded from http://italc.sourceforge.net/download.php + +Copyright Holders: + +Main Developer: Tobias Doerffel + + +Other Developers: + + Rohit Kumar + Copyright (C) 2005 + List of files: +./ica/x11/rfb/rfb.h +./ica/x11/libvncserver/scale.c +./ica/x11/libvncserver/auth.c +./ica/x11/libvncserver/sockets.c +./ica/x11/libvncserver/rfbserver.c +./common/include/rfb/rfb.h +./common/include/rfb/rfbproto.h + + Dan McGuirk + Copyright (C) 2001 + List of files: +./ica/x11/rfb/rfb.h +./ica/x11/libvncserver/corre.c +./ica/x11/libvncserver/tabletrans24template.c +./ica/x11/libvncserver/rre.c +./ica/x11/libvncserver/scale.c +./ica/x11/libvncserver/tableinittctemplate.c +./ica/x11/libvncserver/tableinitcmtemplate.c +./ica/x11/libvncserver/stats.c +./ica/x11/libvncserver/tableinit24.c +./ica/x11/libvncserver/auth.c +./ica/x11/libvncserver/tabletranstemplate.c +./ica/x11/libvncserver/hextile.c +./ica/x11/libvncserver/translate.c +./ica/x11/libvncserver/sockets.c +./ica/x11/libvncserver/rfbserver.c +./ica/x11/libvncserver/cutpaste.c +./common/include/rfb/rfb.h + + RealVNC Ltd. + Copyright (C) 2002 + List of files: +./ica/x11/rfb/rfb.h +./ica/x11/libvncserver/corre.c +./ica/x11/libvncserver/scale.c +./ica/x11/libvncserver/zrlepalettehelper.c +./ica/x11/libvncserver/zrlepalettehelper.h +./ica/x11/libvncserver/zrletypes.h +./ica/x11/libvncserver/stats.c +./ica/x11/libvncserver/zrleoutstream.c +./ica/x11/libvncserver/zrleoutstream.h +./ica/x11/libvncserver/zrleencodetemplate.c +./ica/x11/libvncserver/zrle.c +./ica/x11/libvncserver/httpd.c +./ica/x11/libvncserver/rfbserver.c +./common/include/rfb/rfb.h + + AT&T Laboratories Cambridge + Copyright (C) 1999 + List of files: +./ica/x11/rfb/rfb.h +./ica/x11/libvncserver/corre.c +./ica/x11/libvncserver/tabletrans24template.c +./ica/x11/libvncserver/rre.ci +./ica/x11/libvncserver/scale.c +./ica/x11/libvncserver/d3des.c +./ica/x11/libvncserver/d3des.h +./ica/x11/libvncserver/tableinittctemplate.c +./ica/x11/libvncserver/tableinitcmtemplate.c +./ica/x11/libvncserver/cursor.c +./ica/x11/libvncserver/stats.c +./ica/x11/libvncserver/tight.c +./ica/x11/libvncserver/tableinit24.c +./ica/x11/libvncserver/auth.c +./ica/x11/libvncserver/tabletranstemplate.c +./ica/x11/libvncserver/hextile.c +./ica/x11/libvncserver/zlib.c +./ica/x11/libvncserver/translate.c +./ica/x11/libvncserver/httpd.c +./ica/x11/libvncserver/vncauth.c +./ica/x11/libvncserver/sockets.c +./ica/x11/libvncserver/rfbserver.c +./ica/x11/libvncserver/cutpaste.c +./common/include/rfb/rfb.h +./common/include/rfb/rfbproto.h +./tightvnc4win_italc.diff + + James "Wez" Weatherall + Copyright (C) 2001 + List of files: +./ica/x11/libvncserver/rfbregion.c + + Johannes E. Schindelin + Copyright (C) 2001 + List of files: +./ica/x11/libvncserver/rfbregion.c +./ica/x11/libvncserver/scale.c +./ica/x11/libvncserver/auth.c +./ica/x11/libvncserver/sockets.c +./ica/x11/libvncserver/rfbserver.c +./common/include/rfb/rfbproto.h + + Sun Microsystems, Inc. + Copyright (C) 2003 + List of files: +./ica/x11/libvncserver/zrlepalettehelper.c +./ica/x11/libvncserver/zrlepalettehelper.h +./ica/x11/libvncserver/zrleoutstream.c +./ica/x11/libvncserver/zrleoutstream.h +./ica/x11/libvncserver/zrleencodetemplate.c +./ica/x11/libvncserver/zrle.c + + Richard Outerbridge + Copyright (C) 1988-1992 + List of files: +./ica/x11/libvncserver/d3des.c +./ica/x11/libvncserver/d3des.h +./common/include/rfb/rfbproto.h + + Constantin Kaplinsky + Copyright (C) 2000,2001 + List of files: +./ica/x11/libvncserver/cursor.c +./ica/x11/libvncserver/tight.c + + Tridia Corporation + Copyright (C) 2000 + List of files: +./ica/x11/libvncserver/zlib.c +./common/include/rfb/rfbproto.h + + Karl J. Runge + Copyright (C) 2004-2006 + List of files: +./ica/x11/x11vnc/tkx11vnc.h +./ica/x11/x11vnc/x11vnc.c +./ica/x11/x11vnc/help.c + + Free Software Foundation, Inc. + Copyright (C) 1989, 1991 + List of files: +./ica/x11/x11vnc/help.c + + The Open Group + Copyright (C) 1987, 1998 + List of files: +./ica/x11/x11vnc/nox11.h + + Markus Franz Xaver + Copyright (C) 2002 + List of files: +./ica/src/lzoconf.h +./ica/src/minilzo.c +./ica/src/minilzo.h + + Johannes Oberhumer + Copyright (C) 2002 + List of files: +./ica/src/lzoconf.h +./ica/src/minilzo.c +./ica/src/minilzo.h + + Joseph Wenniger + Copyright (C) 2001-2003 + List of files: +./ima/src/kmultitabbar.h +./ima/src/kmultitabbar.cpp + + Trolltech ASA + Copyright (C) 1992-2006 + List of files: +./ima/src/3rdparty/qnetworkinterface.h +./ima/src/3rdparty/qnetworkinterface_win.cpp +./ima/src/3rdparty/qnetworkinterface_win_p.h +./ima/src/3rdparty/qnetworkinterface.cpp +./ima/src/3rdparty/qnetworkinterface_p.h +./ima/src/3rdparty/qnetworkinterface_unix.cpp + + Tatu Ylonen + Copyright (C) 1995 + List of files: +./common/src/dsa_key.cpp + + Harakan Software + Copyright (C) 2001 + List of files: +./common/include/rfb/rfbproto.h + + X Consortium + Copyright (C) 1987 + List of files: +./common/include/rfb/keysym.h + +License: + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License, version 2 +as published by the Free Software Foundation. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANDABILITY of FITNESS FOR A PARTICULAR PURPOSE. +See the GNU General Public License for details. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in /usr/share/common-licenses/GPL. --- italc-1.0.4.orig/debian/compat +++ italc-1.0.4/debian/compat @@ -0,0 +1 @@ +5 --- italc-1.0.4.orig/debian/menu +++ italc-1.0.4/debian/menu @@ -0,0 +1,7 @@ +?package(italc-master):\ + needs="X11"\ + section="Apps/Education"\ + title="iTALC"\ + command="/usr/bin/italc" \ + icon32x32="/usr/share/pixmaps/italc.xpm"\ + hints="KDE" --- italc-1.0.4.orig/debian/README.Debian +++ italc-1.0.4/debian/README.Debian @@ -0,0 +1,33 @@ +italc for Debian +---------------- + +1.1) Create keypairs to allow watching + + To configure italc in order to allow teachers and/or admins to watch what + the pupils/people do, you have to create key pairs. These keys are automatically + stored in /etc/italc, and they are created by this command: + ica -createkeypair -role $role + where $role could be: teacher, admins, other or supporter. + If you don't specify the -role option, the key is automatically created for + role= teacher. + +1.2) Allow specific users to have access to these keys. + + In the next step you must grant access to the users who should later use italc: + + The private key for role=teacher should now be in: + /etc/italc/keys/private/teacher/ + and the public one in + /etc/italc/keys/public/teacher/ + + To allow all users to have access, add them into the group which has the access + rights on this directory. + +1.3) Start ica on all client PC's + + You must verify that all running ica applications have access to the public keys, + so you have to copy them on your own to the machines ica should run on. + + + + -- Patrick Winnertz Wed, 27 Dec 2006 09:18:32 +0100 --- italc-1.0.4.orig/debian/italc-client.manpages +++ italc-1.0.4/debian/italc-client.manpages @@ -0,0 +1 @@ +ica/ica.1 --- italc-1.0.4.orig/debian/changelog +++ italc-1.0.4/debian/changelog @@ -0,0 +1,95 @@ +italc (1:1.0.4-0ubuntu1) hardy; urgency=low + + * New upstream release + - Fix VNC crash + - Code moved from ica/italc into libitalc.so + * Add libitalc.so to italc-client + * Remove the client systray icon + * Turn off the help bubbles by default in italc + * Fix FTBFS due to missing za locale + * Use gnome-session-save/gdm-signal for Gnome shutdown/reboot/logoff + * Use dcop for KDE shutdown/reboot/logoff + + -- Stéphane Graber Tue, 27 Nov 2007 22:34:58 +0100 + +italc (1:1.0.2-2) unstable; urgency=low + + * Upload of the package to unstable + + -- Patrick Winnertz Wed, 16 May 2007 13:45:10 +0200 + +italc (1:1.0.2-1) experimental; urgency=low + + * Packaging new upstream release + * FTBFS Bug on kfreeBSD send to upstream and this is fixed in + this version now. (Closes: #414096) + + -- Patrick Winnertz Tue, 10 Apr 2007 15:29:41 +0200 + +italc (1:1.0.0-1) experimental; urgency=low + + * Packaging new upstream version. + Must use epoch since 1.0.0 seems to be lesser than 1.0.0.0~rc2 + * Added build dependency libxtst-dev + * Modified rules: + - Removed build of icon, since this is now upstream + - Added --with-linux to enable build on kfreeBSD. Thanks to Cyril + Brulebois. (Closes: #414096) + + -- Patrick Winnertz Sat, 24 Mar 2007 15:44:11 +0100 + +italc (1.0.0.0~rc2-1) experimental; urgency=low + + * Packaging new upstream release + * Adopting this package from Steffen Joeris with his acceptance + * Increasing the debhelper level to 5 + * Adding the build-depends: + - libqt4-dev + - zlib1g-dev + - libjpeg62-dev + - openssl + * italc-master now has a dependency against italc-client, since + the client server (ica ) also have to run on the master. + * Updated Copyright file, since some files were removed + * Removed build depends libxaw7-dev, libqt3-mt-dev, libssl-dev, libxtst-dev + since they are obsolete + * Removed patches since upstream adopted them + * Added README.Debian to make key creation easier for local administrators + + -- Patrick Winnertz Wed, 27 Dec 2006 20:16:04 +0100 + +italc (0.9.6.2-3) unstable; urgency=low + + * Change build-depends against libxaw8-dev to libxaw7-dev + (Closes: #370197) + * Expand 20-configure.patch to adjust to newer X libraries + Thanks to Peter Eisentraut + * Bump standard version to 3.7.2 + * Provide the italc-keygen program which is needed for + the key generation to enable the connection + Thanks to Patrick Winnertz for some further skolelinux packaging + * Fix spelling error in descriptions (Closes: #363282, #363979) + * Upload sponsored by Morten Werner Olsen. + + -- Steffen Joeris Sun, 4 Jun 2006 13:23:38 +0200 + +italc (0.9.6.2-2) unstable; urgency=low + + [ Steffen Joeris ] + * Include patch to prevent italc to segfault on architectures + where the size of a pointer is greater than the size of + an integer, such as ia64. (Closes: #340684) + Thanks to Dann Frazier. + + [ Florian Ragwitz ] + * Removed build-dep on xlibs-dev, which is deprecated now, and depend on the + individual libraries we need. + + -- Florian Ragwitz Mon, 9 Jan 2006 15:51:40 +0100 + +italc (0.9.6.2-1) unstable; urgency=low + + * Initial release (Closes: #338678) + + -- Steffen Joeris Sat, 12 Nov 2005 00:20:36 +0100 + --- italc-1.0.4.orig/debian/patches/01_simply_ui.patch +++ italc-1.0.4/debian/patches/01_simply_ui.patch @@ -0,0 +1,57 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_simplify_ui.patch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Remove the tryicon from ICA, disable the warning message when non-existing .italc directory and hide info-bubble by default + +@DPATCH@ + +Index: ima/src/tool_button.cpp +=================================================================== +--- ../ima/src/tool_button.cpp (revision 234) ++++ ../ima/src/tool_button.cpp (working copy) +@@ -41,7 +41,7 @@ + const int MARGIN = 10; + const int ROUNDED = 2000; + +-bool toolButton::s_toolTipsDisabled = FALSE; ++bool toolButton::s_toolTipsDisabled = TRUE; + + + toolButton::toolButton( const QPixmap & _pixmap, const QString & _label, +Index: ima/src/classroom_manager.cpp +=================================================================== +--- ../ima/src/classroom_manager.cpp (revision 234) ++++ ../ima/src/classroom_manager.cpp (working copy) +@@ -610,7 +610,7 @@ + QFile cfg_file( m_globalClientConfiguration ); + if( !cfg_file.open( QIODevice::ReadOnly ) ) + { +- if( splashScreen != NULL ) ++ /*if( splashScreen != NULL ) + { + splashScreen->close(); + } +@@ -623,7 +623,7 @@ + "you'll find inside the " + "program in the sidebar on the " + "left side." +- ).arg( m_globalClientConfiguration ) ); ++ ).arg( m_globalClientConfiguration ) );*/ + return; + } + +Index: lib/include/qt_features.h +=================================================================== +--- ../lib/include/qt_features.h (revision 234) ++++ ../lib/include/qt_features.h (working copy) +@@ -31,7 +31,7 @@ + + #if QT_VERSION >= 0x040200 + #ifdef BUILD_ICA +-#define SYSTEMTRAY_SUPPORT ++//#define SYSTEMTRAY_SUPPORT + #endif + #define COMPLETER_SUPPORT + #define QMESSAGEBOX_EXT_SUPPORT + --- italc-1.0.4.orig/debian/patches/00_fix_missing_za_locale.patch +++ italc-1.0.4/debian/patches/00_fix_missing_za_locale.patch @@ -0,0 +1,20 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 00_fix_missing_za_locale.patch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: The za locale is missing in current SVN branch, removing it + +@DPATCH@ + +Index: italc_core.qrc +=================================================================== +--- ../lib/italc_core.qrc (revision 234) ++++ ../lib/italc_core.qrc (working copy) +@@ -9,7 +9,6 @@ + resources/fr.qm + resources/nn.qm + resources/sl.qm +- resources/zh.qm + resources/locked_bg.png + resources/icon16.png + resources/icon22.png --- italc-1.0.4.orig/debian/patches/00list +++ italc-1.0.4/debian/patches/00list @@ -0,0 +1,3 @@ +00_fix_missing_za_locale.patch +01_simply_ui.patch +02_fix_local_command.patch --- italc-1.0.4.orig/debian/patches/02_fix_local_command.patch +++ italc-1.0.4/debian/patches/02_fix_local_command.patch @@ -0,0 +1,44 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_fix_local_command.patch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Set logout, poweroff and reboot as closing the gnome-session, we need that for Thin Client until we have local apps working + +@DPATCH@ + +Index: lib/src/local_system.cpp +=================================================================== +--- ../lib/src/local_system.cpp (revision 234) ++++ ../lib/src/local_system.cpp (working copy) +@@ -393,7 +393,8 @@ + );*/ + enablePrivilege( SE_SHUTDOWN_NAME, FALSE ); + #else +- QProcess::startDetached( "poweroff" ); ++ QProcess::startDetached( "gdm-signal -h" ); // Gnome shutdown ++ QProcess::startDetached( "dcop ksmserver ksmserver logout 0 2 0" ); // KDE shutdown + #endif + } + +@@ -414,7 +415,8 @@ + );*/ + enablePrivilege( SE_SHUTDOWN_NAME, FALSE ); + #else +- QProcess::startDetached( "reboot" ); ++ QProcess::startDetached( "gdm-signal -r" ); // Gnome reboot ++ QProcess::startDetached( "dcop ksmserver ksmserver logout 0 1 0" ); // KDE reboot + #endif + } + +@@ -571,9 +573,8 @@ + #ifdef BUILD_WIN32 + ExitWindowsEx( EWX_LOGOFF | SHUTDOWN_FLAGS, SHUTDOWN_REASON ); + #else +- QProcess::startDetached( "/etc/init.d/kdm restart" ); +- QProcess::startDetached( "/etc/init.d/gdm restart" ); +- QProcess::startDetached( "/etc/init.d/xdm restart" ); ++ QProcess::startDetached( "gnome-session-save --kill" ); // Gnome logout ++ QProcess::startDetached( "dcop ksmserver ksmserver logout 0 0 0" ); // KDE logout + #endif + } + --- italc-1.0.4.orig/debian/italc-master.manpages +++ italc-1.0.4/debian/italc-master.manpages @@ -0,0 +1 @@ +ima/italc.1 --- italc-1.0.4.orig/debian/italc-client.install +++ italc-1.0.4/debian/italc-client.install @@ -0,0 +1,2 @@ +usr/bin/ica +usr/lib/libitalc_core.so --- italc-1.0.4.orig/debian/rules +++ italc-1.0.4/debian/rules @@ -0,0 +1,24 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/dpatch.mk + +DEB_DH_INSTALL_SOURCEDIR = debian/tmp +CPPFLAGS += -I/usr/X11R6/include +DEB_OPT_FLAG += -fPIC +DEB_CONFIGURE_EXTRA_FLAGS = --with-linux LDFLAGS=-L/usr/X11R6/lib + +debian/italc.xpm: ima/data/italc.png + convert -resize 32 $< $@ + +common-install-arch:: debian/italc.xpm + install -D -m 644 debian/italc.xpm debian/italc-master/usr/share/pixmaps/italc.xpm + dh_desktop -pitalc-master debian/italc.desktop + +clean:: + rm -f debian/italc.xpm + rm -f lupus/config.log + rm -f lupus/config.status + rm -f config.log + rm -f config.status --- italc-1.0.4.orig/debian/docs +++ italc-1.0.4/debian/docs @@ -0,0 +1,2 @@ +README +TODO