~launchpad-pqm/launchpad/devel

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
#
# /etc/sbuild.conf: global sbuild configurations that are
# supposed to be changed only by the sbuild author, not by the user.
# Of course you're free to override values here in /etc/sbuild.conf.local
#
# commented out stuff are defaults
#
# $Id: sbuild.conf,v 1.54 2002/10/10 18:50:45 rnhodek Exp $
#

# File with the source dependencies
#$source_dependencies = "/etc/source-dependencies";

# Default distribution to build:
#$default_distribution="unstable"
#$default_distribution=""

# Environment variables to set/override:
%ENV_OVERRIDES = {
	'LC_ALL' => 'C',
};

# Directory for writing build logs to
#$log_dir = "$HOME/logs";

# Name of a database for logging package build times (optional, no database
# is written if empty)
$avg_time_db = "/var/debbuild/avg-build-times";

# Name of a database for logging package space requirement (optional)
$avg_space_db = "/var/debbuild/avg-build-space";

# Name for dir for source dependency lock files
$srcdep_lock_dir = "/var/debbuild/srcdep-lock";

# When to purge the build directory afterwards; possible values are "never",
# "successful", and "always"
#$purge_build_directory="successful";

# PGP-related option to pass to dpkg-buildpackage. Usually neither .dsc
# nor .changes files shall be signed automatically.
#$pgp_options = "-us -uc";

# After that time (in minutes) of inactivity a build is terminated. Activity
# is measured by output to the log file.
$stalled_pkg_timeout = 150;

# Some packages may exceed the general timeout (e.g. redirecting output to
# a file) and need a different timeout. Below are some examples.
#%individual_stalled_pkg_timeout = (
#	smalleiffel => 300,
#	jade => 300,
#	atlas => 300,
#	glibc => 1000,
#	xfree86 => 1000,
#	'gcc-3.3' => 300,
#	kwave => 600
#);

# Binaries for which the access time is controlled if they're not listed as
# source dependencies (note: /usr/bin is added if executable name doesn't
# start with '/')
%watches = (
	# general utilities
	sharutils		=> [qw(uuencode uudecode)],
	emacs20			=> ["emacs"],
	groff			=> ["groff"],
	bzip2			=> [qw(bzip2 bunzip2 bzcat bz2cat)],
#	unfortunately, too much stuff uses the following, so there are much
#	false alarms :-(
#	perl			=> ["perl"],
#	diff			=> [qw(diff diff3 sdiff cmp)],
#	gzip			=> [qw(gzip gunzip zcat)],
	# development tools
	debhelper		=> [qw(dh_clean dh_testdir dh_testversion dh_buildpackage)],
	debmake			=> ["debstd"],
	bison			=> ["bison"],
	flex			=> ["flex"],
	gettext			=> [qw(gettext msgfmt msgmerge xgettext gettextize)],
	m4			=> ["m4"],
	f2c			=> [qw(f2c fc)],
	g77			=> ["g77"],
	libtool			=> [qw(/usr/share/aclocal/libtool.m4
						   /usr/share/libtool/ltmain.sh)],
#	unfortunately, too much stuff uses the following in predefined autoconf
#	macros, but doesn't really need it.
#	automake		=> [qw(automake aclocal)],
#	autoconf		=> [qw(autoconf autoheader)],
	"python-dev"	=> [qw(python /usr/include/python/Python.h)],
	gperf			=> ["gperf"],
	rcs			=> [qw(ci co ident rcs rcsdiff rlog)],
	"netkit-rpc"		=> ["rpcgen"],
	# doc formatting stuff
	"sgml-tools"		=> ["sgmltools.v1"],
	"debiandoc-sgml"	=> [qw(debiandoc2html debiandoc2latex2e debiandoc2texinfo
						  debiandoc2text debiandoc2dvi debiandoc2dvips
						  debiandoc2info debiandoc2ps)],
	"jade"			=> ["jade"],
	"liburi-perl"		=> ["/usr/lib/perl5/URI/URL.pm"],
	"tetex-bin"		=> [qw(tex latex dvips)],
	texi2html		=> ["texi2html"],
	latex2html		=> ["latex2html"],
	# special stuff
	"apache-dev"		=> ["apxs"],

	# test for X libs
	"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)]
);

# Ignore watches on the following packages if the package doesn't have its own
# build dependencies in the .dsc
@ignore_watches_no_build_deps = qw();

# If a source dependency is an alternative that is provided by more than one
# package, this list can select which one will be installed (if nothing is
# defined, a random provider will be used)
%alternatives = (
	"automaken"			=> "automake1.9",
	"info-browser"			=> "info",
	"httpd"				=> "apache2-mpm-worker",
	"postscript-viewer"		=> "gs-esp",
	"postscript-preview"		=> "psutils",
	"www-browser"			=> "lynx",
	"awk"				=> "gawk",
	"c-shell"			=> "tcsh",
	"wordlist"			=> "wbritish",
	"tclsh"				=> "tcl8.4",
	"wish"				=> "tk8.4",
	"c-compiler"			=> "gcc",
	"fortran77-compiler"		=> "g77",
	"java-compiler"			=> "gcj",
	"libc-dev"			=> "libc6-dev",
	"libgl-dev"			=> "libgl1-mesa-dev",
	"libglu-dev"			=> "libglu1-mesa-dev",
	"libncurses-dev"		=> "libncurses5-dev",
	"libreadline-dev"		=> "libreadline5-dev",
	"libz-dev"			=> "zlib1g-dev",
	"emacsen"			=> "emacs21",
	"mail-transport-agent"		=> "postfix",
	"mail-reader"			=> "mailx",
	"news-transport-system"		=> "inn",
	"news-reader"			=> "nn",		# universe
	"pgp"				=> "pgp-i",
	"xserver"			=> "xserver-xorg",
	"libpng-dev"			=> "libpng12-dev",
	"mysql-dev"			=> "libmysqlclient-dev",
	"giflib-dev"			=> "libungif4-dev",
	"freetype2-dev"			=> "libttf-dev"
);

# read local config file
# require '/etc/sbuild.conf.local';

# don't remove this, Perl needs it:
1;