packages: plplot/plplot.spec - build pdf driver (based on libharu) - wxwidg...

qboosh qboosh at pld-linux.org
Sun Nov 20 10:24:38 CET 2011


Author: qboosh                       Date: Sun Nov 20 09:24:38 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- build pdf driver (based on libharu)
- wxwidgets driver doesn't need plplot wxwidgets binding

---- Files affected:
packages/plplot:
   plplot.spec (1.54 -> 1.55) 

---- Diffs:

================================================================
Index: packages/plplot/plplot.spec
diff -u packages/plplot/plplot.spec:1.54 packages/plplot/plplot.spec:1.55
--- packages/plplot/plplot.spec:1.54	Sat Nov 19 17:37:20 2011
+++ packages/plplot/plplot.spec	Sun Nov 20 10:24:33 2011
@@ -1,10 +1,13 @@
 # $Revision$, $Date$
 # TODO:
 # - java, itcl, perl_pdl - why disabled?
-# - D binding
-# - AQT (AquaTerm/AQTAdapter.h)
-# - svgalib (bcond)?
-# - system libharu/hpdf (libhpdf, hpdf.h)
+# - bindings: ada, d, gnome2, java, lua, ocaml, tk-x-plat?
+# NOTES:
+# aqt driver is Darwin-only
+# wingcc driver is Windows-only
+# gd driver is not maintained
+# dg300,gcw,gnome,hpgl,impress,linuxvga,ljii,ljiip,pbm,tek are retired
+# pstex deprecated in favour of psttf and pscairo
 #
 # Conditional build:
 %bcond_without	gnome2		# GNOME 2 and pygtk bindings
@@ -38,13 +41,13 @@
 BuildRequires:	freetype-devel >= 2.1.0
 BuildRequires:	gcc-c++
 BuildRequires:	gcc-fortran
-#BuildRequires:	gd-devel
 %{?with_itcl:BuildRequires:	itcl-devel}
 BuildRequires:	jadetex
 %{?with_java:BuildRequires:	jdk}
 BuildRequires:	lapack-devel
 BuildRequires:	libLASi-devel
 %{?with_gnome2:BuildRequires:	libgnomeprintui-devel >= 2.2}
+BuildRequires:	libharu-devel >= 2.1.0
 BuildRequires:	libjpeg-devel
 BuildRequires:	libltdl-devel
 BuildRequires:	libpng-devel
@@ -130,6 +133,20 @@
 Sterownik ntk (new tk) dla biblioteki PLplot. Obsługuje wyjście
 poprzez Tcl/Tk.
 
+%package driver-pdf
+Summary:	pdf driver for PLplot library
+Summary(pl.UTF-8):	Sterownik pdf dla biblioteki PLplot
+Group:		Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	libharu >= 2.1.0
+
+%description driver-pdf
+pdf driver for PLplot library. It's PDF driver using Haru library.
+
+%description driver-pdf -l pl.UTF-8
+Sterownik pdf dla biblioteki PLplot. Jest to sterownik PDF
+wykorzystujący bibliotekę Haru.
+
 %package driver-psttf
 Summary:	psttf driver for PLplot library
 Summary(pl.UTF-8):	Sterownik psttf dla biblioteki PLplot
@@ -187,7 +204,7 @@
 Summary:	wxWidgets driver for PLplot library
 Summary(pl.UTF-8):	Sterownik wxWidgets dla biblioteki PLplot
 Group:		Libraries
-Requires:	%{name}-wxWidgets = %{version}-%{release}
+Requires:	%{name} = %{version}-%{release}
 
 %description driver-wxwidgets
 wxWidgets driver for PLplot library. Supports wxWidgets output.
@@ -510,10 +527,10 @@
 	-DENABLE_ada=OFF \
 	-DENABLE_itcl=%{!?with_itcl:OFF}%{?with_itcl:ON} \
 	-DENABLE_itk=%{!?with_itcl:OFF}%{?with_itcl:ON} \
-	-DHAVE_PTHREAD=ON \
+	-DPLD_cgm=ON \
 	-DPLD_ntk=ON \
+	-DPLD_pdf=ON \
 	-DPLD_plmeta=ON \
-	-DPLD_cgm=ON \
 	-DPLD_pstex=ON \
 	-DPL_FREETYPE_FONT_PATH=/usr/share/fonts/TTF \
 	-DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-gtk2-unicode-config \
@@ -627,6 +644,11 @@
 %attr(755,root,root) %{_libdir}/plplot%{version}/driversd/ntk.so
 %{_libdir}/plplot%{version}/driversd/ntk.driver_info
 
+%files driver-pdf
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/plplot%{version}/driversd/pdf.so
+%{_libdir}/plplot%{version}/driversd/pdf.driver_info
+
 %files driver-psttf
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/plplot%{version}/driversd/psttf.so
@@ -846,6 +868,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.55  2011/11/20 09:24:33  qboosh
+- build pdf driver (based on libharu)
+- wxwidgets driver doesn't need plplot wxwidgets binding
+
 Revision 1.54  2011/11/19 16:37:20  qboosh
 - actually use wx* BRs, build wxwidgets binding and driver (also BR: agg-devel)
 - build psttf driver (BR: libLASi-devel); added nofonts patch not to check fonts at build time
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/plplot/plplot.spec?r1=1.54&r2=1.55&f=u



More information about the pld-cvs-commit mailing list