Gentoo Archives: gentoo-commits

From: Denis Reva <denis7774@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/folly/
Date: Tue, 01 Dec 2020 20:56:55
Message-Id: 1606856182.50009b2cff641227887e801d151a06e2b3d537c7.RarogCmex@gentoo
1 commit: 50009b2cff641227887e801d151a06e2b3d537c7
2 Author: Denis Reva <denis7774 <AT> gmail <DOT> com>
3 AuthorDate: Tue Dec 1 20:56:22 2020 +0000
4 Commit: Denis Reva <denis7774 <AT> gmail <DOT> com>
5 CommitDate: Tue Dec 1 20:56:22 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=50009b2c
7
8 dev-cpp/folly: porting, help wanted
9
10 I's just ported that package as dependency for
11 https://github.com/mhx/dwarfs
12
13 So I wanted help with following error:
14
15 Files matching a file type that is not allowed:
16 usr/lib/libfolly.so.0.58.0-dev
17 usr/lib/libfollybenchmark.so.0.58.0-dev
18 usr/lib/libfolly_test_util.so.0.58.0-dev
19 * ERROR: dev-cpp/folly-2020.11.30.00::guru failed:
20 * multilib-strict check failed!
21 *
22 * Call stack:
23 * misc-functions.sh, line 596: Called install_qa_check
24 * misc-functions.sh, line 132: Called source 'install_symlink_html_docs'
25 * 80multilib-strict, line 46: Called multilib_strict_check
26 * 80multilib-strict, line 42: Called die
27 * The specific snippet of code:
28 * [[ ${abort} == yes ]] && die "multilib-strict check failed!"
29
30 Package-Manager: Portage-3.0.9, Repoman-3.0.2
31 Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>
32
33 dev-cpp/folly/Manifest | 1 +
34 dev-cpp/folly/folly-2020.11.30.00.ebuild | 31 +++++++++++++++++++++++++++++++
35 dev-cpp/folly/metadata.xml | 14 ++++++++++++++
36 3 files changed, 46 insertions(+)
37
38 diff --git a/dev-cpp/folly/Manifest b/dev-cpp/folly/Manifest
39 new file mode 100644
40 index 00000000..1d7a67b9
41 --- /dev/null
42 +++ b/dev-cpp/folly/Manifest
43 @@ -0,0 +1 @@
44 +DIST folly-2020.11.30.00.tar.gz 3261437 BLAKE2B 5070819f1f8bac2030e761a8d2330379e8e5ba242d21330b98dcd598cb18e12046a9ad3fb6462f82dbc47c53cf0905c330e707201bfbbedb81f203ef1b30731e SHA512 e7e06bd8c8e38af345d20a04886b4497c4f0c9877263dbcb5a3f2d17c7a3252a2529086a5a04d07c2d3a457ca3930c43672fc4f74b7bdbc2ec0d07abdf1ed425
45
46 diff --git a/dev-cpp/folly/folly-2020.11.30.00.ebuild b/dev-cpp/folly/folly-2020.11.30.00.ebuild
47 new file mode 100644
48 index 00000000..1264dc42
49 --- /dev/null
50 +++ b/dev-cpp/folly/folly-2020.11.30.00.ebuild
51 @@ -0,0 +1,31 @@
52 +# Copyright 1999-2020 Gentoo Authors
53 +# Distributed under the terms of the GNU General Public License v2
54 +
55 +EAPI=7
56 +
57 +inherit cmake
58 +
59 +DESCRIPTION="An open-source C++ library developed and used at Facebook"
60 +HOMEPAGE="https://github.com/facebook/folly"
61 +
62 +SRC_URI="https://github.com/facebook/folly/archive/v${PV}.tar.gz -> ${P}.tar.gz"
63 +KEYWORDS="~amd64 ~arm64 ~x86"
64 +
65 +LICENSE="Apache-2.0"
66 +SLOT="0"
67 +IUSE="static-libs"
68 +
69 +DEPEND="app-arch/lz4
70 + app-arch/snappy
71 + app-arch/xz-utils
72 + app-arch/zstd
73 + dev-libs/double-conversion
74 + dev-libs/libevent
75 + dev-libs/openssl
76 + dev-cpp/gflags
77 + dev-cpp/glog[gflags]
78 + dev-libs/boost[context,threads]
79 + sys-libs/binutils-libs
80 + sys-libs/zlib
81 + sys-devel/binutils:*"
82 +RDEPEND="${DEPEND}"
83
84 diff --git a/dev-cpp/folly/metadata.xml b/dev-cpp/folly/metadata.xml
85 new file mode 100644
86 index 00000000..95ea38da
87 --- /dev/null
88 +++ b/dev-cpp/folly/metadata.xml
89 @@ -0,0 +1,14 @@
90 +<?xml version="1.0" encoding="UTF-8"?>
91 +<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
92 +<pkgmetadata>
93 + <maintainer type="person">
94 + <email>denis7774@×××××.com</email>
95 + <name>Denis Reva</name>
96 + <description>Partial maintainer</description>
97 + </maintainer>
98 + <longdescription lang="en">
99 + Folly (acronymed loosely after Facebook Open Source Library) is a library of C++14 components designed with practicality and efficiency in mind. Folly contains a variety of core library components used extensively at Facebook. In particular, it's often a dependency of Facebook's other open source C++ efforts and place where those projects can share code.
100 + It complements (as opposed to competing against) offerings such as Boost and of course std. In fact, we embark on defining our own component only when something we need is either not available, or does not meet the needed performance profile. We endeavor to remove things from folly if or when std or Boost obsoletes them.
101 + Performance concerns permeate much of Folly, sometimes leading to designs that are more idiosyncratic than they would otherwise be (see e.g. PackedSyncPtr.h, SmallLocks.h). Good performance at large scale is a unifying theme in all of Folly.
102 + </longdescription>
103 +</pkgmetadata>