public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Savchenko" <bircoph@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-power/suspend/
Date: Thu, 13 Aug 2015 08:44:19 +0000 (UTC)	[thread overview]
Message-ID: <1439455431.c89cc97d9a8f30e5762f1f32cf9c16a859de8c0d.bircoph@gentoo> (raw)

commit:     c89cc97d9a8f30e5762f1f32cf9c16a859de8c0d
Author:     Andrew Savchenko <bircoph <AT> gmail <DOT> com>
AuthorDate: Thu Aug 13 08:35:02 2015 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Thu Aug 13 08:43:51 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c89cc97d

sys-power/suspend: fix bug 556954

Fix build with fbsplash support in case when mediag-gfx/splashutils are
compiled with media-libs/freetype support which is compiled with
app-arch/bzip2 support.

This issue is a combination of multiple bugs:

1. media-gfx/splashutils provides incomplete list of libraries for
static linking. See bug 408283.

2. media-gfx/splashutils contains bogus entry in the list of
static libraries. See bug 557126.

3. suspend asks splashutils for a list of dynamic libs instead
of static. This is fixed in this commit.

Signed-off-by: Andrew Savchenko <bircoph <AT> gmail.com>

 sys-power/suspend/Manifest                     |  1 +
 sys-power/suspend/suspend-1.0_p20150810.ebuild | 58 ++++++++++++++++++++++++++
 2 files changed, 59 insertions(+)

diff --git a/sys-power/suspend/Manifest b/sys-power/suspend/Manifest
index 3c4fdcc..16d1f7f 100644
--- a/sys-power/suspend/Manifest
+++ b/sys-power/suspend/Manifest
@@ -1,3 +1,4 @@
 DIST suspend-1.0_p20120915.tar.xz 111080 SHA256 4fa7551ec5ce3ed5d7412ad14e01f5fbac3a541db9d94ad6adf20b87d9c32eca SHA512 bb714b4a7c0f5749c4b711a5c38ca5d8cb5078176a75387957123f75cfe8348adc3aa4e96335eb65c14ad1dd2f99fd6dbca3b415525dd39b3c547f9b13b775be WHIRLPOOL 6f5ea4a17572bc1e30d70258a0439b40a29ea67f0251cecec81bdd3dee92e7801645c37dbb868b0f498c093193bd574f361dc015810965c09f53d75cfb391e7f
 DIST suspend-1.0_p20150622.patch.xz 6052 SHA256 bc05a8896b89520b70a5c3b1a9903d94b75bc82756f6edbdddf53c6d1120af14 SHA512 8ca6d51e96b4d405133b4ee3bc246d79e4270052fe10202f94a85075dad314a33bb586ebbcf3a04c2ab93c74eb5f8d4e1dfca1c88fc56467d347eda147e4d3aa WHIRLPOOL 09f07d6ece378715c0bb1017ade8b97277f818e00accec0f2b5b4573664aafb68dc3713fe1780d4b38707120c0b62c35ec6d6818aec0f59ad3c14247b4cf1a7b
+DIST suspend-1.0_p20150810.patch.xz 6172 SHA256 5a07235c805dd3bb043ccc5ec1c18a3ca195912ea05fd3c007845825ebe3ed78 SHA512 cb186bdb0619ed4852e2ba12d6048f26fa23c7556d7c95713f14a4258fbb014bbec2281edee6478ebf5916600b674d47d8ba53e7644391de933b03e9fd1b96e9 WHIRLPOOL b1d9ba65f02ed4b507a586b5df71b897c147599db51905285cf55037e7c316f0392df432c81c99660abd7616dd60a816c4c2234bac3745eda84f6499cff7bdf4
 DIST suspend-utils-1.0.tar.bz2 408451 SHA256 0206ba6332860b6da57acc79cc0f8604150ef0835ff9633fd42d59d181a6c85d SHA512 481f7ab6e6d43b963cf7abf4d16a9911035dbce13d96e11eeadd50bbd2b9671c597eab0e3060536dcb0d6d848e30ac0e7ff534275fc2d66d2064b75066a4adb8 WHIRLPOOL 4321dcaeda4b5b7d822a1cade82b88094d8706d0daaa06b72d3c053a4bac14ed85b55a4681e0a52f116a63e3b8f4255c57e55fb43961f77149faf1b8aa918d58

diff --git a/sys-power/suspend/suspend-1.0_p20150810.ebuild b/sys-power/suspend/suspend-1.0_p20150810.ebuild
new file mode 100644
index 0000000..14f03d9
--- /dev/null
+++ b/sys-power/suspend/suspend-1.0_p20150810.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools eutils
+
+BASE_PV="1.0_p20120915"
+
+DESCRIPTION="Userspace Software Suspend and S2Ram"
+HOMEPAGE="http://suspend.sourceforge.net/"
+SRC_URI="http://dev.gentoo.org/~bircoph/distfiles/${PN}-${BASE_PV}.tar.xz
+	http://dev.gentoo.org/~bircoph/patches/${P}.patch.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="crypt fbsplash +lzo threads"
+
+RDEPEND="
+	dev-libs/libx86
+	crypt? (
+		>=dev-libs/libgcrypt-1.6.3:0[static-libs]
+		dev-libs/libgpg-error[static-libs] )
+	fbsplash? ( >=media-gfx/splashutils-1.5.4.4-r6 )
+	lzo? ( >=dev-libs/lzo-2[static-libs] ) "
+DEPEND="${RDEPEND}
+	>=dev-lang/perl-5.10
+	>=sys-apps/pciutils-2.2.4
+	virtual/pkgconfig"
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+	epatch "${WORKDIR}/${P}.patch"
+	eautoreconf
+}
+
+src_configure() {
+	econf \
+		--docdir="/usr/share/doc/${PF}" \
+		$(use_enable crypt encrypt) \
+		$(use_enable fbsplash) \
+		$(use_enable lzo compress) \
+		$(use_enable threads)
+}
+
+src_install() {
+	dodir etc
+	emake DESTDIR="${D}" install
+	rm "${D}/usr/share/doc/${PF}"/COPYING* || die
+}
+
+pkg_postinst() {
+	elog "In order to make this package work with genkernel see:"
+	elog "http://bugs.gentoo.org/show_bug.cgi?id=156445"
+}


             reply	other threads:[~2015-08-13  8:44 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-13  8:44 Andrew Savchenko [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-08-13  8:44 [gentoo-commits] repo/gentoo:master commit in: sys-power/suspend/ Andrew Savchenko
2016-03-07 13:34 Agostino Sarubbo
2016-08-18  8:36 Pacho Ramos
2018-11-11 15:09 Andrew Savchenko
2018-11-15 15:48 Thomas Deutschmann
2018-11-17 15:54 Mikle Kolyada
2018-11-20 20:00 Andrew Savchenko
2019-06-05 17:39 Andrew Savchenko
2019-11-05  9:27 Agostino Sarubbo
2019-11-05  9:39 Agostino Sarubbo
2019-11-05 22:40 Andrew Savchenko
2020-09-25  9:42 Andrew Savchenko
2021-01-06  3:46 Sam James
2021-01-06  6:34 Sam James
2025-02-24 11:21 Petr Vaněk
2025-02-24 11:21 Petr Vaněk

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=1439455431.c89cc97d9a8f30e5762f1f32cf9c16a859de8c0d.bircoph@gentoo \
    --to=bircoph@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