Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyQt4 frontend, frontends option, debian packages #27

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
*.pyc
.DS_Store

locale/loxodo.pot
8 changes: 8 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
recursive-include locale *
recursive-include resources *
include src/frontends/ppygui/README.txt
include loxodo.py
include LICENSE.txt
include .project
include .pydevproject
include Makefile
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,14 @@ exe:
rm -fr build dist
python setup.py py2exe

builddeb:
python setup.py sdist --dist-dir=../
rename -f 's/loxodo-(.*)\.tar\.gz/loxodo_$$1\.orig\.tar\.gz/' ../*
debuild -us -uc

xdg:
xdg-desktop-menu install --mode system --novendor loxodo.desktop

clean:
rm -fr build loxodo.egg-info debian/*.substvars debian/*.log debian/files debian/loxodo debian/loxodo-qt4 debian/loxodo-wx

1 change: 1 addition & 0 deletions __main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import loxodo
5 changes: 5 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
loxodo (1.0) unstable; urgency=low

* source package automatically created by stdeb 0.6.0+git

-- Christoph Sommer <[email protected]> Wed, 07 May 2014 18:51:52 +0400
1 change: 1 addition & 0 deletions debian/clean
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
loxodo.egg-info/*
1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7
22 changes: 22 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Source: loxodo
Section: utils
Priority: optional
Maintainer: Christoph Sommer <[email protected]>
Build-Depends: python-setuptools (>= 0.6), python (>= 2.7), debhelper (>= 7.4.3), xdg-utils (>= 1.1)
Standards-Version: 3.9.4
X-Python-Version: >= 2.7


Package: loxodo-wx
Architecture: all
Depends: ${misc:Depends}, ${python:Depends}, python-wxgtk2.8 (>= 2.8)
Description: Password Safe V3 compatible Password Vault
wxWidgets front-end.


Package: loxodo-qt4
Architecture: all
Depends: ${misc:Depends}, ${python:Depends}, python-qt4 (>= 4.10)
Description: Password Safe V3 compatible Password Vault
PyQT4 front-end.

Empty file added debian/copyright
Empty file.
12 changes: 12 additions & 0 deletions debian/loxodo-qt4.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[Desktop Entry]
Name=Loxodo
Name[en]=Loxodo
Comment=Password Safe V3 compatible Password Vault, PyQt4 front-end.
Keywords=encryption;security;
Exec=/usr/bin/loxodo -qt4
Terminal=false
Type=Application
Icon=loxodo-qt-icon
Categories=Utility;Security;
StartupNotify=true

3 changes: 3 additions & 0 deletions debian/loxodo-qt4.docs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
LICENSE.txt
README.txt

2 changes: 2 additions & 0 deletions debian/loxodo-qt4.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
debian/loxodo-qt4.desktop /usr/share/applications
resources/loxodo-qt-icon.svg /usr/share/pixmaps
1 change: 1 addition & 0 deletions debian/loxodo-qt4.links
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/usr/share/loxodo/loxodo.py /usr/bin/loxodo
12 changes: 12 additions & 0 deletions debian/loxodo-wx.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[Desktop Entry]
Name=Loxodo
Name[en]=Loxodo
Comment=Password Safe V3 compatible Password Vault, wxWidgets front-end.
Keywords=encryption;security;
Exec=/usr/bin/loxodo -wx
Terminal=false
Type=Application
Icon=loxodo-icon
Categories=Utility;Security;
StartupNotify=true

3 changes: 3 additions & 0 deletions debian/loxodo-wx.docs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
LICENSE.txt
README.txt

2 changes: 2 additions & 0 deletions debian/loxodo-wx.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
debian/loxodo-wx.desktop /usr/share/applications
resources/loxodo-icon.svg /usr/share/pixmaps
1 change: 1 addition & 0 deletions debian/loxodo-wx.links
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/usr/share/loxodo/loxodo.py /usr/bin/loxodo
13 changes: 13 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/make -f
export DH_VERBOSE=1

%:
dh $@ --with python2

override_dh_auto_install:
$(MAKE) -C locale
python setup.py install --root=debian/loxodo-qt4 --install-layout=deb --install-lib=/usr/share/loxodo --install-scripts=/usr/share/loxodo --install-data=/usr/share/loxodo
python setup.py install --root=debian/loxodo-wx --install-layout=deb --install-lib=/usr/share/loxodo --install-scripts=/usr/share/loxodo --install-data=/usr/share/loxodo

override_dh_auto_build:

1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (quilt)
265 changes: 0 additions & 265 deletions locale/loxodo.pot

This file was deleted.

Loading