public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/maven-doxia-sitetools] epel10: Remove iText PDF backend
@ 2026-11-14 17:19 Mikolaj Izdebski
0 siblings, 0 replies; only message in thread
From: Mikolaj Izdebski @ 2026-11-14 17:19 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/maven-doxia-sitetools
Branch : epel10
Commit : 86d97e1764f63ea7fc5822aea0c0fcc99e684fbc
Author : Mikolaj Izdebski <mizdebsk@redhat.com>
Date : 2013-04-09T15:34:39+02:00
Stats : +16/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/maven-doxia-sitetools/c/86d97e1764f63ea7fc5822aea0c0fcc99e684fbc?branch=epel10
Log:
Remove iText PDF backend
---
diff --git a/maven-doxia-sitetools.spec b/maven-doxia-sitetools.spec
index de4d0f4..f8add0d 100644
--- a/maven-doxia-sitetools.spec
+++ b/maven-doxia-sitetools.spec
@@ -33,7 +33,7 @@
Name: %{parent}-%{subproj}
Version: 1.3
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Doxia content generation framework
License: ASL 2.0
Group: Development/Tools
@@ -46,7 +46,6 @@ Patch0: 0003-Migration-to-component-metadata.patch
Patch1: 0001-Remove-dependency-on-velocity-tools.patch
BuildRequires: java-devel >= 1:1.7.0
-BuildRequires: itext
BuildRequires: jpackage-utils
BuildRequires: maven-local
BuildRequires: maven-compiler-plugin
@@ -118,6 +117,18 @@ API documentation for %{name}.
%pom_xpath_inject "pom:plugin[pom:artifactId[text()='modello-maven-plugin']]/pom:configuration" \
"<useJava5>true</useJava5>" doxia-decoration-model
+# There are two backends for generating PDFs: one based on iText and
+# one using FOP. iText module is broken and only brings additional
+# dependencies. Besides that upstream admits that iText support will
+# likely removed in future versions of Doxia. In Fedora we remove
+# iText backend sooner in order to fix dependency problems.
+#
+# See also: http://maven.apache.org/doxia/faq.html#How_to_export_in_PDF
+# http://lists.fedoraproject.org/pipermail/java-devel/2013-April/004742.html
+rm -rf $(find -type d -name itext)
+%pom_remove_dep :itext doxia-doc-renderer
+%pom_remove_dep :doxia-module-itext doxia-doc-renderer
+
%build
# tests can't run because of missing deps
%mvn_build -f
@@ -131,6 +142,9 @@ API documentation for %{name}.
%files javadoc -f .mfiles-javadoc
%changelog
+* Tue Apr 9 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3-3
+- Remove iText PDF backend
+
* Tue Apr 09 2013 Michal Srb <msrb@redhat.com>
- Remove dependency on velocity-tools
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-14 17:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-14 17:19 [rpms/maven-doxia-sitetools] epel10: Remove iText PDF backend Mikolaj Izdebski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox