Julien Plissonneau Duquène pushed to branch master at Debian Java Maintainers / cronometer
Commits: a8a7ab38 by Julien Plissonneau Duquène at 2025-03-29T20:10:02+00:00 Upload to unstable Signed-off-by: Julien Plissonneau Duquène <[email protected]> - - - - - 5bcbf01c by Julien Plissonneau Duquène at 2025-03-29T20:24:47+00:00 Fix jfreechart 1.5 compatibility patch Signed-off-by: Julien Plissonneau Duquène <[email protected]> - - - - - 2 changed files: - debian/changelog - debian/patches/08_jfreechart_1_5_compatibility.diff Changes: ===================================== debian/changelog ===================================== @@ -1,10 +1,11 @@ -cronometer (0.9.9+dfsg1-2) UNRELEASED; urgency=medium +cronometer (0.9.9+dfsg1-2) unstable; urgency=medium + * Team upload. * Add a patch to use the newer jfreechart API. (Closes: #1099222) * Raise source level to 1.8 (minimum still supported by the default JDK 21). * Promote Standard-Version to 4.7.2 with no change. - -- Julien Plissonneau Duquène <[email protected]> Sat, 29 Mar 2025 18:45:16 +0000 + -- Julien Plissonneau Duquène <[email protected]> Sat, 29 Mar 2025 20:08:09 +0000 cronometer (0.9.9+dfsg1-1) unstable; urgency=medium ===================================== debian/patches/08_jfreechart_1_5_compatibility.diff ===================================== @@ -67,3 +67,23 @@ Some renaming and removals occured with newer releases of jfreechart. } DateAxis axis = (DateAxis) plot.getDomainAxis(); +--- a/src/ca/spaz/cron/metrics/MetricEditorOld.java ++++ b/src/ca/spaz/cron/metrics/MetricEditorOld.java +@@ -8,7 +8,7 @@ + + import javax.swing.*; + +-import org.jfree.ui.RefineryUtilities; ++import org.jfree.chart.ui.UIUtils; + + import ca.spaz.cron.CRONOMETER; + import ca.spaz.cron.user.UserManager; +@@ -102,7 +102,7 @@ + chart.setBiomarker(biomarker); + chart.pack(); + chart.setIconImage(CRONOMETER.getWindowIcon()); +- RefineryUtilities.centerFrameOnScreen(chart); ++ UIUtils.centerFrameOnScreen(chart); + chart.setVisible(true); + } catch (Exception e) { + ErrorReporter.showError(e, this); View it on GitLab: https://salsa.debian.org/java-team/cronometer/-/compare/73cecc7b001a9f034ba4e3c3e28cb9bf03b1a310...5bcbf01c7f9672994c5ffaa07e6f4053cc354e47 -- View it on GitLab: https://salsa.debian.org/java-team/cronometer/-/compare/73cecc7b001a9f034ba4e3c3e28cb9bf03b1a310...5bcbf01c7f9672994c5ffaa07e6f4053cc354e47 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ pkg-java-commits mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-commits

