Hello community,
here is the log from the commit of package xmlgraphics-fop.1629 for
openSUSE:12.3:Update checked in at 2013-05-02 15:04:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.3:Update/xmlgraphics-fop.1629 (Old)
and /work/SRC/openSUSE:12.3:Update/.xmlgraphics-fop.1629.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xmlgraphics-fop.1629"
Changes:
--------
New Changes file:
--- /dev/null 2013-04-05 00:01:41.916011506 +0200
+++
/work/SRC/openSUSE:12.3:Update/.xmlgraphics-fop.1629.new/xmlgraphics-fop.changes
2013-05-02 15:04:14.000000000 +0200
@@ -0,0 +1,190 @@
+-------------------------------------------------------------------
+Thu Apr 25 12:10:30 UTC 2013 - [email protected]
+
+- fix a typo in a xmlgraphics-fop.script (bnc#817145)
+
+-------------------------------------------------------------------
+Mon Jan 28 14:45:12 UTC 2013 - [email protected]
+
+- (build) require xml-commons-apis, the org.w3c.svg are used inside fop
+ part of a fix for bnc#800694
+
+-------------------------------------------------------------------
+Thu Jan 10 11:26:27 UTC 2013 - [email protected]
+
+- drop excalibur usage from all classpaths, use avalon-framework instead
+
+-------------------------------------------------------------------
+Mon Dec 17 10:21:55 UTC 2012 - [email protected]
+
+- drop excalibur-avalon from dependencies, fop now uses avalon-framework
+
+-------------------------------------------------------------------
+Sun Dec 9 08:29:33 UTC 2012 - [email protected]
+
+- patched fop.xconf
+ * added <auto-detect/> to pdf renderer section, so now possible to use
system fonts like font-family="DejaVuSansMono"
+- fix the spec file to install a (default) fop.xconf file in /etc
+- patched scripts to use /etc/fop.xconf
+
+-------------------------------------------------------------------
+Tue Nov 20 12:53:08 UTC 2012 - [email protected]
+
+- add fo-formatter to provides upon a request of doc team
+
+-------------------------------------------------------------------
+Wed Nov 14 13:23:34 UTC 2012 - [email protected]
+
+- fixed "Class not found" errors in fop scripts
+
+-------------------------------------------------------------------
+Thu Oct 25 07:44:09 UTC 2012 - [email protected]
+
+- add commons-logging and commons-io to Requires and fop script
+- removed uneeded xalan-j2, xmlcommons and xerces from dependencies
+
+-------------------------------------------------------------------
+Wed Oct 24 14:04:38 UTC 2012 - [email protected]
+
+- update to 1.1
+ * many bug fixes and a number of improvements
+ * support for Complex Scripts (e.g., Arabic, Hebrew, Indic, and Southeast
+ * Asian scripts)
+ * http://xmlgraphics.apache.org/fop/1.1/releaseNotes_1.1.html
+ * This release implements a substantial subset of the W3C
+ * XSL-FO 1.1 Recommendation. For a detailed overview of FOP's compliance with
+ * this recommendation, see Compliance.
+ * http://xmlgraphics.apache.org/fop/compliance.html
+- obsoleted xmlgraphics-fop-asf51789.patch
+- obsoleted xmlgraphics-fop-build.patch
+
+-------------------------------------------------------------------
+Fri Sep 9 16:20:40 UTC 2011 - [email protected]
+
+- restored gzipped archive to avoid HTTP 404
+- disabled tests (they take ages to build and they fail anyway, so do we
really need them)?
+- added standard hyphenation from OFFO
+- told ant to use UTF-8
+- fix for asf#51789
+
+-------------------------------------------------------------------
+Fri May 13 08:25:38 UTC 2011 - [email protected]
+
+- Recompressed gzip archive to bz2 to avoid warning
+- Fixed non-conffile-in-etc warning for %{_mavendepmapfragdir}
+- Added new xmlgraphics-fontmetrics and xmlgraphics-fontlist scripts
+ to help for better FOP configuration
+- Added manpage and HTML for all scripts (xmlgraphics-fop,
+ xmlgraphics-fop-fontmetrics, and xmlgraphics-fop-fontlist)
+- Created links without prefix xmlgraphics-fop for
+ xmlgraphics-fop-fontmetrics and xmlgraphics-fop-fontlist
+- Created links for all manpages without prefix xmlgraphics-fop
+
+-------------------------------------------------------------------
+Wed May 11 14:43:06 UTC 2011 - [email protected]
+
+- Added two new scripts for creating font metrics and font lists
+
+-------------------------------------------------------------------
+Mon May 2 06:37:50 UTC 2011 - [email protected]
+
+- Fixed xmlgraphic-fop script:
+ * Added excalibur/avalon-framework-impl in BASE_JAR variable to
+ avoid exception in thread "main" java.lang.NoClassDefFoundError:
+ org/apache/avalon/framework/configuration/DefaultConfigurationBuilder
+ Caused by: java.lang.ClassNotFoundException:
+ org.apache.avalon.framework.configuration.DefaultConfigurationBuilder
+ * Replaced xmlgraphics-batik/util in BASE_JAR variable to
+ avoid ClassNotFoundException: org.apache.batik.bridge.UserAgent
+
+-------------------------------------------------------------------
+Tue Nov 16 15:11:29 UTC 2010 - [email protected]
+
+- correct fop Provides: Obsolete:
+
+-------------------------------------------------------------------
+Wed Nov 3 13:11:50 UTC 2010 - [email protected]
+
+- fix bnc#650138 - fop update wanted
+ * fix memory leak in property cache
+ * change FONode.addCharacters() parameter to closer match the signature of
the standard SAX characters() event
+ * new event handling framework
+ * support for font substitution
+ * support for addressing all glyphs available in a Type 1 font,
+ not just the ones in the font's primary encoding.
+ * limited support for pages of different inline-progression-dimensions
within a page-sequence.
+ * minimal support for integer keep values on the various keep properties on
block-level FOs.
+ * new AFPGraphics2D implementation which provides the ability to use Batik to
+ drive the production of AFP Graphics (GOCA) output from SVG.
+ * new Resource group leveling, external streaming, and de-duplication of
images and
+ graphics using IncludeObject and ResourceGroup.
+ * new Native image embedding support (e.g. JPEG, GIF, TIFF) using
ObjectContainer
+ and a MOD:CA Registry implementation.
+- merge with xmlgraphics-fop-0.95-6.jpp5.src.rpm
+
+-------------------------------------------------------------------
+Thu Feb 26 13:52:34 CET 2009 - [email protected]
+
+- fixed bnc#467866 - fop fails if JAVACMD_OPTS is set
+
+-------------------------------------------------------------------
+Wed Aug 6 15:23:11 CEST 2008 - [email protected]
+
+- update to version 0.95, list of changes at:
+ http://xmlgraphics.apache.org/fop/0.95/changes_0.95.html
+- fop requires java 1.4 now
+- use unversioned Requires: jre
+
+-------------------------------------------------------------------
+Fri Jun 27 10:48:43 CEST 2008 - [email protected]
+
+- avoid build cycle between fop and saxon
+
+-------------------------------------------------------------------
+Wed Jan 30 17:42:06 CET 2008 - [email protected]
+
+- update to version 0.94, major changes:
+
+ * Add support for font auto-detection (JM) Thanks to Adrian Cumiskey
+ * Add support for the border-collapsing model in tables (VH, JM)
+ * Add support for named destinations in PDF (JB)
+ * Add support for UAX#14 type line breaking (MM)
+
+ full list of changes at:
+
+ http://xmlgraphics.apache.org/fop/0.94/changes_0.94.html
+
+-------------------------------------------------------------------
+Tue Jul 10 12:23:48 CEST 2007 - [email protected]
+
+- update to version 0.93
+- build with gcj
+
+-------------------------------------------------------------------
+Sun May 6 22:50:12 CEST 2007 - [email protected]
+
+- added unzip to buildrequires
+
+-------------------------------------------------------------------
+Wed Jan 25 21:46:22 CET 2006 - [email protected]
+
+- converted neededforbuild to BuildRequires
+
+-------------------------------------------------------------------
+Fri Sep 17 19:53:40 CEST 2004 - [email protected]
+
+- do no longer use setJava
+
+-------------------------------------------------------------------
+Wed Apr 28 13:59:08 CEST 2004 - [email protected]
+
+- Provide wrapper scripts for fop.sh and xalan.sh to make it find the
+ java environment; reported by Thomas Schraitle; fix provided by Petr
+ Mladek [#39581].
+
+-------------------------------------------------------------------
+Mon Oct 27 13:56:38 CET 2003 - [email protected]
+
+- New package: version 0.20.5.
+
+
New:
----
fop-1.1-src.tar.gz
fop-1.1-src.tar.gz.asc
offo-hyphenation_v2.0.zip
xmlgraphics-fop-cli.patch
xmlgraphics-fop-fontlist.script
xmlgraphics-fop-fontlist.xml
xmlgraphics-fop-fontmetrics.script
xmlgraphics-fop-fontmetrics.xml
xmlgraphics-fop-pom-template.pom
xmlgraphics-fop-xconf.patch
xmlgraphics-fop.changes
xmlgraphics-fop.script
xmlgraphics-fop.spec
xmlgraphics-fop.xml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ xmlgraphics-fop.spec ++++++
#
# spec file for package xmlgraphics-fop
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2000-2008, JPackage Project
# All rights reserved.
#
# 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/
#
%define section free
%define bname fop
%bcond_with tests
Name: xmlgraphics-fop
Version: 1.1
Release: 0
Summary: Formatter for Printing XSLT Processed XML Files
License: Apache-2.0
Group: Productivity/Publishing/XML
Source0:
http://ftp.halifax.rwth-aachen.de/apache/xmlgraphics/fop/source/fop-1.1-src.tar.gz
#FIX-OPENSUSE: add xmlgraphics-commons to classpath
Source1: %{name}.script
Source2:
http://svn.apache.org/repos/asf/xmlgraphics/fop/tags/fop-1_0/xmlgraphics-fop-pom-template.pom
Source3: %{name}-fontmetrics.script
Source4: %{name}-fontlist.script
Source5:
http://heanet.dl.sourceforge.net/project/offo/offo-hyphenation/2.0/offo-hyphenation_v2.0.zip
# Manpage(s)
Source10: %{name}.xml
Source11: %{name}-fontmetrics.xml
Source12: %{name}-fontlist.xml
Source1000:
http://ftp.halifax.rwth-aachen.de/apache/xmlgraphics/fop/source/fop-1.1-src.tar.gz.asc
Patch1: xmlgraphics-fop-cli.patch
Patch2: xmlgraphics-fop-xconf.patch
Url: http://xmlgraphics.apache.org/fop/
Requires(post): jpackage-utils >= 1.7.4
Requires(postun): jpackage-utils >= 1.7.4
Requires: avalon-framework
Requires: commons-io >= 2.4
Requires: commons-logging
Requires: java >= 1.6.0
Requires: jpackage-utils >= 1.7.4
Requires: xml-commons-jaxp-1.3-apis
Requires: xmlgraphics-batik
Requires: xmlgraphics-commons >= 1.5
BuildRequires: ant >= 1.6.5
BuildRequires: ant-junit
BuildRequires: ant-trax
BuildRequires: avalon-framework
BuildRequires: docbook-xsl-stylesheets
BuildRequires: gpg2
BuildRequires: java-devel >= 1.6.0
BuildRequires: java-javadoc
BuildRequires: jpackage-utils >= 1.7.4
BuildRequires: junit
BuildRequires: libxslt
BuildRequires: qdox >= 1.12
BuildRequires: servlet_api
BuildRequires: unzip
BuildRequires: xml-commons-jaxp-1.3-apis
BuildRequires: xmlgraphics-batik
BuildRequires: xmlgraphics-batik-javadoc
BuildRequires: xmlgraphics-commons >= 1.5
BuildRequires: xmlunit
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
#!BuildIgnore: saxon
Provides: %{bname} = %{version}-%{release}
Obsoletes: %{bname} < %{version}-%{release}
Provides: fo-formatter = %{version}-%{release}
%description
FOP (Formatting Objects Processor) is driven by XSL formatting objects
(XSL-FO). It is a Java application that reads a formatting object (FO)
tree and renders the resulting pages to one of the following output
formats: PDF (primary output target), PCL, PS, SVG, XML (area tree
representation), Print, AWT, MIF, and TXT.
%package javadoc
Summary: Javadoc for %{name}
Group: Documentation/HTML
%description javadoc
API documentation for %{name} automatically extracted from comments in source
files.
%prep
%setup -q -n %{bname}-%{version} -a5
ln -thyph offo-hyphenation/hyph/*.xml
find -name "*.jar" | xargs -t rm
%patch1 -p1 -b .cli
%patch2 -p1 -b .cli
cp %{SOURCE2} %{SOURCE3} %{SOURCE4} .
# Replace keyword "VERSION" in XML files with the real one:
for x in %{SOURCE10} %{SOURCE11} %{SOURCE12}; do
sed -i "s=@VERSION@=%{version}=" $x
done
%build
pushd lib
ln -s $(build-classpath avalon-framework)
ln -s $(build-classpath commons-io)
ln -s $(build-classpath commons-logging)
ln -s $(build-classpath servlet_api)
ln -s $(build-classpath xml-commons-jaxp-1.3-apis)
ln -s $(build-classpath xml-commons-jaxp-1.3-apis-ext)
ln -s $(build-classpath xmlgraphics-batik/anim)
ln -s $(build-classpath xmlgraphics-batik/awt-util)
ln -s $(build-classpath xmlgraphics-batik/bridge)
ln -s $(build-classpath xmlgraphics-batik/css)
ln -s $(build-classpath xmlgraphics-batik/dom)
ln -s $(build-classpath xmlgraphics-batik/ext)
ln -s $(build-classpath xmlgraphics-batik/extension)
ln -s $(build-classpath xmlgraphics-batik/gvt)
ln -s $(build-classpath xmlgraphics-batik/parser)
ln -s $(build-classpath xmlgraphics-batik/svg-dom)
ln -s $(build-classpath xmlgraphics-batik/svggen)
ln -s $(build-classpath xmlgraphics-batik/script)
ln -s $(build-classpath xmlgraphics-batik/transcoder)
ln -s $(build-classpath xmlgraphics-batik/util)
ln -s $(build-classpath xmlgraphics-batik/xml)
ln -s $(build-classpath xmlgraphics-commons)
ln -s $(build-classpath xmlunit)
ln -s $(build-classpath qdox)
popd
export CLASSPATH= LANG=en_US.UTF-8
export OPT_JAR_LIST=`%{__cat} %{_sysconfdir}/ant.d/{junit,trax}`
%{ant} \
-Dbatik.javadoc=%{_javadocdir}/xmlgraphics-batik \
package \
%if %{with tests}
junit \
%endif
maven-artifacts
# false
# Build the manpage(s) and HTML
DB=/usr/share/xml/docbook/stylesheet/nwalsh/current
for m in %{SOURCE10} %{SOURCE11} %{SOURCE12}; do
xsltproc $DB/manpages/docbook.xsl $m
# Only filename for HTML is needed, remove anything before /
xml=${m##*/}
xsltproc --output ${xml%%.xml}.html $DB/html/docbook.xsl $m
done
%install
# jars
mkdir -p %{buildroot}%{_javadir}
install -m 644 build/%{bname}.jar %{buildroot}%{_javadir}/%{name}.jar
%add_to_maven_depmap org.apache.xmlgraphics %{bname} %{version} JPP %{name}
# pom
install -d -m 755 %{buildroot}%{_datadir}/maven2/poms
install -pm 644 build/maven/pom.xml
%{buildroot}%{_datadir}/maven2/poms/JPP-%{name}.pom
# script
mkdir -p %{buildroot}%{_bindir}
cp -p %{SOURCE1} %{buildroot}%{_bindir}/%{name}
cp -p %{SOURCE3} %{buildroot}%{_bindir}/%{name}-fontmetrics
cp -p %{SOURCE4} %{buildroot}%{_bindir}/%{name}-fontlist
# compat symlink
ln -s %{name} %{buildroot}%{_bindir}/%{bname}
ln -s %{name}-fontmetrics %{buildroot}%{_bindir}/%{bname}-fontmetrics
ln -s %{name}-fontlist %{buildroot}%{_bindir}/%{bname}-fontlist
# data
mkdir -p %{buildroot}%{_datadir}/%{name}
cp -pr hyph %{buildroot}%{_datadir}/%{name}
cp -pr conf %{buildroot}%{_datadir}/%{name}
install -D -m 644 conf/fop.xconf %{buildroot}/etc/fop.xconf
# javadoc
mkdir -p %{buildroot}%{_javadocdir}/%{name}
cp -pr build/javadocs/* %{buildroot}%{_javadocdir}/%{name}
# Manpages
mkdir -p %{buildroot}%_mandir/man1
for m in *.1; do
gzip $m
done
cp -vi *.1.gz %{buildroot}%_mandir/man1
# Remove prefix xmlgraphics to make also the linked manpage version available
pushd %{buildroot}%_mandir/man1
for m in *.1.gz; do
ln -s $m ${m#*-}
done
popd
%clean
rm -rf %{buildroot}
%post
%update_maven_depmap
%postun
%update_maven_depmap
%files
%defattr(0644,root,root,0755)
%doc NOTICE LICENSE README known-issues.xml status.xml
%doc *.html
%attr(0755,root,root) %{_bindir}/%{name}
%attr(0755,root,root) %{_bindir}/%{bname}
%attr(0755,root,root) %{_bindir}/%{name}-fontmetrics
%attr(0755,root,root) %{_bindir}/%{bname}-fontmetrics
%attr(0755,root,root) %{_bindir}/%{name}-fontlist
%attr(0755,root,root) %{_bindir}/%{bname}-fontlist
%{_javadir}/%{name}.jar
%{_datadir}/%{name}
%{_datadir}/maven2/*
%config %{_mavendepmapfragdir}/*
%{_mandir}/man1/*
%config(noreplace) /etc/fop.xconf
%files javadoc
%defattr(0644,root,root,0755)
%{_javadocdir}/%{name}
%changelog
++++++ xmlgraphics-fop-cli.patch ++++++
Index: fop-1.0/src/java/org/apache/fop/cli/Main.java
===================================================================
--- fop-1.0.orig/src/java/org/apache/fop/cli/Main.java 2010-07-12
21:34:44.000000000 +0200
+++ fop-1.0/src/java/org/apache/fop/cli/Main.java 2010-11-03
15:33:27.174637237 +0100
@@ -201,11 +201,7 @@
* @param args the command line parameters
*/
public static void main(String[] args) {
- if (checkDependencies()) {
- startFOP(args);
- } else {
- startFOPWithDynamicClasspath(args);
- }
+ startFOP(args);
}
}
++++++ xmlgraphics-fop-fontlist.script ++++++
#!/bin/bash
# Source functions library
if [ -f /usr/share/java-utils/java-functions ] ; then
. /usr/share/java-utils/java-functions
else
echo "Can't find functions library, aborting"
exit 1
fi
# Load system-wide configuration
if [ -f /etc/fop.conf ]; then
. /etc/fop.conf
fi
fopxconf=/etc/fop.xconf
fop_exec_args=
if [ -f "$fopxconf" ] ; then
config_found=0
for i in "$@"; do if [ "$i" = "-c" ]; then config_found=1; break; fi; done
if [ $config_found = 0 ]; then
fop_exec_args="-c $fopxconf $fop_exec_args"
fi
fi
# Load user configuration
if [ -f "$HOME/.foprc" ]; then
. "$HOME/.foprc"
fi
# Rest of the configuration
MAIN_CLASS=org.apache.fop.tools.fontlist.FontListMain
BASE_JARS="xmlgraphics-fop xmlgraphics-commons batik-all avalon-framework
xerces-j2 xalan-j2 xalan-j2-serializer apache-commons-logging apache-commons-io"
# Set parameters
set_jvm
set_classpath $BASE_JARS
set_flags $BASE_FLAGS
set_options $BASE_OPTIONS $FOP_OPTS
# Let's start
run $fop_exec_args "$@"
++++++ xmlgraphics-fop-fontmetrics.script ++++++
#!/bin/bash
# Source functions library
if [ -f /usr/share/java-utils/java-functions ] ; then
. /usr/share/java-utils/java-functions
else
echo "Can't find functions library, aborting"
exit 1
fi
# Load system-wide configuration
if [ -f /etc/fop.conf ]; then
. /etc/fop.conf
fi
# Load user configuration
if [ -f "$HOME/.foprc" ]; then
. "$HOME/.foprc"
fi
fopxconf=/etc/fop.xconf
fop_exec_args=
if [ -f "$fopxconf" ] ; then
config_found=0
for i in "$@"; do if [ "$i" = "-c" ]; then config_found=1; break; fi; done
if [ $config_found = 0 ]; then
fop_exec_args="-c $fopxconf $fop_exec_args"
fi
fi
# Rest of the configuration
MAIN_CLASS_PFM=org.apache.fop.fonts.apps.PFMReader
MAIN_CLASS_TTF=org.apache.fop.fonts.apps.TTFReader
if [ "$1" = '-t' ]; then
MAIN_CLASS=${MAIN_CLASS_TTF}
shift
elif [ "$1" = "-p" ]; then
MAIN_CLASS=${MAIN_CLASS_PFM}
shift
else
MAIN_CLASS=${MAIN_CLASS_TTF}
fi
BASE_JARS="xmlgraphics-fop xmlgraphics-commons commons-io commons-logging
avalon-framework xml-commons-jaxp-1.3-apis xerces-j2 xalan-j2
xalan-j2-serializer"
# Set parameters
set_jvm
set_classpath $BASE_JARS
set_flags $BASE_FLAGS
set_options $BASE_OPTIONS $FOP_OPTS
# Let's start
run $fop_exec_args "$@"
++++++ xmlgraphics-fop-xconf.patch ++++++
--- fop-1.1.orig/conf/fop.xconf 2012-11-11 10:53:23.000000000 +0400
+++ fop-1.1/conf/fop.xconf 2012-12-09 10:57:56.000000000 +0400
@@ -78,6 +78,7 @@
<font-triplet name="ArialMT" style="normal" weight="bold"/>
</font>
-->
+ <auto-detect/>
</fonts>
<!-- This option lets you specify additional options on an XML handler
-->
++++++ xmlgraphics-fop.script ++++++
#!/bin/sh
#
# FOP 0.94 script
# JPackage Project <http://www.jpackage.org/>
# $Id$
# Source functions library
if [ -f /usr/share/java-utils/java-functions ] ; then
. /usr/share/java-utils/java-functions
else
echo "Can't find functions library, aborting"
exit 1
fi
# Load system-wide configuration
if [ -f /etc/fop.conf ]; then
. /etc/fop.conf
fi
fopxconf=/etc/fop.xconf
fop_exec_args=
if [ -f "$fopxconf" ] ; then
config_found=0
for i in "$@"; do if [ "$i" = "-c" ]; then config_found=1; break; fi; done
if [ $config_found = 0 ]; then
fop_exec_args="-c $fopxconf $fop_exec_args"
fi
fi
# Load user configuration
if [ -f "$HOME/.foprc" ]; then
. "$HOME/.foprc"
fi
# Rest of the configuration
MAIN_CLASS=org.apache.fop.cli.Main
BASE_JARS="xmlgraphics-fop xmlgraphics-commons commons-logging commons-io
avalon-framework batik-all xml-commons-jaxp-1.3-apis
xml-commons-jaxp-1.3-apis-ext"
# Set parameters
set_jvm
set_classpath $BASE_JARS
set_flags $BASE_FLAGS
set_options $BASE_OPTIONS $FOP_OPTS
# Let's start
run $fop_exec_args "$@"
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]