Date: Wednesday, April 12, 2023 @ 15:50:13
  Author: jelle
Revision: 1444962

archrelease: copy trunk to community-staging-any

Added:
  d-feet/repos/community-staging-any/
  d-feet/repos/community-staging-any/PKGBUILD
    (from rev 1444961, d-feet/trunk/PKGBUILD)
  d-feet/repos/community-staging-any/meson-drop-unused-argument.patch
    (from rev 1444961, d-feet/trunk/meson-drop-unused-argument.patch)
  d-feet/repos/community-staging-any/python-del-fix.patch
    (from rev 1444961, d-feet/trunk/python-del-fix.patch)

----------------------------------+
 PKGBUILD                         |   37 +++++++++++++++++++++++++++++++++++++
 meson-drop-unused-argument.patch |   36 ++++++++++++++++++++++++++++++++++++
 python-del-fix.patch             |   12 ++++++++++++
 3 files changed, 85 insertions(+)

Copied: d-feet/repos/community-staging-any/PKGBUILD (from rev 1444961, 
d-feet/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-12 15:50:13 UTC (rev 1444962)
@@ -0,0 +1,37 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=d-feet
+pkgver=0.3.16
+pkgrel=3
+pkgdesc="D-Bus debugger for GNOME"
+arch=('any')
+url="https://wiki.gnome.org/Apps/DFeet";
+license=('GPL2')
+depends=('gtk3' 'python-gobject')
+makedepends=('gobject-introspection' 'meson' 'python-pycodestyle' 'yelp-tools')
+checkdepends=('xorg-server-xvfb')
+source=(https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
 meson-drop-unused-argument.patch python-del-fix.patch)
+sha512sums=('ff4db968cbd679e2065c614d538187fe3c56118b44638771ec9f7472bdba4a798dc682565f520a8680a8001ea39ce88555b07cda172e60f88eb6bdf1e00b5a6d'
+            
'019dbeff67c22eccab4e34ed3c3aa292a86c6113f0f9575ecbec948aa5e2fc06f0f862d8e07d8ce566045e6aeb985cebddbc3c70ce6cffc8a074c1e08c80e27c'
+            
'082938045dda067c1fca4d3954fffbaf6d3fe39e5a69ce4e6d629aa62c148009e7f228f01b76863d2b78d6fac663a93eb06988b1239901bfb41b2f65d62f249e')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i ${srcdir}/meson-drop-unused-argument.patch
+  patch -Np1 -i ${srcdir}/python-del-fix.patch
+}
+
+build() {
+  arch-meson $pkgname-$pkgver build
+  ninja -C build
+}
+
+check() {
+  xvfb-run meson test -C build --print-errorlogs
+}
+
+package() {
+  meson install -C build --destdir "$pkgdir"
+  python -m compileall -d /usr/lib "$pkgdir/usr/lib"
+  python -O -m compileall -d /usr/lib "$pkgdir/usr/lib"
+}

Copied: d-feet/repos/community-staging-any/meson-drop-unused-argument.patch 
(from rev 1444961, d-feet/trunk/meson-drop-unused-argument.patch)
===================================================================
--- community-staging-any/meson-drop-unused-argument.patch                      
        (rev 0)
+++ community-staging-any/meson-drop-unused-argument.patch      2023-04-12 
15:50:13 UTC (rev 1444962)
@@ -0,0 +1,36 @@
+From 05465d486afdba116dbc22fc22c1e6573aea4f22 Mon Sep 17 00:00:00 2001
+From: Jan Beich <[email protected]>
+Date: Mon, 24 Jan 2022 12:11:57 +0000
+Subject: [PATCH] meson: drop unused argument for i18n.merge_file()
+
+Ignored in Meson < 0.60.0, deprecated since 0.60.1 and fatal since 0.61.0.
+
+data/meson.build:15:0: ERROR: Function does not take positional arguments.
+data/meson.build:27:0: ERROR: Function does not take positional arguments.
+---
+ data/meson.build | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/data/meson.build b/data/meson.build
+index 026bd80..3b03b94 100644
+--- a/data/meson.build
++++ b/data/meson.build
+@@ -13,7 +13,6 @@ desktop_in = configure_file(
+ )
+ 
+ i18n.merge_file(
+-  desktop,
+   type: 'desktop',
+   input: desktop_in,
+   output: '@BASENAME@',
+@@ -25,7 +24,6 @@ i18n.merge_file(
+ appdata = df_namespace + '.appdata.xml'
+ 
+ i18n.merge_file(
+-  appdata,
+   input: appdata + '.in',
+   output: '@BASENAME@',
+   po_dir: po_dir,
+-- 
+GitLab
+

Copied: d-feet/repos/community-staging-any/python-del-fix.patch (from rev 
1444961, d-feet/trunk/python-del-fix.patch)
===================================================================
--- community-staging-any/python-del-fix.patch                          (rev 0)
+++ community-staging-any/python-del-fix.patch  2023-04-12 15:50:13 UTC (rev 
1444962)
@@ -0,0 +1,12 @@
+diff -aur d-feet-0.3.16.old/src/dfeet/bus_watch.py 
d-feet-0.3.16/src/dfeet/bus_watch.py
+--- d-feet-0.3.16.old/src/dfeet/bus_watch.py   2023-04-12 17:39:11.358506803 
+0200
++++ d-feet-0.3.16/src/dfeet/bus_watch.py       2023-04-12 17:47:58.276821099 
+0200
+@@ -189,7 +189,7 @@
+             self.box_bus.remove(childs[-1])
+ 
+         try:
+-            del(self.__addr_info)
++            del self.__addr_info
+         except AttributeError:
+             pass
+ 

Reply via email to