[gentoo-commits] repo/gentoo:master commit in: dev-util/bloaty/
commit: ed02df9f8363c644401a9e6e8eaccabfa18769f0 Author: Joonas Niilola gentoo org> AuthorDate: Tue Sep 5 06:09:48 2023 + Commit: Joonas Niilola gentoo org> CommitDate: Tue Sep 5 06:10:08 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed02df9f dev-util/bloaty: drop 1.1 Closes: https://bugs.gentoo.org/913656 Signed-off-by: Joonas Niilola gentoo.org> dev-util/bloaty/bloaty-1.1.ebuild | 48 --- 1 file changed, 48 deletions(-) diff --git a/dev-util/bloaty/bloaty-1.1.ebuild b/dev-util/bloaty/bloaty-1.1.ebuild deleted file mode 100644 index 60319810d1f8.. --- a/dev-util/bloaty/bloaty-1.1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="A size profiler for binaries" -HOMEPAGE="https://github.com/google/bloaty"; -LICENSE="Apache-2.0" -SLOT="0" - -if [[ ${PV} == ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/google/${PN}"; - IUSE="test" - RESTRICT="!test? ( test )" -else - SRC_URI="https://github.com/google/${PN}/releases/download/v${PV}/${P}.tar.bz2"; - KEYWORDS="amd64 ~arm64" -fi - -BDEPEND=" - virtual/pkgconfig -" -DEPEND=" - dev-libs/capstone:= - dev-libs/protobuf:= - dev-libs/re2:= -" -RDEPEND="${DEPEND}" - -src_configure() { - local mycmakeargs=( - -DCMAKE_CXX_STANDARD=14 # needed by protobuf - -DBLOATY_ENABLE_CMAKETARGETS=OFF - -DBUILD_SHARED_LIBS=OFF - ) - - if [[ ${PV} == ]]; then - mycmakeargs+=( - -DBUILD_TESTING=$(usex test) - $(usex test -DINSTALL_GTEST=OFF "") - ) - fi - - cmake_src_configure -}
[gentoo-commits] repo/gentoo:master commit in: dev-util/bloaty/
commit: fa9c8cd43e3b64f13dd56ad8e7a60ce7ea203895 Author: Joonas Niilola gentoo org> AuthorDate: Tue Sep 5 06:08:58 2023 + Commit: Joonas Niilola gentoo org> CommitDate: Tue Sep 5 06:10:08 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa9c8cd4 dev-util/bloaty: Stabilize 1.1-r1 amd64, #913656 Signed-off-by: Joonas Niilola gentoo.org> dev-util/bloaty/bloaty-1.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/bloaty/bloaty-1.1-r1.ebuild b/dev-util/bloaty/bloaty-1.1-r1.ebuild index e8c0b98fe27a..61b19bcb8d78 100644 --- a/dev-util/bloaty/bloaty-1.1-r1.ebuild +++ b/dev-util/bloaty/bloaty-1.1-r1.ebuild @@ -15,7 +15,7 @@ if [[ ${PV} == ]]; then RESTRICT="!test? ( test )" else SRC_URI="https://github.com/google/${PN}/releases/download/v${PV}/${P}.tar.bz2"; - KEYWORDS="~amd64 ~arm64" + KEYWORDS="amd64 ~arm64" fi LICENSE="Apache-2.0"
[gentoo-commits] repo/gentoo:master commit in: dev-util/bloaty/files/, dev-util/bloaty/
commit: d81985c517eaa22408155bf1e42cc86914a2b775 Author: Sam James gentoo org> AuthorDate: Mon Aug 21 19:22:18 2023 + Commit: Sam James gentoo org> CommitDate: Mon Aug 21 19:22:33 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d81985c5 dev-util/bloaty: fix new protobuf (deux) Fixes: 9459a5f07b31fb170b09a4f3aa828178cde9ea8c Signed-off-by: Sam James gentoo.org> .../{bloaty-.ebuild => bloaty-1.1-r1.ebuild} | 13 ++- dev-util/bloaty/bloaty-.ebuild | 13 ++- .../bloaty/files/bloaty-1.1-system-abseil.patch| 92 ++ 3 files changed, 110 insertions(+), 8 deletions(-) diff --git a/dev-util/bloaty/bloaty-.ebuild b/dev-util/bloaty/bloaty-1.1-r1.ebuild similarity index 90% copy from dev-util/bloaty/bloaty-.ebuild copy to dev-util/bloaty/bloaty-1.1-r1.ebuild index c532d76fe085..e8c0b98fe27a 100644 --- a/dev-util/bloaty/bloaty-.ebuild +++ b/dev-util/bloaty/bloaty-1.1-r1.ebuild @@ -1,14 +1,12 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit cmake DESCRIPTION="A size profiler for binaries" HOMEPAGE="https://github.com/google/bloaty"; -LICENSE="Apache-2.0" -SLOT="0" if [[ ${PV} == ]]; then inherit git-r3 @@ -20,19 +18,26 @@ else KEYWORDS="~amd64 ~arm64" fi +LICENSE="Apache-2.0" +SLOT="0" + BDEPEND=" virtual/pkgconfig " DEPEND=" + dev-cpp/abseil-cpp:= dev-libs/capstone:= dev-libs/protobuf:= dev-libs/re2:= " RDEPEND="${DEPEND}" +PATCHES=( + "${FILESDIR}"/${PN}-1.1-system-abseil.patch +) + src_configure() { local mycmakeargs=( - -DCMAKE_CXX_STANDARD=14 # needed by protobuf -DBLOATY_ENABLE_CMAKETARGETS=OFF -DBUILD_SHARED_LIBS=OFF ) diff --git a/dev-util/bloaty/bloaty-.ebuild b/dev-util/bloaty/bloaty-.ebuild index c532d76fe085..e8c0b98fe27a 100644 --- a/dev-util/bloaty/bloaty-.ebuild +++ b/dev-util/bloaty/bloaty-.ebuild @@ -1,14 +1,12 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit cmake DESCRIPTION="A size profiler for binaries" HOMEPAGE="https://github.com/google/bloaty"; -LICENSE="Apache-2.0" -SLOT="0" if [[ ${PV} == ]]; then inherit git-r3 @@ -20,19 +18,26 @@ else KEYWORDS="~amd64 ~arm64" fi +LICENSE="Apache-2.0" +SLOT="0" + BDEPEND=" virtual/pkgconfig " DEPEND=" + dev-cpp/abseil-cpp:= dev-libs/capstone:= dev-libs/protobuf:= dev-libs/re2:= " RDEPEND="${DEPEND}" +PATCHES=( + "${FILESDIR}"/${PN}-1.1-system-abseil.patch +) + src_configure() { local mycmakeargs=( - -DCMAKE_CXX_STANDARD=14 # needed by protobuf -DBLOATY_ENABLE_CMAKETARGETS=OFF -DBUILD_SHARED_LIBS=OFF ) diff --git a/dev-util/bloaty/files/bloaty-1.1-system-abseil.patch b/dev-util/bloaty/files/bloaty-1.1-system-abseil.patch new file mode 100644 index ..40a1d2df97ba --- /dev/null +++ b/dev-util/bloaty/files/bloaty-1.1-system-abseil.patch @@ -0,0 +1,92 @@ +https://src.fedoraproject.org/rpms/bloaty/blob/rawhide/f/bloaty-1.1-absl.patch +https://github.com/google/bloaty/pull/347 + +diff -up ./CMakeLists.txt.1 ./CMakeLists.txt +--- ./CMakeLists.txt.1 2020-05-24 00:36:23.0 -0400 ./CMakeLists.txt 2020-12-19 12:32:29.021943521 -0500 +@@ -2,7 +2,8 @@ cmake_minimum_required(VERSION 3.5) + cmake_policy(SET CMP0048 NEW) + project (Bloaty VERSION 1.0) + project (Bloaty VERSION 1.1) +-set(CMAKE_CXX_STANDARD 11) ++set(CMAKE_CXX_STANDARD 17) ++set(CMAKE_POSITION_INDEPENDENT_CODE ON) + + # Options we define for users. + option(BLOATY_ENABLE_ASAN "Enable address sanitizer." OFF) +@@ -36,6 +37,8 @@ else(${PKG_CONFIG_FOUND}) + endif(${PKG_CONFIG_FOUND}) + endif(UNIX) + ++find_package(absl) ++ + # Set default build type. + if(NOT CMAKE_BUILD_TYPE) + message(STATUS "Setting build type to 'RelWithDebInfo' as none was specified.") +@@ -89,11 +92,10 @@ endif(UNIX) + + include_directories(.) + include_directories(src) +-include_directories(third_party/abseil-cpp) + include_directories("${CMAKE_CURRENT_BINARY_DIR}/src") + + # Baseline build flags. +-set(CMAKE_CXX_FLAGS "-std=c++11 -W -Wall -Wno-sign-compare") ++set(CMAKE_CXX_FLAGS "-W -Wall -Wno-sign-compare") + set(CMAKE_CXX_FLAGS_DEBUG "-g1") + set(CMAKE_CXX_FLAGS_RELEASE "-O2") + set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g1") +@@ -149,7 +151,7 @@ endif(${PROTOC_FOUND}) + file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/src/bloaty_package.bloaty + DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) + +-add_library(libbloaty ++add_library(libbloaty STATIC + src/bloaty.cc + src/demangle.cc + src/disassemble.cc +@@ -159,6 +161,13 @@ add_library(libbloaty + src/macho.cc + src/range_map.cc + src/webassembly.cc +
[gentoo-commits] repo/gentoo:master commit in: dev-util/bloaty/
commit: 9459a5f07b31fb170b09a4f3aa828178cde9ea8c Author: Sam James gentoo org> AuthorDate: Mon Aug 21 18:51:15 2023 + Commit: Sam James gentoo org> CommitDate: Mon Aug 21 18:51:28 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9459a5f0 dev-util/bloaty: protobuf now needs >=c++14 Signed-off-by: Sam James gentoo.org> dev-util/bloaty/bloaty-1.1.ebuild | 3 +++ dev-util/bloaty/bloaty-.ebuild | 9 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/dev-util/bloaty/bloaty-1.1.ebuild b/dev-util/bloaty/bloaty-1.1.ebuild index d72f426425c5..60319810d1f8 100644 --- a/dev-util/bloaty/bloaty-1.1.ebuild +++ b/dev-util/bloaty/bloaty-1.1.ebuild @@ -32,14 +32,17 @@ RDEPEND="${DEPEND}" src_configure() { local mycmakeargs=( + -DCMAKE_CXX_STANDARD=14 # needed by protobuf -DBLOATY_ENABLE_CMAKETARGETS=OFF -DBUILD_SHARED_LIBS=OFF ) + if [[ ${PV} == ]]; then mycmakeargs+=( -DBUILD_TESTING=$(usex test) $(usex test -DINSTALL_GTEST=OFF "") ) fi + cmake_src_configure } diff --git a/dev-util/bloaty/bloaty-.ebuild b/dev-util/bloaty/bloaty-.ebuild index 4aa412ab17d3..c532d76fe085 100644 --- a/dev-util/bloaty/bloaty-.ebuild +++ b/dev-util/bloaty/bloaty-.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -17,7 +17,7 @@ if [[ ${PV} == ]]; then RESTRICT="!test? ( test )" else SRC_URI="https://github.com/google/${PN}/releases/download/v${PV}/${P}.tar.bz2"; - KEYWORDS="~amd64" + KEYWORDS="~amd64 ~arm64" fi BDEPEND=" @@ -32,12 +32,17 @@ RDEPEND="${DEPEND}" src_configure() { local mycmakeargs=( + -DCMAKE_CXX_STANDARD=14 # needed by protobuf -DBLOATY_ENABLE_CMAKETARGETS=OFF + -DBUILD_SHARED_LIBS=OFF ) + if [[ ${PV} == ]]; then mycmakeargs+=( -DBUILD_TESTING=$(usex test) + $(usex test -DINSTALL_GTEST=OFF "") ) fi + cmake_src_configure }
[gentoo-commits] repo/gentoo:master commit in: dev-util/bloaty/
commit: 334e73f2a3ee962075c9427c19c1ca5f5ee09068 Author: Sam James gentoo org> AuthorDate: Tue Apr 25 20:58:32 2023 + Commit: Sam James gentoo org> CommitDate: Tue Apr 25 20:58:32 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=334e73f2 dev-util/bloaty: Keyword 1.1 arm64, #905039 Signed-off-by: Sam James gentoo.org> dev-util/bloaty/bloaty-1.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-util/bloaty/bloaty-1.1.ebuild b/dev-util/bloaty/bloaty-1.1.ebuild index 3914161e140f..d72f426425c5 100644 --- a/dev-util/bloaty/bloaty-1.1.ebuild +++ b/dev-util/bloaty/bloaty-1.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -17,7 +17,7 @@ if [[ ${PV} == ]]; then RESTRICT="!test? ( test )" else SRC_URI="https://github.com/google/${PN}/releases/download/v${PV}/${P}.tar.bz2"; - KEYWORDS="amd64" + KEYWORDS="amd64 ~arm64" fi BDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-util/bloaty/
commit: e35e8ce40eff0960e3b01bcb8593802a7715b097 Author: Matthew Smith gentoo org> AuthorDate: Sun Jun 5 11:52:01 2022 + Commit: Matthew Smith gentoo org> CommitDate: Sun Jun 5 11:52:52 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e35e8ce4 dev-util/bloaty: drop to maintainer-needed Signed-off-by: Matthew Smith gentoo.org> dev-util/bloaty/metadata.xml | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/dev-util/bloaty/metadata.xml b/dev-util/bloaty/metadata.xml index 3f7e79b059df..25bf3d3cec05 100644 --- a/dev-util/bloaty/metadata.xml +++ b/dev-util/bloaty/metadata.xml @@ -1,14 +1,7 @@ https://www.gentoo.org/dtd/metadata.dtd";> - -n...@ngg.hu -Gergely Nagy - - -proxy-ma...@gentoo.org -Proxy Maintainers - + google/bloaty
[gentoo-commits] repo/gentoo:master commit in: dev-util/bloaty/
commit: 7dfdd553dbbea46ce67d8c0f502c57c3a003af7a Author: Joonas Niilola gentoo org> AuthorDate: Sat May 21 08:20:05 2022 + Commit: Joonas Niilola gentoo org> CommitDate: Sat May 21 08:20:36 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dfdd553 dev-util/bloaty: drop 0_p20170420 Signed-off-by: Joonas Niilola gentoo.org> dev-util/bloaty/Manifest | 1 - dev-util/bloaty/bloaty-0_p20170420.ebuild | 38 --- 2 files changed, 39 deletions(-) diff --git a/dev-util/bloaty/Manifest b/dev-util/bloaty/Manifest index 62eeef4698b9..ba9d6612b834 100644 --- a/dev-util/bloaty/Manifest +++ b/dev-util/bloaty/Manifest @@ -1,2 +1 @@ -DIST bloaty-0_p20170420.tar.gz 3100016 BLAKE2B 74a3b44a5e63f8f06da7b554588be0ced62a0f6792513984fbf7cfab520f6f6173868d588427dd9ca322c6fbc29fd1b8931453ec045c591fd8de58904178bf2c SHA512 93947fd0c49c3223c1ec216c88fe22b24e68654511d4b9d4fb2bcbc816b92bbdaf47344abc1dc8f80ed0b38a8c8b09909f862f916fd9182048235582aa10feb0 DIST bloaty-1.1.tar.bz2 5363836 BLAKE2B a538cf5634ed72844bb128238a521caf375eaab34fd3cce8fdd46002bcbc6c53ba986cc7c1e4b761b1253b2f01cb557c94e1e1585507ff89bec10c891e5f5a88 SHA512 142d0dd58fc0aadce3aee6e9260c6ed792a18cf5fe260c89051d51b9357c7527ba352c3d6c9e23a3494796fba3d88314b6ed8a3a76c6c0d111d4c509cae6b216 diff --git a/dev-util/bloaty/bloaty-0_p20170420.ebuild b/dev-util/bloaty/bloaty-0_p20170420.ebuild deleted file mode 100644 index 16f023dc0f83.. --- a/dev-util/bloaty/bloaty-0_p20170420.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit vcs-snapshot toolchain-funcs - -COMMIT="73594cde8c9a52a102c4341c244c833aa61b9c06" - -DESCRIPTION="A size profiler for binaries" -HOMEPAGE="https://github.com/google/bloaty"; -SRC_URI="https://github.com/google/bloaty/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -DEPEND=">=dev-libs/re2-0.2017.03.01" -RDEPEND="${DEPEND}" - -src_prepare() { - default - sed -i -e "s#\$(RE2_[AH])##"\ - -e "s#\tar #\t$(tc-getAR) #"\ - -e "s#-lpthread#-lre2 -lpthread#"\ - -e "/^CXXFLAGS/ s#-I third_party/re2##"\ - Makefile || die -} - -src_compile() { - CXX="$(tc-getCXX)" emake -} - -src_install() { - dobin ${PN} - dodoc README.md -}
[gentoo-commits] repo/gentoo:master commit in: dev-util/bloaty/
commit: 10a48926b7fb19874a8df42b8144d6ba958bd7c4 Author: Joonas Niilola gentoo org> AuthorDate: Sat May 21 08:19:12 2022 + Commit: Joonas Niilola gentoo org> CommitDate: Sat May 21 08:20:36 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10a48926 dev-util/bloaty: Stabilize 1.1 amd64, #843443 Signed-off-by: Joonas Niilola gentoo.org> dev-util/bloaty/bloaty-1.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-util/bloaty/bloaty-1.1.ebuild b/dev-util/bloaty/bloaty-1.1.ebuild index 227dcc50dcdf..3914161e140f 100644 --- a/dev-util/bloaty/bloaty-1.1.ebuild +++ b/dev-util/bloaty/bloaty-1.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -17,7 +17,7 @@ if [[ ${PV} == ]]; then RESTRICT="!test? ( test )" else SRC_URI="https://github.com/google/${PN}/releases/download/v${PV}/${P}.tar.bz2"; - KEYWORDS="~amd64" + KEYWORDS="amd64" fi BDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-util/bloaty/
commit: 853ba82fbfe652a348a9b8da664f3a53d8dbe5dc Author: Sam James gentoo org> AuthorDate: Sun Mar 20 00:36:15 2022 + Commit: Sam James gentoo org> CommitDate: Sun Mar 20 00:36:15 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=853ba82f dev-util/bloaty: [QA] fix tc-get* quoting This can cause build problems for e.g. 32-bit (gcc -m32 ...) Signed-off-by: Sam James gentoo.org> dev-util/bloaty/bloaty-0_p20170420.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-util/bloaty/bloaty-0_p20170420.ebuild b/dev-util/bloaty/bloaty-0_p20170420.ebuild index e26da812ab42..16f023dc0f83 100644 --- a/dev-util/bloaty/bloaty-0_p20170420.ebuild +++ b/dev-util/bloaty/bloaty-0_p20170420.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -29,7 +29,7 @@ src_prepare() { } src_compile() { - CXX=$(tc-getCXX) emake + CXX="$(tc-getCXX)" emake } src_install() {
[gentoo-commits] repo/gentoo:master commit in: dev-util/bloaty/
commit: 4e7de51a73307c3c473bbc445eabd5b08770d320 Author: Gergely Nagy ngg hu> AuthorDate: Sun May 24 10:45:23 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Sun Jul 5 08:24:15 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e7de51a dev-util/bloaty: bump version to 1.1 Closes: https://bugs.gentoo.org/717124 Closes: https://bugs.gentoo.org/724160 Signed-off-by: Gergely Nagy ngg.hu> Signed-off-by: Joonas Niilola gentoo.org> dev-util/bloaty/Manifest | 1 + dev-util/bloaty/bloaty-1.1.ebuild | 45 +++ 2 files changed, 46 insertions(+) diff --git a/dev-util/bloaty/Manifest b/dev-util/bloaty/Manifest index 320f82f838b..62eeef4698b 100644 --- a/dev-util/bloaty/Manifest +++ b/dev-util/bloaty/Manifest @@ -1 +1,2 @@ DIST bloaty-0_p20170420.tar.gz 3100016 BLAKE2B 74a3b44a5e63f8f06da7b554588be0ced62a0f6792513984fbf7cfab520f6f6173868d588427dd9ca322c6fbc29fd1b8931453ec045c591fd8de58904178bf2c SHA512 93947fd0c49c3223c1ec216c88fe22b24e68654511d4b9d4fb2bcbc816b92bbdaf47344abc1dc8f80ed0b38a8c8b09909f862f916fd9182048235582aa10feb0 +DIST bloaty-1.1.tar.bz2 5363836 BLAKE2B a538cf5634ed72844bb128238a521caf375eaab34fd3cce8fdd46002bcbc6c53ba986cc7c1e4b761b1253b2f01cb557c94e1e1585507ff89bec10c891e5f5a88 SHA512 142d0dd58fc0aadce3aee6e9260c6ed792a18cf5fe260c89051d51b9357c7527ba352c3d6c9e23a3494796fba3d88314b6ed8a3a76c6c0d111d4c509cae6b216 diff --git a/dev-util/bloaty/bloaty-1.1.ebuild b/dev-util/bloaty/bloaty-1.1.ebuild new file mode 100644 index 000..227dcc50dcd --- /dev/null +++ b/dev-util/bloaty/bloaty-1.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="A size profiler for binaries" +HOMEPAGE="https://github.com/google/bloaty"; +LICENSE="Apache-2.0" +SLOT="0" + +if [[ ${PV} == ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/google/${PN}"; + IUSE="test" + RESTRICT="!test? ( test )" +else + SRC_URI="https://github.com/google/${PN}/releases/download/v${PV}/${P}.tar.bz2"; + KEYWORDS="~amd64" +fi + +BDEPEND=" + virtual/pkgconfig +" +DEPEND=" + dev-libs/capstone:= + dev-libs/protobuf:= + dev-libs/re2:= +" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + -DBLOATY_ENABLE_CMAKETARGETS=OFF + -DBUILD_SHARED_LIBS=OFF + ) + if [[ ${PV} == ]]; then + mycmakeargs+=( + -DBUILD_TESTING=$(usex test) + $(usex test -DINSTALL_GTEST=OFF "") + ) + fi + cmake_src_configure +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/bloaty/
commit: 15477285327859b353e2a12c7943d869b5d740c0 Author: Gergely Nagy ngg hu> AuthorDate: Sun May 24 10:46:08 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Sun Jul 5 08:24:15 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15477285 dev-util/bloaty: add live ebuild Signed-off-by: Gergely Nagy ngg.hu> Closes: https://github.com/gentoo/gentoo/pull/15944 Signed-off-by: Joonas Niilola gentoo.org> dev-util/bloaty/bloaty-.ebuild | 43 ++ 1 file changed, 43 insertions(+) diff --git a/dev-util/bloaty/bloaty-.ebuild b/dev-util/bloaty/bloaty-.ebuild new file mode 100644 index 000..4aa412ab17d --- /dev/null +++ b/dev-util/bloaty/bloaty-.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="A size profiler for binaries" +HOMEPAGE="https://github.com/google/bloaty"; +LICENSE="Apache-2.0" +SLOT="0" + +if [[ ${PV} == ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/google/${PN}"; + IUSE="test" + RESTRICT="!test? ( test )" +else + SRC_URI="https://github.com/google/${PN}/releases/download/v${PV}/${P}.tar.bz2"; + KEYWORDS="~amd64" +fi + +BDEPEND=" + virtual/pkgconfig +" +DEPEND=" + dev-libs/capstone:= + dev-libs/protobuf:= + dev-libs/re2:= +" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + -DBLOATY_ENABLE_CMAKETARGETS=OFF + ) + if [[ ${PV} == ]]; then + mycmakeargs+=( + -DBUILD_TESTING=$(usex test) + ) + fi + cmake_src_configure +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/bloaty/
commit: 4f9ac1689226022a7308fe49e298163be479e2ab Author: Gergely Nagy ngg hu> AuthorDate: Sun May 24 10:44:36 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Sun Jul 5 08:24:14 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f9ac168 dev-util/bloaty: add myself as proxy-maintainer Signed-off-by: Gergely Nagy ngg.hu> Signed-off-by: Joonas Niilola gentoo.org> dev-util/bloaty/metadata.xml | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/dev-util/bloaty/metadata.xml b/dev-util/bloaty/metadata.xml index 146d5f454ee..36b90a82850 100644 --- a/dev-util/bloaty/metadata.xml +++ b/dev-util/bloaty/metadata.xml @@ -1,8 +1,15 @@ http://www.gentoo.org/dtd/metadata.dtd";> - - - google/bloaty - + +n...@ngg.hu +Gergely Nagy + + +proxy-ma...@gentoo.org +Proxy Maintainers + + +google/bloaty +
[gentoo-commits] repo/gentoo:master commit in: dev-util/bloaty/
commit: c3a510b6617fc589b21b693a432e594288c005e4 Author: Manuel Rüger gentoo org> AuthorDate: Sun Jul 23 12:15:39 2017 + Commit: Manuel Rüger gentoo org> CommitDate: Sun Jul 23 12:15:39 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3a510b6 dev-util/bloaty: Drop myself as a maintainer Package-Manager: Portage-2.3.6, Repoman-2.3.3 dev-util/bloaty/metadata.xml | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/dev-util/bloaty/metadata.xml b/dev-util/bloaty/metadata.xml index 945ab4f537a..146d5f454ee 100644 --- a/dev-util/bloaty/metadata.xml +++ b/dev-util/bloaty/metadata.xml @@ -1,12 +1,7 @@ http://www.gentoo.org/dtd/metadata.dtd";> - - - - mr...@gentoo.org - Manuel Rüger - + google/bloaty
[gentoo-commits] repo/gentoo:master commit in: dev-util/bloaty/
commit: 5012dd71b52a8f00bfee60f36f4097deccaa Author: Manuel Rüger gentoo org> AuthorDate: Tue Jun 6 22:09:17 2017 + Commit: Manuel Rüger gentoo org> CommitDate: Tue Jun 6 22:09:17 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5012dd71 dev-util/bloaty: Remove old Package-Manager: Portage-2.3.6, Repoman-2.3.2 dev-util/bloaty/Manifest | 1 - dev-util/bloaty/bloaty-0_p20170321.ebuild | 38 --- 2 files changed, 39 deletions(-) diff --git a/dev-util/bloaty/Manifest b/dev-util/bloaty/Manifest index ab2a0612cff..051e505fa91 100644 --- a/dev-util/bloaty/Manifest +++ b/dev-util/bloaty/Manifest @@ -1,2 +1 @@ -DIST bloaty-0_p20170321.tar.gz 3100291 SHA256 0873e2abe0cf3dbb1fd47c97dfa9d0b47bf4b2627647b60325240a08f2ff0acc SHA512 9c784524e60e646b7af81fb48eb1d2b2cb9c7239a22d970c93dd9f28f932f66c16974dc18e4aa9edd96adbc26c17d0fd2160d469bacf8e82539e1b5c5a63077e WHIRLPOOL a15aa28d8d49d1e67d961a2db01d691f91474bee1703462eddeb41e2cb87a49c4a184c318a1b94d765b54bb5b3e92281f3eed23a44a2378ada19eceeadd36cb2 DIST bloaty-0_p20170420.tar.gz 3100016 SHA256 b317b0725e485d285c83c2a65a2fbdd125dd6fd92f8d3b504ec235f3d39fd46e SHA512 93947fd0c49c3223c1ec216c88fe22b24e68654511d4b9d4fb2bcbc816b92bbdaf47344abc1dc8f80ed0b38a8c8b09909f862f916fd9182048235582aa10feb0 WHIRLPOOL dcdf174fbb4235653cf0210c0345ca0aa4b9b2ca7eb77d0ccaaa13a58c4b88581ad2da9308aec5fb5b6f6cae3c271885971466e8cb875c8b597f748e16857998 diff --git a/dev-util/bloaty/bloaty-0_p20170321.ebuild b/dev-util/bloaty/bloaty-0_p20170321.ebuild deleted file mode 100644 index d444e0b7d78..000 --- a/dev-util/bloaty/bloaty-0_p20170321.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit vcs-snapshot toolchain-funcs - -COMMIT="8e2298492eb9c0c9c358f4e5173bbc147e8e0436" - -DESCRIPTION="A size profiler for binaries" -HOMEPAGE="https://github.com/google/bloaty"; -SRC_URI="https://github.com/google/bloaty/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -DEPEND=">=dev-libs/re2-0.2017.03.01" -RDEPEND="${DEPEND}" - -src_prepare() { - default - sed -i -e "s#\$(RE2_[AH])##"\ - -e "s/\tar /\t$(tc-getAR) /"\ - -e "s#-lpthread#-lre2 -lpthread#"\ - -e "/^CXXFLAGS/ s#-I third_party/re2##"\ - Makefile || die -} - -src_compile() { - CXX=$(tc-getCXX) emake -} - -src_install() { - dobin ${PN} - dodoc README.md -}
[gentoo-commits] repo/gentoo:master commit in: dev-util/bloaty/
commit: 77c8552e1c1d23172123080b8c9331cd81106c55 Author: Manuel Rüger gentoo org> AuthorDate: Tue Jun 6 22:08:52 2017 + Commit: Manuel Rüger gentoo org> CommitDate: Tue Jun 6 22:08:52 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77c8552e dev-util/bloaty: Update snapshot Gentoo-Bug: #621046 Package-Manager: Portage-2.3.6, Repoman-2.3.2 dev-util/bloaty/Manifest | 1 + dev-util/bloaty/bloaty-0_p20170420.ebuild | 38 +++ 2 files changed, 39 insertions(+) diff --git a/dev-util/bloaty/Manifest b/dev-util/bloaty/Manifest index ea161db0752..ab2a0612cff 100644 --- a/dev-util/bloaty/Manifest +++ b/dev-util/bloaty/Manifest @@ -1 +1,2 @@ DIST bloaty-0_p20170321.tar.gz 3100291 SHA256 0873e2abe0cf3dbb1fd47c97dfa9d0b47bf4b2627647b60325240a08f2ff0acc SHA512 9c784524e60e646b7af81fb48eb1d2b2cb9c7239a22d970c93dd9f28f932f66c16974dc18e4aa9edd96adbc26c17d0fd2160d469bacf8e82539e1b5c5a63077e WHIRLPOOL a15aa28d8d49d1e67d961a2db01d691f91474bee1703462eddeb41e2cb87a49c4a184c318a1b94d765b54bb5b3e92281f3eed23a44a2378ada19eceeadd36cb2 +DIST bloaty-0_p20170420.tar.gz 3100016 SHA256 b317b0725e485d285c83c2a65a2fbdd125dd6fd92f8d3b504ec235f3d39fd46e SHA512 93947fd0c49c3223c1ec216c88fe22b24e68654511d4b9d4fb2bcbc816b92bbdaf47344abc1dc8f80ed0b38a8c8b09909f862f916fd9182048235582aa10feb0 WHIRLPOOL dcdf174fbb4235653cf0210c0345ca0aa4b9b2ca7eb77d0ccaaa13a58c4b88581ad2da9308aec5fb5b6f6cae3c271885971466e8cb875c8b597f748e16857998 diff --git a/dev-util/bloaty/bloaty-0_p20170420.ebuild b/dev-util/bloaty/bloaty-0_p20170420.ebuild new file mode 100644 index 000..e26da812ab4 --- /dev/null +++ b/dev-util/bloaty/bloaty-0_p20170420.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit vcs-snapshot toolchain-funcs + +COMMIT="73594cde8c9a52a102c4341c244c833aa61b9c06" + +DESCRIPTION="A size profiler for binaries" +HOMEPAGE="https://github.com/google/bloaty"; +SRC_URI="https://github.com/google/bloaty/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND=">=dev-libs/re2-0.2017.03.01" +RDEPEND="${DEPEND}" + +src_prepare() { + default + sed -i -e "s#\$(RE2_[AH])##"\ + -e "s#\tar #\t$(tc-getAR) #"\ + -e "s#-lpthread#-lre2 -lpthread#"\ + -e "/^CXXFLAGS/ s#-I third_party/re2##"\ + Makefile || die +} + +src_compile() { + CXX=$(tc-getCXX) emake +} + +src_install() { + dobin ${PN} + dodoc README.md +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/bloaty/
commit: 87c053bc11ad0b97c987bd2541d1106f6bc2acf5 Author: Manuel Rüger gentoo org> AuthorDate: Tue Mar 28 23:43:19 2017 + Commit: Manuel Rüger gentoo org> CommitDate: Tue Mar 28 23:44:21 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87c053bc dev-util/bloaty: Initial version Package-Manager: Portage-2.3.4, Repoman-2.3.2 dev-util/bloaty/Manifest | 1 + dev-util/bloaty/bloaty-0_p20170321.ebuild | 38 +++ dev-util/bloaty/metadata.xml | 13 +++ 3 files changed, 52 insertions(+) diff --git a/dev-util/bloaty/Manifest b/dev-util/bloaty/Manifest new file mode 100644 index 000..ea161db0752 --- /dev/null +++ b/dev-util/bloaty/Manifest @@ -0,0 +1 @@ +DIST bloaty-0_p20170321.tar.gz 3100291 SHA256 0873e2abe0cf3dbb1fd47c97dfa9d0b47bf4b2627647b60325240a08f2ff0acc SHA512 9c784524e60e646b7af81fb48eb1d2b2cb9c7239a22d970c93dd9f28f932f66c16974dc18e4aa9edd96adbc26c17d0fd2160d469bacf8e82539e1b5c5a63077e WHIRLPOOL a15aa28d8d49d1e67d961a2db01d691f91474bee1703462eddeb41e2cb87a49c4a184c318a1b94d765b54bb5b3e92281f3eed23a44a2378ada19eceeadd36cb2 diff --git a/dev-util/bloaty/bloaty-0_p20170321.ebuild b/dev-util/bloaty/bloaty-0_p20170321.ebuild new file mode 100644 index 000..d444e0b7d78 --- /dev/null +++ b/dev-util/bloaty/bloaty-0_p20170321.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit vcs-snapshot toolchain-funcs + +COMMIT="8e2298492eb9c0c9c358f4e5173bbc147e8e0436" + +DESCRIPTION="A size profiler for binaries" +HOMEPAGE="https://github.com/google/bloaty"; +SRC_URI="https://github.com/google/bloaty/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND=">=dev-libs/re2-0.2017.03.01" +RDEPEND="${DEPEND}" + +src_prepare() { + default + sed -i -e "s#\$(RE2_[AH])##"\ + -e "s/\tar /\t$(tc-getAR) /"\ + -e "s#-lpthread#-lre2 -lpthread#"\ + -e "/^CXXFLAGS/ s#-I third_party/re2##"\ + Makefile || die +} + +src_compile() { + CXX=$(tc-getCXX) emake +} + +src_install() { + dobin ${PN} + dodoc README.md +} diff --git a/dev-util/bloaty/metadata.xml b/dev-util/bloaty/metadata.xml new file mode 100644 index 000..945ab4f537a --- /dev/null +++ b/dev-util/bloaty/metadata.xml @@ -0,0 +1,13 @@ + +http://www.gentoo.org/dtd/metadata.dtd";> + + + + + mr...@gentoo.org + Manuel Rüger + + + google/bloaty + +