Sync with portage [Mon Mar 21 09:57:53 MSK 2022].

akrasnyh 2229
root 2 years ago
parent aedff9811a
commit 25b8385726

Binary file not shown.

Binary file not shown.

@ -1 +1,2 @@
DIST at-spi2-core-2.42.0.tar.xz 198016 BLAKE2B 9b14d7d0f5845c7510f7b256a05f5e30c3d3d893a9ae63eee81b3d378dfa9f6ebaa9853f60b23734929692efc4b8c652d4bd7bd035bd989fe0006975bdbea427 SHA512 befcab94b3aa99471723238d9666fc6667041b058a2bac3b012cfa15a91950996431296f33c921764e0ec4ffd0cc41ebe00be461a8460d6f4d2bafff19a38e10
DIST at-spi2-core-2.44.0.tar.xz 209692 BLAKE2B 149251ba4061f5dbfac1e27775491bb6d7cee279cb7bd58c05f97cdec8a4e0208e5a129651a07c9febea681cc3fe36a7d7fa57c43c2b558249cdd321466729dd SHA512 6d74a56d7ad6c643985e98aebbbf0cdaad69c03b8030f8968bd9cce9357805cd846d71d35d2cc4a193770cd6d4a83cbfb98ef082e17719f3dee7b839c48bda44

@ -0,0 +1,55 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit gnome.org meson-multilib systemd virtualx xdg
DESCRIPTION="D-Bus accessibility specifications and registration daemon"
HOMEPAGE="https://wiki.gnome.org/Accessibility https://gitlab.gnome.org/GNOME/at-spi2-core"
LICENSE="LGPL-2.1+"
SLOT="2"
IUSE="X gtk-doc +introspection"
REQUIRED_USE="gtk-doc? ( X )"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
RDEPEND="
>=sys-apps/dbus-1.5[${MULTILIB_USEDEP}]
>=dev-libs/glib-2.62:2[${MULTILIB_USEDEP}]
introspection? ( >=dev-libs/gobject-introspection-1.54.0:= )
X? (
x11-libs/libX11[${MULTILIB_USEDEP}]
x11-libs/libXtst[${MULTILIB_USEDEP}]
x11-libs/libXi[${MULTILIB_USEDEP}]
)
"
DEPEND="${RDEPEND}"
BDEPEND="
dev-util/glib-utils
gtk-doc? (
>=dev-util/gtk-doc-1.25
app-text/docbook-xml-dtd:4.3
)
>=sys-devel/gettext-0.19.8
virtual/pkgconfig
"
PATCHES=(
# disable teamspaces test since that requires Novell.ICEDesktop.Daemon
"${FILESDIR}/${PN}-2.0.2-disable-teamspaces-test.patch"
)
multilib_src_configure() {
local emesonargs=(
-Dsystemd_user_dir="$(systemd_get_userunitdir)"
$(meson_native_use_bool gtk-doc docs)
-Dintrospection=$(multilib_native_usex introspection)
-Dx11=$(usex X)
)
meson_src_configure
}
multilib_src_test() {
virtx dbus-run-session meson test -C "${BUILD_DIR}"
}

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -19,7 +19,7 @@ PATCHES=(
)
src_compile() {
emake -f Makefile_plain LDLIBS="-lm" CFLAGS="${CFLAGS}" DEFS="" CC=$(tc-getCC)
emake -f Makefile_plain LDLIBS="-lm" CFLAGS="${CFLAGS}" DEFS="" CC="$(tc-getCC)"
}
src_install() {

Binary file not shown.

@ -1,2 +1 @@
DIST ansible-lint-5.3.2.tar.gz 356870 BLAKE2B 4af11f760e30945e066a9d160438bbedd5a4d39799009bc6d30614baab0b88a21cad088c0b758529aaa5fbb54a9f2a1f636ab6d642a37297a27c8ba5240f53ef SHA512 4ff2d36de20b2e6982d0cd1bca6a3f886307701dfa0bf880d2d417387191d90adc9361afb57f8ed26239cbc110e5f05f52a186950d7d3b4b0a8e4406e4695acd
DIST ansible-lint-5.4.0.tar.gz 349353 BLAKE2B 9f41abdf1e9485afa4c8ed9498627b0dcbdcf57916f3b57c9886de8bd806e4e5b34e7e9c2e66b44ac8009a0afcea4d8566900ee8d391eaca61081fa23323c41c SHA512 f1bbbb49eb77991d60b6087646c695a938d328d719bba67707af4ed858de857d383b78490bcf0930cffebd13a0b0abde20269a47e47e4713a37da715a28c5da0

@ -1,48 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
DISTUTILS_USE_SETUPTOOLS=pyproject.toml
inherit distutils-r1 optfeature
DESCRIPTION="Checks ansible playbooks for practices and behaviour that can be improved"
HOMEPAGE="https://github.com/ansible-community/ansible-lint"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~riscv"
# 14 tests fail due to usersandbox denying the executable 'ansible'
# access to $HOME/.ansible. More importantly, some tests (6 as of 5.2.1)
# fail even when run manually with tox.
RESTRICT="test"
RDEPEND="
>=app-admin/ansible-2.10[${PYTHON_USEDEP}]
>=app-admin/ansible-base-2.11.4[${PYTHON_USEDEP}]
>=dev-python/enrich-1.2.6[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
>=dev-python/rich-9.5.1[${PYTHON_USEDEP}]
>=dev-python/ruamel-yaml-0.15.37[${PYTHON_USEDEP}]
dev-python/tenacity[${PYTHON_USEDEP}]
>=dev-python/wcmatch-7.0[${PYTHON_USEDEP}]"
BDEPEND="
>=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}]
>=dev-python/setuptools_scm_git_archive-1.0[${PYTHON_USEDEP}]
test? (
>=dev-python/flaky-3.7.0[${PYTHON_USEDEP}]
>=dev-python/pytest-xdist-2.1.0[${PYTHON_USEDEP}]
>=dev-util/yamllint-1.25.0[${PYTHON_USEDEP}]
)"
distutils_enable_tests --install pytest
pkg_postinst() {
optfeature_header "Consider installing the following optional packages:"
optfeature "letting ${PN} run YAML checks" dev-util/yamllint
}

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -19,11 +19,11 @@ src_configure() {
}
src_compile() {
export CC=$(tc-getCC)
export CC="$(tc-getCC)"
default
}
src_test() {
export CC=$(tc-getCC)
export CC="$(tc-getCC)"
default
}

@ -19,11 +19,11 @@ src_configure() {
}
src_compile() {
export CC=$(tc-getCC)
export CC="$(tc-getCC)"
default
}
src_test() {
export CC=$(tc-getCC)
export CC="$(tc-getCC)"
default
}

@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@ -24,7 +24,7 @@ src_prepare() {
}
src_compile() {
CC=$(tc-getCC) emake all
CC="$(tc-getCC)" emake all
}
src_install() {

@ -1,81 +0,0 @@
https://bugs.gentoo.org/754987
--- a/Makefile.am
+++ b/Makefile.am
@@ -123,31 +123,31 @@
$(NULL)
$(hostnamed_built_sources) : data/org.freedesktop.hostname1.xml
- $(AM_V_GEN)( pushd "$(srcdir)/src" > /dev/null; \
+ $(AM_V_GEN)( cd "$(srcdir)/src" && \
$(GDBUS_CODEGEN) \
--interface-prefix org.freedesktop. \
--c-namespace OpenrcSettingsdHostnamed \
--generate-c-code hostname1-generated \
$(abs_srcdir)/data/org.freedesktop.hostname1.xml; \
- popd > /dev/null )
+ )
$(localed_built_sources) : data/org.freedesktop.locale1.xml
- $(AM_V_GEN)( pushd "$(srcdir)/src" > /dev/null; \
+ $(AM_V_GEN)( cd "$(srcdir)/src" && \
$(GDBUS_CODEGEN) \
--interface-prefix org.freedesktop. \
--c-namespace OpenrcSettingsdLocaled \
--generate-c-code locale1-generated \
$(abs_srcdir)/data/org.freedesktop.locale1.xml; \
- popd > /dev/null )
+ )
$(timedated_built_sources) : data/org.freedesktop.timedate1.xml
- $(AM_V_GEN)( pushd "$(srcdir)/src" > /dev/null; \
+ $(AM_V_GEN)( cd "$(srcdir)/src" && \
$(GDBUS_CODEGEN) \
--interface-prefix org.freedesktop. \
--c-namespace OpenrcSettingsdTimedated \
--generate-c-code timedate1-generated \
$(abs_srcdir)/data/org.freedesktop.timedate1.xml; \
- popd > /dev/null )
+ )
BUILT_SOURCES = \
$(hostnamed_built_sources) \
--- a/Makefile.in
+++ b/Makefile.in
@@ -1315,31 +1315,31 @@
$(do_subst) < $(srcdir)/$< > $(srcdir)/$@
$(hostnamed_built_sources) : data/org.freedesktop.hostname1.xml
- $(AM_V_GEN)( pushd "$(srcdir)/src" > /dev/null; \
+ $(AM_V_GEN)( cd "$(srcdir)/src" && \
$(GDBUS_CODEGEN) \
--interface-prefix org.freedesktop. \
--c-namespace OpenrcSettingsdHostnamed \
--generate-c-code hostname1-generated \
$(abs_srcdir)/data/org.freedesktop.hostname1.xml; \
- popd > /dev/null )
+ )
$(localed_built_sources) : data/org.freedesktop.locale1.xml
- $(AM_V_GEN)( pushd "$(srcdir)/src" > /dev/null; \
+ $(AM_V_GEN)( cd "$(srcdir)/src" && \
$(GDBUS_CODEGEN) \
--interface-prefix org.freedesktop. \
--c-namespace OpenrcSettingsdLocaled \
--generate-c-code locale1-generated \
$(abs_srcdir)/data/org.freedesktop.locale1.xml; \
- popd > /dev/null )
+ )
$(timedated_built_sources) : data/org.freedesktop.timedate1.xml
- $(AM_V_GEN)( pushd "$(srcdir)/src" > /dev/null; \
+ $(AM_V_GEN)( cd "$(srcdir)/src" && \
$(GDBUS_CODEGEN) \
--interface-prefix org.freedesktop. \
--c-namespace OpenrcSettingsdTimedated \
--generate-c-code timedate1-generated \
$(abs_srcdir)/data/org.freedesktop.timedate1.xml; \
- popd > /dev/null )
+ )
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.

@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@ -20,7 +20,7 @@ src_prepare() {
}
src_compile() {
CC=$(tc-getCC) emake $(usex static "${PN}-static" "")
CC="$(tc-getCC)" emake $(usex static "${PN}-static" "")
}
src_install() {

Binary file not shown.

@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@ -19,7 +19,7 @@ S=${WORKDIR}/${PN}
PATCHES=( "${FILESDIR}"/${P}-64bit.patch )
src_compile() {
emake STRIP=true CC=$(tc-getCC)
emake STRIP=true CC="$(tc-getCC)"
}
src_install() {

@ -78,7 +78,7 @@ src_configure() {
}
src_compile() {
emake AR=$(tc-getAR)
emake AR="$(tc-getAR)"
}
src_install() {

@ -78,7 +78,7 @@ src_configure() {
}
src_compile() {
emake AR=$(tc-getAR)
emake AR="$(tc-getAR)"
}
src_install() {

@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -38,5 +38,5 @@ src_prepare() {
}
src_compile() {
emake CC=$(tc-getCC)
emake CC="$(tc-getCC)"
}

@ -60,9 +60,9 @@ multilib_src_configure() {
)
if multilib_is_native_abi ; then
myconf+=(
--enable-bsdcat=$(tc-is-static-only && echo static || echo shared)
--enable-bsdcpio=$(tc-is-static-only && echo static || echo shared)
--enable-bsdtar=$(tc-is-static-only && echo static || echo shared)
--enable-bsdcat="$(tc-is-static-only && echo static || echo shared)"
--enable-bsdcpio="$(tc-is-static-only && echo static || echo shared)"
--enable-bsdtar="$(tc-is-static-only && echo static || echo shared)"
)
else
myconf+=(

@ -60,9 +60,9 @@ multilib_src_configure() {
)
if multilib_is_native_abi ; then
myconf+=(
--enable-bsdcat=$(tc-is-static-only && echo static || echo shared)
--enable-bsdcpio=$(tc-is-static-only && echo static || echo shared)
--enable-bsdtar=$(tc-is-static-only && echo static || echo shared)
--enable-bsdcat="$(tc-is-static-only && echo static || echo shared)"
--enable-bsdcpio="$(tc-is-static-only && echo static || echo shared)"
--enable-bsdtar="$(tc-is-static-only && echo static || echo shared)"
)
else
myconf+=(

Binary file not shown.

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
@ -39,7 +39,7 @@ src_configure() {
}
src_compile() {
emake AR=$(tc-getAR)
emake AR="$(tc-getAR)"
}
src_install() {

Binary file not shown.

@ -1,4 +1 @@
DIST iozone3_471.tar 1853440 BLAKE2B 280c821a439ad1bacbd749278385481678d644a59c14395482c8a088b0578285f389f376fb32ce3c3abde598f50d693fb0c7c9a3d6597765547a71c76d21ea1c SHA512 c61b2b8b5af3dccdb99b26aef8a0a4f2f5f467fc3985ac72ed4bb4fb36e4b7684ca6dbaa5bbc05ae0a4e73852e048e9fd2495eda9313f5abc4e631499d683aec
DIST iozone3_484.tar 1863680 BLAKE2B 72d3d3125aec2dfc504bb00684ef325e85edffe0d6efcd519cd692cfa2b9b792a44c00313dc96eabbbb3ab850a7a440b3ca3d5b955c4f6092b08f92ebe5c332b SHA512 bb1ac0c1724a5d3c20e90c56c0b4a438b4aa50384cddc76f4b77f2c465f052fd3fae9217b77688a2c6caf5e90611123a97ea0cd8074b3678068a90e6dd7857b7
DIST iozone3_487.tar 1873920 BLAKE2B f27edb85ebfd19e55dea239a4e5d595a84981c0249ec57148efdcce90a85a5cbf1e17f319de820a06410c66390ddd38efe1b90b31ed98c3bf979eea6fb25ccc7 SHA512 2f3a9d259ca531e45124e8ad55358706e2f9615f50fbf434e786b832622aa5f673dbed1b2706c6450c200e0af7f7374e40402e0b06ad116d5f2a0704a6156a1a
DIST iozone3_488.tar 1873920 BLAKE2B 60e97d588a273c1af7a8c83ec207593fcf43766f92171774b974aa04a8df690a1a84aae4b448e4a6f9e4e9c7dc3cd98ad327a0ea196779e6dbe3a88326314eaf SHA512 033f9e6e7395fe84ae6f4ae8737544e399ac0f16e82ba95eed2a2d0df52b7efcbe0c9282abc68d3c5b53d859073c74bff2e8c34bc35e1e1cc887ed36ad5d840b

@ -1,73 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
# TODO
# -> linux-arm (32bit) <-
# -> linux-AMD64 (64bit) <-
# -> linux-ia64 (64bit) <-
# -> linux-powerpc (32bit) <-
# -> linux-powerpc64 (64bit) <-
# -> linux-S390 (32bit) <-
# -> linux-S390X (64bit) <-
#
# -> freebsd (32bit) <-
# -> macosx (32bit) <-
# -> netbsd (32bit) <-
# -> openbsd (32bit) <-
# -> openbsd-threads (32bit) <-
#
# ~ia64 ~s390 alpha(?)
inherit toolchain-funcs
DESCRIPTION="Filesystem benchmarking program"
HOMEPAGE="http://www.iozone.org/"
SRC_URI="http://www.iozone.org/src/current/${PN}${PV/./_}.tar"
LICENSE="freedist"
SLOT="0"
KEYWORDS="amd64 arm ~ia64 ppc ppc64 ~sparc x86"
IUSE=""
S=${WORKDIR}/${PN}${PV/./_}
src_prepare() {
default
# Options FIX
sed -i -e "s:CC =.*:CC =$(tc-getCC):g" \
-e "s:-O3:${CFLAGS}:g" src/current/makefile || die
}
src_configure() {
case ${ARCH} in
x86|alpha) PLATFORM="linux";;
arm) PLATFORM="linux-arm";;
ppc) PLATFORM="linux-powerpc";;
ppc64) PLATFORM="linux-powerpc64";;
amd64) PLATFORM="linux-AMD64";;
ia64) PLATFORM="linux-ia64";;
s390) PLATFORM="linux-S390";;
*) PLATFORM="linux-${ARCH}";;
esac
}
src_compile() {
emake -C src/current ${PLATFORM}
}
src_test() {
cd "${T}" || die
"${S}"/src/current/iozone testfile || die "self test failed"
}
src_install() {
dosbin src/current/{iozone,fileop}
dodoc docs/I* docs/Run_rules.doc src/current/Changes.txt
doman docs/iozone.1
cd src/current || die
dodoc Generate_Graphs Gnuplot.txt gengnuplot.sh gnu3d.dem
}

@ -1,76 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
# TODO
# -> linux-arm (32bit) <-
# -> linux-AMD64 (64bit) <-
# -> linux-ia64 (64bit) <-
# -> linux-powerpc (32bit) <-
# -> linux-powerpc64 (64bit) <-
# -> linux-S390 (32bit) <-
# -> linux-S390X (64bit) <-
#
# -> freebsd (32bit) <-
# -> macosx (32bit) <-
# -> netbsd (32bit) <-
# -> openbsd (32bit) <-
# -> openbsd-threads (32bit) <-
#
# ~ia64 ~s390 alpha(?)
inherit toolchain-funcs
DESCRIPTION="Filesystem benchmarking program"
HOMEPAGE="http://www.iozone.org/"
SRC_URI="http://www.iozone.org/src/current/${PN}${PV/./_}.tar"
LICENSE="freedist"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
S=${WORKDIR}/${PN}${PV/./_}
src_prepare() {
default
# Options FIX
sed -i -e "s:CC =.*:CC =$(tc-getCC):g" \
-e "s:-O3:${CFLAGS}:g" src/current/makefile || die
}
src_configure() {
case ${ARCH} in
x86|alpha) PLATFORM="linux";;
arm) PLATFORM="linux-arm";;
ppc) PLATFORM="linux-powerpc";;
ppc64) PLATFORM="linux-powerpc64";;
amd64) PLATFORM="linux-AMD64";;
ia64) PLATFORM="linux-ia64";;
s390) PLATFORM="linux-S390";;
*) PLATFORM="linux-${ARCH}";;
esac
}
src_compile() {
emake -C src/current ${PLATFORM}
}
src_test() {
cd "${T}" || die
"${S}"/src/current/iozone testfile || die "self test failed"
}
src_install() {
dosbin src/current/{iozone,fileop}
# decompress pre-compressed file to make QA check happy
gzip -d docs/Iozone_ps.gz || die
dodoc docs/I* docs/Run_rules.doc src/current/Changes.txt
doman docs/iozone.1
cd src/current || die
dodoc Generate_Graphs Gnuplot.txt gengnuplot.sh gnu3d.dem
}

@ -1,76 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
# TODO
# -> linux-arm (32bit) <-
# -> linux-AMD64 (64bit) <-
# -> linux-ia64 (64bit) <-
# -> linux-powerpc (32bit) <-
# -> linux-powerpc64 (64bit) <-
# -> linux-S390 (32bit) <-
# -> linux-S390X (64bit) <-
#
# -> freebsd (32bit) <-
# -> macosx (32bit) <-
# -> netbsd (32bit) <-
# -> openbsd (32bit) <-
# -> openbsd-threads (32bit) <-
#
# ~ia64 ~s390 alpha(?)
inherit toolchain-funcs
DESCRIPTION="Filesystem benchmarking program"
HOMEPAGE="http://www.iozone.org/"
SRC_URI="http://www.iozone.org/src/current/${PN}${PV/./_}.tar"
LICENSE="freedist"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
S=${WORKDIR}/${PN}${PV/./_}
src_prepare() {
default
# Options FIX
sed -i -e "s:CC =.*:CC =$(tc-getCC):g" \
-e "s:-O3:${CFLAGS}:g" src/current/makefile || die
}
src_configure() {
case ${ARCH} in
x86|alpha) PLATFORM="linux";;
arm) PLATFORM="linux-arm";;
ppc) PLATFORM="linux-powerpc";;
ppc64) PLATFORM="linux-powerpc64";;
amd64) PLATFORM="linux-AMD64";;
ia64) PLATFORM="linux-ia64";;
s390) PLATFORM="linux-S390";;
*) PLATFORM="linux-${ARCH}";;
esac
}
src_compile() {
emake -C src/current ${PLATFORM}
}
src_test() {
cd "${T}" || die
"${S}"/src/current/iozone testfile || die "self test failed"
}
src_install() {
dosbin src/current/{iozone,fileop}
# decompress pre-compressed file to make QA check happy
gzip -d docs/Iozone_ps.gz || die
dodoc docs/I* docs/Run_rules.doc src/current/Changes.txt
doman docs/iozone.1
cd src/current || die
dodoc Generate_Graphs Gnuplot.txt gengnuplot.sh gnu3d.dem
}

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -44,7 +44,7 @@ src_configure() {
# makefile uses $(GCC) in a few places, probably
# by mistake.
export GCC=$(tc-getCC)
export GCC="$(tc-getCC)"
}
src_compile() {

Binary file not shown.

@ -78,8 +78,8 @@ src_prepare() {
# Respect CC/CXX variables.
cd "${S}"/RULES || die
local tcCC=$(tc-getCC)
local tcCXX=$(tc-getCXX)
local tcCC="$(tc-getCC)"
local tcCXX="$(tc-getCXX)"
# fix RISC-V build err, bug 811375
ln -s i586-linux-cc.rul riscv-linux-cc.rul || die
ln -s i586-linux-cc.rul riscv64-linux-cc.rul || die

@ -78,8 +78,8 @@ src_prepare() {
# Respect CC/CXX variables.
cd "${S}"/RULES || die
local tcCC=$(tc-getCC)
local tcCXX=$(tc-getCXX)
local tcCC="$(tc-getCC)"
local tcCXX="$(tc-getCXX)"
# fix RISC-V build err, bug 811375
ln -s i586-linux-cc.rul riscv-linux-cc.rul || die
ln -s i586-linux-cc.rul riscv64-linux-cc.rul || die

@ -71,8 +71,8 @@ src_prepare() {
# Respect CC/CXX variables.
cd "${S}"/RULES || die
local tcCC=$(tc-getCC)
local tcCXX=$(tc-getCXX)
local tcCC="$(tc-getCC)"
local tcCXX="$(tc-getCXX)"
sed -i -e "/cc-config.sh/s|\$(C_ARCH:%64=%) \$(CCOM_DEF)|${tcCC} ${tcCC}|" \
rules1.top || die "sed rules1.top"
sed -i -e "/^CC_COM_DEF=/s|gcc|${tcCC}|" \

Binary file not shown.

@ -1 +1 @@
DIST apptainer-1.0.0.tar.gz 11978144 BLAKE2B ca2444fedbd669e6da1a9bbc7c1561dfa8ddebcf82e14ce3233e7e4bbb743eb4b4289aeb1977afe4871ee3abc453ed61821fc25f5b28a0dbfe708253ec031fd9 SHA512 c772b9286d54b21112dba98b7361fac7e1661616643851dc12f58b2565a51d145806f8e5b5dc635b357526e5d270bea096498dcd6c40635530ec3beced6f582f
DIST apptainer-1.0.1.tar.gz 11977965 BLAKE2B ba0187c82321583825210f418744add120b682af3f14ee6d8071b927cd884b7e58f67f891ccc53c0d7d98bd786a27abcc26b2bafe79ed723a2f4f38a8e1a344b SHA512 273e94a348be2eaf83cf14b4c72a571670a9fa5cd185a90a0f557ba58ea7eb90d3a0f4bdb749673b0009e2291dd994dc715223c38ce82f9fcd6bf142e7692363

@ -1,2 +1,2 @@
DIST cosign-1.5.2-vendor.tar.xz 10097760 BLAKE2B 836dae79dc596193f40826e9c203312f2e9b56d2371d22db6880a49b52e3b37741a0b0adda6ec717ce983e81e964d3ef75d4a3507c8fc03628b4a63e8d071dfb SHA512 a0362652b5b6a41997e125df45d84d5536f23fcb917eb5211d3adc0f90713e3fd8439974cd727d259a3fe8fae5a8b1882ef24685a8293ef0176327468e3f4997
DIST cosign-1.5.2.tar.gz 6597815 BLAKE2B b1dd4c49c1f561f1e449a5884f62731fdefb79c8b4d234a27ab48483a7421d0581e68bf132b88830498e9153fe65a5a5b2b903b63cbfa56892c1db0cef8c2751 SHA512 f52b07410081dec66ab3f12ab2b52690686bcd6144703cb107c42c72d9514a94d227f653ecb9047e2fae8f5e763b6afaf703edd6a0c5b62fe9acb612eed9b43f
DIST cosign-1.6.0-deps.tar.xz 532055072 BLAKE2B c9192d5e4dae37d0f3826bec3a945812776d513af474cf0bcbba33eeda2b5e26f9166e69b3f9f3e3591361dac70a6b49c90e4b087899138bf8f1196db757b346 SHA512 8894eaddd3009f6c50e5e3cc681b8f0e78950d497f8808dee501305a137eed83e3cfd7382a1f171361aba271bd0d0c27dcb3d0d3907d970982e9748e8ba97273
DIST cosign-1.6.0.tar.gz 7069651 BLAKE2B 74ef05aacc19bfb627039bc9b7a7ec981b2ad80e3ef779d2b538369243b1727c51808dd8b45e5514bc1d798fef8f8d07d9fd22c36df11d29c44316d36e77900f SHA512 d812fbb8861ee9ddf117a4f9b6d1e9d90f3ecf1d9f396beef73b381caf30ef73162ac081dcf5e6abe18a21ca16fc8e99b299166543a5d7c72085e0fb821dc712

@ -2,12 +2,13 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
GIT_HASH=4b2c3c0c8ee97f31b9dac3859b40e0a48b8648ee
inherit go-module
DESCRIPTION="container signing utility"
HOMEPAGE="https://sigstore.dev"
SRC_URI="https://github.com/sigstore/cosign/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-vendor.tar.xz"
SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
LICENSE="Apache-2.0"
SLOT="0"
@ -17,14 +18,11 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.5.0-fix-makefile.patch
)
src_prepare() {
default
mv ../vendor . || die
}
RESTRICT="test"
src_compile() {
emake \
GIT_HASH=8ffcd1228c463e1ad26ccce68ae16deeca2960b4 \
GIT_HASH=${GIT_HASH}
GIT_VERSION=v${PV} \
GIT_TREESTATE=clean
}

@ -10,7 +10,7 @@ HOMEPAGE="https://linuxcontainers.org/ https://github.com/lxc/lxc"
SRC_URI="https://linuxcontainers.org/downloads/lxc/${P}.tar.gz
verify-sig? ( https://linuxcontainers.org/downloads/lxc/${P}.tar.gz.asc )"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86"
LICENSE="GPL-2 LGPL-2.1 LGPL-3"
SLOT="0"

@ -12,7 +12,7 @@ SRC_URI="https://linuxcontainers.org/downloads/lxd/${P}.tar.gz
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 ~x86"
IUSE="apparmor ipv6 nls verify-sig"
DEPEND="acct-group/lxd

Binary file not shown.

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -33,7 +33,7 @@ REQUIRED_USE="qt5? ( cxx ) python? ( ${PYTHON_REQUIRED_USE} )"
do_python() {
if use python; then
pushd "lang/python" > /dev/null || die
top_builddir="../.." srcdir="." CPP=$(tc-getCPP) distutils-r1_src_${EBUILD_PHASE}
top_builddir="../.." srcdir="." CPP="$(tc-getCPP)" distutils-r1_src_${EBUILD_PHASE}
popd > /dev/null
fi
}

@ -38,7 +38,7 @@ PATCHES=(
do_python() {
if use python; then
pushd "lang/python" > /dev/null || die
top_builddir="../.." srcdir="." CPP=$(tc-getCPP) distutils-r1_src_${EBUILD_PHASE}
top_builddir="../.." srcdir="." CPP="$(tc-getCPP)" distutils-r1_src_${EBUILD_PHASE}
popd > /dev/null
fi
}

@ -1,2 +1 @@
DIST jitterentropy-rngd-1.2.5.tar.gz 45262 BLAKE2B 0fdbd513f0dd2fa216c079d55790ea2848fac26ca17846cfce06d0d338e8e88a13f2e9a7a7d55c938f0366f7cb010d22fc35d63921e4bb1408a5bda73ac9e96c SHA512 23079ff64e1145efa22960dfa772f77dd27f45f1cd950fe7b3a45d56cb75920902a7136da92a7202c686f33db0895115624ac3d809627378056ca13250e5b07b
DIST jitterentropy-rngd-1.2.6.tar.gz 45213 BLAKE2B f193aef0d2a39792c0fac9b5a949f493377d98a282b921d9f4d01ddac5a4f423002e9d61b8e920d35e9f6a608ae2f1341f7255084ec9d501e64ebd1a1d72a9cf SHA512 fc59f84a24b2a2078c6bb4524b9feddfb2033c97390b20a9654294211208ef50399968ad8a19f7b82079eb987841e703fdb5aee98b60f1159244bd28ee43db75
DIST jitterentropy-rngd-1.2.7.tar.gz 46546 BLAKE2B 82f0610ab5e2dd4ac42b5c2a72a59cc9c78dd65f82327302d4699b129280d45bf61a7197d44d3d141b6ccd3b512b984b0f95f1594c97a8c54f10c0d58906089c SHA512 4d89110cb7456b360f4c268121b61c2141b9d592877728eb94de0c8679928689b3b039a99579af4ee1299a1eb538c9a2d4527d9a4e98f85022c590a0d01f4811

@ -1,31 +0,0 @@
# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit flag-o-matic linux-info systemd
DESCRIPTION="Jitter RNG daemon"
HOMEPAGE="https://www.chronox.de/jent.html"
SRC_URI="https://github.com/smuellerDD/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~mips ~x86"
IUSE=""
PATCHES=(
"${FILESDIR}"/${PN}-1.1.0-do-not-strip-and-compress.patch
)
src_configure() {
filter-flags '*'
append-cflags '-O0'
default
}
src_install() {
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" \
UNITDIR="$(systemd_get_systemunitdir)" install
newinitd "${FILESDIR}"/jitterentropy-rngd-initd jitterentropy-rngd
}

@ -1,7 +1,7 @@
# Copyright 2020-2021 Gentoo Authors
# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
inherit flag-o-matic linux-info systemd

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -89,7 +89,7 @@ src_configure() {
src_compile() {
# Uses default LD=$(CC) but if the user's set LD, it'll call it
# bug #729432.
emake LD=$(tc-getCC) -C src
emake LD="$(tc-getCC)" -C src
}
src_test() {

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -85,7 +85,7 @@ src_configure() {
src_compile() {
# Uses default LD=$(CC) but if the user's set LD, it'll call it
# bug #729432.
emake LD=$(tc-getCC) -C src
emake LD="$(tc-getCC)" -C src
}
src_test() {

@ -32,5 +32,5 @@ pkg_setup() {
src_compile() {
emake \
CC=$(tc-getCC)
CC="$(tc-getCC)"
}

@ -1,44 +0,0 @@
From 92fe125ee1b9f36bd69308c173e9d6147a5fc1e1 Mon Sep 17 00:00:00 2001
From: Matt Turner <mattst88@gmail.com>
Date: Thu, 10 Dec 2020 23:19:55 -0500
Subject: [PATCH] meson: build test-vala-unstable with -DSECRET_WITH_UNSTABLE
Fixes: https://gitlab.gnome.org/GNOME/libsecret/-/issues/54
---
libsecret/meson.build | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/libsecret/meson.build b/libsecret/meson.build
index f57e363..55e9d95 100644
--- a/libsecret/meson.build
+++ b/libsecret/meson.build
@@ -310,12 +310,12 @@ if get_option('introspection')
add_languages('vala')
valac = meson.get_compiler('vala')
- valatest_names = [
- 'test-vala-lang',
- 'test-vala-unstable',
- ]
+ valatests = {
+ 'test-vala-lang': [],
+ 'test-vala-unstable': ['-DSECRET_WITH_UNSTABLE'],
+ }
- foreach _valatest : valatest_names
+ foreach _valatest, extra_cflags : valatests
test_bin = executable(_valatest,
'@0@.vala'.format(_valatest),
dependencies: [
@@ -327,7 +327,7 @@ if get_option('introspection')
],
link_with: mock_service_lib,
include_directories: config_h_dir,
- c_args: test_cflags,
+ c_args: test_cflags + extra_cflags,
)
test(_valatest, test_bin,
--
2.26.2

@ -1,29 +0,0 @@
From 6fc0e3e321cdf0bf7e047234561fe8a8084a93f9 Mon Sep 17 00:00:00 2001
From: Xi Ruoyao <xry111@mengyan1223.wang>
Date: Wed, 14 Apr 2021 23:18:06 +0800
Subject: [PATCH] Fix segfault when built with ldap disabled
Fixes #321.
---
pgp/seahorse-pgp-backend.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/pgp/seahorse-pgp-backend.c b/pgp/seahorse-pgp-backend.c
index 25febf31..8c10e7e3 100644
--- a/pgp/seahorse-pgp-backend.c
+++ b/pgp/seahorse-pgp-backend.c
@@ -445,7 +445,10 @@ seahorse_pgp_backend_add_remote (SeahorsePgpBackend *self,
/* Don't persist, so just immediately create a ServerSource */
g_autoptr(SeahorseServerSource) ssrc = NULL;
ssrc = seahorse_server_category_create_server (uri);
- g_list_store_append (G_LIST_STORE (self->remotes), ssrc);
+ /* If the scheme of the uri is ldap, but ldap support is disabled
+ * in the build, ssrc will be NULL. */
+ if (ssrc)
+ g_list_store_append (G_LIST_STORE (self->remotes), ssrc);
}
}
--
GitLab

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -40,9 +40,9 @@ pkg_setup() {
EXTRA_MAKE_FLAGS=(
PBKDF_BACKEND="${backend}"
WARNFLAGS=""
CC=$(tc-getCC)
AR=$(tc-getAR)
PREFIX=/usr \
CC="$(tc-getCC)"
AR="$(tc-getAR)"
PREFIX=/usr
LIBDIR=/usr/$(get_libdir)
)
}

Binary file not shown.

@ -1,208 +0,0 @@
https://gitlab.gnome.org/GNOME/gedit-plugins/-/merge_requests/27.patch
https://bugs.gentoo.org/832315
From: Jan Beich <jbeich@FreeBSD.org>
Date: Tue, 25 Jan 2022 12:10:06 +0000
Subject: [PATCH] meson: drop unused argument for i18n.merge_file()
Ignored in Meson < 0.60.0, deprecated since 0.60.1 and fatal since 0.61.0.
plugins/bookmarks/meson.build:43:0: ERROR: Function does not take positional arguments.
plugins/bracketcompletion/meson.build:32:0: ERROR: Function does not take positional arguments.
plugins/charmap/meson.build:28:0: ERROR: Function does not take positional arguments.
plugins/codecomment/meson.build:32:0: ERROR: Function does not take positional arguments.
plugins/colorpicker/meson.build:32:0: ERROR: Function does not take positional arguments.
plugins/colorschemer/meson.build:41:0: ERROR: Function does not take positional arguments.
plugins/commander/meson.build:37:0: ERROR: Function does not take positional arguments.
plugins/drawspaces/meson.build:58:0: ERROR: Function does not take positional arguments.
plugins/findinfiles/meson.build:64:0: ERROR: Function does not take positional arguments.
plugins/git/meson.build:28:0: ERROR: Function does not take positional arguments.
plugins/joinlines/meson.build:32:0: ERROR: Function does not take positional arguments.
plugins/multiedit/meson.build:28:0: ERROR: Function does not take positional arguments.
plugins/smartspaces/meson.build:36:0: ERROR: Function does not take positional arguments.
plugins/synctex/meson.build:28:0: ERROR: Function does not take positional arguments.
plugins/terminal/meson.build:40:0: ERROR: Function does not take positional arguments.
plugins/textsize/meson.build:28:0: ERROR: Function does not take positional arguments.
plugins/translate/meson.build:49:0: ERROR: Function does not take positional arguments.
plugins/wordcompletion/meson.build:57:0: ERROR: Function does not take positional arguments.
--- a/plugins/bookmarks/meson.build
+++ b/plugins/bookmarks/meson.build
@@ -41,7 +41,6 @@ bookmarks_plugin = custom_target(
)
bookmarks_metainfo = i18n.merge_file(
- 'gedit-bookmarks.metainfo.xml',
input: 'gedit-bookmarks.metainfo.xml.in',
output: 'gedit-bookmarks.metainfo.xml',
po_dir: join_paths(srcdir, 'po'),
--- a/plugins/bracketcompletion/meson.build
+++ b/plugins/bracketcompletion/meson.build
@@ -30,7 +30,6 @@ bracketcompletion_plugin = custom_target(
)
bracketcompletion_metainfo = i18n.merge_file(
- 'gedit-bracketcompletion.metainfo.xml',
input: 'gedit-bracketcompletion.metainfo.xml.in',
output: 'gedit-bracketcompletion.metainfo.xml',
po_dir: join_paths(srcdir, 'po'),
--- a/plugins/charmap/meson.build
+++ b/plugins/charmap/meson.build
@@ -26,7 +26,6 @@ charmap_plugin = custom_target(
)
charmap_metainfo = i18n.merge_file(
- 'gedit-charmap.metainfo.xml',
input: 'gedit-charmap.metainfo.xml.in',
output: 'gedit-charmap.metainfo.xml',
po_dir: join_paths(srcdir, 'po'),
--- a/plugins/codecomment/meson.build
+++ b/plugins/codecomment/meson.build
@@ -30,7 +30,6 @@ codecomment_plugin = custom_target(
)
codecomment_metainfo = i18n.merge_file(
- 'gedit-codecomment.metainfo.xml',
input: 'gedit-codecomment.metainfo.xml.in',
output: 'gedit-codecomment.metainfo.xml',
po_dir: join_paths(srcdir, 'po'),
--- a/plugins/colorpicker/meson.build
+++ b/plugins/colorpicker/meson.build
@@ -30,7 +30,6 @@ colorpicker_plugin = custom_target(
)
colorpicker_metainfo = i18n.merge_file(
- 'gedit-colorpicker.metainfo.xml',
input: 'gedit-colorpicker.metainfo.xml.in',
output: 'gedit-colorpicker.metainfo.xml',
po_dir: join_paths(srcdir, 'po'),
--- a/plugins/colorschemer/meson.build
+++ b/plugins/colorschemer/meson.build
@@ -39,7 +39,6 @@ colorschemer_plugin = custom_target(
)
colorschemer_metainfo = i18n.merge_file(
- 'gedit-colorschemer.metainfo.xml',
input: 'gedit-colorschemer.metainfo.xml.in',
output: 'gedit-colorschemer.metainfo.xml',
po_dir: join_paths(srcdir, 'po'),
--- a/plugins/commander/meson.build
+++ b/plugins/commander/meson.build
@@ -35,7 +35,6 @@ commander_plugin = custom_target(
)
commander_metainfo = i18n.merge_file(
- 'gedit-commander.metainfo.xml',
input: 'gedit-commander.metainfo.xml.in',
output: 'gedit-commander.metainfo.xml',
po_dir: join_paths(srcdir, 'po'),
--- a/plugins/drawspaces/meson.build
+++ b/plugins/drawspaces/meson.build
@@ -56,7 +56,6 @@ install_data(
)
drawspaces_metainfo = i18n.merge_file(
- 'gedit-drawspaces.metainfo.xml',
input: 'gedit-drawspaces.metainfo.xml.in',
output: 'gedit-drawspaces.metainfo.xml',
po_dir: join_paths(srcdir, 'po'),
--- a/plugins/findinfiles/meson.build
+++ b/plugins/findinfiles/meson.build
@@ -62,7 +62,6 @@ findinfiles_plugin = custom_target(
)
findinfiles_metainfo = i18n.merge_file(
- 'gedit-findinfiles.metainfo.xml',
input: 'gedit-findinfiles.metainfo.xml.in',
output: 'gedit-findinfiles.metainfo.xml',
po_dir: join_paths(srcdir, 'po'),
--- a/plugins/git/meson.build
+++ b/plugins/git/meson.build
@@ -26,7 +26,6 @@ git_plugin = custom_target(
)
git_metainfo = i18n.merge_file(
- 'gedit-git.metainfo.xml',
input: 'gedit-git.metainfo.xml.in',
output: 'gedit-git.metainfo.xml',
po_dir: join_paths(srcdir, 'po'),
--- a/plugins/joinlines/meson.build
+++ b/plugins/joinlines/meson.build
@@ -30,7 +30,6 @@ joinlines_plugin = custom_target(
)
joinlines_metainfo = i18n.merge_file(
- 'gedit-joinlines.metainfo.xml',
input: 'gedit-joinlines.metainfo.xml.in',
output: 'gedit-joinlines.metainfo.xml',
po_dir: join_paths(srcdir, 'po'),
--- a/plugins/multiedit/meson.build
+++ b/plugins/multiedit/meson.build
@@ -26,7 +26,6 @@ multiedit_plugin = custom_target(
)
multiedit_metainfo = i18n.merge_file(
- 'gedit-multiedit.metainfo.xml',
input: 'gedit-multiedit.metainfo.xml.in',
output: 'gedit-multiedit.metainfo.xml',
po_dir: join_paths(srcdir, 'po'),
--- a/plugins/smartspaces/meson.build
+++ b/plugins/smartspaces/meson.build
@@ -34,7 +34,6 @@ smartspaces_plugin = custom_target(
)
smartspaces_metainfo = i18n.merge_file(
- 'gedit-smartspaces.metainfo.xml',
input: 'gedit-smartspaces.metainfo.xml.in',
output: 'gedit-smartspaces.metainfo.xml',
po_dir: join_paths(srcdir, 'po'),
--- a/plugins/synctex/meson.build
+++ b/plugins/synctex/meson.build
@@ -26,7 +26,6 @@ synctex_plugin = custom_target(
)
synctex_metainfo = i18n.merge_file(
- 'gedit-synctex.metainfo.xml',
input: 'gedit-synctex.metainfo.xml.in',
output: 'gedit-synctex.metainfo.xml',
po_dir: join_paths(srcdir, 'po'),
--- a/plugins/terminal/meson.build
+++ b/plugins/terminal/meson.build
@@ -38,7 +38,6 @@ install_data(
)
terminal_metainfo = i18n.merge_file(
- 'gedit-terminal.metainfo.xml',
input: 'gedit-terminal.metainfo.xml.in',
output: 'gedit-terminal.metainfo.xml',
po_dir: join_paths(srcdir, 'po'),
--- a/plugins/textsize/meson.build
+++ b/plugins/textsize/meson.build
@@ -26,7 +26,6 @@ textsize_plugin = custom_target(
)
textsize_metainfo = i18n.merge_file(
- 'gedit-textsize.metainfo.xml',
input: 'gedit-textsize.metainfo.xml.in',
output: 'gedit-textsize.metainfo.xml',
po_dir: join_paths(srcdir, 'po'),
--- a/plugins/translate/meson.build
+++ b/plugins/translate/meson.build
@@ -47,7 +47,6 @@ install_data(
)
translate_metainfo = i18n.merge_file(
- 'gedit-translate.metainfo.xml',
input: 'gedit-translate.metainfo.xml.in',
output: 'gedit-translate.metainfo.xml',
po_dir: join_paths(srcdir, 'po'),
--- a/plugins/wordcompletion/meson.build
+++ b/plugins/wordcompletion/meson.build
@@ -55,7 +55,6 @@ install_data(
)
wordcompletion_metainfo = i18n.merge_file(
- 'gedit-wordcompletion.metainfo.xml',
input: 'gedit-wordcompletion.metainfo.xml.in',
output: 'gedit-wordcompletion.metainfo.xml',
po_dir: join_paths(srcdir, 'po'),
GitLab

@ -1,59 +0,0 @@
From 4f32833325a6c95ec451adf1a8d9691cceb14dd8 Mon Sep 17 00:00:00 2001
From: Mart Raudsepp <leio@gentoo.org>
Date: Sun, 16 Aug 2020 23:20:31 +0300
Subject: [PATCH 1/2] build: Make gspell optional
---
meson.build | 3 ++-
meson_options.txt | 4 ++++
plugins/spell/meson.build | 4 ++++
3 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index acaad0dad..2c5dccb82 100644
--- a/meson.build
+++ b/meson.build
@@ -54,7 +54,7 @@ deps_basic_list = [
dependency('gobject-introspection-1.0'),
]
-gspell_dep = dependency('gspell-1', version: '>= 1.0')
+gspell_dep = dependency('gspell-1', version: '>= 1.0', required: get_option('spell'))
python3 = python.find_installation('python3')
# Configurations
@@ -94,3 +94,4 @@ summary('Prefix', get_option('prefix'))
summary('API documentation', get_option('gtk_doc'))
summary('User documentation', get_option('user_documentation'))
summary('Require all tests', get_option('require_all_tests'))
+summary('Spell checker plugin', get_option('spell').enabled().to_string())
diff --git a/meson_options.txt b/meson_options.txt
index 4e842d1ea..bb3923dd1 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -14,6 +14,10 @@ option(
description: 'Require that all tests can be run, even those that depend on third party programs'
)
+option('spell',
+ type: 'feature', value: 'enabled',
+ description: 'Build spell checking plugin')
+
# This option exists for the developers, to speed up the install.
option(
'user_documentation',
diff --git a/plugins/spell/meson.build b/plugins/spell/meson.build
index 8ce7634b7..cccb42fc1 100644
--- a/plugins/spell/meson.build
+++ b/plugins/spell/meson.build
@@ -1,3 +1,7 @@
+if not gspell_dep.found()
+ subdir_done()
+endif
+
libspell_sources = files(
'gedit-spell-app-activatable.c',
'gedit-spell-plugin.c',
--
2.26.2

@ -1,86 +0,0 @@
From 9ed333a94ea15f74c420cbb2766909953aa6acb6 Mon Sep 17 00:00:00 2001
From: Mart Raudsepp <leio@gentoo.org>
Date: Sun, 16 Aug 2020 23:34:42 +0300
Subject: [PATCH 2/2] build: Make python optional
---
gedit/meson.build | 2 ++
meson.build | 2 ++
meson_options.txt | 4 ++++
plugins/meson.build | 9 ++++++---
4 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/gedit/meson.build b/gedit/meson.build
index 9fc81468e..5e808a2d8 100644
--- a/gedit/meson.build
+++ b/gedit/meson.build
@@ -197,10 +197,12 @@ libgedit_gir = gnome.generate_gir(
install_dir_typelib: get_option('libdir') / 'gedit/girepository-1.0',
)
+if get_option('python')
python3.install_sources(
'Gedit.py',
subdir: 'gi/overrides',
)
+endif
# Vala API
libgedit_vapi = gnome.generate_vapi(
diff --git a/meson.build b/meson.build
index 2c5dccb82..5e1e9340a 100644
--- a/meson.build
+++ b/meson.build
@@ -55,7 +55,9 @@ deps_basic_list = [
]
gspell_dep = dependency('gspell-1', version: '>= 1.0', required: get_option('spell'))
+if get_option('python')
python3 = python.find_installation('python3')
+endif
# Configurations
config_h = configuration_data()
diff --git a/meson_options.txt b/meson_options.txt
index bb3923dd1..962b82934 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -14,6 +14,10 @@ option(
description: 'Require that all tests can be run, even those that depend on third party programs'
)
+option('python',
+ type: 'boolean', value: true,
+ description: 'Install GIR python overrides and python plugins')
+
option('spell',
type: 'feature', value: 'enabled',
description: 'Build spell checking plugin')
diff --git a/plugins/meson.build b/plugins/meson.build
index 50bc5d393..63bb7c094 100644
--- a/plugins/meson.build
+++ b/plugins/meson.build
@@ -18,14 +18,17 @@ msgfmt_plugin_cmd = [
subdir('docinfo')
subdir('filebrowser')
subdir('modelines')
-subdir('pythonconsole')
subdir('quickhighlight')
-subdir('quickopen')
-subdir('snippets')
subdir('sort')
subdir('spell')
subdir('time')
+if get_option('python')
if get_option('plugin_externaltools')
subdir('externaltools')
endif
+
+ subdir('pythonconsole')
+ subdir('quickopen')
+ subdir('snippets')
+endif
--
2.26.2

@ -1,29 +0,0 @@
https://gitlab.gnome.org/GNOME/gedit/-/merge_requests/124.patch
https://bugs.gentoo.org/831925
From c6c7c6580bc7f82a7d449b8ee33ae44f8b6f4a1f Mon Sep 17 00:00:00 2001
From: rvalue <i@rvalue.moe>
Date: Wed, 15 Dec 2021 07:02:09 +0000
Subject: [PATCH] Remove incorrect args for i18n.merge_file
The positional argument has been silently ignored for a time. And it causes failure
with "ERROR: Function does not take positional arguments" since meson 0.60.0
--- a/data/meson.build
+++ b/data/meson.build
@@ -4,7 +4,6 @@ install_man('gedit.1')
appdata = 'org.gnome.gedit.appdata.xml'
appdata_file = i18n.merge_file(
- appdata,
input: appdata + '.in',
output: appdata,
po_dir: '../po/',
@@ -23,7 +22,6 @@ endif
desktop_file = 'org.gnome.gedit.desktop'
desktop_output_file = i18n.merge_file(
- desktop_file,
type: 'desktop',
input: desktop_file + '.in',
output: desktop_file,
GitLab

@ -1,26 +0,0 @@
From 189ee4514107e70a62d44766f8ca39d815d48581 Mon Sep 17 00:00:00 2001
From: Michael Catanzaro <mcatanzaro@gnome.org>
Date: Fri, 20 Mar 2020 11:32:59 -0500
Subject: [PATCH] Revert "ViewFrame: disable overlay scrolling for the
GtkScrolledWindow"
This reverts commit 5e0909c19f267b4023131881fac89c58a2a17453.
---
gedit/resources/ui/gedit-view-frame.ui | 1 -
1 file changed, 1 deletion(-)
diff --git a/gedit/resources/ui/gedit-view-frame.ui b/gedit/resources/ui/gedit-view-frame.ui
index ebf70b013..4c783c711 100644
--- a/gedit/resources/ui/gedit-view-frame.ui
+++ b/gedit/resources/ui/gedit-view-frame.ui
@@ -11,7 +11,6 @@
<property name="visible">True</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
- <property name="overlay_scrolling">False</property>
<child>
<object class="GeditView" id="view">
<property name="visible">True</property>
--
2.25.1

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -27,7 +27,7 @@ PATCHES=(
)
src_configure() {
export AC_CPP_PROG=$(tc-getCPP)
export AC_CPP_PROG="$(tc-getCPP)"
export AC_PATH="${PATH}"
export AC_LIBDIR="$($(tc-getPKG_CONFIG) --libs ncurses)"
@ -38,7 +38,7 @@ src_configure() {
src_compile() {
emake \
CFLAGS="${CFLAGS} -Wall -Wextra ${LDFLAGS}" \
CC=$(tc-getCC)
CC="$(tc-getCC)"
}
src_install() {

@ -15,7 +15,7 @@ if [[ ${PV} == 9999* ]] ; then
else
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> vim-${PV}.tar.gz
https://dev.gentoo.org/~zlogene/distfiles/app-editors/vim/vim-8.2.0360-gentoo-patches.tar.xz"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
fi
S="${WORKDIR}"/vim-${PV}

@ -19,7 +19,7 @@ if [[ ${PV} == 9999* ]] ; then
else
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://dev.gentoo.org/~zlogene/distfiles/app-editors/vim/vim-8.2.0360-gentoo-patches.tar.xz"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
fi
DESCRIPTION="Vim, an improved vi-style text editor"

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Note: xemacs currently does not work with position independent code
@ -184,7 +184,7 @@ src_configure() {
$(use_with ldap ) \
$(use_with eolconv file-coding ) \
$(use_with pop ) \
--compiler=$(tc-getCC) \
--compiler="$(tc-getCC)" \
--prefix=/usr \
--without-canna \
--with-ncurses \

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Note: xemacs currently does not work with position independent code
@ -184,7 +184,7 @@ src_configure() {
$(use_with ldap ) \
$(use_with eolconv file-coding ) \
$(use_with pop ) \
--compiler=$(tc-getCC) \
--compiler="$(tc-getCC)" \
--prefix=/usr \
--without-canna \
--with-ncurses \

Binary file not shown.

@ -1,4 +1,4 @@
# Copyright 2002-2021 Gentoo Authors
# Copyright 2002-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
@ -109,7 +109,7 @@ src_configure() {
src_compile() {
# src/makefile.common is written manually, uses AR=ar
emake AR=$(tc-getAR)
emake AR="$(tc-getAR)"
}
src_install() {

Binary file not shown.

@ -1 +1,2 @@
DIST eselect-iptables-20211203.tar.xz 2144 BLAKE2B 9a53784a0831e7d2c150a974faba6c9dc124b0eafdd22cd8a56d342f77d9d4741fb0ff289e429351b8cff2e7576d00ba7e66d36c73ebe7c43c9d42cf56c13292 SHA512 5a670d72f20722df12bae7baa9ad68175e9678610657e24c4182ef83f30cc356b7af2f3bd8ea22e16aa83ba34cf5c407761c6dc2b937a4488b2da47dcb9eca97
DIST eselect-iptables-20220320.tar.xz 2152 BLAKE2B 82813bf7814b91f1cf6da35c5c893e8ca28a8f5b5885e234c12853b5dc3afd73b3e0512e9d3d379e81b466706eabef8774d1b5738dd12582bbf1e344294a80f8 SHA512 7783d94d3bc463e0e8e084368c3906358efd03c9e47898686943d4900babd84e038991338f78459fca410f618dd5a62020e3d2af5ae45554f323a70a9b284135

@ -0,0 +1,25 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Manages the {,/usr}/sbin/iptables symlink"
HOMEPAGE="https://gitweb.gentoo.org/proj/eselect-iptables.git/"
SRC_URI="https://dev.gentoo.org/~chutzpah/dist/iptables/${P}.tar.xz
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
RDEPEND="app-admin/eselect"
src_install() {
insinto /usr/share/eselect/modules
doins iptables.eselect
local symlink
for symlink in {eb,arp}tables; do
dosym iptables.eselect /usr/share/eselect/modules/${symlink}.eselect
done
}

Binary file not shown.

@ -1,4 +1,2 @@
DIST elasticsearch_exporter-1.0.2.tar.gz 207764 BLAKE2B f626c53d04e05912d1db480d6078b44fb6a05e42ec1751bfc2ddd45ff2f0bc0550517e16b10064adcf8c2ab2db175011543a2953fff1624cd575318e6fad943b SHA512 f610660761d761a26b840a969008763ecb19bdc07ab4a076cec7fc40f7d00a68e863fb72b0ea3b56446621a99fa31384ab79789a2e6526fc5b12dcc20df3c684
DIST elasticsearch_exporter-1.0.4_rc1.tar.gz 212553 BLAKE2B 9f6f8f0117af4e59a483eda378df8a2ac5419a5319a02f69210250be952dc6cd401f0c20dbc3d416446d3af183750919f190112795652180d64ea3f6c62f5a56 SHA512 073fcce3417ae2147076b0fbbe3387494f9e2e8613284f03c6761d5e81d50aba648c6b47d423d79209d0b9221963951c21b2fa44aabe29c1eb0c36546dd140eb
DIST elasticsearch_exporter-1.1.0.tar.gz 316279 BLAKE2B 86e994ea0765a231b8ebaeaf495fa160ce53795e191e25cf82994214b53c62f03030b27040e95b770dc526ed2b772961b12ac73700b0da9f8994d532a0958789 SHA512 81cd7a44a2cd07bde7e716eac688c06ca93059de5ba7e1d3e009683b133f8c84c91a09a9e4775a558a3856389e165ce8ec2f04bd856b7b39b8f4a6072623b103
DIST elasticsearch_exporter-1.1.0_rc1.tar.gz 314275 BLAKE2B 1548cbecb6f5a0ae70ffb7a1ccceedbc5e9f980841b9ddb47f56c522a0f0fdc4f9c0613ec95c6a8705f1affd8d713e70d6cfaeacd84cd552a21466a490cac387 SHA512 ba571fec3cdbc32279008ddfc6b72b093fef4ba4ee0eaed98000cecadf81f61adcce24989f36c8dc6abde51129ed638473267e2636ec669ac30440338001930e
DIST elasticsearch_exporter-1.3.0-deps.tar.xz 106387304 BLAKE2B d67e8b746ecf9f05310194485ac99b95768b813a7265b3ec445261d52708551c37bc14718021ee67306c84fedc323f5ef4e87cba043354b3b49c9ba0764e5575 SHA512 0374030189927deb14c8bd34b6472e9be8f7025aea525394a5eca5d6899311296e7eeefb7d05a2b4a75549c4590b9590dd592ab3c0aaf008c311922a01ea81d5
DIST elasticsearch_exporter-1.3.0.tar.gz 93489 BLAKE2B 33e2dbe9608bd052bc4f31fc2a38774981d96f30fd54465bd2b10d075f0fade29fe6c40d2e32370a38edc41d04b3772100c39f5670c302a0a334e2a7d5ee6463 SHA512 a88ec20cd7f2f9859d2e169f7813b84c3286b65dfc3a625545608416dbee5f96d4e223e7d2ea2f2b788be766ead1abb11b795d3059a628d0c3c56f567eebea00

@ -1,47 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit user golang-build golang-vcs-snapshot
EGO_PN="github.com/justwatchcom/elasticsearch_exporter"
EXPORTER_COMMIT="92dcbf3"
ARCHIVE_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
DESCRIPTION="Elasticsearch stats exporter for Prometheus"
HOMEPAGE="https://github.com/justwatchcom/elasticsearch_exporter"
SRC_URI="${ARCHIVE_URI}"
LICENSE="Apache-2.0 BSD MIT"
SLOT="0"
IUSE=""
DEPEND="dev-util/promu"
pkg_setup() {
enewgroup ${PN}
enewuser ${PN} -1 -1 -1 ${PN}
}
src_prepare() {
default
sed -i -e "/-s$/d" -e "s/{{.Revision}}/${EXPORTER_COMMIT}/" src/${EGO_PN}/.promu.yml || die
}
src_compile() {
pushd src/${EGO_PN} || die
mkdir -p bin || die
GOPATH="${S}" promu build -v --prefix bin || die
popd || die
}
src_install() {
pushd src/${EGO_PN} || die
dobin bin/elasticsearch_exporter
dodoc {README,CHANGELOG}.md
popd || die
keepdir /var/log/elasticsearch_exporter
fowners ${PN}:${PN} /var/log/elasticsearch_exporter
newinitd "${FILESDIR}"/${PN}.initd ${PN}
newconfd "${FILESDIR}"/${PN}.confd ${PN}
}

@ -1,49 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit user golang-build golang-vcs-snapshot
MY_PV=${PV/_/}
EGO_PN="github.com/justwatchcom/elasticsearch_exporter"
EXPORTER_COMMIT="68340fd"
ARCHIVE_URI="https://${EGO_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
DESCRIPTION="Elasticsearch stats exporter for Prometheus"
HOMEPAGE="https://github.com/justwatchcom/elasticsearch_exporter"
SRC_URI="${ARCHIVE_URI}"
LICENSE="Apache-2.0 BSD MIT"
SLOT="0"
IUSE=""
DEPEND="dev-util/promu"
pkg_setup() {
enewgroup ${PN}
enewuser ${PN} -1 -1 -1 ${PN}
}
src_prepare() {
default
sed -i -e "/-s$/d" -e "s/{{.Revision}}/${EXPORTER_COMMIT}/" src/${EGO_PN}/.promu.yml || die
}
src_compile() {
pushd src/${EGO_PN} || die
mkdir -p bin || die
GOPATH="${S}" promu build -v --prefix bin || die
popd || die
}
src_install() {
pushd src/${EGO_PN} || die
dobin bin/elasticsearch_exporter
dodoc {README,CHANGELOG}.md
popd || die
keepdir /var/log/elasticsearch_exporter
fowners ${PN}:${PN} /var/log/elasticsearch_exporter
newinitd "${FILESDIR}"/${PN}.initd ${PN}
newconfd "${FILESDIR}"/${PN}.confd ${PN}
}

@ -1,49 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit user golang-build golang-vcs-snapshot
MY_PV=${PV/_/}
EGO_PN="github.com/justwatchcom/elasticsearch_exporter"
EXPORTER_COMMIT="fe20e49"
ARCHIVE_URI="https://${EGO_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
DESCRIPTION="Elasticsearch stats exporter for Prometheus"
HOMEPAGE="https://github.com/justwatchcom/elasticsearch_exporter"
SRC_URI="${ARCHIVE_URI}"
LICENSE="Apache-2.0 BSD MIT"
SLOT="0"
IUSE=""
DEPEND="dev-util/promu"
pkg_setup() {
enewgroup ${PN}
enewuser ${PN} -1 -1 -1 ${PN}
}
src_prepare() {
default
sed -i -e "/-s$/d" -e "s/{{.Revision}}/${EXPORTER_COMMIT}/" src/${EGO_PN}/.promu.yml || die
}
src_compile() {
pushd src/${EGO_PN} || die
mkdir -p bin || die
GOPATH="${S}" promu build -v --prefix bin || die
popd || die
}
src_install() {
pushd src/${EGO_PN} || die
dobin bin/elasticsearch_exporter
dodoc {README,CHANGELOG}.md
popd || die
keepdir /var/log/elasticsearch_exporter
fowners ${PN}:${PN} /var/log/elasticsearch_exporter
newinitd "${FILESDIR}"/${PN}.initd ${PN}
newconfd "${FILESDIR}"/${PN}.confd ${PN}
}

@ -1,49 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit user golang-build golang-vcs-snapshot
MY_PV=${PV/_/}
EGO_PN="github.com/justwatchcom/elasticsearch_exporter"
EXPORTER_COMMIT="c0ec042"
ARCHIVE_URI="https://${EGO_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
DESCRIPTION="Elasticsearch stats exporter for Prometheus"
HOMEPAGE="https://github.com/justwatchcom/elasticsearch_exporter"
SRC_URI="${ARCHIVE_URI}"
LICENSE="Apache-2.0 BSD MIT"
SLOT="0"
IUSE=""
DEPEND="dev-util/promu"
pkg_setup() {
enewgroup ${PN}
enewuser ${PN} -1 -1 -1 ${PN}
}
src_prepare() {
default
sed -i -e "/-s$/d" -e "s/{{.Revision}}/${EXPORTER_COMMIT}/" src/${EGO_PN}/.promu.yml || die
}
src_compile() {
pushd src/${EGO_PN} || die
mkdir -p bin || die
GOPATH="${S}" promu build -v --prefix bin || die
popd || die
}
src_install() {
pushd src/${EGO_PN} || die
dobin bin/elasticsearch_exporter
dodoc {README,CHANGELOG}.md
popd || die
keepdir /var/log/elasticsearch_exporter
fowners ${PN}:${PN} /var/log/elasticsearch_exporter
newinitd "${FILESDIR}"/${PN}.initd ${PN}
newconfd "${FILESDIR}"/${PN}.confd ${PN}
}

@ -0,0 +1,38 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
GIT_COMMIT=fe20e49
MY_PV=${PV/_/}
inherit go-module
DESCRIPTION="Elasticsearch stats exporter for Prometheus"
HOMEPAGE="https://github.com/justwatchcom/elasticsearch_exporter"
SRC_URI="https://github.com/justwatchcom/elasticsearch_exporter/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
LICENSE="Apache-2.0 BSD MIT"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="acct-group/elasticsearch_exporter
acct-user/elasticsearch_exporter"
RDEPEND="${DEPEND}"
BDEPEND="dev-util/promu"
src_prepare() {
default
sed -i -e "/-s$/d" -e "s/{{.Revision}}/${GIT_COMMIT}/" .promu.yml || die
}
src_compile() {
promu build --prefix bin || die
}
src_install() {
dobin bin/elasticsearch_exporter
dodoc {README,CHANGELOG}.md
newinitd "${FILESDIR}"/${PN}.initd ${PN}
newconfd "${FILESDIR}"/${PN}.confd ${PN}
keepdir /var/log/elasticsearch_exporter
fowners ${PN}:${PN} /var/log/elasticsearch_exporter
}

@ -1,9 +1 @@
DIST github.com-beorn7-perks-3a771d992973f24aa725d07868b467d1ddfceafb.tar.gz 10800 BLAKE2B 5487155a4d010af70b6ea2625d10ae03b6642507902d7dc168edb5d7cf0efa1777b248d0df34ed1a2564950b12613256c1c6ce1d8c9723cc34977ed883b21c8d SHA512 c6aa5df262ab607c0a5f64372fc2fec1ddda9e5624e9d9a22cdd1bc11822c99736d88bdf5e3fc6050217b5084548417cb2926c3940e156da9397d828d59ce277
DIST github.com-go-yaml-yaml-51d6538a90f86fe93ac480b35f37b2be17fef232.tar.gz 70766 BLAKE2B 3ea4412e259626b25145feacbe68b529d2bcf353bd098899c3a906d01f75bac5f93ec20967f7261feb388356d7b12fa945ec73822e21e029e38ce7c0b27855e7 SHA512 dec54681845fb5cdb159d44bf91cb703bb38a6af1821566d7b11a0668ee50247f542e3b7bfc21571198f9bda8ff31ce32cf67f98a8c906dee7ea9194643699f9
DIST github.com-golang-protobuf-347cf4a86c1cb8d262994d8ef5924d4576c5b331.tar.gz 329489 BLAKE2B 828678cee603917e7f4efee2dd0902730a73932b94b12d4f4b35f0fcecaa329cdc39c3fa9926ce3706f86cc52c0aa4984f68ee0943ecc6d9571b0175ff671ab0 SHA512 de4307b91923a6890ab2f8eaf2ed4f7f32a45a4a0cc7b0d6f53ce31c5fe3ed08f378072075456d2c99c89a3b5acbca315814b8e5ec70e6ceb0ca62f7013f618c
DIST github.com-matttproud-golang_protobuf_extensions-c182affec369e30f25d3eb8cd8a478dee585ae7d.tar.gz 37541 BLAKE2B f78899afa1390aca6cb1b412271713c60107771d512ead83482e0bb1716d175b791b4b04bd24b7f469cc1a29176eadcf0545ac3bf166c5b350602420d3c05aec SHA512 141b1b781a4d1c59f5eb1af93c966343b80ed405a5f63774e6cda9f12c34536e892c7a84699d6cf2e9c775457a4c2ad5d5d0b4d302fc25a923ab81d46ad65580
DIST github.com-prometheus-client_golang-18d13eacc9cce330610a70daf4ed0fef2e846589.tar.gz 133489 BLAKE2B 75ba882c9378d9062ed510af425f39e81e1d980dbd183f4e1228110880b3143cac74fecaa5d224e8516afcab71886041d1fbcff0832c8ab604976bbf34977eb3 SHA512 80142c7e659c3213a0990f1f871b3578b2899b14c5082a04d8eb67048da768203bb7228b2fa33d2f49d0f57596f6ad12fed47b54790a3c16d8a4cd43eb35005d
DIST github.com-prometheus-client_model-56726106282f1985ea77d5305743db7231b0c0a8.tar.gz 57192 BLAKE2B 83bbc3c756f993a8bbf3b3f4bd5437b466b8fddc1f434554f1138eb6a830dd76ac495ceaa8b8a324498b05513c4ae67d571f263cce2de5275d87cadc2bf9691a SHA512 531b3e185f96ef23c8d5791f3caa7ccbb78870811343a4630d79dcf3e217a1f9a176390752cbb427ba3550bebb984e31ade8529a2b56ea93af2ab6b7a2e98320
DIST github.com-prometheus-common-2998b132700a7d019ff618c06a234b47c1f3f681.tar.gz 87368 BLAKE2B fc6c6e197d4cc61afefa9fb8e3a8d6b36ab029f62e3cf9adf8359e4885554f94427f17218d45c90c9d7f4a6985b2e4143a4d304d39f806bd70d2c6f05de29bc2 SHA512 b2095da96596fc500ece6b331cda2558f8c813720853f2489aee3dec65de95eb13f7b0853e3812433fdc040f16990d2f05b2a6b8b41275210c504ff333ca625d
DIST github.com-prometheus-procfs-b1a0a9a36d7453ba0f62578b99712f3a6c5f82d1.tar.gz 61720 BLAKE2B 2f9b25506527aaf6e1bf560a1b680b958d1281acbaa2bb896bfea50b5b7de8992d10e8e812f8ae449ab67145c88179c15afe1f719851d1717b28963071088082 SHA512 5938b4a8fa9a5ee32be995fed0d0e6b26941765470aca4eda63a7c42db457e83da43fde2f33b2d4ded3545e5643f607ec7060406b0a1b15e64cc732bb2badd4a
DIST grok_exporter-0.2.6.tar.gz 478354 BLAKE2B 082331eb7606517fb103af7a74088bae75740ae77d2b1fdeaee87791c4a0be706883ca505cb723f3853d3786692477086183b303de0ad82833499b231fc55909 SHA512 5204974702a8d29cc80fb7857a46f3242c78019d8a37e18e595d4bfc2f64662dbd48f9e0d5cae7b2f4f2390c35b0d621a7212718bf3c88d675601af2977de874
DIST grok_exporter-1.0.0_rc5.tar.gz 2324696 BLAKE2B 2042067127e18fb63d2ecc412fa75184b410e27a755fd06c3634c7b345c13b1bd1d000e323467d10cc5a0cf13363b6782c4c98532875158a793111fe56a36edd SHA512 5b4772aa4b147dadc2d8298d043cc8329cbfeb081dc9bc686c34e16ae0c8a4fa30e55478a8328293349fda2d3f785a5feeda22d5ea1722ab3fa586375b696a92

@ -3,13 +3,13 @@
# Distributed under the terms of the GNU General Public License v2
description="Unstructured log data exporter for Prometheus"
config_file="${config_file:-/etc/${RC_SVCNAME}/${RC_SVCNAME}.yml}"
config_file="/etc/grok_exporter/${RC_SVCNAME}.yml"
command=/usr/bin/grok_exporter
command_background=yes
command_user=${RC_SVCNAME}:${RC_SVCNAME}
command_user=grok_exporter:grok_exporter
pidfile=/var/run/${RC_SVCNAME}.pid
error_log="/var/log/${RC_SVCNAME}/${RC_SVCNAME}.log"
output_log="/var/log/${RC_SVCNAME}/${RC_SVCNAME}.log"
error_log="/var/log/grok_exporter/${RC_SVCNAME}.log"
output_log="/var/log/grok_exporter/${RC_SVCNAME}.log"
required_files="${config_file}"
command_args="-config \"${config_file}\""

@ -1,64 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EGO_PN=github.com/fstab/grok_exporter
EGO_REVISION=81c0afe
EGO_VENDOR=(
"github.com/prometheus/client_model 56726106282f1985ea77d5305743db7231b0c0a8"
"github.com/prometheus/common 2998b132700a7d019ff618c06a234b47c1f3f681"
"github.com/prometheus/client_golang 18d13eacc9cce330610a70daf4ed0fef2e846589"
"github.com/prometheus/procfs b1a0a9a36d7453ba0f62578b99712f3a6c5f82d1"
"github.com/matttproud/golang_protobuf_extensions c182affec369e30f25d3eb8cd8a478dee585ae7d"
"github.com/golang/protobuf 347cf4a86c1cb8d262994d8ef5924d4576c5b331"
"github.com/beorn7/perks 3a771d992973f24aa725d07868b467d1ddfceafb"
"gopkg.in/yaml.v2 51d6538a90f86fe93ac480b35f37b2be17fef232 github.com/go-yaml/yaml" # branch v2.2.2
)
inherit user golang-build golang-vcs-snapshot
DESCRIPTION="Unstructured log data exporter for Prometheus"
HOMEPAGE="https://github.com/fstab/Grok_exporter"
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
${EGO_VENDOR_URI}"
LICENSE="Apache-2.0 BSD MIT"
SLOT="0"
KEYWORDS="~amd64"
DEPEND=">=dev-libs/oniguruma-6.9.0"
RDEPEND=">=dev-libs/oniguruma-6.9.0:="
RESTRICT="strip"
pkg_setup() {
enewgroup ${PN}
enewuser ${PN} -1 -1 -1 ${PN}
}
src_compile() {
cd src/${EGO_PN} || die
GOPATH="${S}" go build -ldflags="
-X ${EGO_PN}/exporter.Version=${PV}
-X ${EGO_PN}/exporter.BuildDate=$(date +%Y-%m-%d)
-X ${EGO_PN}/exporter.Branch=master
-X ${EGO_PN}/exporter.Revision=${EGO_REVISION}" || die "compile failed"
}
src_install() {
cd src/${EGO_PN} || die
dobin ${PN}
dodoc -r *.md example
keepdir /var/log/${PN}
fowners ${PN}:${PN} /var/log/${PN}
newconfd "${FILESDIR}"/${PN}.confd ${PN}
newinitd "${FILESDIR}"/${PN}.initd ${PN}
keepdir /etc/"${PN}"
}
pkg_postinst() {
if [[ -z "${REPLACING_VERSIONS}" ]]; then
elog "You need to create /etc/${PN}/${PN}.yml"
elog "Please see /usr/share/doc/${PVR} for examples"
fi
}

@ -0,0 +1,44 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MY_PV=${PV/_rc/.RC}
inherit go-module
DESCRIPTION="Unstructured log data exporter for Prometheus"
HOMEPAGE="https://github.com/fstab/Grok_exporter"
SRC_URI="https://github.com/fstab/grok_exporter/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0 BSD MIT"
SLOT="0"
KEYWORDS="~amd64"
COMMON_DEPEND="acct-group/grok_exporter
acct-user/grok_exporter"
DEPEND="${COMMON_DEPEND}
>=dev-libs/oniguruma-6.9.0"
RDEPEND="${COMMON_DEPEND}
>=dev-libs/oniguruma-6.9.0:="
RESTRICT="strip"
S="${WORKDIR}/${PN}-${MY_PV}"
src_compile() {
ego build .
}
src_install() {
dobin ${PN}
dodoc -r *.md example
newinitd "${FILESDIR}"/${PN}.initd ${PN}
keepdir /etc/"${PN}"
keepdir /var/log/${PN}
fowners ${PN}:${PN} /var/log/${PN}
}
pkg_postinst() {
if [[ -z "${REPLACING_VERSIONS}" ]]; then
elog "You need to create /etc/${PN}/${PN}.yml"
elog "Please see /usr/share/doc/${PVR} for examples"
fi
}

@ -1,7 +1,7 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=7
EGO_PN=github.com/kbudde/rabbitmq_exporter
EGO_VENDOR=(
@ -18,7 +18,7 @@ EGO_VENDOR=(
"golang.org/x/sys 2be51725563103c17124a318f1745b66f2347acb github.com/golang/sys"
)
inherit user golang-build golang-vcs-snapshot
inherit golang-build golang-vcs-snapshot
DESCRIPTION="Rabbitmq exporter for Prometheus"
HOMEPAGE="https://github.com/kbudde/rabbitmq_exporter"
@ -28,12 +28,12 @@ LICENSE="MIT Apache-2.0 BSD"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="dev-util/promu"
DEPEND="acct-group/rabbitmq_exporter
acct-user/rabbitmq_exporter"
RDEPEND="${DEPEND}"
BDEPEND="dev-util/promu"
pkg_setup() {
enewgroup ${PN}
enewuser ${PN} -1 -1 -1 ${PN}
}
RESTRICT+=" test "
src_prepare() {
default
@ -52,8 +52,8 @@ src_install() {
dobin bin/${PN}
dodoc *.md
popd || die
keepdir /var/log/${PN}
fowners ${PN}:${PN} /var/log/${PN}
newconfd "${FILESDIR}"/${PN}.confd ${PN}
newinitd "${FILESDIR}"/${PN}.initd ${PN}
keepdir /var/log/${PN}
fowners ${PN}:${PN} /var/log/${PN}
}

@ -1 +1,2 @@
DIST snmp_exporter-0.15.0.tar.gz 1482592 BLAKE2B f7695eb37f2d702f3a6792337de7a1e878229ec20c8f4bea17d35e174219b71958aaf09bf91daaaffe12c5d03840887ce2ef3b37ce58a56352e8bcbb418bdb5f SHA512 1050a25d12a8201deab0ab7ea95dc35e250954a321d14251c10f87b016c879cf036e01f4043e3463607200381de63f12ea6bcf094dea2939707545f978c2675b
DIST snmp_exporter-0.20.0-deps.tar.xz 167938880 BLAKE2B 26db1effd4c74c1d8ad063e390e3ebc2f652bc901b679a70dfa2fda479ead9622eb3bf729f24a3a0088d9b154be108e472218a84109ef23d8413e0db2f8afc9e SHA512 f2b2e72967bd7255abf5f808d1dbb5691755d232b32e0c833ebc9b74a469b5c2b704afb7f32c1c591653a4ad6162efc5ec13345e9f5e2d08c7f01d24bdddf3a1
DIST snmp_exporter-0.20.0.tar.gz 290899 BLAKE2B 81c2c6e8b1f61fe322cf040910744857f0628b61172774069675f5702d7e8dcc443a5567d5fe9d3e26139fee87c3cae8ed5fb7ce21c13b8a0f0cab1cd76384aa SHA512 fe09033e713f12b5a6ad79445def55c8d94c75cbee5e4e7c4683e853c1a8335005462d607e0c7306d2ee6e70178edeb9b6cff0c35aa6d36a4d0fa5ce45cedb51

@ -1,55 +1,47 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit user golang-build golang-vcs-snapshot
EGO_PN="github.com/prometheus/snmp_exporter"
EGIT_COMMIT="v${PV/_rc/-rc.}"
SNMP_EXPORTER_COMMIT="92a3da4"
ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
EAPI=8
SNMP_EXPORTER_COMMIT=c33572b6
inherit go-module
DESCRIPTION="Prometheus exporter for snmp metrics"
HOMEPAGE="https://github.com/prometheus/snmp_exporter"
SRC_URI="${ARCHIVE_URI}"
SRC_URI="https://github.com/prometheus/${PN}/archive/v${PV/_rc/-rc.}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
LICENSE="Apache-2.0 BSD BSD-2 MIT"
SLOT="0"
IUSE=""
KEYWORDS="~amd64"
DEPEND=">=dev-lang/go-1.11
dev-util/promu
COMMON_DEPEND="acct-group/snmp_exporter
acct-user/snmp_exporter
net-analyzer/net-snmp"
pkg_setup() {
enewgroup ${PN}
enewuser ${PN} -1 -1 -1 ${PN}
}
DEPEND="${COMMON_DEPEND}"
RDEPEND="${COMMON_DEPEND}"
BDEPEND="dev-util/promu"
src_prepare() {
default
sed -i -e "s/{{.Revision}}/${SNMP_EXPORTER_COMMIT}/" src/${EGO_PN}/.promu.yml || die
sed -i -e "s/{{.Revision}}/${SNMP_EXPORTER_COMMIT}/" .promu.yml || die
}
src_compile() {
pushd src/${EGO_PN} || die
GO111MODULE=on GOPATH="${S}" GOCACHE="${T}"/go-cache promu build -v || die
promu build --prefix bin || die
pushd generator || die
GO111MODULE=on GOPATH="${S}" GOCACHE="${T}"/go-cache go build -mod=vendor -o ../bin/generator . || die
ego build -o ../bin/generator
popd || die
}
src_install() {
pushd src/${EGO_PN} || die
dobin bin/generator snmp_exporter
dobin bin/*
dodoc {README,CONTRIBUTING}.md generator/{FORMAT,README}.md generator/generator.yml
insinto /etc/snmp_exporter
newins snmp.yml snmp.yml.example
popd || die
keepdir /var/lib/snmp_exporter /var/log/snmp_exporter
fowners ${PN}:${PN} /var/lib/snmp_exporter /var/log/snmp_exporter
newinitd "${FILESDIR}"/${PN}.initd ${PN}
newconfd "${FILESDIR}"/${PN}.confd ${PN}
insinto /etc/logrotate.d
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
keepdir /var/lib/snmp_exporter /var/log/snmp_exporter
fowners ${PN}:${PN} /var/lib/snmp_exporter /var/log/snmp_exporter
}

Binary file not shown.

@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@ -28,5 +28,5 @@ src_prepare() {
}
src_compile() {
emake CC=$(tc-getCC)
emake CC="$(tc-getCC)"
}

@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -21,7 +21,7 @@ src_prepare() {
}
src_compile() {
emake CFLAGS="${CFLAGS} -Wall -Wno-unused" CC=$(tc-getCC)
emake CFLAGS="${CFLAGS} -Wall -Wno-unused" CC="$(tc-getCC)"
}
src_install() {

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@ -39,7 +39,7 @@ src_compile() {
tc-export PKG_CONFIG
local msg=""
use savedconfig && msg=", please check the configfile"
emake CC=$(tc-getCC) ${PN}
emake CC="$(tc-getCC)" ${PN}
}
src_install() {

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@ -39,7 +39,7 @@ src_compile() {
tc-export PKG_CONFIG
local msg=""
use savedconfig && msg=", please check the configfile"
emake CC=$(tc-getCC) ${PN}
emake CC="$(tc-getCC)" ${PN}
}
src_install() {

@ -20,7 +20,7 @@ PATCHES=( "${FILESDIR}/${PN}-respect-LDFLAGS.patch" )
S="${WORKDIR}"
src_compile() {
emake CC=$(tc-getCC)
emake CC="$(tc-getCC)"
}
src_install() {

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -28,5 +28,5 @@ src_configure() {
}
src_compile() {
emake CC=$(tc-getCC)
emake CC="$(tc-getCC)"
}

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -37,5 +37,5 @@ src_configure() {
}
src_compile() {
emake CC=$(tc-getCC)
emake CC="$(tc-getCC)"
}

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -40,12 +40,12 @@ pkg_setup() {
src_compile() {
emake -C gui-wx -f makefile-gtk \
\
CC=$(tc-getCC) \
CXX=$(tc-getCXX) \
CXXC=$(tc-getCXX) \
CC="$(tc-getCC)" \
CXX="$(tc-getCXX)" \
CXXC="$(tc-getCXX)" \
\
AR=$(tc-getAR) \
RANLIB=$(tc-getRANLIB) \
AR="$(tc-getAR)" \
RANLIB="$(tc-getRANLIB)" \
\
PYTHON=${EPYTHON} \
WX_CONFIG=${WX_CONFIG} \

@ -39,11 +39,11 @@ src_compile() {
GOLLYDIR="${EPREFIX}/usr/share/${PN}"
PYTHON=${EPYTHON}
WX_CONFIG=${WX_CONFIG}
AR=$(tc-getAR)
CC=$(tc-getCC)
CXX=$(tc-getCXX)
CXXC=$(tc-getCXX)
RANLIB=$(tc-getRANLIB)
AR="$(tc-getAR)"
CC="$(tc-getCC)"
CXX="$(tc-getCXX)"
CXXC="$(tc-getCXX)"
RANLIB="$(tc-getRANLIB)"
)
emake -C gui-wx -f makefile-gtk "${mymakeopts[@]}"
}

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@ -27,7 +27,7 @@ src_prepare() {
src_compile() {
cd MultiMouse && emake \
CC=$(tc-getCC) \
CC="$(tc-getCC)" \
PREFIX=/usr \
LOCKDIR=/var/lock \
JMANDIR=/usr/share/man/ja_JP.ujis

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@ -22,7 +22,7 @@ PATCHES=(
)
src_compile() {
emake CC=$(tc-getCC)
emake CC="$(tc-getCC)"
}
src_install() {

@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -23,7 +23,7 @@ src_prepare() {
src_compile() {
append-cppflags -D_GNU_SOURCE
emake CC=$(tc-getCC) CFLAGS="${CFLAGS}"
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
}
src_install() {

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@ -30,7 +30,7 @@ src_prepare() {
}
src_compile() {
emake CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
}
src_install() {

@ -1,112 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
WANT_AUTOMAKE=1.15
inherit epatch autotools toolchain-funcs
#MY_P=${P/_/-}
MY_P=${P}-release
DESCRIPTION="Full-text search engine with support for MySQL and PostgreSQL"
HOMEPAGE="http://www.sphinxsearch.com/"
SRC_URI="http://sphinxsearch.com/files/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc x86 ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris"
IUSE="debug +id64 mariadb mysql odbc postgres re2 stemmer syslog xml"
REQUIRED_USE="mysql? ( !mariadb ) mariadb? ( !mysql )"
RDEPEND="
mysql? ( dev-db/mysql-connector-c:= )
mariadb? ( dev-db/mariadb-connector-c:= )
postgres? ( dev-db/postgresql:* )
odbc? ( dev-db/unixODBC )
re2? ( dev-libs/re2:= )
stemmer? ( dev-libs/snowball-stemmer:= )
xml? ( dev-libs/expat )
virtual/libiconv"
S=${WORKDIR}/${MY_P}
src_prepare() {
epatch "${FILESDIR}"/${PN}-2.0.1_beta-darwin8.patch
# drop nasty hardcoded search path breaking Prefix
# We patch configure directly since otherwise we need to run
# eautoreconf twice and that causes problems, bug 425380
sed -i -e 's/\/usr\/local\//\/someplace\/nonexisting\//g' configure || die
if use mariadb ; then
sed -i -e 's/mysql_config/mariadb_config/g' configure || die
fi
# Fix QA compilation warnings.
sed -i -e '19i#include <string.h>' api/libsphinxclient/test.c || die
eapply_user
pushd api/libsphinxclient || die
eautoreconf
popd || die
# Drop bundled code to ensure building against system versions. We
# cannot remove libstemmer_c since configure updates its Makefile.
rm -rf libexpat libre2 || die
}
src_configure() {
# fix libiconv detection
use !elibc_glibc && export ac_cv_search_iconv=-liconv
local mysql_with
if use mysql || use mariadb ; then
mysql_with="--with-mysql"
else
mysql_with="--without-mysql"
fi
econf \
--sysconfdir="${EPREFIX}/etc/${PN}" \
$(use_enable id64) \
$(use_with debug) \
${mysql_with} \
$(use_with odbc unixodbc) \
$(use_with postgres pgsql) \
$(use_with re2) \
--with-re2-libs="${EPREFIX}/usr/$(get_libdir)/libre2.so" \
$(use_with stemmer libstemmer) \
$(use_with syslog syslog) \
$(use_with xml libexpat )
cd api/libsphinxclient || die
econf STRIP=:
}
src_compile() {
emake AR="$(tc-getAR)"
emake -j 1 -C api/libsphinxclient
}
src_test() {
# Tests require a live database and only work from the source
# directory.
:
}
src_install() {
emake DESTDIR="${D}" install
emake DESTDIR="${D}" -C api/libsphinxclient install
dodoc doc/*
dodir /var/lib/sphinx
dodir /var/log/sphinx
newinitd "${FILESDIR}"/searchd.rc searchd
}

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@ -27,7 +27,7 @@ src_prepare() {
}
src_compile() {
emake CC=$(tc-getCC) CFLAGS="${CPPFLAGS} ${CFLAGS} ${LDFLAGS}"
emake CC="$(tc-getCC)" CFLAGS="${CPPFLAGS} ${CFLAGS} ${LDFLAGS}"
}
src_install() {

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -32,7 +32,7 @@ src_prepare() {
}
src_compile() {
emake CC=$(tc-getCC) LDFLAGS="${LDFLAGS}"
emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}"
}
src_install() {

@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@ -29,7 +29,7 @@ src_prepare() {
}
src_compile() {
emake CC=$(tc-getCC) LDFLAGS="${LDFLAGS}"
emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}"
}
src_install() {

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save