Hello community,
here is the log from the commit of package susedoc
checked in at Mon Aug 20 17:32:16 CEST 2007.
--------
--- susedoc/susedoc.changes 2007-08-13 15:32:21.000000000 +0200
+++ /mounts/work_src_done/NOARCH/susedoc/susedoc.changes 2007-08-20 13:41:17.000000000 +0200
@@ -1,0 +2,9 @@
+Mon Aug 20 13:41:06 CEST 2007 - toms@suse.de
+
+- Corrected FOP font issue. Configuration file of FOP and fo/fonts.xsl
+ contained different font names (actually, they are aliases).
+ Used common/l10n/*.xml files to insert font configuration for FOP
+ and XEP.
+
+
+-------------------------------------------------------------------
Old:
----
susedoc-4.2_20070813.tar.bz2
New:
----
susedoc-4.2_20070817.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ susedoc.spec ++++++
--- /var/tmp/diff_new_pack.jF2639/_old 2007-08-20 17:31:11.000000000 +0200
+++ /var/tmp/diff_new_pack.jF2639/_new 2007-08-20 17:31:11.000000000 +0200
@@ -27,12 +27,12 @@
License: GPL v2 or later
Group: Productivity/Publishing/XML
Autoreqprov: on
-Version: %{packageversion}_20070813
+Version: %{packageversion}_20070817
Release: 1
Summary: XML Build Mechanics for Novell, SUSE, and openSUSE Documentation
# Needs to be fixed to openSUSE build server:
Url: http://www.opensuse.org/Documentation_Team
-Source0: susedoc-4.2_20070813.tar.bz2
+Source0: susedoc-4.2_20070817.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%define regcat /usr/bin/sgml-register-catalog
@@ -46,7 +46,7 @@
XML.
See also http://en.opensuse.org/Documentation_Team and
-http://developer.novell.com/wiki/index.php/Lessons_for_Lizards
+http://developer.novell.com/wiki/index.php/Lessons_for_Lizards.
@@ -188,6 +188,11 @@
%{docbuilddir}
%changelog
+* Mon Aug 20 2007 - toms@suse.de
+- Corrected FOP font issue. Configuration file of FOP and fo/fonts.xsl
+ contained different font names (actually, they are aliases).
+ Used common/l10n/*.xml files to insert font configuration for FOP
+ and XEP.
* Mon Aug 13 2007 - toms@suse.de
- Created new release 20070813:
* Corrected desktop/docbook.xsl
++++++ susedoc-4.2_20070813.tar.bz2 -> susedoc-4.2_20070817.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/susedoc/etc/FOP/fop-suse.xml new/susedoc/etc/FOP/fop-suse.xml
--- old/susedoc/etc/FOP/fop-suse.xml 2007-08-13 14:42:02.000000000 +0200
+++ new/susedoc/etc/FOP/fop-suse.xml 2007-08-17 09:54:10.000000000 +0200
@@ -17,69 +17,69 @@
metrics-url="file:///local/doc/trunk/novdoc/etc/FOP/nimbus-mono.xml"
kerning="yes"
embed-url="file:///usr/share/ghostscript/fonts/n022003l.pfb">
- <font-triplet name="suse_mono" style="normal" weight="normal"/>
+ <font-triplet name="suse.mono" style="normal" weight="normal"/>
</font>
<font
metrics-url="file:///local/doc/trunk/novdoc/etc/FOP/nimbus-mono_italic.xml"
kerning="yes"
embed-url="file:///usr/share/ghostscript/fonts/n022023l.pfb">
- <font-triplet name="suse_mono" style="italic" weight="normal"/>
+ <font-triplet name="suse.mono" style="italic" weight="normal"/>
</font>
<font
metrics-url="file:///local/doc/trunk/novdoc/etc/FOP/nimbus-mono_bold.xml"
kerning="yes"
embed-url="file:///usr/share/ghostscript/fonts/n022004l.pfb">
- <font-triplet name="suse_mono" style="normal" weight="bold"/>
+ <font-triplet name="suse.mono" style="normal" weight="bold"/>
</font>
<font
metrics-url="file:///local/doc/trunk/novdoc/etc/FOP/nimbus-mono_bolditalic.xml"
kerning="yes"
embed-url="file:///usr/share/ghostscript/fonts/n022004l.pfb">
- <font-triplet name="suse_mono" style="italic" weight="bold"/>
+ <font-triplet name="suse.mono" style="italic" weight="bold"/>
</font>
<!-- Andale Sans -->
<font
metrics-url="file:///local/doc/trunk/novdoc/etc/FOP/andale-sans.xml"
kerning="yes" embed-url="file:///usr/share/fonts/truetype/ans_____.ttf">
- <font-triplet name="suse_sans" style="normal" weight="normal"/>
+ <font-triplet name="suse.sans" style="normal" weight="normal"/>
</font>
<font
metrics-url="file:///local/doc/trunk/novdoc/etc/FOP/andale-sans_italic.xml"
kerning="yes" embed-url="file:///usr/share/fonts/truetype/ansi____.ttf">
- <font-triplet name="suse_sans" style="italic" weight="normal"/>
+ <font-triplet name="suse.sans" style="italic" weight="normal"/>
</font>
<font
metrics-url="file:///local/doc/trunk/novdoc/etc/FOP/andale-sans_bold.xml"
kerning="yes" embed-url="file:///usr/share/fonts/truetype/ansb____.ttf">
- <font-triplet name="suse_sans" style="normal" weight="bold"/>
+ <font-triplet name="suse.sans" style="normal" weight="bold"/>
</font>
<font
metrics-url="file:///local/doc/trunk/novdoc/etc/FOP/andale-sans_bolditalic.xml"
kerning="yes" embed-url="file:///usr/share/fonts/truetype/ansbi___.ttf">
- <font-triplet name="suse_sans" style="italic" weight="bold"/>
+ <font-triplet name="suse.sans" style="italic" weight="bold"/>
</font>
<!-- Thorndale Serif -->
<font
metrics-url="file:///local/doc/trunk/novdoc/etc/FOP/thorndale-serif.xml"
kerning="yes" embed-url="file:///usr/share/fonts/truetype/thowr___.ttf">
- <font-triplet name="suse_serif" style="normal" weight="normal"/>
+ <font-triplet name="suse.serif" style="normal" weight="normal"/>
</font>
<font
metrics-url="file:///local/doc/trunk/novdoc/etc/FOP/thorndale-serif_italic.xml"
kerning="yes" embed-url="file:///usr/share/fonts/truetype/thowi___.ttf">
- <font-triplet name="suse_serif" style="italic" weight="normal"/>
+ <font-triplet name="suse.serif" style="italic" weight="normal"/>
</font>
<font
metrics-url="file:///local/doc/trunk/novdoc/etc/FOP/thorndale-serif_bold.xml"
kerning="yes" embed-url="file:///usr/share/fonts/truetype/thowb___.ttf">
- <font-triplet name="suse_serif" style="normal" weight="bold"/>
+ <font-triplet name="suse.serif" style="normal" weight="bold"/>
</font>
<font
metrics-url="file:///local/doc/trunk/novdoc/etc/FOP/thorndale-serif_bolditalic.xml"
kerning="yes" embed-url="file:///usr/share/fonts/truetype/thowbi__.ttf">
- <font-triplet name="suse_serif" style="italic" weight="bold"/>
+ <font-triplet name="suse.serif" style="italic" weight="bold"/>
</font>
<!-- Symbol Font -->
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/susedoc/make/common.mk new/susedoc/make/common.mk
--- old/susedoc/make/common.mk 2007-08-13 14:42:04.000000000 +0200
+++ new/susedoc/make/common.mk 2007-08-17 09:54:12.000000000 +0200
@@ -24,6 +24,7 @@
endif
COMMENTS ?= 0
QUIET ?=
+EXIFTOOL ?= exiftool
# XEP_CONFIG_FILE ?= $(HOME)/.susedoc/xep-config.xml
# STYLENOV is now set in $MAIN
# STYLENOV ?= $(DTDDIR)/xslt/profiling/novdoc-profile.xsl
@@ -684,6 +685,11 @@
ln -sf ../../$< $@
endif
+.PHONY: optipng
+optipng:
+ optipng -o8 $(addprefix images/src/png/,$(USED_PNG))
+ exiftool -Comment=optipng -overwrite_original -P $(addprefix images/src/png/, $(USED_PNG))
+
warn-images:
@if test "$(DOUBLEIMG)"; then \
echo -en "\033[31m";\
@@ -710,6 +716,11 @@
xsltproc $(STYLESVG) $< > $@
images/print/%.png: images/src/png/%.png
+ @$(EXIFTOOL) -Comment $< | grep optipng > /dev/null || \
+ (echo -en "\033[31m"; \
+ echo "Warning: $< not optimized. ";\
+ echo "Run make optipng and check in the modified pictures"; \
+ echo -en "\033[m\017")
convert $< $(CONVERT_OPTS) $@
images/print/%.png: images/print/%.svg
@@ -717,8 +728,14 @@
rm -f $@; \
fi
inkscape $(INK_OPTIONS) -e $@ -f $<
+ optipng -o8 $@
images/online/%.png: images/src/png/%.png
+ $(EXIFTOOL) -Comment $< | grep optipng > /dev/null || \
+ echo -en "\033[31m";\
+ echo "Warning: $< not optimized. ";\
+ echo "Run make optipng and check in the modified pictures"; \
+ echo -en "\033[m\017";
ln -sf ../src/png/$(notdir $<) $@
images/online/%.png: tmp/%.svg
@@ -726,6 +743,7 @@
rm -f $@; \
fi
inkscape $(INK_OPTIONS) -e $@ -f $<
+ optipng -o8 $@
tmp/%.svg: images/src/fig/%.fig
fig2dev -L svg $< $@
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/susedoc/xslt/ChangeLog new/susedoc/xslt/ChangeLog
--- old/susedoc/xslt/ChangeLog 2007-08-13 14:41:50.000000000 +0200
+++ new/susedoc/xslt/ChangeLog 2007-08-17 09:54:03.000000000 +0200
@@ -1,3 +1,12 @@
+2007-07-20 Thomas Schraitle