2006-01-25 20:12:07 +08:00
|
|
|
.TH GIMPTOOL\-2.0 1 "Version @GIMP_VERSION@" "GIMP Manual Pages"
|
2004-12-17 17:04:24 +08:00
|
|
|
|
2001-08-28 21:04:47 +08:00
|
|
|
.SH NAME
|
2004-12-17 17:04:24 +08:00
|
|
|
gimptool\-2.0 - script to perform various GIMPy functions
|
|
|
|
|
|
|
|
|
2001-08-28 21:04:47 +08:00
|
|
|
.SH SYNOPSIS
|
2004-12-17 17:04:24 +08:00
|
|
|
.B gimptool\-2.0
|
2001-08-28 21:04:47 +08:00
|
|
|
[\-\-prefix\fI[=DIR]\fP] [\-\-exec\-prefix\fI[=DIR]\fP] [\-\-version]
|
2003-01-23 21:39:29 +08:00
|
|
|
[\-\-help] [\-\-quiet] [\-\-silent] [\-n] [\-\-just-print] [\-\-dry-run]
|
2007-11-17 05:37:20 +08:00
|
|
|
[\-\-recon] [\-\-msvc-syntax]
|
|
|
|
[\-\-bindir] [\-\-sbindir] [\-\-libexecdir] [\-\-datadir]
|
2003-01-23 21:39:29 +08:00
|
|
|
[\-\-sysconfdir] [\-\-sharedstatedir] [\-\-localstatedir] [-\-libdir]
|
|
|
|
[\-\-infodir] [\-\-mandir] [\-\-includedir] [\-\-gimpplugindir]
|
|
|
|
[\-\-gimpdatadir] [\-\-libs] [\-\-libs-noui] [\-\-cflags] [\-\-cflags-noi]
|
|
|
|
[\-\-build \fIplug\-in.c\fP]
|
2001-08-28 21:04:47 +08:00
|
|
|
[\-\-build\-strip \fIplug\-in.c\fP] [\-\-install \fIplug\-in.c\fP]
|
|
|
|
[\-\-install-strip \fIplug\-in.c\fP] [\-\-install-admin \fIplug-in.c\fP]
|
|
|
|
[\-\-install\-bin \fIplug\-in\fP]
|
2003-01-23 21:39:29 +08:00
|
|
|
[\-\-install\-admin\-strip \fIplug-in.c\fP]
|
|
|
|
[\-\-install\-bin\-strip \fIplug\-in\fP]
|
|
|
|
[\-\-\install\-admin\-bin \fIplug\-in\fP]
|
|
|
|
[\-\-install\-script \fIscript.scm\fP]
|
2001-08-28 21:04:47 +08:00
|
|
|
[\-\-\install\-admin\-script \fIscript.scm\fP]
|
|
|
|
[\-\-uninstall\-bin \fIplug\-in\fP] [\-\-uninstall\-admin\-bin \fIplug\-in\fP]
|
2003-01-23 21:39:29 +08:00
|
|
|
[\-\-uninstall\-script \fIscript.scm\fP]
|
|
|
|
[\-\-uninstall\-admin\-script \fIscript.scm\fP]
|
2001-08-28 21:04:47 +08:00
|
|
|
|
|
|
|
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.PP
|
2004-12-17 17:04:24 +08:00
|
|
|
\fIgimptool\-2.0\fP is a tool that can, among other things, build
|
2003-01-23 21:39:29 +08:00
|
|
|
plug-ins or scripts and install them if they are distributed in one
|
|
|
|
source file.
|
2001-08-28 21:04:47 +08:00
|
|
|
.PP
|
2004-12-17 17:04:24 +08:00
|
|
|
\fIgimptool\-2.0\fP can also be used by programs that need to know what
|
2007-05-25 18:45:53 +08:00
|
|
|
libraries and include-paths \fIGIMP\fP was compiled with. \fIgimptool\-2.0\fP
|
|
|
|
uses \fIpkg-config\fP for this task. For use in Makefiles, it is recommended
|
|
|
|
that you use \fIpkg-config\fP directly instead of calling \fIgimptool\-2.0\fP.
|
2001-08-28 21:04:47 +08:00
|
|
|
|
2004-12-17 17:04:24 +08:00
|
|
|
|
2001-08-28 21:04:47 +08:00
|
|
|
.SH OPTIONS
|
2004-12-17 17:04:24 +08:00
|
|
|
\fIgimptool\-2.0\fP accepts the following options:
|
2001-08-28 21:04:47 +08:00
|
|
|
.TP 8
|
|
|
|
.B \-\-version
|
2003-01-23 21:39:29 +08:00
|
|
|
Print the currently installed version of \fIGIMP\fP on the standard output.
|
2001-08-28 21:04:47 +08:00
|
|
|
.TP 8
|
|
|
|
.B \-\-help
|
|
|
|
Print out the help blurb, showing commonly used commandline options.
|
|
|
|
.TP 8
|
|
|
|
.B \-\-quiet
|
|
|
|
Run quietly without echoing any of the build commands.
|
|
|
|
.TP 8
|
|
|
|
.B \-\-silent
|
|
|
|
Run silently without echoing any of the build commands. Same as \-\-quiet.
|
|
|
|
.TP 8
|
|
|
|
.B \-n
|
2004-04-04 09:12:32 +08:00
|
|
|
Test mode. Print the commands but don't actually execute them. Useful for
|
2001-08-28 21:04:47 +08:00
|
|
|
making dry runs for testing.
|
|
|
|
.TP 8
|
|
|
|
.B \-\-just-print
|
2004-04-04 09:12:32 +08:00
|
|
|
Test mode. Print the commands but don't actually execute them. Same as \-n.
|
2001-08-28 21:04:47 +08:00
|
|
|
.TP 8
|
|
|
|
.B \-\-dry-run
|
2004-04-04 09:12:32 +08:00
|
|
|
Test mode. Print the commands but don't actually execute them. Same as \-n.
|
2001-08-28 21:04:47 +08:00
|
|
|
.TP 8
|
|
|
|
.B \-\-recon
|
2004-04-04 09:12:32 +08:00
|
|
|
Test mode. Print the commands but don't actually execute them. Same as \-n.
|
2001-08-28 21:04:47 +08:00
|
|
|
.TP 8
|
2007-11-17 05:37:20 +08:00
|
|
|
.B \-\-msvc-syntax
|
|
|
|
Useful on Windows. Outputs the compiler and linker flags in the syntax
|
|
|
|
used by Microsoft's toolchain. Passed to the pkg-config command that
|
|
|
|
does most of \fIgimptool\-2.0\fP's work.
|
|
|
|
.TP 8
|
2001-08-28 21:04:47 +08:00
|
|
|
.B \-\-bindir
|
2003-01-23 21:39:29 +08:00
|
|
|
Outputs the bindir used to install the \fIGIMP\fP.
|
2001-08-28 21:04:47 +08:00
|
|
|
.TP 8
|
|
|
|
.B \-\-sbindir
|
2003-01-23 21:39:29 +08:00
|
|
|
Outputs the sbindir used to install the \fIGIMP\fP.
|
2001-08-28 21:04:47 +08:00
|
|
|
.TP 8
|
|
|
|
.B \-\-libexecdir
|
2003-01-23 21:39:29 +08:00
|
|
|
Outputs the libexecdir used to install the \fIGIMP\fP.
|
2001-08-28 21:04:47 +08:00
|
|
|
.TP 8
|
|
|
|
.B \-\-datadir
|
2003-01-23 21:39:29 +08:00
|
|
|
Outputs the datadir used to install the \fIGIMP\fP.
|
2001-08-28 21:04:47 +08:00
|
|
|
.TP 8
|
|
|
|
.B \-\-sysconfdir
|
2003-01-23 21:39:29 +08:00
|
|
|
Outputs the sysconfdir used to install the \fIGIMP\fP.
|
2001-08-28 21:04:47 +08:00
|
|
|
.TP 8
|
|
|
|
.B \-\-sharedstatedir
|
2003-01-23 21:39:29 +08:00
|
|
|
Outputs the sharedstatedir used to install the \fIGIMP\fP.
|
2001-08-28 21:04:47 +08:00
|
|
|
.TP 8
|
|
|
|
.B \-\-localstatedir
|
2003-01-23 21:39:29 +08:00
|
|
|
Outputs the localstatedir used to install the \fIGIMP\fP.
|
2001-08-28 21:04:47 +08:00
|
|
|
.TP 8
|
|
|
|
.B \-\-libdir
|
2003-01-23 21:39:29 +08:00
|
|
|
Outputs the libdir used to install the \fIGIMP\fP.
|
2001-08-28 21:04:47 +08:00
|
|
|
.TP 8
|
|
|
|
.B \-\-infodir
|
2003-01-23 21:39:29 +08:00
|
|
|
Outputs the infodir used to install the \fIGIMP\fP.
|
2001-08-28 21:04:47 +08:00
|
|
|
.TP 8
|
|
|
|
.B \-\-mandir
|
2003-01-23 21:39:29 +08:00
|
|
|
Outputs the mandir used to install the \fIGIMP\fP.
|
2001-08-28 21:04:47 +08:00
|
|
|
.TP 8
|
|
|
|
.B \-\-includedir
|
2003-01-23 21:39:29 +08:00
|
|
|
Outputs the includedir used to install the \fIGIMP\fP.
|
2001-08-28 21:04:47 +08:00
|
|
|
.TP 8
|
|
|
|
.B \-\-gimpdatadir
|
2003-01-23 21:39:29 +08:00
|
|
|
Outputs the actual directory where the \fIGIMP\fP data files were installed.
|
2001-08-28 21:04:47 +08:00
|
|
|
.TP 8
|
|
|
|
.B \-\-gimpplugindir
|
2006-01-25 20:12:07 +08:00
|
|
|
Outputs the actual directory where the \fIGIMP\fP plug-ins were installed.
|
2001-08-28 21:04:47 +08:00
|
|
|
.TP 8
|
|
|
|
.B \-\-build \fIplug-in.c\fP
|
2003-01-23 21:39:29 +08:00
|
|
|
Compile and link \fIplug-in.c\fP into a \fIGIMP\fP plug-in.
|
2001-08-28 21:04:47 +08:00
|
|
|
.TP 8
|
|
|
|
.B \-\-build\-strip \fIplug-in.c\fP
|
2003-01-23 21:39:29 +08:00
|
|
|
Compile,link, and strip \fIplug-in.c\fP into a \fIGIMP\fP plug-in.
|
2001-08-28 21:04:47 +08:00
|
|
|
.TP 8
|
|
|
|
.B \-\-install \fIplug-in.c\fP
|
2003-01-23 21:39:29 +08:00
|
|
|
Compile, link, and install \fIplug-in.c\fP into the user's personal
|
2014-09-16 05:50:26 +08:00
|
|
|
\fIGIMP\fP plug-in directory (@manpage_gimpdir@/plug-ins)
|
2001-08-28 21:04:47 +08:00
|
|
|
.TP 8
|
|
|
|
.B \-\-install\-strip \fIplug-in.c\fP
|
2003-01-23 21:39:29 +08:00
|
|
|
Compile, link,strip, and install \fIplug-in.c\fP into the user's
|
|
|
|
personal \fIGIMP\fP
|
2014-09-16 05:50:26 +08:00
|
|
|
plug-in directory (@manpage_gimpdir@/plug-ins)
|
2001-08-28 21:04:47 +08:00
|
|
|
.TP 8
|
|
|
|
.B \-\-install\-admin \fIplug-in.c\fP
|
2003-01-23 21:39:29 +08:00
|
|
|
Compile, link, and install \fIplug-in.c\fP into the system-wide \fIGIMP\fP
|
2001-08-28 21:04:47 +08:00
|
|
|
plug-in directory (@gimpplugindir@/plug-ins)
|
|
|
|
.TP 8
|
|
|
|
.B \-\-install\-bin \fIplug-in\fP
|
2003-01-23 21:39:29 +08:00
|
|
|
Install \fIplug-in\fP into the user's personal \fIGIMP\fP
|
2014-09-16 05:50:26 +08:00
|
|
|
plug-in directory (@manpage_gimpdir@/plug-ins)
|
2001-08-28 21:04:47 +08:00
|
|
|
.TP 8
|
|
|
|
.B \-\-install\-admin\-bin \fIplug-in\fP
|
2003-01-23 21:39:29 +08:00
|
|
|
Install \fIplug-in\fP into the system-wide \fIGIMP\fP
|
2001-08-28 21:04:47 +08:00
|
|
|
plug-in directory (@gimpplugindir@/plug-ins)
|
|
|
|
.TP 8
|
|
|
|
.B \-\-install\-bin\-strip \fIplug-in\fP
|
2003-01-23 21:39:29 +08:00
|
|
|
Install stripped \fIplug-in\fP into the user's personal \fIGIMP\fP
|
2014-09-16 05:50:26 +08:00
|
|
|
plug-in directory (@manpage_gimpdir@/plug-ins)
|
2001-08-28 21:04:47 +08:00
|
|
|
.TP 8
|
|
|
|
.B \-\-install\-admin\-bin\-strip \fIplug-in\fP
|
2003-01-23 21:39:29 +08:00
|
|
|
Install stripped \fIplug-in\fP into the system-wide \fIGIMP\fP
|
2001-08-28 21:04:47 +08:00
|
|
|
plug-in directory (@gimpplugindir@/plug-ins)
|
|
|
|
.TP 8
|
|
|
|
.B \-\-install\-script \fIscript.scm\fP
|
2003-01-23 21:39:29 +08:00
|
|
|
Install \fIscript.scm\fP into the user's personal \fIGIMP\fP
|
2014-09-16 05:50:26 +08:00
|
|
|
script directory (@manpage_gimpdir@/scripts)
|
2001-08-28 21:04:47 +08:00
|
|
|
.TP 8
|
|
|
|
.B \-\-install\-admin\-script \fIscript.scm\fP
|
2003-01-23 21:39:29 +08:00
|
|
|
Install \fIscript.scm\fP into the system-wide \fIGIMP\fP
|
2001-08-28 21:04:47 +08:00
|
|
|
script directory (@gimpdatadir@/scripts)
|
|
|
|
.TP 8
|
|
|
|
.B \-\-uninstall\-bin \fIplug-in\fP
|
2003-01-23 21:39:29 +08:00
|
|
|
Uninstall \fIplug-in\fP from the user's personal \fIGIMP\fP
|
2014-09-16 05:50:26 +08:00
|
|
|
plug-in directory (@manpage_gimpdir@/plug-ins)
|
2001-08-28 21:04:47 +08:00
|
|
|
.TP 8
|
|
|
|
.B \-\-uninstall\-admin\-bin \fIplug-in\fP
|
2003-01-23 21:39:29 +08:00
|
|
|
Uninstall \fIplug-in\fP from the system-wide \fIGIMP\fP
|
2001-08-28 21:04:47 +08:00
|
|
|
plug-in directory (@gimpplugindir@/plug-ins)
|
|
|
|
.TP 8
|
|
|
|
.B \-\-uninstall\-script \fIscript.scm\fP
|
2003-01-23 21:39:29 +08:00
|
|
|
Uninstall \fIscript.scm\fP from the user's personal \fIGIMP\fP
|
2014-09-16 05:50:26 +08:00
|
|
|
script directory (@manpage_gimpdir@/scripts)
|
2001-08-28 21:04:47 +08:00
|
|
|
.TP 8
|
|
|
|
.B \-\-uninstall\-admin\-script \fIscript.scm\fP
|
2003-01-23 21:39:29 +08:00
|
|
|
Uninstall \fIscript.scm\fP from the system-wide \fIGIMP\fP
|
2001-08-28 21:04:47 +08:00
|
|
|
script directory (@gimpdatadir@/scripts)
|
|
|
|
.TP 8
|
|
|
|
.B \-\-libs
|
2003-01-23 21:39:29 +08:00
|
|
|
Print the linker flags that are necessary to link a \fIGIMP\fP plug-in.
|
2001-08-28 21:04:47 +08:00
|
|
|
.TP 8
|
|
|
|
.B \-\-libs-noui
|
2003-01-23 21:39:29 +08:00
|
|
|
Print the linker flags that are necessary to link a \fIGIMP\fP plug-in, for
|
2007-05-25 18:45:53 +08:00
|
|
|
plug-ins that do not require the GTK+ libraries.
|
2001-08-28 21:04:47 +08:00
|
|
|
.TP 8
|
|
|
|
.B \-\-cflags
|
2003-01-23 21:39:29 +08:00
|
|
|
Print the compiler flags that are necessary to compile a \fIGIMP\fP plug-in.
|
2001-08-28 21:04:47 +08:00
|
|
|
.TP 8
|
|
|
|
.B \-\-clags-noui
|
2003-01-23 21:39:29 +08:00
|
|
|
Print the compiler flags that are necessary to compile a \fIGIMP\fP plug-in
|
2007-05-25 18:45:53 +08:00
|
|
|
for plug-ins that do not require the GTK+ libraries.
|
2001-08-28 21:04:47 +08:00
|
|
|
.TP 8
|
|
|
|
.B \-\-prefix=PREFIX
|
2003-01-23 21:39:29 +08:00
|
|
|
If specified, use PREFIX instead of the installation prefix that \fIGIMP\fP
|
2001-08-28 21:04:47 +08:00
|
|
|
was built with when computing the output for the \-\-cflags and
|
|
|
|
\-\-libs options. This option is also used for the exec prefix
|
|
|
|
if \-\-exec\-prefix was not specified. This option must be specified
|
|
|
|
before any \-\-libs or \-\-cflags options.
|
|
|
|
.TP 8
|
|
|
|
.B \-\-exec\-prefix=PREFIX
|
|
|
|
If specified, use PREFIX instead of the installation exec prefix that
|
2003-01-23 21:39:29 +08:00
|
|
|
\fIGIMP\fP was built with when computing the output for the \-\-cflags
|
2001-08-28 21:04:47 +08:00
|
|
|
and \-\-libs options. This option must be specified before any
|
|
|
|
\-\-libs or \-\-cflags options.
|
|
|
|
|
2004-12-17 17:04:24 +08:00
|
|
|
|
2001-08-28 21:04:47 +08:00
|
|
|
.SH ENVIRONMENT
|
|
|
|
.PP
|
|
|
|
.TP 8
|
|
|
|
.B CC
|
|
|
|
to get the name of the desired C compiler.
|
|
|
|
.TP 8
|
|
|
|
.B CFLAGS
|
|
|
|
to get the preferred flags to pass to the C compiler for plug-in building.
|
|
|
|
.TP 8
|
|
|
|
.B LDFLAGS
|
2004-05-11 23:04:43 +08:00
|
|
|
to get the preferred flags for passing to the linker.
|
2001-08-28 21:04:47 +08:00
|
|
|
.TP 8
|
|
|
|
.B LIBS
|
|
|
|
for passing extra libs that may be needed in the build process. For example,
|
|
|
|
LIBS=-lintl .
|
2001-12-19 04:40:50 +08:00
|
|
|
.TP 8
|
|
|
|
.B PKG_CONFIG
|
2007-05-25 18:45:53 +08:00
|
|
|
to get the location of the \fIpkg-config\fP program that is used to determine
|
|
|
|
details about your glib, pango, gtk+ and gimp installation.
|
2001-08-28 21:04:47 +08:00
|
|
|
|
2004-12-17 17:04:24 +08:00
|
|
|
|
2001-08-28 21:04:47 +08:00
|
|
|
.SH SEE ALSO
|
|
|
|
.BR gimp (1),
|
2001-11-25 08:19:38 +08:00
|
|
|
.BR gimprc (5),
|
2004-12-17 17:04:24 +08:00
|
|
|
.BR pkg\-config (1)
|
|
|
|
|
2001-08-28 21:04:47 +08:00
|
|
|
|
|
|
|
.SH AUTHORS
|
2003-01-06 20:22:26 +08:00
|
|
|
gimptool was written by Manish Singh (yosh@gimp.org) and is based on
|
2004-12-17 17:04:24 +08:00
|
|
|
gtk\-config by Owen Taylor (owen@gtk.org).
|
2001-08-28 21:04:47 +08:00
|
|
|
|
|
|
|
This man page was written by Ben Gertzfield (che@debian.org), and tweaked
|
|
|
|
by Manish Singh (yosh@gimp.org), Adrian Likins (adrian@gimp.org) and Marc
|
|
|
|
Lehmann (pcg@goof.com>).
|
|
|
|
|