]> git.decadent.org.uk Git - ion3.git/blob - debian/patches/299_rename.diff
Add 20071109-1.
[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 @@ -149,7 +149,7 @@
177  
178      libtu_init(argv[0]);
179  
180 -    if(!ioncore_init("ion3", argc, argv, LOCALEDIR))
181 +    if(!ioncore_init("particleman", argc, argv, LOCALEDIR))
182          return EXIT_FAILURE;
183  
184      extl_add_searchdir(EXTRABINDIR); /* ion-completefile */
185 @@ -187,9 +187,17 @@
186          case 'h':
187              help();
188              return EXIT_SUCCESS;
189 -        case 'V':
190 +        case 'V': {
191 +           char *command;
192 +           if ((command = strrchr(argv[0], '/')))
193 +               ++command;
194 +           else
195 +               command = argv[0];
196 +           if (strcmp(command, "ion3") == 0)
197 +               fputs("ParticleMan called as ion3\n", stderr);
198              printf("%s\n", ION_VERSION);
199              return EXIT_SUCCESS;
200 +       }
201          case OPT_ID('a'):
202              printf("%s\n", ioncore_aboutmsg());
203              return EXIT_SUCCESS;
204 @@ -216,7 +224,7 @@
205                  efnam=NULL;
206              }else{
207                  cloexec_braindamage_fix(fileno(ef));
208 -                fprintf(ef, TR("Ion startup error log:\n"));
209 +                fprintf(ef, TR("ParticleMan startup error log:\n"));
210                  errorlog_begin_file(&el, ef);
211              }
212          }
213 --- particleman.orig/libextl/luaextl.c
214 +++ particleman/libextl/luaextl.c
215 @@ -2529,7 +2529,7 @@
216          return FALSE;
217      }
218      
219 -    fprintf(d.f, TR("-- This file has been generated by Ion. Do not edit.\n"));
220 +    fprintf(d.f, TR("-- This file has been generated by ParticleMan. Do not edit.\n"));
221      fprintf(d.f, "return ");
222      
223      ret=extl_cpcall(l_st, (ExtlCPCallFn*)extl_do_serialise, &d);
224 --- particleman.orig/mod_query/mod_query.lua
225 +++ particleman/mod_query/mod_query.lua
226 @@ -556,7 +556,7 @@
227  -- or close the session (running under a session manager that supports such
228  -- requests). If the answer is 'y', 'Y' or 'yes', so will happen.
229  function mod_query.query_shutdown(mplex)
230 -    mod_query.query_yesno(mplex, TR("Exit Ion/Shutdown session (y/n)?"),
231 +    mod_query.query_yesno(mplex, TR("Exit ParticleMan/Shutdown session (y/n)?"),
232                           ioncore.shutdown)
233  end
234  
235 @@ -565,7 +565,7 @@
236  -- This query asks whether the user wants restart Ioncore.
237  -- If the answer is 'y', 'Y' or 'yes', so will happen.
238  function mod_query.query_restart(mplex)
239 -    mod_query.query_yesno(mplex, TR("Restart Ion (y/n)?"), ioncore.restart)
240 +    mod_query.query_yesno(mplex, TR("Restart ParticleMan (y/n)?"), ioncore.restart)
241  end
242  
243  
244 --- particleman.orig/ioncore/ioncore.c
245 +++ particleman/ioncore/ioncore.c
246 @@ -70,17 +70,18 @@
247  
248  WGlobal ioncore_g;
249  
250 -static const char *progname="ion";
251 +static const char *progname="particleman";
252  
253  static const char ioncore_copy[]=
254 -    "Ion " ION_VERSION ", copyright (c) Tuomo Valkonen 1999-2007.";
255 +    "ParticleMan, derived from Ion " ION_VERSION ".\n"
256 +    "Copyright (c) Tuomo Valkonen 1999-2007.";
257  
258  static const char ioncore_license[]=DUMMY_TR(
259 -    "This software is essentially licensed under the GNU Lesser General\n"
260 -    "Public License (LGPL), version 2.1, unless otherwise indicated in\n"
261 -    "components taken from elsewhere. Additional terms apply to the use\n"
262 -    "of the name of the project, Ion(tm). For details, see the file\n"
263 -    "LICENSE that you should have received with this software.\n"
264 +    "This software is licensed under the GNU Lesser General Public\n"
265 +    "License (LGPL), version 2.1, unless otherwise indicated in\n"
266 +    "components taken from elsewhere. Additional terms apply to the\n"
267 +    "use of the original name, Ion. For details, see the file\n"
268 +    "/usr/share/doc/particleman/copyright.\n"
269      "\n"
270      "This program is distributed in the hope that it will be useful,\n"
271      "but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
272 --- particleman.orig/ioncore/saveload.c
273 +++ particleman/ioncore/saveload.c
274 @@ -200,8 +200,8 @@
275  "%s.\n"
276  "If you are _not_ running under a session manager and wish to restore your\n"
277  "old layout, copy this backup file over the layout savefile found in the\n"
278 -"same directory while Ion is not running and after having fixed your other\n"
279 -"configuration files that are causing this problem. (Maybe a missing\n"
280 +"same directory while ParticleMan is not running and after having fixed your\n"
281 +"other configuration files that are causing this problem. (Maybe a missing\n"
282  "module?)");
283  
284  
285 --- particleman.orig/man/welcome.cs.head
286 +++ particleman/man/welcome.cs.head
287 @@ -5,7 +5,7 @@
288  prostudovat si pøed pokraèováním jeho manuálovou stránku. Kopii
289  manuálové stránky naleznete ní¾e, ale mù¾ete se k ní kdykoliv vrátit
290  napøíklad stiskem klávesy <F1> následované klávesou <Enter>, nebo
291 -v terminálu spu¹tìním pøíkazu 'man ion3'. (Pøedpokládáme, ¾e jste
292 +v terminálu spu¹tìním pøíkazu 'man particleman'. (Pøedpokládáme, ¾e jste
293  Ion nainstalovali standardním zpùsobem a ¾e systémové pøíkazy ví, kde
294  naleznou manuálovou stránku.)
295  
296 --- particleman.orig/man/welcome.fi.head
297 +++ particleman/man/welcome.fi.head
298 @@ -4,7 +4,7 @@
299  Jos et ole käyttänyt Ionia aiemmin, on hyvin suotiteltavaa, että opiskelet
300  Ionin ohjesivun ennen kuin jatkat tätä pidemmälle. Se on toistettu alla,
301  mutta voit aukaista sen myös myöhemmin painamalla <F1> ja <Enter>, tai
302 -suorittamalla 'man ion3' komentoriviltä. (Tämä toimii sillä oletuksella,
303 +suorittamalla 'man particleman' komentoriviltä. (Tämä toimii sillä oletuksella,
304  että olet asentanut Ionin järjestelmässäsi sellaiseen vakiosijaintin, 
305  mistä sen työkalut osaavat hakea ohjesivuja.)
306