public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/xfce4-panel-profiles] f45: Update to 1.1.0 + switch to meson build system + spec cleanup and modernization
@ 2026-08-13 22:00 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-08-13 22:00 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/xfce4-panel-profiles
Branch : f45
Commit : c1710b3f6a0ba0f257fc2f79a12dc9013287054e
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-08-01T00:13:00-03:00
Stats : +39/-38 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/xfce4-panel-profiles/c/c1710b3f6a0ba0f257fc2f79a12dc9013287054e?branch=f45
Log:
Update to 1.1.0 + switch to meson build system + spec cleanup and modernization
---
diff --git a/.gitignore b/.gitignore
index 8682f8e..ca7512c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,2 @@
-/xfce4-panel-profiles-1.0.8.tar.bz2
-/xfce4-panel-profiles-1.0.9.tar.bz2
-/xfce4-panel-profiles-1.0.10.tar.bz2
-/xfce4-panel-profiles-1.0.11.tar.bz2
-/xfce4-panel-profiles-1.0.12.tar.bz2
-/xfce4-panel-profiles-1.0.13.tar.bz2
-/xfce4-panel-profiles-1.0.14.tar.bz2
+/xfce4-panel-profiles-*.tar.bz2
+/xfce4-panel-profiles-*.tar.xz
diff --git a/sources b/sources
index f8ce71c..56c30db 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xfce4-panel-profiles-1.0.14.tar.bz2) = e316e9d4f0d27b16ce83a50adfe1a3fe2102b7f5c3ed9e9ceebf5968e265064b4d4ade1e0dbd84180758a9c1fa72d8df1fb4d06a631d07956ea8add0f66da984
+SHA512 (xfce4-panel-profiles-1.1.0.tar.xz) = 082d5f0b778518a6be03277f7d2631804fb36bfb5924c01a4920396d9610cf65d85087103034b96dae57e82cc725bb88bc4d5fe4a9bc0715c2b66b966822d0de
diff --git a/xfce4-panel-profiles.spec b/xfce4-panel-profiles.spec
index e029ba2..aa7b3c7 100644
--- a/xfce4-panel-profiles.spec
+++ b/xfce4-panel-profiles.spec
@@ -1,30 +1,33 @@
-%global majorver 1.0
-%global app_org_name org.xfce.PanelProfiles
-
-Name: xfce4-panel-profiles
-Version: 1.0.14
-Release: %autorelease
-Summary: A simple application to manage Xfce panel layouts
-
-# Automatically converted from old format: GPLv3 - review is highly recommended.
-License: GPL-3.0-only
-URL: https://git.xfce.org/apps/xfce4-panel-profiles/about/
-Source0: https://archive.xfce.org/src/apps/%{name}/%{majorver}/%{name}-%{version}.tar.bz2
+# VCS https://gitlab.xfce.org/apps/xfce4-panel-profiles
-BuildRequires: make
-BuildRequires: python3-devel
-BuildRequires: gettext
-BuildRequires: intltool
-BuildRequires: libappstream-glib
-BuildRequires: desktop-file-utils
-
-BuildArch: noarch
+%global majorver 1.1
+%global app_org_name org.xfce.PanelProfiles
-Requires: xfce4-panel
-Requires: python3-psutil
+Name: xfce4-panel-profiles
+Version: 1.1.0
+Release: %autorelease
+Summary: A simple application to manage Xfce panel layouts
+
+License: GPL-3.0-or-later
+URL: https://docs.xfce.org/apps/xfce4-panel-profiles/start
+Source0: https://archive.xfce.org/src/apps/%{name}/%{majorver}/%{name}-%{version}.tar.xz
+
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+BuildRequires: libappstream-glib
+BuildRequires: meson
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gtk+-3.0)
+BuildRequires: pkgconfig(libxfce4ui-2)
+BuildRequires: pkgconfig(libxfce4util-1.0)
+BuildRequires: python3-devel
+BuildRequires: python3-gobject
+BuildRequires: python3-psutil
+BuildArch: noarch
+Requires: python3-gobject
+Requires: python3-psutil
+Requires: xfce4-panel
-Provides: xfpanel-switch = %{version}-%{release}
-Obsoletes: xfpanel-switch <= 1.0.7
%description
A simple application to manage Xfce panel layouts
@@ -35,17 +38,20 @@ panel layouts.
%prep
%autosetup
-sed -i '4s/$/Configuration;User;/' org.xfce.PanelProfiles.desktop.in
-sed -i '/Keywords/d' org.xfce.PanelProfiles.desktop.in
+# Remove shebangs from non-executable python library files
+sed -i '1{\@^#!/usr/bin/env python3@d}' xfce4-panel-profiles/panelconfig.py xfce4-panel-profiles/xfce4-panel-profiles.py
%build
-./configure --prefix=%{_prefix}
-
-%make_build
+%meson
+%meson_build
%install
-%make_install
+%meson_install
+# Rename non-standard hye locale to hy
+if [ -d %{buildroot}%{_datadir}/locale/hye ]; then
+ mv %{buildroot}%{_datadir}/locale/hye %{buildroot}%{_datadir}/locale/hy
+fi
%find_lang %{name}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-13 22:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-13 22:00 [rpms/xfce4-panel-profiles] f45: Update to 1.1.0 + switch to meson build system + spec cleanup and modernization Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox