Gentoo Archives: gentoo-commits

From: "Benda XU (heroxbd)" <heroxbd@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/unison: unison-2.40.65.ebuild ChangeLog
Date: Wed, 06 Jun 2012 16:36:42
Message-Id: 20120606163631.5CE1C2004B@flycatcher.gentoo.org
1 heroxbd 12/06/06 16:36:31
2
3 Modified: ChangeLog
4 Added: unison-2.40.65.ebuild
5 Log:
6 bump closing bug 353282. Thanks to Thomas and all the people who commented and pushed
7
8 (Portage version: 2.1.10.57/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.66 net-misc/unison/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/unison/ChangeLog?rev=1.66&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/unison/ChangeLog?rev=1.66&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/unison/ChangeLog?r1=1.65&r2=1.66
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/unison/ChangeLog,v
20 retrieving revision 1.65
21 retrieving revision 1.66
22 diff -u -r1.65 -r1.66
23 --- ChangeLog 5 Feb 2012 18:44:46 -0000 1.65
24 +++ ChangeLog 6 Jun 2012 16:36:31 -0000 1.66
25 @@ -1,6 +1,12 @@
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.65 2012/02/05 18:44:46 armin76 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/unison/ChangeLog,v 1.66 2012/06/06 16:36:31 heroxbd Exp $
30 +
31 +*unison-2.40.65 (06 Jun 2012)
32 +
33 + 06 Jun 2012; Benda Xu <heroxbd@g.o> +unison-2.40.65.ebuild:
34 + bump closing bug 353282. Thanks to Thomas and all the people who commented and
35 + pushed
36
37 05 Feb 2012; Raúl Porcel <armin76@g.o> unison-2.13.16-r1.ebuild,
38 unison-2.27.57-r1.ebuild, unison-2.32.52.ebuild:
39
40
41
42 1.1 net-misc/unison/unison-2.40.65.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/unison/unison-2.40.65.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/unison/unison-2.40.65.ebuild?rev=1.1&content-type=text/plain
46
47 Index: unison-2.40.65.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-misc/unison/unison-2.40.65.ebuild,v 1.1 2012/06/06 16:36:31 heroxbd Exp $
52
53 EAPI="2"
54
55 inherit eutils versionator
56
57 IUSE="gtk doc static debug threads +ocamlopt test"
58
59 DESCRIPTION="Two-way cross-platform file synchronizer"
60 HOMEPAGE="http://www.cis.upenn.edu/~bcpierce/unison/"
61 LICENSE="GPL-2"
62 SLOT="$(get_version_component_range 1-2 ${PV})"
63 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
64
65 # ocaml version so we are sure it has ocamlopt use flag
66 DEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?]
67 gtk? ( >=dev-ml/lablgtk-2.2 )
68 test? ( || ( dev-util/ctags virtual/emacs ) )"
69
70 RDEPEND="gtk? ( >=dev-ml/lablgtk-2.2
71 || ( net-misc/x11-ssh-askpass net-misc/ssh-askpass-fullscreen ) )
72 !net-misc/unison:0
73 app-admin/eselect-unison"
74
75 #PDEPEND="gtk? ( media-fonts/font-schumacher-misc )"
76
77 SRC_URI="http://www.cis.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}.tar.gz
78 doc? ( http://www.cis.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}-manual.pdf
79 http://www.cis.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}-manual.html )"
80
81 src_compile() {
82 local myconf
83
84 if use threads; then
85 myconf="$myconf THREADS=true"
86 fi
87
88 if use static; then
89 myconf="$myconf STATIC=true"
90 fi
91
92 if use debug; then
93 myconf="$myconf DEBUGGING=true"
94 fi
95
96 if use gtk; then
97 myconf="$myconf UISTYLE=gtk2"
98 else
99 myconf="$myconf UISTYLE=text"
100 fi
101
102 use ocamlopt || myconf="$myconf NATIVE=false"
103
104 # Discard cflags as it will try to pass them to ocamlc...
105 emake $myconf CFLAGS="" buildexecutable || die "error making unsion"
106 }
107
108 src_test() {
109 emake selftest || die "selftest failed"
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 use ocamlopt || export STRIP_MASK="*/bin/*"
124 }
125
126 pkg_postinst() {
127 elog "Unison now uses SLOTs, so you can specify servercmd=/usr/bin/unison-${SLOT}"
128 elog "in your profile files to access exactly this version over ssh."
129 elog "Or you can use 'eselect unison' to set the version."
130 }