mate-desktop/mate-media — pull request #6 by NiceandGently (2012-06-01 15:38:33+00:00)
Title: remove grecord in potfiles.in

for building rpms i used those lines

strip unneeded translations from .mo files
ideally intltool (ha!) would do that for us
http://bugzilla.gnome.org/show_bug.cgi?id=474987
cd po
grep -v ".*[.]desktop[.]in[.]in$\|.*[.]server[.]in[.]in$" POTFILES.in > POTFILES.keep
mv POTFILES.keep POTFILES.in
intltool-update --pot
for p in *.po; do
msgmerge $p %{gettext_package}.pot > $p.out
msgfmt -o `basename $p .po`.gmo $p.out
done

i get this error

make[1]: Leaving directory `/home/rave/rpmbuild/BUILD/mate-media-1.3.0'
cd po
grep -v '.*[.]desktop[.]in[.]in$\|.*[.]server[.]in[.]in$' POTFILES.in
mv POTFILES.keep POTFILES.in
intltool-update --pot
can't open ./../grecord/mate-sound-recorder.schemas.in.in: No such file or directory at /usr/bin/intltool-extract line 211.
xgettext: error while opening "../grecord/mate-sound-recorder.schemas.in.in.h" for reading: No such file or directory
ERROR: xgettext failed to generate PO template file. Please consult
error message above if there is any.

the pull requeset fix this