[Pkg-ime-devel] Bug#651488: Bug#651488: support Multi-Arch
Hi,
Thanks for the patch. Before uploading package with your patch, I have
few things which I like you to help me.
I am still not clear on how to make package for full Multi-Arch support.
This is serious redoing of autotools thingy. Great.
I have 3 questions:
#Q1:
I am wondering about
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=558568
This requests autoreconf.
Does this patch address to fix this bug too?
#Q2:
Where is the howto for all these complicated packaging tricks.
#Q3 do we need to hardcode exact $DEB_HOST_MULTIARCH as below. What is
the negative of just using * for those location as below?
On Thu, Dec 08, 2011 at 06:36:40PM -0800, Kees Cook wrote:
...
> diff -Nru ibus-1.4.0/debian/xinput/ibus ibus-1.4.0/debian/xinput/ibus
> --- ibus-1.4.0/debian/xinput/ibus 2011-12-07 05:29:37.000000000 -0800
> +++ ibus-1.4.0/debian/xinput/ibus 2011-12-08 18:28:41.000000000 -0800
> @@ -1,15 +1,16 @@
> XIM=ibus
> XIM_PROGRAM=/usr/bin/ibus-daemon
> XIM_ARGS="--xim"
> -if [ -e /usr/lib/gtk-3.0/*/immodules/im-ibus.so ] \
> - && [ -e /usr/lib/gtk-2.0/*/immodules/im-ibus.so ]
> +DEB_HOST_MULTIARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH)
> +if [ -e /usr/lib/"$DEB_HOST_MULTIARCH"/gtk-3.0/*/immodules/im-ibus.so ] \
> + && [ -e /usr/lib/"$DEB_HOST_MULTIARCH"/gtk-2.0/*/immodules/im-ibus.so ]
> then
> GTK_IM_MODULE=ibus
> else
> GTK_IM_MODULE=xim
> fi
>
> -if [ -e /usr/lib/qt4/plugins/inputmethods/libqtim-ibus.so ]; then
> +if [ -e /usr/lib/"$DEB_HOST_MULTIARCH"/qt4/plugins/inputmethods/libqtim-ibus.so ]; then
> QT_IM_MODULE=ibus
> else
> QT_IM_MODULE=xim
Reply to: