Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F86138
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/barcoder.pro b/barcoder.pro
index bac9d4b..a69150c 100644
--- a/barcoder.pro
+++ b/barcoder.pro
@@ -1,111 +1,111 @@
#-------------------------------------------------
#
# Project created by QtCreator 2017-02-16T22:41:52
#
#-------------------------------------------------
# svg?
-QT += core gui svg
+QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = barcoder
TEMPLATE = app
VERSION_MAJOR = 1
VERSION_MINOR = 0
VERSION_BUILD = 1
DEFINES += "VERSION_MAJOR=$$VERSION_MAJOR"\
"VERSION_MINOR=$$VERSION_MINOR"\
"VERSION_BUILD=$$VERSION_BUILD"
#Target version
VERSION = $${VERSION_MAJOR}.$${VERSION_MINOR}.$${VERSION_BUILD}
DEFINES += QT_DEPRECATED_WARNINGS
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x050000
INCLUDEPATH += 3rdparty/qqrencode
-LIBS += -lqrencode -lpng -ldmtx
+LIBS += -lqrencode -ldmtx
SOURCES += main.cpp\
mainwindow.cpp\
3rdparty/qqrencode/qqrencode.cpp
HEADERS += mainwindow.h
FORMS += mainwindow.ui
unix {
#VARIABLES
isEmpty(PREFIX) {
PREFIX = /usr #QT_INSTALL_PREFIX
}
BINDIR = $$PREFIX/bin
DATADIR =$$PREFIX/share
DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
# MAKE tarball
tarball.commands = git archive --prefix $${TARGET}_$${VERSION}/ -o $${TARGET}_$${VERSION}.orig.tar.gz HEAD . \":(exclude)debian\" \":(exclude)data\"
tarball.depends = .git
tarball.path = .
# MAKE zip
zip.commands = git archive --prefix $${TARGET}_$${VERSION}/ -o $${TARGET}_$${VERSION}.orig.zip HEAD . \":(exclude)debian\" \":(exclude)data\"
zip.depends = .git
zip.path = .
mangz.depends = .git
mangz.commands = gzip -c -9 docs/$${TARGET}.1 > docs/$${TARGET}.1.gz
mangz.files = docs/*.1
mangz.path = /usr/share/man/man1
man.depends = mangz
man.path = /usr/share/man/man1
man.files = docs/*.?.gz
# i don't provide command for icon but something like convert barcoder.xcf barcoder-256.png
icon.path = /usr/share/$$TARGET
icon.files = $$PWD/$${TARGET}-256.png
desktop.depends = icon
desktop.path = /usr/share/applications/
desktop.files = $$PWD/$${TARGET}.desktop
QMAKE_CLEAN += $$PWD/*zip $$PWD/*.tar.gz $$PWD/*.deb
QMAKE_EXTRA_TARGETS += tarball zip deb man mangz desktop icon
#MAKE INSTALL
INSTALLS += target
target += mangz man desktop icon
target.path = $$BINDIR
deb.target = deb
deb.path = .
deb.depends = debian/control
deb.commands = dpkg-buildpackage -uc -us
}
DISTFILES += docs/*gz \
$${TARGET}.desktop \
$${TARGET}-256.png
diff --git a/debian/control b/debian/control
index 7565b1b..d341f2b 100644
--- a/debian/control
+++ b/debian/control
@@ -1,26 +1,25 @@
Source: barcoder
Section: multiverse/utils
Priority: optional
Maintainer: Chris <sneaky@yellow.lan>
-Build-Depends: libdmtx-dev, libqrencode-dev, libpng-dev,
- qtbase5-dev, libqt5svg5-dev, cdbs, debhelper
+Build-Depends: libdmtx-dev, libqrencode-dev, qtbase5-dev, cdbs, debhelper
Standards-Version: 4.4.1
Package: barcoder
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Suggests: copyq | clipit | parcellite | xfce4-clipman
Description: Transfer text from clipboard using a qrcode
klipper (included in plasma-workspace) is a clipboard
manager which can show qrcodes for clipboard content.
This can be a very convenient way to transfer clipbaord content
from a desktop machine to a mobile phone.
barcoder provides this clipboard-to-barcode functionality in
a lightweight, one-shot tool. It can be invoked from a command line,
or by calling it as an action from a clipboard manager.
.
barcoder works well with applications like
(Zebra Crossing) "Barcode Scanner" on android
(com.google.zxing.client.android)
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Thu, Sep 11, 1:54 PM (1 d, 2 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42676
Default Alt Text
(3 KB)
Attached To
Mode
R4 barcoder
Attached
Detach File
Event Timeline
Log In to Comment