git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Debian packaging for 0.99.4

From
Matthias Urlichs <smurf@smurf.noris.de>
Date
Aug 10, 2005, 22:11 UTC
Message-ID
<pan.2005.08.10.22.11.25.242201@smurf.noris.de>
In-Reply-To
<pan.2005.08.10.21.15.41.143251@smurf.noris.de>
Debian packaging fixes for 0.99.4:
- Add a debian/changelog entry.
- 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.

--- More Lintian warnings (not fixed by this patch):

W: git-core: binary-without-manpage git-LOTS
W: git-tk: binary-without-manpage gitk
Debian *really* dislikes exec tricks:
E: git-tk: shell-script-fails-syntax-check ./usr/bin/gitk
git-parse-remote is not an executable script and therefore
does *not* belong in /usr/bin:
W: git-core: executable-not-elf-or-script ./usr/bin/git-parse-remote
Do we need any newer features of diff? If not => drop from Depends:.
E: git-core: depends-on-essential-package-without-using-version depends: diff
---
diff --git a/debian/changelog b/debian/changelog
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+git-core (0.99.4-1) unstable; urgency=low
+
+  * Lots and lots of changes.
+
+ -- Matthias Urlichs <smurf@debian.org>  Wed, 10 Aug 2005 23:18:34 +0200
+
 git-core (0.99-2) unstable; urgency=low
 
   * Conflict with the GNU Interactive Tools package, which also installs
diff --git a/debian/control b/debian/control
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
 Source: git-core
 Section: devel
 Priority: optional
-Maintainer: Linus Torvalds <torvalds@osdl.org>
+Maintainer: Junio C Hamano <junkio@cox.net>
 Build-Depends-Indep: libz-dev, libssl-dev, libcurl3-dev, asciidoc > 6.0.3, xmlto, debhelper (>= 4.0.0)
 Standards-Version: 3.6.1
 
@@ -15,5 +15,11 @@ Description: The git content addressable
  and flexible filesystem-based database designed to store directory trees
  with regard to their history. The top layer is a SCM-like tool which
  enables human beings to work with the database in a manner to a degree
- similar to other SCM tools (like CVS, BitKeeper or Monotone).
+ similar to other SCM tools.
+
+Package: git-tk
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, git-core, tk8.4
+Description: The git content addressable filesystem, GUI add-on
+ This package contains 'gitk', the git revision tree visualizer
 
diff --git a/debian/copyright b/debian/copyright
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,3 +1,19 @@
-License: 
+This package was downloaded from ftp.kernel.org:/INSERT_PATH_HERE
 
-GPL v2 (see COPYING for details)
+Upstream Author: Linus Torvalds and many others
+
+Copyright:
+
+ Copyright 2005, Linus Torvalds and others.
+ 
+ This file is free software; as a special exception the author gives
+ unlimited permission to copy and/or distribute it, with or without
+ modifications, as long as this notice is preserved.
+ 
+ This file is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+This program is free-software released under the terms of the GNU Public
+License, version 2.0. Please check /usr/share/common-licenses/GPL for
+more information.
diff --git a/debian/docs b/debian/docs
--- a/debian/docs
+++ b/debian/docs
@@ -1,3 +1 @@
 README
-COPYING
-
diff --git a/debian/git-core.files b/debian/git-core.files
new file mode 100644
--- /dev/null
+++ b/debian/git-core.files
@@ -0,0 +1 @@
+/usr
diff --git a/debian/git-core.install b/debian/git-core.install
deleted file mode 100644
--- a/debian/git-core.install
+++ /dev/null
@@ -1 +0,0 @@
-*
diff --git a/debian/git-tk.files b/debian/git-tk.files
new file mode 100644
--- /dev/null
+++ b/debian/git-tk.files
@@ -0,0 +1 @@
+/usr/bin/gitk
diff --git a/debian/rules b/debian/rules
--- a/debian/rules
+++ b/debian/rules
@@ -61,7 +61,9 @@ install: build
 	mkdir -p $(DOC_DESTDIR)
 	find $(DOC) '(' -name '*.txt' -o -name '*.html' ')' -exec install {} $(DOC_DESTDIR) ';'
 
-	dh_install --list-missing --sourcedir=$(DESTDIR)
+	dh_movefiles -p git-tk
+	dh_movefiles -p git-core
+	find debian/tmp -type d -o -print | sed -e 's/^/? /'
 
 binary: build install
 	dh_testdir
-- 
Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  smurf@smurf.noris.de
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
 - -
Any false value is gonna be fairly boring in Perl, mathematicians
notwithstanding.
             -- Larry Wall in <199707300650.XAA05515@wall.org>
Previous: Matthias UrlichsNext: Martin Langhoff
Message 15 of 56 in “My Itchlist”
  1. Junio C HamanoAug 6, 2005
  2. Linus TorvaldsAug 6, 2005
  3. Johannes SchindelinAug 6, 2005
  4. Junio C HamanoAug 6, 2005
  5. Petr BaudisAug 13, 2005
  6. GIT 0.99.4 (preview)Junio C Hamano, Aug 7, 2005
  7. GIT 0.99.4 preview: current statusJunio C Hamano, Aug 8, 2005
  8. Request for help from binary packaging people.Junio C Hamano, Aug 8, 2005
  9. Sergey VlasovAug 8, 2005
  10. Chris WrightAug 8, 2005
  11. Junio C HamanoAug 8, 2005
  12. Chris WrightAug 8, 2005
  13. Junio C HamanoAug 8, 2005
  14. Matthias UrlichsAug 10, 2005
  15. Debian packaging for 0.99.4Matthias Urlichs, Aug 10, 2005
  16. Martin LanghoffAug 10, 2005
  17. Matthias UrlichsAug 10, 2005
  18. Sebastian KuzminskyAug 11, 2005
  19. Martin LanghoffAug 11, 2005
  20. Sebastian KuzminskyAug 11, 2005
  21. Junio C HamanoAug 11, 2005
  22. Linus TorvaldsAug 11, 2005
  23. Johannes SchindelinAug 11, 2005
  24. Sebastian KuzminskyAug 11, 2005
  25. Matthias UrlichsAug 11, 2005
  26. Linus TorvaldsAug 11, 2005
  27. Sebastian KuzminskyAug 11, 2005
  28. Sam RavnborgAug 11, 2005
  29. Sebastian KuzminskyAug 11, 2005
  30. Matthias UrlichsAug 11, 2005
  31. Sebastian KuzminskyAug 11, 2005
  32. Matthias UrlichsAug 11, 2005
  33. Sam RavnborgAug 11, 2005
  34. Alan ChandlerAug 11, 2005
  35. Sebastian KuzminskyAug 11, 2005
  36. Matthias UrlichsAug 12, 2005
  37. David LangAug 12, 2005
  38. Matthias UrlichsAug 12, 2005
  39. Ryan AndersonAug 13, 2005
  40. Matthias UrlichsAug 14, 2005
  41. Ryan AndersonAug 15, 2005
  42. Junio C HamanoAug 14, 2005
  43. Junio C HamanoAug 14, 2005
  44. Linus TorvaldsAug 11, 2005
  45. Linus TorvaldsAug 11, 2005
  46. Sebastian KuzminskyAug 11, 2005
  47. Christian MederAug 11, 2005
  48. Matthias UrlichsAug 11, 2005
  49. Andreas Jellinghaus [c]Aug 12, 2005
  50. Junio C HamanoAug 11, 2005
  51. Gene HeskettAug 11, 2005
  52. Junio C HamanoAug 11, 2005
  53. Junio C HamanoAug 12, 2005
  54. Martin LanghoffAug 12, 2005
  55. Matthias UrlichsAug 13, 2005
  56. more Debian packaging fixesMatthias Urlichs, Aug 13, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.