From 4ec5adb3d68f5760b3ff75d0771317016ab68049 Mon Sep 17 00:00:00 2001 From: Ivana Hutarova Varekova Date: Tue, 17 Aug 2010 10:02:52 +0200 Subject: [PATCH] fix the problem with fonts (#537960) --- gnuplot.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 4.4.0-4 +- Resolves: #537960 + Could not find/open font when opening font "arial" + * Wed Jul 14 2010 Dan HorĂ¡k - 4.4.0-4 - rebuilt against wxGTK-2.8.11-2