diff options
Diffstat (limited to 'meta/packages/vte')
-rw-r--r-- | meta/packages/vte/files/vte-pkgconfig-fixes.patch | 47 | ||||
-rw-r--r-- | meta/packages/vte/vte.inc | 17 | ||||
-rw-r--r-- | meta/packages/vte/vte_0.16.8.bb | 12 | ||||
-rw-r--r-- | meta/packages/vte/vte_0.16.9.bb | 2 |
4 files changed, 66 insertions, 12 deletions
diff --git a/meta/packages/vte/files/vte-pkgconfig-fixes.patch b/meta/packages/vte/files/vte-pkgconfig-fixes.patch new file mode 100644 index 0000000000..2acc7348e7 --- /dev/null +++ b/meta/packages/vte/files/vte-pkgconfig-fixes.patch | |||
@@ -0,0 +1,47 @@ | |||
1 | Index: vte-0.16.9/configure.in | ||
2 | =================================================================== | ||
3 | --- vte-0.16.9.orig/configure.in 2007-09-17 23:07:18.000000000 +0100 | ||
4 | +++ vte-0.16.9/configure.in 2008-03-05 15:59:04.000000000 +0000 | ||
5 | @@ -381,8 +381,6 @@ | ||
6 | |||
7 | # Search for the required modules. | ||
8 | PKG_CHECK_MODULES(VTE,[$wantedmodules]) | ||
9 | -NEEDEDPACKAGES="$wantedmodules" | ||
10 | -AC_SUBST(NEEDEDPACKAGES) | ||
11 | |||
12 | # Check for various optional functions within those modules | ||
13 | save_CFLAGS="$CFLAGS" | ||
14 | @@ -403,10 +401,12 @@ | ||
15 | |||
16 | # Require Freetype2. First see if there is suitable pkgconfig file... | ||
17 | PKG_CHECK_EXISTS(freetype2 >= 6.1.0, | ||
18 | - [PKG_CHECK_MODULES(FT2, freetype2)], [ | ||
19 | + [PKG_CHECK_MODULES(FT2, freetype2) | ||
20 | + wantedmodules="$wantedmodules freetype2 >= 6.1.0"], [ | ||
21 | # We use our local copy of the macro because packages of | ||
22 | # freetype's development files don't always include the proper macro. | ||
23 | - VTE_CHECK_FT2(6.1.0,, | ||
24 | + VTE_CHECK_FT2(6.1.0,[ | ||
25 | + wantedmodules="$wantedmodules freetype2 >= 6.1.0" ], | ||
26 | [AC_MSG_ERROR([You must have freetype 2.0.2 or later to build vte.])])]) | ||
27 | |||
28 | # Temporarily pull in the Freetype cflags and libs for checking what's | ||
29 | @@ -508,6 +508,8 @@ | ||
30 | CFLAGS="$savecflags" | ||
31 | CPPFLAGS="$savecppflags" | ||
32 | |||
33 | +NEEDEDPACKAGES="$wantedmodules" | ||
34 | +AC_SUBST(NEEDEDPACKAGES) | ||
35 | |||
36 | wcs_funcs_includes=" | ||
37 | #ifdef HAVE_STRING_H | ||
38 | Index: vte-0.16.9/vte.pc.in | ||
39 | =================================================================== | ||
40 | --- vte-0.16.9.orig/vte.pc.in 2007-02-26 21:05:19.000000000 +0000 | ||
41 | +++ vte-0.16.9/vte.pc.in 2008-03-05 15:56:37.000000000 +0000 | ||
42 | @@ -11,4 +11,4 @@ | ||
43 | Requires: @NEEDEDPACKAGES@ | ||
44 | Libs: -L${libdir} -lvte @OTHERLIBS@ | ||
45 | Libs.private: @FT2_LIBS@ | ||
46 | -Cflags: -I${includedir} @FT2_CFLAGS@ @OTHERCFLAGS@ | ||
47 | +Cflags: -I${includedir} @OTHERCFLAGS@ | ||
diff --git a/meta/packages/vte/vte.inc b/meta/packages/vte/vte.inc new file mode 100644 index 0000000000..587ea85a39 --- /dev/null +++ b/meta/packages/vte/vte.inc | |||
@@ -0,0 +1,17 @@ | |||
1 | DESCRIPTION = "vte is a virtual terminal emulator" | ||
2 | LICENSE = "LGPL" | ||
3 | DEPENDS += " glib-2.0 gtk+ intltool-native" | ||
4 | RDEPENDS = "termcap" | ||
5 | |||
6 | inherit gnome | ||
7 | |||
8 | SRC_URI += "file://vte-pkgconfig-fixes.patch;patch=1" | ||
9 | |||
10 | EXTRA_OECONF = "--disable-gtk-doc --disable-python" | ||
11 | |||
12 | do_stage() { | ||
13 | autotools_stage_all | ||
14 | } | ||
15 | |||
16 | PACKAGES =+ "libvte" | ||
17 | FILES_libvte = "${libdir}/*.so*" | ||
diff --git a/meta/packages/vte/vte_0.16.8.bb b/meta/packages/vte/vte_0.16.8.bb deleted file mode 100644 index 45448fc49c..0000000000 --- a/meta/packages/vte/vte_0.16.8.bb +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | LICENSE = "LGPL" | ||
2 | DEPENDS = "gtk+ intltool-native" | ||
3 | |||
4 | PR="r1" | ||
5 | |||
6 | inherit gnome | ||
7 | |||
8 | EXTRA_OECONF = "--disable-gtk-doc --disable-python" | ||
9 | |||
10 | do_stage() { | ||
11 | autotools_stage_all | ||
12 | } | ||
diff --git a/meta/packages/vte/vte_0.16.9.bb b/meta/packages/vte/vte_0.16.9.bb new file mode 100644 index 0000000000..5875fd317f --- /dev/null +++ b/meta/packages/vte/vte_0.16.9.bb | |||
@@ -0,0 +1,2 @@ | |||
1 | require vte.inc | ||
2 | PR = "r4" | ||