Sync from SUSE:SLFO:Main gnome-doc-utils revision c431d03e43244cee7f4e8c8d1d3ce44f
This commit is contained in:
commit
5f571a1e9c
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
gnome-doc-utils-0.20.10.tar.xz
(Stored with Git LFS)
Normal file
BIN
gnome-doc-utils-0.20.10.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
15
gnome-doc-utils-fig-path.patch
Normal file
15
gnome-doc-utils-fig-path.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
diff --git a/tools/gnome-doc-utils.make b/tools/gnome-doc-utils.make
|
||||||
|
index 726c5b8..339817f 100644
|
||||||
|
--- a/tools/gnome-doc-utils.make
|
||||||
|
+++ b/tools/gnome-doc-utils.make
|
||||||
|
@@ -640,8 +640,8 @@ install-doc-figs:
|
||||||
|
fi; \
|
||||||
|
figbase=`echo $$fig | sed -e 's/^.*\///'`; \
|
||||||
|
if $$figsymlink; then \
|
||||||
|
- echo "cd $$figdir && $(LN_S) -f ../../C/$$fig $$figbase"; \
|
||||||
|
- ( cd "$$figdir" && $(LN_S) -f "../../C/$$fig" "$$figbase" ); \
|
||||||
|
+ echo "cd $$figdir && $(LN_S) -f $(HELP_DIR)/$(_doc_install_dir)/C/$$fig $$figbase"; \
|
||||||
|
+ ( cd "$$figdir" && $(LN_S) -f "$(HELP_DIR)/$(_doc_install_dir)/C/$$fig" "$$figbase" ); \
|
||||||
|
else \
|
||||||
|
echo "$(INSTALL_DATA) $$figfile $$figdir$$figbase"; \
|
||||||
|
$(INSTALL_DATA) "$$figfile" "$$figdir$$figbase"; \
|
345
gnome-doc-utils-port-python3.patch
Normal file
345
gnome-doc-utils-port-python3.patch
Normal file
@ -0,0 +1,345 @@
|
|||||||
|
Index: gnome-doc-utils-0.20.10/xml2po/xml2po/__init__.py
|
||||||
|
===================================================================
|
||||||
|
--- gnome-doc-utils-0.20.10.orig/xml2po/xml2po/__init__.py
|
||||||
|
+++ gnome-doc-utils-0.20.10/xml2po/xml2po/__init__.py
|
||||||
|
@@ -86,14 +86,14 @@ class MessageOutput:
|
||||||
|
self.messages.append(t)
|
||||||
|
if spacepreserve:
|
||||||
|
self.nowrap[t] = True
|
||||||
|
- if t in self.linenos.keys():
|
||||||
|
+ if t in list(self.linenos.keys()):
|
||||||
|
self.linenos[t].append((self.filename, tag, lineno))
|
||||||
|
else:
|
||||||
|
self.linenos[t] = [ (self.filename, tag, lineno) ]
|
||||||
|
if (not self.do_translations) and comment and not t in self.comments:
|
||||||
|
self.comments[t] = comment
|
||||||
|
else:
|
||||||
|
- if t in self.linenos.keys():
|
||||||
|
+ if t in list(self.linenos.keys()):
|
||||||
|
self.linenos[t].append((self.filename, tag, lineno))
|
||||||
|
else:
|
||||||
|
self.linenos[t] = [ (self.filename, tag, lineno) ]
|
||||||
|
@@ -135,6 +135,7 @@ msgstr ""
|
||||||
|
if translation == k:
|
||||||
|
translation = ""
|
||||||
|
out.write("msgstr \"%s\"\n\n" % (translation))
|
||||||
|
+ out.close()
|
||||||
|
|
||||||
|
class XMLDocument(object):
|
||||||
|
def __init__(self, filename, app):
|
||||||
|
@@ -200,7 +201,7 @@ class XMLDocument(object):
|
||||||
|
tree = ctxt.doc()
|
||||||
|
newnode = tree.getRootElement()
|
||||||
|
except:
|
||||||
|
- print >> sys.stderr, """Error while normalizing string as XML:\n"%s"\n""" % (text)
|
||||||
|
+ print("""Error while normalizing string as XML:\n"%s"\n""" % (text), file=sys.stderr)
|
||||||
|
return text
|
||||||
|
|
||||||
|
self.normalizeNode(newnode)
|
||||||
|
@@ -326,7 +327,7 @@ class XMLDocument(object):
|
||||||
|
pass
|
||||||
|
|
||||||
|
content = '<%s>%s</%s>' % (starttag, text, endtag)
|
||||||
|
- tmp = tmp + content.encode('utf-8')
|
||||||
|
+ tmp = tmp + content
|
||||||
|
|
||||||
|
newnode = None
|
||||||
|
try:
|
||||||
|
@@ -338,7 +339,7 @@ class XMLDocument(object):
|
||||||
|
pass
|
||||||
|
|
||||||
|
if not newnode:
|
||||||
|
- print >> sys.stderr, """Error while parsing translation as XML:\n"%s"\n""" % (text.encode('utf-8'))
|
||||||
|
+ print("""Error while parsing translation as XML:\n"%s"\n""" % (text.encode('utf-8')), file=sys.stderr)
|
||||||
|
return
|
||||||
|
|
||||||
|
newelem = newnode.getRootElement()
|
||||||
|
@@ -352,9 +353,10 @@ class XMLDocument(object):
|
||||||
|
|
||||||
|
if node:
|
||||||
|
copy = newelem.copyNodeList()
|
||||||
|
- next = node.next
|
||||||
|
+ #next = node.next
|
||||||
|
node.replaceNode(newelem.copyNodeList())
|
||||||
|
- node.next = next
|
||||||
|
+ #print(type(next))
|
||||||
|
+ #node.next = next
|
||||||
|
|
||||||
|
else:
|
||||||
|
# In practice, this happens with tags such as "<para> </para>" (only whitespace in between)
|
||||||
|
@@ -463,14 +465,14 @@ class XMLDocument(object):
|
||||||
|
norm_outtxt = self.normalizeString(outtxt, self.app.isSpacePreserveNode(node))
|
||||||
|
translation = self.app.getTranslation(norm_outtxt)
|
||||||
|
else:
|
||||||
|
- translation = outtxt.decode('utf-8')
|
||||||
|
+ translation = outtxt
|
||||||
|
|
||||||
|
starttag = self.startTagForNode(node)
|
||||||
|
endtag = self.endTagForNode(node)
|
||||||
|
|
||||||
|
worth = self.worthOutputting(node)
|
||||||
|
if not translation:
|
||||||
|
- translation = outtxt.decode('utf-8')
|
||||||
|
+ translation = outtxt
|
||||||
|
if worth and self.app.options.get('mark_untranslated'):
|
||||||
|
node.setLang('C')
|
||||||
|
|
||||||
|
@@ -555,7 +557,7 @@ class Main(object):
|
||||||
|
elif output == '-':
|
||||||
|
self.out = sys.stdout
|
||||||
|
else:
|
||||||
|
- self.out = file(output, 'w')
|
||||||
|
+ self.out = open(output, 'w')
|
||||||
|
|
||||||
|
def load_mode(self, modename):
|
||||||
|
try:
|
||||||
|
@@ -577,8 +579,8 @@ class Main(object):
|
||||||
|
raise IOError("Unable to read file '%s'" % xmlfile)
|
||||||
|
try:
|
||||||
|
doc = XMLDocument(xmlfile, self)
|
||||||
|
- except Exception, e:
|
||||||
|
- print >> sys.stderr, "Unable to parse XML file '%s': %s" % (xmlfile, str(e))
|
||||||
|
+ except Exception as e:
|
||||||
|
+ print("Unable to parse XML file '%s': %s" % (xmlfile, str(e)), file=sys.stderr)
|
||||||
|
sys.exit(1)
|
||||||
|
self.current_mode.preProcessXml(doc.doc, self.msg)
|
||||||
|
doc.generate_messages()
|
||||||
|
@@ -590,14 +592,14 @@ class Main(object):
|
||||||
|
raise IOError("Unable to read file '%s'" % xmlfile)
|
||||||
|
try:
|
||||||
|
doc = XMLDocument(xmlfile, self)
|
||||||
|
- except Exception, e:
|
||||||
|
- print >> sys.stderr, str(e)
|
||||||
|
+ except Exception as e:
|
||||||
|
+ print(str(e), file=sys.stderr)
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
|
try:
|
||||||
|
mfile = open(mofile, "rb")
|
||||||
|
except:
|
||||||
|
- print >> sys.stderr, "Can't open MO file '%s'." % (mofile)
|
||||||
|
+ print("Can't open MO file '%s'." % (mofile), file=sys.stderr)
|
||||||
|
self.gt = gettext.GNUTranslations(mfile)
|
||||||
|
self.gt.add_fallback(NoneTranslations())
|
||||||
|
# Has preProcessXml use cases for merge?
|
||||||
|
@@ -619,16 +621,16 @@ class Main(object):
|
||||||
|
raise IOError("Unable to read file '%s'" % xmlfile)
|
||||||
|
try:
|
||||||
|
doc = XMLDocument(xmlfile, self)
|
||||||
|
- except Exception, e:
|
||||||
|
- print >> sys.stderr, str(e)
|
||||||
|
+ except Exception as e:
|
||||||
|
+ print(str(e), file=sys.stderr)
|
||||||
|
sys.exit(1)
|
||||||
|
doc.generate_messages()
|
||||||
|
|
||||||
|
self.msg.translationsFollow()
|
||||||
|
try:
|
||||||
|
doc = XMLDocument(origxml, self)
|
||||||
|
- except Exception, e:
|
||||||
|
- print >> sys.stderr, str(e)
|
||||||
|
+ except Exception as e:
|
||||||
|
+ print(str(e), file=sys.stderr)
|
||||||
|
sys.exit(1)
|
||||||
|
doc.generate_messages()
|
||||||
|
self.output_po()
|
||||||
|
@@ -663,7 +665,7 @@ class Main(object):
|
||||||
|
if not text or text.strip() == '':
|
||||||
|
return text
|
||||||
|
if self.gt:
|
||||||
|
- res = self.gt.ugettext(text.decode('utf-8'))
|
||||||
|
+ res = self.gt.gettext(text)
|
||||||
|
return res
|
||||||
|
|
||||||
|
return text
|
||||||
|
Index: gnome-doc-utils-0.20.10/xml2po/xml2po/modes/docbook.py
|
||||||
|
===================================================================
|
||||||
|
--- gnome-doc-utils-0.20.10.orig/xml2po/xml2po/modes/docbook.py
|
||||||
|
+++ gnome-doc-utils-0.20.10/xml2po/xml2po/modes/docbook.py
|
||||||
|
@@ -43,7 +43,7 @@ try:
|
||||||
|
except ImportError:
|
||||||
|
from md5 import new as md5_new
|
||||||
|
|
||||||
|
-from basic import basicXmlMode
|
||||||
|
+from .basic import basicXmlMode
|
||||||
|
|
||||||
|
class docbookXmlMode(basicXmlMode):
|
||||||
|
"""Class for special handling of DocBook document types.
|
||||||
|
@@ -131,7 +131,7 @@ class docbookXmlMode(basicXmlMode):
|
||||||
|
hash = self._md5_for_file(fullpath)
|
||||||
|
else:
|
||||||
|
hash = "THIS FILE DOESN'T EXIST"
|
||||||
|
- print >>sys.stderr, "Warning: image file '%s' not found." % fullpath
|
||||||
|
+ print("Warning: image file '%s' not found." % fullpath, file=sys.stderr)
|
||||||
|
|
||||||
|
msg.outputMessage("@@image: '%s'; md5=%s" % (attr, hash), node.lineNo(),
|
||||||
|
"When image changes, this message will be marked fuzzy or untranslated for you.\n"+
|
||||||
|
@@ -184,7 +184,7 @@ class docbookXmlMode(basicXmlMode):
|
||||||
|
else:
|
||||||
|
ai.addChild(copy)
|
||||||
|
if match.group(3):
|
||||||
|
- copy.newChild(None, "year", match.group(3).encode('utf-8'))
|
||||||
|
+ copy.newChild(None, "year", match.group(3))
|
||||||
|
if match.group(1) and match.group(2):
|
||||||
|
holder = match.group(1)+"(%s)" % match.group(2)
|
||||||
|
elif match.group(1):
|
||||||
|
@@ -193,15 +193,15 @@ class docbookXmlMode(basicXmlMode):
|
||||||
|
holder = match.group(2)
|
||||||
|
else:
|
||||||
|
holder = "???"
|
||||||
|
- copy.newChild(None, "holder", holder.encode('utf-8'))
|
||||||
|
+ copy.newChild(None, "holder", holder)
|
||||||
|
|
||||||
|
# Perform some tests when ran standalone
|
||||||
|
if __name__ == '__main__':
|
||||||
|
test = docbookXmlMode()
|
||||||
|
- print "Ignored tags : " + repr(test.getIgnoredTags())
|
||||||
|
- print "Final tags : " + repr(test.getFinalTags())
|
||||||
|
- print "Space-preserve tags: " + repr(test.getSpacePreserveTags())
|
||||||
|
+ print("Ignored tags : " + repr(test.getIgnoredTags()))
|
||||||
|
+ print("Final tags : " + repr(test.getFinalTags()))
|
||||||
|
+ print("Space-preserve tags: " + repr(test.getSpacePreserveTags()))
|
||||||
|
|
||||||
|
- print "Credits from string: '%s'" % test.getStringForTranslators()
|
||||||
|
- print "Explanation for credits:\n\t'%s'" % test.getCommentForTranslators()
|
||||||
|
+ print("Credits from string: '%s'" % test.getStringForTranslators())
|
||||||
|
+ print("Explanation for credits:\n\t'%s'" % test.getCommentForTranslators())
|
||||||
|
|
||||||
|
Index: gnome-doc-utils-0.20.10/xml2po/xml2po/modes/gs.py
|
||||||
|
===================================================================
|
||||||
|
--- gnome-doc-utils-0.20.10.orig/xml2po/xml2po/modes/gs.py
|
||||||
|
+++ gnome-doc-utils-0.20.10/xml2po/xml2po/modes/gs.py
|
||||||
|
@@ -20,7 +20,7 @@
|
||||||
|
# Special case Gnome Summary
|
||||||
|
#
|
||||||
|
|
||||||
|
-from basic import basicXmlMode
|
||||||
|
+from .basic import basicXmlMode
|
||||||
|
|
||||||
|
class gsXmlMode(basicXmlMode):
|
||||||
|
"""Abstract class for special handling of document types."""
|
||||||
|
Index: gnome-doc-utils-0.20.10/xml2po/xml2po/modes/mallard.py
|
||||||
|
===================================================================
|
||||||
|
--- gnome-doc-utils-0.20.10.orig/xml2po/xml2po/modes/mallard.py
|
||||||
|
+++ gnome-doc-utils-0.20.10/xml2po/xml2po/modes/mallard.py
|
||||||
|
@@ -39,7 +39,7 @@ try:
|
||||||
|
except ImportError:
|
||||||
|
from md5 import new as md5_new
|
||||||
|
|
||||||
|
-from basic import basicXmlMode
|
||||||
|
+from .basic import basicXmlMode
|
||||||
|
|
||||||
|
class mallardXmlMode(basicXmlMode):
|
||||||
|
"""Class for special handling of Mallard document types."""
|
||||||
|
@@ -112,7 +112,7 @@ class mallardXmlMode(basicXmlMode):
|
||||||
|
hash = self._md5_for_file(fullpath)
|
||||||
|
else:
|
||||||
|
hash = "THIS FILE DOESN'T EXIST"
|
||||||
|
- print >>sys.stderr, "Warning: image file '%s' not found." % fullpath
|
||||||
|
+ print("Warning: image file '%s' not found." % fullpath, file=sys.stderr)
|
||||||
|
|
||||||
|
msg.outputMessage("@@image: '%s'; md5=%s" % (attr, hash), node.lineNo(),
|
||||||
|
"When image changes, this message will be marked fuzzy or untranslated for you.\n"+
|
||||||
|
Index: gnome-doc-utils-0.20.10/xml2po/xml2po/modes/ubuntu.py
|
||||||
|
===================================================================
|
||||||
|
--- gnome-doc-utils-0.20.10.orig/xml2po/xml2po/modes/ubuntu.py
|
||||||
|
+++ gnome-doc-utils-0.20.10/xml2po/xml2po/modes/ubuntu.py
|
||||||
|
@@ -2,7 +2,7 @@
|
||||||
|
|
||||||
|
import libxml2
|
||||||
|
|
||||||
|
-from docbook import docbookXmlMode
|
||||||
|
+from .docbook import docbookXmlMode
|
||||||
|
|
||||||
|
class ubuntuXmlMode (docbookXmlMode):
|
||||||
|
"""Special-casing Ubuntu DocBook website documentation."""
|
||||||
|
Index: gnome-doc-utils-0.20.10/xml2po/xml2po/modes/xhtml.py
|
||||||
|
===================================================================
|
||||||
|
--- gnome-doc-utils-0.20.10.orig/xml2po/xml2po/modes/xhtml.py
|
||||||
|
+++ gnome-doc-utils-0.20.10/xml2po/xml2po/modes/xhtml.py
|
||||||
|
@@ -21,7 +21,7 @@
|
||||||
|
# This implements special instructions for handling XHTML documents
|
||||||
|
# in a better way, particularly to extract some attributes in HTML tags
|
||||||
|
|
||||||
|
-from basic import basicXmlMode
|
||||||
|
+from .basic import basicXmlMode
|
||||||
|
|
||||||
|
class xhtmlXmlMode(basicXmlMode):
|
||||||
|
"""Class for special handling of XHTML document types."""
|
||||||
|
Index: gnome-doc-utils-0.20.10/xml2po/xml2po/xml2po.py.in
|
||||||
|
===================================================================
|
||||||
|
--- gnome-doc-utils-0.20.10.orig/xml2po/xml2po/xml2po.py.in
|
||||||
|
+++ gnome-doc-utils-0.20.10/xml2po/xml2po/xml2po.py.in
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-#!/usr/bin/python -u
|
||||||
|
+#!/usr/bin/python3 -u
|
||||||
|
# -*- encoding: utf-8 -*-
|
||||||
|
# Copyright (c) 2004, 2005, 2006 Danilo Šegan <danilo@gnome.org>.
|
||||||
|
# Copyright (c) 2009 Claude Paroz <claude@2xlibre.net>.
|
||||||
|
@@ -41,9 +41,9 @@ NULL_STRING = '/dev/null'
|
||||||
|
if not os.path.exists('/dev/null'): NULL_STRING = 'NUL'
|
||||||
|
|
||||||
|
def usage (with_help = False):
|
||||||
|
- print >> sys.stderr, "Usage: %s [OPTIONS] [XMLFILE]..." % (sys.argv[0])
|
||||||
|
+ print("Usage: %s [OPTIONS] [XMLFILE]..." % (sys.argv[0]), file=sys.stderr)
|
||||||
|
if with_help:
|
||||||
|
- print >> sys.stderr, """
|
||||||
|
+ print("""
|
||||||
|
OPTIONS may be some of:
|
||||||
|
-a --automatic-tags Automatically decides if tags are to be considered
|
||||||
|
"final" or not
|
||||||
|
@@ -72,7 +72,7 @@ EXAMPLES:
|
||||||
|
using -p option for each XML file:
|
||||||
|
%(command)s -p de.po chapter1.xml > chapter1.de.xml
|
||||||
|
%(command)s -p de.po chapter2.xml > chapter2.de.xml
|
||||||
|
-""" % {'command': sys.argv[0]}
|
||||||
|
+""" % {'command': sys.argv[0]}, file=sys.stderr)
|
||||||
|
|
||||||
|
|
||||||
|
def main(argv):
|
||||||
|
@@ -82,7 +82,7 @@ def main(argv):
|
||||||
|
|
||||||
|
name = os.path.join(os.path.dirname(__file__), '..')
|
||||||
|
if os.path.exists(os.path.join(name, 'tests')):
|
||||||
|
- print >> sys.stderr, 'Running from source folder, modifying PYTHONPATH'
|
||||||
|
+ print('Running from source folder, modifying PYTHONPATH', file=sys.stderr)
|
||||||
|
sys.path.insert(0, name)
|
||||||
|
|
||||||
|
from xml2po import Main
|
||||||
|
@@ -142,14 +142,14 @@ def main(argv):
|
||||||
|
elif opt in ('-o', '--output'):
|
||||||
|
output = arg
|
||||||
|
elif opt in ('-v', '--version'):
|
||||||
|
- print VERSION
|
||||||
|
+ print(VERSION)
|
||||||
|
sys.exit(0)
|
||||||
|
elif opt in ('-h', '--help'):
|
||||||
|
usage(True)
|
||||||
|
sys.exit(0)
|
||||||
|
|
||||||
|
if operation == 'update' and output != "-":
|
||||||
|
- print >> sys.stderr, "Option '-o' is not yet supported when updating translations directly. Ignoring this option."
|
||||||
|
+ print("Option '-o' is not yet supported when updating translations directly. Ignoring this option.", file=sys.stderr)
|
||||||
|
|
||||||
|
# Treat remaining arguments as XML files
|
||||||
|
filenames = []
|
||||||
|
@@ -159,16 +159,16 @@ def main(argv):
|
||||||
|
try:
|
||||||
|
xml2po_main = Main(default_mode, operation, output, options)
|
||||||
|
except IOError:
|
||||||
|
- print >> sys.stderr, "Error: cannot open file %s for writing." % (output)
|
||||||
|
+ print("Error: cannot open file %s for writing." % (output), file=sys.stderr)
|
||||||
|
sys.exit(5)
|
||||||
|
|
||||||
|
if operation == 'merge':
|
||||||
|
if len(filenames) > 1:
|
||||||
|
- print >> sys.stderr, "Error: You can merge translations with only one XML file at a time."
|
||||||
|
+ print("Error: You can merge translations with only one XML file at a time.", file=sys.stderr)
|
||||||
|
sys.exit(2)
|
||||||
|
|
||||||
|
if not mofile:
|
||||||
|
- print >> sys.stderr, "Error: You must specify MO file when merging translations."
|
||||||
|
+ print("Error: You must specify MO file when merging translations.", file=sys.stderr)
|
||||||
|
sys.exit(3)
|
||||||
|
|
||||||
|
xml2po_main.merge(mofile, filenames[0])
|
656
gnome-doc-utils.changes
Normal file
656
gnome-doc-utils.changes
Normal file
@ -0,0 +1,656 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 17 21:07:51 UTC 2022 - Michael Gorse <mgorse@suse.com>
|
||||||
|
|
||||||
|
- Add python-rpm-macros to BuildRequires (boo#1194754).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 20 19:47:12 UTC 2021 - Stanislav Brabec <sbrabec@suse.com>
|
||||||
|
|
||||||
|
- Remove obsolete translation-update-upstream support
|
||||||
|
(jsc#SLE-21105).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 31 10:07:03 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Add python3-libxml2 as runtime dependency (up to CODE15, the
|
||||||
|
package was called python3-libxml2-python, conditionally added).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 4 14:36:49 UTC 2021 - Yifan Jiang <yfjiang@suse.com>
|
||||||
|
|
||||||
|
- Adapt BuildRequires for SLE15 / Leap 15.x on xml2po.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 19 16:34:34 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Update gnome-doc-utils-port-python3.patch based on the patch used
|
||||||
|
by Fedora (https://src.fedoraproject.org/rpms/gnome-doc-utils).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 10 10:47:28 UTC 2020 - Frederic Crozat <fcrozat@suse.com>
|
||||||
|
|
||||||
|
- Set encoding before building to fix a build error in SLE.
|
||||||
|
- Adapt BuildRequires for SLE15 / Leap 15.x.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 6 07:30:41 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Add gnome-doc-utils-port-python3.patch: Port to python3.
|
||||||
|
Following this, replace python2-libxml2 with python3-libxml2
|
||||||
|
BuildRequires and Requires.
|
||||||
|
- Modernize spec and tweak fdupes call.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 25 14:09:44 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- No longer recommend -lang: supplements are in use
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Aug 24 04:14:55 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Trim filler wording from description. Update summaries.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 2 13:08:20 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Use python2-libxml2 as a name for the libxml2 python bindings.
|
||||||
|
This is provided by the new libxml2 package as the python
|
||||||
|
module name should be $PYTHON_INTERP-$PACKAGENAME
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 28 16:28:06 UTC 2018 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Modernize spec-file by calling spec-cleaner
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 17 14:00:44 UTC 2013 - fcrozat@suse.com
|
||||||
|
|
||||||
|
- Remove dependency on scrollkeeper in devel package, all packages
|
||||||
|
have migrated to yelp-tools (aka die scrollkeeper die).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 20 20:48:23 UTC 2013 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Spec-cleanup using format_spec_file service.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 29 21:25:38 UTC 2012 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Add gnome-doc-utils-fig-path.patch: Fix linking of figures in
|
||||||
|
subfolders, where a relative path to ../../C will not do the
|
||||||
|
right thing (gnome-devel-docs 3.5.90 contains such cases).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 26 19:02:29 UTC 2012 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 0.20.10:
|
||||||
|
+ Fixed problem with dist and install with too many files
|
||||||
|
+ Updated translations.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 21 09:33:09 UTC 2012 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 0.20.9:
|
||||||
|
+ Temporarily adding RNG files back for compatibility.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 19 21:28:51 UTC 2012 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 0.20.8:
|
||||||
|
+ Don't call RNG files, removed in 0.20.7
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 2 20:10:47 UTC 2012 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 0.20.7:
|
||||||
|
+ Use gawk --traditional option instead of -W compat
|
||||||
|
+ Added support for silent rules to gnome-doc-utils.make
|
||||||
|
+ Fixed xml2po.pc to not Require libxml.pc
|
||||||
|
+ Added --disable-documentation build option
|
||||||
|
+ Dropped Mallard definitions from gnome-doc-utils
|
||||||
|
+ Updated translations.
|
||||||
|
- Remove libxml2-devel Requires from xml2po-devel package: the .pc
|
||||||
|
file no longer references libxml.
|
||||||
|
- Remove obsoleted conditions for openSUSE <= 11.1.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Feb 25 10:02:42 UTC 2012 - coolo@suse.com
|
||||||
|
|
||||||
|
- Add libxml2-tools BuildRequires for xmllint, now that libxml2 got
|
||||||
|
split.
|
||||||
|
- Remove python BuildRequires and %py_requires: we only need a
|
||||||
|
minimal python, which libxml2-python will bring in both cases.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 22 09:54:51 UTC 2011 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- Own %{_datadir}/aclocal to fix build without automake/autoconf.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 27 16:50:30 CEST 2011 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- Add docbook_4 Requires to devel subpackage: packages building
|
||||||
|
with gnome-doc-utils support will use xsltproc to validate files,
|
||||||
|
and we want ot use a local DTD instead of fetching one from the
|
||||||
|
internet.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 26 16:02:51 UTC 2011 - fcrozat@novell.com
|
||||||
|
|
||||||
|
- Update to version 0.20.6:
|
||||||
|
+ Updated Mallard schema.
|
||||||
|
+ Fixed 'make pot' rule for Mallard.
|
||||||
|
+ Updated translations.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 22 16:52:56 UTC 2011 - fcrozat@novell.com
|
||||||
|
|
||||||
|
- Update to version 0.20.5:
|
||||||
|
+ Updated Mallard RNG files
|
||||||
|
+ Updated translations.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 3 15:22:29 UTC 2011 - fcrozat@novell.com
|
||||||
|
|
||||||
|
- Update to version 0.20.4:
|
||||||
|
+ Use /bin/bash in gnome-doc-tool
|
||||||
|
+ Add xml:lang attribute to translated Mallard pages
|
||||||
|
+ Handle title and desc elements in Mallard tables
|
||||||
|
+ Updated translations.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Feb 13 21:10:14 CET 2011 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- Pass %{?no_lang_C} to %find_lang so that english documentation
|
||||||
|
can be packaged with the program, and not in the lang subpackage.
|
||||||
|
- Change Requires of lang subpackage to Recommends, since the
|
||||||
|
english documentation is not there anymore.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 21 10:21:23 CET 2010 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 0.20.3:
|
||||||
|
+ Fixed nested command substitution in gnome-doc-utils.make.
|
||||||
|
+ Updated translations.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 14 11:52:49 CEST 2010 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- Use Recommends instead of Requires for the lang package.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 28 19:21:20 CEST 2010 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 0.20.2:
|
||||||
|
+ Updated translations.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 29 19:50:54 CEST 2010 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 0.20.1:
|
||||||
|
+ Improved support for SVG imagedata
|
||||||
|
+ Updated translations.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 29 18:37:20 CEST 2010 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 0.20.0:
|
||||||
|
+ Updated translations.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 22 00:16:11 CET 2010 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 0.19.5:
|
||||||
|
+ Updated the Mallard RNG schema.
|
||||||
|
+ Updated translations:
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 10 16:01:27 CET 2010 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 0.19.4:
|
||||||
|
+ Bold userinput inside programlisting
|
||||||
|
+ Updated translations.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 26 17:30:23 CET 2010 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 0.19.3:
|
||||||
|
+ Fixed shading with rowspans, bgo#606986
|
||||||
|
+ Implemented text titles
|
||||||
|
+ Updated translations.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 12 01:33:01 CET 2010 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 0.19.2:
|
||||||
|
+ Added 'css' command for Mallard documents
|
||||||
|
+ Fixed theme.color.text default, was white-on-white
|
||||||
|
+ Implemented previous and next links for Mallard documents
|
||||||
|
+ Updated translations.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 6 11:29:08 CET 2010 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 0.19.1:
|
||||||
|
+ Importing Mallard XSLT changes from yelp-xsl
|
||||||
|
- Added support for audio and video in Mallard HTML output
|
||||||
|
- Moved most automatic link logic into common XSLT
|
||||||
|
- Implemented sorting of link trails
|
||||||
|
- Implemented link groups on Mallard guide pages
|
||||||
|
- Added support for Mallard span element
|
||||||
|
- Added condensed list style for Mallard lists
|
||||||
|
- Made various parts of the Mallard XSLT more extensible
|
||||||
|
- Changed Mallard Cache files to use new namespace
|
||||||
|
+ Added Mallard HTML output to gnome-doc-tool
|
||||||
|
+ Added --custom-xslt option to gnome-doc-tool
|
||||||
|
+ Compile mo files before running xml2po
|
||||||
|
+ Properly clean mo files in build utilities
|
||||||
|
+ Updated translations.
|
||||||
|
- Drop gnome-doc-utils-make-parallel.patch: fixed upstream.
|
||||||
|
- Make the build noarch.
|
||||||
|
- Remove en@shaw locale on 11.2 and earlier.
|
||||||
|
- Split xml2po tool in xml2po and xml2po-devel subpackages.
|
||||||
|
- Make gnome-doc-utils-devel Requires xml2po-devel, to make sure no
|
||||||
|
build is broken because of the split.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 2 16:18:08 CET 2009 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 0.18.1:
|
||||||
|
+ Fixed Makefile.am to byte-compile Python files, bug #596702
|
||||||
|
+ Updated translations.
|
||||||
|
- Complete gnome-doc-utils-make-parallel.patch with commit
|
||||||
|
ce05d9fd, and reenable parallel build.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 26 08:45:55 CET 2009 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Parallel build still has chances to fail. Disabling for now.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 25 13:59:03 CET 2009 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Add gnome-doc-utils-make-parallel.patch to solve parallel build
|
||||||
|
failures (patch taken from upstream git).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 28 17:08:42 CEST 2009 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 0.18.0:
|
||||||
|
+ Replaced Mallard copyright element with credit
|
||||||
|
+ Fixed model for external-namespace elements in info context
|
||||||
|
+ Fixed gnome-doc-utils.make parallel build failure, bgo#595197
|
||||||
|
+ Updated translations.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 9 03:30:02 CEST 2009 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 0.17.5:
|
||||||
|
+ mal2html: Handle link roles on automatic and inline links
|
||||||
|
+ Updated translations.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 25 13:43:08 CEST 2009 - vuntz@novell.com
|
||||||
|
|
||||||
|
- Update to version 0.17.4:
|
||||||
|
+ Don't let "twocolumn" tables collapse in Mallard documents
|
||||||
|
+ Use AC_MSG_* when checking for gnome-doc-utils, bgo#571300
|
||||||
|
+ Work around buggy OpenSolaris awk
|
||||||
|
+ Substantial changes to xml2po
|
||||||
|
+ Work on xml2po Mallard mode
|
||||||
|
+ Fix misspelling of 'description'
|
||||||
|
+ Updated translations.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 12 15:27:21 CEST 2009 - dominique-obs@leuenberger.net
|
||||||
|
|
||||||
|
- Define new python macros on openSUSE <= 11.1.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Aug 9 12:43:26 CEST 2009 - coolo@novell.com
|
||||||
|
|
||||||
|
- use new python macros
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 29 05:19:31 CEST 2009 - vuntz@novell.com
|
||||||
|
|
||||||
|
- Update to version 0.17.3:
|
||||||
|
+ Added initial work on a Mallard xml2po mode
|
||||||
|
+ Internationalization work on Mallard stylesheets
|
||||||
|
+ Fixed example in Mallard document
|
||||||
|
+ Preserve exiting PYTHONPATH in bootstrap
|
||||||
|
+ Addressed RTL issues in Mallard stylesheets
|
||||||
|
+ Updated translations.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 20 10:42:11 CEST 2009 - vuntz@novell.com
|
||||||
|
|
||||||
|
- Update to version 0.17.2:
|
||||||
|
+ Added build magic for Mallard documents
|
||||||
|
+ Fixed various validity errors in the Mallard spec
|
||||||
|
+ Created a (not yet complete) DocBook->Mallard reference
|
||||||
|
+ Fixed various problems with the Mallard RNG schema
|
||||||
|
+ Various additions to (still incomplete) Mallard spec
|
||||||
|
+ Fixed DocBook menuchoice seperator in RTL, bgo#579278
|
||||||
|
+ Install xml2po modes in /usr/lib/python2.x/ to respect FHS,
|
||||||
|
bgo#528099
|
||||||
|
+ Remove ending dot in translator-credits comment [xml2po],
|
||||||
|
bgo#398541
|
||||||
|
+ Make all xml2po modes inherit from basic mode
|
||||||
|
+ Fixed typos in xml2po man page, bgo#586089
|
||||||
|
+ Updated translations.
|
||||||
|
- Add libxml2-python BuildRequires since xml2po is called during
|
||||||
|
the build now.
|
||||||
|
- Package is not noarch anymore since we use py_sitedir.
|
||||||
|
- Add py_requires.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 15 08:23:30 CEST 2009 - vuntz@novell.com
|
||||||
|
|
||||||
|
- Update to version 0.17.1:
|
||||||
|
+ Integrated Mallard support
|
||||||
|
+ Fix file-not-found warnings from config.status
|
||||||
|
- Add libxml2-devel Requires to devel package.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 15 15:30:57 CEST 2009 - vuntz@novell.com
|
||||||
|
|
||||||
|
- Update to version 0.16.1:
|
||||||
|
+ Use new hashlib module instead of md5, bgo#576161
|
||||||
|
+ Updated transations.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 16 22:44:16 CET 2009 - vuntz@novell.com
|
||||||
|
|
||||||
|
- Update to version 0.16.0:
|
||||||
|
+ Updated translations.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 16 14:46:16 CET 2009 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Added support for translation-update-upstream (FATE#301344).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 9 14:55:31 CET 2009 - vuntz@novell.com
|
||||||
|
|
||||||
|
- Split off a lang package.
|
||||||
|
- Put back scrollkeeper in Requires (of the devel package this
|
||||||
|
time). It's really needed.
|
||||||
|
- Move some files to the devel package, where they belong.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 2 23:15:21 CET 2009 - mboman@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.15.2:
|
||||||
|
+ More RTL fixes for bgo#563559
|
||||||
|
+ Translation updates
|
||||||
|
- Completly remove gnome-doc-utils-permissive.patch
|
||||||
|
- Remove scrollkeeper from BuildRequires/Requires
|
||||||
|
- Remove AutoReqProv since it's default
|
||||||
|
- Add libxslt to Requires
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 2 15:47:13 EST 2009 - mboman@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.15.1:
|
||||||
|
+ Fixed some RTL issues, thanks to muayyad alsadi, bgo#563559
|
||||||
|
+ Translation updates
|
||||||
|
- Comment out gnome-doc-utils-permissive.patch to see if packages
|
||||||
|
builds properly when it's not in place.
|
||||||
|
- Remove gnome-common from BuildRequires
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 25 16:24:32 CET 2009 - vuntz@novell.com
|
||||||
|
|
||||||
|
- Remove useless BuildRequires/Requires on libgnome.
|
||||||
|
- Use fdupes.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 12 10:10:24 EST 2009 - mboman@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.14.2:
|
||||||
|
+ Translation updates
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Dec 20 10:10:31 EST 2008 - mboman@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.14.1:
|
||||||
|
+ Fixed some LTR issues, more remain on bug bgo#563559
|
||||||
|
+ chmod +x gnome-doc-{tool,prepare} on configure, bgo#557732
|
||||||
|
+ Symlink non-localized figured to C figures, bgo#557227
|
||||||
|
+ Translation updates
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 23 18:42:33 EST 2008 - mboman@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.14.0:
|
||||||
|
+ Translation updates.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 4 18:31:11 CDT 2008 - maw@suse.de
|
||||||
|
|
||||||
|
- Don't require glib2-devel to build.
|
||||||
|
- Do require pkg-config to build.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Aug 30 13:54:40 CEST 2008 - mboman@novell.com
|
||||||
|
|
||||||
|
- Updated to version 0.13.1:
|
||||||
|
+ Fixed UnicodeDecodeError in xml2po
|
||||||
|
+ Correctly handle content and tooltips for links to anchors
|
||||||
|
+ Don't reprocess book titles when title and bookinfo/title exist
|
||||||
|
+ Remove GLib build dependency; include glib-gettext.m4 [bgo#510915]
|
||||||
|
+ Updated translations
|
||||||
|
- Removed gnome-doc-utils-bnc408363-unicodeerror.patch. Fixed upstream.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
||||||
|
|
||||||
|
- Update to version 0.12.2:
|
||||||
|
+ Added DOCTYPE decls to HTML and XHTML pages
|
||||||
|
+ Adde EXSLT set to the excluded prefixes
|
||||||
|
+ Updated translations.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 18 20:45:48 CET 2008 - maw@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.12.1:
|
||||||
|
+ Chunks work without id attributes
|
||||||
|
+ Don't use the title as a label for qandadiv etc
|
||||||
|
+ Added support for manual indeces
|
||||||
|
+ Various other fixes
|
||||||
|
+ Updated translations.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 14 09:31:23 CEST 2007 - hpj@suse.de
|
||||||
|
|
||||||
|
- Reverted back to version 0.10.3, so the reverted Yelp will work
|
||||||
|
correctly.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 31 00:28:39 CEST 2007 - maw@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.11.2:
|
||||||
|
* Added db2html.division.div.content.mode
|
||||||
|
* Added support for manual indexes
|
||||||
|
* Fixed the mime attribute in OMF output
|
||||||
|
* Worked on the HTML output for refentry
|
||||||
|
* Switched to set:has-same-node for node comparisons
|
||||||
|
* Updated translations.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 2 23:41:49 CEST 2007 - mauro@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.11.1
|
||||||
|
- Bugfixes for #456700.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 11 18:14:25 CDT 2007 - maw@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.10.3
|
||||||
|
* general:
|
||||||
|
Use gawk -W compat whenever $(AWK) is gawk (Shaun McCance)
|
||||||
|
* tools:
|
||||||
|
Don't call ScrollKeeper when it's not installed; bug #410715
|
||||||
|
(Shaun McCance)
|
||||||
|
* xml2po:
|
||||||
|
Display xsltproc invocation, honor its exit status, and pull
|
||||||
|
the source from srcdir; bugzilla.gnome.org #169324 (Danilo Šegan)
|
||||||
|
* Updated translations:
|
||||||
|
gl (Ignacio Casal Quinteiro)
|
||||||
|
sq (Laurent Dhima)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 27 00:57:01 CEST 2007 - maw@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.10.1
|
||||||
|
- fixes for b.g.o 416933, 409292, and 169324.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 1 15:17:21 CET 2007 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Be even more permissive.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 26 17:44:02 CET 2007 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Be more permissive for incorrectly formatted docs.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 19 10:32:34 CST 2007 - maw@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.9.2.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 29 14:09:43 CET 2007 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Build as noarch (patch from Andreas Hanke, #237146).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 14 13:35:56 CST 2006 - maw@suse.de
|
||||||
|
|
||||||
|
- Move to /usr.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 13 17:59:18 CEST 2006 - danw@suse.de
|
||||||
|
|
||||||
|
- Remove dead patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 10 18:03:15 CEST 2006 - jhargadon@suse.de
|
||||||
|
|
||||||
|
- split out the devel files into a -devel package
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 14 00:45:52 CEST 2006 - jhargadon@suse.de
|
||||||
|
|
||||||
|
- update to version 0.8.0
|
||||||
|
- Use an XSLT namespace alias for XInclude output
|
||||||
|
- Updated translations
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 21 22:30:50 CEST 2006 - jhargadon@suse.de
|
||||||
|
|
||||||
|
- update to version 0.7.2
|
||||||
|
- updated translations
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 11 17:57:44 CEST 2006 - jhargadon@suse.de
|
||||||
|
|
||||||
|
- update to version 0.7.1
|
||||||
|
- Added support for the LINGUAS environment variable
|
||||||
|
- Some fixes for HTML generation
|
||||||
|
- Fixed attribute handling
|
||||||
|
- updated translations
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 25 21:31:43 CET 2006 - mls@suse.de
|
||||||
|
|
||||||
|
- converted neededforbuild to BuildRequires
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 18 16:36:18 CET 2006 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Updated to version 0.5.3.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 30 22:19:25 CET 2005 - gekker@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.4.4
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 4 14:13:51 CEST 2005 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Updated to version 0.4.2.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 6 11:08:10 CEST 2005 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Updated to version 0.4.0.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 5 19:10:07 CEST 2005 - gekker@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.3.3 (GNOME 2.12)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 10 11:36:00 CEST 2005 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Do not require -devel packages.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 8 13:09:34 CEST 2005 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Use minimal build environment to break build loop.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 28 11:30:17 CEST 2005 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Updated to version 0.3.2.
|
||||||
|
- Fixed dependency on libxml2-python (#98757).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 22 18:15:04 CEST 2005 - gekker@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.3.1
|
||||||
|
- Remove previous patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 6 20:56:47 CEST 2005 - clahey@suse.de
|
||||||
|
|
||||||
|
- Added patches to update to cvs.
|
||||||
|
- Called auto* to get changes from cvs.
|
||||||
|
- Added dep on libxml2-devel.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jun 18 00:49:47 CEST 2005 - gekker@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.2.0
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 9 20:05:25 CET 2005 - gekker@suse.de
|
||||||
|
|
||||||
|
- Updating to version 0.1.3 (GNOME 2.10).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 3 00:43:13 CET 2005 - clahey@suse.de
|
||||||
|
|
||||||
|
- Updating to version 0.1.2.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 24 11:45:42 CET 2005 - ro@suse.de
|
||||||
|
|
||||||
|
- fix lib64 build
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 24 04:16:33 CET 2005 - clahey@suse.de
|
||||||
|
|
||||||
|
- Initial import.
|
||||||
|
|
154
gnome-doc-utils.spec
Normal file
154
gnome-doc-utils.spec
Normal file
@ -0,0 +1,154 @@
|
|||||||
|
#
|
||||||
|
# spec file for package gnome-doc-utils
|
||||||
|
#
|
||||||
|
# Copyright (c) 2022 SUSE LLC
|
||||||
|
#
|
||||||
|
# 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 https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: gnome-doc-utils
|
||||||
|
Version: 0.20.10
|
||||||
|
Release: 0
|
||||||
|
Summary: A Collection of Documentation Utilities for GNOME
|
||||||
|
License: GPL-2.0-or-later
|
||||||
|
Group: System/GUI/GNOME
|
||||||
|
URL: https://www.gnome.org
|
||||||
|
Source0: https://download.gnome.org/sources/gnome-doc-utils/0.20/%{name}-%{version}.tar.xz
|
||||||
|
# PATCH-FIX-UPSTREAM gnome-doc-utils-fig-path.patch bgo#682776 dimstar@opensuse.org -- Fix linking of figs in subfolders.
|
||||||
|
Patch0: gnome-doc-utils-fig-path.patch
|
||||||
|
# PATCH-FIX-UPSTREAM gnome-doc-utils-port-python3.patch -- Port to python3
|
||||||
|
Patch1: gnome-doc-utils-port-python3.patch
|
||||||
|
|
||||||
|
BuildRequires: docbook_4
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: intltool
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
%if %suse_version > 1500
|
||||||
|
BuildRequires: python3-libxml2
|
||||||
|
%else
|
||||||
|
BuildRequires: python3-libxml2-python
|
||||||
|
%endif
|
||||||
|
# needed for xmllint
|
||||||
|
BuildRequires: libxml2-tools
|
||||||
|
BuildRequires: libxslt-devel
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
Requires: libxslt
|
||||||
|
%if %suse_version > 1500
|
||||||
|
Requires: python3-libxml2
|
||||||
|
%else
|
||||||
|
Requires: python3-libxml2-python
|
||||||
|
%endif
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
The gnome-doc-utils package is a collection of documentation
|
||||||
|
utilities for the GNOME project. It contains utilities for building
|
||||||
|
documentation and auxiliary files in a source tree. It also contains
|
||||||
|
the DocBook XSLT stylesheets that were once distributed with Yelp.
|
||||||
|
|
||||||
|
%package -n xml2po
|
||||||
|
Summary: Tool to extract translatable content from XML documents
|
||||||
|
License: GPL-2.0-or-later
|
||||||
|
Group: System/GUI/GNOME
|
||||||
|
%if %suse_version > 1500
|
||||||
|
BuildRequires: python3-libxml2
|
||||||
|
%else
|
||||||
|
BuildRequires: python3-libxml2-python
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description -n xml2po
|
||||||
|
xml2po is a Python program which extracts translatable content from
|
||||||
|
free-form XML documents and outputs gettext compatible POT files.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: A Collection of Documentation Utilities for GNOME
|
||||||
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
||||||
|
Group: System/GUI/GNOME
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
# For the validation with xsltproc to use a local DTD
|
||||||
|
Requires: docbook_4
|
||||||
|
Requires: xml2po-devel
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
The gnome-doc-utils package is a collection of documentation
|
||||||
|
utilities for the GNOME project. It contains utilities for building
|
||||||
|
documentation and auxiliary files in a source tree. It also contains
|
||||||
|
the DocBook XSLT stylesheets that were once distributed with Yelp.
|
||||||
|
|
||||||
|
%package -n xml2po-devel
|
||||||
|
Summary: Pkgconfig file for xml2po
|
||||||
|
License: GPL-2.0-or-later
|
||||||
|
Group: System/GUI/GNOME
|
||||||
|
Requires: xml2po = %{version}
|
||||||
|
|
||||||
|
%description -n xml2po-devel
|
||||||
|
xml2po is a Python program which extracts translatable content from
|
||||||
|
free-form XML documents and outputs gettext compatible POT files.
|
||||||
|
|
||||||
|
%lang_package
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
export LANG=C.UTF-8
|
||||||
|
%configure \
|
||||||
|
--disable-scrollkeeper \
|
||||||
|
%{nil}
|
||||||
|
%make_build pkgconfigdir=%{_datadir}/pkgconfig
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install pkgconfigdir=%{_datadir}/pkgconfig
|
||||||
|
%find_lang %{name} %{?no_lang_C}
|
||||||
|
%find_lang gnome-doc-make %{?no_lang_C} %{name}.lang
|
||||||
|
%find_lang gnome-doc-xslt %{?no_lang_C} %{name}.lang
|
||||||
|
%fdupes %{buildroot}/%{_prefix}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license COPYING
|
||||||
|
%doc AUTHORS ChangeLog NEWS README
|
||||||
|
%dir %{_datadir}/gnome/
|
||||||
|
%dir %{_datadir}/gnome/help/
|
||||||
|
%dir %{_datadir}/gnome/help/gnome-doc-make/
|
||||||
|
%doc %{_datadir}/gnome/help/gnome-doc-make/C/
|
||||||
|
%dir %{_datadir}/gnome/help/gnome-doc-xslt/
|
||||||
|
%doc %{_datadir}/gnome/help/gnome-doc-xslt/C/
|
||||||
|
%{_bindir}/gnome-doc-tool
|
||||||
|
%dir %{_datadir}/gnome-doc-utils
|
||||||
|
%{_datadir}/gnome-doc-utils/icons
|
||||||
|
%{_datadir}/gnome-doc-utils/watermarks
|
||||||
|
%{_datadir}/xml/gnome
|
||||||
|
%{_datadir}/xml/mallard
|
||||||
|
|
||||||
|
%files -n xml2po
|
||||||
|
%license xml2po/COPYING
|
||||||
|
%doc xml2po/AUTHORS xml2po/ChangeLog xml2po/NEWS xml2po/README
|
||||||
|
%{_bindir}/xml2po
|
||||||
|
%{python3_sitelib}/xml2po
|
||||||
|
%{_mandir}/man?/xml2po*%{ext_man}
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_bindir}/gnome-doc-prepare
|
||||||
|
%dir %{_datadir}/aclocal
|
||||||
|
%{_datadir}/aclocal/gnome-doc-utils.m4
|
||||||
|
%{_datadir}/pkgconfig/gnome-doc-utils.pc
|
||||||
|
%{_datadir}/gnome-doc-utils/gnome-doc-utils.make
|
||||||
|
%{_datadir}/gnome-doc-utils/templates
|
||||||
|
%{_datadir}/gnome-doc-utils/template*.*
|
||||||
|
|
||||||
|
%files -n xml2po-devel
|
||||||
|
%{_datadir}/pkgconfig/xml2po.pc
|
||||||
|
|
||||||
|
%files lang -f %{name}.lang
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user