public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH] vdr-plugin-2.eclass: fix behaviour with LINGUAS="en"
@ 2024-06-23  6:56 Martin Dummer
  2024-06-23  7:00 ` Martin Dummer
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Dummer @ 2024-06-23  6:56 UTC (permalink / raw)
  To: gentoo-dev

When compling media-plugin/vdr-* packages with LINGUAS="en" defined,
vdr-plugin-2_src_install() stops erroneously because it tries to copy
"en*.po" files which never exist (because its the default language for
all media-plugin/vdr-* packages)

This patch changes the behavior of vdr-plugin-2_src_install() to
silently ignore this lingua setting.

PR is in here: https://github.com/gentoo/gentoo/pull/37250

Any comments please?


Martin



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-dev] [PATCH] vdr-plugin-2.eclass: fix behaviour with LINGUAS="en"
  2024-06-23  6:56 [gentoo-dev] [PATCH] vdr-plugin-2.eclass: fix behaviour with LINGUAS="en" Martin Dummer
@ 2024-06-23  7:00 ` Martin Dummer
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Dummer @ 2024-06-23  7:00 UTC (permalink / raw)
  To: gentoo-dev

diff --git a/eclass/vdr-plugin-2.eclass b/eclass/vdr-plugin-2.eclass
index 289c3d1a624a..dc70ca7c5761 100644
--- a/eclass/vdr-plugin-2.eclass
+++ b/eclass/vdr-plugin-2.eclass
@@ -286,7 +286,7 @@vdr_linguas_support() {
                        || die "sed failed for Linguas"
        done

-       strip-linguas ${PLUGIN_LINGUAS} en
+strip-linguas ${PLUGIN_LINGUAS}
}

# @FUNCTION: vdr_i18n



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-06-23  7:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-23  6:56 [gentoo-dev] [PATCH] vdr-plugin-2.eclass: fix behaviour with LINGUAS="en" Martin Dummer
2024-06-23  7:00 ` Martin Dummer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox