From 0c2fb707e80eab56640c00df6cce8c7ab512d4da Mon Sep 17 00:00:00 2001 From: Henrik Brix Andersen Date: Tue, 6 Jun 2006 18:14:24 +0000 Subject: [PATCH] Version bump. Package-Manager: portage-2.0.54-r2 --- sys-apps/suspend2-userui/ChangeLog | 9 ++- sys-apps/suspend2-userui/Manifest | 5 +- .../files/digest-suspend2-userui-0.6.4 | 1 + .../suspend2-userui-0.6.4-remove-debug.patch | 13 ++++ .../suspend2-userui-0.6.4.ebuild | 64 +++++++++++++++++++ 5 files changed, 90 insertions(+), 2 deletions(-) create mode 100644 sys-apps/suspend2-userui/files/digest-suspend2-userui-0.6.4 create mode 100644 sys-apps/suspend2-userui/files/suspend2-userui-0.6.4-remove-debug.patch create mode 100644 sys-apps/suspend2-userui/suspend2-userui-0.6.4.ebuild diff --git a/sys-apps/suspend2-userui/ChangeLog b/sys-apps/suspend2-userui/ChangeLog index 51ef1fa0a172..1586c1818132 100644 --- a/sys-apps/suspend2-userui/ChangeLog +++ b/sys-apps/suspend2-userui/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-apps/suspend2-userui # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/suspend2-userui/ChangeLog,v 1.13 2006/05/28 12:25:15 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/suspend2-userui/ChangeLog,v 1.14 2006/06/06 18:14:24 brix Exp $ + +*suspend2-userui-0.6.4 (06 Jun 2006) + + 06 Jun 2006; Henrik Brix Andersen + +files/suspend2-userui-0.6.4-remove-debug.patch, + +suspend2-userui-0.6.4.ebuild: + Version bump. 28 May 2006; Henrik Brix Andersen -suspend2-userui-0.6.3.ebuild: diff --git a/sys-apps/suspend2-userui/Manifest b/sys-apps/suspend2-userui/Manifest index d01c133e4e14..26d6a08f93de 100644 --- a/sys-apps/suspend2-userui/Manifest +++ b/sys-apps/suspend2-userui/Manifest @@ -1,6 +1,9 @@ -MD5 1201a460f0605a06af08d6f5b5b29189 ChangeLog 2254 +MD5 dabed18396fef0ae8ee0f73798a1eb85 ChangeLog 2447 MD5 4989e8ce8a7fa00ac2be8b099fb14c50 files/digest-suspend2-userui-0.6.3-r1 265 +MD5 8204deb1a5c4fe992e51df643620f2b7 files/digest-suspend2-userui-0.6.4 72 MD5 7ebbb292a7fc3672467e7f2fd7255c70 files/suspend2-userui-0.6.3-skewed-image.patch 1551 MD5 ad0e358f60075a903529f7e8d4b64d3f files/suspend2-userui-0.6.3-skewed-text.patch 416 +MD5 914b309d095d1ba985ebb419a5fcabf8 files/suspend2-userui-0.6.4-remove-debug.patch 580 MD5 b280eebc74d70d85e664debf1adce2c3 metadata.xml 255 MD5 5f15373b602355b6db9a66247405c4f0 suspend2-userui-0.6.3-r1.ebuild 1642 +MD5 9a57feb65cc405f2363f0082c9aee986 suspend2-userui-0.6.4.ebuild 1596 diff --git a/sys-apps/suspend2-userui/files/digest-suspend2-userui-0.6.4 b/sys-apps/suspend2-userui/files/digest-suspend2-userui-0.6.4 new file mode 100644 index 000000000000..8f158febd5e9 --- /dev/null +++ b/sys-apps/suspend2-userui/files/digest-suspend2-userui-0.6.4 @@ -0,0 +1 @@ +MD5 737427dd2eb076907674a4334735c2ef suspend2-userui-0.6.4.tar.gz 91817 diff --git a/sys-apps/suspend2-userui/files/suspend2-userui-0.6.4-remove-debug.patch b/sys-apps/suspend2-userui/files/suspend2-userui-0.6.4-remove-debug.patch new file mode 100644 index 000000000000..ad5b76146d23 --- /dev/null +++ b/sys-apps/suspend2-userui/files/suspend2-userui-0.6.4-remove-debug.patch @@ -0,0 +1,13 @@ +Common subdirectories: suspend2-userui-0.6.4/fbsplash and suspend2-userui-0.6.4-remove-debug/fbsplash +diff -u suspend2-userui-0.6.4/userui_core.c suspend2-userui-0.6.4-remove-debug/userui_core.c +--- suspend2-userui-0.6.4/userui_core.c 2006-06-06 19:25:12.000000000 +0200 ++++ suspend2-userui-0.6.4-remove-debug/userui_core.c 2006-06-06 20:07:33.000000000 +0200 +@@ -875,7 +875,6 @@ + enforce_lifesavers(); + + if (test_run) { +- test_run = 0; + safe_to_exit = 0; + + do_test_run(); +Common subdirectories: suspend2-userui-0.6.4/usplash and suspend2-userui-0.6.4-remove-debug/usplash diff --git a/sys-apps/suspend2-userui/suspend2-userui-0.6.4.ebuild b/sys-apps/suspend2-userui/suspend2-userui-0.6.4.ebuild new file mode 100644 index 000000000000..99fd44447790 --- /dev/null +++ b/sys-apps/suspend2-userui/suspend2-userui-0.6.4.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/suspend2-userui/suspend2-userui-0.6.4.ebuild,v 1.1 2006/06/06 18:14:24 brix Exp $ + +inherit toolchain-funcs eutils + +DESCRIPTION="User Interface for Software Suspend 2" +HOMEPAGE="http://www.suspend2.net" +SRC_URI="http://www.suspend2.net/downloads/all/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 x86" + +IUSE="fbsplash" +DEPEND="virtual/libc + fbsplash? ( sys-libs/zlib + media-libs/freetype + media-libs/jpeg + media-libs/lcms + >=media-libs/libmng-1.0.5 + media-libs/libpng )" + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${P}-remove-debug.patch +} + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" suspend2ui_text \ + || die "emake suspend2ui_text failed" + + if use fbsplash; then + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" fbsplash \ + || die "emake fbsplash failed" + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" suspend2ui_fbsplash \ + || die "emake suspend2ui_fbsplash failed" + fi +} + +src_install() { + into / + dosbin suspend2ui_text + use fbsplash && dosbin suspend2ui_fbsplash + + dodoc AUTHORS ChangeLog KERNEL_API README TODO USERUI_API +} + +pkg_postinst() { + if use fbsplash; then + einfo + einfo "You must create a symlink from /etc/splash/suspend2" + einfo "to the theme you want suspend2ui_fbsplash to use, e.g.:" + einfo + einfo " # ln -sfn /etc/splash/emergence /etc/splash/suspend2" + fi + + einfo + einfo "Please see /usr/share/doc/${PF}/README.gz for further" + einfo "instructions." + einfo +} -- 2.26.2