[gnuplot] fix the problem with fonts (#537960)

Ivana Varekova varekova at fedoraproject.org
Tue Aug 17 08:00:06 UTC 2010


commit 4ec5adb3d68f5760b3ff75d0771317016ab68049
Author: Ivana Hutarova Varekova <varekova at redhat.com>
Date:   Tue Aug 17 10:02:52 2010 +0200

    fix the problem with fonts (#537960)

 gnuplot.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/gnuplot.spec b/gnuplot.spec
index 2e5ab5b..ad37e8c 100644
--- a/gnuplot.spec
+++ b/gnuplot.spec
@@ -7,7 +7,7 @@
 Summary: A program for plotting mathematical expressions and data
 Name: gnuplot
 Version: %{major}.%{minor}.%{patchlevel}
-Release: 4%{?dist}
+Release: 5%{?dist}
 # Modifications are to be distributed as patches to the released version.
 # aglfn.txt has license: MIT
 License: gnuplot and MIT
@@ -16,10 +16,12 @@ URL: http://www.gnuplot.info/
 Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
 Source2: gnuplot-init.el
 Patch1: gnuplot-4.2.0-refers_to.patch
+Patch2: gnuplot-4.2.0-fonts.patch
 BuildRequires: libpng-devel, tex(latex), zlib-devel, libX11-devel, emacs
 BuildRequires: texinfo, readline-devel, libXt-devel, gd-devel, wxGTK-devel
 BuildRequires: latex2html
 Requires: %{name}-common = %{version}-%{release}
+Requires: dejavu-sans-fonts
 Requires(post): %{_sbindir}/alternatives
 Requires(preun): %{_sbindir}/alternatives
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -114,6 +116,7 @@ plotting tool.
 %prep
 %setup -q
 %patch1 -p1 -b .refto
+%patch2 -p1 -b .font
 sed -i -e 's:"/usr/lib/X11/app-defaults":"%{x11_app_defaults_dir}":' src/gplt_x11.c
 iconv -f windows-1252 -t utf-8 ChangeLog > ChangeLog.aux
 mv ChangeLog.aux ChangeLog
@@ -252,6 +255,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/texmf/tex/latex/gnuplot/gnuplot-lua-tikz.sty
 
 %changelog
+* Tue Aug 17 2010 Ivana Hutarova Varekova <varekova at redhat.com> 4.4.0-4
+- Resolves: #537960
+  Could not find/open font when opening font "arial"
+
 * Wed Jul 14 2010 Dan Horák <dan at danny.cz> - 4.4.0-4
 - rebuilt against wxGTK-2.8.11-2
 


More information about the scm-commits mailing list