trans-coord-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

trans-coord/gnun/server/gnun ChangeLog.sr-hr Ma... [sr-hr]


From: Yavor Doganov
Subject: trans-coord/gnun/server/gnun ChangeLog.sr-hr Ma... [sr-hr]
Date: Tue, 28 Jul 2009 13:19:16 +0000

CVSROOT:        /sources/trans-coord
Module name:    trans-coord
Branch:         sr-hr
Changes by:     Yavor Doganov <yavor>   09/07/28 13:19:16

Modified files:
        gnun/server/gnun: ChangeLog.sr-hr Makefile.am configure.ac 
Added files:
        gnun/server/gnun: gnun-recode-sr-latin.in 

Log message:
        Initial variant of the Serbian Cyrillic->Latin converter.
        * gnun-recode-sr-latin.in: New file.
        * Makefile.am (bin_SCRIPTS): Unconditionally add
        gnun-recode-sr-latin.
        * configure.ac: Check for msgfilter.
        (AC_CONFIG_FILES): Add gnun-recode-sr-latin.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/ChangeLog.sr-hr?cvsroot=trans-coord&only_with_tag=sr-hr&r1=1.1.2.1&r2=1.1.2.2
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/Makefile.am?cvsroot=trans-coord&only_with_tag=sr-hr&r1=1.11&r2=1.11.2.1
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/configure.ac?cvsroot=trans-coord&only_with_tag=sr-hr&r1=1.16&r2=1.16.2.1
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/gnun-recode-sr-latin.in?cvsroot=trans-coord&only_with_tag=sr-hr&rev=1.1.2.1

Patches:
Index: ChangeLog.sr-hr
===================================================================
RCS file: 
/sources/trans-coord/trans-coord/gnun/server/gnun/Attic/ChangeLog.sr-hr,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -b -r1.1.2.1 -r1.1.2.2
--- ChangeLog.sr-hr     27 Jul 2009 21:30:47 -0000      1.1.2.1
+++ ChangeLog.sr-hr     28 Jul 2009 13:19:16 -0000      1.1.2.2
@@ -1,5 +1,12 @@
 2009-07-28  Yavor Doganov  <address@hidden>
 
+       Initial variant of the Serbian Cyrillic->Latin converter.
+       * gnun-recode-sr-latin.in: New file.
+       * Makefile.am (bin_SCRIPTS): Unconditionally add
+       gnun-recode-sr-latin.
+       * configure.ac: Check for msgfilter.
+       (AC_CONFIG_FILES): Add gnun-recode-sr-latin.
+
        * .dir-locals.el: New file.
 
 

Index: Makefile.am
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/Makefile.am,v
retrieving revision 1.11
retrieving revision 1.11.2.1
diff -u -b -r1.11 -r1.11.2.1
--- Makefile.am 28 Apr 2009 15:55:35 -0000      1.11
+++ Makefile.am 28 Jul 2009 13:19:16 -0000      1.11.2.1
@@ -25,8 +25,10 @@
 
 pkglibexecdir = $(libexecdir)/$(PACKAGE)
 
+bin_SCRIPTS = gnun-recode-sr-latin
+
 if HAVE_XMLLINT
-bin_SCRIPTS = gnun-validate-html
+bin_SCRIPTS += gnun-validate-html
 endif
 
 noinst_SCRIPTS = stamp-config.mk

Index: configure.ac
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/configure.ac,v
retrieving revision 1.16
retrieving revision 1.16.2.1
diff -u -b -r1.16 -r1.16.2.1
--- configure.ac        26 Jul 2009 14:36:49 -0000      1.16
+++ configure.ac        28 Jul 2009 13:19:16 -0000      1.16.2.1
@@ -60,6 +60,7 @@
       [AC_MSG_WARN([none found -- consider updating gettext])])])
 AC_SUBST([MSGMERGE], [$ac_cv_path_MSGMERGE])
 AS_IF([test -n "$MSGMERGE"], [decent_gettext=yes], [decent_gettext=no])
+AC_CHECK_PROGS([MSGFILTER], [msgfilter gmsgfilter])
 
 AC_PATH_PROG([GUILE], [guile])
 AS_IF([test -n "$GUILE"], [have_guile=yes], [have_guile=no])
@@ -140,6 +141,7 @@
 AC_CONFIG_FILES([Makefile doc/Makefile dtd/Makefile config.mk])
 AS_IF([test -n "$GUILE"],
       [AC_CONFIG_FILES([make-prototype], [chmod +x make-prototype])])
+AC_CONFIG_FILES([gnun-recode-sr-latin], [chmod +x gnun-recode-sr-latin])
 AC_OUTPUT
 
 cat <<EOF

Index: gnun-recode-sr-latin.in
===================================================================
RCS file: gnun-recode-sr-latin.in
diff -N gnun-recode-sr-latin.in
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ gnun-recode-sr-latin.in     28 Jul 2009 13:19:16 -0000      1.1.2.1
@@ -0,0 +1,83 @@
+#!/bin/sh
+
+# Copyright (C) 2009 Free Software Foundation, Inc.
+
+# This file is part of GNUnited Nations.
+
+# GNUnited Nations is free software: you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+
+# GNUnited Nations is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with GNUnited Nations.  If not, see <http://www.gnu.org/licenses/>.
+
+# FIXME: Document this script once it is complete.
+
+set -e
+
+usage ()
+{
+cat <<EOF
+Usage: $0 INPUTFILE OUTPUTFILE
+
+Convert a Serbian (Cyrillic) translation to Latin.
+
+Options:
+      --version              Just print version info and return
+      --help                 Print this usage information message
+
+Report bugs to @PACKAGE_BUGREPORT@
address@hidden@ home page: <http://www.gnu.org/software/@PACKAGE@/>
+General help using GNU software: <http://www.gnu.org/gethelp/>
+EOF
+}
+
+version ()
+{
+cat <<EOF
+$0 (@PACKAGE_NAME@) @PACKAGE_VERSION@
+Copyright (C) 2009 Free Software Foundation, Inc.
+You may redistribute copies of @PACKAGE_NAME@
+under the terms of the GNU General Public License.
+For more information about these matters, see the file named COPYING.
+EOF
+}
+
+case $1 in
+    --help)
+       usage
+       exit 0
+       ;;
+    --version)
+       version
+       exit 0
+       ;;
+esac
+
+case $# in
+    0)
+       echo "$0: missing arguments." 1>&2
+       exit 1
+       ;;
+    1)
+       echo "$0: OUTPUTFILE is mandatory." 1>&2
+       exit 1
+       ;;
+    2)
+       ;;
+    *)
+       echo "$0: too many arguments." 1>&2
+       exit 1
+       ;;
+esac
+
+# FIXME: Convert all [A|B] alternative constructs to numbers, to be
+# restored after the main msgfilter invocation.
+
address@hidden@ --input $1 --output-file $2 recode-sr-latin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]