diff options
author | Raúl Porcel <armin76@gentoo.org> | 2008-01-09 15:22:05 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2008-01-09 15:22:05 +0000 |
commit | fa623646015937b2ca806ba07a8682b7e64d67a9 (patch) | |
tree | 9a7e470138a41d839608ca205187a67d9304868c /app-dicts | |
parent | x86 stable, bug #203045 (diff) | |
download | gentoo-2-fa623646015937b2ca806ba07a8682b7e64d67a9.tar.gz gentoo-2-fa623646015937b2ca806ba07a8682b7e64d67a9.tar.bz2 gentoo-2-fa623646015937b2ca806ba07a8682b7e64d67a9.zip |
Add patch to fix building with gtk-2.12
(Portage version: 2.1.4_rc14)
Diffstat (limited to 'app-dicts')
-rw-r--r-- | app-dicts/ebview/ChangeLog | 8 | ||||
-rw-r--r-- | app-dicts/ebview/ebview-0.3.6.ebuild | 27 | ||||
-rw-r--r-- | app-dicts/ebview/files/0.3.6-remove-deprecated-gtk.patch | 11 |
3 files changed, 30 insertions, 16 deletions
diff --git a/app-dicts/ebview/ChangeLog b/app-dicts/ebview/ChangeLog index 84a986161678..bd6577775a43 100644 --- a/app-dicts/ebview/ChangeLog +++ b/app-dicts/ebview/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-dicts/ebview -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-dicts/ebview/ChangeLog,v 1.22 2007/12/25 16:38:40 phreak Exp $ +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-dicts/ebview/ChangeLog,v 1.23 2008/01/09 15:22:04 armin76 Exp $ + + 09 Jan 2008; Raúl Porcel <armin76@gentoo.org> + +files/0.3.6-remove-deprecated-gtk.patch, ebview-0.3.6.ebuild: + Add patch to fix building with gtk-2.12 25 Dec 2007; Christian Heim <phreak@gentoo.org> metadata.xml: Removing usata from metadata.xml as per #22931. Assigning to maintainer-needed. diff --git a/app-dicts/ebview/ebview-0.3.6.ebuild b/app-dicts/ebview/ebview-0.3.6.ebuild index 03ccc446d0d7..380108ff14bd 100644 --- a/app-dicts/ebview/ebview-0.3.6.ebuild +++ b/app-dicts/ebview/ebview-0.3.6.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-dicts/ebview/ebview-0.3.6.ebuild,v 1.6 2006/11/04 17:24:56 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-dicts/ebview/ebview-0.3.6.ebuild,v 1.7 2008/01/09 15:22:04 armin76 Exp $ inherit eutils @@ -21,27 +21,26 @@ DEPEND="${RDEPEND} dev-util/pkgconfig" src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/${P}-destdir.diff - epatch ${FILESDIR}/${P}-gtk28.diff + cd "${S}" + epatch "${FILESDIR}"/${P}-destdir.diff + epatch "${FILESDIR}"/${P}-gtk28.diff + epatch "${FILESDIR}"/${PV}-remove-deprecated-gtk.patch + if has_version '>=sys-devel/gettext-0.12' ; then - cd ${S}/po - epatch ${FILESDIR}/${PN}-gettext-0.12-gentoo.diff + cd "${S}"/po + epatch "${FILESDIR}"/${PN}-gettext-0.12-gentoo.diff fi } src_compile() { - - econf --with-eb-conf=/etc/eb.conf || die - emake || die + econf --with-eb-conf=/etc/eb.conf || die "econf failed" + emake || die "emake failed" } src_install () { + emake DESTDIR="${D}" install || die "emake install failed" - make DESTDIR=${D} install || die - - dodoc ABOUT-NLS AUTHORS ChangeLog INSTALL* NEWS README TODO + dodoc AUTHORS ChangeLog INSTALL* NEWS README TODO } diff --git a/app-dicts/ebview/files/0.3.6-remove-deprecated-gtk.patch b/app-dicts/ebview/files/0.3.6-remove-deprecated-gtk.patch new file mode 100644 index 000000000000..8663d5ee0366 --- /dev/null +++ b/app-dicts/ebview/files/0.3.6-remove-deprecated-gtk.patch @@ -0,0 +1,11 @@ +--- src/ebview.c.orig 2008-01-09 16:13:32.000000000 +0100 ++++ src/ebview.c 2008-01-09 16:13:05.000000000 +0100 +@@ -15,7 +15,7 @@ + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +-#define GTK_DISABLE_DEPRECATED 1 ++//#define GTK_DISABLE_DEPRECATED 1 + + #define _GLOBAL + #include <signal.h> |