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

Side by Side Diff: trunk/src/chrome/installer/linux/debian/build.sh

Issue 18414004: Revert 209515 "Reland http://crrev.com/209278" (Closed) Base URL: svn://svn.chromium.org/chrome/
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 | « no previous file | trunk/src/chrome/installer/linux/debian/expected_deps » ('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 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 rm -rf "$DUMMY_STAGING_DIR" 288 rm -rf "$DUMMY_STAGING_DIR"
289 289
290 # Additional dependencies not in the dpkg-shlibdeps output. 290 # Additional dependencies not in the dpkg-shlibdeps output.
291 ADDITION_DEPS="ca-certificates, libcurl3, \ 291 ADDITION_DEPS="ca-certificates, libcurl3, \
292 lsb-base (>=3.2), xdg-utils (>= 1.0.2), wget" 292 lsb-base (>=3.2), xdg-utils (>= 1.0.2), wget"
293 293
294 # Fix-up libnspr dependency due to renaming in Ubuntu (the old package still 294 # Fix-up libnspr dependency due to renaming in Ubuntu (the old package still
295 # exists, but it was moved to "universe" repository, which isn't installed by 295 # exists, but it was moved to "universe" repository, which isn't installed by
296 # default). 296 # default).
297 DPKG_SHLIB_DEPS=$(sed \ 297 DPKG_SHLIB_DEPS=$(sed \
298 's/\(libnspr4-0d ([^)]*)\), /\1 | libnspr4 (>= 4.9.5-0ubuntu0), /g' \ 298 's/\(libnspr4-0d ([^)]*)\), /\1 | libnspr4 (>= 4.8.7-0ubuntu1), /g' \
299 <<< $DPKG_SHLIB_DEPS) 299 <<< $DPKG_SHLIB_DEPS)
300 300
301 # Fix-up libudev dependency because Ubuntu 13.04 has libudev1 instead of 301 # Fix-up libudev dependency because Ubuntu 13.04 has libudev1 instead of
302 # libudev0. 302 # libudev0.
303 DPKG_SHLIB_DEPS=$(sed 's/\(libudev0 ([^)]*)\), /\1 | libudev1 (>= 198), /g' \ 303 DPKG_SHLIB_DEPS=$(sed 's/\(libudev0 ([^)]*)\), /\1 | libudev1 (>= 198), /g' \
304 <<< $DPKG_SHLIB_DEPS) 304 <<< $DPKG_SHLIB_DEPS)
305 305
306 COMMON_DEPS="${DPKG_SHLIB_DEPS}, ${ADDITION_DEPS}" 306 COMMON_DEPS="${DPKG_SHLIB_DEPS}, ${ADDITION_DEPS}"
307 COMMON_PREDEPS="dpkg (>= 1.14.0)" 307 COMMON_PREDEPS="dpkg (>= 1.14.0)"
308 308
(...skipping 12 matching lines...) Expand all
321 ;; 321 ;;
322 * ) 322 * )
323 echo 323 echo
324 echo "ERROR: Don't know how to build DEBs for '$TARGETARCH'." 324 echo "ERROR: Don't know how to build DEBs for '$TARGETARCH'."
325 echo 325 echo
326 exit 1 326 exit 1
327 ;; 327 ;;
328 esac 328 esac
329 329
330 do_package 330 do_package
OLDNEW
« no previous file with comments | « no previous file | trunk/src/chrome/installer/linux/debian/expected_deps » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698