[arch-commits] Commit in qjournalctl/trunk (PKGBUILD qjournalctl.appdata.xml)

Balló György bgyorgy at archlinux.org
Sun May 23 07:59:08 UTC 2021


    Date: Sunday, May 23, 2021 @ 07:59:08
  Author: bgyorgy
Revision: 942919

upgpkg: qjournalctl 0.6.3-2: Adopt the package, add AppStream metadata file

Added:
  qjournalctl/trunk/qjournalctl.appdata.xml
Modified:
  qjournalctl/trunk/PKGBUILD

-------------------------+
 PKGBUILD                |   43 +++++++++++++++++++++++++++----------------
 qjournalctl.appdata.xml |   38 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-23 07:58:51 UTC (rev 942918)
+++ PKGBUILD	2021-05-23 07:59:08 UTC (rev 942919)
@@ -1,27 +1,38 @@
-# Maintainer: Alad Wenter <alad at archlinux.org>
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Alad Wenter <alad at archlinux.org>
 # Contributor: Patrick Eigensatz <patrick.eigensatz at gmail.com>
+
 pkgname=qjournalctl
 pkgver=0.6.3
-pkgrel=1
-pkgdesc="Qt-based graphical user interface for systemd's journalctl command"
+pkgrel=2
+pkgdesc='Qt-based graphical user interface for the journalctl command'
 arch=('x86_64')
 url='https://github.com/pentix/qjournalctl'
-license=('GPL')
-depends=('glibc' 'gcc-libs' 'qt5-base' 'libssh')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('a8226177c72f3867b34eb5f7150c672d5e0a21ac5f808e64576c5771a097ef36')
+license=('GPL3')
+depends=('hicolor-icon-theme' 'libssh' 'qt5-base')
+makedepends=('imagemagick')
+source=("https://github.com/pentix/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
+        'qjournalctl.appdata.xml')
+sha256sums=('a8226177c72f3867b34eb5f7150c672d5e0a21ac5f808e64576c5771a097ef36'
+            '8f82dfee83ef1b4b66661f54ea7fbf781c2f971fdbb83bed0d1ef8777324efaa')
 
+prepare() {
+  cd $pkgname-$pkgver
+  convert ui/qjournalctl.png +set date:create +set date:modify -resize 64x64 -alpha on ui/qjournalctl-64x64.png
+  convert ui/qjournalctl.png +set date:create +set date:modify -resize 96x96 -alpha on ui/qjournalctl-96x96.png
+  sed -i '/^INSTALLS/ s/desktop-icon//' qjournalctl.pro
+}
+
 build() {
-    cd "$pkgname-$pkgver"
-    ./autogen.sh
-    make
+  cd $pkgname-$pkgver
+  qmake-qt5 qjournalctl.pro
+  make
 }
 
 package() {
-    cd "$pkgname-$pkgver"
-
-    install -Dm755 "$pkgname" -t "$pkgdir/usr/bin/"
-    install -Dm644 "ui/$pkgname.png" -t "$pkgdir/usr/share/pixmaps/"
-    install -Dm644 "ui/$pkgname.desktop" -t "$pkgdir/usr/share/applications/"
+  cd $pkgname-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+  install -Dm644 ui/qjournalctl-64x64.png "$pkgdir/usr/share/icons/hicolor/64x64/apps/qjournalctl.png"
+  install -Dm644 ui/qjournalctl-96x96.png "$pkgdir/usr/share/icons/hicolor/96x96/apps/qjournalctl.png"
+  install -Dm644 ../qjournalctl.appdata.xml "$pkgdir/usr/share/metainfo/qjournalctl.appdata.xml"
 }
-

Added: qjournalctl.appdata.xml
===================================================================
--- qjournalctl.appdata.xml	                        (rev 0)
+++ qjournalctl.appdata.xml	2021-05-23 07:59:08 UTC (rev 942919)
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop-application">
+  <id>com.github.QJournalctl</id>
+  <launchable type="desktop-id">qjournalctl.desktop</launchable>
+  <name>QJournalctl</name>
+  <summary>Graphical User Interface for systemd's journalctl</summary>
+  <metadata_license>CC0-1.0</metadata_license>
+  <project_license>GPL-3.0</project_license>
+  <description>
+    <p>systemd provides journalctl to display and analyze its journal. Think of the journal as a giant log file for the whole system. Different programs (like e.g. different software/services on your system, but also the kernel) write their log entries into systemd's journal. journalctl supports a few flags/parameters to specify what should be displayed. QJournalctl is just a graphical user interface which displays the journal and lets the user simply change the parameters to check the log quickly for specific reports or errors.</p>
+  </description>
+  <screenshots>
+    <screenshot type="default">
+      <image>https://user-images.githubusercontent.com/3193006/69094424-9d3e7900-0a50-11ea-94e3-5165b25d93cb.png</image>
+      <caption>Use the ssh feature to connect to remote hosts and read their logs; Save frequently used connections and benefit from password or (encrypted) keyfile support</caption>
+    </screenshot>
+    <screenshot>
+      <image>https://user-images.githubusercontent.com/3193006/36170961-3fbc1ed0-1101-11e8-9123-ceda9a1b6c8c.gif</image>
+      <caption>Use the filter option and regular expressions to find what you are looking for</caption>
+    </screenshot>
+    <screenshot>
+      <image>https://user-images.githubusercontent.com/3193006/36171008-5f55351a-1101-11e8-8885-f17723944868.gif</image>
+      <caption>Finally found the interesting log entries? Directly export your selection!</caption>
+    </screenshot>
+    <screenshot>
+      <image>https://camo.githubusercontent.com/0867468e9394a31645b93c0450e2be71a953bc9811cdfbe701b688816df05235/68747470733a2f2f696d6167652e70726e747363722e636f6d2f696d6167652f6c577757644a5632516b5f6e4c4f4b78566c353478672e706e67</image>
+      <caption>Search the journal while it keeps itself up-to-date</caption>
+    </screenshot>
+    <screenshot>
+      <image>https://camo.githubusercontent.com/6f5c13294726205dc8b2b74d3db6dd1d5e6baa88f07ee4cc41dce87588330619/687474703a2f2f696d6167652e70726e747363722e636f6d2f696d6167652f33643762613562346436383434383964623431383462356364393737343363392e706e67</image>
+      <caption>The current boot is not enough? Search the entire (!) journal of all boots or select a previous boot</caption>
+    </screenshot>
+  </screenshots>
+  <url type="bugtracker">https://github.com/pentix/qjournalctl/issues</url>
+  <url type="homepage">https://github.com/pentix/qjournalctl</url>
+  <developer_name>Patrick Eigensatz</developer_name>
+  <update_contact>patrick.eigensatz at gmail.com</update_contact>
+</component>



More information about the arch-commits mailing list