[Git][java-team/latexdraw][master] 9 commits: New upstream version 3.3.9

Emmanuel Bourg (@ebourg) gitlab at salsa.debian.org
Tue Oct 20 17:31:54 BST 2026



Emmanuel Bourg pushed to branch master at Debian Java Maintainers / latexdraw


Commits:
db026f43 by Emmanuel Bourg at 2026-10-20T18:04:16+02:00
New upstream version 3.3.9
- - - - -
ba6e4758 by Emmanuel Bourg at 2026-10-20T18:19:34+02:00
Sort the source files passed to scalac to make the build reproducible

- - - - -
17ad2384 by Emmanuel Bourg at 2026-10-20T18:19:34+02:00
Standards-Version updated to 4.7.4

- - - - -
617ac9c4 by Emmanuel Bourg at 2026-10-20T18:19:34+02:00
Removed the Priority field

- - - - -
957c51c7 by Emmanuel Bourg at 2026-10-20T18:19:34+02:00
Converted debian/watch to the version 5 format

- - - - -
8ef4cc52 by Emmanuel Bourg at 2026-10-20T18:19:34+02:00
Updated the Source field in debian/copyright

- - - - -
bc186264 by Marriott NZ at 2026-10-20T18:19:34+02:00
Removed the quotes around the %s placeholders in the mailcap entries (Closes: #985601)

- - - - -
b0252764 by Emmanuel Bourg at 2026-10-20T18:19:34+02:00
Update upstream source from tag 'upstream/3.3.9'

Update to upstream version '3.3.9'
with Debian dir f393f331cec7b9e3061d8469f93a2f5939f62a35
- - - - -
a31dd87b by Emmanuel Bourg at 2026-10-20T18:31:00+02:00
New upstream release (3.3.9)

- - - - -


17 changed files:

- debian/changelog
- debian/control
- debian/copyright
- debian/latexdraw.mime
- debian/rules
- debian/watch
- latexdraw-core/net.sf.latexdraw.bundle/pom.xml
- latexdraw-core/net.sf.latexdraw.installer/pom.xml
- latexdraw-core/net.sf.latexdraw/history.txt
- latexdraw-core/net.sf.latexdraw/pom.xml
- latexdraw-core/net.sf.latexdraw/release_note.txt
- latexdraw-core/net.sf.latexdraw/src/main/net/sf/latexdraw/LaTeXDraw.scala
- latexdraw-core/net.sf.latexdraw/src/main/net/sf/latexdraw/glib/ui/LCanvas.java
- latexdraw-core/net.sf.latexdraw/src/main/net/sf/latexdraw/ui/LFrame.java
- latexdraw-core/net.sf.latexdraw/src/main/net/sf/latexdraw/ui/UIBuilder.java
- latexdraw-core/net.sf.latexdraw/src/main/net/sf/latexdraw/util/VersionChecker.java
- latexdraw-core/net.sf.latexdraw/src/resources/main/res/release_note.txt


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,21 @@
+latexdraw (3.3.9-1) unstable; urgency=medium
+
+  * Team upload.
+
+  [ Emmanuel Bourg ]
+  * New upstream release
+  * Sort the source files passed to scalac to make the build reproducible
+  * Standards-Version updated to 4.7.4
+  * Removed the Priority field
+  * Converted debian/watch to the version 5 format
+  * Updated the Source field in debian/copyright
+
+  [ Marriott NZ ]
+  * Removed the quotes around the %s placeholders in the mailcap entries
+    (Closes: #985601)
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Tue, 20 Oct 2026 18:30:51 +0200
+
 latexdraw (3.3.8+ds1-2) unstable; urgency=medium
 
   [ Debian Janitor ]


=====================================
debian/control
=====================================
@@ -1,6 +1,5 @@
 Source: latexdraw
 Section: graphics
-Priority: optional
 Maintainer: Stuart Prescott <stuart at debian.org>
 Uploaders: Debian Java maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Build-Depends:
@@ -13,7 +12,7 @@ Build-Depends-Indep:
  libmalai-java,
  scala,
  junit4,
-Standards-Version: 4.1.2
+Standards-Version: 4.7.4
 Homepage: https://latexdraw.sourceforge.net/
 Vcs-Git: https://salsa.debian.org/java-team/latexdraw.git
 Vcs-Browser: https://salsa.debian.org/java-team/latexdraw


=====================================
debian/copyright
=====================================
@@ -1,7 +1,7 @@
 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: LaTeXDraw
 Upstream-Contact: Arnaud BLOUIN <arno.b.dev at gmail.com>
-Source: https://github.com/arnobl/latexdraw/
+Source: https://github.com/latexdraw/latexdraw
 Files-Excluded:
     latexdraw-utils
     latexdraw-web


=====================================
debian/latexdraw.mime
=====================================
@@ -1,2 +1,2 @@
-application/x-latexdraw-project; latexdraw %s; description="LaTeXDraw project"; nametemplate=%s.ldp; test=test -n "$DISPLAY" ; edit=latexdraw %s; compose=latexdraw '%s'
-image/svg+xml; latexdraw '%s'; description="Scalable Vector Graphics"; nametemplate=%s.svg; test=test -n "$DISPLAY"; edit=latexdraw '%s'; compose=latexdraw '%s'
+application/x-latexdraw-project; latexdraw %s; description="LaTeXDraw project"; nametemplate=%s.ldp; test=test -n "$DISPLAY" ; edit=latexdraw %s; compose=latexdraw %s
+image/svg+xml; latexdraw %s; description="Scalable Vector Graphics"; nametemplate=%s.svg; test=test -n "$DISPLAY"; edit=latexdraw %s; compose=latexdraw %s


=====================================
debian/rules
=====================================
@@ -17,8 +17,8 @@ override_dh_auto_build:
 	/usr/share/java/pdfrenderer.jar \
 	  scalac \
 	    -d target/classes \
-	    `find -name \*.scala -type f` \
-	    `find -name \*.java -type f`
+	    `find -name \*.scala -type f | LC_ALL=C sort` \
+	    `find -name \*.java -type f | LC_ALL=C sort`
 	# Then get maven to build the java part
 	dh_auto_build
 


=====================================
debian/watch
=====================================
@@ -1,4 +1,6 @@
-version=3
-
-opts="dversionmangle=s/\+ds\d+$//,filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/latexdraw-$1\.tar\.gz/,repacksuffix=+ds1" \
-  https://github.com/arnobl/latexdraw/tags .*/v?(\d\S+)\.tar\.gz
+Version: 5
+Template: GitHub
+Owner: latexdraw
+Project: latexdraw
+Matching-Pattern: https://api.github.com/repos/[^/]+/[^/]+/git/refs/tags/([\d.]+)(?:(?=")|$)
+Dversion-Mangle: s/\+ds\d*$//


=====================================
latexdraw-core/net.sf.latexdraw.bundle/pom.xml
=====================================
@@ -5,7 +5,7 @@
     <groupId>net.sf.latexdraw</groupId>
     <artifactId>latexdraw.bundle</artifactId>
     <name>LaTeXDraw bundle</name>
-    <version>3.3.8</version>
+    <version>3.3.9</version>
     <packaging>pom</packaging>
 
     <properties>


=====================================
latexdraw-core/net.sf.latexdraw.installer/pom.xml
=====================================
@@ -5,7 +5,7 @@
     <groupId>net.sf.latexdraw</groupId>
     <artifactId>latexdraw.installer</artifactId>
     <name>LaTeXDraw installer</name>
-    <version>3.3.8</version>
+    <version>3.3.9</version>
     <build>
         <sourceDirectory>src/main/</sourceDirectory>
         <resources>


=====================================
latexdraw-core/net.sf.latexdraw/history.txt
=====================================
@@ -1,3 +1,13 @@
+************************************************************
+Version 3.3.9 -- 2019-05-11
+
+fixed: scroll did not work properly on MacOS thanks to a JDK issue
+
+************************************************************
+Version 3.3.8 -- 2017-12-03
+
+fixed: crash while saving an SVG document and running the app with Java 9
+
 ************************************************************
 Version 3.3.7 -- 2017-11-19
 


=====================================
latexdraw-core/net.sf.latexdraw/pom.xml
=====================================
@@ -5,7 +5,7 @@
   <groupId>net.sf.latexdraw</groupId>
   <artifactId>latexdraw.core</artifactId>
   <name>LaTeXDraw</name>
-  <version>3.3.8</version>
+  <version>3.3.9</version>
   <packaging>jar</packaging>
   
   	<properties>


=====================================
latexdraw-core/net.sf.latexdraw/release_note.txt
=====================================
@@ -1,4 +1,5 @@
 ************************************************************
-Version 3.3.8 -- 2017-12-03
+Version 3.3.9 -- 2019-05-11
+
+fixed: scroll did not work properly on MacOS thanks to a JDK issue
 
-fixed: crash while saving an SVG document and running the app with Java 9


=====================================
latexdraw-core/net.sf.latexdraw/src/main/net/sf/latexdraw/LaTeXDraw.scala
=====================================
@@ -123,9 +123,6 @@ object LaTeXDraw {
 	    	action.flush
     	}
 
-//		frame.getCanvas.getDrawing.addShape(ShapeFactory.createPlot(true, ShapeFactory.createPoint(100, 500), 0, 90, "x sin dup mul"))
-//		frame.getCanvas.getDrawing.addShape(ShapeFactory.createPlot(true, ShapeFactory.createPoint(100, 500), 10, 90, "x sin x 2 div 2 exp cos mul"))
-
       Preference.flushPreferencesCache
 
     	// Checking a new version if required.


=====================================
latexdraw-core/net.sf.latexdraw/src/main/net/sf/latexdraw/glib/ui/LCanvas.java
=====================================
@@ -1,5 +1,7 @@
 package net.sf.latexdraw.glib.ui;
 
+import java.awt.event.MouseWheelEvent;
+import java.awt.event.MouseWheelListener;
 import net.sf.latexdraw.glib.models.GLibUtilities;
 import net.sf.latexdraw.glib.models.ShapeFactory;
 import net.sf.latexdraw.glib.models.interfaces.shape.IDrawing;
@@ -20,6 +22,7 @@ import org.malai.picking.Pickable;
 import org.malai.picking.Picker;
 import org.malai.swing.action.library.MoveCamera;
 import org.malai.swing.widget.MPanel;
+import org.malai.swing.widget.MScrollPane;
 import org.malai.undo.Undoable;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
@@ -123,8 +126,8 @@ public class LCanvas extends MPanel implements ICanvas {
 	 * @since 3.0
 	 */
 	public LCanvas(final IDrawing theDrawing){
-		super(true, true);
-
+		super(false, true);
+		scrollpane = new MScrollPane(this);
 		drawing				= theDrawing;
 		modified			= false;
 		userSelectionBorder	= null;
@@ -137,6 +140,9 @@ public class LCanvas extends MPanel implements ICanvas {
 		zoom				= new ActiveUnary<>(1.);
 		page 				= Page.USLETTER;
 
+		scrollpane.getVerticalScrollBar().setUnitIncrement(5);
+		scrollpane.getHorizontalScrollBar().setUnitIncrement(5);
+
 		FlyweightThumbnail.setCanvas(this);
 		ActionsRegistry.INSTANCE.addHandler(this);
 		borderIns.addEventable(this);
@@ -148,6 +154,20 @@ public class LCanvas extends MPanel implements ICanvas {
 		// Adding a mapping between the views and its subset containing only tooltipable views.
 		MappingRegistry.REGISTRY.addMapping(new ViewList2TooltipableList(views, tooltipableView));
 
+		addMouseWheelListener(new MouseWheelListener() {
+			@Override
+			public void mouseWheelMoved(final MouseWheelEvent evt) {
+				final double wheelRotation = evt.getPreciseWheelRotation();
+				final int scrollAmount = (int)(wheelRotation * 10);
+
+				if(scrollAmount == 0) {
+					return;
+				}
+
+				scroll(-scrollAmount, getScrollbar(true).isVisible());
+			}
+		});
+
 		addMouseListener(new MouseAdapter() {
 			@Override public void mouseEntered(final MouseEvent e) {
 				// Workaround to assure that the canvas always has the focus.
@@ -306,9 +326,12 @@ public class LCanvas extends MPanel implements ICanvas {
 	@Override
 	public void updatePreferredSize() {
 		final double zoomValue = getZoom();
-		setPreferredSize(new Dimension(
-				(int)(Math.max(border.getWidth(), page.getWidth())*zoomValue)+MARGINS*2,
-				(int)(Math.max(border.getHeight(), page.getHeight())*zoomValue)+MARGINS*2));
+		final Dimension dim = new Dimension(
+			(int) (Math.max(border.getWidth(), page.getWidth()) * zoomValue) + MARGINS * 2,
+			(int) (Math.max(border.getHeight(), page.getHeight()) * zoomValue) + MARGINS * 2);
+		setPreferredSize(dim);
+		getScrollpane().setPreferredSize(dim);
+		getScrollpane().setMinimumSize(dim);
 	}
 
 


=====================================
latexdraw-core/net.sf.latexdraw/src/main/net/sf/latexdraw/ui/LFrame.java
=====================================
@@ -14,7 +14,6 @@ import net.sf.latexdraw.util.VersionChecker;
 import org.malai.instrument.Instrument;
 import org.malai.mapping.MappingRegistry;
 import org.malai.presentation.Presentation;
-import org.malai.swing.instrument.library.Scroller;
 import org.malai.swing.instrument.library.UndoRedoManager;
 import org.malai.swing.instrument.library.WidgetZoomer;
 import org.malai.swing.ui.SwingUI;
@@ -73,9 +72,6 @@ public class LFrame extends SwingUI {
 	/** The instrument that zoomes in/out the canvas. */
 	protected WidgetZoomer zoomer;
 
-	/** The scroller used to scroll the canvas. */
-	protected Scroller scroller;
-
 	/** The instrument that saves and loads SVG documents. */
 	protected FileLoaderSaver fileLoader;
 
@@ -229,8 +225,6 @@ public class LFrame extends SwingUI {
 		catch(final IllegalArgumentException ex) {BadaboomCollector.INSTANCE.add(ex); }
 		try { scaleRulersCustomiser = new ScaleRulersCustomiser(xScaleRuler, yScaleRuler); }
 		catch(final IllegalArgumentException ex) {BadaboomCollector.INSTANCE.add(ex); }
-		try { scroller		= new Scroller(canvas); }
-		catch(final IllegalArgumentException ex) {BadaboomCollector.INSTANCE.add(ex); }
 		try { zoomer		= new WidgetZoomer(canvas, true, true,
 							LResources.ZOOM_DEFAULT_ICON, LangTool.INSTANCE.getStringLaTeXDrawFrame("LaTeXDrawFrame.113"), //$NON-NLS-1$
 							new Dimension(55, 28), LangTool.INSTANCE.getString19("ShortcutsFrame.30"), true); } //$NON-NLS-1$
@@ -406,7 +400,7 @@ public class LFrame extends SwingUI {
 	@Override
 	public Instrument[] getInstruments() {
 		return new Instrument[]{editingSelector, exporter, fileLoader, hand, pencil, metaShapeCustomiser, undoManager,
-								zoomer, scaleRulersCustomiser, scroller, gridCustomiser, helper, textSetter, exceptionsManager,
+								zoomer, scaleRulersCustomiser, gridCustomiser, helper, textSetter, exceptionsManager,
 								deleter, prefActivator, prefSetters, paster, getCanvas().getBorderInstrument(), tabSelector,
 								drawingPropCustomiser, templateManager};
 	}


=====================================
latexdraw-core/net.sf.latexdraw/src/main/net/sf/latexdraw/ui/UIBuilder.java
=====================================
@@ -4,12 +4,10 @@ import java.awt.BorderLayout;
 import java.awt.Component;
 import java.awt.Container;
 import java.awt.Dimension;
-
 import javax.swing.BoxLayout;
-
+import javax.swing.JPanel;
 import net.sf.latexdraw.glib.ui.LCanvas;
 import net.sf.latexdraw.lang.LangTool;
-
 import org.malai.instrument.Instrument;
 import org.malai.swing.ui.SwingUIComposer;
 import org.malai.swing.widget.MComboBox;
@@ -77,7 +75,6 @@ public class UIBuilder extends SwingUIComposer<LFrame> {
 	}
 
 
-	// FIXME SCALA: When a trait will be used, this trait could be used as type of the parameter instead of several operations.
 	protected static void addSpinner(final Container cont, final MSpinner spinner, final int width) {
 		spinner.setPreferredSize(new Dimension(width, HEIGHT_TEXTFIELD));
 		if(spinner.getLabel()!=null)
@@ -172,7 +169,6 @@ public class UIBuilder extends SwingUIComposer<LFrame> {
 
 		widget.prefActivator.addEventable(menubarBuilder.editMenu);
 		widget.exceptionsManager.addEventable(toolbar);
-		widget.scroller.addEventable(canvas);
 		widget.editingSelector.addEventable(toolbar);
 		widget.hand.addEventable(canvas);
 		widget.pencil.addEventable(canvas);
@@ -216,7 +212,6 @@ public class UIBuilder extends SwingUIComposer<LFrame> {
 		widget.prefActivator.setActivated(true);
 		widget.helper.setActivated(true);
 		widget.gridCustomiser.setActivated(true);
-		widget.scroller.setActivated(true);
 		widget.exporter.setActivated(false);
 		widget.editingSelector.setActivated(true);
 		widget.hand.setActivated(true);


=====================================
latexdraw-core/net.sf.latexdraw/src/main/net/sf/latexdraw/util/VersionChecker.java
=====================================
@@ -36,12 +36,12 @@ import org.malai.action.library.OpenWebPage;
  */
 public class VersionChecker extends Thread {
 	/** The version of the application */
-    public static final String VERSION   = "3.3.8";//$NON-NLS-1$
+    public static final String VERSION   = "3.3.9";//$NON-NLS-1$
 
 	public static final String VERSION_STABILITY = ""; //$NON-NLS-1$
 
 	/** The identifier of the build */
-	public static final String ID_BUILD = "20171203";//$NON-NLS-1$
+	public static final String ID_BUILD = "20190509";//$NON-NLS-1$
 
 	/** To change if update is needed or not. */
 	public static final boolean WITH_UPDATE = true;


=====================================
latexdraw-core/net.sf.latexdraw/src/resources/main/res/release_note.txt
=====================================
@@ -1,4 +1,5 @@
 ************************************************************
-Version 3.3.8
+Version 3.3.9 -- 2019-05-11
+
+fixed: scroll did not work properly on MacOS thanks to a JDK issue
 
-fixed: crash while saving an SVG document and running the app with Java 9



View it on GitLab: https://salsa.debian.org/java-team/latexdraw/-/compare/46f02085acca06ce5ca01846f7fcea74b2870d3d...a31dd87b0c1f1266b96d52883a649809b18059e2

-- 
View it on GitLab: https://salsa.debian.org/java-team/latexdraw/-/compare/46f02085acca06ce5ca01846f7fcea74b2870d3d...a31dd87b0c1f1266b96d52883a649809b18059e2
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20261020/c2acf091/attachment.htm>


More information about the pkg-java-commits mailing list