Gentoo Archives: gentoo-commits

From: "Harald van Dijk (truedfx)" <truedfx@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-editors/nvi: ChangeLog nvi-1.81.6-r2.ebuild nvi-1.81.5-r6.ebuild nvi-1.81.5-r3.ebuild nvi-1.81.5-r7.ebuild
Date: Sun, 28 Dec 2008 00:10:07
Message-Id: E1LGjEF-0005Ku-EE@stork.gentoo.org
1 truedfx 08/12/28 00:09:59
2
3 Modified: ChangeLog
4 Added: nvi-1.81.6-r2.ebuild
5 Removed: nvi-1.81.5-r6.ebuild nvi-1.81.5-r3.ebuild
6 nvi-1.81.5-r7.ebuild
7 Log:
8 Fix "DB_CREATE must be specified to create databases." message with recent db, and make translations work
9 (Portage version: 2.2_rc19/cvs/Linux 2.6.28-gentoo x86_64)
10
11 Revision Changes Path
12 1.66 app-editors/nvi/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/nvi/ChangeLog?rev=1.66&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/nvi/ChangeLog?rev=1.66&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/nvi/ChangeLog?r1=1.65&r2=1.66
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-editors/nvi/ChangeLog,v
21 retrieving revision 1.65
22 retrieving revision 1.66
23 diff -u -r1.65 -r1.66
24 --- ChangeLog 5 Oct 2008 14:52:40 -0000 1.65
25 +++ ChangeLog 28 Dec 2008 00:09:59 -0000 1.66
26 @@ -1,6 +1,18 @@
27 # ChangeLog for app-editors/nvi
28 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-editors/nvi/ChangeLog,v 1.65 2008/10/05 14:52:40 truedfx Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-editors/nvi/ChangeLog,v 1.66 2008/12/28 00:09:59 truedfx Exp $
31 +
32 +*nvi-1.81.6-r2 (28 Dec 2008)
33 +
34 + 28 Dec 2008; Harald van Dijk <truedfx@g.o>
35 + -files/nvi-1.81.5-build.patch, -files/nvi-1.81.5-db4.patch,
36 + -files/nvi-1.81.5-gcc4.patch, -files/nvi-1.81.5-header.patch,
37 + -files/nvi-1.81.5-tcsetattr.patch, -files/nvi-1.81.5-wide.patch,
38 + -files/nvi-1.81.5-wide-2.patch, +files/nvi-1.81.6-db44.patch,
39 + -nvi-1.81.5-r3.ebuild, -nvi-1.81.5-r6.ebuild, -nvi-1.81.5-r7.ebuild,
40 + +nvi-1.81.6-r2.ebuild:
41 + Fix "DB_CREATE must be specified to create databases." message with recent
42 + db, and make translations work
43
44 *nvi-1.81.6-r1 (05 Oct 2008)
45
46
47
48
49 1.1 app-editors/nvi/nvi-1.81.6-r2.ebuild
50
51 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/nvi/nvi-1.81.6-r2.ebuild?rev=1.1&view=markup
52 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/nvi/nvi-1.81.6-r2.ebuild?rev=1.1&content-type=text/plain
53
54 Index: nvi-1.81.6-r2.ebuild
55 ===================================================================
56 # Copyright 1999-2008 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 # $Header: /var/cvsroot/gentoo-x86/app-editors/nvi/nvi-1.81.6-r2.ebuild,v 1.1 2008/12/28 00:09:59 truedfx Exp $
59
60 inherit eutils flag-o-matic
61
62 DESCRIPTION="Vi clone"
63 HOMEPAGE="http://www.bostic.com/vi/"
64 SRC_URI="http://www.kotnet.org/~skimo/nvi/devel/${P}.tar.bz2"
65
66 LICENSE="Sleepycat"
67 SLOT="0"
68 KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
69 IUSE="perl tcl unicode"
70
71 DEPEND="=sys-libs/db-4*
72 perl? ( dev-lang/perl )
73 tcl? ( !unicode? ( >=dev-lang/tcl-8.5 ) )"
74 RDEPEND="${DEPEND}
75 app-admin/eselect-vi"
76
77 S=${WORKDIR}/${P}/build.unix
78
79 pkg_setup() {
80 if use tcl && use unicode
81 then
82 ewarn "nvi does not support tcl+unicode. tcl support will not be included."
83 ewarn "If you need tcl support, please disable the unicode flag."
84 fi
85 }
86
87 src_unpack() {
88 unpack ${A}
89 cd "${S}"
90 epatch "${FILESDIR}"/${P}-db44.patch
91 chmod +x ../dist/findconfig
92 }
93
94 src_compile() {
95 local myconf
96
97 use perl && myconf="${myconf} --enable-perlinterp"
98 use tcl && ! use unicode && myconf="${myconf} --enable-tclinterp"
99 use unicode && myconf="${myconf} --enable-widechar"
100
101 append-flags '-D_PATH_MSGCAT="\"/usr/share/vi/catalog/\""'
102
103 ECONF_SOURCE=../dist econf \
104 --program-prefix=n \
105 ${myconf} \
106 || die "configure failed"
107 emake OPTFLAG="${CFLAGS}" || die "make failed"
108 }
109
110 src_install() {
111 emake -j1 DESTDIR="${D}" install || die "install failed"
112 }
113
114 pkg_postinst() {
115 einfo "Setting /usr/bin/vi symlink"
116 eselect vi update --if-unset
117 }
118
119 pkg_postrm() {
120 einfo "Updating /usr/bin/vi symlink"
121 eselect vi update --if-unset
122 }