Gentoo Archives: gentoo-commits

From: "Alfredo Tupone (tupone)" <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-strategy/ufo-ai: ChangeLog ufo-ai-2.2.1.ebuild
Date: Tue, 02 Mar 2010 10:44:05
Message-Id: E1NmPa5-0001cK-Gq@stork.gentoo.org
1 tupone 10/03/02 10:44:01
2
3 Modified: ChangeLog ufo-ai-2.2.1.ebuild
4 Log:
5 Do not install ELF under share. Bug #304707
6 (Portage version: 2.1.7.16/cvs/Linux i686)
7
8 Revision Changes Path
9 1.24 games-strategy/ufo-ai/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/ufo-ai/ChangeLog?rev=1.24&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/ufo-ai/ChangeLog?rev=1.24&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/ufo-ai/ChangeLog?r1=1.23&r2=1.24
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/games-strategy/ufo-ai/ChangeLog,v
18 retrieving revision 1.23
19 retrieving revision 1.24
20 diff -u -r1.23 -r1.24
21 --- ChangeLog 21 Feb 2010 15:02:22 -0000 1.23
22 +++ ChangeLog 2 Mar 2010 10:44:00 -0000 1.24
23 @@ -1,6 +1,10 @@
24 # ChangeLog for games-strategy/ufo-ai
25 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/ufo-ai/ChangeLog,v 1.23 2010/02/21 15:02:22 mr_bones_ Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/ufo-ai/ChangeLog,v 1.24 2010/03/02 10:44:00 tupone Exp $
28 +
29 + 02 Mar 2010; Tupone Alfredo <tupone@g.o> ufo-ai-2.2.1.ebuild,
30 + +files/ufo-ai-2.2.1-noelfonshared.patch:
31 + Do not install ELF under share. Bug #304707 by flameeyes@g.o
32
33 21 Feb 2010; Michael Sterrett <mr_bones_@g.o> ufo-ai-2.2.1.ebuild:
34 make_desktop_entry cleanup (bug #306193)
35
36
37
38 1.7 games-strategy/ufo-ai/ufo-ai-2.2.1.ebuild
39
40 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/ufo-ai/ufo-ai-2.2.1.ebuild?rev=1.7&view=markup
41 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/ufo-ai/ufo-ai-2.2.1.ebuild?rev=1.7&content-type=text/plain
42 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/ufo-ai/ufo-ai-2.2.1.ebuild?r1=1.6&r2=1.7
43
44 Index: ufo-ai-2.2.1.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/games-strategy/ufo-ai/ufo-ai-2.2.1.ebuild,v
47 retrieving revision 1.6
48 retrieving revision 1.7
49 diff -u -r1.6 -r1.7
50 --- ufo-ai-2.2.1.ebuild 21 Feb 2010 15:02:22 -0000 1.6
51 +++ ufo-ai-2.2.1.ebuild 2 Mar 2010 10:44:00 -0000 1.7
52 @@ -1,6 +1,6 @@
53 # Copyright 1999-2010 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/ufo-ai/ufo-ai-2.2.1.ebuild,v 1.6 2010/02/21 15:02:22 mr_bones_ Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/ufo-ai/ufo-ai-2.2.1.ebuild,v 1.7 2010/03/02 10:44:00 tupone Exp $
57
58 EAPI=2
59 inherit eutils games
60 @@ -45,10 +45,12 @@
61 mv "${WORKDIR}/base" "${S}" || die
62
63 # Set basedir & fixes bug in finding text files - it should use fs_basedir
64 - epatch "${FILESDIR}"/${P}-gentoo.patch
65 + epatch "${FILESDIR}"/${P}-gentoo.patch \
66 + "${FILESDIR}"/${P}-noelfonshared.patch
67
68 sed -i \
69 -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \
70 + -e "s:@GAMES_LIBDIR@:$(games_get_libdir)/${PN}:" \
71 src/common/files.c \
72 src/tools/gtkradiant/games/ufoai.game \
73 src/client/cl_main.c \
74 @@ -78,6 +80,8 @@
75 fi
76
77 emake || die "emake failed"
78 + mv base/game.so . \
79 + || die "Failed moving game library"
80 }
81
82 src_install() {
83 @@ -96,6 +100,9 @@
84 dogamesbin ufo2map || die "Failed installing editor"
85 fi
86
87 + exeinto "$(games_get_libdir)"/${PN}
88 + doexe game.so || die "Failed installing game library"
89 +
90 insinto "${GAMES_DATADIR}"/${PN}
91 doins -r base || die "doins -r failed"
92 if use doc ; then