<br><br><div class="gmail_quote">On Sun, Jul 24, 2011 at 3:34 PM, Osamu Aoki <span dir="ltr"><<a href="mailto:osamu@debian.org">osamu@debian.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<br>
I think it is good idea to fix these issues as soon as possible.<br>
<br>
But it looks like time to rewrite debian/rules using normal syntax of<br>
using override_dh_foo... too when time allows.<br></blockquote><div><br>I have fixed this bug in new version of ibus which is uploaded to <a href="http://mentor.debian.net">mentor.debian.net</a> for sponsoring.<br>I also fixed ibus-pinyin.<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
On Thu, Jul 21, 2011 at 04:58:56PM -0400, Barry Warsaw wrote:<br>
> Package: ibus<br>
> Version: 1.3.9-2<br>
> Severity: normal<br>
> Tags: patch<br>
> User: <a href="mailto:ubuntu-devel@lists.ubuntu.com">ubuntu-devel@lists.ubuntu.com</a><br>
> Usertags: origin-ubuntu oneiric ubuntu-patch<br>
><br>
> -----BEGIN PGP SIGNED MESSAGE-----<br>
> Hash: SHA256<br>
><br>
> python-support is officially deprecated:<br>
><br>
> <a href="http://article.gmane.org/gmane.linux.debian.devel.python/6948" target="_blank">http://article.gmane.org/gmane.linux.debian.devel.python/6948</a><br>
><br>
> In Ubuntu, we are removing python-support and python-central from our CDs. As<br>
> part of that work, I have converted ibus to use dh_python2 according to these<br>
> guidelines:<br>
><br>
> <a href="http://wiki.debian.org/Python/TransitionToDHPython2" target="_blank">http://wiki.debian.org/Python/TransitionToDHPython2</a><br>
><br>
> I hope you will accept this patch. Thanks!<br>
><br>
> *** /tmp/tmpaNYTUP<br>
> In Ubuntu, the attached patch was applied to achieve the following:<br>
><br>
><br>
> * Switch to dh_python2. (LP: 788514)<br>
><br>
><br>
> Thanks for considering the patch.<br>
<br>
I do not understand Li's intent on keeping<br>
<a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=552293" target="_blank">http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=552293</a> reference in old<br>
debbian/rules since Joey Hess does not think this as a bug in debhelper.<br>
<br>
For me, debian/rules should be more like:<br>
----<br>
#!/usr/bin/make -f<br>
<br>
dh $@ --with python2 --with autotools-dev<br>
<br>
override_dh_auto_configure:<br>
dh_auto_configure -- --enable-static LDFLAGS="-Wl,--as-needed" --enable-gtk3<br>
<br>
override_dh_auto_build:<br>
dh_auto_build<br>
cd po; make ibus.pot # <a href="https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/188690" target="_blank">https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/188690</a><br>
<br>
override_dh_auto_install:<br>
rm -rf $(CURDIR)/debian/tmp/usr/lib/<a href="http://libibus.la" target="_blank">libibus.la</a> \<br>
$(CURDIR)/debian/tmp/usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.a \<br>
$(CURDIR)/debian/tmp/usr/lib/gtk-2.0/2.10.0/immodules/<a href="http://im-ibus.la" target="_blank">im-ibus.la</a> \<br>
$(CURDIR)/debian/tmp/usr/lib/gtk-3.0/3.0.0/immodules/im-ibus.a \<br>
$(CURDIR)/debian/tmp/usr/lib/gtk-3.0/3.0.0/immodules/<a href="http://im-ibus.la" target="_blank">im-ibus.la</a> \<br>
$(CURDIR)/debian/tmp/etc/xdg \<br>
$(CURDIR)/debian/tmp/usr/share/applications/ibus.desktop<br>
dh_install --list-missing --fail-missing<br>
LD_LIBRARY_PATH=debian/libibus2/usr/lib:$(LD_LIBRARY_PATH) \<br>
dh_gtkmodules -p ibus-gtk -s \<br>
dh_gtkmodules -p ibus-gtk3 -s<br>
----<br>
<br>
This needs testing though...<br>
<br>
<br>
<br>
_______________________________________________<br>
Pkg-ime-devel mailing list<br>
<a href="mailto:Pkg-ime-devel@lists.alioth.debian.org">Pkg-ime-devel@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ime-devel" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ime-devel</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Best Regards<br>Asias He<br>