Update of /cvsroot/fink/experimental/monipol/finkinfo
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv18557

Added Files:
        unison.info 
Log Message:
Fixes duplicate str.cma error.


--- NEW FILE: unison.info ---
Info2: <<
Package: unison%type_pkg[uitype]
Version: 2.27.57
Revision: 1008
Type: uitype (. -nox -aqua)
Description: File synchronization tool
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).

This package includes multiple versions of Unison: 2.9.1, 2.10.2,
2.13.16 and 2.27.57.  The Aqua interface is only available for the
latter two.

Note: All variants can be installed simultaneously.  This package uses the
update-alternatives system so that the command 'unison' automatically uses
the best-available UI for the highest-available version.  Other versions
can be run using 'unison-[version]' or 'unison-[version]-[uitype].  Type
'ls %p/bin/unison*' and 'man update-alternatives' for more information.
<<
DescPackaging: <<
Unison requires the versions used on client and server to match (major and
minor for versions up to 2.12, major only for 2.13+).  Most OS
distributions provide only one version -- 2.9.1, 2.10.2 or 2.13.  This
package is interoperable with all such distributions.
<<
License: GPL
Source: 
http://www.cis.upenn.edu/~bcpierce/unison/download/stable/unison-2.9.1/src.tar.gz
SourceRename: unison-2.9.1.tar.gz
Source-MD5: d8084fa87c13671de21ec1b701a4606c
Source2: 
http://www.cis.upenn.edu/~bcpierce/unison/download/stable/unison-2.9.1/unison-manual.html
Source2Rename: unison-2.9.1-manual.html
Source2-MD5: 9fc2f7e967b3ddf24abd2c5170d8d7eb
Source3: 
http://www.cis.upenn.edu/~bcpierce/unison/download/stable/unison-2.10.2/unison-2.10.2.tar.gz
Source3-MD5: a93cf03d4221ab6bab8b758b0325a9d5
Source4: 
http://www.cis.upenn.edu/~bcpierce/unison/download/stable/unison-2.10.2/unison-2.10.2-manual.html
Source4-MD5: 32327d9239b7abe688cecd6ceaa3dd47
Source5: 
http://www.cis.upenn.edu/~bcpierce/unison/download/releases/stable/unison-2.13.16.tar.gz
Source5-MD5: a79bf5f4ebf2a1eaf15b1ac97f827374
Source6: 
http://www.cis.upenn.edu/~bcpierce/unison/download/releases/stable/unison-2.13.16-manual.html
Source6-MD5: 2b39e52ec3893a112b28b7b0a294d941
Source7: 
http://www.cis.upenn.edu/~bcpierce/unison/download/releases/stable/unison-2.27.57.tar.gz
Source7-MD5: 4ba0a3e4bf4b4ad0c063f86391371f78
Source8: 
http://www.cis.upenn.edu/~bcpierce/unison/download/releases/stable/unison-2.27.57-manual.html
Source8-MD5: 0d15059f968d847ce75bafea34fe1c30
Source9: http://akhmac.blogdns.net/~hansen/sources/%{ni}.patch
Source9-MD5: 48b35b2cd2cc5656e04b39f2836c40b8

Maintainer: None <fink-de...@lists.sourceforge.net>
Homepage: http://www.cis.upenn.edu/~bcpierce/unison/
DocFiles: <<
COPYING CONTRIB README ROADMAP.txt
BUGS.txt:BUGS-2.9.1.txt INSTALL:INSTALL-2.9.1 NEWS:NEWS-2.9.1 
TODO.txt:TODO-2.9.1.txt
../unison-2.9.1-manual.html
../unison-2.10.2/BUGS.txt:BUGS-2.10.2.txt 
../unison-2.10.2/INSTALL:INSTALL-2.10.2
../unison-2.10.2/NEWS:NEWS-2.10.2 ../unison-2.10.2/TODO.txt:TODO-2.10.2.txt
../unison-2.10.2-manual.html
../unison-2.13.16/BUGS.txt:BUGS-2.13.16.txt 
../unison-2.13.16/INSTALL:INSTALL-2.13.16
../unison-2.13.16/NEWS:NEWS-2.13.16 ../unison-2.13.16/TODO.txt:TODO-2.13.16.txt
../unison-2.13.16-manual.html
../unison-2.27.57/BUGS.txt:BUGS-2.27.57.txt 
../unison-2.27.57/INSTALL:INSTALL-2.27.57
../unison-2.27.57/NEWS:NEWS-2.27.57 ../unison-2.27.57/TODO.txt:TODO-2.27.57.txt
../unison-2.27.57-manual.html
<<
BuildDepends: <<
  ocaml (>=3.08),
  (%type_raw[uitype] = .) lablgtk (>= 1.2.7-1002),
  (%type_raw[uitype] = .) gtk+,
  (%type_raw[uitype] = .) glib,
  (%type_raw[uitype] = .) lablgtk2 (>= 2.10.1-1),
  (%type_raw[uitype] = .) x11-dev,
  (%type_raw[uitype] = .) gtk+2-dev (>= 2.12.0-1),
  (%type_raw[uitype] = .) glib2-dev (>= 2.14.0-1),
  (%type_raw[uitype] = .) atk1 (>= 1.20.0-1),
  (%type_raw[uitype] = .) cairo (>= 1.6-1),
  (%type_raw[uitype] = .) libpng3,
  (%type_raw[uitype] = .) expat1,
  (%type_raw[uitype] = .) glitz,
  (%type_raw[uitype] = .) fontconfig2-dev (>= 2.4.1-1),
  (%type_raw[uitype] = .) freetype219 (>= 2.3.5-1),
  (%type_raw[uitype] = .) xft2-dev,
  (%type_raw[uitype] = .) pango1-xft2-ft219-dev (>= 1.18.4-4),
  (%type_raw[uitype] = .) pixman (>= 0.10.0-1),
  (%type_raw[uitype] = .) libgettext3-dev,
  (%type_raw[uitype] = .) libiconv-dev
<<
Depends: <<
  (%type_raw[uitype] = .) gtk+-shlibs,
  (%type_raw[uitype] = .) glib-shlibs,
  (%type_raw[uitype] = .) x11-shlibs, 
  (%type_raw[uitype] = .) gtk+2-shlibs (>= 2.12.0-1), 
  (%type_raw[uitype] = .) glib2-shlibs (>= 2.14.0-1),
  (%type_raw[uitype] = .) atk1-shlibs (>= 1.20.0-1),
  (%type_raw[uitype] = .) pango1-xft2-ft219-shlibs (>= 1.18.4-4), 
  (%type_raw[uitype] = .) pkgconfig (>= 0.21-1),
  (%type_raw[uitype] = .) libgettext3-shlibs,
  (%type_raw[uitype] = .) libiconv,
  (%type_raw[uitype] = '-aqua') macosx
<<
PatchScript: <<
  #!/bin/bash -ev
  cd ..
  patch -p1 <%{ni}.patch
  /usr/bin/perl -pi -e 's/^\Q  OCAMLLIBS+=str.cma\E//' 
unison-2.10.2/Makefile.OCaml unison-2.9.1/Makefile.OCaml
<<
CompileScript: <<
  #!/bin/bash -ev
  export 
PKG_CONFIG_PATH="%p/lib/pango-ft219/lib/pkgconfig:%p/lib/fontconfig2/lib/pkgconfig:%p/lib/freetype219/lib/pkgconfig:$PKG_CONFIG_PATH"
 FREETYPE_CONFIG=%p/lib/freetype219/bin/freetype-config
  cd ..
  dirs=`ls | grep -v manual | grep -v unison.patch`

  for dir in $dirs; do
    cd $dir
    maj=`expr "$dir" : "unison-2.\([0-9]*\)"`

    if [ "%type_raw[uitype]" == "-nox" ]; then
      make UISTYLE=text THREADS=true
    elif [ "%type_raw[uitype]" == "." ]; then
      if [ $maj -lt 10 ]; then
        make UISTYLE=gtk THREADS=true
      else
        make UISTYLE=gtk2 THREADS=true
      fi
    elif [ "%type_raw[uitype]" == "-aqua" ]; then
      if [ $maj -ge 27 ]; then
        make UISTYLE=macnew THREADS=true
      elif [ $maj -ge 13 ]; then
        make UISTYLE=mac THREADS=true
      fi
    fi
    cd ..
  done
<<
InstallScript: <<
  #!/bin/bash -ev
  mkdir -p %i/bin
  cd ..
  dirs=`ls | grep -v manual | grep -v unison.patch`

  for dir in $dirs; do
    cd $dir
    maj=`expr "$dir" : "unison-2.\([0-9]*\)"`

    if [ $maj -lt 13 ]; then
      ver=`expr "$dir" : "unison-\(2.[0-9.]*\)"`
    else
      ver=`expr "$dir" : "unison-\(2.[0-9]*\)"`
    fi

    if [ "%type_raw[uitype]" == "-nox" ]; then
      install -m0755 unison %i/bin/unison-$ver-nox
    elif [ "%type_raw[uitype]" == "." ]; then
      install -m0755 unison %i/bin/unison-$ver-x11
    elif [ "%type_raw[uitype]" == "-aqua" -a $maj -ge 13 ]; then
      if [ $maj -ge 27 ]; then
        uidir=uimacnew
      else
        uidir=uimac
      fi
      mkdir -p %i/Applications
      cp -pR $uidir/build/Unison.app %i/Applications/Unison-$ver.app || \
        cp -pR $uidir/build/Default/Unison.app %i/Applications/Unison-$ver.app
      echo \#\!/bin/sh > %i/bin/unison-$ver-aqua
      echo %p/Applications/Unison-$ver.app/Contents/MacOS/Unison \$* \
        >> %i/bin/unison-$ver-aqua
      chmod a+x %i/bin/unison-$ver-aqua
    fi
    cd ..
  done
<<
PostInstScript: <<
  for dir in unison-2.9.1 unison-2.10.2 unison-2.13.16 unison-2.27.57; do
    maj=`expr "$dir" : "unison-2.\([0-9]*\)"`
    pri=`echo $dir | sed -e 's/unison-//g' | sed -e 's/\./ /g' | xargs printf 
%%02d`

    if [ `expr "$maj" \< 13` == 1 ]; then
      ver=`expr "$dir" : "unison-\(2.[0-9.]*\)"`
    else
      ver=`expr "$dir" : "unison-\(2.[0-9]*\)"`
    fi

    if [ "%type_raw[uitype]" == "-nox" ]; then
      update-alternatives --install %p/bin/unison-${ver} unison-${ver} 
%p/bin/unison-${ver}-nox ${pri}2
      update-alternatives --install %p/bin/unison unison 
%p/bin/unison-${ver}-nox ${pri}2
    elif [ "%type_raw[uitype]" == "." ]; then
      update-alternatives --install %p/bin/unison-${ver} unison-${ver} 
%p/bin/unison-${ver}-x11 ${pri}4
      update-alternatives --install %p/bin/unison unison 
%p/bin/unison-${ver}-x11 ${pri}4
    elif [ "%type_raw[uitype]" == "-aqua" ]; then
      if [ `expr "$maj" \> 12` == 1 ]; then
        update-alternatives --install %p/bin/unison-${ver} unison-${ver} 
%p/bin/unison-${ver}-aqua ${pri}6
        update-alternatives --install %p/bin/unison unison 
%p/bin/unison-${ver}-aqua ${pri}6
        [ -e /Applications/Fink ] || install -d -m 0755 /Applications/Fink
        /bin/ln -sfn %p/Applications/Unison-$ver.app 
/Applications/Fink/Unison-$ver.app
      fi
    fi
  done
<<
Prermscript: <<
  if [ $1 != "upgrade" ]; then

    for dir in unison-2.9.1 unison-2.10.2 unison-2.13.16 unison-2.27.57; do
      maj=`expr "$dir" : "unison-2.\([0-9]*\)"`

      if [ `expr "$maj" \< 13` == 1 ]; then
        ver=`expr "$dir" : "unison-\(2.[0-9.]*\)"`
      else
        ver=`expr "$dir" : "unison-\(2.[0-9]*\)"`
      fi

      if [ "%type_raw[uitype]" == "-nox" ]; then
        update-alternatives --remove unison-${ver} %p/bin/unison-${ver}-nox
        update-alternatives --remove unison %p/bin/unison-${ver}-nox
      elif [ "%type_raw[uitype]" == "." ]; then
        update-alternatives --remove unison-${ver} %p/bin/unison-${ver}-x11
        update-alternatives --remove unison %p/bin/unison-${ver}-x11
      elif [ "%type_raw[uitype]" == "-aqua" ]; then
        if [ `expr "$maj" \> 12` == 1 ]; then
          update-alternatives --remove unison-${ver} %p/bin/unison-${ver}-aqua
          update-alternatives --remove unison %p/bin/unison-${ver}-aqua
          rm -f /Applications/Fink/Unison-$ver.app
        fi
      fi
    done
  fi
<<
<<


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to