public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mikolaj Izdebski <mizdebsk@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/maven-doxia-sitetools] epel10: Remove iText PDF backend
Date: Sat, 14 Nov 2026 17:19:01 GMT	[thread overview]
Message-ID: <179467674172.1.1564642167353995416.rpms-maven-doxia-sitetools-86d97e1764f6@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-11-14 17:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179467674172.1.1564642167353995416.rpms-maven-doxia-sitetools-86d97e1764f6@fedoraproject.org \
    --to=mizdebsk@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox