x11-libs/fox: drop 1.7.67-r3, 1.7.84

Closes: https://bugs.gentoo.org/949038
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2025-03-10 00:07:56 +01:00
parent 54a3d10fcf
commit 2d978b3fd1
3 changed files with 0 additions and 253 deletions

View File

@@ -1,4 +1,2 @@
DIST fox-1.6.57.tar.gz 4284018 BLAKE2B 3efbc6188225f9444fbd347359e8b4041a08fe654acb99c48e4966e501a2f72a44863f2e9b60ae810a259951f89cfc27b9a8b6341e029627066712e0dbf20e40 SHA512 e7b91054a9ea674818803415284cb61572935d22466e446cb37ef68344e2684e8acd567f7c8a6912f939dcbcc37455119ad6a01ac30513f460d0b3937b7e6087
DIST fox-1.7.67.tar.gz 5689421 BLAKE2B 60f2d8e887a41f1e234cd31c1bd2702bcedae0f1b47cb7b9832c317e34a9b517cb603033d28e5ed66c4b97c85deaf3caa8dd40a508eaf715d63772e6ef0020b0 SHA512 a45db7ea9453e2afe0ff61ed6608925e94f9202dc1fbee5e2b88a5a1c16310019cb4611090f8234ad6ebc46a6519a36085683c4553d47bc9c21b8ef0c13ab540
DIST fox-1.7.84.tar.gz 5879987 BLAKE2B 803a698eb5d976a04dd30b03a3c65f840d09e173292b8448dc02905b37ea352d0fe71b4a35f806f7ee2a8b6e6436b0c1dc9185ac3a17ecda3fb63a1b583e7348 SHA512 5590f16272a0630cb49e74e0f591e65886dd81ba1b0121d403fa3689ca8b23a727c75b645b417eb87e67fd0ece465b493146c8bb51d117a6559bb19b1b2b4297
DIST fox-1.7.85.tar.gz 5912948 BLAKE2B ba9b224212efd91e4643e4f97bfd571802c48bf379239a4f580f820e1f6d8c8d55c321febfd42b4dfc7b366715e893365cd198c4cb9c22c5fb8c525b16b1f888 SHA512 7a67d564c69ddac1a9dec62837943ec7aabd951c72715ac12300f728f0fad3365e39cdbf7fe1ab31e0ae8cf11381d62eaeb3edb64d1773d4cd2279db4fd280d8

View File

@@ -1,126 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools flag-o-matic
DESCRIPTION="C++ Toolkit for developing Graphical User Interfaces easily and effectively"
HOMEPAGE="http://www.fox-toolkit.org/"
SRC_URI="ftp://ftp.fox-toolkit.org/pub/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="1.7"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc x86"
IUSE="+bzip2 +jpeg +opengl +png tiff +truetype +zlib debug doc profile tools"
RDEPEND="
x11-libs/fox-wrapper
x11-libs/libXcursor
x11-libs/libXrandr
bzip2? ( app-arch/bzip2 )
jpeg? ( media-libs/libjpeg-turbo:= )
opengl? ( virtual/glu virtual/opengl )
png? ( media-libs/libpng:= )
tiff? ( media-libs/tiff:= )
truetype? (
media-libs/freetype:2
x11-libs/libXft
)
zlib? ( sys-libs/zlib )"
DEPEND="${RDEPEND}
x11-base/xorg-proto
x11-libs/libXt"
BDEPEND="doc? ( app-text/doxygen )"
PATCHES=(
"${FILESDIR}"/"${PN}"-1.7.67-no-truetype.patch
"${FILESDIR}"/"${PN}"-1.7.67-pthread_rwlock_prefer_writer_np-musl.patch
)
src_prepare() {
default
sed -i '/#define REXDEBUG 1/d' lib/FXRex.cpp || die "Unable to remove spurious debug line."
sed -i -e "s:windows::" Makefile.am || die
sed -i -e 's/register //g' lib/*.cpp || die "Unable remove register keywords from sources under lib folder"
sed -i -e 's/register //g' shutterbug/*.cpp || die "Unable remove register keywords from sources under shutterbug folder"
sed -i -e 's/register //g' calculator/*.cpp || die "Unable remove register keywords from sources under calculator folder"
sed -i -e 's/register //g' glviewer/*.cpp || die "Unable remove register keywords from sources under glviewer folder"
sed -i -e 's/register //g' chart/*.cpp || die "Unable remove register keywords from sources under chart folder"
if ! use tools; then
local d
for d in adie calculator pathfinder shutterbug; do
sed -i -e "s:${d}::" Makefile.am || die
done
fi
# Respect system CXXFLAGS
sed -i -e 's:CXXFLAGS=""::' configure.ac || die "Unable to force cxxflags."
# don't strip binaries
sed -i -e '/LDFLAGS="-s ${LDFLAGS}"/d' configure.ac || die "Unable to prevent stripping."
eautoreconf
}
src_configure() {
# -Werror=strict-aliasing (bug #864412, bug #940648)
# Do not trust it for LTO either.
append-flags -fno-strict-aliasing
filter-lto
use debug || append-cppflags -DNDEBUG
# Not using --enable-release because of the options it sets like no SSP
econf \
--disable-static \
$(use_enable bzip2 bz2lib) \
$(use_enable debug) \
$(use_enable jpeg) \
$(use_with opengl) \
$(use_enable png) \
$(use_enable tiff) \
$(use_with truetype xft) \
$(use_enable zlib) \
$(use_with profile profiling)
}
src_compile() {
emake
use doc && emake -C doc docs
}
src_install() {
emake install \
DESTDIR="${D}" \
htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
artdir="${EPREFIX}"/usr/share/doc/${PF}/html/art \
screenshotsdir="${EPREFIX}"/usr/share/doc/${PF}/html/screenshots
local CP="${ED}"/usr/bin/ControlPanel
if [[ -f ${CP} ]]; then
mv "${CP}" "${ED}"/usr/bin/fox-ControlPanel-${SLOT} || \
die "Failed to install ControlPanel"
fi
dodoc ADDITIONS AUTHORS LICENSE_ADDENDUM README TRACING
if use doc; then
# install class reference docs if USE=doc
docinto html
dodoc -r doc/ref
else
# remove documentation if USE=-doc
rm -rf "${ED}"/usr/share/doc/${PF}/html || die
fi
# slot fox-config
if [[ -f ${ED}/usr/bin/fox-config ]] ; then
mv "${ED}"/usr/bin/fox-config "${ED}"/usr/bin/fox-${SLOT}-config \
|| die "failed to install fox-config"
fi
# no static archives
find "${D}" -name '*.la' -delete || die
}

View File

@@ -1,125 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools flag-o-matic
DESCRIPTION="C++ Toolkit for developing Graphical User Interfaces easily and effectively"
HOMEPAGE="http://www.fox-toolkit.org/"
SRC_URI="ftp://www.fox-toolkit.org/pub/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="1.7"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
IUSE="+bzip2 +jpeg +opengl +png tiff +truetype +zlib debug doc profile tools"
COMMON_DEPEND="
x11-libs/libXcursor
x11-libs/libXrandr
bzip2? ( app-arch/bzip2 )
jpeg? ( media-libs/libjpeg-turbo:= )
opengl? ( virtual/glu virtual/opengl )
png? ( media-libs/libpng:= )
tiff? ( media-libs/tiff:= )
truetype? (
media-libs/freetype:2
x11-libs/libXft
)
zlib? ( sys-libs/zlib )
"
RDEPEND="
${COMMON_DEPEND}
x11-libs/fox-wrapper
"
DEPEND="
${COMMON_DEPEND}
x11-base/xorg-proto
x11-libs/libXt
"
BDEPEND="doc? ( app-text/doxygen )"
PATCHES=(
"${FILESDIR}"/${PN}-1.7.84-pthread_rwlock_prefer_writer_np-musl.patch
)
src_prepare() {
default
sed -i -e "s:windows::" Makefile.am || die
if ! use tools; then
local d
for d in adie calculator pathfinder shutterbug; do
sed -i -e "s:${d}::" Makefile.am || die
done
fi
# Respect system CXXFLAGS
sed -i -e 's:CXXFLAGS=""::' configure.ac || die "Unable to force cxxflags."
# don't strip binaries
sed -i -e '/LDFLAGS="-s ${LDFLAGS}"/d' configure.ac || die "Unable to prevent stripping."
eautoreconf
}
src_configure() {
# -Werror=strict-aliasing (bug #864412, bug #940648)
# Do not trust it for LTO either.
append-flags -fno-strict-aliasing
filter-lto
use debug || append-cppflags -DNDEBUG
# Not using --enable-release because of the options it sets like no SSP
econf \
$(use_enable debug) \
$(use_enable bzip2 bz2lib) \
$(use_enable jpeg) \
$(use_with opengl) \
$(use_enable png) \
$(use_enable tiff) \
$(use_with truetype xft) \
$(use_enable zlib) \
$(use_with profile profiling)
}
src_compile() {
emake
use doc && emake -C doc docs
}
src_install() {
emake install \
DESTDIR="${D}" \
htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
artdir="${EPREFIX}"/usr/share/doc/${PF}/html/art \
screenshotsdir="${EPREFIX}"/usr/share/doc/${PF}/html/screenshots
local CP="${ED}"/usr/bin/ControlPanel
if [[ -f ${CP} ]]; then
mv "${CP}" "${ED}"/usr/bin/fox-ControlPanel-${SLOT} || \
die "Failed to install ControlPanel"
fi
dodoc ADDITIONS AUTHORS LICENSE_ADDENDUM README TRACING
if use doc; then
# install class reference docs if USE=doc
docinto html
dodoc -r doc/ref
else
# remove documentation if USE=-doc
rm -rf "${ED}"/usr/share/doc/${PF}/html || die
fi
# slot fox-config
if [[ -f ${ED}/usr/bin/fox-config ]] ; then
mv "${ED}"/usr/bin/fox-config "${ED}"/usr/bin/fox-${SLOT}-config \
|| die "failed to install fox-config"
fi
# no static archives
find "${D}" -name '*.la' -delete || die
}