diff options
author | Saul Wold <Saul.Wold@intel.com> | 2010-11-22 13:57:13 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-11-22 13:57:13 +0000 |
commit | cfe12efb5ec9586dab6961f141d52b103bd8b1d1 (patch) | |
tree | 7108e22aa7ddf6cfc2f1b6c6b73a811187706ecb /meta-demoapps/recipes-graphics/xorg-lib | |
parent | 762fd6b7b3b22d7a8cb80ef9e9ba62e7ef21af3e (diff) | |
download | poky-cfe12efb5ec9586dab6961f141d52b103bd8b1d1.tar.gz |
Meta: Recipe Reogranization
This is the next stage of recipe reorganization, in this stage
many recipes where moved to a new meta-demoapps layer since this
is more appropriate for demo usage then the core. Additional some
recipes were moved to meta-extras to indicate they may be depercated
at a future time.
A number of recipes were modified since dependencies need to be
corrected.
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
Diffstat (limited to 'meta-demoapps/recipes-graphics/xorg-lib')
5 files changed, 111 insertions, 0 deletions
diff --git a/meta-demoapps/recipes-graphics/xorg-lib/liblbxutil/mkg3states.patch b/meta-demoapps/recipes-graphics/xorg-lib/liblbxutil/mkg3states.patch new file mode 100644 index 0000000000..029d761d95 --- /dev/null +++ b/meta-demoapps/recipes-graphics/xorg-lib/liblbxutil/mkg3states.patch | |||
@@ -0,0 +1,63 @@ | |||
1 | During the build process the mkg3states binary needs to be run. This patch | ||
2 | allows it to be built with the build systems gcc allowing this to work. | ||
3 | |||
4 | RP 31/3/10 | ||
5 | |||
6 | Index: liblbxutil-1.1.0/configure.ac | ||
7 | =================================================================== | ||
8 | --- liblbxutil-1.1.0.orig/configure.ac 2009-12-04 22:52:04.000000000 +0000 | ||
9 | +++ liblbxutil-1.1.0/configure.ac 2010-03-31 15:26:33.000000000 +0100 | ||
10 | @@ -50,4 +50,5 @@ | ||
11 | |||
12 | AC_OUTPUT([Makefile | ||
13 | src/Makefile | ||
14 | + src/image/Makefile | ||
15 | lbxutil.pc]) | ||
16 | Index: liblbxutil-1.1.0/src/Makefile.am | ||
17 | =================================================================== | ||
18 | --- liblbxutil-1.1.0.orig/src/Makefile.am 2009-12-04 23:03:17.000000000 +0000 | ||
19 | +++ liblbxutil-1.1.0/src/Makefile.am 2010-03-31 15:27:25.000000000 +0100 | ||
20 | @@ -3,10 +3,7 @@ | ||
21 | AM_CFLAGS = $(CWARNFLAGS) $(LBXUTIL_CFLAGS) | ||
22 | INCLUDES = -I$(top_srcdir)/include | ||
23 | |||
24 | -noinst_PROGRAMS = mkg3states | ||
25 | - | ||
26 | -mkg3states_SOURCES = \ | ||
27 | - $(srcdir)/image/mkg3states.c | ||
28 | +SUBDIRS = image | ||
29 | |||
30 | liblbxutil_la_SOURCES = \ | ||
31 | $(srcdir)/lbx_zlib/reqstats.h \ | ||
32 | @@ -38,9 +35,8 @@ | ||
33 | |||
34 | $(srcdir)/image/dfaxg42d.c: g3states.h | ||
35 | |||
36 | -g3states.h: mkg3states | ||
37 | - -rm -f g3states.h | ||
38 | - $(AM_V_GEN) ./mkg3states -c > g3states.h_ && mv g3states.h_ g3states.h | ||
39 | +g3states.h: image/mkg3states | ||
40 | + ./image/mkg3states -c > g3states.h_ && mv g3states.h_ g3states.h | ||
41 | |||
42 | liblbxutil_la_LDFLAGS = -version-number 1:0:0 -no-undefined | ||
43 | |||
44 | Index: liblbxutil-1.1.0/src/image/Makefile.am | ||
45 | =================================================================== | ||
46 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | ||
47 | +++ liblbxutil-1.1.0/src/image/Makefile.am 2010-03-31 15:26:33.000000000 +0100 | ||
48 | @@ -0,0 +1,15 @@ | ||
49 | +# evil hack | ||
50 | +CFLAGS=$(CFLAGS_FOR_BUILD) | ||
51 | +CPPFLAGS=$(CPPFLAGS_FOR_BUILD) | ||
52 | +LDFLAGS=$(LDFLAGS_FOR_BUILD) | ||
53 | + | ||
54 | +CC=$(CC_FOR_BUILD) | ||
55 | +LIBTOOL = @LIBTOOL@ --tag=CC | ||
56 | + | ||
57 | +noinst_PROGRAMS = mkg3states | ||
58 | + | ||
59 | +mkg3states_SOURCES = \ | ||
60 | + mkg3states.c | ||
61 | + | ||
62 | +mkg3states_CFLAGS=$(CFLAGS_FOR_BUILD) | ||
63 | +mkg3states_LDFLAGS=$(LDFLAGS_FOR_BUILD) | ||
diff --git a/meta-demoapps/recipes-graphics/xorg-lib/liblbxutil_1.1.0.bb b/meta-demoapps/recipes-graphics/xorg-lib/liblbxutil_1.1.0.bb new file mode 100644 index 0000000000..cdf3509246 --- /dev/null +++ b/meta-demoapps/recipes-graphics/xorg-lib/liblbxutil_1.1.0.bb | |||
@@ -0,0 +1,11 @@ | |||
1 | require xorg-lib-common.inc | ||
2 | |||
3 | DESCRIPTION = "XFIXES Extension" | ||
4 | DEPENDS += " libxext xextproto xproto zlib" | ||
5 | PROVIDES = "lbxutil" | ||
6 | PE = "1" | ||
7 | PR = "r1" | ||
8 | |||
9 | SRC_URI += "file://mkg3states.patch;patch=1" | ||
10 | |||
11 | export CC_FOR_BUILD = "gcc" | ||
diff --git a/meta-demoapps/recipes-graphics/xorg-lib/libxaw_1.0.5.bb b/meta-demoapps/recipes-graphics/xorg-lib/libxaw_1.0.5.bb new file mode 100644 index 0000000000..489f456647 --- /dev/null +++ b/meta-demoapps/recipes-graphics/xorg-lib/libxaw_1.0.5.bb | |||
@@ -0,0 +1,21 @@ | |||
1 | require xorg-lib-common.inc | ||
2 | |||
3 | DESCRIPTION = "X Athena Widget Set" | ||
4 | DEPENDS += "xproto virtual/libx11 libxext xextproto libxt libxmu libxpm libxp printproto libxau" | ||
5 | PROVIDES = "xaw" | ||
6 | PR = "r1" | ||
7 | PE = "1" | ||
8 | |||
9 | XORG_PN = "libXaw" | ||
10 | |||
11 | do_install_append () { | ||
12 | ln -sf libXaw6.so.6 ${D}${libdir}/libXaw.so.6 | ||
13 | ln -sf libXaw7.so.7 ${D}${libdir}/libXaw.so.7 | ||
14 | ln -sf libXaw7.so.7 ${D}${libdir}/libXaw.so | ||
15 | } | ||
16 | |||
17 | PACKAGES =+ "libxaw6 libxaw7 libxaw8" | ||
18 | |||
19 | FILES_libxaw6 = "${libdir}/libXaw6.so.6*" | ||
20 | FILES_libxaw7 = "${libdir}/libXaw7.so.7*" | ||
21 | FILES_libxaw8 = "${libdir}/libXaw8.so.8*" | ||
diff --git a/meta-demoapps/recipes-graphics/xorg-lib/libxevie_1.0.2.bb b/meta-demoapps/recipes-graphics/xorg-lib/libxevie_1.0.2.bb new file mode 100644 index 0000000000..6c6b4595aa --- /dev/null +++ b/meta-demoapps/recipes-graphics/xorg-lib/libxevie_1.0.2.bb | |||
@@ -0,0 +1,8 @@ | |||
1 | require xorg-lib-common.inc | ||
2 | |||
3 | DESCRIPTION = "X11 EvIE extension library" | ||
4 | DEPENDS += "libxext evieext" | ||
5 | PR = "r1" | ||
6 | PE = "1" | ||
7 | |||
8 | XORG_PN = "libXevie" | ||
diff --git a/meta-demoapps/recipes-graphics/xorg-lib/libxkbui_1.0.2.bb b/meta-demoapps/recipes-graphics/xorg-lib/libxkbui_1.0.2.bb new file mode 100644 index 0000000000..9a3f5f1327 --- /dev/null +++ b/meta-demoapps/recipes-graphics/xorg-lib/libxkbui_1.0.2.bb | |||
@@ -0,0 +1,8 @@ | |||
1 | require xorg-lib-common.inc | ||
2 | |||
3 | DESCRIPTION = "X11 keyboard UI presentation library" | ||
4 | LICENSE= "GPL" | ||
5 | DEPENDS += "virtual/libx11 libxt libxkbfile" | ||
6 | PROVIDES = "xkbui" | ||
7 | PR = "r1" | ||
8 | PE = "1" | ||