OpenBSD manual page server

Manual Page Search Parameters

GNOME-MODULE(5) File Formats Manual GNOME-MODULE(5)

gnome-modulex11/gnome port module

This manual page documents the behavior of setting MODULES=x11/gnome in the ports(7) tree.

This module has full support for the gnu, simple and cmake CONFIGURE_STYLE.

If both GNOME_PROJECT and GNOME_VERSION are set, this module defines DISTNAME, VERSION, MASTER_SITES, adds x11/gnome to CATEGORIES and EXTRACT_SUFX will default to .tar.xz if unset. Unless NO_BUILD=Yes, textproc/intltool is also appended to MODULES and when CONFIGURE_STYLE is set to gnu or simple, USE_GMAKE is set to "Yes".

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, "-DENABLE_MAINTAINER_MODE=OFF" and -DSYSCONF_INSTALL_DIR=${SYSCONFDIR} are appended to CONFIGURE_ARGS.

MODGNOME_CPPFLAGS and MODGNOME_LDFLAGS can be used to add compiler and linker flags. CPPFLAGS="-I${LOCALBASE}/include" and LDFLAGS="-L${LOCALBASE}/lib" are always appended to CONFIGURE_ENV.

Certain build/run dependencies and configure arguments and environment can be set by appending desktop-file-utils, docbook, gobject-introspection, gtk-update-icon-cache, shared-mime-info, vala and/or yelp to MODGNOME_TOOLS. They are disabled otherwise. If MODGNOME_TOOLS is set to desktop-file-utils, a dependency on devel/desktop-file-utils is appended to MODGNOME_RUN_DEPENDS and a link to /usr/bin/true is created under ${WRKDIR}/bin/desktop-file-validate. If MODGNOME_TOOLS is set to docbook, textproc/docbook-xsl is appended to MODGNOME_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. If MODGNOME_TOOLS is set to gtk-update-icon-cache, a dependency on x11/gtk+3,-guic is appended to MODGNOME_RUN_DEPENDS. If MODGNOME_TOOLS is set to shared-mime-info, a dependency on misc/shared-mime-info is appended to MODGNOME_RUN_DEPENDS and a link to /usr/bin/true is created under ${WRKDIR}/bin/update-mime-database. If MODGNOME_TOOLS is set to yelp, textproc/itstool and x11/gnome/doc-utils are appended to MODGNOME_BUILD_DEPENDS. Furthermore, x11/gnome/yelp is appended to MODGNOME_RUN_DEPENDS if MODGNOME_TOOLS also contains "desktop-file-utils" This option is to be used when any files are installed into share/gnome/help/ or page files are installed into share/help/. MODGNOME_BUILD_DEPENDS and MODGNOME_RUN_DEPENDS are appended to the corresponding BUILD_DEPENDS and RUN_DEPENDS.

Some tools require the following tag in the PLIST:


@tag update-desktop-database

gtk-update-icon-cache ($icon-theme is the theme directory)

@tag gtk-update-icon-cache %D/share/icons/$icon-theme


@tag update-mime-database


November 18, 2021 OpenBSD-7.1