Difference between revisions of "GIT"

From CBLFS
Jump to navigationJump to search
(Dependencies)
(Expat is optional)
 
(14 intermediate revisions by 7 users not shown)
Line 2: Line 2:
 
|-valign="top"
 
|-valign="top"
 
!Download Source:
 
!Download Source:
| http://kernel.org/pub/software/scm/git/git-{{GIT-Version}}.tar.bz2
+
| http://git-core.googlecode.com/files/git-{{GIT-Version}}.tar.gz
 +
|-valign="top"
 +
!Download Manpages:
 +
| http://git-core.googlecode.com/files/git-manpages-{{GIT-Version}}.tar.gz
 
|}
 
|}
  
 
----
 
----
  
== Introduction to Git ==
+
{{Package-Introduction|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 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.
+
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. | http://git-scm.com/}}
  
 
== Dependencies ==
 
== Dependencies ==
Line 20: Line 21:
 
=== Optional ===
 
=== Optional ===
 
* [[OpenSSL]]
 
* [[OpenSSL]]
* [[expat]]
+
* [[Expat]]
 
* [[Emacs]]
 
* [[Emacs]]
 
* [[Python]]
 
* [[Python]]
Line 34: Line 35:
 
Compile the package:
 
Compile the package:
  
  make prefix=/usr
+
  ./configure --prefix=/usr --libexecdir=/usr/lib \
 +
    --sysconfdir=/etc &&
 +
make
  
 
Install the package
 
Install the package
  
  make prefix=/usr install
+
  make install
 +
 
 +
Install the man pages:
 +
 
 +
tar xvf ../git-manpages-{{GIT-Version}}.tar.gz -C /usr/share/man
  
 
== Multilib ==
 
== Multilib ==
'''''This package does not provide any libraries so only one installation is needed.'''''
+
 
 +
<b>This package does not provide any libraries so only one installation is required. However, it installs ABI-specific executables in libexecdir.</b>
  
 
=== 32Bit ===
 
=== 32Bit ===
Line 47: Line 55:
 
Compile the package:
 
Compile the package:
  
  make prefix=/usr CC="gcc ${BUILD32}"
+
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --libexecdir=/usr/lib \
 +
    --sysconfdir=/etc &&
 +
make
  
 
Install the package
 
Install the package
  
  make prefix=/usr install
+
  make install
 +
 
 +
Install the man pages:
 +
 
 +
tar xvf ../git-manpages-{{GIT-Version}}.tar.gz -C /usr/share/man
  
 
=== N32 ===
 
=== N32 ===
Line 57: Line 71:
 
Compile the package:
 
Compile the package:
  
  make prefix=/usr CC="gcc ${BUILDN32}"
+
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --libexecdir=/usr/lib32 \
 +
    --sysconfdir=/etc &&
 +
make
  
 
Install the package
 
Install the package
  
  make prefix=/usr install
+
  make install
 +
 
 +
Install the man pages:
 +
 
 +
tar xvf ../git-manpages-{{GIT-Version}}.tar.gz -C /usr/share/man
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 67: Line 87:
 
Compile the package:
 
Compile the package:
  
  make prefix=/usr CC="gcc ${BUILD64}"
+
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --libexecdir=/usr/lib64 \
 +
    --sysconfdir=/etc &&
 +
make
  
 
Install the package
 
Install the package
  
  make prefix=/usr install
+
  make install
 +
 
 +
Install the man pages:
 +
 
 +
tar xvf ../git-manpages-{{GIT-Version}}.tar.gz -C /usr/share/man
  
 
= Contents =
 
= Contents =
Line 77: Line 103:
 
{| 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 91: Line 117:
 
{| 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]]

Latest revision as of 11:39, 9 September 2012

Download Source: http://git-core.googlecode.com/files/git-1.8.1.3.tar.gz
Download Manpages: http://git-core.googlecode.com/files/git-manpages-1.8.1.3.tar.gz

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 \
    --sysconfdir=/etc &&
make

Install the package

make install

Install the man pages:

tar xvf ../git-manpages-1.8.1.3.tar.gz -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 \
    --sysconfdir=/etc &&
make

Install the package

make install

Install the man pages:

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

N32

Compile the package:

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

Install the package

make install

Install the man pages:

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

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr --libexecdir=/usr/lib64 \
    --sysconfdir=/etc &&
make

Install the package

make install

Install the man pages:

tar xvf ../git-manpages-1.8.1.3.tar.gz -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