summaryrefslogtreecommitdiff
path: root/packages/fontconfig
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /packages/fontconfig
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'packages/fontconfig')
-rw-r--r--packages/fontconfig/files/01fc-cache4
-rw-r--r--packages/fontconfig/files/local.conf19
-rw-r--r--packages/fontconfig/files/one-j-too-many.patch24
-rw-r--r--packages/fontconfig/fontconfig-2.2.95/fc-glyphname.patch19
-rw-r--r--packages/fontconfig/fontconfig-2.2.95/fc-lang.patch18
-rw-r--r--packages/fontconfig/fontconfig-2.3.91/fc-glyphname.patch19
-rw-r--r--packages/fontconfig/fontconfig-2.3.91/fc-lang.patch18
-rw-r--r--packages/fontconfig/fontconfig-2.4.1/configure_fix.patch14
-rw-r--r--packages/fontconfig/fontconfig-2.6.0/fix-pkgconfig.patch15
-rw-r--r--packages/fontconfig/fontconfig-native_2.2.95.bb15
-rw-r--r--packages/fontconfig/fontconfig-native_2.3.91.bb15
-rw-r--r--packages/fontconfig/fontconfig-native_2.6.0.bb15
-rw-r--r--packages/fontconfig/fontconfig.inc43
-rw-r--r--packages/fontconfig/fontconfig_2.2.95.bb22
-rw-r--r--packages/fontconfig/fontconfig_2.3.91.bb24
-rw-r--r--packages/fontconfig/fontconfig_2.3.95.bb16
-rw-r--r--packages/fontconfig/fontconfig_2.4.1.bb46
-rw-r--r--packages/fontconfig/fontconfig_2.6.0.bb78
18 files changed, 0 insertions, 424 deletions
diff --git a/packages/fontconfig/files/01fc-cache b/packages/fontconfig/files/01fc-cache
deleted file mode 100644
index 963aaec8ca..0000000000
--- a/packages/fontconfig/files/01fc-cache
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-# Author: Rolf Leggewie
-
-fc-cache
diff --git a/packages/fontconfig/files/local.conf b/packages/fontconfig/files/local.conf
deleted file mode 100644
index d678878f3e..0000000000
--- a/packages/fontconfig/files/local.conf
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
-<!-- /etc/fonts/local.conf file for local customizations -->
-<fontconfig>
-<!--
- Enable sub-pixel rendering
- <match target="font">
- <test qual="all" name="rgba">
- <const>unknown</const>
- </test>
- <edit name="rgba" mode="assign"><const>rgb</const></edit>
- </match>
--->
-
-<!-- X11R7.0 installs fonts to a new location -->
- <dir>/usr/lib/X11/fonts/misc</dir>
- <dir>/usr/lib/X11/fonts/Type1</dir>
- <dir>/usr/lib/X11/fonts/75dpi</dir>
-</fontconfig>
diff --git a/packages/fontconfig/files/one-j-too-many.patch b/packages/fontconfig/files/one-j-too-many.patch
deleted file mode 100644
index 04d8e0237e..0000000000
--- a/packages/fontconfig/files/one-j-too-many.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- fontconfig-2.3.95/src/fcname.c.orig 2006-07-26 15:20:01.469770388 +0200
-+++ fontconfig-2.3.95/src/fcname.c 2006-07-26 15:22:38.415239062 +0200
-@@ -305,17 +305,16 @@
- FcObjectPtrU (FcObjectPtr si)
- {
- const FcObjectTypeList *l;
-- int i, j;
-+ int i;
-
- if (si > 0)
- {
- if (si < biggest_known_ntypes)
- return biggest_known_types[si].object;
-
-- j = 0;
- for (l = _FcObjectTypes; l; l = l->next)
-- for (i = 0; i < l->ntypes; i++, j++)
-- if (j == si)
-+ for (i = 0; i < l->ntypes; i++)
-+ if (l->basic_offset+i == si)
- return l->types[i].object;
- }
-
-
diff --git a/packages/fontconfig/fontconfig-2.2.95/fc-glyphname.patch b/packages/fontconfig/fontconfig-2.2.95/fc-glyphname.patch
deleted file mode 100644
index 1afd9324ff..0000000000
--- a/packages/fontconfig/fontconfig-2.2.95/fc-glyphname.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- fontconfig/fc-glyphname/Makefile.am~ 2004-04-14 17:06:35.000000000 +0100
-+++ fontconfig/fc-glyphname/Makefile.am 2004-05-15 11:41:35.000000000 +0100
-@@ -27,6 +27,7 @@
- TMPL=fcglyphname.tmpl.h
- STMPL=${top_srcdir}/fc-glyphname/${TMPL}
- TARG=fcglyphname.h
-+FC_GLYPHNAME=./fc-glyphname
-
- noinst_PROGRAMS=fc-glyphname
-
-@@ -41,7 +42,7 @@
-
- $(TARG): $(STMPL) fc-glyphname $(SGLYPHNAME)
- rm -f $(TARG)
-- ./fc-glyphname $(SGLYPHNAME) < $(STMPL) > $(TARG)
-+ $(FC_GLYPHNAME) $(SGLYPHNAME) < $(STMPL) > $(TARG)
-
- CLEANFILES=$(TARG)
-
diff --git a/packages/fontconfig/fontconfig-2.2.95/fc-lang.patch b/packages/fontconfig/fontconfig-2.2.95/fc-lang.patch
deleted file mode 100644
index d08242a377..0000000000
--- a/packages/fontconfig/fontconfig-2.2.95/fc-lang.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- fontconfig/fc-lang/Makefile.am~ 2004-04-14 17:06:36.000000000 +0100
-+++ fontconfig/fc-lang/Makefile.am 2004-05-15 11:22:44.000000000 +0100
-@@ -27,6 +27,7 @@
- TMPL=fclang.tmpl.h
- STMPL=${top_srcdir}/fc-lang/fclang.tmpl.h
- TARG=fclang.h
-+FC_LANG=./fc-lang
-
- noinst_PROGRAMS=fc-lang
-
-@@ -40,6 +41,6 @@
-
- $(TARG):$(ORTH) fc-lang $(STMPL)
- rm -f $(TARG)
-- ./fc-lang -d ${srcdir} $(ORTH) < $(STMPL) > $(TARG)
-+ $(FC_LANG) -d ${srcdir} $(ORTH) < $(STMPL) > $(TARG)
-
- CLEANFILES=$(TARG)
diff --git a/packages/fontconfig/fontconfig-2.3.91/fc-glyphname.patch b/packages/fontconfig/fontconfig-2.3.91/fc-glyphname.patch
deleted file mode 100644
index b62bdda0ca..0000000000
--- a/packages/fontconfig/fontconfig-2.3.91/fc-glyphname.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- /tmp/Makefile.am 2006-04-25 15:46:09.236249864 +0200
-+++ fontconfig-2.3.94/fc-glyphname/Makefile.am 2006-04-25 15:46:39.175698376 +0200
-@@ -31,6 +31,7 @@
- TMPL=fcglyphname.tmpl.h
- STMPL=${top_srcdir}/fc-glyphname/${TMPL}
- TARG=fcglyphname.h
-+FC_GLYPHNAME=./fc-glyphname
-
- noinst_PROGRAMS=fc-glyphname
-
-@@ -45,7 +46,7 @@
-
- $(TARG): $(STMPL) fc-glyphname$(EXEEXT) $(SGLYPHNAME)
- rm -f $(TARG)
-- ./fc-glyphname$(EXEEXT) $(SGLYPHNAME) < $(STMPL) > $(TARG)
-+ $(FC_GLYPHNAME)$(EXEEXT) $(SGLYPHNAME) < $(STMPL) > $(TARG)
-
- CLEANFILES=$(TARG)
-
diff --git a/packages/fontconfig/fontconfig-2.3.91/fc-lang.patch b/packages/fontconfig/fontconfig-2.3.91/fc-lang.patch
deleted file mode 100644
index 533f3249a8..0000000000
--- a/packages/fontconfig/fontconfig-2.3.91/fc-lang.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- /tmp/Makefile.am 2006-04-25 15:47:49.313035880 +0200
-+++ fontconfig-2.3.94/fc-lang/Makefile.am 2006-04-25 15:48:22.807943880 +0200
-@@ -31,6 +31,7 @@
- TMPL=fclang.tmpl.h
- STMPL=${top_srcdir}/fc-lang/fclang.tmpl.h
- TARG=fclang.h
-+FC_LANG=./fc-lang
-
- noinst_PROGRAMS=fc-lang
-
-@@ -44,6 +45,6 @@
-
- $(TARG):$(ORTH) fc-lang${EXEEXT} $(STMPL)
- rm -f $(TARG)
-- ./fc-lang${EXEEXT} -d ${srcdir} $(ORTH) < $(STMPL) > $(TARG)
-+ $(FC_LANG)${EXEEXT} -d ${srcdir} $(ORTH) < $(STMPL) > $(TARG)
-
- CLEANFILES=$(TARG)
diff --git a/packages/fontconfig/fontconfig-2.4.1/configure_fix.patch b/packages/fontconfig/fontconfig-2.4.1/configure_fix.patch
deleted file mode 100644
index 6d6fa25b5a..0000000000
--- a/packages/fontconfig/fontconfig-2.4.1/configure_fix.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-Libtool 2.2.2 requires this is used with AC_SUBST
-
-RP - 14/4/08
-
---- /tmp/configure.in 2008-06-02 15:21:22.254641651 +0200
-+++ fontconfig-2.4.1/configure.in 2008-06-02 15:21:48.485061892 +0200
-@@ -46,6 +46,7 @@
- AC_SUBST(LT_CURRENT)
- AC_SUBST(LT_REVISION)
- LT_AGE=1
-+AC_SUBST(LT_AGE)
-
- LT_VERSION_INFO="$LT_CURRENT:$LT_REVISION:$LT_AGE"
- AC_SUBST(LT_VERSION_INFO)
diff --git a/packages/fontconfig/fontconfig-2.6.0/fix-pkgconfig.patch b/packages/fontconfig/fontconfig-2.6.0/fix-pkgconfig.patch
deleted file mode 100644
index 17b85f758d..0000000000
--- a/packages/fontconfig/fontconfig-2.6.0/fix-pkgconfig.patch
+++ /dev/null
@@ -1,15 +0,0 @@
----
- fontconfig.pc.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- fontconfig-2.6.0.orig/fontconfig.pc.in
-+++ fontconfig-2.6.0/fontconfig.pc.in
-@@ -5,7 +5,7 @@ includedir=@includedir@
-
- Name: Fontconfig
- Description: Font configuration and customization library
- Version: @VERSION@
- Libs: -L${libdir} -lfontconfig
--Libs.private: @EXPAT_LIBS@ @FREETYPE_LIBS@
-+Libs.private: @EXPAT_LIBS@ -L${libdir} -lfreetype
- Cflags: -I${includedir}
diff --git a/packages/fontconfig/fontconfig-native_2.2.95.bb b/packages/fontconfig/fontconfig-native_2.2.95.bb
deleted file mode 100644
index 541b74634c..0000000000
--- a/packages/fontconfig/fontconfig-native_2.2.95.bb
+++ /dev/null
@@ -1,15 +0,0 @@
-SECTION = "base"
-LICENSE = "BSD"
-require fontconfig_${PV}.bb
-inherit native
-DEPENDS = "freetype-native expat-native zlib-native"
-FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/fontconfig-${PV}"
-
-EXTRA_OEMAKE = ""
-EXTRA_OECONF = "${@[' --disable-docs',' --disable-docs --with-freetype-config=%s/freetype-config' % bb.data.getVar('STAGING_BINDIR', d, 1)][os.path.isfile('%s/freetype-config' % bb.data.getVar('STAGING_BINDIR', d, 1))]}"
-
-do_stage () {
- oe_runmake install
- install fc-lang/fc-lang ${STAGING_BINDIR}
- install fc-glyphname/fc-glyphname ${STAGING_BINDIR}
-}
diff --git a/packages/fontconfig/fontconfig-native_2.3.91.bb b/packages/fontconfig/fontconfig-native_2.3.91.bb
deleted file mode 100644
index 541b74634c..0000000000
--- a/packages/fontconfig/fontconfig-native_2.3.91.bb
+++ /dev/null
@@ -1,15 +0,0 @@
-SECTION = "base"
-LICENSE = "BSD"
-require fontconfig_${PV}.bb
-inherit native
-DEPENDS = "freetype-native expat-native zlib-native"
-FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/fontconfig-${PV}"
-
-EXTRA_OEMAKE = ""
-EXTRA_OECONF = "${@[' --disable-docs',' --disable-docs --with-freetype-config=%s/freetype-config' % bb.data.getVar('STAGING_BINDIR', d, 1)][os.path.isfile('%s/freetype-config' % bb.data.getVar('STAGING_BINDIR', d, 1))]}"
-
-do_stage () {
- oe_runmake install
- install fc-lang/fc-lang ${STAGING_BINDIR}
- install fc-glyphname/fc-glyphname ${STAGING_BINDIR}
-}
diff --git a/packages/fontconfig/fontconfig-native_2.6.0.bb b/packages/fontconfig/fontconfig-native_2.6.0.bb
deleted file mode 100644
index 541b74634c..0000000000
--- a/packages/fontconfig/fontconfig-native_2.6.0.bb
+++ /dev/null
@@ -1,15 +0,0 @@
-SECTION = "base"
-LICENSE = "BSD"
-require fontconfig_${PV}.bb
-inherit native
-DEPENDS = "freetype-native expat-native zlib-native"
-FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/fontconfig-${PV}"
-
-EXTRA_OEMAKE = ""
-EXTRA_OECONF = "${@[' --disable-docs',' --disable-docs --with-freetype-config=%s/freetype-config' % bb.data.getVar('STAGING_BINDIR', d, 1)][os.path.isfile('%s/freetype-config' % bb.data.getVar('STAGING_BINDIR', d, 1))]}"
-
-do_stage () {
- oe_runmake install
- install fc-lang/fc-lang ${STAGING_BINDIR}
- install fc-glyphname/fc-glyphname ${STAGING_BINDIR}
-}
diff --git a/packages/fontconfig/fontconfig.inc b/packages/fontconfig/fontconfig.inc
deleted file mode 100644
index e55fa8c768..0000000000
--- a/packages/fontconfig/fontconfig.inc
+++ /dev/null
@@ -1,43 +0,0 @@
-DESCRIPTION = "A library for configuring and customizing font access."
-SECTION = "libs"
-LICENSE = "BSD"
-DEPENDS = "expat freetype freetype-native zlib"
-
-PR = "r1"
-# Work around past breakage in debian.bbclass
-RPROVIDES_fontconfig-utils = "libfontconfig-utils"
-RREPLACES_fontconfig-utils = "libfontconfig-utils"
-RCONFLICTS_fontconfig-utils = "libfontconfig-utils"
-DEBIAN_NOAUTONAME_fontconfig-utils = "1"
-
-SRC_URI = "http://fontconfig.org/release/fontconfig-${PV}.tar.gz \
- file://01fc-cache"
-
-S = "${WORKDIR}/fontconfig-${PV}"
-
-inherit autotools pkgconfig
-
-export HASDOCBOOK="no"
-
-EXTRA_OECONF = " --disable-docs --with-cache-dir=/var/lib/fontconfig"
-EXTRA_OEMAKE = "FC_LANG=fc-lang FC_GLYPHNAME=fc-glyphname"
-
-# The tarball has some of the patched files as read only, which
-# patch doesn't like at all
-
-fontconfig_do_unpack() {
- chmod -R u+rw ${S}
-}
-
-python do_unpack () {
- bb.build.exec_func('base_do_unpack', d)
- bb.build.exec_func('fontconfig_do_unpack', d)
-}
-
-fontconfig-utils_do_install_prepend() {
- install -m 0755 ${WORKDIR}/01fc-cache ${D}${sysconfdir}/update-fonts-common.d/
-}
-
-PACKAGES =+ "fontconfig-utils-dbg fontconfig-utils "
-FILES_fontconfig-utils-dbg += "${bindir}/*.dbg"
-FILES_fontconfig-utils = "${bindir}/*"
diff --git a/packages/fontconfig/fontconfig_2.2.95.bb b/packages/fontconfig/fontconfig_2.2.95.bb
deleted file mode 100644
index d1aab24951..0000000000
--- a/packages/fontconfig/fontconfig_2.2.95.bb
+++ /dev/null
@@ -1,22 +0,0 @@
-require fontconfig.inc
-
-DEPENDS += "fontconfig-native"
-
-SRC_URI += "file://fc-glyphname.patch;patch=1 \
- file://fc-lang.patch;patch=1 \
- file://local.conf"
-PR = "r8"
-
-do_stage () {
- oe_libinstall -so -a -C src libfontconfig ${STAGING_LIBDIR}
- install -d ${STAGING_INCDIR}/fontconfig
- for i in ${S}/fontconfig/*.h; do install -m 0644 $i ${STAGING_INCDIR}/fontconfig/; done
-}
-
-do_install () {
- autotools_do_install
-
- install -d ${D}/etc/fonts/
- install -m 0644 ${WORKDIR}/local.conf ${D}/etc/fonts/
-}
-
diff --git a/packages/fontconfig/fontconfig_2.3.91.bb b/packages/fontconfig/fontconfig_2.3.91.bb
deleted file mode 100644
index ec6ef8e037..0000000000
--- a/packages/fontconfig/fontconfig_2.3.91.bb
+++ /dev/null
@@ -1,24 +0,0 @@
-require fontconfig.inc
-
-DEPENDS += "fontconfig-native"
-
-SRC_URI += "file://fc-glyphname.patch;patch=1 \
- file://fc-lang.patch;patch=1 \
- file://one-j-too-many.patch;patch=1 \
- file://local.conf"
-
-PR = "r3"
-
-do_stage () {
- oe_libinstall -so -a -C src libfontconfig ${STAGING_LIBDIR}
- install -d ${STAGING_INCDIR}/fontconfig
- for i in ${S}/fontconfig/*.h; do install -m 0644 $i ${STAGING_INCDIR}/fontconfig/; done
-}
-
-do_install () {
- autotools_do_install
-
- install -d ${D}/etc/fonts/
- install -m 0644 ${WORKDIR}/local.conf ${D}/etc/fonts/
-}
-
diff --git a/packages/fontconfig/fontconfig_2.3.95.bb b/packages/fontconfig/fontconfig_2.3.95.bb
deleted file mode 100644
index 035f8467ed..0000000000
--- a/packages/fontconfig/fontconfig_2.3.95.bb
+++ /dev/null
@@ -1,16 +0,0 @@
-require fontconfig.inc
-
-SRC_URI += "file://one-j-too-many.patch;patch=1"
-
-PR = "r2"
-
-do_stage () {
- oe_libinstall -so -a -C src libfontconfig ${STAGING_LIBDIR}
- install -d ${STAGING_INCDIR}/fontconfig
- for i in ${S}/fontconfig/*.h; do install -m 0644 $i ${STAGING_INCDIR}/fontconfig/; done
-}
-
-do_install () {
- autotools_do_install
-}
-
diff --git a/packages/fontconfig/fontconfig_2.4.1.bb b/packages/fontconfig/fontconfig_2.4.1.bb
deleted file mode 100644
index c1d861cfb9..0000000000
--- a/packages/fontconfig/fontconfig_2.4.1.bb
+++ /dev/null
@@ -1,46 +0,0 @@
-require fontconfig.inc
-
-PR = "r3"
-
-SRC_URI += "https://stage.maemo.org/svn/maemo/projects/haf/trunk/fontconfig/device_symbols.h \
- file://configure_fix.patch;patch=1 "
-
-EXTRA_OECONF += " --with-arch=${HOST_ARCH}"
-
-do_stage () {
- cp ${WORKDIR}/device_symbols.h ${S}/fontconfig/
- oe_libinstall -so -a -C src libfontconfig ${STAGING_LIBDIR}
- install -d ${STAGING_INCDIR}/fontconfig
- for i in ${S}/fontconfig/*.h; do install -m 0644 $i ${STAGING_INCDIR}/fontconfig/; done
- ln -sf ${STAGING_INCDIR}/fontconfig/device_symbols.h ${STAGING_INCDIR}
-}
-
-BUILD_CFLAGS += " -I${STAGING_INCDIR_NATIVE}/freetype2"
-
-do_configure_append () {
- sed -i 's|LDFLAGS =.*|LDFLAGS =|' fc-case/Makefile
- sed -i 's|LDFLAGS =.*|LDFLAGS =|' fc-glyphname/Makefile
- sed -i 's|LDFLAGS =.*|LDFLAGS =|' fc-lang/Makefile
- sed -i 's|LDFLAGS =.*|LDFLAGS =|' fc-arch/Makefile
-
- sed -i 's|CFLAGS =.*|CFLAGS =${BUILD_CFLAGS}|' fc-case/Makefile
- sed -i 's|CFLAGS =.*|CFLAGS =${BUILD_CFLAGS}|' fc-glyphname/Makefile
- sed -i 's|CFLAGS =.*|CFLAGS =${BUILD_CFLAGS}|' fc-lang/Makefile
- sed -i 's|CFLAGS =.*|CFLAGS =${BUILD_CFLAGS}|' fc-arch/Makefile
-
- sed -i 's|CPPFLAGS =.*|CPPFLAGS =${BUILD_CPPFLAGS}|' fc-case/Makefile
- sed -i 's|CPPFLAGS =.*|CPPFLAGS =${BUILD_CPPFLAGS}|' fc-glyphname/Makefile
- sed -i 's|CPPFLAGS =.*|CPPFLAGS =${BUILD_CPPFLAGS}|' fc-lang/Makefile
- sed -i 's|CPPFLAGS =.*|CPPFLAGS =${BUILD_CPPFLAGS}|' fc-arch/Makefile
-
- sed -i 's|CXXFLAGS =.*|CFLAGS =${BUILD_CXXFLAGS}|' fc-case/Makefile
- sed -i 's|CXXFLAGS =.*|CFLAGS =${BUILD_CXXFLAGS}|' fc-glyphname/Makefile
- sed -i 's|CXXFLAGS =.*|CFLAGS =${BUILD_CXXFLAGS}|' fc-lang/Makefile
- sed -i 's|CXXFLAGS =.*|CFLAGS =${BUILD_CXXFLAGS}|' fc-arch/Makefile
-
-}
-
-do_install () {
- autotools_do_install
-}
-
diff --git a/packages/fontconfig/fontconfig_2.6.0.bb b/packages/fontconfig/fontconfig_2.6.0.bb
deleted file mode 100644
index 5a056b7885..0000000000
--- a/packages/fontconfig/fontconfig_2.6.0.bb
+++ /dev/null
@@ -1,78 +0,0 @@
-SECTION = "libs"
-LICENSE = "BSD"
-DESCRIPTION = "A library for configuring and customizing font access."
-DEPENDS = "expat freetype zlib"
-
-PR = "r1"
-
-SRC_URI = "http://fontconfig.org/release/fontconfig-${PV}.tar.gz \
- file://fix-pkgconfig.patch;patch=1"
-
-PACKAGES =+ "fontconfig-utils-dbg fontconfig-utils "
-FILES_fontconfig-utils-dbg = "${bindir}/*.dbg"
-FILES_fontconfig-utils = "${bindir}/*"
-
-# Work around past breakage in debian.bbclass
-RPROVIDES_fontconfig-utils = "libfontconfig-utils"
-RREPLACES_fontconfig-utils = "libfontconfig-utils"
-RCONFLICTS_fontconfig-utils = "libfontconfig-utils"
-DEBIAN_NOAUTONAME_fontconfig-utils = "1"
-
-S = "${WORKDIR}/fontconfig-${PV}"
-
-PARALLEL_MAKE = ""
-
-inherit autotools pkgconfig
-
-export HASDOCBOOK="no"
-
-EXTRA_OECONF = " --disable-docs --with-arch=${HOST_ARCH} --with-cache-dir=/var/lib/fontconfig"
-EXTRA_OEMAKE = "FC_LANG=fc-lang FC_GLYPHNAME=fc-glyphname"
-
-# The tarball has some of the patched files as read only, which
-# patch doesn't like at all
-
-fontconfig_do_unpack() {
- chmod -R u+rw ${S}
-}
-
-python do_unpack () {
- bb.build.exec_func('base_do_unpack', d)
- bb.build.exec_func('fontconfig_do_unpack', d)
-}
-
-do_stage () {
- oe_libinstall -so -a -C src libfontconfig ${STAGING_LIBDIR}
- install -d ${STAGING_INCDIR}/fontconfig
- for i in ${S}/fontconfig/*.h; do install -m 0644 $i ${STAGING_INCDIR}/fontconfig/; done
-}
-
-BUILD_CFLAGS += " -I${STAGING_INCDIR}/freetype2"
-
-do_configure_append () {
- sed -i 's|LDFLAGS =.*|LDFLAGS =|' fc-case/Makefile
- sed -i 's|LDFLAGS =.*|LDFLAGS =|' fc-glyphname/Makefile
- sed -i 's|LDFLAGS =.*|LDFLAGS =|' fc-lang/Makefile
- sed -i 's|LDFLAGS =.*|LDFLAGS =|' fc-arch/Makefile
-
- sed -i 's|CFLAGS =.*|CFLAGS =${BUILD_CFLAGS}|' fc-case/Makefile
- sed -i 's|CFLAGS =.*|CFLAGS =${BUILD_CFLAGS}|' fc-glyphname/Makefile
- sed -i 's|CFLAGS =.*|CFLAGS =${BUILD_CFLAGS}|' fc-lang/Makefile
- sed -i 's|CFLAGS =.*|CFLAGS =${BUILD_CFLAGS}|' fc-arch/Makefile
-
- sed -i 's|CPPFLAGS =.*|CPPFLAGS =${BUILD_CPPFLAGS}|' fc-case/Makefile
- sed -i 's|CPPFLAGS =.*|CPPFLAGS =${BUILD_CPPFLAGS}|' fc-glyphname/Makefile
- sed -i 's|CPPFLAGS =.*|CPPFLAGS =${BUILD_CPPFLAGS}|' fc-lang/Makefile
- sed -i 's|CPPFLAGS =.*|CPPFLAGS =${BUILD_CPPFLAGS}|' fc-arch/Makefile
-
- sed -i 's|CXXFLAGS =.*|CFLAGS =${BUILD_CXXFLAGS}|' fc-case/Makefile
- sed -i 's|CXXFLAGS =.*|CFLAGS =${BUILD_CXXFLAGS}|' fc-glyphname/Makefile
- sed -i 's|CXXFLAGS =.*|CFLAGS =${BUILD_CXXFLAGS}|' fc-lang/Makefile
- sed -i 's|CXXFLAGS =.*|CFLAGS =${BUILD_CXXFLAGS}|' fc-arch/Makefile
-
-}
-
-do_install () {
- autotools_do_install
-}
-