[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Pkg-octave-devel] Bug#608919: marked as done (dynare-matlab: Matlab-specific logic should be factored into a dedicated adaptor package)



Your message dated Sat, 28 May 2011 19:47:27 +0000
with message-id <E1QQPTr-0005vk-Cc@franck.debian.org>
and subject line Bug#608919: fixed in dynare 4.2.1-1
has caused the Debian Bug report #608919,
regarding dynare-matlab: Matlab-specific logic should be factored into a dedicated adaptor package
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
608919: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=608919
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: dynare-matlab
Severity: wishlist
Tags: patch

Dear maintainers,

in the NeuroDebian team we started working on the integration of
software that was once written for Matlab (or can simply be used with
Matlab as well, see http://neuro.debian.net/proj_matlab.html).

While looking for a reasonable way to install MEX extensions, I found
dynare-matlab. Since the implemented handling of a local Matlab
installation can be useful for other packages too, the debconf-based
configuration and related logic should not be implemented specifically
for each relevant package.  Instead, it should move into a dedicated
Matlab 'adaptor' package that represents Matlab on a Debian system.

I have implemented such a package and would be glad if I could have your
feedback on its suitability for dynare. I'm attaching two patches that
would adjust the source package to rely on the Matlab adaptor. The first
patch simply removes the no longer needed debconf infrastructure. The
second patch contains the actual changes to the MEX handling.

The matlab package can do a little more than what is shown in the patch,
but I thought it would be more useful to provide a minimal patch that
doesn't impose changes on the way dynare installs things and its
documentation.

You can find the matlab package on Alioth:

  http://git.debian.org/?p=pkg-exppsy/matlab.git

It basically implements a superset of your implementation in the dynare
packaging. Additionally, it can for example handle multiple Matlab
installations and register them with Debian's alternatives system.

As you will see, this package also tries to define a set of 'standard'
locations to install toolboxes on a Debian system -- similar to what is
done in Octave (but much simpler).

I'm about to file an ITP for this package within the next hours.


Thanks in advance for your consideration and your feedback.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- 
Michael Hanke
http://mih.voxindeserto.de
>From 79a32867456da14a64f5a6481ebea1b8e92fc57e Mon Sep 17 00:00:00 2001
From: Michael Hanke <mih@debian.org>
Date: Tue, 4 Jan 2011 08:31:32 -0500
Subject: [PATCH 1/2] Remove all debconf-related infrastructure.

All Matlab-related configuration is done by a new Matlab adaptor
package.
---
 debian/dynare-matlab.config    |    7 --
 debian/dynare-matlab.templates |   42 ------------
 debian/po/POTFILES.in          |    1 -
 debian/po/cs.po                |  139 --------------------------------------
 debian/po/da.po                |  143 ---------------------------------------
 debian/po/de.po                |  143 ---------------------------------------
 debian/po/es.po                |  132 ------------------------------------
 debian/po/fr.po                |  125 ----------------------------------
 debian/po/pt.po                |  144 ---------------------------------------
 debian/po/ru.po                |  144 ---------------------------------------
 debian/po/sv.po                |  146 ----------------------------------------
 debian/po/templates.pot        |  124 ----------------------------------
 12 files changed, 0 insertions(+), 1290 deletions(-)
 delete mode 100644 debian/dynare-matlab.config
 delete mode 100644 debian/dynare-matlab.templates
 delete mode 100644 debian/po/POTFILES.in
 delete mode 100644 debian/po/cs.po
 delete mode 100644 debian/po/da.po
 delete mode 100644 debian/po/de.po
 delete mode 100644 debian/po/es.po
 delete mode 100644 debian/po/fr.po
 delete mode 100644 debian/po/pt.po
 delete mode 100644 debian/po/ru.po
 delete mode 100644 debian/po/sv.po
 delete mode 100644 debian/po/templates.pot

diff --git a/debian/dynare-matlab.config b/debian/dynare-matlab.config
deleted file mode 100644
index 505cdc7..0000000
--- a/debian/dynare-matlab.config
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-set -e
-. /usr/share/debconf/confmodule
-db_input high dynare-matlab/matlab-path || true
-db_input high dynare-matlab/matlab-user || true
-db_input medium dynare-matlab/rename-libs || true
-db_go || true
diff --git a/debian/dynare-matlab.templates b/debian/dynare-matlab.templates
deleted file mode 100644
index 34ec98f..0000000
--- a/debian/dynare-matlab.templates
+++ /dev/null
@@ -1,42 +0,0 @@
-Template: dynare-matlab/matlab-path
-Type: string
-_Description: Absolute path to MATLAB installation:
- Please enter the directory where you have installed MATLAB.
- .
- For example, if MATLAB executable is "/usr/local/matlab76/bin/matlab",
- please enter "/usr/local/matlab76".
-
-Template: dynare-matlab/matlab-user
-Type: string
-_Description: UNIX user account able to launch MATLAB:
- If your MATLAB installation is such that only one or a limited set of UNIX
- user accounts can launch MATLAB, please indicate here the login of such an
- account.
- .
- If every UNIX user account (including root) is allowed to launch MATLAB,
- please leave this field empty.
-
-Template: dynare-matlab/license-manager
-Type: note
-_Description: Please make sure that MATLAB license manager is running
- You have specified a UNIX user account for running MATLAB.
- .
- This probably means that your MATLAB installation uses a license manager.
- .
- If the license manager is not running, MEX files compilation will fail.
-
-Template: dynare-matlab/rename-libs
-Type: boolean
-Default: true
-_Description: Rename MATLAB files conflicting with Dynare?
- A MATLAB installation is shipped with copies of GCC dynamic loadable
- libraries, which typically come from an old version of GCC.
- .
- This creates a conflict which makes Dynare fail when running the preprocessor.
- .
- If you accept it, the installation process will rename the conflicting
- files using a ".bak" extension. These files are located in the "sys/os/glnx86"
- or "sys/os/glnxa64" subdirectory of your MATLAB installation.
- .
- Otherwise, Dynare will probably fail to run, and you will need to manually
- hack your MATLAB installation.
diff --git a/debian/po/POTFILES.in b/debian/po/POTFILES.in
deleted file mode 100644
index 02b6d09..0000000
--- a/debian/po/POTFILES.in
+++ /dev/null
@@ -1 +0,0 @@
-[type: gettext/rfc822deb] dynare-matlab.templates
diff --git a/debian/po/cs.po b/debian/po/cs.po
deleted file mode 100644
index 061a74d..0000000
--- a/debian/po/cs.po
+++ /dev/null
@@ -1,139 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the dynare package.
-# Martin Sin <martin.sin@zshk.cz>, 2009.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: dynare 4.0.4-2\n"
-"Report-Msgid-Bugs-To: dynare@packages.debian.org\n"
-"POT-Creation-Date: 2009-06-03 12:08+0200\n"
-"PO-Revision-Date: 2009-07-06 16:48+0200\n"
-"Last-Translator: Martin Sin <martin.sin@zshk.cz>\n"
-"Language-Team: Czech <debian-l10n-czech@lists.debian.org>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=utf-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:1001
-msgid "Absolute path to MATLAB installation:"
-msgstr "Absolutní cesta k instalaci MATLAB:"
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:1001
-msgid "Please enter the directory where you have installed MATLAB."
-msgstr "Zadejte prosím jméno adresáře, kde máte nainstalovaný MATLAB."
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:1001
-msgid ""
-"For example, if MATLAB executable is \"/usr/local/matlab76/bin/matlab\", "
-"please enter \"/usr/local/matlab76\"."
-msgstr ""
-"Např., pokud je spustitelný soubor MATLAB \"/usr/local/matlab76/bin/matlab\", "
-"pak zadejte \"/usr/local/matlab76\"."
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:2001
-msgid "UNIX user account able to launch MATLAB:"
-msgstr "Unixový uživatel, který smí spouštět MATLAB:"
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:2001
-msgid ""
-"If your MATLAB installation is such that only one or a limited set of UNIX "
-"user accounts can launch MATLAB, please indicate here the login of such an "
-"account."
-msgstr ""
-"Pokud je vaše instalace MATLAB nastavena tak, že jen omezený počet uživatelů "
-"může spouštět MATLAB, zadejte zde prosím přihlašovací jméno tohoto "
-"uživatele."
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:2001
-msgid ""
-"If every UNIX user account (including root) is allowed to launch MATLAB, "
-"please leave this field empty."
-msgstr ""
-"Pokud může kdokoliv (včetně uživatele root) spouštět MATLAB, nechejte "
-"prosím toto políčko prázdné."
-
-#. Type: note
-#. Description
-#: ../dynare-matlab.templates:3001
-msgid "Please make sure that MATLAB license manager is running"
-msgstr "Ujistěte se prosím, že správce licencí MATLAB běží"
-
-#. Type: note
-#. Description
-#: ../dynare-matlab.templates:3001
-msgid "You have specified a UNIX user account for running MATLAB."
-msgstr "Zadali jste unixový účet oprávněný spouštět MATLAB."
-
-#. Type: note
-#. Description
-#: ../dynare-matlab.templates:3001
-msgid ""
-"This probably means that your MATLAB installation uses a license manager."
-msgstr ""
-"To pravděpodobně znamená, že vaše instalace MATLAB používá správce licencí."
-
-#. Type: note
-#. Description
-#: ../dynare-matlab.templates:3001
-msgid "If the license manager is not running, MEX files compilation will fail."
-msgstr "Pokud správce licencí neběží, kompilace souborů MEX selže."
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid "Rename MATLAB files conflicting with Dynare?"
-msgstr "Přejmenovat soubory MATLAB, které kolidují s Dynare?"
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid ""
-"A MATLAB installation is shipped with copies of GCC dynamic loadable "
-"libraries, which typically come from an old version of GCC."
-msgstr ""
-"Instalace MATLAB obsahuje kopie dynamicky linkovaných knihoven GCC, které "
-"běžně používají nějakou starou verzi GCC."
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid ""
-"This creates a conflict which makes Dynare fail when running the "
-"preprocessor."
-msgstr ""
-"To koliduje s Dynare, které v okamžiku spuštění preprocesoru selže."
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid ""
-"If you accept it, the installation process will rename the conflicting files "
-"using a \".bak\" extension. These files are located in the \"sys/os/glnx86\" "
-"or \"sys/os/glnxa64\" subdirectory of your MATLAB installation."
-msgstr ""
-"Budete-li souhlasit, instalační proces přejmenuje problémové soubory a přidá "
-"jim příponu „.bak“. Tyto soubory jsou uloženy v podadresáři „sys/os/glnx86“ a "
-"„sys/os/glnxa64“ vaší instalace MATLAB."
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid ""
-"Otherwise, Dynare will probably fail to run, and you will need to manually "
-"hack your MATLAB installation."
-msgstr ""
-"V opačném případě nebude možno Dynare pravděpodobně spustit a vy budete muset "
-"upravit vaši instalaci MATLAB ručně."
diff --git a/debian/po/da.po b/debian/po/da.po
deleted file mode 100644
index 56e38bd..0000000
--- a/debian/po/da.po
+++ /dev/null
@@ -1,143 +0,0 @@
-# Danish translation dynare.
-# Copyright (C) 2010 dynare & nedenstående oversætttere.
-# This file is distributed under the same license as the dynare package.
-# Joe Hansen <joedalton2@yahoo.dk>, 2010
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: dynare\n"
-"Report-Msgid-Bugs-To: dynare@packages.debian.org\n"
-"POT-Creation-Date: 2009-06-03 12:08+0200\n"
-"PO-Revision-Date: 2010-07-21 14:44+0200\n"
-"Last-Translator: Joe Hansen <joedalton2@yahoo.dk>\n"
-"Language-Team: Danish <debian-l10n-danish@lists.debian.org> \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:1001
-msgid "Absolute path to MATLAB installation:"
-msgstr "Absolut sti til MATLAB-installation:"
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:1001
-msgid "Please enter the directory where you have installed MATLAB."
-msgstr "Indtast venligst mappen hvor du har installeret MATLAB."
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:1001
-msgid ""
-"For example, if MATLAB executable is \"/usr/local/matlab76/bin/matlab\", "
-"please enter \"/usr/local/matlab76\"."
-msgstr ""
-"For eksempel, hvis MATLABs eksekverbare er »/usr/local/matlab76/bin/matlab«, "
-"så indtast venligst »/usr/local/matlab76«."
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:2001
-msgid "UNIX user account able to launch MATLAB:"
-msgstr "UNIX-brugerkonto som kan starte MATLAB op:"
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:2001
-msgid ""
-"If your MATLAB installation is such that only one or a limited set of UNIX "
-"user accounts can launch MATLAB, please indicate here the login of such an "
-"account."
-msgstr ""
-"Hvis din MATLAB-installation er udformet så kun eller et begrænset antal "
-"UNIX-brugerkonti kan starte MATLAB op, så indiker her logind'et på sådan en "
-"konto."
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:2001
-msgid ""
-"If every UNIX user account (including root) is allowed to launch MATLAB, "
-"please leave this field empty."
-msgstr ""
-"Hvis hver UNIX-brugerkonto (inklusiv root) kan starte MATLAB op, så "
-"efterlad venligst dette felt uudfyldt."
-
-#. Type: note
-#. Description
-#: ../dynare-matlab.templates:3001
-msgid "Please make sure that MATLAB license manager is running"
-msgstr "Vær venligst sikker på at MATLABs licenshåndtering kører"
-
-#. Type: note
-#. Description
-#: ../dynare-matlab.templates:3001
-msgid "You have specified a UNIX user account for running MATLAB."
-msgstr "Du har angivet en UNIX-brugerkonto til at køre MATLAB."
-
-#. Type: note
-#. Description
-#: ../dynare-matlab.templates:3001
-msgid ""
-"This probably means that your MATLAB installation uses a license manager."
-msgstr ""
-"Dette betyder højst sandsynligt, at din MATLAB-installation bruger en "
-"licenshåndtering."
-
-#. Type: note
-#. Description
-#: ../dynare-matlab.templates:3001
-msgid "If the license manager is not running, MEX files compilation will fail."
-msgstr "Hvis licenshåndteringen ikke kører, vil kompilering af MEX-filer mislykkes."
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid "Rename MATLAB files conflicting with Dynare?"
-msgstr "Omdøb MATLAB-filer som konflikter med Dynare?"
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid ""
-"A MATLAB installation is shipped with copies of GCC dynamic loadable "
-"libraries, which typically come from an old version of GCC."
-msgstr ""
-"En MATLAB-installation kommer med kopier af GCC-dynamiske og indlæsbare "
-"biblioteker, som typisk kommer fra en gammel version af GCC."
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid ""
-"This creates a conflict which makes Dynare fail when running the "
-"preprocessor."
-msgstr ""
-"Dette skaber en konflikt, som gør, at Dynare fejler, når den kører "
-"præprocessoren."
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid ""
-"If you accept it, the installation process will rename the conflicting files "
-"using a \".bak\" extension. These files are located in the \"sys/os/glnx86\" "
-"or \"sys/os/glnxa64\" subdirectory of your MATLAB installation."
-msgstr ""
-"Hvis du accepterer, vil installationsprocessen omdøbe de konfliktende filer "
-"med brug af filendelsen ».bak«. Disse filer er placeret i undermappen »sys/os/glnx86« "
-"eller »sys/os/glnxa64« på din MATLAB-installation."
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid ""
-"Otherwise, Dynare will probably fail to run, and you will need to manually "
-"hack your MATLAB installation."
-msgstr ""
-"Ellers vil Dynare højst sandsynlig ikke køre, og du vil manuelt skulle hacke "
-"din MATLAB-installation."
-
-
diff --git a/debian/po/de.po b/debian/po/de.po
deleted file mode 100644
index 5c9f499..0000000
--- a/debian/po/de.po
+++ /dev/null
@@ -1,143 +0,0 @@
-# Translation of dynare debconf templates to German
-# Copyright (C) Helge Kreutzmann <debian@helgefjell.de>, 2009.
-# This file is distributed under the same license as the dynare package.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: dynare 4.0.4-2\n"
-"Report-Msgid-Bugs-To: dynare@packages.debian.org\n"
-"POT-Creation-Date: 2009-06-03 12:08+0200\n"
-"PO-Revision-Date: 2009-07-21 21:45+0200\n"
-"Last-Translator: Helge Kreutzmann <debian@helgefjell.de>\n"
-"Language-Team: de <debian-l10n-german@lists.debian.org>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:1001
-msgid "Absolute path to MATLAB installation:"
-msgstr "Absoluter Pfad zur MATLAB-Installation:"
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:1001
-msgid "Please enter the directory where you have installed MATLAB."
-msgstr "Bitte geben Sie das Verzeichnis an, in dem MATLAB installiert wurde."
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:1001
-msgid ""
-"For example, if MATLAB executable is \"/usr/local/matlab76/bin/matlab\", "
-"please enter \"/usr/local/matlab76\"."
-msgstr ""
-"Befindet sich das MATLAB-Programm zum Beispiel in »/usr/local/matlab76/bin/"
-"matlab« geben Sie bitte »/usr/local/matlab76« ein."
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:2001
-msgid "UNIX user account able to launch MATLAB:"
-msgstr "UNIX-Benutzerkennung unter der MATLAB gestartet werden kann:"
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:2001
-msgid ""
-"If your MATLAB installation is such that only one or a limited set of UNIX "
-"user accounts can launch MATLAB, please indicate here the login of such an "
-"account."
-msgstr ""
-"Falls Sie MATLAB so installiert haben, dass nur eine oder eine begrenzte "
-"Anzahl an UNIX-Benutzerkennungen MATLAB starten kann, geben Sie hier den "
-"Anmeldenamen eines solchen Kontos an."
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:2001
-msgid ""
-"If every UNIX user account (including root) is allowed to launch MATLAB, "
-"please leave this field empty."
-msgstr ""
-"Falls MATLAB unter jedem UNIX-Benutzerkonto (inklusive root) gestartet werden "
-"darf, lassen Sie dieses Feld leer."
-
-#. Type: note
-#. Description
-#: ../dynare-matlab.templates:3001
-msgid "Please make sure that MATLAB license manager is running"
-msgstr "Bitte stellen Sie sicher, dass der Lizenzmanager von MATLAB läuft"
-
-#. Type: note
-#. Description
-#: ../dynare-matlab.templates:3001
-msgid "You have specified a UNIX user account for running MATLAB."
-msgstr "Sie haben ein UNIX-Benutzerkonto zum Betrieb von MATLAB angegeben."
-
-#. Type: note
-#. Description
-#: ../dynare-matlab.templates:3001
-msgid ""
-"This probably means that your MATLAB installation uses a license manager."
-msgstr ""
-"Das bedeutet wahrscheinlich, dass Ihre MATLAB-Installation einen "
-"Lizenzmanager verwendet."
-
-#. Type: note
-#. Description
-#: ../dynare-matlab.templates:3001
-msgid "If the license manager is not running, MEX files compilation will fail."
-msgstr ""
-"Falls der Lizenzmanager nicht läuft, wird die Übersetzung von MEX-Dateien "
-"fehlschlagen."
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid "Rename MATLAB files conflicting with Dynare?"
-msgstr "MATLAB-Dateien, die im Konflikt zu Dynare stehen, umbenennen?"
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid ""
-"A MATLAB installation is shipped with copies of GCC dynamic loadable "
-"libraries, which typically come from an old version of GCC."
-msgstr ""
-"Eine MATLAB-Installation wird mit Kopien von Laufzeitbibliotheken des GCCs "
-"ausgeliefert, die typischerweise von einer alten Version von GCC stammen."
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid ""
-"This creates a conflict which makes Dynare fail when running the "
-"preprocessor."
-msgstr ""
-"Dadurch entsteht ein Konflikt, der zum Scheitern von Dynare beim Ausführen "
-"des Präprozessors führt."
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid ""
-"If you accept it, the installation process will rename the conflicting files "
-"using a \".bak\" extension. These files are located in the \"sys/os/glnx86\" "
-"or \"sys/os/glnxa64\" subdirectory of your MATLAB installation."
-msgstr ""
-"Falls Sie dies akzeptieren, wird der Installationsprozess die betreffenden "
-"Dateien umbenennen (mit der Endung ».bak«). Diese Dateien befinden sich im "
-"Unterverzeichnis »sys/os/glnx86« oder »sys/os/glnxa64« Ihrer MATLAB-"
-"Installation."
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid ""
-"Otherwise, Dynare will probably fail to run, and you will need to manually "
-"hack your MATLAB installation."
-msgstr ""
-"Andernfalls wird Dynare wahrscheinlich nicht funktionieren und Sie müssen "
-"Ihre MATLAB-Installation manuell bearbeiten."
diff --git a/debian/po/es.po b/debian/po/es.po
deleted file mode 100644
index 00ab85c..0000000
--- a/debian/po/es.po
+++ /dev/null
@@ -1,132 +0,0 @@
-# dynare po-debconf translation to Spanish
-# Copyright (C) 2010 Software in the Public Interest
-# This file is distributed under the same license as the dynare package.
-#
-# Changes:
-# - Initial translation
-# Camaleón <noelamac@gmail.com>, 2010
-#
-# - Updates
-#
-#
-# Traductores, si no conocen el formato PO, merece la pena leer la
-# documentación de gettext, especialmente las secciones dedicadas a este
-# formato, por ejemplo ejecutando:
-# info -n '(gettext)PO Files'
-# info -n '(gettext)Header Entry'
-#
-# Equipo de traducción al español, por favor lean antes de traducir
-# los siguientes documentos:
-#
-# - El proyecto de traducción de Debian al español
-# http://www.debian.org/intl/spanish/
-# especialmente las notas y normas de traducción en
-# http://www.debian.org/intl/spanish/notas
-#
-# - La guía de traducción de po's de debconf:
-# /usr/share/doc/po-debconf/README-trans
-# o http://www.debian.org/intl/l10n/po-debconf/README-trans
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: dynare 4.1.1-1\n"
-"Report-Msgid-Bugs-To: dynare@packages.debian.org\n"
-"POT-Creation-Date: 2009-06-03 12:08+0200\n"
-"PO-Revision-Date: 2010-06-05 14:27-0500\n"
-"Last-Translator: Camaleón <noelamac@gmail.com>\n"
-"Language-Team: Debian Spanish <debian-l10n-spanish@lists.debian.org>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=utf-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Poedit-Language: Spanish\n"
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:1001
-msgid "Absolute path to MATLAB installation:"
-msgstr "Ruta absoluta a la instalación de MATLAB:"
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:1001
-msgid "Please enter the directory where you have installed MATLAB."
-msgstr "Por favor, introduzca el directorio donde se ha instalado MATLAB."
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:1001
-msgid "For example, if MATLAB executable is \"/usr/local/matlab76/bin/matlab\", please enter \"/usr/local/matlab76\"."
-msgstr "Por ejemplo, si el ejecutable de MATLAB se encuentra en «/usr/local/matlab76/bin/matlab», introduzca «/usr/local/matlab76»."
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:2001
-msgid "UNIX user account able to launch MATLAB:"
-msgstr "Cuenta de usuario UNIX que puede ejecutar MATLAB:"
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:2001
-msgid "If your MATLAB installation is such that only one or a limited set of UNIX user accounts can launch MATLAB, please indicate here the login of such an account."
-msgstr "Si su instalación de MATLAB sólo permite ejecutar MATLAB a un conjunto limitado de cuentas de usuario UNIX, indique el nombre de esa cuenta."
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:2001
-msgid "If every UNIX user account (including root) is allowed to launch MATLAB, please leave this field empty."
-msgstr "Si todas las cuentas de usuario UNIX (incluyendo la de root) pueden ejecutar MATLAB, deje este campo en blanco."
-
-#. Type: note
-#. Description
-#: ../dynare-matlab.templates:3001
-msgid "Please make sure that MATLAB license manager is running"
-msgstr "Por favor, asegúrese de que el gestor de licencias de MATLAB se esté ejecutando."
-
-#. Type: note
-#. Description
-#: ../dynare-matlab.templates:3001
-msgid "You have specified a UNIX user account for running MATLAB."
-msgstr "Ha especificado una cuenta de usuario UNIX para ejecutar MATLAB."
-
-#. Type: note
-#. Description
-#: ../dynare-matlab.templates:3001
-msgid "This probably means that your MATLAB installation uses a license manager."
-msgstr "Es probable que la instalación de MATLAB utilice un gestor de licencias."
-
-#. Type: note
-#. Description
-#: ../dynare-matlab.templates:3001
-msgid "If the license manager is not running, MEX files compilation will fail."
-msgstr "Si el gestor de licencias no se está ejecutando, no se podrán compilar archivos MEX."
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid "Rename MATLAB files conflicting with Dynare?"
-msgstr "¿Desea renombrar los archivos MATLAB que entran en conflicto con Dynare?"
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid "A MATLAB installation is shipped with copies of GCC dynamic loadable libraries, which typically come from an old version of GCC."
-msgstr "La instalación de MATLAB incluye copias de bibliotecas de GCC que se pueden cargar de manera dinámica y que suelen ser de una versión antigua de GCC."
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid "This creates a conflict which makes Dynare fail when running the preprocessor."
-msgstr "Esto genera un conflicto que hace que Dynare falle cuando se ejecuta el preprocesador."
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid "If you accept it, the installation process will rename the conflicting files using a \".bak\" extension. These files are located in the \"sys/os/glnx86\" or \"sys/os/glnxa64\" subdirectory of your MATLAB installation."
-msgstr "Si acepta, el proceso de instalación renombrará los archivos en conflicto utilizando la extensión «.bak». Estos archivos se encuentran en el subdirectorio «sys/os/glnx86» o «sys/os/glnxa64» de la instalación de MATLAB."
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid "Otherwise, Dynare will probably fail to run, and you will need to manually hack your MATLAB installation."
-msgstr "En caso contrario, Dynare no podrá ejecutarse y tendrá que modificar la instalación de MATLAB de forma manual."
-
diff --git a/debian/po/fr.po b/debian/po/fr.po
deleted file mode 100644
index 31f0cd5..0000000
--- a/debian/po/fr.po
+++ /dev/null
@@ -1,125 +0,0 @@
-# French translations for dynare-matlab package
-# Traductions françaises du paquet dynare-matlab.
-# Copyright (C) 2009 Sébastien Villemot
-# This file is distributed under the same license as the dynare package.
-# Sébastien Villemot <sebastien.villemot@ens.fr>, 2009.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: dynare-matlab 4.0.3-2\n"
-"Report-Msgid-Bugs-To: dynare@packages.debian.org\n"
-"POT-Creation-Date: 2009-06-03 12:08+0200\n"
-"PO-Revision-Date: 2009-06-03 12:56+0200\n"
-"Last-Translator: Sébastien Villemot <sebastien.villemot@ens.fr>\n"
-"Language-Team: French\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=2; plural=(n > 1);\n"
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:1001
-msgid "Absolute path to MATLAB installation:"
-msgstr "Chemin complet de l'installation de MATLAB:"
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:1001
-msgid "Please enter the directory where you have installed MATLAB."
-msgstr "Veuillez entrer le répertoire où vous avez installé MATLAB."
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:1001
-msgid ""
-"For example, if MATLAB executable is \"/usr/local/matlab76/bin/matlab\", "
-"please enter \"/usr/local/matlab76\"."
-msgstr "Par exemple, si l'exécutable MATLAB est \"/usr/local/matlab76/bin/matlab\", veuillez entrer \"/usr/local/matlab76\"."
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:2001
-msgid "UNIX user account able to launch MATLAB:"
-msgstr "Compte utilisateur UNIX capable de lancer MATLAB:"
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:2001
-msgid ""
-"If your MATLAB installation is such that only one or a limited set of UNIX "
-"user accounts can launch MATLAB, please indicate here the login of such an "
-"account."
-msgstr "Si votre installation de MATLAB est telle que seulement certains comptes utilisateurs UNIX peuvent lancer MATLAB, merci d'indiquer ici le nom d'un tel compte."
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:2001
-msgid ""
-"If every UNIX user account (including root) is allowed to launch MATLAB, "
-"please leave this field empty."
-msgstr "Si tous les comptes utilisateurs UNIX (super-utilisateur inclu) sont autorisés à lancer MATLAB, veuillez laisser ce champ vide."
-
-#. Type: note
-#. Description
-#: ../dynare-matlab.templates:3001
-msgid "Please make sure that MATLAB license manager is running"
-msgstr "Veuillez vous assurer que le gestionnaire de licences MATLAB est lancé"
-
-#. Type: note
-#. Description
-#: ../dynare-matlab.templates:3001
-msgid "You have specified a UNIX user account for running MATLAB."
-msgstr "Vous avez spécifié un compte utilisateur UNIX pour lancer MATLAB."
-
-#. Type: note
-#. Description
-#: ../dynare-matlab.templates:3001
-msgid ""
-"This probably means that your MATLAB installation uses a license manager."
-msgstr "Cela signifie probablement que votre installation MATLAB utilise un gestionnaire de licences."
-
-#. Type: note
-#. Description
-#: ../dynare-matlab.templates:3001
-msgid "If the license manager is not running, MEX files compilation will fail."
-msgstr "Si le gestionnaire de licences n'est pas lancé, la compilation des fichiers MEX échouera."
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid "Rename MATLAB files conflicting with Dynare?"
-msgstr "Renommer les fichiers MATLAB qui entrent en conflit avec Dynare ?"
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid ""
-"A MATLAB installation is shipped with copies of GCC dynamic loadable "
-"libraries, which typically come from an old version of GCC."
-msgstr "Une installation de MATLAB est livrée avec des copies de bibliothèques dynamiques de GCC, qui proviennent généralement d'une ancienne version de GCC."
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid ""
-"This creates a conflict which makes Dynare fail when running the "
-"preprocessor."
-msgstr "Cela crée un conflit quit fait échouer Dynare au moment de lancer le préprocesseur."
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid ""
-"If you accept it, the installation process will rename the conflicting files "
-"using a \".bak\" extension. These files are located in the \"sys/os/glnx86\" "
-"or \"sys/os/glnxa64\" subdirectory of your MATLAB installation."
-msgstr "Si vous l'acceptez, le processus d'installation renommera les fichiers créateurs de conflits en utilisant une extension \".bak\". Ces fichiers sont situés dans le sous-répertoire \"sys/os/glnx86\" ou \"sys/os/glnxa64\" de votre installation MATLAB."
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid ""
-"Otherwise, Dynare will probably fail to run, and you will need to manually "
-"hack your MATLAB installation."
-msgstr "Sinon, Dynare échouera probablement à l'exécution, et vous devrez manuellement bidouiller votre installation MATLAB."
diff --git a/debian/po/pt.po b/debian/po/pt.po
deleted file mode 100644
index 7b08a98..0000000
--- a/debian/po/pt.po
+++ /dev/null
@@ -1,144 +0,0 @@
-# dynare Portuguese debconf translation
-# Copyright (C) 2009
-# This file is distributed under the same license as the dynare package.
-# Pedro Ribeiro <p.m42.ribeiro@gmail.com>, 2009
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: dynare_4.0.4-2\n"
-"Report-Msgid-Bugs-To: dynare@packages.debian.org\n"
-"POT-Creation-Date: 2009-06-03 12:08+0200\n"
-"PO-Revision-Date: 2009-08-10 20:00+0100\n"
-"Last-Translator: Pedro Ribeiro<p.m42.ribeiro@gmail.com>\n"
-"Language-Team: Portuguese <traduz@debianpt.org>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:1001
-msgid "Absolute path to MATLAB installation:"
-msgstr "Caminho absoluto para a instalação do MATLAB:"
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:1001
-msgid "Please enter the directory where you have installed MATLAB."
-msgstr "Por favor, indique o directório onde tem o MATLAB instalado."
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:1001
-msgid ""
-"For example, if MATLAB executable is \"/usr/local/matlab76/bin/matlab\", "
-"please enter \"/usr/local/matlab76\"."
-msgstr ""
-"Por exemplo, se o executável do MATLAB é \"/usr/local/matlab76/bin/matlab\", "
-"escreva \"/usr/local/matlab76\"."
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:2001
-msgid "UNIX user account able to launch MATLAB:"
-msgstr "Conta de utilizador UNIX capaz de executar o MATLAB:"
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:2001
-msgid ""
-"If your MATLAB installation is such that only one or a limited set of UNIX "
-"user accounts can launch MATLAB, please indicate here the login of such an "
-"account."
-msgstr ""
-"Se a sua instalação do MATLAB é tal que apenas uma ou um conjunto limitado de "
-"contas de utilizador UNIX pode executar o MATLAB, indique aqui por favor o "
-"login de uma dessas contas."
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:2001
-msgid ""
-"If every UNIX user account (including root) is allowed to launch MATLAB, "
-"please leave this field empty."
-msgstr ""
-"Se todas as contas de utilizador (incluindo root) estão autorizadas a "
-"executar o MATLAB, por favor deixe este campo em branco."
-
-#. Type: note
-#. Description
-#: ../dynare-matlab.templates:3001
-msgid "Please make sure that MATLAB license manager is running"
-msgstr "Certifique-se por favor que o gestor de licenças do MATLAB está a correr"
-
-#. Type: note
-#. Description
-#: ../dynare-matlab.templates:3001
-msgid "You have specified a UNIX user account for running MATLAB."
-msgstr "Especificou uma conta de utilizador UNIX para executar o MATLAB."
-
-#. Type: note
-#. Description
-#: ../dynare-matlab.templates:3001
-msgid ""
-"This probably means that your MATLAB installation uses a license manager."
-msgstr ""
-"Isto quer dizer que provavelmente a sua instalação do MATLAB usa um gestor "
-"de licenças."
-
-#. Type: note
-#. Description
-#: ../dynare-matlab.templates:3001
-msgid "If the license manager is not running, MEX files compilation will fail."
-msgstr ""
-"Se o gestor de licenças não estiver a correr, a compilação de ficheiros MEX "
-"irá falhar."
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid "Rename MATLAB files conflicting with Dynare?"
-msgstr "Renomear os ficheiros MATLAB em conflito com Dynare?"
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid ""
-"A MATLAB installation is shipped with copies of GCC dynamic loadable "
-"libraries, which typically come from an old version of GCC."
-msgstr ""
-"Uma instalação do MATLAB inclui cópias das bibliotecas de carregamento "
-"dinâmico do GCC, que tipicamente são de versões antigas do GCC."
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid ""
-"This creates a conflict which makes Dynare fail when running the "
-"preprocessor."
-msgstr ""
-"Isto cria um conflito que provoca a falha do Dynare ao executar o "
-"pré-processador."
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid ""
-"If you accept it, the installation process will rename the conflicting files "
-"using a \".bak\" extension. These files are located in the \"sys/os/glnx86\" "
-"or \"sys/os/glnxa64\" subdirectory of your MATLAB installation."
-msgstr ""
-"Se aceitar, o processo de instalação irá renomear os ficheiros em conflito "
-"usando a extensão \".bak\". Estes ficheiros estão localizados no sub-"
-"directório \"sys/os/glnx86\" ou \"sys/os/glnxa64\" da sua instalação do "
-"MATLAB."
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid ""
-"Otherwise, Dynare will probably fail to run, and you will need to manually "
-"hack your MATLAB installation."
-msgstr ""
-"De outro modo, o Dynare irá provavelmente falhar, e precisará de alterar "
-"manualmente a sua instalação do MATLAB."
diff --git a/debian/po/ru.po b/debian/po/ru.po
deleted file mode 100644
index e91c6d4..0000000
--- a/debian/po/ru.po
+++ /dev/null
@@ -1,144 +0,0 @@
-# translation of dynare_4.0.4-5_ru.po to Russian
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-#
-# Yuri Kozlov <yuray@komyakino.ru>, 2009.
-msgid ""
-msgstr ""
-"Project-Id-Version: dynare 4.0.4-5\n"
-"Report-Msgid-Bugs-To: dynare@packages.debian.org\n"
-"POT-Creation-Date: 2009-06-03 12:08+0200\n"
-"PO-Revision-Date: 2009-10-15 18:52+0400\n"
-"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
-"Language-Team: Russian <debian-l10n-russian@lists.debian.org>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: KBabel 1.11.4\n"
-"Plural-Forms:  nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:1001
-msgid "Absolute path to MATLAB installation:"
-msgstr "Абсолютный путь к установке MATLAB:"
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:1001
-msgid "Please enter the directory where you have installed MATLAB."
-msgstr "Введите каталог, в который был установлен MATLAB."
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:1001
-msgid ""
-"For example, if MATLAB executable is \"/usr/local/matlab76/bin/matlab\", "
-"please enter \"/usr/local/matlab76\"."
-msgstr ""
-"Например, если полный путь к исполняемому файлу "
-"MATLAB -- \"/usr/local/matlab76/bin/matlab\", то введите \"/usr/local/matlab76\"."
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:2001
-msgid "UNIX user account able to launch MATLAB:"
-msgstr "Учётная запись UNIX, из которой разрешён запуск MATLAB:"
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:2001
-msgid ""
-"If your MATLAB installation is such that only one or a limited set of UNIX "
-"user accounts can launch MATLAB, please indicate here the login of such an "
-"account."
-msgstr ""
-"Если установкой MATLAB разрешено запускать MATLAB только для "
-"определённых учётных записей UNIX, то введите имя пользователя "
-"такой учётной записи."
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:2001
-msgid ""
-"If every UNIX user account (including root) is allowed to launch MATLAB, "
-"please leave this field empty."
-msgstr "Если MATLAB разрешено запускать всем (включая root), то ничего не вводите."
-
-#. Type: note
-#. Description
-#: ../dynare-matlab.templates:3001
-msgid "Please make sure that MATLAB license manager is running"
-msgstr "Убедитесь, что запущен менеджер лицензий MATLAB"
-
-#. Type: note
-#. Description
-#: ../dynare-matlab.templates:3001
-msgid "You have specified a UNIX user account for running MATLAB."
-msgstr "Вы указали учётную запись UNIX для запуска MATLAB."
-
-#. Type: note
-#. Description
-#: ../dynare-matlab.templates:3001
-msgid "This probably means that your MATLAB installation uses a license manager."
-msgstr ""
-"Вероятно это означает, что в установке MATLAB используется менеджер "
-"лицензий."
-
-#. Type: note
-#. Description
-#: ../dynare-matlab.templates:3001
-msgid "If the license manager is not running, MEX files compilation will fail."
-msgstr ""
-"Если менеджер лицензий не запущен, то нельзя будет "
-"скомпилировать MEX файлы."
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid "Rename MATLAB files conflicting with Dynare?"
-msgstr "Переименовать файлы MATLAB, конфликтующие с Dynare?"
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid ""
-"A MATLAB installation is shipped with copies of GCC dynamic loadable "
-"libraries, which typically come from an old version of GCC."
-msgstr ""
-"В установке MATLAB используются копии динамически загружаемых "
-"библиотек GCC, которые, обычно, взяты от старой версии GCC."
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid ""
-"This creates a conflict which makes Dynare fail when running the "
-"preprocessor."
-msgstr ""
-"Из-за этого происходит конфликт, вследствие чего Dynare не удаётся запустить "
-"препроцессор."
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid ""
-"If you accept it, the installation process will rename the conflicting files "
-"using a \".bak\" extension. These files are located in the \"sys/os/glnx86\" "
-"or \"sys/os/glnxa64\" subdirectory of your MATLAB installation."
-msgstr ""
-"Если вы ответите утвердительно, то процесс установки переименует "
-"конфликтующие файлы и назначит им расширение \".bak\". "
-"Эти файлы расположены в подкаталоге \"sys/os/glnx86\" "
-"или \"sys/os/glnxa64\" установки MATLAB."
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid ""
-"Otherwise, Dynare will probably fail to run, and you will need to manually "
-"hack your MATLAB installation."
-msgstr ""
-"В противном случае, Dynare, скорее всего, не запустится, и вам нужно будет вручную "
-"исправлять установку MATLAB."
-
diff --git a/debian/po/sv.po b/debian/po/sv.po
deleted file mode 100644
index 517bd69..0000000
--- a/debian/po/sv.po
+++ /dev/null
@@ -1,146 +0,0 @@
-# Translation of dynare debconf template to Swedish
-# Copyright (C) 2009 Martin Bagge <brother@bsnet.se>
-# This file is distributed under the same license as the dynare package.
-#
-# Martin Bagge <brother@bsnet.se>, 2009
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: dynare@packages.debian.org\n"
-"POT-Creation-Date: 2009-06-03 12:08+0200\n"
-"PO-Revision-Date: 2009-06-21 12:55+0100\n"
-"Last-Translator: Martin Bagge <brother@bsnet.se>\n"
-"Language-Team: Swedish <debian-l10n-swedish@lists.debian.org>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=utf-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Poedit-Language: Swedish\n"
-"X-Poedit-Country: Sweden\n"
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:1001
-msgid "Absolute path to MATLAB installation:"
-msgstr "Absolut sökväg till MATLAB-installation:"
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:1001
-msgid "Please enter the directory where you have installed MATLAB."
-msgstr "Ange katalogen där du har installerat MATLAB."
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:1001
-msgid ""
-"For example, if MATLAB executable is \"/usr/local/matlab76/bin/matlab\", "
-"please enter \"/usr/local/matlab76\"."
-msgstr ""
-"Om den körbara filen för MATLAB finns i \"/usr/local/matlab76/bin/matlab\" "
-"anger du \"/usr/local/matlab76\"."
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:2001
-msgid "UNIX user account able to launch MATLAB:"
-msgstr "UNIX-användare som kan köra MATLAB:"
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:2001
-msgid ""
-"If your MATLAB installation is such that only one or a limited set of UNIX "
-"user accounts can launch MATLAB, please indicate here the login of such an "
-"account."
-msgstr ""
-"Om din MATLAB-installation är av typen att bara en eller en begränsad mängd "
-"UNIX-användare kan köra MATLAB måste detta anges här genom att specificera "
-"ett sådant konto."
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:2001
-msgid ""
-"If every UNIX user account (including root) is allowed to launch MATLAB, "
-"please leave this field empty."
-msgstr ""
-"Om alla UNIX-användare på systemet (inklusive root) kan köra MATLAB lämnar "
-"du fältet tomt."
-
-#. Type: note
-#. Description
-#: ../dynare-matlab.templates:3001
-msgid "Please make sure that MATLAB license manager is running"
-msgstr "Säkerställ att licenshanteraren för MATLAB körs."
-
-#. Type: note
-#. Description
-#: ../dynare-matlab.templates:3001
-msgid "You have specified a UNIX user account for running MATLAB."
-msgstr "Du har angivit en UNIX-användare för att köra MATLAB."
-
-#. Type: note
-#. Description
-#: ../dynare-matlab.templates:3001
-msgid ""
-"This probably means that your MATLAB installation uses a license manager."
-msgstr ""
-"Detta betyder vanligen att din MATLAB-installation använder en "
-"licenshanterare."
-
-#. Type: note
-#. Description
-#: ../dynare-matlab.templates:3001
-msgid "If the license manager is not running, MEX files compilation will fail."
-msgstr ""
-"Om licenshanteraren inte körs kommer sammanställningen av MEX-filerna att "
-"avbrytas."
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid "Rename MATLAB files conflicting with Dynare?"
-msgstr "Byta namn på MATLAB-filer som står i konflikt till Dynare?"
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid ""
-"A MATLAB installation is shipped with copies of GCC dynamic loadable "
-"libraries, which typically come from an old version of GCC."
-msgstr ""
-"En MATLAB-installation levereras med kopior på dynamiskt laddade GCC-"
-"bibliotek som vanligen kommer från en gammal version av GCC."
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid ""
-"This creates a conflict which makes Dynare fail when running the "
-"preprocessor."
-msgstr ""
-"Detta skapar en konflikt som innebär att Dynare kommer att misslyckas när "
-"preprocessorn körs."
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid ""
-"If you accept it, the installation process will rename the conflicting files "
-"using a \".bak\" extension. These files are located in the \"sys/os/glnx86\" "
-"or \"sys/os/glnxa64\" subdirectory of your MATLAB installation."
-msgstr ""
-"Om du accepterar förslaget kommer installationsprocessen att byta namn på "
-"filerna genom att lägga till \".bak\" som suffix. Dessa filer finns i "
-"underkatalogen \"sys/os/glnx86\" eller \"sys/os/glnx64\" i din MATLAB-"
-"installation."
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid ""
-"Otherwise, Dynare will probably fail to run, and you will need to manually "
-"hack your MATLAB installation."
-msgstr ""
-"Om du avböjer detta kommer Dynare troligen inte att kunna köras och du måste "
-"manuellt hacka din MATLAB-installation."
diff --git a/debian/po/templates.pot b/debian/po/templates.pot
deleted file mode 100644
index c1df2cc..0000000
--- a/debian/po/templates.pot
+++ /dev/null
@@ -1,124 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: dynare@packages.debian.org\n"
-"POT-Creation-Date: 2009-06-03 12:08+0200\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=CHARSET\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:1001
-msgid "Absolute path to MATLAB installation:"
-msgstr ""
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:1001
-msgid "Please enter the directory where you have installed MATLAB."
-msgstr ""
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:1001
-msgid ""
-"For example, if MATLAB executable is \"/usr/local/matlab76/bin/matlab\", "
-"please enter \"/usr/local/matlab76\"."
-msgstr ""
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:2001
-msgid "UNIX user account able to launch MATLAB:"
-msgstr ""
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:2001
-msgid ""
-"If your MATLAB installation is such that only one or a limited set of UNIX "
-"user accounts can launch MATLAB, please indicate here the login of such an "
-"account."
-msgstr ""
-
-#. Type: string
-#. Description
-#: ../dynare-matlab.templates:2001
-msgid ""
-"If every UNIX user account (including root) is allowed to launch MATLAB, "
-"please leave this field empty."
-msgstr ""
-
-#. Type: note
-#. Description
-#: ../dynare-matlab.templates:3001
-msgid "Please make sure that MATLAB license manager is running"
-msgstr ""
-
-#. Type: note
-#. Description
-#: ../dynare-matlab.templates:3001
-msgid "You have specified a UNIX user account for running MATLAB."
-msgstr ""
-
-#. Type: note
-#. Description
-#: ../dynare-matlab.templates:3001
-msgid ""
-"This probably means that your MATLAB installation uses a license manager."
-msgstr ""
-
-#. Type: note
-#. Description
-#: ../dynare-matlab.templates:3001
-msgid "If the license manager is not running, MEX files compilation will fail."
-msgstr ""
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid "Rename MATLAB files conflicting with Dynare?"
-msgstr ""
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid ""
-"A MATLAB installation is shipped with copies of GCC dynamic loadable "
-"libraries, which typically come from an old version of GCC."
-msgstr ""
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid ""
-"This creates a conflict which makes Dynare fail when running the "
-"preprocessor."
-msgstr ""
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid ""
-"If you accept it, the installation process will rename the conflicting files "
-"using a \".bak\" extension. These files are located in the \"sys/os/glnx86\" "
-"or \"sys/os/glnxa64\" subdirectory of your MATLAB installation."
-msgstr ""
-
-#. Type: boolean
-#. Description
-#: ../dynare-matlab.templates:4001
-msgid ""
-"Otherwise, Dynare will probably fail to run, and you will need to manually "
-"hack your MATLAB installation."
-msgstr ""
-- 
1.7.2.3

>From 07214cd47673cff270cbcf20e807c39a07f466a0 Mon Sep 17 00:00:00 2001
From: Michael Hanke <mih@debian.org>
Date: Tue, 4 Jan 2011 08:39:14 -0500
Subject: [PATCH 2/2] Simplify MEX postinst logic and use Matlab-helper tool.

---
 debian/control                |    4 +-
 debian/dynare-matlab.postinst |   63 ++++++++++-------------------------------
 2 files changed, 17 insertions(+), 50 deletions(-)

diff --git a/debian/control b/debian/control
index 8e5c40f..1250594 100644
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,7 @@ Priority: optional
 Build-Depends: debhelper (>= 7.0.50), octave3.2-headers (>= 3.2.2),
  libboost-graph-dev, texlive, texlive-publishers, texlive-extra-utils,
  texlive-formats-extra, xsltproc, dblatex (>=0.2.12-3), latex-beamer, docbook-xsl,
- quilt, po-debconf, gnuplot-nox
+ quilt, gnuplot-nox
 Build-Conflicts: octave3.0
 Standards-Version: 3.9.0
 Homepage: http://www.dynare.org/
@@ -72,7 +72,7 @@ Description: documentation for Dynare
 Package: dynare-matlab
 Architecture: all
 Section: contrib/math
-Depends: ${misc:Depends}, debconf | debconf-2.0, sudo, dynare
+Depends: ${misc:Depends}, dynare, matlab
 Description: MEX files for MATLAB users of Dynare
  Dynare is a pre-preprocessor and a collection of GNU Octave and
  MATLAB routines which can solve, simulate and estimate non-linear
diff --git a/debian/dynare-matlab.postinst b/debian/dynare-matlab.postinst
index 9246dee..917f6d5 100644
--- a/debian/dynare-matlab.postinst
+++ b/debian/dynare-matlab.postinst
@@ -1,53 +1,20 @@
 #!/bin/sh
 set -e
-. /usr/share/debconf/confmodule
 
-db_get dynare-matlab/matlab-path
-MATLAB_PATH=$RET
-
-MATLAB="$MATLAB_PATH/bin/matlab"
-
-if [ ! -x "$MATLAB" ]
-then
-  echo "Can't find MATLAB in $MATLAB_PATH. Please run 'dpkg-reconfigure dynare-matlab'."
-  exit 0
-fi
-
-# Rename GCC libraries shipped with MATLAB which conflicts with those of Debian
-
-db_get dynare-matlab/rename-libs
-
-if [ "$RET" = "true" ]
-then
-    for f in $MATLAB_PATH/sys/os/glnx86/libgcc_s.so.1 $MATLAB_PATH/sys/os/glnx86/libstdc++.so.6 \
-        $MATLAB_PATH/sys/os/glnxa64/libgcc_s.so.1 $MATLAB_PATH/sys/os/glnxa64/libstdc++.so.6
-    do
-        if [ -e $f ]
-        then
-            echo "Renaming $f to $f.bak."
-            mv $f $f.bak
-        fi
-    done
-fi
-
-# Build the MEX files
-
-mkdir -p /usr/lib/dynare/mex/matlab
-
-db_get dynare-matlab/matlab-user
-MATLAB_USER=$RET
-
-cd /usr/src/dynare-matlab/mex/sources
-
-if [ -z "$MATLAB_USER" ]
-then
-    $MATLAB -nodisplay -r build_matlab
-else
-    db_input critical dynare-matlab/license-manager || true
-    db_go || true
-    chown -R $MATLAB_USER /usr/lib/dynare/mex/matlab
-    sudo -H -u $MATLAB_USER $MATLAB -nodisplay -r build_matlab
-    chown -R root:root /usr/lib/dynare/mex/matlab
-fi
+case "$1" in
+    configure)
+        debian-matlab-mexhelper dynare install \
+            --src-dir /usr/src/dynare-matlab/mex/sources \
+            --build-cmd 'matlab -nodesktop -nodisplay -nojvm -r build_matlab'
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
 
 #DEBHELPER#
-- 
1.7.2.3


--- End Message ---
--- Begin Message ---
Source: dynare
Source-Version: 4.2.1-1

We believe that the bug you reported is fixed in the latest version of
dynare, which is due to be installed in the Debian FTP archive:

dynare-common_4.2.1-1_all.deb
  to main/d/dynare/dynare-common_4.2.1-1_all.deb
dynare-doc_4.2.1-1_all.deb
  to main/d/dynare/dynare-doc_4.2.1-1_all.deb
dynare-matlab_4.2.1-1_all.deb
  to contrib/d/dynare/dynare-matlab_4.2.1-1_all.deb
dynare_4.2.1-1.debian.tar.gz
  to main/d/dynare/dynare_4.2.1-1.debian.tar.gz
dynare_4.2.1-1.dsc
  to main/d/dynare/dynare_4.2.1-1.dsc
dynare_4.2.1-1_amd64.deb
  to main/d/dynare/dynare_4.2.1-1_amd64.deb
dynare_4.2.1.orig.tar.gz
  to main/d/dynare/dynare_4.2.1.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 608919@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Weber <tweber@debian.org> (supplier of updated dynare package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 28 May 2011 21:21:32 +0200
Source: dynare
Binary: dynare dynare-common dynare-doc dynare-matlab
Architecture: source amd64 all
Version: 4.2.1-1
Distribution: unstable
Urgency: low
Maintainer: Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>
Changed-By: Thomas Weber <tweber@debian.org>
Description: 
 dynare     - suite for non-linear models with forward looking variables
 dynare-common - platform independent files for Dynare
 dynare-doc - documentation for Dynare
 dynare-matlab - MEX files for MATLAB users of Dynare
Closes: 608919
Changes: 
 dynare (4.2.1-1) unstable; urgency=low
 .
   [ Sébastien Villemot ]
   * New upstream release
   * patches/info-filename-and-category:
     Remove obsolete patch.
   * debian/control:
     - Update build dependency, to reflect the fact that the reference
       manual is now in texinfo format.
     - Bump Standards-Version to 3.9.2; no changes required.
     - Add build dependency on texlive-math-extra, for Dynare++ documentation.
   * debian/dynare-doc.doc-base.manual, debian/dynare-doc.docs:
     Update paths following renaming of reference manual.
   * debian/rules:
     Do not build info file, it comes with upstream tarball.
   * Use matlab-support package for MATLAB-specific logic: (Closes: #608919)
     - Remove all debconf stuff.
     - debian/control: remove debconf dependency, dynare-matlab now depends
       on matlab-support
     - debian/dynare-matlab.install:
       Install source files under the recommended location: /usr/src/matlab.
     - debian/dynare-matlab-postinst:
       Use debian-matlab-mexhelper script.
   * Package new Dynare Emacs mode:
     - debian/dynare-common.emacsen-{install,remove,startup}:
       New scripts.
     - debian/dynare-common.install:
       Install dynare.el at the right location.
   * debian/dynare-common.install:
     Adapt for removed files.
   * debian/patches/fhs-compliance:
     Refresh patch.
   * debian/patches/doc-cleanup:
     Patch for files missing from clean rules.
Checksums-Sha1: 
 438a1b6c98fec9a5f89d76a35bc813ca7c24a8e3 1695 dynare_4.2.1-1.dsc
 7df0db125c6e2e5f227b8224891e963fd38aab2f 13634307 dynare_4.2.1.orig.tar.gz
 1dfd58d2ae8e0564d6c4f71284ef6e26d3329a2e 11203 dynare_4.2.1-1.debian.tar.gz
 9fc0e45ac465337d3902c545aa08cdb4c87ca165 1550410 dynare_4.2.1-1_amd64.deb
 e3c3ba7172af271f344840538fda4fe6931f99c9 340516 dynare-common_4.2.1-1_all.deb
 1873f65be7981ef1ac5017ad25f7f3b544ede51d 6194646 dynare-doc_4.2.1-1_all.deb
 a7ec811fdae12353dfdd20826e861324d7f9747d 449926 dynare-matlab_4.2.1-1_all.deb
Checksums-Sha256: 
 a065684fa57ec54ef19520b2296bcec27cd6d87a1d52ea279554019b33b63259 1695 dynare_4.2.1-1.dsc
 65b30a6524843a5751387cf962a10ba104042bef7932c472254f3bbf03aa044d 13634307 dynare_4.2.1.orig.tar.gz
 8b463172c9d181785082f685583a27aaea1bc071588c791cd4700bd0b5c15fe1 11203 dynare_4.2.1-1.debian.tar.gz
 fcc80a6a44c52be1dc1a36ce287703584315c0f4c535d997f51ce3fbbfd84f35 1550410 dynare_4.2.1-1_amd64.deb
 1863b2c0c0dcbefa87cf49eb6c565558b389f4d2dda8a93c2fe9331512b6d775 340516 dynare-common_4.2.1-1_all.deb
 71e52c074323ec63c8ade7c8adf5eb9b253a9f50e9b43ec2b4939b263914eb9c 6194646 dynare-doc_4.2.1-1_all.deb
 6249a9cef58f25c9e449f6df74ba25904c63957c61c51c181b86da1557be40d6 449926 dynare-matlab_4.2.1-1_all.deb
Files: 
 93e4c5a664f294a16f5a717e07062599 1695 math optional dynare_4.2.1-1.dsc
 8551e51c3020c87f74dfb9915bbcf618 13634307 math optional dynare_4.2.1.orig.tar.gz
 34ad6fc071391e4b5307e1a08dcb8ef1 11203 math optional dynare_4.2.1-1.debian.tar.gz
 ed0488511a382246d71d26452439718b 1550410 math optional dynare_4.2.1-1_amd64.deb
 8deb5e477f4cde4cedce6924147f4550 340516 math optional dynare-common_4.2.1-1_all.deb
 6953166bb62a43d361c514039a4170ba 6194646 doc optional dynare-doc_4.2.1-1_all.deb
 d94662ec3713a79ff1eb04f4d97f2913 449926 contrib/math optional dynare-matlab_4.2.1-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk3hTccACgkQPqD4a3lPnXwWXgCcDNX3qpEkDC3USP2xpZqUq0u3
mT4AnAqXsCeh5nEZdfUmjWPJ6fYGWSm/
=odOD
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: