mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 09:07:26 -08:00
*/*: 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:
parent
5b3e6ae05a
commit
ad4f6c00fb
@ -40,7 +40,7 @@ src_configure() {
|
||||
append-cppflags -DCONFIG_DIR='"\"/etc/tripwire\""'
|
||||
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
|
||||
append-cxxflags -std=c++14
|
||||
|
||||
|
||||
@ -46,7 +46,7 @@ src_prepare() {
|
||||
}
|
||||
|
||||
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
|
||||
|
||||
# We don't enable any of the telnet/ftp authentication stuff
|
||||
|
||||
@ -44,7 +44,7 @@ src_prepare() {
|
||||
}
|
||||
|
||||
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
|
||||
|
||||
# We don't enable any of the telnet/ftp authentication stuff
|
||||
|
||||
@ -65,7 +65,7 @@ src_configure() {
|
||||
# instead, and compiles the .cpp file again.
|
||||
append-ldflags -Wl,--export-dynamic
|
||||
|
||||
# > warning: ‘-pipe’ ignored because ‘-save-temps’ specified
|
||||
# > warning: '-pipe' ignored because '-save-temps' specified
|
||||
filter-flags -pipe
|
||||
|
||||
# cpp-httplib >=0.16.0 changed the library name from "httplib" to "cpp-httplib".
|
||||
|
||||
@ -61,7 +61,7 @@ src_configure() {
|
||||
# instead, and compiles the .cpp file again.
|
||||
append-ldflags -Wl,--export-dynamic
|
||||
|
||||
# > warning: ‘-pipe’ ignored because ‘-save-temps’ specified
|
||||
# > warning: '-pipe' ignored because '-save-temps' specified
|
||||
filter-flags -pipe
|
||||
|
||||
# cpp-httplib >=0.16.0 changed the library name from "httplib" to "cpp-httplib".
|
||||
|
||||
@ -80,7 +80,7 @@ src_test() {
|
||||
initdb "${postgres_dir}" || die
|
||||
|
||||
local port=11123
|
||||
# -h '' → only socket connections allowed.
|
||||
# -h '' --> only socket connections allowed.
|
||||
postgres -D "${postgres_dir}" \
|
||||
-k "${postgres_dir}" \
|
||||
-p "${port}" &
|
||||
|
||||
@ -80,7 +80,7 @@ src_test() {
|
||||
initdb "${postgres_dir}" || die
|
||||
|
||||
local port=11123
|
||||
# -h '' → only socket connections allowed.
|
||||
# -h '' --> only socket connections allowed.
|
||||
postgres -D "${postgres_dir}" \
|
||||
-k "${postgres_dir}" \
|
||||
-p "${port}" &
|
||||
|
||||
@ -79,7 +79,7 @@ src_test() {
|
||||
initdb "${postgres_dir}" || die
|
||||
|
||||
local port=11123
|
||||
# -h '' → only socket connections allowed.
|
||||
# -h '' --> only socket connections allowed.
|
||||
postgres -D "${postgres_dir}" \
|
||||
-k "${postgres_dir}" \
|
||||
-p "${port}" &
|
||||
|
||||
@ -13,9 +13,9 @@ HOMEPAGE="https://www.giuspen.com/cherrytree/"
|
||||
SRC_URI="https://github.com/giuspen/${PN}/releases/download/v${PV}/${P/-/_}.tar.xz"
|
||||
S="${WORKDIR}"/${P/-/_}
|
||||
|
||||
# GPL-3 — future/src/ct (CherryTree)
|
||||
# LGPL-2.1 — future/src/7za (7zip)
|
||||
# MIT — future/src/fmt (libfmt)
|
||||
# GPL-3 - future/src/ct (CherryTree)
|
||||
# LGPL-2.1 - future/src/7za (7zip)
|
||||
# MIT - future/src/fmt (libfmt)
|
||||
LICENSE="GPL-3 LGPL-2.1 MIT"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
@ -13,9 +13,9 @@ HOMEPAGE="https://www.giuspen.com/cherrytree/"
|
||||
SRC_URI="https://github.com/giuspen/${PN}/releases/download/v${PV}/${P/-/_}.tar.xz"
|
||||
S="${WORKDIR}"/${P/-/_}
|
||||
|
||||
# GPL-3 — future/src/ct (CherryTree)
|
||||
# LGPL-2.1 — future/src/7za (7zip)
|
||||
# MIT — future/src/fmt (libfmt)
|
||||
# GPL-3 - future/src/ct (CherryTree)
|
||||
# LGPL-2.1 - future/src/7za (7zip)
|
||||
# MIT - future/src/fmt (libfmt)
|
||||
LICENSE="GPL-3 LGPL-2.1 MIT"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
@ -13,9 +13,9 @@ HOMEPAGE="https://www.giuspen.com/cherrytree/"
|
||||
SRC_URI="https://github.com/giuspen/${PN}/releases/download/v${PV}/${P/-/_}.tar.xz"
|
||||
S="${WORKDIR}"/${P/-/_}
|
||||
|
||||
# GPL-3 — future/src/ct (CherryTree)
|
||||
# LGPL-2.1 — future/src/7za (7zip)
|
||||
# MIT — future/src/fmt (libfmt)
|
||||
# GPL-3 - future/src/ct (CherryTree)
|
||||
# LGPL-2.1 - future/src/7za (7zip)
|
||||
# MIT - future/src/fmt (libfmt)
|
||||
LICENSE="GPL-3 LGPL-2.1 MIT"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
@ -22,9 +22,9 @@ PATCHES=(
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# for QA, we remove the Makefile’s usage of install -s.
|
||||
# for QA, we remove the Makefile's usage of install -s.
|
||||
# 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).
|
||||
sed -i \
|
||||
-e '/INSTALL_PROGRAM/s,\$_strip ,,' \
|
||||
|
||||
@ -18,9 +18,9 @@ RESTRICT="!test? ( test )"
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# for QA, we remove the Makefile’s usage of install -s.
|
||||
# for QA, we remove the Makefile's usage of install -s.
|
||||
# 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).
|
||||
sed -i \
|
||||
-e '/INSTALL_PROGRAM/s,\$_strip ,,' \
|
||||
|
||||
@ -18,9 +18,9 @@ RESTRICT="!test? ( test )"
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# for QA, we remove the Makefile’s usage of install -s.
|
||||
# for QA, we remove the Makefile's usage of install -s.
|
||||
# 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).
|
||||
sed -i \
|
||||
-e '/INSTALL_PROGRAM/s,\$_strip ,,' \
|
||||
|
||||
@ -55,8 +55,8 @@ src_prepare() {
|
||||
|
||||
# Cabal bootstraps with 'ghc --make' without package cleanup in environment.
|
||||
# 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
|
||||
# - 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
|
||||
# - 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
|
||||
HCFLAGS="${HCFLAGS} -ignore-package=pulseaudio"
|
||||
HCFLAGS="${HCFLAGS} -ignore-package=kinds"
|
||||
}
|
||||
|
||||
@ -16,7 +16,7 @@ LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
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?]
|
||||
>=dev-lang/ghc-8.4.3:=
|
||||
|
||||
@ -17,7 +17,7 @@ SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
||||
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?]
|
||||
>=dev-lang/ghc-7.4.1:= <dev-lang/ghc-9.1
|
||||
|
||||
@ -66,7 +66,7 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# error: unknown register name ‘%edx’ in ‘asm’
|
||||
# error: unknown register name '%edx' in 'asm'
|
||||
# https://bugs.gentoo.org/895464
|
||||
# https://github.com/confluentinc/librdkafka/issues/2426
|
||||
filter-lto
|
||||
|
||||
@ -64,7 +64,7 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# error: unknown register name ‘%edx’ in ‘asm’
|
||||
# error: unknown register name '%edx' in 'asm'
|
||||
# https://bugs.gentoo.org/895464
|
||||
# https://github.com/confluentinc/librdkafka/issues/2426
|
||||
filter-lto
|
||||
|
||||
@ -64,7 +64,7 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# error: unknown register name ‘%edx’ in ‘asm’
|
||||
# error: unknown register name '%edx' in 'asm'
|
||||
# https://bugs.gentoo.org/895464
|
||||
# https://github.com/confluentinc/librdkafka/issues/2426
|
||||
filter-lto
|
||||
|
||||
@ -36,7 +36,7 @@ all_ruby_prepare() {
|
||||
# the extension as we'd be unable to run it properly otherwise.
|
||||
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
|
||||
}
|
||||
|
||||
|
||||
@ -105,7 +105,7 @@ src_configure() {
|
||||
$(use_enable enchant spellcheck)
|
||||
$(use_enable webhelper)
|
||||
$(use_enable workbench)
|
||||
# GeanyGenDoc requires ctpl which isn’t yet in portage
|
||||
# GeanyGenDoc requires ctpl which isn't yet in portage
|
||||
--disable-geanygendoc
|
||||
# Require libsoup-2.4 which conflicts with webkit2gtk-4.1
|
||||
--disable-geniuspaste
|
||||
|
||||
@ -114,7 +114,7 @@ src_configure() {
|
||||
$(use_enable enchant spellcheck)
|
||||
$(use_enable webhelper)
|
||||
$(use_enable workbench)
|
||||
# GeanyGenDoc requires ctpl which isn’t yet in portage
|
||||
# GeanyGenDoc requires ctpl which isn't yet in portage
|
||||
--disable-geanygendoc
|
||||
# Require libsoup-2.4 which conflicts with webkit2gtk-4.1
|
||||
--disable-geniuspaste
|
||||
|
||||
@ -34,7 +34,7 @@ RDEPEND="${DEPEND}
|
||||
dev-debug/gdb
|
||||
"
|
||||
|
||||
# SASM repository contains precompiled binaries ¯\_(ツ)_/¯
|
||||
# SASM repository contains precompiled binaries
|
||||
QA_PREBUILT="usr/bin/fasm usr/bin/listing"
|
||||
|
||||
src_prepare() {
|
||||
|
||||
@ -111,7 +111,7 @@ src_prepare() {
|
||||
|
||||
python_fix_shebang \
|
||||
examples/*.py \
|
||||
test/{test_python,barcodetest}.py # test_pygtk.py — py2 only
|
||||
test/{test_python,barcodetest}.py # test_pygtk.py - py2 only
|
||||
fi
|
||||
|
||||
if use java; then
|
||||
|
||||
@ -60,7 +60,7 @@ src_configure() {
|
||||
# ODR violations bug #940324
|
||||
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
|
||||
|
||||
# And defer to the scripts that upstream provide.
|
||||
|
||||
@ -60,7 +60,7 @@ src_configure() {
|
||||
# ODR violations bug #940324
|
||||
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
|
||||
|
||||
# And defer to the scripts that upstream provide.
|
||||
|
||||
@ -53,7 +53,7 @@ src_configure() {
|
||||
local _cpu=generic_fpu
|
||||
|
||||
# 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-lfs-flags
|
||||
|
||||
@ -53,7 +53,7 @@ src_configure() {
|
||||
local _cpu=generic_fpu
|
||||
|
||||
# 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-lfs-flags
|
||||
|
||||
@ -46,7 +46,7 @@ multilib_src_configure() {
|
||||
local _cpu=generic_fpu
|
||||
|
||||
# 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
|
||||
|
||||
filter-lto # bug #951124
|
||||
|
||||
@ -46,7 +46,7 @@ multilib_src_configure() {
|
||||
local _cpu=generic_fpu
|
||||
|
||||
# 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
|
||||
|
||||
filter-lto # bug #951124
|
||||
|
||||
@ -46,7 +46,7 @@ multilib_src_configure() {
|
||||
local _cpu=generic_fpu
|
||||
|
||||
# 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-lfs-flags
|
||||
|
||||
@ -48,8 +48,8 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# netlib.c:2292:5: warning: implicit declaration of function ‘sched_setaffinity’
|
||||
# nettest_omni.c:2943:5: warning: implicit declaration of function ‘splice’
|
||||
# netlib.c:2292:5: warning: implicit declaration of function 'sched_setaffinity'
|
||||
# nettest_omni.c:2943:5: warning: implicit declaration of function 'splice'
|
||||
# TODO: drop once https://github.com/HewlettPackard/netperf/pull/73 merged
|
||||
append-cppflags -D_GNU_SOURCE
|
||||
|
||||
|
||||
@ -49,8 +49,8 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# netlib.c:2292:5: warning: implicit declaration of function ‘sched_setaffinity’
|
||||
# nettest_omni.c:2943:5: warning: implicit declaration of function ‘splice’
|
||||
# netlib.c:2292:5: warning: implicit declaration of function 'sched_setaffinity'
|
||||
# nettest_omni.c:2943:5: warning: implicit declaration of function 'splice'
|
||||
# TODO: drop once https://github.com/HewlettPackard/netperf/pull/73 merged
|
||||
append-cppflags -D_GNU_SOURCE
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@ LICENSE="AGPL-3+"
|
||||
SLOT="0"
|
||||
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:=
|
||||
>=dev-haskell/dns-2:=
|
||||
|
||||
@ -237,7 +237,7 @@ src_install() {
|
||||
|
||||
# Let us move the bin directory out of the way to avoid potential
|
||||
# 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"
|
||||
|
||||
# Move the cmake directory to the right location:
|
||||
|
||||
@ -228,7 +228,7 @@ src_install() {
|
||||
|
||||
# Let us move the bin directory out of the way to avoid potential
|
||||
# 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"
|
||||
|
||||
# Move the cmake directory to the right location:
|
||||
|
||||
@ -70,7 +70,7 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# error: ‘hepevt_’ violates the C++ One Definition Rule [-Werror=odr]
|
||||
# error: 'hepevt_' violates the C++ One Definition Rule [-Werror=odr]
|
||||
# Bug 863284
|
||||
filter-lto
|
||||
# use MeV over GeV and mm over cm
|
||||
|
||||
@ -76,7 +76,7 @@ multilib_src_configure() {
|
||||
append-cflags $(test-flags-CC -std=gnu17)
|
||||
|
||||
# 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
|
||||
|
||||
# emacs support disabled due to bug #99533, bug #335900
|
||||
|
||||
@ -43,7 +43,7 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# "WordDBPage.h:309:76: error: reference to ‘byte’ is ambiguous"
|
||||
# "WordDBPage.h:309:76: error: reference to 'byte' is ambiguous"
|
||||
# bug #787716
|
||||
append-cxxflags -std=c++14
|
||||
|
||||
|
||||
@ -84,7 +84,7 @@ python_test() {
|
||||
# mypy stuff
|
||||
test/test_check.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?
|
||||
'test/backend/x11/test_window.py::test_urgent_hook_fire[wayland-2]'
|
||||
# TODO
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user