parent
479db4c8f3
commit
a9b19be494
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29441 BLAKE2B abdcdc378b10adbd34a5878ee9a57359c3d23fd42429108e4fc69b3ce7103c8e0c8db25b4511f5e5770a0033a794b423a04699451204e248be22deeb8c03d1b8 SHA512 fa11b6f4b51e7aea5b8e396a98ab7ba40a014d205a8ebe7b25bb5e37ae4925e8b5b26638491991a564c324dbd1c8da7868d2fd26fb38bf3cde9fe38d876ff48e
|
||||
TIMESTAMP 2023-04-18T11:39:54Z
|
||||
MANIFEST Manifest.files.gz 29479 BLAKE2B 279e2ed4a638e70350b795a54f206b07f867d9ee75516a0085c9d77b837525db35b662a3e6ed040adf39d1f6d2d8fd4e8340c723ea23bf0bb12caac1fd0dd330 SHA512 9b953c0999e3776924c586c1c209d3f6d87fb820a094c0955209f61a2dde9629cc39d69afea7291c929dd48ea6a1f14e177d606df0485ac1860ef372f74dbce2
|
||||
TIMESTAMP 2023-04-20T18:09:54Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmQ+gYpfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmRBf/JfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klBgaA/+KEYNxQ1OoNKWahfmpeXUhLkYHQUlak1N83H1TrYNNnD42bmmBgkIboyz
|
||||
YCjXZTmscwc+JYk71E6NxRz2ZL/RdtfwUqUO2o4ggEi8ydVJufvj67hbVF+NvxQD
|
||||
UusviheDSGdHiod1J2H82wT5gIkxglaz9dAFS73MfyiPRZFfqAzcaMVAfCB0O/05
|
||||
nlsB8laXXl1ATjCuWKPRrkwwnhHJfMEKgsOeQtDCCk74b+0t4Cw/MHRHivg1Fs4K
|
||||
uPOTTc2J3uqhfHfcFqR22T/jqWwsS1VXJcIk0equBErfbhA5xfH7rcDmPqj3clBw
|
||||
EEtDAjCPYzQfs8z4KeGxVIW1IgLOswJtKfQGHWU92qMIWDAYxm8L4P1FQg+H3qbS
|
||||
K6E/JwkBYzdnuUrfct1UBWFFKLqBGydDe4bB7r+OQRvOByQek8J4BeXf0ViO3bli
|
||||
9FYMHVBwKiSbZkkbwEClIhlhS9YY2m5fgCluVRJyW/JqTAMdRNBaHSOLNuNU/Zd3
|
||||
1fPzO/O8AMuT/HhE3LyFpXT0AreFSuyV31Od87Qklartwnq8IkCaEfnd/PToBq+q
|
||||
GaMcGgA2q4JqW63qM8I8SyNqE3wqQ/NcHHqI2ngsPq2fZlIi939XFybVsXV7v+U2
|
||||
J8KmFrsqoeadto4iYfzPgZPNo1cu2bRaWjQma46o2iJMElhWR2M=
|
||||
=rkv/
|
||||
klAJXQ/9Fo4Q2Hy0BuuyE5sohttZ+BI4UP9ZF9ZU9z083DYk4uw0+q2RnFDI3FGY
|
||||
5NKUaku9BwCL/A37lhwEcPU8fp2vcUoOp4ofLeTHVWF4T84Ce8Fyq8Qu1VmKVZx/
|
||||
LztO0G6mO0lVo8DUEG11l2A+VizTjvii9qMN50/2s6uKATe7bO1wQk8P8TiLc48V
|
||||
n+yzLwWqyIV70otdvynkaGoTx+qHZd7RA0JKjwpQPjoSklVP4oA5IKmg3vRptqSN
|
||||
/4Ccku2SpJnPs9ts23XXfBfJtGdQCBczqZ/SvjAKh46UZLDTfwWg08kCgPzMPU3r
|
||||
Bv5zjXJVAE0oADqFLCIdpNpn+5rmgTvUeyC6i0CBqRmZx6DfMLAdzR68+XRTeaZP
|
||||
4uADPSfYXzudTJdmXTg7bvdeVZ1SZ/AeJryn5lTed+Zj+DA+a8CGMvHfyHTMJ50q
|
||||
hZJMXQnx7Bwo1g5gJMW24k3TT3V6fWuB2U4L8aZCIQALd+UDBAdenJT4/KIT+UkX
|
||||
JFrtAD/JU2LQW0sFkPAjYv9V/vDddbcHLnZz45jSk8v1PDZ0HSOXlkcsvfnJtn8C
|
||||
R2uMzSbv+ypJ0aU/svZR1I+z0Sz+ilIYu7X+pUbZhPhRXK0ztRYImH8VyZMSmNHm
|
||||
EX/cJsSZtwvbKrkzOuBLKPXCGgnypel8+j3D+QoowMTWe/8Qq5c=
|
||||
=pO4i
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,8 +1,10 @@
|
||||
AUX speech-tools-2.1-underlinking.patch 565 BLAKE2B 1be43841d09fe456874323a02d63253dae37dfe6f6969f7d9941c8a39d0ad9127e8fd1b87f5b6e59fcc505f2c9e2bc988b4f572ccbb01418d11ca0fda88b262d SHA512 4091b64da995f2f859f8debd7c6b7c20bf3a788c91d8aa7651f3c6f89445c9fc60b60923a3056de678ec17faee41839917131b9a3176e53c0afc11e24fe92e47
|
||||
AUX speech-tools-2.5.0-drop-curses.patch 1413 BLAKE2B 4fce1450ce3e3067dbe44d9148e1a73137a0aa77736c7e628181d1e69bc3d4d88a7cc55436bfac6312a3c80390742011f74079387362bd6cc2f43f1016609388 SHA512 9e41db0ac2eb15956723b0ea3b6525a6c5ccc3094f2470afee605deccbeda1dcd8f000e6240f0efb08fafdc573974afbc77c8271eedde2e58ac1a6790dd55345
|
||||
AUX speech-tools-2.5.0-fno-common.patch 1003 BLAKE2B 6b4dcdf205f2e986e659efda4d52c447b0183cc59146ec892b86d360f16fccab0a85667743c6e0f31a07f20983cce604d3202756c16eae4eff2eb88b1079407c SHA512 ae34fadda5f92dfade923af07222c1ed35b8b39bafc7604a86cebd7196888b2cf9a41fe2686e5210a556309a9c2e71076d22e3f56f1ccec0aca3d4a7bd18f3c1
|
||||
AUX speech-tools-2.5.0-musl-isnan.patch 1951 BLAKE2B 01cdd30d53f7a095b7f97678ca3282304161667915e198a6b152752a73559474f2d825dd19ffa25c602719115cdae160919bfc365bfc0f1bfeab019dcfe28876 SHA512 51a4e0b0f9ffc73b6c14471c69cc6fcf1c2ea237d256b46b3936ac9589cbeed7978f900e5a129df4cb89ecc444130775a03dda66979587a8b34b2cabcf845851
|
||||
AUX speech-tools-2.5.0-warnings.patch 1467 BLAKE2B ae91bce60190029ba2850c2649e3f7f116357b2c4f77f90a1ba3176ba43daf732d690e1e0e6ad2820db34417f4732d8c177e2fb25325d4994c29061739f2fc95 SHA512 16911fb73f43cdb9db7d426cc68549077bd53798dadd17965607853886284521f5bfa2632b6888e46eca3b3fe2e5bd27523304aa9305e2a410d5477f46e618d8
|
||||
DIST speech_tools-2.1-r3-patches.tar.gz 6876 BLAKE2B 84ddc30de90459f913cc32d4338097feb35dc08c48cbda7fc47a78ee0384668828d7166a5ebb1264272a6c326afd4ff2efdf1d793bb8f33937c09d2c7cd9a2b5 SHA512 db4d656a77e3fcfc43447c11b160cf9b45f0c4ec10f2697e4357f0ec86ea56e2841f1b887493a781406975003f5d8065ffbb75eeebb79fcd9873055b52c248e3
|
||||
DIST speech_tools-2.5.0-release.tar.gz 1328624 BLAKE2B 445dd5a5e39c02352a850fd92de5b3852ae382a4bd013dccb3fdd46b0b22ce0bd10d089f9e860ae3d3e73a489b20b7c8b78335e57a49e40ae01b0f4997d55315 SHA512 013540a5252efb57633f442143a51bc87aac719dfb46c8f47e750322d19dac9b504f55125462a2ee74a6b0bd2661a63a1fc73a8c3c6d2886e38b136a80447fd7
|
||||
EBUILD speech-tools-2.5.0-r1.ebuild 4034 BLAKE2B 1a7fcdb442f26b041060f02c49a869dedb6e05fdbfab57d530a79fb05fd26d1197c4079bfba26446dfc2bab2a4729f9999287d3f2d69efc3c195bddac8bb8a9b SHA512 ed252c93cf41931efbed7e1fa82ab847800b76770e6d653ab1524c18cbe50a607822097d98b44d950d2449a4cfec83c35290a145aa088ebf3d9031aa323d8751
|
||||
EBUILD speech-tools-2.5.0-r2.ebuild 4076 BLAKE2B df874fc145f7e60f58389fdc493b633b6aaa72619d49661a4c3ba9c9aeb87f81d1e03e3cd2ee3e8b7578dff855d910f8fa06f2c4b82800701071bebeb6ac99af SHA512 04ee8a2b233799021087459172cb18cd3fc387143ca93faeff543bbe81db6e0d9738f1de4109fb0678ee5418a71e7668c4a2254c854c0e8f99a4fca2889066bc
|
||||
MISC metadata.xml 483 BLAKE2B b5318b0e97d1e7e19848eeae2b447037e940cda1ca1c7cc4204cbf9d95d52a5fce5430efe94f0d8e3066a974b78d1a8abdc72580b7678ae86e30577e9545f787 SHA512 e7d6f2ccbebfb2ae9bf41577a3b1d902c7d711d5887d9a4233f7c5d42a57915e1874f97676c61d79fb5ececa0e7244f58533c17f098c717712ac274d60c14ee7
|
||||
|
@ -0,0 +1,65 @@
|
||||
See https://bugs.openjdk.org/browse/JDK-8178689 for some analysis - we can
|
||||
safely replace the deprecated/obsolete isnanf (which musl doesn't immplement)
|
||||
with isnan.
|
||||
|
||||
https://bugs.gentoo.org/896170
|
||||
https://bugs.gentoo.org/829344
|
||||
--- a/intonation/tilt/tilt_utils.cc
|
||||
+++ b/intonation/tilt/tilt_utils.cc
|
||||
@@ -133,7 +133,7 @@ float rfc_to_t_tilt(EST_Features &e)
|
||||
{
|
||||
float t_tilt;
|
||||
t_tilt = (rfc_to_a_tilt(e) + rfc_to_d_tilt(e)) / 2;
|
||||
- if (isnanf(t_tilt))
|
||||
+ if (isnan(t_tilt))
|
||||
t_tilt = 0.0;
|
||||
return t_tilt;
|
||||
}
|
||||
--- a/sigpr/pda/smooth_pda.cc
|
||||
+++ b/sigpr/pda/smooth_pda.cc
|
||||
@@ -112,7 +112,7 @@ void smooth_portion(EST_Track &c, EST_Features &op)
|
||||
|
||||
for (i = 0; i < c.num_frames(); ++i)
|
||||
{ // occasionally NaNs result...
|
||||
- if (isnanf(a[i]))
|
||||
+ if (isnan(a[i]))
|
||||
{
|
||||
c.set_break(i);
|
||||
c.a(i) = 0.0;
|
||||
--- a/sigpr/sigpr_frame.cc
|
||||
+++ b/sigpr/sigpr_frame.cc
|
||||
@@ -314,7 +314,7 @@ void lpc2cep(const EST_FVector &lpc, EST_FVector &cep)
|
||||
for (n = 0; n < cep.length(); n++)
|
||||
{
|
||||
// check if NaN -- happens on some frames of silence
|
||||
- if (isnanf(cep[n]) ) cep[n] = 0.0;
|
||||
+ if (isnan(cep[n]) ) cep[n] = 0.0;
|
||||
|
||||
if (cep[n] > MAX_ABS_CEPS){
|
||||
cerr << "WARNING : cepstral coeff " << n << " was " <<
|
||||
--- a/stats/confusion.cc
|
||||
+++ b/stats/confusion.cc
|
||||
@@ -138,7 +138,7 @@ void print_confusion(const EST_FMatrix &a, EST_StrStr_KVL &list,
|
||||
cout.precision(3);
|
||||
cout.setf(ios::right);
|
||||
// cout.setf(ios::fixed, ios::floatfield);
|
||||
- if (isnanf(correct(i)))
|
||||
+ if (isnan(correct(i)))
|
||||
cout << endl;
|
||||
else
|
||||
cout << correct(i) << endl;
|
||||
--- a/include/EST_math.h
|
||||
+++ b/include/EST_math.h
|
||||
@@ -81,12 +81,6 @@ extern "C" {
|
||||
#define isnanf(X) isnan(X)
|
||||
#endif
|
||||
|
||||
-/* Linux (and presumably Hurd too as Linux is GNU libc based) */
|
||||
-/* Sorry I haven't confirmed this cpp symbol yet */
|
||||
-#if defined(linux)
|
||||
-#define isnanf(X) __isnanf(X)
|
||||
-#endif
|
||||
-
|
||||
/* OS/2 with gcc EMX */
|
||||
#if defined(__EMX__)
|
||||
#define isnanf(X) isnan(X)
|
@ -0,0 +1,156 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools flag-o-matic toolchain-funcs
|
||||
|
||||
MY_P=${P/speech-/speech_}
|
||||
PATCHSET="r3"
|
||||
|
||||
DESCRIPTION="Speech tools for Festival Text to Speech engine"
|
||||
HOMEPAGE="https://www.cstr.ed.ac.uk/projects/speech_tools/"
|
||||
SRC_URI="http://www.festvox.org/packed/festival/$(ver_cut 1-2)/${MY_P}-release.tar.gz
|
||||
https://dev.gentoo.org/~neurogeek/${PN}/speech_tools-2.1-${PATCHSET}-patches.tar.gz"
|
||||
S="${WORKDIR}/speech_tools"
|
||||
|
||||
LICENSE="FESTIVAL HPND BSD rc regexp-UofT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="nas openmp X"
|
||||
|
||||
RDEPEND="
|
||||
media-libs/alsa-lib
|
||||
sys-libs/ncurses:=
|
||||
nas? ( media-libs/nas )
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXt
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
DOCS=( README.md lib/cstrutt.dtd lib/example_data )
|
||||
|
||||
PATCHES=(
|
||||
"${WORKDIR}/patch/02_all_gcc42.patch"
|
||||
"${WORKDIR}/patch/03_all_GentooLinux.patch"
|
||||
"${WORKDIR}/patch/05_all_sharedlib.patch"
|
||||
"${WORKDIR}/patch/06_all_gcc43-include.patch"
|
||||
"${WORKDIR}/patch/09_all_remove-shared-refs.patch"
|
||||
"${WORKDIR}/patch/10_all_base_class.patch"
|
||||
"${WORKDIR}/patch/81_all_etcpath.patch"
|
||||
"${WORKDIR}/patch/91_all_gentoo-config.patch"
|
||||
"${WORKDIR}/patch/92_all_ldflags_fix.patch"
|
||||
"${WORKDIR}/patch/94_all_ncurses_tinfo.patch"
|
||||
|
||||
# Fix underlinking, bug #493204
|
||||
"${FILESDIR}/${PN}-2.1-underlinking.patch"
|
||||
"${FILESDIR}/${PN}-2.5.0-fno-common.patch"
|
||||
"${FILESDIR}/${PN}-2.5.0-drop-curses.patch"
|
||||
"${FILESDIR}/${P}-warnings.patch"
|
||||
"${FILESDIR}/${P}-musl-isnan.patch"
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i -e '/^CXXFLAGS =/s|CC_OTHER_FLAGS|CXX_OTHER_FLAGS|' \
|
||||
config/compilers/gcc_defaults.mak || die
|
||||
|
||||
sed -i -e 's,{{HORRIBLELIBARCHKLUDGE}},"/usr/$(get_libdir)",' \
|
||||
main/siod_main.cc || die
|
||||
|
||||
# bug #309983
|
||||
sed -i -e "s:\(GCC_SYSTEM_OPTIONS =\).*:\1:" \
|
||||
"${S}"/config/systems/sparc_SunOS5.mak || die
|
||||
|
||||
sed -i -e "s|\$(OMP_OPTS)|$(use openmp && echo -fopenmp)|g" \
|
||||
-e "s|\$(OMP_DEFS)|$(use openmp && echo -DOMP_WAGON=1)|g" \
|
||||
-e "/MAKE_SHARED_LIB =/s|-shared|$(use openmp && echo -fopenmp) -shared|" \
|
||||
config/compilers/gcc_defaults.mak || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local CONFIG=config/config.in
|
||||
|
||||
sed -i -e 's/@COMPILERTYPE@/gcc42/' ${CONFIG} || die
|
||||
|
||||
if use nas; then
|
||||
sed -i -e "s/#.*\(INCLUDE_MODULES += NAS_AUDIO\)/\1/" \
|
||||
${CONFIG} || die
|
||||
fi
|
||||
|
||||
if ! use X; then
|
||||
sed -i -e "s/-lX11 -lXt//" config/modules/esd_audio.mak || die
|
||||
fi
|
||||
|
||||
econf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Lacks prototypes, bug #881863
|
||||
append-cflags -std=gnu89
|
||||
# Uses 'register' keyword removed in C++17, bug #894184
|
||||
append-cxxflags -std=c++14
|
||||
|
||||
emake -j1 \
|
||||
CC="$(tc-getCC)" \
|
||||
CXX="$(tc-getCXX)" \
|
||||
CC_OTHER_FLAGS="${CFLAGS}" \
|
||||
CXX_OTHER_FLAGS="${CXXFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}" \
|
||||
AR="$(tc-getAR)" \
|
||||
RANLIB="$(tc-getRANLIB)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
dolib.so lib/libest*.so*
|
||||
|
||||
insinto /usr/share/speech-tools
|
||||
doins -r config base_class
|
||||
|
||||
insinto /usr/share/speech-tools/lib
|
||||
doins -r lib/siod
|
||||
|
||||
mv include speech-tools || die
|
||||
doheader -r speech-tools
|
||||
dosym ../../include/speech-tools /usr/share/speech-tools/include
|
||||
|
||||
for file in bin/*; do
|
||||
[ "${file}" = "bin/Makefile" ] && continue
|
||||
dobin ${file}
|
||||
dstfile="${ED}/usr/${file}"
|
||||
sed -i -e "s:${S}/testsuite/data:/usr/share/speech-tools/testsuite:g" \
|
||||
${dstfile} || die
|
||||
sed -i -e "s:${S}/bin:/usr/$(get_libdir)/speech-tools:g" \
|
||||
${dstfile} || die
|
||||
sed -i -e "s:${S}/main:/usr/$(get_libdir)/speech-tools:g" \
|
||||
${dstfile} || die
|
||||
|
||||
# This just changes LD_LIBRARY_PATH
|
||||
sed -i -e "s:${S}/lib:/usr/$(get_libdir):g" ${dstfile} || die
|
||||
done
|
||||
|
||||
exeinto /usr/$(get_libdir)/speech-tools
|
||||
for file in `find main -perm /111 -type f`; do
|
||||
doexe ${file}
|
||||
done
|
||||
|
||||
# Remove bcat (only useful for testing on windows, see bug #418301).
|
||||
rm "${ED}/usr/bin/bcat" || die
|
||||
rm "${ED}/usr/$(get_libdir)/speech-tools/bcat" || die
|
||||
}
|
Binary file not shown.
@ -0,0 +1,80 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# TODO
|
||||
tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing
|
||||
tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
|
||||
)
|
||||
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST djbdns-logparse-0.0.2.tar.gz 23425 BLAKE2B dfcad00ddc27d85497d671fde9d51cad033d63b132b7d73e35b65825af4c222239a4815a8081eecdeeab18ec3a00237a16a4a12b647ad6520c0a8e302d0830cc SHA512 8b4b8a59567b929e20571f50bbd302280bcf2755d6e016475db20b98884d380bdeb6800a1ce815265b0655c4f5c725c28575c89f907c89d85a163f88b7a97f6c
|
||||
EBUILD djbdns-logparse-0.0.2-r1.ebuild 798 BLAKE2B 99eeb49ba9c920464b012cc17745d8a32bb1890020ad72d234ea600521b0d75d60a2cd941f12ef32dffce5a11fe790f2eefe777325ff6a68d83fb826f9653e4e SHA512 85a9038ce1fa4e553dcf2a6a1da73c647fdc527409cbb46c57f3037c924d32989c316a85e942e44f1d3b33911cf9dc68932728ed94cf471fc555f173d21fd6ee
|
||||
EBUILD djbdns-logparse-0.0.2.ebuild 765 BLAKE2B 58311221a1545a6b9b192b8e0714e3828a07e437bf5676d1070e05c97d77f015663bd3fec17f08ccab4bf3bb9fc0f243b979edc93bf33daae4b5248847704829 SHA512 b7f33271cbd311bbd5cd2c6d671d1f7f1ed694968895d6b4bc9427136fa0a18696aa2c65969e70e2fdd47b3f176182b1f775de0dad94080a409fe6764e517a82
|
||||
EBUILD djbdns-logparse-0.0.2-r1.ebuild 797 BLAKE2B f202f982c679336de7df32fd85e55f48e74e9d680f6cb6098d05a5941351bd5c9dce81d8926882cd9f1b50b9cc66d1f75f2a3153bb08ed1fb16d7c2d07350680 SHA512 42124b16a36b42e0bb839642b148f9eb38da883c880edb4364d58baeef6dd5612d9a7141dd0b110fa66d6e0a90ca92a5b2ea468447844ee044e27f16ed22506a
|
||||
MISC metadata.xml 219 BLAKE2B 27094593eb47f098fe9df926d3a827b65c2ca39ac6b03d392efe2c19d646274e5b462f65a7177ba2556a9167c994544688e53a3df810dc7f86ae43c4a75fd59e SHA512 e990bf6d766d6c0380344187a03b66380e4ed7a1554dd7a900ccf1f6f2dd3a51b06b382cedd5c73e0ad75301436b351fea0e7f1fb720c3d1345a8958554d341c
|
||||
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..10} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Make tinydns and dnscache logs human-readable"
|
||||
HOMEPAGE="http://michael.orlitzky.com/code/djbdns-logparse.xhtml"
|
||||
SRC_URI="http://michael.orlitzky.com/code/releases/${P}.tar.gz"
|
||||
LICENSE="AGPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# djbdns-logparse pipes the logs through the "tai64nlocal" program
|
||||
# that comes with sys-process/daemontools.
|
||||
RDEPEND="sys-process/daemontools"
|
||||
BDEPEND="test? ( ${RDEPEND} )"
|
||||
|
||||
python_install_all() {
|
||||
doman "doc/man1/${PN}.1"
|
||||
local DOCS=( doc/README )
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -0,0 +1,496 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
inherit autotools linux-info python-any-r1 systemd
|
||||
|
||||
DESCRIPTION="An enhanced multi-threaded syslogd with database support and more"
|
||||
HOMEPAGE="https://www.rsyslog.com/"
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/rsyslog/${PN}.git"
|
||||
|
||||
DOC_REPO_URI="https://github.com/rsyslog/${PN}-doc.git"
|
||||
|
||||
inherit git-r3
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
SRC_URI="
|
||||
https://www.rsyslog.com/files/download/${PN}/${P}.tar.gz
|
||||
doc? ( https://www.rsyslog.com/files/download/${PN}/${PN}-doc-${PV}.tar.gz )
|
||||
"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3 LGPL-3 Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="clickhouse curl dbi debug doc elasticsearch +gcrypt gnutls imhttp"
|
||||
IUSE+=" impcap jemalloc kafka kerberos kubernetes mdblookup"
|
||||
IUSE+=" mongodb mysql normalize omhttp omhttpfs omudpspoof +openssl"
|
||||
IUSE+=" postgres rabbitmq redis relp rfc3195 rfc5424hmac snmp +ssl"
|
||||
IUSE+=" systemd test usertools +uuid xxhash zeromq"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
REQUIRED_USE="
|
||||
kubernetes? ( normalize )
|
||||
ssl? ( || ( gnutls openssl ) )
|
||||
"
|
||||
|
||||
BDEPEND=">=sys-devel/autoconf-archive-2015.02.24
|
||||
sys-apps/lsb-release
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
jemalloc? ( <sys-libs/libfaketime-0.9.7 )
|
||||
!jemalloc? ( sys-libs/libfaketime )
|
||||
${PYTHON_DEPS}
|
||||
)"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/libfastjson-0.99.8:=
|
||||
>=dev-libs/libestr-0.1.9
|
||||
>=sys-libs/zlib-1.2.5
|
||||
curl? ( >=net-misc/curl-7.35.0 )
|
||||
dbi? ( >=dev-db/libdbi-0.8.3 )
|
||||
elasticsearch? ( >=net-misc/curl-7.35.0 )
|
||||
gcrypt? ( >=dev-libs/libgcrypt-1.5.3:= )
|
||||
imhttp? (
|
||||
dev-libs/apr-util
|
||||
www-servers/civetweb
|
||||
virtual/libcrypt:=
|
||||
)
|
||||
impcap? ( net-libs/libpcap )
|
||||
jemalloc? ( >=dev-libs/jemalloc-3.3.1:= )
|
||||
kafka? ( >=dev-libs/librdkafka-0.9.0.99:= )
|
||||
kerberos? ( virtual/krb5 )
|
||||
kubernetes? ( >=net-misc/curl-7.35.0 )
|
||||
mdblookup? ( dev-libs/libmaxminddb:= )
|
||||
mongodb? ( >=dev-libs/mongo-c-driver-1.1.10:= )
|
||||
mysql? ( dev-db/mysql-connector-c:= )
|
||||
normalize? (
|
||||
>=dev-libs/liblognorm-2.0.3:=
|
||||
)
|
||||
clickhouse? ( >=net-misc/curl-7.35.0 )
|
||||
omhttpfs? ( >=net-misc/curl-7.35.0 )
|
||||
omudpspoof? ( >=net-libs/libnet-1.1.6 )
|
||||
postgres? ( >=dev-db/postgresql-8.4.20:= )
|
||||
rabbitmq? ( >=net-libs/rabbitmq-c-0.3.0:= )
|
||||
redis? (
|
||||
>=dev-libs/hiredis-0.11.0:=
|
||||
dev-libs/libevent[threads(+)]
|
||||
)
|
||||
relp? ( >=dev-libs/librelp-1.2.17:= )
|
||||
rfc3195? ( >=dev-libs/liblogging-1.0.1:=[rfc3195] )
|
||||
rfc5424hmac? (
|
||||
>=dev-libs/openssl-0.9.8y:0=
|
||||
)
|
||||
snmp? ( >=net-analyzer/net-snmp-5.7.2 )
|
||||
ssl? (
|
||||
gnutls? ( >=net-libs/gnutls-2.12.23:0= )
|
||||
openssl? (
|
||||
dev-libs/openssl:0=
|
||||
)
|
||||
)
|
||||
systemd? ( >=sys-apps/systemd-234 )
|
||||
uuid? ( sys-apps/util-linux:0= )
|
||||
xxhash? ( dev-libs/xxhash:= )
|
||||
zeromq? (
|
||||
>=net-libs/czmq-4:=[drafts]
|
||||
)"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
elibc_musl? ( sys-libs/queue-standalone )
|
||||
"
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
BDEPEND+=" doc? ( >=dev-python/sphinx-1.1.3-r7 )"
|
||||
BDEPEND+=" >=sys-devel/flex-2.5.39-r1"
|
||||
BDEPEND+=" >=sys-devel/bison-2.4.3"
|
||||
BDEPEND+=" >=dev-python/docutils-0.12"
|
||||
fi
|
||||
|
||||
CONFIG_CHECK="~INOTIFY_USER"
|
||||
WARNING_INOTIFY_USER="CONFIG_INOTIFY_USER isn't set. Imfile module on this system will only support polling mode!"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-8.2112.0-pr5024-configure.patch )
|
||||
|
||||
pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
git-r3_fetch
|
||||
git-r3_checkout
|
||||
else
|
||||
unpack ${P}.tar.gz
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
local _EGIT_BRANCH=
|
||||
if [[ -n "${EGIT_BRANCH}" ]]; then
|
||||
# Cannot use rsyslog commits/branches for documentation repository
|
||||
_EGIT_BRANCH=${EGIT_BRANCH}
|
||||
unset EGIT_BRANCH
|
||||
fi
|
||||
|
||||
git-r3_fetch "${DOC_REPO_URI}"
|
||||
git-r3_checkout "${DOC_REPO_URI}" "${S}"/docs
|
||||
|
||||
if [[ -n "${_EGIT_BRANCH}" ]]; then
|
||||
# Restore previous EGIT_BRANCH information
|
||||
EGIT_BRANCH=${_EGIT_BRANCH}
|
||||
fi
|
||||
else
|
||||
cd "${S}" || die "Cannot change dir into '${S}'"
|
||||
mkdir docs || die "Failed to create docs directory"
|
||||
cd docs || die "Failed to change dir into '${S}/docs'"
|
||||
unpack ${PN}-doc-${PV}.tar.gz
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# https://github.com/rsyslog/rsyslog/issues/3626
|
||||
sed -i \
|
||||
-e '\|^#!/bin/bash$|a exit 77' \
|
||||
tests/mmkubernetes-cache-expir*.sh \
|
||||
|| die "Failed to disabled known test failure mmkubernetes-cache-expir*.sh"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Maintainer notes:
|
||||
# * Guardtime support is missing because libgt isn't yet available
|
||||
# in portage.
|
||||
# * Hadoop's HDFS file system output module is currently not
|
||||
# supported in Gentoo because nobody is able to test it
|
||||
# (JAVA dependency).
|
||||
# * dev-libs/hiredis doesn't provide pkg-config (see #504614,
|
||||
# upstream PR 129 and 136) so we need to export HIREDIS_*
|
||||
# variables because rsyslog's build system depends on pkg-config.
|
||||
|
||||
if use redis; then
|
||||
export HIREDIS_LIBS="-L${EPREFIX}/usr/$(get_libdir) -lhiredis"
|
||||
export HIREDIS_CFLAGS="-I${EPREFIX}/usr/include"
|
||||
fi
|
||||
|
||||
local myeconfargs=(
|
||||
--disable-debug-symbols
|
||||
--disable-generate-man-pages
|
||||
--without-valgrind-testbench
|
||||
--disable-liblogging-stdlog
|
||||
--disable-imfile-tests # Some imfile tests fail (noticed in version 8.2208.0)
|
||||
$(use_enable test testbench)
|
||||
$(use_enable test libfaketime)
|
||||
$(use_enable test extended-tests)
|
||||
# Input Plugins without dependencies
|
||||
--enable-imbatchreport
|
||||
--enable-imdiag
|
||||
--enable-imdocker
|
||||
--enable-imfile
|
||||
--enable-improg
|
||||
--enable-impstats
|
||||
--enable-imptcp
|
||||
# Message Modificiation Plugins without dependencies
|
||||
--enable-mmanon
|
||||
--enable-mmaudit
|
||||
--enable-mmcount
|
||||
--enable-mmfields
|
||||
--enable-mmjsonparse
|
||||
--enable-mmpstrucdata
|
||||
--enable-mmrm1stspace
|
||||
--enable-mmsequence
|
||||
--enable-mmtaghostname
|
||||
--enable-mmutf8fix
|
||||
# Output Modification Plugins without dependencies
|
||||
--enable-mail
|
||||
--enable-omprog
|
||||
--enable-omruleset
|
||||
--enable-omstdout
|
||||
--enable-omuxsock
|
||||
# Misc
|
||||
--enable-fmhash
|
||||
--enable-fmunflatten
|
||||
$(use_enable xxhash fmhash-xxhash)
|
||||
--enable-pmaixforwardedfrom
|
||||
--enable-pmciscoios
|
||||
--enable-pmcisconames
|
||||
--enable-pmdb2diag
|
||||
--enable-pmlastmsg
|
||||
$(use_enable normalize pmnormalize)
|
||||
--enable-pmnull
|
||||
--enable-pmpanngfw
|
||||
--enable-pmsnare
|
||||
# DB
|
||||
$(use_enable dbi libdbi)
|
||||
$(use_enable mongodb ommongodb)
|
||||
$(use_enable mysql)
|
||||
$(use_enable postgres pgsql)
|
||||
$(use_enable redis imhiredis)
|
||||
$(use_enable redis omhiredis)
|
||||
# Debug
|
||||
$(use_enable debug)
|
||||
$(use_enable debug diagtools)
|
||||
$(use_enable debug valgrind)
|
||||
# Misc
|
||||
$(use_enable clickhouse)
|
||||
$(use_enable curl fmhttp)
|
||||
$(use_enable elasticsearch)
|
||||
$(use_enable gcrypt libgcrypt)
|
||||
$(use_enable imhttp)
|
||||
$(use_enable impcap)
|
||||
$(use_enable jemalloc)
|
||||
$(use_enable kafka imkafka)
|
||||
$(use_enable kafka omkafka)
|
||||
$(use_enable kerberos gssapi-krb5)
|
||||
$(use_enable kubernetes mmkubernetes)
|
||||
$(use_enable normalize mmnormalize)
|
||||
$(use_enable mdblookup mmdblookup)
|
||||
$(use_enable omhttp)
|
||||
$(use_enable omhttpfs)
|
||||
$(use_enable omudpspoof)
|
||||
$(use_enable rabbitmq omrabbitmq)
|
||||
$(use_enable relp)
|
||||
$(use_enable rfc3195)
|
||||
$(use_enable rfc5424hmac mmrfc5424addhmac)
|
||||
$(use_enable snmp)
|
||||
$(use_enable snmp mmsnmptrapd)
|
||||
$(use_enable gnutls)
|
||||
$(use_enable openssl)
|
||||
$(use_enable systemd imjournal)
|
||||
$(use_enable systemd omjournal)
|
||||
$(use_enable usertools)
|
||||
$(use_enable uuid)
|
||||
$(use_enable zeromq imczmq)
|
||||
$(use_enable zeromq omczmq)
|
||||
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use doc && [[ "${PV}" == "9999" ]]; then
|
||||
einfo "Building documentation ..."
|
||||
local doc_dir="${S}/docs"
|
||||
cd "${doc_dir}" || die "Cannot chdir into \"${doc_dir}\"!"
|
||||
sphinx-build -b html source build || die "Building documentation failed!"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local _has_increased_ulimit=
|
||||
|
||||
# Sometimes tests aren't executable (i.e. when added via patch)
|
||||
einfo "Adjusting permissions of test scripts ..."
|
||||
find "${S}"/tests -type f -name '*.sh' \! -perm -111 -exec chmod a+x '{}' \; || \
|
||||
die "Failed to adjust test scripts permission"
|
||||
|
||||
if ulimit -n 3072; then
|
||||
_has_increased_ulimit="true"
|
||||
fi
|
||||
|
||||
if ! emake --jobs 1 check; then
|
||||
eerror "Test suite failed! :("
|
||||
|
||||
if [[ -z "${_has_increased_ulimit}" ]]; then
|
||||
eerror "Probably because open file limit couldn't be set to 3072."
|
||||
fi
|
||||
|
||||
if has userpriv ${FEATURES}; then
|
||||
eerror "Please try to reproduce the test suite failure with FEATURES=-userpriv " \
|
||||
"before you submit a bug report."
|
||||
fi
|
||||
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DOCS=(
|
||||
AUTHORS
|
||||
ChangeLog
|
||||
"${FILESDIR}"/README.gentoo
|
||||
)
|
||||
|
||||
use doc && local HTML_DOCS=( "${S}/docs/build/." )
|
||||
|
||||
default
|
||||
|
||||
newconfd "${FILESDIR}/${PN}.confd-r1" ${PN}
|
||||
newinitd "${FILESDIR}/${PN}.initd-r1" ${PN}
|
||||
|
||||
systemd_newunit "${FILESDIR}/${PN}.service" ${PN}.service
|
||||
|
||||
keepdir /var/empty/dev
|
||||
keepdir /var/spool/${PN}
|
||||
keepdir /etc/ssl/${PN}
|
||||
keepdir /etc/${PN}.d
|
||||
|
||||
insinto /etc
|
||||
newins "${FILESDIR}/${PN}.conf" ${PN}.conf
|
||||
|
||||
insinto /etc/rsyslog.d/
|
||||
newins "${FILESDIR}/50-default-r1.conf" 50-default.conf
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}-r1.logrotate" ${PN}
|
||||
|
||||
if use mysql; then
|
||||
insinto /usr/share/${PN}/scripts/mysql
|
||||
doins plugins/ommysql/createDB.sql
|
||||
fi
|
||||
|
||||
if use postgres; then
|
||||
insinto /usr/share/${PN}/scripts/pgsql
|
||||
doins plugins/ompgsql/createDB.sql
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local advertise_readme=0
|
||||
|
||||
if [[ -z "${REPLACING_VERSIONS}" ]]; then
|
||||
# This is a new installation
|
||||
|
||||
advertise_readme=1
|
||||
|
||||
if use mysql || use postgres; then
|
||||
echo
|
||||
elog "Sample SQL scripts for MySQL & PostgreSQL have been installed to:"
|
||||
elog " /usr/share/doc/${PF}/scripts"
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
echo
|
||||
elog "To create a default CA and certificates for your server and clients, run:"
|
||||
elog " emerge --config =${PF}"
|
||||
elog "on your logging server. You can run it several times,"
|
||||
elog "once for each logging client. The client certificates will be signed"
|
||||
elog "using the CA certificate generated during the first run."
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ ${advertise_readme} -gt 0 ]]; then
|
||||
# We need to show the README file location
|
||||
|
||||
echo ""
|
||||
elog "Please read"
|
||||
elog ""
|
||||
elog " ${EPREFIX}/usr/share/doc/${PF}/README.gentoo*"
|
||||
elog ""
|
||||
elog "for more details."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
if ! use ssl; then
|
||||
einfo "There is nothing to configure for rsyslog unless you"
|
||||
einfo "used USE=ssl to build it."
|
||||
return 0
|
||||
fi
|
||||
|
||||
if ! hash certtool &>/dev/null; then
|
||||
die "certtool not found! Is net-libs/gnutls[tools] is installed?"
|
||||
fi
|
||||
|
||||
# Make sure the certificates directory exists
|
||||
local CERTDIR="${EROOT}/etc/ssl/${PN}"
|
||||
if [[ ! -d "${CERTDIR}" ]]; then
|
||||
mkdir "${CERTDIR}" || die
|
||||
fi
|
||||
einfo "Your certificates will be stored in ${CERTDIR}"
|
||||
|
||||
# Create a default CA if needed
|
||||
if [[ ! -f "${CERTDIR}/${PN}_ca.cert.pem" ]]; then
|
||||
einfo "No CA key and certificate found in ${CERTDIR}, creating them for you..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_ca.privkey.pem" || die
|
||||
chmod 400 "${CERTDIR}/${PN}_ca.privkey.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<- _EOF
|
||||
cn = Portage automated CA
|
||||
ca
|
||||
cert_signing_key
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-self-signed \
|
||||
--load-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--outfile "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--template "${T}/${PF}.$$" || die
|
||||
chmod 400 "${CERTDIR}/${PN}_ca.privkey.pem"
|
||||
|
||||
# Create the server certificate
|
||||
echo
|
||||
einfon "Please type the Common Name of the SERVER you wish to create a certificate for: "
|
||||
read -r CN
|
||||
|
||||
einfo "Creating private key and certificate for server ${CN}..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.key.pem" || die
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<- _EOF
|
||||
cn = ${CN}
|
||||
tls_www_server
|
||||
dns_name = ${CN}
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-certificate \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
|
||||
--load-privkey "${CERTDIR}/${PN}_${CN}.key.pem" \
|
||||
--load-ca-certificate "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--load-ca-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--template "${T}/${PF}.$$" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.cert.pem"
|
||||
|
||||
else
|
||||
einfo "Found existing ${CERTDIR}/${PN}_ca.cert.pem, skipping CA and SERVER creation."
|
||||
fi
|
||||
|
||||
# Create a client certificate
|
||||
echo
|
||||
einfon "Please type the Common Name of the CLIENT you wish to create a certificate for: "
|
||||
read -r CN
|
||||
|
||||
einfo "Creating private key and certificate for client ${CN}..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.key.pem" || die
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<- _EOF
|
||||
cn = ${CN}
|
||||
tls_www_client
|
||||
dns_name = ${CN}
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-certificate \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
|
||||
--load-privkey "${CERTDIR}/${PN}_${CN}.key.pem" \
|
||||
--load-ca-certificate "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--load-ca-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--template "${T}/${PF}.$$" || die
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.cert.pem"
|
||||
|
||||
rm -f "${T}/${PF}.$$"
|
||||
|
||||
echo
|
||||
einfo "Here is the documentation on how to encrypt your log traffic:"
|
||||
einfo " https://www.rsyslog.com/doc/rsyslog_tls.html"
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST su-exec-0.2.tar.gz 2426 BLAKE2B 79eda06463a238371e35dcc7acf2df9e8a7696a531a5dc9d0e9650219a5c72d71cf0e368f2178f83e949cf0f05fbc01e7023085fa2cffebcd8b78e82ab9756e2 SHA512 68155a06c716b362aee1214f22cd325b3e934c05b653d3b084a720458fb04207c0681d218b72adfd5ae8fab0262f7ab90e49eb2e218d1b0d7d7af7911715d4e1
|
||||
EBUILD su-exec-0.2.ebuild 594 BLAKE2B 0212dd1ab3e77e8f744797372d036247c4facaf1c1278d8853133b4ad576e0939fd6da90f58a95ff1732a1955bb116784dc6dfd300b2b8a776911fc7dd460c89 SHA512 e1ae4026491ea64588a19b4c1abcbcc3071a24a4382e8df120d4317f0ea0b3a5394296bee3bbfe69260402c26af22ae80d884e69d1b3352ae289afbe4f1c7951
|
||||
EBUILD su-exec-0.2.ebuild 594 BLAKE2B 01222c16f58c4f46cceb43a7271805b81ff5ab6188fb99ff154edd56d1d93649d9ecd897757df5c57e636f0dee3f2da01ecff0a851c7d28a6378a14b67b3aca4 SHA512 fecd4cf1602b09e428ef18618458c2441a592a22dff87d05a462ef9d28ab411a5bcf8b4625692bd1c5b73574fc5395792c7bbec396d9b3052e438df4c2187983
|
||||
MISC metadata.xml 246 BLAKE2B e69ab482f88d8b2b8c6448e2f228d2b71c932dfa96058a941cf0470c56f6b4bd59e11249ab41821196a411e0449b45e1bde9019b7889ae7d1ec9293a858c0bd7 SHA512 b3a3e1fbadec5205d86a50ceb2b081679b4be890b1c2c266750bce5f45ef183df38242c96fb4331c5eab56506a19625ee08dd6fdf1441c21a3b8f94dbd28681a
|
||||
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST vimball-0.5.1.tar.gz 5246 BLAKE2B 8ce95bfe8872f69e501b4453e5a6644d8019367173f8675325775dee58e08618b9ec0908bca9df04839bc165b086d8e5195a0753827d6038d8ccd8adbab80c35 SHA512 f89ba7291e3f4146f2ada7934b0ca74524abc639e586da12e19882e9aebe3f14858a6145b830a32dc19b0deb61f652375d8a56dc7847fd0061d14a2d77208549
|
||||
EBUILD vimball-0.5.1-r1.ebuild 551 BLAKE2B 975810269085d8bc61e76bd21c1f5803b8e3d66edd29e9efd772ade3db37f5195236308f7f3ea9fb323807ed830ddbc031492681add15f2df3f971a2db71a8d2 SHA512 53603e894cc4ffb6f3fd0b69249d5f26b10581ca593f6313b9c5064029777b24a6e81cc8a22c16ebde4ac2d8aab0893fad873a9eb9aa2ac171a119643e44d028
|
||||
EBUILD vimball-0.5.1-r1.ebuild 549 BLAKE2B 7a12b1836f96270ae6f32823a4bbb33ee5ba0973f70e455ead33ce9ade14ce739358b31da02b3d61d8466d7f734674518ed16b384579393d245d3054ddfba506 SHA512 47c414ad4af05fb0d974d9505ef93b8f7f952f50d1ae9a9dcb53d4dcd5dc9e792ee9479d38dca381390f3688afb70e4b2d950488a1711c9138f0c41aeb4b51f8
|
||||
EBUILD vimball-0.5.1.ebuild 510 BLAKE2B 9ad8fea912610cb066b9013b0ddde4a97ee4a3024442f0b83dc655e131e48fa88b07483e21d10f00db8439e5fac10ec1ca98d23291226398555e7e89e30640cd SHA512 2b0d48e23146c98304b036f1a85ee841fbd926e1967c36ce68f45198061251a10208d1e8f28aa5caa2c77aff7ddf66561b4854b5199d298a567e1987cb154a44
|
||||
EBUILD vimball-9999.ebuild 551 BLAKE2B 975810269085d8bc61e76bd21c1f5803b8e3d66edd29e9efd772ade3db37f5195236308f7f3ea9fb323807ed830ddbc031492681add15f2df3f971a2db71a8d2 SHA512 53603e894cc4ffb6f3fd0b69249d5f26b10581ca593f6313b9c5064029777b24a6e81cc8a22c16ebde4ac2d8aab0893fad873a9eb9aa2ac171a119643e44d028
|
||||
MISC metadata.xml 302 BLAKE2B 9a62e3ddd0221a93e319b7d4b10226a0f1a9f136f856a286c09a18b10cd575a4735e97aae127b26aeaa6884500ebd5dc69f630bf2f8eba0c2710b318f9bbbe4b SHA512 2a6a6012078822bc42c369427a42341098b4dbe84676573d2fd8e9699da735123d98bf22bbc816b2d55fa604052f45b2fc32f949239300dce394bc603285df25
|
||||
|
Binary file not shown.
@ -1,4 +1,3 @@
|
||||
DIST untangle-https-backup-0.1.0.tar.gz 17211 BLAKE2B bbf8725e3198573b287624850cb854c5c5c5dffaefb4546e9295e21771f8e3d25652c94be497c9932caeed5afdf1afecb15aaad75f1ff2f53f6c4b92b3ddc23c SHA512 9874dbce881c419345b6e77a1e616b4c3e97f441606d7353b1a77c680bc48715d8f70f45680f8b57a447df44d9d9346d7aebf394de0793966734b3d9865bc18e
|
||||
EBUILD untangle-https-backup-0.1.0-r1.ebuild 604 BLAKE2B 8269cca0e12c22afb05e9cbd560b2c7bff8fa7ea324f8e4df98746150e0bf2439139b27090f48fee160af497ca669abd8b98346266d2504763f1d4354bc02999 SHA512 d8e4ca04904ce34137725939571eb9d6e722225f204770cc3c1d805d8a7de36468276467002fd9204186eb644dae595e15465d33b217eda7b35240a053cf6955
|
||||
EBUILD untangle-https-backup-0.1.0.ebuild 589 BLAKE2B 0af2ea2ed792d421153ba0fde76afd356c3ea10311478a9d14f5005e9a499f11fcc1fddf0a26ba983f468083df150cde13a63eba2703e156a998e027918fdb3a SHA512 bf8716fbf76272ad856f75ae6f359879934fbdd8ae14f76c6caa2a7d4c83886be69682a82d94539acee0434a2b57b294b3a6142b1214655f63f1576379f53b05
|
||||
EBUILD untangle-https-backup-0.1.0-r1.ebuild 602 BLAKE2B 1a439498642472b352879d25cb0e494bb3d5daaccdfa899d96281e2d02dd028c4993204b3fec28bb64668e7caa6055ae2ae050828adc4a313c9820b057164583 SHA512 289f040ea5538be9744c3be78e65117e457b028e42f8d22f82de51eab310a99c4230a94604dd5d66ad11f3f366907180333810f5eda099e0a89d48e4287839e1
|
||||
MISC metadata.xml 253 BLAKE2B 63a51cab94d3e978d2c7dd1d124efd1c9e11c5ae277806a1f12359b2db370c37382fc1947e85940f6b0a439e3d49eecdd8d9bfb96587352d6a83803d2fd40bb6 SHA512 8da7cfe0cd26a54c106f2c029bbde93abf77576835e4fa66bc538dcf12fd41160f7cc2dd843a221962bb9a6f965311c076a1557caa38d503f371569b84841e33
|
||||
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_9 python3_10 )
|
||||
PYTHON_REQ_USE="ssl(+)"
|
||||
DISTUTILS_USE_SETUPTOOLS=no
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Back up Untangle configurations via the web admin UI"
|
||||
HOMEPAGE="http://michael.orlitzky.com/code/untangle-https-backup.xhtml"
|
||||
SRC_URI="http://michael.orlitzky.com/code/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
doman "doc/man8/${PN}.8"
|
||||
dodoc "doc/${PN}.example.ini"
|
||||
}
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST stress-ng-0.15.06.tar.gz 3813785 BLAKE2B ebed2b6b087afc615e3a94ae239df32a7847f1ddc5db83a733ce8415d76818000bb742604643ebdd06d13e584a66c6814feb660752738f3fe7e714670e4ad396 SHA512 a999ecb813504cdcd56cb3f9ac6633c91ee3df2c203866d29fb04b61c41ee5e7738ca84cdbdb2cb8c6fe969f29a64d21a8df17419901266efc7f1170eb18013a
|
||||
EBUILD stress-ng-0.15.06.ebuild 1130 BLAKE2B fc3d5a4923409e94a3055fd018997c32f477dd0e4543adb0fef18a4da066dfb0043ca6805107070aab1cb2804d908aa68c5b2b314a198bf19bfdc18e5fc88ed0 SHA512 1ed861f794c8582f83f17dc353945a821cdba776fd31d0832c26d2d3127026a7d3bb33baaad83d407ef347fc5e1f568c08d4623cb23a9b8ef4892f7975a44fd8
|
||||
DIST stress-ng-0.15.07.tar.gz 3830971 BLAKE2B 15e4aec04313a1c286c080a9a4d646a7908e213fe8680fd105017a23843f094185ee2564b497d8d3103389b6b9d6a512ec150a47202a59c4a4dad554425f655b SHA512 f6ff566aecaff1b98ce74a95c4bf9fab3fd2085c2d9805e6b1c2d1a1477e0af8514f37cab9575b4b4d5079e3d26dffd16d852c72ca0b98b840c2d84ec19bef66
|
||||
EBUILD stress-ng-0.15.07.ebuild 1130 BLAKE2B fc3d5a4923409e94a3055fd018997c32f477dd0e4543adb0fef18a4da066dfb0043ca6805107070aab1cb2804d908aa68c5b2b314a198bf19bfdc18e5fc88ed0 SHA512 1ed861f794c8582f83f17dc353945a821cdba776fd31d0832c26d2d3127026a7d3bb33baaad83d407ef347fc5e1f568c08d4623cb23a9b8ef4892f7975a44fd8
|
||||
MISC metadata.xml 835 BLAKE2B 88b503bcc225861dfd5a5e016bc0c6df87d13e758f9eb8d73103deb5f1d88163f260f24efcb4988a245b1ea2888e18da86d031d52c9dcdc702dbd9a7c510b691 SHA512 dfc8c9cb83e0960fd0881affc5cd12fe843743faa92e3af0edf0ba86ad8107de60669cd32e156be9ea645a817f38f7091be2b9c870902e7109f937e584feac99
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
AUX codegroup-20080907-Makefile.patch 340 BLAKE2B cda48d034696257aa1f6852fb59109fe7ded48932198b9a583def8fafeabcca2493008d10da7002c7c808abe246cacae78a917a68198ac547d9f37baa426796e SHA512 55a4b8f9c8be54d48ce4f85839343c8cbb3a6dfdcf57b9552a66c111d5e48e1c6868e98f29622c4a7df58cb6ebf75f1e8748f7bf0996c05ab3c41f10ac504353
|
||||
DIST codegroup-20080907.zip 69123 BLAKE2B 06bf14527c641c9df16d60a00044b0acbceb912df9641f73280e958d35a7ca4998aa4d5bd411e432780ef715529532b3d4ce645e146143a833cc57bef5d799fd SHA512 3cf7816fe1c4c3b70cabb6e8518f6057cd04e735bef5569aff4b8753005ab33e5c4ac80bc434a45fef75267964ffe25fbfae9d72cffe6db075b4cafeb2b80e93
|
||||
EBUILD codegroup-20080907-r1.ebuild 602 BLAKE2B 2b694061ecd11efbec7399df525fc9f6d30ce052f612715879461c8e4ebb578c9103f76a93d924da68788c1f63bfcb05b1cb263cda420b50e4aefd4486ff70d1 SHA512 9d38ae2b8e6321a23d95df90f831584df819b88cd98ddabf9dedb013d77aa2a80094d6256906053b60a41cb75e8a2b4210b3d530556639636bd4362b1de3eddc
|
||||
EBUILD codegroup-20080907-r1.ebuild 583 BLAKE2B 4f092c8c93b583d7c5004a0819ded68fa3eebd58b36d150ceffbb22197c1ec44bb47c906a7a86371e3f42914f54b7a380737dde0728a7a8a5d559501840f1862 SHA512 94e3e2d01fc26c9777923d3efc4227dfc461fc595c7a245927591a026ca5dafbe6971f61160ce3498d65bb28a1ddf1292509425b00f962fb31b11f0e94b76bc6
|
||||
MISC metadata.xml 168 BLAKE2B 2e0e000b4c3b6ca04c12903fdbe278415c05a822623c52e9aa95cbbf3d50bcb1246b7edbda7d2f6b559af8950c6374e6e0a69b76319964cfe686bf50b0604a57 SHA512 4dcf45d1809e8390a2d8155c8ebfe0dd610203e392aeab0ccd8a10f42cc8532a4925eff32b35e7a6c35598a4efd288229034ec0732299dbd8cfa0acff705fed3
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST gifshuffle-2.0.tar.gz 21509 BLAKE2B a07490c2f6a29782d7d25219eefbf49393ccb06b1fbb260927dce741450934990673cc86168285ec9d0bc2ef258a64d98d623f143b464b48c9955b13a808822d SHA512 0a0521f924c508c80c11309203e64cbd948945ddd557f01008a39987602320be780c1710dfcaa8ec9886fff4e9745465f2f242919ede4cedb2af9f73e5cc54be
|
||||
EBUILD gifshuffle-2.0-r1.ebuild 619 BLAKE2B f1d674630abb76d3432be5f8c80cb71ae9fef3319ea1bbbeb2c7ba8a63f50bc7e0c1d32dd0f7fdba8de9c41fc554b8d2a24a9aa4eb73f9e22c9c877d8e0d453e SHA512 4a6f9cda8dca0cd053b70f663db20d8be78bf5f1c0de4221849d73d26e081985177786050ef20ad2a982a57adb269f3b3a4b8550893fe8991a6d63fdea4f891a
|
||||
EBUILD gifshuffle-2.0-r1.ebuild 582 BLAKE2B 196fee3f4f55a152505a27d3cfbbfdc508ecb502615b60d443d7ea23e5718008cb4c7e34c2fc4e14a1e54c93880168df72113a2efbe9b3dc84b7b9d863a86776 SHA512 85008c0dbfe05eb1c758ade8c9bb39eb643f799819bce1a7d685d858a629e7260f1618d40fa9937cbc641b8d7c0b4b2c7c0a5388b67999ddc70a818ab5852cc7
|
||||
MISC metadata.xml 167 BLAKE2B 868e3b584722eaacf68273db062bb773d8c7e5d7ab2b81ca7e8397643bf7cc106c3a1033594401c99c54f667bb45d6b73f9048fc335580bbd44b4589ad26a832 SHA512 30caadd1496c3b9969136038239a1d8e01f236726b4022c2d7e19ca7575f25f735e556835e581afbf44fbd3e4104c40f2b5ef5fa70118d75c881fdf871962d0a
|
||||
|
Binary file not shown.
@ -1,6 +1,10 @@
|
||||
AUX kicad-doc-7.0.0-eeschema_advanced.patch 597 BLAKE2B aa62c9ca99ea9202931797f0eb9e074ff86576efb355efac865e0e2f4edb096f9fe06f47cf173dada98ad87e91cfde9530a82263c319df246d92dcf0af661708 SHA512 73fabf9289a0276ba754d3769e70cd10975ee3b9a96c2ea802401dd11cf3c3e6f42a9c1fdb034fac7fc664c2f28a694f8713cef629dabb0885a147cf87ec46de
|
||||
DIST kicad-doc-6.0.11.tar.bz2 79253772 BLAKE2B 904c01cd00b1669620018194e98303c00ba2ba32b44fed2f36966edf40487c26b6a7ed827a0c35908eb74ea04054a0c7cc39d371e5c6013bee484bf2b67f6177 SHA512 1c942a53dfcf071e83d5b7674df446b55818961da69586fe772467e4cf7ea64a13de01af20ec087c8a73f9d101a5a48680d840415e1a278e2ef5b22952980180
|
||||
DIST kicad-doc-6.0.9.tar.gz 81321926 BLAKE2B 0885d0210afcc83c2ccaad3a0caac912e8f756e69c4569e543a81440e14b6e3ead68ccc427f4dcd9026ebf86a8e3c45487955479bf8c43ce9bb6680de9da777c SHA512 be8ae3bbebce334d7d7ab0e24bf3712aaa83b078f1a4495b755cdd9a5ff8e55951dbd82c5ac17c5aeba66008a9e6ef1b9f104f51ad340cb7cb88abdd86e5853d
|
||||
DIST kicad-doc-7.0.0.tar.bz2 104561946 BLAKE2B 1f19b489a3b40e15f9f4a775582caf192180b345bf559d8e2b1954b2c72301ad25264e7bf27df46ba9b2a52848478441df383f5766c7111340b04aa45720f40a SHA512 b3cd797751b3183eabadd71e02031ff0b3e5d4744e1c55c16ae5b22bdc45f7cb874defde407d6d819b7c00b06daad84260b980f9afca1f5805c17ebf177300b8
|
||||
DIST kicad-doc-7.0.1.tar.bz2 104103280 BLAKE2B dbdcd82e65c9d3a2bff629f8fa4e3cc34c2adbfa3fe9a808e3802addc3d75f3875ad52c4f5e79cb2bfb7563a6288d0c2eb6f119adf4f7fd2f31360cea82d1ea7 SHA512 5274ef673db9e415d5b82522681acdd4ee2b2f615bb52abdd11ebd17b72f36852ee297fdb98f9cf1dee12671a23adc24a6a8a03be720b579bbee7a9ead167e41
|
||||
EBUILD kicad-doc-6.0.11.ebuild 1953 BLAKE2B f332ae1aba1545ef3e829a188a440e69cec94db2c0d8974552c381e0a526c72e6df38c77ab37f5d0de91728338f8e6f1d5544fd764df01b553c40cbb56491b05 SHA512 78d4a0b45b946c53929aaff58f8d0fb9be6c06a7970daa18af88caf5696aef92b6bf718bfcfeb5f404fb2d3a17eacffaa95004b9769de9f55ff29b67cdd5f7c4
|
||||
EBUILD kicad-doc-6.0.9.ebuild 1951 BLAKE2B ddc5726a9b11c2aaccacb932c44a0bbf5478c673118314e831a7182f67f0075bfb4d485d89cc351b11bee1f0ee46e2bb70d0b7bead64a529300f388c9cd70ee7 SHA512 09f93b3466705ee7c70d4c55099031ac6bd919c8550c832e266c7627bc2f7376071e4bdfca1e63c23030bb9812c0487106df6a82ba59e33ddbc0113d348fb737
|
||||
EBUILD kicad-doc-7.0.0.ebuild 1868 BLAKE2B 690fb1e0cbdad798da47cb5785e6e38892c774767cf3ceac1f94184c1eff773dd2940b2774592254f6910f706e3d3d988b4418f54dc85af82276d26a8ad83849 SHA512 72478bb677432d5c51020a718df6eac38901d7490de834112acb944ff58bfa469aadffd8462c6418d2450c6ca18e77be44c4c9d8557d7975f151eee7f633d554
|
||||
EBUILD kicad-doc-7.0.1.ebuild 1811 BLAKE2B dd463832069201a6775846383f74bc0f3e04426307267153960e6d6248e862d53c0d87c93fc70672c1aefa3030f20997009fb8c5cd7d076a31960e75c1ed5e3f SHA512 b800a6f5befc4d0f293767ac85e56c11b136023f45186a13285d3629b100df55232d4d83188d02dc5af5fac55c9265b68bfad75d68ba94b1621dfb6d952321ba
|
||||
MISC metadata.xml 861 BLAKE2B d1cfbf0b3a558b876cc446ffb27ac09d0bac29328d370b064f950117692a0582adc48cac4c8d887ac4151aae72c8cbeef20b521da166a77c7a787951da812f8c SHA512 3d12ebc29679fc7b7d2a75d5d33a053dfb21c96213aa98dd8350f4eb364a4149e35b0f18ca6d9e59f86e57df0abb59e182c7f8fdfda38e4bce8a5308009c85fa
|
||||
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Electronic Schematic and PCB design tools manuals"
|
||||
HOMEPAGE="https://docs.kicad.org/"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="https://gitlab.com/kicad/services/kicad-doc.git"
|
||||
inherit git-r3
|
||||
# x11-misc-util/macros only required on live ebuilds
|
||||
LIVE_DEPEND=">=x11-misc/util-macros-1.18"
|
||||
else
|
||||
SRC_URI="https://gitlab.com/kicad/services/${PN}/-/archive/${PV}/${P}.tar.bz2"
|
||||
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="|| ( GPL-3+ CC-BY-3.0 ) GPL-2"
|
||||
SLOT="0"
|
||||
# TODO: Change default back to +pdf once asciidoctor-pdf is packaged?
|
||||
IUSE="+html pdf"
|
||||
|
||||
LANG_USE=" l10n_ca l10n_de l10n_en l10n_es l10n_fr l10n_id l10n_it l10n_ja l10n_pl l10n_ru l10n_zh"
|
||||
IUSE+=${LANG_USE}
|
||||
REQUIRED_USE="|| ( html pdf ) ^^ ( ${LANG_USE} )"
|
||||
unset LANG_USE
|
||||
|
||||
# TODO: need asciidoctor-pdf for pdf
|
||||
# bug #697450
|
||||
BDEPEND="
|
||||
>=app-text/asciidoc-8.6.9
|
||||
>=app-text/dblatex-0.3.10
|
||||
>=app-text/po4a-0.45
|
||||
>=sys-devel/gettext-0.18
|
||||
dev-perl/Unicode-LineBreak
|
||||
dev-util/source-highlight
|
||||
l10n_ca? ( dev-texlive/texlive-langspanish )
|
||||
l10n_de? ( dev-texlive/texlive-langgerman )
|
||||
l10n_en? ( dev-texlive/texlive-langenglish )
|
||||
l10n_es? ( dev-texlive/texlive-langspanish )
|
||||
l10n_fr? ( dev-texlive/texlive-langfrench )
|
||||
l10n_it? ( dev-texlive/texlive-langitalian )
|
||||
l10n_ja? ( dev-texlive/texlive-langjapanese media-fonts/vlgothic )
|
||||
l10n_pl? ( dev-texlive/texlive-langpolish )
|
||||
l10n_ru? ( dev-texlive/texlive-langcyrillic )
|
||||
l10n_zh? ( dev-texlive/texlive-langchinese )"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
# May not always work?
|
||||
# https://gitlab.com/kicad/services/kicad-doc/-/issues/808
|
||||
-DADOC_TOOLCHAIN="ASCIIDOC"
|
||||
# Note: need EAPI 8 usev here, not pre-EAPI 8 behaviour
|
||||
-DBUILD_FORMATS="$(usev html);$(usev pdf)"
|
||||
-DSINGLE_LANGUAGE="${L10N}"
|
||||
-DKICAD_DOC_PATH="${EPREFIX}"/usr/share/doc/${P}/help
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Electronic Schematic and PCB design tools manuals"
|
||||
HOMEPAGE="https://docs.kicad.org/"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="https://gitlab.com/kicad/services/kicad-doc.git"
|
||||
inherit git-r3
|
||||
# x11-misc-util/macros only required on live ebuilds
|
||||
LIVE_DEPEND=">=x11-misc/util-macros-1.18"
|
||||
else
|
||||
SRC_URI="https://gitlab.com/kicad/services/${PN}/-/archive/${PV}/${P}.tar.bz2"
|
||||
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="|| ( GPL-3+ CC-BY-3.0 ) GPL-2"
|
||||
SLOT="0"
|
||||
# TODO: Change default back to +pdf once asciidoctor-pdf is packaged?
|
||||
IUSE="+html pdf"
|
||||
|
||||
LANG_USE=" l10n_ca l10n_de l10n_en l10n_es l10n_fr l10n_id l10n_it l10n_ja l10n_pl l10n_ru l10n_zh"
|
||||
IUSE+=${LANG_USE}
|
||||
REQUIRED_USE="|| ( html pdf ) ^^ ( ${LANG_USE} )"
|
||||
unset LANG_USE
|
||||
|
||||
# TODO: need asciidoctor-pdf for pdf
|
||||
# bug #697450
|
||||
BDEPEND="
|
||||
>=dev-ruby/asciidoctor-2.0.12
|
||||
>=app-text/dblatex-0.3.10
|
||||
>=app-text/po4a-0.45
|
||||
>=sys-devel/gettext-0.18
|
||||
dev-perl/Unicode-LineBreak
|
||||
dev-util/source-highlight
|
||||
l10n_ca? ( dev-texlive/texlive-langspanish )
|
||||
l10n_de? ( dev-texlive/texlive-langgerman )
|
||||
l10n_en? ( dev-texlive/texlive-langenglish )
|
||||
l10n_es? ( dev-texlive/texlive-langspanish )
|
||||
l10n_fr? ( dev-texlive/texlive-langfrench )
|
||||
l10n_it? ( dev-texlive/texlive-langitalian )
|
||||
l10n_ja? ( dev-texlive/texlive-langjapanese media-fonts/vlgothic )
|
||||
l10n_pl? ( dev-texlive/texlive-langpolish )
|
||||
l10n_ru? ( dev-texlive/texlive-langcyrillic )
|
||||
l10n_zh? ( dev-texlive/texlive-langchinese )"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DPDF_GENERATOR="DBLATEX"
|
||||
-DBUILD_FORMATS="$(usev html);$(usev pdf)"
|
||||
-DSINGLE_LANGUAGE="${L10N}"
|
||||
-DKICAD_DOC_PATH="${EPREFIX}"/usr/share/doc/${P}/help
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
Binary file not shown.
@ -1,6 +1,7 @@
|
||||
AUX joe-4.3-tinfo.patch 1063 BLAKE2B 574f78a31200df60dab81fea278bb238fbfe0a2b3f70f1f9a2ed78f3ae7a6e7a5d979fec61ad3ed9934aece27ce7836730e7f9755a7f25225dd74928c5454694 SHA512 93db2de58d2a03412cae7dc2b2769103f3ad275b68e22d6e3379871155656c8d4d4f29fbf014c6c8eb5b70ec234189af52a6b6b6826bfde46d6ee93b92f55bcd
|
||||
AUX joe-4.6-c99.patch 1427 BLAKE2B 0092531265346574f1bbfbe8a3d45515ec5ac817794cf35c65f695296df2a9a4e4a570fc6ff507da4ae02eada4e31f54f332b609766ea357d73d34254b2d8460 SHA512 201e74d0af44a5c4c9cfd665a2a79222246e535deab017f6bf4884215644e89921a08b051f7ba43cdf8cdbbbb15a17e729088ced4e4b6f57e84c4472b28691bd
|
||||
AUX joe-4.6-db.patch 392 BLAKE2B 8ca4d25a1e1be76b87e581720903064f4a54b928c6c7a91991d6ae6227df00e4b13c6c9fa3ac47563f5924c5e9aa18a86f1cb471155d8ca8fccc67e151f7bada SHA512 47eeffc203879ae7a644ef3875bda41c7bd776a51fcf7f6e9d4a30a5e5f0209d1067b516efcd5faac3ecf2fb204e0105eb9cc453df5c853413a613cfdb6e4fc6
|
||||
AUX joe-4.6-prototypes.patch 10006 BLAKE2B cf9845339aa30b99223412a9e2c6407bbbd2bb6eb5ce630d3a7e93bc084ee8bffdee97e15ce17765b6a5de9fcc02453b4962126043fe021cf17e6c062b13108f SHA512 9ccd53de36e813c79dbd1c76e43c7f9b756243455e0faf7eb98e8ebeada30256393475270a9858c6f319f28b4fe56f320e81c7898e41cf8b4ade1c22000e6884
|
||||
DIST joe-4.6.tar.gz 1895046 BLAKE2B fbf53d3b5b066cb32bb26b08d7d314a3bb89ac5ae22db498cdf3597bf8cb322bd9aa05543debd47ac7380a33982c388e13f38c60747503494c582393ae8eb13d SHA512 3dd64a994fb3d352a12bf027ef16d57d14ac2577fd63fb6b6e25cae46052befaa7c15dc029bff2f8c3275df90f0343bd46313601055d97277ea4540e109fbe82
|
||||
EBUILD joe-4.6-r2.ebuild 1479 BLAKE2B 10ac5cae3afdc72b26c3ed032ad779ca67adda50a9e09280bb18aec84a41c2c9190aaceb0f635ac30e75924865f5c3a999e29f88bd0d05a424beb6a2ff317967 SHA512 fccb98942103f2c1d16fbc3941e52c8c094612001b50500681106674f81780dee0e7e8108a42daf6a7ff8ec717aba6a62239d2e5e9d43f7686519551dc6ea423
|
||||
MISC metadata.xml 905 BLAKE2B f744fdea647781d08644ff9e1b9475706569b961ad433eec0e3f4a424c0fa8b4128b4978d16bcf14533eeb3fe9006f89c61d1b7ed4913070e4f8c2cafe509c40 SHA512 a2e4ff282ea424f6bd383871523760cc7e555a75489822da5fd010eca7ead013628df767d2c81ed26853aa2493577bd858eba436bd900bc6a268b3344c3ebae1
|
||||
EBUILD joe-4.6-r2.ebuild 1509 BLAKE2B 24b1b098d1e31d2c951b70c053a9be9680e9098bb8d3c0145825c4e2131ff425c889fd667d1d0d99462aacec13c9bb0cff7d925c2021b4555fff0aa61b6e6ecf SHA512 bfbb9a6449e437179c1c04c3b4ce4b5a8f1494bdb4bdc779e73db59624743b822f97e88595283d6b0562ca3968118d8693052b11c124e1c4d49d596f2296994f
|
||||
MISC metadata.xml 904 BLAKE2B 687b43b7f2d927f5b239ce63ddbcedac0d602cb0a1f51a108c99c5227f6cc9501f357e1e6dd407ecd231bfd6d4ec0acb513b495a86ea7dcb52a0e735cd87012a SHA512 1d9066383090e2fd69955899c9c8e35e58d60f35d3b7e7d29c7cc5184c23f39bd24df5cd59efb9321aa2a8af453849366c8a931c369c9683f9b1aacc2030ad24
|
||||
|
@ -0,0 +1,59 @@
|
||||
https://bugs.gentoo.org/900164
|
||||
Patch from https://sourceforge.net/p/joe-editor/mercurial/merge-requests/3/
|
||||
|
||||
commit 26e83257075789d901cadbe280ff7f1bd7602983
|
||||
Authored by: Nikita Popov 2023-01-31
|
||||
|
||||
Port to C99
|
||||
|
||||
Ensure that functions are declared before use for compatibility
|
||||
with newer compiler versions.
|
||||
|
||||
--- a/acinclude.m4
|
||||
+++ b/acinclude.m4
|
||||
@@ -9,7 +9,7 @@
|
||||
int main() {
|
||||
int a = 0;
|
||||
isblank(a++);
|
||||
- exit(a != 1);
|
||||
+ return a != 1;
|
||||
}
|
||||
],
|
||||
[joe_cv_isblank=yes],
|
||||
@@ -34,7 +34,7 @@
|
||||
#endif
|
||||
int main() {
|
||||
/* exit succesfully if setpgrp() takes two args (*BSD systems) */
|
||||
- exit(setpgrp(0, 0) != 0);
|
||||
+ return setpgrp(0, 0) != 0;
|
||||
}],
|
||||
[joe_cv_setpgrp_void=no],
|
||||
[joe_cv_setpgrp_void=yes],
|
||||
@@ -95,7 +95,7 @@
|
||||
kill((int)getpid(), SIGINT);
|
||||
kill((int)getpid(), SIGINT);
|
||||
/* exit succesfully if don't have to reinstall sighandler when invoked */
|
||||
- exit(nsigint != 2);
|
||||
+ return nsigint != 2;
|
||||
}],
|
||||
[joe_cv_reinstall_sighandlers=no],
|
||||
[joe_cv_reinstall_sighandlers=yes],
|
||||
--- a/joe/selinux.c
|
||||
+++ b/joe/selinux.c
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
#ifdef WITH_SELINUX
|
||||
#include <selinux/selinux.h>
|
||||
+#include <error.h>
|
||||
static int selinux_enabled = -1;
|
||||
#endif
|
||||
|
||||
@@ -108,7 +109,7 @@
|
||||
return 0;
|
||||
|
||||
if (setfscreatecon(0) < 0) {
|
||||
- error(0, errno, joe_gettext(_("Could not reset default security context")));
|
||||
+ error(0, errno, "%s", joe_gettext(_("Could not reset default security context")));
|
||||
return 1;
|
||||
}
|
||||
#endif
|
@ -1,5 +1,5 @@
|
||||
DIST pyvim-3.0.2.tar.gz 35227 BLAKE2B 8edc2218b3a0f2ba922531b75f65a5273ad9a2697f72ecf994cf7d2406c6311c3f28b22b6adb1243150a90db74962256ceaa7cf47ec99c2388299742451d6efb SHA512 da961342ba52e5beca44a607cbb923953388e8674409db9ca2b152017eeedce84f92e42a9f6d0e5019c5c4d88d82f4a987cb378f311cf84a169cefa54dc5efce
|
||||
DIST pyvim-3.0.3.gh.tar.gz 492633 BLAKE2B d62f1db2ec4af635841d18c860c5ac571c664116c539bab87b5f00a9c15b1f37f9dd53649d98a3d21d3bec9df0af46d18443eb1b34961d0971a7ed75df6a8c74 SHA512 0af9b772b97c21b8a9fe966497849eb83c6f770a212b98c7f261309f2f70d6cc8bcf2175660bee5c44850d6c805570946a79fbe9db7f1ffa8e20e19ef61a0635
|
||||
EBUILD pyvim-3.0.2.ebuild 849 BLAKE2B 5c08895d06b830160b61403451d840bdb1d2895a8a8e1f06160459a823d02f490df907d2ee6c165c1b2d023d0479b0acadde751d48aa82dda27731f9137597db SHA512 3210501d06d5170441ccd3dcdb1878d30b352258073daf8b63bb01eba7162acb72b26c95adcbc4b2e0e090b000e2af0c733c5b9cfc750975d574e7b696cba7da
|
||||
EBUILD pyvim-3.0.3.ebuild 1013 BLAKE2B aa4a64282705cc8045f42746456c6937dd44e8bde5e615a3588f8d245673d5a02bd9372d15be14b5f8596195948d4cf45970ad0d914ebeea7f722d84e65259fd SHA512 5599ec2aecd3282272fed94776fad491843054aefe00aec0f54b1b199e8ed56a66379aeb7d7c2f1aeee583c4244709d97fdc1fbd73313d1b264a8a1494a2d257
|
||||
EBUILD pyvim-3.0.3.ebuild 1011 BLAKE2B 716be0654455cff0c4900540be6f52deaa0be7ea19a98473670501e66b150a649bb27000cf942dd52e2bcf3ea1c7dcd65918118656bf40ec150165e0c79ba7dd SHA512 5dea30eb974395d060a3a054e5c2a12825e38e88f42fa138aaaf95c9b53c145e28c2b71949243e98aa1842ef42d19bddf5ca127886f61648d1e27caa10521ce3
|
||||
MISC metadata.xml 490 BLAKE2B a4af1d63730b2d7d6621d0a6fd3f4205016a940cc47d84ac48a692aa2d27c075f146d6a3d2581558af19cbab614fe47d9f9cb3679899387b2dc84b6b0f52c3cf SHA512 5eda2f764c81d21304541fe5d8c8330535d94b382b8bb94e9d15f01c184d4e09a6780dfe3745d4e3661c56e5a5a564147fbd4111fdfdd12b7075e1b9ad06488e
|
||||
|
Binary file not shown.
@ -1,10 +1,10 @@
|
||||
AUX 50buttercup-gentoo.el 38 BLAKE2B e96c6cf48d1522d89450e11d339c76210c672377208b56951791b83c6ef22b2c872d313084e199dd5d7b533a99106a87dbc7f15b5ee6126f71bf5f2e84165ffa SHA512 5c00bcabe2d7cc03013dc7a54b2c653940c08098ca5646d7c73624cb1ca04376ae9dcf88a7166b1925c69f0c5d192d90f6bd790fdef8ed8c3b0f9d163c987da5
|
||||
DIST buttercup-1.26.tar.gz 87554 BLAKE2B ee5d37360b6c9daa8b790f7ea6ae5bf7ff4266b1fcbe913877aefd4ede2e7d6561e48eae533c17c906e19b498d9d127692597ee728bd1fa791430f5f6ab508c8 SHA512 fb491e1db33ffaeca52529630c538040487a7bdf7766faab2c6a1bc39d1060c5bbbb7a259006b741abbec9b9a6911f8390b2513e0a4dddf856b79274ed24307c
|
||||
DIST buttercup-1.28.tar.gz 87689 BLAKE2B 510741e02c5973c80f3b6d9374d179b132ead8aefddee530f9a5f2cd5e6603bcb925060e40d614ec6804bc6aa918e6dea568d47ad3295c427066ab4c4953b37e SHA512 b83f1a9e14bce6e6e63047788bfa4e34b8d958c6422a52829c8752e6af7622764021c1574f812160472de123f0cdc68edb6daa0703d3b2633e84fe7df6ddeacc
|
||||
DIST buttercup-1.29.tar.gz 87693 BLAKE2B f42b98303a058dc3435b00dc5b50eb7217cfd70b48f982cb8823401b4d603ba2292a3235077d1263ddeba69284f6d7a37e407869dd3d4357102f1e765b14bf4e SHA512 3d400dfe5020fffefa5e8b32b9d5b8191a4882d790a9c5d48267cb021ffd0d6e9256116dca0d6118e920a2a0a2902bba7a2f73504c165cad71a4fc7f9867542f
|
||||
DIST buttercup-1.30.tar.gz 91126 BLAKE2B d9024aa154d5408bb6c200099be2d8d9a96df61e421f0d602bcc4ef0350665e250362384d3cd931bdf72f74cb9d95cdd62fda3bba4171f2de764876d1716f69d SHA512 e7dd6e0823216e593943545ef0ff6ac81322a6d0317f8517d14ddc65059638ef4435539e0722c6ba340eee7c32473310af62a2341e30d43effd1d787dad6ab61
|
||||
EBUILD buttercup-1.26.ebuild 650 BLAKE2B 1fa55c63bb666144e5fb761ba0c1d5e39eec463cbb9ffc6e95c163868ac1bc7797b64cc0ba574f767534df7ee12de496c5732db3701f135121e82ff0b5860c92 SHA512 adde9e5f85d401aab81f18ebff1f99b8205cb1a007f8ab27c2374ac7ba16e7b61f8fa9defb3bd10bb39b514510b63a489002d11f8ccd8e76ab3c3036695d2cf7
|
||||
DIST buttercup-1.31.tar.gz 91816 BLAKE2B 2a2569a3750b4ebf7ffdf7a0812be322b1f71b3579e35e55de5097a221ab342808349b8cc0e5f958b855aca709fe0b1e83efd005895c52e8dcf59a25960c05e9 SHA512 b7a779b610295d4ce24e537c4a3b4fd8b23c2fa8bcbd3ca622fe96681cf294dcc9eaea082441f23efa75a13c54cc768c63bcff1e0bb8bd7d1971c75c10c21e5e
|
||||
EBUILD buttercup-1.28.ebuild 650 BLAKE2B 1fa55c63bb666144e5fb761ba0c1d5e39eec463cbb9ffc6e95c163868ac1bc7797b64cc0ba574f767534df7ee12de496c5732db3701f135121e82ff0b5860c92 SHA512 adde9e5f85d401aab81f18ebff1f99b8205cb1a007f8ab27c2374ac7ba16e7b61f8fa9defb3bd10bb39b514510b63a489002d11f8ccd8e76ab3c3036695d2cf7
|
||||
EBUILD buttercup-1.29.ebuild 650 BLAKE2B 1fa55c63bb666144e5fb761ba0c1d5e39eec463cbb9ffc6e95c163868ac1bc7797b64cc0ba574f767534df7ee12de496c5732db3701f135121e82ff0b5860c92 SHA512 adde9e5f85d401aab81f18ebff1f99b8205cb1a007f8ab27c2374ac7ba16e7b61f8fa9defb3bd10bb39b514510b63a489002d11f8ccd8e76ab3c3036695d2cf7
|
||||
EBUILD buttercup-1.30.ebuild 680 BLAKE2B 499a192b8a5208cca23eb864e1a1e9463e606f4b76a218265c795254d8e545792974124bac30a1d9a2f73d40fe41caa59cbf3f24c31c933bb24fb0c7a74ee2f2 SHA512 f56490f9bcd568f7b35acb6eaf63f0e3b02dca52a5d0f40ae17c1fb9ad83ffb84bc51e2d488a042689df8b8bb154ff9506d02c2b1d5d18dc2e4ba90d07fa3a8b
|
||||
EBUILD buttercup-1.31.ebuild 680 BLAKE2B 499a192b8a5208cca23eb864e1a1e9463e606f4b76a218265c795254d8e545792974124bac30a1d9a2f73d40fe41caa59cbf3f24c31c933bb24fb0c7a74ee2f2 SHA512 f56490f9bcd568f7b35acb6eaf63f0e3b02dca52a5d0f40ae17c1fb9ad83ffb84bc51e2d488a042689df8b8bb154ff9506d02c2b1d5d18dc2e4ba90d07fa3a8b
|
||||
MISC metadata.xml 392 BLAKE2B 365eddee8c36962902e64b476ca9f21b34bf1faf9dd5ff2ad28d799a8079ea81cfea23adfc81e0a40edee9d4a6551affabaec91c9b931cfb161cf8a5bfbb024f SHA512 899c734fc6bae680c7d44dd0750d0a55a74ef2a5408be0e3a33a920ed283535c1136fc6b04bca86e85304ee1a3972413f18cc047be1e1565ce6c2a7940e087f5
|
||||
|
@ -1,4 +1,6 @@
|
||||
AUX 50doom-modeline-gentoo.el 77 BLAKE2B 0b7e10cff2a5e20083f8ba376e3e72ea1fc423cb8fa605b59cfc601aac72fe8611a6b558924c52b1f74ef2413d2efea806c929fa1d4b8b212cabbb9ef62d730f SHA512 6dc0e3ec4c48923a850466c86b97a63472e0861dcd8bfc8d346cac17e3cf1f0aa03fe0c3d9b75efaa73ec919073024320d3b4cfc17e8c1a2c0b2a17a43c72339
|
||||
DIST doom-modeline-3.3.2.tar.gz 61363 BLAKE2B 2b80748265f911954e1726dc30e6bacf4ba7ffb6eb589e8f67c366b818e212376039eb025d380937b327f7d3d4a980ec6bfe0589ac38af1e0d678a8f6038b97f SHA512 ff0b41c5f8dc7e5a4a5bccaa710b445a1894948893cd7dea6c564d3a9b1be5cd7cd005e6a28613a6800526d5158faebfef51d21b9e911d97416821210954f0b3
|
||||
DIST doom-modeline-3.4.0.tar.gz 62357 BLAKE2B d3af3875b25f9ef8d2b75e1acd4ed9c7f8e3d5ba306731f019ae076d14339c97b9f7f59bbb0806e5443c39d855aa0af9c2f9509ca93b11a9a275aa341e4d431b SHA512 1ed7c061e43fdb1e5a9fbe1cc5f87021a90796057206c64ff4f590089e0b5bd835d27f95129c92e1deb50012dc033608b071fadd294df4f102d67cb2872b8b86
|
||||
EBUILD doom-modeline-3.3.2.ebuild 684 BLAKE2B 219fe787946a1be4dcc961f1075516627361510c4f5692a6b22ef1979b60d1d366aa766b72218e84d95d776714206d3b6205fd5068f650a1b481018ee67feaae SHA512 005a0d8ce43cc80450f760c70a9ad80d401946ba4c6673af26c16f8b84017512a7686ce6ca38f75b4bf21ca4a0ec52400bc6ee20643d48b1bfdf524ab0578902
|
||||
EBUILD doom-modeline-3.4.0.ebuild 684 BLAKE2B 219fe787946a1be4dcc961f1075516627361510c4f5692a6b22ef1979b60d1d366aa766b72218e84d95d776714206d3b6205fd5068f650a1b481018ee67feaae SHA512 005a0d8ce43cc80450f760c70a9ad80d401946ba4c6673af26c16f8b84017512a7686ce6ca38f75b4bf21ca4a0ec52400bc6ee20643d48b1bfdf524ab0578902
|
||||
MISC metadata.xml 437 BLAKE2B 4510e1869b8871d0c054ec00c7c639125d52f451ffc129fe5a8255026ddd3c2fe36d8e9f5ef9a47c7f0b87b356d67e16cc2ab84b6414b7399b402df3fb0d3d89 SHA512 cda6737b5873ec737482048c543f9a5e8a8137d13072d663c8b714e0607c47c8d77ffdef9a2d9c8713c0c321c0e7bd3cd1531546f53c045000853badd575e61e
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Fancy and fast mode-line for Emacs inspired by minimalism design"
|
||||
HOMEPAGE="https://seagle0128.github.io/doom-modeline/
|
||||
https://github.com/seagle0128/doom-modeline/"
|
||||
SRC_URI="https://github.com/seagle0128/${PN}/archive/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DOCS=( README.md )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
RDEPEND="
|
||||
app-emacs/all-the-icons
|
||||
app-emacs/compat
|
||||
app-emacs/shrink-path
|
||||
"
|
||||
BDEPEND="${RDEPEND}"
|
||||
|
||||
elisp-enable-tests ert test
|
||||
|
||||
src_compile() {
|
||||
elisp_src_compile
|
||||
elisp-make-autoload-file
|
||||
}
|
@ -1,6 +1,8 @@
|
||||
AUX 50marginalia-gentoo.el 133 BLAKE2B 9924046f0683974aba9bf9bd0939058eab78abc131b0eebd5d2aac17c0653e0a578c062fba7a363797e6455b8bc85149e79778f8abd4185eec68dd61206b8216 SHA512 e5cd461343454dfc9de75f15e5c35337780ecbc96d844a160c3f9cfcfd5382232b4359191b382741839700224493adc6f4d3218c050c3214b49af0dc85feb135
|
||||
DIST marginalia-1.0.tar.gz 29142 BLAKE2B 99048ebca2156981aa77eb10bbd914648932bfc328f41abdda8196361542e7550895f5263b04a239fca3ef79a2cc87ff7e9a9d315ab46ef6d87846117a325cd5 SHA512 82b7220bce1d8804be9a4783518f4492d66e039a50c0fb064bbfe18acf119600a9f3c9cc2dede038b390c4522c1163ea1982e9f3f8a3f170c0f4f86ef1ec87d5
|
||||
DIST marginalia-1.1.tar.gz 30058 BLAKE2B 9d2b792383ed3c67ce1611ce0eab31edfc0769ee2243a7d8e189a398076d977b0a5db60ecd28d3ea8483a91fd27088d6b4fbbe0d9c5e16a3348b7cd7e211f05c SHA512 83cf7a4dce4a4f0064ef2a7c51beb6ced73aa4f8951d2920fbaf6f879ec5ff9431890840f2afcc0741b3cccc6842a68461ccdf51450b6b4d2877477731796be2
|
||||
DIST marginalia-1.2.tar.gz 30235 BLAKE2B 65027b482333086dc3a328741df772b5ab8435bc576c46602194c6373c812cc956a4936205b071e71453f5634b4481aa8ed8d3b08c3687788b6b92385a1cc54c SHA512 708effbeec74e0ef24f307d8a93f9d6e7b6936c343a79e72bc333520bbe0ec9d101fecf84793ef3f3b274b2c3bca88ee01d52ff37d154128a46eb774f9775c82
|
||||
EBUILD marginalia-1.0-r1.ebuild 401 BLAKE2B 4106091be05556dc81ae954f38bc97bca13012f0732806bf5dee75a0784e3b4b14cd99643cd6a7eda3465c50aa487acf41ad6f05d5137b9d237c4c15efe7f4ef SHA512 30ab05814d9cdb21b67366b94b8ea0283cc1eba1b29f758888ed4a2bb5c79f9e9015b01441998eaf5e5665b9e855ce2c724b3eebdee696c2128b20b48978fab1
|
||||
EBUILD marginalia-1.1.ebuild 461 BLAKE2B 5d4ec50528487849aaab8a76187044c8636059589294e0dbff86777bea711ed6b86349927b068e9d1190e4647cee10318ae4a7c23700741bfe4cd5c693104273 SHA512 4b05a0a6244b5be3b6852e8fafa9d444044f9e0b0de40f59a91e1234240139aa69c384383ec45a58f30d6bde2e05383eb7134b2714df6be323135a8a15328312
|
||||
EBUILD marginalia-1.2.ebuild 462 BLAKE2B b1d4682a5d9e8c5adf94890bbd216998fc140294acaff251c0c6ab9acd4a3e926e4bd80267c8201b38443c666d4fa852fd195fafed46bbc4b5ab2aa373273f6c SHA512 25532d81b6d931808b465153ba14723ad5dcdc4825e0020f71a4adf440a0020dd03df4ba17b57fa7d66b949ed0347ecba8838f5216dec6b7ef6deb72b5dc3fe7
|
||||
MISC metadata.xml 362 BLAKE2B 170d321c62f5b92b3fda03c4c6a1dc8438023211ae2f9261c997ce1300e4d24fde6588ed57ee766b2637e31c186e11aefdae58b083fd19ec15cbfe2846475bf6 SHA512 99a6cc13efa79095c0fe1bbcd2661fcd56bce0b3cfc9da0af6f90248b8e1ff27e78e0984677df5aba4c383530cc8446c5748296b35e07d6d2d81bda26b5433b4
|
||||
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
NEED_EMACS=27.1
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Marginalia in the minibuffer"
|
||||
HOMEPAGE="https://github.com/minad/marginalia"
|
||||
SRC_URI="https://github.com/minad/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
RDEPEND=">=app-emacs/compat-29.1.4.0"
|
||||
BDEPEND="${RDEPEND}"
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit elisp readme.gentoo-r1
|
||||
|
||||
MY_P="${PN}-release_${PV}"
|
||||
DESCRIPTION="An Emacs mode for notes and project planning"
|
||||
HOMEPAGE="https://www.orgmode.org/"
|
||||
SRC_URI="https://git.savannah.gnu.org/cgit/emacs/${PN}.git/snapshot/${MY_P}.tar.gz"
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
LICENSE="GPL-3+ FDL-1.3+ CC-BY-SA-3.0 odt-schema? ( OASIS-Open )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="doc odt-schema"
|
||||
RESTRICT="test"
|
||||
|
||||
BDEPEND="doc? ( virtual/texi2dvi )"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_compile() {
|
||||
emake -j1 \
|
||||
ORGVERSION=${PV} \
|
||||
datadir="${EPREFIX}${SITEETC}/${PN}"
|
||||
use doc && emake -j1 pdf card
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
ORGVERSION=${PV} \
|
||||
DESTDIR="${D}" \
|
||||
ETCDIRS="styles csl $(use odt-schema && echo schema)" \
|
||||
lispdir="${EPREFIX}${SITELISP}/${PN}" \
|
||||
datadir="${EPREFIX}${SITEETC}/${PN}" \
|
||||
infodir="${EPREFIX}/usr/share/info" \
|
||||
install
|
||||
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
dodoc README.org CONTRIBUTE.org etc/ORG-NEWS
|
||||
use doc && dodoc doc/org.pdf doc/orgcard.pdf doc/orgguide.pdf
|
||||
|
||||
local DOC_CONTENTS="Org mode has a large variety of run-time dependencies,
|
||||
so you may have to install one or more additional packages.
|
||||
A non-exhaustive list of these dependencies may be found at
|
||||
<http://orgmode.org/worg/org-dependencies.html>."
|
||||
readme.gentoo_create_doc
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
AUX 50osm-gentoo.el 67 BLAKE2B 0486bd17d60abb53433943335ed7584a0ab6f3b2a1dcdf23174e6f790f95044d4000d5b37a3b1c2549337268b5b296c6528e68e061ad75aaae8bf3ff141069f8 SHA512 b4aed2a5c285c94489371fa297a44d7bd3ac6172199cea0218d0469cf4c2d36b819ada8f3da6b0a95c44f729e4d77f5051826081137c0f68cd58829705ccc50e
|
||||
DIST osm-0.10.tar.gz 31628 BLAKE2B 6cb3d4fcee65b93787507fcdc15afce521e4d65c2fcea9f729e5292bfc57ec065604c8439bc5d0d744969c36fcba14204257a93546d1c67a9d3d8a816e26e9e7 SHA512 03ad03b9b64244c53c2b9a7329b9d741f33102e41684488385bdc60e5398b9cba7d3950cb0937b4bdecb93017cb2c1b5f99324195349b88ae7eed66431149ba6
|
||||
DIST osm-0.9.tar.gz 31248 BLAKE2B ac9bc39ad42046bbec408006a375ad5bda2f561ed5fec7c489c5448ec9f4867ee2d3a7aeecfafbcf078cb4f4780c0e43442e7fa7c7fbe03755835bd56b9312e1 SHA512 4fe88be3bf99175cab4f90d516ef99e3ee7e5209d0046675c92f29a4786fccd92470560771fcfd8887e214b776fac9b75cdd8a0334d2de2d6b42d4313cacd4bd
|
||||
DIST osm-0.11.tar.gz 31935 BLAKE2B d4cb18a9ab17d0d982db94a1dcfb37bdf3676b2b6bf367f249ccc2475783ce4f7eda8bb01beff8ac59e4a963e7800402f3fe9a99832f9072396d679a4fa0bd56 SHA512 02faba5200897b78b1e8d616d3f21a607645e401b80e13d016be8317cc92dcd7458d6b968066f088d9ee202d477e183c9d93bf1475710f6a6c249608cb68b0d6
|
||||
EBUILD osm-0.10.ebuild 635 BLAKE2B 98fe641c58a7e01e861a758b75af7d9df906041c3096e67524b74c679ac7e12ad548c7f54e085a11170e65c70df75708c393b48e7459b6ce1cbd32484da3e205 SHA512 4132aa4bc72dd883460d18ea87378c64a9e3a61558019068a68374325d1d20487298860852460f608f3e6ad3647922086d108dc1257614fd60f779b8d5585c91
|
||||
EBUILD osm-0.9.ebuild 604 BLAKE2B 1c5b2dbf4481468c23adf3addbaaa8718a1901a3175d7fe757e9e692c72dd3ccb2c70b63e56620af79e1e141bdb658e2bf594dbe1cd5080b2f9a98be0a0867f8 SHA512 9e2559aed8d570436846efde8b1286cbcc5a90414a98f66fc37cf7be541420d852c4a0a38c1655f62adf1880a5929e32005f511a0877bd946803208749d3e4c7
|
||||
EBUILD osm-0.11.ebuild 636 BLAKE2B 773651dc9598026f6d284d8c6279a07a4a4c04f1b2e868738c99347fc862b05a2b5ba399addd73e8c4e6f56e81a4269cf6509e36aaa5f95be360a33b65c42ed3 SHA512 73b3c7f698520c5fbdd91b12e6b08c277176cf9043100c11851cff9a2d29975987e09aaf3244d079326050f3a1d4b58c0848e353d55377c1f34da2c9805a4d7e
|
||||
MISC metadata.xml 1007 BLAKE2B f28de509f2c4d32cbc67695ed97d2e4231baaa56e29a55993bb6b6c85323bbab51ba6ea398d6b0f562cb93975c6c09a5962f7f504509c4a6dcf19a6efca08750 SHA512 8ea20302c01493f320e2ad72e2a3530088a9a7d8db5a72c33286f31e82ba4a60e1dcaf6c4a11ded416ad864c27bb42d3833aeda58b261ea054ab71cb5fd26736
|
||||
|
@ -1,4 +1,4 @@
|
||||
AUX 50shrink-path-gentoo.el 38 BLAKE2B e96c6cf48d1522d89450e11d339c76210c672377208b56951791b83c6ef22b2c872d313084e199dd5d7b533a99106a87dbc7f15b5ee6126f71bf5f2e84165ffa SHA512 5c00bcabe2d7cc03013dc7a54b2c653940c08098ca5646d7c73624cb1ca04376ae9dcf88a7166b1925c69f0c5d192d90f6bd790fdef8ed8c3b0f9d163c987da5
|
||||
DIST shrink-path.el-v0.3.1.tar.bz2 15743 BLAKE2B 8f5db089737f2d31c9f5852265f1b33679de3cc72989bf04b8d50871b3b8fa356da6823177759561b99ee5b032fb10ba1c51f49cdd7d74daafb1d6cac44ba2b7 SHA512 f4cc191186c2a2e706ff08fbcd43f24dd67297a368c42da72626d70e3522d5b24ceba45a2e17821f6288576f10e0208e3d643946108edd6180502dd1bad019ed
|
||||
EBUILD shrink-path-0.3.1.ebuild 807 BLAKE2B 5eaf0c7e143a4be9461323872f58dd65d860bee34f4fea69f0a287b34d0f556f5244e4d79d3df402baabe869e42cc790024edbd067fc58ff314036b7d2cac8d9 SHA512 81efbd89ae887678d8165c07aef4cbddc6dd201eadabf266795579c068702877ebf87c73023930c4eeb8ee234a3d4ca4b71d9451fc2d2db76c6f37e239705b53
|
||||
EBUILD shrink-path-0.3.1.ebuild 700 BLAKE2B dc2bc050b1ecf02c52eb9e9f41f19f04c7c7fe884f7350f203d8be3e5f445e696ae2911f527c8d7bab8c35f55278e10a0dc25e9fd016b307ce913597c3c3458d SHA512 f3b807b757248dd7982b96d7969618a218cac6d0c579121311a57c8e70bedce2aafe7d8d5fd89515071af995c708e76a5db751797020c6e5a0d1956ab192c96d
|
||||
MISC metadata.xml 433 BLAKE2B eaf63f4513651f57d6e4a5032a2f244011234c6fd995939ed294ed8ceefc75487664cd769ed64eaf82b6040bbddecfb4f85ffc907a5103febf53cb605afd9a40 SHA512 65fcabbc6edff9aa6580630195a5ed911046fce5b61371881ccc4c7f19645c592f236a2ea06bd07469c3b47034e3639d0b4e450d4660a3eac0f7cf6750fee317
|
||||
|
Binary file not shown.
@ -0,0 +1,6 @@
|
||||
AUX cloud-hypervisor-31.0-vendor-config 1332 BLAKE2B cdc83cdeaca82d4a40ad9af4733a4fd6fdf397e45c16b6df0e5e16b42dfe758c1ac3228c15cde74f7acd0de2a465c5bcf0e46f998a8be71264092e2000075d0d SHA512 88fad8d8237185d93a38d69f979cb16c51cd5e61a1a0bb213effcd529772166255213ee9cf04f7908c279f15bea58146deea6395673ad808421204337abb0a2d
|
||||
DIST cloud-hypervisor-31.0-vendor.tar.gz 36783838 BLAKE2B 6087223f6cf17954bbe81a792233e735672da97e7b83515ce705b6b789afefcdee1d5a6c3a8f9aded27fd842eab0d1c31b1d09c0e56391ba4422ae4360befd5d SHA512 3595445a765a3571fe3597488940f7fa01576063de2324aa7a212f69b09b9fb0163ff922e3f789696702626ca51df4512fe9e60fe0cd59c3ea191c421718bf4f
|
||||
DIST cloud-hypervisor-31.0.tar.gz 849675 BLAKE2B b88f1cb53fde6085c33e969d508fbccf29d54e2f04cee143340d0a43547a967d7cdea6bc880c24c84e34bfc4a4d8c4e4478aeb54e858d4518e528f07b521b9b3 SHA512 9ddb8bce534331f609d00703e1c47e4359723432661aef4e0b920f8b289f13c9fda68d0f3320bcbc80824f699df1e456375b6268355c8a79d69c78e5d7659f52
|
||||
EBUILD cloud-hypervisor-31.0.ebuild 1256 BLAKE2B 95ab626a6851bc599660c733a75fdddc0afc42264daf7f2b77c402038913d4fb63528adf7a0f7d57d44f7d03257886dc04a7dfecec38790f7790ee36b39f824a SHA512 2aa7c8f6c67dafd7c342c217fe86729a042f891b112dfee19aa66345139a49dc5cffb644ddd0f85a3ec5857b3bbb3b26e9c4a3dcf36036abfc97074559d50c0a
|
||||
EBUILD cloud-hypervisor-9999.ebuild 999 BLAKE2B 931a09611aa0b2d9f1e5f28e6e2aa641085f605719e8b0f046973071bf57192dce33ee86191030d636a90d4771fc88f4fa3681d937496d1cb0ce1c7eb9914b67 SHA512 ffffa5bffb4571e97aafa7c2979718877da3f493ebf74e8c181f99096f41e38745f2c908c6235826228e3859724aa1f4de831cf884aa371249abd5abefbd9ee1
|
||||
MISC metadata.xml 346 BLAKE2B 9a39588fe219da828289af5f825fc11bef3bfa4a487febcf80f076db6401b5cbd0a511b434f8e12e4144a8ddc42287e5ef3c0d0a91822d504db0e98cbee190e4 SHA512 a9ab1d7c4ca598a74d39a13fa5a59cdd1f554d82ed0a4bc1422ef4ecb67ce5002846d902da6620567eaa83ff5ef03b75956675818b93dc71988bc523c62b33e0
|
@ -0,0 +1,49 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Auto-Generated by cargo-ebuild 0.5.4
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES=" "
|
||||
inherit cargo
|
||||
|
||||
DESCRIPTION="Open source Virtual Machine Monitor (VMM) that runs on top of KVM"
|
||||
HOMEPAGE="https://www.cloudhypervisor.org"
|
||||
SRC_URI="https://github.com/cloud-hypervisor/cloud-hypervisor/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://dev.gentoo.org/~jsmolic/distfiles/${P}-vendor.tar.gz"
|
||||
|
||||
LICENSE="0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 MIT MPL-2.0 Unicode-DFS-2016 Unlicense ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
# rust does not use *FLAGS from make.conf, silence portage warning
|
||||
QA_FLAGS_IGNORED="usr/bin/.*"
|
||||
|
||||
src_unpack() {
|
||||
cargo_src_unpack
|
||||
mkdir "${S}"/{vendor,.cargo} || die
|
||||
ln -s "${WORKDIR}/vendor/"* "${S}"/vendor || die
|
||||
cp "${FILESDIR}"/${P}-vendor-config "${S}"/.cargo/config.toml || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i 's/strip = true/strip = false/' Cargo.toml || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cargo_gen_config
|
||||
cargo_src_configure --frozen
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Intergration tests require root
|
||||
# https://github.com/cloud-hypervisor/cloud-hypervisor/issues/5388
|
||||
cargo_src_test --bins
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cargo_src_install
|
||||
dodoc -r docs
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Auto-Generated by cargo-ebuild 0.5.4
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cargo git-r3
|
||||
|
||||
DESCRIPTION="Open source Virtual Machine Monitor (VMM) that runs on top of KVM"
|
||||
HOMEPAGE="https://www.cloudhypervisor.org"
|
||||
EGIT_REPO_URI="https://github.com/cloud-hypervisor/cloud-hypervisor.git"
|
||||
|
||||
LICENSE="0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 MIT MPL-2.0 Unicode-DFS-2016 Unlicense ZLIB"
|
||||
SLOT="0"
|
||||
|
||||
# rust does not use *FLAGS from make.conf, silence portage warning
|
||||
QA_FLAGS_IGNORED="usr/bin/.*"
|
||||
|
||||
src_unpack() {
|
||||
git-r3_src_unpack
|
||||
cargo_live_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i 's/strip = true/strip = false/' Cargo.toml || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cargo_gen_config
|
||||
cargo_src_configure --frozen
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Integration tests require root
|
||||
# https://github.com/cloud-hypervisor/cloud-hypervisor/issues/5388
|
||||
cargo_src_test --bins
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cargo_src_install
|
||||
dodoc -r docs
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
[source.crates-io]
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source."https://github.com/cloud-hypervisor/kvm-bindings"]
|
||||
git = "https://github.com/cloud-hypervisor/kvm-bindings"
|
||||
branch = "ch-v0.6.0-tdx"
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source."https://github.com/cloud-hypervisor/versionize_derive"]
|
||||
git = "https://github.com/cloud-hypervisor/versionize_derive"
|
||||
branch = "ch"
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source."https://github.com/firecracker-microvm/micro-http"]
|
||||
git = "https://github.com/firecracker-microvm/micro-http"
|
||||
branch = "main"
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source."https://github.com/rust-vmm/acpi_tables"]
|
||||
git = "https://github.com/rust-vmm/acpi_tables"
|
||||
branch = "main"
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source."https://github.com/rust-vmm/mshv"]
|
||||
git = "https://github.com/rust-vmm/mshv"
|
||||
branch = "main"
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source."https://github.com/rust-vmm/vfio"]
|
||||
git = "https://github.com/rust-vmm/vfio"
|
||||
branch = "main"
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source."https://github.com/rust-vmm/vfio-user"]
|
||||
git = "https://github.com/rust-vmm/vfio-user"
|
||||
branch = "main"
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source."https://github.com/rust-vmm/vm-fdt"]
|
||||
git = "https://github.com/rust-vmm/vm-fdt"
|
||||
branch = "main"
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source.vendored-sources]
|
||||
directory = "vendor"
|
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>jsmolic@gentoo.org</email>
|
||||
<name>Jakov Smolić</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">cloud-hypervisor/cloud-hypervisor</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,5 +1,7 @@
|
||||
DIST install-crossover-22.0.1.bin 334913889 BLAKE2B e30c14b14adb0db4bb0b8e840aed89f82f59fc918ba697f8cdd86eea330b60d81020ec9ad498a511858de6fae10d74fcf572753295536cbbb98e067496029bb4 SHA512 825f1eeb10efcbf3bff0e4e6f91c709d3bbecdb5635839b580c79ff77e54333db4a84e9e6abfd08a0ea4e57729c4489e149366d5a5c7da6773a5a0d413905d48
|
||||
DIST install-crossover-22.1.0.bin 335571332 BLAKE2B 72ea09886a927eadaf6dead1d711723990e27cb845d514007d3433c9924e289ff3465a4dfdc02458e20cbcdba598ba65cea37453a0c16e3b13d790480bcaf9d3 SHA512 4de0eda5bbb68d8a5adde652c1254325a8a454eb1d2f7a84289b6d90373d7534b0821b706db08cef92c74b4286b6cceae0fc8033acccd276af5734579bad7fed
|
||||
DIST install-crossover-22.1.1.bin 335606941 BLAKE2B 3c5eada7190283f348348ef4d3b044db8e24e0dc3588d847854feb712d39bc9013e4f958a80c3f46e84b32f6b5c7d419ef6ab4fa1e946d308ba546140fb95504 SHA512 54bb40941baea184aa824c371a2eb73cdda26fa7c0765e242384e2c29a78f6b600c7455640b9888fd28ad482bf14f53a0308cbd55d9453f76d6eeb75cf0abfc7
|
||||
EBUILD crossover-bin-22.0.1-r1.ebuild 7225 BLAKE2B b59960542fc734a229ad86928d467e57a3dc1b434b6478f2c2bff9ce99bd5e7d34ef85eb77cfe72510a6ca0f3e7e986843ecb900e43047ef7416b01928482f82 SHA512 a06b29287d32142b42e6061176bff67f6b1220c8c3f8afb8eff3e91c9ac778f455b166ac83748506dbf07ce046d7e637f178ae35ad92c675f0af7aa78b7d37da
|
||||
EBUILD crossover-bin-22.1.0.ebuild 7185 BLAKE2B 627c6a19fd865d883de8803ec4a69c270455857861d1f19495fb871d01480fc4160c6a21ec50094f9f18e069518bc975382417e5eca307ac98de52e15ec862ad SHA512 fe114e9e40bec844991bf3e3b5679f3388c19fff361c892e1949f5c73e8b04e0d4725b915f31327def6fec525179560dd50c52f0271280c700bab85cd7491e6a
|
||||
EBUILD crossover-bin-22.1.1.ebuild 6557 BLAKE2B 391fa6ba87db9a8a0593e26c6f1cd2333f84ac051a84be6d40595c5d2ae7586535bf8d49fd0977aa1aadce41e6bfbb983bc8839ac34a54b6cef42b710a9bef7c SHA512 bf995495c1ad7b3208deba0c0f5aa1a33451a3b257bc9aa705377da48b423370e76357474703aa774ff47e30d6f9fc8bc5b5b6857400c7a31da7407ec2162f6c
|
||||
MISC metadata.xml 572 BLAKE2B 1e9251d49ed2cef6268dfe365e55aa7fbc537f873b00ef3dc564854db641f2744ee0e24768dede7749ac8fef82483ebbaee68fad62aeae519a98e260a3e1c1db SHA512 8aad4800177b522c0b5c451712e857ba4b532a59d63d7c807664d88e62e20c95a91a8a34cca8067cb89e433306f926315c726762ee50e72314c30344792125ce
|
||||
|
@ -0,0 +1,194 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
inherit python-single-r1 unpacker
|
||||
|
||||
DESCRIPTION="Commercial version of app-emulation/wine with paid support"
|
||||
HOMEPAGE="https://www.codeweavers.com/products/"
|
||||
SRC_URI="https://media.codeweavers.com/pub/crossover/cxlinux/demo/install-crossover-${PV}.bin"
|
||||
|
||||
LICENSE="CROSSOVER-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
IUSE="+capi +cups doc +gphoto2 +gsm +gstreamer +jpeg +lcms ldap +mp3 +nls osmesa +openal +opencl +opengl +pcap +png +scanner +ssl +v4l +vulkan"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RESTRICT="bindist test"
|
||||
QA_PREBUILT="*"
|
||||
S="${WORKDIR}"
|
||||
|
||||
DEPEND=""
|
||||
BDEPEND="${PYTHON_DEPS}
|
||||
app-arch/cpio
|
||||
app-arch/unzip
|
||||
dev-lang/perl
|
||||
dev-util/bbe
|
||||
"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
dev-python/pycairo[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
')
|
||||
!prefix? ( sys-libs/glibc )
|
||||
capi? ( net-libs/libcapi[abi_x86_32(-)] )
|
||||
cups? ( net-print/cups[abi_x86_32(-)] )
|
||||
gsm? ( media-sound/gsm[abi_x86_32(-)] )
|
||||
jpeg? ( media-libs/libjpeg-turbo:0[abi_x86_32(-)] )
|
||||
lcms? ( media-libs/lcms:2 )
|
||||
ldap? ( net-nds/openldap[abi_x86_32(-)] )
|
||||
gphoto2? ( media-libs/libgphoto2[abi_x86_32(-)] )
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:1.0[abi_x86_32(-)]
|
||||
jpeg? ( media-plugins/gst-plugins-jpeg:1.0[abi_x86_32(-)] )
|
||||
media-plugins/gst-plugins-meta:1.0[abi_x86_32(-)]
|
||||
)
|
||||
mp3? ( >=media-sound/mpg123-1.5.0[abi_x86_32(-)] )
|
||||
nls? ( sys-devel/gettext[abi_x86_32(-)] )
|
||||
openal? ( media-libs/openal[abi_x86_32(-)] )
|
||||
opencl? ( virtual/opencl[abi_x86_32(-)] )
|
||||
opengl? (
|
||||
virtual/glu[abi_x86_32(-)]
|
||||
virtual/opengl[abi_x86_32(-)]
|
||||
)
|
||||
pcap? ( net-libs/libpcap[abi_x86_32(-)] )
|
||||
png? ( media-libs/libpng:0[abi_x86_32(-)] )
|
||||
scanner? ( media-gfx/sane-backends[abi_x86_32(-)] )
|
||||
ssl? ( net-libs/gnutls:0/30.30[abi_x86_32(-)] )
|
||||
v4l? ( media-libs/libv4l[abi_x86_32(-)] )
|
||||
vulkan? ( media-libs/vulkan-loader[abi_x86_32(-)] )
|
||||
dev-libs/glib:2
|
||||
dev-libs/gobject-introspection
|
||||
|| (
|
||||
dev-libs/openssl-compat:1.1.1
|
||||
=dev-libs/openssl-1.1.1*
|
||||
)
|
||||
dev-util/desktop-file-utils
|
||||
media-libs/alsa-lib[abi_x86_32(-)]
|
||||
media-libs/freetype:2[abi_x86_32(-)]
|
||||
media-libs/mesa[abi_x86_32(-),osmesa?]
|
||||
media-libs/tiff-compat:4[abi_x86_32(-)]
|
||||
sys-auth/nss-mdns[abi_x86_32(-)]
|
||||
sys-apps/util-linux[abi_x86_32(-)]
|
||||
sys-libs/libunwind[abi_x86_32(-)]
|
||||
sys-libs/ncurses-compat:5[abi_x86_32(-)]
|
||||
sys-libs/zlib[abi_x86_32(-)]
|
||||
x11-libs/libICE[abi_x86_32(-)]
|
||||
x11-libs/libSM[abi_x86_32(-)]
|
||||
x11-libs/libX11[abi_x86_32(-)]
|
||||
x11-libs/libXau[abi_x86_32(-)]
|
||||
x11-libs/libXcursor[abi_x86_32(-)]
|
||||
x11-libs/libXdmcp[abi_x86_32(-)]
|
||||
x11-libs/libXext[abi_x86_32(-)]
|
||||
x11-libs/libXi[abi_x86_32(-)]
|
||||
x11-libs/libXrandr[abi_x86_32(-)]
|
||||
x11-libs/libXxf86vm[abi_x86_32(-)]
|
||||
x11-libs/libxcb[abi_x86_32(-)]
|
||||
x11-libs/gdk-pixbuf:2[introspection]
|
||||
x11-libs/gtk+:3[introspection]
|
||||
x11-libs/pango[introspection]
|
||||
x11-libs/vte:2.91[introspection]
|
||||
sys-libs/libxcrypt[compat]
|
||||
"
|
||||
|
||||
src_unpack() {
|
||||
# self unpacking zip archive; unzip warns about the exe stuff
|
||||
unpack_zip ${A}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Remove unnecessary files, license.txt file kept as it's used by
|
||||
# multiple files (apart of the menu to show the license)
|
||||
rm -r guis/ || die "Could not remove files"
|
||||
use doc || rm -r doc/ || die "Could not remove files"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
sed -i \
|
||||
-e "s:xdg_install_icons(:&\"${ED}\".:" \
|
||||
-e "s:\"\(.*\)/applications:\"${ED}\1/applications:" \
|
||||
-e "s:\"\(.*\)/desktop-directories:\"${ED}\1/desktop-directories:" \
|
||||
"${S}/lib/perl/CXMenuXDG.pm" || die
|
||||
|
||||
# Install crossover symlink, bug #476314
|
||||
dosym ../cxoffice/bin/crossover /opt/bin/crossover
|
||||
|
||||
# Install documentation
|
||||
dodoc README changelog.txt
|
||||
rm README changelog.txt || die "Could not remove README and changelog.txt"
|
||||
|
||||
# Install files
|
||||
dodir /opt/cxoffice
|
||||
#cp -r ./* "${ED}/opt/cxoffice" \
|
||||
find . | cpio -dumpl "${ED}/opt/cxoffice" 2>/dev/null \
|
||||
|| die "Could not install into ${ED}/opt/cxoffice"
|
||||
|
||||
# Disable auto-update
|
||||
sed -i -e 's/;;\"AutoUpdate\" = \"1\"/\"AutoUpdate\" = \"0\"/g' share/crossover/data/cxoffice.conf || die
|
||||
|
||||
# Install configuration file
|
||||
insinto /opt/cxoffice/etc
|
||||
doins share/crossover/data/cxoffice.conf
|
||||
dodir /etc/env.d
|
||||
echo "CONFIG_PROTECT=/opt/cxoffice/etc/cxoffice.conf" >> "${ED}"/etc/env.d/30crossover-bin || die
|
||||
|
||||
# Konqueror in its infinite wisdom decides to try opening things for
|
||||
# writing, which are sandbox violations. This breaks the install process if
|
||||
# it is installed, so we ninja edit it to false so it so doesn't run.
|
||||
sed -i -e 's/cxwhich konqueror/false &/' "${ED}/opt/cxoffice/bin/locate_gui.sh" \
|
||||
|| die "Could not apply workaround for konqueror"
|
||||
|
||||
# Install menus
|
||||
# XXX: locate_gui.sh automatically detects *-application-merged directories
|
||||
# This means what we install will vary depending on the contents of
|
||||
# /etc/xdg, which is a QA violation. It is not clear how to resolve this.
|
||||
XDG_DATA_HOME="/usr/share" XDG_CONFIG_HOME="/etc/xdg" \
|
||||
"${ED}/opt/cxoffice/bin/cxmenu" --destdir="${ED}" --crossover --install \
|
||||
|| die "Could not install menus"
|
||||
|
||||
# Revert ninja edit
|
||||
sed -i -e 's/false \(cxwhich konqueror\)/\1/' "${ED}/opt/cxoffice/bin/locate_gui.sh" \
|
||||
|| die "Could not apply workaround for konqueror"
|
||||
|
||||
# Drop Uninstall menus
|
||||
rm "${ED}/usr/share/applications/"*"Uninstall"* \
|
||||
|| die "Could not remove uninstall menus"
|
||||
|
||||
# Fix PATHs
|
||||
sed -i \
|
||||
-e "s:\"${ED}\".::" \
|
||||
-e "s:${ED}::" \
|
||||
"${ED}/opt/cxoffice/lib/perl/CXMenuXDG.pm" \
|
||||
|| die "Could not fix paths in ${ED}/opt/cxoffice/lib/perl/CXMenuXDG.pm"
|
||||
sed -i -e "s:${ED}::" \
|
||||
"${ED}/usr/share/applications/"*"CrossOver.desktop" \
|
||||
|| die "Could not fix paths of *.desktop files"
|
||||
|
||||
# Workaround missing libs
|
||||
#
|
||||
# It tries to load libpcap as packaged in Debian, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657900
|
||||
# https://bugs.gentoo.org/721108
|
||||
if use pcap; then
|
||||
bbe -e 's/libpcap.so.0.8/libpcap.so.1.9.1/' "${ED}/opt/cxoffice/lib/wine/i386-unix/wpcap.so" >tmp || die
|
||||
bbe -e 's/libpcap.so.0.8/libpcap.so.1.9.1/' "${ED}/opt/cxoffice/lib/wine/x86_64-unix/wpcap.so" >tmp64 || die
|
||||
mv tmp "${ED}/opt/cxoffice/lib/wine/i386-unix/wpcap.so" || die
|
||||
mv tmp64 "${ED}/opt/cxoffice/lib/wine/x86_64-unix/wpcap.so" || die
|
||||
fi
|
||||
|
||||
# Remove libs that link to openldap
|
||||
if ! use ldap; then
|
||||
rm "${ED}"/opt/cxoffice/lib/wine/{i386,x86_64}-unix/wldap32.so
|
||||
fi
|
||||
|
||||
# Remove libs that link to opencl
|
||||
if ! use opencl; then
|
||||
rm "${ED}"/opt/cxoffice/lib/wine/{i386,x86_64}-unix/opencl.so || die
|
||||
fi
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
https://github.com/doitsujin/dxvk/commit/1a5afc77b1859e6c7e31b55e11ece899e3b5295a
|
||||
--- a/src/util/config/config.h
|
||||
+++ b/src/util/config/config.h
|
||||
@@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
+#include <cstdint>
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
--- a/src/util/util_bit.h
|
||||
+++ b/src/util/util_bit.h
|
||||
@@ -17,4 +17,5 @@
|
||||
#include "util_math.h"
|
||||
|
||||
+#include <cstdint>
|
||||
#include <cstring>
|
||||
#include <iterator>
|
@ -0,0 +1,329 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MULTILIB_COMPAT=( abi_x86_{32,64} )
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
inherit autotools flag-o-matic multilib multilib-build python-any-r1
|
||||
inherit readme.gentoo-r1 toolchain-funcs wrapper
|
||||
|
||||
WINE_GECKO=2.47.3
|
||||
WINE_MONO=7.4.1
|
||||
WINE_PV=$(ver_rs 2 -)
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/ValveSoftware/wine.git"
|
||||
EGIT_BRANCH="experimental_$(ver_cut 1-2)"
|
||||
else
|
||||
SRC_URI="https://github.com/ValveSoftware/wine/archive/refs/tags/proton-wine-${WINE_PV}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-wine-${WINE_PV}"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Valve Software's fork of Wine"
|
||||
HOMEPAGE="https://github.com/ValveSoftware/wine/"
|
||||
|
||||
LICENSE="LGPL-2.1+ BSD-2 IJG MIT OPENLDAP ZLIB gsm libpng2 libtiff"
|
||||
SLOT="${PV}"
|
||||
IUSE="
|
||||
+abi_x86_32 +abi_x86_64 +alsa crossdev-mingw custom-cflags debug
|
||||
+fontconfig +gecko +gstreamer llvm-libunwind +mono nls osmesa
|
||||
perl pulseaudio +sdl selinux +ssl udev udisks +unwind usb v4l
|
||||
+xcomposite xinerama"
|
||||
|
||||
# tests are non-trivial to run, can hang easily, don't play well with
|
||||
# sandbox, and several need real opengl/vulkan or network access
|
||||
RESTRICT="test"
|
||||
|
||||
# `grep WINE_CHECK_SONAME configure.ac` + if not directly linked
|
||||
WINE_DLOPEN_DEPEND="
|
||||
dev-libs/libgcrypt:=[${MULTILIB_USEDEP}]
|
||||
media-libs/freetype[${MULTILIB_USEDEP}]
|
||||
media-libs/libglvnd[X,${MULTILIB_USEDEP}]
|
||||
media-libs/vulkan-loader[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXcursor[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXfixes[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXi[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrandr[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrender[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
|
||||
fontconfig? ( media-libs/fontconfig[${MULTILIB_USEDEP}] )
|
||||
osmesa? ( media-libs/mesa[osmesa,${MULTILIB_USEDEP}] )
|
||||
sdl? ( media-libs/libsdl2[haptic,joystick,${MULTILIB_USEDEP}] )
|
||||
ssl? (
|
||||
dev-libs/gmp:=[${MULTILIB_USEDEP}]
|
||||
net-libs/gnutls:=[${MULTILIB_USEDEP}]
|
||||
)
|
||||
udisks? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
|
||||
v4l? ( media-libs/libv4l[${MULTILIB_USEDEP}] )
|
||||
xcomposite? ( x11-libs/libXcomposite[${MULTILIB_USEDEP}] )
|
||||
xinerama? ( x11-libs/libXinerama[${MULTILIB_USEDEP}] )"
|
||||
WINE_COMMON_DEPEND="
|
||||
${WINE_DLOPEN_DEPEND}
|
||||
x11-libs/libX11[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXext[${MULTILIB_USEDEP}]
|
||||
alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
|
||||
gstreamer? (
|
||||
dev-libs/glib:2[${MULTILIB_USEDEP}]
|
||||
media-libs/gst-plugins-base:1.0[opengl,${MULTILIB_USEDEP}]
|
||||
media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
|
||||
)
|
||||
pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] )
|
||||
udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
|
||||
unwind? (
|
||||
llvm-libunwind? ( sys-libs/llvm-libunwind[${MULTILIB_USEDEP}] )
|
||||
!llvm-libunwind? ( sys-libs/libunwind:=[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
usb? ( dev-libs/libusb:1[${MULTILIB_USEDEP}] )"
|
||||
RDEPEND="
|
||||
${WINE_COMMON_DEPEND}
|
||||
app-emulation/wine-desktop-common
|
||||
gecko? ( app-emulation/wine-gecko:${WINE_GECKO}[${MULTILIB_USEDEP}] )
|
||||
gstreamer? ( media-plugins/gst-plugins-meta:1.0[${MULTILIB_USEDEP}] )
|
||||
mono? ( app-emulation/wine-mono:${WINE_MONO} )
|
||||
perl? (
|
||||
dev-lang/perl
|
||||
dev-perl/XML-LibXML
|
||||
)
|
||||
selinux? ( sec-policy/selinux-wine )
|
||||
udisks? ( sys-fs/udisks:2 )"
|
||||
DEPEND="
|
||||
${WINE_COMMON_DEPEND}
|
||||
sys-kernel/linux-headers
|
||||
x11-base/xorg-proto"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
dev-lang/perl
|
||||
sys-devel/binutils
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )
|
||||
!crossdev-mingw? ( dev-util/mingw64-toolchain[${MULTILIB_USEDEP}] )"
|
||||
IDEPEND=">=app-eselect/eselect-wine-2"
|
||||
|
||||
QA_CONFIG_IMPL_DECL_SKIP=(
|
||||
__clear_cache # unused on amd64+x86 (bug #900332)
|
||||
res_getservers # false positive
|
||||
)
|
||||
QA_TEXTRELS="usr/lib/*/wine/i386-unix/*.so" # uses -fno-PIC -Wl,-z,notext
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-7.0.4-musl.patch
|
||||
"${FILESDIR}"/${PN}-7.0.4-noexecstack.patch
|
||||
"${FILESDIR}"/${PN}-7.0.4-restore-menubuilder.patch
|
||||
"${FILESDIR}"/${PN}-8.0.1c-unwind.patch
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} == binary ]] && return
|
||||
|
||||
if use crossdev-mingw && [[ ! -v MINGW_BYPASS ]]; then
|
||||
local mingw=-w64-mingw32
|
||||
for mingw in $(usev abi_x86_64 x86_64${mingw}) $(usev abi_x86_32 i686${mingw}); do
|
||||
if ! type -P ${mingw}-gcc >/dev/null; then
|
||||
eerror "With USE=crossdev-mingw, you must prepare the MinGW toolchain"
|
||||
eerror "yourself by installing sys-devel/crossdev then running:"
|
||||
eerror
|
||||
eerror " crossdev --target ${mingw}"
|
||||
eerror
|
||||
eerror "For more information, please see: https://wiki.gentoo.org/wiki/Mingw"
|
||||
eerror "--> Note that mingw builds are default for ${PN} even without this USE."
|
||||
die "USE=crossdev-mingw is enabled, but ${mingw}-gcc was not found"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# sanity check, bumping these has a history of oversights
|
||||
local geckomono=$(sed -En '/^#define (GECKO|MONO)_VER/{s/[^0-9.]//gp}' \
|
||||
dlls/appwiz.cpl/addons.c || die)
|
||||
if [[ ${WINE_GECKO}$'\n'${WINE_MONO} != "${geckomono}" ]]; then
|
||||
local gmfatal=
|
||||
[[ ${PV} == *9999 ]] && gmfatal=nonfatal
|
||||
${gmfatal} die -n "gecko/mono mismatch in ebuild, has: " ${geckomono} " (please file a bug)"
|
||||
fi
|
||||
|
||||
default
|
||||
|
||||
# ensure .desktop calls this variant + slot
|
||||
sed -i "/^Exec=/s/wine /${P} /" loader/wine.desktop || die
|
||||
|
||||
# similarly to staging, append to `wine --version` for identification
|
||||
sed -i "s/wine_build[^1]*1/& (Proton-${WINE_PV})/" configure.ac || die
|
||||
|
||||
# always update for patches (including user's wrt #432348)
|
||||
eautoreconf
|
||||
tools/make_requests || die # perl
|
||||
dlls/winevulkan/make_vulkan -x vk.xml || die # python, needed for proton's
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
WINE_PREFIX=/usr/lib/${P}
|
||||
WINE_DATADIR=/usr/share/${P}
|
||||
|
||||
local conf=(
|
||||
--prefix="${EPREFIX}"${WINE_PREFIX}
|
||||
--datadir="${EPREFIX}"${WINE_DATADIR}
|
||||
--includedir="${EPREFIX}"/usr/include/${P}
|
||||
--libdir="${EPREFIX}"${WINE_PREFIX}
|
||||
--mandir="${EPREFIX}"${WINE_DATADIR}/man
|
||||
|
||||
# upstream (Valve) doesn't really support misc configurations (e.g.
|
||||
# adds vulkan code not always guarded by --with-vulkan), so force
|
||||
# some major options that are typically needed by games either way
|
||||
--with-freetype
|
||||
--with-mingw # needed by many, notably Blizzard titles
|
||||
--with-opengl
|
||||
--with-vulkan
|
||||
--with-x
|
||||
|
||||
# ...and disable most options unimportant for games and unused by
|
||||
# Proton rather than expose as volatile USEs with little support
|
||||
--without-capi
|
||||
--without-cups
|
||||
--without-gphoto
|
||||
--without-gssapi
|
||||
--without-krb5
|
||||
--without-netapi
|
||||
--without-opencl
|
||||
--without-pcap
|
||||
--without-sane
|
||||
ac_cv_lib_soname_odbc=
|
||||
|
||||
$(use_enable gecko mshtml)
|
||||
$(use_enable mono mscoree)
|
||||
--disable-tests
|
||||
$(use_with alsa)
|
||||
$(use_with fontconfig)
|
||||
$(use_with gstreamer)
|
||||
$(use_with nls gettext)
|
||||
$(use_with osmesa)
|
||||
--without-oss # media-sound/oss is not packaged (OSSv4)
|
||||
$(use_with pulseaudio pulse)
|
||||
$(use_with sdl)
|
||||
$(use_with ssl gnutls)
|
||||
$(use_with udev)
|
||||
$(use_with udisks dbus) # dbus is only used for udisks
|
||||
$(use_with unwind)
|
||||
$(use_with usb)
|
||||
$(use_with v4l v4l2)
|
||||
$(use_with xcomposite)
|
||||
$(use_with xinerama)
|
||||
)
|
||||
|
||||
tc-ld-force-bfd # builds with non-bfd but broken at runtime (bug #867097)
|
||||
filter-lto # build failure
|
||||
use custom-cflags || strip-flags # can break in obscure ways at runtime
|
||||
use crossdev-mingw || PATH=${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH}
|
||||
|
||||
# temporary workaround for tc-ld-force-bfd not yet enforcing with mold
|
||||
# https://github.com/gentoo/gentoo/pull/28355
|
||||
[[ $($(tc-getCC) ${LDFLAGS} -Wl,--version 2>/dev/null) == mold* ]] &&
|
||||
append-ldflags -fuse-ld=bfd
|
||||
|
||||
# build using upstream's way (--with-wine64)
|
||||
# order matters: configure+compile 64->32, install 32->64
|
||||
local -i bits
|
||||
for bits in $(usev abi_x86_64 64) $(usev abi_x86_32 32); do
|
||||
(
|
||||
einfo "Configuring ${PN} for ${bits}bits in ${WORKDIR}/build${bits} ..."
|
||||
|
||||
mkdir ../build${bits} || die
|
||||
cd ../build${bits} || die
|
||||
|
||||
pe_arch=i386
|
||||
if (( bits == 64 )); then
|
||||
pe_arch=x86_64
|
||||
: "${CROSSCC:=${CROSSCC_amd64:-x86_64-w64-mingw32-gcc}}"
|
||||
conf+=( --enable-win64 )
|
||||
elif use amd64; then
|
||||
conf+=(
|
||||
$(usev abi_x86_64 --with-wine64=../build64)
|
||||
TARGETFLAGS=-m32 # for widl
|
||||
)
|
||||
# _setup is optional, but use over Wine's auto-detect (+#472038)
|
||||
multilib_toolchain_setup x86
|
||||
fi
|
||||
: "${CROSSCC:=${CROSSCC_x86:-i686-w64-mingw32-gcc}}"
|
||||
|
||||
# CROSSCC is no longer recognized by Wine, but still use for now
|
||||
# (future handling for CROSS* variables is subject to changes)
|
||||
conf+=( ac_cv_prog_${pe_arch}_CC="${CROSSCC}" )
|
||||
|
||||
# use *FLAGS for mingw, but strip unsupported
|
||||
: "${CROSSCFLAGS:=$(
|
||||
# >=wine-7.21 configure.ac no longer adds -fno-strict by mistake
|
||||
append-cflags '-fno-strict-aliasing'
|
||||
filter-flags '-fstack-clash-protection' #758914
|
||||
filter-flags '-fstack-protector*' #870136
|
||||
filter-flags '-mfunction-return=thunk*' #878849
|
||||
CC=${CROSSCC} test-flags-CC ${CFLAGS:--O2})}"
|
||||
: "${CROSSLDFLAGS:=$(
|
||||
filter-flags '-fuse-ld=*'
|
||||
CC=${CROSSCC} test-flags-CCLD ${LDFLAGS})}"
|
||||
export CROSS{C,LD}FLAGS
|
||||
|
||||
ECONF_SOURCE=${S} econf "${conf[@]}"
|
||||
)
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use abi_x86_64 && emake -C ../build64 # do first
|
||||
use abi_x86_32 && emake -C ../build32
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use abi_x86_32 && emake DESTDIR="${D}" -C ../build32 install
|
||||
use abi_x86_64 && emake DESTDIR="${D}" -C ../build64 install # do last
|
||||
|
||||
# symlink for plain 'wine' and install its man pages if 64bit-only #404331
|
||||
if use abi_x86_64 && use !abi_x86_32; then
|
||||
dosym wine64 ${WINE_PREFIX}/bin/wine
|
||||
dosym wine64-preloader ${WINE_PREFIX}/bin/wine-preloader
|
||||
local man
|
||||
for man in ../build64/loader/wine.*man; do
|
||||
: "${man##*/wine}"
|
||||
: "${_%.*}"
|
||||
insinto ${WINE_DATADIR}/man/${_:+${_#.}/}man1
|
||||
newins ${man} wine.1
|
||||
done
|
||||
fi
|
||||
|
||||
use perl || rm "${ED}"${WINE_DATADIR}/man/man1/wine{dump,maker}.1 \
|
||||
"${ED}"${WINE_PREFIX}/bin/{function_grep.pl,wine{dump,maker}} || die
|
||||
|
||||
# create variant wrappers for eselect-wine
|
||||
local bin
|
||||
for bin in "${ED}"${WINE_PREFIX}/bin/*; do
|
||||
make_wrapper "${bin##*/}-${P#wine-}" "${bin#"${ED}"}"
|
||||
done
|
||||
|
||||
# don't let portage try to strip PE files with the wrong
|
||||
# strip executable and instead handle it here (saves ~120MB)
|
||||
dostrip -x ${WINE_PREFIX}/wine/{i386,x86_64}-windows
|
||||
use debug ||
|
||||
find "${ED}"${WINE_PREFIX}/wine/*-windows -regex '.*\.\(a\|dll\|exe\)' \
|
||||
-exec $(usex abi_x86_64 x86_64 i686)-w64-mingw32-strip --strip-unneeded {} + || die
|
||||
|
||||
dodoc ANNOUNCE AUTHORS README* documentation/README*
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
has_version ${CATEGORY}/${PN} && WINE_HAD_ANY_SLOT=
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
[[ -v WINE_HAD_ANY_SLOT ]] || readme.gentoo_print_elog
|
||||
|
||||
eselect wine update --if-unset || die
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect wine update --if-unset || die
|
||||
}
|
@ -0,0 +1,329 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MULTILIB_COMPAT=( abi_x86_{32,64} )
|
||||
inherit autotools flag-o-matic multilib multilib-build toolchain-funcs wrapper
|
||||
|
||||
WINE_GECKO=2.47.3
|
||||
WINE_MONO=7.4.0
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://gitlab.winehq.org/wine/wine.git"
|
||||
else
|
||||
(( $(ver_cut 2) )) && WINE_SDIR=$(ver_cut 1).x || WINE_SDIR=$(ver_cut 1).0
|
||||
SRC_URI="https://dl.winehq.org/wine/source/${WINE_SDIR}/wine-${PV}.tar.xz"
|
||||
S="${WORKDIR}/wine-${PV}"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Free implementation of Windows(tm) on Unix, without external patchsets"
|
||||
HOMEPAGE="
|
||||
https://www.winehq.org/
|
||||
https://gitlab.winehq.org/wine/wine/"
|
||||
|
||||
LICENSE="LGPL-2.1+ BSD-2 IJG MIT OPENLDAP ZLIB gsm libpng2 libtiff"
|
||||
SLOT="${PV}"
|
||||
IUSE="
|
||||
+X +abi_x86_32 +abi_x86_64 +alsa capi crossdev-mingw cups dos
|
||||
llvm-libunwind debug custom-cflags +fontconfig +gecko gphoto2
|
||||
+gstreamer kerberos +mingw +mono netapi nls odbc opencl +opengl
|
||||
osmesa pcap perl pulseaudio samba scanner +sdl selinux +ssl
|
||||
+truetype udev udisks +unwind usb v4l +vulkan +xcomposite xinerama"
|
||||
REQUIRED_USE="
|
||||
X? ( truetype )
|
||||
crossdev-mingw? ( mingw )" # bug #551124 for truetype
|
||||
|
||||
# tests are non-trivial to run, can hang easily, don't play well with
|
||||
# sandbox, and several need real opengl/vulkan or network access
|
||||
RESTRICT="test"
|
||||
|
||||
# `grep WINE_CHECK_SONAME configure.ac` + if not directly linked
|
||||
WINE_DLOPEN_DEPEND="
|
||||
X? (
|
||||
x11-libs/libXcursor[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXfixes[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXi[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrandr[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrender[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
|
||||
opengl? (
|
||||
media-libs/libglvnd[X,${MULTILIB_USEDEP}]
|
||||
osmesa? ( media-libs/mesa[osmesa,${MULTILIB_USEDEP}] )
|
||||
)
|
||||
xcomposite? ( x11-libs/libXcomposite[${MULTILIB_USEDEP}] )
|
||||
xinerama? ( x11-libs/libXinerama[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
cups? ( net-print/cups[${MULTILIB_USEDEP}] )
|
||||
fontconfig? ( media-libs/fontconfig[${MULTILIB_USEDEP}] )
|
||||
kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] )
|
||||
netapi? ( net-fs/samba[${MULTILIB_USEDEP}] )
|
||||
odbc? ( dev-db/unixODBC[${MULTILIB_USEDEP}] )
|
||||
sdl? ( media-libs/libsdl2[haptic,joystick,${MULTILIB_USEDEP}] )
|
||||
ssl? ( net-libs/gnutls:=[${MULTILIB_USEDEP}] )
|
||||
truetype? ( media-libs/freetype[${MULTILIB_USEDEP}] )
|
||||
udisks? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
|
||||
v4l? ( media-libs/libv4l[${MULTILIB_USEDEP}] )
|
||||
vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )"
|
||||
WINE_COMMON_DEPEND="
|
||||
${WINE_DLOPEN_DEPEND}
|
||||
X? (
|
||||
x11-libs/libX11[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXext[${MULTILIB_USEDEP}]
|
||||
)
|
||||
alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
|
||||
capi? ( net-libs/libcapi:=[${MULTILIB_USEDEP}] )
|
||||
gphoto2? ( media-libs/libgphoto2:=[${MULTILIB_USEDEP}] )
|
||||
gstreamer? (
|
||||
dev-libs/glib:2[${MULTILIB_USEDEP}]
|
||||
media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}]
|
||||
media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
|
||||
)
|
||||
opencl? ( virtual/opencl[${MULTILIB_USEDEP}] )
|
||||
pcap? ( net-libs/libpcap[${MULTILIB_USEDEP}] )
|
||||
pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] )
|
||||
scanner? ( media-gfx/sane-backends[${MULTILIB_USEDEP}] )
|
||||
udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
|
||||
unwind? (
|
||||
llvm-libunwind? ( sys-libs/llvm-libunwind[${MULTILIB_USEDEP}] )
|
||||
!llvm-libunwind? ( sys-libs/libunwind:=[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
usb? ( dev-libs/libusb:1[${MULTILIB_USEDEP}] )"
|
||||
RDEPEND="
|
||||
${WINE_COMMON_DEPEND}
|
||||
app-emulation/wine-desktop-common
|
||||
dos? ( games-emulation/dosbox )
|
||||
gecko? ( app-emulation/wine-gecko:${WINE_GECKO}[${MULTILIB_USEDEP}] )
|
||||
gstreamer? ( media-plugins/gst-plugins-meta:1.0[${MULTILIB_USEDEP}] )
|
||||
mono? ( app-emulation/wine-mono:${WINE_MONO} )
|
||||
perl? (
|
||||
dev-lang/perl
|
||||
dev-perl/XML-LibXML
|
||||
)
|
||||
samba? ( net-fs/samba[winbind] )
|
||||
selinux? ( sec-policy/selinux-wine )
|
||||
udisks? ( sys-fs/udisks:2 )"
|
||||
DEPEND="
|
||||
${WINE_COMMON_DEPEND}
|
||||
sys-kernel/linux-headers
|
||||
X? ( x11-base/xorg-proto )"
|
||||
BDEPEND="
|
||||
dev-lang/perl
|
||||
sys-devel/binutils
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig
|
||||
mingw? ( !crossdev-mingw? (
|
||||
>=dev-util/mingw64-toolchain-10.0.0_p1-r2[${MULTILIB_USEDEP}]
|
||||
) )
|
||||
nls? ( sys-devel/gettext )"
|
||||
IDEPEND=">=app-eselect/eselect-wine-2"
|
||||
|
||||
QA_CONFIG_IMPL_DECL_SKIP=(
|
||||
__clear_cache # unused on amd64+x86 (bug #900338)
|
||||
res_getservers # false positive
|
||||
)
|
||||
QA_TEXTRELS="usr/lib/*/wine/i386-unix/*.so" # uses -fno-PIC -Wl,-z,notext
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-7.0-noexecstack.patch
|
||||
"${FILESDIR}"/${PN}-7.20-unwind.patch
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} == binary ]] && return
|
||||
|
||||
if use crossdev-mingw && [[ ! -v MINGW_BYPASS ]]; then
|
||||
local mingw=-w64-mingw32
|
||||
for mingw in $(usev abi_x86_64 x86_64${mingw}) $(usev abi_x86_32 i686${mingw}); do
|
||||
if ! type -P ${mingw}-gcc >/dev/null; then
|
||||
eerror "With USE=crossdev-mingw, you must prepare the MinGW toolchain"
|
||||
eerror "yourself by installing sys-devel/crossdev then running:"
|
||||
eerror
|
||||
eerror " crossdev --target ${mingw}"
|
||||
eerror
|
||||
eerror "For more information, please see: https://wiki.gentoo.org/wiki/Mingw"
|
||||
die "USE=crossdev-mingw is enabled, but ${mingw}-gcc was not found"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# sanity check, bumping these has a history of oversights
|
||||
local geckomono=$(sed -En '/^#define (GECKO|MONO)_VER/{s/[^0-9.]//gp}' \
|
||||
dlls/appwiz.cpl/addons.c || die)
|
||||
if [[ ${WINE_GECKO}$'\n'${WINE_MONO} != "${geckomono}" ]]; then
|
||||
local gmfatal=
|
||||
[[ ${PV} == *9999 ]] && gmfatal=nonfatal
|
||||
${gmfatal} die -n "gecko/mono mismatch in ebuild, has: " ${geckomono} " (please file a bug)"
|
||||
fi
|
||||
|
||||
default
|
||||
|
||||
# ensure .desktop calls this variant + slot
|
||||
sed -i "/^Exec=/s/wine /${P} /" loader/wine.desktop || die
|
||||
|
||||
# always update for patches (including user's wrt #432348)
|
||||
eautoreconf
|
||||
tools/make_requests || die # perl
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
WINE_PREFIX=/usr/lib/${P}
|
||||
WINE_DATADIR=/usr/share/${P}
|
||||
|
||||
local conf=(
|
||||
--prefix="${EPREFIX}"${WINE_PREFIX}
|
||||
--datadir="${EPREFIX}"${WINE_DATADIR}
|
||||
--includedir="${EPREFIX}"/usr/include/${P}
|
||||
--libdir="${EPREFIX}"${WINE_PREFIX}
|
||||
--mandir="${EPREFIX}"${WINE_DATADIR}/man
|
||||
$(use_enable gecko mshtml)
|
||||
$(use_enable mono mscoree)
|
||||
--disable-tests
|
||||
$(use_with X x)
|
||||
$(use_with alsa)
|
||||
$(use_with capi)
|
||||
$(use_with cups)
|
||||
$(use_with fontconfig)
|
||||
$(use_with gphoto2 gphoto)
|
||||
$(use_with gstreamer)
|
||||
$(use_with kerberos gssapi)
|
||||
$(use_with kerberos krb5)
|
||||
$(use_with mingw)
|
||||
$(use_with netapi)
|
||||
$(use_with nls gettext)
|
||||
$(use_with opencl)
|
||||
$(use_with opengl)
|
||||
$(use_with osmesa)
|
||||
--without-oss # media-sound/oss is not packaged (OSSv4)
|
||||
$(use_with pcap)
|
||||
$(use_with pulseaudio pulse)
|
||||
$(use_with scanner sane)
|
||||
$(use_with sdl)
|
||||
$(use_with ssl gnutls)
|
||||
$(use_with truetype freetype)
|
||||
$(use_with udev)
|
||||
$(use_with udisks dbus) # dbus is only used for udisks
|
||||
$(use_with unwind)
|
||||
$(use_with usb)
|
||||
$(use_with v4l v4l2)
|
||||
$(use_with vulkan)
|
||||
$(use_with xcomposite)
|
||||
$(use_with xinerama)
|
||||
$(usev !odbc ac_cv_lib_soname_odbc=)
|
||||
)
|
||||
|
||||
tc-ld-force-bfd # builds with non-bfd but broken at runtime (bug #867097)
|
||||
filter-lto # build failure
|
||||
use mingw || filter-flags -fno-plt # build failure
|
||||
use custom-cflags || strip-flags # can break in obscure ways at runtime
|
||||
use crossdev-mingw || PATH=${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH}
|
||||
|
||||
# temporary workaround for tc-ld-force-bfd not yet enforcing with mold
|
||||
# https://github.com/gentoo/gentoo/pull/28355
|
||||
[[ $($(tc-getCC) ${LDFLAGS} -Wl,--version 2>/dev/null) == mold* ]] &&
|
||||
append-ldflags -fuse-ld=bfd
|
||||
|
||||
# build using upstream's way (--with-wine64)
|
||||
# order matters: configure+compile 64->32, install 32->64
|
||||
local -i bits
|
||||
for bits in $(usev abi_x86_64 64) $(usev abi_x86_32 32); do
|
||||
(
|
||||
einfo "Configuring ${PN} for ${bits}bits in ${WORKDIR}/build${bits} ..."
|
||||
|
||||
mkdir ../build${bits} || die
|
||||
cd ../build${bits} || die
|
||||
|
||||
pe_arch=i386
|
||||
if (( bits == 64 )); then
|
||||
pe_arch=x86_64
|
||||
: "${CROSSCC:=${CROSSCC_amd64:-x86_64-w64-mingw32-gcc}}"
|
||||
conf+=( --enable-win64 )
|
||||
elif use amd64; then
|
||||
conf+=(
|
||||
$(usev abi_x86_64 --with-wine64=../build64)
|
||||
TARGETFLAGS=-m32 # for widl
|
||||
)
|
||||
# _setup is optional, but use over Wine's auto-detect (+#472038)
|
||||
multilib_toolchain_setup x86
|
||||
fi
|
||||
: "${CROSSCC:=${CROSSCC_x86:-i686-w64-mingw32-gcc}}"
|
||||
|
||||
if use mingw; then
|
||||
# CROSSCC is no longer recognized by Wine, but still use for now
|
||||
# (future handling for CROSS* variables is subject to changes)
|
||||
conf+=( ac_cv_prog_${pe_arch}_CC="${CROSSCC}" )
|
||||
|
||||
# use *FLAGS for mingw, but strip unsupported
|
||||
: "${CROSSCFLAGS:=$(
|
||||
# >=wine-7.21 configure.ac no longer adds -fno-strict by mistake
|
||||
append-cflags '-fno-strict-aliasing'
|
||||
filter-flags '-fstack-clash-protection' #758914
|
||||
filter-flags '-fstack-protector*' #870136
|
||||
filter-flags '-mfunction-return=thunk*' #878849
|
||||
CC=${CROSSCC} test-flags-CC ${CFLAGS:--O2})}"
|
||||
: "${CROSSLDFLAGS:=$(
|
||||
filter-flags '-fuse-ld=*'
|
||||
CC=${CROSSCC} test-flags-CCLD ${LDFLAGS})}"
|
||||
export CROSS{C,LD}FLAGS
|
||||
fi
|
||||
|
||||
ECONF_SOURCE=${S} econf "${conf[@]}"
|
||||
)
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use abi_x86_64 && emake -C ../build64 # do first
|
||||
use abi_x86_32 && emake -C ../build32
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use abi_x86_32 && emake DESTDIR="${D}" -C ../build32 install
|
||||
use abi_x86_64 && emake DESTDIR="${D}" -C ../build64 install # do last
|
||||
|
||||
# symlink for plain 'wine' and install its man pages if 64bit-only #404331
|
||||
if use abi_x86_64 && use !abi_x86_32; then
|
||||
dosym wine64 ${WINE_PREFIX}/bin/wine
|
||||
dosym wine64-preloader ${WINE_PREFIX}/bin/wine-preloader
|
||||
local man
|
||||
for man in ../build64/loader/wine.*man; do
|
||||
: "${man##*/wine}"
|
||||
: "${_%.*}"
|
||||
insinto ${WINE_DATADIR}/man/${_:+${_#.}/}man1
|
||||
newins ${man} wine.1
|
||||
done
|
||||
fi
|
||||
|
||||
use perl || rm "${ED}"${WINE_DATADIR}/man/man1/wine{dump,maker}.1 \
|
||||
"${ED}"${WINE_PREFIX}/bin/{function_grep.pl,wine{dump,maker}} || die
|
||||
|
||||
# create variant wrappers for eselect-wine
|
||||
local bin
|
||||
for bin in "${ED}"${WINE_PREFIX}/bin/*; do
|
||||
make_wrapper "${bin##*/}-${P#wine-}" "${bin#"${ED}"}"
|
||||
done
|
||||
|
||||
# don't let portage try to strip PE files with the wrong
|
||||
# strip executable and instead handle it here (saves ~120MB)
|
||||
if use mingw; then
|
||||
dostrip -x ${WINE_PREFIX}/wine/{i386,x86_64}-windows
|
||||
use debug ||
|
||||
find "${ED}"${WINE_PREFIX}/wine/*-windows -regex '.*\.\(a\|dll\|exe\)' \
|
||||
-exec $(usex abi_x86_64 x86_64 i686)-w64-mingw32-strip --strip-unneeded {} + || die
|
||||
fi
|
||||
|
||||
dodoc ANNOUNCE AUTHORS README* documentation/README*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect wine update --if-unset || die
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect wine update --if-unset || die
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,5 +1,6 @@
|
||||
AUX g810-led-0.4.2_gcc13.patch 504 BLAKE2B 51b11efa363290a7f75e6b1d2f2f45f3ff0d1aa7e179f4d80f2353ffd13991ed4b92b1c03c3622974a19a4dd18025653666cdc918c0546a0ca77bf48c86aced0 SHA512 3beaf50e7fcfefa1293c02d140ec59495a135437ce12c73073c8591820eb9ce23a2e2c09b72eb7e3ff3fc1db97f32db126109cb691a8ada4fc400e79747f9d82
|
||||
DIST g810-led-0.3.6.tar.gz 34544 BLAKE2B 142fd54d7721a1deebfb019b644a4c8ab0fd5e1662391075cea67a4c7b7145034101f14c22975bdf079ee5b8e56c4a73e18fe31ce5d7fcf20ff4b9c64ee85502 SHA512 5a1877ee135a662bc5eb15c1afe5370cfe9243b4479823e3492f0da8f407b1438e3d7e35bd9992eea8dcbd4d548c9acdb7e74f4c99efbd4e9e8e6ddae33f8a5b
|
||||
DIST g810-led-0.4.2.tar.gz 36669 BLAKE2B 738ca1849b05ddc35e42c258f67b2fedc2ab207594a32111aeca8cb1cffa99580e0f22e57ea92aff0e49f546e871b5af1c77cd5830349af98c9a977b27a0186b SHA512 03e62265964b6d47d474b57a92beb3a017e8479113750e7d52790d0779b8893eb7e3761f236db94ff1e1ddb0424c711fd1a35c869d0f93ad68104b1ddd2bf1e8
|
||||
EBUILD g810-led-0.3.6.ebuild 1023 BLAKE2B ee801168b7b981d46d59c65b1081a6fd87fc5961c49a1694dcc994c042d34d3d02e80e308e67f18b55f46411a048d97e3a2612d9dde07e5533326ce0bf01d5da SHA512 d05c4eac97cc432f09a64f3707a34779de87c5f79ebec153c2b4b1084ed891cb29f8a2956d7c985fa729c6e786029e9a29230dcb34974fc03fbc1d14202a2be9
|
||||
EBUILD g810-led-0.4.2.ebuild 2026 BLAKE2B 3ffeb677d8f91dba21fb4eaa5b1e38694e25c203e09a17165c8eec989e77bb954b1b5246f2a244eda94ed7ec6bb8a1f33e018a7e163dce1e5cb0635a844cc5b0 SHA512 ef8ce8e952dbece22c71e31ca601b6ff10b1fa94450569bdeea85861413f3e6a448e4db69a65a76f63ba43dba624aac6a5f02d8c8394ba0a64257432dfde6a8f
|
||||
EBUILD g810-led-0.4.2.ebuild 2161 BLAKE2B d162c4066800578dedb41a923f9d4a9f1ded2c7253bd503b07f3f0db3793c2cd979aaae1bd997ab7660ba2ce6ad44c555c751c242cdf2ae4b3aaa4b8cbcbfb11 SHA512 beef88c04d957e8539861ae5a8cc04befb7ae86ee096faf16950ed3d8b1264137eeb20b9a3984775cdaaf14aa70f12793142483b0f78eb578cb944c0e586ddc2
|
||||
MISC metadata.xml 641 BLAKE2B 566bef8395d71af1cf012d42be32f817b558674b7cd37b61a7073794c025414b3c7ca09b701774cae9728cc4396b0311bca4230330047134e43c9974ee2d8246 SHA512 51510c9a6dc3e31469b1d78f78f3ad133d9b6e7846346bca23fa76bcd6b486824e5518ce2b309fb4aa9dfd76e9840d92c9c87f5ef1c2ef589dcd5e4d5a45a4af
|
||||
|
@ -0,0 +1,21 @@
|
||||
From 0ca17e2ba8c8f01e51a360903a2009186ff78a1c Mon Sep 17 00:00:00 2001
|
||||
From: Olav Reinert <seroton10@gmail.com>
|
||||
Date: Sun, 26 Mar 2023 13:48:10 +0200
|
||||
Subject: [PATCH] fix: compilation error with GCC 13
|
||||
|
||||
---
|
||||
src/helpers/help.h | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/helpers/help.h b/src/helpers/help.h
|
||||
index 1d176f0..b7d02fd 100644
|
||||
--- a/src/helpers/help.h
|
||||
+++ b/src/helpers/help.h
|
||||
@@ -18,6 +18,7 @@
|
||||
#define HELP_HELPER
|
||||
|
||||
#include <iostream>
|
||||
+#include <cstdint>
|
||||
|
||||
namespace help {
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue