From 9b5fcab0c0b685c35af2dcb7021aec7ca7d00d1f Mon Sep 17 00:00:00 2001 From: Aurelien Bompard Date: Jun 27 2007 20:28:03 +0000 Subject: - fix help button - use htmlview instead of the hardcoded konqueror --- diff --git a/.cvsignore b/.cvsignore index c58fb6c..484c18a 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1,2 @@ KeePassX-0.2.2.tar.gz +KeePassX_logo_100x100.png diff --git a/keepass-0.2.2-htmlview.patch b/keepass-0.2.2-htmlview.patch new file mode 100644 index 0000000..9fb9799 --- /dev/null +++ b/keepass-0.2.2-htmlview.patch @@ -0,0 +1,11 @@ +--- ./src/PwmConfig.cpp.htmlview 2007-06-27 21:57:50.000000000 +0200 ++++ ./src/PwmConfig.cpp 2007-06-27 21:58:06.000000000 +0200 +@@ -50,7 +50,7 @@ BannerColor1=ParseColorString(ini.GetVal + BannerColor2=ParseColorString(ini.GetValue("Options","BannerColor2","0,117,175").c_str()); + BannerTextColor=ParseColorString(ini.GetValue("Options","BannerTextColor","222,222,222").c_str()); + ShowPasswords=ini.GetValueB("Options","ShowPasswords",false); +-OpenUrlCommand=ini.GetValue("Options","UrlCmd","kfmclient openURL %1").c_str(); ++OpenUrlCommand=ini.GetValue("Options","UrlCmd","htmlview %1").c_str(); + Language=ini.GetValue("Options","LangFile","").c_str(); + ParseBoolString(ini.GetValue("Options","SearchOptions",(const char*)defaultSearchOptions.toUtf8()).c_str(),defaultSearchOptions,SearchOptions,9); + ListView_HidePasswords=ini.GetValueB("UI","HidePasswords",true); diff --git a/keepass.gif b/keepass.gif deleted file mode 100644 index dd1ee81..0000000 Binary files a/keepass.gif and /dev/null differ diff --git a/keepassx-0.2.2-helpurl.patch b/keepassx-0.2.2-helpurl.patch new file mode 100644 index 0000000..60c6d75 --- /dev/null +++ b/keepassx-0.2.2-helpurl.patch @@ -0,0 +1,11 @@ +--- ./src/mainwindow.cpp.helpurl 2007-06-27 21:40:25.000000000 +0200 ++++ ./src/mainwindow.cpp 2007-06-27 21:54:13.000000000 +0200 +@@ -1013,7 +1013,7 @@ dlg.exec(); + } + + void KeepassMainWindow::OnHelpHandbook(){ +-openBrowser(AppDir+"/../share/doc/keepass/index.html"); ++openBrowser("http://keepassx.sourceforge.net"); + } + + void KeepassMainWindow::OnViewShowToolbar(bool show){ diff --git a/keepassx.spec b/keepassx.spec index 7d5ca3f..217a8bd 100644 --- a/keepassx.spec +++ b/keepassx.spec @@ -1,19 +1,20 @@ Name: keepassx Version: 0.2.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Cross-platform password manager Group: User Interface/Desktops License: GPL URL: http://keepassx.sourceforge.net Source0: http://download.sf.net/keepassx/KeePassX-%{version}.tar.gz -# http://keepass.info/images/plockb75.gif -Source1: keepass.gif +Source1: http://keepassx.sourceforge.net/images/logos/KeePassX_logo_100x100.png +Patch0: keepass-0.2.2-htmlview.patch +Patch1: keepassx-0.2.2-helpurl.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: qt4-devel > 4.1, libXtst-devel, ImageMagick, desktop-file-utils -Requires: hicolor-icon-theme +Requires: hicolor-icon-theme, htmlview %description KeePassX is an application for people with extremly high demands on secure @@ -35,6 +36,8 @@ that is compatible with KeePass Password Safe for MS Windows. %prep %setup -q +%patch0 -p0 -b .htmlview +%patch1 -p0 -b .helpurl %build @@ -118,5 +121,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Jun 27 2007 Aurelien Bompard 0.2.2-2 +- fix help button +- use htmlview instead of the hardcoded konqueror + * Sun Mar 04 2007 Aurelien Bompard 0.2.2-1 - initial package diff --git a/sources b/sources index e34277e..36a0cee 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ 5ee945ab12c2667ef5c4013a0636c26f KeePassX-0.2.2.tar.gz +f3e94f6715798d1f241007e2f882dc0a KeePassX_logo_100x100.png