1 |
hawking 07/09/21 21:24:31 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: elvis-2.2.0-r3.ebuild |
5 |
Log: |
6 |
revbump. add patch to fix symbol collision between elvis and freetype. bug 189271, thanks to Gordon Malm. |
7 |
(Portage version: 2.1.3.9) |
8 |
|
9 |
Revision Changes Path |
10 |
1.33 app-editors/elvis/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/elvis/ChangeLog?rev=1.33&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/elvis/ChangeLog?rev=1.33&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/elvis/ChangeLog?r1=1.32&r2=1.33 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-editors/elvis/ChangeLog,v |
19 |
retrieving revision 1.32 |
20 |
retrieving revision 1.33 |
21 |
diff -u -r1.32 -r1.33 |
22 |
--- ChangeLog 22 Jul 2007 08:42:58 -0000 1.32 |
23 |
+++ ChangeLog 21 Sep 2007 21:24:30 -0000 1.33 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for app-editors/elvis |
26 |
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-editors/elvis/ChangeLog,v 1.32 2007/07/22 08:42:58 omp Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-editors/elvis/ChangeLog,v 1.33 2007/09/21 21:24:30 hawking Exp $ |
29 |
+ |
30 |
+*elvis-2.2.0-r3 (21 Sep 2007) |
31 |
+ |
32 |
+ 21 Sep 2007; Ali Polatel <hawking@g.o> |
33 |
+ +files/ft2.3-symbol-collision-fix.patch, +elvis-2.2.0-r3.ebuild: |
34 |
+ revbump. add patch to fix symbol collision between elvis and freetype. |
35 |
+ bug 189271, thanks to Gordon Malm. |
36 |
|
37 |
22 Jul 2007; David Shakaryan <omp@g.o> elvis-2.2.0-r1.ebuild, |
38 |
elvis-2.2.0-r2.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 app-editors/elvis/elvis-2.2.0-r3.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/elvis/elvis-2.2.0-r3.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/elvis/elvis-2.2.0-r3.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: elvis-2.2.0-r3.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2007 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/app-editors/elvis/elvis-2.2.0-r3.ebuild,v 1.1 2007/09/21 21:24:31 hawking Exp $ |
52 |
|
53 |
inherit eutils versionator |
54 |
|
55 |
MY_PV="$(replace_version_separator 2 '_')" |
56 |
|
57 |
DESCRIPTION="A vi/ex clone" |
58 |
HOMEPAGE="ftp://ftp.cs.pdx.edu/pub/elvis/" |
59 |
SRC_URI="ftp://ftp.cs.pdx.edu/pub/elvis/${PN}-${MY_PV}.tar.gz" |
60 |
|
61 |
LICENSE="Artistic" |
62 |
SLOT="0" |
63 |
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" |
64 |
IUSE="X" |
65 |
|
66 |
DEPEND=">=sys-libs/ncurses-5.2 |
67 |
X? ( >=x11-proto/xproto-7.0.4 |
68 |
>=x11-libs/libX11-1.0.0 |
69 |
>=x11-libs/libXt-1.0.0 |
70 |
>=x11-libs/libXpm-3.5.4.2 |
71 |
>=x11-libs/libXft-2.1.8.2 ) |
72 |
app-admin/eselect-vi" |
73 |
PROVIDE="virtual/editor" |
74 |
|
75 |
S="${WORKDIR}/${PN}-${MY_PV}" |
76 |
|
77 |
src_unpack() { |
78 |
unpack ${A} |
79 |
cd "${S}" |
80 |
|
81 |
#epatch "${FILESDIR}/ft2.3-symbol-collision-fix.patch" |
82 |
} |
83 |
|
84 |
src_compile() { |
85 |
./configure \ |
86 |
--prefix=/usr \ |
87 |
--bindir=/usr/bin \ |
88 |
--datadir=/usr/share/elvis \ |
89 |
--docdir=/usr/share/doc/"${PF}" \ |
90 |
$(use_with X x) \ |
91 |
|| die "configure failed" |
92 |
|
93 |
# Some Makefile fixups (must happen after configure) |
94 |
# Use our CFLAGS |
95 |
sed -i -e "s:gcc -O2:gcc ${CFLAGS}:" Makefile || die "sed 1 failed" |
96 |
|
97 |
# We'll install the man-pages ourselves |
98 |
sed -i -e '/^ sh instman.sh/d' Makefile || die "sed 2 failed" |
99 |
|
100 |
# Don't try to write to /etc |
101 |
sed -i -e 's,/etc/elvis,${D}/etc/elvis,g' Makefile || die "sed 3 failed" |
102 |
|
103 |
emake || die "make failed" |
104 |
} |
105 |
|
106 |
src_install() { |
107 |
dodir /usr/bin |
108 |
dodir /usr/share/man/man1 |
109 |
dodir /usr/share/elvis |
110 |
dodir /usr/share/doc/"${PF}" |
111 |
dodir /etc |
112 |
make install \ |
113 |
PREFIX="${D}"/usr \ |
114 |
BINDIR="${D}"/usr/bin \ |
115 |
DATADIR="${D}"/usr/share/elvis \ |
116 |
DOCDIR="${D}"/usr/share/doc/"${PF}" || die 'make install failed' |
117 |
|
118 |
# Install the man-pages |
119 |
mv doc/elvis.man doc/elvis.1 |
120 |
mv doc/elvtags.man doc/elvtags.1 |
121 |
mv doc/ref.man doc/ref.1 |
122 |
doman doc/*.1 || die 'doman failed' |
123 |
|
124 |
# Fixup some READMEs |
125 |
sed -i -e "s,${D},,g" "${D}"/etc/elvis/README \ |
126 |
|| die 'sed /etc/elvis/README failed' |
127 |
sed -i -e "s,${D},,g" "${D}"/usr/share/elvis/README \ |
128 |
|| die 'sed /usr/share/elvis/README failed' |
129 |
} |
130 |
|
131 |
pkg_postinst() { |
132 |
einfo "Setting /usr/bin/vi symlink" |
133 |
eselect vi set "${PN}" |
134 |
} |
135 |
|
136 |
pkg_postrm() { |
137 |
einfo "Updating /usr/bin/vi symlink" |
138 |
eselect vi update |
139 |
} |
140 |
|
141 |
|
142 |
|
143 |
-- |
144 |
gentoo-commits@g.o mailing list |