the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: monotone
Version: 0.40
Revision: 2
Distribution: 10.4, 10.5
Source: http://www.monotone.ca/downloads/%v/monotone-%v.tar.gz
Source-MD5: 4d90776beaff7445e7a2d8774378fbba
#PatchFile: %n.patch
#PatchScript: sed -e 's|@SW@|%p|g' < %{PatchFile} | patch -p1
BuildDepends:<<
boost1.33, libgettext3-dev, libiconv-dev
<<
BuildConflicts: sqlite3-dev
Depends: <<
libgettext3-shlibs, libiconv
<<
GCC: 4.0
NoSetCXXFLAGS: true
SetCPPFlags: -D__unix -Wno-long-double
SetLDFlags: -lintl -liconv
ConfigureParams: <<
--infodir=%i/share/info --mandir=%i/share/man --disable-dependency-tracking
<<
InfoDocs: monotone.info
InfoTest: <<
TestScript: make check || exit 2
<<
Description: Distributed version control system
DescDetail: <<
Monotone is a free distributed version control system. It provides a simple,
single-file transactional version store, with fully disconnected operation and
an efficient peer-to-peer synchronization protocol. It understands
history-sensitive merging, lightweight branches, integrated code review and
3rd party testing. It uses cryptographic version naming and client-side RSA
certificates. It has good internationalization support, has no external
dependencies, runs on linux, solaris, OSX, and windows, and is licensed under
the GNU GPL.
<<
DescPackaging: <<
boost is required at build-time for some header-only boost components.
No shared boost shlibs linked, so boost-shlibs is *not* a dependency.
<<
License: GPL/LGPL
Maintainer: Corey Halpin
Homepage: http://www.venge.net/monotone/
Only in monotone-0.31-patched: cmd_automate.cc.orig
diff -ru monotone-0.31/configure monotone-0.31-patched/configure
--- monotone-0.31/configure 2006-11-11 13:08:59.000000000 -0600
+++ monotone-0.31-patched/configure 2006-11-14 00:09:01.000000000 -0600
@@ -3256,13 +3256,13 @@
CFLAGS=$ac_save_CFLAGS
elif test $ac_cv_prog_cc_g = yes; then
if test "$GCC" = yes; then
- CFLAGS="-g -O2"
+ CFLAGS="-g -O0"
else
CFLAGS="-g"
fi
else
if test "$GCC" = yes; then
- CFLAGS="-O2"
+ CFLAGS="-O0"
else
CFLAGS=
fi
@@ -4527,13 +4527,13 @@
CXXFLAGS=$ac_save_CXXFLAGS
elif test $ac_cv_prog_cxx_g = yes; then
if test "$GXX" = yes; then
- CXXFLAGS="-g -O2"
+ CXXFLAGS="-g -O0"
else
CXXFLAGS="-g"
fi
else
if test "$GXX" = yes; then
- CXXFLAGS="-O2"
+ CXXFLAGS="-O0"
else
CXXFLAGS=
fi
Only in monotone-0.31-patched: configure.orig
diff -ru monotone-0.31/hash_map.hh monotone-0.31-patched/hash_map.hh
--- monotone-0.31/hash_map.hh 2006-11-11 13:08:11.000000000 -0600
+++ monotone-0.31-patched/hash_map.hh 2006-11-14 00:09:01.000000000 -0600
@@ -3,6 +3,7 @@
#include "config.h"
+#undef _T
#include
namespace hashmap {
Package: monotone
Version: 0.45
Revision: 1
Source: http://www.monotone.ca/downloads/%v/monotone-%v.tar.gz
Source-MD5: bd37c3d75e3fd1974a17f556499b42ab
#PatchFile: %n.patch
#PatchScript: sed -e 's|@SW@|%p|g' < %{PatchFile} | patch -p1
Distribution: 10.4, 10.5
BuildDepends:<<
boost1.33,
botan (>=1.8.1-1),
libgettext3-dev (>= 0.14.5-2),
libiconv-dev (>= 1.12-3),
libidn (>= 1.12-1),
lua51-dev (>= 5.1.4-1),
pcre (>= 7.8-3),
sqlite3-dev (>= 3.6.9-1004)
<<
Depends: <<
botan-shlibs (>= 1.8.1-1),
libgettext3-shlibs (>= 0.14.5-2),
libiconv (>= 1.12-3),
libidn-shlibs (>= 1.12-1),
lua51-shlibs (>= 5.1.4-1),
pcre-shlibs (>= 7.8-3),
sqlite3-shlibs (>= 3.6.9-1004)
<<
GCC: 4.0
NoSetCXXFLAGS: true
SetCPPFlags: -D__unix -Wno-long-double
SetLDFlags: -lintl -liconv
ConfigureParams: <<
--infodir=%i/share/info --mandir=%i/share/man --disable-dependency-tracking
<<
InfoDocs: monotone.info
InfoTest: <<
TestScript: make check || exit 2
<<
Description: Distributed version control system
DescDetail: <<
Monotone is a free distributed version control system. It provides a simple,
single-file transactional version store, with fully disconnected operation and
an efficient peer-to-peer synchronization protocol. It understands
history-sensitive merging, lightweight branches, integrated code review and
3rd party testing. It uses cryptographic version naming and client-side RSA
certificates. It has good internationalization support, has no external
dependencies, runs on linux, solaris, OSX, and windows, and is licensed under
the GNU GPL.
<<
DescPackaging: <<
boost is required at build-time for some header-only boost components.
No shared boost shlibs linked, so boost-shlibs is *not* a dependency.
<<
License: GPL/LGPL
Maintainer: Corey Halpin
Homepage: http://www.venge.net/monotone/
diff -ru monotone-1.0/extra/shell/monotone.bash_completion.in monotone-1.0-patched/extra/shell/monotone.bash_completion.in
--- monotone-1.0/extra/shell/monotone.bash_completion.in 2011-03-26 01:40:57.000000000 -0500
+++ monotone-1.0-patched/extra/shell/monotone.bash_completion.in 2011-05-27 20:56:32.000000000 -0500
@@ -26,6 +26,9 @@
# If you do it, be careful to set your locale to "C" and be sure the right
# mtn is used (you can use the environment variable MTN to point at the right
# one).
+
+if [ ${BASH_VERSINFO[0]} -ge 4 ]; then
+
# BEGIN ----------------------------------------------------------------------
@generated-command-list@
# END ------------------------------------------------------------------------
@@ -396,3 +399,5 @@
}
complete -F _monotone mtn
+
+fi