• [gentoo-dev] [PATCH] vdr-plugin-2.eclass: fix behaviour with LINGUAS="e

    From Martin Dummer@21:1/5 to All on Sun Jun 23 09:00:01 2024
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Martin Dummer@21:1/5 to All on Sun Jun 23 09:10:01 2024
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)