mirror of
https://github.com/status-im/qzxing.git
synced 2025-02-27 01:50:32 +00:00
The code as it will be released.
This commit is contained in:
parent
377f9104d0
commit
8a6cf3add3
@ -130,8 +130,7 @@ HEADERS += QZXing_global.h \
|
||||
zxing/bigint/BigIntegerUtils.hh \
|
||||
zxing/bigint/BigIntegerLibrary.hh \
|
||||
zxing/bigint/BigIntegerAlgorithms.hh \
|
||||
zxing/bigint/BigInteger.hh \
|
||||
zxing/win32/zxing/iconv.h
|
||||
zxing/bigint/BigInteger.hh
|
||||
|
||||
SOURCES += CameraImageWrapper.cpp \
|
||||
qzxing.cpp \
|
||||
@ -235,8 +234,7 @@ SOURCES += CameraImageWrapper.cpp \
|
||||
zxing/bigint/BigUnsigned.cc \
|
||||
zxing/bigint/BigIntegerUtils.cc \
|
||||
zxing/bigint/BigIntegerAlgorithms.cc \
|
||||
zxing/bigint/BigInteger.cc \
|
||||
zxing/win32/zxing/win_iconv.c
|
||||
zxing/bigint/BigInteger.cc
|
||||
|
||||
symbian {
|
||||
TARGET.UID3 = 0xE618743C
|
||||
@ -268,12 +266,15 @@ win32-msvc*{
|
||||
|
||||
INCLUDEPATH += zxing/win32/zxing \
|
||||
zxing/win32/zxing/stdint
|
||||
HEADERS += zxing/win32/zxing/stdint/stdint.h
|
||||
HEADERS += zxing/win32/zxing/stdint/stdint.h \
|
||||
zxing/win32/zxing/iconv.h
|
||||
SOURCES += zxing/win32/zxing/win_iconv.c
|
||||
}
|
||||
|
||||
win32-g++{
|
||||
INCLUDEPATH += zxing/win32/zxing
|
||||
# DEFINES += NO_ICONV
|
||||
INCLUDEPATH += $$PWD/zxing/win32/zxing
|
||||
HEADERS += $$PWD/zxing/win32/zxing/iconv.h
|
||||
SOURCES += $$PWD/zxing/win32/zxing/win_iconv.c
|
||||
}
|
||||
|
||||
OTHER_FILES += \
|
||||
@ -289,6 +290,19 @@ OTHER_FILES += \
|
||||
qtc_packaging/debian_harmattan/copyright \
|
||||
qtc_packaging/debian_harmattan/control \
|
||||
qtc_packaging/debian_harmattan/compat \
|
||||
qtc_packaging/debian_harmattan/changelog
|
||||
qtc_packaging/debian_harmattan/changelog \
|
||||
qtc_packaging/debian_harmattan/rules \
|
||||
qtc_packaging/debian_harmattan/README \
|
||||
qtc_packaging/debian_harmattan/manifest.aegis \
|
||||
qtc_packaging/debian_harmattan/copyright \
|
||||
qtc_packaging/debian_harmattan/control \
|
||||
qtc_packaging/debian_harmattan/compat \
|
||||
qtc_packaging/debian_harmattan/changelog \
|
||||
qtc_packaging/debian_fremantle/rules \
|
||||
qtc_packaging/debian_fremantle/README \
|
||||
qtc_packaging/debian_fremantle/copyright \
|
||||
qtc_packaging/debian_fremantle/control \
|
||||
qtc_packaging/debian_fremantle/compat \
|
||||
qtc_packaging/debian_fremantle/changelog
|
||||
|
||||
|
||||
|
6
source/qtc_packaging/debian_fremantle/README
Normal file
6
source/qtc_packaging/debian_fremantle/README
Normal file
@ -0,0 +1,6 @@
|
||||
The Debian Package qzxing
|
||||
----------------------------
|
||||
|
||||
Comments regarding the Package
|
||||
|
||||
-- unknown <> Fri, 02 Aug 2013 21:07:30 +0300
|
5
source/qtc_packaging/debian_fremantle/changelog
Normal file
5
source/qtc_packaging/debian_fremantle/changelog
Normal file
@ -0,0 +1,5 @@
|
||||
qzxing (0.0.1) unstable; urgency=low
|
||||
|
||||
* Initial Release.
|
||||
|
||||
-- unknown <> Fri, 02 Aug 2013 21:07:30 +0300
|
1
source/qtc_packaging/debian_fremantle/compat
Normal file
1
source/qtc_packaging/debian_fremantle/compat
Normal file
@ -0,0 +1 @@
|
||||
7
|
15
source/qtc_packaging/debian_fremantle/control
Normal file
15
source/qtc_packaging/debian_fremantle/control
Normal file
@ -0,0 +1,15 @@
|
||||
Source: qzxing
|
||||
Section: user/hidden
|
||||
Priority: optional
|
||||
Maintainer: unknown <>
|
||||
Build-Depends: debhelper (>= 5), libqt4-dev
|
||||
Standards-Version: 3.7.3
|
||||
Homepage: <insert the upstream URL, if relevant>
|
||||
|
||||
Package: qzxing
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: <insert up to 60 chars description>
|
||||
<insert long description, indented with spaces>
|
||||
XB-Maemo-Display-Name: QZXing
|
||||
XB-Maemo-Icon-26:
|
40
source/qtc_packaging/debian_fremantle/copyright
Normal file
40
source/qtc_packaging/debian_fremantle/copyright
Normal file
@ -0,0 +1,40 @@
|
||||
This package was debianized by unknown <> on
|
||||
Fri, 02 Aug 2013 21:07:30 +0300.
|
||||
|
||||
It was downloaded from <url://example.com>
|
||||
|
||||
Upstream Author(s):
|
||||
|
||||
<put author's name and email here>
|
||||
<likewise for another author>
|
||||
|
||||
Copyright:
|
||||
|
||||
<Copyright (C) YYYY Name OfAuthor>
|
||||
<likewise for another author>
|
||||
|
||||
License:
|
||||
|
||||
This package 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 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This package 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 package; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
On Debian systems, the complete text of the GNU General
|
||||
Public License can be found in `/usr/share/common-licenses/GPL'.
|
||||
|
||||
The Debian packaging is (C) 2013, unknown <> and
|
||||
is licensed under the GPL, see above.
|
||||
|
||||
|
||||
# Please also look if there are files or directories which have a
|
||||
# different copyright/license attached and list them here.
|
91
source/qtc_packaging/debian_fremantle/rules
Normal file
91
source/qtc_packaging/debian_fremantle/rules
Normal file
@ -0,0 +1,91 @@
|
||||
#!/usr/bin/make -f
|
||||
# -*- makefile -*-
|
||||
# Sample debian/rules that uses debhelper.
|
||||
# This file was originally written by Joey Hess and Craig Small.
|
||||
# As a special exception, when this file is copied by dh-make into a
|
||||
# dh-make output file, you may use that output file without restriction.
|
||||
# This special exception was added by Craig Small in version 0.37 of dh-make.
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
configure: configure-stamp
|
||||
configure-stamp:
|
||||
dh_testdir
|
||||
# qmake PREFIX=/usr# Uncomment this line for use without Qt Creator
|
||||
|
||||
touch configure-stamp
|
||||
|
||||
|
||||
build: build-stamp
|
||||
|
||||
build-stamp: configure-stamp
|
||||
dh_testdir
|
||||
|
||||
# Add here commands to compile the package.
|
||||
# $(MAKE) # Uncomment this line for use without Qt Creator
|
||||
#docbook-to-man debian/qzxing.sgml > qzxing.1
|
||||
|
||||
touch $@
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
rm -f build-stamp configure-stamp
|
||||
|
||||
# Add here commands to clean up after the build process.
|
||||
$(MAKE) clean
|
||||
|
||||
dh_clean
|
||||
|
||||
install: build
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k
|
||||
dh_installdirs
|
||||
|
||||
# Add here commands to install the package into debian/qzxing.
|
||||
$(MAKE) INSTALL_ROOT="$(CURDIR)"/debian/qzxing install
|
||||
|
||||
|
||||
# Build architecture-independent files here.
|
||||
binary-indep: build install
|
||||
# We have nothing to do by default.
|
||||
|
||||
# Build architecture-dependent files here.
|
||||
binary-arch: build install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_installchangelogs
|
||||
dh_installdocs
|
||||
dh_installexamples
|
||||
# dh_install
|
||||
# dh_installmenu
|
||||
# dh_installdebconf
|
||||
# dh_installlogrotate
|
||||
# dh_installemacsen
|
||||
# dh_installpam
|
||||
# dh_installmime
|
||||
# dh_python
|
||||
# dh_installinit
|
||||
# dh_installcron
|
||||
# dh_installinfo
|
||||
dh_installman
|
||||
dh_link
|
||||
dh_strip
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
# dh_perl
|
||||
# dh_makeshlibs
|
||||
dh_installdeb
|
||||
# dh_shlibdeps # Uncomment this line for use without Qt Creator
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: build clean binary-indep binary-arch binary install configure
|
6
source/qtc_packaging/debian_harmattan/README
Normal file
6
source/qtc_packaging/debian_harmattan/README
Normal file
@ -0,0 +1,6 @@
|
||||
The Debian Package qzxing
|
||||
----------------------------
|
||||
|
||||
Comments regarding the Package
|
||||
|
||||
-- unknown <> Fri, 02 Aug 2013 21:07:06 +0300
|
5
source/qtc_packaging/debian_harmattan/changelog
Normal file
5
source/qtc_packaging/debian_harmattan/changelog
Normal file
@ -0,0 +1,5 @@
|
||||
qzxing (0.0.1) unstable; urgency=low
|
||||
|
||||
* Initial Release.
|
||||
|
||||
-- unknown <> Fri, 02 Aug 2013 21:07:06 +0300
|
1
source/qtc_packaging/debian_harmattan/compat
Normal file
1
source/qtc_packaging/debian_harmattan/compat
Normal file
@ -0,0 +1 @@
|
||||
7
|
15
source/qtc_packaging/debian_harmattan/control
Normal file
15
source/qtc_packaging/debian_harmattan/control
Normal file
@ -0,0 +1,15 @@
|
||||
Source: qzxing
|
||||
Section: user/other
|
||||
Priority: optional
|
||||
Maintainer: unknown <>
|
||||
Build-Depends: debhelper (>= 5), libqt4-dev
|
||||
Standards-Version: 3.7.3
|
||||
Homepage: <insert the upstream URL, if relevant>
|
||||
|
||||
Package: qzxing
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: <insert up to 60 chars description>
|
||||
<insert long description, indented with spaces>
|
||||
XSBC-Maemo-Display-Name: QZXing
|
||||
XB-Maemo-Icon-26:
|
40
source/qtc_packaging/debian_harmattan/copyright
Normal file
40
source/qtc_packaging/debian_harmattan/copyright
Normal file
@ -0,0 +1,40 @@
|
||||
This package was debianized by unknown <> on
|
||||
Fri, 02 Aug 2013 21:07:06 +0300.
|
||||
|
||||
It was downloaded from <url://example.com>
|
||||
|
||||
Upstream Author(s):
|
||||
|
||||
<put author's name and email here>
|
||||
<likewise for another author>
|
||||
|
||||
Copyright:
|
||||
|
||||
<Copyright (C) YYYY Name OfAuthor>
|
||||
<likewise for another author>
|
||||
|
||||
License:
|
||||
|
||||
This package 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 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This package 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 package; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
On Debian systems, the complete text of the GNU General
|
||||
Public License can be found in `/usr/share/common-licenses/GPL'.
|
||||
|
||||
The Debian packaging is (C) 2013, unknown <> and
|
||||
is licensed under the GPL, see above.
|
||||
|
||||
|
||||
# Please also look if there are files or directories which have a
|
||||
# different copyright/license attached and list them here.
|
70
source/qtc_packaging/debian_harmattan/manifest.aegis
Normal file
70
source/qtc_packaging/debian_harmattan/manifest.aegis
Normal file
@ -0,0 +1,70 @@
|
||||
AutoGenerateAegisFile
|
||||
<!-- Aegis manifest declares the security credentials required by an
|
||||
application to run correctly. By default, a manifest file will be
|
||||
created or updated automatically as a part of build.
|
||||
|
||||
The detection of required credentials is based on static scan of
|
||||
application binaries. In some cases, the scan may not be able to
|
||||
detect the correct set of permissions. If this is the case, you must
|
||||
declare the credentials required by your application in this file.
|
||||
|
||||
To create a manifest file automatically as a part of build (DEFAULT):
|
||||
|
||||
* Make sure this file starts with the string "AutoGenerateAegisFile" (without quotes).
|
||||
* Alternatively, it can also be completely empty.
|
||||
|
||||
To provide a manifest yourself:
|
||||
|
||||
* List the correct credentials for the application in this file.
|
||||
* Some commented-out examples of often required tokens are provided.
|
||||
* Ensure the path to your application binary given in
|
||||
'<for path="/path/to/app" />' is correct.
|
||||
* Please do not request more credentials than what your application
|
||||
actually requires.
|
||||
|
||||
To disable manifest file:
|
||||
|
||||
* Replace this file with a file starting with the string "NoAegisFile" (without quotes).
|
||||
* Final application package will not contain a manifest.
|
||||
|
||||
-->
|
||||
<aegis>
|
||||
<request policy="add">
|
||||
|
||||
<!-- Make a GSM call, send text messages (SMS). -->
|
||||
<!--
|
||||
<credential name="Cellular" />
|
||||
-->
|
||||
|
||||
<!-- Access Facebook social data. -->
|
||||
<!--
|
||||
<credential name="FacebookSocial" />
|
||||
-->
|
||||
|
||||
<!-- Read access to data stored in tracker. -->
|
||||
<!--
|
||||
<credential name="TrackerReadAccess" />
|
||||
-->
|
||||
|
||||
<!-- Read and write access to data stored in tracker. -->
|
||||
<!--
|
||||
<credential name="TrackerWriteAccess" />
|
||||
-->
|
||||
|
||||
<!-- Read Location information. -->
|
||||
<!--
|
||||
<credential name="Location" />
|
||||
-->
|
||||
|
||||
<!-- Access to Audio, Multimedia and Camera. -->
|
||||
<!--
|
||||
<credential name="GRP::pulse-access" />
|
||||
<credential name="GRP::video" />
|
||||
<credential name="GRP::audio" />
|
||||
-->
|
||||
|
||||
</request>
|
||||
|
||||
<for path="/opt/QZXing/bin/QZXing" />
|
||||
<for path="applauncherd-launcher::/usr/bin/applauncherd.bin" id="" />
|
||||
</aegis>
|
91
source/qtc_packaging/debian_harmattan/rules
Normal file
91
source/qtc_packaging/debian_harmattan/rules
Normal file
@ -0,0 +1,91 @@
|
||||
#!/usr/bin/make -f
|
||||
# -*- makefile -*-
|
||||
# Sample debian/rules that uses debhelper.
|
||||
# This file was originally written by Joey Hess and Craig Small.
|
||||
# As a special exception, when this file is copied by dh-make into a
|
||||
# dh-make output file, you may use that output file without restriction.
|
||||
# This special exception was added by Craig Small in version 0.37 of dh-make.
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
configure: configure-stamp
|
||||
configure-stamp:
|
||||
dh_testdir
|
||||
# qmake PREFIX=/usr# Uncomment this line for use without Qt Creator
|
||||
|
||||
touch configure-stamp
|
||||
|
||||
|
||||
build: build-stamp
|
||||
|
||||
build-stamp: configure-stamp
|
||||
dh_testdir
|
||||
|
||||
# Add here commands to compile the package.
|
||||
# $(MAKE) # Uncomment this line for use without Qt Creator
|
||||
#docbook-to-man debian/qzxing.sgml > qzxing.1
|
||||
|
||||
touch $@
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
rm -f build-stamp configure-stamp
|
||||
|
||||
# Add here commands to clean up after the build process.
|
||||
$(MAKE) clean
|
||||
|
||||
dh_clean
|
||||
|
||||
install: build
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k
|
||||
dh_installdirs
|
||||
|
||||
# Add here commands to install the package into debian/qzxing.
|
||||
$(MAKE) INSTALL_ROOT="$(CURDIR)"/debian/qzxing install
|
||||
|
||||
|
||||
# Build architecture-independent files here.
|
||||
binary-indep: build install
|
||||
# We have nothing to do by default.
|
||||
|
||||
# Build architecture-dependent files here.
|
||||
binary-arch: build install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_installchangelogs
|
||||
dh_installdocs
|
||||
dh_installexamples
|
||||
# dh_install
|
||||
# dh_installmenu
|
||||
# dh_installdebconf
|
||||
# dh_installlogrotate
|
||||
# dh_installemacsen
|
||||
# dh_installpam
|
||||
# dh_installmime
|
||||
# dh_python
|
||||
# dh_installinit
|
||||
# dh_installcron
|
||||
# dh_installinfo
|
||||
dh_installman
|
||||
dh_link
|
||||
dh_strip
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
# dh_perl
|
||||
# dh_makeshlibs
|
||||
dh_installdeb
|
||||
# dh_shlibdeps # Uncomment this line for use without Qt Creator
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: build clean binary-indep binary-arch binary install configure
|
Loading…
x
Reference in New Issue
Block a user