Gentoo Archives: gentoo-commits

From: "Lars Wendler (polynomial-c)" <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-shells/fish: fish-2.1.0-r1.ebuild ChangeLog fish-2.1.0.ebuild
Date: Mon, 04 Nov 2013 09:51:15
Message-Id: 20131104095108.548B52004B@flycatcher.gentoo.org
1 polynomial-c 13/11/04 09:51:08
2
3 Modified: ChangeLog
4 Added: fish-2.1.0-r1.ebuild
5 Removed: fish-2.1.0.ebuild
6 Log:
7 Fixed docdir handling (bug #489934)
8
9 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
10
11 Revision Changes Path
12 1.61 app-shells/fish/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/fish/ChangeLog?rev=1.61&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/fish/ChangeLog?rev=1.61&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/fish/ChangeLog?r1=1.60&r2=1.61
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-shells/fish/ChangeLog,v
21 retrieving revision 1.60
22 retrieving revision 1.61
23 diff -u -r1.60 -r1.61
24 --- ChangeLog 31 Oct 2013 02:44:10 -0000 1.60
25 +++ ChangeLog 4 Nov 2013 09:51:08 -0000 1.61
26 @@ -1,6 +1,13 @@
27 # ChangeLog for app-shells/fish
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-shells/fish/ChangeLog,v 1.60 2013/10/31 02:44:10 jdhore Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-shells/fish/ChangeLog,v 1.61 2013/11/04 09:51:08 polynomial-c Exp $
31 +
32 +*fish-2.1.0-r1 (04 Nov 2013)
33 +
34 + 04 Nov 2013; Lars Wendler <polynomial-c@g.o> -fish-2.1.0.ebuild,
35 + +fish-2.1.0-r1.ebuild:
36 + Fixed docdir handling. Thanks to Elis Axelsson who reported this in bug
37 + #489934 and made upstream aware of the problem.
38
39 *fish-2.1.0 (31 Oct 2013)
40
41
42
43
44 1.1 app-shells/fish/fish-2.1.0-r1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/fish/fish-2.1.0-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/fish/fish-2.1.0-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: fish-2.1.0-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2013 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/app-shells/fish/fish-2.1.0-r1.ebuild,v 1.1 2013/11/04 09:51:08 polynomial-c Exp $
54
55 EAPI=5
56
57 inherit base autotools
58
59 DESCRIPTION="fish is the Friendly Interactive SHell"
60 HOMEPAGE="http://fishshell.com/"
61 SRC_URI="http://fishshell.com/files/${PV}/${P}.tar.gz
62 https://github.com/fish-shell/fish-shell/commit/9a3643501607bff8b314977931916081dd39646a.patch -> ${P}-docdir.patch"
63
64 LICENSE="GPL-2"
65 SLOT="0"
66 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
67 IUSE="X"
68
69 DEPEND="sys-libs/ncurses
70 sys-devel/bc
71 sys-devel/gettext
72 www-client/htmlview
73 X? ( x11-misc/xsel )"
74 RDEPEND="${DEPEND}"
75
76 src_prepare() {
77 epatch "${DISTDIR}"/${P}-docdir.patch #489934
78
79 eautoreconf
80 }
81
82 src_configure() {
83 # Set things up for fish to be a default shell.
84 # It has to be in /bin in case /usr is unavailable.
85 # Also, all of its utilities have to be in /bin.
86 econf \
87 docdir="${EPREFIX}"/usr/share/doc/${PF} \
88 --bindir="${EPREFIX}"/bin
89 }
90
91 pkg_postinst() {
92 elog "fish is now installed on your system."
93 elog "To run fish, type 'fish' in your terminal."
94 elog
95 elog "To use fish as your login shell:"
96 elog "* add the line '${EPREFIX}/bin/${PN}'"
97 elog "* to the file '${EPREFIX}/etc/shells'."
98 elog "* use the command 'chsh -s ${EPREFIX}/bin/${PN}'."
99 elog
100 elog "To set your colors, run 'fish_config'"
101 elog "To scan your man pages for completions, run 'fish_update_completions'"
102 elog "To autocomplete command suggestions press Ctrl + F or right arrow key."
103 elog
104 elog "Have fun!"
105 }