Thanks for your info. I didn't notice this issue.
It seems xml_merge_output() in intltool-merge has been changed since intltool 
0.36.3.

----------------------
http://svn.gnome.org/viewvc/intltool/trunk/intltool-merge.in.in?r1=700&r2=705

2007-11-25  Rodney Dawes  <dobey.pwns at gmail.com>

        * intltool-merge.in.in (xml_merge_output):
        Output the untranslated file in C/ for multiple output
        Only output in the current directory for single-file output

        Fixes #487817
----------------------


One suggestion is to modify gok/Makefile.am and gok.spec or revert the intltool 
version to 0.36.2.

--- gok-1.3.7/Makefile.am.orig  2008-03-03 20:33:27.088377000 +0900
+++ gok-1.3.7/Makefile.am       2008-03-03 20:33:46.009825000 +0900
@@ -39,8 +39,7 @@ xam_files = $(xml_in_files:.xml.in=.xam)
  kbd_files = $(kbd_in_files:.kbd.in=.kbd)
  @INTLTOOL_KBD_RULE@

-xml_DATA = $(xam_files) \
-       $(kbd_files)
+xml_DATA = $(xam_files)

  gladedir = $(pkgdatadir)/glade

--- spec-files/base-specs/gok.spec.orig 2008-03-03 20:51:25.619023000 +0900
+++ spec-files/base-specs/gok.spec      2008-03-03 20:51:48.015430000 +0900
@@ -103,6 +103,11 @@ export GCONF_DISABLE_MAKEFILE_SCHEMA_INS
  make DESTDIR=$RPM_BUILD_ROOT install
  unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL

+if [ -f $RPM_BUILD_ROOT/%{_datadir}/gok/C/main.kbd ] ; then
+  mv $RPM_BUILD_ROOT/%{_datadir}/gok/C/*.kbd $RPM_BUILD_ROOT/%{_datadir}/gok/.
+  rmdir $RPM_BUILD_ROOT/%{_datadir}/gok/C
+fi
+

  # Remove unwanted files
  rm -rf $RPM_BUILD_ROOT%{_prefix}/var

Thanks,
fujiwara

Li Yuan wrote:
> Patrick Ale wrote:
> 
>>
>>
>> SUNWgnome-ay11-gok (long lasting problem)
>> pkgbuild:  /opt/jdsbld/bin/install -c -m 644 './mouse.kbd'
>> '/var/tmp/pkgbuild-build/SUNWgnome-a11y-gok-2.21.92-build/usr/share/gok/mouse.kbd'
>>  
>>
>> pkgbuild: /opt/jdsbld/bin/install: cannot stat `./mouse.kbd': No such
>> file or directory
>> pkgbuild: make[2]: *** [install-xmlDATA] Error 1
>> pkgbuild: make[2]: Leaving directory
>> `/export/home/build/packages/BUILD/SUNWgnome-a11y-gok-2.21.92/gok-1.3.7'
>> pkgbuild: make[1]: *** [install-am] Error 2
>> pkgbuild: make[1]: Leaving directory
>> `/export/home/build/packages/BUILD/SUNWgnome-a11y-gok-2.21.92/gok-1.3.7'
>>
>>   
> 
> Seems *.kbd files are not generated in gok-1.3.7 directory but in 
> gok-1.3.7/C. The command which is used during build is:
> "LC_ALL=C ./intltool-merge -x -u -m -c ./po/.intltool-merge-cache ./po 
> numberpad.kbd.in numberpad.kbd"
> 
> If I build by myself, the file is created in gok-1.3.7 which is OK. If I 
> build by pkgbuild, the file is created in gok-1.3.7/C and cannot be 
> found by /opt/jdsbld/bin/install.
> 
> Takao, do you have any idea on this? Did intltool-merge read any 
> environment?
> 
> Thanks,
> Li
> 
> 
> 
> 



Reply via email to