[Libguestfs] [PATCH] internationalisation: Replace autopoint infrastructure with libintl-perl

Jim Meyering jim at meyering.net
Wed Sep 2 20:09:28 UTC 2009


Hi Matt,

I tried that patch.
First thing I did was to remove trailing blanks.
Or else, "git am" would complain and fail:

  Applying: internationalisation: Replace autopoint infrastructure with libintl-perl
  /co/virt-v2v/.git/rebase-apply/patch:65: trailing whitespace.
  for libintl-perl.  To do so, send an e-mail to the address
  /co/virt-v2v/.git/rebase-apply/patch:69: trailing whitespace.
  You can subscribe to this list at
  /co/virt-v2v/.git/rebase-apply/patch:200: trailing whitespace.
  for traveling, or other reasons.  In many societies, the ability to use and
  /co/virt-v2v/.git/rebase-apply/patch:201: trailing whitespace.
  handle a computer also has a strong impact on your perspectives in life, you
  /co/virt-v2v/.git/rebase-apply/patch:202: trailing whitespace.
  may not be able to find an adequate job because of your lack of computer
  error: po/Makefile: already exists in working directory
  Patch failed at 0001 internationalisation: Replace autopoint infrastructure with libintl-perl


After that, I did ./autogen.sh && make and got this:

  ...
  make[1]: Entering directory `/h/meyering/w/co/virt-v2v/po'
  xgettext --output=./virt-v2v.pox --from-code=utf-8 \
                  --add-comments=TRANSLATORS: --files-from=./POTFILES.in \
                  --copyright-holder="Red Hat Inc." \
                  --msgid-bugs-address="libguestfs at redhat.com" \
                  --keyword --keyword='$__' --keyword=__ --keyword=__x \
                  --keyword=__n:1,2 --keyword=__nx:1,2 --keyword=__xn:1,2 \
                  --keyword=__p:1c,2 --keyword=__np:1c,2,3 \
                  --keyword=__npx:1c,2,3 --keyword=N__ --keyword=N__n:1,2 \
                  --keyword=N__p:1c,2 --keyword=N__np:1c,2,3 --keyword=%__ \
                  --language=perl && \
          rm -f virt-v2v.pot && mv virt-v2v.pox virt-v2v.pot
  ../perl/lib/Sys/VirtV2V/GuestOS/RedHat.pm:168: invalid variable interpolation at "$"
  make[1]: *** [virt-v2v.pot] Error 1
  make[1]: Leaving directory `/h/meyering/w/co/virt-v2v/po'
  make: *** [all-recursive] Error 1




More information about the Libguestfs mailing list