~chromium-team/chromium-browser/artful-beta

« back to all changes in this revision

Viewing changes to debian/chromium-browser.sh.in

  • Committer: Chad Miller
  • Date: 2013-09-26 18:43:04 UTC
  • Revision ID: chad.miller@canonical.com-20130926184304-dbf45my755qknbss
* New release 29.0.1547.76.
* debian/tests/...: Make first real tests using sikuli. Probably quite
  fragile on changes to upstream. (LP: #1222895)
* debian/patches/4-chromeless-window-launch-option.patch: Make new windows
  use their own state instead of checking the parameters of the instance that
  started all processes for whether a window has chrome or not. (LP: #1223855)
* Update autopkgtest tests.
* debian/patches/series: Drop comment references to old patches.  Remove
  files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
LIBDIR=/usr/lib/chromium-browser
52
52
GDB=/usr/bin/gdb
53
53
BUILD_DIST="@BUILD_DIST@"
54
 
UPSTREAM_VERSION="@UPSTREAM_VERSION@"
55
 
if test -x "${LIBDIR}/${UPSTREAM_VERSION}"/chromium-browser; then
56
 
        LIBDIR="${LIBDIR}/${UPSTREAM_VERSION}"
57
 
fi
58
54
 
59
55
usage () {
60
 
  echo "$APPNAME [-h|--help] [-g|--debug] [--temp-profile] [--no-touch-pinch] [options] [URL]"
 
56
  echo "$APPNAME [-h|--help] [-g|--debug] [--temp-profile] [options] [URL]"
61
57
  echo
62
58
  echo "        -g or --debug           Start within $GDB"
63
59
  echo "        -h or --help            This help screen"
64
60
  echo "        --temp-profile          Start with a new and temporary profile"
65
 
  echo "        --no-touch-pinch        Disable pinch gestures."
66
61
  echo
67
62
  echo " Other supported options are:"
68
63
  MANWIDTH=80 man chromium-browser | sed -e '1,/OPTIONS/d; /ENVIRONMENT/,$d'
111
106
  export CHROME_VERSION_EXTRA="Built on $BUILD_DIST, running on $DIST $RELEASE"
112
107
fi
113
108
 
114
 
want_touch_pinch=1
115
109
want_debug=0
116
110
want_temp_profile=0
117
111
while [ $# -gt 0 ]; do
122
116
    -g | --debug )
123
117
      want_debug=1
124
118
      shift ;;
125
 
    --no-touch-pinch )
126
 
      want_touch_pinch=0
127
 
      shift ;;
128
119
    --temp-profile )
129
120
      want_temp_profile=1
130
121
      shift ;;
145
136
  CHROMIUM_FLAGS="$CHROMIUM_FLAGS --user-data-dir=$TEMP_PROFILE"
146
137
fi
147
138
 
148
 
if [ $want_touch_pinch -eq 1 ] ; then
149
 
  CHROMIUM_FLAGS="$CHROMIUM_FLAGS --enable-pinch"
150
 
fi
151
 
 
152
139
if [ $want_debug -eq 1 ] ; then
153
140
  if [ ! -x $GDB ] ; then
154
141
    echo "Sorry, can't find usable $GDB. Please install it."