This patch adds devel/visualparadigm, a powerful tool for drawing diagrams using UML. It installs the Community Edition that requires a community license (free, gratis) to work properly. Fix: Apply the attached shar file. This PR deprecates PR ports/169741 and adds STAGE support. Port tested in redports.org for 9.2-RELEASE on amd64[1] and i386[2] [1] https://redports.org/~fernape/20131106174000-54608-157643/visualparadigm-10.2.log [2] https://redports.org/~fernape/20131106174000-54608-157644/visualparadigm-10.2.log Patch attached with submission follows:
This happened again. There is a new version of Visual Paradigm, 11.0 and we still have the 10.2 pending for inclusion in the ports tree. I already updated this PR due to the same problem (new version though the port never makes it into the tree). Please, tell me if there is any chance of committing this or I will not waste any time trying to update to 11.0 Thanks in advance.
Any changes on this?
(In reply to fernando.apesteguia from comment #1) > This happened again. There is a new version of Visual Paradigm, 11.0 and > we still have the 10.2 pending for inclusion in the ports tree. > I already updated this PR due to the same problem (new version though the > port never makes it into the tree). We are very sorry that sometimes a pr gets lost and overlooked. If you are still interested (which I hope you are) in getting this into the tree and maintain it, I am happy to work with you getting there. However I have noticed that there has been a new release again. Can you prepare a new shar that passes portlint -CA with few to none warnings and builds/installs/deinstalls successfully with DEVELOPER=yes in /etc/make.conf?
Created attachment 144759 [details] shar of rough port draft of visualparadigm 11.1
Fernando, I provided a rough port for 11.1, can you please try to get it into a working state ? Then Thomas or I can commit it. And sorry for the long delay!
(In reply to Kurt Jaeger from comment #5) > Fernando, I provided a rough port for 11.1, can you please try to get it > into a working state ? Then Thomas or I can commit it. > > And sorry for the long delay! I just came back from holidays. I'll get to it in the next days. Cheers.
Created attachment 144913 [details] Patch to the port tree Patch to the new port.
(In reply to fernando.apesteguia from comment #7) > Created attachment 144913 [details] > Patch to the port tree > > Patch to the new port. Hi again, I tested this new port in redports: Updating the wanna-be-official-port devel/visualparadigm to 11.1 --------------------------------------------------------------------- Build ID: 20140723163200-21748 Job owner: fernape Buildtime: 38 minutes Enddate: Wed, 23 Jul 2014 17:10:25 GMT Revision: 29621 Repository: https://redports.org/changeset/29621 --------------------------------------------------------------------- Port: devel/visualparadigm 11.1 Buildgroup: 9.2-RELEASE/amd64 Buildstatus: SUCCESS Log: https://redports.org//~fernape/20140723163200-21748-226866/visualparadigm-11.1.log Buildgroup: 9.2-RELEASE/i386 Buildstatus: SUCCESS Log: https://redports.org//~fernape/20140723163200-21748-226867/visualparadigm-11.1.log Buildgroup: 10.0-RELEASE/amd64 Buildstatus: SUCCESS Log: https://redports.org//~fernape/20140723163200-21748-226868/visualparadigm-11.1.log Buildgroup: 10.0-RELEASE/i386 Buildstatus: SUCCESS Log: https://redports.org//~fernape/20140723163200-21748-226869/visualparadigm-11.1.log In addition, I added the pkg-plist file and the pkg-message where I moved the message about the license. portlint -CA shows still a couple of messages (about the category not being 'java', the LICENSE missing and the lack of extra mirrors). I think this one is in good shape. Let me know what you think. Cheers.
I tested it, it builds and installs, but if I start it, the eval license window pops up, I get my eval key, and then: nothing. I started it via ssh -X -Y from my test host to my workstation using the full path: /usr/local/visualparadigm/bin/Visual_Paradigm The ~/VisualParadigm/vp.log says: [2014/07/23 22:54:17] [warning] No write permission on Suite "../bin" and then: nothing. ctrl-t on the controlling tty says: load: 0.08 cmd: java 82253 [uwait] 234.95r 2.92u 0.52s 0% 223684k Any ideas ?
(In reply to Kurt Jaeger from comment #9) > I tested it, it builds and installs, but if I start it, > the eval license window pops up, I get my eval key, and then: nothing. > > I started it via ssh -X -Y from my test host to my workstation > using the full path: > > /usr/local/visualparadigm/bin/Visual_Paradigm > > The ~/VisualParadigm/vp.log says: > > [2014/07/23 22:54:17] [warning] No write permission on Suite "../bin" > > and then: nothing. > > ctrl-t on the controlling tty says: > > load: 0.08 cmd: java 82253 [uwait] 234.95r 2.92u 0.52s 0% 223684k > > Any ideas ? It seems like a permissions issue. It runs just fine on my computer. No messages on the console whatsoever: [fernape@beastie /home/fernape]$ uname -a FreeBSD beastie 9.1-RELEASE-p17 FreeBSD 9.1-RELEASE-p17 #0: Tue Jul 8 13:50:48 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 I had a previous evaluation license that expires on august 22 2014. These are the permissions for the /usr/local/visualparadigm directories: drwxr-xr-x 4 root wheel 512 Jul 15 08:23 integration/ drwxr-xr-x 2 root wheel 512 Jul 15 08:23 updatesynchronizer/ drwxr-xr-x 2 root wheel 512 Jul 15 08:23 uninstaller/ drwxr-xr-x 19 root wheel 512 Jul 15 08:23 sde/ drwxr-xr-x 2 root wheel 1024 Jul 15 08:23 scripts/ drwxr-xr-x 2 root wheel 512 Jul 15 08:23 samples/ drwxr-xr-x 2 root wheel 512 Jul 15 08:23 lib/ drwxr-xr-x 2 root wheel 512 Jul 15 08:23 launcher/ drwxr-xr-x 2 root wheel 512 Jul 15 08:23 UserLanguage/ drwxr-xr-x 2 root wheel 1024 Jul 23 23:56 .install4j/ drwxr-xr-x 17 root wheel 512 Jul 23 23:56 ./ drwxr-xr-x 3 root wheel 512 Jul 23 23:56 bundled/ drwxr-xr-x 3 root wheel 512 Jul 23 23:56 bin/ drwxr-xr-x 23 root wheel 512 Jul 23 23:56 ../ drwxr-xr-x 5 root wheel 512 Jul 23 23:56 ormlib/ drwxr-xr-x 3 root wheel 512 Jul 23 23:57 shapes/ drwxr-xr-x 7 root wheel 512 Jul 23 23:57 resources/ Any differences from yours? I will try to revoke my current key, deinstall the program, install it again and try to reproduce your problem. After getting the key imported, did you try to run it again? Thanks!
Created attachment 144980 [details] New patch for VisualParadigm Hi again, I contacted the tech support from Visual-paradigm. They told me to use the *_CE_* version of the file since they separated recently the licensed from the community editions. With this one, I still could reproduce your problem Kurt, however, after getting my key and try to activate the product it says it can't connect the server. I send a report about this to the tech support. Despite of this, the application is fully functional if started again. Can you execute this new version both via ssh and in local? Thanks in advance.
I'll test tomorrow and give you feedback. A local test is difficult, as I do not have a monitor/X11 setup connected to my build host.
I tested it via ssh -X -Y. The activation screen pops up, but the application window itself does not appear. I'll test it on a laptop tomorrow.
Well, tomorrow came fast. I upgraded a laptop to 9.3-REL, installed the poudriere-build visualparadigm-11.1.txz and started. It asked for a license key, I said: "Just start it", and nothing happened. I stopped the programm, restarted it. Now a blank window came up. When I moved it, the refresh showed me the workspace selection menue. I used defaults. A second blank window came up, I moved it, window refresh showed the initialization. Nothing happened. I stopped it again, restartet it. Init screen is displayed this time, then the popup with the question "Do you want to change user language to German" (Nein). Popup about activation, selected "Remind me later". Then the application came up. I selected Help/About VP/ The window came up, and I selected "Export Log File...". Nothing happens. App does no longer react to clicks etc. Well, it runs, but it looks either my laptop or the app has issues. It selects openjdk6. If I use JAVA_HOME=/usr/local/openjdk7/, the app starts, but no menu items can be selected. If I use JAVA_HOME=/usr/local/openjdk8/, the app starts and then the X-Server crashes. What tests do you suggest ?
(In reply to Kurt Jaeger from comment #14) > Well, tomorrow came fast. I upgraded a laptop to 9.3-REL, installed > the poudriere-build visualparadigm-11.1.txz and started. Is this the new one I uploaded (vp_ce.sh)? > > It asked for a license key, I said: "Just start it", and nothing happened. > > I stopped the programm, restarted it. Now a blank window came up. When I > moved it, the refresh showed me the workspace selection menue. > I used defaults. > > A second blank window came up, I moved it, window refresh showed the > initialization. Nothing happened. > > I stopped it again, restartet it. > > Init screen is displayed this time, then the popup with the question "Do you > want to change user language to German" (Nein). Popup about activation, > selected > "Remind me later". > > Then the application came up. I selected Help/About VP/ > The window came up, and I selected "Export Log File...". > > Nothing happens. App does no longer react to clicks etc. > > Well, it runs, but it looks either my laptop or the app has issues. It > selects openjdk6. > > If I use JAVA_HOME=/usr/local/openjdk7/, the app starts, but no menu items > can be selected. > > If I use JAVA_HOME=/usr/local/openjdk8/, the app starts and then the X-Server > crashes. I have openjdk7 and openjdk8. I'm running 9.1-REL p17. It works well. In fact, changing from openjdk7 to openjdk8 makes the application be able to connect to the server and register the product. I'm using the 64 bit version of OpenJDK. I tried to replicate the behavior via ssh from my laptop, but the application won't start. I get this error: [2014/07/26 18:40:02] [message] java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. [2014/07/26 18:40:02] [message] at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:207) [2014/07/26 18:40:02] [message] at java.awt.Window.<init>(Window.java:535) [2014/07/26 18:40:02] [message] at java.awt.Frame.<init>(Frame.java:420) [2014/07/26 18:40:02] [message] at java.awt.Frame.<init>(Frame.java:385) [2014/07/26 18:40:02] [message] at javax.swing.SwingUtilities$SharedOwnerFrame.<init>(SwingUtilities.java:1757 I just started sshd on my PC and connect from my laptop with ssh -X. I don't remember having to do anything else to make this work before... > > What tests do you suggest ? I try to run the application on my 12 year old laptop but it makes the system to reboot due to a machine check exception triggered by overheating (it happens with big applications). I don't have any other machines available :S I suspect the sluggish windows and unresponsiveness are not an application specific problem. Do other java applications work in remote? If you help me setting up my computer, I can try jdownloader or other java apps. Thanks for your time.
Created attachment 145004 [details] New dep: JAVA=1.8+ Change the Java requirements to use OpenJDK8 or higher
(In reply to fernando.apesteguia from comment #15) > (In reply to Kurt Jaeger from comment #14) > > Well, tomorrow came fast. I upgraded a laptop to 9.3-REL, installed > > the poudriere-build visualparadigm-11.1.txz and started. > > Is this the new one I uploaded (vp_ce.sh)? > > > > > It asked for a license key, I said: "Just start it", and nothing happened. > > > > I stopped the programm, restarted it. Now a blank window came up. When I > > moved it, the refresh showed me the workspace selection menue. > > I used defaults. > > > > A second blank window came up, I moved it, window refresh showed the > > initialization. Nothing happened. > > > > I stopped it again, restartet it. > > > > Init screen is displayed this time, then the popup with the question "Do you > > want to change user language to German" (Nein). Popup about activation, > > selected > > "Remind me later". > > > > Then the application came up. I selected Help/About VP/ > > The window came up, and I selected "Export Log File...". > > > > Nothing happens. App does no longer react to clicks etc. > > > > Well, it runs, but it looks either my laptop or the app has issues. It > > selects openjdk6. > > > > If I use JAVA_HOME=/usr/local/openjdk7/, the app starts, but no menu items > > can be selected. > > > > If I use JAVA_HOME=/usr/local/openjdk8/, the app starts and then the X-Server > > crashes. > > I have openjdk7 and openjdk8. I'm running 9.1-REL p17. It works well. > In fact, changing from openjdk7 to openjdk8 makes the application be able to > connect to the server and register the product. > > I'm using the 64 bit version of OpenJDK. > > I tried to replicate the behavior via ssh from my laptop, but the > application won't start. I get this error: > > [2014/07/26 18:40:02] [message] java.awt.HeadlessException: > No X11 DISPLAY variable was set, but this program performed an operation > which requires it. > [2014/07/26 18:40:02] [message] at > java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:207) > [2014/07/26 18:40:02] [message] at java.awt.Window.<init>(Window.java:535) > [2014/07/26 18:40:02] [message] at java.awt.Frame.<init>(Frame.java:420) > [2014/07/26 18:40:02] [message] at java.awt.Frame.<init>(Frame.java:385) > [2014/07/26 18:40:02] [message] at > javax.swing.SwingUtilities$SharedOwnerFrame.<init>(SwingUtilities.java:1757 > > I just started sshd on my PC and connect from my laptop with ssh -X. > I don't remember having to do anything else to make this work before... > > > > > What tests do you suggest ? > > I try to run the application on my 12 year old laptop but it makes the > system to reboot due to a machine check exception triggered by overheating > (it happens with big applications). I don't have any other machines > available :S > > I suspect the sluggish windows and unresponsiveness are not an application > specific problem. Do other java applications work in remote? If you help me > setting up my computer, I can try jdownloader or other java apps. > > Thanks for your time. OK, I run some tests. This is what I did: On my PC: [fernape@beastie /home/fernape/redports.org/fernape/devel]$ uname -a FreeBSD beastie 9.1-RELEASE-p17 FreeBSD 9.1-RELEASE-p17 #0: Tue Jul 8 13:50:48 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 [fernape@beastie /home/fernape]$ ssh -X localhost (old school...) [fernape@beastie /home/fernape]$ export DISPLAY=127.0.0.1:0 [fernape@beastie /home/fernape]$ /usr/local/visualparadigm/bin/Visual_Paradigm Application starts and it's fully functional. Now: PC running. I work on my laptop: [fernape@hammer /home/fernape]$ uname -a FreeBSD hammer 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 (connect to the PC) [fernape@hammer /home/fernape]$ ssh -X 192.168.1.38 [Login into the PC] [fernape@hammer /home/fernape]$ export DISPLAY=192.168.1.40:0 [fernape@hammer /home/fernape]$ /usr/local/visualparadigm/bin/Visual_Paradigm Application starts again and it's fully functional. Are you using 32 or 64 bit version of OpenJDK? Cheers.
1) It is the new (ce) version. 2) I'm also using tvtwm as a window manager. Some popups come as one-pixel-windows. Very unusable. 3) I'm using OpenJDK 64-Bit. 4) The laptop is 9.3, and the poudriere build is also from that. I've seen this kind of behaviour (unusable via remote X11, and questionable on the local display) from other java apps as well. Let's see those problems as my local problems, I'll commit the app.
A commit references this bug: Author: pi Date: Sat Jul 26 19:45:21 UTC 2014 New revision: 362984 URL: http://svnweb.freebsd.org/changeset/ports/362984 Log: New port: devel/visualparadigm Visual Paradigm for UML (VP-UML) is a UML design tool and UML CASE tool designed to aid software development. VP-UML supports key industry standards such as Unified Modeling Language (UML), SysML, BPMN, XMI, etc. It offers complete toolset software development teams need for requirements capturing, software planning, test planning, class modeling, data modeling, and etc. The application provides the community edition with a 30-days free trial for non-commercial use. PR: 183723 Submitted by: fernando.apesteguia@gmail.com Changes: head/devel/Makefile head/devel/visualparadigm/ head/devel/visualparadigm/Makefile head/devel/visualparadigm/distinfo head/devel/visualparadigm/pkg-descr head/devel/visualparadigm/pkg-message head/devel/visualparadigm/pkg-plist
(In reply to commit-hook from comment #19) > A commit references this bug: > > Author: pi > Date: Sat Jul 26 19:45:21 UTC 2014 > New revision: 362984 > URL: http://svnweb.freebsd.org/changeset/ports/362984 > > Log: > New port: devel/visualparadigm > > Visual Paradigm for UML (VP-UML) is a UML design tool and UML CASE > tool designed to aid software development. VP-UML supports key > industry standards such as Unified Modeling Language (UML), SysML, > BPMN, XMI, etc. It offers complete toolset software development > teams need for requirements capturing, software planning, test > planning, class modeling, data modeling, and etc. > > The application provides the community edition with a 30-days > free trial for non-commercial use. > > PR: 183723 > Submitted by: fernando.apesteguia@gmail.com > > Changes: > head/devel/Makefile > head/devel/visualparadigm/ > head/devel/visualparadigm/Makefile > head/devel/visualparadigm/distinfo > head/devel/visualparadigm/pkg-descr > head/devel/visualparadigm/pkg-message > head/devel/visualparadigm/pkg-plist Great news! Just one minor thing: being the port the community edition, it is limited in the number of diagrams open at the same time, but it is not limited to 30 days evaluation (that's for the pro edition). From the web: Q :What are the limitations of the free edition - Visual Paradigm Community Edition? A : The Community Edition is only available for non-commercial use. It allows a maximum of one diagram per diagram type in each project, and all the diagrams and documentations generated from the Community Edition will show a small Visual Paradigm logo at the top left corner. Should I file a PR for this change? Thanks!
A commit references this bug: Author: pi Date: Sun Jul 27 11:02:09 UTC 2014 New revision: 363044 URL: http://svnweb.freebsd.org/changeset/ports/363044 Log: devel/visualparadigm: fix pkg-descr of community edition PR: 183723 Submitted by: fernando.apesteguia@gmail.com Changes: head/devel/visualparadigm/pkg-descr
Not needed, I just fixed it in this PR. Thanks for the note.