kkeithle pushed to ceph (rawhide). "16.2.0 GA (..more)"
by notificationsï¼ fedoraproject.org
Notification time stamped 2021-03-31 20:49:17 UTC
From 4a2e67ce27ac25c2df1c056ff8b1804ce76b6a59 Mon Sep 17 00:00:00 2001
From: Kaleb S. KEITHLEY <kkeithle(a)redhat.com>
Date: Mar 31 2021 20:49:10 +0000
Subject: 16.2.0 GA
Signed-off-by: Kaleb S. KEITHLEY <kkeithle(a)redhat.com>
---
diff --git a/ceph.spec b/ceph.spec
index f10873e..a91dbba 100644
--- a/ceph.spec
+++ b/ceph.spec
@@ -34,13 +34,13 @@
%if 0%{?fedora} || 0%{?rhel}
%bcond_without selinux
%ifarch x86_64 ppc64le
-%global _system_pmdk 1
%bcond_without rbd_rwl_cache
%bcond_without rbd_ssd_cache
+%global _system_pmdk 1
%else
-%global _system_pmdk 0
%bcond_with rbd_rwl_cache
%bcond_with rbd_ssd_cache
+%global _system_pmdk 0
%endif
%if 0%{?rhel} >= 8
%bcond_with cephfs_java
@@ -125,8 +125,8 @@
# main package definition
#################################################################################
Name: ceph
-Version: 16.1.0
-Release: 2%{?dist}
+Version: 16.2.0
+Release: 1%{?dist}
%if 0%{?fedora} || 0%{?rhel}
Epoch: 2
%endif
@@ -142,9 +142,7 @@ License: (LGPLv2.1 or LGPLv3) and CC-BY-SA-3.0 and GPLv2 and Boost-1.0 and BSD a
Group: System/Filesystems
%endif
URL: http://ceph.com/
-#Source0: %%{?_remote_tarball_prefix}ceph-%%{version}.tar.gz
-# https://download.ceph.com/rpm-16.1.0/el8/SRPMS/...
-Source0: ceph-16.1.0.tar.bz2
+Source0: %{?_remote_tarball_prefix}ceph-%{version}.tar.gz
Patch0001: 0001-src-common-crc32c_intel_fast.patch
Patch0002: 0002-src-common-CMakeLists.txt.patch
Patch0003: 0003-src-common-bitstr.h.patch
@@ -214,6 +212,7 @@ BuildRequires: libtool
BuildRequires: libxml2-devel
BuildRequires: make
BuildRequires: ncurses-devel
+BuildRequires: libicu-devel
BuildRequires: parted
BuildRequires: patch
BuildRequires: perl
@@ -222,6 +221,7 @@ BuildRequires: procps
BuildRequires: python%{python3_pkgversion}
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: snappy-devel
+BuildRequires: sqlite-devel
BuildRequires: sudo
BuildRequires: pkgconfig(udev)
BuildRequires: util-linux
@@ -269,8 +269,8 @@ BuildRequires: libevent-devel
BuildRequires: yaml-cpp-devel
%endif
%if 0%{?_system_pmdk}
-BuildRequires: libpmem-devel
-BuildRequires: libpmemobj-devel
+BuildRequires: libpmem-devel
+BuildRequires: libpmemobj-devel
%endif
%if 0%{with seastar}
BuildRequires: c-ares-devel
@@ -543,6 +543,7 @@ Group: System/Filesystems
%endif
Requires: ceph-base = %{_epoch_prefix}%{version}-%{release}
Requires: ceph-mgr-modules-core = %{_epoch_prefix}%{version}-%{release}
+Requires: libcephsqlite = %{_epoch_prefix}%{version}-%{release}
%if 0%{?weak_deps}
Recommends: ceph-mgr-dashboard = %{_epoch_prefix}%{version}-%{release}
Recommends: ceph-mgr-diskprediction-local = %{_epoch_prefix}%{version}-%{release}
@@ -910,6 +911,32 @@ Obsoletes: python-rados < %{_epoch_prefix}%{version}-%{release}
This package contains Python 3 libraries for interacting with Ceph RADOS
object store.
+%package -n libcephsqlite
+Summary: SQLite3 VFS for Ceph
+%if 0%{?suse_version}
+Group: System/Libraries
+%endif
+Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
+%description -n libcephsqlite
+A SQLite3 VFS for storing and manipulating databases stored on Ceph's RADOS
+distributed object store.
+
+%package -n libcephsqlite-devel
+Summary: SQLite3 VFS for Ceph headers
+%if 0%{?suse_version}
+Group: Development/Libraries/C and C++
+%endif
+Requires: sqlite-devel
+Requires: libcephsqlite = %{_epoch_prefix}%{version}-%{release}
+Requires: librados-devel = %{_epoch_prefix}%{version}-%{release}
+Requires: libradospp-devel = %{_epoch_prefix}%{version}-%{release}
+Obsoletes: ceph-devel < %{_epoch_prefix}%{version}-%{release}
+Provides: libcephsqlite-devel = %{_epoch_prefix}%{version}-%{release}
+Obsoletes: libcephsqlite-devel < %{_epoch_prefix}%{version}-%{release}
+%description -n libcephsqlite-devel
+A SQLite3 VFS for storing and manipulating databases stored on Ceph's RADOS
+distributed object store.
+
%if 0%{with libradosstriper}
%package -n libradosstriper1
Summary: RADOS striping interface
@@ -1398,7 +1425,7 @@ touch %{buildroot}%{_sharedstatedir}/cephadm/.ssh/authorized_keys
chmod 0600 %{buildroot}%{_sharedstatedir}/cephadm/.ssh/authorized_keys
# firewall templates and /sbin/mount.ceph symlink
-%if 0%{?suse_version}
+%if 0%{?suse_version} && !0%{?usrmerged}
mkdir -p %{buildroot}/sbin
ln -sf %{_sbindir}/mount.ceph %{buildroot}/sbin/mount.ceph
%endif
@@ -1571,7 +1598,7 @@ exit 0
%{_bindir}/rbd-replay-many
%{_bindir}/rbdmap
%{_sbindir}/mount.ceph
-%if 0%{?suse_version}
+%if 0%{?suse_version} && !0%{?usrmerged}
/sbin/mount.ceph
%endif
%if %{with lttng}
@@ -2182,6 +2209,16 @@ fi
%{python3_sitearch}/rados.cpython*.so
%{python3_sitearch}/rados-*.egg-info
+%files -n libcephsqlite
+%{_libdir}/libcephsqlite.so
+
+%post -n libcephsqlite -p /sbin/ldconfig
+
+%postun -n libcephsqlite -p /sbin/ldconfig
+
+%files -n libcephsqlite-devel
+%{_includedir}/libcephsqlite.h
+
%if 0%{with libradosstriper}
%files -n libradosstriper1
%{_libdir}/libradosstriper.so.*
@@ -2455,6 +2492,9 @@ exit 0
%config %{_sysconfdir}/prometheus/ceph/ceph_default_alerts.yml
%changelog
+* Wed Mar 31 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.2.0-1
+- 16.2.0 GA
+
* Tue Mar 30 2021 Jonathan Wakely <jwakely(a)redhat.com> - 2:16.1.0-2
- Rebuilt for removed libstdc++ symbol (#1937698)
diff --git a/sources b/sources
index 5d1c21c..dbd8960 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (ceph-16.1.0.tar.bz2) = 4a0107ac9a1636100294a5e968c9e830966727fc6135380b3406fa79fd7b92b5724764ffd68db5ca5c5a7bfbffd61dbd78854eb20e70ec741e77d2532561a0dc
+SHA512 (ceph-16.2.0.tar.gz) = aeb9a91c33221c64ea24603dc88cab346bf0abdf0d41ff85c2e1cf134130737ec1fab1246be0a2fa3af8a655ae1dabb69688855f229f54438e60cb8098175b8e
https://src.fedoraproject.org/rpms/ceph/c/4a2e67ce27ac25c2df1c056ff8b1804...
2Â years, 12Â months
spot pushed to libvpx (f34). "update to 1.10.0"
by notificationsï¼ fedoraproject.org
Notification time stamped 2021-03-31 20:36:50 UTC
From 3fad852e0619fa612a8a0bc8b129bb801c71c15e Mon Sep 17 00:00:00 2001
From: Tom spot Callaway <spot(a)fedoraproject.org>
Date: Mar 31 2021 20:30:24 +0000
Subject: update to 1.10.0
---
diff --git a/.gitignore b/.gitignore
index 5ab9183..727dbf7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,3 +17,4 @@ libvpx-0.9.1.tar.bz2
/v1.8.2.tar.gz
/v1.9.0.tar.gz
/v1.10.0-rc1.tar.gz
+/v1.10.0.tar.gz
diff --git a/libvpx.spec b/libvpx.spec
index e88f16f..5858db0 100644
--- a/libvpx.spec
+++ b/libvpx.spec
@@ -8,7 +8,7 @@
Name: libvpx
Summary: VP8/VP9 Video Codec SDK
Version: 1.10.0
-Release: 0.1.%{prever}%{?dist}
+Release: 1%{?dist}
License: BSD
#Source0: http://downloads.webmproject.org/releases/webm/%{name}-%{version}.tar.bz2
Source0: https://github.com/webmproject/libvpx/archive/v%{version}-%{prever}.tar.gz
@@ -235,6 +235,9 @@ rm -rf %{buildroot}%{_prefix}/src
%{_bindir}/*
%changelog
+* Mon Mar 29 2021 Tom Callaway <spot(a)fedoraproject.org> - 1.10.0-1
+- update to 1.10.0
+
* Mon Mar 8 2021 Tom Callaway <spot(a)fedoraproject.org> - 1.10.0-0.1.rc1
- update to 1.10.0-rc1
diff --git a/sources b/sources
index 00fd3e6..728cb2b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (v1.10.0-rc1.tar.gz) = 91458f12ebb6598635f773c2e6c8060b06dedda2731349832a43af7e2d6a76ff736e4831d768a0e96ab0b9266dd3f0e179937878440f18db52df621cc653f0db
+SHA512 (v1.10.0.tar.gz) = f88c588145b5164e98531b75215e119056cd806a9dbe6599bb9dab35c0af0ecd4b3daabee7d795e412a58aeb543d5c7dc0107457c4bd8f4d434e966e8e22a32d
https://src.fedoraproject.org/rpms/libvpx/c/3fad852e0619fa612a8a0bc8b129b...
2Â years, 12Â months
spot pushed to libvpx (f34). "1.10.0-rc1"
by notificationsï¼ fedoraproject.org
Notification time stamped 2021-03-31 20:36:50 UTC
From cd3c5dad5c9af76e8003512e83167d0301b17473 Mon Sep 17 00:00:00 2001
From: Tom spot Callaway <spot(a)fedoraproject.org>
Date: Mar 08 2021 18:24:34 +0000
Subject: 1.10.0-rc1
---
diff --git a/.gitignore b/.gitignore
index 0dd95b8..5ab9183 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,3 +16,4 @@ libvpx-0.9.1.tar.bz2
/v1.8.1.tar.gz
/v1.8.2.tar.gz
/v1.9.0.tar.gz
+/v1.10.0-rc1.tar.gz
diff --git a/libvpx.spec b/libvpx.spec
index fc7cea9..e88f16f 100644
--- a/libvpx.spec
+++ b/libvpx.spec
@@ -1,15 +1,17 @@
%global somajor 6
-%global sominor 0
+%global sominor 3
%global sotiny 0
%global soversion %{somajor}.%{sominor}.%{sotiny}
+%global prever rc1
+
Name: libvpx
Summary: VP8/VP9 Video Codec SDK
-Version: 1.9.0
-Release: 3%{?dist}
+Version: 1.10.0
+Release: 0.1.%{prever}%{?dist}
License: BSD
#Source0: http://downloads.webmproject.org/releases/webm/%{name}-%{version}.tar.bz2
-Source0: https://github.com/webmproject/libvpx/archive/v%{version}.tar.gz
+Source0: https://github.com/webmproject/libvpx/archive/v%{version}-%{prever}.tar.gz
Source1: vpx_config.h
# Thanks to debian.
Source2: libvpx.ver
@@ -46,7 +48,7 @@ A selection of utilities and tools for VP8, including a sample encoder
and decoder.
%prep
-%setup -q -n libvpx-%{version}
+%setup -q -n libvpx-%{version}-%{prever}
%patch0 -p1 -b .leave-fs-on
%build
@@ -233,6 +235,9 @@ rm -rf %{buildroot}%{_prefix}/src
%{_bindir}/*
%changelog
+* Mon Mar 8 2021 Tom Callaway <spot(a)fedoraproject.org> - 1.10.0-0.1.rc1
+- update to 1.10.0-rc1
+
* Tue Jan 26 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.9.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
diff --git a/sources b/sources
index a64f0a3..00fd3e6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (v1.9.0.tar.gz) = 8d544552b35000ea5712aec220b78bb5f7dc210704b2f609365214cb95a4f5a0e343b362723d829cb4a9ac203b10d5443700ba84b28fd6b2fefbabb40663e298
+SHA512 (v1.10.0-rc1.tar.gz) = 91458f12ebb6598635f773c2e6c8060b06dedda2731349832a43af7e2d6a76ff736e4831d768a0e96ab0b9266dd3f0e179937878440f18db52df621cc653f0db
https://src.fedoraproject.org/rpms/libvpx/c/cd3c5dad5c9af76e8003512e83167...
2Â years, 12Â months
salimma pushed to gnome-shell-extension-argos (epel8). "Switch to
mwilck's fork which has better support for newer GNOME versions (..more)"
by notificationsï¼ fedoraproject.org
Notification time stamped 2021-03-31 20:33:59 UTC
From 99d132257ef95e8722f8f383dab1b3adf2dc56db Mon Sep 17 00:00:00 2001
From: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Mar 26 2021 23:09:12 +0000
Subject: Switch to mwilck's fork which has better support for newer GNOME versions
Declare support for GNOME 3.38 and 40
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
---
diff --git a/.gitignore b/.gitignore
index 9ebbb1e..5a2dd45 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/gnome-shell-extension-argos-3-fcb4751.tar.gz
+/argos-23718a890dee78e619521421237bb3985dcb61a5.tar.gz
diff --git a/argos-gnome40.patch b/argos-gnome40.patch
new file mode 100644
index 0000000..0d0d98b
--- /dev/null
+++ b/argos-gnome40.patch
@@ -0,0 +1,29 @@
+From f26609f357a55ad4deadab94eb9f0d065bc8901a Mon Sep 17 00:00:00 2001
+From: Michel Alexandre Salim <michel(a)michel-slm.name>
+Date: Fri, 26 Mar 2021 15:50:18 -0700
+Subject: [PATCH] Mark this as compatible with GNOME 3.38 and 40
+
+Fedora 33 ships with GNOME 3.38 (but with version validation disabled)
+and this extension works fine there. Fedora 34 beta has GNOME 40 (with
+version validation enabled) and the extension works once the version
+is added to the list of supported versions.
+
+Signed-off-by: Michel Alexandre Salim <michel(a)michel-slm.name>
+---
+ argos(a)pew.worldwidemann.com/metadata.json | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/argos(a)pew.worldwidemann.com/metadata.json b/argos(a)pew.worldwidemann.com/metadata.json
+index 26d4634..486c724 100644
+--- a/argos(a)pew.worldwidemann.com/metadata.json
++++ b/argos(a)pew.worldwidemann.com/metadata.json
+@@ -9,6 +9,8 @@
+ "3.30",
+ "3.32",
+ "3.34",
+- "3.36"
++ "3.36",
++ "3.38",
++ "40"
+ ]
+ }
diff --git a/argos-registerclass.patch b/argos-registerclass.patch
deleted file mode 100644
index 96b33c7..0000000
--- a/argos-registerclass.patch
+++ /dev/null
@@ -1,139 +0,0 @@
-From c4663d9d3e29ef33b7e9123ef0c095811c91cf5b Mon Sep 17 00:00:00 2001
-From: Ram Mehta <ram.mehta(a)gmail.com>
-Date: Sun, 8 Mar 2020 15:09:12 -0400
-Subject: [PATCH] Use registerClass to make plugin compatible with gnome 3.36.
-
----
- argos(a)pew.worldwidemann.com/menuitem.js | 101 +++++++++++++-----------
- 1 file changed, 54 insertions(+), 47 deletions(-)
-
-diff --git a/argos(a)pew.worldwidemann.com/menuitem.js b/argos(a)pew.worldwidemann.com/menuitem.js
-index e35811b..d5c248a 100644
---- a/argos(a)pew.worldwidemann.com/menuitem.js
-+++ b/argos(a)pew.worldwidemann.com/menuitem.js
-@@ -10,6 +10,7 @@
- */
-
- const Lang = imports.lang;
-+const GObject = imports.gi.GObject;
- const GLib = imports.gi.GLib;
- const Gio = imports.gi.Gio;
- const PopupMenu = imports.ui.popupMenu;
-@@ -18,64 +19,70 @@ const AltSwitcher = imports.ui.status.system.AltSwitcher;
- const Extension = imports.misc.extensionUtils.getCurrentExtension();
- const ArgosLineView = Extension.imports.lineview.ArgosLineView;
-
--var ArgosMenuItem = class extends PopupMenu.PopupBaseMenuItem {
-- constructor(button, line, alternateLine) {
-- let hasAction = line.hasAction || (typeof alternateLine !== "undefined" && alternateLine.hasAction);
-+// Menu entry representing a docker container
-+const ArgosMenuItem = GObject.registerClass(
-+ {
-+ GTypeName: 'ArgosMenuItem'
-+ },
-+ class extends PopupMenu.PopupBaseMenuItem {
-+ _init(button, line, alternateLine) {
-+ let hasAction = line.hasAction || (typeof alternateLine !== "undefined" && alternateLine.hasAction);
-
-- super({
-- activate: hasAction,
-- hover: hasAction,
-- can_focus: hasAction
-- });
-+ super._init({
-+ activate: hasAction,
-+ hover: hasAction,
-+ can_focus: hasAction
-+ });
-
-- let altSwitcher = null;
-+ let altSwitcher = null;
-
-- let lineView = new ArgosLineView(line);
-+ let lineView = new ArgosLineView(line);
-
-- if (typeof alternateLine === "undefined") {
-- this.actor.add_child(lineView);
-- } else {
-- let alternateLineView = new ArgosLineView(alternateLine);
-- altSwitcher = new AltSwitcher(lineView, alternateLineView);
-- lineView.visible = true;
-- alternateLineView.visible = true;
-- this.actor.add_child(altSwitcher.actor);
-- }
-+ if (typeof alternateLine === "undefined") {
-+ this.actor.add_child(lineView);
-+ } else {
-+ let alternateLineView = new ArgosLineView(alternateLine);
-+ altSwitcher = new AltSwitcher(lineView, alternateLineView);
-+ lineView.visible = true;
-+ alternateLineView.visible = true;
-+ this.actor.add_child(altSwitcher.actor);
-+ }
-
-- if (hasAction) {
-- this.connect("activate", Lang.bind(this, function() {
-- let activeLine = (altSwitcher === null) ? line : altSwitcher.actor.get_child().line;
-+ if (hasAction) {
-+ this.connect("activate", Lang.bind(this, function() {
-+ let activeLine = (altSwitcher === null) ? line : altSwitcher.actor.get_child().line;
-
-- if (activeLine.hasOwnProperty("href"))
-- Gio.AppInfo.launch_default_for_uri(activeLine.href, null);
-+ if (activeLine.hasOwnProperty("href"))
-+ Gio.AppInfo.launch_default_for_uri(activeLine.href, null);
-
-- if (activeLine.hasOwnProperty("eval"))
-- eval(activeLine.eval);
-+ if (activeLine.hasOwnProperty("eval"))
-+ eval(activeLine.eval);
-
-- if (activeLine.hasOwnProperty("bash")) {
-- let argv = [];
-+ if (activeLine.hasOwnProperty("bash")) {
-+ let argv = [];
-
-- if (activeLine.terminal === "false") {
-- argv = ["bash", "-c", activeLine.bash];
-- } else {
-- // Run shell immediately after executing the command to keep the terminal window open
-- // (see http://stackoverflow.com/q/3512055)
-- argv = ["gnome-terminal", "--", "bash", "-c", activeLine.bash + "; exec ${SHELL:=bash}"];
-- }
-+ if (activeLine.terminal === "false") {
-+ argv = ["bash", "-c", activeLine.bash];
-+ } else {
-+ // Run shell immediately after executing the command to keep the terminal window open
-+ // (see http://stackoverflow.com/q/3512055)
-+ argv = ["gnome-terminal", "--", "bash", "-c", activeLine.bash + "; exec ${SHELL:=bash}"];
-+ }
-
-- let [success, pid] = GLib.spawn_async(
-- null, argv, null, GLib.SpawnFlags.SEARCH_PATH | GLib.SpawnFlags.DO_NOT_REAP_CHILD, null);
-+ let [success, pid] = GLib.spawn_async(
-+ null, argv, null, GLib.SpawnFlags.SEARCH_PATH | GLib.SpawnFlags.DO_NOT_REAP_CHILD, null);
-
-- if (success) {
-- GLib.child_watch_add(GLib.PRIORITY_DEFAULT_IDLE, pid, function() {
-- if (activeLine.refresh === "true")
-- button.update();
-- });
-+ if (success) {
-+ GLib.child_watch_add(GLib.PRIORITY_DEFAULT_IDLE, pid, function() {
-+ if (activeLine.refresh === "true")
-+ button.update();
-+ });
-+ }
-+ } else if (activeLine.refresh === "true") {
-+ button.update();
- }
-- } else if (activeLine.refresh === "true") {
-- button.update();
-- }
-- }));
-+ }));
-+ }
- }
- }
--};
-+);
diff --git a/gnome-shell-extension-argos.spec b/gnome-shell-extension-argos.spec
index 9088d3e..e632c59 100644
--- a/gnome-shell-extension-argos.spec
+++ b/gnome-shell-extension-argos.spec
@@ -1,25 +1,27 @@
%global uuid argos(a)pew.worldwidemann.com
-%global commit fcb475140bd9d0b4b95279ce56c4c28f36fb29d6
-%global shortcommit fcb4751
-%global snapshot_date 20200110
-%global snapinfo %{snapshot_date}.%{shortcommit}
+# https://github.com/p-e-w/argos is unmaintained, temporarily use
+# mwilck's version which has the most comprehensive updates for GNOME 3.36+
+%global forgeurl https://github.com/mwilck/argos
+%global commit 23718a890dee78e619521421237bb3985dcb61a5
+%global date 20200505
+%forgemeta
Name: gnome-shell-extension-argos
Version: 3
-Release: 4.%{snapinfo}%{?dist}
+Release: 5%{?dist}
Summary: Create GNOME Shell extensions in seconds
License: GPLv3
-URL: https://github.com/p-e-w/argos
-Source0: %{url}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
-# Use registerClass for GNOME 3.36 compatibility
-# https://github.com/p-e-w/argos/pull/111
-Patch0: %{url}/pull/111.patch#/argos-registerclass.patch
+URL: %{forgeurl}
+Source0: %{forgesource}
+
+# Add GNOME 3.38 and 40 compatibility
+Patch0: %{url}/pull/2.patch#/argos-gnome40.patch
BuildArch: noarch
-Requires: gnome-shell >= 3.36.0
+Requires: gnome-shell
%description
Most GNOME Shell extensions do one thing: Add a button with a dropdown menu to
@@ -57,6 +59,10 @@ cp -pr %{uuid} %{buildroot}%{_datadir}/gnome-shell/extensions/
%changelog
+* Fri Mar 26 2021 Michel Alexandre Salim <salimma(a)fedoraproject.org> - 3-5.20200505git23718a8
+- Switch to mwilck's fork which has better support for newer GNOME versions
+- Declare support for GNOME 3.38 and 40
+
* Tue Jan 26 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 3-4.20200110.fcb4751
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
diff --git a/sources b/sources
index 62f32e3..4394f06 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (gnome-shell-extension-argos-3-fcb4751.tar.gz) = 061c3ca92301350e275f1ae48b61aeef70043cf28739eb36c47da5eb5d6ab28f72443b2f74b58698a5f4d4ae968754f7c4bfe0ee860ac774c3bca6585d2e7800
+SHA512 (argos-23718a890dee78e619521421237bb3985dcb61a5.tar.gz) = e714afaeb6aae851012e89c20d1d6e3543266afadf9cf936e4e9dd75d3e5e224916b4e0f8b20f91fc51fa3dbdcfdcb33ac21139f16d85560f9ec0c0821d1b86c
https://src.fedoraproject.org/rpms/gnome-shell-extension-argos/c/99d13225...
2Â years, 12Â months
salimma pushed to gnome-shell-extension-argos (epel8). "Initial
Fedora package"
by notificationsï¼ fedoraproject.org
Notification time stamped 2021-03-31 20:33:59 UTC
From 6dfdd3a585f26888b1fca6fc5914a49002b3475e Mon Sep 17 00:00:00 2001
From: Michel Alexandre Salim <michel(a)michel-slm.name>
Date: Apr 28 2020 17:40:19 +0000
Subject: Initial Fedora package
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..9ebbb1e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/gnome-shell-extension-argos-3-fcb4751.tar.gz
diff --git a/argos-registerclass.patch b/argos-registerclass.patch
new file mode 100644
index 0000000..96b33c7
--- /dev/null
+++ b/argos-registerclass.patch
@@ -0,0 +1,139 @@
+From c4663d9d3e29ef33b7e9123ef0c095811c91cf5b Mon Sep 17 00:00:00 2001
+From: Ram Mehta <ram.mehta(a)gmail.com>
+Date: Sun, 8 Mar 2020 15:09:12 -0400
+Subject: [PATCH] Use registerClass to make plugin compatible with gnome 3.36.
+
+---
+ argos(a)pew.worldwidemann.com/menuitem.js | 101 +++++++++++++-----------
+ 1 file changed, 54 insertions(+), 47 deletions(-)
+
+diff --git a/argos(a)pew.worldwidemann.com/menuitem.js b/argos(a)pew.worldwidemann.com/menuitem.js
+index e35811b..d5c248a 100644
+--- a/argos(a)pew.worldwidemann.com/menuitem.js
++++ b/argos(a)pew.worldwidemann.com/menuitem.js
+@@ -10,6 +10,7 @@
+ */
+
+ const Lang = imports.lang;
++const GObject = imports.gi.GObject;
+ const GLib = imports.gi.GLib;
+ const Gio = imports.gi.Gio;
+ const PopupMenu = imports.ui.popupMenu;
+@@ -18,64 +19,70 @@ const AltSwitcher = imports.ui.status.system.AltSwitcher;
+ const Extension = imports.misc.extensionUtils.getCurrentExtension();
+ const ArgosLineView = Extension.imports.lineview.ArgosLineView;
+
+-var ArgosMenuItem = class extends PopupMenu.PopupBaseMenuItem {
+- constructor(button, line, alternateLine) {
+- let hasAction = line.hasAction || (typeof alternateLine !== "undefined" && alternateLine.hasAction);
++// Menu entry representing a docker container
++const ArgosMenuItem = GObject.registerClass(
++ {
++ GTypeName: 'ArgosMenuItem'
++ },
++ class extends PopupMenu.PopupBaseMenuItem {
++ _init(button, line, alternateLine) {
++ let hasAction = line.hasAction || (typeof alternateLine !== "undefined" && alternateLine.hasAction);
+
+- super({
+- activate: hasAction,
+- hover: hasAction,
+- can_focus: hasAction
+- });
++ super._init({
++ activate: hasAction,
++ hover: hasAction,
++ can_focus: hasAction
++ });
+
+- let altSwitcher = null;
++ let altSwitcher = null;
+
+- let lineView = new ArgosLineView(line);
++ let lineView = new ArgosLineView(line);
+
+- if (typeof alternateLine === "undefined") {
+- this.actor.add_child(lineView);
+- } else {
+- let alternateLineView = new ArgosLineView(alternateLine);
+- altSwitcher = new AltSwitcher(lineView, alternateLineView);
+- lineView.visible = true;
+- alternateLineView.visible = true;
+- this.actor.add_child(altSwitcher.actor);
+- }
++ if (typeof alternateLine === "undefined") {
++ this.actor.add_child(lineView);
++ } else {
++ let alternateLineView = new ArgosLineView(alternateLine);
++ altSwitcher = new AltSwitcher(lineView, alternateLineView);
++ lineView.visible = true;
++ alternateLineView.visible = true;
++ this.actor.add_child(altSwitcher.actor);
++ }
+
+- if (hasAction) {
+- this.connect("activate", Lang.bind(this, function() {
+- let activeLine = (altSwitcher === null) ? line : altSwitcher.actor.get_child().line;
++ if (hasAction) {
++ this.connect("activate", Lang.bind(this, function() {
++ let activeLine = (altSwitcher === null) ? line : altSwitcher.actor.get_child().line;
+
+- if (activeLine.hasOwnProperty("href"))
+- Gio.AppInfo.launch_default_for_uri(activeLine.href, null);
++ if (activeLine.hasOwnProperty("href"))
++ Gio.AppInfo.launch_default_for_uri(activeLine.href, null);
+
+- if (activeLine.hasOwnProperty("eval"))
+- eval(activeLine.eval);
++ if (activeLine.hasOwnProperty("eval"))
++ eval(activeLine.eval);
+
+- if (activeLine.hasOwnProperty("bash")) {
+- let argv = [];
++ if (activeLine.hasOwnProperty("bash")) {
++ let argv = [];
+
+- if (activeLine.terminal === "false") {
+- argv = ["bash", "-c", activeLine.bash];
+- } else {
+- // Run shell immediately after executing the command to keep the terminal window open
+- // (see http://stackoverflow.com/q/3512055)
+- argv = ["gnome-terminal", "--", "bash", "-c", activeLine.bash + "; exec ${SHELL:=bash}"];
+- }
++ if (activeLine.terminal === "false") {
++ argv = ["bash", "-c", activeLine.bash];
++ } else {
++ // Run shell immediately after executing the command to keep the terminal window open
++ // (see http://stackoverflow.com/q/3512055)
++ argv = ["gnome-terminal", "--", "bash", "-c", activeLine.bash + "; exec ${SHELL:=bash}"];
++ }
+
+- let [success, pid] = GLib.spawn_async(
+- null, argv, null, GLib.SpawnFlags.SEARCH_PATH | GLib.SpawnFlags.DO_NOT_REAP_CHILD, null);
++ let [success, pid] = GLib.spawn_async(
++ null, argv, null, GLib.SpawnFlags.SEARCH_PATH | GLib.SpawnFlags.DO_NOT_REAP_CHILD, null);
+
+- if (success) {
+- GLib.child_watch_add(GLib.PRIORITY_DEFAULT_IDLE, pid, function() {
+- if (activeLine.refresh === "true")
+- button.update();
+- });
++ if (success) {
++ GLib.child_watch_add(GLib.PRIORITY_DEFAULT_IDLE, pid, function() {
++ if (activeLine.refresh === "true")
++ button.update();
++ });
++ }
++ } else if (activeLine.refresh === "true") {
++ button.update();
+ }
+- } else if (activeLine.refresh === "true") {
+- button.update();
+- }
+- }));
++ }));
++ }
+ }
+ }
+-};
++);
diff --git a/gnome-shell-extension-argos.spec b/gnome-shell-extension-argos.spec
new file mode 100644
index 0000000..5a6d78c
--- /dev/null
+++ b/gnome-shell-extension-argos.spec
@@ -0,0 +1,64 @@
+%global uuid argos(a)pew.worldwidemann.com
+
+%global commit fcb475140bd9d0b4b95279ce56c4c28f36fb29d6
+%global shortcommit fcb4751
+%global snapshot_date 20200110
+%global snapinfo %{snapshot_date}.%{shortcommit}
+
+Name: gnome-shell-extension-argos
+Version: 3
+Release: 2.%{snapinfo}%{?dist}
+Summary: Create GNOME Shell extensions in seconds
+
+License: GPLv3
+URL: https://github.com/p-e-w/argos
+Source0: %{url}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
+# Use registerClass for GNOME 3.36 compatibility
+# https://github.com/p-e-w/argos/pull/111
+Patch0: %{url}/pull/111.patch#/argos-registerclass.patch
+
+BuildArch: noarch
+
+Requires: gnome-shell >= 3.36.0
+
+%description
+Most GNOME Shell extensions do one thing: Add a button with a dropdown menu to
+the panel, displaying information and exposing functionality. Even in its
+simplest form, creating such an extension is a nontrivial task involving a
+poorly documented and ever-changing JavaScript API.
+
+Argos lets you write GNOME Shell extensions in a language that every Linux user
+is already intimately familiar with: Bash scripts.
+
+More precisely, Argos is a GNOME Shell extension that turns executables'
+standard output into panel dropdown menus. It is inspired by, and fully
+compatible with, the BitBar app for macOS. Argos supports many BitBar plugins
+without modifications, giving you access to a large library of well-tested
+scripts in addition to being able to write your own.
+
+
+%prep
+%autosetup -p1 -n argos-%{commit}
+
+
+%build
+
+
+%install
+mkdir -p %{buildroot}/%{_datadir}/gnome-shell/extensions/
+cp -pr %{uuid} %{buildroot}%{_datadir}/gnome-shell/extensions/
+
+
+%files
+# asked upstream to include license text:
+# https://github.com/p-e-w/argos/pull/115
+%doc README.md
+%{_datadir}/gnome-shell/extensions/%{uuid}/
+
+
+%changelog
+* Tue Apr 28 2020 Michel Alexandre Salim <salimma(a)fedoraproject.org> - 3.2.20200110.fcb4751
+- add URLs to pull requests for reference
+
+* Thu Apr 23 2020 Michel Alexandre Salim <salimma(a)fedoraproject.org> - 3-1.20200110.fcb4751
+- Initial Fedora package
diff --git a/sources b/sources
new file mode 100644
index 0000000..62f32e3
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (gnome-shell-extension-argos-3-fcb4751.tar.gz) = 061c3ca92301350e275f1ae48b61aeef70043cf28739eb36c47da5eb5d6ab28f72443b2f74b58698a5f4d4ae968754f7c4bfe0ee860ac774c3bca6585d2e7800
https://src.fedoraproject.org/rpms/gnome-shell-extension-argos/c/6dfdd3a5...
2Â years, 12Â months