diff --git a/xsane-0.994-showeulaonce.patch b/xsane-0.994-showeulaonce.patch new file mode 100644 index 0000000..ad8bb41 --- /dev/null +++ b/xsane-0.994-showeulaonce.patch @@ -0,0 +1,14 @@ +--- xsane-0.994/src/xsane.c.showeulaonce 2007-02-25 23:21:06.000000000 +0100 ++++ xsane-0.994/src/xsane.c 2007-04-04 15:03:33.000000000 +0200 +@@ -5825,6 +5825,11 @@ + DBG(DBG_info, "user did not accept eula, we abort\n"); + return 1; /* User did not accept eula */ + } ++ else ++ { ++ /* User did accept eula */ ++ xsane_pref_save(); ++ } + } + + xsane_pref_restore_media(); diff --git a/xsane.spec b/xsane.spec index a01199e..8bb8d01 100644 --- a/xsane.spec +++ b/xsane.spec @@ -3,13 +3,14 @@ Name: xsane Summary: X Window System front-end for the SANE scanner interface Version: 0.994 -Release: 1%{?dist} +Release: 2%{?dist} Source0: http://www.xsane.org/download/%{name}-%{version}.tar.gz Source1: xsane.desktop Source2: xsane.conf.in Patch0: xsane-0.90-htmlview.patch Patch1: xsane-0.99-medium-definitions.patch Patch2: xsane-0.92_gimp2.0.patch +Patch3: xsane-0.994-showeulaonce.patch License: GPL URL: http://www.xsane.org/ Group: Applications/Multimedia @@ -45,6 +46,7 @@ installed to use this package. %patch0 -p1 -b .htmlview %patch1 -p1 -b .medium-definitions %patch2 -p1 -b .gimp2.0 +%patch3 -p1 -b .showeulaonce %build %{expand:%%define optflags %{optflags} -DGIMP_ENABLE_COMPAT_CRUFT=1} @@ -116,6 +118,10 @@ if [ $1 = 0 ]; then fi %changelog +* Wed Apr 04 2007 Nils Philippsen - 0.994-2 +- save prefs when EULA is accepted to ensure that EULA is only shown once at + startup (#233645) + * Tue Apr 03 2007 Nils Philippsen - 0.994-1 - version 0.994 (#235038)