Debian Codegraph @

debian/patches/metainfo.patch

raw symbols SCIP
1 From: AsciiWolf <[email protected]>
2 Date: Tue, 13 May 2025 00:26:18 +0200
3 Subject: Add AppStream metadata
4
5 Forwarded: https://github.com/costales/gufw/pull/81
6 ---
7 .../io.github.costales.gufw.metainfo.xml | 27 +++++++++++++++++++
8 setup.py | 1 +
9 2 files changed, 28 insertions(+)
10 create mode 100644 data/metainfo/io.github.costales.gufw.metainfo.xml
11
12 diff --git a/data/metainfo/io.github.costales.gufw.metainfo.xml b/data/metainfo/io.github.costales.gufw.metainfo.xml
13 new file mode 100644
14 index 0000000..e79f20f
15 --- /dev/null
16 +++ b/data/metainfo/io.github.costales.gufw.metainfo.xml
17 @@ -0,0 +1,27 @@
18 +<?xml version="1.0" encoding="UTF-8"?>
19 +<component type="desktop-application">
20 + <id>io.github.costales.gufw</id>
21 + <launchable type="desktop-id">gufw.desktop</launchable>
22 + <metadata_license>CC0-1.0</metadata_license>
23 + <project_license>GPL-3.0</project_license>
24 + <name>Gufw</name>
25 + <developer id="io.github.costales">
26 + <name>Marcos Costales</name>
27 + </developer>
28 + <summary>An easy way to configure your firewall</summary>
29 + <description>
30 + <p>
31 + Gufw is an easy to use, intuitive graphical user interface for Uncomplicated Firewall (ufw).
32 + It supports common tasks such as allowing or blocking pre-configured, common p2p, or individual ports, and many others!
33 + </p>
34 + </description>
35 + <screenshots>
36 + <screenshot type="default">
37 + <image>https://raw.githubusercontent.com/costales/costales.github.io/refs/heads/master/projects/gufw/gufw.jpg</image>
38 + </screenshot>
39 + </screenshots>
40 + <url type="homepage">https://github.com/costales/gufw</url>
41 + <url type="bugtracker">https://github.com/costales/gufw/issues</url>
42 + <content_rating type="oars-1.1"/>
43 + <translation type="gettext">gufw</translation>
44 +</component>
45 diff --git a/setup.py b/setup.py
46 index a228345..7160ab0 100755
47 --- a/setup.py
48 +++ b/setup.py
49 @@ -22,6 +22,7 @@ import glob
50
51 # Create data files
52 data = [ ('/usr/share/polkit-1/actions/', ['policykit/actions/com.ubuntu.pkexec.gufw.policy']),
53 + ('/usr/share/metainfo/', ['data/metainfo/io.github.costales.gufw.metainfo.xml']),
54 ('/etc/gufw/app_profiles', glob.glob("data/app_profiles/*.*")) ]
55
56 # Setup stage