openSUSE Translation Commits
Threads by month
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
September 2015
- 20 participants
- 429 discussions
[opensuse-translation-commit] r92732 - in branches/SLE12-SP1/yast/pt_BR: . po
by keichwa@svn2.opensuse.org 15 Sep '15
by keichwa@svn2.opensuse.org 15 Sep '15
15 Sep '15
Author: keichwa
Date: 2015-09-15 11:36:07 +0200 (Tue, 15 Sep 2015)
New Revision: 92732
Added:
branches/SLE12-SP1/yast/pt_BR/Makefile.am
branches/SLE12-SP1/yast/pt_BR/configure.ac
branches/SLE12-SP1/yast/pt_BR/po/Makefile.am
Log:
new
Added: branches/SLE12-SP1/yast/pt_BR/Makefile.am
===================================================================
--- branches/SLE12-SP1/yast/pt_BR/Makefile.am (rev 0)
+++ branches/SLE12-SP1/yast/pt_BR/Makefile.am 2015-09-15 09:36:07 UTC (rev 92732)
@@ -0,0 +1,196 @@
+# Emacs: -*- makefile -*-
+#
+# Toplevel Makefile.am for a YaST2 subproject
+#
+# -- This file is generated by y2automake - DO NOT EDIT! --
+# (Edit ./SUBDIRS instead)
+#
+
+#where devtools are
+Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool
+
+VERSION = $(shell cat $(srcdir)/VERSION)
+RPMNAME = $(shell cat $(srcdir)/RPMNAME)
+SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS)
+ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4)
+
+HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE)
+
+# do we do Makefile.am for devtools? It is a little special...
+IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME))
+
+DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools)
+LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl)
+
+COPYRIGHT_files_gpl = README COPYING
+
+COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \
+ COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish
+
+extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl))
+
+# less strict; prefer bzip2
+AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip
+# where devtools install m4 snippets
+# argh, executed literally
+#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal
+ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal
+
+Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common
+ cmp -s $< $@ || cp -f $< $@
+
+# create bzip2ed tar and make some sanity checks
+$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2
+ @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \
+ echo "Error: created tar is empty" ; \
+ exit 1 ; \
+ fi
+
+CLEANFILES =
+MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec
+
+POT_DST = $(shell find -type d -name testsuite -prune , \
+ -type f -name "*.pot")
+
+EXTRA_DIST = \
+ VERSION RPMNAME MAINTAINER configure.in.in \
+ $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \
+ $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST))
+
+show-extra-dist:
+ @echo $(EXTRA_DIST)
+
+# info '(automake)Conditionals'
+if CREATE_PKGCONFIG
+# create the file here instead of by configure
+# because the prerequisite is made here (not anymore!)
+# and we don't want any paths in y2autoconf
+# info '(autoconf)config.status Invocation'
+$(RPMNAME).pc: $(RPMNAME).pc.in config.status
+ ./config.status --file=$@:$<
+
+if CREATE_PKGCONFIG_NOARCH
+pkgconfigdata_DATA = $(RPMNAME).pc
+else
+pkgconfig_DATA = $(RPMNAME).pc
+endif
+
+EXTRA_DIST += $(RPMNAME).pc.in
+endif
+
+dist-hook:
+ @for I in $(extra_COPYRIGHT_files) ; \
+ do \
+ EX="" ; \
+ if test -f $(srcdir)/$$I ; then \
+ EX=$(srcdir)/$$I ; \
+ elif test -f $(LEGALESE_DIR)/$$I ; then \
+ EX=$(LEGALESE_DIR)/$$I ; \
+ else \
+ echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \
+ exit 1 ; \
+ fi ; \
+ echo "cp $$EX $(distdir)" ; \
+ cp $$EX "$(distdir)" ; \
+ done
+
+pot:
+ $(Y2TOOL) y2makepot -s $(srcdir)
+
+install-pot: pot
+ @POT_DST=`find -type d -name testsuite -prune , \
+ -type f -name "*.pot"` ; \
+ if [ -n "$$POT_DST" ] ; then \
+ echo "mkdir -p $(DESTDIR)$(potdir)" ; \
+ mkdir -p $(DESTDIR)$(potdir) ; \
+ list="$$POT_DST"; \
+ for I in $$list ; \
+ do \
+ echo $$I ; \
+ if [ "$$I" == "pot" ] ; then \
+ continue ; \
+ fi ; \
+ echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \
+ $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \
+ done ; \
+ fi
+
+spellcheck: pot
+ $(Y2TOOL) pot-spellcheck
+
+# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST))
+
+install-data-local: # $(if $(IS_DEVTOOLS),,install-pot)
+ mkdir -p $(DESTDIR)$(docdir)
+ @for I in $(extra_COPYRIGHT_files) ; \
+ do \
+ EX="" ; \
+ if test -f $(srcdir)/$$I ; then \
+ EX=$(srcdir)/$$I ; \
+ elif test -f $(LEGALESE_DIR)/$$I ; then \
+ EX=$(LEGALESE_DIR)/$$I ; \
+ else \
+ echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \
+ exit 1 ; \
+ fi ; \
+ echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \
+ $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \
+ done
+
+package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2
+ rm -f package/$(RPMNAME)-*.tar.bz2
+ rm -f package/*~
+ rm -f package/*.bak
+ rm -f package/*.auto
+ mv $(RPMNAME)-$(VERSION).tar.bz2 package/
+ if ! test -x $(Y2TOOL); then \
+ echo "$(Y2TOOL): not found."; \
+ echo "You have to install yast2-devtools to making a package"; \
+ false; \
+ fi
+ here=`pwd`; \
+ cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \
+ newname="`echo "$$i" | sed "s/\.in$$//g"`"; \
+ $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \
+ done
+
+package: check-up-to-date check-tagversion check-textdomain package-local
+
+TAGVERSION = $(Y2TOOL) tagversion
+
+# check if there is no modified files and all commits were pushed
+check-up-to-date:
+ if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \
+ (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \
+ fi
+
+check-tagversion:
+ cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \
+ [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false )
+
+check-parse-old:
+ @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \
+ echo "Running parseycp..." ; \
+ parseycp -q -R ; \
+ else \
+ echo "Not running parseycp." ; \
+ fi
+
+check-parse:
+ @echo "Not running parseycp."
+
+check-textdomain:
+ $(Y2TOOL) check-textdomain $(srcdir)
+
+stable: checkin-stable
+
+checkin-stable: package
+ $(Y2TOOL) checkin-stable
+
+
+# For po/ modules
+checkpo:
+ test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo
+# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox
+# Contents of ./SUBDIRS
+SUBDIRS = po
Added: branches/SLE12-SP1/yast/pt_BR/configure.ac
===================================================================
--- branches/SLE12-SP1/yast/pt_BR/configure.ac (rev 0)
+++ branches/SLE12-SP1/yast/pt_BR/configure.ac 2015-09-15 09:36:07 UTC (rev 92732)
@@ -0,0 +1,184 @@
+dnl configure.ac for yast2-trans-pt_BR
+dnl
+dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! --
+dnl (edit configure.ac.in or configure.in.in instead)
+
+AC_INIT(yast2-trans-pt_BR, 3.0.0, http://bugs.opensuse.org/, yast2-trans-pt_BR)
+dnl Check for presence of file 'RPMNAME'
+AC_CONFIG_SRCDIR([RPMNAME])
+
+dnl Checking host/target/build systems, for make, install etc.
+AC_CANONICAL_TARGET
+dnl Perform program name transformation
+AC_ARG_PROGRAM
+
+AC_PREFIX_DEFAULT(/usr)
+
+dnl long filenames; we use GNU Make extensions and that's ok
+AM_INIT_AUTOMAKE(tar-ustar -Wno-portability)
+
+dnl Important YaST2 variables
+VERSION="3.0.0"
+RPMNAME="yast2-trans-pt_BR"
+MAINTAINER="Karl Eichwalder <ke(a)suse.de>"
+
+dnl pkgconfig honors lib64
+pkgconfigdir=\${libdir}/pkgconfig
+pkgconfigdatadir=\${datadir}/pkgconfig
+yast2dir=\${prefix}/share/YaST2
+
+ybindir=\${prefix}/lib/YaST2/bin
+# FIXME duplicates execcompdir
+ystartupdir=\${prefix}/lib/YaST2
+plugindir=\${libdir}/YaST2/plugin
+includedir=\${prefix}/include/YaST2
+potdir=\${docdir}/pot
+
+docdir=\${prefix}/share/doc/packages/$RPMNAME
+mandir=\${prefix}/share/man
+
+execcompdir=\${prefix}/lib/YaST2
+agentdir=${execcompdir}/servers_non_y2
+
+ydatadir=${yast2dir}/data
+imagedir=${yast2dir}/images
+themedir=${yast2dir}/theme
+localedir=${yast2dir}/locale
+clientdir=${yast2dir}/clients
+moduledir=${yast2dir}/modules
+yncludedir=${yast2dir}/include
+schemadir=${yast2dir}/schema
+scrconfdir=${yast2dir}/scrconf
+desktopdir=\${prefix}/share/applications/YaST2
+
+AC_SUBST(VERSION)
+AC_SUBST(RPMNAME)
+AC_SUBST(MAINTAINER)
+
+AC_SUBST(pkgconfigdir)
+AC_SUBST(pkgconfigdatadir)
+
+AC_SUBST(yast2dir)
+
+AC_SUBST(ybindir)
+AC_SUBST(ystartupdir)
+AC_SUBST(plugindir)
+AC_SUBST(includedir)
+AC_SUBST(potdir)
+AC_SUBST(execcompdir)
+
+AC_SUBST(docdir)
+AC_SUBST(mandir)
+
+AC_SUBST(ydatadir)
+AC_SUBST(imagedir)
+AC_SUBST(themedir)
+AC_SUBST(localedir)
+AC_SUBST(clientdir)
+AC_SUBST(moduledir)
+AC_SUBST(yncludedir)
+AC_SUBST(schemadir)
+AC_SUBST(scrconfdir)
+AC_SUBST(agentdir)
+AC_SUBST(desktopdir)
+
+fillupdir_d="/var/adm/fillup-templates"
+AC_ARG_WITH(fillupdir,
+ AS_HELP_STRING([--with-fillupdir=DIR],
+ [where to place fillup templates (default $fillupdir_d.]),
+ [ fillupdir="$withval" ],
+ [ fillupdir="$fillupdir_d" ])
+AC_SUBST(fillupdir)
+
+LL=${RPMNAME##*-}
+AC_SUBST(LL)
+ISO639=${LL%_*}
+AC_SUBST(ISO639)
+
+AC_ARG_WITH(own_compendium,
+ AS_HELP_STRING([--with-own_compendium=FILE],
+ [Location of compendium file]),
+ y2compendium=yes, y2compendium=no)
+if test "x$with_own_compendium" = "x" ; then
+ if test -d ../50-memory ; then
+ COMPENDIUM='../../50-memory/yast2.$(LL).po'
+ else
+ COMPENDIUM='../../memory/yast2.$(LL).po'
+ fi
+else
+ COMPENDIUM=${with_own_compendium}
+fi
+AC_SUBST(COMPENDIUM)
+if test -d ../50-pot ; then
+ POTDIR=../../50-pot
+else
+ POTDIR=../../pot/pot
+fi
+AC_SUBST(POTDIR)
+
+
+dnl Checks for programs.
+AC_PROG_INSTALL
+dnl The YCP interpreter checks whether dependent ybc files are older
+dnl so we must preserve their timestamps
+INSTALL="${INSTALL} -p"
+AC_PROG_LN_S
+AC_PROG_MAKE_SET
+
+dnl pkgconfig
+AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files])
+dnl devtools
+dnl ...
+
+dnl no need for AC_ARG_VAR
+AC_PATH_PROG(XGETTEXT, xgettext)
+if test -z "$XGETTEXT" ; then
+ AC_MSG_ERROR(xgettext is missing; please install gettext-tools.)
+fi
+
+Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools`
+AC_SUBST(Y2DEVTOOLS_PREFIX)
+devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools`
+devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools`
+
+dnl producing pkg-config for others?
+AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x)
+AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch)
+
+dbdir=${devtools_yast2dir}/data/docbook
+STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl
+STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl
+STYLESHEET_CSS=${dbdir}/css/yast2docs.css
+STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl
+STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl
+AC_SUBST(STYLESHEET_HTML)
+AC_SUBST(STYLESHEET_PDF)
+AC_SUBST(STYLESHEET_CSS)
+AC_SUBST(STYLESHEET_YDOC)
+AC_SUBST(STYLESHEET_YCPDOC)
+
+
+dnl searches for some needed programs
+AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin)
+if test x$MSGFMT != x"/usr/bin/msgfmt"; then
+ AC_MSG_ERROR(msgfmt is missing; please install gettext.)
+fi
+AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no)
+if test x$MSGCAT = xno; then
+ AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.)
+fi
+
+AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin)
+if test x$MSGMERGE != x"/usr/bin/msgmerge"; then
+ AC_MSG_ERROR(msgmerge is missing; please install gettext.)
+fi
+
+AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin)
+if test x$MSGCONV != x"/usr/bin/msgconv"; then
+ AC_MSG_ERROR(msgconv is missing; please install gettext.)
+fi
+
+
+AC_CONFIG_FILES(Makefile po/Makefile)
+AC_OUTPUT
+
Added: branches/SLE12-SP1/yast/pt_BR/po/Makefile.am
===================================================================
--- branches/SLE12-SP1/yast/pt_BR/po/Makefile.am (rev 0)
+++ branches/SLE12-SP1/yast/pt_BR/po/Makefile.am 2015-09-15 09:36:07 UTC (rev 92732)
@@ -0,0 +1,175 @@
+# Emacs: -*- makefile -*-
+#
+# Makefile.am for a YaST2 translation (po/) subproject
+#
+# -- This file is generated by y2automake - DO NOT EDIT! --
+#
+# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top ---
+# Emacs: -*- makefile -*-
+# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top ---
+# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center ---
+# Emacs: -*- makefile -*-
+
+LL = @LL@
+#POTDIR = ../../50-pot
+POTDIR = @POTDIR@
+POTFILES = $(wildcard $(POTDIR)/*.pot)
+GENERATED = $(MOFILES)
+CLEANFILES = $(GENERATED)
+POFILES = $(wildcard *.po)
+ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES)))
+BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business)
+WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS))
+WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS))
+MOFILES = $(POFILES:%.po=%.mo)
+INST_MOFILES = $(MOFILES:.$(LL).mo=.mo)
+POXFILES = $(POFILES:%.po=%.pox)
+EXTRA_DIST = $(WANTED_POFILES) $(stat)
+localedir=@localedir@
+locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES
+compendium = @COMPENDIUM@
+with_compendium =
+
+stat=status.txt
+PO_STATS= grep -v warning: | @ybindir@/po-stats
+
+MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous
+MSGFMT = @MSGFMT@
+MSGCAT = @MSGCAT@ --no-wrap --force-po
+MSGCONV = @MSGCONV@ --no-wrap --force-po
+XGETTEXT = @XGETTEXT@ --no-wrap
+
+SUFFIXES = .po .pox .gmo .mo
+
+all-local: $(GENERATED)
+
+make-pox pox: Makefile $(POXFILES)
+$(POXFILES): %.pox: %.po
+ -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \
+ pot=$$(echo $< | sed "s:$(LL).po:pot:"); \
+ compendium=$(compendium); \
+ [ -f $$compendium ] || compendium=/dev/null ; \
+ $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot
+
+# update or init PO file
+update-po: Makefile $(POTFILES)
+ for p in $(POTFILES); do \
+ q=$${p##*/}; \
+ po=$${q%pot}$(LL).po; \
+ echo $$po; \
+ if [ -f $$po ]; then \
+ $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \
+ else \
+ $(MSGMERGE) -o $$po.tmp -C $(compendium) \
+ --verbose /dev/null $$p; \
+ fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \
+ rm -f $$po.tmp ; }; \
+ if cmp $$po.tmp $$po >/dev/null 2>&1; then \
+ rm -vf $$po.tmp; \
+ else \
+ mv -vf $$po.tmp $$po; \
+ fi; \
+ done
+ $(MAKE) $(stat)
+
+$(stat): $(WANTED_POFILES)
+ if [ -f $(stat) ]; then \
+ cp --backup=numbered $(stat) $(stat).bak; \
+ :> $(stat); \
+ fi
+ { for f in $(WANTED_POFILES); do \
+ LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \
+ done ; } | $(PO_STATS) | head -n 6 | tee $(stat)
+
+update-po-with-compendium:
+ $(MAKE) update-po with_compendium="-C $(compendium)"
+
+update-mo: $(MOFILES)
+ @:
+
+%.mo: %.po
+ file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \
+ && rm -f $$file \
+ && $(MSGCONV) --to UTF-8 $< \
+ | $(MSGFMT) -c --statistics -o $$file -
+
+showpo:
+ echo $(POFILES)
+
+showmo:
+ echo $(MOFILES)
+
+checkpo:
+ for f in $(POFILES); do \
+ mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \
+ [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \
+ LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \
+ || exit 1; \
+ done
+
+# Try to checkin a .pox file
+# FIXME make sure msgcat doesn't weird things with "" and comments
+checkin:
+ p=$(MODULE).$(ci_ll); \
+ cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \
+ if [ -d CVS ]; then \
+ cvs -n update $$p.po | grep -q -v '^[UPMC]'; \
+ else \
+ LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \
+ fi; \
+ if [ $$? = 0 ]; then \
+ echo "CVS/Subversion mismatch; trying to merge..."; \
+ rm -f $$p.po; \
+ if [ -d CVS ]; then \
+ cvs -q update $$p.po; \
+ else \
+ svn update $$p.po; \
+ fi; \
+ cp $$p.pox $$p.pox.new; \
+ $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \
+ echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \
+ $(MSGFMT) --check --statistics $$p.pox; \
+ echo -e "Then try again to checkin \"$$p.pox\"."; \
+ else \
+ cp $(ci_opt) $$p.pox $$p.po; \
+ if [ -d CVS ]; then \
+ cvs -n ci $$p.po; \
+ else \
+ svn --dry-run commit $$p.po; \
+ fi; \
+ if [ $$? = 0 ] ; then \
+ if [ -d CVS ]; then \
+ cvs ci -m "$(ci_msg)" $$p.po; \
+ else \
+ svn commit --message "$(ci_msg)" $$p.po; \
+ fi; \
+ else \
+ rm -f $$p.po; \
+ if [ -d CVS ]; then \
+ cvs -q update $$p.po; \
+ else \
+ svn update $$p.po; \
+ fi; \
+ cp $$p.pox $$p.pox.new; \
+ $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \
+ echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \
+ $(MSGFMT) --check --statistics $$p.pox; \
+ echo "Then try to checkin \"$$p.pox\"."; \
+ fi; \
+ fi
+
+install-data-local: $(MOFILES) $(stat)
+ D=$(DESTDIR)$(locale_lang_msg_dir); \
+ [ -d $$D ] || install -d -m 755 $$D; \
+ for l in $(MOFILES); do \
+ m=$${l/$(LL).mo/mo}; \
+ install -m 644 $$l $$D/$$m; \
+ done
+ install -d -m 755 $(DESTDIR)$(docdir)
+ $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir)
+# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center ---
+# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom ---
+# Emacs: -*- makefile -*-
+
+## po/Makefile.am.bottom ends here
+# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom ---
1
0
[opensuse-translation-commit] r92731 - in branches/SLE12-SP1/yast/en_US: . po
by keichwa@svn2.opensuse.org 15 Sep '15
by keichwa@svn2.opensuse.org 15 Sep '15
15 Sep '15
Author: keichwa
Date: 2015-09-15 11:36:04 +0200 (Tue, 15 Sep 2015)
New Revision: 92731
Added:
branches/SLE12-SP1/yast/en_US/Makefile.am
branches/SLE12-SP1/yast/en_US/configure.ac
branches/SLE12-SP1/yast/en_US/po/Makefile.am
Log:
new
Added: branches/SLE12-SP1/yast/en_US/Makefile.am
===================================================================
--- branches/SLE12-SP1/yast/en_US/Makefile.am (rev 0)
+++ branches/SLE12-SP1/yast/en_US/Makefile.am 2015-09-15 09:36:04 UTC (rev 92731)
@@ -0,0 +1,196 @@
+# Emacs: -*- makefile -*-
+#
+# Toplevel Makefile.am for a YaST2 subproject
+#
+# -- This file is generated by y2automake - DO NOT EDIT! --
+# (Edit ./SUBDIRS instead)
+#
+
+#where devtools are
+Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool
+
+VERSION = $(shell cat $(srcdir)/VERSION)
+RPMNAME = $(shell cat $(srcdir)/RPMNAME)
+SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS)
+ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4)
+
+HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE)
+
+# do we do Makefile.am for devtools? It is a little special...
+IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME))
+
+DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools)
+LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl)
+
+COPYRIGHT_files_gpl = README COPYING
+
+COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \
+ COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish
+
+extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl))
+
+# less strict; prefer bzip2
+AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip
+# where devtools install m4 snippets
+# argh, executed literally
+#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal
+ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal
+
+Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common
+ cmp -s $< $@ || cp -f $< $@
+
+# create bzip2ed tar and make some sanity checks
+$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2
+ @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \
+ echo "Error: created tar is empty" ; \
+ exit 1 ; \
+ fi
+
+CLEANFILES =
+MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec
+
+POT_DST = $(shell find -type d -name testsuite -prune , \
+ -type f -name "*.pot")
+
+EXTRA_DIST = \
+ VERSION RPMNAME MAINTAINER configure.in.in \
+ $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \
+ $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST))
+
+show-extra-dist:
+ @echo $(EXTRA_DIST)
+
+# info '(automake)Conditionals'
+if CREATE_PKGCONFIG
+# create the file here instead of by configure
+# because the prerequisite is made here (not anymore!)
+# and we don't want any paths in y2autoconf
+# info '(autoconf)config.status Invocation'
+$(RPMNAME).pc: $(RPMNAME).pc.in config.status
+ ./config.status --file=$@:$<
+
+if CREATE_PKGCONFIG_NOARCH
+pkgconfigdata_DATA = $(RPMNAME).pc
+else
+pkgconfig_DATA = $(RPMNAME).pc
+endif
+
+EXTRA_DIST += $(RPMNAME).pc.in
+endif
+
+dist-hook:
+ @for I in $(extra_COPYRIGHT_files) ; \
+ do \
+ EX="" ; \
+ if test -f $(srcdir)/$$I ; then \
+ EX=$(srcdir)/$$I ; \
+ elif test -f $(LEGALESE_DIR)/$$I ; then \
+ EX=$(LEGALESE_DIR)/$$I ; \
+ else \
+ echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \
+ exit 1 ; \
+ fi ; \
+ echo "cp $$EX $(distdir)" ; \
+ cp $$EX "$(distdir)" ; \
+ done
+
+pot:
+ $(Y2TOOL) y2makepot -s $(srcdir)
+
+install-pot: pot
+ @POT_DST=`find -type d -name testsuite -prune , \
+ -type f -name "*.pot"` ; \
+ if [ -n "$$POT_DST" ] ; then \
+ echo "mkdir -p $(DESTDIR)$(potdir)" ; \
+ mkdir -p $(DESTDIR)$(potdir) ; \
+ list="$$POT_DST"; \
+ for I in $$list ; \
+ do \
+ echo $$I ; \
+ if [ "$$I" == "pot" ] ; then \
+ continue ; \
+ fi ; \
+ echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \
+ $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \
+ done ; \
+ fi
+
+spellcheck: pot
+ $(Y2TOOL) pot-spellcheck
+
+# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST))
+
+install-data-local: # $(if $(IS_DEVTOOLS),,install-pot)
+ mkdir -p $(DESTDIR)$(docdir)
+ @for I in $(extra_COPYRIGHT_files) ; \
+ do \
+ EX="" ; \
+ if test -f $(srcdir)/$$I ; then \
+ EX=$(srcdir)/$$I ; \
+ elif test -f $(LEGALESE_DIR)/$$I ; then \
+ EX=$(LEGALESE_DIR)/$$I ; \
+ else \
+ echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \
+ exit 1 ; \
+ fi ; \
+ echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \
+ $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \
+ done
+
+package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2
+ rm -f package/$(RPMNAME)-*.tar.bz2
+ rm -f package/*~
+ rm -f package/*.bak
+ rm -f package/*.auto
+ mv $(RPMNAME)-$(VERSION).tar.bz2 package/
+ if ! test -x $(Y2TOOL); then \
+ echo "$(Y2TOOL): not found."; \
+ echo "You have to install yast2-devtools to making a package"; \
+ false; \
+ fi
+ here=`pwd`; \
+ cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \
+ newname="`echo "$$i" | sed "s/\.in$$//g"`"; \
+ $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \
+ done
+
+package: check-up-to-date check-tagversion check-textdomain package-local
+
+TAGVERSION = $(Y2TOOL) tagversion
+
+# check if there is no modified files and all commits were pushed
+check-up-to-date:
+ if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \
+ (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \
+ fi
+
+check-tagversion:
+ cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \
+ [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false )
+
+check-parse-old:
+ @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \
+ echo "Running parseycp..." ; \
+ parseycp -q -R ; \
+ else \
+ echo "Not running parseycp." ; \
+ fi
+
+check-parse:
+ @echo "Not running parseycp."
+
+check-textdomain:
+ $(Y2TOOL) check-textdomain $(srcdir)
+
+stable: checkin-stable
+
+checkin-stable: package
+ $(Y2TOOL) checkin-stable
+
+
+# For po/ modules
+checkpo:
+ test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo
+# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox
+# Contents of ./SUBDIRS
+SUBDIRS = po
Added: branches/SLE12-SP1/yast/en_US/configure.ac
===================================================================
--- branches/SLE12-SP1/yast/en_US/configure.ac (rev 0)
+++ branches/SLE12-SP1/yast/en_US/configure.ac 2015-09-15 09:36:04 UTC (rev 92731)
@@ -0,0 +1,184 @@
+dnl configure.ac for yast2-trans-en_US
+dnl
+dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! --
+dnl (edit configure.ac.in or configure.in.in instead)
+
+AC_INIT(yast2-trans-en_US, 3.0.0, http://bugs.opensuse.org/, yast2-trans-en_US)
+dnl Check for presence of file 'RPMNAME'
+AC_CONFIG_SRCDIR([RPMNAME])
+
+dnl Checking host/target/build systems, for make, install etc.
+AC_CANONICAL_TARGET
+dnl Perform program name transformation
+AC_ARG_PROGRAM
+
+AC_PREFIX_DEFAULT(/usr)
+
+dnl long filenames; we use GNU Make extensions and that's ok
+AM_INIT_AUTOMAKE(tar-ustar -Wno-portability)
+
+dnl Important YaST2 variables
+VERSION="3.0.0"
+RPMNAME="yast2-trans-en_US"
+MAINTAINER="Karl Eichwalder <ke(a)suse.de>"
+
+dnl pkgconfig honors lib64
+pkgconfigdir=\${libdir}/pkgconfig
+pkgconfigdatadir=\${datadir}/pkgconfig
+yast2dir=\${prefix}/share/YaST2
+
+ybindir=\${prefix}/lib/YaST2/bin
+# FIXME duplicates execcompdir
+ystartupdir=\${prefix}/lib/YaST2
+plugindir=\${libdir}/YaST2/plugin
+includedir=\${prefix}/include/YaST2
+potdir=\${docdir}/pot
+
+docdir=\${prefix}/share/doc/packages/$RPMNAME
+mandir=\${prefix}/share/man
+
+execcompdir=\${prefix}/lib/YaST2
+agentdir=${execcompdir}/servers_non_y2
+
+ydatadir=${yast2dir}/data
+imagedir=${yast2dir}/images
+themedir=${yast2dir}/theme
+localedir=${yast2dir}/locale
+clientdir=${yast2dir}/clients
+moduledir=${yast2dir}/modules
+yncludedir=${yast2dir}/include
+schemadir=${yast2dir}/schema
+scrconfdir=${yast2dir}/scrconf
+desktopdir=\${prefix}/share/applications/YaST2
+
+AC_SUBST(VERSION)
+AC_SUBST(RPMNAME)
+AC_SUBST(MAINTAINER)
+
+AC_SUBST(pkgconfigdir)
+AC_SUBST(pkgconfigdatadir)
+
+AC_SUBST(yast2dir)
+
+AC_SUBST(ybindir)
+AC_SUBST(ystartupdir)
+AC_SUBST(plugindir)
+AC_SUBST(includedir)
+AC_SUBST(potdir)
+AC_SUBST(execcompdir)
+
+AC_SUBST(docdir)
+AC_SUBST(mandir)
+
+AC_SUBST(ydatadir)
+AC_SUBST(imagedir)
+AC_SUBST(themedir)
+AC_SUBST(localedir)
+AC_SUBST(clientdir)
+AC_SUBST(moduledir)
+AC_SUBST(yncludedir)
+AC_SUBST(schemadir)
+AC_SUBST(scrconfdir)
+AC_SUBST(agentdir)
+AC_SUBST(desktopdir)
+
+fillupdir_d="/var/adm/fillup-templates"
+AC_ARG_WITH(fillupdir,
+ AS_HELP_STRING([--with-fillupdir=DIR],
+ [where to place fillup templates (default $fillupdir_d.]),
+ [ fillupdir="$withval" ],
+ [ fillupdir="$fillupdir_d" ])
+AC_SUBST(fillupdir)
+
+LL=${RPMNAME##*-}
+AC_SUBST(LL)
+ISO639=${LL%_*}
+AC_SUBST(ISO639)
+
+AC_ARG_WITH(own_compendium,
+ AS_HELP_STRING([--with-own_compendium=FILE],
+ [Location of compendium file]),
+ y2compendium=yes, y2compendium=no)
+if test "x$with_own_compendium" = "x" ; then
+ if test -d ../50-memory ; then
+ COMPENDIUM='../../50-memory/yast2.$(LL).po'
+ else
+ COMPENDIUM='../../memory/yast2.$(LL).po'
+ fi
+else
+ COMPENDIUM=${with_own_compendium}
+fi
+AC_SUBST(COMPENDIUM)
+if test -d ../50-pot ; then
+ POTDIR=../../50-pot
+else
+ POTDIR=../../pot/pot
+fi
+AC_SUBST(POTDIR)
+
+
+dnl Checks for programs.
+AC_PROG_INSTALL
+dnl The YCP interpreter checks whether dependent ybc files are older
+dnl so we must preserve their timestamps
+INSTALL="${INSTALL} -p"
+AC_PROG_LN_S
+AC_PROG_MAKE_SET
+
+dnl pkgconfig
+AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files])
+dnl devtools
+dnl ...
+
+dnl no need for AC_ARG_VAR
+AC_PATH_PROG(XGETTEXT, xgettext)
+if test -z "$XGETTEXT" ; then
+ AC_MSG_ERROR(xgettext is missing; please install gettext-tools.)
+fi
+
+Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools`
+AC_SUBST(Y2DEVTOOLS_PREFIX)
+devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools`
+devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools`
+
+dnl producing pkg-config for others?
+AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x)
+AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch)
+
+dbdir=${devtools_yast2dir}/data/docbook
+STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl
+STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl
+STYLESHEET_CSS=${dbdir}/css/yast2docs.css
+STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl
+STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl
+AC_SUBST(STYLESHEET_HTML)
+AC_SUBST(STYLESHEET_PDF)
+AC_SUBST(STYLESHEET_CSS)
+AC_SUBST(STYLESHEET_YDOC)
+AC_SUBST(STYLESHEET_YCPDOC)
+
+
+dnl searches for some needed programs
+AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin)
+if test x$MSGFMT != x"/usr/bin/msgfmt"; then
+ AC_MSG_ERROR(msgfmt is missing; please install gettext.)
+fi
+AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no)
+if test x$MSGCAT = xno; then
+ AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.)
+fi
+
+AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin)
+if test x$MSGMERGE != x"/usr/bin/msgmerge"; then
+ AC_MSG_ERROR(msgmerge is missing; please install gettext.)
+fi
+
+AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin)
+if test x$MSGCONV != x"/usr/bin/msgconv"; then
+ AC_MSG_ERROR(msgconv is missing; please install gettext.)
+fi
+
+
+AC_CONFIG_FILES(Makefile po/Makefile)
+AC_OUTPUT
+
Added: branches/SLE12-SP1/yast/en_US/po/Makefile.am
===================================================================
--- branches/SLE12-SP1/yast/en_US/po/Makefile.am (rev 0)
+++ branches/SLE12-SP1/yast/en_US/po/Makefile.am 2015-09-15 09:36:04 UTC (rev 92731)
@@ -0,0 +1,175 @@
+# Emacs: -*- makefile -*-
+#
+# Makefile.am for a YaST2 translation (po/) subproject
+#
+# -- This file is generated by y2automake - DO NOT EDIT! --
+#
+# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top ---
+# Emacs: -*- makefile -*-
+# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top ---
+# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center ---
+# Emacs: -*- makefile -*-
+
+LL = @LL@
+#POTDIR = ../../50-pot
+POTDIR = @POTDIR@
+POTFILES = $(wildcard $(POTDIR)/*.pot)
+GENERATED = $(MOFILES)
+CLEANFILES = $(GENERATED)
+POFILES = $(wildcard *.po)
+ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES)))
+BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business)
+WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS))
+WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS))
+MOFILES = $(POFILES:%.po=%.mo)
+INST_MOFILES = $(MOFILES:.$(LL).mo=.mo)
+POXFILES = $(POFILES:%.po=%.pox)
+EXTRA_DIST = $(WANTED_POFILES) $(stat)
+localedir=@localedir@
+locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES
+compendium = @COMPENDIUM@
+with_compendium =
+
+stat=status.txt
+PO_STATS= grep -v warning: | @ybindir@/po-stats
+
+MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous
+MSGFMT = @MSGFMT@
+MSGCAT = @MSGCAT@ --no-wrap --force-po
+MSGCONV = @MSGCONV@ --no-wrap --force-po
+XGETTEXT = @XGETTEXT@ --no-wrap
+
+SUFFIXES = .po .pox .gmo .mo
+
+all-local: $(GENERATED)
+
+make-pox pox: Makefile $(POXFILES)
+$(POXFILES): %.pox: %.po
+ -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \
+ pot=$$(echo $< | sed "s:$(LL).po:pot:"); \
+ compendium=$(compendium); \
+ [ -f $$compendium ] || compendium=/dev/null ; \
+ $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot
+
+# update or init PO file
+update-po: Makefile $(POTFILES)
+ for p in $(POTFILES); do \
+ q=$${p##*/}; \
+ po=$${q%pot}$(LL).po; \
+ echo $$po; \
+ if [ -f $$po ]; then \
+ $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \
+ else \
+ $(MSGMERGE) -o $$po.tmp -C $(compendium) \
+ --verbose /dev/null $$p; \
+ fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \
+ rm -f $$po.tmp ; }; \
+ if cmp $$po.tmp $$po >/dev/null 2>&1; then \
+ rm -vf $$po.tmp; \
+ else \
+ mv -vf $$po.tmp $$po; \
+ fi; \
+ done
+ $(MAKE) $(stat)
+
+$(stat): $(WANTED_POFILES)
+ if [ -f $(stat) ]; then \
+ cp --backup=numbered $(stat) $(stat).bak; \
+ :> $(stat); \
+ fi
+ { for f in $(WANTED_POFILES); do \
+ LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \
+ done ; } | $(PO_STATS) | head -n 6 | tee $(stat)
+
+update-po-with-compendium:
+ $(MAKE) update-po with_compendium="-C $(compendium)"
+
+update-mo: $(MOFILES)
+ @:
+
+%.mo: %.po
+ file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \
+ && rm -f $$file \
+ && $(MSGCONV) --to UTF-8 $< \
+ | $(MSGFMT) -c --statistics -o $$file -
+
+showpo:
+ echo $(POFILES)
+
+showmo:
+ echo $(MOFILES)
+
+checkpo:
+ for f in $(POFILES); do \
+ mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \
+ [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \
+ LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \
+ || exit 1; \
+ done
+
+# Try to checkin a .pox file
+# FIXME make sure msgcat doesn't weird things with "" and comments
+checkin:
+ p=$(MODULE).$(ci_ll); \
+ cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \
+ if [ -d CVS ]; then \
+ cvs -n update $$p.po | grep -q -v '^[UPMC]'; \
+ else \
+ LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \
+ fi; \
+ if [ $$? = 0 ]; then \
+ echo "CVS/Subversion mismatch; trying to merge..."; \
+ rm -f $$p.po; \
+ if [ -d CVS ]; then \
+ cvs -q update $$p.po; \
+ else \
+ svn update $$p.po; \
+ fi; \
+ cp $$p.pox $$p.pox.new; \
+ $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \
+ echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \
+ $(MSGFMT) --check --statistics $$p.pox; \
+ echo -e "Then try again to checkin \"$$p.pox\"."; \
+ else \
+ cp $(ci_opt) $$p.pox $$p.po; \
+ if [ -d CVS ]; then \
+ cvs -n ci $$p.po; \
+ else \
+ svn --dry-run commit $$p.po; \
+ fi; \
+ if [ $$? = 0 ] ; then \
+ if [ -d CVS ]; then \
+ cvs ci -m "$(ci_msg)" $$p.po; \
+ else \
+ svn commit --message "$(ci_msg)" $$p.po; \
+ fi; \
+ else \
+ rm -f $$p.po; \
+ if [ -d CVS ]; then \
+ cvs -q update $$p.po; \
+ else \
+ svn update $$p.po; \
+ fi; \
+ cp $$p.pox $$p.pox.new; \
+ $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \
+ echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \
+ $(MSGFMT) --check --statistics $$p.pox; \
+ echo "Then try to checkin \"$$p.pox\"."; \
+ fi; \
+ fi
+
+install-data-local: $(MOFILES) $(stat)
+ D=$(DESTDIR)$(locale_lang_msg_dir); \
+ [ -d $$D ] || install -d -m 755 $$D; \
+ for l in $(MOFILES); do \
+ m=$${l/$(LL).mo/mo}; \
+ install -m 644 $$l $$D/$$m; \
+ done
+ install -d -m 755 $(DESTDIR)$(docdir)
+ $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir)
+# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center ---
+# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom ---
+# Emacs: -*- makefile -*-
+
+## po/Makefile.am.bottom ends here
+# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom ---
1
0
[opensuse-translation-commit] r92730 - in branches/SLE12-SP1/yast/en_GB: . po
by keichwa@svn2.opensuse.org 15 Sep '15
by keichwa@svn2.opensuse.org 15 Sep '15
15 Sep '15
Author: keichwa
Date: 2015-09-15 11:36:02 +0200 (Tue, 15 Sep 2015)
New Revision: 92730
Added:
branches/SLE12-SP1/yast/en_GB/Makefile.am
branches/SLE12-SP1/yast/en_GB/configure.ac
branches/SLE12-SP1/yast/en_GB/po/Makefile.am
Log:
new
Added: branches/SLE12-SP1/yast/en_GB/Makefile.am
===================================================================
--- branches/SLE12-SP1/yast/en_GB/Makefile.am (rev 0)
+++ branches/SLE12-SP1/yast/en_GB/Makefile.am 2015-09-15 09:36:02 UTC (rev 92730)
@@ -0,0 +1,196 @@
+# Emacs: -*- makefile -*-
+#
+# Toplevel Makefile.am for a YaST2 subproject
+#
+# -- This file is generated by y2automake - DO NOT EDIT! --
+# (Edit ./SUBDIRS instead)
+#
+
+#where devtools are
+Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool
+
+VERSION = $(shell cat $(srcdir)/VERSION)
+RPMNAME = $(shell cat $(srcdir)/RPMNAME)
+SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS)
+ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4)
+
+HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE)
+
+# do we do Makefile.am for devtools? It is a little special...
+IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME))
+
+DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools)
+LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl)
+
+COPYRIGHT_files_gpl = README COPYING
+
+COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \
+ COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish
+
+extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl))
+
+# less strict; prefer bzip2
+AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip
+# where devtools install m4 snippets
+# argh, executed literally
+#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal
+ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal
+
+Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common
+ cmp -s $< $@ || cp -f $< $@
+
+# create bzip2ed tar and make some sanity checks
+$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2
+ @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \
+ echo "Error: created tar is empty" ; \
+ exit 1 ; \
+ fi
+
+CLEANFILES =
+MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec
+
+POT_DST = $(shell find -type d -name testsuite -prune , \
+ -type f -name "*.pot")
+
+EXTRA_DIST = \
+ VERSION RPMNAME MAINTAINER configure.in.in \
+ $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \
+ $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST))
+
+show-extra-dist:
+ @echo $(EXTRA_DIST)
+
+# info '(automake)Conditionals'
+if CREATE_PKGCONFIG
+# create the file here instead of by configure
+# because the prerequisite is made here (not anymore!)
+# and we don't want any paths in y2autoconf
+# info '(autoconf)config.status Invocation'
+$(RPMNAME).pc: $(RPMNAME).pc.in config.status
+ ./config.status --file=$@:$<
+
+if CREATE_PKGCONFIG_NOARCH
+pkgconfigdata_DATA = $(RPMNAME).pc
+else
+pkgconfig_DATA = $(RPMNAME).pc
+endif
+
+EXTRA_DIST += $(RPMNAME).pc.in
+endif
+
+dist-hook:
+ @for I in $(extra_COPYRIGHT_files) ; \
+ do \
+ EX="" ; \
+ if test -f $(srcdir)/$$I ; then \
+ EX=$(srcdir)/$$I ; \
+ elif test -f $(LEGALESE_DIR)/$$I ; then \
+ EX=$(LEGALESE_DIR)/$$I ; \
+ else \
+ echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \
+ exit 1 ; \
+ fi ; \
+ echo "cp $$EX $(distdir)" ; \
+ cp $$EX "$(distdir)" ; \
+ done
+
+pot:
+ $(Y2TOOL) y2makepot -s $(srcdir)
+
+install-pot: pot
+ @POT_DST=`find -type d -name testsuite -prune , \
+ -type f -name "*.pot"` ; \
+ if [ -n "$$POT_DST" ] ; then \
+ echo "mkdir -p $(DESTDIR)$(potdir)" ; \
+ mkdir -p $(DESTDIR)$(potdir) ; \
+ list="$$POT_DST"; \
+ for I in $$list ; \
+ do \
+ echo $$I ; \
+ if [ "$$I" == "pot" ] ; then \
+ continue ; \
+ fi ; \
+ echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \
+ $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \
+ done ; \
+ fi
+
+spellcheck: pot
+ $(Y2TOOL) pot-spellcheck
+
+# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST))
+
+install-data-local: # $(if $(IS_DEVTOOLS),,install-pot)
+ mkdir -p $(DESTDIR)$(docdir)
+ @for I in $(extra_COPYRIGHT_files) ; \
+ do \
+ EX="" ; \
+ if test -f $(srcdir)/$$I ; then \
+ EX=$(srcdir)/$$I ; \
+ elif test -f $(LEGALESE_DIR)/$$I ; then \
+ EX=$(LEGALESE_DIR)/$$I ; \
+ else \
+ echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \
+ exit 1 ; \
+ fi ; \
+ echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \
+ $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \
+ done
+
+package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2
+ rm -f package/$(RPMNAME)-*.tar.bz2
+ rm -f package/*~
+ rm -f package/*.bak
+ rm -f package/*.auto
+ mv $(RPMNAME)-$(VERSION).tar.bz2 package/
+ if ! test -x $(Y2TOOL); then \
+ echo "$(Y2TOOL): not found."; \
+ echo "You have to install yast2-devtools to making a package"; \
+ false; \
+ fi
+ here=`pwd`; \
+ cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \
+ newname="`echo "$$i" | sed "s/\.in$$//g"`"; \
+ $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \
+ done
+
+package: check-up-to-date check-tagversion check-textdomain package-local
+
+TAGVERSION = $(Y2TOOL) tagversion
+
+# check if there is no modified files and all commits were pushed
+check-up-to-date:
+ if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \
+ (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \
+ fi
+
+check-tagversion:
+ cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \
+ [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false )
+
+check-parse-old:
+ @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \
+ echo "Running parseycp..." ; \
+ parseycp -q -R ; \
+ else \
+ echo "Not running parseycp." ; \
+ fi
+
+check-parse:
+ @echo "Not running parseycp."
+
+check-textdomain:
+ $(Y2TOOL) check-textdomain $(srcdir)
+
+stable: checkin-stable
+
+checkin-stable: package
+ $(Y2TOOL) checkin-stable
+
+
+# For po/ modules
+checkpo:
+ test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo
+# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox
+# Contents of ./SUBDIRS
+SUBDIRS = po
Added: branches/SLE12-SP1/yast/en_GB/configure.ac
===================================================================
--- branches/SLE12-SP1/yast/en_GB/configure.ac (rev 0)
+++ branches/SLE12-SP1/yast/en_GB/configure.ac 2015-09-15 09:36:02 UTC (rev 92730)
@@ -0,0 +1,184 @@
+dnl configure.ac for yast2-trans-en_GB
+dnl
+dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! --
+dnl (edit configure.ac.in or configure.in.in instead)
+
+AC_INIT(yast2-trans-en_GB, 3.0.0, http://bugs.opensuse.org/, yast2-trans-en_GB)
+dnl Check for presence of file 'RPMNAME'
+AC_CONFIG_SRCDIR([RPMNAME])
+
+dnl Checking host/target/build systems, for make, install etc.
+AC_CANONICAL_TARGET
+dnl Perform program name transformation
+AC_ARG_PROGRAM
+
+AC_PREFIX_DEFAULT(/usr)
+
+dnl long filenames; we use GNU Make extensions and that's ok
+AM_INIT_AUTOMAKE(tar-ustar -Wno-portability)
+
+dnl Important YaST2 variables
+VERSION="3.0.0"
+RPMNAME="yast2-trans-en_GB"
+MAINTAINER="Karl Eichwalder <ke(a)suse.de>"
+
+dnl pkgconfig honors lib64
+pkgconfigdir=\${libdir}/pkgconfig
+pkgconfigdatadir=\${datadir}/pkgconfig
+yast2dir=\${prefix}/share/YaST2
+
+ybindir=\${prefix}/lib/YaST2/bin
+# FIXME duplicates execcompdir
+ystartupdir=\${prefix}/lib/YaST2
+plugindir=\${libdir}/YaST2/plugin
+includedir=\${prefix}/include/YaST2
+potdir=\${docdir}/pot
+
+docdir=\${prefix}/share/doc/packages/$RPMNAME
+mandir=\${prefix}/share/man
+
+execcompdir=\${prefix}/lib/YaST2
+agentdir=${execcompdir}/servers_non_y2
+
+ydatadir=${yast2dir}/data
+imagedir=${yast2dir}/images
+themedir=${yast2dir}/theme
+localedir=${yast2dir}/locale
+clientdir=${yast2dir}/clients
+moduledir=${yast2dir}/modules
+yncludedir=${yast2dir}/include
+schemadir=${yast2dir}/schema
+scrconfdir=${yast2dir}/scrconf
+desktopdir=\${prefix}/share/applications/YaST2
+
+AC_SUBST(VERSION)
+AC_SUBST(RPMNAME)
+AC_SUBST(MAINTAINER)
+
+AC_SUBST(pkgconfigdir)
+AC_SUBST(pkgconfigdatadir)
+
+AC_SUBST(yast2dir)
+
+AC_SUBST(ybindir)
+AC_SUBST(ystartupdir)
+AC_SUBST(plugindir)
+AC_SUBST(includedir)
+AC_SUBST(potdir)
+AC_SUBST(execcompdir)
+
+AC_SUBST(docdir)
+AC_SUBST(mandir)
+
+AC_SUBST(ydatadir)
+AC_SUBST(imagedir)
+AC_SUBST(themedir)
+AC_SUBST(localedir)
+AC_SUBST(clientdir)
+AC_SUBST(moduledir)
+AC_SUBST(yncludedir)
+AC_SUBST(schemadir)
+AC_SUBST(scrconfdir)
+AC_SUBST(agentdir)
+AC_SUBST(desktopdir)
+
+fillupdir_d="/var/adm/fillup-templates"
+AC_ARG_WITH(fillupdir,
+ AS_HELP_STRING([--with-fillupdir=DIR],
+ [where to place fillup templates (default $fillupdir_d.]),
+ [ fillupdir="$withval" ],
+ [ fillupdir="$fillupdir_d" ])
+AC_SUBST(fillupdir)
+
+LL=${RPMNAME##*-}
+AC_SUBST(LL)
+ISO639=${LL%_*}
+AC_SUBST(ISO639)
+
+AC_ARG_WITH(own_compendium,
+ AS_HELP_STRING([--with-own_compendium=FILE],
+ [Location of compendium file]),
+ y2compendium=yes, y2compendium=no)
+if test "x$with_own_compendium" = "x" ; then
+ if test -d ../50-memory ; then
+ COMPENDIUM='../../50-memory/yast2.$(LL).po'
+ else
+ COMPENDIUM='../../memory/yast2.$(LL).po'
+ fi
+else
+ COMPENDIUM=${with_own_compendium}
+fi
+AC_SUBST(COMPENDIUM)
+if test -d ../50-pot ; then
+ POTDIR=../../50-pot
+else
+ POTDIR=../../pot/pot
+fi
+AC_SUBST(POTDIR)
+
+
+dnl Checks for programs.
+AC_PROG_INSTALL
+dnl The YCP interpreter checks whether dependent ybc files are older
+dnl so we must preserve their timestamps
+INSTALL="${INSTALL} -p"
+AC_PROG_LN_S
+AC_PROG_MAKE_SET
+
+dnl pkgconfig
+AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files])
+dnl devtools
+dnl ...
+
+dnl no need for AC_ARG_VAR
+AC_PATH_PROG(XGETTEXT, xgettext)
+if test -z "$XGETTEXT" ; then
+ AC_MSG_ERROR(xgettext is missing; please install gettext-tools.)
+fi
+
+Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools`
+AC_SUBST(Y2DEVTOOLS_PREFIX)
+devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools`
+devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools`
+
+dnl producing pkg-config for others?
+AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x)
+AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch)
+
+dbdir=${devtools_yast2dir}/data/docbook
+STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl
+STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl
+STYLESHEET_CSS=${dbdir}/css/yast2docs.css
+STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl
+STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl
+AC_SUBST(STYLESHEET_HTML)
+AC_SUBST(STYLESHEET_PDF)
+AC_SUBST(STYLESHEET_CSS)
+AC_SUBST(STYLESHEET_YDOC)
+AC_SUBST(STYLESHEET_YCPDOC)
+
+
+dnl searches for some needed programs
+AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin)
+if test x$MSGFMT != x"/usr/bin/msgfmt"; then
+ AC_MSG_ERROR(msgfmt is missing; please install gettext.)
+fi
+AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no)
+if test x$MSGCAT = xno; then
+ AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.)
+fi
+
+AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin)
+if test x$MSGMERGE != x"/usr/bin/msgmerge"; then
+ AC_MSG_ERROR(msgmerge is missing; please install gettext.)
+fi
+
+AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin)
+if test x$MSGCONV != x"/usr/bin/msgconv"; then
+ AC_MSG_ERROR(msgconv is missing; please install gettext.)
+fi
+
+
+AC_CONFIG_FILES(Makefile po/Makefile)
+AC_OUTPUT
+
Added: branches/SLE12-SP1/yast/en_GB/po/Makefile.am
===================================================================
--- branches/SLE12-SP1/yast/en_GB/po/Makefile.am (rev 0)
+++ branches/SLE12-SP1/yast/en_GB/po/Makefile.am 2015-09-15 09:36:02 UTC (rev 92730)
@@ -0,0 +1,175 @@
+# Emacs: -*- makefile -*-
+#
+# Makefile.am for a YaST2 translation (po/) subproject
+#
+# -- This file is generated by y2automake - DO NOT EDIT! --
+#
+# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top ---
+# Emacs: -*- makefile -*-
+# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top ---
+# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center ---
+# Emacs: -*- makefile -*-
+
+LL = @LL@
+#POTDIR = ../../50-pot
+POTDIR = @POTDIR@
+POTFILES = $(wildcard $(POTDIR)/*.pot)
+GENERATED = $(MOFILES)
+CLEANFILES = $(GENERATED)
+POFILES = $(wildcard *.po)
+ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES)))
+BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business)
+WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS))
+WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS))
+MOFILES = $(POFILES:%.po=%.mo)
+INST_MOFILES = $(MOFILES:.$(LL).mo=.mo)
+POXFILES = $(POFILES:%.po=%.pox)
+EXTRA_DIST = $(WANTED_POFILES) $(stat)
+localedir=@localedir@
+locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES
+compendium = @COMPENDIUM@
+with_compendium =
+
+stat=status.txt
+PO_STATS= grep -v warning: | @ybindir@/po-stats
+
+MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous
+MSGFMT = @MSGFMT@
+MSGCAT = @MSGCAT@ --no-wrap --force-po
+MSGCONV = @MSGCONV@ --no-wrap --force-po
+XGETTEXT = @XGETTEXT@ --no-wrap
+
+SUFFIXES = .po .pox .gmo .mo
+
+all-local: $(GENERATED)
+
+make-pox pox: Makefile $(POXFILES)
+$(POXFILES): %.pox: %.po
+ -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \
+ pot=$$(echo $< | sed "s:$(LL).po:pot:"); \
+ compendium=$(compendium); \
+ [ -f $$compendium ] || compendium=/dev/null ; \
+ $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot
+
+# update or init PO file
+update-po: Makefile $(POTFILES)
+ for p in $(POTFILES); do \
+ q=$${p##*/}; \
+ po=$${q%pot}$(LL).po; \
+ echo $$po; \
+ if [ -f $$po ]; then \
+ $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \
+ else \
+ $(MSGMERGE) -o $$po.tmp -C $(compendium) \
+ --verbose /dev/null $$p; \
+ fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \
+ rm -f $$po.tmp ; }; \
+ if cmp $$po.tmp $$po >/dev/null 2>&1; then \
+ rm -vf $$po.tmp; \
+ else \
+ mv -vf $$po.tmp $$po; \
+ fi; \
+ done
+ $(MAKE) $(stat)
+
+$(stat): $(WANTED_POFILES)
+ if [ -f $(stat) ]; then \
+ cp --backup=numbered $(stat) $(stat).bak; \
+ :> $(stat); \
+ fi
+ { for f in $(WANTED_POFILES); do \
+ LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \
+ done ; } | $(PO_STATS) | head -n 6 | tee $(stat)
+
+update-po-with-compendium:
+ $(MAKE) update-po with_compendium="-C $(compendium)"
+
+update-mo: $(MOFILES)
+ @:
+
+%.mo: %.po
+ file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \
+ && rm -f $$file \
+ && $(MSGCONV) --to UTF-8 $< \
+ | $(MSGFMT) -c --statistics -o $$file -
+
+showpo:
+ echo $(POFILES)
+
+showmo:
+ echo $(MOFILES)
+
+checkpo:
+ for f in $(POFILES); do \
+ mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \
+ [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \
+ LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \
+ || exit 1; \
+ done
+
+# Try to checkin a .pox file
+# FIXME make sure msgcat doesn't weird things with "" and comments
+checkin:
+ p=$(MODULE).$(ci_ll); \
+ cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \
+ if [ -d CVS ]; then \
+ cvs -n update $$p.po | grep -q -v '^[UPMC]'; \
+ else \
+ LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \
+ fi; \
+ if [ $$? = 0 ]; then \
+ echo "CVS/Subversion mismatch; trying to merge..."; \
+ rm -f $$p.po; \
+ if [ -d CVS ]; then \
+ cvs -q update $$p.po; \
+ else \
+ svn update $$p.po; \
+ fi; \
+ cp $$p.pox $$p.pox.new; \
+ $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \
+ echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \
+ $(MSGFMT) --check --statistics $$p.pox; \
+ echo -e "Then try again to checkin \"$$p.pox\"."; \
+ else \
+ cp $(ci_opt) $$p.pox $$p.po; \
+ if [ -d CVS ]; then \
+ cvs -n ci $$p.po; \
+ else \
+ svn --dry-run commit $$p.po; \
+ fi; \
+ if [ $$? = 0 ] ; then \
+ if [ -d CVS ]; then \
+ cvs ci -m "$(ci_msg)" $$p.po; \
+ else \
+ svn commit --message "$(ci_msg)" $$p.po; \
+ fi; \
+ else \
+ rm -f $$p.po; \
+ if [ -d CVS ]; then \
+ cvs -q update $$p.po; \
+ else \
+ svn update $$p.po; \
+ fi; \
+ cp $$p.pox $$p.pox.new; \
+ $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \
+ echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \
+ $(MSGFMT) --check --statistics $$p.pox; \
+ echo "Then try to checkin \"$$p.pox\"."; \
+ fi; \
+ fi
+
+install-data-local: $(MOFILES) $(stat)
+ D=$(DESTDIR)$(locale_lang_msg_dir); \
+ [ -d $$D ] || install -d -m 755 $$D; \
+ for l in $(MOFILES); do \
+ m=$${l/$(LL).mo/mo}; \
+ install -m 644 $$l $$D/$$m; \
+ done
+ install -d -m 755 $(DESTDIR)$(docdir)
+ $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir)
+# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center ---
+# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom ---
+# Emacs: -*- makefile -*-
+
+## po/Makefile.am.bottom ends here
+# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom ---
1
0
[opensuse-translation-commit] r92729 - in branches/SLE12-SP1/yast/uk: . po
by keichwa@svn2.opensuse.org 15 Sep '15
by keichwa@svn2.opensuse.org 15 Sep '15
15 Sep '15
Author: keichwa
Date: 2015-09-15 11:35:59 +0200 (Tue, 15 Sep 2015)
New Revision: 92729
Added:
branches/SLE12-SP1/yast/uk/Makefile.am
branches/SLE12-SP1/yast/uk/configure.ac
branches/SLE12-SP1/yast/uk/po/Makefile.am
Log:
new
Added: branches/SLE12-SP1/yast/uk/Makefile.am
===================================================================
--- branches/SLE12-SP1/yast/uk/Makefile.am (rev 0)
+++ branches/SLE12-SP1/yast/uk/Makefile.am 2015-09-15 09:35:59 UTC (rev 92729)
@@ -0,0 +1,196 @@
+# Emacs: -*- makefile -*-
+#
+# Toplevel Makefile.am for a YaST2 subproject
+#
+# -- This file is generated by y2automake - DO NOT EDIT! --
+# (Edit ./SUBDIRS instead)
+#
+
+#where devtools are
+Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool
+
+VERSION = $(shell cat $(srcdir)/VERSION)
+RPMNAME = $(shell cat $(srcdir)/RPMNAME)
+SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS)
+ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4)
+
+HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE)
+
+# do we do Makefile.am for devtools? It is a little special...
+IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME))
+
+DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools)
+LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl)
+
+COPYRIGHT_files_gpl = README COPYING
+
+COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \
+ COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish
+
+extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl))
+
+# less strict; prefer bzip2
+AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip
+# where devtools install m4 snippets
+# argh, executed literally
+#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal
+ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal
+
+Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common
+ cmp -s $< $@ || cp -f $< $@
+
+# create bzip2ed tar and make some sanity checks
+$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2
+ @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \
+ echo "Error: created tar is empty" ; \
+ exit 1 ; \
+ fi
+
+CLEANFILES =
+MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec
+
+POT_DST = $(shell find -type d -name testsuite -prune , \
+ -type f -name "*.pot")
+
+EXTRA_DIST = \
+ VERSION RPMNAME MAINTAINER configure.in.in \
+ $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \
+ $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST))
+
+show-extra-dist:
+ @echo $(EXTRA_DIST)
+
+# info '(automake)Conditionals'
+if CREATE_PKGCONFIG
+# create the file here instead of by configure
+# because the prerequisite is made here (not anymore!)
+# and we don't want any paths in y2autoconf
+# info '(autoconf)config.status Invocation'
+$(RPMNAME).pc: $(RPMNAME).pc.in config.status
+ ./config.status --file=$@:$<
+
+if CREATE_PKGCONFIG_NOARCH
+pkgconfigdata_DATA = $(RPMNAME).pc
+else
+pkgconfig_DATA = $(RPMNAME).pc
+endif
+
+EXTRA_DIST += $(RPMNAME).pc.in
+endif
+
+dist-hook:
+ @for I in $(extra_COPYRIGHT_files) ; \
+ do \
+ EX="" ; \
+ if test -f $(srcdir)/$$I ; then \
+ EX=$(srcdir)/$$I ; \
+ elif test -f $(LEGALESE_DIR)/$$I ; then \
+ EX=$(LEGALESE_DIR)/$$I ; \
+ else \
+ echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \
+ exit 1 ; \
+ fi ; \
+ echo "cp $$EX $(distdir)" ; \
+ cp $$EX "$(distdir)" ; \
+ done
+
+pot:
+ $(Y2TOOL) y2makepot -s $(srcdir)
+
+install-pot: pot
+ @POT_DST=`find -type d -name testsuite -prune , \
+ -type f -name "*.pot"` ; \
+ if [ -n "$$POT_DST" ] ; then \
+ echo "mkdir -p $(DESTDIR)$(potdir)" ; \
+ mkdir -p $(DESTDIR)$(potdir) ; \
+ list="$$POT_DST"; \
+ for I in $$list ; \
+ do \
+ echo $$I ; \
+ if [ "$$I" == "pot" ] ; then \
+ continue ; \
+ fi ; \
+ echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \
+ $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \
+ done ; \
+ fi
+
+spellcheck: pot
+ $(Y2TOOL) pot-spellcheck
+
+# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST))
+
+install-data-local: # $(if $(IS_DEVTOOLS),,install-pot)
+ mkdir -p $(DESTDIR)$(docdir)
+ @for I in $(extra_COPYRIGHT_files) ; \
+ do \
+ EX="" ; \
+ if test -f $(srcdir)/$$I ; then \
+ EX=$(srcdir)/$$I ; \
+ elif test -f $(LEGALESE_DIR)/$$I ; then \
+ EX=$(LEGALESE_DIR)/$$I ; \
+ else \
+ echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \
+ exit 1 ; \
+ fi ; \
+ echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \
+ $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \
+ done
+
+package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2
+ rm -f package/$(RPMNAME)-*.tar.bz2
+ rm -f package/*~
+ rm -f package/*.bak
+ rm -f package/*.auto
+ mv $(RPMNAME)-$(VERSION).tar.bz2 package/
+ if ! test -x $(Y2TOOL); then \
+ echo "$(Y2TOOL): not found."; \
+ echo "You have to install yast2-devtools to making a package"; \
+ false; \
+ fi
+ here=`pwd`; \
+ cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \
+ newname="`echo "$$i" | sed "s/\.in$$//g"`"; \
+ $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \
+ done
+
+package: check-up-to-date check-tagversion check-textdomain package-local
+
+TAGVERSION = $(Y2TOOL) tagversion
+
+# check if there is no modified files and all commits were pushed
+check-up-to-date:
+ if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \
+ (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \
+ fi
+
+check-tagversion:
+ cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \
+ [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false )
+
+check-parse-old:
+ @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \
+ echo "Running parseycp..." ; \
+ parseycp -q -R ; \
+ else \
+ echo "Not running parseycp." ; \
+ fi
+
+check-parse:
+ @echo "Not running parseycp."
+
+check-textdomain:
+ $(Y2TOOL) check-textdomain $(srcdir)
+
+stable: checkin-stable
+
+checkin-stable: package
+ $(Y2TOOL) checkin-stable
+
+
+# For po/ modules
+checkpo:
+ test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo
+# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox
+# Contents of ./SUBDIRS
+SUBDIRS = po
Added: branches/SLE12-SP1/yast/uk/configure.ac
===================================================================
--- branches/SLE12-SP1/yast/uk/configure.ac (rev 0)
+++ branches/SLE12-SP1/yast/uk/configure.ac 2015-09-15 09:35:59 UTC (rev 92729)
@@ -0,0 +1,184 @@
+dnl configure.ac for yast2-trans-uk
+dnl
+dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! --
+dnl (edit configure.ac.in or configure.in.in instead)
+
+AC_INIT(yast2-trans-uk, 3.0.0, http://bugs.opensuse.org/, yast2-trans-uk)
+dnl Check for presence of file 'RPMNAME'
+AC_CONFIG_SRCDIR([RPMNAME])
+
+dnl Checking host/target/build systems, for make, install etc.
+AC_CANONICAL_TARGET
+dnl Perform program name transformation
+AC_ARG_PROGRAM
+
+AC_PREFIX_DEFAULT(/usr)
+
+dnl long filenames; we use GNU Make extensions and that's ok
+AM_INIT_AUTOMAKE(tar-ustar -Wno-portability)
+
+dnl Important YaST2 variables
+VERSION="3.0.0"
+RPMNAME="yast2-trans-uk"
+MAINTAINER="Karl Eichwalder <ke(a)suse.de>"
+
+dnl pkgconfig honors lib64
+pkgconfigdir=\${libdir}/pkgconfig
+pkgconfigdatadir=\${datadir}/pkgconfig
+yast2dir=\${prefix}/share/YaST2
+
+ybindir=\${prefix}/lib/YaST2/bin
+# FIXME duplicates execcompdir
+ystartupdir=\${prefix}/lib/YaST2
+plugindir=\${libdir}/YaST2/plugin
+includedir=\${prefix}/include/YaST2
+potdir=\${docdir}/pot
+
+docdir=\${prefix}/share/doc/packages/$RPMNAME
+mandir=\${prefix}/share/man
+
+execcompdir=\${prefix}/lib/YaST2
+agentdir=${execcompdir}/servers_non_y2
+
+ydatadir=${yast2dir}/data
+imagedir=${yast2dir}/images
+themedir=${yast2dir}/theme
+localedir=${yast2dir}/locale
+clientdir=${yast2dir}/clients
+moduledir=${yast2dir}/modules
+yncludedir=${yast2dir}/include
+schemadir=${yast2dir}/schema
+scrconfdir=${yast2dir}/scrconf
+desktopdir=\${prefix}/share/applications/YaST2
+
+AC_SUBST(VERSION)
+AC_SUBST(RPMNAME)
+AC_SUBST(MAINTAINER)
+
+AC_SUBST(pkgconfigdir)
+AC_SUBST(pkgconfigdatadir)
+
+AC_SUBST(yast2dir)
+
+AC_SUBST(ybindir)
+AC_SUBST(ystartupdir)
+AC_SUBST(plugindir)
+AC_SUBST(includedir)
+AC_SUBST(potdir)
+AC_SUBST(execcompdir)
+
+AC_SUBST(docdir)
+AC_SUBST(mandir)
+
+AC_SUBST(ydatadir)
+AC_SUBST(imagedir)
+AC_SUBST(themedir)
+AC_SUBST(localedir)
+AC_SUBST(clientdir)
+AC_SUBST(moduledir)
+AC_SUBST(yncludedir)
+AC_SUBST(schemadir)
+AC_SUBST(scrconfdir)
+AC_SUBST(agentdir)
+AC_SUBST(desktopdir)
+
+fillupdir_d="/var/adm/fillup-templates"
+AC_ARG_WITH(fillupdir,
+ AS_HELP_STRING([--with-fillupdir=DIR],
+ [where to place fillup templates (default $fillupdir_d.]),
+ [ fillupdir="$withval" ],
+ [ fillupdir="$fillupdir_d" ])
+AC_SUBST(fillupdir)
+
+LL=${RPMNAME##*-}
+AC_SUBST(LL)
+ISO639=${LL%_*}
+AC_SUBST(ISO639)
+
+AC_ARG_WITH(own_compendium,
+ AS_HELP_STRING([--with-own_compendium=FILE],
+ [Location of compendium file]),
+ y2compendium=yes, y2compendium=no)
+if test "x$with_own_compendium" = "x" ; then
+ if test -d ../50-memory ; then
+ COMPENDIUM='../../50-memory/yast2.$(LL).po'
+ else
+ COMPENDIUM='../../memory/yast2.$(LL).po'
+ fi
+else
+ COMPENDIUM=${with_own_compendium}
+fi
+AC_SUBST(COMPENDIUM)
+if test -d ../50-pot ; then
+ POTDIR=../../50-pot
+else
+ POTDIR=../../pot/pot
+fi
+AC_SUBST(POTDIR)
+
+
+dnl Checks for programs.
+AC_PROG_INSTALL
+dnl The YCP interpreter checks whether dependent ybc files are older
+dnl so we must preserve their timestamps
+INSTALL="${INSTALL} -p"
+AC_PROG_LN_S
+AC_PROG_MAKE_SET
+
+dnl pkgconfig
+AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files])
+dnl devtools
+dnl ...
+
+dnl no need for AC_ARG_VAR
+AC_PATH_PROG(XGETTEXT, xgettext)
+if test -z "$XGETTEXT" ; then
+ AC_MSG_ERROR(xgettext is missing; please install gettext-tools.)
+fi
+
+Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools`
+AC_SUBST(Y2DEVTOOLS_PREFIX)
+devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools`
+devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools`
+
+dnl producing pkg-config for others?
+AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x)
+AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch)
+
+dbdir=${devtools_yast2dir}/data/docbook
+STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl
+STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl
+STYLESHEET_CSS=${dbdir}/css/yast2docs.css
+STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl
+STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl
+AC_SUBST(STYLESHEET_HTML)
+AC_SUBST(STYLESHEET_PDF)
+AC_SUBST(STYLESHEET_CSS)
+AC_SUBST(STYLESHEET_YDOC)
+AC_SUBST(STYLESHEET_YCPDOC)
+
+
+dnl searches for some needed programs
+AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin)
+if test x$MSGFMT != x"/usr/bin/msgfmt"; then
+ AC_MSG_ERROR(msgfmt is missing; please install gettext.)
+fi
+AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no)
+if test x$MSGCAT = xno; then
+ AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.)
+fi
+
+AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin)
+if test x$MSGMERGE != x"/usr/bin/msgmerge"; then
+ AC_MSG_ERROR(msgmerge is missing; please install gettext.)
+fi
+
+AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin)
+if test x$MSGCONV != x"/usr/bin/msgconv"; then
+ AC_MSG_ERROR(msgconv is missing; please install gettext.)
+fi
+
+
+AC_CONFIG_FILES(Makefile po/Makefile)
+AC_OUTPUT
+
Added: branches/SLE12-SP1/yast/uk/po/Makefile.am
===================================================================
--- branches/SLE12-SP1/yast/uk/po/Makefile.am (rev 0)
+++ branches/SLE12-SP1/yast/uk/po/Makefile.am 2015-09-15 09:35:59 UTC (rev 92729)
@@ -0,0 +1,175 @@
+# Emacs: -*- makefile -*-
+#
+# Makefile.am for a YaST2 translation (po/) subproject
+#
+# -- This file is generated by y2automake - DO NOT EDIT! --
+#
+# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top ---
+# Emacs: -*- makefile -*-
+# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top ---
+# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center ---
+# Emacs: -*- makefile -*-
+
+LL = @LL@
+#POTDIR = ../../50-pot
+POTDIR = @POTDIR@
+POTFILES = $(wildcard $(POTDIR)/*.pot)
+GENERATED = $(MOFILES)
+CLEANFILES = $(GENERATED)
+POFILES = $(wildcard *.po)
+ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES)))
+BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business)
+WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS))
+WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS))
+MOFILES = $(POFILES:%.po=%.mo)
+INST_MOFILES = $(MOFILES:.$(LL).mo=.mo)
+POXFILES = $(POFILES:%.po=%.pox)
+EXTRA_DIST = $(WANTED_POFILES) $(stat)
+localedir=@localedir@
+locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES
+compendium = @COMPENDIUM@
+with_compendium =
+
+stat=status.txt
+PO_STATS= grep -v warning: | @ybindir@/po-stats
+
+MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous
+MSGFMT = @MSGFMT@
+MSGCAT = @MSGCAT@ --no-wrap --force-po
+MSGCONV = @MSGCONV@ --no-wrap --force-po
+XGETTEXT = @XGETTEXT@ --no-wrap
+
+SUFFIXES = .po .pox .gmo .mo
+
+all-local: $(GENERATED)
+
+make-pox pox: Makefile $(POXFILES)
+$(POXFILES): %.pox: %.po
+ -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \
+ pot=$$(echo $< | sed "s:$(LL).po:pot:"); \
+ compendium=$(compendium); \
+ [ -f $$compendium ] || compendium=/dev/null ; \
+ $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot
+
+# update or init PO file
+update-po: Makefile $(POTFILES)
+ for p in $(POTFILES); do \
+ q=$${p##*/}; \
+ po=$${q%pot}$(LL).po; \
+ echo $$po; \
+ if [ -f $$po ]; then \
+ $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \
+ else \
+ $(MSGMERGE) -o $$po.tmp -C $(compendium) \
+ --verbose /dev/null $$p; \
+ fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \
+ rm -f $$po.tmp ; }; \
+ if cmp $$po.tmp $$po >/dev/null 2>&1; then \
+ rm -vf $$po.tmp; \
+ else \
+ mv -vf $$po.tmp $$po; \
+ fi; \
+ done
+ $(MAKE) $(stat)
+
+$(stat): $(WANTED_POFILES)
+ if [ -f $(stat) ]; then \
+ cp --backup=numbered $(stat) $(stat).bak; \
+ :> $(stat); \
+ fi
+ { for f in $(WANTED_POFILES); do \
+ LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \
+ done ; } | $(PO_STATS) | head -n 6 | tee $(stat)
+
+update-po-with-compendium:
+ $(MAKE) update-po with_compendium="-C $(compendium)"
+
+update-mo: $(MOFILES)
+ @:
+
+%.mo: %.po
+ file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \
+ && rm -f $$file \
+ && $(MSGCONV) --to UTF-8 $< \
+ | $(MSGFMT) -c --statistics -o $$file -
+
+showpo:
+ echo $(POFILES)
+
+showmo:
+ echo $(MOFILES)
+
+checkpo:
+ for f in $(POFILES); do \
+ mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \
+ [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \
+ LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \
+ || exit 1; \
+ done
+
+# Try to checkin a .pox file
+# FIXME make sure msgcat doesn't weird things with "" and comments
+checkin:
+ p=$(MODULE).$(ci_ll); \
+ cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \
+ if [ -d CVS ]; then \
+ cvs -n update $$p.po | grep -q -v '^[UPMC]'; \
+ else \
+ LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \
+ fi; \
+ if [ $$? = 0 ]; then \
+ echo "CVS/Subversion mismatch; trying to merge..."; \
+ rm -f $$p.po; \
+ if [ -d CVS ]; then \
+ cvs -q update $$p.po; \
+ else \
+ svn update $$p.po; \
+ fi; \
+ cp $$p.pox $$p.pox.new; \
+ $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \
+ echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \
+ $(MSGFMT) --check --statistics $$p.pox; \
+ echo -e "Then try again to checkin \"$$p.pox\"."; \
+ else \
+ cp $(ci_opt) $$p.pox $$p.po; \
+ if [ -d CVS ]; then \
+ cvs -n ci $$p.po; \
+ else \
+ svn --dry-run commit $$p.po; \
+ fi; \
+ if [ $$? = 0 ] ; then \
+ if [ -d CVS ]; then \
+ cvs ci -m "$(ci_msg)" $$p.po; \
+ else \
+ svn commit --message "$(ci_msg)" $$p.po; \
+ fi; \
+ else \
+ rm -f $$p.po; \
+ if [ -d CVS ]; then \
+ cvs -q update $$p.po; \
+ else \
+ svn update $$p.po; \
+ fi; \
+ cp $$p.pox $$p.pox.new; \
+ $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \
+ echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \
+ $(MSGFMT) --check --statistics $$p.pox; \
+ echo "Then try to checkin \"$$p.pox\"."; \
+ fi; \
+ fi
+
+install-data-local: $(MOFILES) $(stat)
+ D=$(DESTDIR)$(locale_lang_msg_dir); \
+ [ -d $$D ] || install -d -m 755 $$D; \
+ for l in $(MOFILES); do \
+ m=$${l/$(LL).mo/mo}; \
+ install -m 644 $$l $$D/$$m; \
+ done
+ install -d -m 755 $(DESTDIR)$(docdir)
+ $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir)
+# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center ---
+# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom ---
+# Emacs: -*- makefile -*-
+
+## po/Makefile.am.bottom ends here
+# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom ---
1
0
[opensuse-translation-commit] r92728 - in branches/SLE12-SP1/yast/tr: . po
by keichwa@svn2.opensuse.org 15 Sep '15
by keichwa@svn2.opensuse.org 15 Sep '15
15 Sep '15
Author: keichwa
Date: 2015-09-15 11:35:56 +0200 (Tue, 15 Sep 2015)
New Revision: 92728
Added:
branches/SLE12-SP1/yast/tr/Makefile.am
branches/SLE12-SP1/yast/tr/configure.ac
branches/SLE12-SP1/yast/tr/po/Makefile.am
Log:
new
Added: branches/SLE12-SP1/yast/tr/Makefile.am
===================================================================
--- branches/SLE12-SP1/yast/tr/Makefile.am (rev 0)
+++ branches/SLE12-SP1/yast/tr/Makefile.am 2015-09-15 09:35:56 UTC (rev 92728)
@@ -0,0 +1,196 @@
+# Emacs: -*- makefile -*-
+#
+# Toplevel Makefile.am for a YaST2 subproject
+#
+# -- This file is generated by y2automake - DO NOT EDIT! --
+# (Edit ./SUBDIRS instead)
+#
+
+#where devtools are
+Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool
+
+VERSION = $(shell cat $(srcdir)/VERSION)
+RPMNAME = $(shell cat $(srcdir)/RPMNAME)
+SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS)
+ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4)
+
+HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE)
+
+# do we do Makefile.am for devtools? It is a little special...
+IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME))
+
+DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools)
+LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl)
+
+COPYRIGHT_files_gpl = README COPYING
+
+COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \
+ COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish
+
+extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl))
+
+# less strict; prefer bzip2
+AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip
+# where devtools install m4 snippets
+# argh, executed literally
+#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal
+ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal
+
+Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common
+ cmp -s $< $@ || cp -f $< $@
+
+# create bzip2ed tar and make some sanity checks
+$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2
+ @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \
+ echo "Error: created tar is empty" ; \
+ exit 1 ; \
+ fi
+
+CLEANFILES =
+MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec
+
+POT_DST = $(shell find -type d -name testsuite -prune , \
+ -type f -name "*.pot")
+
+EXTRA_DIST = \
+ VERSION RPMNAME MAINTAINER configure.in.in \
+ $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \
+ $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST))
+
+show-extra-dist:
+ @echo $(EXTRA_DIST)
+
+# info '(automake)Conditionals'
+if CREATE_PKGCONFIG
+# create the file here instead of by configure
+# because the prerequisite is made here (not anymore!)
+# and we don't want any paths in y2autoconf
+# info '(autoconf)config.status Invocation'
+$(RPMNAME).pc: $(RPMNAME).pc.in config.status
+ ./config.status --file=$@:$<
+
+if CREATE_PKGCONFIG_NOARCH
+pkgconfigdata_DATA = $(RPMNAME).pc
+else
+pkgconfig_DATA = $(RPMNAME).pc
+endif
+
+EXTRA_DIST += $(RPMNAME).pc.in
+endif
+
+dist-hook:
+ @for I in $(extra_COPYRIGHT_files) ; \
+ do \
+ EX="" ; \
+ if test -f $(srcdir)/$$I ; then \
+ EX=$(srcdir)/$$I ; \
+ elif test -f $(LEGALESE_DIR)/$$I ; then \
+ EX=$(LEGALESE_DIR)/$$I ; \
+ else \
+ echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \
+ exit 1 ; \
+ fi ; \
+ echo "cp $$EX $(distdir)" ; \
+ cp $$EX "$(distdir)" ; \
+ done
+
+pot:
+ $(Y2TOOL) y2makepot -s $(srcdir)
+
+install-pot: pot
+ @POT_DST=`find -type d -name testsuite -prune , \
+ -type f -name "*.pot"` ; \
+ if [ -n "$$POT_DST" ] ; then \
+ echo "mkdir -p $(DESTDIR)$(potdir)" ; \
+ mkdir -p $(DESTDIR)$(potdir) ; \
+ list="$$POT_DST"; \
+ for I in $$list ; \
+ do \
+ echo $$I ; \
+ if [ "$$I" == "pot" ] ; then \
+ continue ; \
+ fi ; \
+ echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \
+ $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \
+ done ; \
+ fi
+
+spellcheck: pot
+ $(Y2TOOL) pot-spellcheck
+
+# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST))
+
+install-data-local: # $(if $(IS_DEVTOOLS),,install-pot)
+ mkdir -p $(DESTDIR)$(docdir)
+ @for I in $(extra_COPYRIGHT_files) ; \
+ do \
+ EX="" ; \
+ if test -f $(srcdir)/$$I ; then \
+ EX=$(srcdir)/$$I ; \
+ elif test -f $(LEGALESE_DIR)/$$I ; then \
+ EX=$(LEGALESE_DIR)/$$I ; \
+ else \
+ echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \
+ exit 1 ; \
+ fi ; \
+ echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \
+ $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \
+ done
+
+package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2
+ rm -f package/$(RPMNAME)-*.tar.bz2
+ rm -f package/*~
+ rm -f package/*.bak
+ rm -f package/*.auto
+ mv $(RPMNAME)-$(VERSION).tar.bz2 package/
+ if ! test -x $(Y2TOOL); then \
+ echo "$(Y2TOOL): not found."; \
+ echo "You have to install yast2-devtools to making a package"; \
+ false; \
+ fi
+ here=`pwd`; \
+ cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \
+ newname="`echo "$$i" | sed "s/\.in$$//g"`"; \
+ $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \
+ done
+
+package: check-up-to-date check-tagversion check-textdomain package-local
+
+TAGVERSION = $(Y2TOOL) tagversion
+
+# check if there is no modified files and all commits were pushed
+check-up-to-date:
+ if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \
+ (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \
+ fi
+
+check-tagversion:
+ cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \
+ [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false )
+
+check-parse-old:
+ @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \
+ echo "Running parseycp..." ; \
+ parseycp -q -R ; \
+ else \
+ echo "Not running parseycp." ; \
+ fi
+
+check-parse:
+ @echo "Not running parseycp."
+
+check-textdomain:
+ $(Y2TOOL) check-textdomain $(srcdir)
+
+stable: checkin-stable
+
+checkin-stable: package
+ $(Y2TOOL) checkin-stable
+
+
+# For po/ modules
+checkpo:
+ test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo
+# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox
+# Contents of ./SUBDIRS
+SUBDIRS = po
Added: branches/SLE12-SP1/yast/tr/configure.ac
===================================================================
--- branches/SLE12-SP1/yast/tr/configure.ac (rev 0)
+++ branches/SLE12-SP1/yast/tr/configure.ac 2015-09-15 09:35:56 UTC (rev 92728)
@@ -0,0 +1,184 @@
+dnl configure.ac for yast2-trans-tr
+dnl
+dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! --
+dnl (edit configure.ac.in or configure.in.in instead)
+
+AC_INIT(yast2-trans-tr, 3.0.0, http://bugs.opensuse.org/, yast2-trans-tr)
+dnl Check for presence of file 'RPMNAME'
+AC_CONFIG_SRCDIR([RPMNAME])
+
+dnl Checking host/target/build systems, for make, install etc.
+AC_CANONICAL_TARGET
+dnl Perform program name transformation
+AC_ARG_PROGRAM
+
+AC_PREFIX_DEFAULT(/usr)
+
+dnl long filenames; we use GNU Make extensions and that's ok
+AM_INIT_AUTOMAKE(tar-ustar -Wno-portability)
+
+dnl Important YaST2 variables
+VERSION="3.0.0"
+RPMNAME="yast2-trans-tr"
+MAINTAINER="Karl Eichwalder <ke(a)suse.de>"
+
+dnl pkgconfig honors lib64
+pkgconfigdir=\${libdir}/pkgconfig
+pkgconfigdatadir=\${datadir}/pkgconfig
+yast2dir=\${prefix}/share/YaST2
+
+ybindir=\${prefix}/lib/YaST2/bin
+# FIXME duplicates execcompdir
+ystartupdir=\${prefix}/lib/YaST2
+plugindir=\${libdir}/YaST2/plugin
+includedir=\${prefix}/include/YaST2
+potdir=\${docdir}/pot
+
+docdir=\${prefix}/share/doc/packages/$RPMNAME
+mandir=\${prefix}/share/man
+
+execcompdir=\${prefix}/lib/YaST2
+agentdir=${execcompdir}/servers_non_y2
+
+ydatadir=${yast2dir}/data
+imagedir=${yast2dir}/images
+themedir=${yast2dir}/theme
+localedir=${yast2dir}/locale
+clientdir=${yast2dir}/clients
+moduledir=${yast2dir}/modules
+yncludedir=${yast2dir}/include
+schemadir=${yast2dir}/schema
+scrconfdir=${yast2dir}/scrconf
+desktopdir=\${prefix}/share/applications/YaST2
+
+AC_SUBST(VERSION)
+AC_SUBST(RPMNAME)
+AC_SUBST(MAINTAINER)
+
+AC_SUBST(pkgconfigdir)
+AC_SUBST(pkgconfigdatadir)
+
+AC_SUBST(yast2dir)
+
+AC_SUBST(ybindir)
+AC_SUBST(ystartupdir)
+AC_SUBST(plugindir)
+AC_SUBST(includedir)
+AC_SUBST(potdir)
+AC_SUBST(execcompdir)
+
+AC_SUBST(docdir)
+AC_SUBST(mandir)
+
+AC_SUBST(ydatadir)
+AC_SUBST(imagedir)
+AC_SUBST(themedir)
+AC_SUBST(localedir)
+AC_SUBST(clientdir)
+AC_SUBST(moduledir)
+AC_SUBST(yncludedir)
+AC_SUBST(schemadir)
+AC_SUBST(scrconfdir)
+AC_SUBST(agentdir)
+AC_SUBST(desktopdir)
+
+fillupdir_d="/var/adm/fillup-templates"
+AC_ARG_WITH(fillupdir,
+ AS_HELP_STRING([--with-fillupdir=DIR],
+ [where to place fillup templates (default $fillupdir_d.]),
+ [ fillupdir="$withval" ],
+ [ fillupdir="$fillupdir_d" ])
+AC_SUBST(fillupdir)
+
+LL=${RPMNAME##*-}
+AC_SUBST(LL)
+ISO639=${LL%_*}
+AC_SUBST(ISO639)
+
+AC_ARG_WITH(own_compendium,
+ AS_HELP_STRING([--with-own_compendium=FILE],
+ [Location of compendium file]),
+ y2compendium=yes, y2compendium=no)
+if test "x$with_own_compendium" = "x" ; then
+ if test -d ../50-memory ; then
+ COMPENDIUM='../../50-memory/yast2.$(LL).po'
+ else
+ COMPENDIUM='../../memory/yast2.$(LL).po'
+ fi
+else
+ COMPENDIUM=${with_own_compendium}
+fi
+AC_SUBST(COMPENDIUM)
+if test -d ../50-pot ; then
+ POTDIR=../../50-pot
+else
+ POTDIR=../../pot/pot
+fi
+AC_SUBST(POTDIR)
+
+
+dnl Checks for programs.
+AC_PROG_INSTALL
+dnl The YCP interpreter checks whether dependent ybc files are older
+dnl so we must preserve their timestamps
+INSTALL="${INSTALL} -p"
+AC_PROG_LN_S
+AC_PROG_MAKE_SET
+
+dnl pkgconfig
+AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files])
+dnl devtools
+dnl ...
+
+dnl no need for AC_ARG_VAR
+AC_PATH_PROG(XGETTEXT, xgettext)
+if test -z "$XGETTEXT" ; then
+ AC_MSG_ERROR(xgettext is missing; please install gettext-tools.)
+fi
+
+Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools`
+AC_SUBST(Y2DEVTOOLS_PREFIX)
+devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools`
+devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools`
+
+dnl producing pkg-config for others?
+AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x)
+AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch)
+
+dbdir=${devtools_yast2dir}/data/docbook
+STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl
+STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl
+STYLESHEET_CSS=${dbdir}/css/yast2docs.css
+STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl
+STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl
+AC_SUBST(STYLESHEET_HTML)
+AC_SUBST(STYLESHEET_PDF)
+AC_SUBST(STYLESHEET_CSS)
+AC_SUBST(STYLESHEET_YDOC)
+AC_SUBST(STYLESHEET_YCPDOC)
+
+
+dnl searches for some needed programs
+AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin)
+if test x$MSGFMT != x"/usr/bin/msgfmt"; then
+ AC_MSG_ERROR(msgfmt is missing; please install gettext.)
+fi
+AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no)
+if test x$MSGCAT = xno; then
+ AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.)
+fi
+
+AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin)
+if test x$MSGMERGE != x"/usr/bin/msgmerge"; then
+ AC_MSG_ERROR(msgmerge is missing; please install gettext.)
+fi
+
+AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin)
+if test x$MSGCONV != x"/usr/bin/msgconv"; then
+ AC_MSG_ERROR(msgconv is missing; please install gettext.)
+fi
+
+
+AC_CONFIG_FILES(Makefile po/Makefile)
+AC_OUTPUT
+
Added: branches/SLE12-SP1/yast/tr/po/Makefile.am
===================================================================
--- branches/SLE12-SP1/yast/tr/po/Makefile.am (rev 0)
+++ branches/SLE12-SP1/yast/tr/po/Makefile.am 2015-09-15 09:35:56 UTC (rev 92728)
@@ -0,0 +1,175 @@
+# Emacs: -*- makefile -*-
+#
+# Makefile.am for a YaST2 translation (po/) subproject
+#
+# -- This file is generated by y2automake - DO NOT EDIT! --
+#
+# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top ---
+# Emacs: -*- makefile -*-
+# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top ---
+# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center ---
+# Emacs: -*- makefile -*-
+
+LL = @LL@
+#POTDIR = ../../50-pot
+POTDIR = @POTDIR@
+POTFILES = $(wildcard $(POTDIR)/*.pot)
+GENERATED = $(MOFILES)
+CLEANFILES = $(GENERATED)
+POFILES = $(wildcard *.po)
+ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES)))
+BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business)
+WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS))
+WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS))
+MOFILES = $(POFILES:%.po=%.mo)
+INST_MOFILES = $(MOFILES:.$(LL).mo=.mo)
+POXFILES = $(POFILES:%.po=%.pox)
+EXTRA_DIST = $(WANTED_POFILES) $(stat)
+localedir=@localedir@
+locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES
+compendium = @COMPENDIUM@
+with_compendium =
+
+stat=status.txt
+PO_STATS= grep -v warning: | @ybindir@/po-stats
+
+MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous
+MSGFMT = @MSGFMT@
+MSGCAT = @MSGCAT@ --no-wrap --force-po
+MSGCONV = @MSGCONV@ --no-wrap --force-po
+XGETTEXT = @XGETTEXT@ --no-wrap
+
+SUFFIXES = .po .pox .gmo .mo
+
+all-local: $(GENERATED)
+
+make-pox pox: Makefile $(POXFILES)
+$(POXFILES): %.pox: %.po
+ -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \
+ pot=$$(echo $< | sed "s:$(LL).po:pot:"); \
+ compendium=$(compendium); \
+ [ -f $$compendium ] || compendium=/dev/null ; \
+ $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot
+
+# update or init PO file
+update-po: Makefile $(POTFILES)
+ for p in $(POTFILES); do \
+ q=$${p##*/}; \
+ po=$${q%pot}$(LL).po; \
+ echo $$po; \
+ if [ -f $$po ]; then \
+ $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \
+ else \
+ $(MSGMERGE) -o $$po.tmp -C $(compendium) \
+ --verbose /dev/null $$p; \
+ fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \
+ rm -f $$po.tmp ; }; \
+ if cmp $$po.tmp $$po >/dev/null 2>&1; then \
+ rm -vf $$po.tmp; \
+ else \
+ mv -vf $$po.tmp $$po; \
+ fi; \
+ done
+ $(MAKE) $(stat)
+
+$(stat): $(WANTED_POFILES)
+ if [ -f $(stat) ]; then \
+ cp --backup=numbered $(stat) $(stat).bak; \
+ :> $(stat); \
+ fi
+ { for f in $(WANTED_POFILES); do \
+ LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \
+ done ; } | $(PO_STATS) | head -n 6 | tee $(stat)
+
+update-po-with-compendium:
+ $(MAKE) update-po with_compendium="-C $(compendium)"
+
+update-mo: $(MOFILES)
+ @:
+
+%.mo: %.po
+ file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \
+ && rm -f $$file \
+ && $(MSGCONV) --to UTF-8 $< \
+ | $(MSGFMT) -c --statistics -o $$file -
+
+showpo:
+ echo $(POFILES)
+
+showmo:
+ echo $(MOFILES)
+
+checkpo:
+ for f in $(POFILES); do \
+ mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \
+ [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \
+ LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \
+ || exit 1; \
+ done
+
+# Try to checkin a .pox file
+# FIXME make sure msgcat doesn't weird things with "" and comments
+checkin:
+ p=$(MODULE).$(ci_ll); \
+ cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \
+ if [ -d CVS ]; then \
+ cvs -n update $$p.po | grep -q -v '^[UPMC]'; \
+ else \
+ LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \
+ fi; \
+ if [ $$? = 0 ]; then \
+ echo "CVS/Subversion mismatch; trying to merge..."; \
+ rm -f $$p.po; \
+ if [ -d CVS ]; then \
+ cvs -q update $$p.po; \
+ else \
+ svn update $$p.po; \
+ fi; \
+ cp $$p.pox $$p.pox.new; \
+ $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \
+ echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \
+ $(MSGFMT) --check --statistics $$p.pox; \
+ echo -e "Then try again to checkin \"$$p.pox\"."; \
+ else \
+ cp $(ci_opt) $$p.pox $$p.po; \
+ if [ -d CVS ]; then \
+ cvs -n ci $$p.po; \
+ else \
+ svn --dry-run commit $$p.po; \
+ fi; \
+ if [ $$? = 0 ] ; then \
+ if [ -d CVS ]; then \
+ cvs ci -m "$(ci_msg)" $$p.po; \
+ else \
+ svn commit --message "$(ci_msg)" $$p.po; \
+ fi; \
+ else \
+ rm -f $$p.po; \
+ if [ -d CVS ]; then \
+ cvs -q update $$p.po; \
+ else \
+ svn update $$p.po; \
+ fi; \
+ cp $$p.pox $$p.pox.new; \
+ $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \
+ echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \
+ $(MSGFMT) --check --statistics $$p.pox; \
+ echo "Then try to checkin \"$$p.pox\"."; \
+ fi; \
+ fi
+
+install-data-local: $(MOFILES) $(stat)
+ D=$(DESTDIR)$(locale_lang_msg_dir); \
+ [ -d $$D ] || install -d -m 755 $$D; \
+ for l in $(MOFILES); do \
+ m=$${l/$(LL).mo/mo}; \
+ install -m 644 $$l $$D/$$m; \
+ done
+ install -d -m 755 $(DESTDIR)$(docdir)
+ $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir)
+# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center ---
+# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom ---
+# Emacs: -*- makefile -*-
+
+## po/Makefile.am.bottom ends here
+# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom ---
1
0
[opensuse-translation-commit] r92727 - in branches/SLE12-SP1/yast/sv: . po
by keichwa@svn2.opensuse.org 15 Sep '15
by keichwa@svn2.opensuse.org 15 Sep '15
15 Sep '15
Author: keichwa
Date: 2015-09-15 11:35:54 +0200 (Tue, 15 Sep 2015)
New Revision: 92727
Added:
branches/SLE12-SP1/yast/sv/Makefile.am
branches/SLE12-SP1/yast/sv/configure.ac
branches/SLE12-SP1/yast/sv/po/Makefile.am
Log:
new
Added: branches/SLE12-SP1/yast/sv/Makefile.am
===================================================================
--- branches/SLE12-SP1/yast/sv/Makefile.am (rev 0)
+++ branches/SLE12-SP1/yast/sv/Makefile.am 2015-09-15 09:35:54 UTC (rev 92727)
@@ -0,0 +1,196 @@
+# Emacs: -*- makefile -*-
+#
+# Toplevel Makefile.am for a YaST2 subproject
+#
+# -- This file is generated by y2automake - DO NOT EDIT! --
+# (Edit ./SUBDIRS instead)
+#
+
+#where devtools are
+Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool
+
+VERSION = $(shell cat $(srcdir)/VERSION)
+RPMNAME = $(shell cat $(srcdir)/RPMNAME)
+SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS)
+ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4)
+
+HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE)
+
+# do we do Makefile.am for devtools? It is a little special...
+IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME))
+
+DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools)
+LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl)
+
+COPYRIGHT_files_gpl = README COPYING
+
+COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \
+ COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish
+
+extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl))
+
+# less strict; prefer bzip2
+AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip
+# where devtools install m4 snippets
+# argh, executed literally
+#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal
+ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal
+
+Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common
+ cmp -s $< $@ || cp -f $< $@
+
+# create bzip2ed tar and make some sanity checks
+$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2
+ @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \
+ echo "Error: created tar is empty" ; \
+ exit 1 ; \
+ fi
+
+CLEANFILES =
+MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec
+
+POT_DST = $(shell find -type d -name testsuite -prune , \
+ -type f -name "*.pot")
+
+EXTRA_DIST = \
+ VERSION RPMNAME MAINTAINER configure.in.in \
+ $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \
+ $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST))
+
+show-extra-dist:
+ @echo $(EXTRA_DIST)
+
+# info '(automake)Conditionals'
+if CREATE_PKGCONFIG
+# create the file here instead of by configure
+# because the prerequisite is made here (not anymore!)
+# and we don't want any paths in y2autoconf
+# info '(autoconf)config.status Invocation'
+$(RPMNAME).pc: $(RPMNAME).pc.in config.status
+ ./config.status --file=$@:$<
+
+if CREATE_PKGCONFIG_NOARCH
+pkgconfigdata_DATA = $(RPMNAME).pc
+else
+pkgconfig_DATA = $(RPMNAME).pc
+endif
+
+EXTRA_DIST += $(RPMNAME).pc.in
+endif
+
+dist-hook:
+ @for I in $(extra_COPYRIGHT_files) ; \
+ do \
+ EX="" ; \
+ if test -f $(srcdir)/$$I ; then \
+ EX=$(srcdir)/$$I ; \
+ elif test -f $(LEGALESE_DIR)/$$I ; then \
+ EX=$(LEGALESE_DIR)/$$I ; \
+ else \
+ echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \
+ exit 1 ; \
+ fi ; \
+ echo "cp $$EX $(distdir)" ; \
+ cp $$EX "$(distdir)" ; \
+ done
+
+pot:
+ $(Y2TOOL) y2makepot -s $(srcdir)
+
+install-pot: pot
+ @POT_DST=`find -type d -name testsuite -prune , \
+ -type f -name "*.pot"` ; \
+ if [ -n "$$POT_DST" ] ; then \
+ echo "mkdir -p $(DESTDIR)$(potdir)" ; \
+ mkdir -p $(DESTDIR)$(potdir) ; \
+ list="$$POT_DST"; \
+ for I in $$list ; \
+ do \
+ echo $$I ; \
+ if [ "$$I" == "pot" ] ; then \
+ continue ; \
+ fi ; \
+ echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \
+ $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \
+ done ; \
+ fi
+
+spellcheck: pot
+ $(Y2TOOL) pot-spellcheck
+
+# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST))
+
+install-data-local: # $(if $(IS_DEVTOOLS),,install-pot)
+ mkdir -p $(DESTDIR)$(docdir)
+ @for I in $(extra_COPYRIGHT_files) ; \
+ do \
+ EX="" ; \
+ if test -f $(srcdir)/$$I ; then \
+ EX=$(srcdir)/$$I ; \
+ elif test -f $(LEGALESE_DIR)/$$I ; then \
+ EX=$(LEGALESE_DIR)/$$I ; \
+ else \
+ echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \
+ exit 1 ; \
+ fi ; \
+ echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \
+ $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \
+ done
+
+package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2
+ rm -f package/$(RPMNAME)-*.tar.bz2
+ rm -f package/*~
+ rm -f package/*.bak
+ rm -f package/*.auto
+ mv $(RPMNAME)-$(VERSION).tar.bz2 package/
+ if ! test -x $(Y2TOOL); then \
+ echo "$(Y2TOOL): not found."; \
+ echo "You have to install yast2-devtools to making a package"; \
+ false; \
+ fi
+ here=`pwd`; \
+ cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \
+ newname="`echo "$$i" | sed "s/\.in$$//g"`"; \
+ $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \
+ done
+
+package: check-up-to-date check-tagversion check-textdomain package-local
+
+TAGVERSION = $(Y2TOOL) tagversion
+
+# check if there is no modified files and all commits were pushed
+check-up-to-date:
+ if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \
+ (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \
+ fi
+
+check-tagversion:
+ cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \
+ [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false )
+
+check-parse-old:
+ @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \
+ echo "Running parseycp..." ; \
+ parseycp -q -R ; \
+ else \
+ echo "Not running parseycp." ; \
+ fi
+
+check-parse:
+ @echo "Not running parseycp."
+
+check-textdomain:
+ $(Y2TOOL) check-textdomain $(srcdir)
+
+stable: checkin-stable
+
+checkin-stable: package
+ $(Y2TOOL) checkin-stable
+
+
+# For po/ modules
+checkpo:
+ test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo
+# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox
+# Contents of ./SUBDIRS
+SUBDIRS = po
Added: branches/SLE12-SP1/yast/sv/configure.ac
===================================================================
--- branches/SLE12-SP1/yast/sv/configure.ac (rev 0)
+++ branches/SLE12-SP1/yast/sv/configure.ac 2015-09-15 09:35:54 UTC (rev 92727)
@@ -0,0 +1,184 @@
+dnl configure.ac for yast2-trans-sv
+dnl
+dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! --
+dnl (edit configure.ac.in or configure.in.in instead)
+
+AC_INIT(yast2-trans-sv, 3.0.0, http://bugs.opensuse.org/, yast2-trans-sv)
+dnl Check for presence of file 'RPMNAME'
+AC_CONFIG_SRCDIR([RPMNAME])
+
+dnl Checking host/target/build systems, for make, install etc.
+AC_CANONICAL_TARGET
+dnl Perform program name transformation
+AC_ARG_PROGRAM
+
+AC_PREFIX_DEFAULT(/usr)
+
+dnl long filenames; we use GNU Make extensions and that's ok
+AM_INIT_AUTOMAKE(tar-ustar -Wno-portability)
+
+dnl Important YaST2 variables
+VERSION="3.0.0"
+RPMNAME="yast2-trans-sv"
+MAINTAINER="Karl Eichwalder <ke(a)suse.de>"
+
+dnl pkgconfig honors lib64
+pkgconfigdir=\${libdir}/pkgconfig
+pkgconfigdatadir=\${datadir}/pkgconfig
+yast2dir=\${prefix}/share/YaST2
+
+ybindir=\${prefix}/lib/YaST2/bin
+# FIXME duplicates execcompdir
+ystartupdir=\${prefix}/lib/YaST2
+plugindir=\${libdir}/YaST2/plugin
+includedir=\${prefix}/include/YaST2
+potdir=\${docdir}/pot
+
+docdir=\${prefix}/share/doc/packages/$RPMNAME
+mandir=\${prefix}/share/man
+
+execcompdir=\${prefix}/lib/YaST2
+agentdir=${execcompdir}/servers_non_y2
+
+ydatadir=${yast2dir}/data
+imagedir=${yast2dir}/images
+themedir=${yast2dir}/theme
+localedir=${yast2dir}/locale
+clientdir=${yast2dir}/clients
+moduledir=${yast2dir}/modules
+yncludedir=${yast2dir}/include
+schemadir=${yast2dir}/schema
+scrconfdir=${yast2dir}/scrconf
+desktopdir=\${prefix}/share/applications/YaST2
+
+AC_SUBST(VERSION)
+AC_SUBST(RPMNAME)
+AC_SUBST(MAINTAINER)
+
+AC_SUBST(pkgconfigdir)
+AC_SUBST(pkgconfigdatadir)
+
+AC_SUBST(yast2dir)
+
+AC_SUBST(ybindir)
+AC_SUBST(ystartupdir)
+AC_SUBST(plugindir)
+AC_SUBST(includedir)
+AC_SUBST(potdir)
+AC_SUBST(execcompdir)
+
+AC_SUBST(docdir)
+AC_SUBST(mandir)
+
+AC_SUBST(ydatadir)
+AC_SUBST(imagedir)
+AC_SUBST(themedir)
+AC_SUBST(localedir)
+AC_SUBST(clientdir)
+AC_SUBST(moduledir)
+AC_SUBST(yncludedir)
+AC_SUBST(schemadir)
+AC_SUBST(scrconfdir)
+AC_SUBST(agentdir)
+AC_SUBST(desktopdir)
+
+fillupdir_d="/var/adm/fillup-templates"
+AC_ARG_WITH(fillupdir,
+ AS_HELP_STRING([--with-fillupdir=DIR],
+ [where to place fillup templates (default $fillupdir_d.]),
+ [ fillupdir="$withval" ],
+ [ fillupdir="$fillupdir_d" ])
+AC_SUBST(fillupdir)
+
+LL=${RPMNAME##*-}
+AC_SUBST(LL)
+ISO639=${LL%_*}
+AC_SUBST(ISO639)
+
+AC_ARG_WITH(own_compendium,
+ AS_HELP_STRING([--with-own_compendium=FILE],
+ [Location of compendium file]),
+ y2compendium=yes, y2compendium=no)
+if test "x$with_own_compendium" = "x" ; then
+ if test -d ../50-memory ; then
+ COMPENDIUM='../../50-memory/yast2.$(LL).po'
+ else
+ COMPENDIUM='../../memory/yast2.$(LL).po'
+ fi
+else
+ COMPENDIUM=${with_own_compendium}
+fi
+AC_SUBST(COMPENDIUM)
+if test -d ../50-pot ; then
+ POTDIR=../../50-pot
+else
+ POTDIR=../../pot/pot
+fi
+AC_SUBST(POTDIR)
+
+
+dnl Checks for programs.
+AC_PROG_INSTALL
+dnl The YCP interpreter checks whether dependent ybc files are older
+dnl so we must preserve their timestamps
+INSTALL="${INSTALL} -p"
+AC_PROG_LN_S
+AC_PROG_MAKE_SET
+
+dnl pkgconfig
+AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files])
+dnl devtools
+dnl ...
+
+dnl no need for AC_ARG_VAR
+AC_PATH_PROG(XGETTEXT, xgettext)
+if test -z "$XGETTEXT" ; then
+ AC_MSG_ERROR(xgettext is missing; please install gettext-tools.)
+fi
+
+Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools`
+AC_SUBST(Y2DEVTOOLS_PREFIX)
+devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools`
+devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools`
+
+dnl producing pkg-config for others?
+AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x)
+AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch)
+
+dbdir=${devtools_yast2dir}/data/docbook
+STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl
+STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl
+STYLESHEET_CSS=${dbdir}/css/yast2docs.css
+STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl
+STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl
+AC_SUBST(STYLESHEET_HTML)
+AC_SUBST(STYLESHEET_PDF)
+AC_SUBST(STYLESHEET_CSS)
+AC_SUBST(STYLESHEET_YDOC)
+AC_SUBST(STYLESHEET_YCPDOC)
+
+
+dnl searches for some needed programs
+AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin)
+if test x$MSGFMT != x"/usr/bin/msgfmt"; then
+ AC_MSG_ERROR(msgfmt is missing; please install gettext.)
+fi
+AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no)
+if test x$MSGCAT = xno; then
+ AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.)
+fi
+
+AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin)
+if test x$MSGMERGE != x"/usr/bin/msgmerge"; then
+ AC_MSG_ERROR(msgmerge is missing; please install gettext.)
+fi
+
+AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin)
+if test x$MSGCONV != x"/usr/bin/msgconv"; then
+ AC_MSG_ERROR(msgconv is missing; please install gettext.)
+fi
+
+
+AC_CONFIG_FILES(Makefile po/Makefile)
+AC_OUTPUT
+
Added: branches/SLE12-SP1/yast/sv/po/Makefile.am
===================================================================
--- branches/SLE12-SP1/yast/sv/po/Makefile.am (rev 0)
+++ branches/SLE12-SP1/yast/sv/po/Makefile.am 2015-09-15 09:35:54 UTC (rev 92727)
@@ -0,0 +1,175 @@
+# Emacs: -*- makefile -*-
+#
+# Makefile.am for a YaST2 translation (po/) subproject
+#
+# -- This file is generated by y2automake - DO NOT EDIT! --
+#
+# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top ---
+# Emacs: -*- makefile -*-
+# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top ---
+# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center ---
+# Emacs: -*- makefile -*-
+
+LL = @LL@
+#POTDIR = ../../50-pot
+POTDIR = @POTDIR@
+POTFILES = $(wildcard $(POTDIR)/*.pot)
+GENERATED = $(MOFILES)
+CLEANFILES = $(GENERATED)
+POFILES = $(wildcard *.po)
+ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES)))
+BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business)
+WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS))
+WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS))
+MOFILES = $(POFILES:%.po=%.mo)
+INST_MOFILES = $(MOFILES:.$(LL).mo=.mo)
+POXFILES = $(POFILES:%.po=%.pox)
+EXTRA_DIST = $(WANTED_POFILES) $(stat)
+localedir=@localedir@
+locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES
+compendium = @COMPENDIUM@
+with_compendium =
+
+stat=status.txt
+PO_STATS= grep -v warning: | @ybindir@/po-stats
+
+MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous
+MSGFMT = @MSGFMT@
+MSGCAT = @MSGCAT@ --no-wrap --force-po
+MSGCONV = @MSGCONV@ --no-wrap --force-po
+XGETTEXT = @XGETTEXT@ --no-wrap
+
+SUFFIXES = .po .pox .gmo .mo
+
+all-local: $(GENERATED)
+
+make-pox pox: Makefile $(POXFILES)
+$(POXFILES): %.pox: %.po
+ -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \
+ pot=$$(echo $< | sed "s:$(LL).po:pot:"); \
+ compendium=$(compendium); \
+ [ -f $$compendium ] || compendium=/dev/null ; \
+ $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot
+
+# update or init PO file
+update-po: Makefile $(POTFILES)
+ for p in $(POTFILES); do \
+ q=$${p##*/}; \
+ po=$${q%pot}$(LL).po; \
+ echo $$po; \
+ if [ -f $$po ]; then \
+ $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \
+ else \
+ $(MSGMERGE) -o $$po.tmp -C $(compendium) \
+ --verbose /dev/null $$p; \
+ fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \
+ rm -f $$po.tmp ; }; \
+ if cmp $$po.tmp $$po >/dev/null 2>&1; then \
+ rm -vf $$po.tmp; \
+ else \
+ mv -vf $$po.tmp $$po; \
+ fi; \
+ done
+ $(MAKE) $(stat)
+
+$(stat): $(WANTED_POFILES)
+ if [ -f $(stat) ]; then \
+ cp --backup=numbered $(stat) $(stat).bak; \
+ :> $(stat); \
+ fi
+ { for f in $(WANTED_POFILES); do \
+ LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \
+ done ; } | $(PO_STATS) | head -n 6 | tee $(stat)
+
+update-po-with-compendium:
+ $(MAKE) update-po with_compendium="-C $(compendium)"
+
+update-mo: $(MOFILES)
+ @:
+
+%.mo: %.po
+ file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \
+ && rm -f $$file \
+ && $(MSGCONV) --to UTF-8 $< \
+ | $(MSGFMT) -c --statistics -o $$file -
+
+showpo:
+ echo $(POFILES)
+
+showmo:
+ echo $(MOFILES)
+
+checkpo:
+ for f in $(POFILES); do \
+ mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \
+ [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \
+ LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \
+ || exit 1; \
+ done
+
+# Try to checkin a .pox file
+# FIXME make sure msgcat doesn't weird things with "" and comments
+checkin:
+ p=$(MODULE).$(ci_ll); \
+ cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \
+ if [ -d CVS ]; then \
+ cvs -n update $$p.po | grep -q -v '^[UPMC]'; \
+ else \
+ LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \
+ fi; \
+ if [ $$? = 0 ]; then \
+ echo "CVS/Subversion mismatch; trying to merge..."; \
+ rm -f $$p.po; \
+ if [ -d CVS ]; then \
+ cvs -q update $$p.po; \
+ else \
+ svn update $$p.po; \
+ fi; \
+ cp $$p.pox $$p.pox.new; \
+ $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \
+ echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \
+ $(MSGFMT) --check --statistics $$p.pox; \
+ echo -e "Then try again to checkin \"$$p.pox\"."; \
+ else \
+ cp $(ci_opt) $$p.pox $$p.po; \
+ if [ -d CVS ]; then \
+ cvs -n ci $$p.po; \
+ else \
+ svn --dry-run commit $$p.po; \
+ fi; \
+ if [ $$? = 0 ] ; then \
+ if [ -d CVS ]; then \
+ cvs ci -m "$(ci_msg)" $$p.po; \
+ else \
+ svn commit --message "$(ci_msg)" $$p.po; \
+ fi; \
+ else \
+ rm -f $$p.po; \
+ if [ -d CVS ]; then \
+ cvs -q update $$p.po; \
+ else \
+ svn update $$p.po; \
+ fi; \
+ cp $$p.pox $$p.pox.new; \
+ $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \
+ echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \
+ $(MSGFMT) --check --statistics $$p.pox; \
+ echo "Then try to checkin \"$$p.pox\"."; \
+ fi; \
+ fi
+
+install-data-local: $(MOFILES) $(stat)
+ D=$(DESTDIR)$(locale_lang_msg_dir); \
+ [ -d $$D ] || install -d -m 755 $$D; \
+ for l in $(MOFILES); do \
+ m=$${l/$(LL).mo/mo}; \
+ install -m 644 $$l $$D/$$m; \
+ done
+ install -d -m 755 $(DESTDIR)$(docdir)
+ $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir)
+# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center ---
+# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom ---
+# Emacs: -*- makefile -*-
+
+## po/Makefile.am.bottom ends here
+# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom ---
1
0
[opensuse-translation-commit] r92726 - in branches/SLE12-SP1/yast/ru: . po
by keichwa@svn2.opensuse.org 15 Sep '15
by keichwa@svn2.opensuse.org 15 Sep '15
15 Sep '15
Author: keichwa
Date: 2015-09-15 11:35:51 +0200 (Tue, 15 Sep 2015)
New Revision: 92726
Added:
branches/SLE12-SP1/yast/ru/Makefile.am
branches/SLE12-SP1/yast/ru/configure.ac
branches/SLE12-SP1/yast/ru/po/Makefile.am
Log:
new
Added: branches/SLE12-SP1/yast/ru/Makefile.am
===================================================================
--- branches/SLE12-SP1/yast/ru/Makefile.am (rev 0)
+++ branches/SLE12-SP1/yast/ru/Makefile.am 2015-09-15 09:35:51 UTC (rev 92726)
@@ -0,0 +1,196 @@
+# Emacs: -*- makefile -*-
+#
+# Toplevel Makefile.am for a YaST2 subproject
+#
+# -- This file is generated by y2automake - DO NOT EDIT! --
+# (Edit ./SUBDIRS instead)
+#
+
+#where devtools are
+Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool
+
+VERSION = $(shell cat $(srcdir)/VERSION)
+RPMNAME = $(shell cat $(srcdir)/RPMNAME)
+SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS)
+ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4)
+
+HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE)
+
+# do we do Makefile.am for devtools? It is a little special...
+IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME))
+
+DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools)
+LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl)
+
+COPYRIGHT_files_gpl = README COPYING
+
+COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \
+ COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish
+
+extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl))
+
+# less strict; prefer bzip2
+AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip
+# where devtools install m4 snippets
+# argh, executed literally
+#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal
+ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal
+
+Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common
+ cmp -s $< $@ || cp -f $< $@
+
+# create bzip2ed tar and make some sanity checks
+$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2
+ @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \
+ echo "Error: created tar is empty" ; \
+ exit 1 ; \
+ fi
+
+CLEANFILES =
+MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec
+
+POT_DST = $(shell find -type d -name testsuite -prune , \
+ -type f -name "*.pot")
+
+EXTRA_DIST = \
+ VERSION RPMNAME MAINTAINER configure.in.in \
+ $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \
+ $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST))
+
+show-extra-dist:
+ @echo $(EXTRA_DIST)
+
+# info '(automake)Conditionals'
+if CREATE_PKGCONFIG
+# create the file here instead of by configure
+# because the prerequisite is made here (not anymore!)
+# and we don't want any paths in y2autoconf
+# info '(autoconf)config.status Invocation'
+$(RPMNAME).pc: $(RPMNAME).pc.in config.status
+ ./config.status --file=$@:$<
+
+if CREATE_PKGCONFIG_NOARCH
+pkgconfigdata_DATA = $(RPMNAME).pc
+else
+pkgconfig_DATA = $(RPMNAME).pc
+endif
+
+EXTRA_DIST += $(RPMNAME).pc.in
+endif
+
+dist-hook:
+ @for I in $(extra_COPYRIGHT_files) ; \
+ do \
+ EX="" ; \
+ if test -f $(srcdir)/$$I ; then \
+ EX=$(srcdir)/$$I ; \
+ elif test -f $(LEGALESE_DIR)/$$I ; then \
+ EX=$(LEGALESE_DIR)/$$I ; \
+ else \
+ echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \
+ exit 1 ; \
+ fi ; \
+ echo "cp $$EX $(distdir)" ; \
+ cp $$EX "$(distdir)" ; \
+ done
+
+pot:
+ $(Y2TOOL) y2makepot -s $(srcdir)
+
+install-pot: pot
+ @POT_DST=`find -type d -name testsuite -prune , \
+ -type f -name "*.pot"` ; \
+ if [ -n "$$POT_DST" ] ; then \
+ echo "mkdir -p $(DESTDIR)$(potdir)" ; \
+ mkdir -p $(DESTDIR)$(potdir) ; \
+ list="$$POT_DST"; \
+ for I in $$list ; \
+ do \
+ echo $$I ; \
+ if [ "$$I" == "pot" ] ; then \
+ continue ; \
+ fi ; \
+ echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \
+ $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \
+ done ; \
+ fi
+
+spellcheck: pot
+ $(Y2TOOL) pot-spellcheck
+
+# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST))
+
+install-data-local: # $(if $(IS_DEVTOOLS),,install-pot)
+ mkdir -p $(DESTDIR)$(docdir)
+ @for I in $(extra_COPYRIGHT_files) ; \
+ do \
+ EX="" ; \
+ if test -f $(srcdir)/$$I ; then \
+ EX=$(srcdir)/$$I ; \
+ elif test -f $(LEGALESE_DIR)/$$I ; then \
+ EX=$(LEGALESE_DIR)/$$I ; \
+ else \
+ echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \
+ exit 1 ; \
+ fi ; \
+ echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \
+ $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \
+ done
+
+package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2
+ rm -f package/$(RPMNAME)-*.tar.bz2
+ rm -f package/*~
+ rm -f package/*.bak
+ rm -f package/*.auto
+ mv $(RPMNAME)-$(VERSION).tar.bz2 package/
+ if ! test -x $(Y2TOOL); then \
+ echo "$(Y2TOOL): not found."; \
+ echo "You have to install yast2-devtools to making a package"; \
+ false; \
+ fi
+ here=`pwd`; \
+ cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \
+ newname="`echo "$$i" | sed "s/\.in$$//g"`"; \
+ $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \
+ done
+
+package: check-up-to-date check-tagversion check-textdomain package-local
+
+TAGVERSION = $(Y2TOOL) tagversion
+
+# check if there is no modified files and all commits were pushed
+check-up-to-date:
+ if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \
+ (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \
+ fi
+
+check-tagversion:
+ cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \
+ [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false )
+
+check-parse-old:
+ @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \
+ echo "Running parseycp..." ; \
+ parseycp -q -R ; \
+ else \
+ echo "Not running parseycp." ; \
+ fi
+
+check-parse:
+ @echo "Not running parseycp."
+
+check-textdomain:
+ $(Y2TOOL) check-textdomain $(srcdir)
+
+stable: checkin-stable
+
+checkin-stable: package
+ $(Y2TOOL) checkin-stable
+
+
+# For po/ modules
+checkpo:
+ test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo
+# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox
+# Contents of ./SUBDIRS
+SUBDIRS = po
Added: branches/SLE12-SP1/yast/ru/configure.ac
===================================================================
--- branches/SLE12-SP1/yast/ru/configure.ac (rev 0)
+++ branches/SLE12-SP1/yast/ru/configure.ac 2015-09-15 09:35:51 UTC (rev 92726)
@@ -0,0 +1,184 @@
+dnl configure.ac for yast2-trans-ru
+dnl
+dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! --
+dnl (edit configure.ac.in or configure.in.in instead)
+
+AC_INIT(yast2-trans-ru, 3.0.0, http://bugs.opensuse.org/, yast2-trans-ru)
+dnl Check for presence of file 'RPMNAME'
+AC_CONFIG_SRCDIR([RPMNAME])
+
+dnl Checking host/target/build systems, for make, install etc.
+AC_CANONICAL_TARGET
+dnl Perform program name transformation
+AC_ARG_PROGRAM
+
+AC_PREFIX_DEFAULT(/usr)
+
+dnl long filenames; we use GNU Make extensions and that's ok
+AM_INIT_AUTOMAKE(tar-ustar -Wno-portability)
+
+dnl Important YaST2 variables
+VERSION="3.0.0"
+RPMNAME="yast2-trans-ru"
+MAINTAINER="Karl Eichwalder <ke(a)suse.de>"
+
+dnl pkgconfig honors lib64
+pkgconfigdir=\${libdir}/pkgconfig
+pkgconfigdatadir=\${datadir}/pkgconfig
+yast2dir=\${prefix}/share/YaST2
+
+ybindir=\${prefix}/lib/YaST2/bin
+# FIXME duplicates execcompdir
+ystartupdir=\${prefix}/lib/YaST2
+plugindir=\${libdir}/YaST2/plugin
+includedir=\${prefix}/include/YaST2
+potdir=\${docdir}/pot
+
+docdir=\${prefix}/share/doc/packages/$RPMNAME
+mandir=\${prefix}/share/man
+
+execcompdir=\${prefix}/lib/YaST2
+agentdir=${execcompdir}/servers_non_y2
+
+ydatadir=${yast2dir}/data
+imagedir=${yast2dir}/images
+themedir=${yast2dir}/theme
+localedir=${yast2dir}/locale
+clientdir=${yast2dir}/clients
+moduledir=${yast2dir}/modules
+yncludedir=${yast2dir}/include
+schemadir=${yast2dir}/schema
+scrconfdir=${yast2dir}/scrconf
+desktopdir=\${prefix}/share/applications/YaST2
+
+AC_SUBST(VERSION)
+AC_SUBST(RPMNAME)
+AC_SUBST(MAINTAINER)
+
+AC_SUBST(pkgconfigdir)
+AC_SUBST(pkgconfigdatadir)
+
+AC_SUBST(yast2dir)
+
+AC_SUBST(ybindir)
+AC_SUBST(ystartupdir)
+AC_SUBST(plugindir)
+AC_SUBST(includedir)
+AC_SUBST(potdir)
+AC_SUBST(execcompdir)
+
+AC_SUBST(docdir)
+AC_SUBST(mandir)
+
+AC_SUBST(ydatadir)
+AC_SUBST(imagedir)
+AC_SUBST(themedir)
+AC_SUBST(localedir)
+AC_SUBST(clientdir)
+AC_SUBST(moduledir)
+AC_SUBST(yncludedir)
+AC_SUBST(schemadir)
+AC_SUBST(scrconfdir)
+AC_SUBST(agentdir)
+AC_SUBST(desktopdir)
+
+fillupdir_d="/var/adm/fillup-templates"
+AC_ARG_WITH(fillupdir,
+ AS_HELP_STRING([--with-fillupdir=DIR],
+ [where to place fillup templates (default $fillupdir_d.]),
+ [ fillupdir="$withval" ],
+ [ fillupdir="$fillupdir_d" ])
+AC_SUBST(fillupdir)
+
+LL=${RPMNAME##*-}
+AC_SUBST(LL)
+ISO639=${LL%_*}
+AC_SUBST(ISO639)
+
+AC_ARG_WITH(own_compendium,
+ AS_HELP_STRING([--with-own_compendium=FILE],
+ [Location of compendium file]),
+ y2compendium=yes, y2compendium=no)
+if test "x$with_own_compendium" = "x" ; then
+ if test -d ../50-memory ; then
+ COMPENDIUM='../../50-memory/yast2.$(LL).po'
+ else
+ COMPENDIUM='../../memory/yast2.$(LL).po'
+ fi
+else
+ COMPENDIUM=${with_own_compendium}
+fi
+AC_SUBST(COMPENDIUM)
+if test -d ../50-pot ; then
+ POTDIR=../../50-pot
+else
+ POTDIR=../../pot/pot
+fi
+AC_SUBST(POTDIR)
+
+
+dnl Checks for programs.
+AC_PROG_INSTALL
+dnl The YCP interpreter checks whether dependent ybc files are older
+dnl so we must preserve their timestamps
+INSTALL="${INSTALL} -p"
+AC_PROG_LN_S
+AC_PROG_MAKE_SET
+
+dnl pkgconfig
+AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files])
+dnl devtools
+dnl ...
+
+dnl no need for AC_ARG_VAR
+AC_PATH_PROG(XGETTEXT, xgettext)
+if test -z "$XGETTEXT" ; then
+ AC_MSG_ERROR(xgettext is missing; please install gettext-tools.)
+fi
+
+Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools`
+AC_SUBST(Y2DEVTOOLS_PREFIX)
+devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools`
+devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools`
+
+dnl producing pkg-config for others?
+AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x)
+AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch)
+
+dbdir=${devtools_yast2dir}/data/docbook
+STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl
+STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl
+STYLESHEET_CSS=${dbdir}/css/yast2docs.css
+STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl
+STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl
+AC_SUBST(STYLESHEET_HTML)
+AC_SUBST(STYLESHEET_PDF)
+AC_SUBST(STYLESHEET_CSS)
+AC_SUBST(STYLESHEET_YDOC)
+AC_SUBST(STYLESHEET_YCPDOC)
+
+
+dnl searches for some needed programs
+AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin)
+if test x$MSGFMT != x"/usr/bin/msgfmt"; then
+ AC_MSG_ERROR(msgfmt is missing; please install gettext.)
+fi
+AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no)
+if test x$MSGCAT = xno; then
+ AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.)
+fi
+
+AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin)
+if test x$MSGMERGE != x"/usr/bin/msgmerge"; then
+ AC_MSG_ERROR(msgmerge is missing; please install gettext.)
+fi
+
+AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin)
+if test x$MSGCONV != x"/usr/bin/msgconv"; then
+ AC_MSG_ERROR(msgconv is missing; please install gettext.)
+fi
+
+
+AC_CONFIG_FILES(Makefile po/Makefile)
+AC_OUTPUT
+
Added: branches/SLE12-SP1/yast/ru/po/Makefile.am
===================================================================
--- branches/SLE12-SP1/yast/ru/po/Makefile.am (rev 0)
+++ branches/SLE12-SP1/yast/ru/po/Makefile.am 2015-09-15 09:35:51 UTC (rev 92726)
@@ -0,0 +1,175 @@
+# Emacs: -*- makefile -*-
+#
+# Makefile.am for a YaST2 translation (po/) subproject
+#
+# -- This file is generated by y2automake - DO NOT EDIT! --
+#
+# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top ---
+# Emacs: -*- makefile -*-
+# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top ---
+# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center ---
+# Emacs: -*- makefile -*-
+
+LL = @LL@
+#POTDIR = ../../50-pot
+POTDIR = @POTDIR@
+POTFILES = $(wildcard $(POTDIR)/*.pot)
+GENERATED = $(MOFILES)
+CLEANFILES = $(GENERATED)
+POFILES = $(wildcard *.po)
+ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES)))
+BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business)
+WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS))
+WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS))
+MOFILES = $(POFILES:%.po=%.mo)
+INST_MOFILES = $(MOFILES:.$(LL).mo=.mo)
+POXFILES = $(POFILES:%.po=%.pox)
+EXTRA_DIST = $(WANTED_POFILES) $(stat)
+localedir=@localedir@
+locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES
+compendium = @COMPENDIUM@
+with_compendium =
+
+stat=status.txt
+PO_STATS= grep -v warning: | @ybindir@/po-stats
+
+MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous
+MSGFMT = @MSGFMT@
+MSGCAT = @MSGCAT@ --no-wrap --force-po
+MSGCONV = @MSGCONV@ --no-wrap --force-po
+XGETTEXT = @XGETTEXT@ --no-wrap
+
+SUFFIXES = .po .pox .gmo .mo
+
+all-local: $(GENERATED)
+
+make-pox pox: Makefile $(POXFILES)
+$(POXFILES): %.pox: %.po
+ -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \
+ pot=$$(echo $< | sed "s:$(LL).po:pot:"); \
+ compendium=$(compendium); \
+ [ -f $$compendium ] || compendium=/dev/null ; \
+ $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot
+
+# update or init PO file
+update-po: Makefile $(POTFILES)
+ for p in $(POTFILES); do \
+ q=$${p##*/}; \
+ po=$${q%pot}$(LL).po; \
+ echo $$po; \
+ if [ -f $$po ]; then \
+ $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \
+ else \
+ $(MSGMERGE) -o $$po.tmp -C $(compendium) \
+ --verbose /dev/null $$p; \
+ fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \
+ rm -f $$po.tmp ; }; \
+ if cmp $$po.tmp $$po >/dev/null 2>&1; then \
+ rm -vf $$po.tmp; \
+ else \
+ mv -vf $$po.tmp $$po; \
+ fi; \
+ done
+ $(MAKE) $(stat)
+
+$(stat): $(WANTED_POFILES)
+ if [ -f $(stat) ]; then \
+ cp --backup=numbered $(stat) $(stat).bak; \
+ :> $(stat); \
+ fi
+ { for f in $(WANTED_POFILES); do \
+ LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \
+ done ; } | $(PO_STATS) | head -n 6 | tee $(stat)
+
+update-po-with-compendium:
+ $(MAKE) update-po with_compendium="-C $(compendium)"
+
+update-mo: $(MOFILES)
+ @:
+
+%.mo: %.po
+ file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \
+ && rm -f $$file \
+ && $(MSGCONV) --to UTF-8 $< \
+ | $(MSGFMT) -c --statistics -o $$file -
+
+showpo:
+ echo $(POFILES)
+
+showmo:
+ echo $(MOFILES)
+
+checkpo:
+ for f in $(POFILES); do \
+ mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \
+ [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \
+ LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \
+ || exit 1; \
+ done
+
+# Try to checkin a .pox file
+# FIXME make sure msgcat doesn't weird things with "" and comments
+checkin:
+ p=$(MODULE).$(ci_ll); \
+ cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \
+ if [ -d CVS ]; then \
+ cvs -n update $$p.po | grep -q -v '^[UPMC]'; \
+ else \
+ LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \
+ fi; \
+ if [ $$? = 0 ]; then \
+ echo "CVS/Subversion mismatch; trying to merge..."; \
+ rm -f $$p.po; \
+ if [ -d CVS ]; then \
+ cvs -q update $$p.po; \
+ else \
+ svn update $$p.po; \
+ fi; \
+ cp $$p.pox $$p.pox.new; \
+ $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \
+ echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \
+ $(MSGFMT) --check --statistics $$p.pox; \
+ echo -e "Then try again to checkin \"$$p.pox\"."; \
+ else \
+ cp $(ci_opt) $$p.pox $$p.po; \
+ if [ -d CVS ]; then \
+ cvs -n ci $$p.po; \
+ else \
+ svn --dry-run commit $$p.po; \
+ fi; \
+ if [ $$? = 0 ] ; then \
+ if [ -d CVS ]; then \
+ cvs ci -m "$(ci_msg)" $$p.po; \
+ else \
+ svn commit --message "$(ci_msg)" $$p.po; \
+ fi; \
+ else \
+ rm -f $$p.po; \
+ if [ -d CVS ]; then \
+ cvs -q update $$p.po; \
+ else \
+ svn update $$p.po; \
+ fi; \
+ cp $$p.pox $$p.pox.new; \
+ $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \
+ echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \
+ $(MSGFMT) --check --statistics $$p.pox; \
+ echo "Then try to checkin \"$$p.pox\"."; \
+ fi; \
+ fi
+
+install-data-local: $(MOFILES) $(stat)
+ D=$(DESTDIR)$(locale_lang_msg_dir); \
+ [ -d $$D ] || install -d -m 755 $$D; \
+ for l in $(MOFILES); do \
+ m=$${l/$(LL).mo/mo}; \
+ install -m 644 $$l $$D/$$m; \
+ done
+ install -d -m 755 $(DESTDIR)$(docdir)
+ $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir)
+# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center ---
+# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom ---
+# Emacs: -*- makefile -*-
+
+## po/Makefile.am.bottom ends here
+# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom ---
1
0
[opensuse-translation-commit] r92725 - in branches/SLE12-SP1/yast/pt: . po
by keichwa@svn2.opensuse.org 15 Sep '15
by keichwa@svn2.opensuse.org 15 Sep '15
15 Sep '15
Author: keichwa
Date: 2015-09-15 11:35:48 +0200 (Tue, 15 Sep 2015)
New Revision: 92725
Added:
branches/SLE12-SP1/yast/pt/Makefile.am
branches/SLE12-SP1/yast/pt/configure.ac
branches/SLE12-SP1/yast/pt/po/Makefile.am
Log:
new
Added: branches/SLE12-SP1/yast/pt/Makefile.am
===================================================================
--- branches/SLE12-SP1/yast/pt/Makefile.am (rev 0)
+++ branches/SLE12-SP1/yast/pt/Makefile.am 2015-09-15 09:35:48 UTC (rev 92725)
@@ -0,0 +1,196 @@
+# Emacs: -*- makefile -*-
+#
+# Toplevel Makefile.am for a YaST2 subproject
+#
+# -- This file is generated by y2automake - DO NOT EDIT! --
+# (Edit ./SUBDIRS instead)
+#
+
+#where devtools are
+Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool
+
+VERSION = $(shell cat $(srcdir)/VERSION)
+RPMNAME = $(shell cat $(srcdir)/RPMNAME)
+SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS)
+ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4)
+
+HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE)
+
+# do we do Makefile.am for devtools? It is a little special...
+IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME))
+
+DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools)
+LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl)
+
+COPYRIGHT_files_gpl = README COPYING
+
+COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \
+ COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish
+
+extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl))
+
+# less strict; prefer bzip2
+AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip
+# where devtools install m4 snippets
+# argh, executed literally
+#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal
+ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal
+
+Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common
+ cmp -s $< $@ || cp -f $< $@
+
+# create bzip2ed tar and make some sanity checks
+$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2
+ @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \
+ echo "Error: created tar is empty" ; \
+ exit 1 ; \
+ fi
+
+CLEANFILES =
+MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec
+
+POT_DST = $(shell find -type d -name testsuite -prune , \
+ -type f -name "*.pot")
+
+EXTRA_DIST = \
+ VERSION RPMNAME MAINTAINER configure.in.in \
+ $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \
+ $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST))
+
+show-extra-dist:
+ @echo $(EXTRA_DIST)
+
+# info '(automake)Conditionals'
+if CREATE_PKGCONFIG
+# create the file here instead of by configure
+# because the prerequisite is made here (not anymore!)
+# and we don't want any paths in y2autoconf
+# info '(autoconf)config.status Invocation'
+$(RPMNAME).pc: $(RPMNAME).pc.in config.status
+ ./config.status --file=$@:$<
+
+if CREATE_PKGCONFIG_NOARCH
+pkgconfigdata_DATA = $(RPMNAME).pc
+else
+pkgconfig_DATA = $(RPMNAME).pc
+endif
+
+EXTRA_DIST += $(RPMNAME).pc.in
+endif
+
+dist-hook:
+ @for I in $(extra_COPYRIGHT_files) ; \
+ do \
+ EX="" ; \
+ if test -f $(srcdir)/$$I ; then \
+ EX=$(srcdir)/$$I ; \
+ elif test -f $(LEGALESE_DIR)/$$I ; then \
+ EX=$(LEGALESE_DIR)/$$I ; \
+ else \
+ echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \
+ exit 1 ; \
+ fi ; \
+ echo "cp $$EX $(distdir)" ; \
+ cp $$EX "$(distdir)" ; \
+ done
+
+pot:
+ $(Y2TOOL) y2makepot -s $(srcdir)
+
+install-pot: pot
+ @POT_DST=`find -type d -name testsuite -prune , \
+ -type f -name "*.pot"` ; \
+ if [ -n "$$POT_DST" ] ; then \
+ echo "mkdir -p $(DESTDIR)$(potdir)" ; \
+ mkdir -p $(DESTDIR)$(potdir) ; \
+ list="$$POT_DST"; \
+ for I in $$list ; \
+ do \
+ echo $$I ; \
+ if [ "$$I" == "pot" ] ; then \
+ continue ; \
+ fi ; \
+ echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \
+ $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \
+ done ; \
+ fi
+
+spellcheck: pot
+ $(Y2TOOL) pot-spellcheck
+
+# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST))
+
+install-data-local: # $(if $(IS_DEVTOOLS),,install-pot)
+ mkdir -p $(DESTDIR)$(docdir)
+ @for I in $(extra_COPYRIGHT_files) ; \
+ do \
+ EX="" ; \
+ if test -f $(srcdir)/$$I ; then \
+ EX=$(srcdir)/$$I ; \
+ elif test -f $(LEGALESE_DIR)/$$I ; then \
+ EX=$(LEGALESE_DIR)/$$I ; \
+ else \
+ echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \
+ exit 1 ; \
+ fi ; \
+ echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \
+ $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \
+ done
+
+package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2
+ rm -f package/$(RPMNAME)-*.tar.bz2
+ rm -f package/*~
+ rm -f package/*.bak
+ rm -f package/*.auto
+ mv $(RPMNAME)-$(VERSION).tar.bz2 package/
+ if ! test -x $(Y2TOOL); then \
+ echo "$(Y2TOOL): not found."; \
+ echo "You have to install yast2-devtools to making a package"; \
+ false; \
+ fi
+ here=`pwd`; \
+ cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \
+ newname="`echo "$$i" | sed "s/\.in$$//g"`"; \
+ $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \
+ done
+
+package: check-up-to-date check-tagversion check-textdomain package-local
+
+TAGVERSION = $(Y2TOOL) tagversion
+
+# check if there is no modified files and all commits were pushed
+check-up-to-date:
+ if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \
+ (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \
+ fi
+
+check-tagversion:
+ cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \
+ [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false )
+
+check-parse-old:
+ @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \
+ echo "Running parseycp..." ; \
+ parseycp -q -R ; \
+ else \
+ echo "Not running parseycp." ; \
+ fi
+
+check-parse:
+ @echo "Not running parseycp."
+
+check-textdomain:
+ $(Y2TOOL) check-textdomain $(srcdir)
+
+stable: checkin-stable
+
+checkin-stable: package
+ $(Y2TOOL) checkin-stable
+
+
+# For po/ modules
+checkpo:
+ test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo
+# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox
+# Contents of ./SUBDIRS
+SUBDIRS = po
Added: branches/SLE12-SP1/yast/pt/configure.ac
===================================================================
--- branches/SLE12-SP1/yast/pt/configure.ac (rev 0)
+++ branches/SLE12-SP1/yast/pt/configure.ac 2015-09-15 09:35:48 UTC (rev 92725)
@@ -0,0 +1,184 @@
+dnl configure.ac for yast2-trans-pt
+dnl
+dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! --
+dnl (edit configure.ac.in or configure.in.in instead)
+
+AC_INIT(yast2-trans-pt, 3.0.0, http://bugs.opensuse.org/, yast2-trans-pt)
+dnl Check for presence of file 'RPMNAME'
+AC_CONFIG_SRCDIR([RPMNAME])
+
+dnl Checking host/target/build systems, for make, install etc.
+AC_CANONICAL_TARGET
+dnl Perform program name transformation
+AC_ARG_PROGRAM
+
+AC_PREFIX_DEFAULT(/usr)
+
+dnl long filenames; we use GNU Make extensions and that's ok
+AM_INIT_AUTOMAKE(tar-ustar -Wno-portability)
+
+dnl Important YaST2 variables
+VERSION="3.0.0"
+RPMNAME="yast2-trans-pt"
+MAINTAINER="Karl Eichwalder <ke(a)suse.de>"
+
+dnl pkgconfig honors lib64
+pkgconfigdir=\${libdir}/pkgconfig
+pkgconfigdatadir=\${datadir}/pkgconfig
+yast2dir=\${prefix}/share/YaST2
+
+ybindir=\${prefix}/lib/YaST2/bin
+# FIXME duplicates execcompdir
+ystartupdir=\${prefix}/lib/YaST2
+plugindir=\${libdir}/YaST2/plugin
+includedir=\${prefix}/include/YaST2
+potdir=\${docdir}/pot
+
+docdir=\${prefix}/share/doc/packages/$RPMNAME
+mandir=\${prefix}/share/man
+
+execcompdir=\${prefix}/lib/YaST2
+agentdir=${execcompdir}/servers_non_y2
+
+ydatadir=${yast2dir}/data
+imagedir=${yast2dir}/images
+themedir=${yast2dir}/theme
+localedir=${yast2dir}/locale
+clientdir=${yast2dir}/clients
+moduledir=${yast2dir}/modules
+yncludedir=${yast2dir}/include
+schemadir=${yast2dir}/schema
+scrconfdir=${yast2dir}/scrconf
+desktopdir=\${prefix}/share/applications/YaST2
+
+AC_SUBST(VERSION)
+AC_SUBST(RPMNAME)
+AC_SUBST(MAINTAINER)
+
+AC_SUBST(pkgconfigdir)
+AC_SUBST(pkgconfigdatadir)
+
+AC_SUBST(yast2dir)
+
+AC_SUBST(ybindir)
+AC_SUBST(ystartupdir)
+AC_SUBST(plugindir)
+AC_SUBST(includedir)
+AC_SUBST(potdir)
+AC_SUBST(execcompdir)
+
+AC_SUBST(docdir)
+AC_SUBST(mandir)
+
+AC_SUBST(ydatadir)
+AC_SUBST(imagedir)
+AC_SUBST(themedir)
+AC_SUBST(localedir)
+AC_SUBST(clientdir)
+AC_SUBST(moduledir)
+AC_SUBST(yncludedir)
+AC_SUBST(schemadir)
+AC_SUBST(scrconfdir)
+AC_SUBST(agentdir)
+AC_SUBST(desktopdir)
+
+fillupdir_d="/var/adm/fillup-templates"
+AC_ARG_WITH(fillupdir,
+ AS_HELP_STRING([--with-fillupdir=DIR],
+ [where to place fillup templates (default $fillupdir_d.]),
+ [ fillupdir="$withval" ],
+ [ fillupdir="$fillupdir_d" ])
+AC_SUBST(fillupdir)
+
+LL=${RPMNAME##*-}
+AC_SUBST(LL)
+ISO639=${LL%_*}
+AC_SUBST(ISO639)
+
+AC_ARG_WITH(own_compendium,
+ AS_HELP_STRING([--with-own_compendium=FILE],
+ [Location of compendium file]),
+ y2compendium=yes, y2compendium=no)
+if test "x$with_own_compendium" = "x" ; then
+ if test -d ../50-memory ; then
+ COMPENDIUM='../../50-memory/yast2.$(LL).po'
+ else
+ COMPENDIUM='../../memory/yast2.$(LL).po'
+ fi
+else
+ COMPENDIUM=${with_own_compendium}
+fi
+AC_SUBST(COMPENDIUM)
+if test -d ../50-pot ; then
+ POTDIR=../../50-pot
+else
+ POTDIR=../../pot/pot
+fi
+AC_SUBST(POTDIR)
+
+
+dnl Checks for programs.
+AC_PROG_INSTALL
+dnl The YCP interpreter checks whether dependent ybc files are older
+dnl so we must preserve their timestamps
+INSTALL="${INSTALL} -p"
+AC_PROG_LN_S
+AC_PROG_MAKE_SET
+
+dnl pkgconfig
+AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files])
+dnl devtools
+dnl ...
+
+dnl no need for AC_ARG_VAR
+AC_PATH_PROG(XGETTEXT, xgettext)
+if test -z "$XGETTEXT" ; then
+ AC_MSG_ERROR(xgettext is missing; please install gettext-tools.)
+fi
+
+Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools`
+AC_SUBST(Y2DEVTOOLS_PREFIX)
+devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools`
+devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools`
+
+dnl producing pkg-config for others?
+AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x)
+AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch)
+
+dbdir=${devtools_yast2dir}/data/docbook
+STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl
+STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl
+STYLESHEET_CSS=${dbdir}/css/yast2docs.css
+STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl
+STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl
+AC_SUBST(STYLESHEET_HTML)
+AC_SUBST(STYLESHEET_PDF)
+AC_SUBST(STYLESHEET_CSS)
+AC_SUBST(STYLESHEET_YDOC)
+AC_SUBST(STYLESHEET_YCPDOC)
+
+
+dnl searches for some needed programs
+AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin)
+if test x$MSGFMT != x"/usr/bin/msgfmt"; then
+ AC_MSG_ERROR(msgfmt is missing; please install gettext.)
+fi
+AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no)
+if test x$MSGCAT = xno; then
+ AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.)
+fi
+
+AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin)
+if test x$MSGMERGE != x"/usr/bin/msgmerge"; then
+ AC_MSG_ERROR(msgmerge is missing; please install gettext.)
+fi
+
+AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin)
+if test x$MSGCONV != x"/usr/bin/msgconv"; then
+ AC_MSG_ERROR(msgconv is missing; please install gettext.)
+fi
+
+
+AC_CONFIG_FILES(Makefile po/Makefile)
+AC_OUTPUT
+
Added: branches/SLE12-SP1/yast/pt/po/Makefile.am
===================================================================
--- branches/SLE12-SP1/yast/pt/po/Makefile.am (rev 0)
+++ branches/SLE12-SP1/yast/pt/po/Makefile.am 2015-09-15 09:35:48 UTC (rev 92725)
@@ -0,0 +1,175 @@
+# Emacs: -*- makefile -*-
+#
+# Makefile.am for a YaST2 translation (po/) subproject
+#
+# -- This file is generated by y2automake - DO NOT EDIT! --
+#
+# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top ---
+# Emacs: -*- makefile -*-
+# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top ---
+# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center ---
+# Emacs: -*- makefile -*-
+
+LL = @LL@
+#POTDIR = ../../50-pot
+POTDIR = @POTDIR@
+POTFILES = $(wildcard $(POTDIR)/*.pot)
+GENERATED = $(MOFILES)
+CLEANFILES = $(GENERATED)
+POFILES = $(wildcard *.po)
+ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES)))
+BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business)
+WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS))
+WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS))
+MOFILES = $(POFILES:%.po=%.mo)
+INST_MOFILES = $(MOFILES:.$(LL).mo=.mo)
+POXFILES = $(POFILES:%.po=%.pox)
+EXTRA_DIST = $(WANTED_POFILES) $(stat)
+localedir=@localedir@
+locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES
+compendium = @COMPENDIUM@
+with_compendium =
+
+stat=status.txt
+PO_STATS= grep -v warning: | @ybindir@/po-stats
+
+MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous
+MSGFMT = @MSGFMT@
+MSGCAT = @MSGCAT@ --no-wrap --force-po
+MSGCONV = @MSGCONV@ --no-wrap --force-po
+XGETTEXT = @XGETTEXT@ --no-wrap
+
+SUFFIXES = .po .pox .gmo .mo
+
+all-local: $(GENERATED)
+
+make-pox pox: Makefile $(POXFILES)
+$(POXFILES): %.pox: %.po
+ -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \
+ pot=$$(echo $< | sed "s:$(LL).po:pot:"); \
+ compendium=$(compendium); \
+ [ -f $$compendium ] || compendium=/dev/null ; \
+ $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot
+
+# update or init PO file
+update-po: Makefile $(POTFILES)
+ for p in $(POTFILES); do \
+ q=$${p##*/}; \
+ po=$${q%pot}$(LL).po; \
+ echo $$po; \
+ if [ -f $$po ]; then \
+ $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \
+ else \
+ $(MSGMERGE) -o $$po.tmp -C $(compendium) \
+ --verbose /dev/null $$p; \
+ fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \
+ rm -f $$po.tmp ; }; \
+ if cmp $$po.tmp $$po >/dev/null 2>&1; then \
+ rm -vf $$po.tmp; \
+ else \
+ mv -vf $$po.tmp $$po; \
+ fi; \
+ done
+ $(MAKE) $(stat)
+
+$(stat): $(WANTED_POFILES)
+ if [ -f $(stat) ]; then \
+ cp --backup=numbered $(stat) $(stat).bak; \
+ :> $(stat); \
+ fi
+ { for f in $(WANTED_POFILES); do \
+ LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \
+ done ; } | $(PO_STATS) | head -n 6 | tee $(stat)
+
+update-po-with-compendium:
+ $(MAKE) update-po with_compendium="-C $(compendium)"
+
+update-mo: $(MOFILES)
+ @:
+
+%.mo: %.po
+ file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \
+ && rm -f $$file \
+ && $(MSGCONV) --to UTF-8 $< \
+ | $(MSGFMT) -c --statistics -o $$file -
+
+showpo:
+ echo $(POFILES)
+
+showmo:
+ echo $(MOFILES)
+
+checkpo:
+ for f in $(POFILES); do \
+ mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \
+ [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \
+ LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \
+ || exit 1; \
+ done
+
+# Try to checkin a .pox file
+# FIXME make sure msgcat doesn't weird things with "" and comments
+checkin:
+ p=$(MODULE).$(ci_ll); \
+ cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \
+ if [ -d CVS ]; then \
+ cvs -n update $$p.po | grep -q -v '^[UPMC]'; \
+ else \
+ LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \
+ fi; \
+ if [ $$? = 0 ]; then \
+ echo "CVS/Subversion mismatch; trying to merge..."; \
+ rm -f $$p.po; \
+ if [ -d CVS ]; then \
+ cvs -q update $$p.po; \
+ else \
+ svn update $$p.po; \
+ fi; \
+ cp $$p.pox $$p.pox.new; \
+ $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \
+ echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \
+ $(MSGFMT) --check --statistics $$p.pox; \
+ echo -e "Then try again to checkin \"$$p.pox\"."; \
+ else \
+ cp $(ci_opt) $$p.pox $$p.po; \
+ if [ -d CVS ]; then \
+ cvs -n ci $$p.po; \
+ else \
+ svn --dry-run commit $$p.po; \
+ fi; \
+ if [ $$? = 0 ] ; then \
+ if [ -d CVS ]; then \
+ cvs ci -m "$(ci_msg)" $$p.po; \
+ else \
+ svn commit --message "$(ci_msg)" $$p.po; \
+ fi; \
+ else \
+ rm -f $$p.po; \
+ if [ -d CVS ]; then \
+ cvs -q update $$p.po; \
+ else \
+ svn update $$p.po; \
+ fi; \
+ cp $$p.pox $$p.pox.new; \
+ $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \
+ echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \
+ $(MSGFMT) --check --statistics $$p.pox; \
+ echo "Then try to checkin \"$$p.pox\"."; \
+ fi; \
+ fi
+
+install-data-local: $(MOFILES) $(stat)
+ D=$(DESTDIR)$(locale_lang_msg_dir); \
+ [ -d $$D ] || install -d -m 755 $$D; \
+ for l in $(MOFILES); do \
+ m=$${l/$(LL).mo/mo}; \
+ install -m 644 $$l $$D/$$m; \
+ done
+ install -d -m 755 $(DESTDIR)$(docdir)
+ $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir)
+# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center ---
+# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom ---
+# Emacs: -*- makefile -*-
+
+## po/Makefile.am.bottom ends here
+# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom ---
1
0
[opensuse-translation-commit] r92724 - in branches/SLE12-SP1/yast/pl: . po
by keichwa@svn2.opensuse.org 15 Sep '15
by keichwa@svn2.opensuse.org 15 Sep '15
15 Sep '15
Author: keichwa
Date: 2015-09-15 11:35:45 +0200 (Tue, 15 Sep 2015)
New Revision: 92724
Added:
branches/SLE12-SP1/yast/pl/Makefile.am
branches/SLE12-SP1/yast/pl/configure.ac
branches/SLE12-SP1/yast/pl/po/Makefile.am
Log:
new
Added: branches/SLE12-SP1/yast/pl/Makefile.am
===================================================================
--- branches/SLE12-SP1/yast/pl/Makefile.am (rev 0)
+++ branches/SLE12-SP1/yast/pl/Makefile.am 2015-09-15 09:35:45 UTC (rev 92724)
@@ -0,0 +1,196 @@
+# Emacs: -*- makefile -*-
+#
+# Toplevel Makefile.am for a YaST2 subproject
+#
+# -- This file is generated by y2automake - DO NOT EDIT! --
+# (Edit ./SUBDIRS instead)
+#
+
+#where devtools are
+Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool
+
+VERSION = $(shell cat $(srcdir)/VERSION)
+RPMNAME = $(shell cat $(srcdir)/RPMNAME)
+SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS)
+ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4)
+
+HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE)
+
+# do we do Makefile.am for devtools? It is a little special...
+IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME))
+
+DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools)
+LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl)
+
+COPYRIGHT_files_gpl = README COPYING
+
+COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \
+ COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish
+
+extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl))
+
+# less strict; prefer bzip2
+AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip
+# where devtools install m4 snippets
+# argh, executed literally
+#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal
+ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal
+
+Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common
+ cmp -s $< $@ || cp -f $< $@
+
+# create bzip2ed tar and make some sanity checks
+$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2
+ @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \
+ echo "Error: created tar is empty" ; \
+ exit 1 ; \
+ fi
+
+CLEANFILES =
+MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec
+
+POT_DST = $(shell find -type d -name testsuite -prune , \
+ -type f -name "*.pot")
+
+EXTRA_DIST = \
+ VERSION RPMNAME MAINTAINER configure.in.in \
+ $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \
+ $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST))
+
+show-extra-dist:
+ @echo $(EXTRA_DIST)
+
+# info '(automake)Conditionals'
+if CREATE_PKGCONFIG
+# create the file here instead of by configure
+# because the prerequisite is made here (not anymore!)
+# and we don't want any paths in y2autoconf
+# info '(autoconf)config.status Invocation'
+$(RPMNAME).pc: $(RPMNAME).pc.in config.status
+ ./config.status --file=$@:$<
+
+if CREATE_PKGCONFIG_NOARCH
+pkgconfigdata_DATA = $(RPMNAME).pc
+else
+pkgconfig_DATA = $(RPMNAME).pc
+endif
+
+EXTRA_DIST += $(RPMNAME).pc.in
+endif
+
+dist-hook:
+ @for I in $(extra_COPYRIGHT_files) ; \
+ do \
+ EX="" ; \
+ if test -f $(srcdir)/$$I ; then \
+ EX=$(srcdir)/$$I ; \
+ elif test -f $(LEGALESE_DIR)/$$I ; then \
+ EX=$(LEGALESE_DIR)/$$I ; \
+ else \
+ echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \
+ exit 1 ; \
+ fi ; \
+ echo "cp $$EX $(distdir)" ; \
+ cp $$EX "$(distdir)" ; \
+ done
+
+pot:
+ $(Y2TOOL) y2makepot -s $(srcdir)
+
+install-pot: pot
+ @POT_DST=`find -type d -name testsuite -prune , \
+ -type f -name "*.pot"` ; \
+ if [ -n "$$POT_DST" ] ; then \
+ echo "mkdir -p $(DESTDIR)$(potdir)" ; \
+ mkdir -p $(DESTDIR)$(potdir) ; \
+ list="$$POT_DST"; \
+ for I in $$list ; \
+ do \
+ echo $$I ; \
+ if [ "$$I" == "pot" ] ; then \
+ continue ; \
+ fi ; \
+ echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \
+ $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \
+ done ; \
+ fi
+
+spellcheck: pot
+ $(Y2TOOL) pot-spellcheck
+
+# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST))
+
+install-data-local: # $(if $(IS_DEVTOOLS),,install-pot)
+ mkdir -p $(DESTDIR)$(docdir)
+ @for I in $(extra_COPYRIGHT_files) ; \
+ do \
+ EX="" ; \
+ if test -f $(srcdir)/$$I ; then \
+ EX=$(srcdir)/$$I ; \
+ elif test -f $(LEGALESE_DIR)/$$I ; then \
+ EX=$(LEGALESE_DIR)/$$I ; \
+ else \
+ echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \
+ exit 1 ; \
+ fi ; \
+ echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \
+ $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \
+ done
+
+package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2
+ rm -f package/$(RPMNAME)-*.tar.bz2
+ rm -f package/*~
+ rm -f package/*.bak
+ rm -f package/*.auto
+ mv $(RPMNAME)-$(VERSION).tar.bz2 package/
+ if ! test -x $(Y2TOOL); then \
+ echo "$(Y2TOOL): not found."; \
+ echo "You have to install yast2-devtools to making a package"; \
+ false; \
+ fi
+ here=`pwd`; \
+ cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \
+ newname="`echo "$$i" | sed "s/\.in$$//g"`"; \
+ $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \
+ done
+
+package: check-up-to-date check-tagversion check-textdomain package-local
+
+TAGVERSION = $(Y2TOOL) tagversion
+
+# check if there is no modified files and all commits were pushed
+check-up-to-date:
+ if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \
+ (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \
+ fi
+
+check-tagversion:
+ cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \
+ [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false )
+
+check-parse-old:
+ @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \
+ echo "Running parseycp..." ; \
+ parseycp -q -R ; \
+ else \
+ echo "Not running parseycp." ; \
+ fi
+
+check-parse:
+ @echo "Not running parseycp."
+
+check-textdomain:
+ $(Y2TOOL) check-textdomain $(srcdir)
+
+stable: checkin-stable
+
+checkin-stable: package
+ $(Y2TOOL) checkin-stable
+
+
+# For po/ modules
+checkpo:
+ test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo
+# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox
+# Contents of ./SUBDIRS
+SUBDIRS = po
Added: branches/SLE12-SP1/yast/pl/configure.ac
===================================================================
--- branches/SLE12-SP1/yast/pl/configure.ac (rev 0)
+++ branches/SLE12-SP1/yast/pl/configure.ac 2015-09-15 09:35:45 UTC (rev 92724)
@@ -0,0 +1,184 @@
+dnl configure.ac for yast2-trans-pl
+dnl
+dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! --
+dnl (edit configure.ac.in or configure.in.in instead)
+
+AC_INIT(yast2-trans-pl, 3.0.0, http://bugs.opensuse.org/, yast2-trans-pl)
+dnl Check for presence of file 'RPMNAME'
+AC_CONFIG_SRCDIR([RPMNAME])
+
+dnl Checking host/target/build systems, for make, install etc.
+AC_CANONICAL_TARGET
+dnl Perform program name transformation
+AC_ARG_PROGRAM
+
+AC_PREFIX_DEFAULT(/usr)
+
+dnl long filenames; we use GNU Make extensions and that's ok
+AM_INIT_AUTOMAKE(tar-ustar -Wno-portability)
+
+dnl Important YaST2 variables
+VERSION="3.0.0"
+RPMNAME="yast2-trans-pl"
+MAINTAINER="Karl Eichwalder <ke(a)suse.de>"
+
+dnl pkgconfig honors lib64
+pkgconfigdir=\${libdir}/pkgconfig
+pkgconfigdatadir=\${datadir}/pkgconfig
+yast2dir=\${prefix}/share/YaST2
+
+ybindir=\${prefix}/lib/YaST2/bin
+# FIXME duplicates execcompdir
+ystartupdir=\${prefix}/lib/YaST2
+plugindir=\${libdir}/YaST2/plugin
+includedir=\${prefix}/include/YaST2
+potdir=\${docdir}/pot
+
+docdir=\${prefix}/share/doc/packages/$RPMNAME
+mandir=\${prefix}/share/man
+
+execcompdir=\${prefix}/lib/YaST2
+agentdir=${execcompdir}/servers_non_y2
+
+ydatadir=${yast2dir}/data
+imagedir=${yast2dir}/images
+themedir=${yast2dir}/theme
+localedir=${yast2dir}/locale
+clientdir=${yast2dir}/clients
+moduledir=${yast2dir}/modules
+yncludedir=${yast2dir}/include
+schemadir=${yast2dir}/schema
+scrconfdir=${yast2dir}/scrconf
+desktopdir=\${prefix}/share/applications/YaST2
+
+AC_SUBST(VERSION)
+AC_SUBST(RPMNAME)
+AC_SUBST(MAINTAINER)
+
+AC_SUBST(pkgconfigdir)
+AC_SUBST(pkgconfigdatadir)
+
+AC_SUBST(yast2dir)
+
+AC_SUBST(ybindir)
+AC_SUBST(ystartupdir)
+AC_SUBST(plugindir)
+AC_SUBST(includedir)
+AC_SUBST(potdir)
+AC_SUBST(execcompdir)
+
+AC_SUBST(docdir)
+AC_SUBST(mandir)
+
+AC_SUBST(ydatadir)
+AC_SUBST(imagedir)
+AC_SUBST(themedir)
+AC_SUBST(localedir)
+AC_SUBST(clientdir)
+AC_SUBST(moduledir)
+AC_SUBST(yncludedir)
+AC_SUBST(schemadir)
+AC_SUBST(scrconfdir)
+AC_SUBST(agentdir)
+AC_SUBST(desktopdir)
+
+fillupdir_d="/var/adm/fillup-templates"
+AC_ARG_WITH(fillupdir,
+ AS_HELP_STRING([--with-fillupdir=DIR],
+ [where to place fillup templates (default $fillupdir_d.]),
+ [ fillupdir="$withval" ],
+ [ fillupdir="$fillupdir_d" ])
+AC_SUBST(fillupdir)
+
+LL=${RPMNAME##*-}
+AC_SUBST(LL)
+ISO639=${LL%_*}
+AC_SUBST(ISO639)
+
+AC_ARG_WITH(own_compendium,
+ AS_HELP_STRING([--with-own_compendium=FILE],
+ [Location of compendium file]),
+ y2compendium=yes, y2compendium=no)
+if test "x$with_own_compendium" = "x" ; then
+ if test -d ../50-memory ; then
+ COMPENDIUM='../../50-memory/yast2.$(LL).po'
+ else
+ COMPENDIUM='../../memory/yast2.$(LL).po'
+ fi
+else
+ COMPENDIUM=${with_own_compendium}
+fi
+AC_SUBST(COMPENDIUM)
+if test -d ../50-pot ; then
+ POTDIR=../../50-pot
+else
+ POTDIR=../../pot/pot
+fi
+AC_SUBST(POTDIR)
+
+
+dnl Checks for programs.
+AC_PROG_INSTALL
+dnl The YCP interpreter checks whether dependent ybc files are older
+dnl so we must preserve their timestamps
+INSTALL="${INSTALL} -p"
+AC_PROG_LN_S
+AC_PROG_MAKE_SET
+
+dnl pkgconfig
+AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files])
+dnl devtools
+dnl ...
+
+dnl no need for AC_ARG_VAR
+AC_PATH_PROG(XGETTEXT, xgettext)
+if test -z "$XGETTEXT" ; then
+ AC_MSG_ERROR(xgettext is missing; please install gettext-tools.)
+fi
+
+Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools`
+AC_SUBST(Y2DEVTOOLS_PREFIX)
+devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools`
+devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools`
+
+dnl producing pkg-config for others?
+AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x)
+AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch)
+
+dbdir=${devtools_yast2dir}/data/docbook
+STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl
+STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl
+STYLESHEET_CSS=${dbdir}/css/yast2docs.css
+STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl
+STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl
+AC_SUBST(STYLESHEET_HTML)
+AC_SUBST(STYLESHEET_PDF)
+AC_SUBST(STYLESHEET_CSS)
+AC_SUBST(STYLESHEET_YDOC)
+AC_SUBST(STYLESHEET_YCPDOC)
+
+
+dnl searches for some needed programs
+AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin)
+if test x$MSGFMT != x"/usr/bin/msgfmt"; then
+ AC_MSG_ERROR(msgfmt is missing; please install gettext.)
+fi
+AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no)
+if test x$MSGCAT = xno; then
+ AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.)
+fi
+
+AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin)
+if test x$MSGMERGE != x"/usr/bin/msgmerge"; then
+ AC_MSG_ERROR(msgmerge is missing; please install gettext.)
+fi
+
+AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin)
+if test x$MSGCONV != x"/usr/bin/msgconv"; then
+ AC_MSG_ERROR(msgconv is missing; please install gettext.)
+fi
+
+
+AC_CONFIG_FILES(Makefile po/Makefile)
+AC_OUTPUT
+
Added: branches/SLE12-SP1/yast/pl/po/Makefile.am
===================================================================
--- branches/SLE12-SP1/yast/pl/po/Makefile.am (rev 0)
+++ branches/SLE12-SP1/yast/pl/po/Makefile.am 2015-09-15 09:35:45 UTC (rev 92724)
@@ -0,0 +1,175 @@
+# Emacs: -*- makefile -*-
+#
+# Makefile.am for a YaST2 translation (po/) subproject
+#
+# -- This file is generated by y2automake - DO NOT EDIT! --
+#
+# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top ---
+# Emacs: -*- makefile -*-
+# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top ---
+# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center ---
+# Emacs: -*- makefile -*-
+
+LL = @LL@
+#POTDIR = ../../50-pot
+POTDIR = @POTDIR@
+POTFILES = $(wildcard $(POTDIR)/*.pot)
+GENERATED = $(MOFILES)
+CLEANFILES = $(GENERATED)
+POFILES = $(wildcard *.po)
+ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES)))
+BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business)
+WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS))
+WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS))
+MOFILES = $(POFILES:%.po=%.mo)
+INST_MOFILES = $(MOFILES:.$(LL).mo=.mo)
+POXFILES = $(POFILES:%.po=%.pox)
+EXTRA_DIST = $(WANTED_POFILES) $(stat)
+localedir=@localedir@
+locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES
+compendium = @COMPENDIUM@
+with_compendium =
+
+stat=status.txt
+PO_STATS= grep -v warning: | @ybindir@/po-stats
+
+MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous
+MSGFMT = @MSGFMT@
+MSGCAT = @MSGCAT@ --no-wrap --force-po
+MSGCONV = @MSGCONV@ --no-wrap --force-po
+XGETTEXT = @XGETTEXT@ --no-wrap
+
+SUFFIXES = .po .pox .gmo .mo
+
+all-local: $(GENERATED)
+
+make-pox pox: Makefile $(POXFILES)
+$(POXFILES): %.pox: %.po
+ -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \
+ pot=$$(echo $< | sed "s:$(LL).po:pot:"); \
+ compendium=$(compendium); \
+ [ -f $$compendium ] || compendium=/dev/null ; \
+ $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot
+
+# update or init PO file
+update-po: Makefile $(POTFILES)
+ for p in $(POTFILES); do \
+ q=$${p##*/}; \
+ po=$${q%pot}$(LL).po; \
+ echo $$po; \
+ if [ -f $$po ]; then \
+ $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \
+ else \
+ $(MSGMERGE) -o $$po.tmp -C $(compendium) \
+ --verbose /dev/null $$p; \
+ fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \
+ rm -f $$po.tmp ; }; \
+ if cmp $$po.tmp $$po >/dev/null 2>&1; then \
+ rm -vf $$po.tmp; \
+ else \
+ mv -vf $$po.tmp $$po; \
+ fi; \
+ done
+ $(MAKE) $(stat)
+
+$(stat): $(WANTED_POFILES)
+ if [ -f $(stat) ]; then \
+ cp --backup=numbered $(stat) $(stat).bak; \
+ :> $(stat); \
+ fi
+ { for f in $(WANTED_POFILES); do \
+ LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \
+ done ; } | $(PO_STATS) | head -n 6 | tee $(stat)
+
+update-po-with-compendium:
+ $(MAKE) update-po with_compendium="-C $(compendium)"
+
+update-mo: $(MOFILES)
+ @:
+
+%.mo: %.po
+ file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \
+ && rm -f $$file \
+ && $(MSGCONV) --to UTF-8 $< \
+ | $(MSGFMT) -c --statistics -o $$file -
+
+showpo:
+ echo $(POFILES)
+
+showmo:
+ echo $(MOFILES)
+
+checkpo:
+ for f in $(POFILES); do \
+ mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \
+ [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \
+ LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \
+ || exit 1; \
+ done
+
+# Try to checkin a .pox file
+# FIXME make sure msgcat doesn't weird things with "" and comments
+checkin:
+ p=$(MODULE).$(ci_ll); \
+ cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \
+ if [ -d CVS ]; then \
+ cvs -n update $$p.po | grep -q -v '^[UPMC]'; \
+ else \
+ LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \
+ fi; \
+ if [ $$? = 0 ]; then \
+ echo "CVS/Subversion mismatch; trying to merge..."; \
+ rm -f $$p.po; \
+ if [ -d CVS ]; then \
+ cvs -q update $$p.po; \
+ else \
+ svn update $$p.po; \
+ fi; \
+ cp $$p.pox $$p.pox.new; \
+ $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \
+ echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \
+ $(MSGFMT) --check --statistics $$p.pox; \
+ echo -e "Then try again to checkin \"$$p.pox\"."; \
+ else \
+ cp $(ci_opt) $$p.pox $$p.po; \
+ if [ -d CVS ]; then \
+ cvs -n ci $$p.po; \
+ else \
+ svn --dry-run commit $$p.po; \
+ fi; \
+ if [ $$? = 0 ] ; then \
+ if [ -d CVS ]; then \
+ cvs ci -m "$(ci_msg)" $$p.po; \
+ else \
+ svn commit --message "$(ci_msg)" $$p.po; \
+ fi; \
+ else \
+ rm -f $$p.po; \
+ if [ -d CVS ]; then \
+ cvs -q update $$p.po; \
+ else \
+ svn update $$p.po; \
+ fi; \
+ cp $$p.pox $$p.pox.new; \
+ $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \
+ echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \
+ $(MSGFMT) --check --statistics $$p.pox; \
+ echo "Then try to checkin \"$$p.pox\"."; \
+ fi; \
+ fi
+
+install-data-local: $(MOFILES) $(stat)
+ D=$(DESTDIR)$(locale_lang_msg_dir); \
+ [ -d $$D ] || install -d -m 755 $$D; \
+ for l in $(MOFILES); do \
+ m=$${l/$(LL).mo/mo}; \
+ install -m 644 $$l $$D/$$m; \
+ done
+ install -d -m 755 $(DESTDIR)$(docdir)
+ $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir)
+# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center ---
+# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom ---
+# Emacs: -*- makefile -*-
+
+## po/Makefile.am.bottom ends here
+# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom ---
1
0
[opensuse-translation-commit] r92723 - in branches/SLE12-SP1/yast/nl: . po
by keichwa@svn2.opensuse.org 15 Sep '15
by keichwa@svn2.opensuse.org 15 Sep '15
15 Sep '15
Author: keichwa
Date: 2015-09-15 11:35:43 +0200 (Tue, 15 Sep 2015)
New Revision: 92723
Added:
branches/SLE12-SP1/yast/nl/Makefile.am
branches/SLE12-SP1/yast/nl/configure.ac
branches/SLE12-SP1/yast/nl/po/Makefile.am
Log:
new
Added: branches/SLE12-SP1/yast/nl/Makefile.am
===================================================================
--- branches/SLE12-SP1/yast/nl/Makefile.am (rev 0)
+++ branches/SLE12-SP1/yast/nl/Makefile.am 2015-09-15 09:35:43 UTC (rev 92723)
@@ -0,0 +1,196 @@
+# Emacs: -*- makefile -*-
+#
+# Toplevel Makefile.am for a YaST2 subproject
+#
+# -- This file is generated by y2automake - DO NOT EDIT! --
+# (Edit ./SUBDIRS instead)
+#
+
+#where devtools are
+Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool
+
+VERSION = $(shell cat $(srcdir)/VERSION)
+RPMNAME = $(shell cat $(srcdir)/RPMNAME)
+SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS)
+ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4)
+
+HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE)
+
+# do we do Makefile.am for devtools? It is a little special...
+IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME))
+
+DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools)
+LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl)
+
+COPYRIGHT_files_gpl = README COPYING
+
+COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \
+ COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish
+
+extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl))
+
+# less strict; prefer bzip2
+AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip
+# where devtools install m4 snippets
+# argh, executed literally
+#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal
+ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal
+
+Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common
+ cmp -s $< $@ || cp -f $< $@
+
+# create bzip2ed tar and make some sanity checks
+$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2
+ @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \
+ echo "Error: created tar is empty" ; \
+ exit 1 ; \
+ fi
+
+CLEANFILES =
+MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec
+
+POT_DST = $(shell find -type d -name testsuite -prune , \
+ -type f -name "*.pot")
+
+EXTRA_DIST = \
+ VERSION RPMNAME MAINTAINER configure.in.in \
+ $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \
+ $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST))
+
+show-extra-dist:
+ @echo $(EXTRA_DIST)
+
+# info '(automake)Conditionals'
+if CREATE_PKGCONFIG
+# create the file here instead of by configure
+# because the prerequisite is made here (not anymore!)
+# and we don't want any paths in y2autoconf
+# info '(autoconf)config.status Invocation'
+$(RPMNAME).pc: $(RPMNAME).pc.in config.status
+ ./config.status --file=$@:$<
+
+if CREATE_PKGCONFIG_NOARCH
+pkgconfigdata_DATA = $(RPMNAME).pc
+else
+pkgconfig_DATA = $(RPMNAME).pc
+endif
+
+EXTRA_DIST += $(RPMNAME).pc.in
+endif
+
+dist-hook:
+ @for I in $(extra_COPYRIGHT_files) ; \
+ do \
+ EX="" ; \
+ if test -f $(srcdir)/$$I ; then \
+ EX=$(srcdir)/$$I ; \
+ elif test -f $(LEGALESE_DIR)/$$I ; then \
+ EX=$(LEGALESE_DIR)/$$I ; \
+ else \
+ echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \
+ exit 1 ; \
+ fi ; \
+ echo "cp $$EX $(distdir)" ; \
+ cp $$EX "$(distdir)" ; \
+ done
+
+pot:
+ $(Y2TOOL) y2makepot -s $(srcdir)
+
+install-pot: pot
+ @POT_DST=`find -type d -name testsuite -prune , \
+ -type f -name "*.pot"` ; \
+ if [ -n "$$POT_DST" ] ; then \
+ echo "mkdir -p $(DESTDIR)$(potdir)" ; \
+ mkdir -p $(DESTDIR)$(potdir) ; \
+ list="$$POT_DST"; \
+ for I in $$list ; \
+ do \
+ echo $$I ; \
+ if [ "$$I" == "pot" ] ; then \
+ continue ; \
+ fi ; \
+ echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \
+ $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \
+ done ; \
+ fi
+
+spellcheck: pot
+ $(Y2TOOL) pot-spellcheck
+
+# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST))
+
+install-data-local: # $(if $(IS_DEVTOOLS),,install-pot)
+ mkdir -p $(DESTDIR)$(docdir)
+ @for I in $(extra_COPYRIGHT_files) ; \
+ do \
+ EX="" ; \
+ if test -f $(srcdir)/$$I ; then \
+ EX=$(srcdir)/$$I ; \
+ elif test -f $(LEGALESE_DIR)/$$I ; then \
+ EX=$(LEGALESE_DIR)/$$I ; \
+ else \
+ echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \
+ exit 1 ; \
+ fi ; \
+ echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \
+ $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \
+ done
+
+package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2
+ rm -f package/$(RPMNAME)-*.tar.bz2
+ rm -f package/*~
+ rm -f package/*.bak
+ rm -f package/*.auto
+ mv $(RPMNAME)-$(VERSION).tar.bz2 package/
+ if ! test -x $(Y2TOOL); then \
+ echo "$(Y2TOOL): not found."; \
+ echo "You have to install yast2-devtools to making a package"; \
+ false; \
+ fi
+ here=`pwd`; \
+ cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \
+ newname="`echo "$$i" | sed "s/\.in$$//g"`"; \
+ $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \
+ done
+
+package: check-up-to-date check-tagversion check-textdomain package-local
+
+TAGVERSION = $(Y2TOOL) tagversion
+
+# check if there is no modified files and all commits were pushed
+check-up-to-date:
+ if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \
+ (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \
+ fi
+
+check-tagversion:
+ cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \
+ [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false )
+
+check-parse-old:
+ @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \
+ echo "Running parseycp..." ; \
+ parseycp -q -R ; \
+ else \
+ echo "Not running parseycp." ; \
+ fi
+
+check-parse:
+ @echo "Not running parseycp."
+
+check-textdomain:
+ $(Y2TOOL) check-textdomain $(srcdir)
+
+stable: checkin-stable
+
+checkin-stable: package
+ $(Y2TOOL) checkin-stable
+
+
+# For po/ modules
+checkpo:
+ test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo
+# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox
+# Contents of ./SUBDIRS
+SUBDIRS = po
Added: branches/SLE12-SP1/yast/nl/configure.ac
===================================================================
--- branches/SLE12-SP1/yast/nl/configure.ac (rev 0)
+++ branches/SLE12-SP1/yast/nl/configure.ac 2015-09-15 09:35:43 UTC (rev 92723)
@@ -0,0 +1,184 @@
+dnl configure.ac for yast2-trans-nl
+dnl
+dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! --
+dnl (edit configure.ac.in or configure.in.in instead)
+
+AC_INIT(yast2-trans-nl, 3.0.0, http://bugs.opensuse.org/, yast2-trans-nl)
+dnl Check for presence of file 'RPMNAME'
+AC_CONFIG_SRCDIR([RPMNAME])
+
+dnl Checking host/target/build systems, for make, install etc.
+AC_CANONICAL_TARGET
+dnl Perform program name transformation
+AC_ARG_PROGRAM
+
+AC_PREFIX_DEFAULT(/usr)
+
+dnl long filenames; we use GNU Make extensions and that's ok
+AM_INIT_AUTOMAKE(tar-ustar -Wno-portability)
+
+dnl Important YaST2 variables
+VERSION="3.0.0"
+RPMNAME="yast2-trans-nl"
+MAINTAINER="Karl Eichwalder <ke(a)suse.de>"
+
+dnl pkgconfig honors lib64
+pkgconfigdir=\${libdir}/pkgconfig
+pkgconfigdatadir=\${datadir}/pkgconfig
+yast2dir=\${prefix}/share/YaST2
+
+ybindir=\${prefix}/lib/YaST2/bin
+# FIXME duplicates execcompdir
+ystartupdir=\${prefix}/lib/YaST2
+plugindir=\${libdir}/YaST2/plugin
+includedir=\${prefix}/include/YaST2
+potdir=\${docdir}/pot
+
+docdir=\${prefix}/share/doc/packages/$RPMNAME
+mandir=\${prefix}/share/man
+
+execcompdir=\${prefix}/lib/YaST2
+agentdir=${execcompdir}/servers_non_y2
+
+ydatadir=${yast2dir}/data
+imagedir=${yast2dir}/images
+themedir=${yast2dir}/theme
+localedir=${yast2dir}/locale
+clientdir=${yast2dir}/clients
+moduledir=${yast2dir}/modules
+yncludedir=${yast2dir}/include
+schemadir=${yast2dir}/schema
+scrconfdir=${yast2dir}/scrconf
+desktopdir=\${prefix}/share/applications/YaST2
+
+AC_SUBST(VERSION)
+AC_SUBST(RPMNAME)
+AC_SUBST(MAINTAINER)
+
+AC_SUBST(pkgconfigdir)
+AC_SUBST(pkgconfigdatadir)
+
+AC_SUBST(yast2dir)
+
+AC_SUBST(ybindir)
+AC_SUBST(ystartupdir)
+AC_SUBST(plugindir)
+AC_SUBST(includedir)
+AC_SUBST(potdir)
+AC_SUBST(execcompdir)
+
+AC_SUBST(docdir)
+AC_SUBST(mandir)
+
+AC_SUBST(ydatadir)
+AC_SUBST(imagedir)
+AC_SUBST(themedir)
+AC_SUBST(localedir)
+AC_SUBST(clientdir)
+AC_SUBST(moduledir)
+AC_SUBST(yncludedir)
+AC_SUBST(schemadir)
+AC_SUBST(scrconfdir)
+AC_SUBST(agentdir)
+AC_SUBST(desktopdir)
+
+fillupdir_d="/var/adm/fillup-templates"
+AC_ARG_WITH(fillupdir,
+ AS_HELP_STRING([--with-fillupdir=DIR],
+ [where to place fillup templates (default $fillupdir_d.]),
+ [ fillupdir="$withval" ],
+ [ fillupdir="$fillupdir_d" ])
+AC_SUBST(fillupdir)
+
+LL=${RPMNAME##*-}
+AC_SUBST(LL)
+ISO639=${LL%_*}
+AC_SUBST(ISO639)
+
+AC_ARG_WITH(own_compendium,
+ AS_HELP_STRING([--with-own_compendium=FILE],
+ [Location of compendium file]),
+ y2compendium=yes, y2compendium=no)
+if test "x$with_own_compendium" = "x" ; then
+ if test -d ../50-memory ; then
+ COMPENDIUM='../../50-memory/yast2.$(LL).po'
+ else
+ COMPENDIUM='../../memory/yast2.$(LL).po'
+ fi
+else
+ COMPENDIUM=${with_own_compendium}
+fi
+AC_SUBST(COMPENDIUM)
+if test -d ../50-pot ; then
+ POTDIR=../../50-pot
+else
+ POTDIR=../../pot/pot
+fi
+AC_SUBST(POTDIR)
+
+
+dnl Checks for programs.
+AC_PROG_INSTALL
+dnl The YCP interpreter checks whether dependent ybc files are older
+dnl so we must preserve their timestamps
+INSTALL="${INSTALL} -p"
+AC_PROG_LN_S
+AC_PROG_MAKE_SET
+
+dnl pkgconfig
+AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files])
+dnl devtools
+dnl ...
+
+dnl no need for AC_ARG_VAR
+AC_PATH_PROG(XGETTEXT, xgettext)
+if test -z "$XGETTEXT" ; then
+ AC_MSG_ERROR(xgettext is missing; please install gettext-tools.)
+fi
+
+Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools`
+AC_SUBST(Y2DEVTOOLS_PREFIX)
+devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools`
+devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools`
+
+dnl producing pkg-config for others?
+AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x)
+AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch)
+
+dbdir=${devtools_yast2dir}/data/docbook
+STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl
+STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl
+STYLESHEET_CSS=${dbdir}/css/yast2docs.css
+STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl
+STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl
+AC_SUBST(STYLESHEET_HTML)
+AC_SUBST(STYLESHEET_PDF)
+AC_SUBST(STYLESHEET_CSS)
+AC_SUBST(STYLESHEET_YDOC)
+AC_SUBST(STYLESHEET_YCPDOC)
+
+
+dnl searches for some needed programs
+AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin)
+if test x$MSGFMT != x"/usr/bin/msgfmt"; then
+ AC_MSG_ERROR(msgfmt is missing; please install gettext.)
+fi
+AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no)
+if test x$MSGCAT = xno; then
+ AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.)
+fi
+
+AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin)
+if test x$MSGMERGE != x"/usr/bin/msgmerge"; then
+ AC_MSG_ERROR(msgmerge is missing; please install gettext.)
+fi
+
+AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin)
+if test x$MSGCONV != x"/usr/bin/msgconv"; then
+ AC_MSG_ERROR(msgconv is missing; please install gettext.)
+fi
+
+
+AC_CONFIG_FILES(Makefile po/Makefile)
+AC_OUTPUT
+
Added: branches/SLE12-SP1/yast/nl/po/Makefile.am
===================================================================
--- branches/SLE12-SP1/yast/nl/po/Makefile.am (rev 0)
+++ branches/SLE12-SP1/yast/nl/po/Makefile.am 2015-09-15 09:35:43 UTC (rev 92723)
@@ -0,0 +1,175 @@
+# Emacs: -*- makefile -*-
+#
+# Makefile.am for a YaST2 translation (po/) subproject
+#
+# -- This file is generated by y2automake - DO NOT EDIT! --
+#
+# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top ---
+# Emacs: -*- makefile -*-
+# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top ---
+# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center ---
+# Emacs: -*- makefile -*-
+
+LL = @LL@
+#POTDIR = ../../50-pot
+POTDIR = @POTDIR@
+POTFILES = $(wildcard $(POTDIR)/*.pot)
+GENERATED = $(MOFILES)
+CLEANFILES = $(GENERATED)
+POFILES = $(wildcard *.po)
+ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES)))
+BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business)
+WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS))
+WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS))
+MOFILES = $(POFILES:%.po=%.mo)
+INST_MOFILES = $(MOFILES:.$(LL).mo=.mo)
+POXFILES = $(POFILES:%.po=%.pox)
+EXTRA_DIST = $(WANTED_POFILES) $(stat)
+localedir=@localedir@
+locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES
+compendium = @COMPENDIUM@
+with_compendium =
+
+stat=status.txt
+PO_STATS= grep -v warning: | @ybindir@/po-stats
+
+MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous
+MSGFMT = @MSGFMT@
+MSGCAT = @MSGCAT@ --no-wrap --force-po
+MSGCONV = @MSGCONV@ --no-wrap --force-po
+XGETTEXT = @XGETTEXT@ --no-wrap
+
+SUFFIXES = .po .pox .gmo .mo
+
+all-local: $(GENERATED)
+
+make-pox pox: Makefile $(POXFILES)
+$(POXFILES): %.pox: %.po
+ -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \
+ pot=$$(echo $< | sed "s:$(LL).po:pot:"); \
+ compendium=$(compendium); \
+ [ -f $$compendium ] || compendium=/dev/null ; \
+ $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot
+
+# update or init PO file
+update-po: Makefile $(POTFILES)
+ for p in $(POTFILES); do \
+ q=$${p##*/}; \
+ po=$${q%pot}$(LL).po; \
+ echo $$po; \
+ if [ -f $$po ]; then \
+ $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \
+ else \
+ $(MSGMERGE) -o $$po.tmp -C $(compendium) \
+ --verbose /dev/null $$p; \
+ fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \
+ rm -f $$po.tmp ; }; \
+ if cmp $$po.tmp $$po >/dev/null 2>&1; then \
+ rm -vf $$po.tmp; \
+ else \
+ mv -vf $$po.tmp $$po; \
+ fi; \
+ done
+ $(MAKE) $(stat)
+
+$(stat): $(WANTED_POFILES)
+ if [ -f $(stat) ]; then \
+ cp --backup=numbered $(stat) $(stat).bak; \
+ :> $(stat); \
+ fi
+ { for f in $(WANTED_POFILES); do \
+ LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \
+ done ; } | $(PO_STATS) | head -n 6 | tee $(stat)
+
+update-po-with-compendium:
+ $(MAKE) update-po with_compendium="-C $(compendium)"
+
+update-mo: $(MOFILES)
+ @:
+
+%.mo: %.po
+ file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \
+ && rm -f $$file \
+ && $(MSGCONV) --to UTF-8 $< \
+ | $(MSGFMT) -c --statistics -o $$file -
+
+showpo:
+ echo $(POFILES)
+
+showmo:
+ echo $(MOFILES)
+
+checkpo:
+ for f in $(POFILES); do \
+ mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \
+ [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \
+ LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \
+ || exit 1; \
+ done
+
+# Try to checkin a .pox file
+# FIXME make sure msgcat doesn't weird things with "" and comments
+checkin:
+ p=$(MODULE).$(ci_ll); \
+ cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \
+ if [ -d CVS ]; then \
+ cvs -n update $$p.po | grep -q -v '^[UPMC]'; \
+ else \
+ LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \
+ fi; \
+ if [ $$? = 0 ]; then \
+ echo "CVS/Subversion mismatch; trying to merge..."; \
+ rm -f $$p.po; \
+ if [ -d CVS ]; then \
+ cvs -q update $$p.po; \
+ else \
+ svn update $$p.po; \
+ fi; \
+ cp $$p.pox $$p.pox.new; \
+ $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \
+ echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \
+ $(MSGFMT) --check --statistics $$p.pox; \
+ echo -e "Then try again to checkin \"$$p.pox\"."; \
+ else \
+ cp $(ci_opt) $$p.pox $$p.po; \
+ if [ -d CVS ]; then \
+ cvs -n ci $$p.po; \
+ else \
+ svn --dry-run commit $$p.po; \
+ fi; \
+ if [ $$? = 0 ] ; then \
+ if [ -d CVS ]; then \
+ cvs ci -m "$(ci_msg)" $$p.po; \
+ else \
+ svn commit --message "$(ci_msg)" $$p.po; \
+ fi; \
+ else \
+ rm -f $$p.po; \
+ if [ -d CVS ]; then \
+ cvs -q update $$p.po; \
+ else \
+ svn update $$p.po; \
+ fi; \
+ cp $$p.pox $$p.pox.new; \
+ $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \
+ echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \
+ $(MSGFMT) --check --statistics $$p.pox; \
+ echo "Then try to checkin \"$$p.pox\"."; \
+ fi; \
+ fi
+
+install-data-local: $(MOFILES) $(stat)
+ D=$(DESTDIR)$(locale_lang_msg_dir); \
+ [ -d $$D ] || install -d -m 755 $$D; \
+ for l in $(MOFILES); do \
+ m=$${l/$(LL).mo/mo}; \
+ install -m 644 $$l $$D/$$m; \
+ done
+ install -d -m 755 $(DESTDIR)$(docdir)
+ $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir)
+# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center ---
+# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom ---
+# Emacs: -*- makefile -*-
+
+## po/Makefile.am.bottom ends here
+# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom ---
1
0