KeePassX 2.0 Alpha 6 Plus Additional Fixes From 2014

Download KeePassX binary executable.

KeePassX

Compiled from Git source code, pulled on 28 March 2015.
Includes all fixes in 2014, with latest commit 835c411d12.

DOWNLOAD

https://www.spaceflint.com/KeePassX

HOW TO INSTALL:

1.  Install KeePassX version 2.0 Alpha 6 if you don’t already have it.
2.  Use Finder to open your Applications folder.
3.  Right click on KeePassX.app and select Show Package Contents.
4.  Use Finder to open the Contents folder, then MacOS folder.
5.  Rename original file KeePassX to a differet name, KeePass-orig or similar.
6.  Paste the downloaded KeePassX file into this folder.
7. Make the pasted file executable. Open a Terminal window and paste the command:
chmod +x /Applications/KeePassX.app/Contents/MacOS/KeePassX
8.  Test your installation by starting the KeePassX application.

Absolutely no changes were introduced to the source code that was pulled from Git.

I am not associated with KeePassX, its authors or contributors.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR “AS IS” AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

THE FULL STORY

After switching to Mac from Windows, I was pleased to find KeePassX.  The refering web site recommended version 2.0 Alpha 6, which was great except for not saving column widths across invocations of the program.  A quick search revealed this issue was already fixed in source code, but not yet released as a compiled package.

I know how to compile software from source code, but not yet familiar enough with OSX that I was confident that I can release a complete app package.  But I figured that if I can build KeePassX against the same library dependencies that version 2.0 Alpha 6 was built against, then I could just replace the binary executable and leave everything else as it was.

Those library dependencies were QT 4.8.4, and GNU libgcrypt 1.5.0 and libgpg-error 1.10.  Due to changes in the OSX line, these packages do not build cleanly on OSX Yosemite, and I first had to research various tweaks and fixes to get them to build.

(Please note that these tweaks and fixes were only necessary to build these intermediate libraries on my machine, so I could then compile the new KeePassX with the exact same version numbers as the old KeePassX.  There is no need to replace these libraries in your KeePass application folder.)

Once the dependencies were ready, the KeePassX source code that I pulled from Git compiled quickly and successfully, and did not require any changes.  After copying the newly compiled binary to the KeePass application folder, I was pleased to find that this later version indeed remembers column widths across invocations.

Compiled on OSX Yosemite 10.10.2, Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn) Target: x86_64-apple-darwin14.1.0 Thread model: posix.

3 thoughts on “KeePassX 2.0 Alpha 6 Plus Additional Fixes From 2014

    1. You’re right, I forgot to mention that you have to make the file executable. I updated the post, please see point number 7 at the top. Sorry about that, and thanks for pointing it out.

  1. Hey is there a good Starting point on how to build KeePassX on Yosemite. I have xcode, but i also have QT since it does use QT. If I kind of had an outline, then i could play around with the code to see what I could do.

    I’m more of a sysadmin than a dev. So this is newer territory i’d be adventuring into, so any help would be more than appreciated!

    thx!

Leave a Reply

Your email address will not be published.