summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2008-04-26 07:39:29 +0000
committerSamuli Suominen <drac@gentoo.org>2008-04-26 07:39:29 +0000
commita7ed49c5caeedb837acd5bcf7ba2fb4b1026170b (patch)
treeb8d90eaa5e393050b76a01174c27882aff5aaf32
parentVersion bump #219265 (diff)
downloadgentoo-2-a7ed49c5caeedb837acd5bcf7ba2fb4b1026170b.tar.gz
gentoo-2-a7ed49c5caeedb837acd5bcf7ba2fb4b1026170b.tar.bz2
gentoo-2-a7ed49c5caeedb837acd5bcf7ba2fb4b1026170b.zip
Use DESTDIR for installing. Include stdio.h for implicit declaration of printf. Move pkgconfig from RDEPEND to DEPEND wrt #217278.
(Portage version: 2.1.5_rc6)
-rw-r--r--x11-libs/libelysium/ChangeLog9
-rw-r--r--x11-libs/libelysium/files/libelysium-0.99.9-printf.patch8
-rw-r--r--x11-libs/libelysium/libelysium-0.99.5.ebuild7
-rw-r--r--x11-libs/libelysium/libelysium-0.99.9.ebuild28
4 files changed, 41 insertions, 11 deletions
diff --git a/x11-libs/libelysium/ChangeLog b/x11-libs/libelysium/ChangeLog
index 2ffc220b4f01..d7d4e71b675e 100644
--- a/x11-libs/libelysium/ChangeLog
+++ b/x11-libs/libelysium/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-libs/libelysium
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/libelysium/ChangeLog,v 1.7 2007/01/14 21:32:04 leio Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libelysium/ChangeLog,v 1.8 2008/04/26 07:39:29 drac Exp $
+
+ 26 Apr 2008; Samuli Suominen <drac@gentoo.org>
+ +files/libelysium-0.99.9-printf.patch, libelysium-0.99.9.ebuild:
+ Use DESTDIR for installing. Include stdio.h for implicit declaration of
+ printf. Move pkgconfig from RDEPEND to DEPEND wrt #217278.
14 Jan 2007; Mart Raudsepp <leio@gentoo.org> libelysium-0.99.5.ebuild,
libelysium-0.99.9.ebuild:
diff --git a/x11-libs/libelysium/files/libelysium-0.99.9-printf.patch b/x11-libs/libelysium/files/libelysium-0.99.9-printf.patch
new file mode 100644
index 000000000000..4026f5a411a0
--- /dev/null
+++ b/x11-libs/libelysium/files/libelysium-0.99.9-printf.patch
@@ -0,0 +1,8 @@
+diff -ur libelysium-0.99.9.orig/src/test-datetok.c libelysium-0.99.9/src/test-datetok.c
+--- libelysium-0.99.9.orig/src/test-datetok.c 2003-06-03 09:04:23.000000000 +0300
++++ libelysium-0.99.9/src/test-datetok.c 2008-04-26 09:30:13.000000000 +0300
+@@ -1,3 +1,4 @@
++#include <stdio.h>
+ #include "e-date-rfc.h"
+
+ typedef struct _dtest_data {
diff --git a/x11-libs/libelysium/libelysium-0.99.5.ebuild b/x11-libs/libelysium/libelysium-0.99.5.ebuild
index 23777b238322..a21b0d5e53cd 100644
--- a/x11-libs/libelysium/libelysium-0.99.5.ebuild
+++ b/x11-libs/libelysium/libelysium-0.99.5.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/libelysium/libelysium-0.99.5.ebuild,v 1.5 2007/01/14 21:32:04 leio Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libelysium/libelysium-0.99.5.ebuild,v 1.6 2008/04/26 07:39:29 drac Exp $
DESCRIPTION="Utility library for applications in the Elysium GNU/Linux distribution."
HOMEPAGE="http://elysium-project.sourceforge.net"
@@ -11,7 +11,8 @@ KEYWORDS="x86"
SLOT="0"
IUSE=""
-DEPEND=">=dev-libs/glib-2
+RDEPEND=">=dev-libs/glib-2"
+DEPEND="${RDEPEND}
>=dev-util/pkgconfig-0.9"
src_install() {
diff --git a/x11-libs/libelysium/libelysium-0.99.9.ebuild b/x11-libs/libelysium/libelysium-0.99.9.ebuild
index 39af9fb4a967..437ed47f3b70 100644
--- a/x11-libs/libelysium/libelysium-0.99.9.ebuild
+++ b/x11-libs/libelysium/libelysium-0.99.9.ebuild
@@ -1,19 +1,35 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/libelysium/libelysium-0.99.9.ebuild,v 1.4 2007/01/14 21:32:04 leio Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libelysium/libelysium-0.99.9.ebuild,v 1.5 2008/04/26 07:39:29 drac Exp $
+
+inherit eutils
DESCRIPTION="Utility library for applications in the Elysium GNU/Linux distribution."
HOMEPAGE="http://elysium-project.sourceforge.net"
SRC_URI="mirror://sourceforge/elysium-project/${P}.tar.gz"
LICENSE="GPL-2"
-KEYWORDS="~x86 ~ppc"
SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
-DEPEND=">=dev-libs/glib-2
- >=dev-util/pkgconfig-0.9"
+RDEPEND=">=dev-libs/glib-2
+ dev-libs/libxml2"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-printf.patch
+}
+
+src_compile() {
+ econf --disable-dependency-tracking --disable-gtk-doc
+ emake || die "emake failed."
+}
src_install() {
- einstall || die "install failed"
+ emake DESTDIR="${D}" install || die "emake install failed."
+ dodoc AUTHORS ChangeLog
}