when checking to see if functions.sh exists, use the full path.
Fixes issue 3888.
Probably makes issue 3887 redundant, but I'll do it anyway.
Change-Id: If196ea5f2dc74334058ee9b876f43bcef0414d9e
Reviewed-on: http://gerrit.dmdirc.com/1019
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com>
Reviewed-by: Chris Smith <chris@dmdirc.com>
Fixes issue 0003714: Installer doesn't close JRE download progress bar if bc isn't installed
Change-Id: I5b6e3d8839effdf872bad7bae34f376dfea1f844
Reviewed-on: http://gerrit.dmdirc.com/805
Reviewed-by: Chris Smith <chris@dmdirc.com>
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com>
Fixes issue 0003715: Installer now seems to spam binary data to console instead of showing a license
Change-Id: I5bbb6bbe43c08cd7d5d86c0d8cd7e9a190ce7deb
Reviewed-on: http://gerrit.dmdirc.com/803
Reviewed-by: Chris Smith <chris@dmdirc.com>
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com>
When installing the JRE, show a pulsating progress bar if possible (gnome) else just show a "Please wait..." rather than showing nothing. (Fixes issue 1742)
Change-Id: Icd1aac2972371880362d2938ff350af4182dba36
Reviewed-on: http://gerrit.dmdirc.com/561
Automatic-Compile: Chris Smith <chris@dmdirc.com>
Reviewed-by: Chris Smith <chris@dmdirc.com>
Added a sleep 1 to give progressbar.sh time to open the pipe.
Sun appear have changed the generated .bin for java installs, fix code to hax information them!
(The previous quick commit fixes issue 3505)
Fixes issue 3506
Fixes issue 3507
Fixes issue 3508
Change-Id: I9161df477409782995041ad12a96debf0bec4e6e
Reviewed-on: http://gerrit.dmdirc.com/494
Automatic-Compile: DMDirc Local Commits <devs-public@dmdirc.com>
Reviewed-by: Chris Smith <chris@dmdirc.com>
Also adds some code to attempt to counter-act any hanging caused by reading a pipe that hasn't been written to.
Change-Id: I9eb95e4f1779f09fdf1e69b66e0df4a23870a033
Reviewed-on: http://gerrit.dmdirc.com/420
Tested-by: Shane Mc Cormack <shane@dmdirc.com>
Reviewed-by: Chris Smith <chris@dmdirc.com>
Remove references to git from build scripts and the like.
Would appreviate a full review of this to make sure I didn't miss anything or delete the wrong stuff!
Change-Id: Iff32442f0fe317955f5122ced3d6cf95c4436982
Reviewed-on: http://gerrit.dmdirc.com/238
Reviewed-by: Gregory Holmes <greboid@dmdirc.com>
Tested-by: Gregory Holmes <greboid@dmdirc.com>
Reviewed-by: Chris Smith <chris@dmdirc.com>
UpdateCopyright.sh now works out the year automatically.
UpdateCopyright.sh now ignores .git aswell as .svn
UpdateCopyright.sh now excludes Binary Files from being matched during the initial search, rather than as an afterthought.
Change-Id: I2cfc56851a4217a4c85cbc7361c7a90421aae717
Reviewed-on: http://gerrit.dmdirc.com/202
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com>
Tested-by: Shane Mc Cormack <shane@dmdirc.com>
makeInstallerLinux.sh now no longer deletes functions.sh when it finishes
makeInstallerLinux.sh now includes the contents of funtions.sh into the installer stub so that it can run...
Change-Id: I82e75bec7d98dc7f2d1f9fb06936f7e50cc939fd
Reviewed-on: http://gerrit.dmdirc.com/46
Reviewed-by: Gregory Holmes <greboid@dmdirc.com>
Tested-by: Gregory Holmes <greboid@dmdirc.com>
Move dialog functions into functions.sh rather than duplicating everywhere.
Dialog functions now try:
- kdialog if found and either kdeinit or kdeinit4 are running, or zenity is not found
- zenity if found
- dialog if found
- text-only (and question defaults to no, or a passed value)
Kinda fixes issue 3078 (if a dialog isn't shown, then kdialog, zenity and dialog are not installed, or user is not in an X session.)
Fixes issue 3042
Change-Id: I7678233a9e9af75bcf97d6b47ae925636334b2e3
Reviewed-on: http://gerrit.dmdirc.com/38
Reviewed-by: Gregory Holmes <greboid@dmdirc.com>
Tested-by: Gregory Holmes <greboid@dmdirc.com>
More work on installers to allow tagging as releases.
Fixes issue 2111
./release.sh = build a release of the current source tree (if the branch is not called master, then branch-branchname will be added to output files)
./release.sh -t 0.6 = build a release using the current source tree as a release copy of 0.6
itunes dll for windows now playing now supports StreamTitles (Fixes issue 1719)
FreeBSD 6 and 7 can now download and install a JRE. (Fixes issue 1722)
Launcher and Installer now source the ~/.profile file when looking for java.
Correct some java error messages in the installer
(All backported to 0.6 branch aswell)
git-svn-id: http://svn.dmdirc.com/trunk@462000569f92-eb28-0410-84fd-f71c24880f
Use --help to check if java is the right version (like the launcher), rather than just running the installer and moaning if it exits with non 0.
Fixes issue 1479
git-svn-id: http://svn.dmdirc.com/trunk@445500569f92-eb28-0410-84fd-f71c24880f
Rather than using an include to modify the path when the main installer resumes, create a symlink to the newly installed java binary and use that
git-svn-id: http://svn.dmdirc.com/trunk@424300569f92-eb28-0410-84fd-f71c24880f
Try to use "md5" binary not md5sum if md5sum can't be found.
installerStub now allows BSD Style md5sum to work (don't use - param)
Offer to continue install anyway if MD5 not found in file, or unable to be calculated (no md5sum)
git-svn-id: http://svn.dmdirc.com/trunk@423300569f92-eb28-0410-84fd-f71c24880f
Show download size better (use `bc` to convert from bytes to nice values)
Work with fetch/curl if wget isn't available. (BSD/OSX - Altho this script shouldn't be used on the latter, and there is no java6 download for the former at present)
git-svn-id: http://svn.dmdirc.com/trunk@423100569f92-eb28-0410-84fd-f71c24880f
Lotsa changes to the linux installer to make it also run on OpenSolaris (and possibly normal solaris aswell, I don't have gui access to a normal solaris machine from here will try when I go back to uni)