diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 15:14:24 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 15:29:45 +0100 |
commit | 29d6678fd546377459ef75cf54abeef5b969b5cf (patch) | |
tree | 8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-graphics/cairo | |
parent | da49de6885ee1bc424e70bc02f21f6ab920efb55 (diff) | |
download | poky-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz |
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things
and is generally overwhelming. This commit splits it into several
logical sections roughly based on function, recipes.txt gives more
information about the classifications used.
The opportunity is also used to switch from "packages" to "recipes"
as used in OpenEmbedded as the term "packages" can be confusing to
people and has many different meanings.
Not all recipes have been classified yet, this is just a first pass
at separating things out. Some packages are moved to meta-extras as
they're no longer actively used or maintained.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-graphics/cairo')
-rw-r--r-- | meta/recipes-graphics/cairo/cairo-1.8.10/hardcoded_libtool.patch | 17 | ||||
-rw-r--r-- | meta/recipes-graphics/cairo/cairo-fpu.inc | 6 | ||||
-rw-r--r-- | meta/recipes-graphics/cairo/cairo.inc | 13 | ||||
-rw-r--r-- | meta/recipes-graphics/cairo/cairo_1.8.10.bb | 8 |
4 files changed, 44 insertions, 0 deletions
diff --git a/meta/recipes-graphics/cairo/cairo-1.8.10/hardcoded_libtool.patch b/meta/recipes-graphics/cairo/cairo-1.8.10/hardcoded_libtool.patch new file mode 100644 index 0000000000..afdf2c8f08 --- /dev/null +++ b/meta/recipes-graphics/cairo/cairo-1.8.10/hardcoded_libtool.patch | |||
@@ -0,0 +1,17 @@ | |||
1 | Index: cairo-1.8.2/build/aclocal.dolt.m4 | ||
2 | =================================================================== | ||
3 | --- cairo-1.8.2.orig/build/aclocal.dolt.m4 | ||
4 | +++ cairo-1.8.2/build/aclocal.dolt.m4 | ||
5 | @@ -163,7 +163,11 @@ done | ||
6 | if $modeok && $tagok ; then | ||
7 | . ${top_builddir_slash}doltcompile "${args@<:@@@:>@}" | ||
8 | else | ||
9 | - exec ${top_builddir_slash}libtool "$[]@" | ||
10 | +__DOLTLIBTOOL__EOF__ | ||
11 | + | ||
12 | +echo ' exec ${top_builddir_slash}'${host_alias}-libtool' "$[]@"' >> doltlibtool | ||
13 | + | ||
14 | + cat << '__DOLTLIBTOOL__EOF__' >> doltlibtool | ||
15 | fi | ||
16 | __DOLTLIBTOOL__EOF__ | ||
17 | |||
diff --git a/meta/recipes-graphics/cairo/cairo-fpu.inc b/meta/recipes-graphics/cairo/cairo-fpu.inc new file mode 100644 index 0000000000..bdaf789799 --- /dev/null +++ b/meta/recipes-graphics/cairo/cairo-fpu.inc | |||
@@ -0,0 +1,6 @@ | |||
1 | |||
2 | def get_cairo_fpu_setting(bb, d): | ||
3 | if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]: | ||
4 | return "--disable-some-floating-point" | ||
5 | return "" | ||
6 | |||
diff --git a/meta/recipes-graphics/cairo/cairo.inc b/meta/recipes-graphics/cairo/cairo.inc new file mode 100644 index 0000000000..e73a839671 --- /dev/null +++ b/meta/recipes-graphics/cairo/cairo.inc | |||
@@ -0,0 +1,13 @@ | |||
1 | DESCRIPTION = "Cairo graphics library" | ||
2 | HOMEPAGE = "http://cairographics.org" | ||
3 | BUGTRACKER = "http://bugs.freedesktop.org" | ||
4 | SECTION = "libs" | ||
5 | PRIORITY = "optional" | ||
6 | LICENSE = "MPLv1.1 & LGPLv2.1" | ||
7 | DEPENDS = "virtual/libx11 libsm libpng fontconfig libxrender pixman" | ||
8 | |||
9 | #check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points | ||
10 | require cairo-fpu.inc | ||
11 | EXTRA_OECONF += "${@get_cairo_fpu_setting(bb, d)}" | ||
12 | |||
13 | inherit autotools pkgconfig | ||
diff --git a/meta/recipes-graphics/cairo/cairo_1.8.10.bb b/meta/recipes-graphics/cairo/cairo_1.8.10.bb new file mode 100644 index 0000000000..9e7e7a3bf6 --- /dev/null +++ b/meta/recipes-graphics/cairo/cairo_1.8.10.bb | |||
@@ -0,0 +1,8 @@ | |||
1 | require cairo.inc | ||
2 | |||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=7d7cc3410ae869ed913ebd30d7f45941" | ||
4 | |||
5 | PR = "r0" | ||
6 | |||
7 | SRC_URI = "http://cairographics.org/releases/cairo-${PV}.tar.gz \ | ||
8 | file://hardcoded_libtool.patch" | ||