[med-svn] [Git][med-team/rdp-classifier][master] 6 commits: Rewriting d/watch with version 5
Pierre Gruet (@pgt)
gitlab at salsa.debian.org
Sun Dec 7 23:04:56 GMT 2025
Pierre Gruet pushed to branch master at Debian Med / rdp-classifier
Commits:
89918c26 by Pierre Gruet at 2025-12-07T23:38:11+01:00
Rewriting d/watch with version 5
- - - - -
3df48f32 by Pierre Gruet at 2025-12-07T23:41:30+01:00
Raising Standards version to 4.7.2 (no change)
- - - - -
04070b6d by Pierre Gruet at 2025-12-07T23:45:17+01:00
Fixing build failure after API changes in libjfreechart-java
- - - - -
5e1cdb1e by Pierre Gruet at 2025-12-07T23:49:00+01:00
Fixing bug number in header of the new patch
- - - - -
21866148 by Pierre Gruet at 2025-12-07T23:49:31+01:00
Updating changelog
- - - - -
774a8afc by Pierre Gruet at 2025-12-07T23:50:03+01:00
Upload to unstable
- - - - -
5 changed files:
- debian/changelog
- debian/control
- + debian/patches/libjfreechart-1.5.patch
- debian/patches/series
- debian/watch
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,13 @@
+rdp-classifier (2.10.2-8) unstable; urgency=medium
+
+ * Team upload.
+ * Fixing build failure after API changes in libjfreechart-java
+ (Closes: #1099282)
+ * Raising Standards version to 4.7.2 (no change)
+ * Rewriting d/watch with version 5
+
+ -- Pierre Gruet <pgt at debian.org> Sun, 07 Dec 2025 23:49:56 +0100
+
rdp-classifier (2.10.2-7) unstable; urgency=medium
* Fix typo in links
=====================================
debian/control
=====================================
@@ -17,7 +17,7 @@ Build-Depends: debhelper-compat (= 13),
ant,
ant-optional,
ant-contrib
-Standards-Version: 4.6.2
+Standards-Version: 4.7.2
Vcs-Browser: https://salsa.debian.org/med-team/rdp-classifier
Vcs-Git: https://salsa.debian.org/med-team/rdp-classifier.git
Homepage: https://github.com/rdpstaff/classifier
=====================================
debian/patches/libjfreechart-1.5.patch
=====================================
@@ -0,0 +1,64 @@
+Description: libjfreechart-java 1.5.x introduced breaking API changes
+Author: Pierre Gruet <pgt at debian.org>
+Bug-Debian: https://bugs.debian.org/1099282
+Forwarded: no
+Last-Update: 2025-12-07
+
+--- a/src/edu/msu/cme/rdp/classifier/train/validation/distance/BoxPlotUtils.java
++++ b/src/edu/msu/cme/rdp/classifier/train/validation/distance/BoxPlotUtils.java
+@@ -25,7 +25,7 @@
+ import java.io.IOException;
+ import java.io.PrintStream;
+ import java.util.ArrayList;
+-import org.jfree.chart.ChartUtilities;
++import org.jfree.chart.ChartUtils;
+ import org.jfree.chart.JFreeChart;
+ import org.jfree.chart.axis.CategoryAxis;
+ import org.jfree.chart.axis.NumberAxis;
+@@ -93,14 +93,14 @@
+
+ BoxAndWhiskerRenderer renderer = new BoxAndWhiskerRenderer();
+ renderer.setFillBox(true);
+- renderer.setBaseLegendTextFont(lableFont);
+- renderer.setStroke(new BasicStroke( 5.0f ));
++ renderer.setDefaultLegendTextFont(lableFont);
++ renderer.setDefaultStroke(new BasicStroke( 5.0f ));
+
+ CategoryPlot plot = new CategoryPlot(scatterDataset, xAxis, yAxis, renderer);
+ JFreeChart boxchart = new JFreeChart(title, new Font("Helvetica", Font.BOLD, 40), plot, true);
+
+ // higher scale factor gives higher resolution
+- ChartUtilities.writeScaledChartAsPNG(outStream, boxchart, 800, 1000, 3, 3);
++ ChartUtils.writeScaledChartAsPNG(outStream, boxchart, 800, 1000, 3, 3);
+ }
+
+ public static void main(String[] args) throws IOException{
+--- a/src/edu/msu/cme/rdp/classifier/train/validation/distance/TaxaSimilarityMain.java
++++ b/src/edu/msu/cme/rdp/classifier/train/validation/distance/TaxaSimilarityMain.java
+@@ -45,7 +45,7 @@
+ import java.util.List;
+ import java.util.TreeSet;
+ import org.jfree.chart.ChartFactory;
+-import org.jfree.chart.ChartUtilities;
++import org.jfree.chart.ChartUtils;
+ import org.jfree.chart.JFreeChart;
+ import org.jfree.chart.axis.NumberAxis;
+ import org.jfree.chart.axis.NumberTickUnit;
+@@ -322,7 +322,7 @@
+ Font lableFont = new Font("Helvetica", Font.BOLD, 28);
+
+ JFreeChart chart = ChartFactory.createXYLineChart(plotTitle, "Similarity%", "Percent Comparisions", dataset, PlotOrientation.VERTICAL, true, true, false );
+- ((XYPlot) chart.getPlot()).getRenderer().setStroke( new BasicStroke( 2.0f ));
++ ((XYPlot) chart.getPlot()).getRenderer().setDefaultStroke( new BasicStroke( 2.0f ));
+ chart.getLegend().setItemFont(new Font("Helvetica", Font.BOLD, 24));
+ chart.getTitle().setFont(lableFont);
+ ((XYPlot) chart.getPlot()).getDomainAxis().setLabelFont(lableFont);
+@@ -332,7 +332,7 @@
+ rangeAxis.setTickLabelFont(lableFont);
+ rangeAxis.setLabelFont(lableFont);
+ ((NumberAxis)rangeAxis).setTickUnit(new NumberTickUnit(5));
+- ChartUtilities.writeScaledChartAsPNG(new PrintStream(new File(outdir, plotTitle + ".linechart.png")), chart, 800, 1000, 3, 3);
++ ChartUtils.writeScaledChartAsPNG(new PrintStream(new File(outdir, plotTitle + ".linechart.png")), chart, 800, 1000, 3, 3);
+
+ BoxPlotUtils.createBoxplot(scatterDataset, new PrintStream(new File(outdir, plotTitle + ".boxchart.png")), plotTitle, "Rank", "Similarity%", lableFont);
+
=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
fix_java9_compilation.patch
+libjfreechart-1.5.patch
=====================================
debian/watch
=====================================
@@ -1,2 +1,4 @@
-version=4
-https://github.com/rdpstaff/classifier/tags (?:.*?/)?v?(\d[\d.]*)\.tar\.gz
+Version: 5
+
+Source: https://github.com/rdpstaff/classifier/tags
+Matching-Pattern: (?:.*?/)?v?(\d[\d.]*)\.tar\.gz
View it on GitLab: https://salsa.debian.org/med-team/rdp-classifier/-/compare/6a84c1c27d8325be592fd42f7bf708e26bdfbdbd...774a8afc9dc7f72a39bc0ccccd704b77cfa46def
--
View it on GitLab: https://salsa.debian.org/med-team/rdp-classifier/-/compare/6a84c1c27d8325be592fd42f7bf708e26bdfbdbd...774a8afc9dc7f72a39bc0ccccd704b77cfa46def
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20251207/8470f843/attachment-0001.htm>
More information about the debian-med-commit
mailing list