Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » U++ community news and announcements » MILESTONE: gtk3 replaces gtk2 as default linux backend
Re: MILESTONE: gtk3 replaces gtk2 as default linux backend [message #52950 is a reply to message #52902] Mon, 20 January 2020 14:53 Go to previous messageGo to previous message
amrein is currently offline  amrein
Messages: 278
Registered: August 2008
Location: France
Experienced Member
I have three issues to report.

1. First, there are still references to gtk-2.0 in several files in svn.
The easier way to find them: 'grep -R --exclude-dir=.svn gtk-2.0 .'

2. Secondly, there is a typo in trunk/uppsrc/CtrlCore/CtrlCore.upp. xdmpc should be xdmcp I guess

3. Thirdly, I would like to understand this new strategy:

Extract of trunk/uppsrc/CtrlCore/CtrlCore.upp:

pkg_config(LINUX | FREEBSD) "freetype2 x11 xinerama xrender xft xdmpc fontconfig xcb xext";

pkg_config((LINUX | FREEBSD) !X11) "gtk+-3.0 libnotify";


So now U++ can be compiled with GTK dependencies only (GTK+libnotify) or GTK+X11 dependencies and we need pkg-config to compile CtrlCore?
"xinerama xrender xft xdmcp fontconfig xcb xext" are now mandatory for GTK+X11?

I need to understand this because current domake script is broken as:

* umk on debian server doesn't use '((INCLUDES))' anymore in ~/.upp/theide/GCCMK.bm
* exported Makefiles use pkg-config when using CtrlCore because of trunk/uppsrc/CtrlCore/CtrlCore.upp recent changes
* U++ won't compile if pkg-config is not there because of missing default includes
* Previously we only needed gtk3 x11 and libnotify

Extract of Makefile.in in new tarball snapshots:

CINC   = -I./ `pkg-config --cflags freetype2` `pkg-config --cflags x11` `pkg-config --cflags fontconfig` `pkg-config --cflags xcb` `pkg-config --cflags expat` `pkg-config --cflags libpng` `pkg-config --cflags xinerama` `pkg-config --cflags xrender` `pkg-config --cflags xft` `pkg-config --cflags xdmpc` `pkg-config --cflags xext` `pkg-config --cflags gtk+-3.0` `pkg-config --cflags libnotify`

...
		$(OutDir_plugin_bmp)BmpReg.o \
			$(OutDir_plugin_bmp)bmp.a \
			$(OutDir_RichText)RichText.a \
			`pkg-config --libs freetype2` \
			`pkg-config --libs x11` \
			`pkg-config --libs fontconfig` \
			`pkg-config --libs xcb` \
			`pkg-config --libs expat` \
			`pkg-config --libs libpng` \
			`pkg-config --libs xinerama` \
			`pkg-config --libs xrender` \
			`pkg-config --libs xft` \
			`pkg-config --libs xdmpc` \
			`pkg-config --libs xext` \
			`pkg-config --libs gtk+-3.0` \
			`pkg-config --libs libnotify` \
			-lbz2 \
			-lpthread \
			-ldl \
			-lrt \
			-lz -Wl,--end-group

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Happy New Year 2020
Next Topic: ide now has multiple Find in files outputs
Goto Forum:
  


Current Time: Fri Jun 07 22:25:45 CEST 2024

Total time taken to generate the page: 0.02324 seconds