summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormidgard2017-09-06 16:55:29 +0200
committermidgard2017-09-06 16:55:29 +0200
commite5bde33ab17a98bd5da821a7339377cbd587ca46 (patch)
tree743c3b47d66e9db25b7254012e7718afc392b5a9
downloadaur-e5bde33ab17a98bd5da821a7339377cbd587ca46.tar.gz
Initial commit
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD50
-rw-r--r--openstreetcam-gui-r15.9ac859e.patch41
-rw-r--r--openstreetcam-gui.desktop8
-rw-r--r--openstreetcam-gui.sh3
-rw-r--r--openstreetcam-logo.pngbin0 -> 3386 bytes
-rw-r--r--openstreetcam-logo.svg90
7 files changed, 216 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..206d1884dfd
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+pkgbase = openstreetcam-gui
+ pkgdesc = Upload GUI for OpenStreetCam, a collaborative street view
+ pkgver = r15.9ac859e
+ pkgrel = 1
+ url = https://github.com/openstreetcam/upload-GUI
+ arch = i686
+ arch = x86_64
+ license = LGPL3
+ depends = qt5-base
+ depends = qt5-declarative
+ depends = openssl
+ source = openstreetcam-gui-r15.9ac859e::git+https://github.com/openstreetcam/upload-GUI#commit=9ac859ea82979946a97fd10b53a85eaab3fea36d
+ source = openstreetcam-gui-r15.9ac859e.patch
+ source = openstreetcam-gui.sh
+ source = openstreetcam-gui.desktop
+ source = openstreetcam-logo.png
+ sha256sums = SKIP
+ sha256sums = ccfcb42abe10d11826876467f514fba90b24c914789255f74ddf28a6c18570ac
+ sha256sums = 46c5be97dc7744382ccabbfe74ead7e2f1aafd2f9a6edcbbbb73f32569361131
+ sha256sums = 2e97ece5686d44c049112fb66aa45dc747b6d8123a5e52cc356e4f4b9f87a08f
+ sha256sums = cab24a82fd85b9f901150915b51b18b60afbb4e159f074a807fb3e4581a5d6fe
+
+pkgname = openstreetcam-gui
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..73ab48bd2c0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,50 @@
+# Maintainer: midgard <arch dot midgard "at symbol" janmaes "youknowwhat" com>
+
+pkgname=openstreetcam-gui
+pkgver=r15.9ac859e
+pkgrel=1
+pkgdesc="Upload GUI for OpenStreetCam, a collaborative street view"
+arch=('i686' 'x86_64')
+url="https://github.com/openstreetcam/upload-GUI"
+license=('LGPL3')
+depends=('qt5-base'
+ 'qt5-declarative'
+ 'openssl')
+source=("$pkgname-$pkgver::git+https://github.com/openstreetcam/upload-GUI#commit=9ac859ea82979946a97fd10b53a85eaab3fea36d"
+ "$pkgname-$pkgver.patch"
+ "$pkgname.sh"
+ "$pkgname.desktop"
+ "openstreetcam-logo.png")
+sha256sums=('SKIP'
+ 'ccfcb42abe10d11826876467f514fba90b24c914789255f74ddf28a6c18570ac'
+ '46c5be97dc7744382ccabbfe74ead7e2f1aafd2f9a6edcbbbb73f32569361131'
+ '2e97ece5686d44c049112fb66aa45dc747b6d8123a5e52cc356e4f4b9f87a08f'
+ 'cab24a82fd85b9f901150915b51b18b60afbb4e159f074a807fb3e4581a5d6fe')
+
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ patch -p1 -i "$srcdir/$pkgname-$pkgver.patch"
+}
+
+build() {
+ cd "$pkgname-$pkgver/OSV_Qt_upload"
+ qmake-qt5 PREFIX="$pkgdir"
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver/OSV_Qt_upload"
+
+ # Upstream's make install doesn't really work, so we do a custom install
+ install -d "$pkgdir/usr/lib/$pkgname"
+ install -m755 KQOAuth/libKQOAuth.so* HTTPRequest/libHTTPRequest.so* "$pkgdir/usr/lib/$pkgname/"
+ install -Tm755 "UploadComponent/UploadComponent" "$pkgdir/usr/lib/$pkgname/$pkgname"
+
+ # Install auxiliary files created by Arch package maintainer for your convenience
+ install -DTm755 "$srcdir/$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
+ install -DTm755 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
+ install -DTm755 "$srcdir/openstreetcam-logo.png" "$pkgdir/usr/share/pixmaps/openstreetcam.png"
+}
+
+# vim: set et ts=2 sw=2:
diff --git a/openstreetcam-gui-r15.9ac859e.patch b/openstreetcam-gui-r15.9ac859e.patch
new file mode 100644
index 00000000000..3102893e92b
--- /dev/null
+++ b/openstreetcam-gui-r15.9ac859e.patch
@@ -0,0 +1,41 @@
+diff --git a/OSV_Qt_upload/KQOAuth/KQOAuth.pro b/OSV_Qt_upload/KQOAuth/KQOAuth.pro
+index 5b5b4b2..97bb2c8 100755
+--- a/OSV_Qt_upload/KQOAuth/KQOAuth.pro
++++ b/OSV_Qt_upload/KQOAuth/KQOAuth.pro
+@@ -53,8 +53,8 @@ else:macx {
+ LIBS+= $$PWD/../openssl/lib/libssl.a
+ }
+ else:unix {
+- LIBS += /usr/lib/x86_64-linux-gnu/libcrypto.so
+- LIBS += /usr/lib/x86_64-linux-gnu/libssl.so
++ LIBS += /usr/lib/libcrypto.so
++ LIBS += /usr/lib/libssl.so
+ }
+
+ #headers.files = \
+diff --git a/OSV_Qt_upload/OSV_Qt_upload/UploadComponent/UploadComponent.pro b/OSV_Qt_upload/OSV_Qt_upload/UploadComponent/UploadComponent.pro
+index e21f875..e762587 100755
+--- a/OSV_Qt_upload/OSV_Qt_upload/UploadComponent/UploadComponent.pro
++++ b/OSV_Qt_upload/OSV_Qt_upload/UploadComponent/UploadComponent.pro
+@@ -2,7 +2,7 @@ TEMPLATE = app
+
+ QT += qml quick concurrent core network xml
+
+-CONFIG += c++11 kqoauth
++CONFIG += c++11 kqoauth deploy
+
+ SOURCES += main.cpp \
+ logincontroller.cpp \
+diff --git a/OSV_Qt_upload/UploadComponent/UploadComponent.pro b/OSV_Qt_upload/UploadComponent/UploadComponent.pro
+index aa9f517..799861f 100755
+--- a/OSV_Qt_upload/UploadComponent/UploadComponent.pro
++++ b/OSV_Qt_upload/UploadComponent/UploadComponent.pro
+@@ -2,7 +2,7 @@ TEMPLATE = app
+
+ QT += qml quick concurrent core network xml
+
+-CONFIG += c++11 kqoauth
++CONFIG += c++11 kqoauth deploy
+
+ SOURCES += main.cpp \
+ logincontroller.cpp \
diff --git a/openstreetcam-gui.desktop b/openstreetcam-gui.desktop
new file mode 100644
index 00000000000..724bec51e78
--- /dev/null
+++ b/openstreetcam-gui.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Comment=Upload geotagged images to OpenStreetCam
+Terminal=false
+Name=OpenStreetCam uploader
+Exec=openstreetcam-gui
+Type=Application
+Icon=openstreetcam.png
+Categories=Application;Network;
diff --git a/openstreetcam-gui.sh b/openstreetcam-gui.sh
new file mode 100644
index 00000000000..dcdebfd2674
--- /dev/null
+++ b/openstreetcam-gui.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+LD_LIBRARY_PATH="/usr/lib/openstreetcam-gui" exec /usr/lib/openstreetcam-gui/openstreetcam-gui
diff --git a/openstreetcam-logo.png b/openstreetcam-logo.png
new file mode 100644
index 00000000000..46f47739936
--- /dev/null
+++ b/openstreetcam-logo.png
Binary files differ
diff --git a/openstreetcam-logo.svg b/openstreetcam-logo.svg
new file mode 100644
index 00000000000..0ea2e00f931
--- /dev/null
+++ b/openstreetcam-logo.svg
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ viewBox="0 0 128 128"
+ height="128"
+ width="128"
+ id="svg2"
+ version="1.1"
+ sodipodi:docname="openstreetcam-logo.svg"
+ inkscape:version="0.92.2 5c3e80d, 2017-08-06"
+ inkscape:export-filename="/home/ruben/Programs/own-packages/openstreetcam-gui-git/openstreetcam-logo.png"
+ inkscape:export-xdpi="96"
+ inkscape:export-ydpi="96">
+ <sodipodi:namedview
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="1920"
+ inkscape:window-height="1048"
+ id="namedview9"
+ showgrid="true"
+ inkscape:showpageshadow="false"
+ borderlayer="false"
+ inkscape:zoom="3.1310116"
+ inkscape:cx="63.310242"
+ inkscape:cy="73.578542"
+ inkscape:window-x="0"
+ inkscape:window-y="32"
+ inkscape:window-maximized="1"
+ inkscape:current-layer="svg2">
+ <inkscape:grid
+ type="xygrid"
+ id="grid825"
+ dotted="false"
+ originx="0"
+ originy="0" />
+ </sodipodi:namedview>
+ <metadata
+ id="metadata8">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="Logo of Telenav's street level imagery service OpenStreetCam. Vectorized by Wikimedia Commons user FranklyMyDear...">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title>OpenStreetCam logo</dc:title>
+ <dc:author>Martijn van Exel</dc:author>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <defs
+ id="defs6" />
+ <g
+ id="g823"
+ transform="matrix(0.22893169,0,0,0.22893224,-5.35803,-4.558723)">
+ <circle
+ style="opacity:1;vector-effect:none;fill:#00aeef;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:5.13967085;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0"
+ id="path827"
+ cx="304.24158"
+ cy="298.69415"
+ r="197.65776" />
+ <path
+ id="path833"
+ style="fill:#bada90;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m 145.95922,172.78761 48.22722,48.22722 v 29.06409 l 84.1581,84.1581 v 56.69095 l 28.98425,28.98424 -29.14394,29.14393 v 56.53125 l 32.33779,1.03801 85.19611,-85.19611 V 363.4608 l -56.97041,-29.10401 -28.14585,-28.14585 h -29.46332 l -27.54701,-27.54701 h 26.34931 l 29.86256,-29.86255 h 57.88864 v -55.81264 l 28.50516,-28.50516 v -30.82071 l -20.28098,-20.28098 -10.06065,-7.82495 -28.9044,28.90439 v 27.46716 H 308.84587 L 279.78178,132.8644 h -56.85063 l -9.26219,-9.26218 c -29.82406,9.14098 -48.67413,29.25595 -67.70974,49.18539 z"
+ inkscape:connector-curvature="0" />
+ <path
+ style="opacity:1;vector-effect:none;fill:#1b1b1f;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0"
+ d="M 303.5293,78.121094 A 221.35081,221.35081 0 0 0 195.05469,106.83008 H 65.71875 c -13.762672,0 -24.841797,11.07911 -24.841797,24.8418 v 335.59765 c 0,13.76267 11.079125,24.84375 24.841797,24.84375 H 194.7793 a 221.35081,221.35081 0 0 0 108.75,28.70899 A 221.35081,221.35081 0 0 0 412,492.11328 h 128.20898 c 13.76268,0 24.8418,-11.08108 24.8418,-24.84375 V 131.67188 c 0,-13.76268 -11.07912,-24.8418 -24.8418,-24.8418 H 412.28125 A 221.35081,221.35081 0 0 0 303.5293,78.121094 Z m 0,26.890626 A 194.45926,194.45926 0 0 1 497.98828,299.4707 194.45926,194.45926 0 0 1 303.5293,493.92969 194.45926,194.45926 0 0 1 109.07031,299.4707 194.45926,194.45926 0 0 1 303.5293,105.01172 Z"
+ id="rect817"
+ inkscape:connector-curvature="0" />
+ <circle
+ style="opacity:1;vector-effect:none;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:3.46353745;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0"
+ id="path825"
+ cx="508.43127"
+ cy="162.05597"
+ r="28.606329" />
+ </g>
+</svg>