On 4 June 2015 at 00:02, Tianon Gravi <[email protected]> wrote:
> Would you mind if someone from
> the pkg-go team added the team to uploaders and did a team upload of
> src:golang-goprotobuf with a backwards-compatibility symlink (and a
> bump to close #778629 while we're at it)?

Here's an initial patch I'd propose to start with:

diff --git a/debian/control b/debian/control
index 16adf19..18f891d 100644
--- a/debian/control
+++ b/debian/control
@@ -2,11 +2,12 @@ Source: golang-goprotobuf
 Section: devel
 Priority: extra
 Maintainer: Tonnerre Lombard <[email protected]>
+Uploaders: pkg-go <[email protected]>
 Build-Depends: debhelper (>= 9), dh-golang, golang-go (>= 1.0)
-Standards-Version: 3.9.4
-Homepage: https://code.google.com/p/protobuf/
+Standards-Version: 3.9.6
+Homepage: https://github.com/golang/protobuf
 Vcs-Git: git://anonscm.debian.org/pkg-go/packages/golang-goprotobuf.git
-Vcs-Browser: 
http://anonscm.debian.org/gitweb/?p=pkg-go/packages/golang-goprotobuf.git;a=summary
+Vcs-Browser: 
https://anonscm.debian.org/cgit/pkg-go/packages/golang-goprotobuf.git

 Package: golang-goprotobuf-dev
 Architecture: any
diff --git a/debian/golang-goprotobuf-dev.links
b/debian/golang-goprotobuf-dev.links
new file mode 100644
index 0000000..6031d27
--- /dev/null
+++ b/debian/golang-goprotobuf-dev.links
@@ -0,0 +1 @@
+usr/share/gocode/src/github.com/golang/protobuf
usr/share/gocode/src/code.google.com/p/goprotobuf
diff --git a/debian/rules b/debian/rules
index 434de62..353c4dc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,7 @@ export DH_VERBOSE=1

 # DH_GOPKG is the upstream path which you would normally “go get”.
 # Using it allows us to build applications without patching locations.
-export DH_GOPKG := code.google.com/p/goprotobuf
+export DH_GOPKG := github.com/golang/protobuf

 %:
  dh $@ --buildsystem=golang --with=golang

♥,
- Tianon
  4096R / B42F 6819 007F 00F8 8E36  4FD4 036A 9C25 BF35 7DD4


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to