# # CDDL HEADER START # # The contents of this file are subject to the terms of the # Common Development and Distribution License (the "License"). # You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. # See the License for the specific language governing permissions # and limitations under the License. # # When distributing Covered Code, include this CDDL HEADER in each # file and include the License file at usr/src/OPENSOLARIS.LICENSE. # If applicable, add the following below this CDDL HEADER, with the # fields enclosed by brackets "[]" replaced with your own identifying # information: Portions Copyright [yyyy] [name of copyright owner] # # CDDL HEADER END # # # Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. # # # Dependency helpers for things pkgdepend(1) doesn't or can't handle # These may be eventually replaced if/when the listed RFE's to handle # them directly in pkgdepend are implemented. # # # gsettings schema files # Bug 24416519 - pkgdepend could look for gsettings schema dependencies # # Finding these requires looking in source code for calls such as: # g_settings_new ("org.gnome.desktop.interface"); # When found, add an entry such as: # depend type=require fmri=__TBD \ # pkg.tmp.gsettings-schema=org.gnome.desktop.interface # You may also include pkg.debug.depend.reason=source-file.c as a reference # for future updates to record what source file you found the call in. # \ default pkg.debug.depend.file %<1>.gschema.xml> \ delete pkg.tmp.gsettings-schema .*> \ add pkg.debug.depend.path usr/share/glib-2.0/schemas> # # gobject-introspection typelib files # Bug 24463417 - pkgdepend could look for pygobject dependencies # Bug 24463542 - pkgdepend could look for girepository dependencies # # These are used as binding layers between the C libraries and other languages # such as Python and JavaScript. # # In python: # gi.require_version('Gtk', '3.0') # from gi.repository import Gtk # In javascript: # imports.gi.versions.Gtk = '3.0'; # const Gtk = imports.gi.Gtk; # # When found, add an entry such as: # depend type=require fmri=__TBD pkg.tmp.gi-typelib=Gtk-3.0 # If no version is specified for the import, the latest version should be used. # # You may also include pkg.debug.depend.reason=source-file.py as a reference # for future updates to record what source file you found the call in. # # If you need to search application-specific directories for them, you can add # an additional pkg.debug.depend.path attribute for each directory. # \ default pkg.debug.depend.file %<1>.typelib> \ delete pkg.tmp.gi-typelib .*> \ add pkg.debug.depend.path usr/lib/$(MACH64)/girepository-1.0>