Thread: New wxWindows Tarball

New wxWindows Tarball

From
"Dave Page"
Date:
Hi All,

There is a new wxWindows tarball on Snake:

http://snake.pgadmin.org/snapshots/wxwindows/wxWindows-pgAdmin3-20031010
-8.tar.bz2

This version includes Andreas' recent patch to fix the crashing HTML
Help under GTK bug.

Would all port maintainers please upgrade ASAP.

Thanks, Dave.

Re: New wxWindows Tarball

From
Andreas Pflug
Date:
Dave Page wrote:

>Hi All,
>
>There is a new wxWindows tarball on Snake:
>
>http://snake.pgadmin.org/snapshots/wxwindows/wxWindows-pgAdmin3-20031010
>-8.tar.bz2
>
>This version includes Andreas' recent patch to fix the crashing HTML
>Help under GTK bug.
>
>
I had some feedback from wx about this. This problem is corrected in wx
cvs head, thus as soon as we upgrade our snapshot we don't need my fix
any more. At the moment, I don't see a reason why we should upgrade
(Maybe the upcoming solaris port will need this? How is the status?)

Regards,
Andreas



Re: New wxWindows Tarball

From
Devrim GUNDUZ
Date:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,

On Fri, 5 Dec 2003, Dave Page wrote:

> There is a new wxWindows tarball on Snake:
>
> http://snake.pgadmin.org/snapshots/wxwindows/wxWindows-pgAdmin3-20031010
> -8.tar.bz2
>
> This version includes Andreas' recent patch to fix the crashing HTML
> Help under GTK bug.
>
> Would all port maintainers please upgrade ASAP.

RPMS for FC1 have been uploaded with the MD5SUMS file under snake
to /snapshots/wxwindows/FC1/20031010.8/

I'm rebuilding today's FC1 snapshot of pgadmin3 with this wxWindows. I'll
upload this rpm again after the rebuild completes.

Regards,
- --
Devrim GUNDUZ
devrim@gunduz.org                devrim.gunduz@linux.org.tr
            http://www.TDMSoft.com
            http://www.gunduz.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/0IuUtl86P3SPfQ4RAnnvAKDptduswQPShNRO8nWduv0k3bU/PACgsdUx
B5Zt723H3JCM3vS5nb7+zNg=
=oMyJ
-----END PGP SIGNATURE-----


Re: New wxWindows Tarball

From
"Dave Page"
Date:
Thanks Devrim.

> -----Original Message-----
> From: Devrim GUNDUZ [mailto:devrim@gunduz.org]
> Sent: 05 December 2003 13:44
> To: pgadmin-hackers@postgresql.org
> Subject: Re: [pgadmin-hackers] New wxWindows Tarball
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> Hi,
>
> On Fri, 5 Dec 2003, Dave Page wrote:
>
> > There is a new wxWindows tarball on Snake:
> >
> >
> http://snake.pgadmin.org/snapshots/wxwindows/wxWindows-pgAdmin3-200310
> > 10
> > -8.tar.bz2
> >
> > This version includes Andreas' recent patch to fix the
> crashing HTML
> > Help under GTK bug.
> >
> > Would all port maintainers please upgrade ASAP.
>
> RPMS for FC1 have been uploaded with the MD5SUMS file under
> snake to /snapshots/wxwindows/FC1/20031010.8/
>
> I'm rebuilding today's FC1 snapshot of pgadmin3 with this
> wxWindows. I'll upload this rpm again after the rebuild completes.
>
> Regards,
> - --
> Devrim GUNDUZ
> devrim@gunduz.org
> devrim.gunduz@linux.org.tr
>             http://www.TDMSoft.com
>             http://www.gunduz.org
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (GNU/Linux)
>
> iD8DBQE/0IuUtl86P3SPfQ4RAnnvAKDptduswQPShNRO8nWduv0k3bU/PACgsdUx
> B5Zt723H3JCM3vS5nb7+zNg=
> =oMyJ
> -----END PGP SIGNATURE-----
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to
> majordomo@postgresql.org)
>

Re: New wxWindows Tarball

From
"Hiroshi Saito"
Date:
Hi All.

FreeBSD is done too.
http://snake.pgadmin.org/snapshots/wxwindows/freeBSD/5.1/

regards,
Hiroshi Saito

----- Original Message -----
From: "Devrim GUNDUZ" <devrim@gunduz.org>


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> Hi,
>
> On Fri, 5 Dec 2003, Dave Page wrote:
>
> > There is a new wxWindows tarball on Snake:
> >
> > http://snake.pgadmin.org/snapshots/wxwindows/wxWindows-pgAdmin3-20031010
> > -8.tar.bz2
> >
> > This version includes Andreas' recent patch to fix the crashing HTML
> > Help under GTK bug.
> >
> > Would all port maintainers please upgrade ASAP.
>
> RPMS for FC1 have been uploaded with the MD5SUMS file under snake
> to /snapshots/wxwindows/FC1/20031010.8/
>
> I'm rebuilding today's FC1 snapshot of pgadmin3 with this wxWindows. I'll
> upload this rpm again after the rebuild completes.


Re: [solaris - port ] New wxWindows Tarball

From
Raphaël Enrici
Date:
Andreas Pflug wrote:

> Dave Page wrote:
>
>> There is a new wxWindows tarball on Snake:
>> http://snake.pgadmin.org/snapshots/wxwindows/wxWindows-pgAdmin3-20031010
>> -8.tar.bz2
>
[ I didn't build it for debian at the moment... I was working on Solaris
port. ]

>> This version includes Andreas' recent patch to fix the crashing HTML
>> Help under GTK bug.
>>
> I had some feedback from wx about this. This problem is corrected in
> wx cvs head, thus as soon as we upgrade our snapshot we don't need my
> fix any more. At the moment, I don't see a reason why we should
> upgrade (Maybe the upcoming solaris port will need this? How is the
> status?)

Hi Andreas, Dave
this time it's my turn to sorry to be late :)

so here it is:
I succeeded only today in building wxwin on solaris here are the
requirements and the configure line as a reminder for me and other helpers:

The products I used as prereq are these, I compiled them from scratch although some of them may already be in Solaris 9
(listedby build order, all were configured with default ./configure --prefix=XXXX): 
tiff-v3.5.7.tar.gz
pkgconfig-0.15.0.tar.gz
glib-2.2.3.tar.gz
pango-1.2.5.tar.gz
atk-1.2.4.tar.bz2
jpegsrc.v6b.tar.gz
libpng-1.2.5.tar
gtk+-2.2.4.tar.bz2

Here is the trick for wxWindows as of 20031207 cvs snapshot
(http://wxwindows.sourceforge.net/snapshots/wx-cvs-20031207.tar.bz2):  

../wxWindows-20031207/configure --enable-permissive
--prefix=XXXXwhatupreferXXXX --disable-largefile --with-gtk
--enable-gtk2 --enable-unicode --enable-debug --disable-shared
--disable-dialupman

I had to disable dialupman because it was giving a cast build error
between a wxString and (char *) on line 719 [strstr arg #1] on dialup.c.
Hope it's not a requisite for pgAdmin3 build...If it is one, I'll try to
overlook how to bypass the problem.
I'm not sure the --enable-permissive is really needed but in doubt we
will keep it for the moment...

I'll try a build of pgA3 until the end of the week or the beginning of
next week. Do I need to port actual wx patches to get pgA3 to build...
If I remember well it's an obligation concerning some pieces of the
"notebook" or something like that.

Another thing, I hope people can wait a bit concerning debian wx
snapshots (it should be ready until the end of the week), I'd prefer to
concentrate my efforts on solaris port actually.

Regards,
Raphaël <subliminal>*MULE_INTERNAL* ;p </subliminal>




Solaris port status

From
Raphaël Enrici
Date:
Hi all,

As I hoped in my previous mail, I finally got it running! Congratulation
for your code and a big thank to Adam's "configure" scripts! It was
quite straight to get it build although I had to patch one file in
pgAdmin3 (see patch attached).

1) The patch attached just add a define concerning INADDR_NONE which is
not defined in solaris headers. I think the patch places the 3 lines
where they should be but please correct it if it doesn't suite your taste :)
2) All the build were done with gcc 3.3.2
3) I observed "strange" behaviours (wx asserts and things like this) but
I was able to connect to a db and to view tables and data in them :). I
must say that the wxWin I used was rapidly patched with some failed
hunks... I did not want to take too much time with wx as Andreas knows
it better than me.

So, would it be possible for us to move to the snapshot I used for this
build
(http://wxwindows.sourceforge.net/snapshots/wx-cvs-20031207.tar.bz2) ?
Andreas, can you take some time for this ?

Is there any chance to get a Solaris box which could host the build ?
For the moment, the only thing I could get by broadcasting to my friend
is a "SS 5" which I doubt I can install sol 9 on it. I'm waiting for
another answer but if you know someone who could provide better, it
would be great.


Regards,
Raphaël


Raphaël Enrici wrote:

> Andreas Pflug wrote:
>
>> Dave Page wrote:
>>
>>> There is a new wxWindows tarball on Snake:
>>> http://snake.pgadmin.org/snapshots/wxwindows/wxWindows-pgAdmin3-20031010
>>>
>>> -8.tar.bz2
>>
>>
> [ I didn't build it for debian at the moment... I was working on
> Solaris port. ]
>
>>> This version includes Andreas' recent patch to fix the crashing HTML
>>> Help under GTK bug.
>>>
>> I had some feedback from wx about this. This problem is corrected in
>> wx cvs head, thus as soon as we upgrade our snapshot we don't need my
>> fix any more. At the moment, I don't see a reason why we should
>> upgrade (Maybe the upcoming solaris port will need this? How is the
>> status?)
>
>
> Hi Andreas, Dave
> this time it's my turn to sorry to be late :)
>
> so here it is:
> I succeeded only today in building wxwin on solaris here are the
> requirements and the configure line as a reminder for me and other
> helpers:
>
> The products I used as prereq are these, I compiled them from scratch
> although some of them may already be in Solaris 9 (listed by build
> order, all were configured with default ./configure --prefix=XXXX):
> tiff-v3.5.7.tar.gz
> pkgconfig-0.15.0.tar.gz
> glib-2.2.3.tar.gz
> pango-1.2.5.tar.gz
> atk-1.2.4.tar.bz2
> jpegsrc.v6b.tar.gz
> libpng-1.2.5.tar
> gtk+-2.2.4.tar.bz2
>
> Here is the trick for wxWindows as of 20031207 cvs snapshot
> (http://wxwindows.sourceforge.net/snapshots/wx-cvs-20031207.tar.bz2) :
> .../wxWindows-20031207/configure --enable-permissive
> --prefix=XXXXwhatupreferXXXX --disable-largefile --with-gtk
> --enable-gtk2 --enable-unicode --enable-debug --disable-shared
> --disable-dialupman
>
> I had to disable dialupman because it was giving a cast build error
> between a wxString and (char *) on line 719 [strstr arg #1] on
> dialup.c. Hope it's not a requisite for pgAdmin3 build...If it is one,
> I'll try to overlook how to bypass the problem.
> I'm not sure the --enable-permissive is really needed but in doubt we
> will keep it for the moment...
>
> I'll try a build of pgA3 until the end of the week or the beginning of
> next week. Do I need to port actual wx patches to get pgA3 to build...
> If I remember well it's an obligation concerning some pieces of the
> "notebook" or something like that.
>
> Another thing, I hope people can wait a bit concerning debian wx
> snapshots (it should be ready until the end of the week), I'd prefer
> to concentrate my efforts on solaris port actually.
>
> Regards,
> Raphaël <subliminal>*MULE_INTERNAL* ;p </subliminal>
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>    (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>

--- src/db/pgConn.cpp.orig    Wed Dec  3 13:28:54 2003
+++ src/db/pgConn.cpp    Tue Dec  9 23:05:23 2003
@@ -24,6 +24,10 @@
     #include <arpa/inet.h>
     #include <netdb.h>
     #include <netinet/in.h>
+    // Solaris does not define INADDR_NONE in its includes
+    #ifndef INADDR_NONE
+    #define INADDR_NONE (-1)
+    #endif
 #endif

 // App headers

Re: Solaris port status

From
Andreas Pflug
Date:
Raphaël Enrici wrote:

>
> As I hoped in my previous mail, I finally got it running!
> Congratulation for your code and a big thank to Adam's "configure"
> scripts! It was quite straight to get it build although I had to patch
> one file in pgAdmin3 (see patch attached).

That's good news!

>
> 1) The patch attached just add a define concerning INADDR_NONE which
> is not defined in solaris headers.


Will go to cvs as soon as the dev servers are up again.

> 3) I observed "strange" behaviours (wx asserts and things like this)
> but I was able to connect to a db and to view tables and data in them
> :). I must say that the wxWin I used was rapidly patched with some
> failed hunks... I did not want to take too much time with wx as
> Andreas knows it better than me.

While wxAsserts will be silent when wx is compiled without debugging, we
should track these down.

>
> So, would it be possible for us to move to the snapshot I used for
> this build
> (http://wxwindows.sourceforge.net/snapshots/wx-cvs-20031207.tar.bz2) ?
> Andreas, can you take some time for this ?

Since we're merging quite some patches, we need to update from cvs; a
snapshot makes things even more complicated. So I'll have to pick a
specific date and time, hoping it will work on all machines.

Regards,
Andreas