GNOME-MODULE(5)
π GNOME-MODULE(5) β the x11/gnome port module, explained bestie-style π
okay so like, this is the manual page for gnome-module β it's a File Formats Manual thing, and it's literally all about what happens when you set MODULES=x11/gnome in the ports(7) tree. periodt. π
β¨ NAME β¨
gnome-module β the x11/gnome port module π¦
π DESCRIPTION π
hiii so this page documents what actually goes down when you set MODULES=x11/gnome inside the ports(7) tree. no cap, it's a whole vibe. π«
this module has full support for the gnu, simple, meson and cmake CONFIGURE_STYLE. all four, bestie, we're not playing favorites. π
if DIST_TUPLE is set and the gnome template is used, this module will set default values for GNOME_PROJECT, GNOME_VERSION, WRKDIST, and EXTRACT_SUFX. it's giving auto-fill energy. β¨
if both GNOME_PROJECT and GNOME_VERSION are set, this module defines DISTNAME, SITES, adds x11/gnome to CATEGORIES, and EXTRACT_SUFX will default to .tar.xz if it's unset. iconic behavior, honestly. π«Ά
unless NO_BUILD=Yes, devel/gettext,-tools is appended to MODGNOME_BUILD_DEPENDS for ports built using meson(1), and textproc/intltool is appended to MODULES for the other ports. π§
USE_GMAKE is set to "Yes". yup, always. π
when CONFIGURE_STYLE is set to gnu or simple, if none of AUTOCONF_VERSION nor AUTOMAKE_VERSION are defined, then "--disable-maintainer-mode" is appended to CONFIGURE_ARGS. when CONFIGURE_STYLE is set to cmake, these two get appended to CONFIGURE_ARGS:
-DENABLE_MAINTAINER_MODE=OFF-DSYSCONF_INSTALL_DIR=${SYSCONFDIR}
MODGNOME_CPPFLAGS and MODGNOME_LDFLAGS can be used to add compiler and linker flags. and these two:
CPPFLAGS="-I${LOCALBASE}/include"LDFLAGS="-L${LOCALBASE}/lib"
are always appended to CONFIGURE_ENV β unless MODGNOME_CPPFLAGS or MODGNOME_LDFLAGS is set to "no". so like, don't come for them unless you actually mean it. π
certain build/run dependencies and configure arguments and environment can be set by appending desktop-file-utils, docbook, gi-docgen, gobject-introspection, gtk-update-icon-cache, shared-mime-info, vala and/or yelp to MODGNOME_TOOLS. otherwise? they're disabled. not invited to the party. π
π οΈ what each MODGNOME_TOOLS option actually does
okay here's the tea on every single one β don't skip, bestie, they all matter π
desktop-file-utilsβ ifMODGNOME_TOOLSincludes this, a dependency ondevel/desktop-file-utilsis appended toMODGNOME_RUN_DEPENDS, and a link to/usr/bin/trueis created under${WRKDIR}/bin/desktop-file-validate. sneaky but valid. πdocbookβ ifMODGNOME_TOOLSincludes this,textproc/docbook-xslis appended toMODGNOME_BUILD_DEPENDS. this option is used when the generation of the man pages included in the source tarball requires docbook XML/SGML/XSL definitions and stylesheets. so like, docs-heavy port? you need this. πgi-docgenβ ifMODGNOME_TOOLSincludes this,textproc/gi-docgenis appended toMODGNOME_BUILD_DEPENDS. this option is used to generate documentation using GI-Docgen. docs slay. β¨gtk-update-icon-cacheβ ifMODGNOME_TOOLSincludes this, a dependency onx11/gtk+4,-guicis appended toMODGNOME_RUN_DEPENDS. icons stay fresh, periodt. πΈshared-mime-infoβ ifMODGNOME_TOOLSincludes this, a dependency onmisc/shared-mime-infois appended toMODGNOME_RUN_DEPENDS, and a link to/usr/bin/trueis created under${WRKDIR}/bin/update-mime-database. mime types understood, no confusion. π¦yelpβ ifMODGNOME_TOOLSincludes this,textproc/itstoolandx11/gnome/doc-utilsare appended toMODGNOME_BUILD_DEPENDS. furthermore,x11/gnome/yelpis appended toMODGNOME_RUN_DEPENDSifMODGNOME_TOOLSalso contains"desktop-file-utils". this option is to be used when any files are installed intoshare/gnome/help/or page files are installed intoshare/help/. help viewer vibes fr fr. π
MODGNOME_BUILD_DEPENDS and MODGNOME_RUN_DEPENDS are appended to the corresponding BUILD_DEPENDS and RUN_DEPENDS. that's the whole point, bestie. π
π the PLIST tags you literally cannot forget π
some tools require the following tag in the PLIST. do not forget these, i'm begging π
desktop-file-utils
@tag update-desktop-database
gtk-update-icon-cache ($icon-theme is the theme directory)
@tag gtk-update-icon-cache %D/share/icons/$icon-theme
shared-mime-info
@tag update-mime-database
π SEE ALSO π
port-modules(5)β go read it, iykyk π
and that's the whole page, bestie! π«Ά this cutie was brought to you by Debian, dated August 16, 2025, and it's literally the GNOME-MODULE(5) page from the File Formats Manual. mwah! πβ¨π
π¦ where this page comes from
- nixpkgs unstable: cvs-export
- Copyright (c) 2008 Marc Espie
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms