OBS User unknown 2008-08-13 22:54:22 +00:00 committed by Git OBS Bridge
parent 542e701178
commit 15a7b42815
3 changed files with 39 additions and 5 deletions

View File

@ -0,0 +1,11 @@
--- trunk/xml2po/xml2po.py 2007/03/02 09:41:10 892
+++ trunk/xml2po/xml2po.py 2008/07/13 23:14:50 1109
@@ -507,7 +507,7 @@
if mode == 'merge':
translation = getTranslation(outtxt, isSpacePreserveNode(node))
else:
- translation = outtxt
+ translation = outtxt.decode('utf-8')
starttag = startTagForNode(node)
endtag = endTagForNode(node)

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Jul 25 13:54:40 CEST 2008 - vuntz@novell.com
- Tag patch.
- Add gnome-doc-utils-bnc408363-unicodeerror.patch to fix an error
in xml2po (bnc#408363).
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Mar 14 05:04:20 CET 2008 - maw@suse.de Fri Mar 14 05:04:20 CET 2008 - maw@suse.de

View File

@ -2,9 +2,16 @@
# spec file for package gnome-doc-utils (Version 0.12.2) # spec file for package gnome-doc-utils (Version 0.12.2)
# #
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
# #
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
@ -17,10 +24,13 @@ License: GPL v2 or later; LGPL v2.1 or later
Group: System/GUI/GNOME Group: System/GUI/GNOME
AutoReqProv: on AutoReqProv: on
Version: 0.12.2 Version: 0.12.2
Release: 1 Release: 59
Summary: A Collection of Documentation Utilities for GNOME Summary: A Collection of Documentation Utilities for GNOME
Source: ftp://ftp.gnome.org/pub/GNOME/sources/gnome-doc-utils/0.8/%{name}-%{version}.tar.bz2 Source: ftp://ftp.gnome.org/pub/GNOME/sources/gnome-doc-utils/0.8/%{name}-%{version}.tar.bz2
# PATCH-FIX-OPENSUSE gnome-doc-utils-permissive.patch -- Be permissive for incorrectly formatted docs, so that builds don't fail. Should be removed ASAP.
Patch: gnome-doc-utils-permissive.patch Patch: gnome-doc-utils-permissive.patch
# PATCH-FIX-UPSTREAM gnome-doc-utils-bnc408363-unicodeerror.patch bnc408363 bgo437371 vuntz@novell.com -- Fix a UnicodeDecodeError, already applied upstream.
Patch1: gnome-doc-utils-bnc408363-unicodeerror.patch
Url: http://www.gnome.org Url: http://www.gnome.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: libxml2-python Requires: libxml2-python
@ -54,6 +64,7 @@ Authors:
Shaun McCance <shaunm@gnome.org> Shaun McCance <shaunm@gnome.org>
%package devel %package devel
License: GPL v2 or later; LGPL v2.1 or later
Summary: A Collection of Documentation Utilities for GNOME Summary: A Collection of Documentation Utilities for GNOME
Group: System/GUI/GNOME Group: System/GUI/GNOME
AutoReqProv: on AutoReqProv: on
@ -88,6 +99,7 @@ Authors:
%setup -q %setup -q
# This patch is an ugly hack and should be removed ASAP: # This patch is an ugly hack and should be removed ASAP:
%patch %patch
%patch1 -p1
%build %build
# autoreconf fails... # autoreconf fails...
@ -121,6 +133,10 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/pkgconfig/*.pc %{_datadir}/pkgconfig/*.pc
%changelog %changelog
* Fri Jul 25 2008 vuntz@novell.com
- Tag patch.
- Add gnome-doc-utils-bnc408363-unicodeerror.patch to fix an error
in xml2po (bnc#408363).
* Fri Mar 14 2008 maw@suse.de * Fri Mar 14 2008 maw@suse.de
- Update to version 0.12.2: - Update to version 0.12.2:
+ Added DOCTYPE decls to HTML and XHTML pages + Added DOCTYPE decls to HTML and XHTML pages
@ -181,7 +197,7 @@ rm -rf $RPM_BUILD_ROOT
- update to version 0.8.0 - update to version 0.8.0
- Use an XSLT namespace alias for XInclude output - Use an XSLT namespace alias for XInclude output
- Updated translations - Updated translations
* Mon Aug 21 2006 jhargadon@suse.de * Tue Aug 22 2006 jhargadon@suse.de
- update to version 0.7.2 - update to version 0.7.2
- updated translations - updated translations
* Fri Aug 11 2006 jhargadon@suse.de * Fri Aug 11 2006 jhargadon@suse.de
@ -194,7 +210,7 @@ rm -rf $RPM_BUILD_ROOT
- converted neededforbuild to BuildRequires - converted neededforbuild to BuildRequires
* Wed Jan 18 2006 sbrabec@suse.cz * Wed Jan 18 2006 sbrabec@suse.cz
- Updated to version 0.5.3. - Updated to version 0.5.3.
* Wed Nov 30 2005 gekker@suse.de * Thu Dec 01 2005 gekker@suse.de
- Update to version 0.4.4 - Update to version 0.4.4
* Tue Oct 04 2005 sbrabec@suse.cz * Tue Oct 04 2005 sbrabec@suse.cz
- Updated to version 0.4.2. - Updated to version 0.4.2.