After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 338001 - [PATCH] Use po/LINGUAS
[PATCH] Use po/LINGUAS
Status: RESOLVED FIXED
Product: gnopernicus
Classification: Deprecated
Component: build
unspecified
Other Linux
: Normal trivial
: ---
Assigned To: remus draica
Adi Dascal
Depends on:
Blocks:
 
 
Reported: 2006-04-10 18:36 UTC by Brian Pepple
Modified: 2006-05-10 05:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to use po/LINGUAS (1.43 KB, patch)
2006-04-10 18:37 UTC, Brian Pepple
none Details | Review
LINGUAS file to be placed in po directory (241 bytes, text/plain)
2006-04-10 18:37 UTC, Brian Pepple
  Details
New proposed patch (1.47 KB, patch)
2006-04-20 12:35 UTC, Przemysław Grzegorczyk
committed Details | Review

Description Brian Pepple 2006-04-10 18:36:34 UTC
Here's a patch that implements the suggestions at
http://live.gnome.org/GnomeGoals/PoLinguas
Comment 1 Brian Pepple 2006-04-10 18:37:11 UTC
Created attachment 63186 [details] [review]
Patch to use po/LINGUAS
Comment 2 Brian Pepple 2006-04-10 18:37:33 UTC
Created attachment 63187 [details]
LINGUAS file to be placed in po directory
Comment 3 Przemysław Grzegorczyk 2006-04-20 12:35:03 UTC
Created attachment 63944 [details] [review]
New proposed patch

This patch is based on the new guidelines (http://live.gnome.org/GnomeGoals/PoLinguas).
Comment 4 remus draica 2006-05-08 13:13:16 UTC
Comment on attachment 63944 [details] [review]
New proposed patch

using this patch I don't get the .gmo file. Is this a know issue?
Comment 5 Przemysław Grzegorczyk 2006-05-09 06:48:40 UTC
Works for me:
[devel] ~/gnome/cvs/gnopernicus/po @ make
file=`echo ar | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file ar.po
file=`echo az | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file az.po
file=`echo be | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file be.po
file=`echo bg | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file bg.po
file=`echo bn | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file bn.po
file=`echo ca | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file ca.po
file=`echo cs | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file cs.po
file=`echo cy | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file cy.po
file=`echo da | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file da.po
file=`echo de | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file de.po
file=`echo dz | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file dz.po
file=`echo el | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file el.po
file=`echo en_CA | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file en_CA.po
file=`echo en_GB | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file en_GB.po
file=`echo es | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file es.po
file=`echo et | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file et.po
file=`echo eu | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file eu.po
file=`echo fa | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file fa.po
file=`echo fi | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file fi.po
file=`echo fr | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file fr.po
file=`echo ga | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file ga.po
file=`echo gl | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file gl.po
file=`echo gu | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file gu.po
file=`echo hi | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file hi.po
file=`echo hr | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file hr.po
file=`echo hu | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file hu.po
file=`echo id | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file id.po
file=`echo it | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file it.po
file=`echo ja | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file ja.po
file=`echo ka | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file ka.po
file=`echo ko | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file ko.po
file=`echo lt | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file lt.po
file=`echo mn | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file mn.po
file=`echo ms | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file ms.po
file=`echo nb | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file nb.po
file=`echo ne | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file ne.po
file=`echo nl | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file nl.po
file=`echo pa | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file pa.po
file=`echo pl | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file pl.po
file=`echo pt | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file pt.po
file=`echo pt_BR | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file pt_BR.po
file=`echo ro | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file ro.po
file=`echo ru | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file ru.po
file=`echo rw | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file rw.po
file=`echo sk | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file sk.po
file=`echo sq | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file sq.po
file=`echo sr | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file sr.po
file=`echo sr@Latn | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file sr@Latn.po
file=`echo sv | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file sv.po
file=`echo ta | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file ta.po
file=`echo te | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file te.po
file=`echo th | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file th.po
file=`echo tr | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file tr.po
file=`echo uk | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file uk.po
file=`echo vi | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file vi.po
file=`echo zh_CN | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file zh_CN.po
file=`echo zh_TW | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/msgfmt -o $file zh_TW.po
[devel] ~/gnome/cvs/gnopernicus/po @ ls
ar.gmo     de.po      ga.gmo  ko.po           pl.gmo         sr@Latn.po
ar.po      dz.gmo     ga.po   ku.po           pl.po          sr.po
az.gmo     dz.po      gl.gmo  LINGUAS         POTFILES       stamp-it
az.po      el.gmo     gl.po   lt.gmo          POTFILES.in    sv.gmo
be.gmo     el.po      gu.gmo  lt.po           POTFILES.skip  sv.po
be.po      en_CA.gmo  gu.po   Makefile        pt_BR.gmo      ta.gmo
bg.gmo     en_CA.po   hi.gmo  Makefile.in     pt_BR.po       ta.po
bg.po      en_GB.gmo  hi.po   Makefile.in.in  pt.gmo         te.gmo
bn.gmo     en_GB.po   hr.gmo  mk.po           pt.po          te.po
bn.po      es.gmo     hr.po   mn.gmo          ro.gmo         th.gmo
ca.gmo     es.po      hu.gmo  mn.po           ro.po          th.po
ca.po      et.gmo     hu.po   ms.gmo          ru.gmo         tr.gmo
ChangeLog  et.po      id.gmo  ms.po           ru.po          tr.po
cs.gmo     eu.gmo     id.po   nb.gmo          rw.gmo         uk.gmo
cs.po      eu.po      it.gmo  nb.po           rw.po          uk.po
CVS        fa.gmo     it.po   ne.gmo          sk.gmo         vi.gmo
cy.gmo     fa.po      ja.gmo  ne.po           sk.po          vi.po
cy.po      fi.gmo     ja.po   nl.gmo          sq.gmo         zh_CN.gmo
da.gmo     fi.po      ka.gmo  nl.po           sq.po          zh_CN.po
da.po      fr.gmo     ka.po   pa.gmo          sr.gmo         zh_TW.gmo
de.gmo     fr.po      ko.gmo  pa.po           sr@Latn.gmo    zh_TW.po
[devel] ~/gnome/cvs/gnopernicus/po @
Comment 6 remus draica 2006-05-10 05:04:32 UTC
For 
IT_PROG_INTLTOOL([0.34.90])

I get:

checking for intltool >= 0.34.90... 0.34.1 found
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
checking for iconv... /usr/bin/iconv
checking for msgfmt... /usr/bin/msgfmt
checking for msgmerge... /usr/bin/msgmerge
checking for xgettext... /usr/bin/xgettext

My expections were to get a stop if the right version is not installed. Is this a bug?

With the right version, everything is fine.
Comment 7 remus draica 2006-05-10 05:17:02 UTC
Comment on attachment 63944 [details] [review]
New proposed patch

patch applied on cvs head.