-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathjhbuildrc-gtk-osx-cfw-10.4
92 lines (80 loc) · 2.34 KB
/
jhbuildrc-gtk-osx-cfw-10.4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# -*- mode: python -*-
#
# Copyright (C) 2006 - 2008 Imendio AB
#
# Build setup for creating frameworks against the 10.4 SDK. This file
# should normally not need any editing.
#
# Copy it or symlink it into ~/.jhbuildrc-cfw-10.4
#
_gtk_osx_prompt_prefix = "*CFW*"
modules = [
"meta-gtk-osx-bootstrap",
"meta-gtk-osx-core",
"meta-gtk-osx-themes",
"libglade",
"loudmouth",
#"meta-gstreamer",
"WebKit"
]
# Source and installation locations.
#
_root = os.path.expanduser("~/Source/create-gtk-fw")
checkoutroot = os.path.join(_root, "source")
prefix = os.path.join(_root, "inst")
_sdkdir = setup_sdk_10_4()
# Needed to get the various sublibraries to find and use the same
# symbols.
#
environ_append('LDFLAGS', '-Wl,-flat_namespace')
# Need to point some modules to the right place so we don't pick up
# things from /usr/lib.
#
append_autogenargs("gettext", "--with-libiconv-prefix=" + _sdkdir + "/usr")
# For unknown reasons, iconv is not picked up correctly without this
# (possibly due to using -flat_namespace....).
#
append_autogenargs('glib', ' --with-libiconv=gnu')
# Replace trunk with tags/branches for some modules.
#
set_branch("glib", "tags/GLIB_2_18_2")
set_branch("gtk+", "tags/GTK_2_14_4")
set_branch("atk", "tags/ATK_1_24_0")
set_branch("pango", "tags/PANGO_1_22_2")
set_branch("libglade", "tags/LIBGLADE_2_6_2")
set_branch("gtk-engines", "tags/GTK_ENGINES_2_16_1")
set_branch("intltool", "tags/INTLTOOL_0_40_4")
set_branch("gnome-icon-theme", "tags/GNOME_ICON_THEME_2_24_0")
# Try if this is new enough: set_branch("gtk-doc", "tags/GTK_DOC_1_10")
# Python modules.
#
set_branch("pygobject", "tags/PYGOBJECT_2_14_2")
set_branch("pygtk", "tags/PYGTK_2_12_1")
# Skip those for now.
#
skip.append("gst-plugins-ugly")
skip.append("gst-plugins-bad")
skip.append("gst-ffmpeg")
skip.append("faad")
# We build those as frameworks instead.
#
skip.append("gettext")
skip.append("glib")
skip.append("pango")
skip.append("atk")
skip.append("cairo")
skip.append("gtk+")
skip.append("ige-mac-integration")
skip.append("gtk-engines")
skip.append("libglade")
skip.append("loudmouth")
skip.append("gnome-icon-theme")
skip.append("WebKit")
# Not needed.
#
skip.append("waf")
skip.append("pyxml")
skip.append("automake-1.4")
skip.append("automake-1.8")
skip.append("tango-icon-theme")
skip.append("tango-icon-theme-extras")