developer-opensolaris-X.p5m revision 1261
1122N/A# Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
970N/A#
970N/A# Permission is hereby granted, free of charge, to any person obtaining a
970N/A# copy of this software and associated documentation files (the "Software"),
970N/A# to deal in the Software without restriction, including without limitation
970N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
970N/A# and/or sell copies of the Software, and to permit persons to whom the
970N/A# Software is furnished to do so, subject to the following conditions:
970N/A#
970N/A# The above copyright notice and this permission notice (including the next
970N/A# paragraph) shall be included in all copies or substantial portions of the
970N/A# Software.
970N/A#
970N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
970N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
970N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
970N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
970N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
970N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
970N/A# DEALINGS IN THE SOFTWARE.
970N/A#
970N/Aset name=pkg.fmri value=pkg:/developer/opensolaris/X@$(OSPKGVERS)
1207N/Aset name=pkg.summary value="Dependencies required to build the X Consolidation."
1207N/Aset name=info.classification \
970N/A value="org.opensolaris.category.2008:Development/Distribution Tools"
970N/A
970N/A# We don't want this package to be part of the X incorporation so that you
970N/A# can install it to bootstrap the consolidation build for a later build
970N/A# without having to uninstall all the X packages first.
970N/Aset name=org.opensolaris.noincorp value=true
970N/A
970N/A#############################################################################
970N/A# This package is used for dual purposes - it defines what build machines
1207N/A# should have installed for building X, and it defines the subset of those
970N/A# packages that pkgdepend resolve should look in for dependencies that were
970N/A# detected by pkgdepend generate.
1207N/A#
970N/A# Dependencies to be used by pkgdepend generate bear the additional attribute
970N/A# org.opensolaris.pkgdepend.resolve=true which is used by the extract_depends
1207N/A# pkgmogrify filter when making the list for pkgdepend resolve -e to use.
970N/A#############################################################################
970N/A
1207N/A# Builds need to be able to uncompress upstream tar.bz2 & tar.gz files
970N/Adepend type=require fmri=pkg:/compress/bzip2 \
970N/A org.opensolaris.pkgdepend.resolve=true
1207N/Adepend type=require fmri=pkg:/compress/gzip
970N/A
970N/A# X.Org ships many docs using the DocBook XML DTD's and stylesheets
1207N/Adepend type=require fmri=pkg:/data/docbook/docbook-style-dsssl
970N/Adepend type=require fmri=pkg:/data/docbook/docbook-style-xsl
970N/Adepend type=require fmri=pkg:/data/sgml-common
1207N/Adepend type=require fmri=pkg:/data/xml-common
970N/A
970N/A# Solaris assembler required by Studio compilers
1207N/Adepend type=require fmri=pkg:/developer/assembler
1207N/A
1207N/A# Basic build utilities - nm, mcs, etc.
1207N/Adepend type=require fmri=pkg:/developer/base-developer-utilities
1207N/A
1207N/A# Many packages need to use GNU autotools to rebuild upstream configure files
1207N/Adepend type=require fmri=pkg:/developer/build/autoconf
970N/Adepend type=require fmri=pkg:/developer/build/automake-110
970N/A
1207N/A# Some packages need GNU make to build
1207N/Adepend type=require fmri=pkg:/developer/build/gnu-make
1207N/A
1207N/A# Many packages need to use GNU libtool to rebuild upstream libtool files
970N/Adepend type=require fmri=pkg:/developer/build/libtool
970N/A
1207N/A# Most of the X gate requires Solaris make to build
970N/Adepend type=require fmri=pkg:/developer/build/make
970N/A
1207N/A# The X gate borrows some ON scripts to build, such as validate_pkg
970N/Adepend type=require fmri=pkg:/developer/build/onbld
970N/A
1207N/A# Xserver build includes mdb modules
1207N/Adepend type=require fmri=pkg:/developer/debug/mdb
1207N/A
1207N/A# Tools needed to process DocBook docs
970N/Adepend type=require fmri=pkg:/developer/documentation-tool/openjade
1207N/Adepend type=require fmri=pkg:/developer/documentation-tool/opensp
1207N/A
1207N/A# Xserver build includes dtrace probes
1207N/Adepend type=require fmri=pkg:/developer/dtrace
1207N/A
970N/A# Some modules use gcc to build
970N/Adepend type=require fmri=pkg:/developer/gcc-3
1207N/A
# For now, this is the package that delivers pkg-config (Defect #15543)
depend type=require fmri=pkg:/developer/gnome/gettext
# 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
# 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/ksh 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-3-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
# 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