I reinstalled our official X gate build machines last week and took
the opportunity to determine the dependencies of our build process.

Using existing knowledge/documentation, dtrace, and a number of test
builds worth of trial-and-error, we've determined that for a system
starting with "slim_install" (aka the contents of the OpenSolaris
Live CD), the attached set of packages are needed to build the current
X gate.   (This testing was done on snv_137, but I believe the list
should apply to any recent build, including the current public release
of snv_134).

In addition to these, the X build still requires 2 components not in
any IPS repo:

 1) CBEgettext from the JDS CBE packages at
        http://www.opensolaris.org/os/project/jds/contributing/building/

    This requirement should go away once the fix for bug 6785384
    becomes available in snv_138.

 2) Studio 12 compilers - Nevada CBE patched version:
    Download from
http://hub.opensolaris.org/bin/view/Community+Group+tools/sun_studio_tools
    or internal nfs access from /ws/onnv-tools/SUNWspro/SS12/bin/

As you can see, the list is formatted as an IPS manifest - as part of the
X transition to delivering IPS packages, we will be delivering this as a
new "group package", so that in the future, installing the X build environment
will simply be a matter of "pkg install developer/opensolaris/X"

Until then, to get the list of packages from the file to install, you should be
able to do:
        pkg install `sed -n -e 's/^.*fmri=//p' developer-opensolaris-X.mf`


-- 
        -Alan Coopersmith-        [email protected]
         Oracle Solaris Platform Engineering: X Window System

# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice (including the next
# paragraph) shall be included in all copies or substantial portions of the
# Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
#
set name=pkg.fmri value=pkg:/developer/opensolaris/x...@$(PKGVERS)
set name=pkg.description \
    value="Dependencies required to build the X Consolidation."
set name=pkg.summary \
    value="Dependencies required to build the X Consolidation."
set name=info.classification \
    value="org.opensolaris.category.2008:Development/Distribution Tools"
set name=org.opensolaris.noincorp value=true
set name=variant.arch value=$(ARCH)
set name=variant.opensolaris.zone value=global value=nonglobal
# OpenSolaris X gate source is kept in mercurial scm
depend type=require fmri=developer/versioning/mercurial
# Builds need to be able to download upstream sources with wget
depend type=require fmri=web/wget
# Builds need to be able to uncompress upstream tar.bz2 & tar.gz files
depend type=require fmri=compress/bzip2
depend type=require fmri=compress/gzip
# Builds need to be able to apply local patches
depend type=require fmri=text/gnu-patch
# Basic build utilities - make, ld, etc.
depend type=require fmri=developer/build/make
depend type=require fmri=developer/linker
depend type=require fmri=developer/object-file
# Many packages need to use GNU autotools to rebuild upstream configure files
depend type=require fmri=developer/build/autoconf
depend type=require fmri=developer/build/autogen
depend type=require fmri=developer/build/automake-110
depend type=require fmri=developer/build/libtool
depend type=require fmri=developer/gnome/gettext
# Some packages need GNU gettext to process upstream localization data
depend type=require fmri=text/gnu-gettext
# autopoint (from gnu gettext) requires CVS!
depend type=require fmri=developer/versioning/cvs
# Some packages need GNU make to build
depend type=require fmri=developer/build/gnu-make
# Documentation building/formatting utilties
depend type=require fmri=data/docbook
depend type=require fmri=developer/documentation-tool/openjade
depend type=require fmri=developer/documentation-tool/opensp
depend type=require fmri=text/doctools
depend type=require fmri=text/groff
# docbook2txt uses lynx to translate html docs to text during the build
depend type=require fmri=web/browser/lynx
# Xserver build uses flex & bison
depend type=require fmri=developer/parser/bison
depend type=require fmri=developer/lexer/flex
depend type=require fmri=system/library/flex-runtime
# Xserver build includes mdb modules
depend type=require fmri=developer/debug/mdb
# Xserver build includes dtrace probes
depend type=require fmri=developer/dtrace
# Various libraries build lint libraries, that depend on system lint libs
depend type=require fmri=developer/library/lint
# Some modules use gcc to build
depend type=require fmri=developer/gcc-3
depend type=require fmri=system/library/gcc-3-runtime
# AccessX & DPS require motif libraries
depend type=require fmri=library/motif
# Basic system headers & libraries
depend type=require fmri=system/header
depend type=require fmri=system/header/header-audio
depend type=require fmri=system/header/header-usb
$(i386_ONLY)depend type=require fmri=system/header/header-agp
depend type=require fmri=system/library
depend type=require fmri=system/library/c++/sunpro
depend type=require fmri=system/library/math
depend type=require fmri=system/library/math/header-math
# Build runs a number of perl scripts
depend type=require fmri=runtime/perl-584
depend type=require fmri=runtime/perl-584/extra
# Xserver currently links with HAL & Dbus
depend type=require fmri=service/hal
depend type=require fmri=system/library/libdbus
# app/xcursorgen links with libpng12
depend type=require fmri=image/library/libpng
# lib/fontconfig links with libexpat
depend type=require fmri=library/expat
# app/xrx needs Firefox plugin headers
depend type=require fmri=web/browser/firefox
depend type=require fmri=library/nspr/header-nspr
# libXfont & libfontenc link with libz
depend type=require fmri=library/zlib
# xterm uses ncurses/term.h
depend type=require fmri=library/ncurses
# tigervnc links with libjpg
depend type=require fmri=image/library/libjpeg
# tigervnc builds a java applet with javac
depend type=require fmri=developer/java/jdk

# Workaround for https://defect.opensolaris.org/bz/show_bug.cgi?id=15809
depend type=require fmri=compatibility/ucb
_______________________________________________
xwin-discuss mailing list
[email protected]
List info: http://mail.opensolaris.org/mailman/listinfo/xwin-discuss
Unsubscribe: http://mail.opensolaris.org/mailman/options/xwin-discuss

Reply via email to