[packages/plplot] - added plmeta patch (fixes build --with plmeta)
qboosh
qboosh at pld-linux.org
Thu Apr 21 20:26:28 CEST 2016
commit e60cfa7c31f037dc57803ebac723bef0fdbdca1d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Apr 21 20:26:52 2016 +0200
- added plmeta patch (fixes build --with plmeta)
plplot-plmeta.patch | 10 ++++++++++
plplot.spec | 7 ++++++-
2 files changed, 16 insertions(+), 1 deletion(-)
---
diff --git a/plplot.spec b/plplot.spec
index 6ad49c1..bf48b8f 100644
--- a/plplot.spec
+++ b/plplot.spec
@@ -41,6 +41,7 @@ Source0: http://downloads.sourceforge.net/plplot/%{name}-%{version}.tar.gz
Patch0: %{name}-octave.patch
Patch1: %{name}-qhull.patch
Patch2: %{name}-no-DISPLAY.patch
+Patch3: %{name}-plmeta.patch
Patch4: %{name}-nofonts.patch
Patch5: %{name}-adadirs.patch
Patch6: %{name}-ocamldir.patch
@@ -624,6 +625,7 @@ Biblioteka PLplot - przykłady do wiązania dla Pythona.
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
@@ -866,10 +868,13 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/cmake/plplot
%dir %{_examplesdir}/%{name}-%{version}
%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/plplot-test.sh
-%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/test_c.sh
%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/plplot-test-interactive.sh
+%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/test_c.sh
%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/test_c_interactive.sh
%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/test_diff.sh
+%if %{with plmeta}
+%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/test_plrender.sh
+%endif
%{_examplesdir}/%{name}-%{version}/c
%{_examplesdir}/%{name}-%{version}/cmake
%{_examplesdir}/%{name}-%{version}/CMakeLists.txt
diff --git a/plplot-plmeta.patch b/plplot-plmeta.patch
new file mode 100644
index 0000000..fdd5dee
--- /dev/null
+++ b/plplot-plmeta.patch
@@ -0,0 +1,10 @@
+--- plplot-5.11.1/include/plDevs.h.in.orig 2015-08-12 19:35:28.000000000 +0200
++++ plplot-5.11.1/include/plDevs.h.in 2016-04-21 18:55:03.511791340 +0200
+@@ -61,6 +61,7 @@
+ #cmakedefine PLD_null
+ #cmakedefine PLD_pdf
+ #cmakedefine PLD_plm
++#cmakedefine PLD_plmeta
+ #cmakedefine PLD_ps
+ #cmakedefine PLD_pstex
+ #cmakedefine PLD_psttf
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/plplot.git/commitdiff/e60cfa7c31f037dc57803ebac723bef0fdbdca1d
More information about the pld-cvs-commit
mailing list