Hi,

Alioth may be down so I am sending mail directly.

On Mon, Jan 30, 2012 at 12:53:57PM +0900, Daiki Ueno wrote:
> Osamu Aoki <os...@debian.org> writes:
...
> > Googling lead me to a similar bug report elsewhere.  
> > Basically it changes above mentioned part with
> > ==============================
> > ldmlibexecdir = $(libexecdir)/@PACKAGE@
> > ldmlibexec_SCRIPTS = \
> >     ibus-ui-gtk \
> >     $(NULL)
> > ==============================
> > It can eliminate autoreconf error but I am not sure this is what is needed.
> 
> Ah, I didn't hit on that idea.  IMO it is a reasonable workaround until
> the new automake is packaged.  How about modifying the relevant part in
> debian/patches/use_pkglibexec.patch as follows?
> 
> ==============================
> # pkglibexec_SCRIPTS is not a valid prefix/primary combination with
> # older automake
> ibuslibexecdir = $(pkglibexecdir)
> ibuslibexec_SCRIPTS = \
>     ibus-ui-gtk \
>     $(NULL)
> ==============================

OK.  Use of $(pkglibexecdir) may be good idea since this is already
defined in parent Makefile.in.


I also see Aron's post.
=================================
-libexec_SCRIPTS = \
+ibusuigtkdir = $(libexecdir)/@PACKAGE@
+dist_ibusuigtk_SCRIPTS = \
        ibus-ui-gtk \
        $(NULL)
=================================

I am not sure but use of "dist_" to force including for distribution
seems good idea too.

So I ended with the following patch.  It compiles old source.
=================================
--- a/ui/gtk/Makefile.am
+++ b/ui/gtk/Makefile.am
@@ -36,7 +36,8 @@
        $(NULL)
 ui_gtkdir = $(pkgdatadir)/ui/gtk

-libexec_SCRIPTS = \
+ibusuigtkdir = $(pkglibexecdir)
+dist_ibusuigtk_SCRIPTS = \
        ibus-ui-gtk \
        $(NULL)
=================================

Any comments?

Also, We use old automake1.11 (1:1.11.2-1) package based on 2011-12-21
Stable release 1.11.2.  Should we poke automake maintainer to update
package by pulling in at least january update.

If that happen, do we need this source change for ibus?

Osamu




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to