Patchwork [09/17] fontconfig: Upgrade to 2.10.93

login
register
mail settings
Submitter Kim B√łndergaard
Date Oct. 4, 2013, 1:24 p.m.
Message ID <ff481866789aef793041ef56ce3888492feb9f7d.1380892944.git.kibo@prevas.dk>
Download mbox | patch
Permalink /patch/280598/
State Accepted
Delegated to: Esben Haabendal
Headers show

Comments

Kim B√łndergaard - Oct. 4, 2013, 1:24 p.m.
---
 recipes/fontconfig/fontconfig_2.10.93.oe     | 47 ++++++++++++++++++++++++++++
 recipes/fontconfig/fontconfig_2.10.93.oe.sig |  1 +
 2 files changed, 48 insertions(+)
 create mode 100644 recipes/fontconfig/fontconfig_2.10.93.oe
 create mode 100644 recipes/fontconfig/fontconfig_2.10.93.oe.sig
Esben Haabendal - Oct. 14, 2013, 3:27 p.m.
Hmm..  See my first reply to your mail on removing version 2.8.0 :)

I pushed an upgrade to maser branch.

/Esben

Patch

diff --git a/recipes/fontconfig/fontconfig_2.10.93.oe b/recipes/fontconfig/fontconfig_2.10.93.oe
new file mode 100644
index 0000000..b271057
--- /dev/null
+++ b/recipes/fontconfig/fontconfig_2.10.93.oe
@@ -0,0 +1,47 @@ 
+DESCRIPTION = "A library for configuring and customizing font access."
+LICENSE = "BSD"
+
+inherit autotools pkgconfig c++ library
+
+DEPENDS = "libexpat libfreetype libz"
+
+SRC_URI = "http://fontconfig.org/release/${PN}-${PV}.tar.gz"
+
+S = "${SRCDIR}/${PN}-${PV}"
+
+EXTRA_OECONF = " \
+	--disable-docs \
+	--with-arch=${HOST_ARCH} \
+	--with-cache-dir=${localstatedir}/lib/${PN} \
+	--without-xmldir \
+"
+
+do_configure[postfuncs] += "do_configure_extra"
+do_configure_extra () {
+	for makefile in fc-case/Makefile \
+			fc-glyphname/Makefile \
+			fc-lang/Makefile 
+	do
+		sed -i -e 's|^LDFLAGS =.*|LDFLAGS =${BUILD_LDFLAGS}|' \
+		       -e 's|^CFLAGS =.*|CFLAGS =${BUILD_CFLAGS}|' \
+		       -e 's|^CPPFLAGS =.*|CPPFLAGS =${BUILD_CPPFLAGS}|' \
+		       -e 's|^CXXFLAGS =.*|CFLAGS =${BUILD_CXXFLAGS}|' \
+		       $makefile
+	done
+}
+
+EXTRA_OEMAKE = "FC_LANG=fc-lang FC_GLYPHNAME=fc-glyphname"
+export HASDOCBOOK="no"
+
+PACKAGES =+ "${PN}-utils-dbg ${PN}-utils "
+RECIPE_TYPES = "machine native"
+
+FILES_${PN}-utils-dbg = "${bindir}/.debug/*"
+FILES_${PN}-utils = "${bindir}/fc*"
+FILES_${PN} += "${sysconfdir}/fonts"
+FILES_${PN} += "${datadir}/fontconfig"
+FILES_${PN} += "${datadir}/xml"
+
+DEPENDS_${PN} += "libexpat libfreetype libz libc libgcc"
+RDEPENDS_${PN} += "libexpat libfreetype libz libc libgcc"
+RDEPENDS_${PN}-utils += "libfontconfig libexpat libfreetype libz libc libgcc"
diff --git a/recipes/fontconfig/fontconfig_2.10.93.oe.sig b/recipes/fontconfig/fontconfig_2.10.93.oe.sig
new file mode 100644
index 0000000..ccc4b11
--- /dev/null
+++ b/recipes/fontconfig/fontconfig_2.10.93.oe.sig
@@ -0,0 +1 @@ 
+a24072e1e9430d7c02323fa82f5318af69e145e6  fontconfig-2.10.93.tar.gz