*/*: convert to ASCII various comments

While not required, it is a good idea to convert comments to ASCII
to avoid issues with some tools that may not handle Unicode properly.
This commit converts various comments in the ebuilds to ASCII where
it makes sense.

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin 2025-05-18 20:43:41 +03:00
parent 5b3e6ae05a
commit ad4f6c00fb
No known key found for this signature in database
GPG Key ID: 02A0AF503D120504
41 changed files with 53 additions and 53 deletions

View File

@ -40,7 +40,7 @@ src_configure() {
append-cppflags -DCONFIG_DIR='"\"/etc/tripwire\""' append-cppflags -DCONFIG_DIR='"\"/etc/tripwire\""'
append-flags -fno-strict-aliasing append-flags -fno-strict-aliasing
# "integer.cpp:1162:24: error: reference to byte is ambiguous" # "integer.cpp:1162:24: error: reference to 'byte' is ambiguous"
# bug #786465 # bug #786465
append-cxxflags -std=c++14 append-cxxflags -std=c++14

View File

@ -46,7 +46,7 @@ src_prepare() {
} }
src_compile() { src_compile() {
# "ckcfn3.c:224:16: error: type of sndfilter does not match original declaration" # "ckcfn3.c:224:16: error: type of 'sndfilter' does not match original declaration"
filter-lto filter-lto
# We don't enable any of the telnet/ftp authentication stuff # We don't enable any of the telnet/ftp authentication stuff

View File

@ -44,7 +44,7 @@ src_prepare() {
} }
src_compile() { src_compile() {
# "ckcfn3.c:224:16: error: type of sndfilter does not match original declaration" # "ckcfn3.c:224:16: error: type of 'sndfilter' does not match original declaration"
filter-lto filter-lto
# We don't enable any of the telnet/ftp authentication stuff # We don't enable any of the telnet/ftp authentication stuff

View File

@ -65,7 +65,7 @@ src_configure() {
# instead, and compiles the .cpp file again. # instead, and compiles the .cpp file again.
append-ldflags -Wl,--export-dynamic append-ldflags -Wl,--export-dynamic
# > warning: -pipe ignored because -save-temps specified # > warning: '-pipe' ignored because '-save-temps' specified
filter-flags -pipe filter-flags -pipe
# cpp-httplib >=0.16.0 changed the library name from "httplib" to "cpp-httplib". # cpp-httplib >=0.16.0 changed the library name from "httplib" to "cpp-httplib".

View File

@ -61,7 +61,7 @@ src_configure() {
# instead, and compiles the .cpp file again. # instead, and compiles the .cpp file again.
append-ldflags -Wl,--export-dynamic append-ldflags -Wl,--export-dynamic
# > warning: -pipe ignored because -save-temps specified # > warning: '-pipe' ignored because '-save-temps' specified
filter-flags -pipe filter-flags -pipe
# cpp-httplib >=0.16.0 changed the library name from "httplib" to "cpp-httplib". # cpp-httplib >=0.16.0 changed the library name from "httplib" to "cpp-httplib".

View File

@ -80,7 +80,7 @@ src_test() {
initdb "${postgres_dir}" || die initdb "${postgres_dir}" || die
local port=11123 local port=11123
# -h '' only socket connections allowed. # -h '' --> only socket connections allowed.
postgres -D "${postgres_dir}" \ postgres -D "${postgres_dir}" \
-k "${postgres_dir}" \ -k "${postgres_dir}" \
-p "${port}" & -p "${port}" &

View File

@ -80,7 +80,7 @@ src_test() {
initdb "${postgres_dir}" || die initdb "${postgres_dir}" || die
local port=11123 local port=11123
# -h '' only socket connections allowed. # -h '' --> only socket connections allowed.
postgres -D "${postgres_dir}" \ postgres -D "${postgres_dir}" \
-k "${postgres_dir}" \ -k "${postgres_dir}" \
-p "${port}" & -p "${port}" &

View File

@ -79,7 +79,7 @@ src_test() {
initdb "${postgres_dir}" || die initdb "${postgres_dir}" || die
local port=11123 local port=11123
# -h '' only socket connections allowed. # -h '' --> only socket connections allowed.
postgres -D "${postgres_dir}" \ postgres -D "${postgres_dir}" \
-k "${postgres_dir}" \ -k "${postgres_dir}" \
-p "${port}" & -p "${port}" &

View File

@ -13,9 +13,9 @@ HOMEPAGE="https://www.giuspen.com/cherrytree/"
SRC_URI="https://github.com/giuspen/${PN}/releases/download/v${PV}/${P/-/_}.tar.xz" SRC_URI="https://github.com/giuspen/${PN}/releases/download/v${PV}/${P/-/_}.tar.xz"
S="${WORKDIR}"/${P/-/_} S="${WORKDIR}"/${P/-/_}
# GPL-3 future/src/ct (CherryTree) # GPL-3 - future/src/ct (CherryTree)
# LGPL-2.1 future/src/7za (7zip) # LGPL-2.1 - future/src/7za (7zip)
# MIT future/src/fmt (libfmt) # MIT - future/src/fmt (libfmt)
LICENSE="GPL-3 LGPL-2.1 MIT" LICENSE="GPL-3 LGPL-2.1 MIT"
SLOT="0" SLOT="0"

View File

@ -13,9 +13,9 @@ HOMEPAGE="https://www.giuspen.com/cherrytree/"
SRC_URI="https://github.com/giuspen/${PN}/releases/download/v${PV}/${P/-/_}.tar.xz" SRC_URI="https://github.com/giuspen/${PN}/releases/download/v${PV}/${P/-/_}.tar.xz"
S="${WORKDIR}"/${P/-/_} S="${WORKDIR}"/${P/-/_}
# GPL-3 future/src/ct (CherryTree) # GPL-3 - future/src/ct (CherryTree)
# LGPL-2.1 future/src/7za (7zip) # LGPL-2.1 - future/src/7za (7zip)
# MIT future/src/fmt (libfmt) # MIT - future/src/fmt (libfmt)
LICENSE="GPL-3 LGPL-2.1 MIT" LICENSE="GPL-3 LGPL-2.1 MIT"
SLOT="0" SLOT="0"

View File

@ -13,9 +13,9 @@ HOMEPAGE="https://www.giuspen.com/cherrytree/"
SRC_URI="https://github.com/giuspen/${PN}/releases/download/v${PV}/${P/-/_}.tar.xz" SRC_URI="https://github.com/giuspen/${PN}/releases/download/v${PV}/${P/-/_}.tar.xz"
S="${WORKDIR}"/${P/-/_} S="${WORKDIR}"/${P/-/_}
# GPL-3 future/src/ct (CherryTree) # GPL-3 - future/src/ct (CherryTree)
# LGPL-2.1 future/src/7za (7zip) # LGPL-2.1 - future/src/7za (7zip)
# MIT future/src/fmt (libfmt) # MIT - future/src/fmt (libfmt)
LICENSE="GPL-3 LGPL-2.1 MIT" LICENSE="GPL-3 LGPL-2.1 MIT"
SLOT="0" SLOT="0"

View File

@ -22,9 +22,9 @@ PATCHES=(
src_prepare() { src_prepare() {
default default
# for QA, we remove the Makefiles usage of install -s. # for QA, we remove the Makefile's usage of install -s.
# Drop ldconfig invocation. # Drop ldconfig invocation.
# Force “librarian.sh” to respect LDFLAGS ($FLAGS should have CFLAGS # Force "librarian.sh" to respect LDFLAGS ($FLAGS should have CFLAGS
# at that point). # at that point).
sed -i \ sed -i \
-e '/INSTALL_PROGRAM/s,\$_strip ,,' \ -e '/INSTALL_PROGRAM/s,\$_strip ,,' \

View File

@ -18,9 +18,9 @@ RESTRICT="!test? ( test )"
src_prepare() { src_prepare() {
default default
# for QA, we remove the Makefiles usage of install -s. # for QA, we remove the Makefile's usage of install -s.
# Drop ldconfig invocation. # Drop ldconfig invocation.
# Force “librarian.sh” to respect LDFLAGS ($FLAGS should have CFLAGS # Force "librarian.sh" to respect LDFLAGS ($FLAGS should have CFLAGS
# at that point). # at that point).
sed -i \ sed -i \
-e '/INSTALL_PROGRAM/s,\$_strip ,,' \ -e '/INSTALL_PROGRAM/s,\$_strip ,,' \

View File

@ -18,9 +18,9 @@ RESTRICT="!test? ( test )"
src_prepare() { src_prepare() {
default default
# for QA, we remove the Makefiles usage of install -s. # for QA, we remove the Makefile's usage of install -s.
# Drop ldconfig invocation. # Drop ldconfig invocation.
# Force “librarian.sh” to respect LDFLAGS ($FLAGS should have CFLAGS # Force "librarian.sh" to respect LDFLAGS ($FLAGS should have CFLAGS
# at that point). # at that point).
sed -i \ sed -i \
-e '/INSTALL_PROGRAM/s,\$_strip ,,' \ -e '/INSTALL_PROGRAM/s,\$_strip ,,' \

View File

@ -55,8 +55,8 @@ src_prepare() {
# Cabal bootstraps with 'ghc --make' without package cleanup in environment. # Cabal bootstraps with 'ghc --make' without package cleanup in environment.
# That causes module collisions at build: # That causes module collisions at build:
# - pulseaudio: Distribution/Utils/Structured.hs:98:1: error: Ambiguous module name Data.Time: it was found in multiple packages: pulseaudio-0.0.2.1 time-1.9.3 # - pulseaudio: Distribution/Utils/Structured.hs:98:1: error: Ambiguous module name 'Data.Time': it was found in multiple packages: pulseaudio-0.0.2.1 time-1.9.3
# - kinds: Distribution/Utils/Structured.hs:106:1: error: Ambiguous module name Data.Kind: it was found in multiple packages: base-4.14.1.0 kinds-0.0.1.5 # - kinds: Distribution/Utils/Structured.hs:106:1: error: Ambiguous module name 'Data.Kind': it was found in multiple packages: base-4.14.1.0 kinds-0.0.1.5
HCFLAGS="${HCFLAGS} -ignore-package=pulseaudio" HCFLAGS="${HCFLAGS} -ignore-package=pulseaudio"
HCFLAGS="${HCFLAGS} -ignore-package=kinds" HCFLAGS="${HCFLAGS} -ignore-package=kinds"
} }

View File

@ -16,7 +16,7 @@ LICENSE="BSD"
SLOT="0/${PV}" SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
RESTRICT=test # Ambiguous module name Data.Time: it was found in multiple packages: pulseaudio-0.0.2.1 time-1.8.0.2 RESTRICT=test # Ambiguous module name 'Data.Time': it was found in multiple packages: pulseaudio-0.0.2.1 time-1.8.0.2
RDEPEND="dev-haskell/attoparsec:=[profile?] RDEPEND="dev-haskell/attoparsec:=[profile?]
>=dev-lang/ghc-8.4.3:= >=dev-lang/ghc-8.4.3:=

View File

@ -17,7 +17,7 @@ SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
IUSE="" IUSE=""
RESTRICT=test # Ambiguous module name Data.Time: it was found in multiple packages: pulseaudio-0.0.2.1 time-1.8.0.2 RESTRICT=test # Ambiguous module name 'Data.Time': it was found in multiple packages: pulseaudio-0.0.2.1 time-1.8.0.2
RDEPEND="dev-haskell/attoparsec:=[profile?] RDEPEND="dev-haskell/attoparsec:=[profile?]
>=dev-lang/ghc-7.4.1:= <dev-lang/ghc-9.1 >=dev-lang/ghc-7.4.1:= <dev-lang/ghc-9.1

View File

@ -66,7 +66,7 @@ src_prepare() {
} }
src_configure() { src_configure() {
# error: unknown register name %edx in asm # error: unknown register name '%edx' in 'asm'
# https://bugs.gentoo.org/895464 # https://bugs.gentoo.org/895464
# https://github.com/confluentinc/librdkafka/issues/2426 # https://github.com/confluentinc/librdkafka/issues/2426
filter-lto filter-lto

View File

@ -64,7 +64,7 @@ src_prepare() {
} }
src_configure() { src_configure() {
# error: unknown register name %edx in asm # error: unknown register name '%edx' in 'asm'
# https://bugs.gentoo.org/895464 # https://bugs.gentoo.org/895464
# https://github.com/confluentinc/librdkafka/issues/2426 # https://github.com/confluentinc/librdkafka/issues/2426
filter-lto filter-lto

View File

@ -64,7 +64,7 @@ src_prepare() {
} }
src_configure() { src_configure() {
# error: unknown register name %edx in asm # error: unknown register name '%edx' in 'asm'
# https://bugs.gentoo.org/895464 # https://bugs.gentoo.org/895464
# https://github.com/confluentinc/librdkafka/issues/2426 # https://github.com/confluentinc/librdkafka/issues/2426
filter-lto filter-lto

View File

@ -36,7 +36,7 @@ all_ruby_prepare() {
# the extension as we'd be unable to run it properly otherwise. # the extension as we'd be unable to run it properly otherwise.
sed -i -e 's:\./odbc:odbc:' test/{,utf8/}test.rb || die sed -i -e 's:\./odbc:odbc:' test/{,utf8/}test.rb || die
# Since lib should not get installed avoid it entirely # Since lib should not get installed avoid it entirely...
mv lib contrib || die mv lib contrib || die
} }

View File

@ -105,7 +105,7 @@ src_configure() {
$(use_enable enchant spellcheck) $(use_enable enchant spellcheck)
$(use_enable webhelper) $(use_enable webhelper)
$(use_enable workbench) $(use_enable workbench)
# GeanyGenDoc requires ctpl which isnt yet in portage # GeanyGenDoc requires ctpl which isn't yet in portage
--disable-geanygendoc --disable-geanygendoc
# Require libsoup-2.4 which conflicts with webkit2gtk-4.1 # Require libsoup-2.4 which conflicts with webkit2gtk-4.1
--disable-geniuspaste --disable-geniuspaste

View File

@ -114,7 +114,7 @@ src_configure() {
$(use_enable enchant spellcheck) $(use_enable enchant spellcheck)
$(use_enable webhelper) $(use_enable webhelper)
$(use_enable workbench) $(use_enable workbench)
# GeanyGenDoc requires ctpl which isnt yet in portage # GeanyGenDoc requires ctpl which isn't yet in portage
--disable-geanygendoc --disable-geanygendoc
# Require libsoup-2.4 which conflicts with webkit2gtk-4.1 # Require libsoup-2.4 which conflicts with webkit2gtk-4.1
--disable-geniuspaste --disable-geniuspaste

View File

@ -34,7 +34,7 @@ RDEPEND="${DEPEND}
dev-debug/gdb dev-debug/gdb
" "
# SASM repository contains precompiled binaries ¯\_(ツ)_/¯ # SASM repository contains precompiled binaries
QA_PREBUILT="usr/bin/fasm usr/bin/listing" QA_PREBUILT="usr/bin/fasm usr/bin/listing"
src_prepare() { src_prepare() {

View File

@ -111,7 +111,7 @@ src_prepare() {
python_fix_shebang \ python_fix_shebang \
examples/*.py \ examples/*.py \
test/{test_python,barcodetest}.py # test_pygtk.py py2 only test/{test_python,barcodetest}.py # test_pygtk.py - py2 only
fi fi
if use java; then if use java; then

View File

@ -60,7 +60,7 @@ src_configure() {
# ODR violations bug #940324 # ODR violations bug #940324
filter-lto filter-lto
# BasicTaskScheduler.cpp:191:40: error: struct std::atomic_flag has no member named test # BasicTaskScheduler.cpp:191:40: error: 'struct std::atomic_flag' has no member named 'test'
append-cxxflags -std=c++20 append-cxxflags -std=c++20
# And defer to the scripts that upstream provide. # And defer to the scripts that upstream provide.

View File

@ -60,7 +60,7 @@ src_configure() {
# ODR violations bug #940324 # ODR violations bug #940324
filter-lto filter-lto
# BasicTaskScheduler.cpp:191:40: error: struct std::atomic_flag has no member named test # BasicTaskScheduler.cpp:191:40: error: 'struct std::atomic_flag' has no member named 'test'
append-cxxflags -std=c++20 append-cxxflags -std=c++20
# And defer to the scripts that upstream provide. # And defer to the scripts that upstream provide.

View File

@ -53,7 +53,7 @@ src_configure() {
local _cpu=generic_fpu local _cpu=generic_fpu
# Build fails without -D_GNU_SOURCE like this: # Build fails without -D_GNU_SOURCE like this:
# error: struct hostent has no member named h_addr # error: 'struct hostent' has no member named 'h_addr'
append-cflags -D_GNU_SOURCE append-cflags -D_GNU_SOURCE
append-lfs-flags append-lfs-flags

View File

@ -53,7 +53,7 @@ src_configure() {
local _cpu=generic_fpu local _cpu=generic_fpu
# Build fails without -D_GNU_SOURCE like this: # Build fails without -D_GNU_SOURCE like this:
# error: struct hostent has no member named h_addr # error: 'struct hostent' has no member named 'h_addr'
append-cflags -D_GNU_SOURCE append-cflags -D_GNU_SOURCE
append-lfs-flags append-lfs-flags

View File

@ -46,7 +46,7 @@ multilib_src_configure() {
local _cpu=generic_fpu local _cpu=generic_fpu
# Build fails without -D_GNU_SOURCE like this: # Build fails without -D_GNU_SOURCE like this:
# error: struct hostent has no member named h_addr # error: 'struct hostent' has no member named 'h_addr'
append-cflags -D_GNU_SOURCE append-cflags -D_GNU_SOURCE
filter-lto # bug #951124 filter-lto # bug #951124

View File

@ -46,7 +46,7 @@ multilib_src_configure() {
local _cpu=generic_fpu local _cpu=generic_fpu
# Build fails without -D_GNU_SOURCE like this: # Build fails without -D_GNU_SOURCE like this:
# error: struct hostent has no member named h_addr # error: 'struct hostent' has no member named 'h_addr'
append-cflags -D_GNU_SOURCE append-cflags -D_GNU_SOURCE
filter-lto # bug #951124 filter-lto # bug #951124

View File

@ -46,7 +46,7 @@ multilib_src_configure() {
local _cpu=generic_fpu local _cpu=generic_fpu
# Build fails without -D_GNU_SOURCE like this: # Build fails without -D_GNU_SOURCE like this:
# error: struct hostent has no member named h_addr # error: 'struct hostent' has no member named 'h_addr'
append-cflags -D_GNU_SOURCE append-cflags -D_GNU_SOURCE
append-lfs-flags append-lfs-flags

View File

@ -48,8 +48,8 @@ src_prepare() {
} }
src_configure() { src_configure() {
# netlib.c:2292:5: warning: implicit declaration of function sched_setaffinity # netlib.c:2292:5: warning: implicit declaration of function 'sched_setaffinity'
# nettest_omni.c:2943:5: warning: implicit declaration of function splice # nettest_omni.c:2943:5: warning: implicit declaration of function 'splice'
# TODO: drop once https://github.com/HewlettPackard/netperf/pull/73 merged # TODO: drop once https://github.com/HewlettPackard/netperf/pull/73 merged
append-cppflags -D_GNU_SOURCE append-cppflags -D_GNU_SOURCE

View File

@ -49,8 +49,8 @@ src_prepare() {
} }
src_configure() { src_configure() {
# netlib.c:2292:5: warning: implicit declaration of function sched_setaffinity # netlib.c:2292:5: warning: implicit declaration of function 'sched_setaffinity'
# nettest_omni.c:2943:5: warning: implicit declaration of function splice # nettest_omni.c:2943:5: warning: implicit declaration of function 'splice'
# TODO: drop once https://github.com/HewlettPackard/netperf/pull/73 merged # TODO: drop once https://github.com/HewlettPackard/netperf/pull/73 merged
append-cppflags -D_GNU_SOURCE append-cppflags -D_GNU_SOURCE

View File

@ -14,7 +14,7 @@ LICENSE="AGPL-3+"
SLOT="0" SLOT="0"
KEYWORDS="~amd64" KEYWORDS="~amd64"
RESTRICT=test # Ambiguous module name Network.DNS: dns-4.0.1 resolv-0.1.2.0 RESTRICT=test # Ambiguous module name 'Network.DNS': dns-4.0.1 resolv-0.1.2.0
RDEPEND=">=dev-haskell/cmdargs-0.10:= RDEPEND=">=dev-haskell/cmdargs-0.10:=
>=dev-haskell/dns-2:= >=dev-haskell/dns-2:=

View File

@ -237,7 +237,7 @@ src_install() {
# Let us move the bin directory out of the way to avoid potential # Let us move the bin directory out of the way to avoid potential
# clashes due to very generically named binaries such as # clashes due to very generically named binaries such as
# »nvcc_wrapper«, etc. # "nvcc_wrapper", etc.
mv "${ED}"/bin "${ED}/usr/$(get_libdir)"/trilinos || die "mv failed" mv "${ED}"/bin "${ED}/usr/$(get_libdir)"/trilinos || die "mv failed"
# Move the cmake directory to the right location: # Move the cmake directory to the right location:

View File

@ -228,7 +228,7 @@ src_install() {
# Let us move the bin directory out of the way to avoid potential # Let us move the bin directory out of the way to avoid potential
# clashes due to very generically named binaries such as # clashes due to very generically named binaries such as
# »nvcc_wrapper«, etc. # "nvcc_wrapper", etc.
mv "${ED}"/bin "${ED}/usr/$(get_libdir)"/trilinos || die "mv failed" mv "${ED}"/bin "${ED}/usr/$(get_libdir)"/trilinos || die "mv failed"
# Move the cmake directory to the right location: # Move the cmake directory to the right location:

View File

@ -70,7 +70,7 @@ src_prepare() {
} }
src_configure() { src_configure() {
# error: hepevt_ violates the C++ One Definition Rule [-Werror=odr] # error: 'hepevt_' violates the C++ One Definition Rule [-Werror=odr]
# Bug 863284 # Bug 863284
filter-lto filter-lto
# use MeV over GeV and mm over cm # use MeV over GeV and mm over cm

View File

@ -76,7 +76,7 @@ multilib_src_configure() {
append-cflags $(test-flags-CC -std=gnu17) append-cflags $(test-flags-CC -std=gnu17)
# bug #885323 # bug #885323
# src/headers/daemon.h:175:25: error: type of cinfo does not match original declaration [-Werror=lto-type-mismatch] # src/headers/daemon.h:175:25: error: type of 'cinfo' does not match original declaration [-Werror=lto-type-mismatch]
filter-lto filter-lto
# emacs support disabled due to bug #99533, bug #335900 # emacs support disabled due to bug #99533, bug #335900

View File

@ -43,7 +43,7 @@ src_prepare() {
} }
src_configure() { src_configure() {
# "WordDBPage.h:309:76: error: reference to byte is ambiguous" # "WordDBPage.h:309:76: error: reference to 'byte' is ambiguous"
# bug #787716 # bug #787716
append-cxxflags -std=c++14 append-cxxflags -std=c++14

View File

@ -84,7 +84,7 @@ python_test() {
# mypy stuff # mypy stuff
test/test_check.py test/test_check.py
test/migrate/test_check_migrations.py test/migrate/test_check_migrations.py
# TODO: this test clearly requires x11 so why is wayland # TODO: this test clearly requires x11 - so why is wayland
# variant being run? # variant being run?
'test/backend/x11/test_window.py::test_urgent_hook_fire[wayland-2]' 'test/backend/x11/test_window.py::test_urgent_hook_fire[wayland-2]'
# TODO # TODO