<html><body><div>---<br> rtems/config/4.11/graphics/t1lib.bset | 20 ++++++++++<br> rtems/config/graphics/t1lib-5.1.2-1.cfg | 21 ++++++++++<br> source-builder/config/t1lib-1.cfg | 69 +++++++++++++++++++++++++++++++++<br> 3 files changed, 110 insertions(+)<br> create mode 100644 rtems/config/4.11/graphics/t1lib.bset<br> create mode 100644 rtems/config/graphics/t1lib-5.1.2-1.cfg<br> create mode 100644 source-builder/config/t1lib-1.cfg<br><br>diff --git a/rtems/config/4.11/graphics/t1lib.bset b/rtems/config/4.11/graphics/t1lib.bset<br>new file mode 100644<br>index 0000000..63b4f73<br>--- /dev/null<br>+++ b/rtems/config/4.11/graphics/t1lib.bset<br>@@ -0,0 +1,20 @@<br>+#<br>+# Build set for adobe type 1 library<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 t1lib.<br>+#<br>+graphics/t1lib-5.1.2-1.cfg<br>diff --git a/rtems/config/graphics/t1lib-5.1.2-1.cfg b/rtems/config/graphics/t1lib-5.1.2-1.cfg<br>new file mode 100644<br>index 0000000..da18ba1<br>--- /dev/null<br>+++ b/rtems/config/graphics/t1lib-5.1.2-1.cfg<br>@@ -0,0 +1,21 @@<br>+#<br>+# t1lib 5.1.2<br>+#<br>+<br>+%if %{release} == %{nil}<br>+ %define release 1<br>+%endif<br>+<br>+%include %{_configdir}/rtems-bsp.cfg<br>+<br>+#<br>+# t1lib Version<br>+#<br>+%define t1lib_version 5.1.2<br>+<br>+%hash md5 t1lib-%{t1lib_version}.tar.gz a5629b56b93134377718009df1435f3c<br>+<br>+#<br>+# t1lib Build configuration<br>+#<br>+%include %{_configdir}/t1lib-1.cfg<br>diff --git a/source-builder/config/t1lib-1.cfg b/source-builder/config/t1lib-1.cfg<br>new file mode 100644<br>index 0000000..83be6cb<br>--- /dev/null<br>+++ b/source-builder/config/t1lib-1.cfg<br>@@ -0,0 +1,69 @@<br>+#<br>+# t1lib<br>+#<br>+# This configuration file configure's, make's and install's t1lib.<br>+#<br>+<br>+%if %{release} == %{nil}<br>+%define release 1<br>+%endif<br>+<br>+Name: t1lib-v%{t1lib_version}-%{_host}-%{release}<br>+Summary: t1lib is the official PNG reference library<br>+Version: %{t1lib_version}<br>+Release: %{release}<br>+URL: http://www.t1lib.org/<br>+BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)<br>+<br>+#<br>+# t1lib Source<br>+#<br>+%source set t1lib ftp://ftp.netbsd.org/pub/pkgsrc/distfiles/t1lib-%{t1lib_version}.tar.gz<br>+%patch add t1lib https://raw.githubusercontent.com/yangqiao/rtems-tools/graphics/tools/4.11/t1lib/t1lib-5.1.2.diff<br>+<br>+#<br>+# Prepare the source code.<br>+#<br>+%prep<br>+ build_top=$(pwd)<br>+<br>+ source_dir_t1lib="t1lib-%{t1lib_version}"<br>+ %source setup t1lib -q -n t1lib-%{t1lib_version}<br>+ %patch setup t1lib -p1<br>+<br>+ cd ${build_top}<br>+<br>+#<br>+# Build the source code. <br>+# The configure should be run in the source dir<br>+#<br>+%build<br>+ build_top=$(pwd)<br>+<br>+ %{build_directory}<br>+<br>+ cd ${source_dir_t1lib}<br>+<br>+ %{host_build_flags}<br>+<br>+ ./configure \<br>+ --host=%{_host} \<br>+ --prefix=%{_prefix} \<br>+ --includedir=%{_includedir} \<br>+ --datadir=${_prefix}/share \<br>+ --libdir=%{_libdir} \<br>+ --disable-shared \<br>+ --without-athena --without-x<br>+<br>+ %{__make} %{?_smp_mflags} without_doc<br>+<br>+ cd ${build_top}<br>+<br>+%install<br>+ build_top=$(pwd)<br>+<br>+ %{__rmdir} $SB_BUILD_ROOT<br>+<br>+ cd ${source_dir_t1lib}<br>+ %{__make} DESTDIR=$SB_BUILD_ROOT install<br>+ cd ${build_top}<br>-- <br>2.1.0<br><br></div></body></html>