1 |
vapier 12/08/26 03:24:37 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: nano-2.3.1-r2.ebuild |
5 |
Log: |
6 |
Update nanorc files #397413 by Davide Pesavento. Split USE=nls dependency #398975 by Maxim Kammerer. |
7 |
|
8 |
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.6 app-editors/nano/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/nano/metadata.xml?rev=1.6&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/nano/metadata.xml?rev=1.6&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/nano/metadata.xml?r1=1.5&r2=1.6 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-editors/nano/metadata.xml,v |
20 |
retrieving revision 1.5 |
21 |
retrieving revision 1.6 |
22 |
diff -u -r1.5 -r1.6 |
23 |
--- metadata.xml 23 Sep 2011 21:36:18 -0000 1.5 |
24 |
+++ metadata.xml 26 Aug 2012 03:24:37 -0000 1.6 |
25 |
@@ -27,6 +27,9 @@ |
26 |
Enable debug messages and assert warnings. Note that these will all be sent |
27 |
straight to stderr rather than some logging facility. |
28 |
</flag> |
29 |
+ <flag name='magic'> |
30 |
+ Add magic file support (sys-apps/file) to automatically detect appropriate syntax highlighting |
31 |
+ </flag> |
32 |
<flag name='minimal'> |
33 |
Disable all fancy features, including ones that otherwise have a dedicated |
34 |
USE flag (such as spelling). |
35 |
|
36 |
|
37 |
|
38 |
1.277 app-editors/nano/ChangeLog |
39 |
|
40 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/nano/ChangeLog?rev=1.277&view=markup |
41 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/nano/ChangeLog?rev=1.277&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/nano/ChangeLog?r1=1.276&r2=1.277 |
43 |
|
44 |
Index: ChangeLog |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v |
47 |
retrieving revision 1.276 |
48 |
retrieving revision 1.277 |
49 |
diff -u -r1.276 -r1.277 |
50 |
--- ChangeLog 29 Jul 2012 16:52:55 -0000 1.276 |
51 |
+++ ChangeLog 26 Aug 2012 03:24:37 -0000 1.277 |
52 |
@@ -1,6 +1,15 @@ |
53 |
# ChangeLog for app-editors/nano |
54 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
55 |
-# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v 1.276 2012/07/29 16:52:55 armin76 Exp $ |
56 |
+# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v 1.277 2012/08/26 03:24:37 vapier Exp $ |
57 |
+ |
58 |
+*nano-2.3.1-r2 (26 Aug 2012) |
59 |
+ |
60 |
+ 26 Aug 2012; Mike Frysinger <vapier@g.o> |
61 |
+ +files/nano-2.3.1-bind-unbind-docs.patch, +files/nano-2.3.1-drop-target.patch, |
62 |
+ +files/nano-2.3.1-gentoo-nanorc.patch, +files/nano-2.3.1-shell-nanorc.patch, |
63 |
+ +nano-2.3.1-r2.ebuild, metadata.xml: |
64 |
+ Update nanorc files #397413 by Davide Pesavento. Split USE=nls dependency |
65 |
+ #398975 by Maxim Kammerer. |
66 |
|
67 |
29 Jul 2012; Raúl Porcel <armin76@g.o> nano-2.3.1-r1.ebuild: |
68 |
alpha/sparc stable wrt #413897 |
69 |
|
70 |
|
71 |
|
72 |
1.1 app-editors/nano/nano-2.3.1-r2.ebuild |
73 |
|
74 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/nano/nano-2.3.1-r2.ebuild?rev=1.1&view=markup |
75 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/nano/nano-2.3.1-r2.ebuild?rev=1.1&content-type=text/plain |
76 |
|
77 |
Index: nano-2.3.1-r2.ebuild |
78 |
=================================================================== |
79 |
# Copyright 1999-2012 Gentoo Foundation |
80 |
# Distributed under the terms of the GNU General Public License v2 |
81 |
# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/nano-2.3.1-r2.ebuild,v 1.1 2012/08/26 03:24:37 vapier Exp $ |
82 |
|
83 |
EAPI="3" |
84 |
|
85 |
inherit eutils autotools |
86 |
if [[ ${PV} == "9999" ]] ; then |
87 |
ESVN_REPO_URI="svn://svn.savannah.gnu.org/nano/trunk/nano" |
88 |
inherit subversion autotools |
89 |
else |
90 |
MY_P=${PN}-${PV/_} |
91 |
SRC_URI="http://www.nano-editor.org/dist/v${PV:0:3}/${MY_P}.tar.gz" |
92 |
fi |
93 |
|
94 |
DESCRIPTION="GNU GPL'd Pico clone with more functionality" |
95 |
HOMEPAGE="http://www.nano-editor.org/" |
96 |
|
97 |
LICENSE="GPL-3" |
98 |
SLOT="0" |
99 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
100 |
IUSE="debug justify +magic minimal ncurses nls slang spell unicode" |
101 |
|
102 |
RDEPEND=">=sys-libs/ncurses-5.9-r1[unicode?] |
103 |
magic? ( sys-apps/file ) |
104 |
nls? ( virtual/libintl ) |
105 |
!ncurses? ( slang? ( sys-libs/slang ) )" |
106 |
DEPEND="${RDEPEND} |
107 |
nls? ( sys-devel/gettext ) |
108 |
virtual/pkgconfig" |
109 |
|
110 |
src_prepare() { |
111 |
epatch "${FILESDIR}"/${PN}-2.3.1-drop-target.patch |
112 |
epatch "${FILESDIR}"/${PN}-2.3.1-ncurses-pkg-config.patch |
113 |
epatch "${FILESDIR}"/${PN}-2.3.1-bind-unbind-docs.patch |
114 |
epatch "${FILESDIR}"/${PN}-2.3.1-{shell,gentoo}-nanorc.patch |
115 |
eautoreconf |
116 |
} |
117 |
|
118 |
src_configure() { |
119 |
eval export ac_cv_{header_magic_h,lib_magic_magic_open}=$(usex magic) |
120 |
econf \ |
121 |
--bindir="${EPREFIX}"/bin \ |
122 |
$(use_enable !minimal color) \ |
123 |
$(use_enable !minimal multibuffer) \ |
124 |
$(use_enable !minimal nanorc) \ |
125 |
--disable-wrapping-as-root \ |
126 |
$(use_enable spell speller) \ |
127 |
$(use_enable justify) \ |
128 |
$(use_enable debug) \ |
129 |
$(use_enable nls) \ |
130 |
$(use_enable unicode utf8) \ |
131 |
$(use_enable minimal tiny) \ |
132 |
$(usex ncurses --without-slang $(use_with slang)) |
133 |
} |
134 |
|
135 |
src_install() { |
136 |
emake DESTDIR="${D}" install || die |
137 |
rm -r "${ED}"/usr/share/nano/man-html || die |
138 |
|
139 |
dodoc ChangeLog README doc/nanorc.sample AUTHORS BUGS NEWS TODO |
140 |
dohtml doc/faq.html |
141 |
insinto /etc |
142 |
newins doc/nanorc.sample nanorc |
143 |
|
144 |
dodir /usr/bin |
145 |
dosym /bin/nano /usr/bin/nano |
146 |
} |
147 |
|
148 |
pkg_postinst() { |
149 |
einfo "More helpful info about nano, visit the GDP page:" |
150 |
einfo "http://www.gentoo.org/doc/en/nano-basics-guide.xml" |
151 |
} |