developer-opensolaris-X.p5m revision 1366
1357N/A# Copyright (c) 2010, 2013, 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."
970N/Aset name=info.classification \
970N/A value="org.opensolaris.category.2008:Development/Distribution Tools"
970N/A
982N/A# We don't want this package to be part of the X incorporation so that you
982N/A# can install it to bootstrap the consolidation build for a later build
982N/A# without having to uninstall all the X packages first.
1153N/Aset name=org.opensolaris.noincorp value=true
982N/A
1261N/A#############################################################################
1261N/A# This package is used for dual purposes - it defines what build machines
1261N/A# should have installed for building X, and it defines the subset of those
1261N/A# packages that pkgdepend resolve should look in for dependencies that were
1261N/A# detected by pkgdepend generate.
1261N/A#
1261N/A# Dependencies to be used by pkgdepend generate bear the additional attribute
1261N/A# org.opensolaris.pkgdepend.resolve=true which is used by the extract_depends
1261N/A# pkgmogrify filter when making the list for pkgdepend resolve -e to use.
1261N/A#############################################################################
1261N/A
970N/A# Builds need to be able to uncompress upstream tar.bz2 & tar.gz files
1261N/Adepend type=require fmri=pkg:/compress/bzip2 \
1261N/A org.opensolaris.pkgdepend.resolve=true
1207N/Adepend type=require fmri=pkg:/compress/gzip
970N/A
1169N/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
1207N/Adepend type=require fmri=pkg:/data/docbook/docbook-style-xsl
1207N/Adepend type=require fmri=pkg:/data/sgml-common
1207N/Adepend type=require fmri=pkg:/data/xml-common
1169N/A
1169N/A# Solaris assembler required by Studio compilers
1207N/Adepend type=require fmri=pkg:/developer/assembler
1169N/A
1169N/A# Basic build utilities - nm, mcs, etc.
1207N/Adepend type=require fmri=pkg:/developer/base-developer-utilities
970N/A
970N/A# Many packages need to use GNU autotools to rebuild upstream configure files
1207N/Adepend type=require fmri=pkg:/developer/build/autoconf
1298N/Adepend type=require fmri=pkg:/developer/build/automake-$(AUTOMAKE_PKG_VERSION)
970N/A
970N/A# Some packages need GNU make to build
1207N/Adepend type=require fmri=pkg:/developer/build/gnu-make
970N/A
1123N/A# Many packages need to use GNU libtool to rebuild upstream libtool files
1273N/A# To build 64-bit libraries correctly, we need libtool 2.2.2 or later
1273N/Adepend type=require fmri=pkg:/developer/build/libtool@2.2.2
970N/A
970N/A# Most of the X gate requires Solaris make to build
1207N/Adepend type=require fmri=pkg:/developer/build/make
970N/A
970N/A# The X gate borrows some ON scripts to build, such as validate_pkg
1207N/Adepend type=require fmri=pkg:/developer/build/onbld
970N/A
970N/A# Xserver build includes mdb modules
1207N/Adepend type=require fmri=pkg:/developer/debug/mdb
970N/A
970N/A# Tools needed to process DocBook docs
1207N/Adepend type=require fmri=pkg:/developer/documentation-tool/openjade
1207N/Adepend type=require fmri=pkg:/developer/documentation-tool/opensp
970N/A
970N/A# Xserver build includes dtrace probes
1207N/Adepend type=require fmri=pkg:/developer/dtrace
970N/A
970N/A# Some modules use gcc to build
1207N/Adepend type=require fmri=pkg:/developer/gcc-3
970N/A
970N/A# For now, this is the package that delivers pkg-config (Defect #15543)
1207N/Adepend type=require fmri=pkg:/developer/gnome/gettext
970N/A
1366N/A# Some packages need GNU indent to build
1366N/Adepend type=require fmri=pkg:/developer/gnu-indent
1366N/A
1123N/A# xcb-util needs gperf to generate hash functions
1207N/Adepend type=require fmri=pkg:/developer/gperf
1123N/A
970N/A# tigervnc builds a java applet with javac
1207N/Adepend type=require fmri=pkg:/developer/java/jdk
970N/A
1123N/A# Various modules need flex to generate lexers
1207N/Adepend type=require fmri=pkg:/developer/lexer/flex
970N/A
970N/A# Various libraries build lint libraries, that depend on system lint libs
1207N/Adepend type=require fmri=pkg:/developer/library/lint
970N/A
1123N/A# xcb, xcb-util, xcb-util-wm need GNU M4 to build
1123N/A# (also required by any module running autoconf/autoreconf)
1207N/Adepend type=require fmri=pkg:/developer/macro/gnu-m4
1123N/A
970N/A# Xserver build uses flex & bison
1207N/Adepend type=require fmri=pkg:/developer/parser/bison
970N/A
970N/A# autopoint (from gnu gettext) requires CVS!
1207N/Adepend type=require fmri=pkg:/developer/versioning/cvs
970N/A
1169N/A# X gate source is kept in mercurial scm
1207N/Adepend type=require fmri=pkg:/developer/versioning/mercurial
970N/A
1169N/A# Driver packages delivering headers we require
1207N/A$(i386_ONLY)depend type=require fmri=pkg:/driver/graphics/agpgart
1207N/Adepend type=require fmri=pkg:/driver/usb
1169N/A
1169N/A# autoconf scripts prefer various gnu utilities (mkdir, install, etc.)
1261N/Adepend type=require fmri=pkg:/file/gnu-coreutils \
1261N/A org.opensolaris.pkgdepend.resolve=true
1169N/A
970N/A# tigervnc links with libjpg
1261N/Adepend type=require fmri=pkg:/image/library/libjpeg \
1261N/A org.opensolaris.pkgdepend.resolve=true
970N/A
970N/A# app/xcursorgen links with libpng12
1261N/Adepend type=require fmri=pkg:/image/library/libpng \
1261N/A org.opensolaris.pkgdepend.resolve=true
970N/A
970N/A# synergy-plus links against libstdcxx
1261N/Adepend type=require fmri=pkg:/library/c++/stdcxx \
1261N/A org.opensolaris.pkgdepend.resolve=true
970N/A
1357N/A# intel-gpu-tools links against libcairo
1366N/A$(i386_ONLY)depend type=require fmri=pkg:/library/desktop/cairo \
1357N/A org.opensolaris.pkgdepend.resolve=true
1357N/A
970N/A# lib/fontconfig links with libexpat
1261N/Adepend type=require fmri=pkg:/library/expat \
1261N/A org.opensolaris.pkgdepend.resolve=true
1261N/A
1261N/A# TigerVNC links with gnutls libraries
1261N/Adepend type=require fmri=pkg:/library/gnutls \
1261N/A org.opensolaris.pkgdepend.resolve=true
970N/A
1169N/A# xcb-proto runs xmllint
1207N/Adepend type=require fmri=pkg:/library/libxml2
1169N/A
1169N/A# A number of X packages use xsltproc to process DocBook and other XML files
1207N/Adepend type=require fmri=pkg:/library/libxslt
1169N/A
970N/A# AccessX & DPS require motif libraries
1261N/Adepend type=require fmri=pkg:/library/motif \
1261N/A org.opensolaris.pkgdepend.resolve=true
970N/A
970N/A# xterm uses ncurses/term.h
1207N/Adepend type=require fmri=pkg:/library/ncurses
970N/A
1130N/A# Mesa 7.10.2 requires libxml2 python module
1207N/Adepend type=require fmri=pkg:/library/python-2/libxml2-$(PYTHON_PKG_VERSION)
1130N/A
1169N/A# freetype, libXfont & libfontenc link with libz
1261N/Adepend type=require fmri=pkg:/library/zlib \
1261N/A org.opensolaris.pkgdepend.resolve=true
970N/A
1261N/A# Build runs a number of perl scripts, and vncserver is shipped as one
1261N/Adepend type=require fmri=pkg:/runtime/perl-$(PERL_PKG_VERSION) \
1261N/A org.opensolaris.pkgdepend.resolve=true
970N/A
1132N/A# xcb & mesa require python interpreter/compiler
1207N/Adepend type=require fmri=pkg:/runtime/python-$(PYTHON_PKG_VERSION)
1132N/A
1261N/A# Build uses and packages deliver a lot of shell/ksh93 scripts
1314N/Adepend type=require fmri=pkg:/shell/ksh93 org.opensolaris.pkgdepend.resolve=true
1261N/A
1261N/A# Build uses and packages depend on core OS commands & files
1261N/Adepend type=require fmri=pkg:/system/core-os \
1261N/A org.opensolaris.pkgdepend.resolve=true
1261N/A
970N/A# Xserver currently links with HAL & Dbus
1261N/Adepend type=require fmri=pkg:/system/hal org.opensolaris.pkgdepend.resolve=true
970N/A
970N/A# Basic system headers & libraries
1207N/Adepend type=require fmri=pkg:/system/header
1261N/Adepend type=require fmri=pkg:/system/library \
1261N/A org.opensolaris.pkgdepend.resolve=true
1261N/Adepend type=require fmri=pkg:/system/library/c++-runtime \
1261N/A org.opensolaris.pkgdepend.resolve=true
1207N/Adepend type=require fmri=pkg:/system/library/flex-runtime
1261N/Adepend type=require fmri=pkg:/system/library/gcc-3-runtime \
1261N/A org.opensolaris.pkgdepend.resolve=true
1261N/Adepend type=require fmri=pkg:/system/library/libdbus \
1261N/A org.opensolaris.pkgdepend.resolve=true
1261N/Adepend type=require fmri=pkg:/system/library/math \
1261N/A org.opensolaris.pkgdepend.resolve=true
970N/A
1169N/A# Almost all modules need Solaris ld to link binaries
1207N/Adepend type=require fmri=pkg:/system/linker
1123N/A
1169N/A# autoconf scripts prefer gnu awk
1207N/Adepend type=require fmri=pkg:/text/gawk
970N/A
970N/A# Some packages need GNU gettext to process upstream localization data
1207N/Adepend type=require fmri=pkg:/text/gnu-gettext
970N/A
1169N/A# autoconf scripts prefer gnu grep
1207N/Adepend type=require fmri=pkg:/text/gnu-grep
1169N/A
970N/A# Builds need to be able to apply local patches
1207N/Adepend type=require fmri=pkg:/text/gnu-patch
970N/A
1169N/A# autoconf scripts prefer gnu sed
1207N/Adepend type=require fmri=pkg:/text/gnu-sed
970N/A
1201N/A# w3m is used to convert html docs to text, after generating html from docbook
1207N/Adepend type=require fmri=pkg:/web/browser/w3m
1201N/A
970N/A# Builds need to be able to download upstream sources with wget
1207N/Adepend type=require fmri=pkg:/web/wget