10 Commits

Author SHA256 Message Date
361d32d419 Accepting request 1254496 from Java:packages
1.2025.2

OBS-URL: https://build.opensuse.org/request/show/1254496
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/plantuml?expand=0&rev=36
2025-03-19 21:32:43 +00:00
cf9a80141b OBS-URL: https://build.opensuse.org/package/show/Java:packages/plantuml?expand=0&rev=82 2025-03-19 18:16:36 +00:00
7d2fde4131 - Update to version 1.25.2
* EBNF - Improve the curved line on the EBNF diagram.
  * SVG - Lost id-attribute (or group).
  * SVG - Revert SVG fill to "none"; use UParam to indicate hit
    targets.
  * SVG - Interactive SVG with namespaced::nodes does not work
    properly.
  * SVG - Unable to Click Links in SVGs Due to Overlapping
    Transparent path Elements.
- Update to version 1.25.1
  * Backslash future deprecation and introduction of new functions
  * %newline() fix
  * REGEX - Add method to map regex patterns to descriptive names.
  * SVG - Allow interactive SVG sequence diagram's header to float
  * XMI - Add support for custom XMI generation.
  * SVG results with black box in Visio.
  * PDF export fails.
  * Problem with <style> and parameter Shadowing for rectangle.
  * YAML string quotes do not escape comment character.
  * Style boxless root on mindmap.
  * Allow colon character (:) on the value of a YAML field.
  * Unable to define variables on plantuml command line with -D.
  * Diagram sequence regression.
  * Improve internal YAML parser with a new parser.
  * YAML - Display key without label.
  * YAML - Fix Object attribute hierarchy in the yaml array.
  * YAML - Cannot render a list contain a key value pair.
  * YAML - Fix YAML processing if no spaces at start of list.
  * YAML - Last list entry used instead of showing top level YAML
    items.

OBS-URL: https://build.opensuse.org/package/show/Java:packages/plantuml?expand=0&rev=81
2025-03-09 19:25:23 +00:00
c1ca303e47 Accepting request 1224962 from Java:packages
OBS-URL: https://build.opensuse.org/request/show/1224962
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/plantuml?expand=0&rev=35
2024-11-19 21:16:42 +00:00
b5cceca0a9 Accepting request 1224885 from home:mnhauke
- Update to version 1.24.8
  * Allow MinimumWidth on all nested elements.
  * fix: improve edge cases for JSON diagram (manage null and
    empty Array/Object).
  * use latex to get string bounder.
  * tikz: make all fonts with the same baseline.
  * tikz: avoid latex manager crash for special characters.
  * tikz: use the same protectText when calc dimension and render.
  * tikz: optimize latex render.
  * optimize tikz render.
  * upd: uniformisation of dirpath.
  * feat: reintroduction of filedate and filenamenoextension
    builtin function.
  * feat: Allow Unicode ASCII Art for class, component.
  * fix: error in namespace management.
  * Style: Improve map and json style in order to manage header
    style.
  * Gantt with monthly scale doesn't show named regions.
  * fixing proprietary licenses in PlantUML software package of
    Replicant project.
  * Allow stereotype for arrow, on sequence diagram.
  * Allow LineStyle for arrow, on sequence diagram.
  * feat: Allow stereotype for Clock on Timing diagram.
  * Allow stereotype on Timing diagram.
  * Style: Allow stereotype on note for all diagram type.
  * State machine invalid generation for SVG.
  * Update C4-PlantUML to v2.11.0.
  * Style: Allow all style for Cardinality, Generic, Qualified
    associations on Class diagram.
  * nwdiag: Allow line border for group.

OBS-URL: https://build.opensuse.org/request/show/1224885
OBS-URL: https://build.opensuse.org/package/show/Java:packages/plantuml?expand=0&rev=79
2024-11-18 21:55:47 +00:00
3283c5b7cc Accepting request 1205523 from Java:packages
fix launcher with javapackage-tools >= 6.3

OBS-URL: https://build.opensuse.org/request/show/1205523
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/plantuml?expand=0&rev=34
2024-10-03 15:40:50 +00:00
fae297c4f9 OBS-URL: https://build.opensuse.org/package/show/Java:packages/plantuml?expand=0&rev=77 2024-10-03 13:07:48 +00:00
7ad6923a7c Accepting request 1204568 from Java:packages
Fix build after removal of the default %{java_home} define

OBS-URL: https://build.opensuse.org/request/show/1204568
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/plantuml?expand=0&rev=33
2024-09-30 13:40:05 +00:00
84bdedcbdf OBS-URL: https://build.opensuse.org/package/show/Java:packages/plantuml?expand=0&rev=75 2024-09-29 19:51:47 +00:00
43a3fe4dcf OBS-URL: https://build.opensuse.org/package/show/Java:packages/plantuml?expand=0&rev=74 2024-09-29 06:57:32 +00:00
6 changed files with 222 additions and 47 deletions

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1ad9af354ae0081d6e291d94d6ca97f7f99fc88236130212b39e340d9fcc69ce
size 8170850
oid sha256:1455bd5f63603ede0545f66d67de2162cce7b7b80e03e98d20e674e6c272a8a6
size 10048681

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3a39455ed03d561bec687c839751f5c04d88b5bdd382e7f28784230da545c0c3
size 12061228

3
plantuml-1.2025.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5c7a06e91aad9eb46c0b370621ff7f4e482815f9efb6f0a233130968815a1162
size 12312056

View File

@@ -1,3 +1,199 @@
-------------------------------------------------------------------
Thu Mar 6 20:41:19 UTC 2025 - Martin Hauke <mardnh@gmx.de>
- Update to version 1.25.2
* EBNF - Improve the curved line on the EBNF diagram.
* SVG - Lost id-attribute (or group).
* SVG - Revert SVG fill to "none"; use UParam to indicate hit
targets.
* SVG - Interactive SVG with namespaced::nodes does not work
properly.
* SVG - Unable to Click Links in SVGs Due to Overlapping
Transparent path Elements.
- Update to version 1.25.1
* Backslash future deprecation and introduction of new functions
* %newline() fix
* REGEX - Add method to map regex patterns to descriptive names.
* SVG - Allow interactive SVG sequence diagram's header to float
* XMI - Add support for custom XMI generation.
* SVG results with black box in Visio.
* PDF export fails.
* Problem with <style> and parameter Shadowing for rectangle.
* YAML string quotes do not escape comment character.
* Style boxless root on mindmap.
* Allow colon character (:) on the value of a YAML field.
* Unable to define variables on plantuml command line with -D.
* Diagram sequence regression.
* Improve internal YAML parser with a new parser.
* YAML - Display key without label.
* YAML - Fix Object attribute hierarchy in the yaml array.
* YAML - Cannot render a list contain a key value pair.
* YAML - Fix YAML processing if no spaces at start of list.
* YAML - Last list entry used instead of showing top level YAML
items.
* EBNF - None-first style.
* Entity names cannot start or end with separator character:
fix error message.
- Update to version 1.25.0
* Gantt Chart with closed weekends does not render correctly
depending on the theme.
* Allow hide closed in the Gantt chart.
* Ressources footer is messed when in monthly mode.
* Gantt with weekly scale doesn't show named regions.
* guillemotleft guillemotright.
* Improve head of arrow position.
* Smetana throws an ArrayIndexOutOfBoundsException.
* Test ExportOnUText.
* Extend error message with diagram type.
* Allow RoundCorner for object, map and json element.
* Update DomainStory to version Delta 0.4.0.
* Hiding/showing a specific stereotype hides/shows all of them.
* Allow YAML frontmatter on beginning of theme files.
* REGEX - Allow to expand a element with the corresponding
alternative element.
-------------------------------------------------------------------
Mon Nov 18 13:47:38 UTC 2024 - Martin Hauke <mardnh@gmx.de>
- Update to version 1.24.8
* Allow MinimumWidth on all nested elements.
* fix: improve edge cases for JSON diagram (manage null and
empty Array/Object).
* use latex to get string bounder.
* tikz: make all fonts with the same baseline.
* tikz: avoid latex manager crash for special characters.
* tikz: use the same protectText when calc dimension and render.
* tikz: optimize latex render.
* optimize tikz render.
* upd: uniformisation of dirpath.
* feat: reintroduction of filedate and filenamenoextension
builtin function.
* feat: Allow Unicode ASCII Art for class, component.
* fix: error in namespace management.
* Style: Improve map and json style in order to manage header
style.
* Gantt with monthly scale doesn't show named regions.
* fixing proprietary licenses in PlantUML software package of
Replicant project.
* Allow stereotype for arrow, on sequence diagram.
* Allow LineStyle for arrow, on sequence diagram.
* feat: Allow stereotype for Clock on Timing diagram.
* Allow stereotype on Timing diagram.
* Style: Allow stereotype on note for all diagram type.
* State machine invalid generation for SVG.
* Update C4-PlantUML to v2.11.0.
* Style: Allow all style for Cardinality, Generic, Qualified
associations on Class diagram.
* nwdiag: Allow line border for group.
* Style: Allow all style for regex diagram.
* Style: Allow theme and style for files list diagram.
* feat: allow all JSON Values on JSON.
* Compact clocks in timing diagrams not rendered correctly.
- Update to version 1.24.7
* [Class][Deployment] Some issues about arrow between nested
elements.
* Crash happened on plantuml 1.2024.7beta5, related to "headless"
* hide does not work inside package.
* After v1.2023.10, Remove command does not remove nested shapes.
* When adding specific note at specific position, activity
diagram not work.
* Custom Theme loading.
* [Creole] Fix color.
* repeat starting point is in wrong swimlane.
* Generate a svg:title tag when generating Svg.
* fix: make native release as snapshot release.
* feat: add builtin function %boolval.
* feat: add builtin function %mod (modulo operator).
* Added background color to arrows and draw background for circles.
* remove duplicate items in help message.
* [Sprite][SVG] Manage more SVG functionalities for text.
* pdf support broken with other gradle build file changes.
* Allow style for backward element on repeat loop, on Activity
diagram.
* Allow >> and > on the same arrow.
* Pause a task up to end of another task.
* Rendering issue when nesting different elements.
* Allow multiple style stereotypes for Mindmap, WBS.
* Gantt: Weekscale with weeknumbers.
* The utilization of resources does not color red correctly when
week partly closed.
* Remove and restore not working as expected.
- Update to version 1.24.6
* Improve Eclipse Layout Kernel support.
* groups (e.g. alt) with else cannot be rendered in parallel.
* alt/else block shown in parallel using teoz leads to wrong
formatting.
* Teoz: Shape of note changes only when "over" is used.
* multiple activation of lifelines does not render properly in
sequence diagrams.
* 2024.5 breaks https includeurl.
* Incorrect object reference in Gantt Chart.
* Activity: Allow to style SDL on Repeat While loop.
* inconsistent computation of group/alt/opt box size given left
or right arrows.
* !foreach $key from %get_json_keys() is not found by
%json_key_exists(), but works for element access.
* Allow scale max on JSON and YAML diagram.
* [ELK][Smetana] Allow Fontcolor style on arrows.
* [Style][WBS] Change (arrow) line color of a specific branch.
* Elk: Allow full style on arrows (except fontcolor).
* feat: math: add newline command for formatting.
* feat: add support for [one-line] title to JSON diagram.
* Performance issue with JRE21.
* Fix parallel group active levels.
* Extend @@@format to support more formats.
* [teoz] [bug] [sequence] Group becomes too wide when containing
activations.
* [Theme] sunlust theme does not work for JSON or YAML
diagram/data.
- Update to version 1.24.5
* BUG: Activation is offset (Sequence diagram, Teoz).
* teoz: activation breaks parallell lines.
* sequence lifeline height badly depends on message height.
* Sequence diagram: Wrong start/end of activation boxes in
activation boxes while using teoz.
* The display of text, line, and arrow on the left side of the
Lifeline is incorrect.
* the location of the Comment is INCORRECT.
* teoz arrow alignment.
* activate/deactivate issues.
* Inline multicast activate only activates the first target.
* Activation is offset (Using Teoz).
* Small rendering difference between default and Teoz.
* Side effect of variable management when using %json_add.
* timing diagram initial concise state.
* Java OutOfMemoryError with some Sequence diagrams.
* Smetana is not supporting colors in UML.
* Timing: Set background color of concise.
* (timing diagram) message labels ignore default style.
* "off by one errors" in text output.
* hyperlinkUnderline causes NumberFormatException.
* Wrong component is highlighted on hover for
svginteractive.
* [Theme] sunlust theme does not work for JSON or YAML
diagram/data.
* Stereotype won't be hidden with "hide stereotype".
* [Chen ERD] Allow horizontal layout or left to right direction.
* add %splitstrregex builtin function.
* ASCIIMathTeXImg.java with a lot of corrections/enhancements.
* add new JSON builtin functions (%str2json, %json_add and
%json_remove).
* add new JSON builtin function (%json_set).
* add new JSON builtin function (%json_merge).
* Fix on osa2 and Classy.
-------------------------------------------------------------------
Thu Oct 3 13:06:15 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Clean the spec file a bit and generate the launcher script from
the spec file using the %%jpackage_script macro
+ Fixes running with javapackage-tools >= 6.3
-------------------------------------------------------------------
Sun Sep 29 19:51:35 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Fix build after removal of the default %%{java_home} define
-------------------------------------------------------------------
Sun Apr 7 16:18:17 UTC 2024 - Martin Hauke <mardnh@gmx.de>

View File

@@ -1,20 +0,0 @@
#!/bin/bash
#
# plantuml script
# JPackage Project <http://www.jpackage.org/>
. /usr/share/java-utils/java-functions
# MAIN_CLASS=
# Add user definied config config file:
if [ -e $HOME/.plantuml.cfg ]; then
$BASE_OPTIONS=-config "$HOME/.plantuml.cfg"
fi
# Set other parameters
set_javacmd
# Let's start
# run $args "$@"
$JAVACMD $BASE_FLAGS -jar /usr/share/java/plantuml.jar $BASE_OPTIONS "$@"

View File

@@ -1,7 +1,7 @@
#
# spec file for package plantuml
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,21 +17,18 @@
Name: plantuml
Version: 1.2024.4
Version: 1.2025.2
Release: 0
Summary: Java UML Tool
License: GPL-3.0-or-later
Group: Productivity/Publishing/Other
URL: https://plantuml.com/
Source0: https://github.com/plantuml/plantuml/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: %{name}.script
Source10: http://pdf.plantuml.net/PlantUML_Language_Reference_Guide_en.pdf
Patch0: build-with-javac-utf8-encoding.patch
BuildRequires: ant
BuildRequires: fdupes
BuildRequires: javapackages-local
BuildRequires: xmvn-install
Requires: java >= 1.8.0
Requires: javapackages-tools
BuildArch: noarch
@@ -59,7 +56,6 @@ This package contains the API documentation for %{name}.
%prep
%setup -q
%patch -P 0 -p1
cp %{SOURCE1} %{name}
cp %{SOURCE10} .
%build
@@ -67,31 +63,34 @@ ant
# build javadoc
export CLASSPATH=$(build-classpath ant):plantuml.jar
%{javadoc} -source 1.8 -encoding UTF-8 -Xdoclint:none -d javadoc $(find src -name "*.java") -windowtitle "PlantUML %{version}"
javadoc \
-source 1.8 \
-encoding UTF-8 \
-notimestamp \
-Xdoclint:none \
-d javadoc \
-windowtitle "PlantUML %{version}" \
$(find src -name "*.java")
%install
# Set jar location
%{mvn_file} net.sourceforge.%{name}:%{name} %{name}
install -dm 0755 %{buildroot}%{_javadir}
install -pm 0644 %{name}.jar %{buildroot}%{_javadir}/%{name}.jar
# Configure maven depmap
%{mvn_artifact} net.sourceforge.%{name}:%{name}:%{version} %{name}.jar
%mvn_install -J javadoc
install -m 755 -d %{buildroot}%{_bindir}/
install -m 755 -d %{buildroot}%{_javadir}
install -m 755 %{name} %{buildroot}%{_bindir}/%{name}
# Install jar file
cp %{name}.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar
(cd %{buildroot}%{_javadir} && for jar in *-%{version}.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
%add_maven_depmap net.sourceforge.%{name}:%{name}:%{version} %{name}.jar
# javadoc
install -dm 0755 %{buildroot}%{_javadocdir}/%{name}
cp -r javadoc/* %{buildroot}%{_javadocdir}/%{name}/
%fdupes %{buildroot}%{_datadir}
# launcher script
%jpackage_script net.sourceforge.plantuml.Run "" "" %{name} %{name}
%files -f .mfiles
%{_bindir}/plantuml
%{_javadir}/%{name}-%{version}.jar
%{_bindir}/%{name}
%license COPYING
%files javadoc -f .mfiles-javadoc
%files javadoc
%{_javadocdir}/%{name}
%license COPYING
%changelog