1 |
ulm 07/10/26 20:30:29 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: monotone-0.36-r1.ebuild |
5 |
Log: |
6 |
Improve Emacs support. |
7 |
(Portage version: 2.1.3.16) |
8 |
|
9 |
Revision Changes Path |
10 |
1.50 dev-util/monotone/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/monotone/ChangeLog?rev=1.50&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/monotone/ChangeLog?rev=1.50&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/monotone/ChangeLog?r1=1.49&r2=1.50 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/monotone/ChangeLog,v |
19 |
retrieving revision 1.49 |
20 |
retrieving revision 1.50 |
21 |
diff -u -r1.49 -r1.50 |
22 |
--- ChangeLog 24 Oct 2007 00:50:26 -0000 1.49 |
23 |
+++ ChangeLog 26 Oct 2007 20:30:28 -0000 1.50 |
24 |
@@ -1,6 +1,14 @@ |
25 |
# ChangeLog for dev-util/monotone |
26 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/monotone/ChangeLog,v 1.49 2007/10/24 00:50:26 beandog Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/monotone/ChangeLog,v 1.50 2007/10/26 20:30:28 ulm Exp $ |
29 |
+ |
30 |
+*monotone-0.36-r1 (26 Oct 2007) |
31 |
+ |
32 |
+ 26 Oct 2007; Ulrich Mueller <ulm@g.o> +files/50monotone-gentoo.el, |
33 |
+ +monotone-0.36-r1.ebuild: |
34 |
+ Improve Emacs support: Use elisp-comp function for proper byte-compilation; |
35 |
+ replace "require" in site-init file by autoload mechanism. Add die commands |
36 |
+ to elisp-install and elisp-site-file-install. |
37 |
|
38 |
24 Oct 2007; Steve Dibb <beandog@g.o> monotone-0.35.ebuild: |
39 |
amd64 stable, bug 187158 |
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-util/monotone/monotone-0.36-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/monotone/monotone-0.36-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/monotone/monotone-0.36-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: monotone-0.36-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2007 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/monotone/monotone-0.36-r1.ebuild,v 1.1 2007/10/26 20:30:28 ulm Exp $ |
53 |
|
54 |
inherit elisp-common flag-o-matic bash-completion eutils |
55 |
|
56 |
DESCRIPTION="Monotone Distributed Version Control System" |
57 |
HOMEPAGE="http://monotone.ca" |
58 |
SRC_URI="http://monotone.ca/downloads/${PV}/${P}.tar.gz" |
59 |
|
60 |
LICENSE="GPL-2" |
61 |
SLOT="1" |
62 |
KEYWORDS="~amd64 ~ia64 ~ppc ~x86" |
63 |
|
64 |
IUSE="doc emacs ipv6 nls" |
65 |
|
66 |
RDEPEND=">=dev-libs/boost-1.33.1 |
67 |
sys-libs/zlib |
68 |
emacs? ( virtual/emacs )" |
69 |
|
70 |
DEPEND="${RDEPEND} |
71 |
nls? ( >=sys-devel/gettext-0.11.5 ) |
72 |
doc? ( sys-apps/texinfo )" |
73 |
|
74 |
pkg_setup() { |
75 |
enewgroup monotone |
76 |
enewuser monotone -1 -1 /var/lib/monotone monotone |
77 |
if [[ "$(gcc-version)" == "3.3" ]]; then |
78 |
die 'requires >=gcc-3.4' |
79 |
fi |
80 |
} |
81 |
|
82 |
src_compile() { |
83 |
# more aggressive optimizations cause trouble with the crypto library |
84 |
strip-flags |
85 |
append-flags $(test-flags -fno-stack-protector-all -fno-stack-protector) |
86 |
append-flags -fno-strict-aliasing -fno-omit-frame-pointer |
87 |
|
88 |
econf $(use_enable nls) $(use_enable ipv6) || die "configure failed" |
89 |
emake || die "Compilation failed" |
90 |
|
91 |
if use doc; then |
92 |
emake html || die 'html compilation failed' |
93 |
fi |
94 |
|
95 |
if use emacs; then |
96 |
cd contrib |
97 |
elisp-comp *.el || die "elisp-comp failed" |
98 |
fi |
99 |
} |
100 |
|
101 |
src_test() { |
102 |
emake check || die "self test failed" |
103 |
} |
104 |
|
105 |
src_install() { |
106 |
emake DESTDIR="${D}" install || die "Installation failed" |
107 |
|
108 |
mv "${D}"/usr/share/doc/"${PN}" "${D}"/usr/share/doc/"${PF}" |
109 |
|
110 |
dobashcompletion contrib/monotone.bash_completion |
111 |
|
112 |
if use doc; then |
113 |
dohtml -r html/* |
114 |
dohtml -r figures |
115 |
fi |
116 |
|
117 |
if use emacs; then |
118 |
elisp-install ${PN} contrib/*.{el,elc} || die "elisp-install failed" |
119 |
elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el \ |
120 |
|| die "elisp-site-file-install failed" |
121 |
fi |
122 |
|
123 |
dodoc ABOUT-NLS AUTHORS ChangeLog NEWS README* UPGRADE |
124 |
docinto contrib |
125 |
dodoc contrib/* |
126 |
newconfd "${FILESDIR}"/monotone.confd monotone |
127 |
newinitd "${FILESDIR}"/${PN}-0.36.initd monotone |
128 |
|
129 |
insinto /etc/monotone ; |
130 |
newins "${FILESDIR}"/hooks.lua hooks.lua |
131 |
newins "${FILESDIR}"/read-permissions read-permissions |
132 |
newins "${FILESDIR}"/write-permissions write-permissions |
133 |
|
134 |
keepdir /var/lib/monotone/keys/ /var/log/monotone /var/run/monotone |
135 |
fowners monotone:monotone /var/lib/monotone /var/lib/monotone/keys/ \ |
136 |
/var/log/monotone /var/run/monotone |
137 |
} |
138 |
|
139 |
pkg_postinst() { |
140 |
use emacs && elisp-site-regen |
141 |
bash-completion_pkg_postinst |
142 |
|
143 |
elog |
144 |
elog "For details and instructions to upgrade from previous versions," |
145 |
elog "please read /usr/share/doc/${PF}/UPGRADE.gz" |
146 |
elog |
147 |
elog " 1. edit /etc/conf.d/monotone" |
148 |
elog " 2. import the first keys to enable access with" |
149 |
elog " env HOME=\${homedir} mtn pubkey me@×××××××.net | /etc/init.d/monotone import" |
150 |
elog " Thereafter, those with write permission can add other keys via" |
151 |
elog " netsync with 'monotone push --key-to-push=IDENT' and then IDENT" |
152 |
elog " can be used in the read-permission and write-permission files." |
153 |
elog " 3. adjust permisions in /etc/monotone/read-permissions" |
154 |
elog " and /etc/monotone/write-permissions" |
155 |
elog " 4. start the daemon: /etc/init.d/monotone start" |
156 |
elog " 5. make persistent: rc-update add monotone default" |
157 |
elog |
158 |
} |
159 |
|
160 |
pkg_postrm() { |
161 |
use emacs && elisp-site-regen |
162 |
} |
163 |
|
164 |
|
165 |
|
166 |
-- |
167 |
gentoo-commits@g.o mailing list |