1 |
heroxbd 12/06/18 11:41:49 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: unison-2.27.157.ebuild |
5 |
Log: |
6 |
version bump to 2.27.157, wrt bug 417619. keyword ~amd64-linux |
7 |
|
8 |
(Portage version: 2.1.10.65/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.68 net-misc/unison/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/unison/ChangeLog?rev=1.68&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/unison/ChangeLog?rev=1.68&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/unison/ChangeLog?r1=1.67&r2=1.68 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/unison/ChangeLog,v |
20 |
retrieving revision 1.67 |
21 |
retrieving revision 1.68 |
22 |
diff -u -r1.67 -r1.68 |
23 |
--- ChangeLog 11 Jun 2012 12:28:47 -0000 1.67 |
24 |
+++ ChangeLog 18 Jun 2012 11:41:49 -0000 1.68 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for net-misc/unison |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/unison/ChangeLog,v 1.67 2012/06/11 12:28:47 heroxbd Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/unison/ChangeLog,v 1.68 2012/06/18 11:41:49 heroxbd Exp $ |
30 |
+ |
31 |
+*unison-2.27.157 (18 Jun 2012) |
32 |
+ |
33 |
+ 18 Jun 2012; Benda Xu <heroxbd@g.o> +unison-2.27.157.ebuild: |
34 |
+ version bump to 2.27.157, wrt bug 417619. keyword ~amd64-linux |
35 |
|
36 |
*unison-2.45.4 (11 Jun 2012) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 net-misc/unison/unison-2.27.157.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/unison/unison-2.27.157.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/unison/unison-2.27.157.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: unison-2.27.157.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2012 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/unison/unison-2.27.157.ebuild,v 1.1 2012/06/18 11:41:49 heroxbd Exp $ |
51 |
|
52 |
EAPI="2" |
53 |
|
54 |
inherit eutils versionator |
55 |
|
56 |
IUSE="gtk doc static debug threads +ocamlopt" |
57 |
|
58 |
DESCRIPTION="Two-way cross-platform file synchronizer" |
59 |
HOMEPAGE="http://www.cis.upenn.edu/~bcpierce/unison/" |
60 |
LICENSE="GPL-2" |
61 |
SLOT="$(get_version_component_range 1-2 ${PV})" |
62 |
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux" |
63 |
|
64 |
# ocaml version so we are sure it has ocamlopt use flag |
65 |
DEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?] |
66 |
gtk? ( >=dev-ml/lablgtk-2.2 )" |
67 |
|
68 |
RDEPEND="gtk? ( >=dev-ml/lablgtk-2.2 |
69 |
|| ( net-misc/x11-ssh-askpass net-misc/ssh-askpass-fullscreen ) ) |
70 |
!net-misc/unison:0 |
71 |
app-admin/eselect-unison" |
72 |
|
73 |
PDEPEND="gtk? ( media-fonts/font-schumacher-misc )" |
74 |
|
75 |
SRC_URI="http://www.cis.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}.tar.gz |
76 |
doc? ( http://www.cis.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}-manual.pdf |
77 |
http://www.cis.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}-manual.html )" |
78 |
|
79 |
src_prepare() { |
80 |
epatch "${FILESDIR}/${P}-as-needed.patch" |
81 |
epatch "${FILESDIR}/${PN}-mymap.patch" |
82 |
} |
83 |
|
84 |
src_compile() { |
85 |
local myconf |
86 |
|
87 |
if use threads; then |
88 |
myconf="$myconf THREADS=true" |
89 |
fi |
90 |
|
91 |
if use static; then |
92 |
myconf="$myconf STATIC=true" |
93 |
fi |
94 |
|
95 |
if use debug; then |
96 |
myconf="$myconf DEBUGGING=true" |
97 |
fi |
98 |
|
99 |
if use gtk; then |
100 |
myconf="$myconf UISTYLE=gtk2" |
101 |
else |
102 |
myconf="$myconf UISTYLE=text" |
103 |
fi |
104 |
|
105 |
use ocamlopt || myconf="$myconf NATIVE=false" |
106 |
|
107 |
# Discard cflags as it will try to pass them to ocamlc... |
108 |
emake -j1 $myconf CFLAGS="" || die "error making unsion" |
109 |
} |
110 |
|
111 |
src_test() { |
112 |
emake selftest || die "selftest failed" |
113 |
} |
114 |
|
115 |
src_install () { |
116 |
# install manually, since it's just too much |
117 |
# work to force the Makefile to do the right thing. |
118 |
newbin unison unison-${SLOT} || die |
119 |
dodoc BUGS.txt CONTRIB INSTALL NEWS \ |
120 |
README ROADMAP.txt TODO.txt || die |
121 |
|
122 |
if use doc; then |
123 |
dohtml "${DISTDIR}/${P}-manual.html" || die |
124 |
dodoc "${DISTDIR}/${P}-manual.pdf" || die |
125 |
fi |
126 |
use ocamlopt || export STRIP_MASK="*/bin/*" |
127 |
} |
128 |
|
129 |
pkg_postinst() { |
130 |
elog "Unison now uses SLOTs, so you can specify servercmd=/usr/bin/unison-${SLOT}" |
131 |
elog "in your profile files to access exactly this version over ssh." |
132 |
elog "Or you can use 'eselect unison' to set the version." |
133 |
} |