subsurface Digest, Vol 16, Issue 117

Diego Mainou Diego.Mainou at alumni.uts.edu.au
Tue Mar 19 04:20:16 PDT 2013


Hi Jan,


This is what synoptic shows on my end

subsurface (1.2-1) unstable; urgency=low

  * Initial release (Closes: #641903)

 -- Khalid El Fathi <khalid at elfathi.fr>  Thu, 05 Apr 2012 10:45:03 +0200

Diego Mainou
+61 4 1515 2091


On 19 March 2013 22:14, <subsurface-request at hohndel.org> wrote:

> Send subsurface mailing list submissions to
>         subsurface at hohndel.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface
> or, via email, send a message with subject or body 'help' to
>         subsurface-request at hohndel.org
>
> You can reach the person managing the list at
>         subsurface-owner at hohndel.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of subsurface digest..."
>
>
> Today's Topics:
>
>    1. Re: Sizing differences between print to file and print to
>       page (Amit Chaudhuri)
>    2. Re: [PATCH] Add user definible options to the print menu
>       (Salvador Cu?at)
>    3. Re: Gases in divelist (Jef Driesen)
>    4. Re: Gases in divelist (Miika Turkia)
>    5. Import binary dumps (Markus Koppenberger)
>    6. Ubuntu still shows 1.2 (Diego Mainou)
>    7. Re: Ubuntu still shows 1.2 (Jan Schubert)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 18 Mar 2013 20:20:25 +0000
> From: Amit Chaudhuri <amit.k.chaudhuri at gmail.com>
> To: Dirk Hohndel <dirk at hohndel.org>
> Cc: Subsurface Mailing List <subsurface at hohndel.org>
> Subject: Re: Sizing differences between print to file and print to
>         page
> Message-ID:
>         <CAH=
> VbNeJgsrYP0G34BehkXLCOxDOP+TES5yjF60E194C9a5cZg at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hmm.
>
> Inserted
>
> printf("%s: height = %f , width = %f\n",__func__, h, w);
>
> immediately after these two lines in draw_page in print.c.
>
>     w = gtk_print_context_get_width(context)/print_params->w_scale;
>     h = gtk_print_context_get_height(context)/print_params->h_scale;
>
> yielding:
>
> draw_page: height = 3.627638 , width = 3.883858
> draw_page: height = 3.814304 , width = 4.008858
>
> ..for pdf print and direct to page, respectively.
>
> It looks to me as though gtk determines a different context with different
> dimensions when printing to file and printing to A4 page.  In both cases my
> print dialog shows page size as 297 x 210 mm and scaling = 100%.
>
> A
>
>
> On Mon, Mar 18, 2013 at 5:14 PM, Dirk Hohndel <dirk at hohndel.org> wrote:
>
> > Amit Chaudhuri <amit.k.chaudhuri at gmail.com> writes:
> >
> > > Hi all,
> > >
> > > I've noticed something odd when printing to file compared to printing
> > > direct to an A4 page using the 6 dives per page setting (but with only
> 1
> > > dive selected).  Visually, the print to file is better because it shows
> > all
> > > 4 borders; the direct to page operation misses the border which runs
> > across
> > > the top.
> >
> > This sounds like their is something odd going on with scaling to the
> > paper format.
> >
> > > If I then print for pdf file and superimpose the two it looks as though
> > the
> > > pdf version is being scaled compared to the other.  The right hand
> border
> > > of the image, which is positioned top left, appears to be common but
> all
> > > other external borders are 'further in' on the pdf.
> >
> > Yeah, that's what I figured.
> >
> > > Anyone else seeing this (on Linux - openSUSE 12.2)? My Mac seems to be
> > > happy printing much closer to the top of the page.
> >
> > Print formating and sizing is still pretty much black magic as far as
> > I'm concerned. You should add some debug print outs as to what sizes we
> > get passed in for the print area in both cases...
> >
> > /D
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.hohndel.org/pipermail/subsurface/attachments/20130318/f49be72c/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 2
> Date: Mon, 18 Mar 2013 21:33:37 +0100
> From: Salvador Cu?at <salvador.cunat at gmail.com>
> To: Dirk Hohndel <dirk at hohndel.org>
> Cc: subsurface at hohndel.org
> Subject: Re: [PATCH] Add user definible options to the print menu
> Message-ID: <20130318203337.GA20782 at imladris>
> Content-Type: text/plain; charset="us-ascii"
>
> On Mon, Mar 18, 2013 at 08:38:54AM -0700, Dirk Hohndel wrote:
> >
> > Oh, one more thing. With your latest patches (both versions) I get this
> > when I open the print dialog:
> >
> > (subsurface:30322): GLib-GObject-CRITICAL **: g_signal_connect_data:
> assertion `c_handler != NULL' failed
>
> Yes, I didn't realize because I'm used to have similar messages from
> programs such as gvim or gitg e.g.:
>
> (gvim:31625): GLib-GObject-WARNING **: cannot retrieve class for invalid
> (unclassed) type `<invalid>'
>
> (gitg:31475): Gdk-CRITICAL **: gdk_window_get_device_position: assertion
> `GDK_IS_DEVICE (device)' failed
>
> Attached is a patch that fixes the gtk complain, and, also a bug
> detected while searching for it.
>
> Regards
>
> Salva
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: Fix-warning-on-g_signal_connect()-for-radio4.patch
> Type: text/x-diff
> Size: 2621 bytes
> Desc: not available
> URL: <
> http://lists.hohndel.org/pipermail/subsurface/attachments/20130318/432e3d96/attachment-0001.patch
> >
>
> ------------------------------
>
> Message: 3
> Date: Mon, 18 Mar 2013 23:15:10 +0100
> From: Jef Driesen <jefdriesen at telenet.be>
> To: subsurface at hohndel.org
> Subject: Re: Gases in divelist
> Message-ID: <514791EE.2040708 at telenet.be>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> On 18-03-13 16:11, Dirk Hohndel wrote:
> > The bookmark comes with a heading?
> >
> > I need to look at the Suunto manuals... Linux, you have a couple of
> > those - do they store the heading you were pointing when setting a
> > bookmark? I guess that could make sense.
> >
> > We should fix libdivecomputer to report that, though. And then I guess
> > Robert's initial design is not wrong - I still want a text entry for the
> > value, though.
>
> In the raw data, the Suunto D9 family has one type for bookmark/heading.
> If the
> value is 0xFFFF it's a bookmark, otherwise a heading. Maybe it's something
> similar in their database?
>
> Libdivecomputer reports either a bookmark (with no value) or a heading
> (with the
> degrees), but not both.
>
> Jef
>
>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 19 Mar 2013 06:52:12 +0200
> From: Miika Turkia <miika.turkia at gmail.com>
> To: Jef Driesen <jefdriesen at telenet.be>
> Cc: subsurface at hohndel.org
> Subject: Re: Gases in divelist
> Message-ID:
>         <
> CAEB307Ope4T2tka6LAkJp33HAfFqMo+SBAAFUnp+nqBhiTLn7A at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Tue, Mar 19, 2013 at 12:15 AM, Jef Driesen <jefdriesen at telenet.be>
> wrote:
> > On 18-03-13 16:11, Dirk Hohndel wrote:
> >>
> >> The bookmark comes with a heading?
> >>
> >> I need to look at the Suunto manuals... Linux, you have a couple of
> >> those - do they store the heading you were pointing when setting a
> >> bookmark? I guess that could make sense.
> >>
> >> We should fix libdivecomputer to report that, though. And then I guess
> >> Robert's initial design is not wrong - I still want a text entry for the
> >> value, though.
> >
> >
> > In the raw data, the Suunto D9 family has one type for bookmark/heading.
> If
> > the value is 0xFFFF it's a bookmark, otherwise a heading. Maybe it's
> > something similar in their database?
> >
> > Libdivecomputer reports either a bookmark (with no value) or a heading
> (with
> > the degrees), but not both.
>
> Yep, it is pretty much the same in the database (no value for
> bookmark). And now the DM4 import does the same as libdivecomputer.
>
> miika
>
>
> ------------------------------
>
> Message: 5
> Date: Tue, 19 Mar 2013 09:59:26 +0100
> From: Markus Koppenberger <koppi at action.at>
> To: subsurface at hohndel.org
> Subject: Import binary dumps
> Message-ID: <F33E5E01-9907-47A5-9418-93903BC6AB38 at action.at>
> Content-Type: text/plain; charset=us-ascii
>
> Hi subsurface list,
>
> I'm new here, actually user of subsurface since yesterday only. Before I
> tried to use DiversDiary on my Mac with my Nemo Excel, but it would not
> work at all, so I'm quite happy having found this Open Source alternative!
>
> My problem is that DiversDiary would fail parsing the binary data of some
> dives, and then stopping import completely ignoring all subsequent dives on
> the DC.
>
> With subsurface I could import the dives from the DC without problem
> (DiversDiary was failing after the first dive), but I would be interested
> if there is a way to import earlier dives which are not available anymore
> on the DC from a binary dump which I downloaded with libdivecomputer tools.
>
> Thanks in advance,
> koppi
>
>
>
> ------------------------------
>
> Message: 6
> Date: Tue, 19 Mar 2013 20:25:39 +1100
> From: Diego Mainou <Diego.Mainou at alumni.uts.edu.au>
> To: subsurface at hohndel.org
> Subject: Ubuntu still shows 1.2
> Message-ID:
>         <
> CAPr4_0f9fzB9rX2JkBFjYyjiuhDvZ_6xcDFVFOqLky7iacJH6Q at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi guys,
>
> FYI. Ubutu hasn't pushed the new version.
>
> I know it's too much to ask but do you think there is the chance that
> someone could put together a small cook book aimed at dummy's (like myself)
> explaining how to build from scratch.
>
> I manage to build after many attempts but wouldn't know exactly what I did.
> It was more a trial and error than anything else.
>
> Some people from my dive club are using Ubuntu and are patiently waiting
> for the update.
>
> Thanks
>
> Diego Mainou
> +61 4 1515 2091
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.hohndel.org/pipermail/subsurface/attachments/20130319/29a2eef9/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 7
> Date: Tue, 19 Mar 2013 12:14:36 +0100
> From: Jan Schubert <Jan.Schubert at GMX.li>
> To: Subsurface Mailing List <subsurface at hohndel.org>
> Subject: Re: Ubuntu still shows 1.2
> Message-ID: <5148489C.1020209 at GMX.li>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On 19.03.2013 10:25, Diego Mainou wrote:
> > Hi guys,
> >
> > FYI. Ubutu hasn't pushed the new version.
>
> This is strange, I get:
>
> # aptitude show subsurface
> Package: subsurface
> State: not installed
> Version: 3.0.2-1~exp1
> Priority: optional
> Section: universe/utils
> Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
> Architecture: amd64
> Uncompressed Size: 1.746 k
> Depends: gconf-service, libc6 (>= 2.14), libcairo2 (>= 1.2.4),
> libdivecomputer0 (>= 0.3.0), libgconf-2-4 (>= 2.31.1),
> libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.22.0), libgtk2.0-0
> (>= 2.24.0), libpango1.0-0 (>= 1.20.0), libsoup2.4-1 (>= 2.4.0), libxml2
>          (>= 2.7.4), libxslt1.1 (>= 1.1.25)
> Conflicts: subsurface
> Description: Logbook program for scuba divers
>  Subsurface is able to track single- and multi-tank dives using air,
> Nitrox or TriMix. It also allows logging of weights and exposure
> protection used, dive masters and dive buddies and enables the user to
> rate dives and provide additional dive notes.
>
>  With Subsurface the user can track dive locations including GPS
> coordinates (which can also conveniently be entered using a map
> interface). Subsurface calculates a wide variety of statistics of the
> user's diving and calculates and tracks information like the
>  user's SAC rate, partial pressures of O2, N2 and He, calculated deco
> information, and many more.
> Homepage: http://subsurface.hohndel.org
>
> I'm not a Ubuntu/debian expert but maybe you have to include this
> universe repository first? Isn't this standard? Can someone with more
> experience in Ubuntu sheed some light into here?
>
> Sorry for not being responsive that much concerning the bluetooth stuff.
> Please bother me with direct mail oder chat on Facebook if you like.
>
> I also have some patches in mind regarding other parts of subsurface.
> Hopefully things will calm down in the next weeks.
>
> //Jan
>
>
> ------------------------------
>
> _______________________________________________
> subsurface mailing list
> subsurface at hohndel.org
> http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface
>
>
> End of subsurface Digest, Vol 16, Issue 117
> *******************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130319/90c7a755/attachment-0001.html>


More information about the subsurface mailing list