[Gtk-osx-users] Compile GTK 2.22



Just sharing some experiences and problems I got trying to compile GTK 2.22 using the intermediate moduleset.

I've started with the stock files from here:

https://github.com/jralls/gtk-osx-build/tree/master/modulesets

..but the first problem I found is that gtk 2.22 depends from glib 2.25+, so I downloaded the modulesets locally, modified my .jhbuildrc-custom to point to them, and changed the glib-2-24 branch tag to glib-2-26.

Once I got this to work I run in another problem, since gtk 2.22 gdk-pixbuf is a separate package, so I added in gtk-osx.modules the following lines:

  <autotools id="gdk-pixbuf">
    <branch />
      <dependencies>
          <dep package="glib"/>
          <dep package="cairo"/>
      </dependencies>
    <after>
      <dep package="meta-gtk-osx-bootstrap"/>
    </after>
  </autotools>

The strange thing is that the "git" for gdk-pixbuf is of a few hundreds megabytes and counts half a million of objects, thats really strange since the tree once extracted contains maybe 100/150 files.

*** Checking out gdk-pixbuf *** [4/10]
git clone git://git.gnome.org/gdk-pixbuf
Initialized empty Git repository in /Users/gabry/gtk/source/gdk-pixbuf/.git/
remote: Counting objects: 229414, done.
remote: Compressing objects: 100% (32677/32677), done.
remote: Total 229414 (delta 197053), reused 228519 (delta 196355)
Receiving objects: 100% (229414/229414), 133.77 MiB | 674 KiB/s, done.
Resolving deltas: 100% (197053/197053), done.
git pull --rebase
Current branch master is up to date.


It seems there is something wrong in that git module :)

Also, apart from it's strange size, gdk-pixbuf does not compile out of the box, there is a problem with msgmerge and OSX file permission, the fast workaround as found here:

http://subcommanderblog.wordpress.com/2009/05/16/msgmerge-on-macosx-and-no-such-file-or-directory/

Is to add --backup=off to the msgmerge command line.

To do this I've had to change po/Makefile.in.in, not sure how I can do it without altering the original GIT tree :(

Anyway now the libraries compile, so I hope my problems can be useful to someone :)

--
Bye,
 Gabry








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