rebuilt without .la files and with specfile cleanups [release 3.78-3mamba;Sun Dec 04 2022]
This commit is contained in:
parent
268d581dc2
commit
5b599d9e97
28
README.md
28
README.md
@ -1,32 +1,4 @@
|
|||||||
# pstoedit
|
# pstoedit
|
||||||
|
|
||||||
PStoEdit translates PostScript and PDF graphics into other vector formats.
|
PStoEdit translates PostScript and PDF graphics into other vector formats.
|
||||||
Implementing support for other formats should be very easy.
|
|
||||||
The architecture of pstoedit consists of a PostScript frontend which needs to call a PostScript interpreter like Ghostscript and the individual backends which are pugged into a kind of framework.
|
|
||||||
This framework can be used independently from the PostScript frontend from any other program.
|
|
||||||
The framework provides a uniform interface to all different backends.
|
|
||||||
|
|
||||||
Currently pstoedit can generate the following formats:
|
|
||||||
- Tgif .obj format (for tgif version >= 3)
|
|
||||||
- fig format for xfig
|
|
||||||
- pdf Adobe Portable Document Format
|
|
||||||
- gnuplot format
|
|
||||||
- Flattened PostScript (with or without Bezier curves)
|
|
||||||
- DXF - CAD exchange format
|
|
||||||
- LWO - LightWave 3D
|
|
||||||
- RIB - RenderMan
|
|
||||||
- RPL - Real3D
|
|
||||||
- Idraw format (a special format of EPS that Idraw can read)
|
|
||||||
- Tcl/Tk
|
|
||||||
- HPGL
|
|
||||||
- AI - Adobe Illustrator Format (based on ps2ai.ps, not a real pstoedit)
|
|
||||||
- WMF - Windows Meta Files
|
|
||||||
- PIC format for troff/groff
|
|
||||||
- MetaPost format per usage with TeX/LaTeX
|
|
||||||
- LaTeX2e picture
|
|
||||||
- Kontour
|
|
||||||
- GNU Metafile (plotutils/libplot)
|
|
||||||
- Sketch (http://sketch.sourceforge.net)
|
|
||||||
- Mathematica
|
|
||||||
- trough ImageMagick to any format supported by ImageMagick
|
|
||||||
|
|
||||||
|
10
pstoedit-3.78-gcc-12.0.2.patch
Normal file
10
pstoedit-3.78-gcc-12.0.2.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- pstoedit-3.78/src/drvpptx.cpp.orig 2022-12-03 19:54:46.235083940 +0000
|
||||||
|
+++ pstoedit-3.78/src/drvpptx.cpp 2022-12-03 19:55:14.024897978 +0000
|
||||||
|
@@ -39,6 +39,7 @@
|
||||||
|
|
||||||
|
#include <errno.h>
|
||||||
|
#include <algorithm>
|
||||||
|
+#include <memory>
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
// MS VC++ Windows
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: pstoedit
|
Name: pstoedit
|
||||||
Version: 3.78
|
Version: 3.78
|
||||||
Release: 2mamba
|
Release: 3mamba
|
||||||
Summary: Translates PostScript and PDF graphics into other vector formats
|
Summary: Translates PostScript and PDF graphics into other vector formats
|
||||||
Group: Applications/Graphics
|
Group: Applications/Graphics
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -14,42 +14,26 @@ Patch0: %{name}-3.45-gcc4_no_pedantic.patch
|
|||||||
Patch1: %{name}-3.45-gcc43.patch
|
Patch1: %{name}-3.45-gcc43.patch
|
||||||
Patch2: %{name}-3.45-drvswf.patch
|
Patch2: %{name}-3.45-drvswf.patch
|
||||||
Patch3: %{name}-3.45-gcc44.patch
|
Patch3: %{name}-3.45-gcc44.patch
|
||||||
|
Patch4: pstoedit-3.78-gcc-12.0.2.patch
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libEMF-devel
|
BuildRequires: libEMF-devel
|
||||||
BuildRequires: libICE-devel
|
|
||||||
BuildRequires: libSM-devel
|
|
||||||
BuildRequires: libX11-devel
|
|
||||||
BuildRequires: libXau-devel
|
|
||||||
BuildRequires: libXaw-devel
|
|
||||||
BuildRequires: libXdmcp-devel
|
BuildRequires: libXdmcp-devel
|
||||||
BuildRequires: libXext-devel
|
|
||||||
BuildRequires: libXmu-devel
|
|
||||||
BuildRequires: libXpm-devel
|
BuildRequires: libXpm-devel
|
||||||
BuildRequires: libXt-devel
|
|
||||||
BuildRequires: libbrotli-devel
|
BuildRequires: libbrotli-devel
|
||||||
BuildRequires: libbsd-devel
|
|
||||||
BuildRequires: libbzip2-devel
|
BuildRequires: libbzip2-devel
|
||||||
BuildRequires: libexpat-devel
|
|
||||||
BuildRequires: libfontconfig-devel
|
|
||||||
BuildRequires: libfreetype-devel
|
BuildRequires: libfreetype-devel
|
||||||
BuildRequires: libgcc
|
BuildRequires: libgcc
|
||||||
BuildRequires: libgd-devel
|
BuildRequires: libgd-devel
|
||||||
BuildRequires: libgif-devel
|
|
||||||
BuildRequires: libglib-devel
|
BuildRequires: libglib-devel
|
||||||
BuildRequires: libgraphite2-devel
|
BuildRequires: libgraphite2-devel
|
||||||
BuildRequires: libharfbuzz-devel
|
|
||||||
BuildRequires: libjbig-devel
|
BuildRequires: libjbig-devel
|
||||||
BuildRequires: libjpeg-devel
|
BuildRequires: libjpeg-devel
|
||||||
BuildRequires: liblzma-devel
|
|
||||||
BuildRequires: libming-devel
|
BuildRequires: libming-devel
|
||||||
BuildRequires: libpcre-devel
|
|
||||||
BuildRequires: libplot-devel
|
BuildRequires: libplot-devel
|
||||||
BuildRequires: libpng-devel
|
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
BuildRequires: libtiff-devel
|
BuildRequires: libtiff-devel
|
||||||
BuildRequires: libuuid-devel
|
|
||||||
BuildRequires: libwebp-devel
|
BuildRequires: libwebp-devel
|
||||||
BuildRequires: libxcb-devel
|
BuildRequires: libxcb-devel
|
||||||
BuildRequires: libz-devel
|
BuildRequires: libz-devel
|
||||||
@ -65,41 +49,14 @@ Requires: ghostscript >= 7.07.1
|
|||||||
|
|
||||||
%description
|
%description
|
||||||
PStoEdit translates PostScript and PDF graphics into other vector formats.
|
PStoEdit translates PostScript and PDF graphics into other vector formats.
|
||||||
Implementing support for other formats should be very easy.
|
|
||||||
The architecture of pstoedit consists of a PostScript frontend which needs to call a PostScript interpreter like Ghostscript and the individual backends which are pugged into a kind of framework.
|
|
||||||
This framework can be used independently from the PostScript frontend from any other program.
|
|
||||||
The framework provides a uniform interface to all different backends.
|
|
||||||
|
|
||||||
Currently pstoedit can generate the following formats:
|
|
||||||
- Tgif .obj format (for tgif version >= 3)
|
|
||||||
- fig format for xfig
|
|
||||||
- pdf Adobe Portable Document Format
|
|
||||||
- gnuplot format
|
|
||||||
- Flattened PostScript (with or without Bezier curves)
|
|
||||||
- DXF - CAD exchange format
|
|
||||||
- LWO - LightWave 3D
|
|
||||||
- RIB - RenderMan
|
|
||||||
- RPL - Real3D
|
|
||||||
- Idraw format (a special format of EPS that Idraw can read)
|
|
||||||
- Tcl/Tk
|
|
||||||
- HPGL
|
|
||||||
- AI - Adobe Illustrator Format (based on ps2ai.ps, not a real pstoedit)
|
|
||||||
- WMF - Windows Meta Files
|
|
||||||
- PIC format for troff/groff
|
|
||||||
- MetaPost format per usage with TeX/LaTeX
|
|
||||||
- LaTeX2e picture
|
|
||||||
- Kontour
|
|
||||||
- GNU Metafile (plotutils/libplot)
|
|
||||||
- Sketch (http://sketch.sourceforge.net)
|
|
||||||
- Mathematica
|
|
||||||
- trough ImageMagick to any format supported by ImageMagick
|
|
||||||
|
|
||||||
%package -n %{libname}
|
%package -n %{libname}
|
||||||
Summary: Libraries for application which use %{name}
|
Summary: Libraries for application which use %{name}
|
||||||
Group: System/Multimedia
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n %{libname}
|
%description -n %{libname}
|
||||||
PStoEdit translates PostScript and PDF graphics into other vector formats.
|
PStoEdit translates PostScript and PDF graphics into other vector formats.
|
||||||
|
This package contains the shared libraries provided with %{name}.
|
||||||
|
|
||||||
%package -n %{libname}-devel
|
%package -n %{libname}-devel
|
||||||
Summary: Devel package for %{name}
|
Summary: Devel package for %{name}
|
||||||
@ -114,10 +71,7 @@ This package contains static libraries and header files needed for development.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
#%patch0 -p1
|
%patch4 -p1
|
||||||
#%patch1 -p1
|
|
||||||
#%patch2 -p1
|
|
||||||
#%patch3 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
@ -150,25 +104,26 @@ done
|
|||||||
|
|
||||||
%files -n %{libname}
|
%files -n %{libname}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/libpstoedit.so.*
|
||||||
%{_libdir}/%{name}/*.so.*
|
%dir %{_libdir}/%{name}
|
||||||
|
%{_libdir}/%{name}/lib*.so*
|
||||||
%doc copying
|
%doc copying
|
||||||
|
|
||||||
%files -n %{libname}-devel
|
%files -n %{libname}-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
#%{_bindir}/%{name}-config
|
%dir %{_includedir}/%{name}
|
||||||
%{_includedir}/%{name}/*.h
|
%{_includedir}/%{name}/*.h
|
||||||
%{_libdir}/*.la
|
%{_libdir}/libpstoedit.so
|
||||||
%{_libdir}/*.so
|
|
||||||
%{_libdir}/%{name}/*.la
|
|
||||||
%{_libdir}/%{name}/*.so
|
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
%{_datadir}/aclocal/%{name}.m4
|
%{_datadir}/aclocal/%{name}.m4
|
||||||
%dir %{_datadir}/doc/pstoedit
|
%dir %{_docdir}/pstoedit
|
||||||
%{_datadir}/doc/pstoedit/*
|
%{_docdir}/pstoedit/*
|
||||||
%doc examples/*.ps
|
%doc examples/*.ps
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Dec 04 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.78-3mamba
|
||||||
|
- rebuilt without .la files and with specfile cleanups
|
||||||
|
|
||||||
* Tue Jan 04 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.78-2mamba
|
* Tue Jan 04 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.78-2mamba
|
||||||
- rebuilt with debug package and specfile fixes
|
- rebuilt with debug package and specfile fixes
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user