rpms/pstoedit/EL-5 pstoedit-3.45-quiet.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 pstoedit.spec, 1.4, 1.5 sources, 1.2, 1.3

Denis Leroy (denis) fedora-extras-commits at redhat.com
Wed Jan 23 11:17:01 UTC 2008


Author: denis

Update of /cvs/pkgs/rpms/pstoedit/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16893

Modified Files:
	.cvsignore pstoedit.spec sources 
Added Files:
	pstoedit-3.45-quiet.patch 
Log Message:
- Updated to upstream 3.45
- Added quiet patch
- Updated license tag


pstoedit-3.45-quiet.patch:

--- NEW FILE pstoedit-3.45-quiet.patch ---
--- pstoedit-3.45/src/pstoedit.cpp.orig	2007-07-22 13:27:38.000000000 +0200
+++ pstoedit-3.45/src/pstoedit.cpp	2007-09-20 11:08:32.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 - 2007 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.45/src/pstoeditoptions.h.orig	2007-09-20 11:07:14.000000000 +0200
+++ pstoedit-3.45/src/pstoeditoptions.h	2007-09-20 11:06: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);


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/pstoedit/EL-5/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	15 Jun 2006 15:31:09 -0000	1.2
+++ .cvsignore	23 Jan 2008 11:16:02 -0000	1.3
@@ -1 +1 @@
-pstoedit-3.44.tar.gz
+pstoedit-3.45.tar.gz


Index: pstoedit.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pstoedit/EL-5/pstoedit.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- pstoedit.spec	23 Nov 2006 09:49:43 -0000	1.4
+++ pstoedit.spec	23 Jan 2008 11:16:02 -0000	1.5
@@ -1,13 +1,14 @@
 Name:           pstoedit
-Version:        3.44
-Release:        5%{?dist}
+Version:        3.45
+Release:        2%{?dist}
 Summary:        Translates PostScript and PDF graphics into other vector formats
 
 Group:          Applications/Productivity
-License:        GPL
+License:        GPLv2+
 URL:            http://www.pstoedit.net/
 Source0:        http://download.sourceforge.net/pstoedit/pstoedit-%{version}.tar.gz
 Patch0:		pstoedit-3.44-cxxflags.patch
+Patch1:         pstoedit-3.45-quiet.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires:	ghostscript
 BuildRequires:	gd-devel
@@ -39,6 +40,7 @@
 %prep
 %setup -q
 %patch0 -p1 -b .cxxflags
+%patch1 -p1 -b .quiet
 dos2unix doc/*.htm doc/readme.txt
 
 %build
@@ -83,6 +85,11 @@
 %{_datadir}/aclocal/*.m4
 
 %changelog
+* Wed Jan 23 2008 Denis Leroy <denis at poolshark.org> - 3.45-2
+- Updated to upstream 3.45
+- Added quiet patch
+- Updated license tag
+
 * Thu Nov 23 2006 Denis Leroy <denis at poolshark.org> - 3.44-5
 - Added libEMF support
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pstoedit/EL-5/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	15 Jun 2006 15:31:09 -0000	1.2
+++ sources	23 Jan 2008 11:16:02 -0000	1.3
@@ -1 +1 @@
-13f24cb070da3f6af82ed84f4e53f049  pstoedit-3.44.tar.gz
+071efc64d9edf5d942b407348ac7451d  pstoedit-3.45.tar.gz




More information about the fedora-extras-commits mailing list