diff --git a/README.md b/README.md index fdb8041..291bfd0 100644 --- a/README.md +++ b/README.md @@ -1,32 +1,4 @@ # pstoedit 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 diff --git a/pstoedit-3.78-gcc-12.0.2.patch b/pstoedit-3.78-gcc-12.0.2.patch new file mode 100644 index 0000000..6302d65 --- /dev/null +++ b/pstoedit-3.78-gcc-12.0.2.patch @@ -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 + #include ++#include + + #ifdef _MSC_VER + // MS VC++ Windows diff --git a/pstoedit.spec b/pstoedit.spec index 7336914..6b10d08 100644 --- a/pstoedit.spec +++ b/pstoedit.spec @@ -2,7 +2,7 @@ Name: pstoedit Version: 3.78 -Release: 2mamba +Release: 3mamba Summary: Translates PostScript and PDF graphics into other vector formats Group: Applications/Graphics Vendor: openmamba @@ -14,42 +14,26 @@ Patch0: %{name}-3.45-gcc4_no_pedantic.patch Patch1: %{name}-3.45-gcc43.patch Patch2: %{name}-3.45-drvswf.patch Patch3: %{name}-3.45-gcc44.patch +Patch4: pstoedit-3.78-gcc-12.0.2.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libEMF-devel -BuildRequires: libICE-devel -BuildRequires: libSM-devel -BuildRequires: libX11-devel -BuildRequires: libXau-devel -BuildRequires: libXaw-devel BuildRequires: libXdmcp-devel -BuildRequires: libXext-devel -BuildRequires: libXmu-devel BuildRequires: libXpm-devel -BuildRequires: libXt-devel BuildRequires: libbrotli-devel -BuildRequires: libbsd-devel BuildRequires: libbzip2-devel -BuildRequires: libexpat-devel -BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libgcc BuildRequires: libgd-devel -BuildRequires: libgif-devel BuildRequires: libglib-devel BuildRequires: libgraphite2-devel -BuildRequires: libharfbuzz-devel BuildRequires: libjbig-devel BuildRequires: libjpeg-devel -BuildRequires: liblzma-devel BuildRequires: libming-devel -BuildRequires: libpcre-devel BuildRequires: libplot-devel -BuildRequires: libpng-devel BuildRequires: libstdc++6-devel BuildRequires: libtiff-devel -BuildRequires: libuuid-devel BuildRequires: libwebp-devel BuildRequires: libxcb-devel BuildRequires: libz-devel @@ -65,41 +49,14 @@ Requires: ghostscript >= 7.07.1 %description 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} Summary: Libraries for application which use %{name} -Group: System/Multimedia +Group: System/Libraries %description -n %{libname} PStoEdit translates PostScript and PDF graphics into other vector formats. +This package contains the shared libraries provided with %{name}. %package -n %{libname}-devel Summary: Devel package for %{name} @@ -114,10 +71,7 @@ This package contains static libraries and header files needed for development. %prep %setup -q -#%patch0 -p1 -#%patch1 -p1 -#%patch2 -p1 -#%patch3 -p1 +%patch4 -p1 %build %configure \ @@ -150,25 +104,26 @@ done %files -n %{libname} %defattr(-,root,root) -%{_libdir}/*.so.* -%{_libdir}/%{name}/*.so.* +%{_libdir}/libpstoedit.so.* +%dir %{_libdir}/%{name} +%{_libdir}/%{name}/lib*.so* %doc copying %files -n %{libname}-devel %defattr(-,root,root) -#%{_bindir}/%{name}-config +%dir %{_includedir}/%{name} %{_includedir}/%{name}/*.h -%{_libdir}/*.la -%{_libdir}/*.so -%{_libdir}/%{name}/*.la -%{_libdir}/%{name}/*.so +%{_libdir}/libpstoedit.so %{_libdir}/pkgconfig/*.pc %{_datadir}/aclocal/%{name}.m4 -%dir %{_datadir}/doc/pstoedit -%{_datadir}/doc/pstoedit/* +%dir %{_docdir}/pstoedit +%{_docdir}/pstoedit/* %doc examples/*.ps %changelog +* Sun Dec 04 2022 Silvan Calarco 3.78-3mamba +- rebuilt without .la files and with specfile cleanups + * Tue Jan 04 2022 Silvan Calarco 3.78-2mamba - rebuilt with debug package and specfile fixes