diff --git a/.gitignore b/.gitignore index 9d1810fa..7cfeeac8 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,12 @@ debian-reference.*.xml debian-reference.*.xmlt header.txt packages.bkup.txt +packages.contrib +packages.main +packages.non-free packages.txt pkg.lst tmp +fuzzy.log +po/templates.pot + diff --git a/Makefile b/Makefile index aa43f471..7149aae2 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,10 @@ LANGALL = en $(LANGPO) # Update release name when setting back RELEASE_STATE # from stable -> testing just after stable release +# This is normal RELEASE_STATE := testing + +# this is just before freeze #RELEASE_STATE := stable # TMP_DIR_DR is not mean to be set to generic TMPDIR like /tmp ~/.tmp @@ -59,9 +62,10 @@ MSGATTR := msgattrib MSGCAT := msgcat DBLATEX := dblatex -# Debian packge archive URL +# Debian package archive URL #DEBM := http://ftp.us.debian.org/debian/dists -DEBM := http://ftp.jp.debian.org/debian/dists +#DEBM := http://ftp.jp.debian.org/debian/dists +DEBM := http://deb.debian.org/debian/dists # Debian popcon data source URL UPOPC := http://popcon.debian.org/all-popcon-results.txt.gz # Debian release name and arch used @@ -71,8 +75,6 @@ UDEBA := $(DEBM)/$(CODE) UDEBB := $(DEBM)/experimental DR_VERSION := $(shell dpkg-parsechangelog --show-field Version) -# cached data removed for package related to remotely fetched data -RCACHE := all-popcon-results.txt all-popcon-submissions.txt all-popcon-pkgs.txt packages.txt packages.bkup.txt pkg.lst # AsciiDoc source file names in $(DASC) directories for local update ASC_NM := 00_preface.txt 01_tutorial.txt 02_package.txt \ 03_sysinit.txt 04_auth.txt 05_network.txt 06_netapp.txt \ @@ -81,13 +83,6 @@ ASC_NM := 00_preface.txt 01_tutorial.txt 02_package.txt \ copyright.txt header1.txt header2.txt $(MANUAL).txt # source asciidoc files (local asciidoc conversion script used for stability) SRC_ASC := $(addprefix $(DASC)/, $(ASC_NM)) -# source XML inclusion files (excluding common.ent) -ENT_STAT:= datadatepop.ent datadatesize.ent popcon.ent pkgsize.ent -ENT_ALL := $(ENT_STAT) common.ent -# source PO files for all languages (build prcess requires these) -SRC_PO := $(addsuffix .po, $(addprefix $(DPO)/, $(LANGPO))) -# source XML files for all languages (build prcess requires these) -SRC_XML := $(addsuffix .xml, $(addprefix $(MANUAL)., $(LANGALL))) ####################################################################### # Used as $(call check-command, , ) @@ -97,7 +92,6 @@ set -e; if ! which $(1) >/dev/null; then \ false; \ fi endef - ####################################################################### # $ make all # build all ####################################################################### @@ -113,52 +107,80 @@ all: css html txt epub pdf test: html css ####################################################################### -# $ make publish # build html text from RAWXML/PO for DDP +# Phase 1 build : fetch remote data ####################################################################### -.PHONY: package -# $(PUBLISHDIR) is set to be: /org/www.debian.org/www/doc/manuals for master-www -publish: - -mkdir -p $(PUBLISHDIR)/$(MANUAL) - $(MAKE) css html txt "TMP_DIR_DR=$(PUBLISHDIR)/$(MANUAL)" +# cached data removed for package related to remotely fetched data +REMOTE_DATA := packages.main packages.contrib packages.non-free \ + packages.txt packages.bkup.txt all-popcon-results.txt \ + all-popcon-submissions.txt all-popcon-pkgs.txt pkg.lst +.PHONY: remote +remote: $(REMOTE_DATA) + +packages.main: + # FETCH PACKAGE (sid main) + @$(call check-command, wget, wget) + @$(call check-command, grep-dctrl, dctrl-tools) + wget -O - $(UDEBA)/main/binary-$(ARCH)/Packages.xz | xzcat - > packages.main.tmp + grep-dctrl -e -sPackage,Installed-Size -P "." packages.main.tmp > packages.main + rm packages.main.tmp + +packages.contrib: + # FETCH PACKAGE (sid contrib) + @$(call check-command, wget, wget) + @$(call check-command, grep-dctrl, dctrl-tools) + wget -O - $(UDEBA)/contrib/binary-$(ARCH)/Packages.xz | xzcat - > packages.contrib.tmp + grep-dctrl -e -sPackage,Installed-Size -P "." packages.contrib.tmp > packages.contrib + rm packages.contrib.tmp + +packages.non-free: + # FETCH PACKAGE (sid non-free) + @$(call check-command, wget, wget) + @$(call check-command, grep-dctrl, dctrl-tools) + wget -O - $(UDEBA)/non-free/binary-$(ARCH)/Packages.xz | xzcat - > packages.non-free.tmp + grep-dctrl -e -sPackage,Installed-Size -P "." packages.non-free.tmp > packages.non-free + rm packages.non-free.tmp + +packages.txt: packages.main packages.contrib packages.non-free + # FETCH PACKAGE (sid) + cat packages.main packages.contrib packages.non-free >packages.txt + +packages.bkup.txt: + # FETCH PACKAGE (experimental main) + @$(call check-command, wget, wget) + @$(call check-command, grep-dctrl, dctrl-tools) + wget -O - $(UDEBB)/main/binary-$(ARCH)/Packages.xz | xzcat - > packages.bkup.tmp + grep-dctrl -e -sPackage,Installed-Size -P "." packages.bkup.tmp > packages.bkup.txt + rm packages.bkup.tmp + +all-popcon-results.txt: + # POPCON RESULTS + wget -O - $(UPOPC) | zcat - > all-popcon-results.txt + +all-popcon-submissions.txt: all-popcon-results.txt + sed -n -e 's/^Submissions: *\([^ ]*\) *$$/\1/p' < all-popcon-results.txt >all-popcon-submissions.txt + +all-popcon-pkgs.txt: all-popcon-results.txt + grep --binary-files=text -e '^Package: [a-z0-9][-+a-z0-9.]*[ 0-9]*$$' < all-popcon-results.txt >all-popcon-pkgs.txt ####################################################################### -# $ make clean # clean files ready for tar +# Phase 2 build : package glob replacement script ####################################################################### -.PHONY: clean -clean: - -rm -f *.swp *~ *.tmp - -rm -f $(DPO)/*~ $(DPO)/*.mo $(DPO)/*.po.* - -rm -f $(DASC)/*~ - -rm -rf tmp debian/tmp $(PUBLISHDIR)/$(MANUAL) - -rm -f $(addsuffix .xml, $(addprefix $(MANUAL)., $(LANGALL))) - -rm -f $(MANUAL).en.xml $(MANUAL).en.xmlt header.txt - -rm -f $(RCACHE) + +$(DBIN)/replace_package: packages.txt + # GENERATE $(DBIN)/replace_package (sed script) + echo "# This is autogenerated by Makefile. Update this with \"make rawxml\"" \ + > $(DBIN)/replace_package + $(DBIN)/genreplace emacs >> $(DBIN)/replace_package + $(DBIN)/genreplace libpoppler >> $(DBIN)/replace_package + $(DBIN)/genreplace libgstreamer >> $(DBIN)/replace_package + $(DBIN)/genreplace libphonon >> $(DBIN)/replace_package ####################################################################### -# $ make distclean # clean files to reset RAWXML/ENT/POT +# Phase 3 build : ASCIIDOC -> RAW XML (with @emacs@ etc.) ####################################################################### -.PHONY: distclean -distclean: clean - -rm -f $(MANUAL).raw.xml - -rm -f $(ENT_ALL) - -rm -f $(DPO)/*.pot - -rm -f fuzzy.log -####################################################################### -# $ make rawxml # update RAWXML from ASCIIDOC -####################################################################### -.PHONY: rawxml -rawxml: $(MANUAL).raw.xml - -# This needs to be run under testing/unstable manually -$(MANUAL).raw.xml: $(SRC_ASC) - @$(call check-command, python, python) - @$(call check-command, xmllint, xmllint) - echo "# This is autogenerated by Makefile. Update this with \"make rawxml\"" > $(DBIN)/replace_package - echo "s/@emacs@/$(shell apt-cache search -n '^emacs[0-9]+$$'|cut -d' ' -f1|grep -v -e '-'|sort -n|tail -1)/" >> $(DBIN)/replace_package - echo "s/@libpoppler@/$(shell apt-cache search -n '^libpoppler[0-9]+$$'|cut -d' ' -f1|sort -n|tail -1)/" >> $(DBIN)/replace_package - echo "s/@libgstreamer@/$(shell apt-cache search -n '^libgstreamer[-.0-9]+$$'|cut -d' ' -f1|sort -n|tail -1)/" >> $(DBIN)/replace_package - echo "s/@libphonon@/$(shell apt-cache search -n '^libphonon[-.0-9]+$$'|cut -d' ' -f1|sort -n|tail -1)/" >> $(DBIN)/replace_package +$(MANUAL).raw.xml: $(SRC_ASC) $(DBIN)/replace_package + # BUILD RAWXML from ASCIIDOC $(DBIN)/asciidoc -a 'newline=\n' -o - $(DASC)/$(MANUAL).txt |\ sed -e "/<\/author>/r $(DASC)/copyright.txt" |\ $(XLINT) - |\ @@ -166,19 +188,51 @@ $(MANUAL).raw.xml: $(SRC_ASC) sed -f $(DBIN)/replace > $(MANUAL).raw.xml ####################################################################### -# $ make entity # update ENT and local cache data from RAWXML/REMOTE +# Phase 4 build : RAW XML (with @emacs@ etc.) -> pkg.lst ####################################################################### -# This ensures not to run remote except by manually -$(ENT_STAT): - @echo "******** You are missing ENTITY files *******" - @echo " $(ENT_STAT)" - @echo "*********************************************" - @echo " run \"make entity\"" - @echo "*********************************************" - @false + +pkg.lst: $(MANUAL).raw.xml + @$(call check-command, xsltproc, xsltproc) + # PACKAGE LIST of packages mentioned in the source XML + $(XPNO) $(DXSL)/pkg.xsl $(MANUAL).raw.xml > pkg.lst + +####################################################################### +# Phase 5 build : ENTITY +####################################################################### +# source XML inclusion files (excluding common.ent) +ENT_STAT:= datadatepop.ent datadatesize.ent popcon.ent pkgsize.ent common.ent + +datadatesize.ent: packages.txt packages.main packages.contrib packages.non-free + # GENERATE datesize.ent + echo "" > datadatesize.ent + echo "" >> datadatesize.ent + echo "" >> datadatesize.ent + echo "" >> datadatesize.ent + echo "" >> datadatesize.ent -common.ent: $(MANUAL).raw.xml +datadatepop.ent: + # GENERATE datadatepop.ent + echo "" > datadatepop.ent + +popcon.ent: all-popcon-results.txt all-popcon-pkgs.txt all-popcon-submissions.txt pkg.lst + # GENERATE datadatepop.ent + echo "" > popcon.ent + echo "" >> popcon.ent + echo "" >> popcon.ent + grep -e '^Package:' all-popcon-pkgs.txt | grep -f pkg.lst | $(DBIN)/popconent `cat all-popcon-submissions.txt` >> popcon.ent + +pkgsize.ent: pkg.lst packages.txt packages.bkup.txt + # GENERATE pkgsize.ent + sort pkg.lst | uniq | $(DBIN)/sizeent packages.txt packages.bkup.txt > pkgsize.ent + + # POPCON + wget -O - $(UPOPC) | zcat - > all-popcon-results.txt + sed -n -e 's/^Submissions: *\([^ ]*\) *$$/\1/p' < all-popcon-results.txt >all-popcon-submissions.txt + grep --binary-files=text -e '^Package: [a-z0-9][-+a-z0-9.]*[ 0-9]*$$' < all-popcon-results.txt >all-popcon-pkgs.txt + +common.ent: + # GENERATE common.ent # Release for package match with actual situation echo "" > common.ent echo "" >> common.ent @@ -203,50 +257,62 @@ endif echo "" >> common.ent echo "" >> common.ent +####################################################################### +# Phase pre-6 pre-build : when updating English asciidoc, run this and commit it +####################################################################### .PHONY: entity -entity: rawxml - @$(call check-command, wget, wget) - @$(call check-command, xsltproc, xsltproc) - @$(call check-command, grep-dctrl, dctrl-tools) - # PACKAGE (sid) - wget -O - $(UDEBA)/main/binary-$(ARCH)/Packages.xz | xzcat - > packages.main.tmp - grep-dctrl -e -sPackage,Installed-Size -P "." packages.main.tmp > packages.main - rm packages.main.tmp - wget -O - $(UDEBA)/contrib/binary-$(ARCH)/Packages.xz | xzcat - > packages.contrib.tmp - grep-dctrl -e -sPackage,Installed-Size -P "." packages.contrib.tmp > packages.contrib - rm packages.contrib.tmp - wget -O - $(UDEBA)/non-free/binary-$(ARCH)/Packages.xz | xzcat - > packages.non-free.tmp - grep-dctrl -e -sPackage,Installed-Size -P "." packages.non-free.tmp > packages.non-free - rm packages.non-free.tmp - cat packages.main packages.contrib packages.non-free >packages.txt - # - echo "" > datadatesize.ent - echo "" >> datadatesize.ent - echo "" >> datadatesize.ent - echo "" >> datadatesize.ent - echo "" >> datadatesize.ent - rm packages.main packages.contrib packages.non-free - # PACKAGE (experimental) - wget -O - $(UDEBB)/main/binary-$(ARCH)/Packages.xz | xzcat - > packages.bkup.tmp - grep-dctrl -e -sPackage,Installed-Size -P "." packages.bkup.tmp > packages.bkup.txt - rm packages.bkup.tmp - # PACKAGE LIST of packages mentioned in the source XML - $(XPNO) $(DXSL)/pkg.xsl $(MANUAL).raw.xml > pkg.lst - # ENT for package size - sort pkg.lst | uniq | $(DBIN)/sizeent packages.txt packages.bkup.txt > pkgsize.ent - # POPCON - wget -O - $(UPOPC) | zcat - > all-popcon-results.txt - sed -n -e 's/^Submissions: *\([^ ]*\) *$$/\1/p' < all-popcon-results.txt >all-popcon-submissions.txt - grep --binary-files=text -e '^Package: [a-z0-9][-+a-z0-9.]*[ 0-9]*$$' < all-popcon-results.txt >all-popcon-pkgs.txt - echo "" > datadatepop.ent - echo "" > popcon.ent - echo "" >> popcon.ent - echo "" >> popcon.ent - grep -e '^Package:' all-popcon-pkgs.txt | grep -f pkg.lst | $(DBIN)/popconent `cat all-popcon-submissions.txt` >> popcon.ent +entity: + $(MAKE) distclean + $(MAKE) $(ENT_STAT) + $(MAKE) clean + # PLEASE MAKE SURE TO COMMIT TO VCS ####################################################################### -# $ make po # update all PO from RAWXML +# Phase 6 build : XML ENGLISH (with template XML) -- NORMAL BUILD ####################################################################### + +# Update URL list header from $(MANUAL).raw.xml +header.txt: $(DASC)/header1.txt $(DASC)/header2.txt + # SANITY CHECK + [ -f $(MANUAL).raw.xml ] + # GENERATE header.txt + cat $(DASC)/header1.txt > header.txt + $(XPNO) $(DXSL)/urls.xsl $(MANUAL).raw.xml | sort | uniq |\ + sed -e "s/&/\&/g" >> header.txt + cat $(DASC)/header2.txt >> header.txt + +# Replace table contents with @-@popcon*@-@ and @@@psize*@-@ and +# fix URL referencees and table ID. +$(MANUAL).en.xml: header.txt + # SANITY CHECK + [ -f $(MANUAL).raw.xml ] + # GENERATE $(MANUAL).en.xml + @$(call check-command, xsltproc, xsltproc) + # use asciidoc generated xml file as main contents + $(XPNO) $(DXSL)/table.xsl $(MANUAL).raw.xml |\ + $(DBIN)/colspec.py |\ + sed -e '/ $@ + +# Replace table contents with dummy text and +# fix URL referencees and table ID as the template for translation. +# This avoids bloated PO/POT files. (tablet.xsl used insted of table.xsl) +$(MANUAL).en.xmlt: header.txt + # SANITY CHECK + [ -f $(MANUAL).raw.xml ] + # GENERATE $(MANUAL).en.xmlt (TEMPLATE to avoid bloated PO/POT files) + @$(call check-command, xsltproc, xsltproc) + # use asciidoc generated xml file as main contents + $(XPNO) $(DXSL)/tablet.xsl $(MANUAL).raw.xml |\ + $(DBIN)/colspec.py |\ + sed -e '/ $@ + +####################################################################### +# Phase 7 build : POT/PO/XML non-ENGLISH (with template XML) +####################################################################### +# source PO files for all languages (build prcess requires these) +SRC_PO := $(addsuffix .po, $(addprefix $(DPO)/, $(LANGPO))) .PHONY: po pot pot: $(DPO)/templates.pot po: $(SRC_PO) @@ -277,67 +343,21 @@ $(DPO)/%.po: $(DPO)/templates.pot FORCE FORCE: -####################################################################### -# $ make wrap # wrap all PO -####################################################################### -.PHONY: wrap nowrap wip -wrap: - @$(call check-command, msgcat, gettext) - for XX in $(foreach LX, $(LANGPO), $(DPO)/$(LX).po); do \ - $(MSGCAT) -o $$XX $$XX ;\ - done -nowrap: - @$(call check-command, msgcat, gettext) - for XX in $(foreach LX, $(LANGPO), $(DPO)/$(LX).po); do \ - $(MSGCAT) -o $$XX --no-wrap $$XX ;\ - done - -wip: - @$(call check-command, msgattrib, gettext) - for XX in $(foreach LX, $(LANGPO), $(DPO)/$(LX).po); do \ - $(MSGATTR) -o $$XX.fuzz --fuzzy $$XX ;\ - $(MSGATTR) -o $$XX.untr --untranslated $$XX ;\ - done - -####################################################################### -# $ make xml # update all *.XML from RAWXML/ENT/PO/ADD -####################################################################### +# source XML files for all languages (build prcess requires these) +SRC_XML := $(addsuffix .xml, $(addprefix $(MANUAL)., $(LANGALL))) .PHONY: xml xml: $(SRC_XML) -# Update URL list header from $(MANUAL).raw.xml -header.txt: $(DASC)/header1.txt $(MANUAL).raw.xml $(DASC)/header2.txt - cat $(DASC)/header1.txt > header.txt - $(XPNO) $(DXSL)/urls.xsl $(MANUAL).raw.xml | sort | uniq |\ - sed -e "s/&/\&/g" >> header.txt - cat $(DASC)/header2.txt >> header.txt - -# Replace table contents with @-@popcon*@-@ and @@@psize*@-@ and -# fix URL referencees and table ID. -$(MANUAL).en.xml: $(MANUAL).raw.xml header.txt common.ent - @$(call check-command, xsltproc, xsltproc) - # use asciidoc generated xml file as main contents - $(XPNO) $(DXSL)/table.xsl $(MANUAL).raw.xml |\ - $(DBIN)/colspec.py |\ - sed -e '/ $@ - -# Replace table contents with dummy text and -# fix URL referencees and table ID as the template for translation. -# This avoids bloated PO/POT files. (tablet.xsl used insted of table.xsl) -$(MANUAL).en.xmlt: $(MANUAL).raw.xml header.txt - @$(call check-command, xsltproc, xsltproc) - # use asciidoc generated xml file as main contents - $(XPNO) $(DXSL)/tablet.xsl $(MANUAL).raw.xml |\ - $(DBIN)/colspec.py |\ - sed -e '/ $@ - $(MANUAL).%.xml: $(DPO)/%.po $(MANUAL).en.xml @$(call check-command, po4a-translate, po4a) @$(call check-command, msgcat, gettext) $(DBIN)/genxml $* + +####################################################################### +# Phase 8 build : Formatted conversion from XML +####################################################################### + ####################################################################### # $ make css # update CSS and DIMG in $(TMP_DIR_DR) ####################################################################### @@ -357,7 +377,7 @@ css: .PHONY: html html: $(foreach LX, $(LANGALL), $(TMP_DIR_DR)/index.$(LX).html) -$(TMP_DIR_DR)/index.%.html: $(MANUAL).%.xml $(ENT_ALL) +$(TMP_DIR_DR)/index.%.html: $(MANUAL).%.xml @$(call check-command, xsltproc, xsltproc) -mkdir -p $(TMP_DIR_DR) $(XPINC) --stringparam base.dir $(TMP_DIR_DR)/ \ @@ -371,7 +391,7 @@ $(TMP_DIR_DR)/index.%.html: $(MANUAL).%.xml $(ENT_ALL) txt: $(foreach LX, $(LANGALL), $(TMP_DIR_DR)/$(MANUAL).$(LX).txt.gz) # style-txt.xsl provides work around for hidden URL links by appending them explicitly. -$(TMP_DIR_DR)/$(MANUAL).%.txt.gz: $(MANUAL).%.xml $(ENT_ALL) +$(TMP_DIR_DR)/$(MANUAL).%.txt.gz: $(MANUAL).%.xml @$(call check-command, w3m, w3m) @$(call check-command, xsltproc, xsltproc) -mkdir -p $(TMP_DIR_DR) @@ -380,7 +400,6 @@ $(TMP_DIR_DR)/$(MANUAL).%.txt.gz: $(MANUAL).%.xml $(ENT_ALL) w3m -o display_charset=UTF-8 -cols 70 -dump -no-graph -T text/html | \ gzip -n -9 - > $@ - ####################################################################### # $ make pdf # update all PDF in $(TMP_DIR_DR) ####################################################################### @@ -399,7 +418,7 @@ $(foreach LX, $(NOPDF), $(TMP_DIR_DR)/$(MANUAL).$(LX).pdf): $(TMP_DIR_DR)/nopdf. cp $(TMP_DIR_DR)/nopdf.pdf $@ # dblatex.xsl provide work around for hidden URL links by appending them explicitly. -$(TMP_DIR_DR)/$(MANUAL).%.pdf: $(MANUAL).%.xml $(ENT_ALL) +$(TMP_DIR_DR)/$(MANUAL).%.pdf: $(MANUAL).%.xml @$(call check-command, dblatex, dblatex) @$(call check-command, xsltproc, xsltproc) -mkdir -p $(CURDIR)/tmp @@ -423,7 +442,7 @@ $(TMP_DIR_DR)/$(MANUAL).%.pdf: $(MANUAL).%.xml $(ENT_ALL) tex: $(foreach LX, $(LANGALL), $(TMP_DIR_DR)/$(MANUAL).$(LX).tex) # dblatex.xsl provide work around for hidden URL links by appending them explicitly. -$(TMP_DIR_DR)/$(MANUAL).%.tex: $(MANUAL).%.xml $(ENT_ALL) +$(TMP_DIR_DR)/$(MANUAL).%.tex: $(MANUAL).%.xml -mkdir -p $(CURDIR)/tmp @test -n "`which $(DBLATEX)`" || { echo "ERROR: dblatex not found. Please install the dblatex package." ; false ; } export TEXINPUTS=".:"; \ @@ -445,7 +464,7 @@ $(TMP_DIR_DR)/$(MANUAL).%.tex: $(MANUAL).%.xml $(ENT_ALL) .PHONY: epub epub: $(foreach LX, $(LANGALL), $(TMP_DIR_DR)/$(MANUAL).$(LX).epub) -$(TMP_DIR_DR)/$(MANUAL).%.epub: $(MANUAL).%.xml $(ENT_ALL) +$(TMP_DIR_DR)/$(MANUAL).%.epub: $(MANUAL).%.xml @$(call check-command, xsltproc, xsltproc) -mkdir -p $(TMP_DIR_DR)/$*/ cd $(TMP_DIR_DR)/$*/ ; $(XPINC) $(CURDIR)/$(DXSL)/style-epub.xsl $(CURDIR)/$< @@ -454,9 +473,61 @@ $(TMP_DIR_DR)/$(MANUAL).%.epub: $(MANUAL).%.xml $(ENT_ALL) cp -f $(DXSL)/debian-openlogo.png $(TMP_DIR_DR)/$*/OEBPS/debian-openlogo.png cd $(TMP_DIR_DR)/$*/ ; zip -r $@ ./ +####################################################################### +# Phase 9 post/pre build: clean and distclean +####################################################################### +####################################################################### +# $ make clean # clean files ready for tar +####################################################################### +.PHONY: clean +clean: + # CLEAN + -rm -f *.swp *~ *.tmp + -rm -f $(DPO)/*~ $(DPO)/*.mo $(DPO)/*.po.* + -rm -f $(DASC)/*~ + -rm -rf tmp debian/tmp $(PUBLISHDIR)/$(MANUAL) + -rm -f $(addsuffix .xml, $(addprefix $(MANUAL)., $(LANGALL))) + -rm -f $(MANUAL).en.xml $(MANUAL).en.xmlt header.txt + -rm -f $(REMOTE_DATA) + +####################################################################### +# $ make distclean # clean files to reset RAWXML/ENT/POT +####################################################################### +.PHONY: distclean +distclean: clean + # DISTCLEAN + -rm -f $(MANUAL).raw.xml + -rm -f $(ENT_STAT) + -rm -f $(DPO)/*.pot + -rm -f fuzzy.log + -rm -f $(DBIN)/replace_package + ####################################################################### ### Utility targets ####################################################################### + +####################################################################### +# $ make wrap # wrap all PO +####################################################################### +.PHONY: wrap nowrap wip +wrap: + @$(call check-command, msgcat, gettext) + for XX in $(foreach LX, $(LANGPO), $(DPO)/$(LX).po); do \ + $(MSGCAT) -o $$XX $$XX ;\ + done +nowrap: + @$(call check-command, msgcat, gettext) + for XX in $(foreach LX, $(LANGPO), $(DPO)/$(LX).po); do \ + $(MSGCAT) -o $$XX --no-wrap $$XX ;\ + done + +wip: + @$(call check-command, msgattrib, gettext) + for XX in $(foreach LX, $(LANGPO), $(DPO)/$(LX).po); do \ + $(MSGATTR) -o $$XX.fuzz --fuzzy $$XX ;\ + $(MSGATTR) -o $$XX.untr --untranslated $$XX ;\ + done + ####################################################################### # $ make rsync # export build result to http://people.debian.org/~osamu/debian-reference/ diff --git a/asciidoc/01_tutorial.txt b/asciidoc/01_tutorial.txt index 138033ff..b098dd55 100644 --- a/asciidoc/01_tutorial.txt +++ b/asciidoc/01_tutorial.txt @@ -930,7 +930,7 @@ The center wheel on the modern wheel mouse is considered middle mouse button and ==== The pager -The `less`(1) command is the enhanced pager (file content browser). It reads the file specified by its command argument or its standard input. Hit "`h`" if you need help while browsing with the `less` command. It can do much more than `more`(1) and can be supercharged by executing "`eval $(lesspipe)`" or "`eval $(lessfile)`" in the shell startup script. See more in "`/usr/share/doc/lessf/LESSOPEN`". The "`-R`" option allows raw character output and enables ANSI color escape sequences. See `less`(1). +The `less`(1) command is the enhanced pager (file content browser). It reads the file specified by its command argument or its standard input. Hit "`h`" if you need help while browsing with the `less` command. It can do much more than `more`(1) and can be supercharged by executing "`eval $(lesspipe)`" or "`eval $(lessfile)`" in the shell startup script. See more in "`/usr/share/doc/less/LESSOPEN`". The "`-R`" option allows raw character output and enables ANSI color escape sequences. See `less`(1). ==== The text editor diff --git a/asciidoc/06_netapp.txt b/asciidoc/06_netapp.txt index ab2a126f..6f575e8f 100644 --- a/asciidoc/06_netapp.txt +++ b/asciidoc/06_netapp.txt @@ -47,7 +47,6 @@ Debian offers many free browser plugin packages in the main archive area which c package popcon size area description ------------------------------------------------------------------------------------------------------------------------------------------ `icedtea-plugin` @-@popcon1@-@ @-@psize1@-@ main Java plugin based on OpenJDK and IcedTea -`mozilla-plugin-gnash` @-@popcon1@-@ @-@psize1@-@ main Flash plugin based on Gnash `flashplugin-nonfree` @-@popcon1@-@ @-@psize1@-@ contrib Flash plugin helper to install Adobe Flash Player (i386, amd64 only) `browser-plugin-vlc` @-@popcon1@-@ @-@psize1@-@ main Multimedia plugin based on https://en.wikipedia.org/wiki/VLC_media_player[VLC media player] ------------------------------------------------------------------------------------------------------------------------------------------ diff --git a/asciidoc/07_xwindow.txt b/asciidoc/07_xwindow.txt index 61751b4d..344522da 100644 --- a/asciidoc/07_xwindow.txt +++ b/asciidoc/07_xwindow.txt @@ -22,7 +22,6 @@ There are a few (meta)packages provided to ease installation. `x11-common` @-@popcon1@-@ @-@psize1@-@ filesystem infrastructure for the X Window System `xorg-docs` @-@popcon1@-@ @-@psize1@-@ miscellaneous documentation for the X.Org software suite `menu` @-@popcon1@-@ @-@psize1@-@ generate the Debian menu for all menu-aware applications -`gksu` @-@popcon1@-@ @-@psize1@-@ Gtk+ frontend to `su`(1) or `sudo`(8) `menu-xdg` @-@popcon1@-@ @-@psize1@-@ convert the Debian menu structure to the https://en.wikipedia.org/wiki/Freedesktop.org[freedesktop.org] xdg menu structure `xdg-utils` @-@popcon1@-@ @-@psize1@-@ utilities to integrate desktop environment provided by the https://en.wikipedia.org/wiki/Freedesktop.org[freedesktop.org] `task-gnome-desktop` @-@popcon1@-@ @-@psize1@-@ standard https://en.wikipedia.org/wiki/GNOME[GNOME] desktop environment (metapackage) @@ -450,10 +449,6 @@ $ sudo -s # foo & -------------------- --------------------- -$ gksu foo & --------------------- - -------------------- $ ssh -X root@localhost # foo & @@ -466,5 +461,3 @@ In order for the X client to connect to the X server, please note the following. - Values of the old user@@@sq@@@s "`$XAUTHORITY`" and "`$DISPLAY`" environment variables must be copied to the new user@@@sq@@@s ones. - The file pointed by value of the "`$XAUTHORITY`" environment variable must be readable by the new user. -The `gksu` package (popcon: @-@pop-gksu@-@) is a specialized GTK+ GUI package for gaining the root privileges. It can be configured to use `su`(1) or `sudo`(8) as its backend depending on the "`/apps/gksu/sudo-mode`" gconf key. You can edit gconf key using `gconf-editor`(1) (menu: "Applications" -> "System Tools" -> "Configuration Editor"). - diff --git a/asciidoc/09_systips.txt b/asciidoc/09_systips.txt index d684bf0f..8b8c6e27 100644 --- a/asciidoc/09_systips.txt +++ b/asciidoc/09_systips.txt @@ -916,7 +916,7 @@ package popcon size description `jfsutils` @-@popcon1@-@ @-@psize1@-@ utilities for the https://en.wikipedia.org/wiki/JFS_(file_system)[JFS] filesystem. (IBM: AIX, OS/2) `reiser4progs` @-@popcon1@-@ @-@psize1@-@ utilities for the https://en.wikipedia.org/wiki/Reiser4[Reiser4] filesystem `hfsprogs` @-@popcon1@-@ @-@psize1@-@ utilities for https://en.wikipedia.org/wiki/Hierarchical_File_System[HFS] and https://en.wikipedia.org/wiki/HFS_Plus[HFS Plus] filesystem. (Apple: Mac OS) -`btrfs-tools` @-@popcon1@-@ @-@psize1@-@ utilities for the https://en.wikipedia.org/wiki/Btrfs[Btrfs] filesystem +`btrfs-progs` @-@popcon1@-@ @-@psize1@-@ utilities for the https://en.wikipedia.org/wiki/Btrfs[Btrfs] filesystem `zerofree` @-@popcon1@-@ @-@psize1@-@ program to zero free blocks from ext2/3/4 filesystems ------------------------------------------------------------------------------------------------------------------------------------------ diff --git a/asciidoc/10_datamngt.txt b/asciidoc/10_datamngt.txt index a7866fec..cd3ea6e9 100644 --- a/asciidoc/10_datamngt.txt +++ b/asciidoc/10_datamngt.txt @@ -783,7 +783,9 @@ VCS is sometimes known as revision control system (RCS), or software configurati Distributed VCS such as Git is the tool of choice these days. CVS and Subversion may still be useful to join some existing open source program activities. -Debian provides free VCS services via https://salsa.debian.org/[Debian Salsa service]. It supports practically all VCSs. Its documentation can be found at https://wiki.debian.org/Salsa . +Debian provides free Git services via https://salsa.debian.org/[Debian Salsa service]. Its documentation can be found at https://wiki.debian.org/Salsa . + +CAUTION: Debian has closed its old alioth services and the old alioth service data are available at https://alioth-archive.debian.org/[alioth-archive] as tarballs. There are few basics for creating a shared access VCS archive. diff --git a/asciidoc/11_dataconv.txt b/asciidoc/11_dataconv.txt index c6345c0c..6e062062 100644 --- a/asciidoc/11_dataconv.txt +++ b/asciidoc/11_dataconv.txt @@ -547,7 +547,6 @@ package popcon size keyword description `mpack` @-@popcon1@-@ @-@psize1@-@ MIME encoding and decoding of https://en.wikipedia.org/wiki/MIME[MIME] messages: `mpack`(1) and `munpack`(1) `tnef` @-@popcon1@-@ @-@psize1@-@ ms-tnef unpacking https://en.wikipedia.org/wiki/MIME[MIME] attachments of type "application/ms-tnef" which is a Microsoft only format `uudeview` @-@popcon1@-@ @-@psize1@-@ mail encoder and decoder for the following formats: https://en.wikipedia.org/wiki/Uuencoding[uuencode], https://en.wikipedia.org/wiki/Xxencode[xxencode], https://en.wikipedia.org/wiki/Base64[BASE64], https://en.wikipedia.org/wiki/Quoted-printable[quoted printable], and https://en.wikipedia.org/wiki/BinHex[BinHex] -`readpst` @-@popcon1@-@ @-@psize1@-@ PST convert Microsoft https://en.wikipedia.org/wiki/Personal_Folders_(.pst)_file[Outlook PST files] to https://en.wikipedia.org/wiki/Mbox[mbox] format ------------------------------------------------------------------------------------------------------------------------------------------ TIP: The https://en.wikipedia.org/wiki/Internet_Message_Access_Protocol[Internet Message Access Protocol] version 4 (IMAP4) server (see <<_pop3_imap4_server>>) may be used to move mails out from proprietary mail systems if the mail client software can be configured to use IMAP4 server too. diff --git a/asciidoc/12_program.txt b/asciidoc/12_program.txt index cb2aa3e3..b1e5c637 100644 --- a/asciidoc/12_program.txt +++ b/asciidoc/12_program.txt @@ -577,7 +577,6 @@ package popcon size description ------------------------------------------------------------------------------------------------- `libc6-dev` @-@popcon1@-@ @-@psize1@-@ `mtrace`(1): malloc debugging functionality in glibc `valgrind` @-@popcon1@-@ @-@psize1@-@ memory debugger and profiler -`kmtrace` @-@popcon1@-@ @-@psize1@-@ KDE memory leak tracer using glibc@@@sq@@@s `mtrace`(1) `electric-fence` @-@popcon1@-@ @-@psize1@-@ `malloc`(3) debugger `leaktracer` @-@popcon1@-@ @-@psize1@-@ memory-leak tracer for C++ programs `libdmalloc5` @-@popcon1@-@ @-@psize1@-@ debug memory allocation library diff --git a/bin/genreplace b/bin/genreplace new file mode 100755 index 00000000..297889f1 --- /dev/null +++ b/bin/genreplace @@ -0,0 +1,17 @@ +#! /bin/sh -e +# vim: set sts=4 expandtab: +PKG_GEN=$1 +PKG_VER=$(grep -e "^Package:" packages.txt |\ + sed -e "s/Package: //" |\ + grep -e "^${PKG_GEN}[-\.0-9]*[0-9]\$"|\ + sort -n|\ + tail -1) +if [ -n "${PKG_VER}" ]; then + echo "s/@${PKG_GEN}@/${PKG_VER}/g" +else + echo "s/@${PKG_GEN}@/${PKG_GEN}*/g" + echo "*** ${PKG_GEN} is missing ***" >&2 + grep -e "^Package:" packages.txt |\ + sed -e "s/Package: //" |\ + grep -e "^${PKG_GEN}[-\.0-9]*[0-9]\$" <&2 +fi diff --git a/bin/replace_package b/bin/replace_package index ed338342..df441db6 100644 --- a/bin/replace_package +++ b/bin/replace_package @@ -1,5 +1,5 @@ # This is autogenerated by Makefile. Update this with "make rawxml" -s/@emacs@/emacs25/ -s/@libpoppler@/libpoppler73/ -s/@libgstreamer@/libgstreamer1.0-0/ -s/@libphonon@/libphonon4/ +s/@emacs@/emacs25/g +s/@libpoppler@/libpoppler74/g +s/@libgstreamer@/libgstreamer1.0-0/g +s/@libphonon@/libphonon4/g diff --git a/common.ent b/common.ent new file mode 100644 index 00000000..52e1c10f --- /dev/null +++ b/common.ent @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/datadatepop.ent b/datadatepop.ent index 2393cafc..c4522b4d 100644 --- a/datadatepop.ent +++ b/datadatepop.ent @@ -1 +1 @@ - + diff --git a/datadatesize.ent b/datadatesize.ent index 659b943a..0983aa10 100644 --- a/datadatesize.ent +++ b/datadatesize.ent @@ -1,5 +1,5 @@ - - - - - + + + + + diff --git a/debian-reference.raw.xml b/debian-reference.raw.xml index d056dcba..72e63b29 100644 --- a/debian-reference.raw.xml +++ b/debian-reference.raw.xml @@ -2515,7 +2515,7 @@ export EDITOR
The pager - The less1 command is the enhanced pager (file content browser). It reads the file specified by its command argument or its standard input. Hit "h" if you need help while browsing with the less command. It can do much more than more1 and can be supercharged by executing "eval $(lesspipe)" or "eval $(lessfile)" in the shell startup script. See more in "/usr/share/doc/lessf/LESSOPEN". The "-R" option allows raw character output and enables ANSI color escape sequences. See less1. + The less1 command is the enhanced pager (file content browser). It reads the file specified by its command argument or its standard input. Hit "h" if you need help while browsing with the less command. It can do much more than more1 and can be supercharged by executing "eval $(lesspipe)" or "eval $(lessfile)" in the shell startup script. See more in "/usr/share/doc/less/LESSOPEN". The "-R" option allows raw character output and enables ANSI color escape sequences. See less1.
The text editor @@ -15300,23 +15300,6 @@ MSS = MTU - 60 for IPv6 Java plugin based on OpenJDK and IcedTea - - - - - mozilla-plugin-gnash - - - @-@popcon1@-@ - - - @-@psize1@-@ - - - main - - - Flash plugin based on Gnash @@ -18339,20 +18322,6 @@ Identity added: /home/<username>/.ssh/id_rsa (/home/<username>/.ssh/ generate the Debian menu for all menu-aware applications - - - - - gksu - - - @-@popcon1@-@ - - - @-@psize1@-@ - - - Gtk+ frontend to su1 or sudo8 @@ -20280,7 +20249,6 @@ To get the keycode, run $ sudo foo & $ sudo -s # foo & - $ gksu foo & $ ssh -X root@localhost # foo & @@ -20299,7 +20267,6 @@ The file pointed by value of the "$XAUTHORITY" environment va - The gksu package (popcon: @-@pop-gksu@-@) is a specialized GTK+ GUI package for gaining the root privileges. It can be configured to use su1 or sudo8 as its backend depending on the "/apps/gksu/sudo-mode" gconf key. You can edit gconf key using gconf-editor1 (menu: "Applications" → "System Tools" → "Configuration Editor").
@@ -23713,7 +23680,7 @@ the userspace LVM2 tools (lvm2 package) - btrfs-tools + btrfs-progs @-@popcon1@-@ @@ -28878,7 +28845,10 @@ $ patch -p1 file < file.patch1 VCS is sometimes known as revision control system (RCS), or software configuration management (SCM). Distributed VCS such as Git is the tool of choice these days. CVS and Subversion may still be useful to join some existing open source program activities. - Debian provides free VCS services via Debian Salsa service. It supports practically all VCSs. Its documentation can be found at https://wiki.debian.org/Salsa . + Debian provides free Git services via Debian Salsa service. Its documentation can be found at https://wiki.debian.org/Salsa . + + Debian has closed its old alioth services and the old alioth service data are available at alioth-archive as tarballs. + There are few basics for creating a shared access VCS archive. @@ -32010,7 +31980,7 @@ The TEX Live Guide - TEX Live 2007 ("/usr/share/doc/texlive-doc-base/en - libpoppler73 + libpoppler74 @-@popcon1@-@ @@ -32464,23 +32434,6 @@ $ gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=bla.pdf -f foo1.pdf foo encoder and decoder for the following formats: uuencode, xxencode, BASE64, quoted printable, and BinHex - - - - - readpst - - - @-@popcon1@-@ - - - @-@psize1@-@ - - - PST - - - convert Microsoft Outlook PST files to mbox format @@ -35166,20 +35119,6 @@ Type "bt" at the gdb prompt. memory debugger and profiler - - - - - kmtrace - - - @-@popcon1@-@ - - - @-@psize1@-@ - - - KDE memory leak tracer using glibc's mtrace1 diff --git a/debian/changelog b/debian/changelog index 3b8b1068..26a190f1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,9 +1,12 @@ -debian-reference (2.73) UNRELEASED; urgency=medium +debian-reference (2.73) unstable; urgency=medium * Adjust symlink for README.md.gz . Closes: #893479 + * Fix typo. Closes: #897666 + * Adjust popcon graph URL to new location. + * More robust package name substitution for versioned packages. * Update translations. - -- Osamu Aoki Mon, 19 Mar 2018 22:41:38 +0900 + -- Osamu Aoki Mon, 02 Jul 2018 00:52:17 +0900 debian-reference (2.72) unstable; urgency=medium diff --git a/debian/rules b/debian/rules index 2fba5087..ac491557 100755 --- a/debian/rules +++ b/debian/rules @@ -19,8 +19,8 @@ MANUAL := debian-reference LANGALL := en ja fr it pt de zh-cn zh-tw es LANGPO := ja fr it pt de zh-cn zh-tw es # languages to skip generation of PDF files (not used now) -NOPDF := zh-cn zh-tw -#NOPDF := +#NOPDF := zh-cn zh-tw +NOPDF := ## ---------------------------------------------------------------------- ## Targets diff --git a/pkgsize.ent b/pkgsize.ent index 32ac8269..3d4cdd1a 100644 --- a/pkgsize.ent +++ b/pkgsize.ent @@ -6,17 +6,17 @@ - - - - + + + + - + - + @@ -24,10 +24,10 @@ - - - - + + + + @@ -35,50 +35,50 @@ - + - + - - + + - - + + - - + + - + - + - + - + - - + + - - - + + + - - + + - - + + @@ -89,45 +89,45 @@ - + - + - - + + - + - + - - - + + + - + - + - + - + - + @@ -135,45 +135,45 @@ - + - - - + + + - - + + - + - + - + - - + + - - + + - - - - - - + + + + + + @@ -186,68 +186,66 @@ - - + + - - + + - + - - + + - + - - - + + + - - - - - - - - + + + + + + + + - - + - + - - + + - - + + - - + + - + @@ -256,13 +254,13 @@ - - + + - + - + @@ -271,8 +269,8 @@ - - + + @@ -285,36 +283,36 @@ - + - - + + - + - + - + - - - - + + + + @@ -322,62 +320,61 @@ - + - - + - - + + - + - + - + - + - + - - - - - - - - - - - + + + + + + + + + + + - + - - + + @@ -392,9 +389,9 @@ - + - + @@ -402,42 +399,41 @@ - - + + - - + + - - - - + + + - - - - + + + + - + - - + + - - + + @@ -450,79 +446,78 @@ - - + + - + - + - + - + - + - + - + - - + + - + - - + + - + - - + + - - - - - - + + + + + + - - + - + - - + + - - - + + + @@ -540,7 +535,7 @@ - + @@ -550,7 +545,7 @@ - + @@ -558,104 +553,104 @@ - + - - - - + + + + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - + + + + + - - + + - - - + + + - + - - + + - + - + @@ -663,12 +658,12 @@ - + - + @@ -677,7 +672,7 @@ - + @@ -686,4 +681,4 @@ - + diff --git a/po/de.po b/po/de.po index 7599ed5a..b29d4816 100644 --- a/po/de.po +++ b/po/de.po @@ -8070,7 +8070,7 @@ msgid "" "more1 and can be supercharged by executing \"eval " "$(lesspipe)\" or \"eval $(lessfile)\" in the " -"shell startup script. See more in \"/usr/share/doc/lessf/LESSOPEN/usr/share/doc/less/LESSOPEN\". The \"-R\" option allows raw character " "output and enables ANSI color escape sequences. See " "less11 und kann sogar noch " "weiter aufgebohrt werden, indem \"eval $(lesspipe)\" oder " "\"eval $(lessfile)\" im Shell-Startskript ausgeführt " -"wird. Weiteres dazu finden Sie in \"/usr/share/doc/lessf/LESSOPEN/usr/share/doc/less/LESSOPEN\". Die Option \"-R\" erlaubt die Ausgabe von " "Rohformat-Zeichen und aktiviert ANSI-Color-Escape-Sequenzen. Lesen Sie dazu " "less1more1 and can be supercharged by executing \"eval " "$(lesspipe)\" or \"eval $(lessfile)\" in the " -"shell startup script. See more in \"/usr/share/doc/lessf/LESSOPEN/usr/share/doc/less/LESSOPEN\". The \"-R\" option allows raw character " "output and enables ANSI color escape sequences. See " "less1more1 y puede ser mejorado ejecutando «eval $(lesspipe)» o «eval $(lessfile)» en el archivo de órdenes " -"de inicio. Consulte «/usr/share/doc/lessf/LESSOPEN». La " +"de inicio. Consulte «/usr/share/doc/less/LESSOPEN». La " "opción «-R» permite la salida en crudo y permite las " "secuencias de escape ANSI coloreadas. Consulte " "less1more1 and can be supercharged by executing \"eval " "$(lesspipe)\" or \"eval $(lessfile)\" in the " -"shell startup script. See more in \"/usr/share/doc/lessf/LESSOPEN/usr/share/doc/less/LESSOPEN\". The \"-R\" option allows raw character " "output and enables ANSI color escape sequences. See " "less1more1 and can be supercharged by executing \"eval " "$(lesspipe)\" or \"eval $(lessfile)\" in the " -"shell startup script. See more in \"/usr/share/doc/lessf/LESSOPEN/usr/share/doc/less/LESSOPEN\". The \"-R\" option allows raw character " "output and enables ANSI color escape sequences. See " "less1 » ou « eval $(lessfile) » dans le script de démarrage de l’interpréteur de commandes. " "Vous trouverez davantage d’informations dans « /usr/share/doc/" -"lessf/LESSOPEN ». L’option « -R ». L’option « -R » permet la sortie en mode caractères bruts et permet les " "séquences d’échappement de couleurs ANSI. Consultez " "less1more1 and can be supercharged by executing \"eval " "$(lesspipe)\" or \"eval $(lessfile)\" in the " -"shell startup script. See more in \"/usr/share/doc/lessf/LESSOPEN/usr/share/doc/less/LESSOPEN\". The \"-R\" option allows raw character " "output and enables ANSI color escape sequences. See " "less1more1 and can be supercharged by executing \"eval " "$(lesspipe)\" or \"eval $(lessfile)\" in the " -"shell startup script. See more in \"/usr/share/doc/lessf/LESSOPEN/usr/share/doc/less/LESSOPEN\". The \"-R\" option allows raw character " "output and enables ANSI color escape sequences. See " "less1 e può essere fornito di superpoteri eseguendo " "\"eval $(lesspipe)\" o \"eval $(lessfile)\" nello script di avvio della shell. Vedere ulteriori informazioni " -"in \"/usr/share/doc/lessf/LESSOPEN\". L'opzione " +"in \"/usr/share/doc/less/LESSOPEN\". L'opzione " "\"-R\" permette output raw e abilita le sequenze di " "escape ANSI per i colori. Vedere less1." diff --git a/po/ja.po b/po/ja.po index 2b13679d..7398a99b 100644 --- a/po/ja.po +++ b/po/ja.po @@ -7914,7 +7914,7 @@ msgid "" "more1 and can be supercharged by executing \"eval " "$(lesspipe)\" or \"eval $(lessfile)\" in the " -"shell startup script. See more in \"/usr/share/doc/lessf/LESSOPEN/usr/share/doc/less/LESSOPEN\". The \"-R\" option allows raw character " "output and enables ANSI color escape sequences. See " "less11 よりもはるかに高機能" "で、\"eval $(lesspipe)\" または \"eval " "$(lessfile)\" をシェルのスタートスクリプト中で実行することで更に機" -"能が拡充されます。詳しくは、\"/usr/share/doc/lessf/LESSOPEN/usr/share/doc/less/LESSOPEN\" を参照下さい。\"-R\" オプションを用いると、生の" "文字出力やANSI カラーエスケープシーケンスが有効になります。" "less1more1 and can be supercharged by executing \"eval " "$(lesspipe)\" or \"eval $(lessfile)\" in the " -"shell startup script. See more in \"/usr/share/doc/lessf/LESSOPEN/usr/share/doc/less/LESSOPEN\". The \"-R\" option allows raw character " "output and enables ANSI color escape sequences. See " "less1more1 and can be supercharged by executing \"eval " "$(lesspipe)\" or \"eval $(lessfile)\" in the " -"shell startup script. See more in \"/usr/share/doc/lessf/LESSOPEN/usr/share/doc/less/LESSOPEN\". The \"-R\" option allows raw character " "output and enables ANSI color escape sequences. See " "less11 e pode ser ampliado ao " "executar \"eval $(lesspipe)\" ou \"eval " "$(lessfile)\" no script de arranque de shell. Veja mais em " -"\"/usr/share/doc/lessf/LESSOPEN\". A opção \"-R/usr/share/doc/less/LESSOPEN\". A opção \"-R\" permite saída em caracteres em bruto e activa sequências de " "escape de cores ANSI. Veja less1." diff --git a/po/zh-cn.po b/po/zh-cn.po index 81fc0eaa..69916250 100644 --- a/po/zh-cn.po +++ b/po/zh-cn.po @@ -7629,7 +7629,7 @@ msgid "" "more1 and can be supercharged by executing \"eval " "$(lesspipe)\" or \"eval $(lessfile)\" in the " -"shell startup script. See more in \"/usr/share/doc/lessf/LESSOPEN/usr/share/doc/less/LESSOPEN\". The \"-R\" option allows raw character " "output and enables ANSI color escape sequences. See " "less1more1 命令更丰富,通过在脚本的开头执行 \"eval $(lesspipe)\" 或 \"eval $(lessfile)\" 它的功能还能变得更加强" -"大。详细请参考 \"/usr/share/doc/lessf/LESSOPEN\"。 " +"大。详细请参考 \"/usr/share/doc/less/LESSOPEN\"。 " "\"-R\" 选项可以实现原始的字符输出还可以启用 ANSI 颜色转义" "序列。详细请参考 less1。" diff --git a/po/zh-tw.po b/po/zh-tw.po index 08f71e6f..cfde8771 100644 --- a/po/zh-tw.po +++ b/po/zh-tw.po @@ -7626,7 +7626,7 @@ msgid "" "more1 and can be supercharged by executing \"eval " "$(lesspipe)\" or \"eval $(lessfile)\" in the " -"shell startup script. See more in \"/usr/share/doc/lessf/LESSOPEN/usr/share/doc/less/LESSOPEN\". The \"-R\" option allows raw character " "output and enables ANSI color escape sequences. See " "less1more1 命令更豐富,通過在指令碼的開頭執行 \"eval " "$(lesspipe)\" 或 \"eval $(lessfile)\" 它的功能還" -"能變得更加強大。詳細請參考 \"/usr/share/doc/lessf/LESSOPEN" +"能變得更加強大。詳細請參考 \"/usr/share/doc/less/LESSOPEN" "\"。 \"-R\" 選項可以實現原始的字元輸出還可以啟用 ANSI 顏色" "轉義序列。詳細請參考 less1。" diff --git a/popcon.ent b/popcon.ent index fbec0137..f0a36456 100644 --- a/popcon.ent +++ b/popcon.ent @@ -1,691 +1,687 @@ - + - - - - - + + + + + - - + + - - - - - + + + + + - + - + - + - - - - + + + + - - - - + + + + - - + + - + - + - - + + - - + + - + - - - - - + + + + + - - - - - - - - - - + + + + + + + + + + - - - - - - - + + + + + + + - - - + + + - + - + - - - - - - + + + + + + - - - + + + - - - + + + - - - - - - - - - - + + + + + + + + + + - - - + + + - - - - - - - + + + + + + + - - - - + + + + - + - + - + - - - - - - + + + + + + - + - - - - + + + + - - + + - + - + - - - - - + + + + + - + - - - - - + + + + + - - - - - - - - - + + + + + + + + + - + - - - - - - - - - - - - - + + + + + + + + + + + + + - + - - - - + + + + - - + - + - - - - - - + + + + + + - + - + - + - + - - + + - + - - + + - + - + - + - + - + - + - - + + - - + + - + - - - - - + + + + + - + - - + + - - - + + + - - + + - - + + - + - + - - - - + + + - - - + + + - - - - - - - - + + + + + + + + - - - - - + + + + + - - + + - - - - - + + + + + - - - - - - - - - - + + + + + + + + + + - + - - - - - - + + + + + + - - - + + + - - + + - + - - - - - - + + + + + + - + - - - + + - - - - + + + + - + - + - - - - - - - - - + + + + + + + + + - - + + - - - - - + + + + + - - - + + + - - - - + + + + - - + + - + - + - - + + - - + + - - + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - + + + + + + + + - - - - + + + - + - + - - - + + + - - + + - - - + + + - + - + - - + + - + - - + + - - - - + + + + - + - - + + - - + + - - + + - - + + - - + + - - - - - + + + + + - - - - + + + + - - + + - - - - - - + + + + + + - - + + - - - - - + + + + + - - + + - + - + - + - - - - - - + + + + + + - - - - - + + + + + - - + + - - - - + + + + - - + + - - - + + + - - + + - - - - - - - + + + + + + + - - - - + + + + - - - - - - - + + + + + + + - + - + - - - + + + diff --git a/xslt/table.xsl b/xslt/table.xsl index 55772541..c00e1a40 100644 --- a/xslt/table.xsl +++ b/xslt/table.xsl @@ -54,7 +54,7 @@ Process raw XML file: - <ulink url="http://qa.debian.org/popcon.php?package=">@-@amp@-@pop-;</ulink> + <ulink url="http://qa.debian.org/popcon-graph.php?packages=">@-@amp@-@pop-;</ulink> @@ -71,7 +71,7 @@ Process raw XML file: - <ulink url="http://qa.debian.org/popcon.php?package=">@-@amp@-@pop-;</ulink> + <ulink url="http://qa.debian.org/popcon-graph.php?packages=">@-@amp@-@pop-;</ulink>