diff options
author | Richard Purdie <richard@openedhand.com> | 2007-05-13 18:26:01 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-05-13 18:26:01 +0000 |
commit | ccd009b2fe06dd7a82bf1a87ff95eafe02e220c6 (patch) | |
tree | a68954527e297ddaf29267b8c3ce5d9c54ad7106 | |
parent | 8a37e602c28e8d71e262a9583290b43010464648 (diff) | |
download | poky-ccd009b2fe06dd7a82bf1a87ff95eafe02e220c6.tar.gz |
Add libcroco/librsvg (from OE) for oh-puzzles pending discussion to keep builds running
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1718 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r-- | meta/packages/libcroco/files/croco.patch | 13 | ||||
-rw-r--r-- | meta/packages/libcroco/libcroco_0.6.1.bb | 16 | ||||
-rw-r--r-- | meta/packages/librsvg/librsvg_2.11.1.bb | 21 |
3 files changed, 50 insertions, 0 deletions
diff --git a/meta/packages/libcroco/files/croco.patch b/meta/packages/libcroco/files/croco.patch new file mode 100644 index 0000000000..572f9de59f --- /dev/null +++ b/meta/packages/libcroco/files/croco.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | --- opie/configure.in.old 2006-05-19 20:57:30.000000000 +0100 | ||
2 | +++ opie/configure.in 2006-05-19 20:57:56.000000000 +0100 | ||
3 | @@ -131,8 +131,8 @@ | ||
4 | dnl Define the CROCO_LIBS and CROCO_CFLAGS variables. These will be used | ||
5 | dnl by client application to know where to find croco include files and libs. | ||
6 | dnl | ||
7 | -CROCO_LIBS="-L${libdir} -lcroco-$LIBCROCO_MAJOR_VERSION.$LIBCROCO_MINOR_VERSION" | ||
8 | -CROCO_CFLAGS="-I${includedir}/libcroco-$LIBCROCO_MAJOR_VERSION.$LIBCROCO_MINOR_VERSION" | ||
9 | +CROCO_LIBS='-L${libdir}'" -lcroco-$LIBCROCO_MAJOR_VERSION.$LIBCROCO_MINOR_VERSION" | ||
10 | +CROCO_CFLAGS='-I${includedir}'"/libcroco-$LIBCROCO_MAJOR_VERSION.$LIBCROCO_MINOR_VERSION" | ||
11 | |||
12 | AC_SUBST(LIBXML2_LIBS) | ||
13 | AC_SUBST(LIBXML2_CFLAGS) | ||
diff --git a/meta/packages/libcroco/libcroco_0.6.1.bb b/meta/packages/libcroco/libcroco_0.6.1.bb new file mode 100644 index 0000000000..cc7fc05d62 --- /dev/null +++ b/meta/packages/libcroco/libcroco_0.6.1.bb | |||
@@ -0,0 +1,16 @@ | |||
1 | DESCRIPTION = "The Libcroco project is an effort to build a generic Cascading Style Sheet (CSS) parsing and manipulation toolkit" | ||
2 | SECTION = "x11/utils" | ||
3 | DEPENDS = "glib-2.0 libxml2" | ||
4 | LICENSE = "LGPL" | ||
5 | PR = "r2" | ||
6 | |||
7 | inherit autotools pkgconfig gnome | ||
8 | |||
9 | SRC_URI_append = " file://croco.patch;patch=1 " | ||
10 | |||
11 | do_stage() { | ||
12 | install -d ${STAGING_LIBDIR} | ||
13 | install -d ${STAGING_INCDIR}/libcroco | ||
14 | install -m 644 src/*.h ${STAGING_INCDIR}/libcroco/ | ||
15 | install -m 755 src/.libs/*so* ${STAGING_LIBDIR}/ | ||
16 | } | ||
diff --git a/meta/packages/librsvg/librsvg_2.11.1.bb b/meta/packages/librsvg/librsvg_2.11.1.bb new file mode 100644 index 0000000000..4cddc1f2dd --- /dev/null +++ b/meta/packages/librsvg/librsvg_2.11.1.bb | |||
@@ -0,0 +1,21 @@ | |||
1 | DESCRIPTION = "Library for rendering SVG files" | ||
2 | SECTION = "x11/utils" | ||
3 | DEPENDS = "gtk+ libcroco libart-lgpl libxml2 popt" | ||
4 | LICENSE = "LGPL" | ||
5 | PR = "r1" | ||
6 | |||
7 | EXTRA_OECONF = "--disable-mozilla-plugin" | ||
8 | |||
9 | inherit autotools pkgconfig gnome | ||
10 | |||
11 | PACKAGES =+ "librsvg-gtk librsvg-gtk-dev rsvg" | ||
12 | FILES_${PN} = "${libdir}/*.so.*" | ||
13 | FILES_rsvg = "${bindir}/rsvg ${bindir}/rsvg-view ${datadir}/pixmaps/svg-viewer.svg" | ||
14 | FILES_librsvg-gtk = "${libdir}/gtk-2.0/*/*/*.so" | ||
15 | FILES_librsvg-gtk-dev = "${libdir}/gtk-2.0" | ||
16 | |||
17 | EXTRA_OECONF = "--disable-mozilla-plugin" | ||
18 | |||
19 | do_stage() { | ||
20 | autotools_stage_all | ||
21 | } | ||