commit:     fd49668a8bb2346908b62a1bfd9fbf9ece5f972b
Author:     Martin Dummer <martin.dummer <AT> gmx <DOT> net>
AuthorDate: Wed May  1 12:49:37 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Jun 10 12:45:21 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd49668a

vdr-plugin-2.eclass: change qa warnings to einfo

many vdr plugins need small adjustments because API or makefile changes
in upstream media-video/vdr which can be easily fixed with small changes
These fixes should no longer be reported as "equawarn", instead now only
an "einfo" will be printed out.

Closes: https://bugs.gentoo.org/925762
Closes: https://bugs.gentoo.org/925763
Closes: https://bugs.gentoo.org/925764
Closes: https://bugs.gentoo.org/925765
Closes: https://bugs.gentoo.org/925766
Closes: https://bugs.gentoo.org/925767
Closes: https://bugs.gentoo.org/925768
Closes: https://bugs.gentoo.org/925769
Closes: https://bugs.gentoo.org/925770
Closes: https://bugs.gentoo.org/925771
Closes: https://bugs.gentoo.org/925773
Closes: https://bugs.gentoo.org/925774
Closes: https://bugs.gentoo.org/925775
Closes: https://bugs.gentoo.org/925776
Closes: https://bugs.gentoo.org/925777
Closes: https://bugs.gentoo.org/925778
Closes: https://bugs.gentoo.org/925779
Closes: https://bugs.gentoo.org/925780
Closes: https://bugs.gentoo.org/925781
Closes: https://bugs.gentoo.org/925782
Closes: https://bugs.gentoo.org/925783
Closes: https://bugs.gentoo.org/925784
Closes: https://bugs.gentoo.org/925785
Closes: https://bugs.gentoo.org/925786
Closes: https://bugs.gentoo.org/925787
Closes: https://bugs.gentoo.org/925788
Closes: https://bugs.gentoo.org/925791
Closes: https://bugs.gentoo.org/925792
Closes: https://bugs.gentoo.org/925793
Closes: https://bugs.gentoo.org/925794
Closes: https://bugs.gentoo.org/925795
Closes: https://bugs.gentoo.org/925796
Closes: https://bugs.gentoo.org/925797
Closes: https://bugs.gentoo.org/925798
Closes: https://bugs.gentoo.org/925799
Closes: https://bugs.gentoo.org/925800
Closes: https://bugs.gentoo.org/925801
Closes: https://bugs.gentoo.org/925802
Closes: https://bugs.gentoo.org/925803
Closes: https://bugs.gentoo.org/925804
Closes: https://bugs.gentoo.org/925805
Closes: https://bugs.gentoo.org/925806
Closes: https://bugs.gentoo.org/925807
Closes: https://bugs.gentoo.org/925808
Closes: https://bugs.gentoo.org/925809
Closes: https://bugs.gentoo.org/925810
Closes: https://bugs.gentoo.org/925811
Closes: https://bugs.gentoo.org/925812
Closes: https://bugs.gentoo.org/925817
Closes: https://bugs.gentoo.org/925818
Closes: https://bugs.gentoo.org/925819
Closes: https://bugs.gentoo.org/925820
Closes: https://bugs.gentoo.org/925821
Closes: https://bugs.gentoo.org/925822
Closes: https://bugs.gentoo.org/925823
Closes: https://bugs.gentoo.org/925824
Closes: https://bugs.gentoo.org/925825
Closes: https://bugs.gentoo.org/925826
Closes: https://bugs.gentoo.org/925827
Closes: https://bugs.gentoo.org/925828
Closes: https://bugs.gentoo.org/925829
Closes: https://bugs.gentoo.org/925830
Closes: https://bugs.gentoo.org/925831
Closes: https://bugs.gentoo.org/925832
Closes: https://bugs.gentoo.org/925833
Closes: https://bugs.gentoo.org/925834
Closes: https://bugs.gentoo.org/925835
Closes: https://bugs.gentoo.org/925837
Closes: https://bugs.gentoo.org/925838
Closes: https://bugs.gentoo.org/925839
Closes: https://bugs.gentoo.org/925840
Closes: https://bugs.gentoo.org/925841
Closes: https://bugs.gentoo.org/925842
Closes: https://bugs.gentoo.org/925922
Closes: https://bugs.gentoo.org/925923
Closes: https://bugs.gentoo.org/925924
Signed-off-by: Martin Dummer <martin.dummer <AT> gmx.net>
Closes: https://github.com/gentoo/gentoo/pull/36504
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 eclass/vdr-plugin-2.eclass | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/eclass/vdr-plugin-2.eclass b/eclass/vdr-plugin-2.eclass
index 8f56511032c8..289c3d1a624a 100644
--- a/eclass/vdr-plugin-2.eclass
+++ b/eclass/vdr-plugin-2.eclass
@@ -160,7 +160,6 @@ vdr_create_header_checksum_file() {
 # Plugins failed on compile with wrong path of libsi includes,
 # this can be fixed by 'function + space separated list of files'
 fix_vdr_libsi_include() {
-       eqawarn "QA Notice: Fixing include of libsi-headers"
        local f
        for f; do
                sed -i "${f}" \
@@ -245,7 +244,7 @@ vdr_gettext_missing() {
 
        local GETTEXT_MISSING=$( grep xgettext Makefile )
        if [[ -z ${GETTEXT_MISSING} ]]; then
-               eqawarn "QA Notice: Plugin isn't converted to gettext handling!"
+               einfo "Notice: Plugin isn't converted to gettext handling!"
        fi
 }
 
@@ -306,11 +305,11 @@ vdr_i18n() {
        if [[ -n ${I18N_OBJECT} ]]; then
 
                if [[ "${KEEP_I18NOBJECT:-no}" = "yes" ]]; then
-                       eqawarn "QA Notice: Forced to keep i18n.o"
+                       einfo "Notice: Forced to keep i18n.o"
                else
                        sed -i "s:i18n.o::g" Makefile \
                                || die "sed failed to remove i18n from Makefile"
-                       eqawarn "QA Notice: OBJECT i18n.o found, removed per 
sed"
+                       einfo "Notice: OBJECT i18n.o found, removed per sed"
                fi
        fi
 
@@ -318,7 +317,7 @@ vdr_i18n() {
        if [[ -n ${I18N_STRING} ]]; then
                sed -i 
"s:^extern[[:space:]]*const[[:space:]]*tI18nPhrase://static const tI18nPhrase:" 
i18n.h \
                        || die "sed failed to replace tI18nPhrase"
-               eqawarn "QA Notice: obsolete tI18nPhrase found, disabled per 
sed, please recheck"
+               einfo "Notice: obsolete tI18nPhrase found, disabled per sed"
        fi
 }
 
@@ -337,7 +336,7 @@ vdr_remove_i18n_include() {
                || die "sed failed to remove i18n_include"
        done
 
-       eqawarn "QA Notice: removed i18n.h include in ${@}"
+       einfo "Notice: removed i18n.h include in ${@}"
 }
 
 # @FUNCTION: vdr-plugin-2_print_enable_command
@@ -568,7 +567,7 @@ vdr-plugin-2_src_install() {
                DESTDIR="${D%/}" \
                || die "emake install (makefile target) failed"
        else
-               eqawarn "QA Notice: Plugin use still the old Makefile handling"
+               einfo "Notice: Plugin use still the old Makefile handling"
                insinto "${VDR_PLUGIN_DIR}"
                doins libvdr-*.so.*
        fi

Reply via email to