[arch-commits] Commit in griffith/repos/community-any (5 files)

Antonio Rojas arojas at gemini.archlinux.org
Thu Dec 23 12:10:14 UTC 2021


    Date: Thursday, December 23, 2021 @ 12:10:14
  Author: arojas
Revision: 1083063

archrelease: copy trunk to community-any

Added:
  griffith/repos/community-any/0001-Add-missing-Gtk-version-declaration.patch
    (from rev 1083062, griffith/trunk/0001-Add-missing-Gtk-version-declaration.patch)
  griffith/repos/community-any/PKGBUILD
    (from rev 1083062, griffith/trunk/PKGBUILD)
Deleted:
  griffith/repos/community-any/0001-Add-AppStream-metadata-file.patch
  griffith/repos/community-any/0001-Add-missing-Gtk-version-declaration.patch
  griffith/repos/community-any/PKGBUILD

------------------------------------------------+
 0001-Add-AppStream-metadata-file.patch         |   86 -----------------------
 0001-Add-missing-Gtk-version-declaration.patch |   50 ++++++-------
 PKGBUILD                                       |   71 +++++++++---------
 3 files changed, 59 insertions(+), 148 deletions(-)

Deleted: 0001-Add-AppStream-metadata-file.patch
===================================================================
--- 0001-Add-AppStream-metadata-file.patch	2021-12-23 12:10:01 UTC (rev 1083062)
+++ 0001-Add-AppStream-metadata-file.patch	2021-12-23 12:10:14 UTC (rev 1083063)
@@ -1,86 +0,0 @@
-From 2e669e04574d319804fd4393c173611d998308ee Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <ballogyor at gmail.com>
-Date: Sun, 2 May 2021 09:53:41 +0200
-Subject: [PATCH] Add AppStream metadata file
-
-It's useful for software catalogs to display detailed information about this application.
----
- Makefile                  |  5 ++++-
- data/griffith.appdata.xml | 28 ++++++++++++++++++++++++++++
- 2 files changed, 32 insertions(+), 1 deletion(-)
- create mode 100644 data/griffith.appdata.xml
-
-diff --git a/Makefile b/Makefile
-index afb4f9b..b511c68 100755
---- a/Makefile
-+++ b/Makefile
-@@ -33,6 +33,7 @@ IMPORTPLUGINSDIR = $(PLUGINSDIR)/imp
- EXTENSIONSPLUGINSDIR = $(PLUGINSDIR)/extensions
- TPLDIR = $(DATADIR)/export_templates
- APPLICATIONSDIR = $(PREFIX)/share/applications
-+METAINFODIR = $(PREFIX)/share/metainfo
- ICONDIR = $(PREFIX)/share/icons/hicolor/scalable/apps
- LOCALEDIR = $(PREFIX)/share/locale
- BASHCOMPDIR = $(PREFIX)/share/bash-completion/completions
-@@ -54,7 +55,7 @@ install:
- 	@echo "^^^^^^^^^^^^^^^^^^^"
- 	$(INSTALL) -m 755 -d $(BINDIR) $(DATADIR) $(LIBDIR) $(LIBDIR)/db \
- 		$(PLUGINSDIR) $(MOVIEPLUGINSDIR) $(EXPORTPLUGINSDIR) $(IMPORTPLUGINSDIR) $(EXTENSIONSPLUGINSDIR) \
--		$(FONTSDIR) $(APPLICATIONSDIR) $(ICONDIR) $(TPLDIR) \
-+		$(FONTSDIR) $(APPLICATIONSDIR) $(METAINFODIR) $(ICONDIR) $(TPLDIR) \
- 		$(IMAGESDIR) $(GLADEDIR) $(BASHCOMPDIR)
- 	$(INSTALL) -m 755 griffith $(LIBDIR)
- 	$(INSTALL) -m 644 lib/*.py $(LIBDIR)
-@@ -69,6 +70,7 @@ install:
- 	$(INSTALL) -m 644 images/*.png $(IMAGESDIR)
- 	$(INSTALL) -m 644 images/griffith.svg $(ICONDIR)
- 	$(INSTALL) -m 644 data/griffith.desktop $(APPLICATIONSDIR)
-+	$(INSTALL) -m 644 data/griffith.appdata.xml $(METAINFODIR)
- 	$(INSTALL) -m 644 data/bash_completion $(BASHCOMPDIR)/griffith
- 	
- 	# installing language files
-@@ -106,6 +108,7 @@ uninstall:
- 	${RM} -r $(DATADIR)
- 	${RM} -r $(ICONDIR)/griffith.svg
- 	${RM} -r $(APPLICATIONSDIR)/griffith.desktop
-+	${RM} -r $(METAINFODIR)/griffith.appdata.xml
- 	for lang in $(LANGUAGES); do \
- 		${RM} -r $(LOCALEDIR)/$$lang/LC_MESSAGES/griffith.mo; \
- 	done
-diff --git a/data/griffith.appdata.xml b/data/griffith.appdata.xml
-new file mode 100644
-index 0000000..c7a696c
---- /dev/null
-+++ b/data/griffith.appdata.xml
-@@ -0,0 +1,28 @@
-+<?xml version="1.0" encoding="UTF-8"?>
-+<component type="desktop">
-+  <id>griffith.desktop</id>
-+  <metadata_license>CC0-1.0</metadata_license>
-+  <project_license>GPL-2.0</project_license>
-+  <name>Griffith</name>
-+  <summary>Movie collection manager</summary>
-+  <description>
-+    <p>Griffith is a film collection manager with ease of use in mind.</p>
-+    <ul>
-+      <li>Fetch film information from the web using a plugin system</li>
-+      <li>Automatic numbering</li>
-+      <li>Backup/restore functions</li>
-+      <li>Exports listings to PDF and CSV files</li>
-+      <li>Generates a PDF with film's cover</li>
-+      <li>Clone film information</li>
-+      <li>Loans management</li>
-+      <li>View filtering</li>
-+    </ul>
-+  </description>
-+  <screenshots>
-+    <screenshot type="default">
-+      <image>https://screenshots.debian.net/shrine/screenshot/22/simage/large-0cde3999904a6899300369f586e363dc.png</image>
-+    </screenshot>
-+  </screenshots>
-+  <url type="homepage">https://gitlab.com/Strit/griffith</url>
-+  <url type="bugtracker">https://gitlab.com/Strit/griffith/issues</url>
-+</component>
--- 
-2.31.1
-

Deleted: 0001-Add-missing-Gtk-version-declaration.patch
===================================================================
--- 0001-Add-missing-Gtk-version-declaration.patch	2021-12-23 12:10:01 UTC (rev 1083062)
+++ 0001-Add-missing-Gtk-version-declaration.patch	2021-12-23 12:10:14 UTC (rev 1083063)
@@ -1,25 +0,0 @@
-From df76d3c7b72e1126af7a8f80b4048d199a88321d Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <ballogyor at gmail.com>
-Date: Sun, 2 May 2021 07:47:05 +0000
-Subject: [PATCH] Add missing Gtk version declaration
-
-Otherwise it fails to run if gtk4 is installed on the system.
----
- griffith | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/griffith b/griffith
-index f62e719..0b2287b 100755
---- a/griffith
-+++ b/griffith
-@@ -86,6 +86,7 @@ if len(missing) > 0:
- del missing
- 
- # other imports
-+gi.require_version('Gtk', '3.0')
- from gi.repository import Gtk
- import add
- import config
--- 
-2.31.1
-

Copied: griffith/repos/community-any/0001-Add-missing-Gtk-version-declaration.patch (from rev 1083062, griffith/trunk/0001-Add-missing-Gtk-version-declaration.patch)
===================================================================
--- 0001-Add-missing-Gtk-version-declaration.patch	                        (rev 0)
+++ 0001-Add-missing-Gtk-version-declaration.patch	2021-12-23 12:10:14 UTC (rev 1083063)
@@ -0,0 +1,25 @@
+From df76d3c7b72e1126af7a8f80b4048d199a88321d Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <ballogyor at gmail.com>
+Date: Sun, 2 May 2021 07:47:05 +0000
+Subject: [PATCH] Add missing Gtk version declaration
+
+Otherwise it fails to run if gtk4 is installed on the system.
+---
+ griffith | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/griffith b/griffith
+index f62e719..0b2287b 100755
+--- a/griffith
++++ b/griffith
+@@ -86,6 +86,7 @@ if len(missing) > 0:
+ del missing
+ 
+ # other imports
++gi.require_version('Gtk', '3.0')
+ from gi.repository import Gtk
+ import add
+ import config
+-- 
+2.31.1
+

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-23 12:10:01 UTC (rev 1083062)
+++ PKGBUILD	2021-12-23 12:10:14 UTC (rev 1083063)
@@ -1,37 +0,0 @@
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: Strit <danjohansen at strits dot dk>
-# Contributor: ValHue <vhuelamo at gmail dot com>
-# Contributor: Jaroslav Lichtblau <dragonlord at aur dot archlinux dot org>
-# Contributor: Daniel J Griffiths <ghost1227 at archlinux dot us>
-# Contributor: Ronald van Haren <ronald at archlinux dot org>
-# Contributor: Alessio 'mOLOk' Bolognino <themolok at gmail dot com>
-# Contributor: Pawel Rusinek <p.rusinek at gmail dot com>
-# Contributor: Jashua Gentry <https://gitlab.com/pixel293>
-# Contributor: John Cheetham <https://gitlab.com/johncheetham>
-
-pkgname=griffith
-pkgver=0.17
-pkgrel=3
-pkgdesc='Movie collection manager application'
-arch=('any')
-url='https://gitlab.com/Strit/griffith'
-license=('GPL2')
-depends=('gtkspell3' 'python-chardet' 'python-gobject' 'python-pillow' 'python-reportlab'
-         'python-sqlalchemy1.3')
-source=("https://gitlab.com/Strit/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar.gz"
-        '0001-Add-missing-Gtk-version-declaration.patch'
-        '0001-Add-AppStream-metadata-file.patch')
-sha256sums=('e7d49717adc934801a0d810525f2b203b20672c18b4da889018121ef9019bc68'
-            '896aae0fc40de117f478e6b1bbc037178b885ca8ed4f649b5d4bc2258de68205'
-            '938dd09f8855d1731927cf265916b46f623a20d5aa2772949d58789be01ddb74')
-
-prepare() {
-  cd $pkgname-$pkgver
-  patch -Np1 -i ../0001-Add-missing-Gtk-version-declaration.patch
-  patch -Np1 -i ../0001-Add-AppStream-metadata-file.patch
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-}

Copied: griffith/repos/community-any/PKGBUILD (from rev 1083062, griffith/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-23 12:10:14 UTC (rev 1083063)
@@ -0,0 +1,34 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Strit <danjohansen at strits dot dk>
+# Contributor: ValHue <vhuelamo at gmail dot com>
+# Contributor: Jaroslav Lichtblau <dragonlord at aur dot archlinux dot org>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux dot us>
+# Contributor: Ronald van Haren <ronald at archlinux dot org>
+# Contributor: Alessio 'mOLOk' Bolognino <themolok at gmail dot com>
+# Contributor: Pawel Rusinek <p.rusinek at gmail dot com>
+# Contributor: Jashua Gentry <https://gitlab.com/pixel293>
+# Contributor: John Cheetham <https://gitlab.com/johncheetham>
+
+pkgname=griffith
+pkgver=0.19
+pkgrel=1
+pkgdesc='Movie collection manager application'
+arch=('any')
+url='https://gitlab.com/Strit/griffith'
+license=('GPL2')
+depends=('gtkspell3' 'python-chardet' 'python-gobject' 'python-pillow' 'python-reportlab'
+         'python-sqlalchemy')
+source=("https://gitlab.com/Strit/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar.gz"
+        '0001-Add-missing-Gtk-version-declaration.patch')
+sha256sums=('1a3b8856cce13503dd0fd2a34f69bbf1c0feb62343677061a04fd8f53d44e88c'
+            '896aae0fc40de117f478e6b1bbc037178b885ca8ed4f649b5d4bc2258de68205')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i ../0001-Add-missing-Gtk-version-declaration.patch
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list