[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
trans-coord/gnun/server/gnun ChangeLog GNUmakef...
From: |
Pavel Kharitonov |
Subject: |
trans-coord/gnun/server/gnun ChangeLog GNUmakef... |
Date: |
Tue, 10 Dec 2013 15:20:32 +0000 |
CVSROOT: /sources/trans-coord
Module name: trans-coord
Changes by: Pavel Kharitonov <ineiev> 13/12/10 15:20:32
Modified files:
gnun/server/gnun: ChangeLog GNUmakefile NEWS
gnun/server/gnun/doc: gnun.texi web-trans.texi
Log message:
* GNUmakefile: Drop whatsnew support.
* doc/web-trans.texi (Priorities): Update whatsnew status.
(SSI): Remove references to whatsnew.
* doc/gnun.texi (GNU News): Remove node.
* NEWS: Update.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/ChangeLog?cvsroot=trans-coord&r1=1.390&r2=1.391
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/GNUmakefile?cvsroot=trans-coord&r1=1.171&r2=1.172
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/NEWS?cvsroot=trans-coord&r1=1.95&r2=1.96
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/doc/gnun.texi?cvsroot=trans-coord&r1=1.91&r2=1.92
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/doc/web-trans.texi?cvsroot=trans-coord&r1=1.58&r2=1.59
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/ChangeLog,v
retrieving revision 1.390
retrieving revision 1.391
diff -u -b -r1.390 -r1.391
--- ChangeLog 15 Oct 2013 07:53:39 -0000 1.390
+++ ChangeLog 10 Dec 2013 15:20:31 -0000 1.391
@@ -1,3 +1,11 @@
+2013-12-10 Pavel Kharitonov <address@hidden>
+
+ * GNUmakefile: Drop whatsnew support.
+ * doc/web-trans.texi (Priorities): Update whatsnew status.
+ (SSI): Remove references to whatsnew.
+ * doc/gnun.texi (GNU News): Remove node.
+ * NEWS: Update.
+
2013-10-15 Pavel Kharitonov <address@hidden>
* GNUmakefile (fixperm): Remove function; it is not
Index: GNUmakefile
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/GNUmakefile,v
retrieving revision 1.171
retrieving revision 1.172
diff -u -b -r1.171 -r1.172
--- GNUmakefile 15 Oct 2013 07:53:36 -0000 1.171
+++ GNUmakefile 10 Dec 2013 15:20:31 -0000 1.172
@@ -149,18 +149,6 @@
endif
### End of variables declaration (templates) ###
-### Special variables for whatsnew (a.k.a. gnunews) ###
-# Compute everything based on the present PO files.
-wn-po := $(wildcard $(template-dir)/po/whatsnew.*.po)
-wn-html := $(wn-po:%.po=%.html)
-gnusfl := $(subst $(template-dir)/po/whatsnew,$(rootdir)/gnusflashes, \
- $(wn-po:%.po=%.include))
-gnunews := $(template-dir)/po/whatsnew.pot $(wn-html) $(gnusfl)
-ifeq ($(VERBOSE),yes)
-$(info gnunews = $(gnunews))
-endif
-### End of variables declaration (whatsnew) ###
-
transfer-to-po = \
$(patsubst ./%,%,$(join $(patsubst %,%po/,$(dir $(1))),$(notdir $(1))))
find-po = $(wildcard $(1).*.po)
@@ -788,109 +776,6 @@
### End of rules for extra templates ###
-### Specific rules for the What's New system (a.k.a. GNU news) ###
-# There is a lot of duplication with article-rules, but at least one
-# command in every recipe has to be different. Also, we don't want
-# whatsnew to be in gnun.mk as if it is it will be built by the
-# article-rules anyway.
-$(template-dir)/po/whatsnew.proto: $(template-dir)/whatsnew.html
- $(VALIDATESKIP) $(VALIDATE-HTML-NOTIFY) $(NOTIFYSKIP) $(web-addr) $<
- $(generate-proto)
-
-$(template-dir)/po/whatsnew.pot: $(template-dir)/po/whatsnew.proto \
- $(template-dir)/whatsnew.include
- $(addfile)
-# The generation of whatsnew.pot is special, as it contains all
-# strings for building whatsnew.LANG.html and whatsnew.LANG.include.
- $(MAILFAIL) $(NOTIFYSKIP) $(web-addr) \
- "[GNUN Error] POT generation of $(subst $(rootdir)/,,$@) failed" \
- $(PO4A_GETTEXTIZE) $(PO4A-XHTMLFLAGS) $(PO4A-GETTEXTIZEFLAGS) \
- --master $< --master $(template-dir)/whatsnew.include --po
address@hidden
- if ([ ! -f $@ ] \
- || [ "`diff -U 0 $@ address@hidden | $(GREP) -v "^\(---\|+++\|@@\)" \
- | $(EGREP) -v '^[-+]"(POT-Creation-Date|PO-Revision-Date|Language):' \
- | wc -c`" -ne 0 ]); then \
- mv address@hidden $@; \
- fi; \
- touch $@
- $(RM) address@hidden
-
-# Reordering the prerequisites would save the redundant usage of the
-# $* automatic variable but $(addfile) wouldn't work.
-.PRECIOUS: $(template-dir)/whatsnew.%.include
-$(template-dir)/whatsnew.%.include: $(template-dir)/whatsnew.include \
- $(template-dir)/po/whatsnew.%.po
- PO=$(template-dir)/po/whatsnew.$*.po ; \
- $(MAILFAIL) $(NOTIFYSKIP) $(transl-addr) \
- "[GNUN Error] $${PO#../../} is not a valid PO file" \
- $(VALIDATESKIP) $(MSGFMT) --check --verbose \
- --output-file=/dev/null $$PO || (touch $$PO ; exit 1)
- $(addfile)
-# The <dd> element is not wrapped on purpose, for easy generation of
-# gnusflashes.LANG.include.
-# FIXME: Unfortunately, if the translator wraps the msgstr with M-q,
-# then grep in the gnusflashes recipe skips all those wrapped news as
-# there is no match. Figure out how to avoid this problem or
-# alternatively, say louder that wrapping of msgstr is a BAD thing.
- PO=$(template-dir)/po/whatsnew.$*.po OUT=$@ ; \
- $(PO4A_TRANSLATE) $(PO4A-XHTMLFLAGS) $(PO4A-TRANSLATEFLAGS) \
- -o "translated=W<dd>" --master $< --po $$PO --localized $$OUT
-
-# Derive the targets from whatsnew.LANG.include. Pattern rules rule.
-$(rootdir)/gnusflashes.%.include: $(template-dir)/whatsnew.%.include
- [ -f $@ ] || (touch $@ ; $(VCSSKIP) $(vcs) add $@)
- echo "<!--Automatically generated by GNUN; do not edit!-->" > $@
- $(GREP) '<dd>.*</dd>' $< | head -n 3 >> $@
- $(SED) --in-place "s/\(\/\?\)dd>/\1p>/g" $@ || (touch $< ; exit 1)
-
-# This target is deliberately generated in the wrong sub-directory,
-# otherwise it will be built by template-rules which we want to avoid
-# at all cost.
-$(template-dir)/po/whatsnew.%.html: $(template-dir)/po/whatsnew.proto \
- $(template-dir)/po/whatsnew.%.po \
- $(template-dir)/whatsnew.%.include \
- generic.%.html
- $(if $(call find-language,$*,$(TEMPLATE_LINGUAS)),, \
- echo 'The "$*" language code is not defined in TEMPLATE_LINGUAS.' \
- $(if $(NOTIFYSKIP),, | $(MAIL) $(transl-addr) -s \
- "[GNUN Error] Could not build $(subst $(rootdir)/,,$@)"); \
- exit 1)
- PO=$(template-dir)/po/whatsnew.$*.po ; $(MAILFAIL) \
- $(NOTIFYSKIP) $(transl-addr) \
- "[GNUN Error] $${PO#../../} is not a valid PO file" \
- $(VALIDATESKIP) $(MSGFMT) --check --verbose --output-file=/dev/null \
- $$PO || (touch $$PO ; exit 1)
- [ -f $(template-dir)/$(@F) ] \
- || (touch $(template-dir)/$(@F) ; \
- $(VCSSKIP) $(vcs) add $(template-dir)/$(@F))
-# Unconditionally update the PO file; see the comment in `generate-html'.
-# Do _not_ touch the PO file if it doesn't change; this workaround is needed
-# because we are too lazy to provide a rule for the PO file.
- cp -p $(template-dir)/po/whatsnew.$*.po \
- $(template-dir)/po/whatsnew.$*.po1
- $(call update-po,$(template-dir)/po/whatsnew.$*.po,\
- $(template-dir)/po/whatsnew.pot,$*)
- if diff $(template-dir)/po/whatsnew.$*.po \
- $(template-dir)/po/whatsnew.$*.po1 > /dev/null; then \
- touch -r $(template-dir)/po/whatsnew.$*.po1 \
- $(template-dir)/po/whatsnew.$*.po; \
- fi
- $(RM) $(template-dir)/po/whatsnew.$*.po1
- $(PO4A_TRANSLATE) $(PO4A-XHTMLFLAGS) $(PO4A-TRANSLATEFLAGS) \
- --master $< --po $(template-dir)/po/whatsnew.$*.po \
- --localized $@
- $(SED) --in-place "s/<gnun>\(.*\)<\/gnun>/\1/g" $@
- $(SED) --in-place \
- ':egin;N;$$!begin;s/\([ \t]*\n[ \t]*\)\{3,\}<!--/\n\n<!--/g' $@
- $(call substitute-localized-includes,$*) $@
- $(SED) --in-place \
- "s/\(<!--#include virtual=\".*whatsnew\)\(.include\" -->\)/\1.$*\2/g"
\
- $@
- $(VALIDATESKIP) $(VALIDATE-HTML-NOTIFY) $(NOTIFYSKIP) $(transl-addr) $@
-# Copy the target where it belongs.
- cp $@ $(template-dir)
-### End of the whatsnew-specific rules ###
-
### Rules for all other articles ###
define article-pot-rules
$(1).proto: $(subst /po/,/,$(1).html)
Index: NEWS
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/NEWS,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -b -r1.95 -r1.96
--- NEWS 8 Oct 2013 04:38:23 -0000 1.95
+++ NEWS 10 Dec 2013 15:20:32 -0000 1.96
@@ -10,6 +10,8 @@
*** Support of sitemaps was added.
+*** Support of whatsnew is dropped.
+
*** The differences of comments were added to the tables generated
with `gnun-diff-po'.
Index: doc/gnun.texi
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/doc/gnun.texi,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -b -r1.91 -r1.92
--- doc/gnun.texi 2 Sep 2013 05:23:38 -0000 1.91
+++ doc/gnun.texi 10 Dec 2013 15:20:32 -0000 1.92
@@ -393,7 +393,6 @@
* languages.txt:: Specifying canonical names for languages.
* Compendia:: Using translation memory.
* Sitemap:: Specifics of sitemap generation.
-* GNU News:: Obsolete: How to handle ``whatsnew''.
@end menu
@node Invoking GNUN
@@ -1022,39 +1021,6 @@
@code{msgid}s match those generated by PO4A when processing the
English version of the sitemap.
-
address@hidden GNU News
address@hidden Special Handling for GNU News
address@hidden gnunews
address@hidden whatsnew
address@hidden gnusflashes
-
address@hidden attention:} The practice of news handling that is
-described here has been obsolete for some time now, as they are being
-fed automatically from Planet GNU (@uref{http://planet.gnu.org}).
-Nevertheless, the information below is accurate to the extent that the
-support for the old-fashioned way is still available.
-
-The GNU website has infrastructure for supporting ``What's New'', also
-known as ``GNU News''. Entries are added in a special plain text
-file, @file{server/whatsnew.txt} and are used to build
address@hidden/whatsnew.include} and @file{gnusflashes.include}. The
-former is used by @file{server/whatsnew.html}, while the latter was
-included in the homepage.
-
-GNUN has additional rules for building @file{whatsnew.pot}, which
-contains a combination of all necessary strings for
address@hidden/address@hidden,
address@hidden/address@hidden and
address@hidden@var{lang}.include}. There is nothing unusual in this
-POT file, so it should be translated like any other. When you commit
address@hidden@var{lang}.po}, it will be used to generate all three
-localized files.
-
-Note that localized RSS feeds are not supported on purpose, as it would
-be annoying for subscribers if new items appeared in English and then,
-again, as a translation.
-
@node Team's Repository
@chapter Maintaining Translations in Your Team's Repository
@cindex project repository
@@ -2664,7 +2630,7 @@
@c LocalWords: compendia Compendia GNUN's ineiev cron cindex gnumake config
@c LocalWords: pkgdatadadir symlinks ln SVN bzr svn HMTL conf ann dfn gnunews
@c LocalWords: online filesets urls automagically wdiff dir gNewSense Virtaal
address@hidden LocalWords: Gtranslator Lokalize XLIFF API ftplugin whatsnew
txt init URIs
address@hidden LocalWords: preconvert gettextize preconverted gnusflashes RSS
de Deutsch
address@hidden LocalWords: Gtranslator Lokalize XLIFF API ftplugin txt init
URIs
address@hidden LocalWords: preconvert gettextize preconverted RSS de Deutsch
@c LocalWords: ul nbsp polski upto committer Boilerplates boilerplates png
@c LocalWords: FilenameAndURLGuidelines SVG lbAO hardcoded fdl
Index: doc/web-trans.texi
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/doc/web-trans.texi,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -b -r1.58 -r1.59
--- doc/web-trans.texi 6 Sep 2013 14:58:17 -0000 1.58
+++ doc/web-trans.texi 10 Dec 2013 15:20:32 -0000 1.59
@@ -1219,8 +1219,9 @@
@item server/whatsnew.html
This is ``What's New'', also known as ``GNU's Flashes'', also known as
-``GNU News''. It has been deprecated for quite some time and translating
-it is discouraged.
+``GNU News''. Historically, it was processed separately, and its
+support was dropped. It may be added as an ordinary page after
+GNUN 0.9 release.
@end table
@node Updating
@@ -1418,8 +1419,6 @@
releases. It is not mandatory to subscribe to it, although the traffic
is very low. If you want to track only GNUN release announcements,
subscribe to the @samp{gnun} topic via Mailman's user interface.
-Likewise, if you want to receive only @dfn{What's New} updates,
-subscribe to the @samp{whatsnew} topic.
Automatic announcements for new gnu.org translations (provided they're
handled by GNUN) are also delivered here. There are separate
@@ -1730,8 +1729,8 @@
in the @file{server} sub-directory are what webmasters call ``the
server templates''. These files are included in almost every article,
translated or not. They are somewhat important, as an error made in
-translating them propagates everywhere. The server templates, the
-homepages, and whatsnew (a.k.a. ``GNU News'') are being rebuilt by
+translating them propagates everywhere. The server templates and the
+homepages are being rebuilt by
GNUN whenever there is a change in the original English files; the
@code{GRACE} variable has no effect for them. @xref{Runtime
Variables, , , gnun, The GNUnited Nations Manual}.
@@ -1886,12 +1885,12 @@
@c LocalWords: indicateurl lang html CVS www cvs gettextized LINGUAS online
@c LocalWords: emph UTF gEdit OpenOffice txt odt upto FSF cvsweb historial hy
@c LocalWords: quisiera revisar los cambios que hemos hecho por vea abajo el
address@hidden LocalWords: href inline distros mai Maithili br zh cn uuml
whatsnew VCS ne
address@hidden LocalWords: href inline distros mai Maithili br zh cn uuml VCS
ne
@c LocalWords: WebSite Unreviewed subsubsection SourceForge webmaster's Yay
@c LocalWords: Panjabi png kb RCS Windoze EOLs committers unmarking checkbox
@c LocalWords: pollinking hoc spanish wwwsr assignee RSS subsubheading Pootle
@c LocalWords: Vertaal Narro msgmerge th webmastering SSI CSS filenames xml
address@hidden LocalWords: GNUN's RTL dir xmlns ar rtl encodings filename
gnusflashes css
address@hidden LocalWords: GNUN's RTL dir xmlns ar rtl encodings filename css
@c LocalWords: itemx underfull hbox Runtime stylesheet fssbox screenshot svg
@c LocalWords: topbanner Inkscape toplevel pre cronjob GNU's Dlaczego Powinno
@c LocalWords: Oprogramowanie Wolne Fondation Logiciel Libre Deutsch NoDerivs
- trans-coord/gnun/server/gnun ChangeLog GNUmakef...,
Pavel Kharitonov <=