1 #@--------------------------------------------------------------------
3 #@NAME: Maemo5-compatible
4 #@DESCRIPTION: Distribution which allows building packages compatible to Maemo5
5 #@--------------------------------------------------------------------
7 # Note: This is not a complete distribution. Just some definitions to make
8 # it possible to build packages that are compatible to Nokia's Maemo5 distribution.
9 # You should *not* replace core libraries of the operating system (glibc,
10 # glib, gtk+, ..) with those you build in OE.
12 # Furthermore it may be possible that OpenEmbedded lacks specific versions
13 # of some packages. If you encounter such a problem please provide a recipe
16 DISTRO_NAME = "maemo5-compat"
17 DISTRO_VERSION = "test-${DATE}"
19 #DISTRO_TYPE = "release"
21 # Needed for e.g. libffi builds on armv6
22 OVERRIDES .= ":${FEED_ARCH}"
24 # Set the toolchain type (internal, external) and brand (generic, csl etc.)
25 TOOLCHAIN_TYPE ?= "internal"
29 require conf/distro/include/angstrom-glibc.inc
31 INHERIT += "package_deb debian"
32 TARGET_OS = "linux-gnueabi"
34 TARGET_FPU_nokia770 = "soft"
35 TARGET_FPU_nokia800 = "hard"
36 TARGET_FPU_nokia900 = "hard"
38 DPKG_ARCH_nokia770 = "armel"
39 DPKG_ARCH_nokia800 = "armel"
40 DPKG_ARCH_nokia900 = "armel"
42 FEED_ARCH_nokia770 = "armv5te"
43 FEED_ARCH_nokia800 = "armv6"
44 FEED_ARCH_nokia900 = "armv7"
46 #Make sure we use 2.6 on machines with a 2.4/2.6 selector
48 MACHINE_KERNEL_VERSION = "2.6"
50 PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"
51 PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-intermediate:gcc-cross-intermediate"
52 PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross"
53 PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross"
55 PREFERRED_PROVIDER_virtual/arm-linux-gnueabi-binutils = "binutils-cross"
56 PREFERRED_PROVIDER_linux-libc-header = "linux-libc-headers"
57 PREFERRED_PROVIDER_virtual/libx11 = "libx11"
58 PREFERRED_PROVIDER_virtual/libx11-native = "libx11-native"
59 PREFERRED_PROVIDER_gconf ?= "gconf-dbus"
60 PREFERRED_PROVIDER_util-linux = "util-linux"
62 PREFERRED_VERSION_autoconf-native = "2.63"
63 PREFERRED_VERSION_automake-native = "1.11.1"
65 PREFERRED_VERSION_binutils = "2.18.50.0.7"
66 PREFERRED_VERSION_binutils-cross = "2.18.50.0.7"
68 GCCVERSION = "4.2.1+csl-arm-2007q3-53"
69 PREFERRED_VERSION_gcc = "${GCCVERSION}"
70 PREFERRED_VERSION_gcc-cross = "${GCCVERSION}"
71 PREFERRED_VERSION_gcc-cross-initial = "${GCCVERSION}"
72 PREFERRED_VERSION_gcc-cross-intermediate = "${GCCVERSION}"
74 # Use recent enough version of the headers to let HAL build successfully.
75 PREFERRED_VERSION_linux-libc-headers = "2.6.25"
77 PREFERRED_VERSION_glibc = "2.5"
78 PREFERRED_VERSION_glibc-initial = "2.5"
80 PREFERRED_VERSION_libtool-native = "2.2.6b"
81 PREFERRED_VERSION_libtool-cross = "2.2.6b"
82 PREFERRED_VERSION_libtool = "2.2.6b"
84 require conf/distro/include/sane-srcrevs.inc
86 PREFERRED_VERSION_fontconfig = "2.6.0"
87 PREFERRED_VERSION_freetype = "2.3.6"
88 PREFERRED_VERSION_freetype-native = "2.3.6"
89 PREFERRED_VERSION_cairo = "1.8.0"
90 PREFERRED_VERSION_glib-2.0 = "2.20.3"
91 PREFERRED_VERSION_pango = "1.24.4"
92 PREFERRED_VERSION_atk = "1.20.0"
93 PREFERRED_VERSION_gtk+ = "2.14.2"
94 PREFERRED_VERSION_libpng = "1.2.37"
95 PREFERRED_VERSION_expat = "1.95.7"
97 # only dbus-glib 0.74 works with older dbus 1.0.x
98 PREFERRED_VERSION_dbus = "1.2.3"
99 PREFERRED_VERSION_dbus-glib = "0.78"
101 PREFERRED_VERSION_gnome-vfs = "2.22.0"
103 # 3.9.1 would be correct
104 PREFERRED_VERSION_gtkhtml-3.8 = "3.8.2"
105 PREFERRED_VERSION_libxml2 = "2.7.3"
106 # 2.16 would be correct
107 PREFERRED_VERSION_gconf = "2.6.1"
110 PREFERRED_VERSION_gstreamer = "0.10.25"
111 PREFERRED_VERSION_gst-plugins-good = "0.10.15"
112 PREFERRED_VERSION_gst-plugins-base = "0.10.25"
113 PREFERRED_VERSION_gst-plugins-bad = "0.10.14"
115 PREFERRED_VERSION_bluez-libs = "4.56"
117 PREFERRED_PROVIDER_virtual/db = "db"
118 PREFERRED_PROVIDER_virtual/db-native = "db-native"
119 PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
121 PREFERRED_PROVIDER_virtual/libsdl = "libsdl-x11"
122 PREFERRED_VERSION_libsdl-x11 = "1.2.11"
123 PREFERRED_VERSION_libsdl-image = "1.2.3"
124 PREFERRED_VERSION_libsdl-mixer = "1.2.6"
126 PREFERRED_PROVIDER_xserver = "xserver-kdrive"
128 PREFERRED_VERSION_libxrandr = "1.2.1"
129 PREFERRED_VERSION_xrandr = "1.2.0"
130 PREFERRED_VERSION_randrproto = "1.2.1"
132 PREFERRED_VERSION_libgnomeui = "2.18.1"
133 PREFERRED_VERSION_gnomevfs = "2.16.3"
135 PREFERRED_PROVIDER_gtk+ = "gtk+"
136 PREFERRED_PROVIDER_gdk-pixbuf-loader-ani = "gtk+"
137 PREFERRED_PROVIDER_gdk-pixbuf-loader-bmpg = "gtk+"
138 PREFERRED_PROVIDER_gdk-pixbuf-loader-gif = "gtk+"
139 PREFERRED_PROVIDER_gdk-pixbuf-loader-ico = "gtk+"
140 PREFERRED_PROVIDER_gdk-pixbuf-loader-jpeg = "gtk+"
141 PREFERRED_PROVIDER_gdk-pixbuf-loader-pcx = "gtk+"
142 PREFERRED_PROVIDER_gdk-pixbuf-loader-png = "gtk+"
143 PREFERRED_PROVIDER_gdk-pixbuf-loader-pnm = "gtk+"
144 PREFERRED_PROVIDER_gdk-pixbuf-loader-ras = "gtk+"
145 PREFERRED_PROVIDER_gdk-pixbuf-loader-tga = "gtk+"
146 PREFERRED_PROVIDER_gdk-pixbuf-loader-wbmp = "gtk+"
147 PREFERRED_PROVIDER_gdk-pixbuf-loader-xbm = "gtk+"
148 PREFERRED_PROVIDER_gdk-pixbuf-loader-xpm = "gtk+"
150 PREFERRED_PROVIDER_gconf = "gconf-dbus"
152 PREFERRED_VERSION_pixman = "0.13.2"
154 PREFERRED_PROVIDER_virtual/libqte2 = "qte-mt"
155 PREFERRED_PROVIDER_avahi = "avahi"
157 PREFERRED_VERSION_avahi = "0.6.20"
159 PREFERRED_VERSION_libglade = "2.6.2"
161 PREFERRED_VERSION_gpe-scap = "1.4"
163 # various Maemo4 specific libraries
164 PREFERRED_VERSION_mce-dev = "1.8.15"
165 PREFERRED_VERSION_libosso = "2.23"
166 PREFERRED_VERSION_libhildon = "2.2.0"
167 PREFERRED_VERSION_libhildonmime = "2.1.3"
168 PREFERRED_VERSION_libhildonfm = "2.28"
169 PREFERRED_VERSION_hildon-thumbnail = "3.0.41"
171 PREFERRED_VERSION_shared-mime-info = "0.30"
174 PREFERRED_PROVIDER_midpath = "midpath-maemo"
175 PREFERRED_PROVIDER_midpath-backend-gtk = "midpath-backend-gtk-hildon"
177 # Need jamvm-initial since cacao 0.98 seems to get miscompiled with newer GCCs.
178 PREFERRED_PROVIDER_virtual/java-initial ?= "jamvm-initial"
180 PREFERRED_PROVIDER_virtual/javac-native = "ecj-bootstrap-native"
182 PREFERRED_PROVIDER_classpath = "classpath"
183 PREFERRED_VERSION_classpath = "0.98"
185 PREFERRED_PROVIDER_swt3.4-gtk = "swt3.4-gtk-hildon"
186 PREFERRED_VERSION_swt3.4-gtk-hildon = "3.4"
188 # Does not build with later versions
189 PREFERRED_VERSION_fakeroot-native = "1.9.6"
191 # newer Versions needs newer autotools we cant relay on
192 PREFERRED_VERSION_guile-native = "1.8.2"
194 # WARNING: If you change these values after the respective package has
195 # been built the change will have no effect. Edit the package's file in
196 # ${STAGING}/pkgdata/runtime then.
197 PKG_ncurses = "libncurses5"
198 PKG_ncurses-tools = "ncurses-bin"
199 PKG_ncurses-terminfo = "ncurses-base"
201 PKG_gtk+ = "libgtk2.0-0"
202 PKG_pango = "libpango1.0-0"
203 PKG_atk = "libatk1.0-0"
204 PKG_glib-2.0 = "libglib2.0-0"
205 PKG_gconf = "libgconf2-6"
206 DEBIANNAME_dbus_pn-dbus = "dbus"
207 PKG_libhildon = "libhildon1"
208 DEBIANNAME_eds-dbus_pn-libedataserver-1.2 = "libedataserver"
211 PKG_libglade = "libglade2-0"
212 PKG_libsoup = "libsoup2.2-8"
214 PKG_libsdl-mixer = "libsdl-mixer1.2"
215 PKG_libsdl-image = "libsdl-image1.2"
216 PKG_libsdl-directfb = "libsdl1.2"
217 PKG_libsdl-ttf = "libsdl-ttf2.0-0"
218 PKG_libsdl-gfx = "libsdl-gfx1.2-4"
220 PKG_bluez-libs = "libbluetooth2"
221 PKG_libgcc = "libgcc1"