gnome-ponytail-daemon v0.0.10

This commit is contained in:
José Expósito 2024-02-02 17:24:15 +01:00
parent b482d72522
commit 4a85cebe9a
4 changed files with 419 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/gnome-ponytail-daemon-0.0.10.tar.gz

View File

@ -0,0 +1,312 @@
From bb134899038f44d2024ee9e2ce025fd099e416de Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jos=C3=A9=20Exp=C3=B3sito?= <jexposit@redhat.com>
Date: Wed, 10 Jan 2024 09:41:47 +0100
Subject: [PATCH] Fix license address
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
`fedpkg lint` throws the following error:
gnome-ponytail-daemon-python.noarch:
E: incorrect-fsf-address /usr/lib/python3.12/site-packages/ponytail/ponytail.py
From [1]:
In all cases, upstream should be informed about this. [...]
The license file [...] must not be patched for legal reasons.
Other files can be patched if deemed suitable.
[1] https://fedoraproject.org/wiki/Common_Rpmlint_issues#incorrect-fsf-address
Signed-off-by: José Expósito <jexposit@redhat.com>
---
ponytail/ponytail.py | 7 +++----
src/gnome-ponytail-daemon.c | 7 +++----
src/gpd-context.c | 7 +++----
src/gpd-context.h | 7 +++----
src/gpd-ei-client.c | 7 +++----
src/gpd-ei-client.h | 7 +++----
src/gpd-event-controller.c | 7 +++----
src/gpd-event-controller.h | 7 +++----
src/gpd-keyboard-utils.c | 7 +++----
src/gpd-keyboard-utils.h | 7 +++----
src/gpd-session.c | 7 +++----
src/gpd-session.h | 7 +++----
src/gpd-stream.c | 7 +++----
src/gpd-stream.h | 7 +++----
src/gpd.h | 7 +++----
15 files changed, 45 insertions(+), 60 deletions(-)
diff --git a/ponytail/ponytail.py b/ponytail/ponytail.py
index d936c2a..329a3b2 100644
--- a/ponytail/ponytail.py
+++ b/ponytail/ponytail.py
@@ -11,10 +11,9 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Olivier Fourdan <ofourdan@redhat.com>
#
diff --git a/src/gnome-ponytail-daemon.c b/src/gnome-ponytail-daemon.c
index e7866ae..08592ab 100644
--- a/src/gnome-ponytail-daemon.c
+++ b/src/gnome-ponytail-daemon.c
@@ -11,10 +11,9 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- * 02111-1307, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* gnome-ponytail-daemon for dogtail written by:
* Olivier Fourdan <ofourdan@redhat.com>
diff --git a/src/gpd-context.c b/src/gpd-context.c
index eba1fc5..56a3a17 100644
--- a/src/gpd-context.c
+++ b/src/gpd-context.c
@@ -11,10 +11,9 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- * 02111-1307, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* gnome-ponytail-daemon for dogtail written by:
* Olivier Fourdan <ofourdan@redhat.com>
diff --git a/src/gpd-context.h b/src/gpd-context.h
index 3015366..8a0dd34 100644
--- a/src/gpd-context.h
+++ b/src/gpd-context.h
@@ -11,10 +11,9 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- * 02111-1307, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* gnome-ponytail-daemon for dogtail written by:
* Olivier Fourdan <ofourdan@redhat.com>
diff --git a/src/gpd-ei-client.c b/src/gpd-ei-client.c
index a0871d6..5c4fc48 100644
--- a/src/gpd-ei-client.c
+++ b/src/gpd-ei-client.c
@@ -11,10 +11,9 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- * 02111-1307, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* gnome-ponytail-daemon for dogtail written by:
* Olivier Fourdan <ofourdan@redhat.com>
diff --git a/src/gpd-ei-client.h b/src/gpd-ei-client.h
index e875050..7179522 100644
--- a/src/gpd-ei-client.h
+++ b/src/gpd-ei-client.h
@@ -11,10 +11,9 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- * 02111-1307, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* gnome-ponytail-daemon for dogtail written by:
* Olivier Fourdan <ofourdan@redhat.com>
diff --git a/src/gpd-event-controller.c b/src/gpd-event-controller.c
index fdeab28..edc4fd6 100644
--- a/src/gpd-event-controller.c
+++ b/src/gpd-event-controller.c
@@ -11,10 +11,9 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- * 02111-1307, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* gnome-ponytail-daemon for dogtail written by:
* Olivier Fourdan <ofourdan@redhat.com>
diff --git a/src/gpd-event-controller.h b/src/gpd-event-controller.h
index 92a39f8..c197bd0 100644
--- a/src/gpd-event-controller.h
+++ b/src/gpd-event-controller.h
@@ -11,10 +11,9 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- * 02111-1307, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* gnome-ponytail-daemon for dogtail written by:
* Olivier Fourdan <ofourdan@redhat.com>
diff --git a/src/gpd-keyboard-utils.c b/src/gpd-keyboard-utils.c
index cdd82af..409a1ab 100644
--- a/src/gpd-keyboard-utils.c
+++ b/src/gpd-keyboard-utils.c
@@ -11,10 +11,9 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- * 02111-1307, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* gnome-ponytail-daemon for dogtail written by:
* Olivier Fourdan <ofourdan@redhat.com>
diff --git a/src/gpd-keyboard-utils.h b/src/gpd-keyboard-utils.h
index dbda5ad..cbc7b3c 100644
--- a/src/gpd-keyboard-utils.h
+++ b/src/gpd-keyboard-utils.h
@@ -11,10 +11,9 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- * 02111-1307, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* gnome-ponytail-daemon for dogtail written by:
* Olivier Fourdan <ofourdan@redhat.com>
diff --git a/src/gpd-session.c b/src/gpd-session.c
index e542793..a160698 100644
--- a/src/gpd-session.c
+++ b/src/gpd-session.c
@@ -11,10 +11,9 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- * 02111-1307, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* gnome-ponytail-daemon for dogtail written by:
* Olivier Fourdan <ofourdan@redhat.com>
diff --git a/src/gpd-session.h b/src/gpd-session.h
index 38a0593..4a5e55d 100644
--- a/src/gpd-session.h
+++ b/src/gpd-session.h
@@ -11,10 +11,9 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- * 02111-1307, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* gnome-ponytail-daemon for dogtail written by:
* Olivier Fourdan <ofourdan@redhat.com>
diff --git a/src/gpd-stream.c b/src/gpd-stream.c
index 83c6ad6..3e3954f 100644
--- a/src/gpd-stream.c
+++ b/src/gpd-stream.c
@@ -11,10 +11,9 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- * 02111-1307, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* gnome-ponytail-daemon for dogtail written by:
* Olivier Fourdan <ofourdan@redhat.com>
diff --git a/src/gpd-stream.h b/src/gpd-stream.h
index 871d8ef..b010837 100644
--- a/src/gpd-stream.h
+++ b/src/gpd-stream.h
@@ -11,10 +11,9 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- * 02111-1307, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* gnome-ponytail-daemon for dogtail written by:
* Olivier Fourdan <ofourdan@redhat.com>
diff --git a/src/gpd.h b/src/gpd.h
index 06f655f..6126af6 100644
--- a/src/gpd.h
+++ b/src/gpd.h
@@ -11,10 +11,9 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- * 02111-1307, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* gnome-ponytail-daemon for dogtail written by:
* Olivier Fourdan <ofourdan@redhat.com>
--
2.43.0

105
gnome-ponytail-daemon.spec Normal file
View File

@ -0,0 +1,105 @@
%global systemd_unit gnome-ponytail-daemon.service
%global libname ponytail
Name: gnome-ponytail-daemon
Version: 0.0.10
Release: 1%{?dist}
Summary: Sort of a bridge for dogtail for GNOME on Wayland
License: GPL-2.0-or-later
URL: https://gitlab.gnome.org/ofourdan/gnome-ponytail-daemon
Source0: %url/-/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: git-core
BuildRequires: meson >= 0.40.0
BuildRequires: pkgconfig
BuildRequires: pkgconfig(glib-2.0) >= 2.32
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.32
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: pkgconfig(xkbcommon)
BuildRequires: systemd-rpm-macros
%if 0%{?fedora} >= 39 || 0%{?rhel} >= 10
BuildRequires: pkgconfig(libei-1.0) >= 1.0.0
%endif
%{?systemd_requires}
BuildRequires: systemd
# Fix the "incorrect-fsf-address" lint warning
Patch01: 0001-Fix-license-address.patch
%description
GNOME Ponytail Daemon is a sort of bridge for dogtail for GNOME on Wayland.
%package -n python3-%{name}
Summary: Python module for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: python3-dbus
Requires: python3-gobject
BuildArch: noarch
%description -n python3-%{name}
Python module for D-BUS interactions with gnome-ponytail-daemon interfaces.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%meson
%meson_build
%install
%meson_install
%post
%systemd_user_post %{systemd_unit}
%preun
%systemd_user_preun %{systemd_unit}
%postun
%systemd_user_postun_with_restart %{systemd_unit}
%systemd_user_postun_with_reload %{systemd_unit}
%systemd_user_postun %{systemd_unit}
%files
%license LICENSE
%doc README.md
%{_libexecdir}/gnome-ponytail-daemon
%{_userunitdir}/gnome-ponytail-daemon.service
%{_datadir}/dbus-1/services/org.gnome.Ponytail.service
%files -n python3-%{name}
%doc examples/*.py
%{python3_sitelib}/%{libname}/
%changelog
* Mon Jan 08 2024 José Expósito <jexposit@redhat.com> - 0.0.10-1
- Add libei support
- Bug fixing
* Tue Dec 10 2019 Olivier Fourdan <ofourdan@redhat.com> - 0.0.9-1
- Version 0.0.9
* Tue Jan 29 2019 Olivier Fourdan <ofourdan@redhat.com> - 0.0.8-1
- Version 0.0.8
* Wed Dec 19 2018 Olivier Fourdan <ofourdan@redhat.com> - 0.0.7-1
- Version 0.0.7
* Thu Dec 13 2018 Olivier Fourdan <ofourdan@redhat.com> - 0.0.6-1
- Version 0.0.6
* Wed Dec 5 2018 Olivier Fourdan <ofourdan@redhat.com> - 0.0.5-1
- Version 0.0.5
* Wed Nov 28 2018 Olivier Fourdan <ofourdan@redhat.com> - 0.0.4-1
- Version 0.0.4
* Thu Nov 22 2018 Olivier Fourdan <ofourdan@redhat.com> - 0.0.3-1
- Version 0.0.3
* Mon Nov 19 2018 Olivier Fourdan <ofourdan@redhat.com> - 0.0.2-1
- Initial version

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (gnome-ponytail-daemon-0.0.10.tar.gz) = f60c51753fa6ae014981d91ffd9e5148e71c5559ed04fa8a213de3a8957b3c9fa61e82a0a02624c5e6bd0138d1f02d8964a820d9a4ae1a35de8a8a1a281e2651