File: xdt-csource.1

package info (click to toggle)
xfce4-dev-tools 4.20.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,976 kB
  • sloc: sh: 5,180; ansic: 404; xml: 137; python: 128; makefile: 109
file content (125 lines) | stat: -rw-r--r-- 3,255 bytes parent folder | download
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
'\" t
.\"     Title: xdt-csource
.\"    Author: [see the "Author" section]
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
.\"      Date: 04/25/2023
.\"    Manual: Xfce User\*(Aqs Manual
.\"    Source: Xfce
.\"  Language: English
.\"
.TH "XDT\-CSOURCE" "1" "04/25/2023" "Xfce" "Xfce User\*(Aqs Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
xdt-csource \- C code generation utility for arbitrary data
.SH "SYNOPSIS"
.HP \w'\fBxdt\-csource\fR\ 'u
\fBxdt\-csource\fR [options] [file]
.HP \w'\fBxdt\-csource\fR\ 'u
\fBxdt\-csource\fR [options] \-\-build\-list [[name]\ [file]...]
.SH "DESCRIPTION"
.PP
\fBxdt\-csource\fR
is a small utility that generates C code containing arbitrary data, useful for compiling texts or other data directly into programs\&. It supersedes exo\-csource\&.
.SH "INVOCATION"
.PP
\fBxdt\-csource\fR
either takes as input one file name to generate code for, or, using the
\fB\-\-build\-list\fR
option, a list of (\fIname\fR,
\fIfile\fR) pairs to generate code for a list of images into named variables\&.
.SS "Options"
.PP
\fB\-h\fR, \fB\-\-help\fR
.RS 4
Print brief help and exit\&.
.RE
.PP
\fB\-V\fR, \fB\-\-version\fR
.RS 4
Print version information and exit\&.
.RE
.PP
\fB\-\-extern\fR
.RS 4
Generate extern symbols\&.
.RE
.PP
\fB\-\-static\fR
.RS 4
Generate static symbols (default)\&.
.RE
.PP
\fB\-\-name=identifier\fR
.RS 4
Specifies the
\fIidentifier\fR
name (prefix) for the generated variables (only used if
\fB\-\-build\-list\fR
was not specified as well)\&.
.RE
.PP
\fB\-\-build\-list\fR
.RS 4
Enables (\fIname\fR,
\fIfile\fR) pair parsing mode\&.
.RE
.PP
\fB\-\-strip\-comments\fR
.RS 4
Remove comments from XML files
.RE
.PP
\fB\-\-strip\-content\fR
.RS 4
Remove node contents from XML files
.RE
.PP
\fB\-\-output=identifier\fR
.RS 4
Prints the output to
\fIidentifier\fR
instead of stdout (only used if
\fB\-\-build\-list\fR
was not specified as well)\&.
.RE
.SH "SEE ALSO"
.PP
The
\fBgdk\-pixbuf\-csource\fR
utility which ships with the Gtk+ distribution, available from
\m[blue]\fBwww\&.gtk\&.org\fR\m[]\&\s-2\u[1]\d\s+2\&.
.SH "AUTHOR"
.PP
Original program
\fBexo\-csource\fR
was written by Benedikt Meurer
<benny@xfce\&.org>\&.
\fBxdt\-csource\fR
supersedes it\&.
.PP
This manual page was provided by the Xfce Development Team
<xfce4\-dev@xfce\&.org>\&.
.SH "NOTES"
.IP " 1." 4
www.gtk.org
.RS 4
\%https://www.gtk.org
.RE