diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/changelog elmerfem-6.1.0.svn.5396.dfsg2/debian/changelog
--- elmerfem-6.1.0.svn.5396.dfsg2/debian/changelog	2012-09-25 10:02:46.000000000 +0300
+++ elmerfem-6.1.0.svn.5396.dfsg2/debian/changelog	2013-02-05 21:50:29.000000000 +0200
@@ -1,3 +1,36 @@
+elmerfem (6.1.0.svn.5396.dfsg2-2) unstable; urgency=low
+
+  * Add myself to Uploaders. (See: #691875)
+  * Remove usr/bin/ElmerGUI* from debian/elmer.files. (Closes: #698527)
+  * Remove usr/bin/ElmerClips from debian/elmer.files. 
+  * Remove usr/share/ElmerGUI* from debian/elmer-common.files.
+  * Remove files which became useless after removing ElmerGUI:
+    - debian/*.desktop
+    - debian/README.Debian
+    - debian/elmer.config
+    - debian/elmer.config
+    - debian/elmer.docs
+    - debian/elmer.postinst
+    - debian/elmer.prerm
+    - debian/elmer.templates
+    - debian/patches/ElmerGUI-config.patch
+    - debian/patches/ElmerGUI-no-strip.patch
+    - debian/patches/glu.patch
+    - debian/patches/lib-link-order.patch
+    - debian/patches/libav_071.patch
+    - debian/patches/no-avcore.patch
+    - debian/patches/no-tetgen.patch
+    - debian/patches/node-partition.patch
+    - debian/po/*
+  * Update debian/rules and debian/patches/series to fit changes above.
+  * Remove extra build dependencies:
+    liboce-modeling-dev, libqt4-dev, qt4-qmake, libqt4-opengl-dev,
+    libqwt5-qt4-dev, libvtk5-qt4-dev, python-qt4-dev,
+    libavcodec-dev, libavutil-dev, libswscale-dev
+  * Remove package elmergui-samples.
+
+ -- Boris Pek <tehnick-8@mail.ru>  Tue, 05 Feb 2013 21:50:05 +0200
+
 elmerfem (6.1.0.svn.5396.dfsg2-1) unstable; urgency=low
 
   * Team upload.
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/control elmerfem-6.1.0.svn.5396.dfsg2/debian/control
--- elmerfem-6.1.0.svn.5396.dfsg2/debian/control	2012-09-25 10:02:46.000000000 +0300
+++ elmerfem-6.1.0.svn.5396.dfsg2/debian/control	2013-02-05 21:50:03.000000000 +0200
@@ -2,7 +2,7 @@
 Section: science
 Priority: extra
 Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
-Uploaders: "Adam C. Powell, IV" <hazelsct@debian.org>
+Uploaders: "Adam C. Powell, IV" <hazelsct@debian.org>, Boris Pek <tehnick-8@mail.ru>
 Standards-Version: 3.9.2
 Build-Depends: debhelper (>= 5), quilt, po-debconf, autoconf, automake,
  gfortran, libblas-dev | libblas-3gf.so, liblapack-dev | liblapack-3gf.so,
@@ -12,9 +12,7 @@
  libreadline-dev, libncurses5-dev,
  libx11-dev, tk8.5-dev, tcl8.5-dev, libfreetype6-dev,
  libftgl-dev, libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev,
- liboce-modeling-dev, libqt4-dev, qt4-qmake, libqt4-opengl-dev,
- libqwt5-qt4-dev, libvtk5-qt4-dev (>= 5.8), python-qt4-dev, libscotchmetis-dev,
- r-base-core, libavcodec-dev, libavutil-dev, libswscale-dev
+ libscotchmetis-dev, r-base-core
 Build-Conflicts: libatlas3gf-base, libatlas-base-dev, gcc-multilib
 Vcs-Git: git://git.debian.org/git/debian-science/packages/elmerfem.git
 Vcs-Browser: http://git.debian.org/?p=debian-science/packages/elmerfem.git
@@ -152,17 +150,3 @@
  This package contains the static libraries and header files for eio, huti, and
  matc, as well as the Elmer solver shared library symlink. These are used for
  developing Elmer, and are not needed to run the software.
-
-Package: elmergui-samples
-Architecture: all
-Section: science
-Depends: ${misc:Depends}
-Suggests: elmer, elmer-doc
-Description: ElmerGUI samples directory
- The Elmer multiphysics simulation package includes physical models of
- fluid dynamics, structural mechanics, electromagnetics, heat transfer, and
- acoustics, among others. These are described by partial differential equations
- which Elmer solves by the Finite Element Method (FEM).
- .
- This package contains the ElmerGUI samples directory with files needed to run
- some of the tutorials in the elmer-doc package.
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/ElmerClips.desktop elmerfem-6.1.0.svn.5396.dfsg2/debian/ElmerClips.desktop
--- elmerfem-6.1.0.svn.5396.dfsg2/debian/ElmerClips.desktop	2012-09-25 10:02:46.000000000 +0300
+++ elmerfem-6.1.0.svn.5396.dfsg2/debian/ElmerClips.desktop	1970-01-01 03:00:00.000000000 +0300
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Name=ElmerClips
-Comment=Elmer animation utility
-Exec=ElmerClips
-Icon=/usr/share/ElmerGUI/icons/Mesh3D.png
-StartupNotify=true
-Terminal=false
-Type=Application
-Categories=Education;Math;Science
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/elmer-common.files elmerfem-6.1.0.svn.5396.dfsg2/debian/elmer-common.files
--- elmerfem-6.1.0.svn.5396.dfsg2/debian/elmer-common.files	2012-09-25 10:02:46.000000000 +0300
+++ elmerfem-6.1.0.svn.5396.dfsg2/debian/elmer-common.files	2013-02-05 21:50:03.000000000 +0200
@@ -1,4 +1,3 @@
-usr/share/ElmerGUI
 usr/share/elmerfront
 usr/share/elmerpost
 usr/share/elmersolver/lib
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/elmer.config elmerfem-6.1.0.svn.5396.dfsg2/debian/elmer.config
--- elmerfem-6.1.0.svn.5396.dfsg2/debian/elmer.config	2012-09-25 10:02:46.000000000 +0300
+++ elmerfem-6.1.0.svn.5396.dfsg2/debian/elmer.config	1970-01-01 03:00:00.000000000 +0300
@@ -1,13 +0,0 @@
-#!/bin/sh -e
-
-# Use debconf.
-if [ ! -e /usr/share/debconf/confmodule ]; then
-    exit
-fi
-
-# Load debconf
-. /usr/share/debconf/confmodule
-db_capb backup multiselect
-
-db_input high elmer/models || true
-db_go || true
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/elmer.docs elmerfem-6.1.0.svn.5396.dfsg2/debian/elmer.docs
--- elmerfem-6.1.0.svn.5396.dfsg2/debian/elmer.docs	2012-09-25 10:02:46.000000000 +0300
+++ elmerfem-6.1.0.svn.5396.dfsg2/debian/elmer.docs	1970-01-01 03:00:00.000000000 +0300
@@ -1 +0,0 @@
-debian/README.Debian
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/elmer.files elmerfem-6.1.0.svn.5396.dfsg2/debian/elmer.files
--- elmerfem-6.1.0.svn.5396.dfsg2/debian/elmer.files	2012-09-25 10:02:46.000000000 +0300
+++ elmerfem-6.1.0.svn.5396.dfsg2/debian/elmer.files	2013-02-05 21:50:03.000000000 +0200
@@ -1,9 +1,5 @@
-usr/bin/ElmerClips
 usr/bin/ElmerFront
 usr/bin/ElmerGrid
-usr/bin/ElmerGUI
-usr/bin/ElmerGUIlogger
-usr/bin/ElmerGUI.real
 usr/bin/ElmerMesh2D
 usr/bin/ElmerParam
 usr/bin/ElmerPost
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/ElmerGUI elmerfem-6.1.0.svn.5396.dfsg2/debian/ElmerGUI
--- elmerfem-6.1.0.svn.5396.dfsg2/debian/ElmerGUI	2012-09-25 10:02:46.000000000 +0300
+++ elmerfem-6.1.0.svn.5396.dfsg2/debian/ElmerGUI	1970-01-01 03:00:00.000000000 +0300
@@ -1,5 +0,0 @@
-#!/bin/sh
-export ELMER_HOME=/usr
-export ELMERGUI_HOME=/usr/share/ElmerGUI 
-export ELMER_POST_HOME=/usr/share/elmerpost
-/usr/bin/ElmerGUI.real
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/ElmerGUI.desktop elmerfem-6.1.0.svn.5396.dfsg2/debian/ElmerGUI.desktop
--- elmerfem-6.1.0.svn.5396.dfsg2/debian/ElmerGUI.desktop	2012-09-25 10:02:46.000000000 +0300
+++ elmerfem-6.1.0.svn.5396.dfsg2/debian/ElmerGUI.desktop	1970-01-01 03:00:00.000000000 +0300
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Name=Elmer
-Comment=Elmer FEA software
-Exec=ElmerGUI
-Icon=/usr/share/ElmerGUI/icons/Mesh3D.png
-StartupNotify=true
-Terminal=false
-Type=Application
-Categories=Education;Math;Science
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/ElmerGUIlogger.desktop elmerfem-6.1.0.svn.5396.dfsg2/debian/ElmerGUIlogger.desktop
--- elmerfem-6.1.0.svn.5396.dfsg2/debian/ElmerGUIlogger.desktop	2012-09-25 10:02:46.000000000 +0300
+++ elmerfem-6.1.0.svn.5396.dfsg2/debian/ElmerGUIlogger.desktop	1970-01-01 03:00:00.000000000 +0300
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Name=Elmer logger
-Comment=Elmer FEA software log window
-Exec=sh -c 'ELMER_HOME=/usr ELMERGUI_HOME=/usr/share/ElmerGUI ELMER_POST_HOME=/usr/share/elmerpost ElmerGUIlogger'
-Icon=/usr/share/ElmerGUI/icons/Mesh3D.png
-StartupNotify=true
-Terminal=false
-Type=Application
-Categories=Education;Math;Science
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/elmer.postinst elmerfem-6.1.0.svn.5396.dfsg2/debian/elmer.postinst
--- elmerfem-6.1.0.svn.5396.dfsg2/debian/elmer.postinst	2012-09-25 10:02:46.000000000 +0300
+++ elmerfem-6.1.0.svn.5396.dfsg2/debian/elmer.postinst	1970-01-01 03:00:00.000000000 +0300
@@ -1,22 +0,0 @@
-#! /bin/sh -e 
-
-PROVIDED_MODELS="helmholtz navier-stokes resultoutput heatequation linearelasticity k-epsilon meshdeform advection-diffusion elasticplate electrostatics freesurface poissonboltzmann reynolds saveline savescalars statcurrent"
-
-# Load debconf
-. /usr/share/debconf/confmodule
-
-# Get selected models into \n-separated list
-db_get elmer/models
-SELECTED_MODELS="$(echo $RET | sed -e 's/, / /g')"
-
-# Remove old symlinks, if any
-for model in $PROVIDED_MODELS; do
-    rm -f /usr/share/ElmerGUI/edf/$model.xml;
-done
-
-# Make new symlinks
-for model in $SELECTED_MODELS; do
-    ln -s ../edf-extra/$model.xml /usr/share/ElmerGUI/edf/$model.xml
-done
-
-#DEBHELPER#
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/elmer.prerm elmerfem-6.1.0.svn.5396.dfsg2/debian/elmer.prerm
--- elmerfem-6.1.0.svn.5396.dfsg2/debian/elmer.prerm	2012-09-25 10:02:46.000000000 +0300
+++ elmerfem-6.1.0.svn.5396.dfsg2/debian/elmer.prerm	1970-01-01 03:00:00.000000000 +0300
@@ -1,16 +0,0 @@
-#! /bin/sh -e 
-
-PROVIDED_MODELS="helmholtz navier-stokes resultoutput heatequation linearelasticity k-epsilon meshdeform advection-diffusion elasticplate electrostatics freesurface poissonboltzmann reynolds saveline savescalars statcurrent"
-
-# Remove all possible file symlinks before removing package files
-case "$1" in
-    remove|purge)
-	for model in $PROVIDED_MODELS; do
-	    rm -f /usr/share/ElmerGUI/edf/$model.xml;
-	done
-	;;
-    *)
-    	;;
-esac
-
-#DEBHELPER#
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/elmer.templates elmerfem-6.1.0.svn.5396.dfsg2/debian/elmer.templates
--- elmerfem-6.1.0.svn.5396.dfsg2/debian/elmer.templates	2012-09-25 10:02:46.000000000 +0300
+++ elmerfem-6.1.0.svn.5396.dfsg2/debian/elmer.templates	1970-01-01 03:00:00.000000000 +0300
@@ -1,22 +0,0 @@
-# These templates have been reviewed by the debian-l10n-english
-# team
-#
-# If modifications/additions/rewording are needed, please ask
-# debian-l10n-english@lists.debian.org for advice.
-#
-# Even minor modifications require translation updates and such
-# changes should be coordinated with translators and reviewers.
-
-Template: elmer/models
-Type: multiselect
-Choices: helmholtz, navier-stokes, resultoutput, heatequation, linearelasticity, k-epsilon, meshdeform, advection-diffusion, elasticplate, electrostatics, freesurface, poissonboltzmann, reynolds, saveline, savescalars, statcurrent
-Default: helmholtz, navier-stokes, resultoutput, heatequation, linearelasticity, k-epsilon, meshdeform
-_Description: Elmer models to include in ElmerGUI:
- Elmer can solve equations from many models. In order to
- avoid excessive crowding of the ElmerGUI interface, only certain models are
- included at a given time. See the Elmer Models Manual at
- http://www.csc.fi/english/pages/elmer/documentation.
- .
- Please select the models you would like to include in ElmerGUI from the list.
- Note that this will not affect the availability of models in the
- solver, only their presence in the graphical interface.
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/patches/ElmerGUI-config.patch elmerfem-6.1.0.svn.5396.dfsg2/debian/patches/ElmerGUI-config.patch
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/patches/ElmerGUI-no-strip.patch elmerfem-6.1.0.svn.5396.dfsg2/debian/patches/ElmerGUI-no-strip.patch
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/patches/glu.patch elmerfem-6.1.0.svn.5396.dfsg2/debian/patches/glu.patch
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/patches/libav_071.patch elmerfem-6.1.0.svn.5396.dfsg2/debian/patches/libav_071.patch
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/patches/lib-link-order.patch elmerfem-6.1.0.svn.5396.dfsg2/debian/patches/lib-link-order.patch
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/patches/no-avcore.patch elmerfem-6.1.0.svn.5396.dfsg2/debian/patches/no-avcore.patch
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/patches/node-partition.patch elmerfem-6.1.0.svn.5396.dfsg2/debian/patches/node-partition.patch
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/patches/no-tetgen.patch elmerfem-6.1.0.svn.5396.dfsg2/debian/patches/no-tetgen.patch
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/patches/series elmerfem-6.1.0.svn.5396.dfsg2/debian/patches/series
--- elmerfem-6.1.0.svn.5396.dfsg2/debian/patches/series	2012-09-25 10:02:46.000000000 +0300
+++ elmerfem-6.1.0.svn.5396.dfsg2/debian/patches/series	2013-02-05 21:50:03.000000000 +0200
@@ -1,11 +1,3 @@
 banish-rpath.patch
 no-metis-partmesh.patch
-ElmerGUI-config.patch
-node-partition.patch
-no-avcore.patch
-lib-link-order.patch
-ElmerGUI-no-strip.patch
 elmer-revision.patch
-libav_071.patch
-glu.patch
-no-tetgen.patch
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/po/cs.po elmerfem-6.1.0.svn.5396.dfsg2/debian/po/cs.po
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/po/da.po elmerfem-6.1.0.svn.5396.dfsg2/debian/po/da.po
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/po/de.po elmerfem-6.1.0.svn.5396.dfsg2/debian/po/de.po
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/po/es.po elmerfem-6.1.0.svn.5396.dfsg2/debian/po/es.po
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/po/et.po elmerfem-6.1.0.svn.5396.dfsg2/debian/po/et.po
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/po/eu.po elmerfem-6.1.0.svn.5396.dfsg2/debian/po/eu.po
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/po/fi.po elmerfem-6.1.0.svn.5396.dfsg2/debian/po/fi.po
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/po/fr.po elmerfem-6.1.0.svn.5396.dfsg2/debian/po/fr.po
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/po/it.po elmerfem-6.1.0.svn.5396.dfsg2/debian/po/it.po
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/po/nl.po elmerfem-6.1.0.svn.5396.dfsg2/debian/po/nl.po
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/po/pl.po elmerfem-6.1.0.svn.5396.dfsg2/debian/po/pl.po
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/po/POTFILES.in elmerfem-6.1.0.svn.5396.dfsg2/debian/po/POTFILES.in
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/po/pt.po elmerfem-6.1.0.svn.5396.dfsg2/debian/po/pt.po
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/po/ru.po elmerfem-6.1.0.svn.5396.dfsg2/debian/po/ru.po
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/po/sv.po elmerfem-6.1.0.svn.5396.dfsg2/debian/po/sv.po
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/po/templates.pot elmerfem-6.1.0.svn.5396.dfsg2/debian/po/templates.pot
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/po/vi.po elmerfem-6.1.0.svn.5396.dfsg2/debian/po/vi.po
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/README.Debian elmerfem-6.1.0.svn.5396.dfsg2/debian/README.Debian
--- elmerfem-6.1.0.svn.5396.dfsg2/debian/README.Debian	2012-09-25 10:02:46.000000000 +0300
+++ elmerfem-6.1.0.svn.5396.dfsg2/debian/README.Debian	1970-01-01 03:00:00.000000000 +0300
@@ -1,67 +0,0 @@
-Elmer Debian Package
-By Adam C. Powell, IV
-Last updated July 2, 2010
-
-Welcome to the wonderful Elmer finite element analysis package, a very capable
-yet compact and efficient suite for performing a broad array of finite element
-analysis tasks.
-
-DOCUMENTATION
-
-The Elmer website at http://www.csc.fi/elmer/ includes several excellent PDF
-manuals on various aspects of the Elmer suite, as well as example input files
-distributed with the ElmerGrid and Tutorial manuals.  Unfortunately, due to
-unclear copyrights and lack of "source", Debian cannot distribute those files.
-
-RUNNING ELMER
-
-The easiest way to run Elmer is via the ElmerGUI menu entry.  If you try to run
-ElmerGUI from the command line, please examine the files describing the menu
-entries which are at:
-
-- /usr/share/applications/ElmerGUI.desktop
-- /usr/share/applications/ElmerGUIlogger.desktop
-
-Those files give the full command line required to run ElmerGUI, including
-several environment variables.
-
-After running the solver under ElmerGUI, instead of the standard postprocessor,
-please consider using the much more capable VTK postprocessor under the Run
-menu.  Both the standard postprocessor and the ElmerFront front end are
-deprecated and not encouraged for general use.
-
-PARALLEL OPERATION
-
-Elmer parallelizes efficiently to thousands of cores by means of domain
-decomposition.  Doing this requires either running ElmerSolver by hand preceded
-with "mpirun -np #" where # is the number of processes, or using the Parallel
-settings dialog in ElmerGUI.
-
-Note that this package omits the non-free METIS package, linking instead with
-the Scotch parallel library's METIS-compatible interface.  Unfortunately,
-Scotch does not implement the full METIS interface, so it is not possible to
-use the partitioning by elements, i.e. the standard domain decomposition option
-in the Parallel Settings dialog.  There are two workarounds to this problem:
-
-1. Use the space and the number 2 at the end of the Divide: command in the
-   Parallel settings dialog (unique to the Debian package), i.e:
-   	ElmerGrid 2 2 %msh -metis %n 2
-   This tells ElmerGrid to use node-based partitioning instead of element-based
-   partitioning, which is well supported by the METIS interface to Scotch.
-
-2. In the Divide: command, Change "-metis %n 2" to "-partition #1 #2 #3" where
-   #1, #2 and #3 are the number of partitions to make in the x, y and z
-   directions.  For example, to run with 12 processes, one can do "-partition 2
-   2 3" which splits the mesh in two pieces in the x direction, splits each of
-   those in two pieces in the y direction, and splits each of those four into
-   three in the z direction.  Note that the geometric partitioner enabled by
-   this option is not as efficient as the Scotch partitioner of option 1.
-
-EXTENDING ELMERGUI
-
-To avoid excessive menu crowding, ElmerGUI only enables a subset of its
-available models, i.e. equations it can solve.  There are eight other models
-available, which you can enable (as root or sudo) by using debconf e.g.:
-
-* In Synaptic, select the "elmer" package and do Package -> Configure
-* At the command line, do: dpkg-reconfigure elmer
diff -Nru elmerfem-6.1.0.svn.5396.dfsg2/debian/rules elmerfem-6.1.0.svn.5396.dfsg2/debian/rules
--- elmerfem-6.1.0.svn.5396.dfsg2/debian/rules	2012-09-25 10:02:46.000000000 +0300
+++ elmerfem-6.1.0.svn.5396.dfsg2/debian/rules	2013-02-05 21:50:03.000000000 +0200
@@ -40,7 +40,7 @@
   post/src/graphics/Makefile.in post/src/modules/Makefile.in \
   post/src/objects/Makefile.in post/src/sico2elmer/Makefile.in \
   post/src/tcl/Makefile.in post/src/tk/Makefile.in \
-  post/src/visuals/Makefile.in ElmerGUIlogger/ElmerGUIlogger.pro
+  post/src/visuals/Makefile.in
 
 MISSING_FILES = eio/NEWS eio/README eio/AUTHORS eio/ChangeLog \
   matc/NEWS matc/README matc/AUTHORS matc/ChangeLog matc/COPYING \
@@ -52,7 +52,6 @@
   elmergrid/COPYING elmergrid/INSTALL elmergrid/src/metis/Makefile.am \
   post/NEWS post/AUTHORS post/ChangeLog post/COPYING post/INSTALL
 
-# This needs patch because otherwise ElmerGUI clean won't work
 clean: patch
 	dh_testdir
 	for elmermodule in $(ELMER_MODULES); do \
@@ -61,16 +60,6 @@
 	    make -C $$elmermodule maintainer-clean; \
 	  fi; \
 	done
-	if [ -e ElmerGUI/Makefile ]; then \
-	  export DEB_PY_VERSION=$(shell pyversions -d); \
-	  make -C ElmerGUI distclean; \
-	fi
-	if [ -e ElmerGUIlogger/Makefile ]; then \
-	  make -C ElmerGUIlogger distclean; \
-	fi
-	if [ -e utils/ElmerClips/Makefile ]; then \
-	  make -C utils/ElmerClips distclean; \
-	fi 
 	for missingfile in $(MISSING_FILES); do rm -f $$missingfile; done
 	for backupfile in $(BACKUP_FILES); do \
 	  if [ -e $$backupfile.bak ]; then \
@@ -78,7 +67,6 @@
 	  fi; \
 	done
 	rm -rf elmergrid/src/metis post/src/fonts/TrueType
-	rm -rf ElmerGUI/PythonQt/lib ElmerGUI/matc/lib ElmerGUI/netgen/ngcore
 	rm -f stamp-*
 	if [ -d .pc ]; then \
 	  QUILT_PATCHES=debian/patches quilt pop -a && rm -rf .pc; \
@@ -126,25 +114,6 @@
 	  echo; echo INSTALLING ELMER MODULE $$elmermodule; echo; \
 	  make -C $$elmermodule install DESTDIR=$(CURDIR)/debian/tmp; \
 	done
-	echo; echo BUILDING ELMER MODULE ElmerGUI; echo
-	(set -e; cd ElmerGUI; \
-	  export DEB_PY_VERSION=$(shell pyversions -d); \
-	  export ELMER_HOME=/usr; \
-	  export ELMERGUI_HOME=/usr/share/ElmerGUI; \
-	  qmake; \
-	  make)
-	(cd ElmerGUIlogger && ELMER_HOME=/usr ELMERGUI_HOME=/usr/share/ElmerGUI qmake -project && ELMER_HOME=/usr ELMERGUI_HOME=/usr/share/ElmerGUI qmake && ELMER_HOME=/usr ELMERGUI_HOME=/usr/share/ElmerGUI make)
-	echo; echo INSTALLING ELMER MODULE ElmerGUI; echo
-	make -C ElmerGUI install ELMER_HOME=/usr ELMERGUI_HOME=/usr/share/ElmerGUI INSTALL_ROOT=$(CURDIR)/debian/tmp
-	mv debian/tmp/usr/share/ElmerGUI/ElmerGUI debian/tmp/usr/bin/
-	for edf_file in helmholtz navier-stokes resultoutput heatequation \
-	    linearelasticity k-epsilon meshdeform; do \
-	  mv debian/tmp/usr/share/ElmerGUI/edf/$$edf_file.xml \
-	    debian/tmp/usr/share/ElmerGUI/edf-extra/; \
-	done
-	cp ElmerGUIlogger/ElmerGUIlogger debian/tmp/usr/bin/
-	(cd utils/ElmerClips/ && qmake && make)
-	install utils/ElmerClips/ElmerClips debian/tmp/usr/bin/ElmerClips
 # Last shifts and cleanups
 	mv debian/tmp/usr/share/elmerpost/modules debian/tmp/usr/lib/elmerpost
 	ln -s ../../lib/elmerpost debian/tmp/usr/share/elmerpost/modules
@@ -155,8 +124,6 @@
 	mv debian/tmp/usr/share/elmersolver/lib debian/tmp/usr/lib/elmersolver
 	ln -s ../../lib/elmersolver debian/tmp/usr/share/elmersolver/lib
 	rm -f debian/tmp/usr/lib/elmersolver/libelmersolver*
-	install -d debian/tmp/usr/share/ElmerGUI/icons
-	cp -a ElmerGUI/Application/icons/Mesh3D.png debian/tmp/usr/share/ElmerGUI/icons
 	chmod -x debian/tmp/usr/lib/elmersolver/*
 	chmod -x debian/tmp/usr/share/elmersolver/include/*
 	chmod -x debian/tmp/usr/share/elmerpost/help/*.html
@@ -170,7 +137,6 @@
 	chmod -x debian/tmp/usr/share/elmerfront/tcl/*.tcl*
 	chmod -x debian/tmp/usr/share/elmerfront/tcl/*.edf
 	chmod -x debian/tmp/usr/share/elmerfront/tcl/images/*
-	chmod -x debian/tmp/usr/share/ElmerGUI/icons/*
 	chmod -x debian/tmp/usr/share/elmerpost/lib/rgb.txt
 	chmod -x debian/tmp/usr/share/elmerpost/lib/cameras/*
 	chmod -x debian/tmp/usr/share/elmerpost/lib/colormaps/*
@@ -179,13 +145,6 @@
 	chmod -x debian/tmp/usr/lib/R/elmerparam/DESCRIPTION
 	mv debian/tmp/usr/lib/elmersolver debian/tmp/usr/lib/elmersolver-6.1
 	install -d debian/tmp/usr/share/applications
-	cp -a debian/*.desktop debian/tmp/usr/share/applications/
-	mv debian/tmp/usr/bin/ElmerGUI debian/tmp/usr/bin/ElmerGUI.real
-	cp -a debian/ElmerGUI debian/tmp/usr/bin/ElmerGUI
-	chmod gou+x debian/tmp/usr/bin/ElmerGUI
-# Install elmergui-samples files
-	install -d debian/elmergui-samples/usr/share/ElmerGUI
-	cp -a ElmerGUI/samples debian/elmergui-samples/usr/share/ElmerGUI/
 	touch $@
 
 binary-indep: patch
@@ -205,7 +164,6 @@
 	dh_testdir -a
 	dh_testroot -a
 	dh_installdirs -a
-	install -d debian/elmer/usr/share/ElmerGUI/edf
 	dh_movefiles -a
 	dh_installdebconf -a
 	dh_installdocs -a
