From: "Fabian Groffen" <grobian@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/prefix:master commit in: sys-libs/newlib/files/, sys-libs/newlib/
Date: Fri, 12 Jul 2024 10:20:26 +0000 (UTC) [thread overview]
Message-ID: <1720779594.6759c9f81dd5cdde383efc766cf895c84a92caef.grobian@gentoo> (raw)
commit: 6759c9f81dd5cdde383efc766cf895c84a92caef
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 12 10:19:54 2024 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Fri Jul 12 10:19:54 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=6759c9f8
sys-libs/newlib: remove in favour of gx86 version
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
.../newlib/files/cygwin-2.7.0-parallel-build.patch | 31 -------
sys-libs/newlib/metadata.xml | 11 ---
sys-libs/newlib/newlib-9999.ebuild | 95 ----------------------
3 files changed, 137 deletions(-)
diff --git a/sys-libs/newlib/files/cygwin-2.7.0-parallel-build.patch b/sys-libs/newlib/files/cygwin-2.7.0-parallel-build.patch
deleted file mode 100644
index 7dce4e28e9..0000000000
--- a/sys-libs/newlib/files/cygwin-2.7.0-parallel-build.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 2f3758437166c57fd53ad8517d874d95f27710bc Mon Sep 17 00:00:00 2001
-From: Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
-Date: Thu, 16 Feb 2017 14:32:07 +0100
-Subject: [PATCH] fix parallel build for version.cc and winver.o
-
-Creating both version.cc and winver.o at once really should run once only.
----
- winsup/cygwin/Makefile.in | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in
-index bffb24a..c8652b0 100644
---- a/winsup/cygwin/Makefile.in
-+++ b/winsup/cygwin/Makefile.in
-@@ -747,10 +747,12 @@ libacl.a: ${LIB_NAME} sec_posixacl.o
- ${EXTRALIBS}: lib%.a: %.o
- $(AR) cru $@ $?
-
--version.cc winver.o: mkvers.sh include/cygwin/version.h winver.rc $(DLL_OFILES)
-+winver.o: mkvers.sh include/cygwin/version.h winver.rc $(DLL_OFILES)
- @echo "Making version.cc and winver.o";\
- /bin/sh ${word 1,$^} ${word 2,$^} ${word 3,$^} $(WINDRES) ${CFLAGS} $(addprefix -I,${CCWRAP_SYSTEM_HEADERS} ${CCWRAP_DIRAFTER_HEADERS})
-
-+version.cc: winver.o
-+
- Makefile: ${srcdir}/Makefile.in
- /bin/sh ./config.status
-
---
-2.10.2
-
diff --git a/sys-libs/newlib/metadata.xml b/sys-libs/newlib/metadata.xml
deleted file mode 100644
index 3002cfebe8..0000000000
--- a/sys-libs/newlib/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="person">
-<email>lu_zero@gentoo.org</email>
-</maintainer>
-<maintainer type="project">
-<email>toolchain@gentoo.org</email>
-<name>Gentoo Toolchain Project</name>
-</maintainer>
-</pkgmetadata>
diff --git a/sys-libs/newlib/newlib-9999.ebuild b/sys-libs/newlib/newlib-9999.ebuild
deleted file mode 100644
index 6c5e40f34d..0000000000
--- a/sys-libs/newlib/newlib-9999.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit flag-o-matic toolchain-funcs
-
-if [[ ${PV} == "9999" ]] ; then
- EGIT_REPO_URI="git://sourceware.org/git/newlib-cygwin.git"
- inherit git-r3
-else
- SRC_URI="ftp://sourceware.org/pub/newlib/${P}.tar.gz"
- if [[ ${PV} != *.201[5-9]???? ]] ; then
- KEYWORDS="-* ~arm ~hppa ~m68k ~mips ~ppc ~ppc64 ~sparc ~x86"
- fi
-fi
-
-export CBUILD=${CBUILD:-${CHOST}}
-export CTARGET=${CTARGET:-${CHOST}}
-if [[ ${CTARGET} == ${CHOST} ]] ; then
- if [[ ${CATEGORY} == cross-* ]] ; then
- export CTARGET=${CATEGORY#cross-}
- fi
-fi
-
-DESCRIPTION="Newlib is a C library intended for use on embedded systems"
-HOMEPAGE="https://sourceware.org/newlib/"
-
-LICENSE="NEWLIB LIBGLOSS GPL-2"
-SLOT="0"
-IUSE="nls threads unicode crosscompile_opts_headers-only"
-RESTRICT="strip"
-
-NEWLIBBUILD="${WORKDIR}/build"
-
-pkg_setup() {
- # Reject newlib-on-glibc type installs
- if [[ ${CTARGET} == ${CHOST} ]] ; then
- case ${CHOST} in
- *-newlib|*-elf|*-cygwin*) ;;
- *) die "Use sys-devel/crossdev to build a newlib toolchain" ;;
- esac
- fi
-}
-
-src_prepare() {
- default
- if [[ ${CHOST} == *-cygwin* ]] ; then
- local pvgr="${PV}-gentoo-${PR}"
- pvgr=${pvgr%-r0}
- einfo "Branding Gentoo/Cygwin ${pvgr} ..."
- sed -i -e "/Cygwin dll release/a\
- __small_sprintf (name->release, \"%s\", \"${pvgr}\") ||
- " winsup/cygwin/uname.cc || die
- eend $?
- fi
-}
-
-src_configure() {
- # we should fix this ...
- unset LDFLAGS
- CHOST=${CTARGET:-${CHOST}} strip-unsupported-flags
-
- local myconf=(
- # Disable legacy syscall stub code in newlib. These have been
- # moved to libgloss for a long time now, so the code in newlib
- # itself just gets in the way.
- --disable-newlib-supplied-syscalls
- )
- [[ ${CTARGET} == "spu" ]] \
- && myconf+=( --disable-newlib-multithread ) \
- || myconf+=( $(use_enable threads newlib-multithread) )
-
- mkdir -p "${NEWLIBBUILD}"
- cd "${NEWLIBBUILD}"
-
- ECONF_SOURCE=${S} \
- econf \
- $(use_enable unicode newlib-mb) \
- $(use_enable nls) \
- "${myconf[@]}"
-}
-
-src_compile() {
- emake -C "${NEWLIBBUILD}"
-}
-
-src_install() {
- cd "${NEWLIBBUILD}"
- emake -j1 DESTDIR="${D}" install
-# env -uRESTRICT CHOST=${CTARGET} prepallstrip
- # minor hack to keep things clean
- rm -fR "${D}"/usr/share/info
- rm -fR "${D}"/usr/info
-}
reply other threads:[~2024-07-12 10:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1720779594.6759c9f81dd5cdde383efc766cf895c84a92caef.grobian@gentoo \
--to=grobian@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox