public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Schorm <mschorm@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-xapp] rawhide: Add locale files support
Date: Sat, 25 Jul 2026 18:01:20 GMT [thread overview]
Message-ID: <178500248038.1.17181075720757648521.rpms-python-xapp-ec163e114888@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-xapp
Branch : rawhide
Commit : ec163e114888cfa5a40928e1af515d66fb5b4057
Author : Michal Schorm <mschorm@redhat.com>
Date : 2026-07-25T15:55:46+02:00
Stats : +3/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-xapp/c/ec163e114888cfa5a40928e1af515d66fb5b4057?branch=rawhide
Log:
Add locale files support
The source ships 43 .po files and 'po/meson.build' uses
'i18n.gettext()' to compile and install them, but the spec did not
package any translations. Add:
- BuildRequires: 'gettext' (needed by meson i18n module)
- '%find_lang python-xapp' after %install
- '-f python-xapp.lang' to the %files section
Linux Mint divergence: LM does not declare 'gettext' as a
build-dep (relies on debhelper pulling it in implicitly). LM also
does not explicitly handle translations in its packaging rules.
Upstream references:
- i18n module import: https://github.com/linuxmint/python-xapp/blob/3.0.3/meson.build#L6
- i18n.gettext() call: https://github.com/linuxmint/python-xapp/blob/3.0.3/po/meson.build#L1
Co-Authored-By: Claude AI <noreply@anthropic.com>
---
diff --git a/python-xapp.spec b/python-xapp.spec
index 4ff0703..d49fef2 100644
--- a/python-xapp.spec
+++ b/python-xapp.spec
@@ -8,6 +8,7 @@ URL: https://github.com/linuxmint/%{name}
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch
+BuildRequires: gettext
%description
%{summary}.
@@ -39,9 +40,10 @@ Requires: xapps
%install
%meson_install
+%find_lang python-xapp
-%files -n python3-xapp
+%files -n python3-xapp -f python-xapp.lang
%license COPYING debian/copyright
%doc PKG-INFO debian/changelog
%{python3_sitelib}/xapp/
reply other threads:[~2026-07-25 18:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178500248038.1.17181075720757648521.rpms-python-xapp-ec163e114888@fedoraproject.org \
--to=mschorm@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox