rev 3675 - in people/jriddell/icecream: . debian debian/man

Jonathan Riddell jriddell-guest at costa.debian.org
Tue May 2 00:44:02 UTC 2006


Author: jriddell-guest
Date: 2006-05-02 00:44:01 +0000 (Tue, 02 May 2006)
New Revision: 3675

Added:
   people/jriddell/icecream/debian/
   people/jriddell/icecream/debian/changelog
   people/jriddell/icecream/debian/compat
   people/jriddell/icecream/debian/control
   people/jriddell/icecream/debian/copyright
   people/jriddell/icecream/debian/default
   people/jriddell/icecream/debian/icecc-monitor.install
   people/jriddell/icecream/debian/icecc-monitor.manpages
   people/jriddell/icecream/debian/icecc.dirs
   people/jriddell/icecream/debian/icecc.init
   people/jriddell/icecream/debian/icecc.install
   people/jriddell/icecream/debian/icecc.logrotate
   people/jriddell/icecream/debian/icecc.manpages
   people/jriddell/icecream/debian/icecc.postinst
   people/jriddell/icecream/debian/icecc.postrm
   people/jriddell/icecream/debian/man/
   people/jriddell/icecream/debian/man/create-env.1.docbook
   people/jriddell/icecream/debian/man/icecc-scheduler.1.docbook
   people/jriddell/icecream/debian/man/icecc.1.docbook
   people/jriddell/icecream/debian/man/iceccd.1.docbook
   people/jriddell/icecream/debian/man/icemon.1.docbook
   people/jriddell/icecream/debian/rules
Log:
Add packaging for icecream/icecc


Added: people/jriddell/icecream/debian/changelog
===================================================================
--- people/jriddell/icecream/debian/changelog	2006-05-02 00:43:35 UTC (rev 3674)
+++ people/jriddell/icecream/debian/changelog	2006-05-02 00:44:01 UTC (rev 3675)
@@ -0,0 +1,15 @@
+icecc (0.6svn20060501-0ubuntu1) dapper; urgency=low
+
+  * Initial Ubuntu upload
+  * Updated version from SVN
+  * Add manpages
+  * Depend on adduser
+  * Remove use of debconf
+
+ -- Jonathan Riddell <jriddell at ubuntu.com>  Sat, 29 Apr 2006 20:36:15 +0200
+
+icecc (0.6-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Andre Woebbeking <Woebbeking at web.de>  Sat, 27 Nov 2004 15:36:15 +0200

Added: people/jriddell/icecream/debian/compat
===================================================================
--- people/jriddell/icecream/debian/compat	2006-05-02 00:43:35 UTC (rev 3674)
+++ people/jriddell/icecream/debian/compat	2006-05-02 00:44:01 UTC (rev 3675)
@@ -0,0 +1 @@
+5

Added: people/jriddell/icecream/debian/control
===================================================================
--- people/jriddell/icecream/debian/control	2006-05-02 00:43:35 UTC (rev 3674)
+++ people/jriddell/icecream/debian/control	2006-05-02 00:44:01 UTC (rev 3675)
@@ -0,0 +1,38 @@
+Source: icecc
+Section: kde
+Priority: optional
+Maintainer: Andre Woebbeking <Woebbeking at web.de>
+Uploaders: Jonathan Riddell <jriddell at ubuntu.com>, Andre Woebbeking <Woebbeking at web.de>
+Build-Depends: debhelper (>> 5.0.7), kdelibs4-dev (>= 4:3.3.0), kdebase-dev (>= 4:3.3.0), docbook2x
+Standards-Version: 3.6.2
+
+Package: icecc
+Architecture: any
+Section: devel
+Depends: ${shlibs:Depends}, adduser
+Suggests: icecc-monitor
+Description: icecream distributed compiler with central scheduler
+ icecc/icecream is a program to distribute compilation of C or C++ code across
+ several machines in a network cluster. icecc should always generate the same
+ results as a local compile, is simple to install and use, and is
+ often significantly faster than a local compile.  icecc does not
+ require all machines to share a filesystem, have synchronized clocks,
+ or to have the same libraries or header files installed.
+ .
+ Homepage: http://wiki.kde.org/icecream
+
+Package: icecc-monitor
+Architecture: any
+Section: devel
+Depends: ${shlibs:Depends}
+Suggests: icecc
+Description: KDE monitor for icecc/icecream distributed compiler
+ icecc/icecream is a program to distribute compilation of C or C++
+ code across several machines in a network cluster. icecc should always
+ generate the same results as a local compile, is simple to install
+ and use, and is often significantly faster than a local compile.
+ .
+ This package provides a GUI montior so you can see what is happening on
+ your icecream compile cluster.
+ .
+ Homepage: http://wiki.kde.org/icecream

Added: people/jriddell/icecream/debian/copyright
===================================================================
--- people/jriddell/icecream/debian/copyright	2006-05-02 00:43:35 UTC (rev 3674)
+++ people/jriddell/icecream/debian/copyright	2006-05-02 00:44:01 UTC (rev 3675)
@@ -0,0 +1,34 @@
+This package was debianized by Andre Woebbeking <Woebbeking at web.de> on
+Sat, 27 Nov 2004 15:36:15 +0200.
+
+It was downloaded via Subversion from svn.kde.org
+
+Upstream Author: Stephan Kulow <coolo at kde.org>
+
+Copyright:
+
+  Copyright (c) 2003,2004 Stephan Kulow <coolo at kde.org>
+  Copyright (c) 2003,2004 Cornelius Schumacher <schumacher at kde.org>
+  Copyright (c) 2004 Michael Matz <matz at suse.de>
+  Copyright (c) 1999,2002 Free Software Foundation, Inc.
+  Copyright (c) 2002, 2003 Martin Pool <mbp at samba.org>
+  Copyright (c) 2004 Andre Wobbeking <Woebbeking at web.de>
+  Copyright (c) 2003 Frerich Raabe <raabe at kde.org>
+  Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002 Markus Franz Xaver Johannes Oberhumer
+  Copyright (c) 1999, 2000 Chris Schlaeger <cs at kde.org>
+  Copyright (c) 2003, 2005 SuSE Linux AG Nuernberg, Germany.
+
+All the software is GPL or LGPL:
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+  On Debian GNU/Linux systems, the complete text of the GNU General
+  Public License can be found in `/usr/share/common-licenses/GPL'.

Added: people/jriddell/icecream/debian/default
===================================================================
--- people/jriddell/icecream/debian/default	2006-05-02 00:43:35 UTC (rev 3674)
+++ people/jriddell/icecream/debian/default	2006-05-02 00:44:01 UTC (rev 3675)
@@ -0,0 +1,71 @@
+# Defaults for icecc initscript
+# sourced by /etc/init.d/icecc
+
+#
+# should icecc be started on boot?
+#
+# START_ICECC="true"
+
+START_ICECC="true"
+
+#
+# Nice level of running compilers
+#
+# ICECC_NICE_LEVEL="5"
+
+ICECC_NICE_LEVEL="5"
+
+#
+# icecc daemon log file
+#
+# ICECC_LOG_FILE="/var/log/iceccd"
+
+ICECC_LOG_FILE="/var/log/iceccd.log"
+
+#
+# Identification for the network the scheduler and daemon run on. 
+# You can have several distinct icecc networks in the same LAN
+# for whatever reason.
+#
+# ICECC_NETNAME=""
+
+ICECC_NETNAME=""
+
+# 
+# You can overwrite here the number of jobs to run in parallel. Per
+# default this depends on the number of (virtual) CPUs installed. 
+#
+# ICECC_MAX_JOBS=""
+
+ICECC_MAX_JOBS=""
+
+#
+# This is the directory where the icecc daemon stores the environments
+# it compiles in. In a big network this can grow quite a bit, so use some
+# path if your /tmp is small - but the user icecc has to write to it.
+# 
+# ICECC_BASEDIR="/var/cache/icecc"
+
+ICECC_BASEDIR="/var/cache/icecc"
+
+#
+# Start also the scheduler?
+#
+# START_ICECC_SCHEDULER="false"
+
+START_ICECC_SCHEDULER="true"
+
+#
+# icecc scheduler log file
+#
+# ICECC_SCHEDULER_LOG_FILE="/var/log/icecc_scheduler"
+
+ICECC_SCHEDULER_LOG_FILE="/var/log/icecc_scheduler.log"
+
+#
+# If the daemon can't find the scheduler by broadcast (e.g. because 
+# of a firewall) you can specify it.
+#
+# ICECC_SCHEDULER_HOST=""
+
+ICECC_SCHEDULER_HOST=""

Added: people/jriddell/icecream/debian/icecc-monitor.install
===================================================================
--- people/jriddell/icecream/debian/icecc-monitor.install	2006-05-02 00:43:35 UTC (rev 3674)
+++ people/jriddell/icecream/debian/icecc-monitor.install	2006-05-02 00:44:01 UTC (rev 3675)
@@ -0,0 +1,10 @@
+debian/tmp/usr/bin/icemon
+debian/tmp/usr/lib/kde3/icemon_panelapplet.la
+debian/tmp/usr/lib/kde3/icemon_panelapplet.so
+debian/tmp/usr/share/applications/kde/icemon.desktop
+debian/tmp/usr/share/apps/icemon/icemonui.rc
+debian/tmp/usr/share/apps/icemon/pics/icemonnode.png
+debian/tmp/usr/share/apps/kicker/applets/icemonapplet.desktop
+debian/tmp/usr/share/doc/kde/HTML/en/icemon/common
+debian/tmp/usr/share/doc/kde/HTML/en/icemon/index.cache.bz2
+debian/tmp/usr/share/doc/kde/HTML/en/icemon/index.docbook

Added: people/jriddell/icecream/debian/icecc-monitor.manpages
===================================================================
--- people/jriddell/icecream/debian/icecc-monitor.manpages	2006-05-02 00:43:35 UTC (rev 3674)
+++ people/jriddell/icecream/debian/icecc-monitor.manpages	2006-05-02 00:44:01 UTC (rev 3675)
@@ -0,0 +1 @@
+icemon.1

Added: people/jriddell/icecream/debian/icecc.dirs
===================================================================
--- people/jriddell/icecream/debian/icecc.dirs	2006-05-02 00:43:35 UTC (rev 3674)
+++ people/jriddell/icecream/debian/icecc.dirs	2006-05-02 00:44:01 UTC (rev 3675)
@@ -0,0 +1 @@
+var/cache/icecc
\ No newline at end of file

Added: people/jriddell/icecream/debian/icecc.init
===================================================================
--- people/jriddell/icecream/debian/icecc.init	2006-05-02 00:43:35 UTC (rev 3674)
+++ people/jriddell/icecream/debian/icecc.init	2006-05-02 00:44:01 UTC (rev 3675)
@@ -0,0 +1,148 @@
+#!/bin/sh
+#
+# iceccd Debian init.d script contributed by Jason Thomas.  (Debian #161136)
+#
+# skeleton      example file to build /etc/init.d/ scripts.
+#               This file should be used to construct scripts for /etc/init.d.
+#
+#               Written by Miquel van Smoorenburg <miquels at cistron.nl>.
+#               Modified for Debian GNU/Linux
+#               by Ian Murdock <imurdock at gnu.ai.mit.edu>
+#               by Carsten Wolff <carsten at wolffcarsten.de>.
+#
+# Version:      @(#)skeleton  1.9.1  08-Apr-2002  miquels at cistron.nl
+#
+
+DAEMONNAME=iceccd
+DAEMON=/usr/sbin/$DAEMONNAME
+SCHEDULERNAME=icecc-scheduler
+SCHEDULER=/usr/sbin/$SCHEDULERNAME
+DEFAULT=/etc/default/icecc
+DESC="Distributed Compiler Daemon"
+
+# Reads config file
+[ -r $DEFAULT ] && . $DEFAULT
+
+test -x $DAEMON || exit 0
+
+set -e
+
+netname=
+if test -n "$ICECC_NETNAME"; then
+    netname="-n $ICECC_NETNAME"
+fi
+
+
+
+start_daemon() {
+    logfile=""
+    if test -n "$ICECC_LOG_FILE"; then
+        logfile="-l $ICECC_LOG_FILE"
+    fi
+    nice= 
+    if test -n "$ICECC_NICE_LEVEL"; then
+       nice="--nice $ICECC_NICE_LEVEL"
+    fi
+    scheduler=
+    if test -n "$ICECC_SCHEDULER_HOST"; then
+        scheduler="-s $ICECC_SCHEDULER_HOST"
+    fi
+    basedir=
+    if test -n "$ICECC_BASEDIR"; then
+        basedir="-b $ICECC_BASEDIR"
+    fi
+    maxjobs=
+    if test -n "$ICECC_MAX_JOBS"; then
+        maxjobs="-m $ICECC_MAX_JOBS"
+    fi
+    start-stop-daemon --start --quiet --exec $DAEMON -- \
+    -d "$logfile" $nice $scheduler $netname -u icecc $basedir $maxjobs
+}
+
+
+
+stop_daemon() {
+    start-stop-daemon --stop --quiet --signal TERM --oknodo --exec $DAEMON
+}
+
+
+
+start_scheduler() {
+    if test -z "$ICECC_SCHEDULER_LOG_FILE"; then
+        ICECC_SCHEDULER_LOG_FILE="/var/log/icecc_scheduler"
+    fi
+    logfile="-l $ICECC_SCHEDULER_LOG_FILE"
+    : > $ICECC_SCHEDULER_LOG_FILE
+    chown icecc $ICECC_SCHEDULER_LOG_FILE
+    start-stop-daemon --start --quiet --chuid icecc \
+    --exec $SCHEDULER -- -d $logfile $netname
+}
+
+
+
+stop_scheduler() {
+    start-stop-daemon --stop --quiet --signal TERM --oknodo --exec $SCHEDULER
+}
+
+
+
+case "$1" in
+    start)
+        if [ "$START_ICECC" == "true" ]; then
+            echo -n "Starting $DESC: $DAEMONNAME"
+            start_daemon
+            echo "."
+        else
+            echo "START_ICECC is set to false in $DEFAULT"
+            echo "$DAEMON not starting"
+        fi
+
+        if [ "$START_ICECC_SCHEDULER" == "true" ]; then
+            echo -n "Starting $DESC: $SCHEDULERNAME"
+            start_scheduler
+            echo "."
+        else
+            echo "START_ICECC_SCHEDULER is set to false in $DEFAULT"
+            echo "$SCHEDULER not starting"
+        fi
+        ;;
+  stop)
+        echo -n "Stopping $DESC: $DAEMONNAME"
+        stop_daemon
+        echo "."
+        echo -n "Stopping $DESC: $SCHEDULERNAME"
+        stop_scheduler
+        echo "."
+        ;;
+  restart|force-reload)
+        #
+        #       If the "reload" option is implemented, move the "force-reload"
+        #       option to the "reload" entry above. If not, "force-reload" is
+        #       just the same as "restart".
+        #
+        echo -n "Restarting $DESC: $DAEMONNAME"
+        stop_daemon
+        sleep 1
+        if [ "$START_ICECC" == "true" ]; then
+            start_daemon
+        fi
+        echo "."
+
+        echo -n "Restarting $DESC: $SCHEDULERNAME"
+        stop_scheduler
+        sleep 1
+        if [ "$START_ICECC_SCHEDULER" == "true" ]; then
+            start_scheduler
+        fi
+        echo "."
+        ;;
+  *)
+        N=/etc/init.d/icecc
+        echo "Usage: $N {start|stop|restart|force-reload}" >&2
+        exit 1
+        ;;
+esac
+
+exit 0
+
+

Added: people/jriddell/icecream/debian/icecc.install
===================================================================
--- people/jriddell/icecream/debian/icecc.install	2006-05-02 00:43:35 UTC (rev 3674)
+++ people/jriddell/icecream/debian/icecc.install	2006-05-02 00:44:01 UTC (rev 3675)
@@ -0,0 +1,6 @@
+debian/tmp/usr/bin/create-env
+debian/tmp/usr/bin/icecc
+debian/tmp/usr/lib/icecc/bin/g++
+debian/tmp/usr/lib/icecc/bin/gcc
+debian/tmp/usr/sbin/icecc-scheduler
+debian/tmp/usr/sbin/iceccd

Added: people/jriddell/icecream/debian/icecc.logrotate
===================================================================
--- people/jriddell/icecream/debian/icecc.logrotate	2006-05-02 00:43:35 UTC (rev 3674)
+++ people/jriddell/icecream/debian/icecc.logrotate	2006-05-02 00:44:01 UTC (rev 3675)
@@ -0,0 +1,18 @@
+# logrotate.d example configuration for icecc, contributed by Dag
+# Wieers.
+
+# The "copytruncate" option means icecc can keep appending to the
+# same filehandle.  You would otherwise need to shut down and restart
+# iceccd.
+
+/var/log/iceccd.log {
+       missingok
+       copytruncate
+       notifempty
+}
+
+/var/log/icecc_scheduler.log {
+       missingok
+       copytruncate
+       notifempty
+}

Added: people/jriddell/icecream/debian/icecc.manpages
===================================================================
--- people/jriddell/icecream/debian/icecc.manpages	2006-05-02 00:43:35 UTC (rev 3674)
+++ people/jriddell/icecream/debian/icecc.manpages	2006-05-02 00:44:01 UTC (rev 3675)
@@ -0,0 +1,4 @@
+create-env.1
+icecc.1
+iceccd.1
+icecc-scheduler.1

Added: people/jriddell/icecream/debian/icecc.postinst
===================================================================
--- people/jriddell/icecream/debian/icecc.postinst	2006-05-02 00:43:35 UTC (rev 3674)
+++ people/jriddell/icecream/debian/icecc.postinst	2006-05-02 00:44:01 UTC (rev 3675)
@@ -0,0 +1,29 @@
+#!/bin/sh -e
+# postinst script for icecc
+
+case "$1" in
+        configure)
+
+		ICECC_USER=icecc
+
+		# Create user
+		id $ICECC_USER > /dev/null 2>&1 ||
+		( echo Creating $ICECC_USER user... ;
+		adduser --quiet --system --ingroup nogroup \
+		--home / --no-create-home $ICECC_USER )
+
+		chown $ICECC_USER /var/cache/icecc
+
+		update-rc.d icecc start 90 S .
+
+		;;
+        abort-upgrade|abort-remove|abort-deconfigure)
+        ;;
+                                                                                      
+        *)
+                echo "postinst called with unknown argument \`$1'" >&2
+                exit 1
+                ;;
+esac
+
+exit 0

Added: people/jriddell/icecream/debian/icecc.postrm
===================================================================
--- people/jriddell/icecream/debian/icecc.postrm	2006-05-02 00:43:35 UTC (rev 3674)
+++ people/jriddell/icecream/debian/icecc.postrm	2006-05-02 00:44:01 UTC (rev 3675)
@@ -0,0 +1,27 @@
+#! /bin/sh
+set -e
+
+conffile="/etc/default/icecc"
+
+case "$1" in
+	purge)
+		rm -rf /var/cache/icecc
+		rm -f $conffile
+		echo Deleting icecc user...
+		deluser --quiet --system icecc
+		update-rc.d icecc remove
+		;;
+	remove)
+		;;	
+	upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+		;;
+	*)
+		echo "postrm called with unknown argument \`$1'" >&2
+		exit 1
+		;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+exit 0

Added: people/jriddell/icecream/debian/man/create-env.1.docbook
===================================================================
--- people/jriddell/icecream/debian/man/create-env.1.docbook	2006-05-02 00:43:35 UTC (rev 3674)
+++ people/jriddell/icecream/debian/man/create-env.1.docbook	2006-05-02 00:44:01 UTC (rev 3675)
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+]>
+<refentry>
+  <refentryinfo>
+    <author>
+      <firstname>Jonathan</firstname>
+      <surname>Riddell</surname>
+      <email>jriddell at ubuntu.com</email>
+    </author>
+    <copyright>
+      <year>2006</year>
+      <holder>Jonathan Riddell</holder>
+    </copyright>
+    <!-- XXX IMPORTANT XXX -->
+    <!-- Keep this date up to date: -->
+    <date>2006-05-01</date>
+    <!--  ^^^^^^^^^^ -->
+  </refentryinfo>
+  <refmeta>
+    <refentrytitle>create-env</refentrytitle>
+    <manvolnum>1</manvolnum>
+  </refmeta>
+  <refnamediv>
+    <refname>create-env</refname>
+    <refpurpose>Create a tar for icecream distributed compiler to use</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>create-env</command>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+    <para>
+      create-env creates an archive file containing all the files necessary to setup the compiler environment. The file will have a random unique name like "ddaea39ca1a7c88522b185eca04da2d8.tar.bz2" per default. Rename it to something more expressive for your convenience, e.g. "i386-3.3.1.tar.bz2".
+    </para>
+    <para>
+Set ICECC_VERSION=&lt;filename_of_archive_containing_your_environment&gt; in the shell environment where you start the compile jobs and the file will be transfered to the daemons where your compile jobs run and installed to a chroot environment for executing the compile jobs in the environment fitting to the environment of the client. This requires that the icecream deamon runs as root.
+
+    </para>
+
+    <para>
+If you do not set ICECC_VERSION, the client will use a tar ball provided by the daemon running on the same machine. So you can always be sure you're not tricked by incompatible gcc versions - and you can share your computer with users of other distributions.
+
+    </para>
+  </refsect1>
+  <refsect1>
+    <title>OPTIONS</title>
+    <para>
+      create-env takes no options.
+    </para>
+  </refsect1>
+  <refsect1>
+    <title>COPYRIGHT</title>
+    <para>
+      This manual page was written by Jonathan Riddell
+      <email>jriddell at ubuntu.com</email> for the
+      <productname>Kubuntu</productname> system (but may be used by others).
+      Permission is granted to copy, distribute and/or modify this document
+      under the terms of the <acronym>GNU</acronym> General Public License,
+      Version 2 or any later version published by the Free Software Foundation.
+    </para>
+    <para>
+      On Debian systems, the complete text of the GNU General Public
+      License can be found in
+      <filename>/usr/share/common-licenses/GPL</filename>.
+    </para>
+  </refsect1>
+</refentry>

Added: people/jriddell/icecream/debian/man/icecc-scheduler.1.docbook
===================================================================
--- people/jriddell/icecream/debian/man/icecc-scheduler.1.docbook	2006-05-02 00:43:35 UTC (rev 3674)
+++ people/jriddell/icecream/debian/man/icecc-scheduler.1.docbook	2006-05-02 00:44:01 UTC (rev 3675)
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+]>
+<refentry>
+  <refentryinfo>
+    <author>
+      <firstname>Jonathan</firstname>
+      <surname>Riddell</surname>
+      <email>jriddell at ubuntu.com</email>
+    </author>
+    <copyright>
+      <year>2006</year>
+      <holder>Jonathan Riddell</holder>
+    </copyright>
+    <!-- XXX IMPORTANT XXX -->
+    <!-- Keep this date up to date: -->
+    <date>2006-05-01</date>
+    <!--  ^^^^^^^^^^ -->
+  </refentryinfo>
+  <refmeta>
+    <refentrytitle>icecc-scheduler</refentrytitle>
+    <manvolnum>1</manvolnum>
+  </refmeta>
+  <refnamediv>
+    <refname>icecc-scheduler</refname>
+    <refpurpose>Scheduler for your icecream compile cluster</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>icecc-scheduler</command>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+    <para>
+      icecc-scheduler is the server which organises compiles on the icecream compile cluster.
+    </para>
+    <para>
+     WARNING: Never use icecream in untrusted environments. Run the deamons and the scheduler as unpriviliged user in such networks if you have to. Howeveryou will then have to rely on homogeneous networks.
+    </para>
+    <para>
+     To run the scheduler make sure START_ICECC_SCHEDULER="true" is set in /etc/default/icecc and run sudo /etc/init.d/icecc start (it will also start at bootup).
+    </para>
+  </refsect1>
+  <refsect1>
+    <title>OPTIONS</title>
+    <para>
+      icecc-scheduler takes no options.
+    </para>
+  </refsect1>
+  <refsect1>
+    <title>COPYRIGHT</title>
+    <para>
+      This manual page was written by Jonathan Riddell
+      <email>jriddell at ubuntu.com</email> for the
+      <productname>Kubuntu</productname> system (but may be used by others).
+      Permission is granted to copy, distribute and/or modify this document
+      under the terms of the <acronym>GNU</acronym> General Public License,
+      Version 2 or any later version published by the Free Software Foundation.
+    </para>
+    <para>
+      On Debian systems, the complete text of the GNU General Public
+      License can be found in
+      <filename>/usr/share/common-licenses/GPL</filename>.
+    </para>
+  </refsect1>
+</refentry>

Added: people/jriddell/icecream/debian/man/icecc.1.docbook
===================================================================
--- people/jriddell/icecream/debian/man/icecc.1.docbook	2006-05-02 00:43:35 UTC (rev 3674)
+++ people/jriddell/icecream/debian/man/icecc.1.docbook	2006-05-02 00:44:01 UTC (rev 3675)
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+]>
+<refentry>
+  <refentryinfo>
+    <author>
+      <firstname>Jonathan</firstname>
+      <surname>Riddell</surname>
+      <email>jriddell at ubuntu.com</email>
+    </author>
+    <copyright>
+      <year>2006</year>
+      <holder>Jonathan Riddell</holder>
+    </copyright>
+    <!-- XXX IMPORTANT XXX -->
+    <!-- Keep this date up to date: -->
+    <date>2006-05-01</date>
+    <!--  ^^^^^^^^^^ -->
+  </refentryinfo>
+  <refmeta>
+    <refentrytitle>icecc</refentrytitle>
+    <manvolnum>1</manvolnum>
+  </refmeta>
+  <refnamediv>
+    <refname>icecc</refname>
+    <refpurpose>icecream distributed compiler</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>icemon</command>
+      <arg choice="opt">
+        <option><replaceable>[compile options] -o OBJECT -c SOURCE</replaceable></option>
+      </arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+    <para>
+      icecc is used to compile your C/C++ programmes with icecream over an icecream cluster.
+    </para>
+    <para>
+      You should not generally call icecc directly but make sure the gcc/g++ symlinks to it are in your path when compiling.
+      export PATH=/usr/lib/icecc/bin/:$PATH
+    </para>
+  </refsect1>
+  <refsect1>
+    <title>ENVIRONMENT VARIABLES</title>
+    <para>
+      <variablelist>
+        <title>Environement Variables:</title>
+        <varlistentry>
+          <term> <option>ICECC_VERSION</option> </term>
+          <listitem> <para>Use a specific icecc environment, see create-env</para> </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term> <option>ICECC_REPEAT_RATE</option> </term>
+          <listitem> <para>The number of jobs out of 1000 that should be
+                              compiled on multiple hosts to ensure that they're
+                              producing the same output.  The default is 10.</para> </listitem>
+        </varlistentry>
+      </variablelist>
+    </para>
+  </refsect1>
+  <refsect1>
+    <title>COPYRIGHT</title>
+    <para>
+      This manual page was written by Jonathan Riddell
+      <email>jriddell at ubuntu.com</email> for the
+      <productname>Kubuntu</productname> system (but may be used by others).
+      Permission is granted to copy, distribute and/or modify this document
+      under the terms of the <acronym>GNU</acronym> General Public License,
+      Version 2 or any later version published by the Free Software Foundation.
+    </para>
+    <para>
+      On Debian systems, the complete text of the GNU General Public
+      License can be found in
+      <filename>/usr/share/common-licenses/GPL</filename>.
+    </para>
+  </refsect1>
+</refentry>

Added: people/jriddell/icecream/debian/man/iceccd.1.docbook
===================================================================
--- people/jriddell/icecream/debian/man/iceccd.1.docbook	2006-05-02 00:43:35 UTC (rev 3674)
+++ people/jriddell/icecream/debian/man/iceccd.1.docbook	2006-05-02 00:44:01 UTC (rev 3675)
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+]>
+<refentry>
+  <refentryinfo>
+    <author>
+      <firstname>Jonathan</firstname>
+      <surname>Riddell</surname>
+      <email>jriddell at ubuntu.com</email>
+    </author>
+    <copyright>
+      <year>2006</year>
+      <holder>Jonathan Riddell</holder>
+    </copyright>
+    <!-- XXX IMPORTANT XXX -->
+    <!-- Keep this date up to date: -->
+    <date>2006-05-01</date>
+    <!--  ^^^^^^^^^^ -->
+  </refentryinfo>
+  <refmeta>
+    <refentrytitle>iceccd</refentrytitle>
+    <manvolnum>1</manvolnum>
+  </refmeta>
+  <refnamediv>
+    <refname>iceccd</refname>
+    <refpurpose>Server for an icecream compile cluster</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>iceccd  [-n &lt;netname&gt;] [-m &lt;max_processes&gt;] [-w] [-d|--daemonize] [-l logfile] [-s &lt;schedulerhost&gt;] [-v[v[v]]] [-r|--run-as-user] [-b &lt;env-basedir&gt;] [-u|--nobody-uid &lt;nobody_uid&gt;] [--cache-limit &lt;MB&gt;] [-N &lt;node_name&gt;]</command>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+    <para>
+      iceccd is a server for your icecream compile cluster, it must be run on every computer in the cluster.
+    </para>
+    <para>
+     You must also run icecc-scheduler on one computer in the cluster.
+    </para>
+    <para>
+      To use iceccd make sure START_ICECC="true" is set in /etc/default/icecc and run sudo /etc/init.d/icecc start (it will also start at boot).
+    </para>
+  </refsect1>
+  <refsect1>
+    <title>COPYRIGHT</title>
+    <para>
+      This manual page was written by Jonathan Riddell
+      <email>jriddell at ubuntu.com</email> for the
+      <productname>Kubuntu</productname> system (but may be used by others).
+      Permission is granted to copy, distribute and/or modify this document
+      under the terms of the <acronym>GNU</acronym> General Public License,
+      Version 2 or any later version published by the Free Software Foundation.
+    </para>
+    <para>
+      On Debian systems, the complete text of the GNU General Public
+      License can be found in
+      <filename>/usr/share/common-licenses/GPL</filename>.
+    </para>
+  </refsect1>
+</refentry>

Added: people/jriddell/icecream/debian/man/icemon.1.docbook
===================================================================
--- people/jriddell/icecream/debian/man/icemon.1.docbook	2006-05-02 00:43:35 UTC (rev 3674)
+++ people/jriddell/icecream/debian/man/icemon.1.docbook	2006-05-02 00:44:01 UTC (rev 3675)
@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+]>
+<refentry>
+  <refentryinfo>
+    <author>
+      <firstname>Jonathan</firstname>
+      <surname>Riddell</surname>
+      <email>jriddell at ubuntu.com</email>
+    </author>
+    <copyright>
+      <year>2006</year>
+      <holder>Jonathan Riddell</holder>
+    </copyright>
+    <!-- XXX IMPORTANT XXX -->
+    <!-- Keep this date up to date: -->
+    <date>2006-05-01</date>
+    <!--  ^^^^^^^^^^ -->
+  </refentryinfo>
+  <refmeta>
+    <refentrytitle>icemon</refentrytitle>
+    <manvolnum>1</manvolnum>
+  </refmeta>
+  <refnamediv>
+    <refname>icemon</refname>
+    <refpurpose>View your icecream compile cluster</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>icemon  --netname &lt;name&gt;</command>
+      <arg choice="opt">
+        <option><replaceable>Qt-options</replaceable></option>
+      </arg>
+      <arg choice="opt">
+        <option><replaceable>KDE-options</replaceable></option>
+      </arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+    <para>
+      icemon is a GUI to view an icecream compile cluster.
+    </para>
+  </refsect1>
+  <refsect1>
+    <title>OPTIONS</title>
+    <para>
+      <variablelist>
+        <title>Options:</title>
+        <varlistentry>
+          <term> <option>-n, --netname</option> </term>
+          <listitem> <para>Icecream network name</para> </listitem>
+        </varlistentry>
+      </variablelist>
+    </para>
+    <para>
+      <variablelist>
+        <title>Generic options:</title>
+        <varlistentry>
+          <term> <option>--help</option> </term>
+          <listitem> <para>Show help about options</para> </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term> <option>--help-qt</option> </term>
+          <listitem> <para>Show Qt specific options</para> </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term> <option>--help-kde</option> </term>
+          <listitem> <para>Show KDE specific options</para> </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term> <option>--help-all</option> </term>
+          <listitem> <para>Show all options</para> </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term> <option>--author</option> </term>
+          <listitem> <para>Show author information</para> </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term> <option>-v</option>, <option>--version</option> </term>
+          <listitem> <para>Show version information</para> </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term> <option>--license</option> </term>
+          <listitem> <para>Show license information</para> </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term> <option>--</option> </term>
+          <listitem> <para>Indicates end of options</para> </listitem>
+        </varlistentry>
+      </variablelist>
+      <!-- TODO * add all the rest of the options, but maybe find an automated
+      way to keep it up to date -->
+    </para>
+  </refsect1>
+  <refsect1>
+    <title>COPYRIGHT</title>
+    <para>
+      This manual page was written by Jonathan Riddell
+      <email>jriddell at ubuntu.com</email> for the
+      <productname>Kubuntu</productname> system (but may be used by others).
+      Permission is granted to copy, distribute and/or modify this document
+      under the terms of the <acronym>GNU</acronym> General Public License,
+      Version 2 or any later version published by the Free Software Foundation.
+    </para>
+    <para>
+      On Debian systems, the complete text of the GNU General Public
+      License can be found in
+      <filename>/usr/share/common-licenses/GPL</filename>.
+    </para>
+  </refsect1>
+</refentry>

Added: people/jriddell/icecream/debian/rules
===================================================================
--- people/jriddell/icecream/debian/rules	2006-05-02 00:43:35 UTC (rev 3674)
+++ people/jriddell/icecream/debian/rules	2006-05-02 00:44:01 UTC (rev 3675)
@@ -0,0 +1,232 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+#
+# Modified to make a template file for a multi-binary package with separated
+# build-arch and build-indep targets  by Bill Allombert 2001
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE	?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE	?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+objdir = $(CURDIR)/obj-$(DEB_BUILD_GNU_TYPE)
+
+-include debian/debiandirs
+
+debian/debiandirs: admin admin/debianrules
+	perl -w admin/debianrules echodirs > debian/debiandirs
+
+admin:
+	$(MAKE) -f Makefile.cvs
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+
+	# Apply Debian specific patches
+	if test -d $(CURDIR)/debian/patches ;\
+	then \
+		for i in $(CURDIR)/debian/patches/*.diff.uu ;\
+		do \
+			cd $(CURDIR)/debian/patches ;\
+			uudecode "$$i" ;\
+			cd $(CURDIR) ;\
+		done ;\
+		patches=$$(find $(CURDIR)/debian/patches -name *.diff | sort);\
+	fi ;\
+	if test ! -f patch-stamp; then \
+		for patch in $$patches ;\
+		do \
+			echo APPLYING PATCH\: "$${patch##*/}" ;\
+			patch -p1 < "$$patch" ;\
+		done ;\
+		touch patch-stamp ;\
+	fi
+
+	# KDE CVS does not have aclocal.m4 or configure
+	if test ! -f configure; then \
+		$(MAKE) -f admin/Makefile.common ;\
+	fi
+
+	# ensure configure is executable
+	chmod +x configure
+
+	# make build directory
+	mkdir $(objdir)
+
+	# run configure with build tree $(objdir)
+	cd $(objdir) && \
+	../configure $(configkde) --enable-final
+
+	touch configure-stamp
+
+#Architecture
+build: build-arch build-indep
+
+build-arch: build-arch-stamp
+build-arch-stamp: configure-stamp
+	dh_testdir
+
+	cd $(objdir) && \
+	$(MAKE)
+
+	# generate manpages
+	for i in debian/man/*.docbook; do \
+		docbook2x-man $$i; \
+	done
+
+	touch build-arch-stamp
+
+build-indep: build-indep-stamp
+build-indep-stamp: configure-stamp
+	dh_testdir
+
+	#cd $(objdir) && \
+	#$(MAKE)
+
+	#cd $(objdir) && \
+	#$(MAKE) apidox
+
+	touch build-indep-stamp
+
+debian-clean:
+	dh_testdir
+	dh_testroot
+
+	dh_clean
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-arch-stamp build-indep-stamp configure-stamp \
+		debian/debiandirs debian/man/*.1 debian/*.1 *.1
+
+	# Remove Debian specific patches
+	if test -d $(CURDIR)/debian/patches ;\
+	then \
+		patches=$$(find $(CURDIR)/debian/patches -name *.diff | sort -r);\
+	fi ;\
+	if test -f patch-stamp; then \
+		for patch in $$patches ;\
+		do \
+			echo REMOVING PATCH\: "$${patch##*/}" ;\
+			patch -p1 -R < "$$patch" ;\
+		done ;\
+		for i in $(CURDIR)/debian/patches/*.diff.uu ;\
+		do \
+			 rm -f "$${i%%.uu}" ;\
+		done ;\
+		rm -f patch-stamp ;\
+	fi
+
+	# Remove build tree
+	rm -rf $(objdir)
+
+	# if Makefile exists run distclean
+	if test -f Makefile; then \
+		$(MAKE) distclean; \
+	fi
+
+	#if test -d CVS; then \
+	#	$(MAKE) -f admin/Makefile.common cvs-clean ;\
+	#fi
+
+	dh_clean
+
+install: install-arch install-indep
+
+install-arch:
+	dh_testdir
+	dh_testroot
+	dh_clean -k -s
+	dh_installdirs -s
+
+	cd $(objdir) && \
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+
+	mkdir -p $(CURDIR)/debian/tmp/usr/lib/icecc/bin
+	ln -s /usr/bin/icecc $(CURDIR)/debian/tmp/usr/lib/icecc/bin/gcc 
+	ln -s /usr/bin/icecc $(CURDIR)/debian/tmp/usr/lib/icecc/bin/g++
+
+	mkdir -p $(CURDIR)/debian/tmp/etc/default/
+	cp debian/default $(CURDIR)/debian/tmp/etc/default/
+
+	(cd $(CURDIR)/debian/tmp/usr/sbin ; mv scheduler icecc-scheduler)
+
+	dh_install -s
+
+install-indep:
+	dh_testdir
+	dh_testroot
+	dh_clean -k -i
+	dh_installdirs -i
+
+	#cd $(objdir) && \
+	#$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+
+	#cd $(objdir) && \
+	#$(MAKE) install-apidox DESTDIR=$(CURDIR)/debian/tmp
+
+	#dh_install -i
+
+# Must not depend on anything. This is to be called by
+# binary-arch/binary-indep
+# in another 'make' thread.
+binary-common:
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs
+	dh_installdocs
+#	dh_installexamples
+	dh_installmenu
+	dh_installdebconf
+	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress -X.bz2 -X.css -X.dcl -X.docbook -X-license -X.tag
+	dh_fixperms
+	dh_perl
+#	dh_python
+	dh_makeshlibs -V
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+# Build architecture independant packages using the common target.
+binary-indep: build-indep install-indep
+	$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
+
+# Build architecture dependant packages using the common target.
+binary-arch: build-arch install-arch
+	$(MAKE) -f debian/rules DH_OPTIONS=-s binary-common
+
+binary: binary-arch
+.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure


Property changes on: people/jriddell/icecream/debian/rules
___________________________________________________________________
Name: svn:executable
   + *




More information about the pkg-kde-commits mailing list