Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(252)

Side by Side Diff: chrome/installer/linux/rpm/build.sh

Issue 18332012: Reland r209278 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/installer/linux/debian/expected_deps ('k') | crypto/nss_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # 2 #
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # TODO(mmoss) This currently only works with official builds, since non-official 7 # TODO(mmoss) This currently only works with official builds, since non-official
8 # builds don't add the "${BUILDDIR}/installer/" files needed for packaging. 8 # builds don't add the "${BUILDDIR}/installer/" files needed for packaging.
9 9
10 set -e 10 set -e
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 # xdg-utils is still optional in LSB 4.0. 117 # xdg-utils is still optional in LSB 4.0.
118 # nss (bundled) is optional in LSB 4.0. 118 # nss (bundled) is optional in LSB 4.0.
119 # 119 #
120 # We want to depend on the system SSL certs so wget can upload crash reports 120 # We want to depend on the system SSL certs so wget can upload crash reports
121 # securely, but there's no common capability between the distros. Bugs filed: 121 # securely, but there's no common capability between the distros. Bugs filed:
122 # https://qa.mandriva.com/show_bug.cgi?id=55714 122 # https://qa.mandriva.com/show_bug.cgi?id=55714
123 # https://bugzilla.redhat.com/show_bug.cgi?id=538158 123 # https://bugzilla.redhat.com/show_bug.cgi?id=538158
124 # https://bugzilla.novell.com/show_bug.cgi?id=556248 124 # https://bugzilla.novell.com/show_bug.cgi?id=556248
125 DEPENDS="lsb >= 4.0, \ 125 DEPENDS="lsb >= 4.0, \
126 libcurl.so.4${EMPTY_VERSION}${PKG_ARCH}, \ 126 libcurl.so.4${EMPTY_VERSION}${PKG_ARCH}, \
127 libnss3.so(NSS_3.12.3)${PKG_ARCH}, \ 127 libnss3.so(NSS_3.14.3)${PKG_ARCH}, \
128 wget, \ 128 wget, \
129 xdg-utils, \ 129 xdg-utils, \
130 zlib, \ 130 zlib, \
131 $(echo "${DETECTED_DEPENDS}" | tr '\n' ',')" 131 $(echo "${DETECTED_DEPENDS}" | tr '\n' ',')"
132 gen_spec 132 gen_spec
133 133
134 # Create temporary rpmbuild dirs. 134 # Create temporary rpmbuild dirs.
135 RPMBUILD_DIR=$(mktemp -d -t rpmbuild.XXXXXX) || exit 1 135 RPMBUILD_DIR=$(mktemp -d -t rpmbuild.XXXXXX) || exit 1
136 mkdir -p "$RPMBUILD_DIR/BUILD" 136 mkdir -p "$RPMBUILD_DIR/BUILD"
137 mkdir -p "$RPMBUILD_DIR/RPMS" 137 mkdir -p "$RPMBUILD_DIR/RPMS"
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 ;; 291 ;;
292 * ) 292 * )
293 echo 293 echo
294 echo "ERROR: Don't know how to build RPMs for '$TARGETARCH'." 294 echo "ERROR: Don't know how to build RPMs for '$TARGETARCH'."
295 echo 295 echo
296 exit 1 296 exit 1
297 ;; 297 ;;
298 esac 298 esac
299 299
300 do_package 300 do_package
OLDNEW
« no previous file with comments | « chrome/installer/linux/debian/expected_deps ('k') | crypto/nss_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698