commit:     c31e13bd055dffc7a093996f412fd0d20469eca8
Author:     Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 11 13:21:02 2024 +0000
Commit:     Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Fri Oct 11 13:21:55 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c31e13bd

dev-build/gn: drop 0.2200

Signed-off-by: Matt Jolly <kangie <AT> gentoo.org>

 dev-build/gn/files/gn-gen-r6.patch | 36 ---------------------
 dev-build/gn/gn-0.2200.ebuild      | 66 --------------------------------------
 2 files changed, 102 deletions(-)

diff --git a/dev-build/gn/files/gn-gen-r6.patch 
b/dev-build/gn/files/gn-gen-r6.patch
deleted file mode 100644
index 194bf2477249..000000000000
--- a/dev-build/gn/files/gn-gen-r6.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 60f253dbba70f2146f7226e476030a5b6074e1ac Mon Sep 17 00:00:00 2001
-From: Matt Jolly <kan...@gentoo.org>
-Date: Thu, 10 Oct 2024 09:28:20 +1000
-Subject: [PATCH] Update patch to v6
-
----
- build/gen.py | 6 ------
- 1 file changed, 6 deletions(-)
-
-diff --git a/build/gen.py b/build/gen.py
-index d1c649c..1fc5b4d 100755
---- a/build/gen.py
-+++ b/build/gen.py
-@@ -431,11 +431,6 @@ def WriteGNNinja(path, platform, host, options, 
args_list):
-       if not platform.is_darwin():
-         cflags.extend(['-D_LIBCPP_DEBUG=1', '-D_GLIBCXX_DEBUG=1'])
-     else:
--      cflags.append('-DNDEBUG')
--      cflags.append('-O3')
--      if options.no_strip:
--        cflags.append('-g')
--      ldflags.append('-O3')
-       # Use -fdata-sections and -ffunction-sections to place each function
-       # or data item into its own section so --gc-sections can eliminate any
-       # unused functions and data items.
-@@ -482,7 +477,6 @@ def WriteGNNinja(path, platform, host, options, args_list):
-         '-D_FILE_OFFSET_BITS=64',
-         '-D__STDC_CONSTANT_MACROS', '-D__STDC_FORMAT_MACROS',
-         '-pthread',
--        '-pipe',
-         '-fno-exceptions',
-         '-fno-rtti',
-         '-fdiagnostics-color',
--- 
-2.46.2
-

diff --git a/dev-build/gn/gn-0.2200.ebuild b/dev-build/gn/gn-0.2200.ebuild
deleted file mode 100644
index a252da4d6f3f..000000000000
--- a/dev-build/gn/gn-0.2200.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 2018-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{10..13} )
-
-inherit edo ninja-utils python-any-r1 toolchain-funcs
-
-DESCRIPTION="GN is a meta-build system that generates build files for Ninja"
-HOMEPAGE="https://gn.googlesource.com/";
-if [[ ${PV} == 9999 ]]; then
-       inherit git-r3
-       EGIT_REPO_URI="https://gn.googlesource.com/gn";
-else
-       # The version number is derived from `git describe HEAD --abbrev=12`
-       SRC_URI="https://deps.gentoo.zip/dev-build/gn/${P}.tar.xz";
-       KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
-fi
-
-LICENSE="BSD"
-SLOT="0"
-
-BDEPEND="
-       ${PYTHON_DEPS}
-       app-alternatives/ninja
-"
-
-PATCHES=(
-       "${FILESDIR}"/gn-gen-r6.patch
-)
-
-pkg_setup() {
-       :
-}
-
-src_configure() {
-       python_setup
-       tc-export AR CC CXX
-       unset CFLAGS
-       set -- ${EPYTHON} build/gen.py --no-last-commit-position --no-strip 
--no-static-libstdc++ --allow-warnings
-       edo "$@"
-       cat >out/last_commit_position.h <<-EOF || die
-       #ifndef OUT_LAST_COMMIT_POSITION_H_
-       #define OUT_LAST_COMMIT_POSITION_H_
-       #define LAST_COMMIT_POSITION_NUM ${PV##0.}
-       #define LAST_COMMIT_POSITION "${PV}"
-       #endif  // OUT_LAST_COMMIT_POSITION_H_
-       EOF
-}
-
-src_compile() {
-       eninja -C out gn
-}
-
-src_test() {
-       eninja -C out gn_unittests
-       out/gn_unittests || die
-}
-
-src_install() {
-       dobin out/gn
-       einstalldocs
-
-       insinto /usr/share/vim/vimfiles
-       doins -r misc/vim/{autoload,ftdetect,ftplugin,syntax}
-}

Reply via email to