Re: problems compiling subsurface 4.4 on fedora 18

2015-02-18 Thread Michele Fabi
2015-02-18 1:33 GMT+01:00 Dirk Hohndel : > On Wed, Feb 18, 2015 at 12:36:01AM +0100, Michele Fabi wrote: > > 2015-02-17 23:14 GMT+01:00 Dirk Hohndel : > > > > > Hi and thanks for the script. It still exit because it can't find > > libssrfmarblewidget that is located here: > > /home/michele/testfor

Re: problems compiling subsurface 4.4 on fedora 18

2015-02-18 Thread Dirk Hohndel
On Wed, Feb 18, 2015 at 12:04:59PM +0100, Michele Fabi wrote: > > Ego annuntio vobis gaudium magnum! We have subsurface 4.4 on fedora 18!! > Just one thing, there is no subsurface/scripts/run.sh, I launched the > subsurface executable under subsurface directory. Yep, I figured out a way that you

[PATCH 3/4] Add some extra data for DiveLog import

2015-02-18 Thread Miika Turkia
Signed-off-by: Miika Turkia --- xslt/DiveLog.xslt | 10 ++ 1 file changed, 10 insertions(+) diff --git a/xslt/DiveLog.xslt b/xslt/DiveLog.xslt index 818b50d..7d21b10 100644 --- a/xslt/DiveLog.xslt +++ b/xslt/DiveLog.xslt @@ -156,6 +156,16 @@ + + +

[PATCH 1/4] Include Boat in DiveLog import

2015-02-18 Thread Miika Turkia
Signed-off-by: Miika Turkia --- xslt/DiveLog.xslt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xslt/DiveLog.xslt b/xslt/DiveLog.xslt index b4bab89..9855ae3 100644 --- a/xslt/DiveLog.xslt +++ b/xslt/DiveLog.xslt @@ -62,6 +62,9 @@ + + +

[PATCH 2/4] Add serial number to DiveLog import

2015-02-18 Thread Miika Turkia
Signed-off-by: Miika Turkia --- xslt/DiveLog.xslt | 23 +++ 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/xslt/DiveLog.xslt b/xslt/DiveLog.xslt index 9855ae3..818b50d 100644 --- a/xslt/DiveLog.xslt +++ b/xslt/DiveLog.xslt @@ -2,17 +2,31 @@ + +

[PATCH 4/4] DiveLog import: Only include weight when available

2015-02-18 Thread Miika Turkia
Signed-off-by: Miika Turkia --- xslt/DiveLog.xslt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xslt/DiveLog.xslt b/xslt/DiveLog.xslt index 7d21b10..b94e287 100644 --- a/xslt/DiveLog.xslt +++ b/xslt/DiveLog.xslt @@ -128,7 +128,7 @@ - +

Installing dunce cap and facing corner

2015-02-18 Thread Steve Butler
I re-cloned subsurface (per email for somebody else to build from source) with -b v4.4-branch. Compiled to version 4.4.0-56-g554b652d25d9 and then compared to latest daily build via distro which was 4.4.0-67. Did a 'get checkout master' and redid the build script. Same version as the v4.4-br

Cylinder list

2015-02-18 Thread Davide DB
Hi, Where are stored cylinders in the equipment tab combo box? I find several annoying items and I couldn't find them in my XML. I have a couple of "unknown" And a strange Al7 that once selected becomes AL72 with a capacity of 10 liters :/ There is also another AL72. Are they stored into Windows r

FIY: libzip and UTF-8 on Win32

2015-02-18 Thread Lubomir I. Ivanov
so, i've been bringing this annoying topic multiple times now, if Subsurface is built with older libzip, when targeting Win32 there was this problem where zip_open() from libzip doesn't work with weird UTF-16 encoded paths...etc... so i've just downloaded the tip from their mercurial: http://hg.n

Re: Installing dunce cap and facing corner

2015-02-18 Thread Dirk Hohndel
On Wed, Feb 18, 2015 at 02:22:09PM -0800, Steve Butler wrote: > I re-cloned subsurface (per email for somebody else to build from source) > with -b v4.4-branch. Compiled to version 4.4.0-56-g554b652d25d9 and then > compared to latest daily build via distro which was 4.4.0-67. > > Did a 'get check

4.4.1 has been released

2015-02-18 Thread Dirk Hohndel
Tag is pushed, all the binaries are up, as are the sources. Highlights: - Spanish, Russian and French translations of the user manual have been updated. - Better and more flexible parsing of GPS coordinates. - Small fixes to the HTML export. - Fixed a problem where dives imported from some Shea

[libgit2] Compile issue on debian-unstable

2015-02-18 Thread Salvador Cuñat
Good night. While compiling last git-master (2e6fcfc) I have had this problem: compiling git-access.c git-access.c: In function ‘update_local_repo’: git-access.c:23:65: error: too many arguments to function ‘git_remote_fetch’ #define git_remote_fetch(remote, refspecs, signature, reflog) git

Re: FIY: libzip and UTF-8 on Win32

2015-02-18 Thread Dirk Hohndel
On Thu, Feb 19, 2015 at 12:46:34AM +0200, Lubomir I. Ivanov wrote: > so, i've been bringing this annoying topic multiple times now, > > if Subsurface is built with older libzip, when targeting Win32 there > was this problem where zip_open() from libzip doesn't work with weird > UTF-16 encoded path

Re: FIY: libzip and UTF-8 on Win32

2015-02-18 Thread Lubomir I. Ivanov
On 19 February 2015 at 00:53, Dirk Hohndel wrote: > On Thu, Feb 19, 2015 at 12:46:34AM +0200, Lubomir I. Ivanov wrote: >> so, i've been bringing this annoying topic multiple times now, >> >> if Subsurface is built with older libzip, when targeting Win32 there >> was this problem where zip_open() f

Unused cylinder again

2015-02-18 Thread Davide DB
Sorry guys but I got stuck again in a situation when a cylinder is not used but I cannot delete it. I have a brand new dive imported (bottom timer). I copy cylinders from a previous dive. Source dive has 4 cylinders Destination dive should have just three cylinders. I paste 4 cylinder I add gas cha

Re: [libgit2] Compile issue on debian-unstable

2015-02-18 Thread Lubomir I. Ivanov
On 19 February 2015 at 00:50, Salvador Cuñat wrote: > Good night. > > While compiling last git-master (2e6fcfc) I have had this problem: > > compiling git-access.c > git-access.c: In function ‘update_local_repo’: > git-access.c:23:65: error: too many arguments to function ‘git_remote_fetch’ >#

Gas change event out of scope

2015-02-18 Thread Davide DB
Trying to set a gas change at the start of the dive I'm able to set it out of scope. The event is saved but not recognized as such. So I'm able to add a following gas switch to the same bottle and while removing I get a wrong runtime in the confirmation dialog. http://trac.subsurface-divelog.org/t

Re: [libgit2] Compile issue on debian-unstable

2015-02-18 Thread Salvador Cuñat
Hi Lubomir. I think Debian's libgit2-21 is equivalent to v0.21 I've just remembered I had a built (not debian package) libgit2 library, may be it's still hanging around, as /usr/local/include/ is not the usual install dir for debian. Gonna take a look. Regards. Salva. 2015-02-19 0:22 GMT+01:0

Re: Unused cylinder again

2015-02-18 Thread Davide DB
I upgraded to 4.4.1 and the problem i still there. I tried adding a manual dive and it's there. After restarting Subsurface I can happily remove cylinders. http://trac.subsurface-divelog.org/ticket/832#ticket On Thu, Feb 19, 2015 at 12:12 AM, Davide DB wrote: > Sorry guys but I got stuck again

Re: [libgit2] Compile issue on debian-unstable

2015-02-18 Thread Lubomir I. Ivanov
On 19 February 2015 at 01:42, Salvador Cuñat wrote: > Hi Lubomir. > > I think Debian's libgit2-21 is equivalent to v0.21 > BTW, what does /include/git2/version.h says in terms of x.xx version? c3ab1e5af4c43d added the 4 parameter version to git_remote_fetch() (version.h was at 0.20). 0.21 *sho

Re: [libgit2] Compile issue on debian-unstable

2015-02-18 Thread Lubomir I. Ivanov
On 19 February 2015 at 02:14, Lubomir I. Ivanov wrote: > i'm not sure why we have the wrapper for a 3 parameter > git_remote_fetch(), as i can't find it in their log. > fe3a40a4ff056400 is when git_remote_fetch() was added with one param > and then it changed to 4 params at c3ab1e5af4c43d. > ok m

Re: [libgit2] Compile issue on debian-unstable

2015-02-18 Thread Salvador Cuñat
2015-02-19 1:14 GMT+01:00 Lubomir I. Ivanov : > > > i'm not sure why we have the wrapper for a 3 parameter > git_remote_fetch(), as i can't find it in their log. > fe3a40a4ff056400 is when git_remote_fetch() was added with one param > and then it changed to 4 params at c3ab1e5af4c43d. > > what a m

Re: FIY: libzip and UTF-8 on Win32

2015-02-18 Thread Lubomir I. Ivanov
On 19 February 2015 at 01:03, Lubomir I. Ivanov wrote: > but here is the patch that i sent to the ML that fixes a compile bug > for me (attached). > On 19 February 2015 at 02:15, Thomas Klausner wrote: > Hi Lubomir! > > On Thu, Feb 19, 2015 at 12:56:41AM +0200, Lubomir I. Ivanov wrote: >> here i

Re: [libgit2] Compile issue on debian-unstable

2015-02-18 Thread Miika Turkia
On Thu, Feb 19, 2015 at 2:53 AM, Salvador Cuñat wrote: > > > 2015-02-19 1:14 GMT+01:00 Lubomir I. Ivanov : > >> >> >> i'm not sure why we have the wrapper for a 3 parameter >> git_remote_fetch(), as i can't find it in their log. >> fe3a40a4ff056400 is when git_remote_fetch() was added with one pa

Re: Cylinder list

2015-02-18 Thread Miika Turkia
On Thu, Feb 19, 2015 at 12:45 AM, Davide DB wrote: > Hi, > Where are stored cylinders in the equipment tab combo box? > Some are hard-coded in the sources, some others are read from your XML file and added on run-time. > I find several annoying items and I couldn't find them in my XML. > I hav

Re: Cylinder list

2015-02-18 Thread Joakim Bygdell
On 19 Feb 2015 06:24, "Miika Turkia" wrote: > > On Thu, Feb 19, 2015 at 12:45 AM, Davide DB wrote: >> >> Hi, >> Where are stored cylinders in the equipment tab combo box? > > > Some are hard-coded in the sources, some others are read from your XML file and added on run-time. > >> >> I find severa

Re: Cylinder list

2015-02-18 Thread Martin de Weger
Met vriendelijke groeten, Martin de Weger > Op 19 feb. 2015 om 06:30 heeft Joakim Bygdell het > volgende geschreven: > > --001a11c3491cc08cda050f6a3c7a > Content-Type: text/plain; charset=UTF-8 > >> On 19 Feb 2015 06:24, "Miika Turkia" wrote: >> >>> On Thu, Feb 19, 2015 at 12:45 AM, Davi

Re: FIY: libzip and UTF-8 on Win32

2015-02-18 Thread Dirk Hohndel
On Thu, Feb 19, 2015 at 01:03:12AM +0200, Lubomir I. Ivanov wrote: > > nothing bad should happen to my knowledge as they seem to have only > changed their backend. > hopefully it doesn't break anything... Hmmm. > from what i just saw their cmake setup is quite clean, i just > downloaded the tar