Compare commits
29 commits
Author | SHA1 | Date | |
---|---|---|---|
|
a2673f4f78 | ||
|
b9644517b5 | ||
|
9a75cae88a | ||
|
689e19655b | ||
|
d9ce9f9294 | ||
|
52dbfb7b3f | ||
|
977a135d0b | ||
|
5e39d6f857 | ||
|
fd01fd66e3 | ||
|
0905571a31 | ||
|
29d1516047 | ||
|
55e1a06df6 | ||
|
c4190d5612 | ||
|
bc26555007 | ||
|
3d82ee0704 | ||
|
d6f4fc6fd6 | ||
|
bdaa15bfcf | ||
|
7d8f2ba8fc | ||
|
8f46285cde | ||
|
d66bc39f8c | ||
|
a48114faef | ||
|
1895f4d59b | ||
|
9f6fb99b04 | ||
|
5c6c9146fa | ||
|
a99f1342fa | ||
|
d05a60937b | ||
|
ee61e25b0d | ||
|
035e3e68f2 | ||
|
a2d6012aab |
1
.github/FUNDING.yml
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
liberapay: ilpianista
|
62
.github/workflows/build.yml
vendored
Normal file
|
@ -0,0 +1,62 @@
|
||||||
|
name: SailfishOS build
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- harbour
|
||||||
|
tags:
|
||||||
|
- '*'
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Prepare
|
||||||
|
run: mkdir output
|
||||||
|
|
||||||
|
- name: Build armv7hl
|
||||||
|
id: build_armv7hl
|
||||||
|
uses: coderus/github-sfos-build@master
|
||||||
|
with:
|
||||||
|
release: 4.4.0.58
|
||||||
|
|
||||||
|
- name: Build i486
|
||||||
|
id: build_i486
|
||||||
|
uses: coderus/github-sfos-build@master
|
||||||
|
with:
|
||||||
|
release: 4.4.0.58
|
||||||
|
arch: i486
|
||||||
|
|
||||||
|
- name: Build aarch64
|
||||||
|
id: build_aarch64
|
||||||
|
uses: coderus/github-sfos-build@master
|
||||||
|
with:
|
||||||
|
release: 4.4.0.58
|
||||||
|
arch: aarch64
|
||||||
|
|
||||||
|
- name: Upload build result
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: rpms
|
||||||
|
path: RPMS
|
||||||
|
|
||||||
|
- name: Create release
|
||||||
|
if: contains(github.ref, 'release')
|
||||||
|
run: |
|
||||||
|
set -x
|
||||||
|
assets=()
|
||||||
|
for asset in RPMS/*.rpm; do
|
||||||
|
assets+=("-a" "$asset")
|
||||||
|
done
|
||||||
|
tag_name="${GITHUB_REF##*/}"
|
||||||
|
hub release create "${assets[@]}" -m "$tag_name" "$tag_name"
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
1
.gitignore
vendored
|
@ -2,3 +2,4 @@
|
||||||
*.pro.user
|
*.pro.user
|
||||||
*.pro.user.*
|
*.pro.user.*
|
||||||
*.autosave
|
*.autosave
|
||||||
|
RPMS
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[main]
|
|
||||||
host = https://www.transifex.com
|
|
||||||
|
|
||||||
[harbour-Papocchio.harbour-papocchiots]
|
|
||||||
file_filter = translations/harbour-papocchio-<lang>.ts
|
|
||||||
source_file = translations/harbour-papocchio.ts
|
|
||||||
source_lang = en
|
|
||||||
type = QT
|
|
||||||
|
|
|
@ -2,6 +2,8 @@ TARGET = harbour-papocchio
|
||||||
|
|
||||||
CONFIG += sailfishapp
|
CONFIG += sailfishapp
|
||||||
|
|
||||||
|
SAILFISHAPP_ICONS = 86x86 108x108 128x128 172x172
|
||||||
|
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
src/main.cpp
|
src/main.cpp
|
||||||
|
|
||||||
|
@ -16,7 +18,25 @@ OTHER_FILES += \
|
||||||
translations/*.ts
|
translations/*.ts
|
||||||
|
|
||||||
CONFIG += sailfishapp_i18n
|
CONFIG += sailfishapp_i18n
|
||||||
TRANSLATIONS += translations/harbour-lyrics-cs.ts \
|
TRANSLATIONS += \
|
||||||
|
translations/harbour-papocchio-ber.ts \
|
||||||
|
translations/harbour-papocchio-cs.ts \
|
||||||
|
translations/harbour-papocchio-de.ts \
|
||||||
|
translations/harbour-papocchio-el.ts \
|
||||||
|
translations/harbour-papocchio-eo.ts \
|
||||||
|
translations/harbour-papocchio-et.ts \
|
||||||
|
translations/harbour-papocchio-fi.ts \
|
||||||
|
translations/harbour-papocchio-fr.ts \
|
||||||
|
translations/harbour-papocchio-hr.ts \
|
||||||
|
translations/harbour-papocchio-hu.ts \
|
||||||
translations/harbour-papocchio-it.ts \
|
translations/harbour-papocchio-it.ts \
|
||||||
|
translations/harbour-papocchio-lt.ts \
|
||||||
|
translations/harbour-papocchio-nb_NO.ts \
|
||||||
|
translations/harbour-papocchio-nl_BE.ts \
|
||||||
translations/harbour-papocchio-nl.ts \
|
translations/harbour-papocchio-nl.ts \
|
||||||
translations/harbour-papocchio-sr.ts
|
translations/harbour-papocchio-ru_RU.ts \
|
||||||
|
translations/harbour-papocchio-sr.ts \
|
||||||
|
translations/harbour-papocchio-sv.ts \
|
||||||
|
translations/harbour-papocchio-tr.ts \
|
||||||
|
translations/harbour-papocchio-tzm.ts \
|
||||||
|
translations/harbour-papocchio-zh_Hant.ts
|
||||||
|
|
15
README.md
|
@ -2,11 +2,16 @@
|
||||||
|
|
||||||
A free-hand draw application for [Sailfish OS](https://sailfishos.org).
|
A free-hand draw application for [Sailfish OS](https://sailfishos.org).
|
||||||
|
|
||||||
[![Flattr this git repo](http://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=ilpianista&url=https://git.merproject.org/ilpianista/harbour-Papocchio&title=Papocchio&language=&tags=jolla&category=software)
|
## Translations
|
||||||
|
|
||||||
Translations via [Transifex](https://www.transifex.com/ilpianista-harbour/harbour-Papocchio/dashboard/), thank you!
|
[![Translation status](https://hosted.weblate.org/widgets/harbour-papocchio/-/svg-badge.svg)](https://hosted.weblate.org/engage/harbour-papocchio/?utm_source=widget)
|
||||||
|
|
||||||
[Build status](https://build.merproject.org/package/live_build_log/home:ilpianista/harbour-papocchio/sailfish_latest_armv7hl/armv8el)
|
Translations via [Weblate](https://hosted.weblate.org/projects/harbour-papocchio/), thank you!
|
||||||
|
|
||||||
## Icon
|
## Donate
|
||||||
The icon has been taken from [ICONSDB](http://www.iconsdb.com/royal-blue-icons/edit-5-icon.html).
|
|
||||||
|
Donations via [Liberapay](https://liberapay.com/ilpianista) or Bitcoin (1Ph3hFEoQaD4PK6MhL3kBNNh9FZFBfisEH) are always welcomed, _thank you_!
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
MIT
|
||||||
|
|
|
@ -6,3 +6,8 @@ Icon=harbour-papocchio
|
||||||
Exec=harbour-papocchio
|
Exec=harbour-papocchio
|
||||||
Name=Papocchio
|
Name=Papocchio
|
||||||
Comment=Draw using your finger!
|
Comment=Draw using your finger!
|
||||||
|
|
||||||
|
[X-Sailjail]
|
||||||
|
Permissions=Pictures
|
||||||
|
OrganizationName=it.andreascarpino
|
||||||
|
ApplicationName=harbour-papocchio
|
||||||
|
|
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 8 KiB |
BIN
icons/108x108/harbour-papocchio.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
icons/128x128/harbour-papocchio.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
icons/172x172/harbour-papocchio.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
icons/256x256/harbour-papocchio.png
Normal file
After Width: | Height: | Size: 30 KiB |
BIN
icons/86x86/harbour-papocchio.png
Normal file
After Width: | Height: | Size: 8 KiB |
37
icons/harbour-papocchio.svg
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||||
|
<svg width="100%" height="100%" viewBox="0 0 86 86" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
|
||||||
|
<g id="Layer_1" transform="matrix(-1,-1.22465e-16,1.22465e-16,-1,86,86)">
|
||||||
|
<path d="M85.699,1.723C85.699,0.937 85.062,0.3 84.276,0.3L43,0.3C19.417,0.3 0.3,19.417 0.3,43C0.3,66.582 19.417,85.7 43,85.7C66.583,85.7 85.7,66.582 85.7,43C85.7,42.364 85.699,1.723 85.699,1.723Z" style="fill:url(#_Linear1);fill-rule:nonzero;"/>
|
||||||
|
<g>
|
||||||
|
<circle cx="43" cy="43" r="32.025" style="fill:rgb(248,248,249);"/>
|
||||||
|
</g>
|
||||||
|
<g transform="matrix(-0.123712,1.51503e-17,-1.51503e-17,-0.123712,85.4182,62.467)">
|
||||||
|
<g transform="matrix(0.88575,0,0,0.88575,123.802,-44.1701)">
|
||||||
|
<path d="M368.872,99.211C368.872,45.78 333.215,11.268 289.684,10.882L104.032,10.882C78.36,10.654 57.364,31.611 57.136,57.283C56.78,89.82 89.231,112.245 119.777,101.358C152.375,91.743 179,128.281 159.731,156.277C137.346,188.799 111.277,229.175 102.796,252.273C91.254,283.701 96.837,321.869 118.471,343.503L311.63,248.211L418.903,82.218C402.786,79.947 385.053,84.523 368.872,99.211Z" style="fill:rgb(183,181,233);fill-rule:nonzero;"/>
|
||||||
|
<path d="M493.737,229.988C470.412,206.245 432.255,205.906 408.512,229.232L453.34,185.193C493.17,142.83 461.768,88.257 418.904,82.218L161.873,339.248L171.011,338.352L241.23,410.86C283.107,453.487 351.61,454.096 394.238,412.219L492.981,315.214C516.723,291.887 517.062,253.732 493.737,229.988Z" style="fill:rgb(183,181,233);fill-rule:nonzero;"/>
|
||||||
|
</g>
|
||||||
|
<g transform="matrix(1.22093,0,0,1.22093,-2.21047,-108.94)">
|
||||||
|
<g>
|
||||||
|
<g transform="matrix(6.62059,0,0,6.62059,-2.04158,-66.5759)">
|
||||||
|
<path d="M0.308,84.423C0.381,85.14 0.987,85.7 1.724,85.7L10.581,85.7L32.185,60.486L25.57,53.871L0.308,75.746L0.308,84.423Z" style="fill:rgb(255,108,108);fill-rule:nonzero;"/>
|
||||||
|
</g>
|
||||||
|
<g transform="matrix(6.62059,0,0,6.62059,-2.04158,-66.5759)">
|
||||||
|
<path d="M0.745,85.31C1,85.552 1.345,85.7 1.724,85.7L10.581,85.7L32.185,60.486L28.877,57.178L0.745,85.31Z" style="fill:rgb(255,65,91);fill-rule:nonzero;"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<path d="M234.56,257.818L207.465,211.764C192.628,215.854 179.972,221.421 172.075,232.459C152.094,260.39 155.929,298.141 179.552,321.568L211.978,308.081L234.56,257.818Z" style="fill:rgb(239,226,222);fill-rule:nonzero;"/>
|
||||||
|
<path d="M226.111,275.008L179.551,321.568C194.667,336.906 217.473,344.027 237.657,340.971L261.666,302.295L226.111,275.008Z" style="fill:rgb(239,226,222);fill-rule:nonzero;"/>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<path d="M294.145,180.455C268.267,201.803 234.298,204.366 207.465,211.764C209.231,230.318 214.425,255.069 226.111,275.008L273.896,244.706L303.511,197.609C301.283,191.09 298.202,185.265 294.145,180.455Z" style="fill:rgb(95,90,206);fill-rule:nonzero;"/>
|
||||||
|
<path d="M284.347,312.778C303.018,286.68 315.368,232.299 303.511,197.609L226.111,275.009C237.732,297.221 239.704,322.54 237.658,340.972C255.773,338.465 272.866,328.827 284.347,312.778Z" style="fill:rgb(95,90,206);fill-rule:nonzero;"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<defs>
|
||||||
|
<linearGradient id="_Linear1" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(72.4764,-72.4764,72.4764,72.4764,12.8065,73.1935)"><stop offset="0" style="stop-color:rgb(136,168,32);stop-opacity:1"/><stop offset="1" style="stop-color:rgb(194,219,107);stop-opacity:1"/><stop offset="1" style="stop-color:rgb(194,219,107);stop-opacity:1"/></linearGradient>
|
||||||
|
</defs>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 4 KiB |
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
Copyright (C) 2014 Andrea Scarpino <me@andreascarpino.it>
|
Copyright (C) 2014-2021 Andrea Scarpino <andrea@scarpino.dev>
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
Copyright (C) 2014 Andrea Scarpino <me@andreascarpino.it>
|
Copyright (C) 2014-2021 Andrea Scarpino <andrea@scarpino.dev>
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
Copyright (C) 2014-2015 Andrea Scarpino <me@andreascarpino.it>
|
Copyright (C) 2014-2021 Andrea Scarpino <andrea@scarpino.dev>
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
@ -73,7 +73,7 @@ Page {
|
||||||
}
|
}
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
remorseSave.execute(menu, qsTr("Saving the canvas..."), function() {
|
remorseSave.execute(menu, qsTr("Saving the canvas…"), function() {
|
||||||
canvas.save(papocchioDir + pictureName());
|
canvas.save(papocchioDir + pictureName());
|
||||||
}, 3000);
|
}, 3000);
|
||||||
}
|
}
|
||||||
|
@ -90,7 +90,7 @@ Page {
|
||||||
stepSize: 1
|
stepSize: 1
|
||||||
value: defaultStrokeSize
|
value: defaultStrokeSize
|
||||||
valueText: value
|
valueText: value
|
||||||
width: parent.width - edit.width - save.width - clearBtn.width - quit.width - (Theme.paddingMedium * 4)
|
width: parent.width - edit.width - save.width - clearBtn.width - (Theme.paddingMedium * 4)
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
|
|
||||||
// Don't waste space
|
// Don't waste space
|
||||||
|
@ -109,7 +109,7 @@ Page {
|
||||||
width: 50
|
width: 50
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
remorseClear.execute(menu, qsTr("Clearing the canvas..."), function() {
|
remorseClear.execute(menu, qsTr("Clearing the canvas…"), function() {
|
||||||
canvas.clear();
|
canvas.clear();
|
||||||
}, 3000);
|
}, 3000);
|
||||||
}
|
}
|
||||||
|
@ -118,23 +118,6 @@ Page {
|
||||||
id: remorseClear
|
id: remorseClear
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
IconButton {
|
|
||||||
id: quit
|
|
||||||
icon.source: "image://theme/icon-m-close"
|
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
|
||||||
width: 50
|
|
||||||
|
|
||||||
onClicked: {
|
|
||||||
remorseQuit.execute(menu, qsTr("Quitting..."), function() {
|
|
||||||
Qt.quit();
|
|
||||||
}, 1000);
|
|
||||||
}
|
|
||||||
|
|
||||||
RemorseItem {
|
|
||||||
id: remorseQuit
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
|
|
|
@ -1,5 +1,16 @@
|
||||||
|
* Fri Nov 25 2022 Andrea Scarpino <andrea@scarpino.dev> 1.3.4-1
|
||||||
|
- Add SailJail permissions.
|
||||||
|
- Update icons.
|
||||||
|
- Add Lithuanian translation.
|
||||||
|
|
||||||
|
* Sat Jun 5 2021 Andrea Scarpino <andrea@scarpino.dev> 1.3.3-1
|
||||||
|
- Add several translations.
|
||||||
|
|
||||||
|
* Thu Jul 21 2016 Andrea Scarpino <me@andreascarpino.it> 1.3.2-1
|
||||||
|
- Restore gestures.
|
||||||
|
|
||||||
* Wed Jul 13 2016 Andrea Scarpino <me@andreascarpino.it> 1.3.1-1
|
* Wed Jul 13 2016 Andrea Scarpino <me@andreascarpino.it> 1.3.1-1
|
||||||
* Add Serbian and Dutch translations.
|
- Add Serbian and Dutch translations.
|
||||||
|
|
||||||
* Fri Jun 03 2016 Andrea Scarpino <me@andreascarpino.it> 1.3-1
|
* Fri Jun 03 2016 Andrea Scarpino <me@andreascarpino.it> 1.3-1
|
||||||
- Disable gestures.
|
- Disable gestures.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#
|
#
|
||||||
# Do NOT Edit the Auto-generated Part!
|
# Do NOT Edit the Auto-generated Part!
|
||||||
# Generated by: spectacle version 0.27
|
# Generated by: spectacle version 0.32
|
||||||
#
|
#
|
||||||
|
|
||||||
Name: harbour-papocchio
|
Name: harbour-papocchio
|
||||||
|
@ -13,11 +13,11 @@ Name: harbour-papocchio
|
||||||
%{!?qtc_make:%define qtc_make make}
|
%{!?qtc_make:%define qtc_make make}
|
||||||
%{?qtc_builddir:%define _builddir %qtc_builddir}
|
%{?qtc_builddir:%define _builddir %qtc_builddir}
|
||||||
Summary: Paint using your finger
|
Summary: Paint using your finger
|
||||||
Version: 1.3.1
|
Version: 1.3.4
|
||||||
Release: 1
|
Release: 1
|
||||||
Group: Qt/Qt
|
Group: Qt/Qt
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
URL: http://www.andreascarpino.it
|
URL: https://scarpino.dev
|
||||||
Source0: %{name}-%{version}.tar.bz2
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
Source100: harbour-papocchio.yaml
|
Source100: harbour-papocchio.yaml
|
||||||
Requires: sailfishsilica-qt5 >= 0.10.9
|
Requires: sailfishsilica-qt5 >= 0.10.9
|
||||||
|
@ -30,6 +30,24 @@ BuildRequires: desktop-file-utils
|
||||||
%description
|
%description
|
||||||
An application to paint using your finger!
|
An application to paint using your finger!
|
||||||
|
|
||||||
|
%if "%{?vendor}" == "chum"
|
||||||
|
PackageName: Papocchio
|
||||||
|
Type: desktop-application
|
||||||
|
DeveloperName: Andrea Scarpino
|
||||||
|
Categories:
|
||||||
|
- Graphics
|
||||||
|
Custom:
|
||||||
|
Repo: https://github.com/ilpianista/harbour-Papocchio
|
||||||
|
Icon: https://raw.githubusercontent.com/ilpianista/harbour-Papocchio/master/icons/harbour-papocchio.svg
|
||||||
|
Screenshots:
|
||||||
|
- https://raw.githubusercontent.com/ilpianista/harbour-Papocchio/master/screenshots/screenshot_1.png
|
||||||
|
- https://raw.githubusercontent.com/ilpianista/harbour-Papocchio/master/screenshots/screenshot_2.png
|
||||||
|
Url:
|
||||||
|
Homepage: https://github.com/ilpianista/harbour-Papocchio
|
||||||
|
Bugtracker: https://github.com/ilpianista/harbour-Papocchio/issues
|
||||||
|
Donation: https://liberapay.com/ilpianista
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
|
@ -63,9 +81,9 @@ desktop-file-install --delete-original \
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_bindir}
|
%{_bindir}/%{name}
|
||||||
%{_datadir}/%{name}
|
%{_datadir}/%{name}
|
||||||
%{_datadir}/applications/%{name}.desktop
|
%{_datadir}/applications/%{name}.desktop
|
||||||
%{_datadir}/icons/hicolor/86x86/apps/%{name}.png
|
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
||||||
# >> files
|
# >> files
|
||||||
# << files
|
# << files
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
Name: harbour-papocchio
|
Name: harbour-papocchio
|
||||||
Summary: Paint using your finger
|
Summary: Paint using your finger
|
||||||
Version: 1.3.1
|
Version: 1.3.4
|
||||||
Release: 1
|
Release: 1
|
||||||
# The contents of the Group field should be one of the groups listed here:
|
# The contents of the Group field should be one of the groups listed here:
|
||||||
# http://gitorious.org/meego-developer-tools/spectacle/blobs/master/data/GROUPS
|
# http://gitorious.org/meego-developer-tools/spectacle/blobs/master/data/GROUPS
|
||||||
Group: Qt/Qt
|
Group: Qt/Qt
|
||||||
URL: http://www.andreascarpino.it
|
URL: https://scarpino.dev
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
# This must be generated before uploading a package to a remote build service.
|
# This must be generated before uploading a package to a remote build service.
|
||||||
# Usually this line does not need to be modified.
|
# Usually this line does not need to be modified.
|
||||||
|
@ -13,6 +13,24 @@ Sources:
|
||||||
- '%{name}-%{version}.tar.bz2'
|
- '%{name}-%{version}.tar.bz2'
|
||||||
Description: |
|
Description: |
|
||||||
An application to paint using your finger!
|
An application to paint using your finger!
|
||||||
|
|
||||||
|
%if "%{?vendor}" == "chum"
|
||||||
|
PackageName: Papocchio
|
||||||
|
Type: desktop-application
|
||||||
|
DeveloperName: Andrea Scarpino
|
||||||
|
Categories:
|
||||||
|
- Graphics
|
||||||
|
Custom:
|
||||||
|
Repo: https://github.com/ilpianista/harbour-Papocchio
|
||||||
|
Icon: https://raw.githubusercontent.com/ilpianista/harbour-Papocchio/master/icons/harbour-papocchio.svg
|
||||||
|
Screenshots:
|
||||||
|
- https://raw.githubusercontent.com/ilpianista/harbour-Papocchio/master/screenshots/screenshot_1.png
|
||||||
|
- https://raw.githubusercontent.com/ilpianista/harbour-Papocchio/master/screenshots/screenshot_2.png
|
||||||
|
Url:
|
||||||
|
Homepage: https://github.com/ilpianista/harbour-Papocchio
|
||||||
|
Bugtracker: https://github.com/ilpianista/harbour-Papocchio/issues
|
||||||
|
Donation: https://liberapay.com/ilpianista
|
||||||
|
%endif
|
||||||
Configure: none
|
Configure: none
|
||||||
# The qtc5 builder inserts macros to allow QtCreator to have fine
|
# The qtc5 builder inserts macros to allow QtCreator to have fine
|
||||||
# control over qmake/make execution
|
# control over qmake/make execution
|
||||||
|
@ -36,10 +54,10 @@ Requires:
|
||||||
|
|
||||||
# All installed files
|
# All installed files
|
||||||
Files:
|
Files:
|
||||||
- '%{_bindir}'
|
- '%{_bindir}/%{name}'
|
||||||
- '%{_datadir}/%{name}'
|
- '%{_datadir}/%{name}'
|
||||||
- '%{_datadir}/applications/%{name}.desktop'
|
- '%{_datadir}/applications/%{name}.desktop'
|
||||||
- '%{_datadir}/icons/hicolor/86x86/apps/%{name}.png'
|
- '%{_datadir}/icons/hicolor/*/apps/%{name}.png'
|
||||||
|
|
||||||
# For more information about yaml and what's supported in Sailfish OS
|
# For more information about yaml and what's supported in Sailfish OS
|
||||||
# build system, please see https://wiki.merproject.org/wiki/Spectacle
|
# build system, please see https://wiki.merproject.org/wiki/Spectacle
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
Copyright (C) 2014-2016 Andrea Scarpino <me@andreascarpino.it>
|
Copyright (C) 2014-2021 Andrea Scarpino <andrea@scarpino.dev>
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
@ -17,6 +17,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <QtQuick>
|
#include <QtQuick>
|
||||||
|
#include <QStandardPaths>
|
||||||
|
|
||||||
#include <sailfishapp.h>
|
#include <sailfishapp.h>
|
||||||
|
|
||||||
|
@ -38,12 +39,6 @@ int main(int argc, char *argv[])
|
||||||
view->setPersistentOpenGLContext(true);
|
view->setPersistentOpenGLContext(true);
|
||||||
view->setPersistentSceneGraph(true);
|
view->setPersistentSceneGraph(true);
|
||||||
|
|
||||||
// Disable swipe gestures in proper way
|
|
||||||
view->setFlags(view->flags()|Qt::WindowOverridesSystemGestures);
|
|
||||||
|
|
||||||
// Make Qt.quit() work from QML
|
|
||||||
QObject::connect(view->engine(), &QQmlEngine::quit, app.data(), &QCoreApplication::quit);
|
|
||||||
|
|
||||||
view->rootContext()->setContextProperty("papocchioDir", papocchioDir());
|
view->rootContext()->setContextProperty("papocchioDir", papocchioDir());
|
||||||
|
|
||||||
view->show();
|
view->show();
|
||||||
|
|
|
@ -13,18 +13,13 @@
|
||||||
<name>MainPage</name>
|
<name>MainPage</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainPage.qml" line="76"/>
|
<location filename="../qml/pages/MainPage.qml" line="76"/>
|
||||||
<source>Saving the canvas...</source>
|
<source>Saving the canvas…</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation>Ukládá se plátno…</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainPage.qml" line="112"/>
|
<location filename="../qml/pages/MainPage.qml" line="112"/>
|
||||||
<source>Clearing the canvas...</source>
|
<source>Clearing the canvas…</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation>Vyprazdňuje se plátno…</translation>
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../qml/pages/MainPage.qml" line="129"/>
|
|
||||||
<source>Quitting...</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
</TS>
|
</TS>
|
||||||
|
|
25
translations/harbour-papocchio-de.ts
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE TS>
|
||||||
|
<TS version="2.1" language="de">
|
||||||
|
<context>
|
||||||
|
<name>CoverPage</name>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/cover/CoverPage.qml" line="25"/>
|
||||||
|
<source>Draw!</source>
|
||||||
|
<translation>Zeichnen!</translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>MainPage</name>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/MainPage.qml" line="76"/>
|
||||||
|
<source>Saving the canvas…</source>
|
||||||
|
<translation>Speichern der Leinwand …</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/MainPage.qml" line="112"/>
|
||||||
|
<source>Clearing the canvas…</source>
|
||||||
|
<translation>Löschen der Leinwand …</translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
|
</TS>
|
25
translations/harbour-papocchio-el.ts
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE TS>
|
||||||
|
<TS version="2.1" language="el">
|
||||||
|
<context>
|
||||||
|
<name>CoverPage</name>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/cover/CoverPage.qml" line="25"/>
|
||||||
|
<source>Draw!</source>
|
||||||
|
<translation>Σχεδίαση!</translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>MainPage</name>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/MainPage.qml" line="76"/>
|
||||||
|
<source>Saving the canvas…</source>
|
||||||
|
<translation>Αποθήκευση του καμβά…</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/MainPage.qml" line="112"/>
|
||||||
|
<source>Clearing the canvas…</source>
|
||||||
|
<translation>Εκκαθάριση του καμβά…</translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
|
</TS>
|
|
@ -1,29 +1,24 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!DOCTYPE TS>
|
<!DOCTYPE TS>
|
||||||
<TS version="2.1">
|
<TS version="2.1" language="hu">
|
||||||
<context>
|
<context>
|
||||||
<name>CoverPage</name>
|
<name>CoverPage</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/cover/CoverPage.qml" line="25"/>
|
<location filename="../qml/cover/CoverPage.qml" line="25"/>
|
||||||
<source>Draw!</source>
|
<source>Draw!</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation>Rajzolhatsz!</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>MainPage</name>
|
<name>MainPage</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainPage.qml" line="76"/>
|
<location filename="../qml/pages/MainPage.qml" line="76"/>
|
||||||
<source>Saving the canvas...</source>
|
<source>Saving the canvas…</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainPage.qml" line="112"/>
|
<location filename="../qml/pages/MainPage.qml" line="112"/>
|
||||||
<source>Clearing the canvas...</source>
|
<source>Clearing the canvas…</source>
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../qml/pages/MainPage.qml" line="129"/>
|
|
||||||
<source>Quitting...</source>
|
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
|
@ -13,18 +13,13 @@
|
||||||
<name>MainPage</name>
|
<name>MainPage</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainPage.qml" line="76"/>
|
<location filename="../qml/pages/MainPage.qml" line="76"/>
|
||||||
<source>Saving the canvas...</source>
|
<source>Saving the canvas…</source>
|
||||||
<translation>Sto salvando l'immagine...</translation>
|
<translation>Sto salvando l'immagine…</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainPage.qml" line="112"/>
|
<location filename="../qml/pages/MainPage.qml" line="112"/>
|
||||||
<source>Clearing the canvas...</source>
|
<source>Clearing the canvas…</source>
|
||||||
<translation>Sto cancellando l'immagine...</translation>
|
<translation>Sto cancellando l'immagine…</translation>
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../qml/pages/MainPage.qml" line="129"/>
|
|
||||||
<source>Quitting...</source>
|
|
||||||
<translation>Sto uscendo...</translation>
|
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
</TS>
|
</TS>
|
||||||
|
|
30
translations/harbour-papocchio-lt.ts
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE TS>
|
||||||
|
<TS version="2.1" language="lt">
|
||||||
|
<context>
|
||||||
|
<name>CoverPage</name>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/cover/CoverPage.qml" line="25"/>
|
||||||
|
<source>Draw!</source>
|
||||||
|
<translation>Piešiam!</translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>MainPage</name>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/MainPage.qml" line="76"/>
|
||||||
|
<source>Saving the canvas…</source>
|
||||||
|
<translation>Išsaugoma drobė…</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/MainPage.qml" line="112"/>
|
||||||
|
<source>Clearing the canvas…</source>
|
||||||
|
<translation>Išvaloma drobė…</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/MainPage.qml" line="129"/>
|
||||||
|
<source>Quitting…</source>
|
||||||
|
<translation>Baigiama…</translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
|
</TS>
|
25
translations/harbour-papocchio-nb_NO.ts
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE TS>
|
||||||
|
<TS version="2.1" language="nb_NO">
|
||||||
|
<context>
|
||||||
|
<name>CoverPage</name>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/cover/CoverPage.qml" line="25"/>
|
||||||
|
<source>Draw!</source>
|
||||||
|
<translation>Tegn!</translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>MainPage</name>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/MainPage.qml" line="76"/>
|
||||||
|
<source>Saving the canvas…</source>
|
||||||
|
<translation>Lagrer lerretet…</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/MainPage.qml" line="112"/>
|
||||||
|
<source>Clearing the canvas…</source>
|
||||||
|
<translation>Tømmer lerretet…</translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
|
</TS>
|
|
@ -13,18 +13,13 @@
|
||||||
<name>MainPage</name>
|
<name>MainPage</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainPage.qml" line="76"/>
|
<location filename="../qml/pages/MainPage.qml" line="76"/>
|
||||||
<source>Saving the canvas...</source>
|
<source>Saving the canvas…</source>
|
||||||
<translation>Opslaan canvas...</translation>
|
<translation>Opslaan canvas…</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainPage.qml" line="112"/>
|
<location filename="../qml/pages/MainPage.qml" line="112"/>
|
||||||
<source>Clearing the canvas...</source>
|
<source>Clearing the canvas…</source>
|
||||||
<translation>Leegmaken canvas...</translation>
|
<translation>Leegmaken canvas…</translation>
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../qml/pages/MainPage.qml" line="129"/>
|
|
||||||
<source>Quitting...</source>
|
|
||||||
<translation>Afsluiten...</translation>
|
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
</TS>
|
</TS>
|
||||||
|
|
25
translations/harbour-papocchio-ru_RU.ts
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE TS>
|
||||||
|
<TS version="2.1" language="ru_RU">
|
||||||
|
<context>
|
||||||
|
<name>CoverPage</name>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/cover/CoverPage.qml" line="25"/>
|
||||||
|
<source>Draw!</source>
|
||||||
|
<translation>Рисовать!</translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>MainPage</name>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/MainPage.qml" line="76"/>
|
||||||
|
<source>Saving the canvas…</source>
|
||||||
|
<translation>Сохраняю холст…</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/MainPage.qml" line="112"/>
|
||||||
|
<source>Clearing the canvas…</source>
|
||||||
|
<translation>Очищаю холст…</translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
|
</TS>
|
|
@ -13,18 +13,13 @@
|
||||||
<name>MainPage</name>
|
<name>MainPage</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainPage.qml" line="76"/>
|
<location filename="../qml/pages/MainPage.qml" line="76"/>
|
||||||
<source>Saving the canvas...</source>
|
<source>Saving the canvas…</source>
|
||||||
<translation>Чување платна...</translation>
|
<translation>Чување платна…</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainPage.qml" line="112"/>
|
<location filename="../qml/pages/MainPage.qml" line="112"/>
|
||||||
<source>Clearing the canvas...</source>
|
<source>Clearing the canvas…</source>
|
||||||
<translation>Брисање платна...</translation>
|
<translation>Брисање платна…</translation>
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../qml/pages/MainPage.qml" line="129"/>
|
|
||||||
<source>Quitting...</source>
|
|
||||||
<translation>Одустајање...</translation>
|
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
</TS>
|
</TS>
|
||||||
|
|
25
translations/harbour-papocchio-sv.ts
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE TS>
|
||||||
|
<TS version="2.1" language="sv">
|
||||||
|
<context>
|
||||||
|
<name>CoverPage</name>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/cover/CoverPage.qml" line="25"/>
|
||||||
|
<source>Draw!</source>
|
||||||
|
<translation>Rita!</translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>MainPage</name>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/MainPage.qml" line="76"/>
|
||||||
|
<source>Saving the canvas…</source>
|
||||||
|
<translation>Sparar bilden…</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/MainPage.qml" line="112"/>
|
||||||
|
<source>Clearing the canvas…</source>
|
||||||
|
<translation>Rensar ytan…</translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
|
</TS>
|
|
@ -13,17 +13,12 @@
|
||||||
<name>MainPage</name>
|
<name>MainPage</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainPage.qml" line="76"/>
|
<location filename="../qml/pages/MainPage.qml" line="76"/>
|
||||||
<source>Saving the canvas...</source>
|
<source>Saving the canvas…</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainPage.qml" line="112"/>
|
<location filename="../qml/pages/MainPage.qml" line="112"/>
|
||||||
<source>Clearing the canvas...</source>
|
<source>Clearing the canvas…</source>
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../qml/pages/MainPage.qml" line="129"/>
|
|
||||||
<source>Quitting...</source>
|
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
|
|