Subject: wxGTK breaks on -current
To: None <tech-pkg@NetBSD.org>
From: Martin Husemann <martin@duskware.de>
List: tech-pkg
Date: 11/23/2003 12:19:30
--pf9I7BMVVzbSWLtt
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Folks,

I know this is a bad time to ask, so I probably will be ignored. Anyway:

the x11/wxGTK pkg and all applications based on it are ~unusable right now
in -current. Since there already is a new version out I didn't spent much
time debugging the one we have.

Updating the pkg would mean:

 - remove patch-af
 - replace patch-ab with the attached one
 - do the obvious Makefile changes (patch attached)

This makes it work for me. Two changes in the attached patch-ab are
noteworthy: I didn't understand the setting of "localedir" - that was
probably a local test thing accidently commited. And I removed (besides
zlib, png, tiff and what-have-you that we already removed) the regex
libs too (so the libc versions get used). Did someone feed back this
(massive) build system changes to the wxGTK people, suggesting to add
config knobs for it?

I don't run any wxGTK apps on 1.6.x, so I don't know if the previous 
unstability happens there too, but I guess not, since it only started
recently with some pthread/signal changes. (Though gdb of the crashes did
not point to any signal or thread related issues)

I guess it's not the time to commit this right now?

Martin

P.S.: since I didn't realy analyze the bug before and it happend more or less
randomly (but very often with my custom app), I can't be sure if this update
fixes it - though I haven't had a single crash since installing it.

P.P.S.: seems like some apps in pkgsrc depending on this are waiting for an
update - so a coordinated update would be good idea.

--pf9I7BMVVzbSWLtt
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="Makefile.diff"

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/x11/wxGTK/Makefile,v
retrieving revision 1.25
diff -b -u -r1.25 Makefile
--- Makefile	9 Sep 2003 11:54:55 -0000	1.25
+++ Makefile	23 Nov 2003 11:13:49 -0000
@@ -1,8 +1,7 @@
 # $NetBSD: Makefile,v 1.25 2003/09/09 11:54:55 recht Exp $
 #
 
-DISTNAME=		wxGTK-2.4.1
-PKGREVISION=		1
+DISTNAME=		wxGTK-2.4.2
 CATEGORIES=		x11
 MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=wxwindows/}
 EXTRACT_SUFX=		.tar.bz2

--pf9I7BMVVzbSWLtt
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-ab


--pf9I7BMVVzbSWLtt--