public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* Remove old po/ code for copying .po files from shared directory
@ 2017-12-14 21:12 Joseph Myers
  2017-12-15  4:20 ` Carlos O'Donell
       [not found] ` <CAHdAatZYw2pJ2CmZWFS-NAEjeToTNaXoEnNR0nPSdJe1OLsZrw@mail.gmail.com>
  0 siblings, 2 replies; 4+ messages in thread
From: Joseph Myers @ 2017-12-14 21:12 UTC (permalink / raw)
  To: libc-alpha

po/Makefile has both old code for copying .po files from a shared
directory /com/share/ftp/gnu/po/maint/glibc (presumably once present
on some GNU server), and new code for downloading them from the
Translation Project.  This patch removes the old code, leading only
the new code.

Tested for x86_64.

2017-12-14  Joseph Myers  <joseph@codesourcery.com>

	* po/Makefile (linguas): Remove rule and dependencies.
	(linguas.mo): Likewise.
	(.PHONY): Do not depend on linguas and linguas.mo.
	(podir): Remove variable.
	(pofiles): Likewise.
	[$(pofiles)] (%.po): Remove rule.

diff --git a/po/Makefile b/po/Makefile
index 122db23..1fdce17 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -86,30 +86,9 @@ libc.pot.files: FORCE
 # Install the message object files as libc.po in the language directory.
 $(mo-installed): %.mo $(+force); $(do-install) || exit 0
 
-.PHONY: linguas linguas.mo
-linguas: $(ALL_LINGUAS:=.po)
-linguas.mo: $(ALL_LINGUAS:=.mo)
-
 realclean:
 	rm -f $(ALL_LINGUAS:=.mo)
 \f
-# Copy the PO files from the translation coordinator's repository.
-
-podir = /com/share/ftp/gnu/po/maint/glibc
-
-pofiles := $(wildcard $(podir)/*.po)
-
-ifneq (,$(pofiles))
-
-%.po: $(podir)/%.po
-	cp -f $< $@
-	chmod 444 $@
-
-linguas: $(pofiles:$(podir)/%=%)
-linguas.mo: $(pofiles:$(podir)/%.po=%.mo)
-
-endif
-
 # Update translations from the translation project.
 TRANSLATIONS_URL = https://translationproject.org/latest/libc
 WGET = wget

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Remove old po/ code for copying .po files from shared directory
  2017-12-14 21:12 Remove old po/ code for copying .po files from shared directory Joseph Myers
@ 2017-12-15  4:20 ` Carlos O'Donell
       [not found] ` <CAHdAatZYw2pJ2CmZWFS-NAEjeToTNaXoEnNR0nPSdJe1OLsZrw@mail.gmail.com>
  1 sibling, 0 replies; 4+ messages in thread
From: Carlos O'Donell @ 2017-12-15  4:20 UTC (permalink / raw)
  To: Joseph Myers, libc-alpha

On 12/14/2017 01:12 PM, Joseph Myers wrote:
> po/Makefile has both old code for copying .po files from a shared
> directory /com/share/ftp/gnu/po/maint/glibc (presumably once present
> on some GNU server), and new code for downloading them from the
> Translation Project.  This patch removes the old code, leading only
> the new code.
> 
> Tested for x86_64.
> 
> 2017-12-14  Joseph Myers  <joseph@codesourcery.com>
> 
> 	* po/Makefile (linguas): Remove rule and dependencies.
> 	(linguas.mo): Likewise.
> 	(.PHONY): Do not depend on linguas and linguas.mo.
> 	(podir): Remove variable.
> 	(pofiles): Likewise.
> 	[$(pofiles)] (%.po): Remove rule.

LGTM.

-- 
Cheers,
Carlos.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Fwd: Remove old po/ code for copying .po files from shared directory
       [not found]   ` <CAHdAatZMHaorWdZK-mE0-1o1CbocVR8qftF2zo2vzd8k8hv_UQ@mail.gmail.com>
@ 2017-12-16 22:30     ` Chris Leonard
  2017-12-18 17:20       ` Joseph Myers
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Leonard @ 2017-12-16 22:30 UTC (permalink / raw)
  To: libc-alpha

On Thu, Dec 14, 2017 at 4:12 PM, Joseph Myers <joseph@codesourcery.com> wrote:
>
> po/Makefile has both old code for copying .po files from a shared
> directory /com/share/ftp/gnu/po/maint/glibc (presumably once present
> on some GNU server), and new code for downloading them from the
> Translation Project.  This patch removes the old code, leading only
> the new code.


Why is the glibc PO file hosted on the Translation Project instead of
DamnedLies?

TP has only 90-odd languages (and only 35 with glibc projects) and
DamendLies has 190-odd languages.

Is it a re-licensing / copyright waiver collection thing?

cjl

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Fwd: Remove old po/ code for copying .po files from shared directory
  2017-12-16 22:30     ` Fwd: " Chris Leonard
@ 2017-12-18 17:20       ` Joseph Myers
  0 siblings, 0 replies; 4+ messages in thread
From: Joseph Myers @ 2017-12-18 17:20 UTC (permalink / raw)
  To: Chris Leonard; +Cc: libc-alpha

On Sat, 16 Dec 2017, Chris Leonard wrote:

> Why is the glibc PO file hosted on the Translation Project instead of
> DamnedLies?

The Translation Project is the normal place used by GNU tools such as gcc, 
binutils, make, coreutils, sed, gawk, etc.; I don't see why glibc would do 
anything different.
  
glibc does indeed require translation disclaimers filed at the FSF, as      
stated at <https://translationproject.org/domain/libc.html>.

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-12-18 17:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-14 21:12 Remove old po/ code for copying .po files from shared directory Joseph Myers
2017-12-15  4:20 ` Carlos O'Donell
     [not found] ` <CAHdAatZYw2pJ2CmZWFS-NAEjeToTNaXoEnNR0nPSdJe1OLsZrw@mail.gmail.com>
     [not found]   ` <CAHdAatZMHaorWdZK-mE0-1o1CbocVR8qftF2zo2vzd8k8hv_UQ@mail.gmail.com>
2017-12-16 22:30     ` Fwd: " Chris Leonard
2017-12-18 17:20       ` Joseph Myers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).