Re: osx fixes for marble / subsurface build.

2015-04-27 Thread Tomaz Canabrava
Jan, what file / line?

On Mon, Apr 27, 2015, 05:30 Jan Mulder jlmul...@xs4all.nl wrote:

 On 04/26/15 20:51, Tomaz Canabrava wrote:

  fixed issue with CMake on marble ( that used the incorrect path for
  the library )
  fixed a few issues with build.sh / subsurface
 
  please note that this shouldn`t break anything for non mac users, and
  mac users - please note that this shouldn`t break anything, but
  instead make it work.

 Hard coded reference to .dylib  library files break the build on (I
 expect) all non-mac users. My build (on Arch Linux) succeeded by simply
 renaming it to .so
 ___
 subsurface mailing list
 subsurface@subsurface-divelog.org
 http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: Prototype for customizable printing support.

2015-04-27 Thread Lubomir I. Ivanov
On 21 April 2015 at 21:48, Gehad gehadelro...@gmail.com wrote:

 Lubomir,

 I have attached a new series of cleaner patches, and I have considered
 your remarks.


hey Gehad.
thanks, i will review the patches when i get some free time.

lubomir
--
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: osx fixes for marble / subsurface build.

2015-04-27 Thread Tomaz Canabrava
HM... Can you change that to find of its dawin passou a dylib and a .so
otherwise? I cant do that now and this is important. :(

On Mon, Apr 27, 2015, 07:33 Jan Mulder jlmul...@xs4all.nl wrote:

 On 04/27/15 12:28, Tomaz Canabrava wrote:


 On Mon, Apr 27, 2015, 05:30 Jan Mulder jlmul...@xs4all.nl wrote:

 On 04/26/15 20:51, Tomaz Canabrava wrote:

  fixed issue with CMake on marble ( that used the incorrect path for
  the library )
  fixed a few issues with build.sh / subsurface
 
  please note that this shouldn`t break anything for non mac users, and
  mac users - please note that this shouldn`t break anything, but
  instead make it work.

 Hard coded reference to .dylib  library files break the build on (I
 expect) all non-mac users. My build (on Arch Linux) succeeded by simply
 renaming it to .so


  Jan, what file / line?


 In the ./scripts/build.sh script. At the very end (line 109). The part
 that you added in this patch.

___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


[PATCH] Update spanish translation of user manual to english c7c9b015

2015-04-27 Thread Salvador Cuñat
Signed-off-by: Salvador Cuñat salvador.cu...@gmail.com
---
 Documentation/user-manual_es.txt | 45 +++-
 1 file changed, 26 insertions(+), 19 deletions(-)

diff --git a/Documentation/user-manual_es.txt b/Documentation/user-manual_es.txt
index 6b003a3..7f2e6c1 100644
--- a/Documentation/user-manual_es.txt
+++ b/Documentation/user-manual_es.txt
@@ -92,9 +92,9 @@ Empezar a usar el programa
 --
 
 La ventana _Subsurface_ está, habitualmente, dividida en cuatro paneles con un
-*Menú principal* (Archivo Importar Registro Vista Filtros Ayuda) en la parte
-superior (en Windows y Linux) o en la parte superior de la pantalla (en Mac y
-Ubuntu Unity). Los cuatro paneles son:
+*Menú principal* (Archivo Importar Registro Vista Ayuda) en la parte superior
+(en Windows y Linux) o en la parte superior de la pantalla (en Mac y Ubuntu
+Unity). Los cuatro paneles son:
 
 1. La *Lista de inmersiones* abajo a la izquierda. Contienen una lista de todos
 los buceos en tu registro. Puedes seleccionar y resaltar una inmersión de la
@@ -2272,10 +2272,9 @@ lado derecho de la figura anterior, para un buceador 
usando EAN32.
 
 === El menú contextual de la Lista de Inmersiones
 
-Muchas acciones en _Subsurface_ dependen de un menú contextual que se usa
-básicamente para manipular grupos de inmersiones. El menú contextual se
-encuentra seleccionando una inmersión o un grupo de ellas y haciendo
-clic-derecho.
+Varias acciones sobre, bien una inmersión, bien un grupo de ellas, se pueden
+efectuar utilizando el Menú Contextual de la Lista de inmersiones, al que se
+accede seleccionando una inmersión o un grupo de ellas y haciendo clic-derecho.
 
 image::images/ContextMenu.jpg[Figura: Menú contextual,align=center]
 
@@ -2318,6 +2317,12 @@ secuencia inferior que se va a usar. Completar esta 
operación supone obtener
 nuevos números de secuencia (basados en fecha/hora) para los buceos del panel
 *Lista de Inmersiones*.
 
+También se pueden renumerar algunas inmersiones seleccionadas de la lista. Se
+seleccionan las inmersiones que necesiten renumerarse. Se hace clic-derecho
+sobre la lista seleccionada y se utiliza la lista contextual para efectuar el
+renumerado. Aparecerá una ventana solicitando al usuario que especifique el
+número de inicio para el proceso de numeración.
+
 [[S_Group]]
 === Agrupar las inmersiones en viajes y manipularlos
 
@@ -2354,16 +2359,16 @@ uno o más viajes clicando la punta de flecha a la 
izquierda del título. Con el
 se expande el viaje mostrando los buceos individuales efectuados.
 
  Colapsar o expandir información de diferentes viajes
-Si se hace clic-derecho después de seleccionar un viaje concreto de la lista, 
el
-menú resultante te ofrece varias posibilidades de expandir o contraer buceos
-incluidos en viajes. Entre ellas expandir todos los viajes, contraer todos los
-viajes y contraer todos excepto el seleccionado.
+
+Tras seleccionar un viaje concreto de la lista, el menú contextual resultante
+ofrece varias posibilidades de expandir o contraer buceos incluidos en viajes.
+Entre ellas expandir todos los viajes, contraer todos los viajes y contraer
+todos excepto el seleccionado.
 
  Mezclar inmersiones de más de un viaje en uno solo
 
-Al hacer clic-derecho en el título de un viaje seleccionado del panel *Lista de
-Inmersiones*, el menú permite mezclar viajes con el viaje de abajo o con el de
-arriba.
+Tras seleccionar el título de un viaje del panel *Lista de Inmersiones*, el
+menú permite mezclar viajes con el viaje de abajo o con el de arriba.
 
  Separar un viaje en más de uno
 
@@ -2391,7 +2396,8 @@ inmersiones de prueba o buceos de duración extremadamente 
corta.
 Se pueden separar inmersiones del viaje al que pertenecen. Para ello se
 selecciona y hace clic-derecho en los buceos para mostrar el menú. Luego se
 selecciona *Quitar inmersión(es) del viaje*. Las inmersiones que han sido
-separadas aparecerán ahora encima del viaje al que pertenecieron.
+separadas aparecerán ahora encima o debajo del viaje al que pertenecieron, en
+función de la fecha y la hora de la inmersión separada.
 
  Añadir una inmersión al viaje de arriba
 
@@ -2439,10 +2445,11 @@ Para abrir el filtrado, seleccionar _Registro - 
Filtrar la lista de inmersiones
 desde el menú principal. Esto abrirá el _Panel de filtrado_ en la parte de 
arriba
 de la ventana de _Subsurface_. Arriba a la derecha del panel se ubican tres
 iconos. El _Panel de filtrado_ puede reiniciarse (p.e. limpiar todos los 
filtros
-actuales) seleccionando el *+*. El _Panel de filtrado_ también puede 
minimizarse
-seleccionando el icono central. Cuando está minimizado solo se muestran los 
tres
-iconos. El panel puede maximizarse clicando el icono que lo minimizó. El filtro
-se cierra y reinicia seleccionando el icono con la bandera.
+actuales) seleccionando la flecha amarilla. El _Panel de filtrado_ también 
puede
+minimizarse seleccionando la *flecha verde*. Cuando está minimizado 

[GSoC 2015]

2015-04-27 Thread Claudiu Olteanu
Hi there,

I would like to thank you for choosing me to be one of the accepted
students for this organization.
I will do my best to finish the project successfully and become a valuable
contributor for this organization.

Congrats to all students and I hope that we will have a nice summer.

Happy hacking,
Claudiu
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: osx fixes for marble / subsurface build.

2015-04-27 Thread Jan Mulder

On 04/26/15 20:51, Tomaz Canabrava wrote:

fixed issue with CMake on marble ( that used the incorrect path for 
the library )

fixed a few issues with build.sh / subsurface

please note that this shouldn`t break anything for non mac users, and 
mac users - please note that this shouldn`t break anything, but 
instead make it work.


Hard coded reference to .dylib  library files break the build on (I 
expect) all non-mac users. My build (on Arch Linux) succeeded by simply 
renaming it to .so

___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: [PATCH] Set the shared library file extension for the specific platform.

2015-04-27 Thread Tomaz Canabrava
me too =/


On Mon, Apr 27, 2015 at 10:12 AM, Dirk Hohndel d...@hohndel.org wrote:

 On Mon, Apr 27, 2015 at 01:25:59PM +0200, Jan Mulder wrote:
  The build.sh script fails on UNIX because it references MAC specific file
  extension for shared libraries. Now, is checks the platform.

 Thanks. Good catch. It's of course totally obvious now that you point it
 out. But I was so excited that we finally have a fix for the build issues
 on Mac that I completely overlooked this.

 /D
 ___
 subsurface mailing list
 subsurface@subsurface-divelog.org
 http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: [PATCH] Set the shared library file extension for the specific platform.

2015-04-27 Thread Dirk Hohndel
On Mon, Apr 27, 2015 at 01:25:59PM +0200, Jan Mulder wrote:
 The build.sh script fails on UNIX because it references MAC specific file
 extension for shared libraries. Now, is checks the platform.

Thanks. Good catch. It's of course totally obvious now that you point it
out. But I was so excited that we finally have a fix for the build issues
on Mac that I completely overlooked this.

/D
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


[PATCH] Set the shared library file extension for the specific platform.

2015-04-27 Thread Jan Mulder
The build.sh script fails on UNIX because it references MAC specific 
file extension for shared libraries. Now, is checks the platform.


Patch attached.

best,

--jan
From 87a5bcc6fcadbd8ae0f0e4d2e72cea2018ceacf8 Mon Sep 17 00:00:00 2001
From: Jan Mulder jlmul...@xs4all.nl
Date: Mon, 27 Apr 2015 13:18:04 +0200
Subject: [PATCH] Set the shared library file extenstion for the specific
 platform.

The shared library extension differs on MacOS.

Signed-off-by: Jan Mulder jlmul...@xs4all.nl
---
 scripts/build.sh | 10 --
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/scripts/build.sh b/scripts/build.sh
index 2089269..f4db551 100755
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -101,16 +101,22 @@ cd src/lib/marble
 make -j4
 make install
 
+if [ $PLATFORM = Darwin ] ; then
+	SH_LIB_EXT=dylib
+else
+	SH_LIB_EXT=so
+fi
+
 cd $SRC/subsurface
 mkdir -p build
 cd build
 cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=$INSTALL_ROOT .. \
 	-DLIBGIT2_INCLUDE_DIR=$INSTALL_ROOT/include \
-	-DLIBGIT2_LIBRARIES=$INSTALL_ROOT/lib/libgit2.dylib \
+	-DLIBGIT2_LIBRARIES=$INSTALL_ROOT/lib/libgit2.$SH_LIB_EXT \
 	-DLIBDIVECOMPUTER_INCLUDE_DIR=$INSTALL_ROOT/include \
 	-DLIBDIVECOMPUTER_LIBRARIES=$INSTALL_ROOT/lib/libdivecomputer.a \
 	-DMARBLE_INCLUDE_DIR=$INSTALL_ROOT/include \
-	-DMARBLE_LIBRARIES=$INSTALL_ROOT/lib/libssrfmarblewidget.dylib
+	-DMARBLE_LIBRARIES=$INSTALL_ROOT/lib/libssrfmarblewidget.$SH_LIB_EXT
 
 make -j4
 make install
-- 
2.3.6

___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


libzip and non-ascii home directories on Windows

2015-04-27 Thread Dirk Hohndel
So this problem apparently still isn't fixed. How frustrating.
The current 4.4.1 Windows binaries are build with libzip version
42199fe38a16 which should contain all the necessary fixes, yet exporting
to divelogs.de still fails without any error.

I have now created a new Windows VM where I was able to create a local
user with the useful user name of Møtörhæđ Łüñçïß - and I can reproduce
the problem. I built the latest master of libzip and dropped it into the
program folder - still the same problem.

Before I try to sprinkle the sources with tons of debug output... Lubomir,
any idea what's up here?

Thanks

/D

___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface