#424 closed task (fixed)
Add windows and mac installers to the LiveDVD
Reported by: | camerons | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | OSGeoLive | Keywords: | |
Cc: | timlinux, neteler, Jeff McKenna, live-demo@…, kyngchaos, springmeyer |
Description (last modified by )
Previous Arramagong Live DVD releases have had windows installers on them, which allow users to copy GIS applications onto their windows computer.
What we need is a script to copy these installers from (what location).
It is proposed that the following packages be included:
http://download.osgeo.org/qgis/win32/QGIS-1.2.0-0-No-GrassSetup.exe http://home.gdal.org/tmp/vcredist_x86.exe http://grass.osgeo.org/grass64/binary/mswindows/native/WinGRASS-6.4.0RC5-1-Setup.exe http://maptools.org/dl/ms4w/ms4w_3.0_beta7.zip
Change History (23)
comment:1 by , 15 years ago
Cc: | added |
---|---|
Description: | modified (diff) |
Owner: | changed from | to
comment:3 by , 15 years ago
These are the win installers for gvSIG 1.9rc1
comment:5 by , 15 years ago
Cc: | added |
---|
adding William to the cc list, as OSX issues will be pretty much the same. (hope you don't mind :)
comment:6 by , 15 years ago
Cameron wrote:
I'd love it if someone could work out the process for adding a directory to an ISO image, either by using an option in remastersys (preferred option) or retrospectively afterwards.
It is my understanding that an ISO image is a complete filesystem and as such can not be edited in place or appended to.
The method for adding content is thus:
- mount the ISO as a read-only filesystem.
You can do this as root with
mount -t iso9660 -o loop cdrom.iso /mnt/point/
or as a regular user with
fuseiso -p cdrom.iso /mnt/point.$$ # to unmount: fusermount -u /mnt/point.$$
- once mounted
cp -r
the whole thing (perhapstar | tar
to preserve attributes??) over to a dir on your regular filesystem.
- then add the extra files to your local copy.
- finally use mkisofs to create a new ISO.
caveat: I've never tried this and I don't know how well it works or if it works at all. treat as a random web search hit.
Hamish
comment:7 by , 15 years ago
It's way easier than that, see my email http://n2.nabble.com/Adding-Windows-Mac-installers-tt3709629.html#a3709629
Low down, drop the files into the ISOTMP folder that remastersys uses before you run it and everything in there gets on the disc.
comment:8 by , 15 years ago
Summary: | Add windows installers to the LiveDVD → Add windows and mac installers to the LiveDVD |
---|
A list of windows installers is at: https://@svn.osgeo.org/osgeo/livedvd/gisvm/trunk/bin/load_win_installers.sh
If someone wants to create a similar script for mac installers, then we can try adding them to 2.0beta5.
comment:9 by , 15 years ago
Is it possible to specify an organization of files and subfolders? For my OSX packages, it would be good to rename and organize installers to specify an order of installation. (I guess with this wget method it's not possible to extract the installers off the disk images.) From an email offlist when I was brought into the loop (a bit different now that I have Snow Leopard installers - all Leopard + Snow):
1 Base Packages (Frameworks) 1_UnixImageIO_Framework-1.0.32a.dmg (UnixImageIO_Framework-1.0.32a.dmg) 2_PROJ_Framework-4.6.1-4.dmg (PROJ_Framework-4.6.1-4.dmg) 3_GEOS_Framework-3.1.1-4.dmg (GEOS_Framework-3.1.1-4.dmg) 4_SQLite3_Framework-3.6.17-3.dmg (SQLite3_Framework-3.6.17-3.dmg) 5_spatialite_tools-2.3.1.zip (spatialite_tools-2.3.1.zip) 6_FreeType_Framework-2.3.9-2.dmg (FreeType_Framework-2.3.9-2.dmg) 7_GDAL_Framework-1.6.2-3.dmg (GDAL_Framework-1.6.2-3.dmg) 8_rgdal-0.6.12-1.zip (rgdal-0.6.12-1.zip) 2 Support Packages PHP5-5.2.10-3.dmg PostgreSQL-8.3.8-1.dmg 3 End-User Packages GRASS-6.4-RC5-3-Leo.dmg GRASS-6.4-RC5-2-Snow.dmg MapServer-5.4.2-2.dmg pgRouting-1.0.3-3(PG8.3).dmg PostGIS-1.4.0-4(PG8.3).dmg Qgis-1.3.0-1-Leopard.dmg Qgis-1.3.0-2-Snow.dmg
(all URLs base: http://www.kyngchaos.com/files/software/unixport/)
The frameworks especially need that specific order. The support and end-user packages don't need renaming.
comment:10 by , 15 years ago
Cc: | added |
---|
William, Thats a good idea. As well perhaps a single script to install them all in the right order could be provided (maybe wrapped in an applescript clickable icon) ?
I frequently stitch together something like this to batch install your frameworks:
mkdir scratch cd scratch curl -O http://www.kyngchaos.com/files/software/unixport/PROJ_Framework-4.6.1-3.dmg hdiutil attach PROJ_Framework-4.6.1-3.dmg sudo installer -pkg /Volumes/*/*.mpkg -target "/" hdiutil detach /Volumes/PROJ* curl -O http://www.kyngchaos.com/files/software/unixport/GEOS_Framework-3.1.1-2.dmg hdiutil attach GEOS_Framework-3.1.1-2.dmg sudo installer -pkg /Volumes/*/*.mpkg -target "/" hdiutil detach /Volumes/GEOS* curl -O http://www.kyngchaos.com/files/software/unixport/UnixImageIO_Framework-1.0.31.dmg hdiutil attach UnixImageIO_Framework-1.0.31.dmg sudo installer -pkg /Volumes/*/*.mpkg -target "/" hdiutil detach /Volumes/Unix* curl -O http://www.kyngchaos.com/files/software/unixport/SQLite3_Framework-3.6.16-1.dmg hdiutil attach SQLite3_Framework-3.6.16-1.dmg sudo installer -pkg /Volumes/*/*.mpkg -target "/" hdiutil detach /Volumes/SQ* curl -O http://www.kyngchaos.com/files/software/unixport/GDAL_Framework-1.6.1-8.dmg hdiutil attach GDAL_Framework-1.6.1-8.dmg sudo installer -pkg /Volumes/*/*.mpkg -target "/" hdiutil detach /Volumes/GDAL* # We're going to install the full server here, but you could install just the 'PostgreSQL client' curl -O http://www.kyngchaos.com/files/software/unixport/PostgreSQL-8.3.7-1.dmg hdiutil attach PostgreSQL-8.3.7-1.dmg sudo installer -pkg /Volumes/*/*.mpkg -target "/" hdiutil detach /Volumes/Postgr* curl -O http://www.kyngchaos.com/files/software/unixport/PostGIS-1.3.6-1.dmg hdiutil attach PostGIS-1.3.6-1.dmg sudo installer -pkg /Volumes/*/*.mpkg -target "/" hdiutil detach /Volumes/PostGIS*
comment:11 by , 15 years ago
I think the numbering should be enough. I'm thinking of remaking the old all-frameworks installer as a GDAL complete or similar name (FreeType would remain a single installer). But I don't think I'll be able to do that in time for this live DVD.
Note that your /Volumes/*/*.mpkg usage is potentially dangerous as it will run the installers on (the top level) any mounted disks.
comment:13 by , 15 years ago
Mac installer download script added as:
All wget downloads seemingly received ok 'cept for qgis-snow.
total disk use: 305 mb
@ ~ 100K/s = 51 minutes (may want to run it concurrently!)
only problem I see is that Qgis-1.3.0-2-Snow.dmg is only 6000 bytes!
?? I'm not sure if wget -c works with -O ??
Hamish
comment:14 by , 15 years ago
William wrote:
From an email offlist when I was brought into the loop (a bit different now that I have Snow Leopard installers - all Leopard + Snow):
is the above list not up to date? which packages?
thanks, Hamish
comment:15 by , 15 years ago
qgis-1.3 snow:
This topic does not exist yet
You've followed a link to a topic that doesn't exist yet. If permissions allow, you may create it by using the Create this page button.
comment:16 by , 15 years ago
I think I changed the wrong URL when updating for a new standalone Qgis package. Fixed now for Snow - it should be "Qgis-1.3.0-1-Snow.dmg".
is the above list not up to date? which packages?
The list is up to date. It's just that when I first emailed the list I hadn't updated for Snow Leopard yet.
comment:17 by , 15 years ago
Files end up on ISO in the top level now, and the folder appear on at least windows can someone test to make sure it also shows up on a Mac. Also need to test that the installers work and there are adequate instructions.
follow-up: 19 comment:18 by , 15 years ago
Maybe I'm not doing something right - downloaded the beta5 iso (it was in two parts) and joined it. Mount image on OSX (no need to burn to DVD first). I see:
casper isolinux md5sum.txt preseed README.diskdefines
If I'm supposed to boot off the DVD to see the Mac files, then that is no good. I think most people looking for the OSX installers are going to pop the DVD in their Macs and expect to find the files right there (in a clearly marked folder). The only way booting from the DVD would work is if the system has HFS+ file system support so the installers can be copied to the Mac's HD.
comment:19 by , 15 years ago
Replying to kyngchaos:
Maybe I'm not doing something right
just a timing issue, beta5 is actually a couple of days old. The build currently in progress should include them.
They will be in a folder off the main root of the DVD called "MacInstallers". IIUC there should be the main index.html documentation explaining what the different programs are there as well.
regards, Hamish
comment:20 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:21 by , 15 years ago
Can we add a udig 1.2-M for the mac to this list.
http://udig.refractions.net/files/downloads/branches/udig-1.2-M6.macosx.cocoa.x86.zip
comment:22 by , 15 years ago
OK, finally got it downloaded. I see the Mac files now, a few random tests mounting disk images running installers checked OK.
Looks like the Udig zip got buggered - it's named "-O".
comment:23 by , 15 years ago
Yes, we we're aware and it was 1 of many fixes that went into 2.0.1 immediate bugfix release. svn was also updated to remove the offending extra -O
Please download the newest version.
I have taken the liberty of adding folks more knowledgable about the individual installers to indicate if they are the appropriate ones to provide.