Added patch to add -quiet option
This commit is contained in:
parent
2377fb63d9
commit
a8f4bcf51e
49
pstoedit-3.44-quiet.patch
Normal file
49
pstoedit-3.44-quiet.patch
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
--- pstoedit-3.44/src/pstoedit.cpp.orig 2007-03-25 15:28:36.000000000 +0200
|
||||||
|
+++ pstoedit-3.44/src/pstoedit.cpp 2007-03-25 15:53:12.000000000 +0200
|
||||||
|
@@ -352,14 +352,16 @@
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+ const unsigned int remaining = options.parseoptions(errstream,argc,argv);
|
||||||
|
+
|
||||||
|
+ if (!options.quiet) {
|
||||||
|
errstream << "pstoedit: version " << version << " / DLL interface " <<
|
||||||
|
drvbaseVersion << " (build " << __DATE__ << " - " << buildtype << " - " << compversion << ")"
|
||||||
|
" : Copyright (C) 1993 - 2006 Wolfgang Glunz\n";
|
||||||
|
+ }
|
||||||
|
// int arg = 1;
|
||||||
|
drvbase::SetVerbose( false ); // init
|
||||||
|
|
||||||
|
-
|
||||||
|
- const unsigned int remaining = options.parseoptions(errstream,argc,argv);
|
||||||
|
// handling of derived parameters
|
||||||
|
drvbase::SetVerbose(options.verbose);
|
||||||
|
closerObject.fromgui = (bool) options.fromgui;
|
||||||
|
--- pstoedit-3.44/src/pstoeditoptions.h.orig 2007-03-25 15:26:10.000000000 +0200
|
||||||
|
+++ pstoedit-3.44/src/pstoeditoptions.h 2007-03-25 15:26:49.000000000 +0200
|
||||||
|
@@ -156,6 +156,7 @@
|
||||||
|
|
||||||
|
Option < bool, BoolTrueExtractor > splitpages ;//= false;
|
||||||
|
Option < bool, BoolTrueExtractor > verbose ;//= false;
|
||||||
|
+ Option < bool, BoolTrueExtractor > quiet ;//= false;
|
||||||
|
Option < bool, BoolTrueExtractor > useBBfrominput; //= false;
|
||||||
|
Option < bool, BoolTrueExtractor > simulateSubPaths ;//= false;
|
||||||
|
Option < RSString, RSStringValueExtractor> unmappablecharstring ;//= 0;
|
||||||
|
@@ -333,6 +334,9 @@
|
||||||
|
"Switch on verbose mode. Some additional information is shown "
|
||||||
|
"during processing. ",
|
||||||
|
false),
|
||||||
|
+ quiet (true, "-quiet",noArgument,b_t,"turns on quiet mode",
|
||||||
|
+ "Switch on quiet mode. Version information is not shown. ",
|
||||||
|
+ false),
|
||||||
|
useBBfrominput (true, "-usebbfrominput",noArgument,g_t,"extract BoundingBox from input file rather than determining it during processing",
|
||||||
|
"If specified, pstoedit uses the BoundingBox as is (hopefully) found in the input file instead of one that is calculated by its own. ",
|
||||||
|
false),
|
||||||
|
@@ -573,6 +577,7 @@
|
||||||
|
|
||||||
|
ADD(splitpages);
|
||||||
|
ADD(verbose );
|
||||||
|
+ ADD(quiet);
|
||||||
|
ADD(useBBfrominput);
|
||||||
|
ADD(simulateSubPaths);
|
||||||
|
ADD(unmappablecharstring);
|
@ -1,6 +1,6 @@
|
|||||||
Name: pstoedit
|
Name: pstoedit
|
||||||
Version: 3.44
|
Version: 3.44
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: Translates PostScript and PDF graphics into other vector formats
|
Summary: Translates PostScript and PDF graphics into other vector formats
|
||||||
|
|
||||||
Group: Applications/Productivity
|
Group: Applications/Productivity
|
||||||
@ -8,6 +8,7 @@ License: GPL
|
|||||||
URL: http://www.pstoedit.net/
|
URL: http://www.pstoedit.net/
|
||||||
Source0: http://download.sourceforge.net/pstoedit/pstoedit-%{version}.tar.gz
|
Source0: http://download.sourceforge.net/pstoedit/pstoedit-%{version}.tar.gz
|
||||||
Patch0: pstoedit-3.44-cxxflags.patch
|
Patch0: pstoedit-3.44-cxxflags.patch
|
||||||
|
Patch1: pstoedit-3.44-quiet.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
Requires: ghostscript
|
Requires: ghostscript
|
||||||
BuildRequires: gd-devel
|
BuildRequires: gd-devel
|
||||||
@ -40,6 +41,7 @@ applications
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -b .cxxflags
|
%patch0 -p1 -b .cxxflags
|
||||||
|
%patch1 -p1 -b .quiet
|
||||||
dos2unix doc/*.htm doc/readme.txt
|
dos2unix doc/*.htm doc/readme.txt
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -84,6 +86,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_datadir}/aclocal/*.m4
|
%{_datadir}/aclocal/*.m4
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Mar 25 2007 Denis Leroy <denis@poolshark.org> - 3.44-6
|
||||||
|
- Added patch to add -quiet option
|
||||||
|
|
||||||
* Wed Nov 22 2006 Denis Leroy <denis@poolshark.org> - 3.44-5
|
* Wed Nov 22 2006 Denis Leroy <denis@poolshark.org> - 3.44-5
|
||||||
- Added libEMF support
|
- Added libEMF support
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user