<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Jun 29, 2014 at 1:28 PM, Guo Yixuan <span dir="ltr"><<a href="mailto:culu.gyx@gmail.com" target="_blank">culu.gyx@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">
<div class="">On Sun, Jun 29, 2014 at 12:11 PM, Osamu Aoki <span dir="ltr"><<a href="mailto:osamu_aoki_home@nifty.com" target="_blank">osamu_aoki_home@nifty.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>On Sun, Jun 29, 2014 at 11:30:52AM -0400, Guo Yixuan wrote:<br>

> For this, I think it's easier to add a Files-Excluded line to<br>
> debian/copyright<br>
> header, and let uscan do the repacking: [1]<br>
><br>
> Files-Excluded: thirdparty/bin/curl.exe<br>
> thirdparty/src/opencc-windows/opencc.dll<br>
> thirdparty/src/opencc-windows/opencc.exe<br>
> thirdparty/src/opencc-windows/opencc_dict.exe<br>
<br>
</div>Great!  Please update GIT.<br></blockquote><div><br></div></div><div>Just pushed several commits to GIT. (So uscan + git-import-orig</div><div>should work now.)</div><div class=""><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">


<div>
> In addition, we should add "+dfsg" to the package version, so it should<br>
> be "1.1+dfsg-1", and we need to add some mangle rules to debian/watch.<br>
<br>
</div>Yep.  This is what I did before uploading.  It is in NEW.<br></blockquote><div><br></div></div><div>Thank you, I just noticed it in the new queue. </div></div></div></div></blockquote><div><br></div><div>The only problem for using uversionmangle is:</div>
<div><br></div><div>I: librime source: debian-watch-file-should-dversionmangle-not-uversionmangle line 3</div><div>N: </div><div>N:    The version of this package contains dfsg, ds, or debian, but a</div><div>N:    misleading upstream version mangling occurs in the debian/watch file.</div>
<div>N:    Since the dfsg string is not part of the upstream version and its</div><div>N:    addition is Debian-specific, the the debian/watch file should use the</div><div>N:    dversionmangle option to remove, instead of adding in uversionmangle,</div>
<div>N:    the dfsg before comparing version numbers.</div><div>N:    </div><div>N:    Refer to <a href="http://wiki.debian.org/DEHS">http://wiki.debian.org/DEHS</a> for details.</div><div>N:    </div><div>N:    Severity: wishlist, Certainty: certain</div>
<div>N:    </div><div>N:    Check: watch-file, Type: source</div><div><br></div><div>But if we use dversionmangle instead of uversionmangle, </div><div>then the renamed origin tarball has name "librime_1.1.orig.tar.gz",</div>
<div> which needs to be manually renamed to "librime_1.1+dfsg.orig.tar.gz".</div><div><br></div><div>A related bug is here. [1]</div><div><br></div><div>[1] <a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748465">https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748465</a></div>
<div><br></div><div>Cheers,</div><div><br></div><div>Yixuan</div></div>
</div></div>