<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/d6c21739b251d552c4c3ecf90f988b5bdd7d0d4e">https://github.com/macports/macports-ports/commit/d6c21739b251d552c4c3ecf90f988b5bdd7d0d4e</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new d6c21739b25 plantuml: Update to 1.2021.6
</span>d6c21739b25 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit d6c21739b251d552c4c3ecf90f988b5bdd7d0d4e
</span>Author: Vadim-Valdis Yudaev <judaew@outlook.de>
AuthorDate: Fri May 14 14:30:41 2021 +0300
<span style='display:block; white-space:pre;color:#404040;'> plantuml: Update to 1.2021.6
</span>---
java/plantuml/Portfile | 12 +-
.../files/patch-add-missing-svg-folder.diff | 136 ---------------------
2 files changed, 4 insertions(+), 144 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/java/plantuml/Portfile b/java/plantuml/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 27ad9bf14f0..19a4719663d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/java/plantuml/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/java/plantuml/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,7 +4,7 @@ PortSystem 1.0
</span> PortGroup github 1.0
PortGroup java 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup plantuml plantuml 1.2021.5 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup plantuml plantuml 1.2021.6 v
</span> revision 0
categories java editors
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -16,9 +16,9 @@ description PlantUML is a tool for generating UML diagrams from text
</span> long_description ${description}
homepage http://plantuml.com/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 37c4b094dd2c4add672e683a3773c6d109081489 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 95348ce62e32d50539f81603b9424ee7f82ddfd93c8ec8607150774a01f26c1f \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 4704854
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 459d88a129f4ca576c787102901e39f9b69a723a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 93e39a538928bbd26753e39de16a017d43bccf7ccc3cdd90b6c96079eff1c921 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 4665903
</span>
depends_build bin:ant:apache-ant
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -37,10 +37,6 @@ post-extract {
</span> copy ${filespath}/${name}.in ${worksrcpath}/${name}
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Change is already in master, remove the patch in next version
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# See https://github.com/plantuml/plantuml/issues/545
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-add-missing-svg-folder.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> post-patch {
reinplace "s|__PLANTUML_LAUNCHER_PATH__|${prefix}/share/java/${jarname}|g" \
${worksrcpath}/${name}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/java/plantuml/files/patch-add-missing-svg-folder.diff b/java/plantuml/files/patch-add-missing-svg-folder.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index d62c522e951..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/java/plantuml/files/patch-add-missing-svg-folder.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,136 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-From: Arnaud Roques <plantuml@gmail.com>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Date: Sun, 2 May 2021 12:12:46 +0200
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Subject: [PATCH] Add missing SVG folder
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- svg/default.css | 3 ++
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- svg/default.js | 110 ++++++++++++++++++++++++++++++++++++++++++++++++
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 2 files changed, 113 insertions(+)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- create mode 100644 svg/default.css
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- create mode 100644 svg/default.js
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git svg/default.css.orig svg/default.css
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-new file mode 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- /dev/null
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ svg/default.css
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -0,0 +1,3 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+.elem {cursor: pointer;}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+.elem, .link {opacity: 0.3;}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+.elem.selected, .link.selected {opacity: 1;}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-\ No newline at end of file
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git svg/default.js.orig svg/default.js
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-new file mode 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- /dev/null
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ svg/default.js
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -0,0 +1,110 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+function addItemToMapOfLists(mapOfLists, name, item) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ // mapOfLists = {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ // 'key1': [item1, item2, ...],
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ // 'key2': [item3, item4, ...],
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ // }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if (mapOfLists[name].length > 0) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if (!mapOfLists[name].includes(item)) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ mapOfLists[name].push(item);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ } else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ mapOfLists[name] = [item];
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+function main() {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ let elems = Array.from(document.getElementsByClassName('elem'));
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ let links = Array.from(document.getElementsByClassName('link'));
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ let elemsMap = {};
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ let linkedElems = {};
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ let linkedLinks = {};
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ elems.forEach(elem => {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ let name = elem.classList[1];
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ elemsMap[name] = elem;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ linkedElems[name] = [];
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ linkedLinks[name] = [];
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ });
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ links.forEach(link => {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ let name1 = link.classList[1];
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ let name2 = link.classList[2];
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if (elemsMap[name1]) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if (elemsMap[name2]) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ let elem1 = elemsMap[name1];
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ let elem2 = elemsMap[name2];
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ addItemToMapOfLists(linkedElems, name1, elem2);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ addItemToMapOfLists(linkedElems, name2, elem1);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ addItemToMapOfLists(linkedLinks, name1, link);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ addItemToMapOfLists(linkedLinks, name2, link);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ });
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ let selectedElems = [];
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ let selectedLinks = [];
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ let selectedElemName = null;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ function clearSelected() {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ selectedElems.forEach(item => {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ item.classList.remove('selected');
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ });
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ selectedElems = [];
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ selectedLinks.forEach(item => {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ item.classList.remove('selected');
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ });
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ selectedLinks = [];
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ function selectAll() {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ selectedElemName = null;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ selectedElems = Array.from(elems);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ selectedElems.forEach(item => {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ item.classList.add('selected');
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ });
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ selectedLinks = Array.from(links);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ selectedLinks.forEach(item => {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ item.classList.add('selected');
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ });
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ function selectElem(elemName) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if (elemName === selectedElemName) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ selectAll();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ } else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ clearSelected();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ selectedElemName = elemName;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ elemsMap[elemName].classList.add('selected');
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ selectedElems.push(elemsMap[elemName]);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ linkedElems[elemName].forEach(linkedElem => {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ selectedElems.push(linkedElem);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ linkedElem.classList.add('selected');
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ });
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ linkedLinks[elemName].forEach(linkedLink => {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ selectedLinks.push(linkedLink);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ linkedLink.classList.add('selected');
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ });
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ Object.keys(elemsMap).forEach(name => {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ elemsMap[name].onclick = () => { selectElem(name); };
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ });
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ selectAll();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+document.addEventListener('DOMContentLoaded', (event) => {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ main();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+});
</span></pre><pre style='margin:0'>
</pre>