diff --git a/gv-infopopup-warning-fix.patch b/gv-infopopup-warning-fix.patch new file mode 100644 index 0000000..cb81f28 --- /dev/null +++ b/gv-infopopup-warning-fix.patch @@ -0,0 +1,13 @@ +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) + } diff --git a/gv.spec b/gv.spec index a53a1ff..3c0cc01 100644 --- a/gv.spec +++ b/gv.spec @@ -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 @@ Patch0: gv-3.5.8-buffer.patch #Install data files in %{_datadir} not %{_libdir} #Sent upstream to bug-gv@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 @@ Gv can display PostScript and PDF documents on an X Window System. %setup -q %patch0 -p1 -b .buffer %patch1 -p1 -b .pkgdatadir +%patch2 -p0 -b .infopopup %build @@ -104,6 +108,9 @@ fi %{_mandir}/man1/gv.* %changelog +* Wed Aug 6 2008 Orion Poplawski 3.6.5-3 +- Apply upstream patch to display more error messages + * Thu Jul 18 2008 Orion Poplawski 3.6.5-2 - Change install dir patch to be more palatable for upstream