Re: ]GTK 3 - Mailing list pgadmin-hackers

From Björn Harrtell
Subject Re: ]GTK 3
Date
Msg-id CANhDX=b91i+xq1z9YWyXvGAhfHAD4gwG1QOAx3sJ7xv+p0PijQ@mail.gmail.com
Whole thread Raw
In response to Re: ]GTK 3  (Timon <timosha@gmail.com>)
Responses Re: ]GTK 3  (Björn Harrtell <bjorn.harrtell@gmail.com>)
List pgadmin-hackers
Thanks,

I'm on Debian testing and have just managed to compile wxWindows 3.0.2 against GTK 3.18, then pgadmin3 against that.

I'm surprised to report that it compiles and runs fine! I'm impressed by the API compatibility of wxWindows.

However, my initial reason for exploring this was that the standard pgadmin3 compiled against GTK 2 wasn't themed to my GNOME 3 desktop which I thought would be resolved by using GTK 3 but it does not. Some elements works as expected, like for instance the GTK 3 file browser is opened, but other issues remain. The most glaring example is that the browser tree items have a white background regardless of theme (applies to both GTK 2 and 3), and will be unreadable if using dark themes (that have light colored text).

/Björn

2015-12-18 14:04 GMT+01:00 Timon <timosha@gmail.com>:
I've tried to build under fedora 23

./configure CXXFLAGS="-W./configure --with-wx-version=3.0 CXXFLAGS="-Wno-deprecated-declarations -Wl,-z,lazy -fPIC -pie" CFLAGS="-fPIC -pie"
make -j 10

but it failed on linking stage with errors like

pgAdmin3.o: In function `wxCreateApp()':
pgAdmin3.cpp:(.text+0x16): undefined reference to `wxAppConsole::CheckBuildOptions(char const*, char const*)'
pgAdmin3.o: In function `frmDlgTest::frmDlgTest()':
pgAdmin3.cpp:(.text+0x381): undefined reference to `wxDir::~wxDir()'
pgAdmin3.cpp:(.text+0x423): undefined reference to `wxDir::~wxDir()'
pgAdmin3.o: In function `pgAdmin3::OnInit()':
.....

2015-12-18 14:35 GMT+03:00 Björn Harrtell <bjorn.harrtell@gmail.com>:
Hi devs,

Have anyone investigated compiling pgadmin using wxWidgets > 2.9.4 and GTK+ 3 which can be enabled with configure option --with-gtk=3?

I'm putting an effort into it now and will share results here, but will appreciate information from anyone with existing experience.

/Björn



--
All bugs reserved

pgadmin-hackers by date:

Previous
From: Timon
Date:
Subject: Re: ]GTK 3
Next
From: Susan Douglas
Date:
Subject: Patch for External formatting utility description