Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F86191
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
5 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/barcoder b/barcoder
new file mode 100755
index 0000000..cd0b3ac
Binary files /dev/null and b/barcoder differ
diff --git a/barcoder.pro b/barcoder.pro
index fac8650..bac9d4b 100644
--- a/barcoder.pro
+++ b/barcoder.pro
@@ -1,110 +1,111 @@
#-------------------------------------------------
#
# Project created by QtCreator 2017-02-16T22:41:52
#
#-------------------------------------------------
# svg?
QT += core gui svg
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
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 mangz man desktop icon
+ 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/barcoder.xcf b/barcoder.xcf
new file mode 100644
index 0000000..d11124e
Binary files /dev/null and b/barcoder.xcf differ
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..b932be0
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,36 @@
+barcoder (1.0.1) unstable; urgency=low
+
+ * huge overhaul of build stuff to make neat deb and source packages
+
+
+ -- Chris <git@chris-nz.com> Sat, 04 Jul 2020 08:35:50 -0000
+
+
+barcoder (1.0.0) unstable; urgency=low
+
+ * improving premake, preparing for debianization (rev.6b986e4e)
+ * remove some dead code (rev.f237d18a)
+ * Remove unused isMicro() function (rev.c84b7b9b)
+ * Remove a couple of unused functions (rev.c3f7bc65)
+ * Add some license info for 3rd part QQREncode (rev.75b3a9f7)
+ * Update Readme to trigger re-render (rev.f4ff13b4)
+ * Update licence (rev.a386fcdb)
+ * better clipboard handling (rev.dc59f29a)
+ * suppress unused warning (rev.74bfdbb6)
+ * patch for differing clipbaord apis, fix clipboard segfault (rev.be57d568)
+ * fix segfault on long datamatrix input (rev.8a964fb6)
+ * removed dead code in mainwindow header (rev.8309d390)
+ * Update README.md to reflect new situation (rev.7891b3c2)
+ * Complete rewrite of mainwindow. (rev.eceaf8d5)
+ * Update README (rev.928c1c8f)
+ * Update README.md (rev.8341ad83)
+ * Create LICENSE (rev.478e129d)
+ * Update README.md (rev.d8a3e710)
+ * first push of readme (rev.0bdfe1cd)
+ * shouldn't have this file in repository (rev.63e13980)
+ * First commit! (rev.c0938417)
+
+
+ -- Chris <git@chris-nz.com> Sun, 28 Jun 2020 08:21:50 -0000
+
+
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..89ba047
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,25 @@
+Source: barcoder
+Section: multiverse/utils
+Priority: optional
+Maintainer: Chris <sneaky@yellow.lan>
+Build-Depends: libdmtx-dev, qtbase5-dev, libqt5svg5-dev
+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)
+
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..4e9d9ed
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,5 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/qmake.mk
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..89ae9db
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Thu, Sep 11, 8:24 PM (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42725
Default Alt Text
(5 KB)
Attached To
Mode
R4 barcoder
Attached
Detach File
Event Timeline
Log In to Comment