Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#557808: ITP: gtksheet -- a spreadsheet-like matrix for GTK+

7 views
Skip to first unread message

Luke Faraone

unread,
Nov 24, 2009, 11:00:02 AM11/24/09
to
Package: wnpp
Severity: wishlist
Owner: Luke Faraone <lu...@faraone.cc>

* Package name : gtksheet
Version : 0.2.0
Upstream Author : Victor M. Hernández-Rocamora <vict...@gmail.com>
* URL : http://vhernandez.github.com/gtksheet/
* License : GPL-2, portions LGPL-2
Programming Lang: C
Description : a spreadsheet-like matrix for GTK+

The gtksheet library is a fork of the GtkSheet widget included in the
GTK+extra library. It includes the GtkSheet widget, a widget displaying
a spreadsheet-like matrix and GtkItemEntry widget, a GtkEntry derivative
to display data in the GtkSheet.

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Luke Faraone

unread,
Nov 24, 2009, 12:40:03 PM11/24/09
to
On Tue, Nov 24, 2009 at 12:08, Neil Williams <code...@debian.org> wrote:
The fork retains the same bug as the original and will therefore FTBFS.

GtkSheet builds from source in the current released version if a patch 
is applied from their current git tree. This will be documented in my package.

See #549758
> gtkitementry.c: In function 'gtk_entry_real_insert_text':
> gtkitementry.c:696: error: 'GtkEntry' has no member named 'n_bytes'

http://github.com/vhernandez/gtksheet/blob/master/gtksheet/gtkitementry.c#L735
if (new_text_length + entry->n_bytes + 1 > entry->text_size)

n_bytes is a private part of GtkEntry and gtksheet never had any right
to expect to be able to access it.

I don't have a login for github.com, please forward this issue upstream
BEFORE packaging the library.

Will do.

--
Luke Faraone
http://luke.faraone.cc

Neil Williams

unread,
Nov 24, 2009, 12:40:03 PM11/24/09
to
On Tue, 24 Nov 2009 10:48:45 -0500
Luke Faraone <lu...@faraone.cc> wrote:

> Package: wnpp
> Severity: wishlist
> Owner: Luke Faraone <lu...@faraone.cc>
>
> * Package name : gtksheet
> Version : 0.2.0
> Upstream Author : Victor M. Hernández-Rocamora <vict...@gmail.com>
> * URL : http://vhernandez.github.com/gtksheet/
> * License : GPL-2, portions LGPL-2
> Programming Lang: C
> Description : a spreadsheet-like matrix for GTK+
>
> The gtksheet library is a fork of the GtkSheet widget included in the
> GTK+extra library. It includes the GtkSheet widget, a widget displaying
> a spreadsheet-like matrix and GtkItemEntry widget, a GtkEntry derivative
> to display data in the GtkSheet.

The fork retains the same bug as the original and will therefore FTBFS.

See #549758


> gtkitementry.c: In function 'gtk_entry_real_insert_text':
> gtkitementry.c:696: error: 'GtkEntry' has no member named 'n_bytes'

http://github.com/vhernandez/gtksheet/blob/master/gtksheet/gtkitementry.c#L735
if (new_text_length + entry->n_bytes + 1 > entry->text_size)

n_bytes is a private part of GtkEntry and gtksheet never had any right
to expect to be able to access it.

I don't have a login for github.com, please forward this issue upstream
BEFORE packaging the library.

Mind you, it's positive news that someone is working on GtkSheet.

CC'ing the libgtkada2 maintainer because the pending removal of
GtkSheet affects his package and he may be interested in a new upstream
fork.


--


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Víctor M. Hernández Rocamora

unread,
Nov 25, 2009, 6:00:02 AM11/25/09
to
>The fork retains the same bug as the original and will therefore FTBFS.
>
>See #549758
>> gtkitementry.c: In function 'gtk_entry_real_insert_text':
>> gtkitementry.c:696: error: 'GtkEntry' has no member named 'n_bytes'
>
>http://github.com/vhernandez/gtksheet/blob/master/gtksheet/gtkitementry.c#L735
>if (new_text_length + entry->n_bytes + 1 > entry->text_size)
>
>n_bytes is a private part of GtkEntry and gtksheet never had any right
>to expect to be able to access it.


Hi,

I'm the author of the gtksheet library. That code is not compiled for GTK+ versions
higher than 2.18. It's only there for compatibility with older versions of GTK which
don't have the new GtkEntryBuffer API that it's used to replace the code using those
private variables. You can remove that old code and leave only the code for 2.18.

I'll try to make a new release next weekend with all these changes and fixes.

Thank you very much for packaging gtksheet.

Cheers,

Víctor


0 new messages