Difference between revisions of "GIT"

From CBLFS
Jump to navigationJump to search
Line 36: Line 36:
 
Compile the package:
 
Compile the package:
  
  make prefix=/usr
+
  configure --prefix=/usr --libexecdir=/usr/lib &&
 +
make
  
 
Install the package
 
Install the package
  
  make prefix=/usr install
+
  make install
  
 
Install the man pages:
 
Install the man pages:
Line 47: Line 48:
  
 
== Multilib ==
 
== Multilib ==
'''''This package does not provide any libraries so only one installation is needed.'''''
+
 
 +
"""This package does not provide any libraries so only one installation is required. However, it installs ABI-specific executables in libexecdir."""
  
 
=== 32Bit ===
 
=== 32Bit ===
Line 53: Line 55:
 
Compile the package:
 
Compile the package:
  
  make prefix=/usr CC="gcc ${BUILD32}"
+
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --libexecdir=/usr/lib &&
 +
make
  
 
Install the package
 
Install the package
  
  make prefix=/usr install
+
  make install
  
 
Install the man pages:
 
Install the man pages:
Line 67: Line 70:
 
Compile the package:
 
Compile the package:
  
  make prefix=/usr CC="gcc ${BUILDN32}"
+
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --libexecdir=/usr/lib32 &&
 +
make
  
 
Install the package
 
Install the package
  
  make prefix=/usr install
+
  make install
  
 
Install the man pages:
 
Install the man pages:
Line 81: Line 85:
 
Compile the package:
 
Compile the package:
  
  make prefix=/usr CC="gcc ${BUILD64}"
+
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --libexecdir=/usr/lib64 &&
 +
make
  
 
Install the package
 
Install the package
  
  make prefix=/usr install
+
  make install
  
 
Install the man pages:
 
Install the man pages:
Line 95: Line 100:
 
{| style="text-align: left;"
 
{| style="text-align: left;"
 
|-valign="top"
 
|-valign="top"
! Installed Programs:
+
!Installed Directories:
| ???
+
|/usr/lib/git-core, /usr/share/git-gui, /usr/share/git-core, /usr/share/gitk
 
|-valign="top"
 
|-valign="top"
! Installed Libraries:
+
!Installed Programs:
| ???
+
|git, git-cvsserver, git-receive-pack, git-shell, git-upload-archive, git-upload-pack, gitk
 
|-valign="top"
 
|-valign="top"
! Installed Directories:
+
!Installed Libraries:
| ???
+
|None
 
|}
 
|}
  
Line 109: Line 114:
 
{| style="text-align: left;"
 
{| style="text-align: left;"
 
|-valign="top"
 
|-valign="top"
! program1
+
!git
| ???
+
|
 +
|-valign="top"
 +
!git-cvsserver
 +
|
 +
|-valign="top"
 +
!git-receive-pack
 +
|
 +
|-valign="top"
 +
!git-shell
 +
|
 +
|-valign="top"
 +
!git-upload-archive
 +
|
 
|-valign="top"
 
|-valign="top"
! program2
+
!git-upload-pack
| ???
+
|
 
|-valign="top"
 
|-valign="top"
! library1.{a,la,so}
+
!gitk
| ???
+
|
 
|}
 
|}
  
 
[[Category:Source Code Management]]
 
[[Category:Source Code Management]]

Revision as of 20:52, 2 March 2009

Download Source: http://kernel.org/pub/software/scm/git/git-1.8.1.3.tar.bz2
Download Manpages: http://kernel.org/pub/software/scm/git/git-manpages-1.8.1.3.tar.bz2

Introduction to GIT

Git is a popular version control system designed to handle very large projects with speed and efficiency; it is used mainly for various open source projects, most notably the Linux kernel.

Git falls in the category of distributed source code management tools, similar to e.g. GNU Arch or Monotone (or BitKeeper in the proprietary world). Every Git working directory is a full-fledged repository with full revision tracking capabilities, not dependent on network access or a central server.

Project Homepage: http://git-scm.com/

Dependencies

Required

Optional

Run-Time

Non-Multilib

Compile the package:

configure --prefix=/usr --libexecdir=/usr/lib &&
make

Install the package

make install

Install the man pages:

tar xvf ../git-manpages-1.8.1.3.tar.bz2 -C /usr/share/man

Multilib

"""This package does not provide any libraries so only one installation is required. However, it installs ABI-specific executables in libexecdir."""

32Bit

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr --libexecdir=/usr/lib &&
make

Install the package

make install

Install the man pages:

tar xvf ../git-manpages-1.8.1.3.tar.bz2 -C /usr/share/man

N32

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr --libexecdir=/usr/lib32 &&
make

Install the package

make install

Install the man pages:

tar xvf ../git-manpages-1.8.1.3.tar.bz2 -C /usr/share/man

64Bit

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr --libexecdir=/usr/lib64 &&
make

Install the package

make install

Install the man pages:

tar xvf ../git-manpages-1.8.1.3.tar.bz2 -C /usr/share/man

Contents

Installed Directories: /usr/lib/git-core, /usr/share/git-gui, /usr/share/git-core, /usr/share/gitk
Installed Programs: git, git-cvsserver, git-receive-pack, git-shell, git-upload-archive, git-upload-pack, gitk
Installed Libraries: None

Short Descriptions

git
git-cvsserver
git-receive-pack
git-shell
git-upload-archive
git-upload-pack
gitk