Bug 39634

Summary: make calls intltool-merge without argument
Product: xdg-sound-theme Reporter: Pacho Ramos <pachoramos1>
Component: GeneralAssignee: Lennart Poettering <lennart>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=361765
Whiteboard:
i915 platform: i915 features:

Description Pacho Ramos 2011-07-28 09:46:53 UTC
When running make I get the following message:

# INTLTOOL_MAKEFILE
Making all in stereo
make[1]: Entering directory `/home/pacho/sound-theme-freedesktop-0.7/stereo'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/pacho/sound-theme-freedesktop-0.7/stereo'
Making all in po
make[1]: Entering directory `/home/pacho/sound-theme-freedesktop-0.7/po'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/pacho/sound-theme-freedesktop-0.7/po'
make[1]: Entering directory `/home/pacho/sound-theme-freedesktop-0.7'
/usr/bin/intltool-merge  ; /usr/bin/intltool-merge ./po index.theme.in index.theme -d -u -c ./po/.intltool-merge-cache
Usage: intltool-merge [OPTION]... PO_DIRECTORY FILENAME OUTPUT_FILE
Generates an output file that includes some localized attributes from an
untranslated source file.

Mandatory options: (exactly one must be specified)
  -b, --ba-style         includes translations in the bonobo-activation style
  -d, --desktop-style    includes translations in the desktop style
  -k, --keys-style       includes translations in the keys style
  -s, --schemas-style    includes translations in the schemas style
  -r, --rfc822deb-style  includes translations in the RFC822 style
      --quoted-style     includes translations in the quoted string style
      --quotedxml-style  includes translations in the quoted xml string style
  -x, --xml-style        includes translations in the standard xml style

Other options:
  -u, --utf8             convert all strings to UTF-8 before merging 
                         (default for everything except RFC822 style)
  -p, --pass-through     deprecated, does nothing and issues a warning
  -m, --multiple-output  output one localized file per locale, instead of 
	                 a single file containing all localized elements
  -c, --cache=FILE       specify cache file name
                         (usually $top_builddir/po/.intltool-merge-cache)
  -q, --quiet            suppress most messages
      --help             display this help and exit
      --version          output version information and exit

Report bugs to http://bugs.launchpad.net/intltool
Generating and caching the translation database
Merging translations into index.theme.
make[1]: Leaving directory `/home/pacho/sound-theme-freedesktop-0.7'

The problem is caused by this line in Makefile.am:

%.theme: %.theme.in
        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_MERGE)
$(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache

Looks like $(wildcard $(top_srcdir)/po/*.po) ends returning nothing, causing
the warning :S
Comment 1 GitLab Migration User 2019-02-16 12:31:44 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xdg/xdg-specs/issues/19.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.