diff options
author | Samuli Suominen <drac@gentoo.org> | 2008-06-29 13:20:18 +0000 |
---|---|---|
committer | Samuli Suominen <drac@gentoo.org> | 2008-06-29 13:20:18 +0000 |
commit | 78d8f8dc3197426a3051727a524a459449e2295a (patch) | |
tree | 452f30cef9bb1bf55d80a7d43aba5cf39d8d75f8 /x11-plugins/wmhdplop | |
parent | Build-only fixes to avoid makefile patching, acinclude patching, and sundry o... (diff) | |
download | gentoo-2-78d8f8dc3197426a3051727a524a459449e2295a.tar.gz gentoo-2-78d8f8dc3197426a3051727a524a459449e2295a.tar.bz2 gentoo-2-78d8f8dc3197426a3051727a524a459449e2295a.zip |
old
(Portage version: 2.2_rc1/cvs/Linux 2.6.26-rc3 x86_64)
Diffstat (limited to 'x11-plugins/wmhdplop')
-rw-r--r-- | x11-plugins/wmhdplop/files/wmhdplop-cflags.patch | 11 | ||||
-rw-r--r-- | x11-plugins/wmhdplop/files/wmhdplop-fontpath.patch | 10 | ||||
-rw-r--r-- | x11-plugins/wmhdplop/wmhdplop-0.9.7-r1.ebuild | 69 |
3 files changed, 0 insertions, 90 deletions
diff --git a/x11-plugins/wmhdplop/files/wmhdplop-cflags.patch b/x11-plugins/wmhdplop/files/wmhdplop-cflags.patch deleted file mode 100644 index a26a14c6188d..000000000000 --- a/x11-plugins/wmhdplop/files/wmhdplop-cflags.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- configure 2004-08-26 23:36:16.473232248 +0200 -+++ configure 2004-08-26 23:45:52.337687544 +0200 -@@ -3429,7 +3429,7 @@ - - - if test x$GCC = xyes; then -- CFLAGS="-O3 -fomit-frame-pointer -ffast-math -Wall -W"; -+ CFLAGS="${GENTOO_CFLAGS} -ffast-math -Wall -W"; - fi - - echo "$as_me:$LINENO: checking for X" >&5 diff --git a/x11-plugins/wmhdplop/files/wmhdplop-fontpath.patch b/x11-plugins/wmhdplop/files/wmhdplop-fontpath.patch deleted file mode 100644 index 5f0e204f9828..000000000000 --- a/x11-plugins/wmhdplop/files/wmhdplop-fontpath.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- dockapp_imlib2.c 2006-08-04 11:23:42.000000000 +0200 -+++ dockapp_imlib2.c.new 2006-08-04 11:24:15.000000000 +0200 -@@ -246,6 +246,7 @@ - /* some default font paths */ - snprintf(fp, 512, "%s/.fonts", getenv("HOME")); - add_fontpath(fp,1); -+ add_fontpath("/usr/share/fonts/corefonts",1); - add_fontpath("/usr/share/fonts/truetype",1); - add_fontpath("/usr/share/fonts/ttf",1); - add_fontpath("/usr/X11R6/lib/X11/fonts/truetype",1); diff --git a/x11-plugins/wmhdplop/wmhdplop-0.9.7-r1.ebuild b/x11-plugins/wmhdplop/wmhdplop-0.9.7-r1.ebuild deleted file mode 100644 index c876f3f51da5..000000000000 --- a/x11-plugins/wmhdplop/wmhdplop-0.9.7-r1.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmhdplop/wmhdplop-0.9.7-r1.ebuild,v 1.3 2007/07/22 05:04:45 dberkholz Exp $ - -inherit eutils - -IUSE="gkrellm" - -DESCRIPTION="A fancy hard drive activity monitor dockapp" -HOMEPAGE="http://hules.free.fr/wmhdplop" -SRC_URI="http://hules.free.fr/wmhdplop/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86 ~ppc ~amd64" - -RDEPEND="x11-libs/libX11 - x11-libs/libXt - x11-libs/libXext - >=media-fonts/corefonts-1-r2 - >=media-libs/freetype-2.1.10-r2" -DEPEND="${RDEPEND} - x11-proto/xextproto - >=media-libs/imlib2-1.2.0-r2 - gkrellm? ( >=app-admin/gkrellm-2.1.28-r1 )" - -src_unpack() -{ - unpack ${A} - cd ${S} - - # Honour Gentoo CFLAGS, but retain some the package author chose himself - epatch ${FILESDIR}/${PN}-cflags.patch - - # Add corefonts to font path, see bug #139945 - epatch ${FILESDIR}/${PN}-fontpath.patch - - if ! built_with_use media-libs/imlib2 X; then - echo - eerror "This package depends on media-libs/imlib2, which needs" - eerror "to be compiled with 'X' USE flag enabled..." - echo - die - fi -} - -src_compile() -{ - econf \ - GENTOO_CFLAGS="${CFLAGS}" \ - `use_enable gkrellm` \ - || die "configure failed" - - emake || die "parallel make failed" -} - -src_install () -{ - einstall || die "make install failed" - - dodoc README AUTHORS ChangeLog - - if use gkrellm; then - # I don't like hardcoded paths, but other - # gkrellm plugin ebuilds to it the same way... - exeinto /usr/lib/gkrellm2/plugins/ - doexe gkhdplop.so - fi -} |