FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 07-11-2008, 10:07 AM
"Sergei Golovan"
 
Default x11proto-core 7.0.13 will break Tk

Hi!

I'd like to ask if there are plans to update x11proto-core to version
7.0.13 before lenny release?

Upstream maintainers have added a new event GenericEvent which breaks
Tk toolkit because Tk uses hardcoded event numbers and adds its own
events (see [1]). Gentoo system is already affected (see [2]).

As far as I can see there's no fix which would retain binary compatibility yet.

Certainly affected packages are tk8.3, tk8.4, tk8.5, blt, tile. Also
perl-tk and ruby are likely to break after possible upgrade of
x11proto-core. (May be other packages which use Tk.)

So, if the upgrade of x11proto-core is planned then we have to find an
acceptable fix for Tk now. Otherwise we have some time to wait for a
solution from upstream.

[1] http://sourceforge.net/tracker/index.php?func=detail&aid=2010422&group_id=12997&a tid=112997
[2] http://bugs.gentoo.org/show_bug.cgi?id=225999
Cheers!
--
Sergei Golovan


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-11-2008, 10:10 AM
Julien Cristau
 
Default x11proto-core 7.0.13 will break Tk

On Fri, Jul 11, 2008 at 14:07:02 +0400, Sergei Golovan wrote:

> Hi!
>
> I'd like to ask if there are plans to update x11proto-core to version
> 7.0.13 before lenny release?
>
No, x11proto-core in lenny will be 7.0.12.

Cheers,
Julien


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-11-2008, 10:19 AM
"Sergei Golovan"
 
Default x11proto-core 7.0.13 will break Tk

On 7/11/08, Julien Cristau <jcristau@debian.org> wrote:
> On Fri, Jul 11, 2008 at 14:07:02 +0400, Sergei Golovan wrote:
> > I'd like to ask if there are plans to update x11proto-core to version
> > 7.0.13 before lenny release?
>
> No, x11proto-core in lenny will be 7.0.12.

OK. Then there's no hurry in fixing Tk. Thanks!

--
Sergei Golovan


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-20-2008, 12:03 PM
Florian Weimer
 
Default x11proto-core 7.0.13 will break Tk

* Sergei Golovan:

> Certainly affected packages are tk8.3, tk8.4, tk8.5, blt, tile. Also
> perl-tk and ruby are likely to break after possible upgrade of
> x11proto-core. (May be other packages which use Tk.)

What about statically-linked, proprietary applications? Why hasn't this
happened in the past?

(I'm not saying that we should care much about proprietary apps, I'm
just trying to understand what's going on.)


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-20-2008, 02:31 PM
"Sergei Golovan"
 
Default x11proto-core 7.0.13 will break Tk

On 7/20/08, Florian Weimer <fw@deneb.enyo.de> wrote:
> * Sergei Golovan:
>
> > Certainly affected packages are tk8.3, tk8.4, tk8.5, blt, tile. Also
> > perl-tk and ruby are likely to break after possible upgrade of
> > x11proto-core. (May be other packages which use Tk.)
>
>
> What about statically-linked, proprietary applications? Why hasn't this
> happened in the past?

Tk adds its own X event numbers to a table of events. And puts it just
after the last existing event (the following is an excerpt from tk.h):

/*
*---------------------------------------------------------------------------
*
* Extensions to the X event set
*
*---------------------------------------------------------------------------
*/
#define VirtualEvent (LASTEvent)
#define ActivateNotify (LASTEvent + 1)
#define DeactivateNotify (LASTEvent + 2)
#define MouseWheelEvent (LASTEvent + 3)
#define TK_LASTEVENT (LASTEvent + 4)

#define MouseWheelMask (1L << 28)

#define ActivateMask (1L << 29)
#define VirtualEventMask (1L << 30)
#define TK_LASTEVENT (LASTEvent + 4)

It looks that until the last month there were exactly 35 events
(LASTEvent equals 35), so the Tk core library, all extensions linked
to it (which use event numbers directly) and all statically linked
propriatory binaries were binary compatible.

Now X people have added another event number (GenericEvent), which
means that in the former excerpt LASTEvent changes to 36. So, if two
extensions use the same tk.h but different x11proto-core versions
(7.0.12 and 7.0.13) they will not be binary compatible. Statically
linked proprietory binaries should be fine if they never receive
GenericEvent from X (I'm not an expert, so I realy don't know if its
possible to receive X event if an application doesn't know about it).

--
Sergei Golovan


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 02-15-2009, 05:24 PM
Julien Cristau
 
Default x11proto-core 7.0.13 will break Tk

On Fri, 2008-07-11 at 14:07 +0400, Sergei Golovan wrote:
> I'd like to ask if there are plans to update x11proto-core to version
> 7.0.13 before lenny release?

I'm about to upload 7.0.14 to sid now. Is there a tk fix by now?

Cheers,
Julien


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 02-15-2009, 05:52 PM
Sergei Golovan
 
Default x11proto-core 7.0.13 will break Tk

On Sun, Feb 15, 2009 at 9:24 PM, Julien Cristau <jcristau@debian.org> wrote:
> On Fri, 2008-07-11 at 14:07 +0400, Sergei Golovan wrote:
>> I'd like to ask if there are plans to update x11proto-core to version
>> 7.0.13 before lenny release?
>
> I'm about to upload 7.0.14 to sid now. Is there a tk fix by now?

Yes. Tk 8.5 (and 8.6) are fixed by upstream, and the fix is ported to
Tk 8.4 and 8.3. Though I don't know if another packages which ships
their own Tk copies (Tkinter, Perl-Tk) have this bug fixed.

--
Sergei Golovan


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 02-15-2009, 06:21 PM
Adeodato Simó
 
Default x11proto-core 7.0.13 will break Tk

* Sergei Golovan [Sun, 15 Feb 2009 21:52:42 +0300]:

> On Sun, Feb 15, 2009 at 9:24 PM, Julien Cristau <jcristau@debian.org> wrote:
> > On Fri, 2008-07-11 at 14:07 +0400, Sergei Golovan wrote:
> >> I'd like to ask if there are plans to update x11proto-core to version
> >> 7.0.13 before lenny release?

> > I'm about to upload 7.0.14 to sid now. Is there a tk fix by now?

> Yes. Tk 8.5 (and 8.6) are fixed by upstream, and the fix is ported to
> Tk 8.4 and 8.3. Though I don't know if another packages which ships
> their own Tk copies (Tkinter, Perl-Tk) have this bug fixed.

Hm, they ship & compile a separate copy of Tk?

--
Adeodato Simó dato at net.com.org.es
Debian Developer adeodato at debian.org

A lie can go round the world before the truth has got its boots on.
-- Terry Pratchett


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 02-15-2009, 06:39 PM
Sergei Golovan
 
Default x11proto-core 7.0.13 will break Tk

On Sun, Feb 15, 2009 at 10:21 PM, <dato@net.com.org.es> wrote:
> * Sergei Golovan [Sun, 15 Feb 2009 21:52:42 +0300]:
>
>> Yes. Tk 8.5 (and 8.6) are fixed by upstream, and the fix is ported to
>> Tk 8.4 and 8.3. Though I don't know if another packages which ships
>> their own Tk copies (Tkinter, Perl-Tk) have this bug fixed.
>
> Hm, they ship & compile a separate copy of Tk?

python-tk depends on tk8.4, so I assume that it doesnt (my mistake).
perl-tk doesn't depend on tk, so it does (but it seems that it can't
use separate Tk).

--
Sergei Golovan


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

Thread Tools




All times are GMT. The time now is 01:41 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org