[arch-commits] Commit in qreator/repos (4 files)
Felix Yan
felixonmars at gemini.archlinux.org
Thu Dec 2 23:25:28 UTC 2021
Date: Thursday, December 2, 2021 @ 23:25:28
Author: felixonmars
Revision: 1062970
archrelease: copy trunk to community-staging-any
Added:
qreator/repos/community-staging-any/
qreator/repos/community-staging-any/PKGBUILD
(from rev 1062968, qreator/trunk/PKGBUILD)
qreator/repos/community-staging-any/python3.9.patch
(from rev 1062968, qreator/trunk/python3.9.patch)
qreator/repos/community-staging-any/qreator.appdata.xml
(from rev 1062968, qreator/trunk/qreator.appdata.xml)
---------------------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
python3.9.patch | 22 ++++++++++++++++++++++
qreator.appdata.xml | 28 ++++++++++++++++++++++++++++
3 files changed, 85 insertions(+)
Copied: qreator/repos/community-staging-any/PKGBUILD (from rev 1062968, qreator/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-12-02 23:25:28 UTC (rev 1062970)
@@ -0,0 +1,35 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=qreator
+pkgver=20.02.1
+pkgrel=3
+pkgdesc='Graphical utility for creating QR codes'
+arch=('any')
+url='https://gitlab.com/qreator-dev/qreator'
+license=('GPL3')
+depends=('geoclue' 'libchamplain' 'libnm' 'python-pillow' 'python-cairo' 'python-gobject'
+ 'python-qrencode' 'python-requests' 'python-vobject' 'python-pyxdg')
+makedepends=('python-distutils-extra' 'git')
+_commit=56c4926413ef5202bfbfbfedecdb3ed4b9ae91a7 # master
+source=("git+https://gitlab.com/qreator-dev/qreator.git#commit=$_commit"
+ 'python3.9.patch'
+ 'qreator.appdata.xml')
+sha256sums=('SKIP'
+ '0e12e98e58c497d3b7dc44da1b15eeb0a7a2dc1e75483b7ec1870c59b85ccf34'
+ '55c0de408952322217f6f39c52ea9940c1e5f0a14f0fa14687644ad2c4740549')
+
+prepare() {
+ cd $pkgname
+ patch -Np1 -i ../python3.9.patch
+}
+
+build() {
+ cd $pkgname
+ python setup.py build
+}
+
+package() {
+ cd $pkgname
+ python setup.py install --root "$pkgdir" --optimize=1
+ install -Dm644 ../$pkgname.appdata.xml "$pkgdir/usr/share/metainfo/$pkgname.appdata.xml"
+}
Copied: qreator/repos/community-staging-any/python3.9.patch (from rev 1062968, qreator/trunk/python3.9.patch)
===================================================================
--- community-staging-any/python3.9.patch (rev 0)
+++ community-staging-any/python3.9.patch 2021-12-02 23:25:28 UTC (rev 1062970)
@@ -0,0 +1,22 @@
+diff --git a/qreator_lib/Builder.py b/qreator_lib/Builder.py
+index 4c3c7be..e1c5b82 100644
+--- a/qreator_lib/Builder.py
++++ b/qreator_lib/Builder.py
+@@ -85,7 +85,7 @@ class Builder(Gtk.Builder):
+ tree = ElementTree()
+ tree.parse(filename)
+
+- ele_widgets = tree.getiterator("object")
++ ele_widgets = tree.iter("object")
+ for ele_widget in ele_widgets:
+ name = ele_widget.attrib['id']
+ widget = self.get_object(name)
+@@ -107,7 +107,7 @@ class Builder(Gtk.Builder):
+ if connections:
+ self.connections.extend(connections)
+
+- ele_signals = tree.getiterator("signal")
++ ele_signals = tree.iter("signal")
+ for ele_signal in ele_signals:
+ self.glade_handler_dict.update(
+ {ele_signal.attrib["handler"]: None})
Copied: qreator/repos/community-staging-any/qreator.appdata.xml (from rev 1062968, qreator/trunk/qreator.appdata.xml)
===================================================================
--- community-staging-any/qreator.appdata.xml (rev 0)
+++ community-staging-any/qreator.appdata.xml 2021-12-02 23:25:28 UTC (rev 1062970)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop-application">
+ <id>net.launchpad.qreator</id>
+ <launchable type="desktop-id">qreator.desktop</launchable>
+ <name>Qreator</name>
+ <summary>Graphical utility for creating QR codes</summary>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-3.0</project_license>
+ <description>
+ <p>Qreator enables you to easily create your own QR codes to encode different types of information in an efficient, compact and cool way.</p>
+ <p>Qreator supports creating the following kinds of QR codes:</p>
+ <ul>
+ <li>Business card</li>
+ <li>Geolocation</li>
+ <li>Phone call/SMS</li>
+ <li>Text</li>
+ <li>URL</li>
+ <li>Wi-Fi network</li>
+ </ul>
+ </description>
+ <screenshots>
+ <screenshot type="default">
+ <image>https://screenshots.debian.net/shrine/screenshot/11973/simage/large-87d44abb28d3247e37559f7c5e5a0a50.png</image>
+ </screenshot>
+ </screenshots>
+ <url type="bugtracker">https://gitlab.com/qreator-dev/qreator/-/issues</url>
+ <url type="homepage">https://gitlab.com/qreator-dev/qreator</url>
+</component>
More information about the arch-commits
mailing list