Gentoo Archives: gentoo-commits

From: "Michael Weber (xmw)" <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-shells/fish: ChangeLog fish-1.23.1-r1.ebuild
Date: Sat, 27 Nov 2010 23:28:18
Message-Id: 20101127232806.73DFD20051@flycatcher.gentoo.org
1 xmw 10/11/27 23:28:06
2
3 Modified: ChangeLog
4 Added: fish-1.23.1-r1.ebuild
5 Log:
6 Revbump to optionally include identation patch
7
8 (Portage version: 2.1.9.24/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.48 app-shells/fish/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/fish/ChangeLog?rev=1.48&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/fish/ChangeLog?rev=1.48&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/fish/ChangeLog?r1=1.47&r2=1.48
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-shells/fish/ChangeLog,v
20 retrieving revision 1.47
21 retrieving revision 1.48
22 diff -u -r1.47 -r1.48
23 --- ChangeLog 21 Jun 2010 17:19:29 -0000 1.47
24 +++ ChangeLog 27 Nov 2010 23:28:06 -0000 1.48
25 @@ -1,6 +1,13 @@
26 # ChangeLog for app-shells/fish
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-shells/fish/ChangeLog,v 1.47 2010/06/21 17:19:29 fauli Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-shells/fish/ChangeLog,v 1.48 2010/11/27 23:28:06 xmw Exp $
30 +
31 +*fish-1.23.1-r1 (27 Nov 2010)
32 +
33 + 27 Nov 2010; Michael Weber <xmw@g.o> +fish-1.23.1-r1.ebuild,
34 + +files/fish-1.23.1-fish_indent.patch:
35 + Revbump to optionally include indentation patch from James Bowlin
36 + <bowlin@××××××××××.com> (bug 346509). Thanks
37
38 21 Jun 2010; Christian Faulhammer <fauli@g.o> fish-1.23.1.ebuild:
39 stable x86, bug 319473
40
41
42
43 1.1 app-shells/fish/fish-1.23.1-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/fish/fish-1.23.1-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/fish/fish-1.23.1-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: fish-1.23.1-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-shells/fish/fish-1.23.1-r1.ebuild,v 1.1 2010/11/27 23:28:06 xmw Exp $
53
54 EAPI="3"
55
56 inherit base autotools eutils
57
58 DESCRIPTION="fish is the Friendly Interactive SHell"
59 HOMEPAGE="http://fishshell.org/"
60 SRC_URI="http://fishshell.org/files/${PV}/${P}.tar.bz2"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
65 IUSE="X vanilla"
66
67 DEPEND="sys-libs/ncurses
68 sys-devel/bc
69 sys-devel/gettext
70 www-client/htmlview
71 X? ( x11-misc/xsel )"
72 RDEPEND="${DEPEND}"
73
74 PATCHES=(
75 "${FILESDIR}/${PN}-1.23.0-glibc-2.8.patch"
76 "${FILESDIR}/${PN}-1.22.3-gettext.patch"
77 "${FILESDIR}/${P}-gentoo-alt.patch"
78 )
79
80 src_prepare() {
81 base_src_prepare
82
83 if ! use vanilla ; then
84 epatch "${FILESDIR}"/${P}-fish_indent.patch
85 fi
86
87 eautoreconf
88 }
89
90 src_configure() {
91 # Set things up for fish to be a default shell.
92 # It has to be in /bin in case /usr is unavailable.
93 # Also, all of its utilities have to be in /bin.
94 econf \
95 docdir="${EPREFIX}"/usr/share/doc/${PF} \
96 --without-xsel \
97 --bindir="${EPREFIX}"/bin
98 }
99
100 src_install() {
101 emake DESTDIR="${D}" install || die "make install failed"
102 }
103
104 pkg_postinst() {
105 elog
106 elog "To use ${PN} as your default shell, you need to add ${EPREFIX}/bin/${PN}"
107 elog "to ${EPREFIX}/etc/shells."
108 elog
109 ewarn "Many files moved to ${EROOT}usr/share/fish/completions from ${EROOT}etc/fish.d/."
110 ewarn "Delete everything in ${EROOT}etc/fish.d/ except fish_interactive.fish."
111 ewarn "Otherwise, fish won't notice updates to the installed files,"
112 ewarn "because the ones in /etc will override the new ones in /usr."
113 echo
114 }