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] [PATCH 2nd try] upgrade packages glib gtk


From: Tony Theodore
Subject: Re: [Mingw-cross-env-list] [PATCH 2nd try] upgrade packages glib gtk
Date: Tue, 27 Apr 2010 19:25:12 +1000

On 27 April 2010 19:02, Mark Brand <address@hidden> wrote:
>
>>>> Tony, would you be willing to try to build glib 2.25.3 on the Mac with
>>>> "fam" instead of "inotify" in the native part of the glib.mk?  For
>>>> your convenience, I'm attaching a glib.mk that might work.  If it
>>>> works, maybe Volker has a suggestion about the best way to detect
>>>> Linux/non-Linux and select inotify or fam in the glib.mk.
>>>
>>> I overlooked the  "--disable-fam" option in the glib.mk I attached in my
>>> last message. I suppose that's not appropriate.  You might also want to
>>> experiment with not explicitly making the various subprojects of below
>>> '$(1).native/gio/.
>>
>> Is there any possibility to build the native glib simply without fam
>> and without inotify?
>>
>> The native glib is just built because it provides some code generators,
>> and I doubt that these code generators really need fam/inotify.
>>
>> Did you already try to get rid of them? If so, why didn't that work
>> for you?
>>
>
> Excellent suggestion. It turns out that only one code generation utility
> from the subproject gio is needed and it can be built easily.
>
> Patch attached for glib.mk. This applies to the current development repo.
> Everything builds fine (except openscenegraph, but that is unrelated). See
> details in patch comment and in comment where the symbolic link created.
>
> Tony, I don't think there is any reason to spend time on my earlier request
> to try fam.

I already gave up after looking through the freebsd gnome tinderbox
and getting nowhere. I went back to looking at gtk instead of glib,
the current dev tip has the release versions and very small change
allows gtk to build and the test program to pop with the "Hello
World!" button.

diff -r f3c30136aa2e src/gtk.mk
--- a/src/gtk.mk        Mon Apr 26 18:15:56 2010 +0200
+++ b/src/gtk.mk        Tue Apr 27 19:21:15 2010 +1000
@@ -33,7 +33,7 @@
     $(SED) -i 's,enable_shared=yes,enable_shared=no,' '$(1)/configure'
     $(SED) -i 's,\(STATIC_LIB_DEPS="[^"]*\) \$$LIBJASPER,\1
$$LIBJASPER $$LIBJPEG,' '$(1)/configure'
     $(SED) -i 's/-Wl,-luuid/-luuid/' '$(1)/configure'
-    $(SED) -i 's/gio-unix/gio-windows/' '$(1)/configure'
+    $(SED) -i 's/gio-unix/gio/' '$(1)/configure'
     # wine confuses the cross-compiling detection, so set it explicitly
     $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/configure'
     cd '$(1)' && ./configure \


Cheers,

Tony




reply via email to

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