~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/canonical/buildd/sbuild.conf

  • Committer: mbp at canonical
  • Date: 2011-11-20 23:37:23 UTC
  • mto: This revision was merged to the branch mainline in revision 14344.
  • Revision ID: mbp@canonical.com-20111120233723-370p96db2crru5tm
Delete canonical.buildd again

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#
2
 
# /etc/sbuild.conf: global sbuild configurations that are
3
 
# supposed to be changed only by the sbuild author, not by the user.
4
 
# Of course you're free to override values here in /etc/sbuild.conf.local
5
 
#
6
 
# commented out stuff are defaults
7
 
#
8
 
# $Id: sbuild.conf,v 1.54 2002/10/10 18:50:45 rnhodek Exp $
9
 
#
10
 
 
11
 
# File with the source dependencies
12
 
#$source_dependencies = "/etc/source-dependencies";
13
 
 
14
 
# Default distribution to build:
15
 
#$default_distribution="unstable"
16
 
#$default_distribution=""
17
 
 
18
 
# Environment variables to set/override:
19
 
%ENV_OVERRIDES = {
20
 
        'LC_ALL' => 'C',
21
 
};
22
 
 
23
 
# Directory for writing build logs to
24
 
#$log_dir = "$HOME/logs";
25
 
 
26
 
# Name of a database for logging package build times (optional, no database
27
 
# is written if empty)
28
 
$avg_time_db = "/var/debbuild/avg-build-times";
29
 
 
30
 
# Name of a database for logging package space requirement (optional)
31
 
$avg_space_db = "/var/debbuild/avg-build-space";
32
 
 
33
 
# Name for dir for source dependency lock files
34
 
$srcdep_lock_dir = "/var/debbuild/srcdep-lock";
35
 
 
36
 
# When to purge the build directory afterwards; possible values are "never",
37
 
# "successful", and "always"
38
 
#$purge_build_directory="successful";
39
 
 
40
 
# PGP-related option to pass to dpkg-buildpackage. Usually neither .dsc
41
 
# nor .changes files shall be signed automatically.
42
 
#$pgp_options = "-us -uc";
43
 
 
44
 
# After that time (in minutes) of inactivity a build is terminated. Activity
45
 
# is measured by output to the log file.
46
 
$stalled_pkg_timeout = 150;
47
 
 
48
 
# Some packages may exceed the general timeout (e.g. redirecting output to
49
 
# a file) and need a different timeout. Below are some examples.
50
 
#%individual_stalled_pkg_timeout = (
51
 
#       smalleiffel => 300,
52
 
#       jade => 300,
53
 
#       atlas => 300,
54
 
#       glibc => 1000,
55
 
#       xfree86 => 1000,
56
 
#       'gcc-3.3' => 300,
57
 
#       kwave => 600
58
 
#);
59
 
 
60
 
# Binaries for which the access time is controlled if they're not listed as
61
 
# source dependencies (note: /usr/bin is added if executable name doesn't
62
 
# start with '/')
63
 
%watches = (
64
 
        # general utilities
65
 
        sharutils               => [qw(uuencode uudecode)],
66
 
        emacs20                 => ["emacs"],
67
 
        groff                   => ["groff"],
68
 
        bzip2                   => [qw(bzip2 bunzip2 bzcat bz2cat)],
69
 
#       unfortunately, too much stuff uses the following, so there are much
70
 
#       false alarms :-(
71
 
#       perl                    => ["perl"],
72
 
#       diff                    => [qw(diff diff3 sdiff cmp)],
73
 
#       gzip                    => [qw(gzip gunzip zcat)],
74
 
        # development tools
75
 
        debhelper               => [qw(dh_clean dh_testdir dh_testversion dh_buildpackage)],
76
 
        debmake                 => ["debstd"],
77
 
        bison                   => ["bison"],
78
 
        flex                    => ["flex"],
79
 
        gettext                 => [qw(gettext msgfmt msgmerge xgettext gettextize)],
80
 
        m4                      => ["m4"],
81
 
        f2c                     => [qw(f2c fc)],
82
 
        g77                     => ["g77"],
83
 
        libtool                 => [qw(/usr/share/aclocal/libtool.m4
84
 
                                                   /usr/share/libtool/ltmain.sh)],
85
 
#       unfortunately, too much stuff uses the following in predefined autoconf
86
 
#       macros, but doesn't really need it.
87
 
#       automake                => [qw(automake aclocal)],
88
 
#       autoconf                => [qw(autoconf autoheader)],
89
 
        "python-dev"    => [qw(python /usr/include/python/Python.h)],
90
 
        gperf                   => ["gperf"],
91
 
        rcs                     => [qw(ci co ident rcs rcsdiff rlog)],
92
 
        "netkit-rpc"            => ["rpcgen"],
93
 
        # doc formatting stuff
94
 
        "sgml-tools"            => ["sgmltools.v1"],
95
 
        "debiandoc-sgml"        => [qw(debiandoc2html debiandoc2latex2e debiandoc2texinfo
96
 
                                                  debiandoc2text debiandoc2dvi debiandoc2dvips
97
 
                                                  debiandoc2info debiandoc2ps)],
98
 
        "jade"                  => ["jade"],
99
 
        "liburi-perl"           => ["/usr/lib/perl5/URI/URL.pm"],
100
 
        "tetex-bin"             => [qw(tex latex dvips)],
101
 
        texi2html               => ["texi2html"],
102
 
        latex2html              => ["latex2html"],
103
 
        # special stuff
104
 
        "apache-dev"            => ["apxs"],
105
 
 
106
 
        # test for X libs
107
 
        "xlibs-dev"             => [qw(/usr/X11R6/lib/libX11.a /usr/X11R6/lib/libX11.so /usr/X11R6/lib/libICE.a /usr/X11R6/lib/libICE.so /usr/X11R6/lib/libXp.a /usr/X11R6/lib/libXp.so)]
108
 
);
109
 
 
110
 
# Ignore watches on the following packages if the package doesn't have its own
111
 
# build dependencies in the .dsc
112
 
@ignore_watches_no_build_deps = qw();
113
 
 
114
 
# If a source dependency is an alternative that is provided by more than one
115
 
# package, this list can select which one will be installed (if nothing is
116
 
# defined, a random provider will be used)
117
 
%alternatives = (
118
 
        "automaken"                     => "automake1.9",
119
 
        "info-browser"                  => "info",
120
 
        "httpd"                         => "apache2-mpm-worker",
121
 
        "postscript-viewer"             => "gs-esp",
122
 
        "postscript-preview"            => "psutils",
123
 
        "www-browser"                   => "lynx",
124
 
        "awk"                           => "gawk",
125
 
        "c-shell"                       => "tcsh",
126
 
        "wordlist"                      => "wbritish",
127
 
        "tclsh"                         => "tcl8.4",
128
 
        "wish"                          => "tk8.4",
129
 
        "c-compiler"                    => "gcc",
130
 
        "fortran77-compiler"            => "g77",
131
 
        "java-compiler"                 => "gcj",
132
 
        "libc-dev"                      => "libc6-dev",
133
 
        "libgl-dev"                     => "libgl1-mesa-dev",
134
 
        "libglu-dev"                    => "libglu1-mesa-dev",
135
 
        "libncurses-dev"                => "libncurses5-dev",
136
 
        "libreadline-dev"               => "libreadline5-dev",
137
 
        "libz-dev"                      => "zlib1g-dev",
138
 
        "emacsen"                       => "emacs21",
139
 
        "mail-transport-agent"          => "postfix",
140
 
        "mail-reader"                   => "mailx",
141
 
        "news-transport-system"         => "inn",
142
 
        "news-reader"                   => "nn",                # universe
143
 
        "pgp"                           => "pgp-i",
144
 
        "xserver"                       => "xserver-xorg",
145
 
        "libpng-dev"                    => "libpng12-dev",
146
 
        "mysql-dev"                     => "libmysqlclient-dev",
147
 
        "giflib-dev"                    => "libungif4-dev",
148
 
        "freetype2-dev"                 => "libttf-dev"
149
 
);
150
 
 
151
 
# read local config file
152
 
# require '/etc/sbuild.conf.local';
153
 
 
154
 
# don't remove this, Perl needs it:
155
 
1;