public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Andrew Overholt <overholt@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/maven-doxia] epel10: Add missing patch
Date: Mon, 19 Oct 2026 14:54:56 GMT	[thread overview]
Message-ID: <179242169673.1.13312872076305300921.rpms-maven-doxia-79f36f06ff6e@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/maven-doxia
Branch : epel10
Commit : 79f36f06ff6e32114b52770b94f84279353edbae
Author : Andrew Overholt <overholt@fedoraproject.org>
Date   : 2009-08-31T19:40:43+00:00
Stats  : +63/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/maven-doxia/c/79f36f06ff6e32114b52770b94f84279353edbae?branch=epel10

Log:
Add missing patch

---
diff --git a/maven-doxia-itext2.patch b/maven-doxia-itext2.patch
new file mode 100644
index 0000000..5d6f54d
--- /dev/null
+++ b/maven-doxia-itext2.patch
@@ -0,0 +1,63 @@
+### Eclipse Workspace Patch 1.0
+#P maven-doxia
+Index: doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextUtil.java
+===================================================================
+--- doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextUtil.java	(revision 808629)
++++ doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextUtil.java	(working copy)
+@@ -68,7 +68,7 @@
+      */
+     public static String getPageSize( Rectangle rect )
+     {
+-        if ( ( rect.width() == PageSize.LETTER.width() ) && ( rect.height() == PageSize.LETTER.height() ) )
++        if ( ( rect.getWidth() == PageSize.LETTER.getWidth() ) && ( rect.getHeight() == PageSize.LETTER.getHeight() ) )
+         {
+             return "LETTER";
+         }
+Index: doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextSink.java
+===================================================================
+--- doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextSink.java	(revision 808629)
++++ doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextSink.java	(working copy)
+@@ -1172,9 +1172,9 @@
+         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.getHeight();
+         }
+         catch ( BadElementException e )
+         {
+Index: doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextFont.java
+===================================================================
+--- doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextFont.java	(revision 808629)
++++ doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextFont.java	(working copy)
+@@ -258,7 +258,7 @@
+     {
+         Font font = getCurrentFont();
+ 
+-        return String.valueOf( font.color().getBlue() );
++        return String.valueOf( font.getColor().getBlue() );
+     }
+ 
+     /**
+@@ -270,7 +270,7 @@
+     {
+         Font font = getCurrentFont();
+ 
+-        return String.valueOf( font.color().getGreen() );
++        return String.valueOf( font.getColor().getGreen() );
+     }
+ 
+     /**
+@@ -282,7 +282,7 @@
+     {
+         Font font = getCurrentFont();
+ 
+-        return String.valueOf( font.color().getRed() );
++        return String.valueOf( font.getColor().getRed() );
+     }
+ 
+     /**

                 reply	other threads:[~2026-10-19 14:54 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=179242169673.1.13312872076305300921.rpms-maven-doxia-79f36f06ff6e@fedoraproject.org \
    --to=overholt@fedoraproject.org \
    --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