summaryrefslogtreecommitdiffstats
path: root/appimage
diff options
context:
space:
mode:
Diffstat (limited to 'appimage')
-rwxr-xr-xappimage/AppRun8
-rw-r--r--appimage/pg_top.appdata.xml39
-rw-r--r--appimage/pg_top.desktop7
-rw-r--r--appimage/pg_top.svg76
4 files changed, 130 insertions, 0 deletions
diff --git a/appimage/AppRun b/appimage/AppRun
new file mode 100755
index 0000000..43a7fa6
--- /dev/null
+++ b/appimage/AppRun
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+export LD_LIBRARY_PATH="${APPDIR}/usr/lib:${LD_LIBRARY_PATH}"
+if [ "x$PGHOST" = "x" ]; then
+ export PGHOST="/tmp,/var/run/postgresql"
+fi
+
+${APPDIR}/usr/bin/pg_top $@
diff --git a/appimage/pg_top.appdata.xml b/appimage/pg_top.appdata.xml
new file mode 100644
index 0000000..2d1e528
--- /dev/null
+++ b/appimage/pg_top.appdata.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2019 PostgreSQL Global Development Group-->
+<component type="desktop-application">
+ <id>org.postgresql.pg_top</id>
+ <metadata_license>PostgreSQL</metadata_license>
+ <project_license>PostgreSQL</project_license>
+ <name>pg_top</name>
+ <summary>'top' for PostgreSQL</summary>
+
+ <description>
+ <p>
+ pg_top is a terminal program used to view top PostgreSQL processes.
+ </p>
+ </description>
+
+ <launchable type="desktop-id">org.postgresql.pg_top</launchable>
+
+ <screenshots>
+ <screenshot type="default">
+ <caption>Screenshot</caption>
+ <image>https://pg_top.gitlab.io/pg_top-2.png</image>
+ </screenshot>
+ </screenshots>
+
+ <url type="homepage">https://pg_top.gitlab.io/</url>
+ <project_group>PostgreSQL</project_group>
+
+ <provides>
+ <binary>pg_top</binary>
+ </provides>
+
+ <releases>
+ <release version="4.0.0" date="2020-10-8">
+ <description>
+ <p>4.0.0 release.</p>
+ </description>
+ </release>
+ </releases>
+</component>
diff --git a/appimage/pg_top.desktop b/appimage/pg_top.desktop
new file mode 100644
index 0000000..d9bf5de
--- /dev/null
+++ b/appimage/pg_top.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Name=pg_top
+Exec=pg_top
+Icon=pg_top
+Type=Application
+Categories=Utility;Database;
+Terminal=true
diff --git a/appimage/pg_top.svg b/appimage/pg_top.svg
new file mode 100644
index 0000000..965c308
--- /dev/null
+++ b/appimage/pg_top.svg
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="512"
+ height="512"
+ viewBox="0 0 135.46666 135.46666"
+ version="1.1"
+ id="svg8"
+ inkscape:version="0.92.4 5da689c313, 2019-01-14"
+ sodipodi:docname="pg_top.svg"
+ inkscape:export-filename="pg_top.png"
+ inkscape:export-xdpi="96.000008"
+ inkscape:export-ydpi="96.000008">
+ <defs
+ id="defs2" />
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#336791"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="1"
+ inkscape:pageshadow="2"
+ inkscape:zoom="1.6679688"
+ inkscape:cx="151.38174"
+ inkscape:cy="256"
+ inkscape:document-units="mm"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ units="px"
+ inkscape:pagecheckerboard="true"
+ inkscape:window-width="2554"
+ inkscape:window-height="1028"
+ inkscape:window-x="0"
+ inkscape:window-y="24"
+ inkscape:window-maximized="0" />
+ <metadata
+ id="metadata5">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title />
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(0,-161.53335)">
+ <flowRoot
+ xml:space="preserve"
+ id="flowRoot3713"
+ style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ transform="matrix(0.52916751,0,0,0.52916652,-13.638613,165.01507)"><flowRegion
+ id="flowRegion3715"><rect
+ id="rect3717"
+ width="197.2459"
+ height="185.25526"
+ x="55.15691"
+ y="68.946136" /></flowRegion><flowPara
+ id="flowPara3719"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:192px;font-family:'Ampad Brush';-inkscape-font-specification:'Ampad Brush';text-align:center;text-anchor:middle;fill:#ffffff">|</flowPara><flowPara
+ id="flowPara3721"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:192px;font-family:'Ampad Brush';-inkscape-font-specification:'Ampad Brush';text-align:center;text-anchor:middle;fill:#ffffff">V</flowPara></flowRoot> </g>
+</svg>