Merge all changes from trunk

This commit is contained in:
Oliver Tappe
2013-03-29 14:04:07 +00:00
parent 888e133171
commit 94cc6aaf85
1052 changed files with 65053 additions and 2541 deletions

View File

@@ -1,6 +1,6 @@
DESCRIPTION="Bazaar"
HOMEPAGE="https://launchpad.net/bzr/"
SRC_URI="http://launchpad.net/bzr/2.2/2.2.0/+download/bzr-2.2.0.tar.gz"
DESCRIPTION="Bazaar"
HOMEPAGE="https://launchpad.net/bzr/"
SRC_URI="http://launchpad.net/bzr/2.2/2.2.0/+download/bzr-2.2.0.tar.gz"
CHECKSUM_MD5="e47fa50e1fedc01c4761925e9d0d39ac"
REVISION="1"
STATUS_HAIKU="stable"
@@ -17,16 +17,19 @@ BUILD {
INSTALL {
cd bzr-2.2.0
COMMON_DIR=`finddir B_COMMON_DIRECTORY`
COMMON_DOCS=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`
if [ -n "$(setgcc | grep '2')" ]; then
python setup.py build_ext --allow-python-fallback install --prefix=`finddir B_COMMON_DIRECTORY` --root=${DESTDIR}
python setup.py build_ext --allow-python-fallback install --prefix=$COMMON_DIR --root=${DESTDIR}
else
python setup.py install --prefix=`finddir B_COMMON_DIRECTORY` --root=${DESTDIR}
python setup.py install --prefix=$COMMON_DIR --root=${DESTDIR}
fi
## Now put the man file(s) in the correct directory
mkdir -p ${DESTDIR}$(finddir B_COMMON_DOCUMENTATION_DIRECTORY)/man/man1
mv ${DESTDIR}/$(finddir B_COMMON_DIRECTORY)/man/man1/bzr* ${DESTDIR}/$(finddir B_COMMON_DOCUMENTATION_DIRECTORY)/man/man1/
mkdir -p ${DESTDIR}$COMMON_DOCS/man/man1
mv ${DESTDIR}/$COMMON_DIR/man/man1/bzr* ${DESTDIR}/$COMMON_DOCS/man/man1/
if [ -e "${DESTDIR}" ]; then
rm -rf ${DESTDIR}/$(finddir B_COMMON_DIRECTORY)/man
rm -rf ${DESTDIR}/$COMMON_DIR/man
fi
}

35
dev-vcs/bzr/bzr-2.5.1.bep Normal file
View File

@@ -0,0 +1,35 @@
DESCRIPTION="Bazaar"
HOMEPAGE="https://launchpad.net/bzr/"
SRC_URI="http://launchpad.net/bzr/2.5/2.5.1/+download/bzr-2.5.1.tar.gz"
CHECKSUM_MD5="ac5079858364a046071000d5cdccb67b"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD {
cd bzr-2.5.1
if [ -n "$(setgcc | grep '2')" ]; then
python setup.py build_ext --allow-python-fallback
else
python setup.py build
fi
}
INSTALL {
cd bzr-2.5.1
if [ -n "$(setgcc | grep '2')" ]; then
python setup.py build_ext --allow-python-fallback install --prefix=`finddir B_COMMON_DIRECTORY` --root=${DESTDIR}
else
python setup.py install --prefix=`finddir B_COMMON_DIRECTORY` --root=${DESTDIR}
fi
## Now put the man file(s) in the correct directory
mkdir -p ${DESTDIR}$(finddir B_COMMON_DOCUMENTATION_DIRECTORY)/man/man1
mv ${DESTDIR}/$(finddir B_COMMON_DIRECTORY)/man/man1/bzr* ${DESTDIR}/$(finddir B_COMMON_DOCUMENTATION_DIRECTORY)/man/man1/
if [ -e "${DESTDIR}" ]; then
rm -rf ${DESTDIR}/$(finddir B_COMMON_DIRECTORY)/man
fi
}
LICENSE="GNU GPL v2
GNU GPL v3"
COPYRIGHT="2007-2012 The Bazaar Team"

35
dev-vcs/bzr/bzr-2.6b1.bep Normal file
View File

@@ -0,0 +1,35 @@
DESCRIPTION="Bazaar"
HOMEPAGE="https://launchpad.net/bzr/"
SRC_URI="http://launchpad.net/bzr/2.6/2.6b1/+download/bzr-2.6b1.tar.gz"
CHECKSUM_MD5="d2319a1a793d47d8b02ca33298742ad7"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD {
cd bzr-2.6b1
if [ -n "$(setgcc | grep '2')" ]; then
python setup.py build_ext --allow-python-fallback
else
python setup.py build
fi
}
INSTALL {
cd bzr-2.6b1
if [ -n "$(setgcc | grep '2')" ]; then
python setup.py build_ext --allow-python-fallback install --prefix=`finddir B_COMMON_DIRECTORY` --root=${DESTDIR}
else
python setup.py install --prefix=`finddir B_COMMON_DIRECTORY` --root=${DESTDIR}
fi
## Now put the man file(s) in the correct directory
mkdir -p ${DESTDIR}$(finddir B_COMMON_DOCUMENTATION_DIRECTORY)/man/man1
mv ${DESTDIR}/$(finddir B_COMMON_DIRECTORY)/man/man1/bzr* ${DESTDIR}/$(finddir B_COMMON_DOCUMENTATION_DIRECTORY)/man/man1/
if [ -e "${DESTDIR}" ]; then
rm -rf ${DESTDIR}/$(finddir B_COMMON_DIRECTORY)/man
fi
}
LICENSE="GNU GPL v2
GNU GPL v3"
COPYRIGHT="2007-2012 The Bazaar Team"

View File

@@ -9,7 +9,12 @@ BUILD {
cd cvs-1.12.13
libtoolize --force --copy --install
autoconf
./configure --prefix=/boot/common --enable-rootcommit EDITOR=nano
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
--datarootdir=`finddir B_COMMON_DATA_DIRECTORY` \
--infodir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/info \
--mandir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man \
--enable-rootcommit \
EDITOR=nano
make
}

View File

@@ -1,19 +1,7 @@
diff -ur cvs-1.12.13.1/configure cvs-1.12.13.1-haiku/configure
--- cvs-1.12.13.1/configure 2006-07-07 15:31:08.000000000 -0600
+++ cvs-1.12.13.1-haiku/configure 2009-11-24 15:37:33.000000000 -0700
@@ -45920,7 +45920,7 @@
return 0;
}
_ACEOF
-for ac_lib in '' xnet socket inet; do
+for ac_lib in '' xnet network socket inet; do
if test -z "$ac_lib"; then
ac_res="none required"
else
diff -ur cvs-1.12.13.1/configure.in cvs-1.12.13.1-haiku/configure.in
--- cvs-1.12.13.1/configure.in 2006-06-29 09:13:10.000000000 -0600
+++ cvs-1.12.13.1-haiku/configure.in 2009-11-24 15:37:33.000000000 -0700
@@ -541,7 +541,7 @@
diff -up cvs-1.12.13.1/configure.in.orig cvs-1.12.13.1/configure.in
--- cvs-1.12.13.1/configure.in.orig 2006-06-29 09:13:10.006815744 -0600
+++ cvs-1.12.13.1/configure.in 2012-05-02 20:46:57.544735232 -0600
@@ -541,7 +541,7 @@ CVS_FUNC_PRINTF_PTR
# Try to find connect and gethostbyname.
AC_CHECK_LIB(nsl, main)
@@ -22,10 +10,58 @@ diff -ur cvs-1.12.13.1/configure.in cvs-1.12.13.1-haiku/configure.in
AC_DEFINE(HAVE_CONNECT, 1,
[Define if you have the connect function.]))
dnl no need to search nsl for gethostbyname here since we should have
diff -ur cvs-1.12.13.1/src/cvs.h cvs-1.12.13.1-haiku/src/cvs.h
--- cvs-1.12.13.1/src/cvs.h 2006-04-25 14:01:47.000000000 -0600
+++ cvs-1.12.13.1-haiku/src/cvs.h 2009-11-24 15:37:33.000000000 -0700
@@ -181,8 +181,13 @@
diff -up cvs-1.12.13.1/configure.orig cvs-1.12.13.1/configure
--- cvs-1.12.13.1/configure.orig 2006-07-07 15:31:08.010485760 -0600
+++ cvs-1.12.13.1/configure 2012-05-02 20:56:54.292290560 -0600
@@ -9566,7 +9566,7 @@ return getaddrinfo ();
return 0;
}
_ACEOF
-for ac_lib in '' nsl socket; do
+for ac_lib in '' nsl network socket; do
if test -z "$ac_lib"; then
ac_res="none required"
else
@@ -10083,7 +10083,7 @@ return getservbyname ();
return 0;
}
_ACEOF
-for ac_lib in '' inet nsl socket xnet; do
+for ac_lib in '' inet nsl network socket xnet; do
if test -z "$ac_lib"; then
ac_res="none required"
else
@@ -21471,7 +21471,7 @@ return getaddrinfo ();
return 0;
}
_ACEOF
-for ac_lib in '' nsl socket; do
+for ac_lib in '' nsl network socket; do
if test -z "$ac_lib"; then
ac_res="none required"
else
@@ -21988,7 +21988,7 @@ return getservbyname ();
return 0;
}
_ACEOF
-for ac_lib in '' inet nsl socket xnet; do
+for ac_lib in '' inet nsl network socket xnet; do
if test -z "$ac_lib"; then
ac_res="none required"
else
@@ -45920,7 +45920,7 @@ return connect ();
return 0;
}
_ACEOF
-for ac_lib in '' xnet socket inet; do
+for ac_lib in '' xnet network socket inet; do
if test -z "$ac_lib"; then
ac_res="none required"
else
diff -up cvs-1.12.13.1/src/cvs.h.orig cvs-1.12.13.1/src/cvs.h
--- cvs-1.12.13.1/src/cvs.h.orig 2006-04-25 14:01:47.044302336 -0600
+++ cvs-1.12.13.1/src/cvs.h 2012-05-02 20:46:57.547356672 -0600
@@ -181,8 +181,13 @@ char *strerror (int);
#define CVSRFLPAT "#cvs.rfl.*" /* wildcard expr to match read locks */
#define CVSEXT_LOG ",t"
#define CVSPREFIX ",,"
@@ -39,9 +75,9 @@ diff -ur cvs-1.12.13.1/src/cvs.h cvs-1.12.13.1-haiku/src/cvs.h
/* Command attributes -- see function lookup_command_attribute(). */
#define CVS_CMD_IGNORE_ADMROOT 1
diff -ur cvs-1.12.13.1/src/cvsrc.c cvs-1.12.13.1-haiku/src/cvsrc.c
--- cvs-1.12.13.1/src/cvsrc.c 2006-03-31 14:54:57.000000000 -0700
+++ cvs-1.12.13.1-haiku/src/cvsrc.c 2009-11-24 15:37:33.000000000 -0700
diff -up cvs-1.12.13.1/src/cvsrc.c.orig cvs-1.12.13.1/src/cvsrc.c
--- cvs-1.12.13.1/src/cvsrc.c.orig 2006-03-31 14:54:57.034603008 -0700
+++ cvs-1.12.13.1/src/cvsrc.c 2012-05-02 20:46:57.549715968 -0600
@@ -20,7 +20,11 @@
/* this file is to be found in the user's home directory */
@@ -55,7 +91,7 @@ diff -ur cvs-1.12.13.1/src/cvsrc.c cvs-1.12.13.1-haiku/src/cvsrc.c
#endif
char cvsrc[] = CVSRC_FILENAME;
@@ -64,7 +68,7 @@
@@ -64,7 +68,7 @@ read_cvsrc (int *argc, char ***argv, con
/* determine filename for ~/.cvsrc */
@@ -64,9 +100,9 @@ diff -ur cvs-1.12.13.1/src/cvsrc.c cvs-1.12.13.1-haiku/src/cvsrc.c
/* If we can't find a home directory, ignore ~/.cvsrc. This may
make tracking down problems a bit of a pain, but on the other
hand it might be obnoxious to complain when CVS will function
diff -ur cvs-1.12.13.1/src/filesubr.c cvs-1.12.13.1-haiku/src/filesubr.c
--- cvs-1.12.13.1/src/filesubr.c 2006-07-05 20:14:08.000000000 -0600
+++ cvs-1.12.13.1-haiku/src/filesubr.c 2009-11-24 15:51:02.000000000 -0700
diff -up cvs-1.12.13.1/src/filesubr.c.orig cvs-1.12.13.1/src/filesubr.c
--- cvs-1.12.13.1/src/filesubr.c.orig 2006-07-05 20:14:08.035913728 -0600
+++ cvs-1.12.13.1/src/filesubr.c 2012-05-02 20:46:57.553385984 -0600
@@ -32,6 +32,11 @@
/* CVS */
#include "cvs.h"
@@ -79,7 +115,7 @@ diff -ur cvs-1.12.13.1/src/filesubr.c cvs-1.12.13.1-haiku/src/filesubr.c
static int deep_remove_dir (const char *path);
@@ -859,6 +864,36 @@
@@ -859,6 +864,36 @@ get_homedir (void)
return home;
}
@@ -116,10 +152,10 @@ diff -ur cvs-1.12.13.1/src/filesubr.c cvs-1.12.13.1-haiku/src/filesubr.c
/* Compose a path to a file in the home directory. This is necessary because
* of different behavior on UNIX and VMS. See the notes in vms/filesubr.c.
*
diff -ur cvs-1.12.13.1/src/filesubr.h cvs-1.12.13.1-haiku/src/filesubr.h
--- cvs-1.12.13.1/src/filesubr.h 2006-07-05 20:14:08.000000000 -0600
+++ cvs-1.12.13.1-haiku/src/filesubr.h 2009-11-24 15:37:33.000000000 -0700
@@ -33,6 +33,7 @@
diff -up cvs-1.12.13.1/src/filesubr.h.orig cvs-1.12.13.1/src/filesubr.h
--- cvs-1.12.13.1/src/filesubr.h.orig 2006-07-05 20:14:08.035913728 -0600
+++ cvs-1.12.13.1/src/filesubr.h 2012-05-02 20:46:57.554696704 -0600
@@ -33,6 +33,7 @@ bool isreadable (const char *file);
bool iswritable (const char *file);
bool isaccessible (const char *file, const int mode);
char *get_homedir (void);
@@ -127,10 +163,10 @@ diff -ur cvs-1.12.13.1/src/filesubr.h cvs-1.12.13.1-haiku/src/filesubr.h
char *strcat_filename_onto_homedir (const char *, const char *);
char *cvs_temp_name (void);
FILE *cvs_temp_file (char **filename);
diff -ur cvs-1.12.13.1/src/history.c cvs-1.12.13.1-haiku/src/history.c
--- cvs-1.12.13.1/src/history.c 2006-06-09 15:28:17.000000000 -0600
+++ cvs-1.12.13.1-haiku/src/history.c 2009-11-24 15:37:33.000000000 -0700
@@ -807,7 +807,7 @@
diff -up cvs-1.12.13.1/src/history.c.orig cvs-1.12.13.1/src/history.c
--- cvs-1.12.13.1/src/history.c.orig 2006-06-09 15:28:17.036700160 -0600
+++ cvs-1.12.13.1/src/history.c 2012-05-02 20:46:57.558891008 -0600
@@ -807,7 +807,7 @@ history_write (int type, const char *upd
{
char *pwdir;
@@ -139,10 +175,10 @@ diff -ur cvs-1.12.13.1/src/history.c cvs-1.12.13.1-haiku/src/history.c
PrCurDir = CurDir;
if (pwdir != NULL)
{
diff -ur cvs-1.12.13.1/src/ignore.c cvs-1.12.13.1-haiku/src/ignore.c
--- cvs-1.12.13.1/src/ignore.c 2006-04-24 12:50:26.000000000 -0600
+++ cvs-1.12.13.1-haiku/src/ignore.c 2009-11-24 15:37:33.000000000 -0700
@@ -98,7 +98,7 @@
diff -up cvs-1.12.13.1/src/ignore.c.orig cvs-1.12.13.1/src/ignore.c
--- cvs-1.12.13.1/src/ignore.c.orig 2006-04-24 12:50:26.036700160 -0600
+++ cvs-1.12.13.1/src/ignore.c 2012-05-02 20:46:57.561512448 -0600
@@ -98,7 +98,7 @@ ign_setup (void)
}
/* Then add entries found in home dir, (if user has one) and file exists */
@@ -151,9 +187,9 @@ diff -ur cvs-1.12.13.1/src/ignore.c cvs-1.12.13.1-haiku/src/ignore.c
/* If we can't find a home directory, ignore ~/.cvsignore. This may
make tracking down problems a bit of a pain, but on the other
hand it might be obnoxious to complain when CVS will function
diff -ur cvs-1.12.13.1/src/login.c cvs-1.12.13.1-haiku/src/login.c
--- cvs-1.12.13.1/src/login.c 2006-06-28 08:25:26.000000000 -0600
+++ cvs-1.12.13.1-haiku/src/login.c 2009-11-24 15:37:33.000000000 -0700
diff -up cvs-1.12.13.1/src/login.c.orig cvs-1.12.13.1/src/login.c
--- cvs-1.12.13.1/src/login.c.orig 2006-06-28 08:25:26.037748736 -0600
+++ cvs-1.12.13.1/src/login.c 2012-05-02 20:46:57.563871744 -0600
@@ -28,7 +28,11 @@
@@ -167,7 +203,7 @@ diff -ur cvs-1.12.13.1/src/login.c cvs-1.12.13.1-haiku/src/login.c
#endif
/* If non-NULL, get_cvs_password() will just return this. */
@@ -49,7 +53,7 @@
@@ -49,7 +53,7 @@ construct_cvspass_filename (void)
/* Construct absolute pathname to user's password file. */
/* todo: does this work under OS/2 ? */
@@ -176,10 +212,10 @@ diff -ur cvs-1.12.13.1/src/login.c cvs-1.12.13.1-haiku/src/login.c
if (! homedir)
{
/* FIXME? This message confuses a lot of users, at least
diff -ur cvs-1.12.13.1/src/wrapper.c cvs-1.12.13.1-haiku/src/wrapper.c
--- cvs-1.12.13.1/src/wrapper.c 2006-04-24 12:50:27.000000000 -0600
+++ cvs-1.12.13.1-haiku/src/wrapper.c 2009-11-24 15:37:33.000000000 -0700
@@ -125,7 +125,7 @@
diff -up cvs-1.12.13.1/src/wrapper.c.orig cvs-1.12.13.1/src/wrapper.c
--- cvs-1.12.13.1/src/wrapper.c.orig 2006-04-24 12:50:27.043778048 -0600
+++ cvs-1.12.13.1/src/wrapper.c 2012-05-02 20:46:57.566493184 -0600
@@ -125,7 +125,7 @@ void wrap_setup(void)
/* Then add entries found in home dir, (if user has one) and file
exists. */

View File

@@ -0,0 +1,23 @@
DESCRIPTION="Simple, high-reliability, distributed software configuration management"
HOMEPAGE="http://www.fossil-scm.org/"
SRC_URI="fossil+http://www.fossil-scm.org/"
#CHECKSUM_MD5=""
REVISION="3"
STATUS_HAIKU="stable"
DEPEND=""
BUILD {
./configure --prefix=`finddir B_COMMON_DIRECTORY`
make
}
INSTALL {
make install
}
TEST {
make test
}
LICENSE="BSD (2-clause)"
COPYRIGHT="2007 D. Richard Hipp"

View File

@@ -0,0 +1,26 @@
DESCRIPTION="Simple, high-reliability, distributed software configuration management"
HOMEPAGE="http://www.fossil-scm.org/"
SRC_URI="http://www.fossil-scm.org/download/fossil-src-20120317175325.tar.gz"
CHECKSUM_MD5="a7106450722e8477972d230fa535702f"
REVISION="3"
STATUS_HAIKU="stable"
DEPEND=""
BUILD {
cd fossil-src-20120317175325
./configure --prefix=`finddir B_COMMON_DIRECTORY`
make
}
INSTALL {
cd fossil-src-20120317175325
make install
}
TEST {
cd fossil-src-20120317175325
make test
}
LICENSE="BSD (2-clause)"
COPYRIGHT="2007 D. Richard Hipp"

View File

@@ -0,0 +1,20 @@
--- fossil-src-20120317175325/src/main.c.org 2012-04-21 05:23:25.719847424 +0200
+++ fossil-src-20120317175325/src/main.c 2012-04-21 05:24:46.773062656 +0200
@@ -1625,7 +1625,7 @@
}
#if !defined(_WIN32)
-#if !defined(__DARWIN__) && !defined(__APPLE__)
+#if !defined(__DARWIN__) && !defined(__APPLE__) && !defined(__HAIKU__)
/*
** Search for an executable on the PATH environment variable.
** Return true (1) if found and false (0) if not found.
@@ -1721,7 +1721,7 @@
#if !defined(_WIN32)
/* Unix implementation */
if( isUiCmd ){
-#if !defined(__DARWIN__) && !defined(__APPLE__)
+#if !defined(__DARWIN__) && !defined(__APPLE__) && !defined(__HAIKU__)
zBrowser = db_get("web-browser", 0);
if( zBrowser==0 ){
static char *azBrowserProg[] = { "xdg-open", "gnome-open", "firefox" };

View File

@@ -1,39 +0,0 @@
DESCRIPTION="git a fast version control system"
HOMEPAGE="http://git-scm.com/"
SRC_URI="http://kernel.org/pub/software/scm/git/git-1.6.5.3.tar.bz2"
CHECKSUM_MD5="a1dbc3da46cbf33c4367db689853c142"
REVISION="1"
STATUS_HAIKU="broken"
DEPEND=""
BUILD {
cd git-1.6.5.3
libtoolize --force --copy --install
aclocal
autoconf
./configure --prefix=/boot/common --enable-pthreads=""
make prefix=/boot/common NO_R_TO_GCC_LINKER=YesPlease \
NO_C99_FORMAT=YesPlease \
NO_ST_BLOCKS_IN_STRUCT_STAT=YesPlease \
NO_MEMMEM=YesPlease NO_MKSTEMPS=YesPlease \
NO_MKDTEMP=YesPlease NO_IPV6=YesPlease \
NO_TCLTK=YesPlease CURLDIR=/boot/common \
PERL_PATH=/boot/common/bin/perl \
CFLAGS="-g -O2 -I/boot/common/include" \
LIBS="" \
LDFLAGS="-L/boot/common/lib -lnetwork -lbsd -liconv" \
strip
}
INSTALL {
cd git-1.6.5.3
make install prefix=/boot/common NO_R_TO_GCC_LINKER=YesPlease \
NO_C99_FORMAT=YesPlease NO_ST_BLOCKS_IN_STRUCT_STAT=YesPlease \
NO_MEMMEM=YesPlease NO_MKSTEMPS=YesPlease \
NO_MKDTEMP=YesPlease NO_IPV6=YesPlease NO_TCLTK=YesPlease \
CURLDIR=/boot/common PERL_PATH=/boot/common/bin/perl \
CFLAGS="-g -O2 -I/boot/common/include" \
LIBS="" \
LDFLAGS="-L/boot/common/lib -lnetwork -lbsd -liconv" \
strip
}
LICENSE="GNU GPL v2"

View File

@@ -1,49 +0,0 @@
DESCRIPTION="git a fast version control system"
HOMEPAGE="http://git-scm.com/"
SRC_URI="http://kernel.org/pub/software/scm/git/git-1.7.0.1.tar.gz"
CHECKSUM_MD5="05485caf5c503ce378a87759bc3a0509"
REVISION="1"
STATUS_HAIKU="broken"
DEPEND=""
BUILD {
cd git-1.7.0.1
# libtoolize --force --copy --install
# aclocal
# autoconf
./configure --prefix=/boot/common --enable-pthreads=""
make prefix=/boot/common \
NO_R_TO_GCC_LINKER=YesPlease \
NO_C99_FORMAT=YesPlease \
NO_ST_BLOCKS_IN_STRUCT_STAT=YesPlease \
NO_MEMMEM=YesPlease \
NO_MKSTEMPS=YesPlease \
NO_MKDTEMP=YesPlease \
NO_IPV6=YesPlease \
NO_TCLTK=YesPlease \
CURLDIR=/boot/common \
PERL_PATH=/boot/common/bin/perl \
CFLAGS="-g -O2 -I/boot/common/include" \
LIBS="" \
LDFLAGS="-L/boot/common/lib -lnetwork -lbsd -liconv" \
strip
}
INSTALL {
cd git-1.7.0.1
make install prefix=/boot/common \
NO_R_TO_GCC_LINKER=YesPlease \
NO_C99_FORMAT=YesPlease \
NO_ST_BLOCKS_IN_STRUCT_STAT=YesPlease \
NO_MEMMEM=YesPlease \
NO_MKSTEMPS=YesPlease \
NO_MKDTEMP=YesPlease \
NO_IPV6=YesPlease \
NO_TCLTK=YesPlease \
CURLDIR=/boot/common \
PERL_PATH=/boot/common/bin/perl \
CFLAGS="-g -O2 -I/boot/common/include" \
LIBS="" \
LDFLAGS="-L/boot/common/lib -lnetwork -lbsd -liconv" \
strip
}
LICENSE="GNU GPL v2"

View File

@@ -1,21 +0,0 @@
DESCRIPTION="git a fast version control system"
HOMEPAGE="http://git-scm.com/"
SRC_URI="http://kernel.org/pub/software/scm/git/git-1.7.0.4.tar.bz2"
CHECKSUM_MD5="1cc8b2aea57e5e999ccac18ae355f760"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD {
cd git-1.7.0.4
autoconf
CFLAGS="-I/boot/common/include" LDFLAGS="-L/boot/common/lib -L/boot/system/lib -lbsd -lnetwork" \
./configure --prefix=/boot/common --with-editor=nano --enable-pthreads="-lroot" \
--with-perl=/boot/common/bin/perl --with-python=/boot/common/bin/python --without-tcltk
make strip
}
INSTALL {
cd git-1.7.0.4
make install
}
LICENSE="GNU GPL v2"

View File

@@ -1,21 +0,0 @@
DESCRIPTION="git a fast version control system"
HOMEPAGE="http://git-scm.com/"
SRC_URI="http://kernel.org/pub/software/scm/git/git-1.7.0.5.tar.bz2"
CHECKSUM_MD5="77d50f41ef282752dc69d9a47765f5c7"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD {
cd git-1.7.0.5
autoconf
CFLAGS="-I/boot/common/include" LDFLAGS="-L/boot/common/lib -L/boot/system/lib -lbsd -lnetwork" \
./configure --prefix=/boot/common --with-editor=nano --enable-pthreads="-lroot" \
--with-perl=/boot/common/bin/perl --with-python=/boot/common/bin/python --without-tcltk
make strip
}
INSTALL {
cd git-1.7.0.5
make install
}
LICENSE="GNU GPL v2"

View File

@@ -1,22 +0,0 @@
DESCRIPTION="git a fast version control system"
HOMEPAGE="http://git-scm.com/"
SRC_URI="http://kernel.org/pub/software/scm/git/git-1.7.1.tar.bz2"
CHECKSUM_MD5="3da231dbe82ad103373cb530ae7475d5"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="net-misc/curl >= 7.20.0
dev-lang/perl >= 5.10.1"
BUILD {
cd git-1.7.1
autoconf
CFLAGS="-I/boot/common/include" LDFLAGS="-L/boot/common/lib -L/boot/system/lib -lbsd -lnetwork" \
./configure --prefix=/boot/common --with-editor=nano --enable-pthreads="-lroot" \
--with-perl=/boot/common/bin/perl --with-python=/boot/common/bin/python --without-tcltk
make strip
}
INSTALL {
cd git-1.7.1
make install
}
LICENSE="GNU GPL v2"

View File

@@ -0,0 +1,26 @@
DESCRIPTION="git a fast version control system"
HOMEPAGE="http://git-scm.com/"
SRC_URI="http://git-core.googlecode.com/files/git-1.7.10.2.tar.gz"
CHECKSUM_MD5="2e2ee53243ab8e7cf10f15c5229c3fce"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="net-misc/curl >= 7.20.0
dev-lang/perl >= 5.10.1
dev-vcs/gitdoc == 1.7.10"
BUILD {
cd git-1.7.10.2
make strip
}
INSTALL {
cd git-1.7.10.2
make install
}
TEST {
cd git-1.7.10.2
make check
}
LICENSE="GNU GPL v2"
COPYRIGHT="2005-2012 Git Authors (see git web site for list)"

View File

@@ -0,0 +1,26 @@
DESCRIPTION="git a fast version control system"
HOMEPAGE="http://git-scm.com/"
SRC_URI="http://git-core.googlecode.com/files/git-1.7.11.3.tar.gz"
CHECKSUM_MD5="23caacd9f3f421b6c05b40796df3505d"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="net-misc/curl >= 7.20.0
dev-lang/perl >= 5.10.1
dev-vcs/gitdoc == 1.7.11.3"
BUILD {
cd git-1.7.11.3
make strip
}
INSTALL {
cd git-1.7.11.3
make install
}
TEST {
cd git-1.7.11.3
make check
}
LICENSE="GNU GPL v2"
COPYRIGHT="2005-2012 Git Authors (see git web site for list)"

View File

@@ -1,22 +0,0 @@
DESCRIPTION="git a fast version control system"
HOMEPAGE="http://git-scm.com/"
SRC_URI="http://kernel.org/pub/software/scm/git/git-1.7.3.1.tar.bz2"
CHECKSUM_MD5="77e1611498919965fb65fd1f229ee155"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="net-misc/curl >= 7.20.0
dev-lang/perl >= 5.10.1"
BUILD {
cd git-1.7.3.1
autoconf
CFLAGS="-I/boot/common/include" LDFLAGS="-L/boot/common/lib -L/boot/system/lib -lbsd -lnetwork" \
./configure --prefix=/boot/common --with-editor=nano --enable-pthreads="-lroot" \
--with-perl=/boot/common/bin/perl --with-python=/boot/common/bin/python --without-tcltk
make strip
}
INSTALL {
cd git-1.7.3.1
make install
}
LICENSE="GNU GPL v2"

View File

@@ -1,26 +0,0 @@
DESCRIPTION="git a fast version control system"
HOMEPAGE="http://git-scm.com/"
SRC_URI="http://kernel.org/pub/software/scm/git/git-1.7.3.5.tar.bz2"
CHECKSUM_MD5="8a8cd93b8a4dff0a03c0fdc77253af3e"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="net-misc/curl >= 7.20.0
dev-lang/perl >= 5.10.1"
BUILD {
cd git-1.7.3.5
autoconf
sed -i 's/lgen/ /' configure
sed -i 's/-lgen/ /' Makefile
CFLAGS="-I/boot/common/include" LDFLAGS="-L/boot/common/lib -L/boot/system/lib -lbsd -lnetwork" \
./configure --prefix=/boot/common --with-editor=nano --enable-pthreads \
--with-perl=/boot/common/bin/perl --with-python=/boot/common/bin/python --without-tcltk
make strip
}
INSTALL {
cd git-1.7.3.5
make install
}
LICENSE="GNU GPL v2"
COPYRIGHT="2005-2011 Git Authors (see git web site for list)"

26
dev-vcs/git/git-1.8.0.bep Normal file
View File

@@ -0,0 +1,26 @@
DESCRIPTION="git a fast version control system"
HOMEPAGE="http://git-scm.com/"
SRC_URI="http://git-core.googlecode.com/files/git-1.8.0.tar.gz"
CHECKSUM_MD5="12f4d20f34ae37086d86dd3b9d037bba"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="net-misc/curl >= 7.20.0
dev-lang/perl >= 5.10.1
dev-vcs/gitdoc == 1.8.0"
BUILD {
cd git-1.8.0
make strip
}
INSTALL {
cd git-1.8.0
make install
}
TEST {
cd git-1.8.0
make check
}
LICENSE="GNU GPL v2"
COPYRIGHT="2005-2012 Git Authors (see git web site for list)"

View File

@@ -0,0 +1,26 @@
DESCRIPTION="git a fast version control system"
HOMEPAGE="http://git-scm.com/"
SRC_URI="http://git-core.googlecode.com/files/git-1.8.1.3.tar.gz"
CHECKSUM_MD5="05fb5ea3792a51cef2becc8d06ea9b87"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="net-misc/curl >= 7.20.0
dev-lang/perl >= 5.10.1
dev-vcs/gitdoc == 1.8.0"
BUILD {
cd git-1.8.1.3
make strip
}
INSTALL {
cd git-1.8.1.3
make install
}
TEST {
cd git-1.8.1.3
make check
}
LICENSE="GNU GPL v2"
COPYRIGHT="2005-2013 Git Authors (see git web site for list)"

View File

@@ -1,54 +0,0 @@
--- git-1.5.5/Makefile 2008-04-08 07:10:01.000000000 +0000
+++ git-1.5.5.patched/Makefile 2008-04-19 00:20:29.000000000 +0000
@@ -989,7 +989,7 @@
'-DGIT_INFO_PATH="$(infodir_SQ)"' $<
$(BUILT_INS): git$X
- $(QUIET_BUILT_IN)$(RM) $@ && ln git$X $@
+ $(QUIET_BUILT_IN)$(RM) $@ && ln -s git$X $@
common-cmds.h: ./generate-cmdlist.sh command-list.txt
@@ -1230,7 +1230,7 @@
cp '$(DESTDIR_SQ)$(bindir_SQ)/git$X' \
'$(DESTDIR_SQ)$(gitexecdir_SQ)/git$X'; \
fi
- $(foreach p,$(BUILT_INS), $(RM) '$(DESTDIR_SQ)$(gitexecdir_SQ)/$p' && ln '$(DESTDIR_SQ)$(gitexecdir_SQ)/git$X' '$(DESTDIR_SQ)$(gitexecdir_SQ)/$p' ;)
+ $(foreach p,$(BUILT_INS), $(RM) '$(DESTDIR_SQ)$(gitexecdir_SQ)/$p' && ln -s '$(DESTDIR_SQ)$(gitexecdir_SQ)/git$X' '$(DESTDIR_SQ)$(gitexecdir_SQ)/$p' ;)
ifneq (,$X)
$(foreach p,$(patsubst %$X,%,$(filter %$X,$(ALL_PROGRAMS) $(BUILT_INS) git$X)), $(RM) '$(DESTDIR_SQ)$(gitexecdir_SQ)/$p';)
endif
--- git-1.5.5/git-compat-util.h 2008-04-08 07:10:01.000000000 +0000
+++ git-1.5.5.patched/git-compat-util.h 2008-04-18 22:15:48.000000000 +0000
@@ -453,4 +453,8 @@
# define FORCE_DIR_SET_GID 0
#endif
+#ifndef INET_ADDRSTRLEN
+#define INET_ADDRSTRLEN 16
+#endif
+
#endif
--- git-1.5.5/builtin-count-objects.c 2008-04-08 07:10:01.000000000 +0000
+++ git-1.5.5.patched/builtin-count-objects.c 2008-04-19 00:32:05.000000000 +0000
@@ -43,7 +43,8 @@
if (lstat(path, &st) || !S_ISREG(st.st_mode))
bad = 1;
else
- (*loose_size) += xsize_t(st.st_blocks);
+// (*loose_size) += xsize_t(st.st_blocks);
+ (*loose_size) += ceil(st.st_size / 512.0);
}
if (bad) {
if (verbose) {
--- git-1.5.5/templates/Makefile 2008-04-08 07:10:01.000000000 +0000
+++ git-1.5.5.patched/templates/Makefile 2008-04-19 00:44:46.000000000 +0000
@@ -23,7 +23,7 @@
bpsrc = $(filter-out %~,$(wildcard *--*))
boilerplates.made : $(bpsrc)
- $(QUIET)ls *--* 2>/dev/null | \
+ $(QUIET)ls -1 *--* 2>/dev/null | \
while read boilerplate; \
do \
case "$$boilerplate" in *~) continue ;; esac && \

View File

@@ -1,25 +0,0 @@
diff -up git-1.7.0.4/configure.ac.orig git-1.7.0.4/configure.ac
--- git-1.7.0.4/configure.ac.orig 2010-04-03 18:57:28.303824896 -0600
+++ git-1.7.0.4/configure.ac 2010-04-03 18:59:05.954990592 -0600
@@ -527,17 +527,13 @@ test -n "$NEEDS_SOCKET" && LIBS="$LIBS -
# Define NEEDS_RESOLV if linking with -lnsl and/or -lsocket is not enough.
# Notably on Solaris hstrerror resides in libresolv and on Solaris 7
# inet_ntop and inet_pton additionally reside there.
-AC_CHECK_LIB([c], [hstrerror],
-[NEEDS_RESOLV=],
-[NEEDS_RESOLV=YesPlease])
+AC_SEARCH_LIBS([hstrerror], [resolv],
+[AC_DEFINE([NEEDS_RESOLV], [YesPlease])])
AC_SUBST(NEEDS_RESOLV)
-test -n "$NEEDS_RESOLV" && LIBS="$LIBS -lresolv"
-AC_CHECK_LIB([c], [basename],
-[NEEDS_LIBGEN=],
-[NEEDS_LIBGEN=YesPlease])
+AC_SEARCH_LIBS([basename], [gen],
+[AC_DEFINE([NEEDS_LIBGEN], [YesPlease])])
AC_SUBST(NEEDS_LIBGEN)
-test -n "$NEEDS_LIBGEN" && LIBS="$LIBS -lgen"
## Checks for header files.
AC_MSG_NOTICE([CHECKS for header files])

View File

@@ -1,25 +0,0 @@
diff -up git-1.7.0.5/configure.ac.orig git-1.7.0.4/configure.ac
--- git-1.7.0.5/configure.ac.orig 2010-04-03 18:57:28.303824896 -0600
+++ git-1.7.0.5/configure.ac 2010-04-03 18:59:05.954990592 -0600
@@ -527,17 +527,13 @@ test -n "$NEEDS_SOCKET" && LIBS="$LIBS -
# Define NEEDS_RESOLV if linking with -lnsl and/or -lsocket is not enough.
# Notably on Solaris hstrerror resides in libresolv and on Solaris 7
# inet_ntop and inet_pton additionally reside there.
-AC_CHECK_LIB([c], [hstrerror],
-[NEEDS_RESOLV=],
-[NEEDS_RESOLV=YesPlease])
+AC_SEARCH_LIBS([hstrerror], [resolv],
+[AC_DEFINE([NEEDS_RESOLV], [YesPlease])])
AC_SUBST(NEEDS_RESOLV)
-test -n "$NEEDS_RESOLV" && LIBS="$LIBS -lresolv"
-AC_CHECK_LIB([c], [basename],
-[NEEDS_LIBGEN=],
-[NEEDS_LIBGEN=YesPlease])
+AC_SEARCH_LIBS([basename], [gen],
+[AC_DEFINE([NEEDS_LIBGEN], [YesPlease])])
AC_SUBST(NEEDS_LIBGEN)
-test -n "$NEEDS_LIBGEN" && LIBS="$LIBS -lgen"
## Checks for header files.
AC_MSG_NOTICE([CHECKS for header files])

View File

@@ -1,25 +0,0 @@
diff -up git-1.7.1/configure.ac.orig git-1.7.1/configure.ac
--- git-1.7.1/configure.ac.orig 2010-04-23 20:38:35.035127296 -0600
+++ git-1.7.1/configure.ac 2010-05-13 18:03:30.180355072 -0600
@@ -547,17 +547,13 @@ test -n "$NEEDS_SOCKET" && LIBS="$LIBS -
# Define NEEDS_RESOLV if linking with -lnsl and/or -lsocket is not enough.
# Notably on Solaris hstrerror resides in libresolv and on Solaris 7
# inet_ntop and inet_pton additionally reside there.
-AC_CHECK_LIB([c], [hstrerror],
-[NEEDS_RESOLV=],
-[NEEDS_RESOLV=YesPlease])
+AC_SEARCH_LIBS([hstrerror], [resolv],
+[AC_DEFINE([NEEDS_RESOLV], [YesPlease])])
AC_SUBST(NEEDS_RESOLV)
-test -n "$NEEDS_RESOLV" && LIBS="$LIBS -lresolv"
-AC_CHECK_LIB([c], [basename],
-[NEEDS_LIBGEN=],
-[NEEDS_LIBGEN=YesPlease])
+AC_SEARCH_LIBS([basename], [gen],
+[AC_DEFINE([NEEDS_LIBGEN], [YesPlease])])
AC_SUBST(NEEDS_LIBGEN)
-test -n "$NEEDS_LIBGEN" && LIBS="$LIBS -lgen"
## Checks for header files.
AC_MSG_NOTICE([CHECKS for header files])

View File

@@ -0,0 +1,47 @@
diff -up git-1.7.10.2/Makefile.orig git-1.7.10.2/Makefile
--- git-1.7.10.2/Makefile.orig 2012-05-11 14:25:45.066322432 -0600
+++ git-1.7.10.2/Makefile 2012-05-19 12:53:42.392429568 -0600
@@ -1242,6 +1242,31 @@ ifeq ($(uname_S),Minix)
NO_CURL =
NO_EXPAT =
endif
+ifeq ($(uname_S),Haiku)
+ NO_LIBGEN_H = YesPlease
+ NO_MEMMEM = YesPlease
+ NO_MKSTEMPS = YesPlease
+ NEEDS_LIBICONV = YesPlease
+ PERL_PATH = perl
+ PYTHON_PATH = python
+# TCL_PATH = tclsh
+ mandir = /boot/common/documentation/man
+ infodir = /boot/common/documentation/info
+ htmldir = /boot/common/documentation/doc/git-1.7.10.2
+ gitexecdir = /boot/common/bin/git-core
+ gitwebdir = /boot/common/data/gitweb
+ template_dir = /boot/common/data/git-core/templates
+ NO_TCLTK = YesPlease
+ DEFAULT_EDITOR = nano
+ CURL_DIR = /boot/common
+ EXPAT_DIR = /boot/common
+ BASIC_CFLAGS += -I/boot/common/include
+ BASIC_LDFLAGS += -lnetwork -lbsd -L/boot/common/lib
+ PTHREAD_LIBS =
+ prefix = /boot/common
+ NO_CROSS_DIRECTORY_HARDLINKS = YesPlease
+ NO_GETTEXT = YesPlease
+endif
ifneq (,$(findstring MINGW,$(uname_S)))
pathsep = ;
NO_PREAD = YesPlease
diff -up git-1.7.10.2/git-web--browse.sh.orig git-1.7.10.2/git-web--browse.sh
--- git-1.7.10.2/git-web--browse.sh.orig 2012-05-11 14:25:45.053477376 -0600
+++ git-1.7.10.2/git-web--browse.sh 2012-05-19 12:53:42.405536768 -0600
@@ -116,7 +116,7 @@ if test -z "$browser" ; then
browser_candidates="konqueror $browser_candidates"
fi
else
- browser_candidates="w3m elinks links lynx"
+ browser_candidates="w3m elinks links lynx open"
fi
# SECURITYSESSIONID indicates an OS X GUI login session
if test -n "$SECURITYSESSIONID" \

View File

@@ -0,0 +1,47 @@
diff -up git-1.7.11.3/Makefile.orig git-1.7.11.3/Makefile
--- git-1.7.11.3/Makefile.orig 2012-07-22 14:44:07.027525120 -0600
+++ git-1.7.11.3/Makefile 2012-07-28 22:12:40.271056896 -0600
@@ -1297,6 +1297,31 @@ ifeq ($(uname_S),Minix)
NO_CURL =
NO_EXPAT =
endif
+ifeq ($(uname_S),Haiku)
+ NO_LIBGEN_H = YesPlease
+ NO_MEMMEM = YesPlease
+ NO_MKSTEMPS = YesPlease
+ NEEDS_LIBICONV = YesPlease
+ PERL_PATH = perl
+ PYTHON_PATH = python
+# TCL_PATH = tclsh
+ mandir = /boot/common/documentation/man
+ infodir = /boot/common/documentation/info
+ htmldir = /boot/common/documentation/doc/git-1.7.11.3
+ gitexecdir = /boot/common/bin/git-core
+ gitwebdir = /boot/common/data/gitweb
+ template_dir = /boot/common/data/git-core/templates
+ NO_TCLTK = YesPlease
+ DEFAULT_EDITOR = nano
+ CURL_DIR = /boot/common
+ EXPAT_DIR = /boot/common
+ BASIC_CFLAGS += -I/boot/common/include
+ BASIC_LDFLAGS += -lnetwork -lbsd -L/boot/common/lib
+ PTHREAD_LIBS =
+ prefix = /boot/common
+ NO_CROSS_DIRECTORY_HARDLINKS = YesPlease
+ NO_GETTEXT = YesPlease
+endif
ifneq (,$(findstring MINGW,$(uname_S)))
pathsep = ;
NO_PREAD = YesPlease
diff -up git-1.7.11.3/git-web--browse.sh.orig git-1.7.11.3/git-web--browse.sh
--- git-1.7.11.3/git-web--browse.sh.orig 2012-07-22 14:44:07.017039360 -0600
+++ git-1.7.11.3/git-web--browse.sh 2012-07-28 22:12:40.283115520 -0600
@@ -116,7 +116,7 @@ if test -z "$browser" ; then
browser_candidates="konqueror $browser_candidates"
fi
else
- browser_candidates="w3m elinks links lynx"
+ browser_candidates="w3m elinks links lynx open"
fi
# SECURITYSESSIONID indicates an OS X GUI login session
if test -n "$SECURITYSESSIONID" \

View File

@@ -0,0 +1,47 @@
diff -up git-1.8.0/Makefile.orig git-1.8.0/Makefile
--- git-1.8.0/Makefile.orig 2012-10-21 15:32:15.034078720 -0600
+++ git-1.8.0/Makefile 2012-11-04 15:47:49.335020032 -0700
@@ -1382,6 +1382,31 @@ ifeq ($(uname_S),NONSTOP_KERNEL)
# RFE 10-120912-4693 submitted to HP NonStop development.
NO_SETITIMER = UnfortunatelyYes
endif
+ifeq ($(uname_S),Haiku)
+ NO_LIBGEN_H = YesPlease
+ NO_MEMMEM = YesPlease
+ NO_MKSTEMPS = YesPlease
+ NEEDS_LIBICONV = YesPlease
+ PERL_PATH = perl
+ PYTHON_PATH = python
+# TCL_PATH = tclsh
+ mandir = /boot/common/documentation/man
+ infodir = /boot/common/documentation/info
+ htmldir = /boot/common/documentation/doc/git-1.8.0
+ gitexecdir = /boot/common/bin/git-core
+ gitwebdir = /boot/common/data/gitweb
+ template_dir = /boot/common/data/git-core/templates
+ NO_TCLTK = YesPlease
+ DEFAULT_EDITOR = nano
+ CURL_DIR = /boot/common
+ EXPAT_DIR = /boot/common
+ BASIC_CFLAGS += -I/boot/common/include
+ BASIC_LDFLAGS += -lnetwork -lbsd -L/boot/common/lib
+ PTHREAD_LIBS =
+ prefix = /boot/common
+ NO_CROSS_DIRECTORY_HARDLINKS = YesPlease
+ NO_GETTEXT = YesPlease
+endif
ifneq (,$(findstring MINGW,$(uname_S)))
pathsep = ;
NO_PREAD = YesPlease
diff -up git-1.8.0/git-web--browse.sh.orig git-1.8.0/git-web--browse.sh
--- git-1.8.0/git-web--browse.sh.orig 2012-10-21 15:32:15.028311552 -0600
+++ git-1.8.0/git-web--browse.sh 2012-11-04 15:47:49.345505792 -0700
@@ -116,7 +116,7 @@ if test -z "$browser" ; then
browser_candidates="konqueror $browser_candidates"
fi
else
- browser_candidates="w3m elinks links lynx"
+ browser_candidates="w3m elinks links lynx open"
fi
# SECURITYSESSIONID indicates an OS X GUI login session
if test -n "$SECURITYSESSIONID" \

View File

@@ -0,0 +1,47 @@
diff -up git-1.8.1.3/Makefile.orig git-1.8.0/Makefile
--- git-1.8.1.3/Makefile.orig
+++ git-1.8.1.3/Makefile
@@ -1382,6 +1382,31 @@ ifeq ($(uname_S),NONSTOP_KERNEL)
# RFE 10-120912-4693 submitted to HP NonStop development.
NO_SETITIMER = UnfortunatelyYes
endif
+ifeq ($(uname_S),Haiku)
+ NO_LIBGEN_H = YesPlease
+ NO_MEMMEM = YesPlease
+ NO_MKSTEMPS = YesPlease
+ NEEDS_LIBICONV = YesPlease
+ PERL_PATH = perl
+ PYTHON_PATH = python
+# TCL_PATH = tclsh
+ mandir = /boot/common/documentation/man
+ infodir = /boot/common/documentation/info
+ htmldir = /boot/common/documentation/doc/git-1.8.0
+ gitexecdir = /boot/common/bin/git-core
+ gitwebdir = /boot/common/data/gitweb
+ template_dir = /boot/common/data/git-core/templates
+ NO_TCLTK = YesPlease
+ DEFAULT_EDITOR = nano
+ CURL_DIR = /boot/common
+ EXPAT_DIR = /boot/common
+ BASIC_CFLAGS += -I/boot/common/include
+ BASIC_LDFLAGS += -lnetwork -lbsd -L/boot/common/lib
+ PTHREAD_LIBS =
+ prefix = /boot/common
+ NO_CROSS_DIRECTORY_HARDLINKS = YesPlease
+ NO_GETTEXT = YesPlease
+endif
ifneq (,$(findstring MINGW,$(uname_S)))
pathsep = ;
NO_PREAD = YesPlease
diff -up git-1.8.1.3/git-web--browse.sh.orig git-1.8.0/git-web--browse.sh
--- git-1.8.1.3/git-web--browse.sh.orig
+++ git-1.8.1.3/git-web--browse.sh
@@ -116,7 +116,7 @@ if test -z "$browser" ; then
browser_candidates="konqueror $browser_candidates"
fi
else
- browser_candidates="w3m elinks links lynx"
+ browser_candidates="w3m elinks links lynx open"
fi
# SECURITYSESSIONID indicates an OS X GUI login session
if test -n "$SECURITYSESSIONID" \

View File

@@ -0,0 +1,32 @@
DESCRIPTION="git a fast version control system"
HOMEPAGE="http://code.google.com/p/git-core/"
SRC_URI="http://git-core.googlecode.com/files/git-manpages-1.7.10.2.tar.gz"
CHECKSUM_MD5="79bae5456db8366803d28db867892d74"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD {
echo "Attempting to download additional formats"
wget http://git-core.googlecode.com/files/git-htmldocs-1.7.10.2.tar.gz
if [ $? != 0 ];then
echo "Error downloading additional formats"
exit 1
fi
}
INSTALL {
MAN_DIR=$(finddir B_COMMON_DOCUMENTATION_DIRECTORY)/man
mkdir -p "${DESTDIR}/${MAN_DIR}"
cp -afv man* "${DESTDIR}/${MAN_DIR}"
echo "Extracting extra docs"
DOC_DIR=$(finddir B_COMMON_DOCUMENTATION_DIRECTORY)/doc/git-1.7.10.2
mkdir -p "${DESTDIR}/${DOC_DIR}"
WORKDIR="$(pwd)"
cd "${DESTDIR}/${DOC_DIR}"
tar xvf "${WORKDIR}/git-htmldocs-1.7.10.2.tar.gz"
}
LICENSE="GNU GPL v2"
COPYRIGHT="2005-2012 Git Authors (see git web site for list)"

View File

@@ -0,0 +1,32 @@
DESCRIPTION="git a fast version control system"
HOMEPAGE="http://code.google.com/p/git-core/"
SRC_URI="http://git-core.googlecode.com/files/git-manpages-1.7.10.2.tar.gz"
CHECKSUM_MD5="79bae5456db8366803d28db867892d74"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD {
echo "Attempting to download additional formats"
wget http://git-core.googlecode.com/files/git-htmldocs-1.7.11.3.tar.gz
if [ $? != 0 ];then
echo "Error downloading additional formats"
exit 1
fi
}
INSTALL {
MAN_DIR=$(finddir B_COMMON_DOCUMENTATION_DIRECTORY)/man
mkdir -p "${DESTDIR}/${MAN_DIR}"
cp -afv man* "${DESTDIR}/${MAN_DIR}"
echo "Extracting extra docs"
DOC_DIR=$(finddir B_COMMON_DOCUMENTATION_DIRECTORY)/doc/git-1.7.11.3
mkdir -p "${DESTDIR}/${DOC_DIR}"
WORKDIR="$(pwd)"
cd "${DESTDIR}/${DOC_DIR}"
tar xvf "${WORKDIR}/git-htmldocs-1.7.11.3.tar.gz"
}
LICENSE="GNU GPL v2"
COPYRIGHT="2005-2012 Git Authors (see git web site for list)"

View File

@@ -0,0 +1,32 @@
DESCRIPTION="git a fast version control system"
HOMEPAGE="http://code.google.com/p/git-core/"
SRC_URI="http://git-core.googlecode.com/files/git-manpages-1.8.0.tar.gz"
CHECKSUM_MD5="66f0a839d933c7d573fb40cb051b5e66"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD {
echo "Attempting to download additional formats"
wget http://git-core.googlecode.com/files/git-htmldocs-1.8.0.tar.gz
if [ $? != 0 ];then
echo "Error downloading additional formats"
exit 1
fi
}
INSTALL {
MAN_DIR=$(finddir B_COMMON_DOCUMENTATION_DIRECTORY)/man
mkdir -p "${DESTDIR}/${MAN_DIR}"
cp -afv man* "${DESTDIR}/${MAN_DIR}"
echo "Extracting extra docs"
DOC_DIR=$(finddir B_COMMON_DOCUMENTATION_DIRECTORY)/doc/git-1.8.0
mkdir -p "${DESTDIR}/${DOC_DIR}"
WORKDIR="$(pwd)"
cd "${DESTDIR}/${DOC_DIR}"
tar xvf "${WORKDIR}/git-htmldocs-1.8.0.tar.gz"
}
LICENSE="GNU GPL v2"
COPYRIGHT="2005-2012 Git Authors (see git web site for list)"

View File

@@ -0,0 +1,32 @@
DESCRIPTION="git a fast version control system"
HOMEPAGE="http://code.google.com/p/git-core/"
SRC_URI="http://git-core.googlecode.com/files/git-manpages-1.8.1.3.tar.gz"
CHECKSUM_MD5="b8e050c3c96b0b9fa28a7b7e9413af01"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD {
echo "Attempting to download additional formats"
wget http://git-core.googlecode.com/files/git-htmldocs-1.8.1.3.tar.gz
if [ $? != 0 ];then
echo "Error downloading additional formats"
exit 1
fi
}
INSTALL {
MAN_DIR=$(finddir B_COMMON_DOCUMENTATION_DIRECTORY)/man
mkdir -p "${DESTDIR}/${MAN_DIR}"
cp -afv man* "${DESTDIR}/${MAN_DIR}"
echo "Extracting extra docs"
DOC_DIR=$(finddir B_COMMON_DOCUMENTATION_DIRECTORY)/doc/git-1.8.1.3
mkdir -p "${DESTDIR}/${DOC_DIR}"
WORKDIR="$(pwd)"
cd "${DESTDIR}/${DOC_DIR}"
tar xvf "${WORKDIR}/git-htmldocs-1.8.1.3.tar.gz"
}
LICENSE="GNU GPL v2"
COPYRIGHT="2005-2013 Git Authors (see git web site for list)"

View File

@@ -1,18 +0,0 @@
DESCRIPTION="Mercurial is a free, distributed source control management tool"
HOMEPAGE="http://mercurial.selenic.com/"
SRC_URI="http://mercurial.selenic.com/release/mercurial-1.4.2.tar.gz"
CHECKSUM_MD5="cf23b0887f0437c8601d5b89ae4663a6"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD {
cd mercurial-1.4.2
python setup.py build
}
INSTALL {
cd mercurial-1.4.2
python setup.py install --prefix=/boot/common
}
LICENSE="GNU GPL v2"
COPYRIGHT="2005-2010 Matt Mackall et al. "

View File

@@ -1,18 +0,0 @@
DESCRIPTION="Mercurial is a free, distributed source control management tool"
HOMEPAGE="http://mercurial.selenic.com/"
SRC_URI="http://mercurial.selenic.com/release/mercurial-1.4.tar.gz"
CHECKSUM_MD5="951ebd4a8153eaa3c56fc0ce2575ab70"
REVISION="1"
STATUS_HAIKU="broken"
DEPEND=""
BUILD {
cd mercurial-1.4
python setup.py install --prefix="/boot/common" --force
}
INSTALL {
cd mercurial-1.4
make install PREFIX=/boot/common
}
LICENSE="GNU GPL v2"
COPYRIGHT="2005-2010 Matt Mackall et al. "

View File

@@ -1,22 +0,0 @@
DESCRIPTION="Mercurial is a free, distributed source control management tool"
HOMEPAGE="http://mercurial.selenic.com/"
SRC_URI="http://mercurial.selenic.com/release/mercurial-1.5.1.tar.gz"
CHECKSUM_MD5="22eac5602d777f9601e23700e641503f"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD {
cd mercurial-1.5.1
python setup.py build --force
}
INSTALL {
cd mercurial-1.5.1
if [ -n ${DESTDIR} ];then
python setup.py install --root="${DESTDIR}" --prefix="/boot/common" --force
else
python setup.py install --prefix="/boot/common" --force
fi
}
LICENSE="GNU GPL v2"
COPYRIGHT="2005-2010 Matt Mackall et al. "

View File

@@ -1,22 +0,0 @@
DESCRIPTION="Mercurial is a free, distributed source control management tool"
HOMEPAGE="http://mercurial.selenic.com/"
SRC_URI="http://mercurial.selenic.com/release/mercurial-1.5.2.tar.gz"
CHECKSUM_MD5="deafaaf017fc3c8a9deef39e566aec80"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD {
cd mercurial-1.5.2
python setup.py build --force
}
INSTALL {
cd mercurial-1.5.2
if [ -n ${DESTDIR} ];then
python setup.py install --root="${DESTDIR}" --prefix="/boot/common" --force
else
python setup.py install --prefix="/boot/common" --force
fi
}
LICENSE="GNU GPL v2"
COPYRIGHT="2005-2010 Matt Mackall et al. "

View File

@@ -1,22 +0,0 @@
DESCRIPTION="Mercurial is a free, distributed source control management tool"
HOMEPAGE="http://mercurial.selenic.com/"
SRC_URI="http://mercurial.selenic.com/release/mercurial-1.5.3.tar.gz"
CHECKSUM_MD5="0969b8109f1b5a9c4debf985cca938f9"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="dev-lang/python >= 2.3"
BUILD {
cd mercurial-1.5.3
python setup.py build --force
}
INSTALL {
cd mercurial-1.5.3
if [ -n ${DESTDIR} ];then
python setup.py install --root="${DESTDIR}" --prefix="/boot/common" --force
else
python setup.py install --prefix="/boot/common" --force
fi
}
LICENSE="GNU GPL v2"
COPYRIGHT="2005-2010 Matt Mackall et al. "

View File

@@ -1,22 +0,0 @@
DESCRIPTION="Mercurial is a free, distributed source control management tool"
HOMEPAGE="http://mercurial.selenic.com/"
SRC_URI="http://mercurial.selenic.com/release/mercurial-1.5.tar.gz"
CHECKSUM_MD5="6e31357ada35fe20557f08a4e89f9c42"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD {
cd mercurial-1.5
python setup.py build --force
}
INSTALL {
cd mercurial-1.5
if [ -n ${DESTDIR} ];then
python setup.py install --root="${DESTDIR}" --prefix="/boot/common" --force
else
python setup.py install --prefix="/boot/common" --force
fi
}
LICENSE="GNU GPL v2"
COPYRIGHT="2005-2010 Matt Mackall et al. "

View File

@@ -1,22 +0,0 @@
DESCRIPTION="Mercurial is a free, distributed source control management tool"
HOMEPAGE="http://mercurial.selenic.com/"
SRC_URI="http://mercurial.selenic.com/release/mercurial-1.6.tar.gz"
CHECKSUM_MD5="e97772cb424d29d9382c41daafa6f92d"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="dev-lang/python >= 2.3"
BUILD {
cd mercurial-1.6
python setup.py build --force
}
INSTALL {
cd mercurial-1.6
if [ -n "${DESTDIR}" ];then
python setup.py install --root="${DESTDIR}" --prefix="/boot/common" --force
else
python setup.py install --prefix="/boot/common" --force
fi
}
LICENSE="GNU GPL v2"
COPYRIGHT="2005-2010 Matt Mackall et al. "

View File

@@ -1,28 +0,0 @@
DESCRIPTION="Mercurial is a free, distributed source control management tool"
HOMEPAGE="http://mercurial.selenic.com/"
SRC_URI="http://mercurial.selenic.com/release/mercurial-1.7.3.tar.gz"
CHECKSUM_MD5="1d635ad307fa20a5e9c6afba6145a73b"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="dev-lang/python >= 2.3"
BUILD {
cd mercurial-1.7.3
python setup.py build --force
}
INSTALL {
cd mercurial-1.7.3
if [ -n "${DESTDIR}" ];then
python setup.py install --root="${DESTDIR}" --prefix="/boot/common" --force
else
python setup.py install --prefix="/boot/common" --force
fi
}
TEST {
cd mercurial-1.7.3/tests
python run-tests.py
}
LICENSE="GNU GPL v2"
COPYRIGHT="2005-2010 Matt Mackall et al. "

View File

@@ -0,0 +1,30 @@
DESCRIPTION="Mercurial is a free, distributed source control management tool"
HOMEPAGE="http://mercurial.selenic.com/"
SRC_URI="http://mercurial.selenic.com/release/mercurial-2.2.2.tar.gz"
CHECKSUM_MD5="9f59b5d71969cbb2671702cd2a7a5a11"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="dev-lang/python >= 2.3"
BUILD {
cd mercurial-2.2.2
python setup.py build --force
}
INSTALL {
cd mercurial-2.2.2
if [ -n "${DESTDIR}" ];then
python setup.py install --root="${DESTDIR}" --prefix="$(finddir B_COMMON_DIRECTORY)" --force
else
python setup.py install --prefix="$(finddir B_COMMON_DIRECTORY)" --force
fi
}
TEST {
cd mercurial-2.2.2/tests
shopt -s extglob
sed -i 's,/usr/bin/env,/bin/env,' !(blacklists|bundles|gpg|svn)
python run-tests.py
}
LICENSE="GNU GPL v2"
COPYRIGHT="2005-2012 Matt Mackall et al."

View File

@@ -0,0 +1,30 @@
DESCRIPTION="Mercurial is a free, distributed source control management tool"
HOMEPAGE="http://mercurial.selenic.com/"
SRC_URI="http://mercurial.selenic.com/release/mercurial-2.2.3.tar.gz"
CHECKSUM_MD5="f4c70af3892d964b83b2718bde44c2f8"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="dev-lang/python >= 2.3"
BUILD {
cd mercurial-2.2.3
python setup.py build --force
}
INSTALL {
cd mercurial-2.2.3
if [ -n "${DESTDIR}" ];then
python setup.py install --root="${DESTDIR}" --prefix="$(finddir B_COMMON_DIRECTORY)" --force
else
python setup.py install --prefix="$(finddir B_COMMON_DIRECTORY)" --force
fi
}
TEST {
cd mercurial-2.2.3/tests
shopt -s extglob
sed -i 's,/usr/bin/env,/bin/env,' !(blacklists|bundles|gpg|svn)
python run-tests.py
}
LICENSE="GNU GPL v2"
COPYRIGHT="2005-2012 Matt Mackall et al."

View File

@@ -0,0 +1,30 @@
DESCRIPTION="Mercurial is a free, distributed source control management tool"
HOMEPAGE="http://mercurial.selenic.com/"
SRC_URI="http://mercurial.selenic.com/release/mercurial-2.3.tar.gz"
CHECKSUM_MD5="8d9f776e432239571dfab2b5f88b3675"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="dev-lang/python >= 2.3"
BUILD {
cd mercurial-2.3
python setup.py build --force
}
INSTALL {
cd mercurial-2.3
if [ -n "${DESTDIR}" ];then
python setup.py install --root="${DESTDIR}" --prefix="$(finddir B_COMMON_DIRECTORY)" --force
else
python setup.py install --prefix="$(finddir B_COMMON_DIRECTORY)" --force
fi
}
TEST {
cd mercurial-2.3/tests
shopt -s extglob
sed -i 's,/usr/bin/env,/bin/env,' !(blacklists|bundles|gpg|svn)
python run-tests.py
}
LICENSE="GNU GPL v2"
COPYRIGHT="2005-2012 Matt Mackall et al."

View File

@@ -0,0 +1,30 @@
DESCRIPTION="Mercurial is a free, distributed source control management tool"
HOMEPAGE="http://mercurial.selenic.com/"
SRC_URI="http://mercurial.selenic.com/release/mercurial-2.4.tar.gz"
CHECKSUM_MD5="c1fc9bec6951dd3c913092c3c72da014"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="dev-lang/python >= 2.4"
BUILD {
cd mercurial-2.4
python setup.py build --force
}
INSTALL {
cd mercurial-2.4
if [ -n "${DESTDIR}" ];then
python setup.py install --root="${DESTDIR}" --prefix="$(finddir B_COMMON_DIRECTORY)" --force
else
python setup.py install --prefix="$(finddir B_COMMON_DIRECTORY)" --force
fi
}
TEST {
cd mercurial-2.4/tests
shopt -s extglob
sed -i 's,/usr/bin/env,/bin/env,' !(blacklists|bundles|gpg|svn)
python run-tests.py
}
LICENSE="GNU GPL v2"
COPYRIGHT="2005-2012 Matt Mackall et al."

View File

@@ -1,24 +0,0 @@
diff -urN mercurial-1.0.2/mercurial/bdiff.c mercurial-1.0.2-haiku/mercurial/bdiff.c
--- mercurial-1.0.2/mercurial/bdiff.c 2008-08-13 22:11:47.000000000 +0000
+++ mercurial-1.0.2-haiku/mercurial/bdiff.c 2008-09-09 15:43:50.000000000 +0000
@@ -34,7 +34,7 @@
}
#else
#include <sys/types.h>
-#ifdef __BEOS__
+#if defined __BEOS__ && !defined __HAIKU__
#include <ByteOrder.h>
#else
#include <arpa/inet.h>
diff -urN mercurial-1.0.2/mercurial/mpatch.c mercurial-1.0.2-haiku/mercurial/mpatch.c
--- mercurial-1.0.2/mercurial/mpatch.c 2008-08-13 22:11:47.000000000 +0000
+++ mercurial-1.0.2-haiku/mercurial/mpatch.c 2008-09-09 15:44:29.000000000 +0000
@@ -52,7 +52,7 @@
#else
/* not windows */
# include <sys/types.h>
-# ifdef __BEOS__
+# if defined __BEOS__ && !defined __HAIKU__
# include <ByteOrder.h>
# else
# include <arpa/inet.h>

View File

@@ -1,12 +0,0 @@
diff -up mercurial-1.5.1/mercurial/ui.py.orig mercurial-1.5.1/mercurial/ui.py
--- mercurial-1.5.1/mercurial/ui.py.orig 2010-04-30 23:51:42.741605376 -0600
+++ mercurial-1.5.1/mercurial/ui.py 2010-04-30 23:52:08.309854208 -0600
@@ -384,7 +384,7 @@ class ui(object):
return (os.environ.get("HGEDITOR") or
self.config("ui", "editor") or
os.environ.get("VISUAL") or
- os.environ.get("EDITOR", "vi"))
+ os.environ.get("EDITOR", "nano"))
def progress(self, topic, pos, item="", unit="", total=None):
'''show a progress message

View File

@@ -1,12 +0,0 @@
diff -up mercurial-1.5.2/mercurial/ui.py.orig mercurial-1.5.2/mercurial/ui.py
--- mercurial-1.5.2/mercurial/ui.py.orig 2010-05-01 15:02:48.041156608 -0600
+++ mercurial-1.5.2/mercurial/ui.py 2010-05-01 17:04:56.068943872 -0600
@@ -384,7 +384,7 @@ class ui(object):
return (os.environ.get("HGEDITOR") or
self.config("ui", "editor") or
os.environ.get("VISUAL") or
- os.environ.get("EDITOR", "vi"))
+ os.environ.get("EDITOR", "nano"))
def progress(self, topic, pos, item="", unit="", total=None):
'''show a progress message

View File

@@ -1,12 +0,0 @@
diff -up mercurial-1.5.3/mercurial/ui.py.orig mercurial-1.5.3/mercurial/ui.py
--- mercurial-1.5.3/mercurial/ui.py.orig 2010-05-13 10:30:46.037224448 -0600
+++ mercurial-1.5.3/mercurial/ui.py 2010-05-13 17:58:50.218890240 -0600
@@ -384,7 +384,7 @@ class ui(object):
return (os.environ.get("HGEDITOR") or
self.config("ui", "editor") or
os.environ.get("VISUAL") or
- os.environ.get("EDITOR", "vi"))
+ os.environ.get("EDITOR", "nano"))
def progress(self, topic, pos, item="", unit="", total=None):
'''show a progress message

View File

@@ -1,12 +0,0 @@
diff -up mercurial-1.6/mercurial/ui.py.orig mercurial-1.6/mercurial/ui.py
--- mercurial-1.6/mercurial/ui.py.orig 2010-07-01 11:06:27.030670848 -0600
+++ mercurial-1.6/mercurial/ui.py 2010-07-01 11:41:21.504365056 -0600
@@ -557,7 +557,7 @@ class ui(object):
return (os.environ.get("HGEDITOR") or
self.config("ui", "editor") or
os.environ.get("VISUAL") or
- os.environ.get("EDITOR", "vi"))
+ os.environ.get("EDITOR", "nano"))
def progress(self, topic, pos, item="", unit="", total=None):
'''show a progress message

View File

@@ -1,12 +0,0 @@
diff -up mercurial-1.7.3/mercurial/ui.py.orig mercurial-1.7.3/mercurial/ui.py
--- mercurial-1.7.3/mercurial/ui.py.orig 2010-07-01 11:06:27.030670848 -0600
+++ mercurial-1.7.3/mercurial/ui.py 2010-07-01 11:41:21.504365056 -0600
@@ -557,7 +557,7 @@ class ui(object):
return (os.environ.get("HGEDITOR") or
self.config("ui", "editor") or
os.environ.get("VISUAL") or
- os.environ.get("EDITOR", "vi"))
+ os.environ.get("EDITOR", "nano"))
def progress(self, topic, pos, item="", unit="", total=None):
'''show a progress message

View File

@@ -0,0 +1,12 @@
diff -up mercurial-2.2.2/mercurial/ui.py.orig mercurial-2.2.2/mercurial/ui.py
--- mercurial-2.2.2/mercurial/ui.py.orig 2012-06-01 22:48:21.025690112 -0600
+++ mercurial-2.2.2/mercurial/ui.py 2012-06-04 17:15:16.317980672 -0600
@@ -693,7 +693,7 @@ class ui(object):
# avoid confusion.
editor = 'E'
else:
- editor = 'vi'
+ editor = 'nano'
return (os.environ.get("HGEDITOR") or
self.config("ui", "editor") or
os.environ.get("VISUAL") or

View File

@@ -0,0 +1,12 @@
diff -up mercurial-2.2.3/mercurial/ui.py.orig mercurial-2.2.3/mercurial/ui.py
--- mercurial-2.2.3/mercurial/ui.py.orig 2012-06-01 22:48:21.025690112 -0600
+++ mercurial-2.2.3/mercurial/ui.py 2012-06-04 17:15:16.317980672 -0600
@@ -693,7 +693,7 @@ class ui(object):
# avoid confusion.
editor = 'E'
else:
- editor = 'vi'
+ editor = 'nano'
return (os.environ.get("HGEDITOR") or
self.config("ui", "editor") or
os.environ.get("VISUAL") or

View File

@@ -0,0 +1,12 @@
diff -up mercurial-2.3/mercurial/ui.py.orig mercurial-2.3/mercurial/ui.py
--- mercurial-2.3/mercurial/ui.py.orig 2012-08-02 00:49:31.022544384 -0600
+++ mercurial-2.3/mercurial/ui.py 2012-08-02 01:06:19.942407680 -0600
@@ -701,7 +701,7 @@ class ui(object):
# avoid confusion.
editor = 'E'
else:
- editor = 'vi'
+ editor = 'nano'
return (os.environ.get("HGEDITOR") or
self.config("ui", "editor") or
os.environ.get("VISUAL") or

View File

@@ -0,0 +1,12 @@
diff -up mercurial-2.4/mercurial/ui.py.orig mercurial-2.4/mercurial/ui.py
--- mercurial-2.4/mercurial/ui.py.orig 2012-08-02 00:49:31.022544384 -0600
+++ mercurial-2.4/mercurial/ui.py 2012-08-02 01:06:19.942407680 -0600
@@ -701,7 +701,7 @@ class ui(object):
# avoid confusion.
editor = 'E'
else:
- editor = 'vi'
+ editor = 'nano'
return (os.environ.get("HGEDITOR") or
self.config("ui", "editor") or
os.environ.get("VISUAL") or

View File

@@ -0,0 +1,86 @@
diff -urN subversion-1.6.17/configure.ac subversion-1.6.17-haiku/configure.ac
--- subversion-1.6.17/configure.ac 2009-10-13 09:09:30.026214400 -0700
+++ subversion-1.6.17-haiku/configure.ac 2011-08-02 14:32:39.227278848 -0700
@@ -249,7 +249,7 @@
dnl Check for libraries --------------------
# Berkeley DB on SCO OpenServer needs -lsocket
-AC_CHECK_LIB(socket, socket)
+AC_SEARCH_LIBS(socket, socket network)
# Build the BDB filesystem library only if we have an appropriate
# version of Berkeley DB.
diff -urN subversion-1.6.17/subversion/libsvn_subr/config_file.c subversion-1.6.17-haiku/subversion/libsvn_subr/config_file.c
--- subversion-1.6.17/subversion/libsvn_subr/config_file.c 2009-11-25 09:27:35.047972352 -0800
+++ subversion-1.6.17-haiku/subversion/libsvn_subr/config_file.c 2010-03-15 22:59:57.000000000 -0700
@@ -32,6 +32,11 @@
#include "svn_private_config.h"
+#ifdef __HAIKU__
+# include <FindDirectory.h>
+# include <StorageDefs.h>
+#endif
+
/* Used to terminate lines in large multi-line string literals. */
#define NL APR_EOL_STR
@@ -326,7 +331,19 @@
SVN_CONFIG__SUBDIRECTORY, fname, NULL);
}
-#else /* ! WIN32 */
+#elif defined(__HAIKU__)
+{
+ char folder[B_PATH_NAME_LENGTH];
+
+ status_t error = find_directory(B_COMMON_SETTINGS_DIRECTORY, -1, false,
+ folder, sizeof(folder));
+ if (error)
+ return SVN_NO_ERROR;
+
+ *path_p = svn_path_join_many(pool, folder,
+ SVN_CONFIG__SYS_DIRECTORY, fname, NULL);
+}
+#else /* ! WIN32 && !__HAIKU__ */
*path_p = svn_path_join_many(pool, SVN_CONFIG__SYS_DIRECTORY, fname, NULL);
@@ -1115,8 +1132,21 @@
*path = svn_path_join_many(pool, folder,
SVN_CONFIG__SUBDIRECTORY, fname, NULL);
}
+
+#elif defined(__HAIKU__)
+{
+ char folder[B_PATH_NAME_LENGTH];
+
+ status_t error = find_directory (B_USER_SETTINGS_DIRECTORY, -1, false,
+ folder, sizeof(folder));
+ if (error)
+ return SVN_NO_ERROR;
+
+ *path = svn_path_join_many(pool, folder,
+ SVN_CONFIG__USR_DIRECTORY, fname, NULL);
+}
+#else /* ! WIN32 && !__HAIKU__ */
-#else /* ! WIN32 */
{
const char *homedir = svn_user_get_homedir(pool);
if (! homedir)
diff -urN subversion-1.6.17/subversion/libsvn_subr/config_impl.h subversion-1.6.17-haiku/subversion/libsvn_subr/config_impl.h
--- subversion-1.6.17/subversion/libsvn_subr/config_impl.h 2009-01-27 05:23:50.045350912 -0800
+++ subversion-1.6.17-haiku/subversion/libsvn_subr/config_impl.h 2010-03-15 22:39:34.000000000 -0700
@@ -109,7 +109,10 @@
or svn_config_get_user_config_path() instead. */
#ifdef WIN32
# define SVN_CONFIG__SUBDIRECTORY "Subversion"
-#else /* ! WIN32 */
+#elif defined __HAIKU__ /* HAIKU */
+# define SVN_CONFIG__SYS_DIRECTORY "subversion"
+# define SVN_CONFIG__USR_DIRECTORY "subversion"
+#else /* ! WIN32 && ! __HAIKU__ */
# define SVN_CONFIG__SYS_DIRECTORY "/etc/subversion"
# define SVN_CONFIG__USR_DIRECTORY ".subversion"
#endif /* WIN32 */

View File

@@ -0,0 +1,86 @@
diff -urN subversion-1.6.18/configure.ac subversion-1.6.18-haiku/configure.ac
--- subversion-1.6.18/configure.ac 2009-10-13 09:09:30.026214400 -0700
+++ subversion-1.6.18-haiku/configure.ac 2011-08-02 14:32:39.227278848 -0700
@@ -249,7 +249,7 @@
dnl Check for libraries --------------------
# Berkeley DB on SCO OpenServer needs -lsocket
-AC_CHECK_LIB(socket, socket)
+AC_SEARCH_LIBS(socket, socket network)
# Build the BDB filesystem library only if we have an appropriate
# version of Berkeley DB.
diff -urN subversion-1.6.18/subversion/libsvn_subr/config_file.c subversion-1.6.18-haiku/subversion/libsvn_subr/config_file.c
--- subversion-1.6.18/subversion/libsvn_subr/config_file.c 2009-11-25 09:27:35.047972352 -0800
+++ subversion-1.6.18-haiku/subversion/libsvn_subr/config_file.c 2010-03-15 22:59:57.000000000 -0700
@@ -32,6 +32,11 @@
#include "svn_private_config.h"
+#ifdef __HAIKU__
+# include <FindDirectory.h>
+# include <StorageDefs.h>
+#endif
+
/* Used to terminate lines in large multi-line string literals. */
#define NL APR_EOL_STR
@@ -326,7 +331,19 @@
SVN_CONFIG__SUBDIRECTORY, fname, NULL);
}
-#else /* ! WIN32 */
+#elif defined(__HAIKU__)
+{
+ char folder[B_PATH_NAME_LENGTH];
+
+ status_t error = find_directory(B_COMMON_SETTINGS_DIRECTORY, -1, false,
+ folder, sizeof(folder));
+ if (error)
+ return SVN_NO_ERROR;
+
+ *path_p = svn_path_join_many(pool, folder,
+ SVN_CONFIG__SYS_DIRECTORY, fname, NULL);
+}
+#else /* ! WIN32 && !__HAIKU__ */
*path_p = svn_path_join_many(pool, SVN_CONFIG__SYS_DIRECTORY, fname, NULL);
@@ -1115,8 +1132,21 @@
*path = svn_path_join_many(pool, folder,
SVN_CONFIG__SUBDIRECTORY, fname, NULL);
}
+
+#elif defined(__HAIKU__)
+{
+ char folder[B_PATH_NAME_LENGTH];
+
+ status_t error = find_directory (B_USER_SETTINGS_DIRECTORY, -1, false,
+ folder, sizeof(folder));
+ if (error)
+ return SVN_NO_ERROR;
+
+ *path = svn_path_join_many(pool, folder,
+ SVN_CONFIG__USR_DIRECTORY, fname, NULL);
+}
+#else /* ! WIN32 && !__HAIKU__ */
-#else /* ! WIN32 */
{
const char *homedir = svn_user_get_homedir(pool);
if (! homedir)
diff -urN subversion-1.6.18/subversion/libsvn_subr/config_impl.h subversion-1.6.18-haiku/subversion/libsvn_subr/config_impl.h
--- subversion-1.6.18/subversion/libsvn_subr/config_impl.h 2009-01-27 05:23:50.045350912 -0800
+++ subversion-1.6.18-haiku/subversion/libsvn_subr/config_impl.h 2010-03-15 22:39:34.000000000 -0700
@@ -109,7 +109,10 @@
or svn_config_get_user_config_path() instead. */
#ifdef WIN32
# define SVN_CONFIG__SUBDIRECTORY "Subversion"
-#else /* ! WIN32 */
+#elif defined __HAIKU__ /* HAIKU */
+# define SVN_CONFIG__SYS_DIRECTORY "subversion"
+# define SVN_CONFIG__USR_DIRECTORY "subversion"
+#else /* ! WIN32 && ! __HAIKU__ */
# define SVN_CONFIG__SYS_DIRECTORY "/etc/subversion"
# define SVN_CONFIG__USR_DIRECTORY ".subversion"
#endif /* WIN32 */

View File

@@ -10,9 +10,9 @@ BUILD {
libtoolize --force --copy --install
aclocal -I build -I build/ac-macros
autogen.sh
./configure --prefix=/boot/common \
--with-apr=/boot/common/bin/apr-1-config \
--with-apr-util=/boot/common/bin/apu-1-config \
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
--with-apr=`finddir B_COMMON_BIN_DIRECTORY`/apr-1-config \
--with-apr-util=`finddir B_COMMON_BIN_DIRECTORY`/apu-1-config \
--with-neon=/boot/common \
--with-editor=lpe \
--with-zlib=/boot/common

View File

@@ -11,9 +11,9 @@ BUILD {
aclocal -I build -I build/ac-macros
autoconf
./autogen.sh
./configure --prefix=/boot/common \
--with-apr=/boot/common/bin/apr-1-config \
--with-apr-util=/boot/common/bin/apu-1-config \
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
--with-apr=`finddir B_COMMON_BIN_DIRECTORY`/apr-1-config \
--with-apr-util=`finddir B_COMMON_BIN_DIRECTORY`/apu-1-config \
--with-neon=/boot/common \
--with-editor=nano \
--with-zlib=/boot/common

View File

@@ -11,9 +11,9 @@ BUILD {
aclocal -I build -I build/ac-macros
autoconf
./autogen.sh
./configure --prefix=/boot/common \
--with-apr=/boot/common/bin/apr-1-config \
--with-apr-util=/boot/common/bin/apu-1-config \
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
--with-apr=`finddir B_COMMON_BIN_DIRECTORY`/apr-1-config \
--with-apr-util=`finddir B_COMMON_BIN_DIRECTORY`/apu-1-config \
--with-neon=/boot/common \
--with-editor=nano \
--with-zlib=/boot/common

View File

@@ -0,0 +1,56 @@
DESCRIPTION="Subversion is an open source version control system"
HOMEPAGE="http://subversion.apache.org"
SRC_URI="http://subversion.tigris.org/downloads/subversion-1.6.17.tar.bz2"
CHECKSUM_MD5="81e5dc5beee4b3fc025ac70c0b6caa14"
REVISION="3"
STATUS_HAIKU="stable"
DEPEND="dev-libs/apr >= 1.4.4
dev-libs/apr-util >= 1.3.12
net-misc/neon >= 0.29.6
dev-libs/libiconv >= 1.13.1
dev-db/sqlite >= 3.7.7.1
dev-libs/expat >= 2.0.1
dev-libs/openssl >= 1.0.0d
dev-libs/libxml2 >= 2.7.8"
BUILD {
cd subversion-1.6.17
libtoolize --force --copy --install
aclocal -I build -I build/ac-macros
autoconf
COMMON_DIR=`finddir B_COMMON_DIRECTORY`
./configure --prefix=$COMMON_DIR \
--mandir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man \
--with-apr=`finddir B_COMMON_BIN_DIRECTORY`/apr-1-config \
--with-apr-util=`finddir B_COMMON_BIN_DIRECTORY`/apu-1-config \
--with-neon=$COMMON_DIR \
--with-zlib=$COMMON_DIR \
--with-editor=nano \
--disable-nls
make
}
INSTALL {
cd subversion-1.6.17
make install
if type -p swig > /dev/null;then
if type -p python > /dev/null;then
PYTHON_PKGDIR=$(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
make install-swig-py swig_pydir=${PYTHON_PKGDIR}/libsvn swig_pydir_extra=${PYTHON_PKGDIR}/svn
fi
#if type -p perl > /dev/null;then
# make install-swig-pl
#fi
#if type -p ruby > /dev/null;then
# make install-swig-rb
#fi
fi
}
TEST {
cd subversion-1.6.17
make check
}
LICENSE="Apache-Subversion"
COPYRIGHT="2011 The Apache Software Foundation"

View File

@@ -0,0 +1,56 @@
DESCRIPTION="Subversion is an open source version control system"
HOMEPAGE="http://subversion.apache.org"
SRC_URI="http://subversion.tigris.org/downloads/subversion-1.6.18.tar.bz2"
CHECKSUM_MD5="c5c662a5d19d047256fa333bd890a925"
REVISION="3"
STATUS_HAIKU="stable"
DEPEND="dev-libs/apr >= 1.4.4
dev-libs/apr-util >= 1.3.12
net-misc/neon >= 0.29.6
dev-libs/libiconv >= 1.13.1
dev-db/sqlite >= 3.7.7.1
dev-libs/expat >= 2.0.1
dev-libs/openssl >= 1.0.0d
dev-libs/libxml2 >= 2.7.8"
BUILD {
cd subversion-1.6.18
libtoolize --force --copy --install
aclocal -I build -I build/ac-macros
autoconf
COMMON_DIR=`finddir B_COMMON_DIRECTORY`
./configure --prefix=$COMMON_DIR \
--mandir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man \
--with-apr=`finddir B_COMMON_BIN_DIRECTORY`/apr-1-config \
--with-apr-util=`finddir B_COMMON_BIN_DIRECTORY`/apu-1-config \
--with-neon=$COMMON_DIR \
--with-zlib=$COMMON_DIR \
--with-editor=nano \
--disable-nls
make
}
INSTALL {
cd subversion-1.6.18
make install
if type -p swig > /dev/null;then
if type -p python > /dev/null;then
PYTHON_PKGDIR=$(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
make install-swig-py swig_pydir=${PYTHON_PKGDIR}/libsvn swig_pydir_extra=${PYTHON_PKGDIR}/svn
fi
#if type -p perl > /dev/null;then
# make install-swig-pl
#fi
#if type -p ruby > /dev/null;then
# make install-swig-rb
#fi
fi
}
TEST {
cd subversion-1.6.18
make check
}
LICENSE="Apache-Subversion"
COPYRIGHT="2000-2009 CollabNet"

View File

@@ -10,7 +10,7 @@ BUILD {
libtoolize --force --copy --install
aclocal -I build -I build/ac-macros
autogen.sh
./configure --prefix=/boot/common --with-apr=/boot/common/bin/apr-1-config --with-apr-util=/boot/common/bin/apu-1-config --with-neon=/boot/common --with-editor=lpe --with-zlib=/boot/common
./configure --prefix=`finddir B_COMMON_DIRECTORY` --with-apr=`finddir B_COMMON_BIN_DIRECTORY`/apr-1-config --with-apr-util=`finddir B_COMMON_BIN_DIRECTORY`/apu-1-config --with-neon=/boot/common --with-editor=lpe --with-zlib=/boot/common
make
}

View File

@@ -10,7 +10,7 @@ BUILD {
libtoolize --force --copy --install
aclocal -I build -I build/ac-macros
autogen.sh
./configure --prefix=/boot/common --with-apr=/boot/common/bin/apr-1-config --with-apr-util=/boot/common/bin/apu-1-config --with-neon=/boot/common --with-editor=nano --with-zlib=/boot/common
./configure --prefix=`finddir B_COMMON_DIRECTORY` --with-apr=`finddir B_COMMON_BIN_DIRECTORY`/apr-1-config --with-apr-util=`finddir B_COMMON_BIN_DIRECTORY`/apu-1-config --with-neon=/boot/common --with-editor=nano --with-zlib=/boot/common
make
}

View File

@@ -0,0 +1,56 @@
DESCRIPTION="Subversion is an open source version control system"
HOMEPAGE="http://subversion.apache.org"
SRC_URI="http://apache.deathculture.net/subversion/subversion-1.7.0-rc2.tar.bz2"
CHECKSUM_MD5="f0242ae5a2abc14cc22e65c2a23b09c4"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="dev-libs/apr >= 1.4.4
dev-libs/apr-util >= 1.3.12
net-misc/neon >= 0.29.6
dev-libs/libiconv >= 1.13.1
dev-db/sqlite >= 3.7.7.1
dev-libs/expat >= 2.0.1
dev-libs/openssl >= 1.0.0d
dev-libs/libxml2 >= 2.7.8"
BUILD {
cd subversion-1.7.0-rc2
libtoolize --force --copy --install
aclocal -I build -I build/ac-macros
autoconf
COMMON_DIR=`finddir B_COMMON_DIRECTORY`
./configure --prefix=$COMMON_DIR \
--mandir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man \
--with-apr=`finddir B_COMMON_BIN_DIRECTORY`/apr-1-config \
--with-apr-util=`finddir B_COMMON_BIN_DIRECTORY`/apu-1-config \
--with-neon=$COMMON_DIR \
--with-zlib=$COMMON_DIR \
--with-editor=nano \
--disable-nls
make
}
INSTALL {
cd subversion-1.7.0-rc2
make install
if type -p swig > /dev/null;then
if type -p python > /dev/null;then
PYTHON_PKGDIR=$(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
make install-swig-py swig_pydir=${PYTHON_PKGDIR}/libsvn swig_pydir_extra=${PYTHON_PKGDIR}/svn
fi
#if type -p perl > /dev/null;then
# make install-swig-pl
#fi
#if type -p ruby > /dev/null;then
# make install-swig-rb
#fi
fi
}
TEST {
cd subversion-1.7.0-rc2
make check
}
LICENSE="Apache-Subversion"
COPYRIGHT="2011 The Apache Software Foundation"

View File

@@ -11,9 +11,9 @@ BUILD {
aclocal -I build -I build/ac-macros
autoconf
./autogen.sh
./configure --prefix=/boot/common \
--with-apr=/boot/common/bin/apr-1-config \
--with-apr-util=/boot/common/bin/apu-1-config \
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
--with-apr=`finddir B_COMMON_BIN_DIRECTORY`/apr-1-config \
--with-apr-util=`finddir B_COMMON_BIN_DIRECTORY`/apu-1-config \
--with-neon=/boot/common \
--with-editor=nano \
--with-zlib=/boot/common

View File

@@ -9,7 +9,7 @@ BUILD {
cd tig-0.16
libtoolize --force --copy --install
autoreconf -i
./configure --prefix=/boot/common
./configure --prefix=`finddir B_COMMON_DIRECTORY`
make
}