mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] updated gtk


From: Tony Theodore
Subject: Re: [Mingw-cross-env-list] updated gtk
Date: Sat, 25 Sep 2010 02:23:25 +1000

On 25 September 2010 00:59, Mark Brand <address@hidden> wrote:
>  Hi,
>
> I have committed an update to gtk 2.22.0. This required an incremental
> update to glib

mmm... I was going to spend this weekend sorting out the OSX issues
with the native glib build, the gcc 4.0 requirement means we can't use
the cloog/ppl optimisations (until gcc4.6).

Strange that they're doing a release (even) with a dev (odd glib) again.

>and also a new separate package gdk-pixbuf.

builds fine here (Ubuntu)

> http://hg.savannah.gnu.org/hgweb/mingw-cross-env/rev/d4914002cfa5
>
> I made some changes to the way the patches are organized. For glib, there
> were several different files for patches.

AFAIK, some of these were submitted upstream already.

> I combined this into one "fixes"
> files containing the separate patches. The main reason for this is that it
> goes well with using a tool like git or mercurial to maintain and prepare
> the patches.

Clearly not accepted/applied yet, there's no patch errors (and glib
builds fine).

> gtk.mk had lots of "sed" edits. I converted these to real diff patches. Part
> of the motivation for this is to make it easier to tell when something
> changes when we upgrade to new versions. The different patches are also in
> one "fixes" file.

Nice, I wasn't game to touch it, but gtk needs some attention;
pkg-config is missing some libs and the size of the test programs
causes some concern:

test-qt.exe 11M
test-gtk.exe 29M
test-gtkmm.exe 73M

> Most of the hard work had already been done. I mostly just had to figure out
> how to apply the patches to the new sources.
>
> In both cases, the patches are ad-hoc hacks, not suitable for submitting
> upstream.
>
> Please try this out. Comments (and patches!) are welcome.

Shall do, I don't have a windows available to test at the moment, but
gtk/glib are building successfully. Some dependents are failing, first
is the gtkglext test program:

diff -r d4914002cfa5 src/gtkglext.mk
--- a/src/gtkglext.mk   Fri Sep 24 16:33:16 2010 +0200
+++ b/src/gtkglext.mk   Sat Sep 25 02:08:48 2010 +1000
@@ -44,5 +44,6 @@
     '$(TARGET)-gcc' \
         -W -Wall -ansi -pedantic \
         '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-gtkglext.exe' \
-        `'$(TARGET)-pkg-config' gtkglext-1.0 --cflags --libs`
+        `'$(TARGET)-pkg-config' gtkglext-1.0 --cflags --libs` \
+        -ldnsapi
 endef

The librsvg test program is having similar linking problems, I'll do
further testing tomorrow.

Cheers,

Tony



reply via email to

[Prev in Thread] Current Thread [Next in Thread]