developer-opensolaris-X.p5m revision 1416
269N/A# Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
269N/A#
851N/A# Permission is hereby granted, free of charge, to any person obtaining a
269N/A# copy of this software and associated documentation files (the "Software"),
943N/A# to deal in the Software without restriction, including without limitation
269N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
269N/A# and/or sell copies of the Software, and to permit persons to whom the
919N/A# Software is furnished to do so, subject to the following conditions:
919N/A#
919N/A# The above copyright notice and this permission notice (including the next
919N/A# paragraph) shall be included in all copies or substantial portions of the
919N/A# Software.
919N/A#
919N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
919N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
919N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
919N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
919N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
919N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
919N/A# DEALINGS IN THE SOFTWARE.
919N/A#
919N/Aset name=pkg.fmri value=pkg:/developer/opensolaris/X@$(OSPKGVERS)
919N/Aset name=pkg.summary value="Dependencies required to build the X Consolidation."
919N/Aset name=info.classification \
269N/A value="org.opensolaris.category.2008:Development/Distribution Tools"
269N/A
269N/A# We don't want this package to be part of the X incorporation so that you
269N/A# can install it to bootstrap the consolidation build for a later build
493N/A# without having to uninstall all the X packages first.
269N/Aset name=org.opensolaris.noincorp value=true
269N/A
851N/A#############################################################################
269N/A# This package is used for dual purposes - it defines what build machines
911N/A# should have installed for building X, and it defines the subset of those
911N/A# packages that pkgdepend resolve should look in for dependencies that were
911N/A# detected by pkgdepend generate.
911N/A#
269N/A# Dependencies to be used by pkgdepend generate bear the additional attribute
851N/A# org.opensolaris.pkgdepend.resolve=true which is used by the extract_depends
851N/A# pkgmogrify filter when making the list for pkgdepend resolve -e to use.
851N/A#############################################################################
851N/A
851N/A# Builds need to be able to uncompress upstream tar.bz2 & tar.gz files
851N/Adepend type=require fmri=pkg:/compress/bzip2 \
269N/A org.opensolaris.pkgdepend.resolve=true
269N/Adepend type=require fmri=pkg:/compress/gzip
269N/A
269N/A# X.Org ships many docs using the DocBook XML DTD's and stylesheets
269N/Adepend type=require fmri=pkg:/data/docbook/docbook-style-dsssl
269N/Adepend type=require fmri=pkg:/data/docbook/docbook-style-xsl
269N/Adepend type=require fmri=pkg:/data/sgml-common
493N/Adepend type=require fmri=pkg:/data/xml-common
969N/A
269N/A# Solaris assembler required by Studio compilers
920N/Adepend type=require fmri=pkg:/developer/assembler
920N/A
284N/A# Basic build utilities - nm, mcs, etc.
269N/Adepend type=require fmri=pkg:/developer/base-developer-utilities
269N/A
269N/A# Many packages need to use GNU autotools to rebuild upstream configure files
851N/Adepend type=require fmri=pkg:/developer/build/autoconf
851N/Adepend type=require fmri=pkg:/developer/build/automake-$(AUTOMAKE_PKG_VERSION)
851N/A
851N/A# Some packages need GNU make to build
851N/Adepend type=require fmri=pkg:/developer/build/gnu-make
269N/A
# Many packages need to use GNU libtool to rebuild upstream libtool files
# To build 64-bit libraries correctly, we need libtool 2.2.2 or later
depend type=require fmri=pkg:/developer/build/libtool@2.2.2
# Most of the X gate requires Solaris make to build
depend type=require fmri=pkg:/developer/build/make
# The X gate borrows some ON scripts to build, such as validate_pkg
depend type=require fmri=pkg:/developer/build/onbld
# Xserver build includes mdb modules
depend type=require fmri=pkg:/developer/debug/mdb
# Tools needed to process DocBook docs
depend type=require fmri=pkg:/developer/documentation-tool/openjade
depend type=require fmri=pkg:/developer/documentation-tool/opensp
# Xserver build includes dtrace probes
depend type=require fmri=pkg:/developer/dtrace
# Some modules use gcc to build
depend type=require fmri=pkg:/developer/gcc-47
# For now, this is the package that delivers pkg-config (Defect #15543)
depend type=require fmri=pkg:/developer/gnome/gettext
# Some packages need GNU indent to build
depend type=require fmri=pkg:/developer/gnu-indent
# xcb-util needs gperf to generate hash functions
depend type=require fmri=pkg:/developer/gperf
# tigervnc builds a java applet with javac
depend type=require fmri=pkg:/developer/java/jdk
# Various modules need flex to generate lexers
depend type=require fmri=pkg:/developer/lexer/flex
# Various libraries build lint libraries, that depend on system lint libs
depend type=require fmri=pkg:/developer/library/lint
# xcb, xcb-util, xcb-util-wm need GNU M4 to build
# (also required by any module running autoconf/autoreconf)
depend type=require fmri=pkg:/developer/macro/gnu-m4
# Xserver build uses flex & bison
depend type=require fmri=pkg:/developer/parser/bison
# autopoint (from gnu gettext) requires CVS!
depend type=require fmri=pkg:/developer/versioning/cvs
# X gate source is kept in mercurial scm
depend type=require fmri=pkg:/developer/versioning/mercurial
# Driver packages delivering headers we require
$(i386_ONLY)depend type=require fmri=pkg:/driver/graphics/agpgart
depend type=require fmri=pkg:/driver/usb
# autoconf scripts prefer various gnu utilities (mkdir, install, etc.)
depend type=require fmri=pkg:/file/gnu-coreutils \
org.opensolaris.pkgdepend.resolve=true
# tigervnc links with libjpg
depend type=require fmri=pkg:/image/library/libjpeg \
org.opensolaris.pkgdepend.resolve=true
# app/xcursorgen links with libpng12
depend type=require fmri=pkg:/image/library/libpng \
org.opensolaris.pkgdepend.resolve=true
# synergy-plus links against libstdcxx
depend type=require fmri=pkg:/library/c++/stdcxx \
org.opensolaris.pkgdepend.resolve=true
# intel-gpu-tools links against libcairo
$(i386_ONLY)depend type=require fmri=pkg:/library/desktop/cairo \
org.opensolaris.pkgdepend.resolve=true
# lib/fontconfig links with libexpat
depend type=require fmri=pkg:/library/expat \
org.opensolaris.pkgdepend.resolve=true
# TigerVNC links with gnutls libraries
depend type=require fmri=pkg:/library/gnutls \
org.opensolaris.pkgdepend.resolve=true
# xcb-proto runs xmllint
depend type=require fmri=pkg:/library/libxml2
# A number of X packages use xsltproc to process DocBook and other XML files
depend type=require fmri=pkg:/library/libxslt
# AccessX & DPS require motif libraries
depend type=require fmri=pkg:/library/motif \
org.opensolaris.pkgdepend.resolve=true
# xterm uses ncurses/term.h
depend type=require fmri=pkg:/library/ncurses
# Mesa 7.10.2 requires libxml2 python module
depend type=require fmri=pkg:/library/python-2/libxml2-$(PYTHON_PKG_VERSION)
# freetype, libXfont & libfontenc link with libz
depend type=require fmri=pkg:/library/zlib \
org.opensolaris.pkgdepend.resolve=true
# Build runs a number of perl scripts, and vncserver is shipped as one
depend type=require fmri=pkg:/runtime/perl-$(PERL_PKG_VERSION) \
org.opensolaris.pkgdepend.resolve=true
# xcb & mesa require python interpreter/compiler
depend type=require fmri=pkg:/runtime/python-$(PYTHON_PKG_VERSION)
# Build uses and packages deliver a lot of shell/ksh93 scripts
depend type=require fmri=pkg:/shell/ksh93 org.opensolaris.pkgdepend.resolve=true
# Build uses and packages depend on core OS commands & files
depend type=require fmri=pkg:/system/core-os \
org.opensolaris.pkgdepend.resolve=true
# Xserver currently links with HAL & Dbus
depend type=require fmri=pkg:/system/hal org.opensolaris.pkgdepend.resolve=true
# Basic system headers & libraries
depend type=require fmri=pkg:/system/header
depend type=require fmri=pkg:/system/library \
org.opensolaris.pkgdepend.resolve=true
depend type=require fmri=pkg:/system/library/c++-runtime \
org.opensolaris.pkgdepend.resolve=true
depend type=require fmri=pkg:/system/library/flex-runtime
depend type=require fmri=pkg:/system/library/gcc-45-runtime \
org.opensolaris.pkgdepend.resolve=true
depend type=require fmri=pkg:/system/library/libdbus \
org.opensolaris.pkgdepend.resolve=true
depend type=require fmri=pkg:/system/library/math \
org.opensolaris.pkgdepend.resolve=true
# Xdmx needs libmd - which moved - 15214282
depend type=require fmri=pkg:/system/library/security/crypto \
org.opensolaris.pkgdepend.resolve=true
# Almost all modules need Solaris ld to link binaries
depend type=require fmri=pkg:/system/linker
# autoconf scripts prefer gnu awk
depend type=require fmri=pkg:/text/gawk
# Some packages need GNU gettext to process upstream localization data
depend type=require fmri=pkg:/text/gnu-gettext
# autoconf scripts prefer gnu grep
depend type=require fmri=pkg:/text/gnu-grep
# Builds need to be able to apply local patches
depend type=require fmri=pkg:/text/gnu-patch
# autoconf scripts prefer gnu sed
depend type=require fmri=pkg:/text/gnu-sed
# w3m is used to convert html docs to text, after generating html from docbook
depend type=require fmri=pkg:/web/browser/w3m
# Builds need to be able to download upstream sources with wget
depend type=require fmri=pkg:/web/wget