Go Back   maemo.org - Talk > OS / Platform > Maemo 5 / Fremantle
 
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
  #1  
Old 2013-02-19, 21:52
luf luf is offline
 
Join Date: May 2012
Location: Czech Republic
Posts: 141
Thanks!: 190
Thanked 313 Times in 87 Posts
Default KeePassX v2 for Maemo 5 Nokia N900

I took a look on keepassx v2 (alpha3) http://www.keepassx.org/news/2012/10/367

I was a little bit frustrated that there is no support for N900 or any other small displays as mentioned in roadmap: http://www.keepassx.org/news/2010/09/242

So I spent some of my free time with fixing it. I cloned the git (https://gitorious.org/keepassx/keepassx) to https://gitorious.org/~luf/keepassx/keepassx-n900 and add several features:
- decrease requested cmake version from 2.6.4 to 2.6.3 (on N900)
- add QScrollArea into Dialogs (for small displays)
- change signal CategoryListWidget::currentRowChanged to itemActivated (due to Maemo usage - change even during scroll only: http://forums.internettablettalk.com....php?p=1108063 )
- specify minimum height of icon lists
- fix columns in Settings (added colspan)

- Maemo only (#if(n)dev Q_WS_MAEMO_5:
+ removed Enty and Group actions from menu (as it should be performed via popup menu)
+ hides Cancel buttons because click outside dialog window is cancel. But it's unable to click outside MainWindows
=> I rewrite DialogyWidget to QDialogs
=> DatabaseWidget to exec dialogs
=> all dialogs to call QDialog:: accept() or reject()
=> change labels to Dialog captions
+ change height of some Dialogs
+ remove/hide some spacers

Right now I'm able to open some keepass v2 database and work with it.

If there is someone who wants to test it feel free to install it from http://merlin1991.at/~luf/keepassx or I uploaded it as attachement (few kB below the limit for .deb)

EDIT: this package was built againist PR 1.3 so the problem with installation should disappear.
Attached Files
File Type: deb keepassx_2.0-alpha3maemo2_armel.deb (482.4 KB, 170 views)

Last edited by luf; 2013-02-23 at 16:51. Reason: Package only for CSSU (-testing)
Reply With Quote
The Following 17 Users Say Thank You to luf For This Useful Post:
  #2  
Old 2013-02-19, 23:11
frafI frafI is offline
 
Join Date: Jan 2011
Location: Berlin
Posts: 114
Thanks!: 73
Thanked 298 Times in 82 Posts
Default Re: KeePassX v2 for Maemo 5 Nokia N900

Sounds nice, I'll try it out.
I like KeyPassX 1, but it's not well integrated, so it's good to hear that you put some effort into the usability.

Last edited by frafI; 2013-02-19 at 23:17.
Reply With Quote
The Following 2 Users Say Thank You to frafI For This Useful Post:
  #3  
Old 2013-02-20, 06:37
Cardigan Cardigan is offline
 
Join Date: Apr 2006
Location: Aachen in Germany
Posts: 8
Thanks!: 0
Thanked 1 Time in 1 Post
Send a message via ICQ to Cardigan
Default Re: KeePassX v2 for Maemo 5 Nokia N900

Great,

thanks for that, I will try it

BR, Oliver
Reply With Quote
The Following User Says Thank You to Cardigan For This Useful Post:
  #4  
Old 2013-02-20, 10:07
reinob reinob is offline
 
Join Date: Feb 2011
Location: Germany
Posts: 1,808
Thanks!: 9,804
Thanked 4,272 Times in 1,292 Posts
Default Re: KeePassX v2 for Maemo 5 Nokia N900

@luf,

Thanks for porting! I tried to install the .deb but it requires Qt 4.7.4 (libqt4-core, libqt4-dbus, libqt4-gui).

Is there a reason for this? AFAIK 4.7.4 is only available with CSSU, while plain PR 1.3(.1) has 4.7.0.
Reply With Quote
The Following 2 Users Say Thank You to reinob For This Useful Post:
  #5  
Old 2013-02-20, 12:45
luf luf is offline
 
Join Date: May 2012
Location: Czech Republic
Posts: 141
Thanks!: 190
Thanked 313 Times in 87 Posts
Default Re: KeePassX v2 for Maemo 5 Nokia N900

Quote:
Originally Posted by reinob View Post
I tried to install the .deb but it requires Qt 4.7.4 (libqt4-core, libqt4-dbus, libqt4-gui).

Is there a reason for this? AFAIK 4.7.4 is only available with CSSU, while plain PR 1.3(.1) has 4.7.0.
I'm using CSSU-testing and I don't have pure PR 1.3 build environment
I'll try to create PR 1.3 build environment and rebuild it there.

But please don't hold your breath. It seems maybe I'll have some time during weekend or next week.
Reply With Quote
The Following 2 Users Say Thank You to luf For This Useful Post:
  #6  
Old 2013-02-20, 13:33
frafI frafI is offline
 
Join Date: Jan 2011
Location: Berlin
Posts: 114
Thanks!: 73
Thanked 298 Times in 82 Posts
Default Re: KeePassX v2 for Maemo 5 Nokia N900

Quote:
Originally Posted by reinob View Post
@luf,

Thanks for porting! I tried to install the .deb but it requires Qt 4.7.4 (libqt4-core, libqt4-dbus, libqt4-gui).

Is there a reason for this? AFAIK 4.7.4 is only available with CSSU, while plain PR 1.3(.1) has 4.7.0.
You could modify the deb or extract it manually, since 4.7.4 and 4.7.0 are binary compatible (patch releases should not introduce new symbols). Something like
Code:
 ar x ....deb data.tar.gz && tar xf data.tar.gz
should work. Do this in a reasonable directory and move what you like to install.

Edit: @luf: And you could add the qt libs with >= 4.7.0 to the dependecies explicitly, so shlibdeps does not pull your 4.7.4 version.

Last edited by frafI; 2013-02-20 at 13:44.
Reply With Quote
The Following 4 Users Say Thank You to frafI For This Useful Post:
  #7  
Old 2013-02-23, 16:52
luf luf is offline
 
Join Date: May 2012
Location: Czech Republic
Posts: 141
Thanks!: 190
Thanked 313 Times in 87 Posts
Default Re: KeePassX v2 for Maemo 5 Nokia N900

I rebuild the package in pure PR 1.3 environment so the package should be ok.

I also removed Entry and Group actions from menu as it should be performed via popup menu.
Reply With Quote
The Following 4 Users Say Thank You to luf For This Useful Post:
  #8  
Old 2013-06-21, 00:00
PMaff's Avatar
PMaff PMaff is offline
 
Join Date: Sep 2010
Posts: 361
Thanks!: 232
Thanked 219 Times in 108 Posts
Question Re: KeePassX v2 for Maemo 5 Nokia N900

I tried to install keepassx_2.0-alpha3maemo2_armel.deb
but it needs
libgcrypt11 (>=1.4.2)

The ones at
http://repository.maemo.org/
do not work, my N900 with PR1.3 says incompatible.

Where can I get a libgcrypt11 version > = 1.4.2 for N900 with PR1.3 ?
Reply With Quote
The Following User Says Thank You to PMaff For This Useful Post:
  #9  
Old 2013-06-22, 09:50
luf luf is offline
 
Join Date: May 2012
Location: Czech Republic
Posts: 141
Thanks!: 190
Thanked 313 Times in 87 Posts
Default Re: KeePassX v2 for Maemo 5 Nokia N900

Quote:
Originally Posted by PMaff View Post
I tried to install keepassx_2.0-alpha3maemo2_armel.deb
but it needs
libgcrypt11 (>=1.4.2)
I'll take a look today or tomorrow. Maybe I again built the package last time in wrong environment.
Reply With Quote
The Following User Says Thank You to luf For This Useful Post:
  #10  
Old 2013-06-22, 14:05
PMaff's Avatar
PMaff PMaff is offline
 
Join Date: Sep 2010
Posts: 361
Thanks!: 232
Thanked 219 Times in 108 Posts
Default Re: KeePassX v2 for Maemo 5 Nokia N900

Quote:
Originally Posted by luf View Post
I'll take a look today or tomorrow. Maybe I again built the package last time in wrong environment.
Thanks a lot.

And maybe someone else can look at the
libgcrypt11
versions at http://repository.maemo.org/ and why the version
for Maemo5 is not there?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 19:53.