tpp 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/tpp +1764 -0
- data/examples/ac-am.tpp +406 -0
- data/examples/align-footer.tpp +15 -0
- data/examples/bold.tpp +40 -0
- data/examples/colors.tpp +19 -0
- data/examples/colors2.tpp +24 -0
- data/examples/debian-packaging.tpp +802 -0
- data/examples/exec.tpp +9 -0
- data/examples/horline.tpp +6 -0
- data/examples/huge.tpp +22 -0
- data/examples/list.tpp +26 -0
- data/examples/manyslides.tpp +204 -0
- data/examples/shell.tpp +40 -0
- data/examples/slidein.tpp +51 -0
- data/examples/source.tpp +49 -0
- data/examples/test.tpp +17 -0
- data/examples/tpp-features.tpp +161 -0
- data/examples/wrap.tpp +20 -0
- metadata +98 -0
data/examples/colors.tpp
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
--author Nico Golde <nico@ngolde.de>
|
2
|
+
--heading Colortest
|
3
|
+
--bgcolor red
|
4
|
+
--newpage
|
5
|
+
--boldon
|
6
|
+
--color red
|
7
|
+
Hallo
|
8
|
+
--color white
|
9
|
+
das
|
10
|
+
--color green
|
11
|
+
ist
|
12
|
+
--color blue
|
13
|
+
ein
|
14
|
+
--color cyan
|
15
|
+
Test
|
16
|
+
--color magenta
|
17
|
+
mit
|
18
|
+
--color yellow
|
19
|
+
Farben
|
@@ -0,0 +1,24 @@
|
|
1
|
+
--fgcolor black
|
2
|
+
--bgcolor white
|
3
|
+
--title FG/BG tests
|
4
|
+
--author Andreas Krennmair
|
5
|
+
--date today
|
6
|
+
|
7
|
+
This is the abstract. Bla, bla.
|
8
|
+
--newpage
|
9
|
+
--heading bla bla bla
|
10
|
+
|
11
|
+
* bla
|
12
|
+
|
13
|
+
* bla
|
14
|
+
---
|
15
|
+
--beginslideleft
|
16
|
+
|
17
|
+
* bla
|
18
|
+
--endslideleft
|
19
|
+
--beginslidetop
|
20
|
+
|
21
|
+
* bla
|
22
|
+
--endslidetop
|
23
|
+
|
24
|
+
more bla bla bla.
|
@@ -0,0 +1,802 @@
|
|
1
|
+
--boldon
|
2
|
+
--center Debian GNU/Linux
|
3
|
+
--center Paketerstellung
|
4
|
+
--center am Beispiel von binclock
|
5
|
+
|
6
|
+
--author Nico Golde <nico@ngolde.de>
|
7
|
+
--boldoff
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
--center Berlinux
|
12
|
+
--center 22.+23. Okt 2004
|
13
|
+
|
14
|
+
|
15
|
+
--center http://www.ngolde.de
|
16
|
+
--fgcolor white
|
17
|
+
--bgcolor black
|
18
|
+
--boldoff
|
19
|
+
|
20
|
+
|
21
|
+
--newpage Inhalt
|
22
|
+
--boldon
|
23
|
+
--huge Inhalt
|
24
|
+
--ulon
|
25
|
+
--horline
|
26
|
+
--boldoff
|
27
|
+
--uloff
|
28
|
+
--boldon
|
29
|
+
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
- Gr�nde f�r die Erstellung von Paketen
|
34
|
+
|
35
|
+
- Ben�tigte Software
|
36
|
+
|
37
|
+
- Vorbereitung
|
38
|
+
|
39
|
+
- Debian-Pakete
|
40
|
+
|
41
|
+
- Erstellung ben�tigter Dateien
|
42
|
+
|
43
|
+
- Konfiguration
|
44
|
+
|
45
|
+
- Build-Prozess
|
46
|
+
|
47
|
+
- Testen des Pakets
|
48
|
+
|
49
|
+
- Ver�ffentlichung:
|
50
|
+
Wie mache ich das Paket verf�gbar?
|
51
|
+
|
52
|
+
- Weitere Informationen
|
53
|
+
|
54
|
+
|
55
|
+
--newpage warum
|
56
|
+
--boldon
|
57
|
+
--huge Warum?
|
58
|
+
--ulon
|
59
|
+
--horline
|
60
|
+
--boldoff
|
61
|
+
--uloff
|
62
|
+
--boldon
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
- Eingliederung von Software in das Debian-Paketsystem
|
68
|
+
|
69
|
+
- Ziel: Offizieller Maintainer
|
70
|
+
|
71
|
+
- "NEU!" Das Programm war bisher nicht als Debian-Paket verf�gbar
|
72
|
+
|
73
|
+
- Erweiterung vorhandener Pakete, zB durch patches
|
74
|
+
oder zus�tzliche Konfigurationsdateien
|
75
|
+
|
76
|
+
- Cluster/Pool: Leichte De- und Installation
|
77
|
+
von Programmen auf mehreren Rechnern
|
78
|
+
|
79
|
+
- Aufl�sen von Abh�ngigkeiten und Konflikten
|
80
|
+
dem Paketsystem �berlassen k�nnen
|
81
|
+
|
82
|
+
- Eingliederung in das Men�system
|
83
|
+
|
84
|
+
--newpage software
|
85
|
+
--boldon
|
86
|
+
--huge Software
|
87
|
+
--ulon
|
88
|
+
--horline
|
89
|
+
--boldoff
|
90
|
+
--uloff
|
91
|
+
--boldon
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
- Compiler, Bibliotheken (Paket: build-essential)
|
97
|
+
|
98
|
+
- dpkg-dev (Hilfe beim Entpacken und Erstellen)
|
99
|
+
|
100
|
+
- debhelper
|
101
|
+
|
102
|
+
- lintian (Paket-Checker)
|
103
|
+
|
104
|
+
- patch, dpatch, automake, autoconf
|
105
|
+
|
106
|
+
|
107
|
+
--newpage Vorbereitung
|
108
|
+
--boldon
|
109
|
+
--huge Vorbereitung
|
110
|
+
--ulon
|
111
|
+
--horline
|
112
|
+
--boldoff
|
113
|
+
--uloff
|
114
|
+
--boldon
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
- Existieren schon Pakete?
|
119
|
+
-> packages.debian.org
|
120
|
+
|
121
|
+
- Kontakt zum Autor herstellen!
|
122
|
+
Interesse an einem Paket?
|
123
|
+
|
124
|
+
- Lizenzen �berpr�fen:
|
125
|
+
Ist das Programm auch frei?
|
126
|
+
aka "Kl�ren der Fakten"
|
127
|
+
-> Debian Free Software Guidelines (DFSG)
|
128
|
+
|
129
|
+
- Abh�ngigkeiten zu anderen Programmen pr�fen
|
130
|
+
|
131
|
+
- Kenntnis des Programms erforderlich!
|
132
|
+
|
133
|
+
- Format des Dateinamens:
|
134
|
+
paketname-version.tar.gz
|
135
|
+
|
136
|
+
|
137
|
+
--newpage paket
|
138
|
+
--boldon
|
139
|
+
--huge Pakete
|
140
|
+
--ulon
|
141
|
+
--horline
|
142
|
+
--boldoff
|
143
|
+
--uloff
|
144
|
+
--boldon
|
145
|
+
|
146
|
+
|
147
|
+
Inhalt:
|
148
|
+
--## --exec display paket.png
|
149
|
+
|
150
|
+
--beginoutput
|
151
|
+
Debian Paket:
|
152
|
+
(1) Quellpaket (Source Package)
|
153
|
+
- paket.orig.tar.gz ("source archive")
|
154
|
+
- paket.dsc ("description")
|
155
|
+
- paket.diff.gz ("differences")
|
156
|
+
|
157
|
+
(2) Bin�rpaket (.deb) (Binary Package)
|
158
|
+
--endoutput
|
159
|
+
|
160
|
+
- zu installierende Programme und Pfade
|
161
|
+
|
162
|
+
--newpage dateierstellung
|
163
|
+
--boldon
|
164
|
+
--huge Dateien - 1
|
165
|
+
--ulon
|
166
|
+
--horline
|
167
|
+
--boldoff
|
168
|
+
--uloff
|
169
|
+
--boldon
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
1. Entpacken der Quellen
|
174
|
+
---
|
175
|
+
--beginshelloutput
|
176
|
+
$ tar xvfz binclock-1.5.tar.gz
|
177
|
+
binclock-1.5/
|
178
|
+
binclock-1.5/CHANGELOG
|
179
|
+
binclock-1.5/COPYING
|
180
|
+
binclock-1.5/doc/
|
181
|
+
binclock-1.5/doc/binclock.1
|
182
|
+
binclock-1.5/src/
|
183
|
+
binclock-1.5/src/binclock.c
|
184
|
+
binclock-1.5/Makefile
|
185
|
+
binclock-1.5/README
|
186
|
+
binclock-1.5/INSTALL
|
187
|
+
binclock-1.5/binclockrc
|
188
|
+
--endshelloutput
|
189
|
+
|
190
|
+
2. Umbgebungsvariablen
|
191
|
+
---
|
192
|
+
|
193
|
+
--beginshelloutput
|
194
|
+
$ export DEBEMAIL="nico@ngolde.de"
|
195
|
+
--endshelloutput
|
196
|
+
--beginshelloutput
|
197
|
+
$ export DEBFULLNAME="Nico Golde"
|
198
|
+
--endshelloutput
|
199
|
+
|
200
|
+
--newpage dateien2
|
201
|
+
--boldon
|
202
|
+
--huge Dateien - 2
|
203
|
+
--ulon
|
204
|
+
--horline
|
205
|
+
--boldoff
|
206
|
+
--uloff
|
207
|
+
--boldon
|
208
|
+
|
209
|
+
|
210
|
+
|
211
|
+
---
|
212
|
+
--beginshelloutput
|
213
|
+
$ dh_make
|
214
|
+
Type of package: single binary, multiple \
|
215
|
+
binary, library, or kernel module? [s/m/l/k]
|
216
|
+
|
217
|
+
---
|
218
|
+
Maintainer name : Nico Golde
|
219
|
+
Email-Address : nico@ngolde.de
|
220
|
+
Date : Sat, 16 Oct 2004 01:00:14 +0200
|
221
|
+
Package Name : binclock
|
222
|
+
Version : 1.5
|
223
|
+
Type of Package : Single
|
224
|
+
Hit <enter> to confirm:
|
225
|
+
---
|
226
|
+
Done. Please edit the files in the debian/ subdirectory now.
|
227
|
+
You should also check that the binclock Makefiles
|
228
|
+
install into $DESTDIR and not in / .
|
229
|
+
--endshelloutput
|
230
|
+
|
231
|
+
|
232
|
+
--beginslideleft
|
233
|
+
--color red
|
234
|
+
==> debian-Dateien (im Ordner debian/)
|
235
|
+
--endslideleft
|
236
|
+
--color white
|
237
|
+
|
238
|
+
--newpage Config-1
|
239
|
+
--boldon
|
240
|
+
--huge Config - 1
|
241
|
+
--ulon
|
242
|
+
--horline
|
243
|
+
--boldoff
|
244
|
+
--uloff
|
245
|
+
--boldon
|
246
|
+
|
247
|
+
|
248
|
+
|
249
|
+
|
250
|
+
--ulon
|
251
|
+
Die wichtigen Dateien:
|
252
|
+
--uloff
|
253
|
+
|
254
|
+
changelog:
|
255
|
+
(sp�ter /usr/share/doc/binclock/changelog.Debian.gz)
|
256
|
+
---
|
257
|
+
|
258
|
+
--beginoutput
|
259
|
+
binclock (1.5-1) unstable; urgency=low
|
260
|
+
* Initial Release.
|
261
|
+
Nico Golde <nico@ngolde.de> Fri, 15 Oct 2004 18:45:13 +0200
|
262
|
+
--endoutput
|
263
|
+
|
264
|
+
- Paketname, Version, Distribution, Priorit�t
|
265
|
+
|
266
|
+
- �nderungen am Paket, _nicht_ am Quellcode
|
267
|
+
|
268
|
+
- Name des Maintainers, Emailaddresse, Datum
|
269
|
+
--## "date -R" erstmal nicht so wichtig
|
270
|
+
|
271
|
+
- neuer changelog-Eintrag mit "dch -i"
|
272
|
+
|
273
|
+
--newpage Config-2a
|
274
|
+
--boldon
|
275
|
+
--huge Config - 2a
|
276
|
+
--ulon
|
277
|
+
--horline
|
278
|
+
--boldoff
|
279
|
+
--uloff
|
280
|
+
--boldon
|
281
|
+
|
282
|
+
|
283
|
+
|
284
|
+
|
285
|
+
Datei "control" (vor dem Editieren):
|
286
|
+
---
|
287
|
+
|
288
|
+
--beginoutput
|
289
|
+
Source: binclock
|
290
|
+
Section: unknown
|
291
|
+
Priority: optional
|
292
|
+
Maintainer: Nico Golde <nico@ngolde.de>
|
293
|
+
Build-Depends: debhelper (>= 4.1.0)
|
294
|
+
Standards-Version: 3.6.1
|
295
|
+
|
296
|
+
Package: binclock
|
297
|
+
Architecture: any
|
298
|
+
Depends: ${shlibs:Depends}, ${misc:Depends}
|
299
|
+
Description: <insert up to 60 chars description>
|
300
|
+
<insert long description, indented with spaces>
|
301
|
+
--endoutput
|
302
|
+
|
303
|
+
--newpage Config-2b
|
304
|
+
--boldon
|
305
|
+
--huge Config - 2b
|
306
|
+
--ulon
|
307
|
+
--horline
|
308
|
+
--boldoff
|
309
|
+
--uloff
|
310
|
+
--boldon
|
311
|
+
|
312
|
+
|
313
|
+
|
314
|
+
|
315
|
+
Datei "control" (nach dem Editieren):
|
316
|
+
|
317
|
+
---
|
318
|
+
--beginoutput
|
319
|
+
Source: binclock
|
320
|
+
--color green
|
321
|
+
Section: utils
|
322
|
+
--color white
|
323
|
+
Priority: optional
|
324
|
+
Maintainer: Nico Golde <nico@ngolde.de>
|
325
|
+
--color green
|
326
|
+
Build-Depends: debhelper (>= 4.1.0)
|
327
|
+
--color white
|
328
|
+
Standards-Version: 3.6.1
|
329
|
+
|
330
|
+
Package: binclock
|
331
|
+
--color green
|
332
|
+
Architecture: any
|
333
|
+
--color white
|
334
|
+
Depends: ${shlibs:Depends}, ${misc:Depends}
|
335
|
+
--color green
|
336
|
+
Description: binary clock for console with color support * (60 Zeichen)
|
337
|
+
BinClock - Displays system time in binary format.
|
338
|
+
It supports showing the time with eight different colors, and it can
|
339
|
+
run a loop that prints the time every second.
|
340
|
+
The default colors and characters for printing can be changed with a
|
341
|
+
config file.
|
342
|
+
--color white
|
343
|
+
|
344
|
+
--endoutput
|
345
|
+
- Kontrollinformationen, Name des Quellpakets, Subsection, Maintainer,
|
346
|
+
Abh�ngigkeiten zum Bauen, Policy-Version
|
347
|
+
|
348
|
+
- Paketname, Architektur
|
349
|
+
|
350
|
+
- Abh�ngigkeiten (m�gliche weitere Felder: Suggests, Conflicts, Replaces, ...)
|
351
|
+
|
352
|
+
- kurze und lange Beschreibung, kurze Beschreibung darf nicht mit
|
353
|
+
Programmnamen anfangen
|
354
|
+
|
355
|
+
--newpage Config-3a
|
356
|
+
--boldon
|
357
|
+
--huge Config - 3a
|
358
|
+
--ulon
|
359
|
+
--horline
|
360
|
+
--boldoff
|
361
|
+
--uloff
|
362
|
+
--boldon
|
363
|
+
|
364
|
+
|
365
|
+
|
366
|
+
|
367
|
+
copyright (vor dem Editieren):
|
368
|
+
|
369
|
+
--beginoutput
|
370
|
+
This package was debianized by Nico Golde <nico@ngolde.de> on
|
371
|
+
Tue, 19 Feb 2004 16:43:41 +0200.
|
372
|
+
|
373
|
+
It was downloaded from <fill in ftp site>
|
374
|
+
|
375
|
+
Copyright:
|
376
|
+
|
377
|
+
Upstream Author(s): <put author(s) name and email here>
|
378
|
+
|
379
|
+
License:
|
380
|
+
|
381
|
+
<Must follow here>
|
382
|
+
--endoutput
|
383
|
+
|
384
|
+
--newpage Config-3a
|
385
|
+
--boldon
|
386
|
+
--huge Config - 3b
|
387
|
+
--ulon
|
388
|
+
--horline
|
389
|
+
--boldoff
|
390
|
+
--uloff
|
391
|
+
--boldon
|
392
|
+
|
393
|
+
|
394
|
+
|
395
|
+
--beginoutput
|
396
|
+
|
397
|
+
This package was debianized by Nico Golde <nico@ngolde.de> on
|
398
|
+
Wed, 19 Feb 2004 16:43:41 +0100.
|
399
|
+
It was downloaded from http://www.ngolde.de/binclock/
|
400
|
+
|
401
|
+
Upstream Author: Nico Golde <binclock@ngolde.de>
|
402
|
+
|
403
|
+
|
404
|
+
This software is copyrighted (c) 2003-2004 by Nico Golde.
|
405
|
+
|
406
|
+
You are free to distribute this software under
|
407
|
+
the terms of the GNU General Public License.
|
408
|
+
On Debian systems, the complete text of the
|
409
|
+
GNU General Public License can be found
|
410
|
+
in the file `/usr/share/common-licenses/GPL'.
|
411
|
+
--endoutput
|
412
|
+
|
413
|
+
- Download Ort
|
414
|
+
|
415
|
+
- Autor des Programmes
|
416
|
+
|
417
|
+
- Copyright (sollte DFSG kompatibel sein)
|
418
|
+
|
419
|
+
--newpage Config-4
|
420
|
+
--boldon
|
421
|
+
--huge Config - 4
|
422
|
+
--ulon
|
423
|
+
--horline
|
424
|
+
--boldoff
|
425
|
+
--uloff
|
426
|
+
--boldon
|
427
|
+
|
428
|
+
|
429
|
+
|
430
|
+
|
431
|
+
dirs:
|
432
|
+
|
433
|
+
- Verzeichnisse, die nicht vom Makefile angelegt werden
|
434
|
+
|
435
|
+
- ohne / am Anfang, Bsp.: usr/man
|
436
|
+
|
437
|
+
conffiles.ex:
|
438
|
+
|
439
|
+
- Konfigurationsdateienm, f�r manuelle Auswahl, in dem Fall /etc/binclockrc
|
440
|
+
|
441
|
+
- WICHTIG: datei.ex immer in datei umbenennen, wenn sie verwendet wird
|
442
|
+
|
443
|
+
|
444
|
+
docs:
|
445
|
+
|
446
|
+
- zu installierende Dokumentationsdatein, in dem Fall nur README
|
447
|
+
|
448
|
+
|
449
|
+
README.Debian:
|
450
|
+
|
451
|
+
- nennenswerte Unterschied zum Original
|
452
|
+
|
453
|
+
|
454
|
+
--newpage Configis
|
455
|
+
--boldon
|
456
|
+
--huge Config - 5
|
457
|
+
--ulon
|
458
|
+
--horline
|
459
|
+
--boldoff
|
460
|
+
--uloff
|
461
|
+
--boldon
|
462
|
+
|
463
|
+
|
464
|
+
|
465
|
+
|
466
|
+
menu.ex:
|
467
|
+
|
468
|
+
- Fenstermanager-Menu
|
469
|
+
|
470
|
+
vor dem Editieren:
|
471
|
+
|
472
|
+
--beginoutput
|
473
|
+
?package(binclock):needs="X11|text|vc|wm" section="Apps/see-menu-manual"\
|
474
|
+
title="binclock" command="/usr/bin/binclock"
|
475
|
+
--endoutput
|
476
|
+
|
477
|
+
--beginoutput
|
478
|
+
?package(binclock): needs="text|X11" section="Apps/Tools" \
|
479
|
+
title="BinClock" command="/usr/bin/binclock"
|
480
|
+
--endoutput
|
481
|
+
|
482
|
+
- Bestimmung von Oberfl�che, Abteilung, Titel und das auszuf�hrende Kommando
|
483
|
+
|
484
|
+
--newpage Config-5
|
485
|
+
--boldon
|
486
|
+
--huge Config - 6
|
487
|
+
--ulon
|
488
|
+
--horline
|
489
|
+
--boldoff
|
490
|
+
--uloff
|
491
|
+
--boldon
|
492
|
+
|
493
|
+
|
494
|
+
|
495
|
+
rules:
|
496
|
+
---
|
497
|
+
--## this doesn't works here, because there is no rules file
|
498
|
+
--##--exec vim rules
|
499
|
+
--exec echo "eigentlich w�re hier die rules datei, sie ist in diesem beispiel leider nicht enthalten" | vim -
|
500
|
+
|
501
|
+
--newpage Config-6
|
502
|
+
--boldon
|
503
|
+
--huge Config - 7
|
504
|
+
--ulon
|
505
|
+
--horline
|
506
|
+
--boldoff
|
507
|
+
--uloff
|
508
|
+
--boldon
|
509
|
+
|
510
|
+
|
511
|
+
|
512
|
+
Anpassung des Makefiles:
|
513
|
+
|
514
|
+
vor dem Editieren:
|
515
|
+
|
516
|
+
--beginoutput
|
517
|
+
INSPATH = /usr/local/bin/
|
518
|
+
MANPATH = /usr/man/man1/
|
519
|
+
CONF = /etc/
|
520
|
+
all : $(MAINSRC)
|
521
|
+
gcc -02 --pedantic -Wall -o binclock ./src/binclock.c
|
522
|
+
strip binclock
|
523
|
+
install :
|
524
|
+
cp -pf CHANGELOG README COPYING
|
525
|
+
cp -pf ./doc/binclock.1 $(MANPATH)
|
526
|
+
cp -pf binclockrc $(CONF)binclockrc
|
527
|
+
install -c -s -m 0755 binclock $(INSPATH)
|
528
|
+
clean :
|
529
|
+
rm -f binclock
|
530
|
+
uninstall :
|
531
|
+
rm -f $(INSPATH)binclock
|
532
|
+
rm -f $(CONF)$(BIN)rc
|
533
|
+
rm -f $(MANPATH)/binclock.1
|
534
|
+
--endoutput
|
535
|
+
--newpage Config-a
|
536
|
+
--boldon
|
537
|
+
--huge Config - 8
|
538
|
+
--ulon
|
539
|
+
--horline
|
540
|
+
--boldoff
|
541
|
+
--uloff
|
542
|
+
--boldon
|
543
|
+
|
544
|
+
|
545
|
+
|
546
|
+
|
547
|
+
Nach dem Editieren:
|
548
|
+
|
549
|
+
--beginoutput
|
550
|
+
--color green
|
551
|
+
INSPATH = $(DESTDIR)/usr/bin/
|
552
|
+
MANPATH = $(DESTDIR)/usr/share/man/man1/
|
553
|
+
CONF = $(DESTDIR)/etc/
|
554
|
+
all : $(MAINSRC)
|
555
|
+
--color white
|
556
|
+
gcc --pedantic -Wall -o binclock ./src/binclock.c
|
557
|
+
strip binclock
|
558
|
+
install :
|
559
|
+
cp -pf ./doc/binclock.1 $(MANPATH)
|
560
|
+
cp -pf binclockrc $(CONF)binclockrc
|
561
|
+
install -c -s -m 0755 $(BIN) $(INSPATH)
|
562
|
+
clean :
|
563
|
+
rm -f $(SOURCEPATH)$(BIN)
|
564
|
+
--endoutput
|
565
|
+
|
566
|
+
- Anpassung der Variablen mit $(DESTDIR)
|
567
|
+
|
568
|
+
- Entfernen von Regeln, die von debhelper �bernommen werden
|
569
|
+
|
570
|
+
- bei Programmen mit configure Scripten normalerweise nicht n�tig,
|
571
|
+
sondern in rules statt $(DESTDIR) prefix einsetzen
|
572
|
+
|
573
|
+
|
574
|
+
--newpage Config-7
|
575
|
+
--boldon
|
576
|
+
--huge Config-9
|
577
|
+
--ulon
|
578
|
+
--horline
|
579
|
+
--boldoff
|
580
|
+
--uloff
|
581
|
+
--boldon
|
582
|
+
|
583
|
+
|
584
|
+
|
585
|
+
|
586
|
+
Letzte Schritte:
|
587
|
+
|
588
|
+
.ex-Dateien:
|
589
|
+
|
590
|
+
- Spezialf�lle, je nach Bedarf editieren und umbennen
|
591
|
+
|
592
|
+
- anschliessend �brige .ex Dateien l�schen
|
593
|
+
|
594
|
+
- eventuell Manual schreiben (so wie in der Policy beschrieben)
|
595
|
+
|
596
|
+
- falls ben�tigt die Maintainer-Scripte editieren: postinst.ex, preinst.ex,
|
597
|
+
postrm.ex, prerm.ex
|
598
|
+
-> werden ausgef�hrt bei Installation, L�schen oder Aktualisierung eines Paketes
|
599
|
+
|
600
|
+
- umbenennen von binclock-1.5.tar.gz in binclock_1.5.orig.tar.gz
|
601
|
+
|
602
|
+
--newpage build
|
603
|
+
--boldon
|
604
|
+
--huge Build Prozess
|
605
|
+
--ulon
|
606
|
+
--horline
|
607
|
+
--boldoff
|
608
|
+
--uloff
|
609
|
+
--boldon
|
610
|
+
|
611
|
+
|
612
|
+
|
613
|
+
|
614
|
+
Schritt 1:
|
615
|
+
|
616
|
+
- Zur�ckkehren in das Stammverzeichnis des Programms, i.d. Fall binclock-1.5/
|
617
|
+
|
618
|
+
Schritt 2:
|
619
|
+
|
620
|
+
- Bauen des Paketes mittels dpkg-buildpackage -rfakeroot
|
621
|
+
|
622
|
+
---
|
623
|
+
--color red
|
624
|
+
--beginslideleft
|
625
|
+
==> Debian-Paket in binclock-1.5/../
|
626
|
+
--endslideleft
|
627
|
+
--color white
|
628
|
+
--newpage build2
|
629
|
+
--boldon
|
630
|
+
--huge Nach dem Build
|
631
|
+
--ulon
|
632
|
+
--horline
|
633
|
+
--boldoff
|
634
|
+
--uloff
|
635
|
+
--boldon
|
636
|
+
|
637
|
+
|
638
|
+
|
639
|
+
|
640
|
+
Neue Dateien in binclock-1.5/../ :
|
641
|
+
|
642
|
+
---
|
643
|
+
--beginshelloutput
|
644
|
+
$ ls
|
645
|
+
--color blue
|
646
|
+
binclock-1.5
|
647
|
+
--color white
|
648
|
+
binclock_1.5-1.diff.gz
|
649
|
+
binclock_1.5-1.dsc
|
650
|
+
binclock_1.5-1_i386.changes
|
651
|
+
binclock_1.5-1_i386.deb
|
652
|
+
binclock_1.5.orig.tar.gz
|
653
|
+
--endshelloutput
|
654
|
+
|
655
|
+
- Alle �nderungen am Originalquelltext (.diff.gz)
|
656
|
+
|
657
|
+
- Paketname, Version, Maintainer, Architektur, Build-Depends,
|
658
|
+
Policy Version, Dateien mit md5 Summen (.dsc)
|
659
|
+
|
660
|
+
- Paketdatum, Version, Distribution, Maintainer,
|
661
|
+
_Ver�nderungen_, Paketbeschreibung,
|
662
|
+
Dateien mit md5 Summen (.changes)
|
663
|
+
|
664
|
+
- Alle zur installierenden Dateien mit Ordnern gezippt (.deb)
|
665
|
+
|
666
|
+
- Originalquellen (.orig.tar.gz)
|
667
|
+
|
668
|
+
--newpage test
|
669
|
+
--boldon
|
670
|
+
--huge Tests
|
671
|
+
--ulon
|
672
|
+
--horline
|
673
|
+
--boldoff
|
674
|
+
--uloff
|
675
|
+
--boldon
|
676
|
+
|
677
|
+
1. Testen auf Policy mit lintian (Paket-Checker):
|
678
|
+
|
679
|
+
---
|
680
|
+
--beginshelloutput
|
681
|
+
$ lintian binclock_1.5-1_i386.changes
|
682
|
+
E: binclock: binary-without-manpage binclock
|
683
|
+
--endshelloutput
|
684
|
+
|
685
|
+
- Fehler und Warnungen beseitigen (lintian -i f�r weiter Ekl�rungen)
|
686
|
+
|
687
|
+
2. Testen des Paketinhalts:
|
688
|
+
---
|
689
|
+
|
690
|
+
--beginshelloutput
|
691
|
+
$ dpkg -c binclock_1.5-1_i386.deb
|
692
|
+
drwxr-xr-x root/root 0 2004-10-17 16:38:42 ./
|
693
|
+
drwxr-xr-x root/root 0 2004-10-17 16:38:42 ./usr/
|
694
|
+
drwxr-xr-x root/root 0 2004-10-17 16:38:42 ./usr/bin/
|
695
|
+
-rwxr-xr-x root/root 7500 2004-10-17 16:38:42 ./usr/bin/binclock
|
696
|
+
drwxr-xr-x root/root 0 2004-10-17 16:38:41 ./usr/share/
|
697
|
+
drwxr-xr-x root/root 0 2004-10-17 16:38:41 ./usr/share/man/
|
698
|
+
drwxr-xr-x root/root 0 2004-10-17 16:38:43 ./usr/share/man/man1/
|
699
|
+
-rw-r--r-- root/root 882 2004-10-17 16:38:41 ./usr/share/man/man1/binclock.1.gz
|
700
|
+
drwxr-xr-x root/root 0 2004-10-17 16:38:41 ./usr/share/doc/
|
701
|
+
drwxr-xr-x root/root 0 2004-10-17 16:38:43 ./usr/share/doc/binclock/
|
702
|
+
-rw-r--r-- root/root 1698 2004-07-24 13:42:04 ./usr/share/doc/binclock/README
|
703
|
+
-rw-r--r-- root/root 484 2004-07-24 15:10:45 ./usr/share/doc/binclock/copyright
|
704
|
+
-rw-r--r-- root/root 319 2004-07-24 15:10:45 ./usr/share/doc/binclock/changelog.Debian.gz
|
705
|
+
drwxr-xr-x root/root 0 2004-10-17 16:38:42 ./usr/lib/
|
706
|
+
drwxr-xr-x root/root 0 2004-10-17 16:38:42 ./usr/lib/menu/
|
707
|
+
-rw-r--r-- root/root 99 2004-07-24 19:54:23 ./usr/lib/menu/binclock
|
708
|
+
drwxr-xr-x root/root 0 2004-10-17 16:38:41 ./etc/
|
709
|
+
--endshelloutput
|
710
|
+
|
711
|
+
- Installieren des Pakets mittels dpkg -i binclock-1.5-1_i386.deb (wahlweise in chroot)
|
712
|
+
|
713
|
+
--newpage Ver�ffentlichung
|
714
|
+
--boldon
|
715
|
+
--huge Ver�ffentlichung
|
716
|
+
--ulon
|
717
|
+
--horline
|
718
|
+
--boldoff
|
719
|
+
--uloff
|
720
|
+
--boldon
|
721
|
+
|
722
|
+
|
723
|
+
|
724
|
+
|
725
|
+
1. Kopieren des Quellpakets und Bin�rpakets in
|
726
|
+
gew�nschten Ordner (z.B. auf einen http-Server)
|
727
|
+
|
728
|
+
---
|
729
|
+
--beginshelloutput
|
730
|
+
$ ls
|
731
|
+
binclock_1.5-1.diff.gz binclock_1.5-1.dsc
|
732
|
+
binclock_1.5-1_i386.deb binclock_1.5.orig.tar.gz
|
733
|
+
--endshelloutput
|
734
|
+
|
735
|
+
2. Erstellen von Sources.gz (Namen, Version, Build-Depends)
|
736
|
+
und Packages.gz (Beschreibung, Name, Abh�ngigkeiten)
|
737
|
+
|
738
|
+
---
|
739
|
+
--beginshelloutput
|
740
|
+
$ dpkg-scanpackages ./ /dev/null | gzip -9c > Packages.gz
|
741
|
+
** Packages in archive but missing from override file: **
|
742
|
+
binclock
|
743
|
+
|
744
|
+
Wrote 1 entries to output Packages file.
|
745
|
+
--endshelloutput
|
746
|
+
---
|
747
|
+
|
748
|
+
--beginshelloutput
|
749
|
+
$ dpkg-scansources ./ /dev/null | gzip -9c > ./Sources.gz
|
750
|
+
--endshelloutput
|
751
|
+
|
752
|
+
--beginshelloutput
|
753
|
+
$ echo thats all :)
|
754
|
+
--endshelloutput
|
755
|
+
|
756
|
+
--newpage Ende
|
757
|
+
--boldon
|
758
|
+
--huge Danke! Fragen?
|
759
|
+
--ulon
|
760
|
+
--horline
|
761
|
+
--boldoff
|
762
|
+
--uloff
|
763
|
+
--boldon
|
764
|
+
|
765
|
+
|
766
|
+
|
767
|
+
Feedback:
|
768
|
+
|
769
|
+
--center Nico Golde <nico@ngolde.de>
|
770
|
+
--center http://www.ngolde.de
|
771
|
+
|
772
|
+
--newpage Links
|
773
|
+
--boldon
|
774
|
+
--huge Links
|
775
|
+
--ulon
|
776
|
+
--horline
|
777
|
+
--boldoff
|
778
|
+
--uloff
|
779
|
+
--boldon
|
780
|
+
|
781
|
+
|
782
|
+
|
783
|
+
|
784
|
+
http://www.debian.org
|
785
|
+
|
786
|
+
http://www.debian.org/devel/
|
787
|
+
|
788
|
+
debian-reference, maint-guide, debian-policy
|
789
|
+
|
790
|
+
http://www.openoffice.de/linux/buch/debianpakete.html
|
791
|
+
|
792
|
+
http://mentors.debian.net/
|
793
|
+
|
794
|
+
debian-mentors@lists.debian.org
|
795
|
+
|
796
|
+
debian-devel@lists.debian.org
|
797
|
+
|
798
|
+
http://www.ngolde.de/papers.html
|
799
|
+
|
800
|
+
Vortragsunterlagen: http://www.ngolde.de/papers.html
|
801
|
+
|
802
|
+
Pr�sentationsprogramm: TPP <http://www.ngolde.de/tpp>
|