Compare commits
9 Commits
3.73-1mamb
...
main
Author | SHA1 | Date | |
---|---|---|---|
a81d7d876f | |||
0eacaf4e79 | |||
268c57ff1a | |||
5b599d9e97 | |||
268d581dc2 | |||
dc7f027ee8 | |||
8ba2657b17 | |||
4fc3cfa526 | |||
ad8dc041e6 |
28
README.md
28
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
|
||||
|
||||
|
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
|
105
pstoedit.spec
105
pstoedit.spec
@ -1,41 +1,31 @@
|
||||
%define libname lib%{name}
|
||||
|
||||
Name: pstoedit
|
||||
Version: 3.73
|
||||
Version: 4.02
|
||||
Release: 1mamba
|
||||
Summary: Translates PostScript and PDF graphics into other vector formats
|
||||
Group: Applications/Graphics
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Davide Madrisan <davide.madrisan@qilinux.it>
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://www.pstoedit.net/pstoedit
|
||||
Source: http://downloads.sourceforge.net/sourceforge/pstoedit/pstoedit-%{version}.tar.gz
|
||||
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: ghostscript-devel
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: ImageMagick-devel
|
||||
BuildRequires: libEMF-devel
|
||||
BuildRequires: libexpat-devel
|
||||
BuildRequires: libfontconfig-devel
|
||||
BuildRequires: libfreetype-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libgd-devel
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: libming-devel
|
||||
BuildRequires: libplot-devel
|
||||
BuildRequires: libpng-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: libXau-devel
|
||||
BuildRequires: libxcb-devel
|
||||
BuildRequires: libXdmcp-devel
|
||||
BuildRequires: libXpm-devel
|
||||
BuildRequires: libz-devel
|
||||
BuildRequires: libzip-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libMagick-devel >= 6.9.1.4-1mamba
|
||||
BuildRequires: libbzip2-devel
|
||||
@ -43,45 +33,17 @@ BuildRequires: liblcms-devel
|
||||
BuildRequires: libtiff-devel
|
||||
Requires: %{libname} >= %{?epoch:%epoch:}%{version}-%{release}
|
||||
Requires: ghostscript >= 7.07.1
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%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}
|
||||
@ -90,15 +52,13 @@ Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description -n %{libname}-devel
|
||||
PStoEdit translates PostScript and PDF graphics into other vector formats.
|
||||
This package contains static libraries and header files needed for development.
|
||||
|
||||
This package contains static libraries and header files need for development.
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
#%patch0 -p1
|
||||
%patch1 -p1
|
||||
#%patch2 -p1
|
||||
#%patch3 -p1
|
||||
#%patch 4 -p1
|
||||
|
||||
%build
|
||||
%configure \
|
||||
@ -120,36 +80,59 @@ done
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
|
||||
%post -n %{libname} -p /sbin/ldconfig
|
||||
%postun -n %{libname} -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/%{name}/*
|
||||
%{_mandir}/man1/%{name}.*
|
||||
%doc copying
|
||||
|
||||
%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
|
||||
* Sat Nov 30 2024 Automatic Build System <autodist@openmamba.org> 4.02-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Mar 29 2024 Automatic Build System <autodist@openmamba.org> 4.01-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Jul 27 2023 Automatic Build System <autodist@mambasoft.it> 4.00-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* 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
|
||||
- rebuilt with debug package and specfile fixes
|
||||
|
||||
* Wed Nov 24 2021 Automatic Build System <autodist@mambasoft.it> 3.78-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Sep 04 2021 Automatic Build System <autodist@mambasoft.it> 3.77-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Feb 01 2020 Automatic Build System <autodist@mambasoft.it> 3.75-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Jun 07 2019 Automatic Build System <autodist@mambasoft.it> 3.74-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Jun 23 2018 Automatic Build System <autodist@mambasoft.it> 3.73-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user