Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1a9vBy-0002hg-4r for pgadmin-hackers@arkaria.postgresql.org; Fri, 18 Dec 2015 13:35:30 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1a9vBw-0004ck-N9 for pgadmin-hackers@arkaria.postgresql.org; Fri, 18 Dec 2015 13:35:28 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1a9vBw-0004bW-1d for pgadmin-hackers@postgresql.org; Fri, 18 Dec 2015 13:35:28 +0000 Received: from mail-io0-x232.google.com ([2607:f8b0:4001:c06::232]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1a9vBs-0004XY-R9 for pgadmin-hackers@postgresql.org; Fri, 18 Dec 2015 13:35:27 +0000 Received: by mail-io0-x232.google.com with SMTP id e126so89442559ioa.1 for ; Fri, 18 Dec 2015 05:35:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=UV0NUcvKEQEOgGxTpMzXnu838WHaz+NH31ytlz0wV3c=; b=MWxX4A1mNamX2hH8NH6gOih234ZyGWprt1KsnV3BvmKWdZJT0lv71cnYmE53f9tUZx u/ILU9bj0Jra+nY2xyzlLjyCdlOhEZnTvxHMG4lFHFvDcENTVQjRKS3OqDdg58U5gcU5 16NZTHTSltzKKXsuxNGbif8Bo20mPu2p3l4cLaMDeoCQt5SYNvJM1SfWCX/EbzvDcpj+ HaaZPJExBTtaE9h/4jV2kbGvzzGHlqF/woFwmrRQ4ocupM4GIU1H6vGb96z62lyVoXvs tU6Io738upimHnkUmzWRlSDVXWYJwRJxHSNAgLbAYHjT2y+uWpAQ55LRZNNcXelIqFf3 NYKg== MIME-Version: 1.0 X-Received: by 10.107.166.15 with SMTP id p15mr4374140ioe.38.1450445722642; Fri, 18 Dec 2015 05:35:22 -0800 (PST) Received: by 10.79.82.131 with HTTP; Fri, 18 Dec 2015 05:35:22 -0800 (PST) Reply-To: bjorn@wololo.org In-Reply-To: References: Date: Fri, 18 Dec 2015 14:35:22 +0100 Message-ID: Subject: Re: ]GTK 3 From: =?UTF-8?Q?Bj=C3=B6rn_Harrtell?= To: Timon Cc: pgadmin-hackers Content-Type: multipart/alternative; boundary=001a1141cf94106f9705272c3614 X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org --001a1141cf94106f9705272c3614 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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=C3=B6rn 2015-12-18 14:04 GMT+01:00 Timon : > I've tried to build under fedora 23 > > ./configure CXXFLAGS=3D"-W./configure --with-wx-version=3D3.0 > CXXFLAGS=3D"-Wno-deprecated-declarations -Wl,-z,lazy -fPIC -pie" > CFLAGS=3D"-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=C3=B6rn Harrtell = : > >> Hi devs, >> >> Have anyone investigated compiling pgadmin using wxWidgets > 2.9.4 and >> GTK+ 3 which can be enabled with configure option --with-gtk=3D3? >> >> I'm putting an effort into it now and will share results here, but will >> appreciate information from anyone with existing experience. >> >> /Bj=C3=B6rn >> > > > > -- > All bugs reserved > --001a1141cf94106f9705272c3614 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks,

I'm on Debian testing and h= ave 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 wxWi= ndows.

However, my initial reason for exploring th= is 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 f= ile browser is opened, but other issues remain. The most glaring example is= that the browser tree items have a white background regardless of theme (a= pplies to both GTK 2 and 3), and will be unreadable if using dark themes (t= hat have light colored text).

/Bj=C3=B6rn

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

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

=
but it failed on linking stage with errors like

pgAdmin3.o: I= n function `wxCreateApp()':
pgAdmin3.cpp:(.text+0x16): undefined ref= erence 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=C3=B6rn 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=3D= 3?

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

/Bj= =C3=B6rn



--
All bugs reserved

--001a1141cf94106f9705272c3614--