GPGME(1)

πŸ“¦ version 1.16.0, in ubuntu jammy

πŸ’– GPGME(1) β€” like, the whole vibe πŸ’–

bestie bestie bestie, welcome to gpgme-config ✨ this little cutie lives in the User commands section of your manual, and she's about to tell you exactly what flags to feed your compiler. no cap.


✨ NAME ✨

gpgme-config β€” a script to get information about the installed version of GPGME πŸŽ€


🌸 SYNOPSIS 🌸

gpgme-config [--api-version] [--cflags] [--exec-prefix] [--get-gpg]
[--get-gpgsm] [--host] [--libs] [--prefix] [--thread=pthread]
[--version]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so. gpgme-config is the tool you use when you're configuring stuff β€” it figures out the compiler and linker flags you should be using to compile and link programs that use GPGME. it's giving "personal assistant for your build system" energy fr fr πŸ’…

and it's not just for you! it's also used internally by the .m4 macros for GNU autoconf that ship inside GPGME. so like, she works behind the scenes too. main character but also a team player, we love to see it πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

gpgme-config accepts the following options β€” and yes, we're doing all of them, no skipping, we don't do that here πŸ’–

  • --api-version β€” prints the currently installed API version of GPGME straight to standard output. very demure, very mindful.
  • --cflags β€” prints the compiler flags you need to compile a GPGME program. this is the one you want when your build is screaming at you.
  • --exec-prefix β€” prints the exec prefix that was used to configure the GPGME build.
  • --get-gpg β€” prints the path to the gpg(1) binary that was used to configure the GPGME build.
  • --get-gpgsm β€” prints the path to the gpgsm(1) binary that was used to configure the GPGME build. (yes, she knows about gpgsm too, versatile queen ✨)
  • --host β€” prints host information. that's it, that's the whole thing 🫢
  • --libs β€” prints the linker flags you need to link a GPGME program. pair her with --cflags and you're literally unstoppable.
  • --prefix β€” prints the prefix that was used to configure the GPGME build.
  • --thread=pthread β€” a switch for the --cflags and --libs options, for the thread-enabled GPGME version. iykyk 🧡
  • --version β€” prints the currently installed version of GPGME to standard output.

πŸ‘‘ AUTHORS πŸ‘‘

the GPGME library is written by many contributors, including Werner Koch, Marcus Brinkmann, Andre Heinecke, Justus Winter, and Karl-Heinz Zimmer. legends only, honestly 🌈

this manual page page was written by Jose Carlos Garcia Sogo <jsogo@debian.org> and Daniel Leidert <daniel.leidert@wgdd.de> for the Debian distribution (but may be used by others). shoutout to them for the lore drop πŸ’œ


πŸ’€ BUGS πŸ’€

please report bugs to <https://bugs.gnupg.org>. not to me, i'm just the messenger bestie πŸ˜­πŸ™ˆ


gpgme-tool is Copyright Β© 2015-2016 g10 Code GmbH

License GPLv2+: GNU GPL version 2 or later <https://www.gnu.org/licenses/>

this is free software: you are free to change and redistribute it.

⚠️ there is NO WARRANTY, to the extent permitted by law. so like, don't come for her if something breaks, that's literally the deal πŸ“œ

πŸ”₯ SEE ALSO πŸ”₯


and that's the whole page, periodt πŸ’…βœ¨ this gpgme manual page is dated 08 July 2012 β€” yeah she's an elder but she still ate and left no crumbs πŸ‘‘πŸ¦‹ go forth and configure your builds, bestie, you got this πŸ’–

πŸ“¦ where this page comes from