summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2008-02-09 05:46:39 +0000
committerSamuli Suominen <drac@gentoo.org>2008-02-09 05:46:39 +0000
commitec06b3080e3d2b8caa80bdc4c2724309e961113e (patch)
tree984442dcfefcfe2e25fb775fc1221279293630df /app-misc
parentFix lpe to work with slang 2.1.3. (diff)
downloadgentoo-2-ec06b3080e3d2b8caa80bdc4c2724309e961113e.tar.gz
gentoo-2-ec06b3080e3d2b8caa80bdc4c2724309e961113e.tar.bz2
gentoo-2-ec06b3080e3d2b8caa80bdc4c2724309e961113e.zip
Fix slmon to work with slang 2.1.3.
(Portage version: 2.1.4.1)
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/slmon/ChangeLog7
-rw-r--r--app-misc/slmon/files/slmon-0.5.13-slang-2.patch47
-rw-r--r--app-misc/slmon/slmon-0.5.13-r1.ebuild39
-rw-r--r--app-misc/slmon/slmon-0.5.13.ebuild4
4 files changed, 8 insertions, 89 deletions
diff --git a/app-misc/slmon/ChangeLog b/app-misc/slmon/ChangeLog
index 153d7f3438fc..3504745208d4 100644
--- a/app-misc/slmon/ChangeLog
+++ b/app-misc/slmon/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/slmon
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/slmon/ChangeLog,v 1.12 2008/01/24 19:03:48 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/slmon/ChangeLog,v 1.13 2008/02/09 05:46:39 drac Exp $
+
+ 09 Feb 2008; Samuli Suominen <drac@gentoo.org>
+ -files/slmon-0.5.13-slang-2.patch, slmon-0.5.13.ebuild,
+ -slmon-0.5.13-r1.ebuild:
+ Fix slmon to work with slang 2.1.3.
*slmon-0.5.13-r1 (24 Jan 2008)
diff --git a/app-misc/slmon/files/slmon-0.5.13-slang-2.patch b/app-misc/slmon/files/slmon-0.5.13-slang-2.patch
deleted file mode 100644
index bb826579b3a8..000000000000
--- a/app-misc/slmon/files/slmon-0.5.13-slang-2.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-diff -ur slmon-0.5.13.orig/configure.in slmon-0.5.13/configure.in
---- slmon-0.5.13.orig/configure.in 2004-08-10 20:47:30.000000000 +0300
-+++ slmon-0.5.13/configure.in 2008-01-24 20:57:35.000000000 +0200
-@@ -73,21 +73,17 @@
- AC_MSG_RESULT("found version 99")
- fi
-
--AC_CHECK_LIB(slang, SLang_init_tty, slang_found="yes")
--if test x$slang_found = xyes
--then
-- AC_CHECK_HEADERS(slang.h, slang_h_found="yes")
--fi
-+AC_CHECK_LIB(slang-2, SLang_init_tty, slang_found="yes")
- if test x$slang_h_found = xyes
- then
-- LIBS="$LIBS -lslang"
-+ LIBS="$LIBS -lslang-2"
- AC_DEFINE(HAVE_SLANG)
- else
-- AC_CHECK_HEADERS(slang/slang.h, slang_h_found="yes")
-+ AC_CHECK_HEADERS(slang-2/slang.h, slang_h_found="yes")
- if test x$slang_h_found = xyes
- then
- AC_DEFINE(HAVE_SLANG)
-- LIBS="$LIBS -lslang"
-+ LIBS="$LIBS -lslang-2"
- else
- AC_MSG_WARN("Slang not found")
- fi
-diff -ur slmon-0.5.13.orig/defines.h slmon-0.5.13/defines.h
---- slmon-0.5.13.orig/defines.h 2004-06-20 18:56:47.000000000 +0300
-+++ slmon-0.5.13/defines.h 2008-01-24 20:59:52.000000000 +0200
-@@ -27,13 +27,7 @@
- #include <utmp.h>
- #include <getopt.h>
-
--#ifdef HAVE_SLANG_H
--#include <slang.h>
--#endif /* !HAVE_SLANG_H */
--
--#ifdef HAVE_SLANG_SLANG_H
--#include<slang/slang.h>
--#endif /* !HAVE_SLANG_SLANG_H */
-+#include <slang-2/slang.h>
-
- #include <signal.h>
- #include <sys/utsname.h>
diff --git a/app-misc/slmon/slmon-0.5.13-r1.ebuild b/app-misc/slmon/slmon-0.5.13-r1.ebuild
deleted file mode 100644
index f8372de5e196..000000000000
--- a/app-misc/slmon/slmon-0.5.13-r1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/slmon/slmon-0.5.13-r1.ebuild,v 1.1 2008/01/24 19:03:48 drac Exp $
-
-inherit autotools eutils
-
-DESCRIPTION="Colored text-based system performance monitor"
-HOMEPAGE="http://slmon.sourceforge.net"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug"
-
-RDEPEND=">=dev-libs/glib-2
- >=sys-libs/slang-2
- gnome-base/libgtop"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}-invalid-free.patch # bug 151293
- epatch "${FILESDIR}"/${P}-slang-2.patch
- eautoconf
-}
-
-src_compile() {
- econf $(use_enable debug)
- emake || die "emake failed."
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed."
- dodoc AUTHORS ChangeLog README slmonrc TODO
- dohtml *.html
-}
diff --git a/app-misc/slmon/slmon-0.5.13.ebuild b/app-misc/slmon/slmon-0.5.13.ebuild
index 8586f1fcb638..aa1bc097317c 100644
--- a/app-misc/slmon/slmon-0.5.13.ebuild
+++ b/app-misc/slmon/slmon-0.5.13.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/slmon/slmon-0.5.13.ebuild,v 1.3 2008/01/24 18:41:13 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/slmon/slmon-0.5.13.ebuild,v 1.4 2008/02/09 05:46:39 drac Exp $
inherit eutils
@@ -14,7 +14,7 @@ KEYWORDS="~amd64 x86"
IUSE="debug"
RDEPEND=">=dev-libs/glib-2
- =sys-libs/slang-1*
+ sys-libs/slang
gnome-base/libgtop"
DEPEND="${RDEPEND}
dev-util/pkgconfig"