-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 13/10/2010 05:01, Joseph Powers wrote:
> 1. I had to install libgettext in order to build several libraries.
>       This causes the build of libhunspell to fail because it looks like it's 
> trying to compile against the gettext directory adjacent to the hunspell 
> directories. Since gettext wasn't built, the files are missing. I had to 
> install libhunspell and include the --with-system-hunspell to work around 
> this issue.

I am just wondering about the requirements list. I recon that libxml2 is
not needed to be installed from MacPorts. I changed the wiki accordingly.

Now, I don't know how about libidl, but would be surprised that it is
needed.

For wget, it seems that Christian already added a possibility to use
curl that is on a stock mac.

For git I found somewhere the attached script.

Not sure about coreutils, pkg-config and automake OTOH.

Cheers

F.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAky1bVcACgkQu9a1imXPdA+d/ACfVhxr0l7kCu6/whTLuKJIm+e0
P/YAnRQmPVZciU17FBkiAp7cS8984DnM
=zpqJ
-----END PGP SIGNATURE-----
#!/bin/bash
#

while true; do
        echo -n "Please enter your name: "
        read name

        echo -n "Please enter your e-mail address: "
        read email

        echo "If you continue, git will be downloaded and installed."
        echo "The git user name will be set to $name, using"
        echo "$email as the email address."
        echo ""
        echo -n "Do you wish to continue (y/n)"

        read confirm
        case $confirm in
                y|Y|YES|yes|Yes) break;;
                n|N|NO|no|No)
                        echo "Aborting"
                        exit
                        ;;
                *) echo "Please enter only y or n"
        esac
done
        
# Create a temporary source folder
mkdir -p ~/Downloads/Source
pushd ~/Downloads/Source

# Set some environment variables
export TCL_PATH=`which tclsh`
export NO_MSGFMT=1
export GIT_VERSION='1.7.3.1'

# Download and untar the source
curl -O "http://kernel.org/pub/software/scm/git/git-$GIT_VERSION.tar.bz2";
tar xjvf "git-$GIT_VERSION.tar.bz2"
cd "git-$GIT_VERSION/"

# Build git
./configure --prefix=/usr
make
sudo make install

# Install man pages
cd ..
curl -O 
"http://kernel.org/pub/software/scm/git/git-manpages-$GIT_VERSION.tar.bz2";
sudo tar xjv -C /usr/share/man        -f "git-manpages-$GIT_VERSION.tar.bz2"

# Use Mac's opendiff utility
git config --global merge.tool opendiff

# Ignore some file types
git config --global core.excludesfile ~/.gitignore
touch "$HOME/.gitignore"
echo '.DS_Store' >> "$HOME/.gitignore"
echo '._*' >> "$HOME/.gitignore"
echo '.svn' >> "$HOME/.gitignore"
echo '.hg' >> "$HOME/.gitignore"

# Create some shortcuts
git config --global alias.st status
git config --global alias.ci commit
git config --global alias.co checkout
git config --global alias.br branch

git config --global color.ui.auto

# Set some user details
git config --global user.name "$name"
git config --global user.email "$email"

# Restore working directory
popd
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to