Index: Makefile.in
--- Makefile.in.orig	2005-08-06 18:06:40 +0200
+++ Makefile.in	2005-08-08 09:49:06 +0200
@@ -355,35 +355,6 @@
 .SUFFIXES:
 am--refresh:
 	@:
-$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(srcdir)/admin/deps.am $(am__configure_deps)
-#>- 	@for dep in $?; do \
-#>- 	  case '$(am__configure_deps)' in \
-#>- 	    *$$dep*) \
-#>- 	      echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
-#>- 	      cd $(srcdir) && $(AUTOMAKE) --foreign  \
-#>- 		&& exit 0; \
-#>- 	      exit 1;; \
-#>- 	  esac; \
-#>- 	done; \
-#>- 	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  Makefile'; \
-#>- 	cd $(top_srcdir) && \
-#>- 	  $(AUTOMAKE) --foreign  Makefile
-#>+ 14
-	@for dep in $?; do \
-	  case '$(am__configure_deps)' in \
-	    *$$dep*) \
-	      echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
- (  \
-	      cd $(srcdir) && $(AUTOMAKE) --foreign  \
-	 ) || exit 1; echo ' cd $(top_srcdir) && perl admin/am_edit '; cd $(top_srcdir) && perl admin/am_edit && exit 0;  \
-	      exit 1;; \
-	  esac; \
-	done; \
-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  Makefile'; \
-	cd $(top_srcdir) && \
-	  $(AUTOMAKE) --foreign  Makefile
-	cd $(top_srcdir) && perl admin/am_edit Makefile.in
-.PRECIOUS: Makefile
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 	@case '$?' in \
 	  *config.status*) \
@@ -397,14 +368,6 @@
 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
 	$(SHELL) ./config.status --recheck
 
-$(top_srcdir)/configure:  $(am__configure_deps)
-#>- 	cd $(srcdir) && $(AUTOCONF)
-#>+ 2
-	cd $(srcdir) && rm -f configure
-	cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure
-$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
-	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
-
 config.h: stamp-h1
 	@if test ! -f $@; then \
 	  rm -f stamp-h1; \
Index: admin/cvs.sh
--- admin/cvs.sh.orig	2005-08-06 18:06:15 +0200
+++ admin/cvs.sh	2005-08-08 09:49:06 +0200
@@ -8,6 +8,9 @@
 
 call_and_fix_autoconf()
 {
+# OpenPKG doesn't need this
+exit 0
+
   $AUTOCONF || exit 1
   if test -r configure.in.in ; then
     perl -pi -e "print \"if test \\\"x\\\$with_fast_perl\\\" = \\\"xyes\\\"; then\
@@ -20,6 +23,9 @@
 
 strip_makefile()
 {
+# OpenPKG doesn't need this
+exit 0
+
   if test ! -f $makefile_wo; then
     perl -e '$in=0; while ( <> ) { $in = 1 if ($_ =~ m/^if / ); print $_ unless ($in || $_ =~ m/^include /); $in = 0 if ($_ =~ m/^endif/); }' < $makefile_am > $makefile_wo
   fi
@@ -27,6 +33,9 @@
 
 check_autotool_versions()
 {
+# OpenPKG doesn't need this
+exit 0
+
 required_autoconf_version="2.53 or newer"
 AUTOCONF_VERSION=`$AUTOCONF --version | head -n 1`
 case $AUTOCONF_VERSION in
@@ -92,6 +101,9 @@
 
 cvs()
 {
+# OpenPKG doesn't need this
+exit 0
+
 check_autotool_versions
 acinclude_m4 
 
@@ -155,6 +167,9 @@
 
 dist()
 {
+# OpenPKG doesn't need this
+exit 0
+
 check_autotool_versions
 
 ###
@@ -216,6 +231,9 @@
 
 subdir_dist()
 {
+# OpenPKG doesn't need this
+exit 0
+
 $ACLOCAL $ACLOCALFLAGS
 $AUTOHEADER
 $AUTOMAKE
@@ -232,6 +250,9 @@
 
 configure_in()
 {
+# OpenPKG doesn't need this
+exit 0
+
 rm -f configure.in configure.in.new
 kde_use_qt_param=
 test -f configure.files || { echo "need configure.files for configure.in"; exit 1; }
@@ -335,6 +356,9 @@
 
 configure_files()
 {
+# OpenPKG doesn't need this
+exit 0
+
 echo "*** Creating configure.files"
 admindir=NO
 for i in . .. ../.. ../../..; do
@@ -371,6 +395,9 @@
 
 create_subdirs()
 {
+# OpenPKG doesn't need this
+exit 0
+
 if grep '\$(top_srcdir)/subdirs:' $makefile_am >/dev/null; then 
     # as many modules contain rules to create subdirs without any
     # dependencies make won't create it unless there is no file.
@@ -395,6 +422,9 @@
 
 subdirs()
 {
+# OpenPKG doesn't need this
+exit 0
+
 dirs=
 idirs=
 if test -f inst-apps; then
@@ -444,6 +474,9 @@
 
 Makefile_am()
 {
+# OpenPKG doesn't need this
+exit 0
+
 if test -f Makefile.am.in; then
   compilefirst=`sed -ne 's#^COMPILE_FIRST[ ]*=[ ]*##p' $makefile_am | head -n 1`
   compilelast=`sed -ne 's#^COMPILE_LAST[ ]*=[ ]*##p' $makefile_am | head -n 1`
@@ -485,6 +518,9 @@
 
 acinclude_m4()
 {
+# OpenPKG doesn't need this
+exit 0
+
   echo "*** Creating acinclude.m4"
   adds=
   if grep '\$(top_srcdir)/acinclude.m4:' $makefile_am >/dev/null; then 
@@ -507,6 +543,9 @@
 
 cvs_clean()
 {
+# OpenPKG doesn't need this
+exit 0
+
 if test -d CVS; then :; else
   echo "You don't have a toplevel CVS directory."
   echo "You most certainly didn't use cvs to get these sources."
@@ -518,6 +557,9 @@
 
 package_merge()
 {
+# OpenPKG doesn't need this
+exit 0
+
 catalogs=$POFILES
 for cat in $catalogs; do
   msgmerge -o $cat.new $cat $PACKAGE.pot
@@ -536,6 +578,9 @@
 
 extract_messages()
 {
+# OpenPKG doesn't need this
+exit 0
+
 podir=${podir:-$PWD/po}
 files=`find . -name Makefile.am | xargs egrep -l '^messages:' `
 dirs=`for i in $files; do echo \`dirname $i\`; done`
@@ -580,6 +625,9 @@
 
 package_messages()
 {
+# OpenPKG doesn't need this
+exit 0
+
 rm -rf po.backup
 mkdir po.backup
 
@@ -633,6 +681,9 @@
   rm -f $makefile_wo
 fi
 
+# OpenPKG doesn't need this
+exit 0
+
 # Suck in the AUTOCONF detection code
 . $admindir/detect-autoconf.sh
 
Index: admin/missing
--- admin/missing.orig	2005-08-06 18:06:15 +0200
+++ admin/missing	2005-08-08 09:49:06 +0200
@@ -1,4 +1,8 @@
 #! /bin/sh
+
+# OpenPKG doesn't need this
+exit 0
+
 # Common stub for a few missing GNU programs while installing.
 # Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc.
 # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
Index: configure
--- configure.orig	2005-08-06 18:06:32 +0200
+++ configure	2005-08-08 09:49:06 +0200
@@ -2090,178 +2090,6 @@
   unset CDPATH
 
 
-
-    kde_default_bindirs="/usr/bin /usr/local/bin /opt/local/bin /usr/X11R6/bin /opt/kde/bin /opt/kde3/bin /usr/kde/bin /usr/local/kde/bin"
-    test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
-    if test -n "$KDEDIRS"; then
-       kde_save_IFS=$IFS
-       IFS=:
-       for dir in $KDEDIRS; do
-            kde_default_bindirs="$dir/bin $kde_default_bindirs "
-       done
-       IFS=$kde_save_IFS
-    fi
-
-  if test "x$prefix" = "xNONE"; then
-
-   echo "$as_me:$LINENO: checking for kde-config" >&5
-echo $ECHO_N "checking for kde-config... $ECHO_C" >&6
-   if test -n "$KDECONFIG"; then
-        kde_cv_path="$KDECONFIG";
-   else
-        kde_cache=`echo kde-config | sed 'y%./+-%__p_%'`
-
-        if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-
-        kde_cv_path="NONE"
-	kde_save_IFS=$IFS
-	IFS=':'
-	dirs=""
-	for dir in $PATH; do
-	  dirs="$dirs $dir"
-	done
-	if test -z "prepend"; then  	  dirs="$kde_default_bindirs $dirs"
-        else  	  dirs="$dirs $kde_default_bindirs"
-	fi
-	IFS=$kde_save_IFS
-
-        for dir in $dirs; do
-	  if test -x "$dir/kde-config"; then
-	    if test -n ""
-	    then
-              evalstr="$dir/kde-config  2>&1 "
-	      if eval $evalstr; then
-                kde_cv_path="$dir/kde-config"
-                break
-	      fi
-            else
-		kde_cv_path="$dir/kde-config"
-                break
-	    fi
-          fi
-        done
-
-        eval "kde_cv_path_$kde_cache=$kde_cv_path"
-
-
-fi
-
-
-      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
-
-   fi
-
-   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
-      echo "$as_me:$LINENO: result: not found" >&5
-echo "${ECHO_T}not found" >&6
-
-    { { echo "$as_me:$LINENO: error: The important program kde-config was not found!
-Please check whether you installed KDE correctly.
-" >&5
-echo "$as_me: error: The important program kde-config was not found!
-Please check whether you installed KDE correctly.
-" >&2;}
-   { (exit 1); exit 1; }; }
-
-   else
-      echo "$as_me:$LINENO: result: $kde_cv_path" >&5
-echo "${ECHO_T}$kde_cv_path" >&6
-      KDECONFIG=$kde_cv_path
-
-   fi
-
-  else
-        kde_save_PATH="$PATH"
-    PATH="$exec_prefix/bin:$prefix/bin:$PATH"
-
-   echo "$as_me:$LINENO: checking for kde-config" >&5
-echo $ECHO_N "checking for kde-config... $ECHO_C" >&6
-   if test -n "$KDECONFIG"; then
-        kde_cv_path="$KDECONFIG";
-   else
-        kde_cache=`echo kde-config | sed 'y%./+-%__p_%'`
-
-        if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-
-        kde_cv_path="NONE"
-	kde_save_IFS=$IFS
-	IFS=':'
-	dirs=""
-	for dir in $PATH; do
-	  dirs="$dirs $dir"
-	done
-	if test -z "prepend"; then  	  dirs="$kde_default_bindirs $dirs"
-        else  	  dirs="$dirs $kde_default_bindirs"
-	fi
-	IFS=$kde_save_IFS
-
-        for dir in $dirs; do
-	  if test -x "$dir/kde-config"; then
-	    if test -n ""
-	    then
-              evalstr="$dir/kde-config  2>&1 "
-	      if eval $evalstr; then
-                kde_cv_path="$dir/kde-config"
-                break
-	      fi
-            else
-		kde_cv_path="$dir/kde-config"
-                break
-	    fi
-          fi
-        done
-
-        eval "kde_cv_path_$kde_cache=$kde_cv_path"
-
-
-fi
-
-
-      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
-
-   fi
-
-   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
-      echo "$as_me:$LINENO: result: not found" >&5
-echo "${ECHO_T}not found" >&6
-
-    { { echo "$as_me:$LINENO: error: The important program kde-config was not found!
-Please check whether you installed KDE correctly.
-" >&5
-echo "$as_me: error: The important program kde-config was not found!
-Please check whether you installed KDE correctly.
-" >&2;}
-   { (exit 1); exit 1; }; }
-
-   else
-      echo "$as_me:$LINENO: result: $kde_cv_path" >&5
-echo "${ECHO_T}$kde_cv_path" >&6
-      KDECONFIG=$kde_cv_path
-
-   fi
-
-    PATH="$kde_save_PATH"
-  fi
-
-  kde_libs_prefix=`$KDECONFIG --prefix`
-  if test -z "$kde_libs_prefix" || test ! -x "$kde_libs_prefix"; then
-       { { echo "$as_me:$LINENO: error: $KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs.
-                    This means it has been moved since you installed it.
-                    This won't work. Please recompile kdelibs for the new prefix.
-                    " >&5
-echo "$as_me: error: $KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs.
-                    This means it has been moved since you installed it.
-                    This won't work. Please recompile kdelibs for the new prefix.
-                    " >&2;}
-   { (exit 1); exit 1; }; }
-  fi
-  kde_libs_htmldir=`$KDECONFIG --install html --expandvars`
-  kde_libs_suffix=`$KDECONFIG --libsuffix`
-
   echo "$as_me:$LINENO: checking where to install" >&5
 echo $ECHO_N "checking where to install... $ECHO_C" >&6
   if test "x$prefix" = "xNONE"; then
@@ -5779,7 +5607,7 @@
       *-*-irix*)  test "$GXX" = yes && CXXFLAGS="-D_LANGUAGE_C_PLUS_PLUS -D__LANGUAGE_C_PLUS_PLUS $CXXFLAGS" ;;
       *-*-sysv4.2uw*) CXXFLAGS="-D_UNIXWARE $CXXFLAGS";;
       *-*-sysv5uw7*) CXXFLAGS="-D_UNIXWARE7 $CXXFLAGS";;
-      *-*-solaris*)
+      *-*-solaris_forget_this_test*)
         if test "$GXX" = yes; then
           libstdcpp=`$CXX -print-file-name=libstdc++.so`
           if test ! -f $libstdcpp; then
Index: subdirs
--- subdirs.orig	2005-08-06 18:06:23 +0200
+++ subdirs	2005-08-08 09:52:42 +0200
@@ -1,8 +1,5 @@
 taskjuggler
 Contrib
-Examples
 TaskJuggler
-TestSuite
-docs
 ktjview2
 tjx2gantt
Index: taskjuggler/Utility.cpp
--- taskjuggler/Utility.cpp.orig	2005-08-06 18:06:10 +0200
+++ taskjuggler/Utility.cpp	2005-08-08 09:49:06 +0200
@@ -812,7 +812,7 @@
         return 0;
     }
 
-    struct tm t = { sec, min, hour, d, m - 1, y - 1900, 0, 0, -1, 0, 0 };
+    struct tm t = { sec, min, hour, d, m - 1, y - 1900, 0, 0 };
     time_t localTime = mktime(&t);
 
     if (restoreTZ)
Index: tjx2gantt/tjx2gantt
--- tjx2gantt/tjx2gantt.orig	2005-08-06 18:06:11 +0200
+++ tjx2gantt/tjx2gantt	2005-08-08 09:49:06 +0200
@@ -112,8 +112,8 @@
 my $task_space    = 3; #-- task-space
 my $header_height = 10;
 my $poster        = 'poster';
-my $out_file      = $project{'Id'}.'.eps';
-my $out_file_p    = $project{'Id'}.'_poster.eps';
+my $out_file_eps  = $project{'Id'}.'_single.eps';
+my $out_file_pst  = $project{'Id'}.'_poster.eps';
 my $res_count     = scalar (keys %rmap);
 my $res_height    = (($task_height + $task_space) * $res_count);
 #$res_height = 0; # erst mal apschalten
@@ -123,7 +123,7 @@
                 $header_height * 3 +
                 (($task_height + $task_space) * $task_count) + $res_height;
 
-_make_postscript_file($page_x, $page_y);
+_make_eps_file($page_x, $page_y);
 _make_poster();
 
 use Data::Dumper;
@@ -137,7 +137,7 @@
 #---------------- make poster ------------------------------
 sub _make_poster {
     my $format;
-    open(IN, "<$out_file") || die "can't read $out_file\n";
+    open(IN, "<$out_file_eps") || die "can't read $out_file_eps\n";
         while(<IN>) {
             next unless /BoundingBox:/;
             $_ =~ s/.*BoundingBox:\s+\d+\s+\d+\s+(\d+)\s+(\d+)/$1\*$2p/;
@@ -145,8 +145,8 @@
             $format = $_;
         }
     close(IN);
-    print "make poster $out_file_p ... \n";
-    `exec $poster -i$format -mA4 -p$format $out_file > $out_file_p`;
+    print "make poster $out_file_pst ... \n";
+    `exec $poster -i$format -mA4 -p$format $out_file_eps > $out_file_pst`;
 }
 
 #---------------- xml stuff --------------------------------
@@ -268,11 +268,13 @@
 }
 
 #---------------- bunt stuff --------------------------------
-sub _make_postscript_file {
+sub _make_eps_file {
     my ($page_x, $page_y) = @_;
-    print "make postscript file: $out_file ...";
+    print "make encapsulated postscript file: $out_file_eps ...";
     my $p = new PostScript::Simple( xsize       => $page_x,
                                     ysize       => $page_y,
+                                    eps         => 1,
+                                    clip        => 1,
                                     colour      => 1,
                                     units       => "mm",
 				    reencode    => "ISOLatin1Encoding");
@@ -284,7 +286,7 @@
       _draw_depends($p);
       _draw_label($p);
 
-    $p->output("$out_file");
+    $p->output("$out_file_eps");
     print " done\n";
 }
 
