[SCM] Packaging for Google Go branch, debian-sid, updated. debian/2011.04.27-2-5-ga31885b

Ondřej Surý ondrej at sury.org
Tue May 3 23:48:45 UTC 2011


The following commit has been merged in the debian-sid branch:
commit 3c3cdd8ce40ba48f4bf11469a72d532f72ac389e
Author: Ondřej Surý <ondrej at sury.org>
Date:   Wed May 4 01:20:01 2011 +0200

    Add -dbg package

diff --git a/debian/control b/debian/control
index d137cc8..4d75c0e 100644
--- a/debian/control
+++ b/debian/control
@@ -14,8 +14,9 @@ Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}
 Recommends: golang-tools
 Provides: go-compiler
 Description: Go programming language compiler
- This package provides compiler and linker for the Go programming
- language.  This is the Google's Go implementation of the tool chain.
+ This package provides assembler, compiler and linker for the Go
+ programming language.  This is the Google's Go implementation of the
+ tool chain.
  .
  The Go programming language is an open source project to make
  programmers more productive. Go is expressive, concise, clean, and
@@ -29,7 +30,7 @@ Description: Go programming language compiler
 
 Package: golang-src
 Architecture: i386 amd64 kfreebsd-i386 kfreebsd-amd64 armel armhf
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}, golang-go
+Depends: ${shlibs:Depends}, ${misc:Depends}, golang-go
 Recommends: golang-tools
 Description: Go programming language compiler (.go source files)
  This package provides the source files for the Go programming
@@ -115,3 +116,14 @@ Suggests: golang-go
 Description: Syntax files to highlight Go in vim
  Provides a syntax highlighting for vim editor to edit programs
  written in Google's Go programming language.
+
+Package: golang-dbg
+Architecture: i386 amd64 kfreebsd-i386 kfreebsd-amd64 armel armhf
+Depends: ${misc:Depends}, golang-go (= ${binary:Version})
+Recommends: gdb
+Section: debug
+Priority: extra
+Description: Go programming language tool chain [debug]
+ This package provides the debug symbols for the Google's Go tool
+ chain binaries (assembler, compiler, linker) needed for properly
+ debugging errors in the tool chain with gdb.
diff --git a/debian/rules b/debian/rules
index c39e681..fe55008 100755
--- a/debian/rules
+++ b/debian/rules
@@ -40,7 +40,7 @@ override_dh_install:
 	make -f debian/native-symlinks.mk
 
 override_dh_strip:
-	dh_strip -X".a" -Xgoinstall -Xgodoc -Xgoyacc -Xbin/cgo -Xebnflint -Xgofmt -Xgovet -Xgotest
+	dh_strip -X".a" -Xgoinstall -Xgodoc -Xgoyacc -Xbin/cgo -Xebnflint -Xgofmt -Xgovet -Xgotest --dbg-package=golang-dbg
 
 debian/build.stamp:
 	rm -f debian/build.stamp

-- 
Packaging for Google Go



More information about the Pkg-google-commits mailing list