parent
de8aa2cded
commit
7bef313236
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,4 +1,5 @@
|
||||
DIST fdutils-5.5-20060227_20081027.diff.gz 6748 BLAKE2B a6d9bf332a777c6c09c85ea85adfaf02422ed2e459d3cb5248c5f6c122e11d39c1a426288d8b611f61ee5ed33ceb5695644f6fbf5421e7a0b1b9937c6a3c26f3 SHA512 979ad8116a5e0c82584a534095e60689d3920d16f0685a184619012d4146f89d6dce063d896668242bf10a6372579ad16ee3e2093e386ff430f265a23458750d
|
||||
DIST fdutils_5.5-20060227-6.debian.tar.gz 54489 BLAKE2B 4d0fbd1c9c4f115a9df3f7092e062173f6a8956df8d465bb0186f712f51f6ef9e4fc67c4c642cdf7ae7e9daa775d6657c4306f5837307a51daa0abcc12639b0e SHA512 db6759bd2b98ae65bca39cf5b09fdb250371e02daa7665d8d21f93c3ab968cfe345cecb20faedaf2600104b22e2fb4df6868860dac3ead0ffb28d2141c8d7149
|
||||
DIST fdutils_5.5-20060227-8.debian.tar.xz 48480 BLAKE2B 16de5a3b9f634c3eafbe9048d84c6ff29933e5b5ad878de79e6b03aac49ec44334e7e8e090ad0518bc83e8adb91dd19612850f0de7e28bc9d9c10663fd9a5252 SHA512 a55823c2a4defe1ebad5a92c96a85766520a744b75f49e9f99eb14ec2c0ec44f91a72437d070942a4603f7e337ed60c380f61635b4aba57dbb5ddc8d771d8b89
|
||||
DIST fdutils_5.5-20060227.orig.tar.gz 222915 BLAKE2B d76a4b30ab60ea081e333817af11fe3815e8e19149c643afbcb931dc670fa3893cb96bb6be2136dea10fea06894a02e7fd1ecc4500ca6dd786054bbdaea19262 SHA512 a25d23827b9178a9a54d0012ad20248072e07aa5798bb3661fd0412d2441239b7bbf1778b5e34acb1a09a25a76e44c1801b706a242ce3b2337c06757e0ac02dd
|
||||
DIST fdutils_5.6-2.debian.tar.xz 49420 BLAKE2B 6f21a07fc9eeea3588b5b810cfc0e20e8c9e3ba905caa4274643aceeb452cf62d9a8449d25f25d73f87933ed9fc1654fede129874218f497ea4dcba82fbb58cc SHA512 b75d3b9185de51aae9ffc6e851b43b9722bb258b6d1c7517994a04bdf4607b53648291d0c755af2822d6503fe41150b08a56e59ccc4be604f23429cb10eb60b8
|
||||
DIST fdutils_5.6.orig.tar.gz 231851 BLAKE2B 461a145f5cc698e110e699cebadd887283cc53eaa06fd06b35f34658696fa27fdd443012e26bfc29d26db5e8db15d664c91230f7c7c2d89439bcbc8ea649536f SHA512 5b8c4b4f08657f7dd8bcbddddb5943df30386731c59be8fccd7da40504569c2fab48697d91937f0f50c19a51f84f2a191803139a93fafa10f8a3003cbd75faab
|
||||
|
@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit epatch
|
||||
|
||||
MY_P=${PN}_5.5-20060227
|
||||
|
||||
DESCRIPTION="utilities for configuring and debugging the Linux floppy driver"
|
||||
HOMEPAGE="https://fdutils.linux.lu"
|
||||
SRC_URI="mirror://debian/pool/main/f/${PN}/${MY_P}.orig.tar.gz
|
||||
mirror://debian/pool/main/f/${PN}/${MY_P}-6.debian.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND=">=sys-fs/mtools-4"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-apps/texinfo
|
||||
virtual/os-headers
|
||||
doc? ( virtual/texi2dvi )"
|
||||
|
||||
S=${WORKDIR}/${PN}-5.5-20060227
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-gcc10.patch"
|
||||
|
||||
local d="${WORKDIR}"/debian/patches
|
||||
EPATCH_SOURCE="${d}" epatch $(<"${d}"/series)
|
||||
sed -i -e 's:{LDFLAFS}:(LDFLAGS):' src/Makefile.in || die #337721
|
||||
# The build sets up config.h and uses some symbols, but forgots to
|
||||
# actually include it in most places.
|
||||
sed -i '1i#include "../config.h"' src/*.c || die #580060
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --enable-fdmount-floppy-only
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 $(use doc || echo compile)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /etc
|
||||
use doc && dodir /usr/share/info
|
||||
|
||||
emake -j1 DESTDIR="${D}" install
|
||||
|
||||
# The copy in sys-apps/man-pages is more recent
|
||||
rm -f "${ED}"/usr/share/man/man4/fd.4 || die
|
||||
|
||||
# Rename to match binary
|
||||
mv "${ED}"/usr/share/man/man1/{makefloppies,MAKEFLOPPIES}.1 || die
|
||||
}
|
@ -0,0 +1,72 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MY_P=${PN}_5.6
|
||||
|
||||
inherit autotools toolchain-funcs
|
||||
|
||||
DESCRIPTION="Utilities for configuring and debugging the Linux floppy driver"
|
||||
HOMEPAGE="https://fdutils.linux.lu"
|
||||
SRC_URI="
|
||||
mirror://debian/pool/main/f/${PN}/${MY_P}.orig.tar.gz
|
||||
mirror://debian/pool/main/f/${PN}/${MY_P}-2.debian.tar.xz
|
||||
"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND=">=sys-fs/mtools-4"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/os-headers
|
||||
"
|
||||
BDEPEND="
|
||||
sys-apps/texinfo
|
||||
sys-devel/autoconf-archive
|
||||
doc? ( virtual/texi2dvi )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}-5.6"
|
||||
|
||||
src_prepare() {
|
||||
local debian=($(< "${WORKDIR}"/debian/patches/series)) || die
|
||||
debian=(${debian[@]/fdmount-compilation_linux_2.6.patch/}) # exclude this patch
|
||||
PATCHES+=("${debian[@]/#/${WORKDIR}/debian/patches/}")
|
||||
PATCHES+=(
|
||||
"${FILESDIR}"/fdutils-5.5.20060227-r1-parallel.patch # bug 315577
|
||||
"${FILESDIR}"/fdutils-5.6_p2-parallel.patch
|
||||
"${FILESDIR}"/fdutils-5.6_p2-docs-build.patch
|
||||
)
|
||||
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export CC_FOR_BUILD="$(tc-getBUILD_CC)"
|
||||
|
||||
econf --enable-fdmount-floppy-only
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
use doc && emake doc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /etc
|
||||
emake DESTDIR="${D}" install
|
||||
emake -C doc DESTDIR="${D}" install-man
|
||||
|
||||
use doc && emake DESTDIR="${D}" install-doc
|
||||
|
||||
# The copy in sys-apps/man-pages is more recent
|
||||
rm -f "${ED}"/usr/share/man/man4/fd.4 || die
|
||||
|
||||
# Rename to match binary
|
||||
mv "${ED}"/usr/share/man/man1/{makefloppies,MAKEFLOPPIES}.1 || die
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
Use modern autoconf-archive macro to ensure @CC_FOR_BUILD@ and such gets
|
||||
replaced in Makefiles.
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -9,7 +9,7 @@ AC_PROG_CC
|
||||
AC_PROG_GCC_TRADITIONAL
|
||||
AC_PROG_INSTALL
|
||||
AC_PROG_LN_S
|
||||
-AX_CC_FOR_BUILD
|
||||
+AX_PROG_CC_FOR_BUILD
|
||||
|
||||
AC_PATH_PROG(INSTALL_INFO, install-info, "")
|
||||
|
@ -0,0 +1,26 @@
|
||||
From 506a2cb13ce90439331b8e4e710524a040c7d0c6 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Bracht Laumann Jespersen <t@laumann.xyz>
|
||||
Date: Wed, 2 Mar 2022 12:19:35 +0100
|
||||
Subject: [PATCH] Make fdrawcmd depend on libfdutils.a
|
||||
|
||||
This allows parallel compilation to complete successfully.
|
||||
---
|
||||
src/Makefile.in | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/Makefile.in b/src/Makefile.in
|
||||
index b094501..5959ddf 100644
|
||||
--- a/src/Makefile.in
|
||||
+++ b/src/Makefile.in
|
||||
@@ -96,7 +96,7 @@ superformat: superformat.o libfdutils.a
|
||||
floppymeter: floppymeter.o libfdutils.a
|
||||
${CC} ${LDFLAGS} -o $@ $< $(LIBS)
|
||||
|
||||
-fdrawcmd: fdrawcmd.o
|
||||
+fdrawcmd: fdrawcmd.o libfdutils.a
|
||||
${CC} $(LDFLAGS) -o $@ $< $(LIBS)
|
||||
|
||||
getfdprm: getfdprm.o libfdutils.a
|
||||
--
|
||||
2.34.1
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST folly-2022.02.28.00.tar.gz 3600258 BLAKE2B 5943b0e4b6178c8293714f673ed289daed26b1dad22dcb52dc80475f385961cf0a690accc44139f245f2df5cf10c0bdb5638c8bed52cb97fefd3ad6d8dc147b8 SHA512 91ee21e463ffc6eee3b0e5e0244721a9612337b9afe92645556a154f521aec1070f4f381962247bb9bf11592efb5b8bb01f70d1a66acd3444967538062dfe826
|
||||
DIST folly-2022.03.07.00.tar.gz 3604306 BLAKE2B fe255678d6f827c82ada3e136742d07bd62dfb81c1250ca6bae9a4f3e1f015904032da8de1488342da1326fa520b448c63a59ef7e0139ecb0844a1ae19c1dfed SHA512 e63eff137711ca71b5a78469e4feff1b4e7b65465413eefb91b7c0cb26b94e1d581a305a9df9937ce05bcd8af3dc465adb816ad95538689811d8ab5b5b9f269f
|
||||
|
@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake toolchain-funcs
|
||||
|
||||
DESCRIPTION="An open-source C++ library developed and used at Facebook"
|
||||
HOMEPAGE="https://github.com/facebook/folly"
|
||||
SRC_URI="https://github.com/facebook/folly/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="llvm-libunwind test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="app-arch/bzip2
|
||||
app-arch/lz4:=
|
||||
app-arch/snappy:=
|
||||
app-arch/xz-utils
|
||||
app-arch/zstd:=
|
||||
dev-cpp/gflags:=
|
||||
dev-cpp/glog[gflags]
|
||||
dev-libs/boost:=[context,threads(+)]
|
||||
dev-libs/double-conversion:=
|
||||
dev-libs/libaio
|
||||
dev-libs/libevent:=
|
||||
dev-libs/libfmt:=
|
||||
dev-libs/libsodium:=
|
||||
dev-libs/openssl:=
|
||||
sys-libs/liburing:=
|
||||
sys-libs/zlib
|
||||
llvm-libunwind? ( sys-libs/llvm-libunwind:= )
|
||||
!llvm-libunwind? ( sys-libs/libunwind:= )"
|
||||
# libiberty is linked statically
|
||||
DEPEND="${RDEPEND}
|
||||
sys-libs/binutils-libs"
|
||||
BDEPEND="test? ( sys-devel/clang )"
|
||||
|
||||
pkg_setup() {
|
||||
if use test && [[ ${BUILD_TYPE} != "binary" ]] && ! tc-is-clang ; then
|
||||
ewarn "Forcing build with Clang due to GCC bug (because tests are enabled)"
|
||||
ewarn "(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104008)"
|
||||
|
||||
export CC=${CHOST}-clang
|
||||
export CXX=${CHOST}-clang++
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# TODO: liburing could in theory be optional but fails to link
|
||||
|
||||
local mycmakeargs=(
|
||||
-DLIB_INSTALL_DIR="$(get_libdir)"
|
||||
|
||||
-DBUILD_TESTS=$(usex test)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
don't waste time building the examples
|
||||
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -195,7 +195,7 @@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
-SUBDIRS = tools libgnomecanvas docs examples demos
|
||||
+SUBDIRS = tools libgnomecanvas docs demos
|
||||
DIST_SUBDIRS = $(SUBDIRS) scripts
|
||||
EXTRA_DIST = libgnomecanvasmm.spec.in \
|
||||
build_shared/Makefile_build.am_fragment \
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME_TARBALL_SUFFIX="bz2"
|
||||
|
||||
inherit flag-o-matic gnome2
|
||||
|
||||
DESCRIPTION="C++ bindings for libgnomecanvas"
|
||||
HOMEPAGE="https://www.gtkmm.org"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="2.6"
|
||||
KEYWORDS="~alpha amd64 arm ~ia64 ppc ppc64 sparc x86"
|
||||
IUSE="doc examples"
|
||||
|
||||
RDEPEND="
|
||||
>=gnome-base/libgnomecanvas-2.6
|
||||
>=dev-cpp/gtkmm-2.4:2.4
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
if ! use examples; then
|
||||
# don't waste time building the examples
|
||||
sed -i 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' Makefile.in || \
|
||||
die "sed Makefile.in failed"
|
||||
fi
|
||||
gnome2_src_prepare
|
||||
append-cxxflags -std=c++11 #568300
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
gnome2_src_compile
|
||||
|
||||
if use doc; then
|
||||
cd "${S}/docs/reference"
|
||||
emake all
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
|
||||
if use doc ; then
|
||||
dohtml -r docs/reference/html/*
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
cp -R examples "${D}/usr/share/doc/${PF}"
|
||||
fi
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
GNOME_TARBALL_SUFFIX="bz2"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="C++ bindings for libgnomecanvas"
|
||||
HOMEPAGE="https://www.gtkmm.org"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="2.6"
|
||||
KEYWORDS="~alpha amd64 arm ~ia64 ppc ppc64 sparc x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="
|
||||
>=gnome-base/libgnomecanvas-2.6
|
||||
>=dev-cpp/gtkmm-2.4:2.4
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-disable-building-examples.patch )
|
||||
|
||||
src_compile() {
|
||||
gnome2_src_compile
|
||||
|
||||
if use doc; then
|
||||
emake -C docs/reference all
|
||||
HTML_DOCS=( docs/reference/html/. )
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
|
||||
rm examples/Makefile* examples/*/Makefile* || die
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
}
|
@ -1,8 +1,10 @@
|
||||
DIST c4fs-1abba005074022f07d2d9d11ec6a786f2a1f1380.tar.gz 22104 BLAKE2B ea9a063de87962d620e98bad573b1eef9a65cffdacdeab241fd91982f3da93ab01b1bfd6fd87eac5def0b8523f6f2ce32e9321385fb07a6f108dcb68630af1f5 SHA512 00aa29f818a13301df3506ae2b0bc8b527a6d292eb09ccc69681c2ad92ec270aeb635680543dfe1e761a82206c97f8347337a152728eb49d918284e043d32096
|
||||
DIST c4fs-603fce2ad34820c43b1ad60070a77d792636f5aa.tar.gz 22166 BLAKE2B 9be9936f93a58dd58ff011fe8db5103a884125b2906131a9a26d624bb77bfb6a924af08b519d19ef1a9f176bd5271a6c4e586ea0e9814bcd42095df426249a92 SHA512 f27d460aa30302d067f44d83a10c846e5d3ad9a3a710b5d0209fac3c2fb5ac62fa247fdc8192ab94b2274dc4061bd9b4cc46c3dac6c96f0da8dc200f9bedb562
|
||||
DIST c4fs-f78cbd86a77c976395c9834726a14a1bba059af0.tar.gz 22163 BLAKE2B c3ed63e9e92dbcba63faa415d4de56ce275fb3b493238235930c629362d75e08ca2f6ec2ad34fda12154544b9972e45b75c24c5a9c80d9d7a68febe6f6e462c8 SHA512 c25d1122851ef2d46b00a2fd5083313c742758530a0d5a9c0353ccd637fbe38228ef8fb45bc8addf9006cc7655dec4b4fc571af13dcedf75f19c551c5011e377
|
||||
DIST c4log-b8b86f33fc7539661e302171ee6dcc4a17859e67.tar.gz 11983 BLAKE2B 8f2f18e85e01ffe76a2705d181260c7f1c0979009c09c6037097c7711d590f576816e39e869b30cad7b8134114eef55edad327e6224b09c6ba34dd389917af22 SHA512 a3f8f78ffe38426bab2f79748ecadb07e688d98ac75f907a9898ea93f0e7b1818253846412de24f4f755e0a7099aa886515cdd0b28b8c87786ad656a85bd3f9b
|
||||
DIST c4log-e29915ceeaf9fffb18ba43fb9d6d446d20a1cb4d.tar.gz 11985 BLAKE2B 15cc7c1bd9a1693e5419e4904e1cb30f297c7003e1480014f7782d35d0222cb000643901e6afffbe13bdbb61aa10aa4ce759c5333b327b81d3ade1e043283310 SHA512 93f4e8854cf3a5f00beb9a427004a360961caf47c53aaa817f5ca43f4cab7bad6333ba35aad24d1e7aecea75f9f3a8628527ccb0be241bdec25c5aebfb0be8e3
|
||||
DIST rapidyaml-0.3.0-src.tgz 696476 BLAKE2B 30b077e3ddff56f68108a02545efc77ae3684273891f36db61b714a9af414f1f01d147a7132619647796c863ec6ae2f2586c8bfe9e1c2d3c6e7e99d11d41ee8e SHA512 52a469b18c484d8def9239f6f7697f3c3b7760855c7af68a36988cc5a8031e1f5f900819b2af9770722628d0c14fa2cc776d1c07db7a8e85602c4d00aa4199a2
|
||||
DIST rapidyaml-0.4.0-src.tgz 910642 BLAKE2B cd6813d7bbf855383ef3fce572adda20b7974bc2191b36c7b3bfccec7f14cd798c024693894f350e653d2a91924f40c3d27b89edb5596673a1541bbab1b8ed61 SHA512 c1d25ae75140d7396ecef41abbd60c048efc6e3b7ea9fd8ed5651ca2cfc737c46b2f9f23bbafa47b804b02ba6e67bdafe1e97acbedf7c483d32467a23ce8807a
|
||||
DIST rapidyaml-0.4.1-src.tgz 910816 BLAKE2B b9ef92045009b1b38d9142b2856e747edf446261c2271ee580a3aa51a3b5a2b0dfbdbcd1da6c520697dff092e9918f273d77e3f1b1e1a6ee28305aac648e6b4e SHA512 99051f452d61262188cb824623dd950cf51e0db48f519e45e7ed1edf40f3445f73547f1fc0de6b5654a7a6986d48fd3659f72f2d46019af77349957ee14cdd79
|
||||
DIST yaml-test-suite-6e6c296ae9c9d2d5c4134b4b64d01b29ac19ff6f.tar.gz 99765 BLAKE2B d55a605623c988a4c58daa6dd155980129ffefe86570d55b1ce2514dfa77c352e0467b12e95d6e2bd38cc0454f0b30c3109c088841ddbe423b8bbb7d9e41bc9b SHA512 4ab0e52369d085e696196ef1aab8ecb4f0218e48e8ce33c4ecc863942639141601cb1c83b41027eceddc20a6a4cebfc51abcb83779007e890b87d79c76394946
|
||||
DIST yaml-test-suite-bcd49a2d4919c1b1ac3b9d6e5ebe6b140b5089e3.tar.gz 54806 BLAKE2B 6574bed549759a1f3df7bcaa8051ab5e37ebb6dec878e1935dbf8f5c234f852c9ea037f90cc7bb93306cc5b1cd95f6fa8df885e51131eae50c9187d360110185 SHA512 814a654b6b04cf4e9b89ae40ba7daddb8f013da96e929ed618764c55dd23a45d8a97c456f526548cd95d673bcada3650383c3626bbbd0caa3fbdbc4b94496a6f
|
||||
|
@ -0,0 +1,81 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
# see *-no-download.patch
|
||||
C4FS_COMMIT="f78cbd86a77c976395c9834726a14a1bba059af0"
|
||||
C4LOG_COMMIT="e29915ceeaf9fffb18ba43fb9d6d446d20a1cb4d"
|
||||
YAMLTS_COMMIT="6e6c296ae9c9d2d5c4134b4b64d01b29ac19ff6f"
|
||||
C4FS_P="c4fs-${C4FS_COMMIT}"
|
||||
C4LOG_P="c4log-${C4LOG_COMMIT}"
|
||||
YAMLTS_P="yaml-test-suite-${YAMLTS_COMMIT}"
|
||||
|
||||
DESCRIPTION="Library to parse and emit YAML, and do it fast"
|
||||
HOMEPAGE="https://github.com/biojppm/rapidyaml/"
|
||||
SRC_URI="
|
||||
https://github.com/biojppm/rapidyaml/releases/download/v${PV}/${P}-src.tgz
|
||||
test? (
|
||||
https://github.com/biojppm/c4fs/archive/${C4FS_COMMIT}.tar.gz -> ${C4FS_P}.tar.gz
|
||||
https://github.com/biojppm/c4log/archive/${C4LOG_COMMIT}.tar.gz -> ${C4LOG_P}.tar.gz
|
||||
https://github.com/yaml/yaml-test-suite/archive/${YAMLTS_COMMIT}.tar.gz -> ${YAMLTS_P}.tar.gz
|
||||
)"
|
||||
S="${WORKDIR}/${P}-src"
|
||||
|
||||
LICENSE="MIT Boost-1.0 BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||
IUSE="debug test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="test? ( dev-cpp/gtest )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.3.0-libdir.patch
|
||||
"${FILESDIR}"/${PN}-0.3.0-system-gtest.patch
|
||||
"${FILESDIR}"/${PN}-0.4.0-no-download.patch
|
||||
)
|
||||
|
||||
DOCS=( README.md ROADMAP.md changelog )
|
||||
|
||||
src_prepare() {
|
||||
if use test; then
|
||||
mv ../${C4FS_P} ext/c4fs &&
|
||||
rmdir ext/c4fs/ext/c4core &&
|
||||
ln -s ../../c4core ext/c4fs/ext || die
|
||||
|
||||
mv ../${C4LOG_P} ext/c4log &&
|
||||
rmdir ext/c4log/ext/c4core &&
|
||||
ln -s ../../c4core ext/c4log/ext || die
|
||||
|
||||
mv ../${YAMLTS_P} ext/yaml-test-suite || die
|
||||
|
||||
PATCHES+=( "${FILESDIR}"/${PN}-0.3.0-tests-no-install.patch )
|
||||
fi
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DRYML_BUILD_API=no # TODO if a python consumer needs it
|
||||
-DRYML_BUILD_TESTS=$(usex test)
|
||||
-DRYML_DBG=$(usex debug)
|
||||
-D_{ARCHIVE,LIBRARY}_INSTALL_DIR=$(get_libdir)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cmake_build test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
# remove shared private library that is statically linked
|
||||
rm "${ED}"/usr/$(get_libdir)/libc4core.so* || die
|
||||
}
|
Binary file not shown.
@ -1,13 +1,4 @@
|
||||
DIST mysql-5.7.32-patches-01.tar.xz 6660 BLAKE2B 5c63158615398bdcc4480a0e1b058f491b39ffc7ee33767b425f3b254555411031f64d865e1924afe8aa3926e4cba18049f1219a0a8acc702bc5e011c94fa947 SHA512 bf5e0d27af81e599005268ee243af4cd93f6df95c32cccb268a749322b4e5f73a2ce5d51f0ad1b0e1f2cf4702b8a05e4b2e0b73110fd4aac61f2a0f51bf4952e
|
||||
DIST mysql-5.7.33-patches-01.tar.xz 6672 BLAKE2B cfa410f9ba5a4ba7e43923e7b5940c2dc6a9356b49230ebaea24bd7eef8a9639fc746e917c22241e19c830b81252e95f38e2c9d6054494de700bae46011fb2f4 SHA512 b16bb9531c44f1c5ec9c08aee6c1f5f5d2e3fe59a0039a54f6c050660a18f7c78b955e7eea7bef4e7dccfcdaa81464e0d8e47ac7d0e40ecb90187865a8a0412e
|
||||
DIST mysql-5.7.34-patches-01.tar.xz 6676 BLAKE2B b925880bfbb991fcba81964ff658a2ecab38da637a6093270a724ab8e405ab092d5fb9684f53f44d001e34287366df234b841d9ebcae62d49becdb93a3c3e324 SHA512 80a89f4b4a7ecc04f3115c6aaa0b0013e38c2813fa6dea095e826ef3944298715a48e0deacb691d23526b1524b207c83176290faea2461d3fcd94edabe3d8943
|
||||
DIST mysql-5.7.34-patches-02.tar.xz 6408 BLAKE2B fdb36247832b6282af94ce2f61b5dd77f6b45f9efca4b438ecd5fed8d810d9d51547d0ae3de085e7f5dcc8795b4bc4f1210902495b92859e1d5aec3048256ef3 SHA512 f0513eb7f0c9e415aa972a53af668939934ea4f4fa438f468f32a46ccc2aa3b84ba8edd999e4786256ada34851ad64c81e9dd0e36c2a21da641987dfd18635c3
|
||||
DIST mysql-5.7.35-patches-01.tar.xz 6408 BLAKE2B ddead9d6f5570f23433ffaef0188a8e93c0220b3d59ae24b870927e9e5908619f357725c1ab2d16905f39dd9d5f6cd23d3aabf6a1df2abdc865683f603912b8f SHA512 6374536299c691fd12a3f8b7cd27291e6f3b0b6d159284b2866caaed6a7f124439c16e659e6da5aae9e72d613de2a1e1b80066c961e122e90ad644e9a32633cc
|
||||
DIST mysql-5.7.36-patches-01.tar.xz 6396 BLAKE2B ed9783f207d40fc220992c4193bdd8e96523f69414daa756f1f30306c1aedff9e96216ba2294a4c41eefbaf39c8bb37784bf1e7cce656c93f829c9cf0682fa6d SHA512 b0fbd41ebb2d32067e6c81707dffa91fece2d368f4b2fa47951492936509972d425b64d7613748c42b31cf9ba9dab697efeff70debe7268855a90d322d3f3158
|
||||
DIST mysql-8.0.27-patches-02.tar.xz 7204 BLAKE2B 1a3548f8b48b63a1d38cd9826f8ed2daf3d396276e8887e0a02a73fb91e544e1d0f1da9560351f03d3345d2ea5e8f61e5a9df2bce80558143bd3bc2558372232 SHA512 86c660d67d883fb84e6a38c39994bc30669c18b1d5bdedf908f112c7ebb59f0acf23903e6a81f01de1e6862a8cb779c7b537659ff18b090306eacf668dea47f8
|
||||
DIST mysql-boost-5.7.32.tar.gz 52882168 BLAKE2B dd112fa1d8bd29d86fba076675b5b7c9c98b6fb876aed45a00e8a25be716102fc9aa688b7170bef07b1c9f9751737277774d8fb2c64c21e181ecae58f89b4a8a SHA512 33a617d040efd065ea1c2ad84be537f851480abd5cc8a6879b7f170bc4e6db9432bd03f2a6bc680b71f17839c508cab0e7ef1a3aba032197da1b7943c916c77a
|
||||
DIST mysql-boost-5.7.33.tar.gz 52912380 BLAKE2B bca09314ae73932f6095799faa016998e65655cf5ea74d5596dcdc785e77014fe0b29a6c123e8618771f4a20a19978df00f7b79eea329aeb4b536ae71a4bef94 SHA512 1d1e1e5934fb17ff731fea45b88d4af6a394c2fbf0177a87803b18cb0eb4fb8d4939f82fc22b6cbc2af64022a44e206cd23e2e88ce11cc119c3ea22129d54e7a
|
||||
DIST mysql-boost-5.7.34.tar.gz 52891142 BLAKE2B 986fe106d73495ea9acb837f699ef2b1ffd123d9728b61da42f990d670569f1f7c12dc0a8611c3a7b6e3ed7be9fc277e1a977fa6c6d06f7d156a2f492951d9c7 SHA512 4eab7e90477b75643df743d806d5abcfb56572a2aa003a354980287c9148209f4fb7f0158ba969fb0462c32e49fcb4cf2a79f0330ab1bd2b243725dbf6f31d6d
|
||||
DIST mysql-boost-5.7.35.tar.gz 52959014 BLAKE2B 02cbc2201176773516479636ab40828a98bbc6bc1e90060e36d36af5c20a84b4b415d6e467328890ecff044834c81458fff8b717fd8942196dcf35e0ae85f298 SHA512 2469c8e13a236aee327bc0828804ba189e3abf78b6e0b3ef65b2343210f9c0cd5313d18b57ae3b76ca1487dc1d70854c8a12e6da61a6fffbce95854dcc792482
|
||||
DIST mysql-boost-5.7.36.tar.gz 52968383 BLAKE2B 4d5e4fcf8d56f4a1d1d54ee889d432ee3265f55ff9c0ecf6fe216e67790a49ed052b94457680daef4cb42df29f14db7b0e678e0f0443c20b7e2324c772c24313 SHA512 a95580efd5b87776ee7f1aae9b50d50d88c70a48c16e7a2d8c6ada0b1cadc5ec6074a859291a65caa1b50a00e08a9e350df342bb0c6ef74edaf21055331c081b
|
||||
DIST mysql-boost-8.0.27.tar.gz 292184025 BLAKE2B 177209f3c62b0326ca9d021c751a701dec84c1b15c946ab0a68b1b4cf0620468eb3a1df77a918284007a0fde1aaa6a9767d0baed57936612813ef583df51c35e SHA512 6ef2426c0bee46bdf8e2fa5cb159d5ae19f0bed4f7c9bea9b33e0dd922b568c3c68ca063dcbcd7ea6904aaea31877c10064ea10b4bc63fb40d9f31778e3a7891
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Multimedia framework for Java written by Fluendo"
|
||||
HOMEPAGE="https://www.theora.org/cortado/"
|
||||
SRC_URI="https://downloads.xiph.org/releases/cortado/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
DEPEND=">=virtual/jdk-1.8:*"
|
||||
BDEPEND="app-arch/unzip"
|
||||
|
||||
EANT_BUILD_TARGET="stripped"
|
||||
|
||||
src_prepare() {
|
||||
echo "#!/bin/sh" > scripts/get-revision || die
|
||||
echo "echo ${PV}" >> scripts/get-revision || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar output/dist/applet/${PN}-ovt-stripped-${PV}.jar
|
||||
dodoc ChangeLog HACKING NEWS README RELEASE TODO
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
DIST catkin_pkg-0.4.23-gh.tar.gz 64677 BLAKE2B 7bdd6e748561fd7e1193bdc85373e621bba0f1f80452c85c9d90d3b7cf758a83596376dae841b0ccac56a4ba7732111d464a47bc50cf4d9f29fb607f00ec66d7 SHA512 f388eb9ae588dc3a7b69d20fdba127081c9bfa24f7d5d01fee4cac7b57cfb05beb342a23e96052d4952dcb16be87495a9514edae57ea9d7c9742dce9a8a99dee
|
||||
DIST catkin_pkg-0.4.24-gh.tar.gz 65113 BLAKE2B 554848e5e34a663b29246ec1109f228361cbb010d76d54e0b27107189382843e90babf24f8660dce4063324f78dff87286e31f5f1bb7db10aaa86e056c23de2d SHA512 7c746917876d5a9d8be6f187fc3d75e322ab158ff9fd1b9c661e0802504b188c59d47ad42320613e3aff26b83a6f239bb3dec5d0ab16dadd2ff1e26f73288e61
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
Binary file not shown.
@ -0,0 +1,108 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8,9,10} )
|
||||
PYTHON_REQ_USE="ncurses"
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Will try to get to the bottom of what makes files or directories different"
|
||||
HOMEPAGE="https://diffoscope.org/ https://pypi.org/project/diffoscope/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
IUSE="acl binutils bzip2 libcaca colord cpio +diff docx dtc e2fsprogs file
|
||||
find gettext gif gpg haskell hdf5 hex imagemagick iso java llvm lzma
|
||||
mono opendocument pascal pdf postscript R rpm sqlite squashfs
|
||||
ssh tar test tcpdump zip zlib zstd"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# pull in optional tools for tests:
|
||||
# img2txt: bug #797688
|
||||
# docx2txt: bug #797688
|
||||
BDEPEND="test? (
|
||||
app-text/docx2txt
|
||||
media-libs/libcaca
|
||||
virtual/imagemagick-tools[jpeg]
|
||||
)"
|
||||
RDEPEND="dev-python/python-magic[${PYTHON_USEDEP}]
|
||||
dev-python/libarchive-c[${PYTHON_USEDEP}]
|
||||
dev-python/distro[${PYTHON_USEDEP}]
|
||||
acl? ( sys-apps/acl )
|
||||
binutils? ( sys-devel/binutils )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
libcaca? ( media-libs/libcaca )
|
||||
colord? ( x11-misc/colord )
|
||||
cpio? ( app-arch/cpio )
|
||||
diff? ( sys-apps/diffutils )
|
||||
docx? ( app-text/docx2txt )
|
||||
dtc? ( sys-apps/dtc )
|
||||
e2fsprogs? ( sys-fs/e2fsprogs )
|
||||
file? ( sys-apps/file )
|
||||
find? ( sys-apps/findutils )
|
||||
gettext? ( sys-devel/gettext )
|
||||
gif? ( media-libs/giflib )
|
||||
gpg? ( app-crypt/gnupg )
|
||||
haskell? ( dev-lang/ghc )
|
||||
hdf5? ( sci-libs/hdf5 )
|
||||
hex? ( app-editors/vim-core )
|
||||
imagemagick? ( media-gfx/imagemagick )
|
||||
iso? ( app-cdr/cdrtools )
|
||||
java? ( virtual/jdk )
|
||||
llvm? ( sys-devel/llvm )
|
||||
lzma? ( app-arch/xz-utils )
|
||||
mono? ( dev-lang/mono )
|
||||
opendocument? ( app-text/odt2txt )
|
||||
pascal? ( dev-lang/fpc )
|
||||
pdf? (
|
||||
app-text/pdftk
|
||||
app-text/poppler
|
||||
dev-python/PyPDF2[${PYTHON_USEDEP}]
|
||||
)
|
||||
postscript? ( app-text/ghostscript-gpl )
|
||||
R? ( dev-lang/R )
|
||||
rpm? ( app-arch/rpm )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
squashfs? ( sys-fs/squashfs-tools )
|
||||
ssh? ( net-misc/openssh )
|
||||
tar? ( app-arch/tar )
|
||||
tcpdump? ( net-analyzer/tcpdump )
|
||||
zip? ( app-arch/unzip )
|
||||
zlib? ( app-arch/gzip )
|
||||
zstd? ( app-arch/zstd )
|
||||
"
|
||||
# Presence if filemagic's magic.py breaks imports
|
||||
# of dev-python/python-magic: https://bugs.gentoo.org/716482
|
||||
RDEPEND+=" !dev-python/filemagic"
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# Test seems to use different tarball
|
||||
tests/test_presenters.py::test_text_proper_indentation
|
||||
|
||||
# Needs triage
|
||||
tests/comparators/test_binary.py::test_with_compare_details_and_tool_not_found
|
||||
tests/comparators/test_rlib.py::test_item3_deflate_llvm_bitcode
|
||||
|
||||
# img2txt based failures, bug #797688
|
||||
tests/comparators/test_ico_image.py::test_diff
|
||||
tests/comparators/test_ico_image.py::test_diff_meta
|
||||
tests/comparators/test_ico_image.py::test_diff_meta2
|
||||
tests/comparators/test_ico_image.py::test_has_visuals
|
||||
tests/comparators/test_jpeg_image.py::test_diff
|
||||
tests/comparators/test_jpeg_image.py::test_compare_non_existing
|
||||
tests/comparators/test_jpeg_image.py::test_diff_meta
|
||||
tests/comparators/test_jpeg_image.py::test_has_visuals
|
||||
|
||||
# docx2txt based falures, bug #797688
|
||||
tests/comparators/test_docx.py::test_diff
|
||||
|
||||
# Formatting
|
||||
tests/test_source.py::test_code_is_black_clean
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
@ -0,0 +1,220 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES="
|
||||
adler-0.2.3
|
||||
aho-corasick-0.7.15
|
||||
ansi_colours-1.1.1
|
||||
ansi_term-0.12.1
|
||||
approx-0.5.0
|
||||
arrayvec-0.5.2
|
||||
atty-0.2.14
|
||||
autocfg-1.0.1
|
||||
base64-0.13.0
|
||||
bat-0.20.0
|
||||
bincode-1.3.1
|
||||
bitflags-1.3.2
|
||||
box_drawing-0.1.2
|
||||
bstr-0.2.15
|
||||
bugreport-0.4.1
|
||||
bytelines-2.2.2
|
||||
bytemuck-1.7.3
|
||||
byteorder-1.3.4
|
||||
bytesize-1.1.0
|
||||
cc-1.0.66
|
||||
cfg-if-0.1.10
|
||||
cfg-if-1.0.0
|
||||
chrono-0.4.19
|
||||
chrono-humanize-0.2.1
|
||||
clap-2.34.0
|
||||
clap-3.0.7
|
||||
clap_derive-3.0.5
|
||||
clircle-0.3.0
|
||||
console-0.15.0
|
||||
content_inspector-0.2.4
|
||||
core-foundation-sys-0.8.3
|
||||
crc32fast-1.2.1
|
||||
ctrlc-3.2.1
|
||||
dirs-3.0.2
|
||||
dirs-next-2.0.0
|
||||
dirs-sys-0.3.6
|
||||
dirs-sys-next-0.1.1
|
||||
either-1.6.1
|
||||
encode_unicode-0.3.6
|
||||
encoding-0.2.33
|
||||
encoding-index-japanese-1.20141219.5
|
||||
encoding-index-korean-1.20141219.5
|
||||
encoding-index-simpchinese-1.20141219.5
|
||||
encoding-index-singlebyte-1.20141219.5
|
||||
encoding_index_tests-0.1.4
|
||||
encoding-index-tradchinese-1.20141219.5
|
||||
error-chain-0.12.4
|
||||
find-crate-0.6.3
|
||||
flate2-1.0.19
|
||||
fnv-1.0.7
|
||||
form_urlencoded-1.0.0
|
||||
getrandom-0.1.16
|
||||
getrandom-0.2.3
|
||||
git2-0.13.23
|
||||
git-version-0.3.5
|
||||
git-version-macro-0.3.5
|
||||
glob-0.3.0
|
||||
globset-0.4.8
|
||||
grep-cli-0.1.6
|
||||
hashbrown-0.8.2
|
||||
heck-0.4.0
|
||||
hermit-abi-0.1.17
|
||||
idna-0.2.0
|
||||
indexmap-1.5.2
|
||||
itertools-0.10.1
|
||||
itoa-0.4.7
|
||||
jobserver-0.1.21
|
||||
lazycell-1.3.0
|
||||
lazy_static-1.4.0
|
||||
libc-0.2.112
|
||||
libgit2-sys-0.12.24+1.3.0
|
||||
libz-sys-1.1.2
|
||||
line-wrap-0.1.1
|
||||
linked-hash-map-0.5.3
|
||||
log-0.4.11
|
||||
matches-0.1.8
|
||||
memchr-2.4.1
|
||||
memoffset-0.6.4
|
||||
miniz_oxide-0.4.3
|
||||
nix-0.23.0
|
||||
ntapi-0.3.6
|
||||
num-integer-0.1.44
|
||||
num-traits-0.2.14
|
||||
once_cell-1.9.0
|
||||
onig-6.1.1
|
||||
onig_sys-69.6.0
|
||||
os_str_bytes-6.0.0
|
||||
palette-0.6.0
|
||||
palette_derive-0.6.0
|
||||
path_abs-0.5.1
|
||||
pathdiff-0.2.1
|
||||
percent-encoding-2.1.0
|
||||
phf-0.9.0
|
||||
phf_generator-0.9.1
|
||||
phf_macros-0.9.0
|
||||
phf_shared-0.9.0
|
||||
pkg-config-0.3.19
|
||||
plist-1.0.1
|
||||
ppv-lite86-0.2.15
|
||||
proc-macro2-1.0.36
|
||||
proc-macro-error-1.0.4
|
||||
proc-macro-error-attr-1.0.4
|
||||
proc-macro-hack-0.5.19
|
||||
quote-1.0.14
|
||||
rand-0.8.4
|
||||
rand_chacha-0.3.1
|
||||
rand_core-0.6.3
|
||||
rand_hc-0.3.1
|
||||
redox_syscall-0.1.57
|
||||
redox_syscall-0.2.10
|
||||
redox_users-0.3.5
|
||||
redox_users-0.4.0
|
||||
regex-1.4.6
|
||||
regex-automata-0.1.10
|
||||
regex-syntax-0.6.22
|
||||
rgb-0.8.31
|
||||
ryu-1.0.5
|
||||
safemem-0.3.3
|
||||
same-file-1.0.6
|
||||
semver-1.0.6
|
||||
serde-1.0.118
|
||||
serde_derive-1.0.118
|
||||
serde_json-1.0.70
|
||||
serde_yaml-0.8.23
|
||||
shell-escape-0.1.5
|
||||
shell-words-1.0.0
|
||||
siphasher-0.3.7
|
||||
smol_str-0.1.21
|
||||
std_prelude-0.2.12
|
||||
strsim-0.10.0
|
||||
strsim-0.8.0
|
||||
syn-1.0.85
|
||||
syntect-4.6.0
|
||||
sysinfo-0.23.0
|
||||
sys-info-0.9.1
|
||||
termcolor-1.1.2
|
||||
terminal_size-0.1.15
|
||||
term_size-0.3.2
|
||||
textwrap-0.11.0
|
||||
textwrap-0.14.2
|
||||
thiserror-1.0.30
|
||||
thiserror-impl-1.0.30
|
||||
time-0.1.44
|
||||
tinyvec-1.1.0
|
||||
tinyvec_macros-0.1.0
|
||||
toml-0.5.8
|
||||
unicode-bidi-0.3.4
|
||||
unicode-normalization-0.1.16
|
||||
unicode-segmentation-1.8.0
|
||||
unicode-width-0.1.9
|
||||
unicode-xid-0.2.1
|
||||
url-2.2.0
|
||||
utf8parse-0.2.0
|
||||
vcpkg-0.2.11
|
||||
vec_map-0.8.2
|
||||
version_check-0.9.2
|
||||
vte-0.10.1
|
||||
vte_generate_state_changes-0.1.1
|
||||
walkdir-2.3.1
|
||||
wasi-0.10.0+wasi-snapshot-preview1
|
||||
wasi-0.9.0+wasi-snapshot-preview1
|
||||
wild-2.0.4
|
||||
winapi-0.3.9
|
||||
winapi-i686-pc-windows-gnu-0.4.0
|
||||
winapi-util-0.1.5
|
||||
winapi-x86_64-pc-windows-gnu-0.4.0
|
||||
xdg-2.4.0
|
||||
xml-rs-0.8.3
|
||||
yaml-rust-0.4.5
|
||||
"
|
||||
|
||||
inherit bash-completion-r1 cargo
|
||||
|
||||
DESCRIPTION="A syntax-highlighting pager for git"
|
||||
HOMEPAGE="https://github.com/dandavison/delta"
|
||||
SRC_URI="https://github.com/dandavison/delta/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI+=" $(cargo_crate_uris ${CRATES})"
|
||||
S="${WORKDIR}/${P/git-/}"
|
||||
|
||||
LICENSE="0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions Boost-1.0 LGPL-3+ MIT Unlicense ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv"
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
DEPEND="
|
||||
dev-libs/libgit2:=
|
||||
dev-libs/oniguruma:=
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
!app-text/delta
|
||||
"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/delta"
|
||||
|
||||
src_configure() {
|
||||
# Some crates will auto-build and statically link C libraries(!)
|
||||
# Tracker bug #709568
|
||||
export RUSTONIG_SYSTEM_LIBONIG=1
|
||||
export LIBGIT2_SYS_USE_PKG_CONFIG=1
|
||||
export PKG_CONFIG_ALLOW_CROSS=1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cargo_src_install
|
||||
|
||||
# No man page (yet?)
|
||||
|
||||
# Completions
|
||||
newbashcomp "${S}"/etc/completion/completion.bash delta
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins "${S}"/etc/completion/completion.zsh _delta
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST libtree-2.0.0.tar.gz 161133 BLAKE2B cf681f06fef9dfb44ad6099a4b7ab950cb23aef052a180cdd646498ac0baacf0f0caa14bac6a629d2bac2bd638d4b6e5ad97dd0d705e4d681021a168a6753b0f SHA512 9272afd8540110f43ade864a2df58d8b8a7690c79cd29a9804b43e7e550bc05a4da530a763a27bd85a474673055e7a5ba63c0aa0bcaf8b246fbfc73a4f36c870
|
||||
DIST libtree-3.0.2.tar.gz 79349 BLAKE2B 049eadeafe6a53c1428df474cc39c90f1cdc7d34304dc32d697f24e9e1fc4402c4b3003483059afeb2c71f5b4f787c2d949517906acae53099d1f3fa795f6ef5 SHA512 db2a8d7e69f1f3ea1c09f9af0739b7a6019cba1eef62d5961a9d0bac2703397b1a91e9d65a04db51bc63e2e4d333c9369311815ef8c2f810ab26f0ba17b1c8db
|
||||
DIST libtree-3.0.3.tar.gz 79369 BLAKE2B dbfd0f70d5c83825177302632d5bffa942e45f981b94ffdea85088c48762a0d5e4d22487de510af78548fc3bf80a4a492c3fdf3f267396457a264be7599e5477 SHA512 eb7207319ea344495ef3b10c28703b8c3ae99fc7efa807c556d90c5de61c301f80eded53bdabd0f4923da992255f8b2767156973ee42fcd87ffe6057698f197c
|
||||
DIST libtree-3.1.0.tar.gz 79936 BLAKE2B 61126321eb26156693569476a6561d1e698792d4bb42fe2a19db552dfa57045ac9e5b8f6354069479c352d300c7ed8d2d95a6b9fda96e097a2b38b61941e47db SHA512 c4d030c693736009a42388fc6e12cf4a696ccd922ab5afbd5d05010392cc7410b0fb9205d89163fff14f8bffd6a73da49c069fd3fd6ea3cf3ae3f4f11b1f532c
|
||||
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="ldd as a tree with an option to bundle dependencies into a single folder"
|
||||
HOMEPAGE="https://github.com/haampie/libtree"
|
||||
SRC_URI="https://github.com/haampie/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
src_configure() {
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST sysdig-0.27.0.tar.gz 933094 BLAKE2B e412bd2a35a62b580344a49e2deee85764710f91327cd63b42913dc361ee96943ffe51b90ee745c420454f0a4be455606d486a91ab3e103d7e396f04dc3f1ff4 SHA512 102150cc641165a6c18ce71e3c6148dc10700f614fec7e1909c29172e3cce02dfa16af56aabdcd420499d0aa89f90fee8f26d92a250b0a521d1b9d416c6a678f
|
||||
DIST sysdig-0.27.1.tar.gz 936415 BLAKE2B f4c15e3a2d4b974c5eafc8374f927dd82f123c05cc1976d04b08e77e1a7c0ff53f37c4e2c0022b7073fcc936310daf76ca3c3611141799ae4f51991bc6f3a0a3 SHA512 690f012c7db0a75ec2eb78fae17aae0f422aa1db0d4c2b15c4a09153fd2f60bd3c00d62238976fdcff2a906d87b2e34b81d02c0c78ad2684a1d6016a9988eb08
|
||||
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake linux-mod
|
||||
|
||||
MY_P=${P/-kmod}
|
||||
DESCRIPTION="Kernel module for dev-util/sysdig"
|
||||
HOMEPAGE="https://sysdig.com/"
|
||||
SRC_URI="https://github.com/draios/sysdig/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="|| ( MIT GPL-2 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="!<=dev-util/sysdig-0.26.4[modules]"
|
||||
|
||||
CONFIG_CHECK="HAVE_SYSCALL_TRACEPOINTS ~TRACEPOINTS"
|
||||
|
||||
pkg_pretend() {
|
||||
linux-mod_pkg_setup
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
linux-mod_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/USE_BUNDLED_DEPS/,$d' CMakeLists.txt || die
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
# we will use linux-mod for that
|
||||
-DBUILD_DRIVER=OFF
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
|
||||
# setup linux-mod ugliness
|
||||
MODULE_NAMES="sysdig-probe(extra:${BUILD_DIR}/driver/src:)"
|
||||
BUILD_PARAMS='KERNELDIR="${KERNEL_DIR}"'
|
||||
BUILD_TARGETS="all"
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST sysdig-0.27.0.tar.gz 933094 BLAKE2B e412bd2a35a62b580344a49e2deee85764710f91327cd63b42913dc361ee96943ffe51b90ee745c420454f0a4be455606d486a91ab3e103d7e396f04dc3f1ff4 SHA512 102150cc641165a6c18ce71e3c6148dc10700f614fec7e1909c29172e3cce02dfa16af56aabdcd420499d0aa89f90fee8f26d92a250b0a521d1b9d416c6a678f
|
||||
DIST sysdig-0.27.1.tar.gz 936415 BLAKE2B f4c15e3a2d4b974c5eafc8374f927dd82f123c05cc1976d04b08e77e1a7c0ff53f37c4e2c0022b7073fcc936310daf76ca3c3611141799ae4f51991bc6f3a0a3 SHA512 690f012c7db0a75ec2eb78fae17aae0f422aa1db0d4c2b15c4a09153fd2f60bd3c00d62238976fdcff2a906d87b2e34b81d02c0c78ad2684a1d6016a9988eb08
|
||||
|
@ -0,0 +1,99 @@
|
||||
|
||||
https://bugs.gentoo.org/834664
|
||||
https://github.com/draios/sysdig/pull/921
|
||||
|
||||
Backport for 0.27.1 in lua_parser_api.cpp by:
|
||||
Holger Hoffstätte <holger@applied-asynchrony.com>
|
||||
|
||||
From 1147b9a4f6f1f9e97b43735e7980da387837de4a Mon Sep 17 00:00:00 2001
|
||||
From: Evgeni Golov <evgeni@golov.de>
|
||||
Date: Sun, 27 Aug 2017 13:51:19 +0200
|
||||
Subject: [PATCH] fix build with LuaJIT 2.1 betas
|
||||
|
||||
LuaJIT 2.1 drops some compat symbols [1]. And while I think that this is
|
||||
wrong, as it breaks compatibility with Lua 5.1 [2], it is quite easy to
|
||||
adopt the code to work with both versions (2.0 and 2.1) of LuaJIT and
|
||||
remain Lua 5.1 compatible.
|
||||
|
||||
[1] https://github.com/LuaJIT/LuaJIT/commit/dc320ca70f2c5bb3977b82853bcee6dad2523d01
|
||||
[2] https://github.com/LuaJIT/LuaJIT/issues/325
|
||||
|
||||
Signed-off-by: Evgeni Golov <evgeni@golov.de>
|
||||
sysdig-CLA-1.0-signed-off-by: Evgeni Golov <evgeni@golov.de>
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
userspace/libsinsp/chisel.cpp | 6 +++---
|
||||
userspace/libsinsp/lua_parser.cpp | 2 +-
|
||||
userspace/libsinsp/lua_parser_api.cpp | 2 +-
|
||||
4 files changed, 6 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 8613a774d..4f27db9b3 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -103,7 +103,7 @@ option(USE_BUNDLED_DEPS "Enable bundled dependencies instead of using the system
|
||||
option(USE_BUNDLED_LUAJIT "Enable building of the bundled LuaJIT" ${USE_BUNDLED_DEPS})
|
||||
|
||||
if(NOT USE_BUNDLED_LUAJIT)
|
||||
- find_path(LUAJIT_INCLUDE luajit.h PATH_SUFFIXES luajit-2.0 luajit)
|
||||
+ find_path(LUAJIT_INCLUDE luajit.h PATH_SUFFIXES luajit-2.1 luajit-2.0 luajit)
|
||||
find_library(LUAJIT_LIB NAMES luajit luajit-5.1)
|
||||
if(LUAJIT_INCLUDE AND LUAJIT_LIB)
|
||||
message(STATUS "Found LuaJIT: include: ${LUAJIT_INCLUDE}, lib: ${LUAJIT_LIB}")
|
||||
diff --git a/userspace/libsinsp/chisel.cpp b/userspace/libsinsp/chisel.cpp
|
||||
index 048bedc4e..b2bb8e872 100644
|
||||
--- a/userspace/libsinsp/chisel.cpp
|
||||
+++ b/userspace/libsinsp/chisel.cpp
|
||||
@@ -96,7 +96,7 @@ void lua_stackdump(lua_State *L)
|
||||
// Lua callbacks
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
#ifdef HAS_LUA_CHISELS
|
||||
-const static struct luaL_reg ll_sysdig [] =
|
||||
+const static struct luaL_Reg ll_sysdig [] =
|
||||
{
|
||||
{"set_filter", &lua_cbacks::set_global_filter},
|
||||
{"set_snaplen", &lua_cbacks::set_snaplen},
|
||||
@@ -124,7 +124,7 @@ const static struct luaL_reg ll_sysdig [] =
|
||||
{NULL,NULL}
|
||||
};
|
||||
|
||||
-const static struct luaL_reg ll_chisel [] =
|
||||
+const static struct luaL_Reg ll_chisel [] =
|
||||
{
|
||||
{"request_field", &lua_cbacks::request_field},
|
||||
{"set_filter", &lua_cbacks::set_filter},
|
||||
@@ -135,7 +135,7 @@ const static struct luaL_reg ll_chisel [] =
|
||||
{NULL,NULL}
|
||||
};
|
||||
|
||||
-const static struct luaL_reg ll_evt [] =
|
||||
+const static struct luaL_Reg ll_evt [] =
|
||||
{
|
||||
{"field", &lua_cbacks::field},
|
||||
{"get_num", &lua_cbacks::get_num},
|
||||
diff --git a/userspace/libsinsp/lua_parser.cpp b/userspace/libsinsp/lua_parser.cpp
|
||||
index 90a2c664f..55096d157 100644
|
||||
--- a/userspace/libsinsp/lua_parser.cpp
|
||||
+++ b/userspace/libsinsp/lua_parser.cpp
|
||||
@@ -14,7 +14,7 @@ extern "C" {
|
||||
#include "lauxlib.h"
|
||||
}
|
||||
|
||||
-const static struct luaL_reg ll_filter [] =
|
||||
+const static struct luaL_Reg ll_filter [] =
|
||||
{
|
||||
{"rel_expr", &lua_parser_cbacks::rel_expr},
|
||||
{"bool_op", &lua_parser_cbacks::bool_op},
|
||||
diff --git a/userspace/libsinsp/lua_parser_api.cpp b/userspace/libsinsp/lua_parser_api.cpp
|
||||
index 7511814e3..90a3a9fb4 100644
|
||||
--- a/userspace/libsinsp/lua_parser_api.cpp
|
||||
+++ b/userspace/libsinsp/lua_parser_api.cpp
|
||||
@@ -228,7 +228,7 @@ int lua_parser_cbacks::rel_expr(lua_State *ls)
|
||||
string err = "Got non-table as in-expression operand\n";
|
||||
throw sinsp_exception("parser API error");
|
||||
}
|
||||
- int n = luaL_getn(ls, 4); /* get size of table */
|
||||
+ int n = (int)lua_objlen(ls, 4); /* get size of table */
|
||||
for (i=1; i<=n; i++)
|
||||
{
|
||||
lua_rawgeti(ls, 4, i);
|
@ -1,68 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit bash-completion-r1 cmake
|
||||
|
||||
DESCRIPTION="A system exploration and troubleshooting tool"
|
||||
HOMEPAGE="https://sysdig.com/"
|
||||
SRC_URI="https://github.com/draios/sysdig/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+modules test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
app-misc/jq:0=
|
||||
dev-cpp/tbb:0=
|
||||
dev-lang/luajit:2=
|
||||
>=dev-libs/jsoncpp-0.6_pre:0=
|
||||
dev-libs/libb64:0=
|
||||
dev-libs/protobuf:0=
|
||||
net-dns/c-ares:0=
|
||||
net-libs/grpc:0=
|
||||
sys-libs/ncurses:0=
|
||||
sys-libs/zlib:0=
|
||||
dev-libs/openssl:0=
|
||||
net-misc/curl:0="
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/os-headers
|
||||
test? ( dev-cpp/gtest )"
|
||||
PDEPEND="
|
||||
modules? ( >=dev-util/sysdig-kmod-${PV} )"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's:-ggdb::' CMakeLists.txt || die
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCREATE_TEST_TARGETS=$(usex test)
|
||||
|
||||
# done in dev-util/sysdig-kmod
|
||||
-DBUILD_DRIVER=OFF
|
||||
# libscap examples are not installed or really useful
|
||||
-DBUILD_LIBSCAP_EXAMPLES=OFF
|
||||
|
||||
# unbundle the deps
|
||||
-DUSE_BUNDLED_DEPS=OFF
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
# remove sources
|
||||
rm -r "${ED}"/usr/src || die
|
||||
|
||||
# move bashcomp to the proper location
|
||||
dobashcomp "${ED}"/usr/etc/bash_completion.d/sysdig || die
|
||||
rm -r "${ED}"/usr/etc || die
|
||||
}
|
@ -1,68 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit bash-completion-r1 cmake
|
||||
|
||||
DESCRIPTION="A system exploration and troubleshooting tool"
|
||||
HOMEPAGE="https://sysdig.com/"
|
||||
SRC_URI="https://github.com/draios/sysdig/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+modules test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
app-misc/jq:0=
|
||||
dev-cpp/tbb:0=
|
||||
dev-lang/luajit:2=
|
||||
>=dev-libs/jsoncpp-0.6_pre:0=
|
||||
dev-libs/libb64:0=
|
||||
dev-libs/protobuf:0=
|
||||
net-dns/c-ares:0=
|
||||
net-libs/grpc:0=
|
||||
sys-libs/ncurses:0=
|
||||
sys-libs/zlib:0=
|
||||
dev-libs/openssl:0=
|
||||
net-misc/curl:0="
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/os-headers
|
||||
test? ( dev-cpp/gtest )"
|
||||
PDEPEND="
|
||||
modules? ( >=dev-util/sysdig-kmod-${PV} )"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's:-ggdb::' CMakeLists.txt || die
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCREATE_TEST_TARGETS=$(usex test)
|
||||
|
||||
# done in dev-util/sysdig-kmod
|
||||
-DBUILD_DRIVER=OFF
|
||||
# libscap examples are not installed or really useful
|
||||
-DBUILD_LIBSCAP_EXAMPLES=OFF
|
||||
|
||||
# unbundle the deps
|
||||
-DUSE_BUNDLED_DEPS=OFF
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
# remove sources
|
||||
rm -r "${ED}"/usr/src || die
|
||||
|
||||
# move bashcomp to the proper location
|
||||
dobashcomp "${ED}"/usr/etc/bash_completion.d/sysdig || die
|
||||
rm -r "${ED}"/usr/etc || die
|
||||
}
|
@ -0,0 +1,210 @@
|
||||
# Copyright 2020-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# TODO: Split into different variables then combine for each component?
|
||||
# Not all is in rust/ dir.
|
||||
# Rust components: watchman/cli watchman/rust/serde_bser watchman/rust/watchman_client
|
||||
CRATES="
|
||||
ahash-0.3.8
|
||||
ansi_term-0.12.1
|
||||
anyhow-1.0.55
|
||||
atty-0.2.14
|
||||
autocfg-1.1.0
|
||||
bitflags-1.3.2
|
||||
byteorder-1.4.3
|
||||
bytes-1.1.0
|
||||
cfg-if-1.0.0
|
||||
clap-2.34.0
|
||||
const-random-0.1.13
|
||||
const-random-macro-0.1.13
|
||||
crossbeam-0.8.1
|
||||
crossbeam-channel-0.5.2
|
||||
crossbeam-deque-0.8.1
|
||||
crossbeam-epoch-0.9.7
|
||||
crossbeam-queue-0.3.4
|
||||
crossbeam-utils-0.8.7
|
||||
crunchy-0.2.2
|
||||
either-1.6.1
|
||||
futures-0.1.31
|
||||
futures-0.3.21
|
||||
futures-channel-0.3.21
|
||||
futures-core-0.3.21
|
||||
futures-executor-0.3.21
|
||||
futures-io-0.3.21
|
||||
futures-macro-0.3.21
|
||||
futures-sink-0.3.21
|
||||
futures-task-0.3.21
|
||||
futures-util-0.3.21
|
||||
getrandom-0.2.5
|
||||
heck-0.3.3
|
||||
hermit-abi-0.1.19
|
||||
jwalk-0.6.0
|
||||
lazy_static-1.4.0
|
||||
libc-0.2.119
|
||||
lock_api-0.4.6
|
||||
log-0.4.14
|
||||
maplit-1.0.2
|
||||
memchr-2.4.1
|
||||
memoffset-0.6.5
|
||||
mio-0.8.0
|
||||
miow-0.3.7
|
||||
ntapi-0.3.7
|
||||
num_cpus-1.13.1
|
||||
once_cell-1.9.0
|
||||
parking_lot-0.12.0
|
||||
parking_lot_core-0.9.1
|
||||
pin-project-lite-0.2.8
|
||||
pin-utils-0.1.0
|
||||
proc-macro2-1.0.36
|
||||
proc-macro-error-1.0.4
|
||||
proc-macro-error-attr-1.0.4
|
||||
proc-macro-hack-0.5.19
|
||||
quote-1.0.15
|
||||
rayon-1.5.1
|
||||
rayon-core-1.9.1
|
||||
redox_syscall-0.2.10
|
||||
scopeguard-1.1.0
|
||||
serde-1.0.136
|
||||
serde_derive-1.0.136
|
||||
signal-hook-registry-1.4.0
|
||||
slab-0.4.5
|
||||
smallvec-1.8.0
|
||||
socket2-0.4.4
|
||||
strsim-0.8.0
|
||||
structopt-0.3.26
|
||||
structopt-derive-0.4.18
|
||||
syn-1.0.86
|
||||
textwrap-0.11.0
|
||||
thiserror-1.0.30
|
||||
thiserror-impl-1.0.30
|
||||
tiny-keccak-2.0.2
|
||||
tokio-1.17.0
|
||||
tokio-macros-1.7.0
|
||||
tokio-util-0.6.9
|
||||
unicode-segmentation-1.9.0
|
||||
unicode-width-0.1.9
|
||||
unicode-xid-0.2.2
|
||||
vec_map-0.8.2
|
||||
version_check-0.9.4
|
||||
wasi-0.10.2+wasi-snapshot-preview1
|
||||
winapi-0.3.9
|
||||
winapi-i686-pc-windows-gnu-0.4.0
|
||||
winapi-x86_64-pc-windows-gnu-0.4.0
|
||||
windows_aarch64_msvc-0.32.0
|
||||
windows_i686_gnu-0.32.0
|
||||
windows_i686_msvc-0.32.0
|
||||
windows-sys-0.32.0
|
||||
windows_x86_64_gnu-0.32.0
|
||||
windows_x86_64_msvc-0.32.0
|
||||
"
|
||||
|
||||
PYTHON_COMPAT=( python3_{8,9,10} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit cargo cmake distutils-r1 tmpfiles
|
||||
|
||||
DESCRIPTION="A file watching service"
|
||||
HOMEPAGE="https://facebook.github.io/watchman/"
|
||||
SRC_URI="https://github.com/facebook/watchman/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI+=" $(cargo_crate_uris)"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="llvm-libunwind python"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
# See https://github.com/facebook/watchman/blob/main/CMakeLists.txt#L342 for libevent
|
||||
RDEPEND="
|
||||
dev-libs/libevent:=
|
||||
dev-libs/libpcre
|
||||
~dev-cpp/folly-${PV}:=
|
||||
dev-cpp/glog:=
|
||||
>=dev-libs/libfmt-8.1.1-r1:=
|
||||
dev-libs/openssl:=
|
||||
llvm-libunwind? ( sys-libs/llvm-libunwind:= )
|
||||
!llvm-libunwind? ( sys-libs/libunwind:= )
|
||||
python? ( ${PYTHON_DEPS} )"
|
||||
# TODO: Make gtest test-only (needs a fair bit of patching)
|
||||
DEPEND="${RDEPEND}
|
||||
dev-cpp/gtest"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/watchman-2022.02.28.00-python-working-dir.patch
|
||||
"${FILESDIR}"/watchman-2022.02.28.00-libatomic.patch
|
||||
)
|
||||
|
||||
# Rust utility
|
||||
QA_FLAGS_IGNORED="usr/bin/watchmanctl"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# https://github.com/facebook/watchman/blob/789678cf9855fb07b402afb75b01e4f8786deba2/build/fbcode_builder/CMake/RustStaticLibrary.cmake#L17
|
||||
export RUST_VENDORED_CRATES_DIR="${ECARGO_VENDOR}"
|
||||
export RUST_CARGO_HOME="${ECARGO_HOME}"
|
||||
export CARGO_HOME="${ECARGO_HOME}"
|
||||
# Build system already handles avoiding Rust-jobs-while-CMake-jobs-spawned issue
|
||||
# https://github.com/facebook/watchman/blob/789678cf9855fb07b402afb75b01e4f8786deba2/build/fbcode_builder/CMake/RustStaticLibrary.cmake#L69
|
||||
# so no need to force -j1 via cargo jobs
|
||||
|
||||
local mycmakeargs=(
|
||||
# Rust wrangling
|
||||
-DUSE_CARGO_VENDOR=ON
|
||||
-DGENERATE_CARGO_VENDOR_CONFIG=OFF
|
||||
-DRUST_CARGO_HOME="${RUST_CARGO_HOME}"
|
||||
|
||||
# General bits
|
||||
-DWATCHMAN_STATE_DIR="${EPREFIX}"/run/watchman
|
||||
-DWATCHMAN_VERSION_OVERRIDE=${PV}
|
||||
|
||||
# Fails to build against fbthrift for now in libatomic troubles
|
||||
-DENABLE_EDEN_SUPPORT=OFF
|
||||
|
||||
# We handle this ourselves
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_Python3=ON
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
|
||||
if use python ; then
|
||||
pushd watchman/python >/dev/null || die
|
||||
distutils-r1_src_compile
|
||||
popd >/dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cmake_src_test
|
||||
|
||||
if use python ; then
|
||||
pushd watchman/python >/dev/null || die
|
||||
distutils-r1_src_test
|
||||
popd >/dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
newtmpfiles "${FILESDIR}"/watchman.tmpfiles watchman.conf
|
||||
|
||||
if use python ; then
|
||||
pushd watchman/python >/dev/null || die
|
||||
distutils-r1_src_install
|
||||
popd >/dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process watchman.conf
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
Wed, 09 Mar 2022 14:09:28 +0000
|
||||
Wed, 09 Mar 2022 17:39:26 +0000
|
||||
|
@ -1 +1 @@
|
||||
Wed, 09 Mar 2022 14:09:28 +0000
|
||||
Wed, 09 Mar 2022 17:39:26 +0000
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue