diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2007-06-12 17:19:58 +0000 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2007-06-12 17:19:58 +0000 |
commit | 7e18e64edb1d21b79906d4d1ec685f3f82d01c87 (patch) | |
tree | 7eed86e3e99e836b9b0a39c10a1b563f2599c987 /sys-apps/suspend2-userui | |
parent | Version bump this maintainer-needed software. Basically start from scratch. (diff) | |
download | historical-7e18e64edb1d21b79906d4d1ec685f3f82d01c87.tar.gz historical-7e18e64edb1d21b79906d4d1ec685f3f82d01c87.tar.bz2 historical-7e18e64edb1d21b79906d4d1ec685f3f82d01c87.zip |
Cleanup
Package-Manager: portage-2.1.2.9
Diffstat (limited to 'sys-apps/suspend2-userui')
12 files changed, 14 insertions, 338 deletions
diff --git a/sys-apps/suspend2-userui/ChangeLog b/sys-apps/suspend2-userui/ChangeLog index f5d19949dae0..3d9709083ecc 100644 --- a/sys-apps/suspend2-userui/ChangeLog +++ b/sys-apps/suspend2-userui/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for sys-apps/suspend2-userui # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/suspend2-userui/ChangeLog,v 1.30 2007/06/12 16:23:53 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/suspend2-userui/ChangeLog,v 1.31 2007/06/12 17:19:58 alonbl Exp $ + + 12 Jun 2007; Alon Bar-Lev <alonbl@gentoo.org> + -files/suspend2-userui-0.6.4-glibc.patch, + -files/suspend2-userui-0.6.4-remove-debug.patch, + -files/suspend2-userui-0.6.4-syscall.patch, + -files/suspend2-userui-0.7.0-syscall.patch, + -suspend2-userui-0.6.4-r1.ebuild, -suspend2-userui-0.6.4-r2.ebuild, + -suspend2-userui-0.7.0.ebuild: + Cleanup 12 Jun 2007; Markus Ullmann <jokey@gentoo.org> suspend2-userui-0.7.1.ebuild: diff --git a/sys-apps/suspend2-userui/Manifest b/sys-apps/suspend2-userui/Manifest index 4564d9696dc3..759ac3dc08df 100644 --- a/sys-apps/suspend2-userui/Manifest +++ b/sys-apps/suspend2-userui/Manifest @@ -1,65 +1,16 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -AUX suspend2-userui-0.6.4-glibc.patch 496 RMD160 ce164e74fc2cd6b30ff4086b82eef870f0d4e47f SHA1 accc29396a93c87ebdcf0e04c2c56fdb1a366e0b SHA256 0fbe276f9d740ce65ff3f7458047cd02d0cf9f560c35332f6a3774ebde2c09db -MD5 2c130ab6830433fc1ff9481a6f568dc5 files/suspend2-userui-0.6.4-glibc.patch 496 -RMD160 ce164e74fc2cd6b30ff4086b82eef870f0d4e47f files/suspend2-userui-0.6.4-glibc.patch 496 -SHA256 0fbe276f9d740ce65ff3f7458047cd02d0cf9f560c35332f6a3774ebde2c09db files/suspend2-userui-0.6.4-glibc.patch 496 -AUX suspend2-userui-0.6.4-remove-debug.patch 580 RMD160 696462ca16cee491dc0dee1ae581b8c5a0d3b72f SHA1 e6be12ed9389e5abf2d67ae9fdd2355be7955171 SHA256 e0ddd798c53ff576fc5e3431cdf0b6c91686f5ede81388abca178ee64e4ed0a4 -MD5 914b309d095d1ba985ebb419a5fcabf8 files/suspend2-userui-0.6.4-remove-debug.patch 580 -RMD160 696462ca16cee491dc0dee1ae581b8c5a0d3b72f files/suspend2-userui-0.6.4-remove-debug.patch 580 -SHA256 e0ddd798c53ff576fc5e3431cdf0b6c91686f5ede81388abca178ee64e4ed0a4 files/suspend2-userui-0.6.4-remove-debug.patch 580 -AUX suspend2-userui-0.6.4-syscall.patch 633 RMD160 fdb5b934e1f4b42764d6de265c88099d089de513 SHA1 0026362896bca6e18a20f025d3b1801e45b0a892 SHA256 9ff6ec9eca9bf299f1f6f8082490827be19e8338ae6656bb05178520b6dfd05f -MD5 d4c850fe3113b4cb669432815dc12084 files/suspend2-userui-0.6.4-syscall.patch 633 -RMD160 fdb5b934e1f4b42764d6de265c88099d089de513 files/suspend2-userui-0.6.4-syscall.patch 633 -SHA256 9ff6ec9eca9bf299f1f6f8082490827be19e8338ae6656bb05178520b6dfd05f files/suspend2-userui-0.6.4-syscall.patch 633 -AUX suspend2-userui-0.7.0-syscall.patch 775 RMD160 0613cb37a8f0f1d15c4ae7510633f5111fc47c8b SHA1 b97626bafd8119f4028f9d35a134f239bdf21a95 SHA256 15dd34d1214ed1a519667318c9926dc780f012fe5cf91e8b63efc603071073ad -MD5 a7596519b20cc79e6c99338cd70ce478 files/suspend2-userui-0.7.0-syscall.patch 775 -RMD160 0613cb37a8f0f1d15c4ae7510633f5111fc47c8b files/suspend2-userui-0.7.0-syscall.patch 775 -SHA256 15dd34d1214ed1a519667318c9926dc780f012fe5cf91e8b63efc603071073ad files/suspend2-userui-0.7.0-syscall.patch 775 -DIST suspend2-userui-0.6.4.tar.gz 91817 RMD160 1f00e32ae28d0d19666db106dc2f64ff9ce99de5 SHA1 9bcfa2575ee10bde27f9d14d83ae1fb9a1143d01 SHA256 5b9b74832073df26d74158306ce673d1765246a2b630a8b68cd8ef21cb79b076 -DIST suspend2-userui-0.7.0.tar.gz 91961 RMD160 fe85fa434273b4a08d6d42d23d1bdab283ba3428 SHA1 ad62913f15be638e85472e9406e6ad71a02c31e5 SHA256 a8cc5ed9b5916996e948026ebe3864e31bf62539d3bee79b3637d376be1fa7ca DIST suspend2-userui-0.7.1.tar.gz 64198 RMD160 d028f5a4359a52c6b62870c82af30de36a363cdd SHA1 8eb05795527ca3f6b5254edac13582c2020de03b SHA256 965d79c010af973b894ec8acd163c9176280f50eee100bee792bfcc269192149 -EBUILD suspend2-userui-0.6.4-r1.ebuild 1814 RMD160 62e87e4e7abac1bb63d514455d5817a83f125d11 SHA1 04b852c3b1509182de5d2ef693ae8697b03c8f7a SHA256 748c455e5db8d46bfded9eb4d29b000575d58a04e09e92fc38385ce720c31c22 -MD5 2dd77b153538dba123009068843779d0 suspend2-userui-0.6.4-r1.ebuild 1814 -RMD160 62e87e4e7abac1bb63d514455d5817a83f125d11 suspend2-userui-0.6.4-r1.ebuild 1814 -SHA256 748c455e5db8d46bfded9eb4d29b000575d58a04e09e92fc38385ce720c31c22 suspend2-userui-0.6.4-r1.ebuild 1814 -EBUILD suspend2-userui-0.6.4-r2.ebuild 1817 RMD160 8081e61918ae28b741ce669eb41e288d0350b53b SHA1 2d02acbaef2cd147276ae43b4b11b9f37f717dec SHA256 951519464f8005048ea37968a8aabc4b3710e811633d1df304464a9c24cb6f8f -MD5 2f6044f022a2ef2f6cdb3cbe07ebb331 suspend2-userui-0.6.4-r2.ebuild 1817 -RMD160 8081e61918ae28b741ce669eb41e288d0350b53b suspend2-userui-0.6.4-r2.ebuild 1817 -SHA256 951519464f8005048ea37968a8aabc4b3710e811633d1df304464a9c24cb6f8f suspend2-userui-0.6.4-r2.ebuild 1817 -EBUILD suspend2-userui-0.7.0.ebuild 1659 RMD160 96d1be1507fc6ca15ba329208c7b8ce9b7800a9a SHA1 63cd5e431cee98729f60f73b5acf9ccdd830ac1a SHA256 cbc03b7eb9ee636262bf7963af9b3b47eae38be3ec2e08347bbd471263bb17cb -MD5 58229f6090d02bc1f80649fa335966b4 suspend2-userui-0.7.0.ebuild 1659 -RMD160 96d1be1507fc6ca15ba329208c7b8ce9b7800a9a suspend2-userui-0.7.0.ebuild 1659 -SHA256 cbc03b7eb9ee636262bf7963af9b3b47eae38be3ec2e08347bbd471263bb17cb suspend2-userui-0.7.0.ebuild 1659 EBUILD suspend2-userui-0.7.1.ebuild 1573 RMD160 902473069509fe061ca6c9bec0168dd73956b21a SHA1 e17ece9500c960cfc8597205909e736f9496f577 SHA256 bfc9ba8b565da4b2360d1efa49aba685404548afc2384f763682f359fd0d6e6a MD5 85d335ac6721c27cee7daa5cc99fb8ce suspend2-userui-0.7.1.ebuild 1573 RMD160 902473069509fe061ca6c9bec0168dd73956b21a suspend2-userui-0.7.1.ebuild 1573 SHA256 bfc9ba8b565da4b2360d1efa49aba685404548afc2384f763682f359fd0d6e6a suspend2-userui-0.7.1.ebuild 1573 -MISC ChangeLog 4832 RMD160 801001046930bcaba12c2f91d9696a0969bb70ef SHA1 40631dba4cbfba11d0c84a91a8d591267436a77a SHA256 9d9a142b4621919bf44f340f5a458845d2a79d0f82e12beca8bef3f68f06fa9c -MD5 a9a18b3fd1c64d7a5ba5c583d6b7a778 ChangeLog 4832 -RMD160 801001046930bcaba12c2f91d9696a0969bb70ef ChangeLog 4832 -SHA256 9d9a142b4621919bf44f340f5a458845d2a79d0f82e12beca8bef3f68f06fa9c ChangeLog 4832 +MISC ChangeLog 5182 RMD160 bb1d8052c8c374fd259e6050edbc96116a0c59c1 SHA1 2cb95331509bd4541a80a6a321b216fd3b26fa10 SHA256 981e1210f7a96ec8af2bda8e6156ac8572166db741be2f81a291eda0cb7d02cd +MD5 51f99df327812cf9d0af190c9b05a094 ChangeLog 5182 +RMD160 bb1d8052c8c374fd259e6050edbc96116a0c59c1 ChangeLog 5182 +SHA256 981e1210f7a96ec8af2bda8e6156ac8572166db741be2f81a291eda0cb7d02cd ChangeLog 5182 MISC metadata.xml 247 RMD160 d8749371cfc49b45025d6bc5c71eb9b2536f418b SHA1 edc7253d34677f69b45bbcee472908989269cd5d SHA256 330b68cdad708d1490b912def754cef1be6c0b15e903977951dbbe283cd85ceb MD5 270d3b4ec6bc63c529761a90458eb929 metadata.xml 247 RMD160 d8749371cfc49b45025d6bc5c71eb9b2536f418b metadata.xml 247 SHA256 330b68cdad708d1490b912def754cef1be6c0b15e903977951dbbe283cd85ceb metadata.xml 247 -MD5 a042dcb3843107867683e3a673af1ef7 files/digest-suspend2-userui-0.6.4-r1 262 -RMD160 5b87fa9d284c99c6ab0e8781c2f421a1aa45733b files/digest-suspend2-userui-0.6.4-r1 262 -SHA256 61eb66b0d1215949059ebef4b8c55ef87f0bb5264ba3e89d91f7dc943a17555f files/digest-suspend2-userui-0.6.4-r1 262 -MD5 a042dcb3843107867683e3a673af1ef7 files/digest-suspend2-userui-0.6.4-r2 262 -RMD160 5b87fa9d284c99c6ab0e8781c2f421a1aa45733b files/digest-suspend2-userui-0.6.4-r2 262 -SHA256 61eb66b0d1215949059ebef4b8c55ef87f0bb5264ba3e89d91f7dc943a17555f files/digest-suspend2-userui-0.6.4-r2 262 -MD5 2b453e8656cd58492a50822fd3e82b1f files/digest-suspend2-userui-0.7.0 262 -RMD160 77a80d42239d8304fd3ca144ea73f272a2f02731 files/digest-suspend2-userui-0.7.0 262 -SHA256 25f9807ff25690053d6a8d1ada4c2adca90e6dbcc49ba254ed9d4b825bfdd00a files/digest-suspend2-userui-0.7.0 262 MD5 28805f678c477d06255b0667c1378a4c files/digest-suspend2-userui-0.7.1 262 RMD160 c2770f114a2c835e7fac5d135dd84852a563f5d9 files/digest-suspend2-userui-0.7.1 262 SHA256 f48cbf7e91c1896197d55ded3bb050223b0a4fce6799f36a11ca6944d0772cd7 files/digest-suspend2-userui-0.7.1 262 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.4 (GNU/Linux) - -iD8DBQFGbsibz974XjDVpbkRAnwTAJ0QsJAAkxmEazMbA5rd7yi5fKWKJACffw0q -8hzvY7MbjeAtMboqwxbG/nI= -=RX1G ------END PGP SIGNATURE----- diff --git a/sys-apps/suspend2-userui/files/digest-suspend2-userui-0.6.4-r1 b/sys-apps/suspend2-userui/files/digest-suspend2-userui-0.6.4-r1 deleted file mode 100644 index b69cd4626edc..000000000000 --- a/sys-apps/suspend2-userui/files/digest-suspend2-userui-0.6.4-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 737427dd2eb076907674a4334735c2ef suspend2-userui-0.6.4.tar.gz 91817 -RMD160 1f00e32ae28d0d19666db106dc2f64ff9ce99de5 suspend2-userui-0.6.4.tar.gz 91817 -SHA256 5b9b74832073df26d74158306ce673d1765246a2b630a8b68cd8ef21cb79b076 suspend2-userui-0.6.4.tar.gz 91817 diff --git a/sys-apps/suspend2-userui/files/digest-suspend2-userui-0.6.4-r2 b/sys-apps/suspend2-userui/files/digest-suspend2-userui-0.6.4-r2 deleted file mode 100644 index b69cd4626edc..000000000000 --- a/sys-apps/suspend2-userui/files/digest-suspend2-userui-0.6.4-r2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 737427dd2eb076907674a4334735c2ef suspend2-userui-0.6.4.tar.gz 91817 -RMD160 1f00e32ae28d0d19666db106dc2f64ff9ce99de5 suspend2-userui-0.6.4.tar.gz 91817 -SHA256 5b9b74832073df26d74158306ce673d1765246a2b630a8b68cd8ef21cb79b076 suspend2-userui-0.6.4.tar.gz 91817 diff --git a/sys-apps/suspend2-userui/files/digest-suspend2-userui-0.7.0 b/sys-apps/suspend2-userui/files/digest-suspend2-userui-0.7.0 deleted file mode 100644 index 2adf3c3a5a5b..000000000000 --- a/sys-apps/suspend2-userui/files/digest-suspend2-userui-0.7.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 7a41e9195597319825ecee0d1f3aa166 suspend2-userui-0.7.0.tar.gz 91961 -RMD160 fe85fa434273b4a08d6d42d23d1bdab283ba3428 suspend2-userui-0.7.0.tar.gz 91961 -SHA256 a8cc5ed9b5916996e948026ebe3864e31bf62539d3bee79b3637d376be1fa7ca suspend2-userui-0.7.0.tar.gz 91961 diff --git a/sys-apps/suspend2-userui/files/suspend2-userui-0.6.4-glibc.patch b/sys-apps/suspend2-userui/files/suspend2-userui-0.6.4-glibc.patch deleted file mode 100644 index fa634371c317..000000000000 --- a/sys-apps/suspend2-userui/files/suspend2-userui-0.6.4-glibc.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- suspend2-userui-0.6.4/userui.h.orig 2007-01-05 10:43:40.000000000 -0500 -+++ suspend2-userui-0.6.4/userui.h 2007-01-05 10:44:11.000000000 -0500 -@@ -124,8 +124,11 @@ static __inline__ int generic_fls(int x) - /* - * Work around random glibc bugs where getpid() caches an invalid pid. - */ -+#ifdef _syscall0 - #define __NR_xgetpid __NR_getpid - static inline _syscall0(pid_t, xgetpid); -- -+#else -+static inline pid_t xgetpid(void) { return syscall(__NR_getpid); } -+#endif - - #endif /* _USERUI_H_ */ 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 deleted file mode 100644 index ad5b76146d23..000000000000 --- a/sys-apps/suspend2-userui/files/suspend2-userui-0.6.4-remove-debug.patch +++ /dev/null @@ -1,13 +0,0 @@ -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/files/suspend2-userui-0.6.4-syscall.patch b/sys-apps/suspend2-userui/files/suspend2-userui-0.6.4-syscall.patch deleted file mode 100644 index 56593df648b4..000000000000 --- a/sys-apps/suspend2-userui/files/suspend2-userui-0.6.4-syscall.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff -ru suspend2-userui-0.6.4/userui.h suspend2-userui-0.6.4-new/userui.h ---- suspend2-userui-0.6.4/userui.h 2006-06-07 03:25:12.000000000 +1000 -+++ suspend2-userui-0.6.4-new/userui.h 2006-10-14 01:57:51.000000000 +1000 -@@ -1,7 +1,7 @@ - #ifndef _USERUI_H_ - #define _USERUI_H_ - --#include <linux/unistd.h> -+#include <sys/syscall.h> - #include <sys/types.h> - #include "suspend_userui.h" - -@@ -124,8 +124,7 @@ - /* - * Work around random glibc bugs where getpid() caches an invalid pid. - */ --#define __NR_xgetpid __NR_getpid --static inline _syscall0(pid_t, xgetpid); -+#define xgetpid() syscall(SYS_getpid) - - - #endif /* _USERUI_H_ */ - diff --git a/sys-apps/suspend2-userui/files/suspend2-userui-0.7.0-syscall.patch b/sys-apps/suspend2-userui/files/suspend2-userui-0.7.0-syscall.patch deleted file mode 100644 index 9ea0c849b3b1..000000000000 --- a/sys-apps/suspend2-userui/files/suspend2-userui-0.7.0-syscall.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff -urNp suspend2-userui-0.7.0.org/userui.h suspend2-userui-0.7.0/userui.h ---- suspend2-userui-0.7.0.org/userui.h 2007-01-17 00:16:46.000000000 +0200 -+++ suspend2-userui-0.7.0/userui.h 2007-02-11 12:21:22.000000000 +0200 -@@ -1,7 +1,7 @@ - #ifndef _USERUI_H_ - #define _USERUI_H_ - --#include <linux/unistd.h> -+#include <sys/syscall.h> - #include <sys/types.h> - #include "suspend_userui.h" - -@@ -124,11 +124,6 @@ static __inline__ int generic_fls(int x) - /* - * Work around random glibc bugs where getpid() caches an invalid pid. - */ --#ifdef _syscall0 --#define __NR_xgetpid __NR_getpid --static inline _syscall0(pid_t, xgetpid); --#else --static inline pid_t xgetpid(void) { return syscall(__NR_getpid); } --#endif -+#define xgetpid() syscall(SYS_getpid) - - #endif /* _USERUI_H_ */ diff --git a/sys-apps/suspend2-userui/suspend2-userui-0.6.4-r1.ebuild b/sys-apps/suspend2-userui/suspend2-userui-0.6.4-r1.ebuild deleted file mode 100644 index 2c8dd1a3c700..000000000000 --- a/sys-apps/suspend2-userui/suspend2-userui-0.6.4-r1.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2007 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-r1.ebuild,v 1.4 2007/04/26 05:41:10 alonbl 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 static" -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" - epatch "${FILESDIR}/${P}-glibc.patch" -} - -src_compile() { - # allow for static linking for use in initramfs/initrd - use static && LDFLAGS="${LDFLAGS} -static" - - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ - suspend2ui_text || die "emake suspend2ui_text failed" - - if use fbsplash; then - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ - fbsplash || die "emake fbsplash failed" - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ - 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.* for further" - einfo "instructions." - einfo -} diff --git a/sys-apps/suspend2-userui/suspend2-userui-0.6.4-r2.ebuild b/sys-apps/suspend2-userui/suspend2-userui-0.6.4-r2.ebuild deleted file mode 100644 index 5527ad484a1b..000000000000 --- a/sys-apps/suspend2-userui/suspend2-userui-0.6.4-r2.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2007 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-r2.ebuild,v 1.2 2007/04/26 05:41:10 alonbl 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 static" -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" - epatch "${FILESDIR}/${P}-syscall.patch" -} - -src_compile() { - # allow for static linking for use in initramfs/initrd - use static && LDFLAGS="${LDFLAGS} -static" - - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ - suspend2ui_text || die "emake suspend2ui_text failed" - - if use fbsplash; then - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ - fbsplash || die "emake fbsplash failed" - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ - 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.* for further" - einfo "instructions." - einfo -} diff --git a/sys-apps/suspend2-userui/suspend2-userui-0.7.0.ebuild b/sys-apps/suspend2-userui/suspend2-userui-0.7.0.ebuild deleted file mode 100644 index d39230097ec3..000000000000 --- a/sys-apps/suspend2-userui/suspend2-userui-0.7.0.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2007 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.7.0.ebuild,v 1.4 2007/04/26 05:41:10 alonbl 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}-syscall.patch" -} - -src_compile() { - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ - suspend2ui_text || die "emake suspend2ui_text failed" - - if use fbsplash; then - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ - fbsplash || die "emake fbsplash failed" - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ - 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.* for further" - einfo "instructions." - einfo -} |