Tags: hyphanet/java_installer
Tags
Installer changes: Merge from mrsteveman1 changes to OS/X tray applet: - Install the system tray applet on OS/X. - Improve the system tray applet, comments and code changes. - New binary for mac system tray applet. - Minor change to files location on mac.
Various improvements since last time. Some to deal with changes to pl… …ugins, node code, and project infrastructure; better new update.cmd from wininstaller; memory autodetection; remove bashism's. Unix/Mac Installer: Since last tag: Mac tray app (v1.1): - License update, clarify that it is definitely GPL2+. - Add an about panel. - Update readme. Plugins: - Library not XMLLibrarian. Memory autodetection: - Automatically configures memory limit on linux. - Disabled on mac for now. File locations: - Use http://checksums or https://checksums. Do not use downloads, it is deprecated. Wrapper config: - Tell JVM to prefer IPv4. May fix debian squeeze IPv6 issues, may also help with FreeBSD. README: - Document how to uninstall and how to remove autostart. Misc: - Make sure we include sha1test.jar in the offline bundle. - Use curl rather than wget in update.sh if possible. Handles SSL alternate names extension, wget doesn't. More bashisms etc: - Replace tr -d "[:blank:]" with the obvious alternative, no longer works for me on debian. Recent stuff since last deployment: - Update Windows update.cmd script. Should not be used except in rare cases when the user is desperate and the wininstaller doesn't work. Main changes: -- Warn the user about accessing non-anonymous servers. -- Auto-fix freenet.ini -> freenet.ini.tmp bug. -- Don't use -c in wget. -- Add comments. -- Better error handling, especially for updating the various helper file. -- Enable checking for updates for the tray utility. -- Program flow changes / rename labels. -- Show a summary of what worked and what didn't. - Fix bash-isms - use of [[ and ==. toad mrsteveman1
Many changes since svn-import: Fix auto-start on OS/X, new system tra… …y applet on OS/X (see below), other updates. Mac/*nix installer: Add the system tray icon applet on OS/X (working but not yet actually installed): ** I am really not qualified to review this code, it doesn't look hostile, but caveat emptor. We are however shipping it. Some of it is Apple code in C, some of it is ObjectiveC. - This is not "wired in". The installer does not copy the file, and does not run it. It will in the near future do this. If the applet is run, it will install itself to login items so it comes up on startup. - Apple code (LoginItemsAE.h/.c) from http://developer.apple.com/mac/library/samplecode/LoginItemsAE/index.html - Wrapper code from http://github.com/xpaulbettsx/zapped/raw/66619b4215eb05dbef152f41acebf0bb162832ca/osx/UKLoginItemRegistry.h / .m - Tray applet for OS/X. Binary is checked in since hard to build on non-mac. - Keep .pbxuser and .mode1v3 (mac xcode build files) out of the tree in gitignore. - Source code for OS/X tray applet is checked in. Project file is largely a list of UIDs so hard to read! Tray applet is written in ObjectiveC. Is GPL2 but uses some other code which appears GPL2 compatible. - It requires Xcode. It has been tested on 32-bit Snow Leopard, Leopard, and should run on 10.4 as well. - It needs to know where freenet is installed, this is configurable but the installer will set it up. It installs a loginitem to run itself. - controllerLogic.* is original code. Other changes since svn-import: - update.cmd updates. Note that the java-based installer doesn't work on Vista/Win7 due to UAC. - On OS/X, add a launch agent item for autostart on login, fixes autostart on OS/X. Don't use cron, which doesn't work on Mac. - Don't ask the user about auto-update and plugins, since we ask in the wizard now. - Add build-all.sh script to easily build installer. - Add a gitignore. - Update version. - Add comments about memory usage in wrapper.conf. - Update OS/X wrapper binaries. - Fix run.sh on Mac OS/X, don't kill the node just because no /proc. - Don't show the uninstall survey. - Fix detection of older macs. - Fix bashisms. - Delete ancient NPTL cruft. mrsteveman1 juiceman toad
Essential fix: XMLLibrarian -> Library (cherry picked from branch, 12… …38 was released from branch)
Imported from SVN. Content not inspected, this is good if 1) servalan… … is not compromised, and 2) the SVN repository export is clean. SVN repository export checksum 5417c7f26fc5baeb9fa2186194f70f00d2470d924a98c03f21561c4020f32538. Import run locally (on servalan) using sdiz's script: http://gist.github.com/92526 . This had to be restarted due to version problems and thus some very minor modifications were needed. Contrib was imported whole using the trivial function, rather than in many repo's.