Version bump.
authorHenrik Brix Andersen <brix@gentoo.org>
Tue, 6 Jun 2006 18:14:24 +0000 (18:14 +0000)
committerHenrik Brix Andersen <brix@gentoo.org>
Tue, 6 Jun 2006 18:14:24 +0000 (18:14 +0000)
Package-Manager: portage-2.0.54-r2

sys-apps/suspend2-userui/ChangeLog
sys-apps/suspend2-userui/Manifest
sys-apps/suspend2-userui/files/digest-suspend2-userui-0.6.4 [new file with mode: 0644]
sys-apps/suspend2-userui/files/suspend2-userui-0.6.4-remove-debug.patch [new file with mode: 0644]
sys-apps/suspend2-userui/suspend2-userui-0.6.4.ebuild [new file with mode: 0644]

index 51ef1fa0a1728b1d473ac208acfec3a9660191a2..1586c18181324c7ba23368fb3104028b5caf2f2a 100644 (file)
@@ -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 <brix@gentoo.org>
+  +files/suspend2-userui-0.6.4-remove-debug.patch,
+  +suspend2-userui-0.6.4.ebuild:
+  Version bump.
 
   28 May 2006; Henrik Brix Andersen <brix@gentoo.org>
   -suspend2-userui-0.6.3.ebuild:
index d01c133e4e14a96b879de560736149c506d3007a..26d6a08f93dee07dd1bcfad436136d2dea672ce5 100644 (file)
@@ -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 (file)
index 0000000..8f158fe
--- /dev/null
@@ -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 (file)
index 0000000..ad5b761
--- /dev/null
@@ -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 (file)
index 0000000..99fd444
--- /dev/null
@@ -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
+}