[arch-commits] Commit in phototonic/repos/community-x86_64 (4 files)

Allan McRae allan at gemini.archlinux.org
Mon Apr 25 03:54:11 UTC 2022


    Date: Monday, April 25, 2022 @ 03:54:11
  Author: allan
Revision: 1189874

archrelease: copy trunk to community-x86_64

Added:
  phototonic/repos/community-x86_64/PKGBUILD
    (from rev 1189873, phototonic/trunk/PKGBUILD)
  phototonic/repos/community-x86_64/appstream.patch
    (from rev 1189873, phototonic/trunk/appstream.patch)
Deleted:
  phototonic/repos/community-x86_64/PKGBUILD
  phototonic/repos/community-x86_64/phototonic.appdata.xml

------------------------+
 PKGBUILD               |   68 +++++++++++++++++++++++------------------------
 appstream.patch        |   61 ++++++++++++++++++++++++++++++++++++++++++
 phototonic.appdata.xml |   27 ------------------
 3 files changed, 95 insertions(+), 61 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-25 03:53:49 UTC (rev 1189873)
+++ PKGBUILD	2022-04-25 03:54:11 UTC (rev 1189874)
@@ -1,34 +0,0 @@
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: Peter Mattern <pmattern at arcor dot de>
-# Contributor: Michael Straube <straubem at gmx dot de>
-# Contributor: Ofer Kashayov <oferkv at gmail dot com>
-
-pkgname=phototonic
-pkgver=2.1
-pkgrel=2
-pkgdesc='Image viewer and organizer built with Qt and Exiv2'
-arch=(x86_64)
-url='https://github.com/oferkv/phototonic/'
-license=(GPL3)
-depends=(exiv2 hicolor-icon-theme qt5-imageformats qt5-svg)
-source=(https://github.com/oferkv/phototonic/archive/v$pkgver/$pkgname-$pkgver.tar.gz
-        phototonic.appdata.xml)
-sha256sums=('a8b2dbc81750efabb65a4732b1704641afd4a4f772ef9c90817871ca2a52f5ef'
-            '42a79f018c2909651c8d65a0008fc94350e72f95ec6c76bd4f6c821d37c17e1b')
-
-prepare() {
-  cd $pkgname-$pkgver
-  sed -i '/INSTALLS +=/ s/ iconPixmaps//' phototonic.pro
-}
-
-build() {
-  cd $pkgname-$pkgver
-  qmake PREFIX=/usr phototonic.pro
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make INSTALL_ROOT="$pkgdir" install
-  install -Dm644 ../$pkgname.appdata.xml "$pkgdir/usr/share/metainfo/$pkgname.appdata.xml"
-}

Copied: phototonic/repos/community-x86_64/PKGBUILD (from rev 1189873, phototonic/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-25 03:54:11 UTC (rev 1189874)
@@ -0,0 +1,34 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Peter Mattern <pmattern at arcor dot de>
+# Contributor: Michael Straube <straubem at gmx dot de>
+# Contributor: Ofer Kashayov <oferkv at gmail dot com>
+
+pkgname=phototonic
+pkgver=2.1
+pkgrel=3
+pkgdesc='Image viewer and organizer built with Qt and Exiv2'
+arch=('x86_64')
+url='https://github.com/oferkv/phototonic/'
+license=('GPL3')
+depends=('exiv2' 'hicolor-icon-theme' 'qt5-imageformats' 'qt5-svg')
+source=("https://github.com/oferkv/phototonic/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
+        'appstream.patch')
+sha256sums=('a8b2dbc81750efabb65a4732b1704641afd4a4f772ef9c90817871ca2a52f5ef'
+            'af7b0768c5752297e4a629f54540475f5db0c55bd4a0cdfcdb816343274ecdd9')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i ../appstream.patch
+  sed -i '/INSTALLS +=/ s/ iconPixmaps//' phototonic.pro
+}
+
+build() {
+  cd $pkgname-$pkgver
+  qmake-qt5 PREFIX=/usr phototonic.pro
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+}

Copied: phototonic/repos/community-x86_64/appstream.patch (from rev 1189873, phototonic/trunk/appstream.patch)
===================================================================
--- appstream.patch	                        (rev 0)
+++ appstream.patch	2022-04-25 03:54:11 UTC (rev 1189874)
@@ -0,0 +1,61 @@
+From 9b1a04ceb247fb43d3e8461212252c5d1ef0574a Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <ballogyor at gmail.com>
+Date: Fri, 30 Apr 2021 00:31:32 +0200
+Subject: [PATCH] Add AppStream metadata file
+
+It's useful for software catalogs to display detailed information about this application.
+---
+ phototonic.appdata.xml | 27 +++++++++++++++++++++++++++
+ phototonic.pro         |  5 ++++-
+ 2 files changed, 31 insertions(+), 1 deletion(-)
+ create mode 100644 phototonic.appdata.xml
+
+diff --git a/phototonic.appdata.xml b/phototonic.appdata.xml
+new file mode 100644
+index 0000000..09afe43
+--- /dev/null
++++ b/phototonic.appdata.xml
+@@ -0,0 +1,27 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<component type="desktop">
++  <id>phototonic.desktop</id>
++  <metadata_license>CC0-1.0</metadata_license>
++  <project_license>GPL-3.0+</project_license>
++  <name>Phototonic</name>
++  <summary>View photos on your computer</summary>
++  <description>
++    <p>Phototonic is an image viewer and organizer built with Qt and Exiv2. Features:</p>
++    <ul>
++      <li>Support for common image formats and GIF animation</li>
++      <li>Supports tagging images, and filtering images by tags (IPTC)</li>
++      <li>Browse thumbnails recursively down a folder tree</li>
++      <li>Dynamic thumbnails loading</li>
++      <li>Image transformation and color manipulation</li>
++      <li>Display image information and metadata</li>
++      <li>Does not depend on any desktop environment</li>
++    </ul>
++  </description>
++  <screenshots>
++    <screenshot type="default">
++      <image>https://raw.githubusercontent.com/oferkv/phototonic/master/images/screenshot.jpg</image>
++    </screenshot>
++  </screenshots>
++  <url type="homepage">https://github.com/oferkv/phototonic</url>
++  <url type="bugtracker">https://github.com/oferkv/phototonic/issues</url>
++</component>
+diff --git a/phototonic.pro b/phototonic.pro
+index 6e4b1bf..0dcc50a 100644
+--- a/phototonic.pro
++++ b/phototonic.pro
+@@ -68,7 +68,10 @@ iconPixmaps.path = /usr/share/pixmaps
+ desktop.files = phototonic.desktop
+ desktop.path = /usr/share/applications
+ 
+-INSTALLS += target icon icon16 iconPixmaps desktop
++metainfo.files = phototonic.appdata.xml
++metainfo.path = /usr/share/metainfo
++
++INSTALLS += target icon icon16 iconPixmaps desktop metainfo
+ 
+ TRANSLATIONS = 	translations/phototonic_en.ts \
+ 		translations/phototonic_pl.ts \

Deleted: phototonic.appdata.xml
===================================================================
--- phototonic.appdata.xml	2022-04-25 03:53:49 UTC (rev 1189873)
+++ phototonic.appdata.xml	2022-04-25 03:54:11 UTC (rev 1189874)
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<component type="desktop">
-  <id>phototonic.desktop</id>
-  <metadata_license>CC0-1.0</metadata_license>
-  <project_license>GPL-3.0+</project_license>
-  <name>Phototonic</name>
-  <summary>View photos on your computer</summary>
-  <description>
-    <p>Phototonic is an image viewer and organizer built with Qt and Exiv2. Features:</p>
-    <ul>
-      <li>Support for common image formats and GIF animation</li>
-      <li>Supports tagging images, and filtering images by tags (IPTC)</li>
-      <li>Browse thumbnails recursively down a folder tree</li>
-      <li>Dynamic thumbnails loading</li>
-      <li>Image transformation and color manipulation</li>
-      <li>Display image information and metadata</li>
-      <li>Does not depend on any desktop environment</li>
-    </ul>
-  </description>
-  <screenshots>
-    <screenshot type="default">
-      <image>https://raw.githubusercontent.com/oferkv/phototonic/master/images/screenshot.jpg</image>
-    </screenshot>
-  </screenshots>
-  <url type="homepage">https://github.com/oferkv/phototonic</url>
-  <url type="bugtracker">https://github.com/oferkv/phototonic/issues</url>
-</component>



More information about the arch-commits mailing list