<html><body><div>---<br> rtems/config/4.11/graphics/freetype2.bset | 20 ++++++++++<br> rtems/config/graphics/freetype-2.4.10-1.cfg | 21 ++++++++++<br> source-builder/config/freetype-1.cfg | 62 +++++++++++++++++++++++++++++<br> 3 files changed, 103 insertions(+)<br> create mode 100644 rtems/config/4.11/graphics/freetype2.bset<br> create mode 100644 rtems/config/graphics/freetype-2.4.10-1.cfg<br> create mode 100644 source-builder/config/freetype-1.cfg<br><br>diff --git a/rtems/config/4.11/graphics/freetype2.bset b/rtems/config/4.11/graphics/freetype2.bset<br>new file mode 100644<br>index 0000000..71971a0<br>--- /dev/null<br>+++ b/rtems/config/4.11/graphics/freetype2.bset<br>@@ -0,0 +1,20 @@<br>+#<br>+# Build set for freetype<br>+#<br>+<br>+%define release 1<br>+<br>+#<br>+# RTEMS Version<br>+#<br>+%define rtems_version 4.11<br>+<br>+#<br>+# The RTEMS URL paths.<br>+#<br>+%include rtems-urls.bset<br>+<br>+#<br>+# Build freetype.<br>+#<br>+graphics/freetype-2.4.10-1.cfg<br>diff --git a/rtems/config/graphics/freetype-2.4.10-1.cfg b/rtems/config/graphics/freetype-2.4.10-1.cfg<br>new file mode 100644<br>index 0000000..524dc3a<br>--- /dev/null<br>+++ b/rtems/config/graphics/freetype-2.4.10-1.cfg<br>@@ -0,0 +1,21 @@<br>+#<br>+# freetype 2.4.10<br>+#<br>+<br>+%if %{release} == %{nil}<br>+ %define release 1<br>+%endif<br>+<br>+%include %{_configdir}/rtems-bsp.cfg<br>+<br>+#<br>+# freetype Version<br>+#<br>+%define freetype_version 2.4.10<br>+<br>+%hash md5 freetype-%{freetype_version}.tar.gz 4f255c6ee5d5cc2b5c3d423a07386fcb<br>+<br>+#<br>+# freetype Build configuration<br>+#<br>+%include %{_configdir}/freetype-1.cfg<br>diff --git a/source-builder/config/freetype-1.cfg b/source-builder/config/freetype-1.cfg<br>new file mode 100644<br>index 0000000..72fe1d3<br>--- /dev/null<br>+++ b/source-builder/config/freetype-1.cfg<br>@@ -0,0 +1,62 @@<br>+#<br>+# freetype<br>+#<br>+# This configuration file configure's, make's and install's freetype.<br>+#<br>+<br>+%if %{release} == %{nil}<br>+%define release 1<br>+%endif<br>+<br>+Name: freetype-v%{freetype_version}-%{_host}-%{release}<br>+Summary: freetype is for producing high-quality output (glyph images) of most vector and bitmap font formats.<br>+Version: %{freetype_version}<br>+Release: %{release}<br>+URL: http://www.freetype.org/<br>+BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)<br>+<br>+#<br>+# freetype Source<br>+#<br>+%source set freetype http://download.savannah.gnu.org/releases/freetype/freetype-%{freetype_version}.tar.gz<br>+#<br>+# Prepare the source code.<br>+#<br>+%prep<br>+ build_top=$(pwd)<br>+<br>+ source_dir_freetype="freetype-%{freetype_version}"<br>+ %source setup freetype -q -n freetype-%{freetype_version}<br>+ %patch setup freetype -p1<br>+<br>+ cd ${build_top}<br>+<br>+%build<br>+ build_top=$(pwd)<br>+<br>+ %{build_directory}<br>+<br>+ mkdir -p ${build_dir}<br>+ cd ${build_dir}<br>+<br>+ %{host_build_flags}<br>+<br>+ ../${source_dir_freetype}/configure \<br>+ --host=%{_host} \<br>+ --prefix=%{_prefix} \<br>+ --includedir=%{_includedir} \<br>+ --libdir=%{_libdir} \<br>+ --disable-shared<br>+<br>+ %{__make} %{?_smp_mflags} all<br>+<br>+ cd ${build_top}<br>+<br>+%install<br>+ build_top=$(pwd)<br>+<br>+ %{__rmdir} $SB_BUILD_ROOT<br>+<br>+ cd ${build_dir}<br>+ %{__make} DESTDIR=$SB_BUILD_ROOT install<br>+ cd ${build_top}<br>-- <br>2.1.0<br><br></div></body></html>