ralphy wrote: > I'd be happy to host the updated MacOS softsqueeze with the other > softsqueeze packages on both sites.
Hi Ralphy, Here is some info about the recent build I completed. To summarise: I built the most recent source I could find, on an OS X 10.11.6 (El Capitan) machine using Oracle's Java 10 and ant (both installed via Homebrew). In addition, I updated 'lib JSch' (http://www.jcraft.com/jsch/README) to fix a problem with the SSH tunnel feature which was no longer working. The issue was the older library (jsch-20040429.jar) did not understand newer key exchange protocols (kex) and so was failing to connect to modern ssh servers (see refs '*1' (https://stackoverflow.com/questions/6263630/jschexception-algorithm-negotiation-fail), '*2' (https://stackoverflow.com/questions/47648807/getting-algorithm-negotiation-fail-while-trying-to-connect-to-sftp-server-using)). So I updated lib JSch to version *jsch-0.1.54.jar*. Finally, I bundled in the Java MP3 Plugin *'mp3plugin.jar' (http://softsqueeze.sourceforge.net/javamp3plugin.html)* (in frustration) because I couldn't find any way to get it to be picked up by the new Java 10 framework, no matter what I tried with classpaths etc. So the version of SoftSqueeze I built has the Java MP3 Plugin module bundled in. This may or may not still be a licensing issue? I started by pulling down the source via: Code: -------------------- cvs -z3 -d:pserver:[email protected]:/cvsroot/softsqueeze co -P softsqueeze3 -------------------- I'm not sure what version this corresponds to, perhaps it's softsqueeze-3.9b2? Then: - *jsch-0.1.54.jar* was copied into *softsqueeze3/lib* and *jsch-20040429.jar* was deleted - *mp3plugin.jar* was copied into *softsqueeze3/lib* - *softsqueeze3/.classpath* was edited to update refs to lib JSch (patch file attached) - *softsqueeze3/build.xml* was edited to update refs to lib JSch, set a build version number (5, chosen at random), and bundle in *mp3plugin.jar* (patch file attached) I then built it as follows: Code: -------------------- % cd ~/src/SoftSqueeze/SoftSqueeze-src/softsqueeze3 % export JAVA_HOME=`/usr/libexec/java_home -v 10` % export ANT_HOME="/usr/local/Cellar/ant/1.10.5/libexec % PATH=$ANT_HOME/bin:$JAVA_HOME/bin:$PATH % ant init media [ ] -------------------- Notes: * used Java 10 b/c javapackager tool is not available in Java 11 (WTF?!) * ant finishes with an error due to missing install4j, its ok to ignore * ant creates (among many other things) *media/softsqueeze_5.0.zip* Code: -------------------- % unzip media/softsqueeze_5.0.zip -d media/softsqueeze_5.0 [...] % cd media/softsqueeze_5.0 % which javapackager /Library/Java/JavaVirtualMachines/jdk-10.0.2.jdk/Contents/Home/bin/javapackager % javapackager -version Java Packager version 10.0.2 -------------------- To make the installable PKG: Code: -------------------- % javapackager -deploy -native pkg -name SoftSqueezeNicoBuild -BappVersion=5.0 -Bicon=/Applications/Softsqueeze.app/Contents/Resources/app.icns -srcdir . -appclass org.titmuss.softsqueeze.Application -outdir .. -v % ls -l ../*.pkg -rw-r--r-- 1 Nico staff 74921027 Oct 19 11:02 ../SoftSqueezeNicoBuild-5.0.pkg -------------------- 25821 25820 To make the DMG: Code: -------------------- % javapackager -deploy -native dmg -name SoftSqueezeNicoBuild -BappVersion=5.0 -Bicon=/Applications/Softsqueeze.app/Contents/Resources/app.icns -srcdir . -appclass org.titmuss.softsqueeze.Application -outdir .. -v % ls -l ../*.dmg -rw-r--r--@ 1 Nico staff 84022439 Oct 19 11:18 ../SoftSqueezeNicoBuild-5.0.dmg -------------------- 25822 25823 Notes: - The *-Bicon* option points to the original iconset that was part of the original installed version of SoftSqueeze (*app.icns*). - Obviously we should choose more universal values for the ant build number and final application name :) Please make whatever suggestions you think are appropriate. Cheers, Nico Patch files: 25824 +-------------------------------------------------------------------+ |Filename: build.xml.patch | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=25824| +-------------------------------------------------------------------+ ------------------------------------------------------------------------ nico's Profile: http://forums.slimdevices.com/member.php?userid=672 View this thread: http://forums.slimdevices.com/showthread.php?t=109593
_______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
