TTimo / GtkRadiant

The open source, cross platform level editor for idtech games
http://icculus.org/gtkradiant/
Other
589 stars 156 forks source link

Pan's gtk3 work #299

Open TTimo opened 9 years ago

TTimo commented 9 years ago

@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 commented 9 years ago

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 commented 9 years ago

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

Pan7 commented 9 years ago

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

TTimo commented 9 years ago

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 commented 9 years ago

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 commented 9 years ago

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.

Pan7 commented 9 years ago

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

TTimo commented 8 years ago

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 commented 7 years ago

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 commented 7 years ago

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.