Merge lp:~lool/libubuntuone/out-of-tree-keyfile-lp-688538 into lp:libubuntuone

Proposed by Loïc Minier
Status: Rejected
Rejected by: dobey
Proposed branch: lp:~lool/libubuntuone/out-of-tree-keyfile-lp-688538
Merge into: lp:libubuntuone
Diff against target: 17 lines (+6/-1)
1 file modified
bindings/mono/Makefile.am (+6/-1)
To merge this branch: bzr merge lp:~lool/libubuntuone/out-of-tree-keyfile-lp-688538
Reviewer Review Type Date Requested Status
dobey (community) Disapprove
Review via email: mp+43645@code.launchpad.net
To post a comment you must log in.
Revision history for this message
dobey (dobey) wrote :

This seems like the wrong way to solve the problem. I'm sure it works as a quick fix to the package itself, but we should make this more robust in the upstream source, and add a test to ensure the signing actually works during distcheck.

review: Disapprove
Revision history for this message
dobey (dobey) wrote :

I've filed a separate bug against libubuntuone for the more specific srcdir != builddir issue. I've also made a more robust fix and proposed it in https://code.edge.launchpad.net/~dobey/libubuntuone/srcdir-signing/+merge/43668 so I'm going to mark this as rejected in favor of that implementation instead. Thanks.

Unmerged revisions

111. By Loïc Minier

bindings/mono/Makefile.am: if srcdir != builddir, copy mono.snk keyfile
into builddir and pass $(srcdir)/*.cs to gmcs as to include
AssemblyInfo.cs and hence properly sign the DLL; LP: #688538.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bindings/mono/Makefile.am'
2--- bindings/mono/Makefile.am 2010-08-25 18:35:07 +0000
3+++ bindings/mono/Makefile.am 2010-12-14 14:22:04 +0000
4@@ -17,7 +17,12 @@
5 ubuntuonesharp_DATA = ubuntuone-sharp.dll ubuntuone-sharp.dll.config
6
7 ubuntuone-sharp.dll: U1MusicStore.cs
8- $(MONO_CSC) -target:library -pkg:gtk-sharp-2.0 -out:ubuntuone-sharp.dll *.cs
9+ if [ "$(srcdir)" = "$(builddir)" ]; then \
10+ $(MONO_CSC) -target:library -pkg:gtk-sharp-2.0 -out:ubuntuone-sharp.dll *.cs; \
11+ else \
12+ cp -f $(srcdir)/mono.snk .; \
13+ $(MONO_CSC) -target:library -pkg:gtk-sharp-2.0 -out:ubuntuone-sharp.dll *.cs $(srcdir)/*.cs; \
14+ fi
15
16 U1MusicStore.cs: ubuntuone-api.xml
17 $(MONO_GAPI_CODEGEN) --outdir=. $(GTKSHARP_CFLAGS) --generate $<

Subscribers

People subscribed via source and target branches