summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Sozeau <mattam@gentoo.org>2004-08-09 10:40:37 +0000
committerMatthieu Sozeau <mattam@gentoo.org>2004-08-09 10:40:37 +0000
commitf6c12cee3f621d49b0e7dcc085f39bda9110ffe5 (patch)
treebcff8e7b0dc50e279f0343ed9271de6cb86bea2a /net-misc/unison
parentversion bump, bug #59476 (Manifest recommit) (diff)
downloadgentoo-2-f6c12cee3f621d49b0e7dcc085f39bda9110ffe5.tar.gz
gentoo-2-f6c12cee3f621d49b0e7dcc085f39bda9110ffe5.tar.bz2
gentoo-2-f6c12cee3f621d49b0e7dcc085f39bda9110ffe5.zip
Fix bug #59762, add metatada.xml and move to stable on ppc.
Diffstat (limited to 'net-misc/unison')
-rw-r--r--net-misc/unison/ChangeLog9
-rw-r--r--net-misc/unison/files/digest-unison-2.9.1-r11
-rw-r--r--net-misc/unison/files/ocaml-3.08-extnames.patch14
-rw-r--r--net-misc/unison/metadata.xml5
-rw-r--r--net-misc/unison/unison-2.9.1-r1.ebuild53
5 files changed, 81 insertions, 1 deletions
diff --git a/net-misc/unison/ChangeLog b/net-misc/unison/ChangeLog
index d3fb0fde4d3c..9cc0859ae09b 100644
--- a/net-misc/unison/ChangeLog
+++ b/net-misc/unison/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-misc/unison
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/unison/ChangeLog,v 1.16 2004/07/26 14:31:01 alexander Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/unison/ChangeLog,v 1.17 2004/08/09 10:40:37 mattam Exp $
+
+*unison-2.9.1-r1 (09 Aug 2004)
+
+ 09 Aug 2004; Matthieu Sozeau <mattam@gentoo.org>
+ +files/ocaml-3.08-extnames.patch, +unison-2.9.1-r1.ebuild, +metadata.xml:
+ Fix compilation bug with ocaml-3.08, thanks for Bardur Arantsson
+ <gentoo@scientician.net> for the patch (bug #59762). Stable on ppc.
26 Jul 2004; Alexander Plank <alexander@gentoo.org> unison-2.9.1.ebuild:
adding macos keyword (thanks Philippe Bouamriou who started bug #57918)
diff --git a/net-misc/unison/files/digest-unison-2.9.1-r1 b/net-misc/unison/files/digest-unison-2.9.1-r1
new file mode 100644
index 000000000000..0431bf98c368
--- /dev/null
+++ b/net-misc/unison/files/digest-unison-2.9.1-r1
@@ -0,0 +1 @@
+MD5 d8084fa87c13671de21ec1b701a4606c unison-2.9.1.tar.gz 319081
diff --git a/net-misc/unison/files/ocaml-3.08-extnames.patch b/net-misc/unison/files/ocaml-3.08-extnames.patch
new file mode 100644
index 000000000000..e959be2f3991
--- /dev/null
+++ b/net-misc/unison/files/ocaml-3.08-extnames.patch
@@ -0,0 +1,14 @@
+diff -ur unison-2.9.1/ubase/uprintf.ml unison-2.9.1.patched/ubase/uprintf.ml
+--- unison-2.9.1/ubase/uprintf.ml 2002-04-11 07:13:23.000000000 +0200
++++ unison-2.9.1.patched/ubase/uprintf.ml 2004-08-08 14:10:09.784776851 +0200
+@@ -10,8 +10,8 @@
+ (* *)
+ (***********************************************************************)
+
+-external format_int: string -> int -> string = "format_int"
+-external format_float: string -> float -> string = "format_float"
++external format_int: string -> int -> string = "caml_format_int"
++external format_float: string -> float -> string = "caml_format_float"
+
+ let fprintf outchan doafter format =
+ let format = (Obj.magic format : string) in
diff --git a/net-misc/unison/metadata.xml b/net-misc/unison/metadata.xml
new file mode 100644
index 000000000000..2193d772e351
--- /dev/null
+++ b/net-misc/unison/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
diff --git a/net-misc/unison/unison-2.9.1-r1.ebuild b/net-misc/unison/unison-2.9.1-r1.ebuild
new file mode 100644
index 000000000000..217d1fb24354
--- /dev/null
+++ b/net-misc/unison/unison-2.9.1-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/unison/unison-2.9.1-r1.ebuild,v 1.1 2004/08/09 10:40:37 mattam Exp $
+
+inherit eutils
+
+IUSE="gtk"
+
+DESCRIPTION="Two-way cross-platform file synchronizer"
+HOMEPAGE="http://www.cis.upenn.edu/~bcpierce/unison/"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 sparc ppc alpha ~amd64 macos"
+
+DEPEND=">=dev-lang/ocaml-3.04
+ gtk? ( =dev-ml/lablgtk-1.2* )"
+RDEPEND="gtk? ( =x11-libs/gtk+-1.2* )"
+
+SRC_URI="mirror://${P}.tar.gz"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+
+ # Fix for ocaml-3.08 change in exported symbol names
+ if has_version '>=ocaml-3.08'; then
+ epatch ${FILESDIR}/ocaml-3.08-extnames.patch
+ fi
+
+ # Fix for coreutils change of tail syntax
+ cd ${S}
+ sed -i -e 's/tail -1/tail -n 1/' Makefile.OCaml
+}
+
+src_compile() {
+
+ local myconf
+
+ if use gtk; then
+ myconf="$myconf UISTYLE=gtk"
+ else
+ myconf="$myconf UISTYLE=text"
+ fi
+
+ make $myconf CFLAGS="" || die
+}
+
+src_install () {
+ # install manually, since it's just too much
+ # work to force the Makefile to do the right thing.
+ dobin unison
+ dodoc BUGS.txt CONTRIB COPYING INSTALL NEWS \
+ README ROADMAP.txt TODO.txt
+}