GIMPTOOL(1)
π GIMPTOOL(1) β the group chat manual π
okay so bestie, welcome to the General Commands Manual entry for gimptool. yes this is the one. sit down, hydrate, we're doing this. π«Ά
β¨ 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]
like, look at that. it's giving options. π
β¨ 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. one file. that's the whole vibe. iconic. πΈ
gimptool can also be used by programs that need to know what libraries and include-paths GIMP was compiled with. and the way it does that? it uses pkg-config for this task. π§
ok real talk bestie: for use in Makefiles, it is recommended that you usepkg-configdirectly instead of callinggimptool. no cap. that's the move. π
β¨ OPTIONS β¨
gimptool accepts the following options:
--versionβ prints the currently installed version of GIMP on the standard output. the "who even are you" check. π--helpβ prints out the help blurb, showing commonly used commandline options. your lil cheat sheet. π--quietβ run quietly without echoing any of the build commands. no chatter, just results. π€«--silentβ run silently without echoing any of the build commands. same as--quiet. literally the same thing, just a different name. π-nβ test mode. print the commands but don't actually execute them. useful for making dry runs for testing. main character energy: says it's gonna do it, does not do it. π--just-printβ test mode. print the commands but don't actually execute them. same as-n. π--dry-runβ test mode. print the commands but don't actually execute them. same as-n. π--reconβ test mode. print the commands but don't actually execute them. same as-n. (four options, one behaviour, and honestly? slay.) β¨--msvc-syntaxβ useful on Windows. outputs the compiler and linker flags in the syntax used by Microsoft's toolchain. this gets passed to thepkg-configcommand that does most ofgimptool's work. π¦--bindirβ outputs thebindirused to install the GIMP.--sbindirβ outputs thesbindirused to install the GIMP.--libexecdirβ outputs thelibexecdirused to install the GIMP.--datadirβ outputs thedatadirused to install the GIMP.--sysconfdirβ outputs thesysconfdirused to install the GIMP.--sharedstatedirβ outputs thesharedstatedirused to install the GIMP.--localstatedirβ outputs thelocalstatedirused to install the GIMP.--libdirβ outputs thelibdirused to install the GIMP.--infodirβ outputs theinfodirused to install the GIMP.--mandirβ outputs themandirused to install the GIMP.--includedirβ outputs theincludedirused to install the GIMP.--gimpdatadirβ outputs the actual directory where the GIMP data files were installed. the real one. the genuine article. π₯--gimpplugindirβ outputs the actual directory where the GIMP plug-ins were installed. π--build plug-in.cβ compile and linkplug-in.cinto a GIMP plug-in. β¨--build-strip plug-in.cβ compile, link, and stripplug-in.cinto a GIMP plug-in. less is more, babe. π--install plug-in.cβ compile, link, and installplug-in.cinto the user's personal GIMP plug-in directory ($XDG_CONFIG_HOME/GIMP/3.0/plug-ins). it's yours. π«Ά--install-strip plug-in.cβ compile, link, strip, and installplug-in.cinto the user's personal GIMP plug-in directory ($XDG_CONFIG_HOME/GIMP/3.0/plug-ins). π§--install-admin plug-in.cβ compile, link, and installplug-in.cinto the system-wide GIMP plug-in directory (/usr/lib/x86_64-linux-gnu/gimp/3.0/plug-ins). big girl moves, system-wide. π--install-bin plug-inβ installplug-ininto the user's personal GIMP plug-in directory ($XDG_CONFIG_HOME/GIMP/3.0/plug-ins). already built? just drop it in. πΈ--install-admin-bin plug-inβ installplug-ininto the system-wide GIMP plug-in directory (/usr/lib/x86_64-linux-gnu/gimp/3.0/plug-ins). π--install-bin-strip plug-inβ install strippedplug-ininto the user's personal GIMP plug-in directory ($XDG_CONFIG_HOME/GIMP/3.0/plug-ins). π--install-admin-bin-strip plug-inβ install strippedplug-ininto the system-wide GIMP plug-in directory (/usr/lib/x86_64-linux-gnu/gimp/3.0/plug-ins). β--install-script script.scmβ installscript.scminto the user's personal GIMP script directory ($XDG_CONFIG_HOME/GIMP/3.0/scripts). script girlies rise. π¦--install-admin-script script.scmβ installscript.scminto the system-wide GIMP script directory (/usr/share/gimp/3.0/scripts). π--uninstall-bin plug-inβ uninstallplug-infrom the user's personal GIMP plug-in directory ($XDG_CONFIG_HOME/GIMP/3.0/plug-ins). breaking up is hard but we do it anyway. π--uninstall-admin-bin plug-inβ uninstallplug-infrom the system-wide GIMP plug-in directory (/usr/lib/x86_64-linux-gnu/gimp/3.0/plug-ins). π--uninstall-script script.scmβ uninstallscript.scmfrom the user's personal GIMP script directory ($XDG_CONFIG_HOME/GIMP/3.0/scripts). π--uninstall-admin-script script.scmβ uninstallscript.scmfrom the system-wide GIMP script directory (/usr/share/gimp/3.0/scripts). β¨--libsβ print the linker flags that are necessary to link a GIMP plug-in. the "what do i link against" tea. π₯--libs-nouiβ print the linker flags that are necessary to link a GIMP plug-in, for plug-ins that do not require the GTK libraries. no GTK, no problem. π--cflagsβ print the compiler flags that are necessary to compile a GIMP plug-in. π--clags-nouiβ print the compiler flags that are necessary to compile a GIMP plug-in for plug-ins that do not require the GTK libraries. (yes bestie, that's the spelling on the page, we don't touch it, we just respect it.) πΈ--prefix=PREFIXβ if specified, use PREFIX instead of the installation prefix that GIMP was built with when computing the output for the--cflagsand--libsoptions. this option is also used for the exec prefix if--exec-prefixwas not specified. β οΈ this option must be specified before any--libsor--cflagsoptions. order matters, bestie, it always does. π--exec-prefix=PREFIXβ if specified, use PREFIX instead of the installation exec prefix that GIMP was built with when computing the output for the--cflagsand--libsoptions. β οΈ this option must be specified before any--libsor--cflagsoptions. same rule, no exceptions. π«Ά
β¨ ENVIRONMENT β¨
the vibes your shell can hand over:
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 thepkg-configprogram that is used to determine details about your glib, pango, gtk and gimp installation. the behind-the-scenes bestie. π
β¨ SEE ALSO β¨
gimp(1), gimprc(5), pkg-config(1) π
β¨ 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>). π«Ά
and that's the whole page, bestie. GIMP Manual Pages, Version 3.0.4 β go build something cute, and remember: pkg-config directly in your Makefiles, iykyk. mwah. πβ¨ππ¦πΈπ
π«Άππβπ
π¦ where this page comes from
- debian trixie: libgimp-3.0-bin 3.0.4-3+deb13u10 Β· GPL-3.0-or-later AND GPL-2.0-or-later AND LGPL-3.0-or-later AND MIT AND MIT AND BSD-2-Clause
- debian trixie: libgimp-3.0-bin 3.0.4-3+deb13u11 Β· GPL-3.0-or-later AND GPL-2.0-or-later AND LGPL-3.0-or-later AND MIT AND MIT AND BSD-2-Clause
- ubuntu questing: libgimp-3.0-bin 3.0.4-6.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms