public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jason A. Donenfeld" <zx2c4@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/fox/
Date: Mon, 30 Dec 2019 14:11:05 +0000 (UTC)	[thread overview]
Message-ID: <1577714993.44d239dced5011645347f89ac291281034025fcf.zx2c4@gentoo> (raw)

commit:     44d239dced5011645347f89ac291281034025fcf
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 30 14:09:53 2019 +0000
Commit:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Mon Dec 30 14:09:53 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44d239dc

x11-libs/fox: port Soap's QA fixes to 1.6

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jason A. Donenfeld <zx2c4 <AT> gentoo.org>

 x11-libs/fox/fox-1.6.57-r1.ebuild | 46 +++++++++++++++++++++------------------
 1 file changed, 25 insertions(+), 21 deletions(-)

diff --git a/x11-libs/fox/fox-1.6.57-r1.ebuild b/x11-libs/fox/fox-1.6.57-r1.ebuild
index a33093e968d..3b8d8ad7645 100644
--- a/x11-libs/fox/fox-1.6.57-r1.ebuild
+++ b/x11-libs/fox/fox-1.6.57-r1.ebuild
@@ -14,18 +14,20 @@ SLOT="1.6"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
 IUSE="+bzip2 +jpeg +opengl +png tiff +truetype +zlib debug doc profile"
 
-RDEPEND="x11-libs/libXrandr
-	x11-libs/libXcursor
+RDEPEND="
 	x11-libs/fox-wrapper
+	x11-libs/libXcursor
+	x11-libs/libXrandr
 	bzip2? ( app-arch/bzip2 )
 	jpeg? ( virtual/jpeg )
 	opengl? ( virtual/glu virtual/opengl )
 	png? ( media-libs/libpng:0= )
 	tiff? ( media-libs/tiff:0= )
-	truetype? ( media-libs/freetype:2
-		x11-libs/libXft )
-	zlib? ( sys-libs/zlib )
-"
+	truetype? (
+		media-libs/freetype:2
+		x11-libs/libXft
+	)
+	zlib? ( sys-libs/zlib )"
 DEPEND="${RDEPEND}
 	x11-base/xorg-proto
 	x11-libs/libXt"
@@ -36,7 +38,7 @@ src_prepare() {
 
 	local d
 	for d in utils windows adie calculator pathfinder shutterbug; do
-		sed -i -e "s:${d}::" Makefile.am
+		sed -i -e "s:${d}::" Makefile.am || die
 	done
 
 	# Respect system CXXFLAGS
@@ -50,6 +52,7 @@ src_prepare() {
 
 src_configure() {
 	econf \
+		--disable-static \
 		--enable-$(usex debug debug release) \
 		$(use_enable bzip2 bz2lib) \
 		$(use_enable jpeg) \
@@ -63,7 +66,7 @@ src_configure() {
 
 src_compile() {
 	emake
-	use doc && emake -C "${S}"/doc docs
+	use doc && emake -C doc docs
 }
 
 src_install() {
@@ -73,28 +76,29 @@ src_install() {
 		artdir="${EPREFIX}"/usr/share/doc/${PF}/html/art \
 		screenshotsdir="${EPREFIX}"/usr/share/doc/${PF}/html/screenshots
 
-	CP="${ED}/usr/bin/ControlPanel"
-	if [[ -f ${CP} ]] ; then
-		mv "${CP}" "${ED}/usr/bin/fox-ControlPanel-${SLOT}" || \
+	local CP="${ED}"/usr/bin/ControlPanel
+	if [[ -f ${CP} ]]; then
+		mv "${CP}" "${ED}"/usr/bin/fox-ControlPanel-${SLOT} || \
 			die "Failed to install ControlPanel"
 	fi
 
-	for doc in ADDITIONS AUTHORS LICENSE_ADDENDUM README TRACING ; do
-		[[ -f $doc ]] && dodoc $doc
-	done
+	dodoc ADDITIONS AUTHORS LICENSE_ADDENDUM README TRACING
 
-	# remove documentation if USE=-doc
-	use doc || rm -fr "${D}/usr/share/doc/${PF}/html"
-
-	# install class reference docs if USE=doc
 	if use doc; then
+		# install class reference docs if USE=doc
 		docinto html
-		dodoc -r "${S}/doc/ref"
+		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 ${D}/usr/bin/fox-config ]] ; then
-		mv "${D}/usr/bin/fox-config" "${D}/usr/bin/fox-${SLOT}-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
 }


             reply	other threads:[~2019-12-30 14:11 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-30 14:11 Jason A. Donenfeld [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-09 23:32 [gentoo-commits] repo/gentoo:master commit in: x11-libs/fox/ Andreas Sturmlechner
2025-03-09 23:04 Sam James
2025-03-09 23:01 Sam James
2024-10-09 10:48 Sam James
2024-10-09 10:48 Sam James
2024-10-09 10:48 Sam James
2024-10-09 10:48 Sam James
2024-10-09 10:48 Sam James
2024-07-27 22:47 Sam James
2024-04-05  1:21 Sam James
2024-03-08 11:09 Sam James
2024-03-08 11:09 Sam James
2022-12-18  8:20 Sam James
2022-12-18  8:06 Sam James
2022-12-16  1:40 Sam James
2021-12-08  3:33 Sam James
2021-12-08  3:33 Sam James
2021-07-04 22:17 Sam James
2021-07-04 22:17 Sam James
2019-12-30 14:00 David Seifert
2019-12-30 12:18 Jason A. Donenfeld
2019-12-28  8:23 Jason A. Donenfeld
2019-02-26 20:54 Andreas Sturmlechner
2018-03-23 23:11 Sergei Trofimovich
2017-06-15 14:23 Anthony G. Basile
2017-06-13 12:31 Agostino Sarubbo
2016-12-25 10:23 Agostino Sarubbo
2016-12-22  8:57 Agostino Sarubbo
2016-12-20 16:52 Tobias Klausmann
2016-08-06 10:51 Pacho Ramos
2016-01-07 10:55 Lars Wendler
2015-11-25 12:03 Lars Wendler

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=1577714993.44d239dced5011645347f89ac291281034025fcf.zx2c4@gentoo \
    --to=zx2c4@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