]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/ion/ion3/205_ion-lock.diff
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / ion / ion3 / 205_ion-lock.diff
1 --- ion-3ds-20041104.orig/mod_dock/README.dock  2003-12-23 21:13:07.000000000 +0000
2 +++ ion-3ds-20041104/mod_dock/README.dock       2004-12-05 15:52:30.000000000 +0000
3 @@ -7,19 +7,18 @@
4  
5  INTRODUCTION
6  
7 -       This module provides a dock for the Ion window manager. It is designed
8 -       to work with ion-devel-20031211.
9 +       This module provides a dock for the Ion window manager.
10  
11         Features:
12         - supports most dockapps
13         - configurable layout
14         - configurable dockapp order
15         - supports shaped dockapps
16 -       - uses ion-devel's drawing engine
17 +       - uses ion's drawing engine
18  
19  DEPENDENCIES
20  
21 -       ion-devel-20031211
22 +       ion3
23  
24  INSTALLATION
25  
26 @@ -32,19 +31,20 @@
27         3. Either run (as root)
28                 # make install
29            or (as yourself),
30 -               $ mkdir -p ~/.ion2/lib
31 -               $ cp .libs/dock.* ~/.ion2/lib
32 +               $ mkdir -p ~/.ion3/lib
33 +               $ cp .libs/dock.* ~/.ion3/lib
34  
35 -       4. Copy the configuration files to your ~/.ion2 directory:
36 -               $ cp dock.lua dock-draw.lua ~/.ion2 
37 +
38 +       4. Copy the configuration files to your ~/.ion3 directory:
39 +               $ cp dock.lua dock-draw.lua ~/.ion3
40            Edit dock.lua and dock-draw.lua to suit your preferences.
41  
42 -       5. Add load_module("dock") to ~/.ion2/ion.lua.
43 +       5. Add load_module("dock") to ~/.ion3/ion.lua.
44  
45 -       6. Add include("dock-draw.lua") near the end of ~/.ion2/draw.lua,
46 +       6. Add include("dock-draw.lua") near the end of ~/.ion3/draw.lua,
47            before gr_refresh().
48  
49 -       7. (Re)start ion-devel.
50 +       7. (Re)start ion3.
51  
52  CONFIGURATION
53  
54 @@ -53,7 +53,7 @@
55  KNOWN BUGS
56  
57         Not all dockapps dock. This is because dockapps use a variety of methods
58 -       to signal that they are dockapps and ion-devel-dock doesn't yet
59 +       to signal that they are dockapps and the dock doesn't yet
60         recognise all of them. If your favourite dockapp does not work then
61         please inform the author (email address at top of file).
62  
63 @@ -62,13 +62,13 @@
64         - gkrellm2 can have the wrong shape if it is started after the dock
65           module is loaded.
66  
67 -       - wmxmms needs a winprop{...}. See the example dock.lua. ion-devel
68 +       - wmxmms needs a winprop{...}. See the example dock.lua. Ion
69           complains: Client window "wmxmms" has broken transient_for hint.
70           ("Extended WM hints" multi-parent brain damage?).
71  
72  IMPLEMENTATION NOTES
73  
74 -       If you would like to help improve ion-devel-dock then the following
75 +       If you would like to help improve the dock then the following
76         notes might be useful.
77  
78         You should use folding in your editor when you edit/view the source
79 @@ -76,8 +76,8 @@
80         folds. VIM and Emacs both support folding.
81  
82         Dockapps use a variety of methods to signal to the window manager that
83 -       they are a dockapp. ion-devel automatically detects some (see
84 -       manage_clientwin() in ioncore/clientwin.c), and ion-devel-dock detects
85 +       they are a dockapp. Ion automatically detects some (see
86 +       manage_clientwin() in ioncore/clientwin.c), and the dock detects
87         some others (see dock_clientwin_is_dockapp() in dock.c).  Adding more
88         dockapp types will require editing these functions and possibly writing
89         type-specific management code.
90 @@ -94,7 +94,7 @@
91         sequence of events is as follows:
92         1. gkrellm2 starts and gets added to the dock with is initial geom.
93         2. gkrellm2 grows as it loads plugins.
94 -       3. ion-devel-dock allocates more space to gkrellm2 and requests
95 +       3. The dock allocates more space to gkrellm2 and requests
96            gkrellm2's new shape, but gkrellm2 reports its old shape.
97         4. Further requests to gkrellm2 return is new (actual) shape, but by
98             now it's too late...
99 --- ion-3ds-20041104.orig/utils/Makefile        2004-08-02 03:31:27.000000000 +0000
100 +++ ion-3ds-20041104/utils/Makefile     2004-12-05 15:55:19.000000000 +0000
101 @@ -12,7 +12,7 @@
102  INSTALL_SUBDIRS=$(SUBDIRS)
103  
104  SHELLSCRIPTS = ion-edit ion-man ion-runinxterm ion-ssh ion-view \
105 -              ion-completeman
106 +              ion-completeman ion-lock
107  
108  TARGETS=ion-ssh ion-man ion-completeman
109  
110 --- ion-3ds-20041104.orig/utils/ion-lock        1970-01-01 00:00:00.000000000 +0000
111 +++ ion-3ds-20041104/utils/ion-lock     2004-12-05 15:55:55.000000000 +0000
112 @@ -0,0 +1,6 @@
113 +#!/bin/sh
114 +if xscreensaver-command -version >/dev/null 2>&1; then
115 +       exec xscreensaver-command -lock
116 +else
117 +       exec xlock
118 +fi