public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/maven-doxia] epel10: Version 1.12.0
@ 2026-10-19 14:55 Jerry James
0 siblings, 0 replies; only message in thread
From: Jerry James @ 2026-10-19 14:55 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/maven-doxia
Branch : epel10
Commit : d9d1e50c62ddbe13ef31d54890e5b868b94a61e9
Author : Jerry James <loganjerry@gmail.com>
Date : 2023-06-10T20:48:32-06:00
Stats : +203/-200 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/maven-doxia/c/d9d1e50c62ddbe13ef31d54890e5b868b94a61e9?branch=epel10
Log:
Version 1.12.0
---
diff --git a/0001-Fix-itext-dependency.patch b/0001-Fix-itext-dependency.patch
index be98a2d..4fc8b61 100644
--- a/0001-Fix-itext-dependency.patch
+++ b/0001-Fix-itext-dependency.patch
@@ -16,227 +16,227 @@ index 94f94f3..8293f04 100644
--- a/doxia-modules/doxia-module-itext/pom.xml
+++ b/doxia-modules/doxia-module-itext/pom.xml
@@ -58,7 +58,7 @@ under the License.
- <dependency>
- <groupId>com.lowagie</groupId>
- <artifactId>itext</artifactId>
-- <version>1.4</version>
-+ <version>2.1.7</version>
- </dependency>
- </dependencies>
-
+ <dependency>
+ <groupId>com.lowagie</groupId>
+ <artifactId>itext</artifactId>
+- <version>1.4</version>
++ <version>2.1.7</version>
+ </dependency>
+ </dependencies>
+
diff --git a/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextFont.java b/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextFont.java
index 2cc8ef1..5dfc882 100644
--- a/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextFont.java
+++ b/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextFont.java
@@ -24,7 +24,7 @@ import java.awt.Color;
- import com.lowagie.text.ExceptionConverter;
- import com.lowagie.text.Font;
- import com.lowagie.text.FontFactory;
--import com.lowagie.text.markup.MarkupTags;
-+import com.lowagie.text.markup.html.Markup;
- import com.lowagie.text.pdf.BaseFont;
-
- /**
+ import com.lowagie.text.ExceptionConverter;
+ import com.lowagie.text.Font;
+ import com.lowagie.text.FontFactory;
+-import com.lowagie.text.markup.MarkupTags;
++import com.lowagie.text.markup.html.Markup;
+ import com.lowagie.text.pdf.BaseFont;
+
+ /**
@@ -36,16 +36,16 @@ import com.lowagie.text.pdf.BaseFont;
- public class ITextFont
- {
- /** A normal font style */
-- public static final String NORMAL = MarkupTags.CSS_VALUE_NORMAL;
-+ public static final String NORMAL = Markup.CSS_VALUE_NORMAL;
-
- /** A bold font style */
-- public static final String BOLD = MarkupTags.CSS_VALUE_BOLD;
-+ public static final String BOLD = Markup.CSS_VALUE_BOLD;
-
- /** A italic font style */
-- public static final String ITALIC = MarkupTags.CSS_VALUE_ITALIC;
-+ public static final String ITALIC = Markup.CSS_VALUE_ITALIC;
-
- /** An underline font style */
-- public static final String UNDERLINE = MarkupTags.CSS_VALUE_UNDERLINE;
-+ public static final String UNDERLINE = Markup.CSS_VALUE_UNDERLINE;
-
- /** A default font name */
- public static final String DEFAULT_FONT_NAME = FontFactory.HELVETICA;
+ public class ITextFont
+ {
+ /** A normal font style */
+- public static final String NORMAL = MarkupTags.CSS_VALUE_NORMAL;
++ public static final String NORMAL = Markup.CSS_VALUE_NORMAL;
+
+ /** A bold font style */
+- public static final String BOLD = MarkupTags.CSS_VALUE_BOLD;
++ public static final String BOLD = Markup.CSS_VALUE_BOLD;
+
+ /** A italic font style */
+- public static final String ITALIC = MarkupTags.CSS_VALUE_ITALIC;
++ public static final String ITALIC = Markup.CSS_VALUE_ITALIC;
+
+ /** An underline font style */
+- public static final String UNDERLINE = MarkupTags.CSS_VALUE_UNDERLINE;
++ public static final String UNDERLINE = Markup.CSS_VALUE_UNDERLINE;
+
+ /** A default font name */
+ public static final String DEFAULT_FONT_NAME = FontFactory.HELVETICA;
@@ -260,7 +260,7 @@ public class ITextFont
- {
- Font font = getCurrentFont();
-
-- return String.valueOf( font.color().getBlue() );
-+ return String.valueOf( font.getColor().getBlue() );
- }
-
- /**
+ {
+ Font font = getCurrentFont();
+
+- return String.valueOf( font.color().getBlue() );
++ return String.valueOf( font.getColor().getBlue() );
+ }
+
+ /**
@@ -272,7 +272,7 @@ public class ITextFont
- {
- Font font = getCurrentFont();
-
-- return String.valueOf( font.color().getGreen() );
-+ return String.valueOf( font.getColor().getGreen() );
- }
-
- /**
+ {
+ Font font = getCurrentFont();
+
+- return String.valueOf( font.color().getGreen() );
++ return String.valueOf( font.getColor().getGreen() );
+ }
+
+ /**
@@ -284,7 +284,7 @@ public class ITextFont
- {
- Font font = getCurrentFont();
-
-- return String.valueOf( font.color().getRed() );
-+ return String.valueOf( font.getColor().getRed() );
- }
-
- /**
+ {
+ Font font = getCurrentFont();
+
+- return String.valueOf( font.color().getRed() );
++ return String.valueOf( font.getColor().getRed() );
+ }
+
+ /**
diff --git a/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextSink.java b/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextSink.java
index 2847413..c85f81f 100644
--- a/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextSink.java
+++ b/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextSink.java
@@ -1372,9 +1372,9 @@ public class ITextSink
- try
- {
- Image image = Image.getInstance( new URL( urlName ) );
-- image.scaleToFit( ITextUtil.getDefaultPageSize().width() / 2, ITextUtil.getDefaultPageSize().height() / 2 );
-- width = image.plainWidth();
-- height = image.plainHeight();
-+ image.scaleToFit( ITextUtil.getDefaultPageSize().getWidth() / 2, ITextUtil.getDefaultPageSize().getHeight() / 2 );
-+ width = image.getPlainWidth();
-+ height = image.getPlainHeight();
- }
- catch ( BadElementException e )
- {
+ try
+ {
+ Image image = Image.getInstance( new URL( urlName ) );
+- image.scaleToFit( ITextUtil.getDefaultPageSize().width() / 2, ITextUtil.getDefaultPageSize().height() / 2 );
+- width = image.plainWidth();
+- height = image.plainHeight();
++ image.scaleToFit( ITextUtil.getDefaultPageSize().getWidth() / 2, ITextUtil.getDefaultPageSize().getHeight() / 2 );
++ width = image.getPlainWidth();
++ height = image.getPlainHeight();
+ }
+ catch ( BadElementException e )
+ {
diff --git a/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextUtil.java b/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextUtil.java
index 4363413..141646c 100644
--- a/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextUtil.java
+++ b/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextUtil.java
@@ -22,9 +22,6 @@ package org.apache.maven.doxia.module.it
- import com.lowagie.text.DocumentException;
- import com.lowagie.text.PageSize;
- import com.lowagie.text.Rectangle;
--import com.lowagie.text.xml.XmlToHtml;
--import com.lowagie.text.xml.XmlToPdf;
--import com.lowagie.text.xml.XmlToRtf;
-
- import java.io.InputStream;
- import java.io.OutputStream;
+ import com.lowagie.text.DocumentException;
+ import com.lowagie.text.PageSize;
+ import com.lowagie.text.Rectangle;
+-import com.lowagie.text.xml.XmlToHtml;
+-import com.lowagie.text.xml.XmlToPdf;
+-import com.lowagie.text.xml.XmlToRtf;
+
+ import java.io.InputStream;
+ import java.io.OutputStream;
@@ -75,7 +72,7 @@ public class ITextUtil
- if ( currentField.getType().equals( Rectangle.class ) )
- {
- Rectangle fPageSize = (Rectangle) currentField.get( null );
-- if ( ( rect.width() == fPageSize.width() ) && ( rect.height() == fPageSize.height() ) )
-+ if ( ( rect.getWidth() == fPageSize.getWidth() ) && ( rect.getHeight() == fPageSize.getHeight() ) )
- {
- return currentField.getName();
- }
+ if ( currentField.getType().equals( Rectangle.class ) )
+ {
+ Rectangle fPageSize = (Rectangle) currentField.get( null );
+- if ( ( rect.width() == fPageSize.width() ) && ( rect.height() == fPageSize.height() ) )
++ if ( ( rect.getWidth() == fPageSize.getWidth() ) && ( rect.getHeight() == fPageSize.getHeight() ) )
+ {
+ return currentField.getName();
+ }
@@ -111,68 +108,4 @@ public class ITextUtil
-
- return false;
- }
--
-- /**
-- * Parse an iText XML from the specified <CODE>InputStream</CODE>, writing an Pdf document
-- * specified <CODE>OutputStream</CODE>.
-- *
-- * @param is the <CODE>InputStream</CODE> from which the XML is read.
-- * @param os the <CODE>OutputStream</CODE> to which the result as Pdf is written.
-- * @see com.lowagie.text.xml.XmlToPdf
-- */
-- public static void writePdf( InputStream is, OutputStream os )
-- {
-- try
-- {
-- XmlToPdf x = new XmlToPdf();
--
-- x.parse( is, os );
-- }
-- catch ( DocumentException e )
-- {
-- throw new RuntimeException( "DocumentException : " + e.getMessage(), e );
-- }
-- }
--
-- /**
-- * Parse an iText XML from the specified <CODE>InputStream</CODE>, writing an rtf document
-- * specified <CODE>OutputStream</CODE>.
-- *
-- * @param is the <CODE>InputStream</CODE> from which the XML is read.
-- * @param os the <CODE>OutputStream</CODE> to which the result as RTF is written.
-- * @see com.lowagie.text.xml.XmlToRtf
-- */
-- public static void writeRtf( InputStream is, OutputStream os )
-- {
-- try
-- {
-- XmlToRtf x = new XmlToRtf();
-- x.parse( is, os );
-- }
-- catch ( DocumentException e )
-- {
-- throw new RuntimeException( "DocumentException : " + e.getMessage(), e );
-- }
-- }
--
-- /**
-- * Parse an iText XML from the specified <CODE>InputStream</CODE>, writing an html document
-- * specified <CODE>OutputStream</CODE>.
-- *
-- * @param is the <CODE>InputStream</CODE> from which the XML is read.
-- * @param os the <CODE>OutputStream</CODE> to which the result as Html is written.
-- * @see com.lowagie.text.xml.XmlToHtml
-- */
-- public static void writeHtml( InputStream is, OutputStream os )
-- {
-- try
-- {
-- XmlToHtml x = new XmlToHtml();
-- x.parse( is, os );
-- }
-- catch ( DocumentException e )
-- {
-- throw new RuntimeException( "DocumentException : " + e.getMessage(), e );
-- }
-- }
- }
+
+ return false;
+ }
+-
+- /**
+- * Parse an iText XML from the specified <CODE>InputStream</CODE>, writing an Pdf document
+- * specified <CODE>OutputStream</CODE>.
+- *
+- * @param is the <CODE>InputStream</CODE> from which the XML is read.
+- * @param os the <CODE>OutputStream</CODE> to which the result as Pdf is written.
+- * @see com.lowagie.text.xml.XmlToPdf
+- */
+- public static void writePdf( InputStream is, OutputStream os )
+- {
+- try
+- {
+- XmlToPdf x = new XmlToPdf();
+-
+- x.parse( is, os );
+- }
+- catch ( DocumentException e )
+- {
+- throw new RuntimeException( "DocumentException : " + e.getMessage(), e );
+- }
+- }
+-
+- /**
+- * Parse an iText XML from the specified <CODE>InputStream</CODE>, writing an rtf document
+- * specified <CODE>OutputStream</CODE>.
+- *
+- * @param is the <CODE>InputStream</CODE> from which the XML is read.
+- * @param os the <CODE>OutputStream</CODE> to which the result as RTF is written.
+- * @see com.lowagie.text.xml.XmlToRtf
+- */
+- public static void writeRtf( InputStream is, OutputStream os )
+- {
+- try
+- {
+- XmlToRtf x = new XmlToRtf();
+- x.parse( is, os );
+- }
+- catch ( DocumentException e )
+- {
+- throw new RuntimeException( "DocumentException : " + e.getMessage(), e );
+- }
+- }
+-
+- /**
+- * Parse an iText XML from the specified <CODE>InputStream</CODE>, writing an html document
+- * specified <CODE>OutputStream</CODE>.
+- *
+- * @param is the <CODE>InputStream</CODE> from which the XML is read.
+- * @param os the <CODE>OutputStream</CODE> to which the result as Html is written.
+- * @see com.lowagie.text.xml.XmlToHtml
+- */
+- public static void writeHtml( InputStream is, OutputStream os )
+- {
+- try
+- {
+- XmlToHtml x = new XmlToHtml();
+- x.parse( is, os );
+- }
+- catch ( DocumentException e )
+- {
+- throw new RuntimeException( "DocumentException : " + e.getMessage(), e );
+- }
+- }
+ }
diff --git a/doxia-modules/doxia-module-itext/src/test/java/org/apache/maven/doxia/module/itext/ITextSinkTestCase.java b/doxia-modules/doxia-module-itext/src/test/java/org/apache/maven/doxia/module/itext/ITextSinkTestCase.java
index 6bcd2be..a9674a0 100644
--- a/doxia-modules/doxia-module-itext/src/test/java/org/apache/maven/doxia/module/itext/ITextSinkTestCase.java
+++ b/doxia-modules/doxia-module-itext/src/test/java/org/apache/maven/doxia/module/itext/ITextSinkTestCase.java
@@ -80,20 +80,6 @@ public class ITextSinkTestCase
- }
-
- /**
-- * Test PDF generation
-- *
-- * @throws Exception
-- */
-- public void testGeneratingPDFFromITextXml()
-- throws Exception
-- {
-- File f = new File( getBasedir(), "src/test/resources/itext/itext.xml" );
--
-- ITextUtil.writePdf( new FileInputStream( f ),
-- new FileOutputStream( getGeneratedFile( "test_itext", "pdf" ) ) );
-- }
--
-- /**
- * Generate a pdf and a rtf from the standart test model.
- *
- * @throws Exception if any
+ }
+
+ /**
+- * Test PDF generation
+- *
+- * @throws Exception
+- */
+- public void testGeneratingPDFFromITextXml()
+- throws Exception
+- {
+- File f = new File( getBasedir(), "src/test/resources/itext/itext.xml" );
+-
+- ITextUtil.writePdf( new FileInputStream( f ),
+- new FileOutputStream( getGeneratedFile( "test_itext", "pdf" ) ) );
+- }
+-
+- /**
+ * Generate a pdf and a rtf from the standart test model.
+ *
+ * @throws Exception if any
@@ -106,11 +92,6 @@ public class ITextSinkTestCase
- SinkTestDocument.generate( sink );
-
- sink.close();
--
-- ITextUtil.writePdf( new FileInputStream( getGeneratedFile( "test_model", "xml" ) ),
-- new FileOutputStream( getGeneratedFile( "test_model", "pdf" ) ) );
-- ITextUtil.writeRtf( new FileInputStream( getGeneratedFile( "test_model", "xml" ) ),
-- new FileOutputStream( getGeneratedFile( "test_model", "rtf" ) ) );
- }
-
- /**
+ SinkTestDocument.generate( sink );
+
+ sink.close();
+-
+- ITextUtil.writePdf( new FileInputStream( getGeneratedFile( "test_model", "xml" ) ),
+- new FileOutputStream( getGeneratedFile( "test_model", "pdf" ) ) );
+- ITextUtil.writeRtf( new FileInputStream( getGeneratedFile( "test_model", "xml" ) ),
+- new FileOutputStream( getGeneratedFile( "test_model", "rtf" ) ) );
+ }
+
+ /**
@@ -147,8 +128,5 @@ public class ITextSinkTestCase
-
- sink.flush();
- sink.close();
--
-- ITextUtil.writePdf( new FileInputStream( getGeneratedFile( "empty_anchor", "xml" ) ),
-- new FileOutputStream( getGeneratedFile( "empty_anchor", "pdf" ) ) );
- }
- }
+
+ sink.flush();
+ sink.close();
+-
+- ITextUtil.writePdf( new FileInputStream( getGeneratedFile( "empty_anchor", "xml" ) ),
+- new FileOutputStream( getGeneratedFile( "empty_anchor", "pdf" ) ) );
+ }
+ }
diff --git a/maven-doxia.spec b/maven-doxia.spec
index befd335..5c77f15 100644
--- a/maven-doxia.spec
+++ b/maven-doxia.spec
@@ -3,8 +3,8 @@
Name: maven-doxia
Epoch: 0
-Version: 1.11.1
-Release: 4%{?dist}
+Version: 1.12.0
+Release: 1%{?dist}
Summary: Content generation framework
License: Apache-2.0
@@ -243,6 +243,9 @@ rm doxia-core/src/test/java/org/apache/maven/doxia/util/XmlValidatorTest.java
%license LICENSE NOTICE
%changelog
+* Sat Jun 10 2023 Jerry James <loganjerry@gmail.com> - 0:1.12.0-1
+- Version 1.12.0
+
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.11.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
diff --git a/sources b/sources
index e5a0d69..cd0b73a 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (doxia-1.11.1-source-release.zip) = fecf072a33460d8a52dd91738b6291f055191407f57b1df8b4002e0fe4cd6cce50ae9da4bf88edb89aaa14a757fbf576d0504ff6d07556a1b6c5034b45b13f02
-SHA512 (doxia-1.11.1-source-release.zip.asc) = 268769c377bfa29d25ee719c6ed68e8b733beb42eff465589e38ca497616b91103ad699bd36fd3356095d223eb5d3f7557ebd4ce70b8321f932a1df913609a61
+SHA512 (doxia-1.12.0-source-release.zip) = 14b27a8074aa77635fda38fbd419c57533337d5578978b67f3d02997419e53b73148fd080fa7b25957c74906608219bf8f887c9e832f86c75b9eae9e575d3160
+SHA512 (doxia-1.12.0-source-release.zip.asc) = 2827f65af1f27fc4cb5f1ac0978c5e199c017e5ed1a721bae0e902e75f14373eae738c143204edc558e886085c0e43a12c43f57a2aab707ecb3dc731c55b0cf1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-19 14:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-19 14:55 [rpms/maven-doxia] epel10: Version 1.12.0 Jerry James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox