GIMPTOOL(1)

πŸ’… GIMPTOOL(1): okay bestie, let's talk gimptool πŸ’…

okay so this is the General Commands Manual page for gimptool β€” that's the GIMPTOOL(1) manual, and it's giving "tiny script, big GIMP energy" ✨


πŸ’– NAME πŸ’–

gimptool β€” a script to perform various GIMPy functions πŸŽ€

✨ SYNOPSIS ✨

gimptool [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--help]
        [--quiet] [--silent] [-n] [--just-print] [--dry-run] [--recon]
        [--msvc-syntax] [--bindir] [--sbindir] [--libexecdir] [--datadir]
        [--sysconfdir] [--sharedstatedir] [--localstatedir] [--libdir]
        [--infodir] [--mandir] [--includedir] [--gimpplugindir]
        [--gimpdatadir] [--libs] [--libs-noui] [--cflags] [--cflags-noi]
        [--build plug-in.c] [--build-strip plug-in.c] [--install plug-in.c]
        [--install-strip plug-in.c] [--install-admin plug-in.c]
        [--install-bin plug-in] [--install-admin-strip plug-in.c]
        [--install-bin-strip plug-in] [--install-admin-bin plug-in]
        [--install-script script.scm] [--install-admin-script script.scm]
        [--uninstall-bin plug-in] [--uninstall-admin-bin plug-in]
        [--uninstall-script script.scm] [--uninstall-admin-script script.scm]

πŸ¦‹ DESCRIPTION πŸ¦‹

gimptool is a tool that can, among other things, build plug-ins or scripts and install them if they are distributed in one source file πŸ’…

It can also be used by programs that need to know what libraries and include-paths GIMP was compiled with. gimptool uses pkg-config for this task. For use in Makefiles, it is recommended that you use pkg-config directly instead of calling gimptool πŸ‘‘

πŸ’… OPTIONS πŸ’…

gimptool accepts the following options:

  • --version β€” prints the currently installed version of GIMP on the standard output 🌸
  • --help β€” prints out the help blurb, showing commonly used commandline options 🫢
  • --quiet β€” runs quietly without echoing any of the build commands 🀫
  • --silent β€” runs silently without echoing any of the build commands. Same as --quiet πŸ’€
  • -n β€” test mode. Prints the commands but doesn't actually execute them. Useful for making dry runs for testing πŸ‘€
  • --just-print β€” test mode. Prints the commands but doesn't actually execute them. Same as -n πŸ§ͺ
  • --dry-run β€” test mode. Prints the commands but doesn't actually execute them. Same as -n πŸ¦‹
  • --recon β€” test mode. Prints the commands but doesn't actually execute them. Same as -n ✨
  • --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 gimptool's work πŸͺŸ
  • --bindir β€” outputs the bindir used to install the GIMP πŸ“
  • --sbindir β€” outputs the sbindir used to install the GIMP πŸ“
  • --libexecdir β€” outputs the libexecdir used to install the GIMP πŸ“
  • --datadir β€” outputs the datadir used to install the GIMP πŸ“
  • --sysconfdir β€” outputs the sysconfdir used to install the GIMP πŸ“
  • --sharedstatedir β€” outputs the sharedstatedir used to install the GIMP πŸ“
  • --localstatedir β€” outputs the localstatedir used to install the GIMP πŸ“
  • --libdir β€” outputs the libdir used to install the GIMP πŸ“
  • --infodir β€” outputs the infodir used to install the GIMP πŸ“
  • --mandir β€” outputs the mandir used to install the GIMP πŸ“
  • --includedir β€” outputs the includedir used to install the GIMP πŸ“
  • --gimpdatadir β€” outputs the actual directory where the GIMP data files were installed πŸ—‚οΈ
  • --gimpplugindir β€” outputs the actual directory where the GIMP plug-ins were installed πŸ”Œ
  • --build plug-in.c β€” compiles and links plug-in.c into a GIMP plug-in πŸ”¨
  • --build-strip plug-in.c β€” compiles, links, and strips plug-in.c into a GIMP plug-in βœ‚οΈ
  • --install plug-in.c β€” compiles, links, and installs plug-in.c into the user's personal GIMP plug-in directory ($XDG_CONFIG_HOME/GIMP/3.2/plug-ins) πŸ’Ύ
  • --install-strip plug-in.c β€” compiles, links, strips, and installs plug-in.c into the user's personal GIMP plug-in directory ($XDG_CONFIG_HOME/GIMP/3.2/plug-ins) πŸŽ€
  • --install-admin plug-in.c β€” compiles, links, and installs plug-in.c into the system-wide GIMP plug-in directory (/usr/lib/gimp/3.0/plug-ins) πŸ‘‘
  • --install-bin plug-in β€” installs plug-in into the user's personal GIMP plug-in directory ($XDG_CONFIG_HOME/GIMP/3.2/plug-ins) πŸ’Ύ
  • --install-admin-bin plug-in β€” installs plug-in into the system-wide GIMP plug-in directory (/usr/lib/gimp/3.0/plug-ins) πŸ‘‘
  • --install-bin-strip plug-in β€” installs stripped plug-in into the user's personal GIMP plug-in directory ($XDG_CONFIG_HOME/GIMP/3.2/plug-ins) βœ‚οΈ
  • --install-admin-bin-strip plug-in β€” installs stripped plug-in into the system-wide GIMP plug-in directory (/usr/lib/gimp/3.0/plug-ins) βœ‚οΈπŸ‘‘
  • --install-script script.scm β€” installs script.scm into the user's personal GIMP script directory ($XDG_CONFIG_HOME/GIMP/3.2/scripts) πŸ“œ
  • --install-admin-script script.scm β€” installs script.scm into the system-wide GIMP script directory (/usr/share/gimp/3.0/scripts) πŸ“œπŸ‘‘
  • --uninstall-bin plug-in β€” uninstalls plug-in from the user's personal GIMP plug-in directory ($XDG_CONFIG_HOME/GIMP/3.2/plug-ins) πŸ—‘οΈ
  • --uninstall-admin-bin plug-in β€” uninstalls plug-in from the system-wide GIMP plug-in directory (/usr/lib/gimp/3.0/plug-ins) πŸ—‘οΈπŸ‘‘
  • --uninstall-script script.scm β€” uninstalls script.scm from the user's personal GIMP script directory ($XDG_CONFIG_HOME/GIMP/3.2/scripts) πŸ—‘οΈπŸ“œ
  • --uninstall-admin-script script.scm β€” uninstalls script.scm from the system-wide GIMP script directory (/usr/share/gimp/3.0/scripts) πŸ—‘οΈπŸ“œπŸ‘‘
  • --libs β€” prints the linker flags that are necessary to link a GIMP plug-in πŸ”—
  • --libs-noui β€” prints the linker flags that are necessary to link a GIMP plug-in, for plug-ins that do not require the GTK libraries πŸ”—πŸš«
  • --libs-geglop β€” prints the linker flags that are necessary to link a GEGL filter πŸ”—πŸŸ£
  • --cflags β€” prints the compiler flags that are necessary to compile a GIMP plug-in πŸ› οΈ
  • --clags-noui β€” prints the compiler flags that are necessary to compile a GIMP plug-in for plug-ins that do not require the GTK libraries πŸ› οΈπŸš«
  • --clags-geglop β€” prints the compiler flags that are necessary to compile a GEGL filter πŸ› οΈπŸŸ£
  • --prefix=PREFIX β€” if specified, use PREFIX instead of the installation prefix that GIMP 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 πŸ“
  • --exec-prefix=PREFIX β€” if specified, use PREFIX instead of the installation exec prefix that GIMP was built with when computing the output for the --cflags and --libs options. This option must be specified before any --libs or --cflags options πŸ“

🌈 ENVIRONMENT 🌈

  • CC β€” to get the name of the desired C compiler πŸ§‘β€πŸ’»
  • CFLAGS β€” to get the preferred flags to pass to the C compiler for plug-in building πŸ› οΈ
  • LDFLAGS β€” to get the preferred flags for passing to the linker πŸ”—
  • LIBS β€” for passing extra libs that may be needed in the build process. For example, LIBS=-lintl 🧺
  • PKG_CONFIG β€” to get the location of the pkg-config program that is used to determine details about your glib, pango, gtk and gimp installation 🧭

πŸ”₯ SEE ALSO πŸ”₯

πŸ‘‘ AUTHORS πŸ‘‘

gimptool was written by Manish Singh (yosh@gimp.org) and is based on gtk-config by Owen Taylor (owen@gtk.org) πŸ’–

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>) 🫢


okay that's the whole page, bestie β€” footer sign-off tea: source is GIMP Manual Pages, version is Version 3.2.6, and the page tag is GIMPTOOL(1) πŸ’–πŸŽ€βœ¨

πŸ“¦ where this page comes from