From: | "Alexis Ballier (aballier)" <aballier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-misc/unison: ChangeLog unison-2.13.16-r1.ebuild |
Date: | Mon, 16 Jun 2008 20:20:14 |
Message-Id: | E1K8LBQ-0003zd-Ca@stork.gentoo.org |
1 | aballier 08/06/16 20:20:08 |
2 | |
3 | Modified: ChangeLog |
4 | Added: unison-2.13.16-r1.ebuild |
5 | Log: |
6 | slotted 2.13.16 for bug #183019 |
7 | (Portage version: 2.1.5.5) |
8 | |
9 | Revision Changes Path |
10 | 1.50 net-misc/unison/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/unison/ChangeLog?rev=1.50&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/unison/ChangeLog?rev=1.50&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/unison/ChangeLog?r1=1.49&r2=1.50 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/net-misc/unison/ChangeLog,v |
19 | retrieving revision 1.49 |
20 | retrieving revision 1.50 |
21 | diff -u -r1.49 -r1.50 |
22 | --- ChangeLog 13 Jun 2008 19:34:39 -0000 1.49 |
23 | +++ ChangeLog 16 Jun 2008 20:20:07 -0000 1.50 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for net-misc/unison |
26 | # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/net-misc/unison/ChangeLog,v 1.49 2008/06/13 19:34:39 mabi Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/net-misc/unison/ChangeLog,v 1.50 2008/06/16 20:20:07 aballier Exp $ |
29 | + |
30 | +*unison-2.13.16-r1 (16 Jun 2008) |
31 | + |
32 | + 16 Jun 2008; Alexis Ballier <aballier@g.o> |
33 | + +unison-2.13.16-r1.ebuild: |
34 | + slotted 2.13.16 for bug #183019 |
35 | |
36 | 13 Jun 2008; Matti Bickel <mabi@g.o> unison-2.27.57-r1.ebuild: |
37 | ~ppc added (bug #207746) |
38 | |
39 | |
40 | |
41 | 1.1 net-misc/unison/unison-2.13.16-r1.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/unison/unison-2.13.16-r1.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/unison/unison-2.13.16-r1.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: unison-2.13.16-r1.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2008 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.13.16-r1.ebuild,v 1.1 2008/06/16 20:20:07 aballier Exp $ |
51 | |
52 | EAPI=1 |
53 | |
54 | inherit eutils versionator |
55 | |
56 | IUSE="gtk doc static debug threads" |
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 ~sparc ~x86" |
63 | |
64 | DEPEND=">=dev-lang/ocaml-3.04 |
65 | gtk? ( >=dev-ml/lablgtk-2.2 )" |
66 | |
67 | RDEPEND="gtk? ( >=dev-ml/lablgtk-2.2 |
68 | || ( net-misc/x11-ssh-askpass net-misc/gtk2-ssh-askpass ) ) |
69 | !net-misc/unison:0 |
70 | app-admin/eselect-unison" |
71 | |
72 | PDEPEND="gtk? ( media-fonts/font-schumacher-misc )" |
73 | |
74 | SRC_URI="http://www.cis.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}.tar.gz |
75 | doc? ( http://www.cis.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}-manual.pdf |
76 | http://www.cis.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}-manual.html )" |
77 | |
78 | src_unpack() { |
79 | unpack ${P}.tar.gz |
80 | |
81 | # Fix for coreutils change of tail syntax |
82 | cd "${S}" |
83 | sed -i -e 's/tail -1/tail -n 1/' Makefile.OCaml |
84 | epatch "${FILESDIR}/${PN}-2.27.57-as-needed.patch" |
85 | } |
86 | |
87 | src_compile() { |
88 | local myconf |
89 | |
90 | if use threads; then |
91 | myconf="$myconf THREADS=true" |
92 | fi |
93 | |
94 | if use static; then |
95 | myconf="$myconf STATIC=true" |
96 | fi |
97 | |
98 | if use debug; then |
99 | myconf="$myconf DEBUGGING=true" |
100 | fi |
101 | |
102 | if use gtk; then |
103 | myconf="$myconf UISTYLE=gtk2" |
104 | else |
105 | myconf="$myconf UISTYLE=text" |
106 | fi |
107 | |
108 | # Discard cflags as it will try to pass them to ocamlc... |
109 | emake -j1 $myconf CFLAGS="" || die "error making unsion" |
110 | } |
111 | |
112 | src_install () { |
113 | # install manually, since it's just too much |
114 | # work to force the Makefile to do the right thing. |
115 | newbin unison unison-${SLOT} || die |
116 | dodoc BUGS.txt CONTRIB INSTALL NEWS \ |
117 | README ROADMAP.txt TODO.txt || die |
118 | |
119 | if use doc; then |
120 | dohtml "${DISTDIR}/${P}-manual.html" || die |
121 | dodoc "${DISTDIR}/${P}-manual.pdf" || die |
122 | fi |
123 | } |
124 | |
125 | pkg_postinst() { |
126 | elog "Unison now uses SLOTs, so you can specify servercmd=/usr/bin/unison-${SLOT}" |
127 | elog "in your profile files to access exactly this version over ssh." |
128 | elog "Or you can use 'eselect unison' to set the version." |
129 | } |
130 | |
131 | |
132 | |
133 | -- |
134 | gentoo-commits@l.g.o mailing list |