public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/xfce4-xkb-plugin] f45: Update to 0.9.0 + switch to meson build system + spec cleanup and modernization
@ 2026-08-13 21:59 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-08-13 21:59 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/xfce4-xkb-plugin
Branch : f45
Commit : d2e5f0cf0d832251171973bc652f49561a32e3a9
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date   : 2026-07-31T23:44:10-03:00
Stats  : +33/-39 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/xfce4-xkb-plugin/c/d2e5f0cf0d832251171973bc652f49561a32e3a9?branch=f45

Log:
Update to 0.9.0 + switch to meson build system + spec cleanup and modernization

---
diff --git a/.gitignore b/.gitignore
index ee7275e..f089327 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,12 +1,2 @@
-xfce4-xkb-plugin-0.5.3.3.tar.gz
-/xfce4-xkb-plugin-0.5.4.1.tar.gz
-/xfce4-xkb-plugin-0.5.4.1.tar.bz2
-/xfce4-xkb-plugin-0.5.4.3.tar.bz2
-/xfce4-xkb-plugin-0.5.5.tar.bz2
-/xfce4-xkb-plugin-0.5.6.tar.bz2
-/xfce4-xkb-plugin-0.7.1.tar.bz2
-/xfce4-xkb-plugin-0.8.0.tar.bz2
-/xfce4-xkb-plugin-0.8.1.tar.bz2
-/xfce4-xkb-plugin-0.8.2.tar.bz2
-/xfce4-xkb-plugin-0.8.3.tar.bz2
-/xfce4-xkb-plugin-0.8.5.tar.bz2
+/xfce4-xkb-plugin-*.tar.bz2
+/xfce4-xkb-plugin-*.tar.xz

diff --git a/sources b/sources
index 274c5f2..7992138 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xfce4-xkb-plugin-0.8.5.tar.bz2) = fa995ff9bb65d0b84f9099fa8d375a8ab070cb4b4a33adffd77bcfb9acef6057ffaa444088a3ed6af4c03967a63adb564638a7583082a3fcfa0cc33bc99fd3bb
+SHA512 (xfce4-xkb-plugin-0.9.0.tar.xz) = 60176643ec29c0fc035f6f5bc22e04b103acdea6868b222784e7189219d6fd90d75ab27f3c494822777ec4749a34d31bac199f688f75431202001738471aeb49

diff --git a/xfce4-xkb-plugin.spec b/xfce4-xkb-plugin.spec
index d27b0e5..1eedcc4 100644
--- a/xfce4-xkb-plugin.spec
+++ b/xfce4-xkb-plugin.spec
@@ -1,33 +1,35 @@
 # Review: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=173674
+# VCS   https://gitlab.xfce.org/panel-plugins/xfce4-xkb-plugin
 
-%global minor_version 0.8
-
-%global xfceversion 4.16
+%global minor_version 0.9
+%global xfceversion 4.20
 
 Name:           xfce4-xkb-plugin
-Version:        0.8.5
+Version:        0.9.0
 Release:        %autorelease
 Summary:        XKB layout switcher for the Xfce panel
 
-# Automatically converted from old format: BSD - review is highly recommended.
-License:        LicenseRef-Callaway-BSD
-URL:            http://goodies.xfce.org/projects/panel-plugins/%{name}
-Source0:        http://archive.xfce.org/src/panel-plugins/%{name}/%{minor_version}/%{name}-%{version}.tar.bz2
+License:        GPL-2.0-or-later
+URL:            https://docs.xfce.org/panel-plugins/xfce4-xkb-plugin
+Source0:        https://archive.xfce.org/src/panel-plugins/%{name}/%{minor_version}/%{name}-%{version}.tar.xz
 
-BuildRequires: make
-BuildRequires:  gcc-c++
-BuildRequires:  libxfce4ui-devel >= %{xfceversion}
-BuildRequires:  xfce4-panel-devel >= %{xfceversion}
-BuildRequires:  libxklavier-devel >= 5.0
-BuildRequires:  librsvg2-devel >= 2.18
 BuildRequires:  garcon-devel
+BuildRequires:  gcc
 BuildRequires:  gettext
-BuildRequires:  intltool
+BuildRequires:  libX11-devel
+BuildRequires:  libnotify-devel
 BuildRequires:  libwnck3-devel
+BuildRequires:  libxfce4ui-devel >= %{xfceversion}
+BuildRequires:  libxfce4util-devel
+BuildRequires:  libxklavier-devel >= 5.3
+BuildRequires:  librsvg2-devel >= 2.40
+BuildRequires:  meson
+BuildRequires:  xfce4-panel-devel >= %{xfceversion}
+BuildRequires:  xfconf-devel
+
 Requires:       xfce4-panel >= %{xfceversion}
 Requires:       xfce4-settings
 
-
 %description
 Xfce XKB layout switch plugin for the Xfce panel. It displays the current 
 keyboard layout, and refreshes when layout changes. The layout can be 
@@ -36,29 +38,31 @@ cannot be configured from the plugin itself, they should be set in the
 XF86Config file or some other way (e.g. setxkbmap).
 
 %prep
-%setup -q
-
+%autosetup
 
 %build
-%configure --disable-static
-%make_build
-
+%meson
+%meson_build
 
 %install
-%make_install
-
-# remove la file
-find %{buildroot} -name '*.la' -exec rm -f {} ';'
+%meson_install
 
 # make sure debuginfo is generated properly
 chmod -c +x %{buildroot}%{_libdir}/xfce4/panel/plugins/*.so
 
+# 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}
 
+%check
+%meson_test
 
 %files -f %{name}.lang
 %license COPYING
-%doc AUTHORS ChangeLog
+%doc AUTHORS NEWS README.md
 %{_libdir}/xfce4/panel/plugins/*.so
 %{_datadir}/xfce4/panel/plugins/*.desktop
 %{_datadir}/icons/hicolor/*/apps/org.xfce.panel.xkb.*

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-13 21:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-13 21:59 [rpms/xfce4-xkb-plugin] f45: Update to 0.9.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