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

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

Issue 56158: Remove the 'Hammer' name in favor of the Debug|Release names... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 8 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 | « base/base_paths_linux.cc ('k') | third_party/libxslt/linux/xslt-config » ('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) 2009 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2009 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 7 # TODO
8 # - only package opt builds? 8 # - only package opt builds?
9 9
10 set -e 10 set -e
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 # TODO(mmoss) This assumes we built the static binaries. To support shared 107 # TODO(mmoss) This assumes we built the static binaries. To support shared
108 # builds, we probably want an install target in scons so it can give us all 108 # builds, we probably want an install target in scons so it can give us all
109 # the right files. See also: 109 # the right files. See also:
110 # http://code.google.com/p/chromium/issues/detail?id=4451 110 # http://code.google.com/p/chromium/issues/detail?id=4451
111 install -m 755 -s "${BUILDDIR}/${PROGNAME}" "${STAGEDIR}${INSTALLDIR}/" 111 install -m 755 -s "${BUILDDIR}/${PROGNAME}" "${STAGEDIR}${INSTALLDIR}/"
112 install -m 644 "${BUILDDIR}/${PROGNAME}.pak" "${STAGEDIR}${INSTALLDIR}/" 112 install -m 644 "${BUILDDIR}/${PROGNAME}.pak" "${STAGEDIR}${INSTALLDIR}/"
113 install -m 644 "${BUILDDIR}/locales/en-US.pak" \ 113 install -m 644 "${BUILDDIR}/locales/en-US.pak" \
114 "${STAGEDIR}${INSTALLDIR}/locales/" 114 "${STAGEDIR}${INSTALLDIR}/locales/"
115 install -m 644 "${BUILDDIR}/themes/default.pak" \ 115 install -m 644 "${BUILDDIR}/themes/default.pak" \
116 "${STAGEDIR}${INSTALLDIR}/themes/" 116 "${STAGEDIR}${INSTALLDIR}/themes/"
117 install -m 644 "${BUILDDIR}/icudt38l.dat" "${STAGEDIR}${INSTALLDIR}/"
118 install -m 644 "${SCRIPTDIR}/../common/${PACKAGE}/${PACKAGE}.png" \ 117 install -m 644 "${SCRIPTDIR}/../common/${PACKAGE}/${PACKAGE}.png" \
119 "${STAGEDIR}${INSTALLDIR}/" 118 "${STAGEDIR}${INSTALLDIR}/"
120 process_template "${SCRIPTDIR}/../common/wrapper" \ 119 process_template "${SCRIPTDIR}/../common/wrapper" \
121 "${STAGEDIR}${INSTALLDIR}/${PACKAGE}" 120 "${STAGEDIR}${INSTALLDIR}/${PACKAGE}"
122 chmod 755 "${STAGEDIR}${INSTALLDIR}/${PACKAGE}" 121 chmod 755 "${STAGEDIR}${INSTALLDIR}/${PACKAGE}"
123 (cd "${STAGEDIR}/usr/bin/" && ln -snf "${INSTALLDIR}/${PACKAGE}" "${PACKAGE}") 122 (cd "${STAGEDIR}/usr/bin/" && ln -snf "${INSTALLDIR}/${PACKAGE}" "${PACKAGE}")
124 process_template "${SCRIPTDIR}/../common/desktop.template" \ 123 process_template "${SCRIPTDIR}/../common/desktop.template" \
125 "${STAGEDIR}${INSTALLDIR}/${PACKAGE}.desktop" 124 "${STAGEDIR}${INSTALLDIR}/${PACKAGE}.desktop"
126 chmod 644 "${STAGEDIR}${INSTALLDIR}/${PACKAGE}.desktop" 125 chmod 644 "${STAGEDIR}${INSTALLDIR}/${PACKAGE}.desktop"
127 process_template "${SCRIPTDIR}/postinst" "${STAGEDIR}/DEBIAN/postinst" 126 process_template "${SCRIPTDIR}/postinst" "${STAGEDIR}/DEBIAN/postinst"
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 done 305 done
307 } 306 }
308 307
309 #========= 308 #=========
310 # MAIN 309 # MAIN
311 #========= 310 #=========
312 311
313 SCRIPTDIR=$(readlink -f "$(dirname "$0")") 312 SCRIPTDIR=$(readlink -f "$(dirname "$0")")
314 OUTPUTDIR="${PWD}" 313 OUTPUTDIR="${PWD}"
315 STAGEDIR=deb.build 314 STAGEDIR=deb.build
316 BUILDDIR=$(readlink -f "${SCRIPTDIR}/../../../Hammer") 315 BUILDDIR=$(readlink -f "${SCRIPTDIR}/../../../../sconsbuild/Release")
317 CHANGELOG=changelog.auto 316 CHANGELOG=changelog.auto
318 # Default to a bogus low version, so if somebody creates and installs a package 317 # Default to a bogus low version, so if somebody creates and installs a package
319 # with no version info, it won't prevent upgrading when trying to install a 318 # with no version info, it won't prevent upgrading when trying to install a
320 # properly versioned package (i.e. a proper package will always be "newer"). 319 # properly versioned package (i.e. a proper package will always be "newer").
321 VERSION="0.0.0.0" 320 VERSION="0.0.0.0"
322 # Use epoch timestamp so packages with bogus versions still increment and will 321 # Use epoch timestamp so packages with bogus versions still increment and will
323 # upgrade older bogus-versioned packages. 322 # upgrade older bogus-versioned packages.
324 REVISION=$(date +"%s") 323 REVISION=$(date +"%s")
325 324
326 process_opts "$@" 325 process_opts "$@"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 # even until the next Ubuntu LTS release with (hopefully) fixed ia32. 369 # even until the next Ubuntu LTS release with (hopefully) fixed ia32.
371 # 370 #
372 # Note that it's not sufficient to add the library dependency and a faux 371 # Note that it's not sufficient to add the library dependency and a faux
373 # "Provides" to the monolithic package, since apt-get seems to be smart enough 372 # "Provides" to the monolithic package, since apt-get seems to be smart enough
374 # to negate those out, and thus still considers the dependency lists to be 373 # to negate those out, and thus still considers the dependency lists to be
375 # different. 374 # different.
376 #package_split_64 375 #package_split_64
377 #package_compat_libs 376 #package_compat_libs
378 377
379 cleanup 378 cleanup
OLDNEW
« no previous file with comments | « base/base_paths_linux.cc ('k') | third_party/libxslt/linux/xslt-config » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698