This commit is contained in:
parent
9d822048f4
commit
831f9843f8
@ -1,59 +0,0 @@
|
|||||||
--- src/variable.c.orig 2006-08-16 05:33:43.000000000 +0200
|
|
||||||
+++ src/variable.c 2006-08-16 05:34:54.000000000 +0200
|
|
||||||
@@ -257,6 +257,8 @@
|
|
||||||
{ "$`kpsexpand '$TEXMFMAIN'`/fonts/type1!" },
|
|
||||||
{ "$`kpsexpand '$TEXMFLOCAL'`/fonts/type1!" },
|
|
||||||
/* Linux paths */
|
|
||||||
+ { "/usr/share/fonts/Type1" },
|
|
||||||
+ { "/usr/share/fonts/truetype" },
|
|
||||||
{ "/usr/X11R6/lib/X11/fonts/Type1" },
|
|
||||||
{ "/usr/X11R6/lib/X11/fonts/truetype" },
|
|
||||||
/* HP-UX */
|
|
||||||
--- src/gplt_x11.c
|
|
||||||
+++ src/gplt_x11.c 2007-05-30 14:16:08.004124402 +0200
|
|
||||||
@@ -133,6 +133,8 @@ Error. Incompatible options.
|
|
||||||
#include <X11/Xatom.h>
|
|
||||||
#include <X11/keysym.h>
|
|
||||||
#ifdef USE_X11_MULTIBYTE
|
|
||||||
+# include <locale.h>
|
|
||||||
+# include <langinfo.h>
|
|
||||||
# include <X11/Xlocale.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
@@ -488,8 +490,8 @@ static char *gpFallbackFont __PROTO((voi
|
|
||||||
static int gpXGetFontascent __PROTO((XFontStruct *cfont));
|
|
||||||
|
|
||||||
enum set_encoding_id encoding = S_ENC_DEFAULT; /* EAM - mirrored from core code by 'QE' */
|
|
||||||
-static char default_font[64] = { '\0' };
|
|
||||||
-static char default_encoding[16] = { '\0' };
|
|
||||||
+static char default_font[256] = { '\0' };
|
|
||||||
+static char default_encoding[64] = { '\0' };
|
|
||||||
|
|
||||||
#define Nwidths 10
|
|
||||||
static unsigned int widths[Nwidths] = { 2, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
|
|
||||||
@@ -2099,6 +2101,8 @@ exec_cmd(plot_struct *plot, char *comman
|
|
||||||
/* Save the request default font */
|
|
||||||
c = &(buffer[strlen(buffer)-1]);
|
|
||||||
while (*c <= ' ') *c-- = '\0';
|
|
||||||
+ if (strlen(&buffer[2]) == 0)
|
|
||||||
+ break;
|
|
||||||
strncpy(default_font, &buffer[2], strlen(&buffer[2])+1);
|
|
||||||
FPRINTF((stderr, "gnuplot_x11: exec_cmd() set default_font to \"%s\"\n", default_font));
|
|
||||||
break;
|
|
||||||
@@ -5487,6 +5491,16 @@ char *fontname;
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef USE_X11_MULTIBYTE
|
|
||||||
+ if ((!fontname || !(*fontname)) && multibyte_fonts_usable) {
|
|
||||||
+ const char * codeset = nl_langinfo(CODESET);
|
|
||||||
+ if (strcasestr(codeset, "UTF-8")) {
|
|
||||||
+ const char* utf8 = "mbfont:sazanami,16 mincho-medium,verdana-medium,16 dejavu,sans,20";
|
|
||||||
+ strncpy(default_font, utf8, strlen(utf8)+1);
|
|
||||||
+ }
|
|
||||||
+ }
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
+#ifdef USE_X11_MULTIBYTE
|
|
||||||
if (fontname && strncmp(fontname, "mbfont:", 7) == 0) {
|
|
||||||
if (multibyte_fonts_usable) {
|
|
||||||
usemultibyte = 1;
|
|
90
gnuplot-4.2.2-fonts.dif
Normal file
90
gnuplot-4.2.2-fonts.dif
Normal file
@ -0,0 +1,90 @@
|
|||||||
|
--- src/gplt_x11.c
|
||||||
|
+++ src/gplt_x11.c 2008-03-14 15:26:15.789448595 +0100
|
||||||
|
@@ -104,6 +104,10 @@ static char *RCSid() { return RCSid("$Id
|
||||||
|
* patches by Masahito Yamaga <ma@yama-ga.com>
|
||||||
|
*/
|
||||||
|
|
||||||
|
+#ifndef _GNU_SOURCE
|
||||||
|
+#define _GNU_SOURCE
|
||||||
|
+#endif
|
||||||
|
+#include <string.h>
|
||||||
|
#include "syscfg.h"
|
||||||
|
#include "stdfn.h"
|
||||||
|
#include "gp_types.h"
|
||||||
|
@@ -133,6 +137,8 @@ Error. Incompatible options.
|
||||||
|
#include <X11/Xatom.h>
|
||||||
|
#include <X11/keysym.h>
|
||||||
|
#ifdef USE_X11_MULTIBYTE
|
||||||
|
+# include <locale.h>
|
||||||
|
+# include <langinfo.h>
|
||||||
|
# include <X11/Xlocale.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
@@ -471,7 +477,7 @@ static double mouse_to_axis __PROTO((int
|
||||||
|
static char *FallbackFont = "fixed";
|
||||||
|
#ifdef USE_X11_MULTIBYTE
|
||||||
|
static char *FallbackFontMB =
|
||||||
|
- "mbfont:*-medium-r-normal--14-*;*-medium-r-normal--16-*";
|
||||||
|
+ "mbfont:*-medium-r-normal--14-*,*-medium-r-normal--16-*";
|
||||||
|
# define FontSetSep ';'
|
||||||
|
static int usemultibyte = 0;
|
||||||
|
static int multibyte_fonts_usable=1;
|
||||||
|
@@ -488,8 +494,8 @@ static char *gpFallbackFont __PROTO((voi
|
||||||
|
static int gpXGetFontascent __PROTO((XFontStruct *cfont));
|
||||||
|
|
||||||
|
enum set_encoding_id encoding = S_ENC_DEFAULT; /* EAM - mirrored from core code by 'QE' */
|
||||||
|
-static char default_font[64] = { '\0' };
|
||||||
|
-static char default_encoding[16] = { '\0' };
|
||||||
|
+static char default_font[256] = { '\0' };
|
||||||
|
+static char default_encoding[64] = { '\0' };
|
||||||
|
|
||||||
|
#define Nwidths 10
|
||||||
|
static unsigned int widths[Nwidths] = { 2, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
|
||||||
|
@@ -2099,6 +2105,8 @@ exec_cmd(plot_struct *plot, char *comman
|
||||||
|
/* Save the request default font */
|
||||||
|
c = &(buffer[strlen(buffer)-1]);
|
||||||
|
while (*c <= ' ') *c-- = '\0';
|
||||||
|
+ if (strlen(&buffer[2]) == 0)
|
||||||
|
+ break;
|
||||||
|
strncpy(default_font, &buffer[2], strlen(&buffer[2])+1);
|
||||||
|
FPRINTF((stderr, "gnuplot_x11: exec_cmd() set default_font to \"%s\"\n", default_font));
|
||||||
|
break;
|
||||||
|
@@ -5397,7 +5405,7 @@ XFontStruct *gpXLoadQueryFont (Display *
|
||||||
|
}
|
||||||
|
#else
|
||||||
|
if (first_time) {
|
||||||
|
- fprintf(stderr,"gnuplot_x11: Some character sets not available\n");
|
||||||
|
+ FPRINTF(("gnuplot_x11: Some character sets not available\n"));
|
||||||
|
first_time = FALSE;
|
||||||
|
}
|
||||||
|
while (n_miss-- > 0)
|
||||||
|
@@ -5490,6 +5498,18 @@ char *fontname;
|
||||||
|
}
|
||||||
|
|
||||||
|
#ifdef USE_X11_MULTIBYTE
|
||||||
|
+ if ((!fontname || !(*fontname)) && multibyte_fonts_usable) {
|
||||||
|
+ const char * codeset = nl_langinfo(CODESET);
|
||||||
|
+ if (strcasestr(codeset, "UTF-8")) {
|
||||||
|
+ const char* utf8 = "mbfont:-*-sazanami*mincho-medium-r-normal--16-* \
|
||||||
|
+-*-mincho-medium-r-normal--16-*,-*-verdana-medium-r-normal--16-* \
|
||||||
|
+-*-dejavu*sans-medium-r-normal--16-*,-*-medium-r-normal--16-*";
|
||||||
|
+ strncpy(default_font, utf8, strlen(utf8)+1);
|
||||||
|
+ }
|
||||||
|
+ }
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
+#ifdef USE_X11_MULTIBYTE
|
||||||
|
if (fontname && strncmp(fontname, "mbfont:", 7) == 0) {
|
||||||
|
if (multibyte_fonts_usable) {
|
||||||
|
usemultibyte = 1;
|
||||||
|
--- src/variable.c
|
||||||
|
+++ src/variable.c 2008-03-14 15:27:11.596615232 +0100
|
||||||
|
@@ -263,6 +263,8 @@ static const struct path_table fontpath_
|
||||||
|
{ "$`kpsexpand '$TEXMFDIST'`/fonts/type1!" },
|
||||||
|
#endif
|
||||||
|
/* Linux paths */
|
||||||
|
+ { "/usr/share/fonts/Type1" },
|
||||||
|
+ { "/usr/share/fonts/truetype" },
|
||||||
|
{ "/usr/X11R6/lib/X11/fonts/Type1" },
|
||||||
|
{ "/usr/X11R6/lib/X11/fonts/truetype" },
|
||||||
|
/* HP-UX */
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 14 15:00:13 CET 2008 - werner@suse.de
|
||||||
|
|
||||||
|
- Disable warning about missing character set to avoid bnc#369156
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 14 15:24:04 CET 2007 - werner@suse.de
|
Fri Dec 14 15:24:04 CET 2007 - werner@suse.de
|
||||||
|
|
||||||
|
191
gnuplot.spec
191
gnuplot.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package gnuplot (Version 4.2.2)
|
# spec file for package gnuplot (Version 4.2.2)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
# This file and all modifications and additions to the pristine
|
||||||
# package are under the same license as the package itself.
|
# package are under the same license as the package itself.
|
||||||
#
|
#
|
||||||
@ -10,6 +10,7 @@
|
|||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
|
|
||||||
Name: gnuplot
|
Name: gnuplot
|
||||||
BuildRequires: cairo-devel freetype2-devel gcc-c++ gd-devel gtk2-devel latex2html libjpeg-devel libpng-devel pango-devel plotutils readline-devel texlive-latex wxGTK-devel xorg-x11-devel
|
BuildRequires: cairo-devel freetype2-devel gcc-c++ gd-devel gtk2-devel latex2html libjpeg-devel libpng-devel pango-devel plotutils readline-devel texlive-latex wxGTK-devel xorg-x11-devel
|
||||||
Url: http://www.gnuplot.info/
|
Url: http://www.gnuplot.info/
|
||||||
@ -18,14 +19,14 @@ Group: Productivity/Graphics/Visualization/Graph
|
|||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
PreReq: %install_info_prereq
|
PreReq: %install_info_prereq
|
||||||
Version: 4.2.2
|
Version: 4.2.2
|
||||||
Release: 1
|
Release: 36
|
||||||
Summary: Function Plotting Utility
|
Summary: Function Plotting Utility
|
||||||
Source0: gnuplot-4.2.2.tar.bz2
|
Source0: gnuplot-4.2.2.tar.bz2
|
||||||
Source2: gnuplot-fr.doc.bz2
|
Source2: gnuplot-fr.doc.bz2
|
||||||
Source3: README.whynot
|
Source3: README.whynot
|
||||||
Patch0: gnuplot-4.2.0.dif
|
Patch0: gnuplot-4.2.0.dif
|
||||||
Patch1: gnuplot-4.2.0-x11ovf.dif
|
Patch1: gnuplot-4.2.0-x11ovf.dif
|
||||||
Patch2: gnuplot-4.2.0-fonts.dif
|
Patch2: gnuplot-4.2.2-fonts.dif
|
||||||
Patch3: gnuplot-4.2.0-wxt.dif
|
Patch3: gnuplot-4.2.0-wxt.dif
|
||||||
Patch4: gnuplot-4.2.0-demo.dif
|
Patch4: gnuplot-4.2.0-demo.dif
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -61,7 +62,7 @@ Authors:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n gnuplot-%{version}
|
%setup -q -n gnuplot-%{version}
|
||||||
bunzip2 -dc $RPM_SOURCE_DIR/gnuplot-fr.doc.bz2 > docs/gnuplot-fr.doc
|
bunzip2 -dc %{_sourcedir}/gnuplot-fr.doc.bz2 > docs/gnuplot-fr.doc
|
||||||
test $? -eq 0 || exit 1
|
test $? -eq 0 || exit 1
|
||||||
%patch -P 1 -p 0 -b .x11ovf
|
%patch -P 1 -p 0 -b .x11ovf
|
||||||
%patch -P 3 -p 0
|
%patch -P 3 -p 0
|
||||||
@ -71,7 +72,7 @@ test $? -eq 0 || exit 1
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
SECSVGA="-DSVGA_IS_SECURE=1"
|
SECSVGA="-DSVGA_IS_SECURE=1"
|
||||||
export CPPFLAGS="-I/usr/X11R6/include -I/usr/include/gd"
|
export CPPFLAGS="-I%{_x11inc} -I%{_includedir}/gd"
|
||||||
export CFLAGS="${RPM_OPT_FLAGS} -pipe ${SECSVGA}"
|
export CFLAGS="${RPM_OPT_FLAGS} -pipe ${SECSVGA}"
|
||||||
export CXXFLAGS="$CFLAGS -fno-strict-aliasing"
|
export CXXFLAGS="$CFLAGS -fno-strict-aliasing"
|
||||||
export LDFLAGS="-L%{_x11lib}"
|
export LDFLAGS="-L%{_x11lib}"
|
||||||
@ -85,20 +86,20 @@ test $? -eq 0 || exit 1
|
|||||||
aclocal -I m4
|
aclocal -I m4
|
||||||
autoconf
|
autoconf
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=%{_prefix} \
|
||||||
--mandir=%{_mandir} \
|
--mandir=%{_mandir} \
|
||||||
--infodir=%{_infodir} \
|
--infodir=%{_infodir} \
|
||||||
--libexecdir=/usr/%_lib \
|
--libexecdir=%{_libdir} \
|
||||||
--datadir=%{_datadir} \
|
--datadir=%{_datadir} \
|
||||||
--with-gcc \
|
--with-gcc \
|
||||||
--with-x \
|
--with-x \
|
||||||
--x-includes=%{_x11inc} \
|
--x-includes=%{_x11inc} \
|
||||||
--x-libraries=%{_x11lib} \
|
--x-libraries=%{_x11lib}\
|
||||||
--with-readline=gnu \
|
--with-readline=gnu \
|
||||||
--enable-history-file \
|
--enable-history-file \
|
||||||
--with-linux-vga \
|
--with-linux-vga \
|
||||||
--with-gif=png \
|
--with-gif=png \
|
||||||
--with-freetype=/usr/%_lib \
|
--with-freetype=%{_libdir}\
|
||||||
--enable-x11-mbfonts \
|
--enable-x11-mbfonts \
|
||||||
--enable-h3d-quadtree \
|
--enable-h3d-quadtree \
|
||||||
--with-zlib \
|
--with-zlib \
|
||||||
@ -106,7 +107,7 @@ test $? -eq 0 || exit 1
|
|||||||
--enable-thin-splines \
|
--enable-thin-splines \
|
||||||
--without-row-help \
|
--without-row-help \
|
||||||
--with-kpsexpand \
|
--with-kpsexpand \
|
||||||
--with-plot=/usr/%lib
|
--with-plot=%{_libdir}
|
||||||
make -f Makefile
|
make -f Makefile
|
||||||
pushd docs/
|
pushd docs/
|
||||||
make -f Makefile srcdir=. clean all html pdf gpcard.ps
|
make -f Makefile srcdir=. clean all html pdf gpcard.ps
|
||||||
@ -119,56 +120,56 @@ test $? -eq 0 || exit 1
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf %{buildroot}
|
||||||
make DESTDIR=$RPM_BUILD_ROOT xresourcedir=%{_appdef} install
|
make DESTDIR=%{buildroot} xresourcedir=%{_appdef} install
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_infodir}
|
mkdir -p %{buildroot}/%{_infodir}
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/gnuplot/doc
|
mkdir -p %{buildroot}/%{_docdir}/gnuplot/doc
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/gnuplot/doc/html
|
mkdir -p %{buildroot}/%{_docdir}/gnuplot/doc/html
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/gnuplot/demo
|
mkdir -p %{buildroot}/%{_docdir}/gnuplot/demo
|
||||||
rm -vf docs/htmldocs/images.{aux,idx,log,out,tex}
|
rm -vf docs/htmldocs/images.{aux,idx,log,out,tex}
|
||||||
rm -vf docs/htmldocs/*.pl
|
rm -vf docs/htmldocs/*.pl
|
||||||
rm -vf docs/htmldocs/*.sty
|
rm -vf docs/htmldocs/*.sty
|
||||||
rm -vf docs/htmldocs/WARNINGS
|
rm -vf docs/htmldocs/WARNINGS
|
||||||
rm -vf docs/htmldocs/VERSION
|
rm -vf docs/htmldocs/VERSION
|
||||||
rm -rvf demo/html
|
rm -rvf demo/html
|
||||||
install -m 0444 docs/*.info* $RPM_BUILD_ROOT/%{_infodir}/
|
install -m 0444 docs/*.info* %{buildroot}/%{_infodir}/
|
||||||
install -m 0444 docs/*.pdf $RPM_BUILD_ROOT/%{_docdir}/gnuplot/doc/
|
install -m 0444 docs/*.pdf %{buildroot}/%{_docdir}/gnuplot/doc/
|
||||||
install -m 0444 docs/gpcard.ps $RPM_BUILD_ROOT/%{_docdir}/gnuplot/doc/
|
install -m 0444 docs/gpcard.ps %{buildroot}/%{_docdir}/gnuplot/doc/
|
||||||
install -m 0444 docs/htmldocs/* $RPM_BUILD_ROOT/%{_docdir}/gnuplot/doc/html
|
install -m 0444 docs/htmldocs/* %{buildroot}/%{_docdir}/gnuplot/doc/html
|
||||||
install -m 0444 docs/psdoc/*.pdf $RPM_BUILD_ROOT/%{_docdir}/gnuplot/doc/
|
install -m 0444 docs/psdoc/*.pdf %{buildroot}/%{_docdir}/gnuplot/doc/
|
||||||
install -m 0444 docs/psdoc/*.ps $RPM_BUILD_ROOT/%{_docdir}/gnuplot/doc/
|
install -m 0444 docs/psdoc/*.ps %{buildroot}/%{_docdir}/gnuplot/doc/
|
||||||
install -m 0444 docs/psdoc/*.gpi $RPM_BUILD_ROOT/%{_docdir}/gnuplot/doc/
|
install -m 0444 docs/psdoc/*.gpi %{buildroot}/%{_docdir}/gnuplot/doc/
|
||||||
install -m 0444 docs/psdoc/*.doc $RPM_BUILD_ROOT/%{_docdir}/gnuplot/doc/
|
install -m 0444 docs/psdoc/*.doc %{buildroot}/%{_docdir}/gnuplot/doc/
|
||||||
install -m 0444 docs/psdoc/README $RPM_BUILD_ROOT/%{_docdir}/gnuplot/doc/
|
install -m 0444 docs/psdoc/README %{buildroot}/%{_docdir}/gnuplot/doc/
|
||||||
install -m 0444 tutorial/*.pdf $RPM_BUILD_ROOT/%{_docdir}/gnuplot/doc/
|
install -m 0444 tutorial/*.pdf %{buildroot}/%{_docdir}/gnuplot/doc/
|
||||||
install -m 0444 demo/* $RPM_BUILD_ROOT/%{_docdir}/gnuplot/demo/
|
install -m 0444 demo/* %{buildroot}/%{_docdir}/gnuplot/demo/
|
||||||
install -m 0444 README* $RPM_BUILD_ROOT/%{_docdir}/gnuplot/
|
install -m 0444 README* %{buildroot}/%{_docdir}/gnuplot/
|
||||||
install -m 0444 Copyright $RPM_BUILD_ROOT/%{_docdir}/gnuplot/
|
install -m 0444 Copyright %{buildroot}/%{_docdir}/gnuplot/
|
||||||
install -m 0444 FAQ TODO VERSION $RPM_BUILD_ROOT/%{_docdir}/gnuplot/
|
install -m 0444 FAQ TODO VERSION %{buildroot}/%{_docdir}/gnuplot/
|
||||||
install -m 0444 NEWS VERSION BUGS $RPM_BUILD_ROOT/%{_docdir}/gnuplot/
|
install -m 0444 NEWS VERSION BUGS %{buildroot}/%{_docdir}/gnuplot/
|
||||||
install -m 0444 %{SOURCE3} $RPM_BUILD_ROOT/%{_docdir}/gnuplot/
|
install -m 0444 %{SOURCE3} %{buildroot}/%{_docdir}/gnuplot/
|
||||||
rm -f $RPM_BUILD_ROOT/%{_docdir}/gnuplot/demo/Makefile*
|
rm -f %{buildroot}/%{_docdir}/gnuplot/demo/Makefile*
|
||||||
mv -f $RPM_BUILD_ROOT/%_appdef/Gnuplot.app-defaults $RPM_BUILD_ROOT/%_appdef/Gnuplot
|
mv -f %{buildroot}/%_appdef/Gnuplot.app-defaults %{buildroot}/%_appdef/Gnuplot
|
||||||
for dem in $RPM_BUILD_ROOT/%{_docdir}/gnuplot/demo/* ; do
|
for dem in %{buildroot}/%{_docdir}/gnuplot/demo/* ; do
|
||||||
sed "s|@@GNUPLOTDEMOPATH@@|%{_docdir}/gnuplot/demo/|g" < ${dem} > ${dem}.tmp
|
sed "s|@@GNUPLOTDEMOPATH@@|%{_docdir}/gnuplot/demo/|g" < ${dem} > ${dem}.tmp
|
||||||
touch -r ${dem} ${dem}.tmp
|
touch -r ${dem} ${dem}.tmp
|
||||||
mv -f ${dem}.tmp ${dem}
|
mv -f ${dem}.tmp ${dem}
|
||||||
done
|
done
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
%install_info --info-dir=.%{_infodir} .%{_infodir}/%{name}.info.gz
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
%install_info_delete --info-dir=.%{_infodir} .%{_infodir}/%{name}.info.gz
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc %{_docdir}/gnuplot/
|
%doc %{_docdir}/gnuplot/
|
||||||
/usr/bin/gnuplot
|
%{_bindir}/gnuplot
|
||||||
/usr/%{_lib}/gnuplot
|
%{_libdir}/gnuplot
|
||||||
%doc %{_infodir}/%{name}.info.gz
|
%doc %{_infodir}/%{name}.info.gz
|
||||||
%doc %{_mandir}/man1/gnuplot.1.gz
|
%doc %{_mandir}/man1/gnuplot.1.gz
|
||||||
%{_datadir}/gnuplot
|
%{_datadir}/gnuplot
|
||||||
@ -176,7 +177,9 @@ test $? -eq 0 || exit 1
|
|||||||
%{_appdef}/Gnuplot
|
%{_appdef}/Gnuplot
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Dec 14 2007 - werner@suse.de
|
* Fri Mar 14 2008 werner@suse.de
|
||||||
|
- Disable warning about missing character set to avoid bnc#369156
|
||||||
|
* Fri Dec 14 2007 werner@suse.de
|
||||||
- Update to gnuplot 4.2.2
|
- Update to gnuplot 4.2.2
|
||||||
* FIX Axis labels were ignored in mode "set view map"
|
* FIX Axis labels were ignored in mode "set view map"
|
||||||
Candlesticks did not receive the border color specified in fillstyle
|
Candlesticks did not receive the border color specified in fillstyle
|
||||||
@ -196,22 +199,22 @@ test $? -eq 0 || exit 1
|
|||||||
* CHANGE modify SVG output to accommodate non-compliant viewers
|
* CHANGE modify SVG output to accommodate non-compliant viewers
|
||||||
* CHANGE allow 'strcol()' as shorthand for 'stringcolumn()'
|
* CHANGE allow 'strcol()' as shorthand for 'stringcolumn()'
|
||||||
* CHANGE default to "blacktext" for TeX-based PostScript variants
|
* CHANGE default to "blacktext" for TeX-based PostScript variants
|
||||||
* Wed Sep 05 2007 - werner@suse.de
|
* Wed Sep 05 2007 werner@suse.de
|
||||||
- Correct name of app-defaults file
|
- Correct name of app-defaults file
|
||||||
- Make samples in demo directory usable from any path
|
- Make samples in demo directory usable from any path
|
||||||
thanks goes to Dieter Jurzitza
|
thanks goes to Dieter Jurzitza
|
||||||
* Wed May 30 2007 - werner@suse.de
|
* Wed May 30 2007 werner@suse.de
|
||||||
- Overwrite empty default font for UTF-8 locale (bug #277876)
|
- Overwrite empty default font for UTF-8 locale (bug #277876)
|
||||||
- Get html docs fully build and installed
|
- Get html docs fully build and installed
|
||||||
- Correct datadir
|
- Correct datadir
|
||||||
- The patent of gif is expired
|
- The patent of gif is expired
|
||||||
* Fri May 11 2007 - werner@suse.de
|
* Fri May 11 2007 werner@suse.de
|
||||||
- Use setlocale(..,NULL) instead of gentenv() (bug #272915)
|
- Use setlocale(..,NULL) instead of gentenv() (bug #272915)
|
||||||
* Tue Apr 24 2007 - werner@suse.de
|
* Tue Apr 24 2007 werner@suse.de
|
||||||
- Enable new but experimental wxt terminal (bug #266693)
|
- Enable new but experimental wxt terminal (bug #266693)
|
||||||
* Fri Apr 20 2007 - aj@suse.de
|
* Fri Apr 20 2007 aj@suse.de
|
||||||
- Use texlive for Building.
|
- Use texlive for Building.
|
||||||
* Thu Apr 05 2007 - werner@suse.de
|
* Thu Apr 05 2007 werner@suse.de
|
||||||
- Update to gnuplot 4.2.0
|
- Update to gnuplot 4.2.0
|
||||||
* NEW autogenerated read-only variables prefixed GPVAL_ and "show variables all"
|
* NEW autogenerated read-only variables prefixed GPVAL_ and "show variables all"
|
||||||
* NEW Japanese language documentation - FAQ and User Manual
|
* NEW Japanese language documentation - FAQ and User Manual
|
||||||
@ -280,119 +283,119 @@ test $? -eq 0 || exit 1
|
|||||||
* FIXED arrowheads drawn in solid lines even if the shaft is dotted (PostScript)
|
* FIXED arrowheads drawn in solid lines even if the shaft is dotted (PostScript)
|
||||||
* FIXED estimate true effective length of strings in enhanced text mode
|
* FIXED estimate true effective length of strings in enhanced text mode
|
||||||
* FIXED clipping of filled curves
|
* FIXED clipping of filled curves
|
||||||
* Wed Aug 16 2006 - sndirsch@suse.de
|
* Wed Aug 16 2006 sndirsch@suse.de
|
||||||
- gnuplot-4.0.0-fonts.dif: fixed font paths for X.Org 7
|
- gnuplot-4.0.0-fonts.dif: fixed font paths for X.Org 7
|
||||||
* Tue Jan 31 2006 - werner@suse.de
|
* Tue Jan 31 2006 werner@suse.de
|
||||||
- Fix stupid buffer overflow in x11 display program (bug #146870)
|
- Fix stupid buffer overflow in x11 display program (bug #146870)
|
||||||
* Wed Jan 25 2006 - mls@suse.de
|
* Wed Jan 25 2006 mls@suse.de
|
||||||
- converted neededforbuild to BuildRequires
|
- converted neededforbuild to BuildRequires
|
||||||
* Thu Jul 21 2005 - werner@suse.de
|
* Thu Jul 21 2005 werner@suse.de
|
||||||
- Re-use libgd because we get jpeg/png support with truetype font
|
- Re-use libgd because we get jpeg/png support with truetype font
|
||||||
and gif dummy support which is png output for term gif (#97208)
|
and gif dummy support which is png output for term gif (#97208)
|
||||||
* Thu Feb 10 2005 - ro@suse.de
|
* Thu Feb 10 2005 ro@suse.de
|
||||||
- remove dropped tetex subpackages from nfb
|
- remove dropped tetex subpackages from nfb
|
||||||
* Thu Apr 29 2004 - werner@suse.de
|
* Thu Apr 29 2004 werner@suse.de
|
||||||
- Use GNU readline library
|
- Use GNU readline library
|
||||||
- Enable thin splines for 3D
|
- Enable thin splines for 3D
|
||||||
* Tue Apr 27 2004 - werner@suse.de
|
* Tue Apr 27 2004 werner@suse.de
|
||||||
- Update to gnuplot 4.0.0
|
- Update to gnuplot 4.0.0
|
||||||
* Tue Apr 20 2004 - meissner@suse.de
|
* Tue Apr 20 2004 meissner@suse.de
|
||||||
- aliasing fixes.
|
- aliasing fixes.
|
||||||
* Thu Oct 16 2003 - meissner@suse.de
|
* Thu Oct 16 2003 meissner@suse.de
|
||||||
- Do not build as root.
|
- Do not build as root.
|
||||||
- Fixed lib64 handling to be more correct, since 32bit systems
|
- Fixed lib64 handling to be more correct, since 32bit systems
|
||||||
can now have /lib64/ too.
|
can now have /lib64/ too.
|
||||||
* Fri Jun 13 2003 - coolo@suse.de
|
* Fri Jun 13 2003 coolo@suse.de
|
||||||
- fixing docs installation
|
- fixing docs installation
|
||||||
* Thu Jun 12 2003 - coolo@suse.de
|
* Thu Jun 12 2003 coolo@suse.de
|
||||||
- use BuildRoot
|
- use BuildRoot
|
||||||
* Thu Apr 24 2003 - ro@suse.de
|
* Thu Apr 24 2003 ro@suse.de
|
||||||
- fix install_info --delete call and move from preun to postun
|
- fix install_info --delete call and move from preun to postun
|
||||||
* Tue Mar 25 2003 - werner@suse.de
|
* Tue Mar 25 2003 werner@suse.de
|
||||||
- Make mouse patch work as it should
|
- Make mouse patch work as it should
|
||||||
* Mon Mar 24 2003 - werner@suse.de
|
* Mon Mar 24 2003 werner@suse.de
|
||||||
- Update to gnuplot 3.7.3
|
- Update to gnuplot 3.7.3
|
||||||
- Port patches (if needed) to 3.7.3
|
- Port patches (if needed) to 3.7.3
|
||||||
* Fri Feb 28 2003 - werner@suse.de
|
* Fri Feb 28 2003 werner@suse.de
|
||||||
- Fix bug #23417: use intall-info for info file
|
- Fix bug #23417: use intall-info for info file
|
||||||
* Fri Nov 22 2002 - werner@suse.de
|
* Fri Nov 22 2002 werner@suse.de
|
||||||
- Fix buffer overflow
|
- Fix buffer overflow
|
||||||
- Fix svgalib handling for secure svgalibs
|
- Fix svgalib handling for secure svgalibs
|
||||||
* Tue Sep 17 2002 - ro@suse.de
|
* Tue Sep 17 2002 ro@suse.de
|
||||||
- removed bogus self-provides
|
- removed bogus self-provides
|
||||||
* Fri Jul 26 2002 - adrian@suse.de
|
* Fri Jul 26 2002 adrian@suse.de
|
||||||
- fix neededforbuild
|
- fix neededforbuild
|
||||||
* Mon May 06 2002 - werner@suse.de
|
* Mon May 06 2002 werner@suse.de
|
||||||
- Do some lib64 stuff
|
- Do some lib64 stuff
|
||||||
* Thu Apr 04 2002 - ro@suse.de
|
* Thu Apr 04 2002 ro@suse.de
|
||||||
- more brackets for autoconf
|
- more brackets for autoconf
|
||||||
* Sun Feb 10 2002 - ro@suse.de
|
* Sun Feb 10 2002 ro@suse.de
|
||||||
- tar option for bz2 is now "j"
|
- tar option for bz2 is now "j"
|
||||||
* Fri Feb 01 2002 - ro@suse.de
|
* Fri Feb 01 2002 ro@suse.de
|
||||||
- changed neededforbuild <libpng> to <libpng-devel-packages>
|
- changed neededforbuild <libpng> to <libpng-devel-packages>
|
||||||
* Wed Jan 09 2002 - ro@suse.de
|
* Wed Jan 09 2002 ro@suse.de
|
||||||
- fixed to compile (don't include fcntl when building the help)
|
- fixed to compile (don't include fcntl when building the help)
|
||||||
* Sat Jan 05 2002 - kukuk@suse.de
|
* Sat Jan 05 2002 kukuk@suse.de
|
||||||
- fix neededforbuild (plotutil -> plotutils)
|
- fix neededforbuild (plotutil -> plotutils)
|
||||||
* Tue Dec 18 2001 - werner@suse.de
|
* Tue Dec 18 2001 werner@suse.de
|
||||||
- Be sure that the waitforinput function is called even if real
|
- Be sure that the waitforinput function is called even if real
|
||||||
readline library is used or none interactive mode is on. Be sure
|
readline library is used or none interactive mode is on. Be sure
|
||||||
that the buffered token will be handles even if there is no
|
that the buffered token will be handles even if there is no
|
||||||
activity on stdin and set a time out to be not blocked (#12625)
|
activity on stdin and set a time out to be not blocked (#12625)
|
||||||
* Mon Nov 12 2001 - ro@suse.de
|
* Mon Nov 12 2001 ro@suse.de
|
||||||
- no svgalib
|
- no svgalib
|
||||||
* Tue Jun 12 2001 - schwab@suse.de
|
* Tue Jun 12 2001 schwab@suse.de
|
||||||
- Fix for new autoconf.
|
- Fix for new autoconf.
|
||||||
* Tue May 08 2001 - mfabian@suse.de
|
* Tue May 08 2001 mfabian@suse.de
|
||||||
- bzip2 sources
|
- bzip2 sources
|
||||||
* Thu Mar 29 2001 - garloff@suse.de
|
* Thu Mar 29 2001 garloff@suse.de
|
||||||
- Prevent stupid rounding errors 10*10^23 instead of 10^24
|
- Prevent stupid rounding errors 10*10^23 instead of 10^24
|
||||||
in graphics.c: mant_exp()
|
in graphics.c: mant_exp()
|
||||||
* Fri Feb 23 2001 - ro@suse.de
|
* Fri Feb 23 2001 ro@suse.de
|
||||||
- added readline/readline-devel to neededforbuild (split from bash)
|
- added readline/readline-devel to neededforbuild (split from bash)
|
||||||
* Sun Dec 03 2000 - schwab@suse.de
|
* Sun Dec 03 2000 schwab@suse.de
|
||||||
- Fix resource leak in X11 terminal driver.
|
- Fix resource leak in X11 terminal driver.
|
||||||
* Wed Jun 21 2000 - werner@suse.de
|
* Wed Jun 21 2000 werner@suse.de
|
||||||
- Add French doc (somewhat out of date)
|
- Add French doc (somewhat out of date)
|
||||||
* Wed Jun 07 2000 - werner@suse.de
|
* Wed Jun 07 2000 werner@suse.de
|
||||||
- New version 3.7.1 with many bug fixes included
|
- New version 3.7.1 with many bug fixes included
|
||||||
* Tue Jun 06 2000 - uli@suse.de
|
* Tue Jun 06 2000 uli@suse.de
|
||||||
- moved docs to /usr/share/doc
|
- moved docs to /usr/share/doc
|
||||||
* Fri Feb 25 2000 - kukuk@suse.de
|
* Fri Feb 25 2000 kukuk@suse.de
|
||||||
- Move /usr/{info,man} -> /usr/share/{info,man}
|
- Move /usr/{info,man} -> /usr/share/{info,man}
|
||||||
* Mon Oct 11 1999 - ro@suse.de
|
* Tue Oct 12 1999 ro@suse.de
|
||||||
- disabled gdlib support (we have png anyway and gd doesn't support
|
- disabled gdlib support (we have png anyway and gd doesn't support
|
||||||
gif any more)
|
gif any more)
|
||||||
* Mon Sep 13 1999 - bs@suse.de
|
* Mon Sep 13 1999 bs@suse.de
|
||||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||||
* Mon May 03 1999 - werner@suse.de
|
* Mon May 03 1999 werner@suse.de
|
||||||
- Do not use system time because gnuplot interface isn't able
|
- Do not use system time because gnuplot interface isn't able
|
||||||
to handle summer time
|
to handle summer time
|
||||||
- Use /tmp/ for temporaray files of demos
|
- Use /tmp/ for temporaray files of demos
|
||||||
* Wed Mar 10 1999 - werner@suse.de
|
* Wed Mar 10 1999 werner@suse.de
|
||||||
- Fix from one of the authors (HBB) to avoid buffer overflow
|
- Fix from one of the authors (HBB) to avoid buffer overflow
|
||||||
* Tue Mar 09 1999 - werner@suse.de
|
* Tue Mar 09 1999 werner@suse.de
|
||||||
- New patchlevel 0.1 with patch gnuplot.990304 for security
|
- New patchlevel 0.1 with patch gnuplot.990304 for security
|
||||||
* Tue Mar 02 1999 - werner@suse.de
|
* Tue Mar 02 1999 werner@suse.de
|
||||||
- New version: 3.7
|
- New version: 3.7
|
||||||
* add some official fixes
|
* add some official fixes
|
||||||
* fix the official fix of fit.c
|
* fix the official fix of fit.c
|
||||||
* add gif and unixplot for output
|
* add gif and unixplot for output
|
||||||
* Sun Aug 23 1998 - bs@suse.de
|
* Sun Aug 23 1998 bs@suse.de
|
||||||
- fixed "neededforbuild"
|
- fixed "neededforbuild"
|
||||||
* Mon Jul 13 1998 - werner@suse.de
|
* Mon Jul 13 1998 werner@suse.de
|
||||||
- New version: 3.5beta6.347
|
- New version: 3.5beta6.347
|
||||||
* Security fix for svga linux driver call
|
* Security fix for svga linux driver call
|
||||||
* Some enhancements
|
* Some enhancements
|
||||||
* Some bug fixes
|
* Some bug fixes
|
||||||
* Thu Oct 23 1997 - werner@suse.de
|
* Thu Oct 23 1997 werner@suse.de
|
||||||
- New version: 3.5beta6.336
|
- New version: 3.5beta6.336
|
||||||
* Mon Feb 03 1997 - werner@suse.de
|
* Tue Feb 04 1997 werner@suse.de
|
||||||
- Update auf Version 3.5-beta-3.6pl319
|
- Update auf Version 3.5-beta-3.6pl319
|
||||||
- Diese Version hat splines und bezier zum Fit für
|
- Diese Version hat splines und bezier zum Fit für
|
||||||
von Messdaten.
|
von Messdaten.
|
||||||
- verschoben von ap1 -> xap1
|
- verschoben von ap1 -> xap1
|
||||||
* Thu Jan 02 1997 - werner@suse.de
|
* Thu Jan 02 1997 werner@suse.de
|
||||||
- Neu Erstellen des Paketes:
|
- Neu Erstellen des Paketes:
|
||||||
Mit vollständiger Dokumentation und Beispielen
|
Mit vollständiger Dokumentation und Beispielen
|
||||||
unter /usr/doc/packages/gnuplot/
|
unter /usr/doc/packages/gnuplot/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user