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

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

Issue 57051: Revert r12849 (conversion of "Hammer" names to "Debug"). (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}/"
117 install -m 644 "${SCRIPTDIR}/../common/${PACKAGE}/${PACKAGE}.png" \ 118 install -m 644 "${SCRIPTDIR}/../common/${PACKAGE}/${PACKAGE}.png" \
118 "${STAGEDIR}${INSTALLDIR}/" 119 "${STAGEDIR}${INSTALLDIR}/"
119 process_template "${SCRIPTDIR}/../common/wrapper" \ 120 process_template "${SCRIPTDIR}/../common/wrapper" \
120 "${STAGEDIR}${INSTALLDIR}/${PACKAGE}" 121 "${STAGEDIR}${INSTALLDIR}/${PACKAGE}"
121 chmod 755 "${STAGEDIR}${INSTALLDIR}/${PACKAGE}" 122 chmod 755 "${STAGEDIR}${INSTALLDIR}/${PACKAGE}"
122 (cd "${STAGEDIR}/usr/bin/" && ln -snf "${INSTALLDIR}/${PACKAGE}" "${PACKAGE}") 123 (cd "${STAGEDIR}/usr/bin/" && ln -snf "${INSTALLDIR}/${PACKAGE}" "${PACKAGE}")
123 process_template "${SCRIPTDIR}/../common/desktop.template" \ 124 process_template "${SCRIPTDIR}/../common/desktop.template" \
124 "${STAGEDIR}${INSTALLDIR}/${PACKAGE}.desktop" 125 "${STAGEDIR}${INSTALLDIR}/${PACKAGE}.desktop"
125 chmod 644 "${STAGEDIR}${INSTALLDIR}/${PACKAGE}.desktop" 126 chmod 644 "${STAGEDIR}${INSTALLDIR}/${PACKAGE}.desktop"
126 process_template "${SCRIPTDIR}/postinst" "${STAGEDIR}/DEBIAN/postinst" 127 process_template "${SCRIPTDIR}/postinst" "${STAGEDIR}/DEBIAN/postinst"
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 done 306 done
306 } 307 }
307 308
308 #========= 309 #=========
309 # MAIN 310 # MAIN
310 #========= 311 #=========
311 312
312 SCRIPTDIR=$(readlink -f "$(dirname "$0")") 313 SCRIPTDIR=$(readlink -f "$(dirname "$0")")
313 OUTPUTDIR="${PWD}" 314 OUTPUTDIR="${PWD}"
314 STAGEDIR=deb.build 315 STAGEDIR=deb.build
315 BUILDDIR=$(readlink -f "${SCRIPTDIR}/../../../../sconsbuild/Release") 316 BUILDDIR=$(readlink -f "${SCRIPTDIR}/../../../Hammer")
316 CHANGELOG=changelog.auto 317 CHANGELOG=changelog.auto
317 # Default to a bogus low version, so if somebody creates and installs a package 318 # Default to a bogus low version, so if somebody creates and installs a package
318 # with no version info, it won't prevent upgrading when trying to install a 319 # with no version info, it won't prevent upgrading when trying to install a
319 # properly versioned package (i.e. a proper package will always be "newer"). 320 # properly versioned package (i.e. a proper package will always be "newer").
320 VERSION="0.0.0.0" 321 VERSION="0.0.0.0"
321 # Use epoch timestamp so packages with bogus versions still increment and will 322 # Use epoch timestamp so packages with bogus versions still increment and will
322 # upgrade older bogus-versioned packages. 323 # upgrade older bogus-versioned packages.
323 REVISION=$(date +"%s") 324 REVISION=$(date +"%s")
324 325
325 process_opts "$@" 326 process_opts "$@"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 # even until the next Ubuntu LTS release with (hopefully) fixed ia32. 370 # even until the next Ubuntu LTS release with (hopefully) fixed ia32.
370 # 371 #
371 # Note that it's not sufficient to add the library dependency and a faux 372 # Note that it's not sufficient to add the library dependency and a faux
372 # "Provides" to the monolithic package, since apt-get seems to be smart enough 373 # "Provides" to the monolithic package, since apt-get seems to be smart enough
373 # to negate those out, and thus still considers the dependency lists to be 374 # to negate those out, and thus still considers the dependency lists to be
374 # different. 375 # different.
375 #package_split_64 376 #package_split_64
376 #package_compat_libs 377 #package_compat_libs
377 378
378 cleanup 379 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