Hanspeter and Alexander,
many thanks for following this up and testing.
On Sun, 23 Oct 2011, Hanspeter Niederstrasser wrote:
On 10/23/2011 5:14 PM, Alexander Hansen wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10/23/11 4:22 PM, Hanspeter Niederstrasser wrote:
On 10/14/2011 6:58 PM, Viv Kendon wrote:
There have been some mac-friendly bug fixes to unison, and the
current version compiles and installs (non-Aqua) just fine for me
on 10.6.8 (I can't test any other OS versions).
The version included in that email built fine for me on 10.5/i386
(both -nox and .) although the .info failed to pass validation (the
added indentation in DescDetail pushes the lines past 79
characters). As mentioned by Alexander, it will also need
"UseMaxBuildJobs: false" to force a single processor. Can the
dependencies be modernized? For example to libpng15 and
libgettext8(-dev,-shlibs)?
I changed libgettext to 8 and libpng to 15 as you suggested,
fixed the line-wrapping, and added UseMaxBuildJobs: false.
It built fine on 10.6.8, and worked fine against 2.40.1 as
well as itself (having recently built 2.40.63 on a couple of
linux systems, I know it is fairly robust in variation of
its dependencies). Revision 2 info file attached.
Also, the previous version of unison in Fink included 4 unison
releases (supposedly for backwards compatibility with unison
servers). This package version includes only the latest release.
That's obviously much easier to maintain, but will there be any
real loss in functionality in losing the older versions? I don't
use unison, so have no idea how it functions or how widespread the
older releases are in use.
Unison can only sync between the same major.minor version, e.g.
2.40.63 can only sync with any 2.40.x, and no other 2.y.z . That's
what motivated the multi-version install.
It's probably worth looking at what is available in contemporary Linux
distributions, Macports, Cygwin, ... and what the current install
options are for prebuilt binaries for Windows or Mac OS X.
MacPorts only has 2.32.52 near as I can tell. Cygwin has 2.27, 2.32,
and 2.40 as individual packages (example FS layout for 2.40 [1]). Debian
seems to have 2.13, 2.27, and 2.32 as separate packages as well. The
official unofficial binaries seem to be single version [2].
[1] http://cygwin.com/packages/unison2.40/unison2.40-2.40.16-2
[2] http://alan.petitepomme.net/unison/index.html
Would having the different versions as separate packages work
(unisonX.YY), with a splitoff 'unison' that sets the %p/bin/unison-[%ui]
--> unison-%v-[%ui] work? This should make all the versions available,
with the latest version having precedence for the unversioned binary
(firefox(%v=3-8) works like this)?
You may want to note this from the user manual:
http://www.cis.upenn.edu/~bcpierce/unison/download/releases/stable/unison-manual.html#running
addversionno
When this flag is set to true, Unison will use
unison-currentversionnumber instead of just unison as the
remote server command. This allows multiple binaries for
different versions of unison to coexist conveniently on the
same server: whichever version is run on the client, the
same version will be selected on the server.
So multiple versions seems like the right way to go, and
they can happily coexist.
The reason why having the latest version 2.40.63 is good for
Macs is that it supports case sensitive and the specific Mac
flavour of case insensitive properly (using the ignorecase
true/false parameter), and it supports unicode filenames
(both these need > 2.40.16 for recent bug fixes).
I have "used to work" info files for 2.27.57, 2.32.52,
2.40.1 and 2.40.16 as well as the attached. I don't think
the Aqua interface is important. IIRC the last working
incarnation of it (2.27.57??) was pretty unstable (easy to
crash), while the X11 interface seems to be solid. With X11
included as standard in OSX now, it should at least work
reliably, even if people don't think it is "pretty". If
someone is willing to put in the work, of course it would be
nice, but it will need more than tweaking info files and
testing.
Let me know if there is anything else I can help to test.
many thanks,
-- Viv
________________________________________________
Dr Viv Kendon http://quantum.leeds.ac.uk/~viv
tel: +44 113 343 4864 Physics and Astronomy
Quantum Information Group University of Leeds
Info2: <<
Package: unison%type_pkg[uitype]
Version: 2.40.63
Revision: 2
Type: uitype (. -nox)
Description: File synchronization tool
License: GPL
Homepage: http://www.cis.upenn.edu/~bcpierce/unison/
Maintainer: Monic Polynomial <[email protected]>
Source:
http://www.cis.upenn.edu/~bcpierce/unison/download/releases/%{ni}-%v/%{ni}-%v.tar.gz
Source-MD5: 3281207850cf6f0a17fe73f371893bd3
UseMaxBuildJobs: false
BuildDepends: <<
(%type_raw[uitype] = .) aspell-dev,
(%type_raw[uitype] = .) atk1 (>= 1.20.0-1),
(%type_raw[uitype] = .) audiofile,
(%type_raw[uitype] = .) cairo (>= 1.6-1),
(%type_raw[uitype] = .) esound,
(%type_raw[uitype] = .) expat1,
fink (>= 0.24.12),
(%type_raw[uitype] = .) fontconfig2-dev (>= 2.4.1-1),
(%type_raw[uitype] = .) freetype219 (>= 2.3.5-1),
(%type_raw[uitype] = .) gconf2-dev (>= 2.20.0-1),
(%type_raw[uitype] = .) gettext-tools,
(%type_raw[uitype] = .) glib2-dev (>= 2.14.0-1),
(%type_raw[uitype] = .) glitz,
(%type_raw[uitype] = .) gnome-keyring-dev,
(%type_raw[uitype] = .) gnome-panel-dev (>= 2.20.0-1),
(%type_raw[uitype] = .) gnome-vfs2-unified-dev (>= 1:2.20.0-1),
(%type_raw[uitype] = .) gtk+2-dev (>= 2.12.0-1),
(%type_raw[uitype] = .) gtkglarea2,
(%type_raw[uitype] = .) gtksourceview-dev,
(%type_raw[uitype] = .) gtkspell2-dev (>= 2.0.11-1004),
(%type_raw[uitype] = .) lablgtk2 (>= 2.10.1-1),
(%type_raw[uitype] = .) libart2,
(%type_raw[uitype] = .) libbonobo2-dev (>= 2.20.0-1),
(%type_raw[uitype] = .) libbonoboui2-dev (>= 2.20.0-1),
(%type_raw[uitype] = .) libgettext8-dev,
(%type_raw[uitype] = .) libglade2 (>= 2.6.2-1),
(%type_raw[uitype] = .) libgnome2-dev (>= 2.20.0-1),
(%type_raw[uitype] = .) libgnomecanvas2-dev (>= 2.20.0-1),
(%type_raw[uitype] = .) libgnomeprint2.2-dev,
(%type_raw[uitype] = .) libgnomeui2-dev (>= 2.20.0-1),
(%type_raw[uitype] = .) libiconv-dev,
(%type_raw[uitype] = .) libpng15,
(%type_raw[uitype] = .) librsvg2 (>= 2.20.0-1),
(%type_raw[uitype] = .) libxml2 (>= 2.6.30-1),
ocaml (>=3.08),
(%type_raw[uitype] = .) orbit2-dev (>= 2.14.9-1),
(%type_raw[uitype] = .) pango1-xft2-ft219-dev (>= 1.18.4-4),
(%type_raw[uitype] = .) pixman (>= 0.10.0-1),
(%type_raw[uitype] = .) pkgconfig (>= 0.21-1),
(%type_raw[uitype] = .) popt,
(%type_raw[uitype] = .) x11-dev,
(%type_raw[uitype] = .) xft2-dev
<<
Depends: <<
(%type_raw[uitype] = .) atk1-shlibs (>= 1.20.0-1),
(%type_raw[uitype] = .) cairo-shlibs (>= 1.6-1),
(%type_raw[uitype] = .) fontconfig2-shlibs (>= 2.4.1-1),
(%type_raw[uitype] = .) freetype219-shlibs (>= 2.3.5-1),
(%type_raw[uitype] = .) glib2-shlibs (>= 2.14.0-1),
(%type_raw[uitype] = .) gtk+2-shlibs (>= 2.12.0-1),
(%type_raw[uitype] = .) libgettext8-shlibs,
(%type_raw[uitype] = .) pango1-xft2-ft219-shlibs (>= 1.18.4-4)
<<
CompileScript: <<
#!/bin/bash -ev
case %type_raw[uitype] in
-nox) UISTYLE=text;;
.) UISTYLE=gtk2;;
esac
make UISTYLE=$UISTYLE THREADS=true
<<
InstallScript: <<
#!/bin/bash -ev
case %type_raw[uitype] in
-nox) BINNAME=unison-nox;;
.) BINNAME=unison;;
esac
/bin/mkdir -p %i/bin
/usr/bin/install unison %i/bin/$BINNAME
<<
DocFiles: BUGS.txt CONTRIB COPYING NEWS README ROADMAP.txt TODO.txt
DescDetail: <<
Unison is a file-synchronization tool for Unix and Windows. It allows two
replicas of a collection of files and directories to be stored on different
hosts (or different disks on the same host), modified separately, and then
brought up to date by propagating the changes in each replica to the other.
Unison shares a number of features with tools such as configuration
management packages (CVS, PRCS, etc.) distributed filesystems (Coda, etc.)
uni-directional mirroring utilities (rsync, etc.) and other synchronizers
(Intellisync, Reconcile, etc).
The unison package installs a program called unison which is the console-
only version. The unison-gtk package installs a program called unison-gtk
with the GTK2 graphical user interface.
<<
DescPackaging: <<
I've disabled the native GUI for the moment because it does not build.
I have to look more carefully at the OCaml native binary mechanism.
<<
<<
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users