rpms/gv/devel gv-infopopup-warning-fix.patch, NONE, 1.1 gv.spec, 1.16, 1.17

Orion Poplawski (orion) fedora-extras-commits at redhat.com
Wed Aug 6 21:34:16 UTC 2008


Author: orion

Update of /cvs/pkgs/rpms/gv/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv640

Modified Files:
	gv.spec 
Added Files:
	gv-infopopup-warning-fix.patch 
Log Message:
* Wed Aug 6 2008 Orion Poplawski <orion at cora.nwra.com> 3.6.5-3
- Apply upstream patch to display more error messages


gv-infopopup-warning-fix.patch:

--- NEW FILE gv-infopopup-warning-fix.patch ---
Index: src/info.c
===================================================================
--- src/info.c	(Revision 1)
+++ src/info.c	(Arbeitskopie)
@@ -140,7 +140,7 @@
     XtSetValues(infotext,args,n);
     XawTextEnableRedisplay(infotext);
     if (!infoPopupVisible && gv_infoVerbose)
-       if (gv_infoVerbose == 2 || strstr((char*)call_data, "Error:"))
+       if (gv_infoVerbose == 2 || strstr((char*)call_data, "Error:") || strstr((char*)call_data, "ERROR:") || strstr((char*)call_data, "error:"))
           cb_popupInfoPopup((Widget)NULL,(XtPointer)NULL,(XtPointer)NULL);
     ENDMESSAGE(cb_appendInfoPopup)
 }


Index: gv.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gv/devel/gv.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- gv.spec	18 Jul 2008 17:05:09 -0000	1.16
+++ gv.spec	6 Aug 2008 21:33:46 -0000	1.17
@@ -1,7 +1,7 @@
 Summary: A X front-end for the Ghostscript PostScript(TM) interpreter
 Name: gv
 Version: 3.6.5
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: GPLv2+
 Group: Applications/Publishing
 Requires: ghostscript
@@ -11,6 +11,9 @@
 #Install data files in %{_datadir} not %{_libdir}
 #Sent upstream to bug-gv at gnu.org 20080718
 Patch1: gv-3.6.5-pkgdatadir.patch
+#Uptream patch to fix error reporting
+#https://savannah.gnu.org/bugs/?23865
+Patch2: gv-infopopup-warning-fix.patch
 BuildRequires: /usr/bin/makeinfo
 BuildRequires: Xaw3d-devel, /usr/bin/desktop-file-install
 BuildRequires: automake
@@ -31,6 +34,7 @@
 %setup -q
 %patch0 -p1 -b .buffer
 %patch1 -p1 -b .pkgdatadir
+%patch2 -p0 -b .infopopup
 
 
 %build
@@ -104,6 +108,9 @@
 %{_mandir}/man1/gv.*
 
 %changelog
+* Wed Aug 6 2008 Orion Poplawski <orion at cora.nwra.com> 3.6.5-3
+- Apply upstream patch to display more error messages
+
 * Thu Jul 18 2008 Orion Poplawski <orion at cora.nwra.com> 3.6.5-2
 - Change install dir patch to be more palatable for upstream
 




More information about the fedora-extras-commits mailing list