Description: TODO: Put a short summary on the line above and replace this paragraph with a longer explanation of this change. Complete the meta-information with other relevant fields (see below for details). To make it easier, the information below has been extracted from the changelog. Adjust it or drop it. . jclic (0.2.1.0-1+lliurex4) precise; urgency=low . * Fixed zero-dev dependence Author: Jaime Munyoz Fayos --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: --- /dev/null +++ jclic-0.2.1.0/lliurex-po/zero-jclic/ca_ES.UTF-8@valencia.po @@ -0,0 +1,38 @@ +# Catalan translations for PACKAGE package. +# Copyright (C) 2013 THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# lliurex , 2013. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2013-06-24 10:25+0200\n" +"PO-Revision-Date: 2013-06-24 11:26+0200\n" +"Last-Translator: lliurex \n" +"Language-Team: Catalan\n" +"Language: ca_ES@valencia\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" + +#: zero-jclic.zmd:4 +msgid "You must install and run mysql" +msgstr "Cal que instal·leu i executeu mysql" + +#: zero-jclic.zmd:5 +msgid "" +"You need to install mysql to configure jclic reports. Do you want to " +"continue?" +msgstr "" +"Cal que instal·leu mysql per a configurar el JClic Reports. Voleu" +"continuar?" + +#: zero-jclic.zmd:6 +msgid "Leaving unconfigured" +msgstr "Ix sense configurar" + +#: zero-jclic.zmd:7 +msgid "Can not get dependences. Leaving unconfigured" +msgstr "No es pot descarregar. Ix sense configurar" --- /dev/null +++ jclic-0.2.1.0/lliurex-po/zero-jclic/zero-jclic.pot @@ -0,0 +1,36 @@ +# 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 , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2013-06-24 10:25+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#: zero-jclic.zmd:4 +msgid "You must install and run mysql" +msgstr "" + +#: zero-jclic.zmd:5 +msgid "" +"You need to install mysql to configure jclic reports. Do you want to " +"continue?" +msgstr "" + +#: zero-jclic.zmd:6 +msgid "Leaving unconfigured" +msgstr "" + +#: zero-jclic.zmd:7 +msgid "Can not get dependences. Leaving unconfigured" +msgstr "" --- /dev/null +++ jclic-0.2.1.0/lliurex-po/zero-jclic/es.po @@ -0,0 +1,37 @@ +# Spanish translations for PACKAGE package. +# Copyright (C) 2013 THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# lliurex , 2013. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2013-06-24 10:25+0200\n" +"PO-Revision-Date: 2013-06-24 11:27+0200\n" +"Last-Translator: lliurex \n" +"Language-Team: Spanish\n" +"Language: es\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" + +#: zero-jclic.zmd:4 +msgid "You must install and run mysql" +msgstr "Debería instalar y ejecutar mysql" + +#: zero-jclic.zmd:5 +msgid "" +"You need to install mysql to configure jclic reports. Do you want to " +"continue?" +msgstr "" +"Necesita instalar mysql para configurar jclic reports. ¿Desea" +"continuar?" +#: zero-jclic.zmd:6 +msgid "Leaving unconfigured" +msgstr "Se deja sin configurar." + +#: zero-jclic.zmd:7 +msgid "Can not get dependences. Leaving unconfigured" +msgstr "No se puede descargar. Se deja sin configurar" --- jclic-0.2.1.0.orig/zero-jclic.zlaunchers/zero-jclic.zmd +++ jclic-0.2.1.0/zero-jclic.zlaunchers/zero-jclic.zmd @@ -1,25 +1,32 @@ #!/bin/sh +export TEXTDOMAIN="zero-jclic" +MSG_ERROR_MYSQL=$(gettext "You must install and run mysql") +MSG_PRINCIPAL=$(gettext "You need to install mysql to configure jclic reports. Do you want to continue?") +MSG_NOCONFIGURE=$(gettext "Leaving unconfigured") +MSG_NOCONFIGURE2=$(gettext "Can not get dependences. Leaving unconfigured") + +# Es necesario mysql para configurar el jclic reports. Preguntar antes. +zenity --question --text="$MSG_PRINCIPAL" +if [ $? -ne 0 ]; then + zenity --info --text="$MSG_NOCONFIGURE" + exit 0 +fi +apt-get install lliurex-sgbd +if [ $? -ne 0 ]; then + zenity --info --text="$MSG_NOCONFIGURE" + exit 0 +fi + + #Testear el mysql RESULT=$(mysql_root_passwd -a) if [ $RESULT = "YES" ] ; then - zenity --error --text "Per a continuar cal que instal·leu i arranqueu el Mysql" + zenity --error --text "$MSG_ERROR_MYSQL" exit 0 fi -# Testear los directorios de las posibles máquinas java para crear enlaces al driver de mysql -LISTA=$(ls /usr/lib/jvm) -for elemento in $LISTA - do - if [ ! -h /usr/lib/jvm/$elemento ]; then - if [ -d /usr/lib/jvm/$elemento/jre/lib/ext ]; then - ln -s /usr/share/java/mysql-connector-java.jar /usr/lib/jvm/$elemento/jre/lib/ext/mysql-connector-java.jar - fi - fi -done - #Crear la base de datos y el usuario - lliurex-sgbd --install jclic #Crear un fichero de inicialización