On 2017-05-20 13:18-0400 Matthew A. Postiff wrote: > > mingw64 xgettext (0.19.8) is failing to process xml files. 0.19.7 on mingw64 > behaved same. > > $ xgettext --language=glade ../templates/gtkbuilder.*.xml -o bibledit.pot > C:\msys64\mingw64\bin\xgettext.exe: warning: file > '../templates/gtkbuilder.bulkspellingdialog.xml' extension 'xml' is unknown; > will try > C > > Same command in msys2 window gives basically the same error: > > xgettext: warning: file '../templates/gtkbuilder.bulkspellingdialog.xml' > extension 'xml' is unknown; will try C > > Same command on Ubuntu 16.04 (xgettext 0.19.7) runs this command just fine > and produces output. > > Any ideas? Thanks,
Hi Matthew: One possibility is --language=glade might be a special case where you are up against a soft package dependency error for the MinGW-w64/MSYS2 gettext package. For example, on Debian Jessie the package dependencies of gettext are as follows: Depends: libc6 (>= 2.17), libffi6 (>= 3.0.4), libpcre3 (>= 1:8.35), libselinux1 (>= 1.32), zlib1g (>= 1:1.2.2) Recommends: libglib2.0-data, shared-mime-info, xdg-user-dirs Some of those are not mentioned in <https://github.com/Alexpux/MSYS2-packages/blob/master/gettext/PKGBUILD>. I am not sure whether any of those unmentioned dependencies are relevant to --language=glade support, but just in case one of them is, I suggest you try installing the corresponding MinGW-w64/MSYS2 package (assuming it exists) just in case that might make a difference to --language=glade support. Note, I am just lurking on this list at the moment with no practical experience (yet) using MinGW-w64/MSYS2. And I have no experience using xgettext. So I am relying solely on my package dependency expertise in answering you, and you should keep that caveat in mind. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Msys2-users mailing list Msys2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/msys2-users