Skip to content

Commit 5acc5bf

Browse files
smurfixJunio C Hamano
authored andcommitted
Debian packaging fixes.
- Split gitk off to its own package; it needs tk installed, but nothing else does. - Refer to GPL properly, don't install COPYING. - Fix maintainer. - Use dh_movefiles instead of dh_install; we don't want to list everything *except* gitk. Signed-off-by: Junio C Hamano <[email protected]>
1 parent b4ad66b commit 5acc5bf

File tree

8 files changed

+44
-8
lines changed

8 files changed

+44
-8
lines changed

debian/changelog

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
git-core (0.99.4-3) unstable; urgency=low
2+
3+
* Split off gitk.
4+
* Do not depend on diff which is an essential package.
5+
* Use dh_movefiles, not dh_install, to stage two subpackages.
6+
7+
-- Matthias Urlichs <[email protected]> Thu, 11 Aug 2005 01:43:24 +0200
8+
19
git-core (0.99.4-2) unstable; urgency=low
210

311
* Git 0.99.4 official release.

debian/control

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,19 @@ Standards-Version: 3.6.1
77

88
Package: git-core
99
Architecture: any
10-
Depends: ${shlibs:Depends}, ${misc:Depends}, patch, diff, rcs
10+
Depends: ${shlibs:Depends}, ${misc:Depends}, patch, rcs
1111
Recommends: rsync, curl, ssh, libmail-sendmail-perl, libemail-valid-perl
1212
Conflicts: git
1313
Description: The git content addressable filesystem
1414
GIT comes in two layers. The bottom layer is merely an extremely fast
1515
and flexible filesystem-based database designed to store directory trees
1616
with regard to their history. The top layer is a SCM-like tool which
1717
enables human beings to work with the database in a manner to a degree
18-
similar to other SCM tools (like CVS, BitKeeper or Monotone).
18+
similar to other SCM tools.
19+
20+
Package: git-tk
21+
Architecture: any
22+
Depends: ${shlibs:Depends}, ${misc:Depends}, git-core, tk8.4
23+
Description: The git content addressable filesystem, GUI add-on
24+
This package contains 'gitk', the git revision tree visualizer.
1925

debian/copyright

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1-
License:
1+
This package was downloaded from ftp.kernel.org:/pub/software/scm/git/.
22

3-
GPL v2 (see COPYING for details)
3+
Upstream Author: Linus Torvalds and many others
4+
5+
Copyright:
6+
7+
Copyright 2005, Linus Torvalds and others.
8+
9+
This package is free software; you can redistribute it and/or modify
10+
it under the terms of the GNU General Public License as published by
11+
the Free Software Foundation; version 2 dated June, 1991.
12+
13+
This package is distributed in the hope that it will be useful,
14+
but WITHOUT ANY WARRANTY; without even the implied warranty of
15+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+
GNU General Public License for more details.
17+
18+
You should have received a copy of the GNU General Public License
19+
along with this package; if not, write to the Free Software
20+
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
21+
02111-1307, USA.
22+
23+
On Debian GNU/Linux systems, the complete text of the GNU General
24+
Public License can be found in `/usr/share/common-licenses/GPL'.

debian/docs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
11
README
2-
COPYING
3-

debian/git-core.files

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/usr

debian/git-core.install

Lines changed: 0 additions & 1 deletion
This file was deleted.

debian/git-tk.files

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/usr/bin/gitk

debian/rules

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ install: build
6161
mkdir -p $(DOC_DESTDIR)
6262
find $(DOC) '(' -name '*.txt' -o -name '*.html' ')' -exec install {} $(DOC_DESTDIR) ';'
6363

64-
dh_install --list-missing --sourcedir=$(DESTDIR)
64+
dh_movefiles -p git-tk
65+
dh_movefiles -p git-core
66+
find debian/tmp -type d -o -print | sed -e 's/^/? /'
6567

6668
binary: build install
6769
dh_testdir

0 commit comments

Comments
 (0)