debian/0000775000000000000000000000000012260034133007162 5ustar debian/copyright0000664000000000000000000000206611741236501011127 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: qr-tools Source: https://launchpad.net/qr-tools Files: * Copyright: 2011 David Green License: GPL-3+ Files: debian/* Copyright: 2012 Koichi Akabe License: GPL-3+ License: GPL-3+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". debian/qtqr.examples0000664000000000000000000000001611741240645011720 0ustar samples/*.png debian/qtqr.desktop0000664000000000000000000000047612257730175011572 0ustar [Desktop Entry] Name=QtQR Comment=QtQR is a Qt based software that let's you generate QR Codes easily, scan an image file for QR Codes and decode them or use your webcam to scan a printed one. Exec=qtqr Icon=qtqr Terminal=false Type=Application Categories=Graphics MimeType=image/gif;image/png;image/jpg; Keywords=qr; debian/changelog0000664000000000000000000000242612260034130011035 0ustar qr-tools (1.4~bzr16-1ubuntu1) trusty; urgency=low * Add missing build-dependencies, resolving FTBFS due to packaging differences between Ubuntu's & Debian's Qt4. -- Daniel T Chen Sun, 29 Dec 2013 09:56:39 -0500 qr-tools (1.4~bzr16-1) unstable; urgency=medium * New upstream revision * Migrate to unstable * debian/100_remove_tmp_files.patch - merged to upstream * debian/rules - add get-orig-source target - add lrelease commands to build translations -- Koichi Akabe Sun, 29 Dec 2013 14:29:05 +0900 qr-tools (1.2-3~exp1) experimental; urgency=low * debian/patches/101_fix_import_image.patch - use Pillow instead of PIL * debian/compat - up to 9 * debian/control - update Standards-Version to 3.9.4 - change the version of debhelper to 9.0.0 or later -- Koichi Akabe Mon, 11 Feb 2013 09:39:01 +0900 qr-tools (1.2-2) unstable; urgency=low * debian/patches/100_remove_tmp_files.patch - add to remove temporary directory (Closes: #677722) -- Koichi Akabe Mon, 18 Jun 2012 23:13:49 +0900 qr-tools (1.2-1) unstable; urgency=low * Initial release. (Closes: #645746, #645747) -- Koichi Akabe Wed, 11 Apr 2012 22:43:39 +0900 debian/qtqr.10000664000000000000000000000113711741245525010251 0ustar .TH qtqr 1 "April 27 2011" "qtqr" .SH NAME qtqr \- QtQR .SH SYNOPSIS .B qtqr .br .SH DESCRIPTION QtQR is a Qt based software that let's you generate QR Codes easily, scan an image file for QR Codes and decode them or use your webcam to scan a printed one. This command will launch QtQR. .SH BUGS If you find any bugs, please report them at http://bugs.launchpad.net/qr-tools. .SH DEVELOPMENT The development of qtqr is managed at http://launchpad.net/qr-tools, where you can find the source code and report bugs. .SH AUTHOR This man page was originally written by David Green . debian/qtqr.install0000664000000000000000000000011311741246562011552 0ustar debian/qtqr.desktop usr/share/applications *.qm usr/share/qt4/translations debian/patches/0000775000000000000000000000000012257725555010636 5ustar debian/patches/series0000664000000000000000000000006112257725555012050 0ustar 01_setup_script.patch 101_fix_import_image.patch debian/patches/01_setup_script.patch0000664000000000000000000000050211741304534014663 0ustar Description: add setup script to install This patch adds a setup script to install python libraries Author: Koichi Akabe Last-Update: 2012-04-11 --- /dev/null +++ qr-tools-1.2/setup.py @@ -0,0 +1,2 @@ +from distutils.core import setup +setup(name="qrtools", version="1.2", py_modules=["qrtools"]) debian/patches/101_fix_import_image.patch0000664000000000000000000000111612106036033015534 0ustar Description: use Pillow instead of PIL "import Image" will be dropped from debian. This patch use Pillow fork instead of PIL/python-imaging Author: Koichi Akabe Origin: http://lists.debian.org/debian-python/2013/02/msg00017.html Last-Update: <2013-02-11> --- qr-tools-1.2.orig/qrtools.py +++ qr-tools-1.2/qrtools.py @@ -26,10 +26,14 @@ import time import shutil import hashlib import zbar -import Image import re from codecs import BOM_UTF8 +try: + from PIL import Image +except ImportError: + import Image + class QR(object): def encode_url(data): debian/python-qrtools.install0000664000000000000000000000000411741247537013607 0ustar usr debian/watch0000664000000000000000000000015211741275406010226 0ustar version=3 https://launchpad.net/qr-tools/+download https://launchpad.net/qr-tools/.*/qr-tools-(.+).tar.gz debian/control0000664000000000000000000000177512260034042010576 0ustar Source: qr-tools Section: python Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Koichi Akabe Build-Depends: debhelper (>= 9.0.0), python, qt4-linguist-tools, libqt4-dev, qtchooser Standards-Version: 3.9.5 Homepage: https://launchpad.net/qr-tools X-Python-Version: >= 2.5 Package: python-qrtools Architecture: all Depends: ${python:Depends}, ${misc:Depends}, python-imaging, python-zbar, qrencode Description: high level library for reading and generating QR codes This package provides high level APIs for reading and creating QR codes with minimal effort on Python. This library uses zbar barcode library. Package: qtqr Architecture: all Depends: ${python:Depends}, ${misc:Depends}, python-qrtools, python-qt4 Description: Qt frontend for QR code generator and decoder A Qt based software that let's you generate QR codes easily, scan an image file for QR codes and decode them or use your webcam to scan a printed one. debian/source/0000775000000000000000000000000011737331034010472 5ustar debian/source/format0000664000000000000000000000001411737330437011706 0ustar 3.0 (quilt) debian/compat0000664000000000000000000000000212106036163010364 0ustar 9 debian/rules0000775000000000000000000000315412257727171010266 0ustar #!/usr/bin/make -f %: dh "$@" --with python2 override_dh_auto_build: dh_auto_build lrelease -nounfinished $(CURDIR)/qtqr_de_DE.ts $(CURDIR)/qtqr_de_DE.qm lrelease -nounfinished $(CURDIR)/qtqr_en_GB.ts $(CURDIR)/qtqr_en_GB.qm lrelease -nounfinished $(CURDIR)/qtqr_es.ts $(CURDIR)/qtqr_es.qm lrelease -nounfinished $(CURDIR)/qtqr_es_AR.ts $(CURDIR)/qtqr_es_AR.qm lrelease -nounfinished $(CURDIR)/qtqr_fr.ts $(CURDIR)/qtqr_fr.qm lrelease -nounfinished $(CURDIR)/qtqr_is_IS.ts $(CURDIR)/qtqr_is_IS.qm lrelease -nounfinished $(CURDIR)/qtqr_ja.ts $(CURDIR)/qtqr_ja.qm lrelease -nounfinished $(CURDIR)/qtqr_ru.ts $(CURDIR)/qtqr_ru.qm override_dh_auto_install: dh_auto_install install -m 644 $(CURDIR)/qtqr.py $(CURDIR)/debian/qtqr/usr/bin/qtqr install -m 644 $(CURDIR)/icon.png $(CURDIR)/debian/qtqr/usr/share/pixmaps/qtqr.png override_dh_auto_clean: dh_auto_clean rm -rf $(CURDIR)/build find -name "*.qm" | xargs rm -f PACKAGE = qr-tools SRC_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(\([0-9]\+\):\)\?\(.*\)-.*/\3/p') BZR_REVISION := $(shell echo $(SRC_VERSION) | awk -F"~" '{ print $$2 }' | sed 's/bzr//' ) TARBALL = $(PACKAGE)_$(SRC_VERSION).orig.tar.gz .PHONY: get-orig-source get-orig-source: bzr export $(CURDIR)/$(TARBALL) -r $(BZR_REVISION) "lp:qr-tools" tar xf $(CURDIR)/$(TARBALL) find $(PACKAGE)_$(SRC_VERSION).orig -name "*.qm" | xargs rm -f find $(PACKAGE)_$(SRC_VERSION).orig -name "*.old" | xargs rm -f tar czf $(CURDIR)/$(TARBALL) $(PACKAGE)_$(SRC_VERSION).orig rm -rf $(PACKAGE)_$(SRC_VERSION).orig echo " "$(TARBALL)" created; move it to the right destination to build the package" debian/qtqr.manpages0000664000000000000000000000001611741245512011673 0ustar debian/qtqr.1 debian/qtqr.dirs0000664000000000000000000000003211741246635011046 0ustar usr/bin usr/share/pixmaps