Browse Source

Add desktop packaging tools

master
Skylar Ittner 1 month ago
parent
commit
fc9f955f75

+ 96
- 0
packaging/Info.plist View File

@@ -0,0 +1,96 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+<plist version="1.0">
4
+  <dict>
5
+    <key>BuildMachineOSBuild</key>
6
+    <string>16A323</string>
7
+    <key>CFBundleDevelopmentRegion</key>
8
+    <string>en</string>
9
+    <key>CFBundleDisplayName</key>
10
+    <string>Business Station</string>
11
+    <key>CFBundleDocumentTypes</key>
12
+    <array/>
13
+    <key>CFBundleExecutable</key>
14
+    <string>nwjs</string>
15
+    <key>CFBundleIconFile</key>
16
+    <string>app.icns</string>
17
+    <key>CFBundleIdentifier</key>
18
+    <string>com.netsyms.HelpingHelena</string>
19
+    <key>CFBundleInfoDictionaryVersion</key>
20
+    <string>6.0</string>
21
+    <key>CFBundleName</key>
22
+    <string>helping-helena</string>
23
+    <key>CFBundlePackageType</key>
24
+    <string>APPL</string>
25
+    <key>CFBundleShortVersionString</key>
26
+    <string>Version 1.0.0</string>
27
+    <key>CFBundleSignature</key>
28
+    <string>NWJS</string>
29
+    <key>CFBundleURLTypes</key>
30
+    <array>
31
+      <dict>
32
+        <key>CFBundleURLName</key>
33
+        <string>Web site URL</string>
34
+        <key>CFBundleURLSchemes</key>
35
+        <array>
36
+          <string>http</string>
37
+          <string>https</string>
38
+        </array>
39
+      </dict>
40
+      <dict>
41
+        <key>CFBundleURLName</key>
42
+        <string>FTP site URL</string>
43
+        <key>CFBundleURLSchemes</key>
44
+        <array>
45
+          <string>ftp</string>
46
+        </array>
47
+      </dict>
48
+      <dict>
49
+        <key>CFBundleURLName</key>
50
+        <string>Local file URL</string>
51
+        <key>CFBundleURLSchemes</key>
52
+        <array>
53
+          <string>file</string>
54
+        </array>
55
+      </dict>
56
+    </array>
57
+    <key>CFBundleVersion</key>
58
+    <string>1.2.0</string>
59
+    <key>DTCompiler</key>
60
+    <string>com.apple.compilers.llvm.clang.1_0</string>
61
+    <key>DTSDKBuild</key>
62
+    <string>10.12</string>
63
+    <key>DTSDKName</key>
64
+    <string>macosx10.12</string>
65
+    <key>DTXcode</key>
66
+    <string>0833</string>
67
+    <key>DTXcodeBuild</key>
68
+    <string>8E3004b</string>
69
+    <key>LSFileQuarantineEnabled</key>
70
+    <true/>
71
+    <key>LSHasLocalizedDisplayName</key>
72
+    <string>1</string>
73
+    <key>LSMinimumSystemVersion</key>
74
+    <string>10.9.0</string>
75
+    <key>NSAppleScriptEnabled</key>
76
+    <true/>
77
+    <key>NSPrincipalClass</key>
78
+    <string>BrowserCrApplication</string>
79
+    <key>NSSupportsAppNap</key>
80
+    <true/>
81
+    <key>NSSupportsAutomaticGraphicsSwitching</key>
82
+    <true/>
83
+    <key>NSUserActivityTypes</key>
84
+    <array>
85
+      <string>NSUserActivityTypeBrowsingWeb</string>
86
+    </array>
87
+    <key>NSUserNotificationAlertStyle</key>
88
+    <string>banner</string>
89
+    <key>OSAScriptingDefinition</key>
90
+    <string>scripting.sdef</string>
91
+    <key>SCMRevision</key>
92
+    <string>2f0eedbae58fc8cfa2f2ff2988c4c1927e1edbac-</string>
93
+    <key>UTExportedTypeDeclarations</key>
94
+    <array/>
95
+  </dict>
96
+</plist>

+ 5
- 0
packaging/appimage/HelpingHelena.AppDir/AppRun View File

@@ -0,0 +1,5 @@
1
+#!/bin/sh
2
+HERE="$(dirname "$(readlink -f "${0}")")"
3
+
4
+cd $HERE/usr/lib/helpinghelena-desktop
5
+./helpinghelena-desktop

+ 11
- 0
packaging/appimage/HelpingHelena.AppDir/HelpingHelena.desktop View File

@@ -0,0 +1,11 @@
1
+[Desktop Entry]
2
+Name=Helping Helena
3
+Version=1.0
4
+Exec=helpinghelena-desktop
5
+Comment=Launch Helping Helena app
6
+Icon=helpinghelena
7
+Type=Application
8
+Terminal=false
9
+StartupNotify=true
10
+Categories=Office;Network;
11
+Name[en_US]=Helping Helena

BIN
packaging/appimage/HelpingHelena.AppDir/helpinghelena.png View File


+ 3
- 0
packaging/appimage/HelpingHelena.AppDir/usr/bin/helpinghelena-desktop View File

@@ -0,0 +1,3 @@
1
+#!/bin/sh
2
+cd /usr/lib/helpinghelena-desktop
3
+./helpinghelena-desktop

+ 23
- 0
packaging/appimage/HelpingHelena.AppDir/usr/share/metainfo/helpinghelena.appdata.xml View File

@@ -0,0 +1,23 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<component type="desktop-application">
3
+	<id>helpinghelena-desktop</id>
4
+	<metadata_license>MPL-2.0</metadata_license>
5
+	<project_license>MPL-2.0</project_license>
6
+	<name>Helping Helena</name>
7
+	<summary>Desktop app for Helping Helena</summary>
8
+	<description>
9
+		
10
+	</description>
11
+	<launchable type="desktop-id">helpinghelena.desktop</launchable>
12
+	<url type="homepage">https://helpinghelena.org</url>
13
+<!--
14
+	<screenshots>
15
+		<screenshot type="default">
16
+			<image>https://netsyms.com/data/uploads/apps/notepost/app/home.png</image>
17
+		</screenshot>
18
+	</screenshots>
19
+-->
20
+	<provides>
21
+		<id>helpinghelena.desktop</id>
22
+	</provides>
23
+</component>

+ 8
- 0
packaging/debian/DEBIAN/control View File

@@ -0,0 +1,8 @@
1
+Package: helpinghelena-desktop
2
+Version: 1.0.0
3
+Maintainer: Netsyms Technologies <opensource@netsyms.com>
4
+Section: web
5
+Homepage: https://helpinghelena.org
6
+Priority: optional
7
+Description: Desktop app for Helping Helena.
8
+Architecture: i386

+ 359
- 0
packaging/debian/DEBIAN/copyright View File

@@ -0,0 +1,359 @@
1
+Copyright (c) 2018-2019 Netsyms Technologies.
2
+
3
+Mozilla Public License Version 2.0
4
+==================================
5
+
6
+### 1. Definitions
7
+
8
+**1.1. “Contributor”**
9
+    means each individual or legal entity that creates, contributes to
10
+    the creation of, or owns Covered Software.
11
+
12
+**1.2. “Contributor Version”**
13
+    means the combination of the Contributions of others (if any) used
14
+    by a Contributor and that particular Contributor's Contribution.
15
+
16
+**1.3. “Contribution”**
17
+    means Covered Software of a particular Contributor.
18
+
19
+**1.4. “Covered Software”**
20
+    means Source Code Form to which the initial Contributor has attached
21
+    the notice in Exhibit A, the Executable Form of such Source Code
22
+    Form, and Modifications of such Source Code Form, in each case
23
+    including portions thereof.
24
+
25
+**1.5. “Incompatible With Secondary Licenses”**
26
+    means
27
+
28
+* **(a)** that the initial Contributor has attached the notice described
29
+    in Exhibit B to the Covered Software; or
30
+* **(b)** that the Covered Software was made available under the terms of
31
+    version 1.1 or earlier of the License, but not also under the
32
+    terms of a Secondary License.
33
+
34
+**1.6. “Executable Form”**
35
+    means any form of the work other than Source Code Form.
36
+
37
+**1.7. “Larger Work”**
38
+    means a work that combines Covered Software with other material, in
39
+    a separate file or files, that is not Covered Software.
40
+
41
+**1.8. “License”**
42
+    means this document.
43
+
44
+**1.9. “Licensable”**
45
+    means having the right to grant, to the maximum extent possible,
46
+    whether at the time of the initial grant or subsequently, any and
47
+    all of the rights conveyed by this License.
48
+
49
+**1.10. “Modifications”**
50
+    means any of the following:
51
+
52
+* **(a)** any file in Source Code Form that results from an addition to,
53
+    deletion from, or modification of the contents of Covered
54
+    Software; or
55
+* **(b)** any new file in Source Code Form that contains any Covered
56
+    Software.
57
+
58
+**1.11. “Patent Claims” of a Contributor**
59
+    means any patent claim(s), including without limitation, method,
60
+    process, and apparatus claims, in any patent Licensable by such
61
+    Contributor that would be infringed, but for the grant of the
62
+    License, by the making, using, selling, offering for sale, having
63
+    made, import, or transfer of either its Contributions or its
64
+    Contributor Version.
65
+
66
+**1.12. “Secondary License”**
67
+    means either the GNU General Public License, Version 2.0, the GNU
68
+    Lesser General Public License, Version 2.1, the GNU Affero General
69
+    Public License, Version 3.0, or any later versions of those
70
+    licenses.
71
+
72
+**1.13. “Source Code Form”**
73
+    means the form of the work preferred for making modifications.
74
+
75
+**1.14. “You” (or “Your”)**
76
+    means an individual or a legal entity exercising rights under this
77
+    License. For legal entities, “You” includes any entity that
78
+    controls, is controlled by, or is under common control with You. For
79
+    purposes of this definition, “control” means **(a)** the power, direct
80
+    or indirect, to cause the direction or management of such entity,
81
+    whether by contract or otherwise, or **(b)** ownership of more than
82
+    fifty percent (50%) of the outstanding shares or beneficial
83
+    ownership of such entity.
84
+
85
+
86
+### 2. License Grants and Conditions
87
+
88
+#### 2.1. Grants
89
+
90
+Each Contributor hereby grants You a world-wide, royalty-free,
91
+non-exclusive license:
92
+
93
+* **(a)** under intellectual property rights (other than patent or trademark)
94
+    Licensable by such Contributor to use, reproduce, make available,
95
+    modify, display, perform, distribute, and otherwise exploit its
96
+    Contributions, either on an unmodified basis, with Modifications, or
97
+    as part of a Larger Work; and
98
+* **(b)** under Patent Claims of such Contributor to make, use, sell, offer
99
+    for sale, have made, import, and otherwise transfer either its
100
+    Contributions or its Contributor Version.
101
+
102
+#### 2.2. Effective Date
103
+
104
+The licenses granted in Section 2.1 with respect to any Contribution
105
+become effective for each Contribution on the date the Contributor first
106
+distributes such Contribution.
107
+
108
+#### 2.3. Limitations on Grant Scope
109
+
110
+The licenses granted in this Section 2 are the only rights granted under
111
+this License. No additional rights or licenses will be implied from the
112
+distribution or licensing of Covered Software under this License.
113
+Notwithstanding Section 2.1(b) above, no patent license is granted by a
114
+Contributor:
115
+
116
+* **(a)** for any code that a Contributor has removed from Covered Software;
117
+    or
118
+* **(b)** for infringements caused by: **(i)** Your and any other third party's
119
+    modifications of Covered Software, or **(ii)** the combination of its
120
+    Contributions with other software (except as part of its Contributor
121
+    Version); or
122
+* **(c)** under Patent Claims infringed by Covered Software in the absence of
123
+    its Contributions.
124
+
125
+This License does not grant any rights in the trademarks, service marks,
126
+or logos of any Contributor (except as may be necessary to comply with
127
+the notice requirements in Section 3.4).
128
+
129
+#### 2.4. Subsequent Licenses
130
+
131
+No Contributor makes additional grants as a result of Your choice to
132
+distribute the Covered Software under a subsequent version of this
133
+License (see Section 10.2) or under the terms of a Secondary License (if
134
+permitted under the terms of Section 3.3).
135
+
136
+#### 2.5. Representation
137
+
138
+Each Contributor represents that the Contributor believes its
139
+Contributions are its original creation(s) or it has sufficient rights
140
+to grant the rights to its Contributions conveyed by this License.
141
+
142
+#### 2.6. Fair Use
143
+
144
+This License is not intended to limit any rights You have under
145
+applicable copyright doctrines of fair use, fair dealing, or other
146
+equivalents.
147
+
148
+#### 2.7. Conditions
149
+
150
+Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
151
+in Section 2.1.
152
+
153
+
154
+### 3. Responsibilities
155
+
156
+#### 3.1. Distribution of Source Form
157
+
158
+All distribution of Covered Software in Source Code Form, including any
159
+Modifications that You create or to which You contribute, must be under
160
+the terms of this License. You must inform recipients that the Source
161
+Code Form of the Covered Software is governed by the terms of this
162
+License, and how they can obtain a copy of this License. You may not
163
+attempt to alter or restrict the recipients' rights in the Source Code
164
+Form.
165
+
166
+#### 3.2. Distribution of Executable Form
167
+
168
+If You distribute Covered Software in Executable Form then:
169
+
170
+* **(a)** such Covered Software must also be made available in Source Code
171
+    Form, as described in Section 3.1, and You must inform recipients of
172
+    the Executable Form how they can obtain a copy of such Source Code
173
+    Form by reasonable means in a timely manner, at a charge no more
174
+    than the cost of distribution to the recipient; and
175
+
176
+* **(b)** You may distribute such Executable Form under the terms of this
177
+    License, or sublicense it under different terms, provided that the
178
+    license for the Executable Form does not attempt to limit or alter
179
+    the recipients' rights in the Source Code Form under this License.
180
+
181
+#### 3.3. Distribution of a Larger Work
182
+
183
+You may create and distribute a Larger Work under terms of Your choice,
184
+provided that You also comply with the requirements of this License for
185
+the Covered Software. If the Larger Work is a combination of Covered
186
+Software with a work governed by one or more Secondary Licenses, and the
187
+Covered Software is not Incompatible With Secondary Licenses, this
188
+License permits You to additionally distribute such Covered Software
189
+under the terms of such Secondary License(s), so that the recipient of
190
+the Larger Work may, at their option, further distribute the Covered
191
+Software under the terms of either this License or such Secondary
192
+License(s).
193
+
194
+#### 3.4. Notices
195
+
196
+You may not remove or alter the substance of any license notices
197
+(including copyright notices, patent notices, disclaimers of warranty,
198
+or limitations of liability) contained within the Source Code Form of
199
+the Covered Software, except that You may alter any license notices to
200
+the extent required to remedy known factual inaccuracies.
201
+
202
+#### 3.5. Application of Additional Terms
203
+
204
+You may choose to offer, and to charge a fee for, warranty, support,
205
+indemnity or liability obligations to one or more recipients of Covered
206
+Software. However, You may do so only on Your own behalf, and not on
207
+behalf of any Contributor. You must make it absolutely clear that any
208
+such warranty, support, indemnity, or liability obligation is offered by
209
+You alone, and You hereby agree to indemnify every Contributor for any
210
+liability incurred by such Contributor as a result of warranty, support,
211
+indemnity or liability terms You offer. You may include additional
212
+disclaimers of warranty and limitations of liability specific to any
213
+jurisdiction.
214
+
215
+
216
+### 4. Inability to Comply Due to Statute or Regulation
217
+
218
+If it is impossible for You to comply with any of the terms of this
219
+License with respect to some or all of the Covered Software due to
220
+statute, judicial order, or regulation then You must: **(a)** comply with
221
+the terms of this License to the maximum extent possible; and **(b)**
222
+describe the limitations and the code they affect. Such description must
223
+be placed in a text file included with all distributions of the Covered
224
+Software under this License. Except to the extent prohibited by statute
225
+or regulation, such description must be sufficiently detailed for a
226
+recipient of ordinary skill to be able to understand it.
227
+
228
+
229
+### 5. Termination
230
+
231
+**5.1.** The rights granted under this License will terminate automatically
232
+if You fail to comply with any of its terms. However, if You become
233
+compliant, then the rights granted under this License from a particular
234
+Contributor are reinstated **(a)** provisionally, unless and until such
235
+Contributor explicitly and finally terminates Your grants, and **(b)** on an
236
+ongoing basis, if such Contributor fails to notify You of the
237
+non-compliance by some reasonable means prior to 60 days after You have
238
+come back into compliance. Moreover, Your grants from a particular
239
+Contributor are reinstated on an ongoing basis if such Contributor
240
+notifies You of the non-compliance by some reasonable means, this is the
241
+first time You have received notice of non-compliance with this License
242
+from such Contributor, and You become compliant prior to 30 days after
243
+Your receipt of the notice.
244
+
245
+**5.2.** If You initiate litigation against any entity by asserting a patent
246
+infringement claim (excluding declaratory judgment actions,
247
+counter-claims, and cross-claims) alleging that a Contributor Version
248
+directly or indirectly infringes any patent, then the rights granted to
249
+You by any and all Contributors for the Covered Software under Section
250
+2.1 of this License shall terminate.
251
+
252
+**5.3.** In the event of termination under Sections 5.1 or 5.2 above, all
253
+end user license agreements (excluding distributors and resellers) which
254
+have been validly granted by You or Your distributors under this License
255
+prior to termination shall survive termination.
256
+
257
+
258
+### 6. Disclaimer of Warranty
259
+
260
+> Covered Software is provided under this License on an “as is”
261
+> basis, without warranty of any kind, either expressed, implied, or
262
+> statutory, including, without limitation, warranties that the
263
+> Covered Software is free of defects, merchantable, fit for a
264
+> particular purpose or non-infringing. The entire risk as to the
265
+> quality and performance of the Covered Software is with You.
266
+> Should any Covered Software prove defective in any respect, You
267
+> (not any Contributor) assume the cost of any necessary servicing,
268
+> repair, or correction. This disclaimer of warranty constitutes an
269
+> essential part of this License. No use of any Covered Software is
270
+> authorized under this License except under this disclaimer.
271
+
272
+### 7. Limitation of Liability
273
+
274
+> Under no circumstances and under no legal theory, whether tort
275
+> (including negligence), contract, or otherwise, shall any
276
+> Contributor, or anyone who distributes Covered Software as
277
+> permitted above, be liable to You for any direct, indirect,
278
+> special, incidental, or consequential damages of any character
279
+> including, without limitation, damages for lost profits, loss of
280
+> goodwill, work stoppage, computer failure or malfunction, or any
281
+> and all other commercial damages or losses, even if such party
282
+> shall have been informed of the possibility of such damages. This
283
+> limitation of liability shall not apply to liability for death or
284
+> personal injury resulting from such party's negligence to the
285
+> extent applicable law prohibits such limitation. Some
286
+> jurisdictions do not allow the exclusion or limitation of
287
+> incidental or consequential damages, so this exclusion and
288
+> limitation may not apply to You.
289
+
290
+
291
+### 8. Litigation
292
+
293
+Any litigation relating to this License may be brought only in the
294
+courts of a jurisdiction where the defendant maintains its principal
295
+place of business and such litigation shall be governed by laws of that
296
+jurisdiction, without reference to its conflict-of-law provisions.
297
+Nothing in this Section shall prevent a party's ability to bring
298
+cross-claims or counter-claims.
299
+
300
+
301
+### 9. Miscellaneous
302
+
303
+This License represents the complete agreement concerning the subject
304
+matter hereof. If any provision of this License is held to be
305
+unenforceable, such provision shall be reformed only to the extent
306
+necessary to make it enforceable. Any law or regulation which provides
307
+that the language of a contract shall be construed against the drafter
308
+shall not be used to construe this License against a Contributor.
309
+
310
+
311
+### 10. Versions of the License
312
+
313
+#### 10.1. New Versions
314
+
315
+Mozilla Foundation is the license steward. Except as provided in Section
316
+10.3, no one other than the license steward has the right to modify or
317
+publish new versions of this License. Each version will be given a
318
+distinguishing version number.
319
+
320
+#### 10.2. Effect of New Versions
321
+
322
+You may distribute the Covered Software under the terms of the version
323
+of the License under which You originally received the Covered Software,
324
+or under the terms of any subsequent version published by the license
325
+steward.
326
+
327
+#### 10.3. Modified Versions
328
+
329
+If you create software not governed by this License, and you want to
330
+create a new license for such software, you may create and use a
331
+modified version of this License if you rename the license and remove
332
+any references to the name of the license steward (except to note that
333
+such modified license differs from this License).
334
+
335
+#### 10.4. Distributing Source Code Form that is Incompatible With Secondary Licenses
336
+
337
+If You choose to distribute Source Code Form that is Incompatible With
338
+Secondary Licenses under the terms of this version of the License, the
339
+notice described in Exhibit B of this License must be attached.
340
+
341
+## Exhibit A - Source Code Form License Notice
342
+
343
+    This Source Code Form is subject to the terms of the Mozilla Public
344
+    License, v. 2.0. If a copy of the MPL was not distributed with this
345
+    file, You can obtain one at http://mozilla.org/MPL/2.0/.
346
+
347
+If it is not possible or desirable to put the notice in a particular
348
+file, then You may include the notice in a location (such as a LICENSE
349
+file in a relevant directory) where a recipient would be likely to look
350
+for such a notice.
351
+
352
+You may add additional accurate notices of copyright ownership.
353
+
354
+## Exhibit B - “Incompatible With Secondary Licenses” Notice
355
+
356
+    This Source Code Form is "Incompatible With Secondary Licenses", as
357
+    defined by the Mozilla Public License, v. 2.0.
358
+
359
+

+ 3
- 0
packaging/debian/usr/bin/helpinghelena-desktop View File

@@ -0,0 +1,3 @@
1
+#!/bin/sh
2
+cd /usr/lib/helpinghelena-desktop
3
+./helpinghelena-desktop

+ 11
- 0
packaging/debian/usr/share/applications/helpinghelena.desktop View File

@@ -0,0 +1,11 @@
1
+[Desktop Entry]
2
+Name=Helping Helena
3
+Version=1.0
4
+Exec=/usr/bin/helpinghelena-desktop
5
+Comment=Launch the Helping Helena desktop app
6
+Icon=/usr/lib/helpinghelena-desktop/logo.svg
7
+Type=Application
8
+Terminal=false
9
+StartupNotify=true
10
+Encoding=UTF-8
11
+Categories=Office;

+ 359
- 0
packaging/debian/usr/share/doc/helpinghelena-desktop/copyright View File

@@ -0,0 +1,359 @@
1
+Copyright (c) 2018-2019 Netsyms Technologies.
2
+
3
+Mozilla Public License Version 2.0
4
+==================================
5
+
6
+### 1. Definitions
7
+
8
+**1.1. “Contributor”**
9
+    means each individual or legal entity that creates, contributes to
10
+    the creation of, or owns Covered Software.
11
+
12
+**1.2. “Contributor Version”**
13
+    means the combination of the Contributions of others (if any) used
14
+    by a Contributor and that particular Contributor's Contribution.
15
+
16
+**1.3. “Contribution”**
17
+    means Covered Software of a particular Contributor.
18
+
19
+**1.4. “Covered Software”**
20
+    means Source Code Form to which the initial Contributor has attached
21
+    the notice in Exhibit A, the Executable Form of such Source Code
22
+    Form, and Modifications of such Source Code Form, in each case
23
+    including portions thereof.
24
+
25
+**1.5. “Incompatible With Secondary Licenses”**
26
+    means
27
+
28
+* **(a)** that the initial Contributor has attached the notice described
29
+    in Exhibit B to the Covered Software; or
30
+* **(b)** that the Covered Software was made available under the terms of
31
+    version 1.1 or earlier of the License, but not also under the
32
+    terms of a Secondary License.
33
+
34
+**1.6. “Executable Form”**
35
+    means any form of the work other than Source Code Form.
36
+
37
+**1.7. “Larger Work”**
38
+    means a work that combines Covered Software with other material, in
39
+    a separate file or files, that is not Covered Software.
40
+
41
+**1.8. “License”**
42
+    means this document.
43
+
44
+**1.9. “Licensable”**
45
+    means having the right to grant, to the maximum extent possible,
46
+    whether at the time of the initial grant or subsequently, any and
47
+    all of the rights conveyed by this License.
48
+
49
+**1.10. “Modifications”**
50
+    means any of the following:
51
+
52
+* **(a)** any file in Source Code Form that results from an addition to,
53
+    deletion from, or modification of the contents of Covered
54
+    Software; or
55
+* **(b)** any new file in Source Code Form that contains any Covered
56
+    Software.
57
+
58
+**1.11. “Patent Claims” of a Contributor**
59
+    means any patent claim(s), including without limitation, method,
60
+    process, and apparatus claims, in any patent Licensable by such
61
+    Contributor that would be infringed, but for the grant of the
62
+    License, by the making, using, selling, offering for sale, having
63
+    made, import, or transfer of either its Contributions or its
64
+    Contributor Version.
65
+
66
+**1.12. “Secondary License”**
67
+    means either the GNU General Public License, Version 2.0, the GNU
68
+    Lesser General Public License, Version 2.1, the GNU Affero General
69
+    Public License, Version 3.0, or any later versions of those
70
+    licenses.
71
+
72
+**1.13. “Source Code Form”**
73
+    means the form of the work preferred for making modifications.
74
+
75
+**1.14. “You” (or “Your”)**
76
+    means an individual or a legal entity exercising rights under this
77
+    License. For legal entities, “You” includes any entity that
78
+    controls, is controlled by, or is under common control with You. For
79
+    purposes of this definition, “control” means **(a)** the power, direct
80
+    or indirect, to cause the direction or management of such entity,
81
+    whether by contract or otherwise, or **(b)** ownership of more than
82
+    fifty percent (50%) of the outstanding shares or beneficial
83
+    ownership of such entity.
84
+
85
+
86
+### 2. License Grants and Conditions
87
+
88
+#### 2.1. Grants
89
+
90
+Each Contributor hereby grants You a world-wide, royalty-free,
91
+non-exclusive license:
92
+
93
+* **(a)** under intellectual property rights (other than patent or trademark)
94
+    Licensable by such Contributor to use, reproduce, make available,
95
+    modify, display, perform, distribute, and otherwise exploit its
96
+    Contributions, either on an unmodified basis, with Modifications, or
97
+    as part of a Larger Work; and
98
+* **(b)** under Patent Claims of such Contributor to make, use, sell, offer
99
+    for sale, have made, import, and otherwise transfer either its
100
+    Contributions or its Contributor Version.
101
+
102
+#### 2.2. Effective Date
103
+
104
+The licenses granted in Section 2.1 with respect to any Contribution
105
+become effective for each Contribution on the date the Contributor first
106
+distributes such Contribution.
107
+
108
+#### 2.3. Limitations on Grant Scope
109
+
110
+The licenses granted in this Section 2 are the only rights granted under
111
+this License. No additional rights or licenses will be implied from the
112
+distribution or licensing of Covered Software under this License.
113
+Notwithstanding Section 2.1(b) above, no patent license is granted by a
114
+Contributor:
115
+
116
+* **(a)** for any code that a Contributor has removed from Covered Software;
117
+    or
118
+* **(b)** for infringements caused by: **(i)** Your and any other third party's
119
+    modifications of Covered Software, or **(ii)** the combination of its
120
+    Contributions with other software (except as part of its Contributor
121
+    Version); or
122
+* **(c)** under Patent Claims infringed by Covered Software in the absence of
123
+    its Contributions.
124
+
125
+This License does not grant any rights in the trademarks, service marks,
126
+or logos of any Contributor (except as may be necessary to comply with
127
+the notice requirements in Section 3.4).
128
+
129
+#### 2.4. Subsequent Licenses
130
+
131
+No Contributor makes additional grants as a result of Your choice to
132
+distribute the Covered Software under a subsequent version of this
133
+License (see Section 10.2) or under the terms of a Secondary License (if
134
+permitted under the terms of Section 3.3).
135
+
136
+#### 2.5. Representation
137
+
138
+Each Contributor represents that the Contributor believes its
139
+Contributions are its original creation(s) or it has sufficient rights
140
+to grant the rights to its Contributions conveyed by this License.
141
+
142
+#### 2.6. Fair Use
143
+
144
+This License is not intended to limit any rights You have under
145
+applicable copyright doctrines of fair use, fair dealing, or other
146
+equivalents.
147
+
148
+#### 2.7. Conditions
149
+
150
+Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
151
+in Section 2.1.
152
+
153
+
154
+### 3. Responsibilities
155
+
156
+#### 3.1. Distribution of Source Form
157
+
158
+All distribution of Covered Software in Source Code Form, including any
159
+Modifications that You create or to which You contribute, must be under
160
+the terms of this License. You must inform recipients that the Source
161
+Code Form of the Covered Software is governed by the terms of this
162
+License, and how they can obtain a copy of this License. You may not
163
+attempt to alter or restrict the recipients' rights in the Source Code
164
+Form.
165
+
166
+#### 3.2. Distribution of Executable Form
167
+
168
+If You distribute Covered Software in Executable Form then:
169
+
170
+* **(a)** such Covered Software must also be made available in Source Code
171
+    Form, as described in Section 3.1, and You must inform recipients of
172
+    the Executable Form how they can obtain a copy of such Source Code
173
+    Form by reasonable means in a timely manner, at a charge no more
174
+    than the cost of distribution to the recipient; and
175
+
176
+* **(b)** You may distribute such Executable Form under the terms of this
177
+    License, or sublicense it under different terms, provided that the
178
+    license for the Executable Form does not attempt to limit or alter
179
+    the recipients' rights in the Source Code Form under this License.
180
+
181
+#### 3.3. Distribution of a Larger Work
182
+
183
+You may create and distribute a Larger Work under terms of Your choice,
184
+provided that You also comply with the requirements of this License for
185
+the Covered Software. If the Larger Work is a combination of Covered
186
+Software with a work governed by one or more Secondary Licenses, and the
187
+Covered Software is not Incompatible With Secondary Licenses, this
188
+License permits You to additionally distribute such Covered Software
189
+under the terms of such Secondary License(s), so that the recipient of
190
+the Larger Work may, at their option, further distribute the Covered
191
+Software under the terms of either this License or such Secondary
192
+License(s).
193
+
194
+#### 3.4. Notices
195
+
196
+You may not remove or alter the substance of any license notices
197
+(including copyright notices, patent notices, disclaimers of warranty,
198
+or limitations of liability) contained within the Source Code Form of
199
+the Covered Software, except that You may alter any license notices to
200
+the extent required to remedy known factual inaccuracies.
201
+
202
+#### 3.5. Application of Additional Terms
203
+
204
+You may choose to offer, and to charge a fee for, warranty, support,
205
+indemnity or liability obligations to one or more recipients of Covered
206
+Software. However, You may do so only on Your own behalf, and not on
207
+behalf of any Contributor. You must make it absolutely clear that any
208
+such warranty, support, indemnity, or liability obligation is offered by
209
+You alone, and You hereby agree to indemnify every Contributor for any
210
+liability incurred by such Contributor as a result of warranty, support,
211
+indemnity or liability terms You offer. You may include additional
212
+disclaimers of warranty and limitations of liability specific to any
213
+jurisdiction.
214
+
215
+
216
+### 4. Inability to Comply Due to Statute or Regulation
217
+
218
+If it is impossible for You to comply with any of the terms of this
219
+License with respect to some or all of the Covered Software due to
220
+statute, judicial order, or regulation then You must: **(a)** comply with
221
+the terms of this License to the maximum extent possible; and **(b)**
222
+describe the limitations and the code they affect. Such description must
223
+be placed in a text file included with all distributions of the Covered
224
+Software under this License. Except to the extent prohibited by statute
225
+or regulation, such description must be sufficiently detailed for a
226
+recipient of ordinary skill to be able to understand it.
227
+
228
+
229
+### 5. Termination
230
+
231
+**5.1.** The rights granted under this License will terminate automatically
232
+if You fail to comply with any of its terms. However, if You become
233
+compliant, then the rights granted under this License from a particular
234
+Contributor are reinstated **(a)** provisionally, unless and until such
235
+Contributor explicitly and finally terminates Your grants, and **(b)** on an
236
+ongoing basis, if such Contributor fails to notify You of the
237
+non-compliance by some reasonable means prior to 60 days after You have
238
+come back into compliance. Moreover, Your grants from a particular
239
+Contributor are reinstated on an ongoing basis if such Contributor
240
+notifies You of the non-compliance by some reasonable means, this is the
241
+first time You have received notice of non-compliance with this License
242
+from such Contributor, and You become compliant prior to 30 days after
243
+Your receipt of the notice.
244
+
245
+**5.2.** If You initiate litigation against any entity by asserting a patent
246
+infringement claim (excluding declaratory judgment actions,
247
+counter-claims, and cross-claims) alleging that a Contributor Version
248
+directly or indirectly infringes any patent, then the rights granted to
249
+You by any and all Contributors for the Covered Software under Section
250
+2.1 of this License shall terminate.
251
+
252
+**5.3.** In the event of termination under Sections 5.1 or 5.2 above, all
253
+end user license agreements (excluding distributors and resellers) which
254
+have been validly granted by You or Your distributors under this License
255
+prior to termination shall survive termination.
256
+
257
+
258
+### 6. Disclaimer of Warranty
259
+
260
+> Covered Software is provided under this License on an “as is”
261
+> basis, without warranty of any kind, either expressed, implied, or
262
+> statutory, including, without limitation, warranties that the
263
+> Covered Software is free of defects, merchantable, fit for a
264
+> particular purpose or non-infringing. The entire risk as to the
265
+> quality and performance of the Covered Software is with You.
266
+> Should any Covered Software prove defective in any respect, You
267
+> (not any Contributor) assume the cost of any necessary servicing,
268
+> repair, or correction. This disclaimer of warranty constitutes an
269
+> essential part of this License. No use of any Covered Software is
270
+> authorized under this License except under this disclaimer.
271
+
272
+### 7. Limitation of Liability
273
+
274
+> Under no circumstances and under no legal theory, whether tort
275
+> (including negligence), contract, or otherwise, shall any
276
+> Contributor, or anyone who distributes Covered Software as
277
+> permitted above, be liable to You for any direct, indirect,
278
+> special, incidental, or consequential damages of any character
279
+> including, without limitation, damages for lost profits, loss of
280
+> goodwill, work stoppage, computer failure or malfunction, or any
281
+> and all other commercial damages or losses, even if such party
282
+> shall have been informed of the possibility of such damages. This
283
+> limitation of liability shall not apply to liability for death or
284
+> personal injury resulting from such party's negligence to the
285
+> extent applicable law prohibits such limitation. Some
286
+> jurisdictions do not allow the exclusion or limitation of
287
+> incidental or consequential damages, so this exclusion and
288
+> limitation may not apply to You.
289
+
290
+
291
+### 8. Litigation
292
+
293
+Any litigation relating to this License may be brought only in the
294
+courts of a jurisdiction where the defendant maintains its principal
295
+place of business and such litigation shall be governed by laws of that
296
+jurisdiction, without reference to its conflict-of-law provisions.
297
+Nothing in this Section shall prevent a party's ability to bring
298
+cross-claims or counter-claims.
299
+
300
+
301
+### 9. Miscellaneous
302
+
303
+This License represents the complete agreement concerning the subject
304
+matter hereof. If any provision of this License is held to be
305
+unenforceable, such provision shall be reformed only to the extent
306
+necessary to make it enforceable. Any law or regulation which provides
307
+that the language of a contract shall be construed against the drafter
308
+shall not be used to construe this License against a Contributor.
309
+
310
+
311
+### 10. Versions of the License
312
+
313
+#### 10.1. New Versions
314
+
315
+Mozilla Foundation is the license steward. Except as provided in Section
316
+10.3, no one other than the license steward has the right to modify or
317
+publish new versions of this License. Each version will be given a
318
+distinguishing version number.
319
+
320
+#### 10.2. Effect of New Versions
321
+
322
+You may distribute the Covered Software under the terms of the version
323
+of the License under which You originally received the Covered Software,
324
+or under the terms of any subsequent version published by the license
325
+steward.
326
+
327
+#### 10.3. Modified Versions
328
+
329
+If you create software not governed by this License, and you want to
330
+create a new license for such software, you may create and use a
331
+modified version of this License if you rename the license and remove
332
+any references to the name of the license steward (except to note that
333
+such modified license differs from this License).
334
+
335
+#### 10.4. Distributing Source Code Form that is Incompatible With Secondary Licenses
336
+
337
+If You choose to distribute Source Code Form that is Incompatible With
338
+Secondary Licenses under the terms of this version of the License, the
339
+notice described in Exhibit B of this License must be attached.
340
+
341
+## Exhibit A - Source Code Form License Notice
342
+
343
+    This Source Code Form is subject to the terms of the Mozilla Public
344
+    License, v. 2.0. If a copy of the MPL was not distributed with this
345
+    file, You can obtain one at http://mozilla.org/MPL/2.0/.
346
+
347
+If it is not possible or desirable to put the notice in a particular
348
+file, then You may include the notice in a location (such as a LICENSE
349
+file in a relevant directory) where a recipient would be likely to look
350
+for such a notice.
351
+
352
+You may add additional accurate notices of copyright ownership.
353
+
354
+## Exhibit B - “Incompatible With Secondary Licenses” Notice
355
+
356
+    This Source Code Form is "Incompatible With Secondary Licenses", as
357
+    defined by the Mozilla Public License, v. 2.0.
358
+
359
+

+ 23
- 0
packaging/debian/usr/share/metainfo/helpinghelena.appdata.xml View File

@@ -0,0 +1,23 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<component type="desktop-application">
3
+	<id>helpinghelena-desktop</id>
4
+	<metadata_license>MPL-2.0</metadata_license>
5
+	<project_license>MPL-2.0</project_license>
6
+	<name>Helping Helena</name>
7
+	<summary>Desktop app for Helping Helena</summary>
8
+	<description>
9
+		
10
+	</description>
11
+	<launchable type="desktop-id">helpinghelena.desktop</launchable>
12
+	<url type="homepage">https://helpinghelena.org</url>
13
+<!--
14
+	<screenshots>
15
+		<screenshot type="default">
16
+			<image>https://netsyms.com/data/uploads/apps/notepost/app/home.png</image>
17
+		</screenshot>
18
+	</screenshots>
19
+-->
20
+	<provides>
21
+		<id>helpinghelena.desktop</id>
22
+	</provides>
23
+</component>

BIN
packaging/icons/logo.icns View File


BIN
packaging/icons/logo.ico View File


BIN
packaging/icons/logo.png View File


+ 2
- 0
packaging/icons/logo.svg View File

@@ -0,0 +1,2 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<svg width="512" height="512" version="1.1" viewBox="0 0 135.47 135.47" xmlns="http://www.w3.org/2000/svg"><defs><clipPath id="a"><rect x="2.7271e-6" y="161.53" width="135.47" height="135.47" rx="7.9375" ry="7.9375" fill="#fff"/></clipPath></defs><g transform="translate(0 -161.53)"><rect x="2.7271e-6" y="161.53" width="135.47" height="135.47" rx="7.9375" ry="7.9375" fill="#fff"/><g clip-path="url(#a)"><g transform="matrix(.18484 -.002431 .002431 .18484 26.948 139.1)" fill="#ff9800"><path id="MT_At-Large" d="m-103.66 166.62-22.189 127.13c1.5301 5.0121 5.8328 9.2056 8.003 14.123 0.91931 4.4958 7.218 6.0888 6.7332 10.801-0.65695 4.1369 0.0756 7.4783 4.416 8.853-2.143 3.6793 3.2616 4.5566 3.9417 7.4783-1.0935 3.6289-1.5868 7.1319 1.0935 10.23 0.94238 5.0394-2.6677 6.3407-5.9041 8.4794 1.8554 3.906 4.6427 7.8267 5.9041 11.766 0.78287 5.0352-8.003 1.0935-6.5149 3.4967 4.1872 2.8629 4.5042 8.1772 9.3148 8.2947 3.7171 2.611 3.8934 7.0081 4.7245 11.084 4.5923 2.4641 9.0104 5.4088 14.037 6.8444 3.1924 0.5688 3.9795 5.5872 4.6784 8.1457-3.2805 4.6343 4.523 1.1187 2.4053 6.4708 1.9687 2.4326 6.1392 3.6877 6.603 7.7406 1.0935 5.6208 7.3901 8.6683 6.5862 14.314-1.3307 6.9535 5.6418 3.4946 6.4729 8.8761 0.24557 4.7057 6.3407 2.187 3.7171 6.8444-1.7588 4.8862-1.6392 10.02 3.0308 12.908 1.7274 3.4736 5.4654 3.4946 7.5097 5.3563 4.7665 3.1945-4.5189 11.099 3.5429 8.1079-0.04407-3.1042 5.4654-3.2889 7.2096-0.26026 2.8419 1.7337 2.5375 8.5697-0.48064 7.812 1.5301 6.0217 7.1278 3.9123 11.716 5.6418 3.2805 3.2805 3.9459-4.0214 7.9148-2.0821 5.6418-1.9834 11.5 2.9615 7.3901 8.8761-2.7558 4.1725-1.1418 13.336-6.7311 14.432-4.6784-0.21828-0.70943 6.0342-1.2278 8.9559-2.2668 3.1798-6.603 5.3458-5.4655 10.45-1.6182 3.6289-1.0935 10.163-6.603 9.596 1.8806 2.6677 2.93 5.4654 1.5301 8.6138 0.48064 3.7444-4.8988 5.5536-7.302 3.0476-4.1117 3.4023 2.1429 4.7665 3.4274 7.4384 1.3034 4.0676-1.5909 6.4708-3.121 9.002 0.50793 5.117 6.0112 7.9127 4.2082 13.336-0.13222 3.8913 3.4547 11.12-2.0569 12.35-5.2912-0.48275-9.6632-1.6329-11.414 4.5755-4.5923 2.2479-1.444 5.4172 0.44707 8.4437 2.6677 3.2554 1.2929 11.237-3.0182 11.569-6.2168-1.6098 0.78708 4.6049-2.8461 6.5485-3.5912 3.1273 4.6784 1.9687 6.5464 3.1231 2.4934 3.7045 6.6912 13.844 10.417 14.732 5.8663-0.32742 6.4288-6.6534 8.089-8.7418 3.3666-0.75139 8.5592 1.6182 10.627-1.3391 2.1429-3.4757 5.5536-1.9939 5.6921-6.603 2.5795-1.9687 7.6357-2.506 6.2525-6.7814-0.20988-3.3666 7.0396-3.9794 8.2653-0.40928 3.6289 2.1471 2.5795 7.0396 4.2103 10.014 3.2847 0.74301 7.5643 0.3862 7.5076 4.8547 1.6497 2.7306-5.3836 7.6525-1.8785 8.4815 6.9535-0.84794 2.6551 7.9883 2.4053 12.018-2.3171 3.4442 3.4002 6.1413 1.9519 9.3148-2.4053 3.1924-1.8953 6.2294 0.743 9.1196 2.632 4.3824 0.21828 7.8099 4.7665 11.903 5.3794 2.7075 1.9624 10.354 5.5536 12.988 5.1023 0.51841 4.1537 3.0874 4.33 6.284 3.8052 2.4221 4.33 6.7038 4.8589 10.813-1.6518 2.7138-0.39458 9.2644-4.7266 8.4815-4.2418-0.85004 0.39458 8.003 1.3559 10.352 2.3171 2.6676 7.8708 3.7192 7.1194 7.9148-0.14902 3.9522 5.9902-1.57 8.5445-1.7064 3.7528 3.2595 9.5813 6.2189 11.403 10.293 0.13222 3.4841 3.6289 9.6002 4.204 15.078 2.5795 4.0025-2.5438 5.5179-1.9687 8.3451 2.3885 4.5336 3.5429 9.3735 3.3666 14.503-0.89831 5.2031 3.9879 8.5655 7.961 10.866 3.8913-0.50582 2.038 8.5781 5.6418 5.4654 4.2418-1.7484-4.1537-6.0384 0.31483-8.5277 2.1429-4.5923 6.9535-5.9419 11.151-8.0345 5.1254 0.14482 10.713 4.544 16.573 4.4202 2.8587 1.6917 5.2912 2.7348 8.9412 3.1147 3.27 2.8964 6.1833 4.2481 8.0198-0.64226 0.30643-4.0172 0.0168-6.5149 4.3363-6.8066 1.5742-3.8262 6.0237-2.7558 9.1385-2.5207 1.0935 4.332 4.2292 5.2535 8.3493 4.5272 2.4934 4.7057 6.8654 2.1996 12.751 1.6875 7.1928-0.70312 14.545-3.3162 16.747 5.6418 4.8547-1.1586 9.4155-4.458 14.562-3.5429 4.8841 0.83116 10.801-0.77448 14.222 3.629-3.0182-4.1075-2.2836-8.6809 1.6182-13.019 3.4232-2.1388-1.3559-9.2266 3.9794-8.3325 5.2912 0.69262 6.4267-1.5972 8.7355-5.2828 3.5765 3.5009 8.003 6.3491 9.5771 11.382 1.1816 3.3666 4.5042 6.6198 4.1536 10.081-2.1429 3.6625 3.5429 5.8621 5.1758 8.8173 2.611 3.1924-0.42396 9.0902 6.3407 9.1133 1.444 0.48694 0.7388-0.5457 0.91931-1.3769 1.3559-22.067 4.1033-44.093 7.1781-65.984 220.69 23.728 364.34 39.398 643.04 51.75 8.6138-174.82 15.523-334.29 22.338-516.13-458.44-20.668-677.44-55.108-1033.1-109.02z" fill="#ff9800"/></g><path transform="rotate(-9.095 84.085 172.95)" d="m47.229 239.08c-0.07683-0.0768 3.5065-10.183 3.4895-10.29-0.017-0.10732-6.5479-8.6114-6.4986-8.7082 0.04933-0.0968 10.768 0.1882 10.865 0.13887 0.09681-0.0493 6.1665-8.8885 6.2739-8.8715s3.1485 10.299 3.2254 10.376c0.07683 0.0768 10.359 3.118 10.376 3.2254 0.017 0.10732-8.8222 6.177-8.8715 6.2739-0.04933 0.0968 0.23569 10.816 0.13887 10.865-0.09681 0.0493-8.6009-6.4816-8.7082-6.4986s-10.213 3.5663-10.29 3.4895z" fill="#fff"/></g><rect x="-85.526" y="168.18" height="120.81" rx=".99219" ry=".92604" fill="#fff"/></g></svg>

+ 11
- 0
packaging/scripts/appimage_build.sh View File

@@ -0,0 +1,11 @@
1
+#!/bin/bash
2
+# $1 is the binary location, $2 is the arch
3
+mkdir out
4
+mkdir -p appimage/HelpingHelena.AppDir/usr/lib/helpinghelena-desktop
5
+rm -rf appimage/HelpingHelena.AppDir/usr/lib/helpinghelena-desktop
6
+mv "$1com.netsyms.HelpingHelena" "$1helpinghelena-desktop"
7
+rsync -rv "$1" appimage/HelpingHelena.AppDir/usr/lib/helpinghelena-desktop
8
+chmod +x appimage/HelpingHelena.AppDir/AppRun
9
+wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage -O appimagetool
10
+chmod +x appimagetool
11
+./appimagetool appimage/HelpingHelena.AppDir "out/HelpingHelena_$2.AppImage"

+ 11
- 0
packaging/scripts/debian_build.sh View File

@@ -0,0 +1,11 @@
1
+#!/bin/bash
2
+# $1 is the binary location, $2 is the arch, $3 is the svg icon
3
+mkdir out
4
+sed -i '/Architecture:/d' debian/DEBIAN/control
5
+echo "Architecture: $2" >> debian/DEBIAN/control
6
+rm -rf debian/usr/lib/helpinghelena-desktop
7
+mv "$1com.netsyms.HelpingHelena" "$1helpinghelena-desktop"
8
+mkdir -p debian/usr/lib
9
+rsync -rv "$1" debian/usr/lib/helpinghelena-desktop
10
+cp "$3" debian/usr/lib/helpinghelena-desktop/logo.svg
11
+dpkg-deb -b debian "out/helpinghelena-desktop_$2.deb"

Loading…
Cancel
Save