1 |
tove 08/02/02 22:22:54 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: zsh-4.3.5.ebuild |
5 |
Log: |
6 |
Version bump. Removed pkg_preinst and parts of pkg_postinst. Fixed cap useflag. Tests and static linking need more testing. |
7 |
(Portage version: 2.1.4.1) |
8 |
|
9 |
Revision Changes Path |
10 |
1.130 app-shells/zsh/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-shells/zsh/ChangeLog?rev=1.130&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-shells/zsh/ChangeLog?rev=1.130&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-shells/zsh/ChangeLog?r1=1.129&r2=1.130 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-shells/zsh/ChangeLog,v |
19 |
retrieving revision 1.129 |
20 |
retrieving revision 1.130 |
21 |
diff -u -r1.129 -r1.130 |
22 |
--- ChangeLog 8 Jan 2008 14:59:50 -0000 1.129 |
23 |
+++ ChangeLog 2 Feb 2008 22:22:54 -0000 1.130 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for app-shells/zsh |
26 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-shells/zsh/ChangeLog,v 1.129 2008/01/08 14:59:50 jer Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-shells/zsh/ChangeLog,v 1.130 2008/02/02 22:22:54 tove Exp $ |
29 |
+ |
30 |
+*zsh-4.3.5 (02 Feb 2008) |
31 |
+ |
32 |
+ 02 Feb 2008; Torsten Veller <tove@g.o> +zsh-4.3.5.ebuild: |
33 |
+ Version bump. Removed pkg_preinst and parts of pkg_postinst. |
34 |
+ Fixed cap useflag. Tests and static linking need more testing. |
35 |
|
36 |
08 Jan 2008; Jeroen Roovers <jer@g.o> zsh-4.3.4-r1.ebuild: |
37 |
Stable for HPPA (bug #204259). |
38 |
|
39 |
|
40 |
|
41 |
1.1 app-shells/zsh/zsh-4.3.5.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-shells/zsh/zsh-4.3.5.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-shells/zsh/zsh-4.3.5.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: zsh-4.3.5.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2008 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/app-shells/zsh/zsh-4.3.5.ebuild,v 1.1 2008/02/02 22:22:54 tove Exp $ |
51 |
|
52 |
inherit eutils multilib |
53 |
|
54 |
LOVERS_PV=0.5 |
55 |
LOVERS_P=zsh-lovers-${LOVERS_PV} |
56 |
|
57 |
DESCRIPTION="UNIX Shell similar to the Korn shell" |
58 |
HOMEPAGE="http://www.zsh.org/" |
59 |
SRC_URI="ftp://ftp.zsh.org/pub/${P}.tar.bz2 |
60 |
examples? ( http://www.grml.org/repos/zsh-lovers_${LOVERS_PV}.orig.tar.gz ) |
61 |
doc? ( ftp://ftp.zsh.org/pub/${P}-doc.tar.bz2 )" |
62 |
|
63 |
LICENSE="ZSH" |
64 |
SLOT="0" |
65 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" |
66 |
IUSE="maildir static doc examples pcre caps unicode" |
67 |
|
68 |
RDEPEND=">=sys-libs/ncurses-5.1 |
69 |
caps? ( sys-libs/libcap ) |
70 |
pcre? ( >=dev-libs/libpcre-3.9 )" |
71 |
DEPEND="sys-apps/groff |
72 |
${RDEPEND}" |
73 |
|
74 |
src_unpack() { |
75 |
unpack ${A} |
76 |
cd "${S}" |
77 |
|
78 |
# fix zshall problem with soelim |
79 |
ln -s Doc man1 |
80 |
mv Doc/zshall.1 Doc/zshall.1.soelim |
81 |
soelim Doc/zshall.1.soelim > Doc/zshall.1 |
82 |
|
83 |
epatch "${FILESDIR}/${PN}"-init.d-gentoo.diff |
84 |
} |
85 |
|
86 |
src_compile() { |
87 |
local myconf= |
88 |
|
89 |
if use static ; then |
90 |
myconf="${myconf} --disable-dynamic" |
91 |
LDFLAGS="${LDFLAGS} -static" |
92 |
fi |
93 |
|
94 |
econf \ |
95 |
--bindir=/bin \ |
96 |
--libdir=/usr/$(get_libdir) \ |
97 |
--enable-etcdir=/etc/zsh \ |
98 |
--enable-zshenv=/etc/zsh/zshenv \ |
99 |
--enable-zlogin=/etc/zsh/zlogin \ |
100 |
--enable-zlogout=/etc/zsh/zlogout \ |
101 |
--enable-zprofile=/etc/zsh/zprofile \ |
102 |
--enable-zshrc=/etc/zsh/zshrc \ |
103 |
--enable-fndir=/usr/share/zsh/${PV%_*}/functions \ |
104 |
--enable-site-fndir=/usr/share/zsh/site-functions \ |
105 |
--enable-function-subdirs \ |
106 |
--enable-ldflags="${LDFLAGS}" \ |
107 |
--with-curses-terminfo \ |
108 |
--with-tcsetpgrp \ |
109 |
$(use_enable maildir maildir-support) \ |
110 |
$(use_enable pcre) \ |
111 |
$(use_enable caps cap) \ |
112 |
$(use_enable unicode multibyte) \ |
113 |
${myconf} || die "configure failed" |
114 |
|
115 |
if use static ; then |
116 |
# compile all modules statically, see Bug #27392 |
117 |
# removed cap and curses because linking failes |
118 |
sed -i \ |
119 |
-e "s/link=no/link=static/g" \ |
120 |
-e 's/cap.mdd link=static/cap.mdd link=no/' \ |
121 |
-e 's/curses.mdd link=static/curses.mdd link=no/' \ |
122 |
config.modules || die |
123 |
# else |
124 |
# sed -i -e "/LIBS/s%-lpcre%/usr/$(get_libdir)/libpcre.a%" Makefile |
125 |
fi |
126 |
|
127 |
emake || die "make failed" |
128 |
} |
129 |
|
130 |
src_test() { |
131 |
local f= |
132 |
for f in /dev/pt* ; do |
133 |
addpredict "$f" |
134 |
done |
135 |
make check || ewarn "make check failed" |
136 |
} |
137 |
|
138 |
src_install() { |
139 |
emake DESTDIR="${D}" install install.info || die |
140 |
|
141 |
# Bug 207019 |
142 |
rm "${D}"/bin/${P} || die |
143 |
|
144 |
insinto /etc/zsh |
145 |
doins "${FILESDIR}"/zprofile || die |
146 |
|
147 |
keepdir /usr/share/zsh/site-functions |
148 |
insinto /usr/share/zsh/${PV%_*}/functions/Prompts |
149 |
doins "${FILESDIR}"/prompt_gentoo_setup || die |
150 |
|
151 |
# install miscellaneous scripts; bug #54520 |
152 |
local i |
153 |
sed -i -e "s:/usr/local:/usr:g" "${S}"/{Util,Misc}/* || die |
154 |
for i in Util Misc ; do |
155 |
insinto /usr/share/zsh/${PV%_*}/${i} |
156 |
doins ${i}/* || die |
157 |
done |
158 |
|
159 |
dodoc ChangeLog* META-FAQ NEWS README config.modules |
160 |
|
161 |
if use doc ; then |
162 |
dohtml -r "${S}"/Doc/* || die |
163 |
insinto /usr/share/doc/${PF} |
164 |
doins Doc/zsh.{dvi,pdf} || die |
165 |
fi |
166 |
|
167 |
if use examples ; then |
168 |
cd "${WORKDIR}/${LOVERS_P}" |
169 |
doman zsh-lovers.1 || die "doman zsh-lovers failed" |
170 |
dohtml zsh-lovers.html || die "dohtml zsh-lovers failed" |
171 |
docinto zsh-lovers |
172 |
dodoc zsh.vim README |
173 |
insinto /usr/share/doc/${PF}/zsh-lovers |
174 |
doins zsh-lovers.{ps,pdf} refcard.{dvi,ps,pdf} || die |
175 |
doins -r zsh_people || die "doins zsh_people failed" |
176 |
cd - |
177 |
fi |
178 |
|
179 |
docinto StartupFiles |
180 |
dodoc StartupFiles/z* |
181 |
} |
182 |
|
183 |
pkg_postinst() { |
184 |
# should link to http://www.gentoo.org/doc/en/zsh.xml |
185 |
elog |
186 |
elog "If you want to enable Portage completions and Gentoo prompt," |
187 |
elog "emerge app-shells/zsh-completion and add" |
188 |
elog " autoload -U compinit promptinit" |
189 |
elog " compinit" |
190 |
elog " promptinit; prompt gentoo" |
191 |
elog "to your ~/.zshrc" |
192 |
elog |
193 |
elog "Also, if you want to enable cache for the completions, add" |
194 |
elog " zstyle ':completion::complete:*' use-cache 1" |
195 |
elog "to your ~/.zshrc" |
196 |
elog |
197 |
} |
198 |
|
199 |
|
200 |
|
201 |
-- |
202 |
gentoo-commits@l.g.o mailing list |