GtkRadiant icon indicating copy to clipboard operation
GtkRadiant copied to clipboard

Pan's gtk3 work

Open TTimo opened this issue 10 years ago • 10 comments

@Pan7 - I started looking at your gtk3 branch. Can you point to the location of the gtk libraries? I believe you've put together a zip file.

TTimo avatar Sep 19 '15 23:09 TTimo

Quick log of what I've done:

https://github.com/Pan7/GtkRadiant/tree/gtk3 http://ws.q3df.org/files/GtkRadiant-libs.zip

use Visual Studio 2010 - the paths in the radiant project files are hardcoded to that current GtkRadiant-libs.zip has no binaries compiled atm would need to unravel the order and chain of dependencies to get all those supporting libs compiled. I don't have the time for that atm. briefly started, and got as far as:

libiconv-1.14/woe32dll/libiconv/libiconv.sln gettext-0.19.5.1/gettext-msvc/gettext.sln - fails to find libintl from previous then would go to glib, gtk etc.

need a zip with those binaries already done and/or some documentation about how to order and configure all those supporting items

TTimo avatar Sep 20 '15 15:09 TTimo

next, check http://ws.q3df.org/files/GtkRadiant-libs-vs10.zip

TTimo avatar Sep 20 '15 15:09 TTimo

I have updated http://ws.q3df.org/files/GtkRadiant-libs-vs10.zip and removed the static xml macros from my gtk3 repo.

Pan7 avatar Sep 25 '15 07:09 Pan7

quake3-common was failing to compile, copied jconfig.h, jmorecfg.h jerror.h from the jpeg-9/ folder of the current release source setup, and it seems to pass now (they should probably be added to the zip file)

TTimo avatar Sep 26 '15 17:09 TTimo

release compiled started up fine after manually copying the DLLs to the install directory. setup.py will need to be updated to download and extract the GtkRadiant-libs-vs10.zip pack and to have the DLLs and other supporting content copied to target directory.

https://gyazo.com/eedb5c57e4f0d822707e162e527c451e think there's more than just the DLLs that need to be copied into the install/ target also.

TTimo avatar Sep 26 '15 17:09 TTimo

I also pushed the gtk3 branch to https://github.com/TTimo/GtkRadiant/tree/gtk3 - you should be able to fetch it into your own repository.

TTimo avatar Sep 26 '15 18:09 TTimo

Added jconfig.h, jmorecfg.h jerror.h, adwaita-icons-theme-png-3.14.0.7z and index.theme to http://ws.q3df.org/files/GtkRadiant-libs-vs10.zip

Pan7 avatar Sep 26 '15 19:09 Pan7

I merged the latest work done in master for 1.6.5 into the gtk3 branch. I kept the .vcxproj that were already in the branch and converted them to 2015.

The STLPort directory needs to be removed from the libs zip, and everything compiles, however there are a few link errors that I don't have time to investigate right now.

TTimo avatar Jan 10 '16 18:01 TTimo

Note that solving #382 and moving to GtkGLArea isn't strictly necessary to start having gtk3 builds, @Pan7 has a port of GtkGLExt at https://github.com/Pan7/gtkglext

TTimo avatar Apr 27 '17 13:04 TTimo

The #ifdef approach of progressively making the code build with either gtk2 or gtk3 works out well to make progress on this for now. Once there is a bit of a CI system together for Windows we can start producing builds for either gtk2 or gtk3.

TTimo avatar Apr 27 '17 14:04 TTimo