Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

[e2d16b]: Help / README Maximize Restore History

Download this file

README    80 lines (55 with data), 2.9 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
		Zero2Bundle
		Create self-contained app bundles from Zero Install
		by Thomas Leonard


BRIEF

Zero2Bundle takes a Zero Install feed and creates a self-contained ROX
application directory containing that program AND any libraries it requires.
This may be useful if you want to use the resulting bundle on a machine with
no Internet connection.

Note: normally, you would use AddApp rather than Zero2Bundle. AddApp creates
small launchers, which will download the application if required and store it
in the cache. AddApp launchers will automatically check for updates, run the
correct binary for different platforms, and share libraries. Zero2Bundle, by
contrast, copies the program and all required libraries into the created
directory.


INSTRUCTIONS

Find the URL for the program you want to run. For example, Edit's URL is:

	http://rox.sourceforge.net/2005/interfaces/Edit

1. Run Zero2Bundle and copy and paste the URL into the dialog box.
2. Click on Add.
3. If the system doesn't yet know about Edit, a box will pop up showing the
   newly-downloaded information about it and prompting you to choose which
   version you want (see http://0install.net/injector for details about this).
4. Click on Download.
5. A ROX savebox appears showing the application. Drag it into your Apps
   directory (or whereever you want it).

The application can then be run like any other normal ROX application.


LIMITATIONS

It always includes all dependencies in the bundle. You might only want some
of them. However, the extra ones are easily removed:

- Open the application directory (Shift+Click in ROX-Filer).

- Delete the sub-directory corresponding to the dependency you don't want.

- Remote the lines from the main AppRun file which refer to it. For example,
  to remove ROX-Lib from Edit, you'd delete these lines:

	if [ "x$PYTHONPATH" = x ]; then
	  PYTHONPATH="$APP_DIR/ROX-Lib2/ROX-Lib2/python"
	else
	  PYTHONPATH="$APP_DIR/ROX-Lib2/ROX-Lib2/python:$PYTHONPATH"
	fi
	export PYTHONPATH

CREDITS

The icon is just a recoloured and edited version of Geoff Youngs' 0install
icon.


CONDITIONS

This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.  See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place, Suite 330, Boston, MA  02111-1307  USA

Please report any bugs to the mailing list:

	http://rox.sourceforge.net/desktop/lists