]> git.decadent.org.uk Git - ion3.git/blob - debian/patches/299_rename.diff
Renamed directories and changed messages to refer to ParticleMan.
[ion3.git] / debian / patches / 299_rename.diff
1 --- particleman.orig/ion/Makefile
2 +++ particleman/ion/Makefile
3 @@ -58,4 +58,4 @@
4  
5  _install:
6         $(INSTALLDIR) $(BINDIR)
7 -       $(INSTALL) -m $(BIN_MODE) ion3 $(BINDIR)
8 +       $(INSTALL) -m $(BIN_MODE) ion3 $(BINDIR)/particleman
9 --- particleman.orig/system.mk
10 +++ particleman/system.mk
11 @@ -21,9 +21,9 @@
12  # Manual pages
13  MANDIR=$(PREFIX)/share/man
14  # Some documents
15 -DOCDIR=$(PREFIX)/share/doc/ion3
16 +DOCDIR=$(PREFIX)/share/doc/particleman
17  # Nothing at the moment
18 -INCDIR=$(PREFIX)/include/ion3
19 +INCDIR=$(PREFIX)/include/particleman
20  # Nothing at the moment
21  LIBDIR=$(PREFIX)/lib
22  # Modules
23 @@ -33,7 +33,7 @@
24  # ion-completefile (does not belong in SHAREDIR being a binary file)
25  EXTRABINDIR=$(LIBDIR)/ion3
26  # For ion-completeman system-wide cache
27 -VARDIR=/var/cache/ion3
28 +VARDIR=/var/cache/particleman
29  # Message catalogs
30  LOCALEDIR=$(PREFIX)/share/locale
31  
32 --- particleman.orig/man/Makefile
33 +++ particleman/man/Makefile
34 @@ -58,11 +58,11 @@
35  
36  _install:
37         $(INSTALLDIR) $(MANDIR)/man1
38 -       $(INSTALL) -m $(DATA_MODE) ion3.1 $(MANDIR)/man1
39 +       $(INSTALL) -m $(DATA_MODE) ion3.1 $(MANDIR)/man1/particleman.1
40         $(INSTALL) -m $(DATA_MODE) pwm3.1 $(MANDIR)/man1
41         for tr in $(TRANSLATIONS); do \
42                 $(INSTALLDIR) $(MANDIR)/$$tr/man1 ; \
43 -               $(INSTALL) -m $(DATA_MODE) ion3.$$tr.1 $(MANDIR)/$$tr/man1/ion3.1 ; \
44 +               $(INSTALL) -m $(DATA_MODE) ion3.$$tr.1 $(MANDIR)/$$tr/man1/particleman.1 ; \
45                 $(INSTALL) -m $(DATA_MODE) pwm3.$$tr.1 $(MANDIR)/$$tr/man1/pwm3.1 ; \
46         done
47         $(INSTALLDIR) $(SHAREDIR)
48 --- particleman.orig/man/ion3.cs.in
49 +++ particleman/man/ion3.cs.in
50 @@ -1,12 +1,12 @@
51 -.TH ION 1
52 +.TH PARTICLEMAN 1
53  .SH NÁZEV
54 -Ion - správce oken systému X11
55 +ParticleMan - správce oken systému X11
56  .SH PØEHLED
57 -.B ion3
58 +.B particleman
59  .I "[volby]"
60  .SH "POPIS"
61  
62 -Ion je dla¾dicový správce oken se zálo¾kami navr¾ený pro klávesnicové u¾ivatele.
63 +ParticleMan je dla¾dicový správce oken se zálo¾kami navr¾ený pro klávesnicové u¾ivatele.
64  
65  .SH "VOLBY"
66  .TP
67 --- particleman.orig/man/ion3.fi.in
68 +++ particleman/man/ion3.fi.in
69 @@ -1,12 +1,12 @@
70 -.TH ION 1
71 +.TH PARTICLEMAN 1
72  .SH NIMI
73 -Ion - X11 ikkunanhallintaohjelma
74 +ParticleMan - X11 ikkunanhallintaohjelma
75  .SH SELOSTE
76 -.B ion3
77 +.B particleman
78  .I "[valinnat]"
79  .SH "KUVAUS"
80  
81 -Ion on näppäimistökäyttäjiä silmälläpitäen suunniteltu laatoitusta ja 
82 +ParticleMan on näppäimistökäyttäjiä silmälläpitäen suunniteltu laatoitusta ja 
83  välilehtiä hyödyntävä ikkunanhallintaohjelma X11:lle.
84   
85  .SH "VALINNAT"
86 --- particleman.orig/man/ion3.in
87 +++ particleman/man/ion3.in
88 @@ -1,12 +1,13 @@
89 -.TH ION 1
90 +.TH PARTICLEMAN 1
91  .SH NAME
92 -Ion - an X11 window manager
93 +ParticleMan - an X11 window manager
94  .SH SYNOPSIS
95 -.B ion3
96 +.B particleman
97  .I "[options]"
98  .SH "DESCRIPTION"
99  
100 -Ion is a tiling tabbed window manager designed with keyboard users in mind.
101 +ParticleMan is a free version of Ion3, a tiling tabbed window manager
102 +designed with keyboard users in mind.
103   
104  .SH "OPTIONS"
105  .TP
106 --- particleman.orig/README
107 +++ particleman/README
108 @@ -1,3 +1,12 @@
109 +ParticleMan
110 +===========
111 +
112 +ParticleMan is a derivative of Ion3 that has been renamed to comply
113 +with the Debian Free Software Guidelines.  It is not supported by the
114 +original author.  Please report bugs to the Debian bug tracking system
115 +and send any other queries to the Debian maintainer listed at
116 +<http://packages.qa.debian.org/p/particleman.html>.
117 +
118  
119  Ion
120  ===
121 --- particleman.orig/man/welcome.head
122 +++ particleman/man/welcome.head
123 @@ -1,17 +1,16 @@
124  
125 -Welcome to Ion!
126 +Welcome to ParticleMan!
127  
128 -If you have never used Ion before, it is highly recommended that you study 
129 -the Ion manual page before proceeding further. It is reproduced below, but 
130 -you can also access it later on, for example, by pressing <F1> and then 
131 -<Enter> or, by running 'man ion3' in a terminal. All this supposing that 
132 -you have installed Ion in a standard location so that the system commands
133 -can find the manual page.
134 -
135 -If you are too eager to try out Ion and against all recommendation want to
136 -skip reading the manual page, you should at least know that pressing <F2> 
137 -should start a terminal emulator (xterm) and that the main menu can be 
138 -accessed with <F12>.
139 +If you have never used ParticleMan or Ion before, it is highly
140 +recommended that you study the manual page before proceeding
141 +further. It is reproduced below, but you can also access it later on,
142 +for example, by pressing <F1> and then <Enter> or, by running
143 +'man particleman' in a terminal.
144 +
145 +If you are eager to try out ParticleMan and against all recommendation
146 +want to skip reading the manual page, you should at least know that
147 +pressing <F2> should start a terminal emulator and that the main menu
148 +can be accessed with <F12>.
149  
150  When you feel ready to write customized configuration files (you're going
151  to do that in any case), please see the configuration manual available in
152 --- particleman.orig/etc/cfg_ioncore.lua
153 +++ particleman/etc/cfg_ioncore.lua
154 @@ -149,8 +149,8 @@
155      bdoc("Query for manual page to be displayed."),
156      kpress(ALTMETA.."F1", "mod_query.query_man(_, ':man')"),
157  
158 -    bdoc("Show the Ion manual page."),
159 -    kpress(META.."F1", "ioncore.exec_on(_, ':man ion3')"),
160 +    bdoc("Show the ParticleMan manual page."),
161 +    kpress(META.."F1", "ioncore.exec_on(_, ':man particleman')"),
162  
163      bdoc("Run a terminal emulator."),
164      kpress(ALTMETA.."F2", "ioncore.exec_on(_, XTERM or 'x-terminal-emulator')"),
165 @@ -334,7 +334,7 @@
166      menuentry("Lock screen",
167                "ioncore.exec_on(_, ioncore.lookup_script('ion-lock'))"),
168      menuentry("Help",           "mod_query.query_man(_)"),
169 -    menuentry("About Ion",      "mod_query.show_about_ion(_)"),
170 +    menuentry("About ParticleMan", "mod_query.show_about_ion(_)"),
171      submenu("Styles",           "stylemenu"),
172      submenu("Debian",           "Debian"),
173      submenu("Session",          "sessionmenu"),
174 --- particleman.orig/ion/ion.c
175 +++ particleman/ion/ion.c
176 @@ -216,7 +216,7 @@
177                  efnam=NULL;
178              }else{
179                  cloexec_braindamage_fix(fileno(ef));
180 -                fprintf(ef, TR("Ion startup error log:\n"));
181 +                fprintf(ef, TR("ParticleMan startup error log:\n"));
182                  errorlog_begin_file(&el, ef);
183              }
184          }
185 --- particleman.orig/libextl/luaextl.c
186 +++ particleman/libextl/luaextl.c
187 @@ -2529,7 +2529,7 @@
188          return FALSE;
189      }
190      
191 -    fprintf(d.f, TR("-- This file has been generated by Ion. Do not edit.\n"));
192 +    fprintf(d.f, TR("-- This file has been generated by ParticleMan. Do not edit.\n"));
193      fprintf(d.f, "return ");
194      
195      ret=extl_cpcall(l_st, (ExtlCPCallFn*)extl_do_serialise, &d);
196 --- particleman.orig/mod_query/mod_query.lua
197 +++ particleman/mod_query/mod_query.lua
198 @@ -555,7 +555,7 @@
199  -- or close the session (running under a session manager that supports such
200  -- requests). If the answer is 'y', 'Y' or 'yes', so will happen.
201  function mod_query.query_shutdown(mplex)
202 -    mod_query.query_yesno(mplex, TR("Exit Ion/Shutdown session (y/n)?"),
203 +    mod_query.query_yesno(mplex, TR("Exit ParticleMan/Shutdown session (y/n)?"),
204                           ioncore.shutdown)
205  end
206  
207 @@ -564,7 +564,7 @@
208  -- This query asks whether the user wants restart Ioncore.
209  -- If the answer is 'y', 'Y' or 'yes', so will happen.
210  function mod_query.query_restart(mplex)
211 -    mod_query.query_yesno(mplex, TR("Restart Ion (y/n)?"), ioncore.restart)
212 +    mod_query.query_yesno(mplex, TR("Restart ParticleMan (y/n)?"), ioncore.restart)
213  end
214  
215