Add QOwnNotes

This commit is contained in:
2019-01-13 20:35:12 +01:00
commit 39d1881f5d
7 changed files with 416 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
-----BEGIN CERTIFICATE-----
MIIDcjCCAlqgAwIBAgIURVXPxPJc+5wwJHMn3ZSZhKT9yiswDQYJKoZIhvcNAQEL
BQAwRTELMAkGA1UEBhMCRlIxFTATBgNVBAMMDHdhcHQtcHJpdmF0ZTEfMB0GCSqG
SIb3DQEJAQwQa0BrZ3VlcmluZWF1Lm5ldDAeFw0xODAyMDUyMDE2MDVaFw0yODAy
MDMyMDE2MDVaMEUxCzAJBgNVBAYTAkZSMRUwEwYDVQQDDAx3YXB0LXByaXZhdGUx
HzAdBgkqhkiG9w0BCQEMEGtAa2d1ZXJpbmVhdS5uZXQwggEiMA0GCSqGSIb3DQEB
AQUAA4IBDwAwggEKAoIBAQCq+wjcG1sF55Lrq2lofobjNFmglnNsdqldjEeAt14F
Cp0bp4MiOmq4XaUvCjQjfmBBlJXSe3gDtS/apiiJhkLzzucrIZtRjgAHmCl72+4z
Z5xUPN7d18NkpNiH4DJzy/caTnhlUrsD81tdjp4LBoBX1Lwxx1f7w90MnqVahc4i
ZhjTliNHMyIpKgcUvBgC94zyry3jRtwsShQI7TnDww2qENLbFv1zqTkJrp0SpOH6
Dd2EX/smgpySYWvMdqfj95X5xHjN3EsVDgYS6Zw1calmE+g8MG1F/ltNBJ9yhxRG
/kenQh94ipGMlbrYCgYTOmRqdAmjvsCBJIEZAgrAe16vAgMBAAGjWjBYMA8GA1Ud
EwEB/wQFMAMBAf8wFgYDVR0lAQH/BAwwCgYIKwYBBQUHAwMwHQYDVR0OBBYEFHtr
o3JE+URzfGQFEt1UN4OFDo45MA4GA1UdDwEB/wQEAwIB1jANBgkqhkiG9w0BAQsF
AAOCAQEAje6hLpWZH6dDEUVKy8T7pHIn20758Po4cHVXxHPZxGm9qBVJuTzf0s/b
zBhy+uOjTTdjKiMhGbb7OK0/hpd3lrs0PrWH4SrPh4LoAO4ztrrdPOc6ARBTxjz8
rON9mnzRuMO7oFPPDUQ2Kz7Xli3BaVGIm3ACt6X+3mhU3bN0CP6EZGbLKX1HNcyu
sHDmAy07YWsC4D6lieRAFcVEIgDNnHsgqoaCrmihppCmar0aXKdckM6qSoXbd+Je
KR0jVu+YlVa+WKdZAXwfIlJcU/bcM4wjXHoYUvptpoHBmhaL1kMi1M/RN7sI5j6E
hGPm70oC6oIOqNxABgsvp8A0CQFRbw==
-----END CERTIFICATE-----
+33
View File
@@ -0,0 +1,33 @@
package : kg-qownnotes
version : 18.11.6-19
architecture : all
section : base
priority : optional
maintainer : Kevin GUERINEAU
description : Plain-text file notepad with markdown support and NextCloud and ownCloud integration
depends :
conflicts :
maturity :
locale : all
target_os : windows
min_os_version : 6.1
max_os_version :
min_wapt_version : 1.5.1.20
sources :
installed_size :
impacted_process :
description_fr : Bloc-notes de fichier en texte brut avec prise en charge du demarquage et de integration NextCloud et ownCloud
description_pl :
description_de :
description_es :
audit_schedule :
editor :
keywords :
licence :
homepage :
package_uuid :
signer : wapt-private
signer_fingerprint: f92cc2c37728a7041fdc444a610944e93e722bc118d6e3c1d27de71fea99afdf
signature : fwbVK++m/cVOX7MvCyvIWRfyGb+v/Q2w/pPmAkwn12WcBrjI6fkT82nB3WFELSkGJFY2/iregsaevhB22bVtAhKYsa+MqLW4yfHz2IT71Ug+wvQ85Y4bmnlVzJmOBpexvBMPguljLxd2XMa7Ew9dIr1XEVLXOVL1LqMX89EIGxpMJKtS64p8NYmT1sGP7L2aPu7UClLb91XVA4QDYRH4MaM+qCBu/u9ZG3L4q5c+vXLTMlqziFWQt4Wo9iGBk2td+UnW12suiESpEV5LBWFqjXQM5zKf4EZfTj9I4htwxwtRTe+zShdGWtCGYYyuO/I6mBUNBVM6jyCDj+KPNw6GJQ==
signature_date : 20180901-095252
signed_attributes : package,version,architecture,section,priority,maintainer,description,depends,conflicts,maturity,locale,target_os,min_os_version,max_os_version,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,audit_schedule,keywords,licence,signer,signer_fingerprint,signature_date,signed_attributes
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

File diff suppressed because one or more lines are too long
+5
View File
@@ -0,0 +1,5 @@
gHr0yIDQtUyF3St7ODkhwzcvl3xJ/TvO2bFls+1Zr+2oocDox+vZtE/clHagA/9Jttt0g9VK3aPv
t2RZOJprpXub8sqzXzIYO9kt3zq+QAEkODQ5CygvsrjXR2ORGvaIB2gtGXlRSxenFSqbXwCh9BMY
FMwqwFlpr/gIscZbhJbvSo7WOuW/6CBR6YnZ5fM8Unv5D4AKQ8L7CRnQAG3B0/yEMbYuE2FIPtFM
dvXCd4AEEGIp7Iv5YHWZz6bqxeTiE/Mn7AA0xqGs3iTysSib9O7zD/rsv+MZeqi8YudEMGNbJ+UN
6XR5dmxUXSd9oKUnNNJYrq/vLUDQnjk95E+/mw==
+295
View File
@@ -0,0 +1,295 @@
[PyScripter]
Version=3.3.2.0
[Project]
ClassName=TProjectRootNode
StoreRelativePaths=TRUE
ShowFileExtensions=FALSE
[Project\ChildNodes\Node0]
ClassName=TProjectFilesNode
[Project\ChildNodes\Node0\ChildNodes\Node0]
ClassName=TProjectFolderNode
Name=wapt
[Project\ChildNodes\Node0\ChildNodes\Node0\ChildNodes\Node0]
ClassName=TProjectFileNode
FileName=C:\Program Files (x86)\wapt\common.py
[Project\ChildNodes\Node0\ChildNodes\Node0\ChildNodes\Node1]
ClassName=TProjectFileNode
FileName=C:\Program Files (x86)\wapt\setuphelpers.py
[Project\ChildNodes\Node0\ChildNodes\Node0\ChildNodes\Node2]
ClassName=TProjectFileNode
FileName=C:\Program Files (x86)\wapt\wapt-get.ini
[Project\ChildNodes\Node0\ChildNodes\Node0\ChildNodes\Node3]
ClassName=TProjectFileNode
FileName=C:\Program Files (x86)\wapt\wapt-get.py
[Project\ChildNodes\Node0\ChildNodes\Node0\ChildNodes\Node4]
ClassName=TProjectFileNode
FileName=C:\Program Files (x86)\wapt\waptpackage.py
[Project\ChildNodes\Node0\ChildNodes\Node0\ChildNodes]
Count=5
[Project\ChildNodes\Node0\ChildNodes\Node1]
ClassName=TProjectFileNode
FileName=$[Project-Path]changelog.txt
[Project\ChildNodes\Node0\ChildNodes\Node2]
ClassName=TProjectFileNode
FileName=$[Project-Path]control
[Project\ChildNodes\Node0\ChildNodes\Node3]
ClassName=TProjectFileNode
FileName=$[Project-Path]..\setup.py
[Project\ChildNodes\Node0\ChildNodes]
Count=4
[Project\ChildNodes\Node1]
ClassName=TProjectRunConfiguationsNode
[Project\ChildNodes\Node1\ChildNodes\Node0]
ClassName=TProjectRunConfiguationNode
Name=install
[Project\ChildNodes\Node1\ChildNodes\Node0\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=install "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node0\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node1]
ClassName=TProjectRunConfiguationNode
Name=remove
[Project\ChildNodes\Node1\ChildNodes\Node1\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=remove "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node1\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node2]
ClassName=TProjectRunConfiguationNode
Name=session-setup
[Project\ChildNodes\Node1\ChildNodes\Node2\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=session-setup "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node2\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node3]
ClassName=TProjectRunConfiguationNode
Name=update
[Project\ChildNodes\Node1\ChildNodes\Node3\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=update
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node3\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node4]
ClassName=TProjectRunConfiguationNode
Name=upgrade
[Project\ChildNodes\Node1\ChildNodes\Node4\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=-f upgrade
WorkingDir=$[ActiveScript-Dir]
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node4\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node5]
ClassName=TProjectRunConfiguationNode
Name=-i build-upload
[Project\ChildNodes\Node1\ChildNodes\Node5\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=-i build-upload "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node5\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node6]
ClassName=TProjectRunConfiguationNode
Name=svn update
[Project\ChildNodes\Node1\ChildNodes\Node6\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=sources "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node6\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node7]
ClassName=TProjectRunConfiguationNode
Name=uninstall
[Project\ChildNodes\Node1\ChildNodes\Node7\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=uninstall "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node7\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[Project-Path]..
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node8]
ClassName=TProjectRunConfiguationNode
Name=update-package-sources
[Project\ChildNodes\Node1\ChildNodes\Node8\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=update-package-sources "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node8\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node9]
ClassName=TProjectRunConfiguationNode
Name=audit
[Project\ChildNodes\Node1\ChildNodes\Node9\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=audit "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node9\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes]
Count=10
[Project\ChildNodes]
Count=2
[Project\ExtraPythonPath]
Count=0
+61
View File
@@ -0,0 +1,61 @@
# -*- coding: utf-8 -*-
from setuphelpers import *
uninstallkey = []
def install():
print('installing %s' % control.asrequirement())
if iswin64():
qownnotes_path = makepath(programfiles32,'QOwnNotes')
else:
qownnotes_path = makepath(programfiles,'QOwnNotes')
mkdirs(qownnotes_path)
copytree2('QOwnNotes',qownnotes_path,onreplace=default_overwrite)
create_desktop_shortcut('QOwnNotes',qownnotes_path + '\QOwnNotes.exe')
# put here what to do when package is installed on host
# implicit context variables are WAPT, basedir, control, user, params, run
def uninstall():
print('uninstalling %s' % control.asrequirement())
# put here what to do when package is removed from host
# implicit context variables are WAPT, control, user, params, run
if iswin64():
qownnotes_path = makepath(programfiles32,'QOwnNotes')
else:
qownnotes_path = makepath(programfiles,'QOwnNotes')
remove_desktop_shortcut('QOwnNotes')
remove_tree(qownnotes_path)
def session_setup():
print('Session setup for %s' % control.asrequirement())
# put here what to do when package is configured inside a user session
# implicit context variables are WAPT, control, user, params
def update_package():
import BeautifulSoup, re, requests
url = "https://www.qownnotes.org/installation#Windows"
page = wgets(url,user_agent='Mozilla/5.0 (Windows NT 6.1; Win64; x64)')
bs = BeautifulSoup.BeautifulSoup(page)
print (bs)
version = bs.find('a')
print('Update package content from upstream binary sources')
if __name__ == '__main__':
update_package()