rpms/virtaal/F-11 virtaal-0.5.0-msgfmt_compile_fixes.patch, NONE, 1.1 virtaal-0.5.0-setup_drop_MO_generation.patch, NONE, 1.1 .cvsignore, 1.11, 1.12 sources, 1.11, 1.12 virtaal.spec, 1.12, 1.13 virtaal-0.3beta1-setup_drop_MO_generation.patch, 1.1, NONE

dwayne dwayne at fedoraproject.org
Fri Nov 27 13:44:02 UTC 2009


Author: dwayne

Update of /cvs/pkgs/rpms/virtaal/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3725

Modified Files:
	.cvsignore sources virtaal.spec 
Added Files:
	virtaal-0.5.0-msgfmt_compile_fixes.patch 
	virtaal-0.5.0-setup_drop_MO_generation.patch 
Removed Files:
	virtaal-0.3beta1-setup_drop_MO_generation.patch 
Log Message:
* Fri Nov 27 2009 Dwayne Bailey <dwayne at translate.org.za> - 0.5.0-0.1.rc1
- Update to 0.5.0 rc1
   - Autoterm: Virtaal can now automatically download terminology files
   - Web look-up: select text and and look it up on a web site
   - Highlighting of differences in non-100% TM matches
   - Language detection to aid in correct choice of language pair
   - Informative error handling when adding terms
   - New plugins for machine translation with Google and Moses
   - New translations: Northern Sotho, Sotho, Songhai, Korean
   - Many updated translations
   - Various bugfixes.
- Update MO generation patch
- Fix a msgfmt compile error in Korean translations


virtaal-0.5.0-msgfmt_compile_fixes.patch:
 ko.po |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

--- NEW FILE virtaal-0.5.0-msgfmt_compile_fixes.patch ---
diff -up virtaal-0.5.0-rc1/po/ko.po.msgfmt_compile_fixes virtaal-0.5.0-rc1/po/ko.po
--- virtaal-0.5.0-rc1/po/ko.po.msgfmt_compile_fixes	2009-11-24 19:08:56.000000000 +0200
+++ virtaal-0.5.0-rc1/po/ko.po	2009-11-24 19:09:16.000000000 +0200
@@ -177,8 +177,7 @@ msgstr "이름은 파일 헤더에 ì €ìž
 #: ../share/virtaal/virtaal.glade.h:41
 msgid "The team information stored in the file header. This can be an e-mail address or a URL, for example."
 msgstr ""
-"팀 정보는 파일 헤더에 저장됩니다.\n"
-"이메일이나 URL 등을 추가할 수도 있습니다.\n"
+"팀 정보는 파일 헤더에 저장됩니다. 이메일이나 URL 등을 추가할 수도 있습니다."
 
 #. l10n: Activating this menu item copies the whole source (or part thereof) to the target. The "copy" is not necessarily the same as the source: terminology placeables are translated when copied and language-specific punctionation changes are made automatically.
 #: ../share/virtaal/virtaal.glade.h:43

virtaal-0.5.0-setup_drop_MO_generation.patch:
 setup.py |   19 +------------------
 1 file changed, 1 insertion(+), 18 deletions(-)

--- NEW FILE virtaal-0.5.0-setup_drop_MO_generation.patch ---
diff -up virtaal-0.5.0-rc1/setup.py.setup_drop_MO_generation virtaal-0.5.0-rc1/setup.py
--- virtaal-0.5.0-rc1/setup.py.setup_drop_MO_generation	2009-11-18 13:09:29.000000000 +0200
+++ virtaal-0.5.0-rc1/setup.py	2009-11-24 19:02:36.000000000 +0200
@@ -60,23 +60,6 @@ classifiers = [
 ]
 #TODO: add Natural Language classifiers
 
-# Compile .mo files from available .po files
-from translate.tools.pocompile import convertmo
-mo_files = []
-
-for po_filename in glob(path.join('po', '*.po')):
-    lang = path.split(po_filename[:-3])[1] # Chop off '.po'
-    mo_filename = path.join('mo', lang, 'virtaal.mo')
-
-    if not path.exists(path.join('mo', lang)):
-        os.makedirs(path.join('mo', lang))
-
-    convertmo(open(po_filename), open(mo_filename, 'w'), None)
-
-    mo_files.append(
-        ( path.join(TARGET_DATA_DIR, 'locale', lang, 'LC_MESSAGES'), [mo_filename])
-    )
-
 # Some of these depend on some files to be built externally before running
 # setup.py, like the .xml and .desktop files
 options = {
@@ -84,7 +67,7 @@ options = {
         (path.join(TARGET_DATA_DIR, "virtaal"), glob(path.join(SOURCE_DATA_DIR, "virtaal", "*.*"))),
         (path.join(TARGET_DATA_DIR, "virtaal", "autocorr"), glob(path.join(SOURCE_DATA_DIR, "virtaal", "autocorr", "*"))),
         (path.join(TARGET_DATA_DIR, "icons"), glob(path.join(SOURCE_DATA_DIR, "icons", "*.*"))),
-    ] + mo_files,
+    ],
     'scripts': [
         "bin/virtaal",
     ],


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/virtaal/F-11/.cvsignore,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -p -r1.11 -r1.12
--- .cvsignore	16 Oct 2009 07:59:31 -0000	1.11
+++ .cvsignore	27 Nov 2009 13:44:01 -0000	1.12
@@ -1 +1 @@
-virtaal-0.4.1.tar.bz2
+virtaal-0.5.0-rc1.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/virtaal/F-11/sources,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -p -r1.11 -r1.12
--- sources	16 Oct 2009 07:59:31 -0000	1.11
+++ sources	27 Nov 2009 13:44:01 -0000	1.12
@@ -1 +1 @@
-cbbf64e451edaa2cf12f9a90c5e5d772  virtaal-0.4.1.tar.bz2
+20dda64495a8cfbd0b581cebff83d4d8  virtaal-0.5.0-rc1.tar.bz2


Index: virtaal.spec
===================================================================
RCS file: /cvs/pkgs/rpms/virtaal/F-11/virtaal.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -p -r1.12 -r1.13
--- virtaal.spec	16 Oct 2009 07:59:32 -0000	1.12
+++ virtaal.spec	27 Nov 2009 13:44:02 -0000	1.13
@@ -1,18 +1,20 @@
 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
 Name:           virtaal
-Version:        0.4.1
-Release:        1%{?dist}
+Version:        0.5.0
+Release:        0.1.rc1%{?dist}
 Summary:        Localization and translation editor
 
 Group:          Development/Tools
 License:        GPLv2+
 URL:            http://translate.sourceforge.net/wiki/virtaal/index
-Source0:        http://sourceforge.net/projects/translate/files/Virtaal/%{version}/%{name}-%{version}.tar.bz2
+#Source0:        http://sourceforge.net/projects/translate/files/Virtaal/%{version}/%{name}-%{version}.tar.bz2
+Source0:        http://sourceforge.net/projects/translate/files/Virtaal/%{version}/%{name}-%{version}-rc1.tar.bz2
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-Patch0:         virtaal-0.3beta1-setup_drop_MO_generation.patch
+Patch0:         virtaal-0.5.0-setup_drop_MO_generation.patch
 Patch1:         virtaal-0.3.0-autocorr_shared_location.patch
+Patch2:         virtaal-0.5.0-msgfmt_compile_fixes.patch
 
 BuildArch:      noarch
 BuildRequires:  python
@@ -20,17 +22,28 @@ BuildRequires:  python-devel
 BuildRequires:  desktop-file-utils
 BuildRequires:  gettext
 BuildRequires:  intltool
-Requires:       translate-toolkit >= 1.4.1
-Requires:       libtranslate
+Requires:       translate-toolkit >= 1.5.1
 Requires:       pygtk2
 Requires:       pygtk2-libglade
 Requires:       pygobject2
 Requires:       python-lxml
+# Virtaal lists the following as optional packages
+# gnome-python2-gtkspell Needed for spell checking
+Requires:       gnome-python2-gtkspell
+# libtranslate provides access to various MT platforms
+Requires:       libtranslate
+# python-Levenshtein provides fast distance measures
+Requires:       python-Levenshtein 
+# python-psycopg2 needed for TinyTM
+Requires:       python-psycopg2
+# Virtaal speedup
+%ifarch %{ix86}
+Requires:       python-psyco
+%endif
 # python-pycurl needed for open-tran.eu
 Requires:       python-pycurl
-# python-psycopg2 needed for tinytm
-Requires:       python-psycopg2
-Requires:       gnome-python2-gtkspell
+# python-simplejson needed for google-translate and tmclient
+Requires:       python-simplejson
 Requires:       xdg-utils
 
 
@@ -45,10 +58,10 @@ ensures that translators can focus on th
 A rich set of Translation Memory (TM) plugins provide valuable suggestions to
 the translator from sources such as Open-Tran.eu, the current file, and the 
 translators own TM server.  Similarly Machine Translation (MT) suggestions can 
-come from Apertium and libtranslate.
+come from Apertium, libtranslate, Google and Moses.
 
-The terminology plugin system will provide terminology hints from Open-Tran.eu
-and local terminology files.
+The terminology plugin system will provide terminology hints from Open-Tran.eu,
+local terminology files and remote terminology repositories.
 
 Placeholders such as variables, abbreviations, URLs, emails and special 
 punctutions are highlighted for easy insertion into the translations.
@@ -61,9 +74,10 @@ subtitles, and other formats.
 
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{version}-rc1
 %patch0 -p1 -b .setup_drop_MO_generation
 %patch1 -p1 -b .autocorr_shared_location
+%patch2 -p1 -b .msgfmt_compile_fixes
 
 %build
 %{__python} setup.py build
@@ -148,6 +162,20 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Fri Nov 27 2009 Dwayne Bailey <dwayne at translate.org.za> - 0.5.0-0.1.rc1
+- Update to 0.5.0 rc1
+   - Autoterm: Virtaal can now automatically download terminology files
+   - Web look-up: select text and and look it up on a web site
+   - Highlighting of differences in non-100% TM matches
+   - Language detection to aid in correct choice of language pair
+   - Informative error handling when adding terms
+   - New plugins for machine translation with Google and Moses
+   - New translations: Northern Sotho, Sotho, Songhai, Korean
+   - Many updated translations
+   - Various bugfixes.
+- Update MO generation patch
+- Fix a msgfmt compile error in Korean translations
+
 * Fri Oct 16 2009 Dwayne Bailey <dwayne at translate.org.za> - 0.4.1-1
 - Update to 0.4.1
    - New translations: Turkish, Finnish, Vietnamese


--- virtaal-0.3beta1-setup_drop_MO_generation.patch DELETED ---




More information about the fedora-extras-commits mailing list