code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/sh # Update all pom.xml with new build number # # TODO(sop) This should be converted to some sort of # Java based Maven plugin so its fully portable. # POM_FILES=$(git ls-files | grep pom.xml) case "$1" in --snapshot=*) V=$(echo "$1" | perl -pe 's/^--snapshot=//') if [ -z "$V" ] then echo >&2 "usage: $0 ...
Shell
#!/bin/sh set -e SRC=$(ls gerrit-plugin-api/target/gerrit-plugin-api-*-sources.jar) VER=${SRC#gerrit-plugin-api/target/gerrit-plugin-api-} VER=${VER%-sources.jar} type=release case $VER in *-SNAPSHOT) echo >&2 "fatal: Cannot deploy $VER" echo >&2 " Use ./tools/version.sh --release && mvn clean package" e...
Shell
#!/bin/sh include_docs=-Dgerrit.include-documentation=1 while [ $# -gt 0 ] do case "$1" in --no-documentation|--without-documentation) include_docs= shift ;; *) echo >&2 "usage: $0 [--without-documentation]" exit 1 esac done git update-index -q --refresh if test -n "$(git diff-index --name-only HEAD -...
Shell
#!/bin/sh export JETTY_HOST=127.0.0.1 export JETTY_PORT=8081 export JETTY_USER=gerrit2 export JETTY_PID=/var/run/jetty$JETTY_PORT.pid export JETTY_HOME=/home/$JETTY_USER/jetty export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.07/jre JAVA_OPTIONS="" JAVA_OPTIONS="$JAVA_OPTIONS -Djetty.host=$JETTY_HOST" export JAVA_OPTION...
Shell
#!/bin/sh V=$(git describe HEAD) case "$V" in '') echo >&2 "fatal: no annotated tags, cannot determine version" exit 1 ;; *-g*) echo >&2 "fatal: snapshot $V, cannot determine version" exit 1 ;; v*) echo "$V" | perl -lne 'print $1 if /^v(\d+\.\d+(?:\.\d+)?)/' ;; esac
Shell
#!/bin/bash # Copyright (c) 2012, Code Aurora Forum. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # Redistributions of source code must retain the above copyright # notice, this list...
Shell
#!/usr/bin/env bash success=true for i do printf "%-40s" $i if sh -c "$i >$i.log 2>&1" 2>/dev/null then echo PASS else echo FAIL';' output in $i.log success=false fi done if $success; then echo 'ALL TESTS PASSED.' exit 0 fi echo 'TESTS FAILED.' exit 1
Shell
#!/bin/sh cp syntax.txt syntax.html sam -d syntax.html <<'!' ,s/\&/\&amp;/g ,s/</\&lt;/g ,s/>/\&gt;/g ,s!== (([^()]|\([^()]*\))*)!≡ <code>\1</code>!g ,s!«!<code>!g ,s!»!</code>!g ,s! vim$! <font size=-2>VIM</font>!g ,s! pcre$! <font size=-2>PCRE</font>!g ,s! perl$! <font size=-2>PERL</font>!g ,x g/NOT SUPPORTED/ s!^[^...
Shell
#!/bin/sh cp syntax.txt syntax.wiki sam -d syntax.wiki <<'!' ,s!`!`````!g ,s!== (([^()]|\([^()]*\))*)!≡ `\1`!g ,s!«!`!g ,s!»!`!g ,s! vim$! <font size="1">VIM</font>!g ,s! pcre$! <font size="1">PCRE</font>!g ,s! perl$! <font size="1">PERL</font>!g ,s!(^[^ ]+) (.*)\n!`\1` \2\n!g ,x g/NOT SUPPORTED/ s!^[^ ]+!<font color=...
Shell
#!/bin/bash # # This script checks the java version and bails if it's less # than Java6 (because we use @Override annotations on interface # overriding methods. It then proceeds to do a maven build that # first cleans, then builds the normal lifecycle through compilation # unit testing (if available) up to packaging. ...
Shell
#! /bin/bash # Binary of the Texturepacker: TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker # Shared Spritesheet-Output-Definitions: SPRITESHEET_OUTPUT_DIRECTORY="../assets/gfx/spritesheets/" SPRITESHEET_OUTPUT_JAVAIDS_PACKAGE="org.anddev.andengine.examples.spritesheets" SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src...
Shell
#! /bin/bash # Binary of the Texturepacker: TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker # Shared Spritesheet-Output-Definitions: SPRITESHEET_OUTPUT_DIRECTORY="../assets/gfx/spritesheets/" SPRITESHEET_OUTPUT_JAVAIDS_PACKAGE="org.anddev.andengine.examples.spritesheets" SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src...
Shell
#!/bin/bash if [ $# != 1 ] then echo "Usage: $0 emailAddress" exit 1 fi read -s -p "Password: " mypassword echo "" curl https://www.google.com/accounts/ClientLogin -d Email=$1 -d "Passwd=$mypassword" -d accountType=GOOGLE -d source=Google-cURL-Example -d service=ac2dm
Shell
#!/bin/sh # Create a backup tar gzip file of the cwd with the date appended # located in the parent directory. FILENAME=../`pwd|xargs basename`-`date -j "+%Y-%m-%d"`.tgz echo Will create $FILENAME tar cfz $FILENAME . echo Done.
Shell
#!/bin/sh # Need to run a full clean install when changing the request factory interfaces # Doing so deletes the local debug app engine database # This script backs that up first SRC=shuffle-app-engine/target/shuffle-app-engine-2.0.0-SNAPSHOT/WEB-INF/appengine-generated DEST=../db_backup rm -r $DEST mkdir $DEST cp -...
Shell
#!/bin/bash echo "## Step 00: initialize" ( if ! [ -d build ]; then mkdir build mkdir build/src mkdir build/src/trunk fi ) fetch() { ( cd src if ! [ -f "${2}/.svn/entries" ]; then mkdir "${2}" cd "${2}" svn co --non-interactive --trust-server-cert "${1}" "." else cd "${2}" sv...
Shell
#!/bin/bash find org/jivesoftware -name '*.java' -exec sed -i 's:import org.xmlpull.mxp1.MXParser:import org.xmlpull.v1.XmlPullParserFactory:' '{}' ';' find org/jivesoftware -name '*.java' -exec sed -i 's:new MXParser():XmlPullParserFactory.newInstance().newPullParser():g' '{}' ';'
Shell
#!/bin/bash rm org/xbill/DNS/spi/DNSJavaNameServiceDescriptor.java
Shell
#!/bin/bash rm -rf org/ietf/ rm -rf org/apache/harmony/auth rm -rf org/apache/harmony/javax/security/auth/kerberos/ rm -rf org/apache/harmony/javax/security/auth/x500/ rm org/apache/harmony/javax/security/auth/Policy.java
Shell
#!/bin/bash find -name '*.java' -exec sed -i 's:import org.apache.harmony.javax.security.sasl.Sasl;:import de.measite.smack.Sasl;:g' '{}' ';'
Shell
#!/bin/bash find org/apache/harmony -name '*.java' -exec sed -i 's:import org.apache.harmony.auth.internal.nls.Messages;::' '{}' ';' find org/apache/harmony -name '*.java' -exec sed -i 's:Messages.getString(\("[^"]*"\)):\1:g' '{}' ';'
Shell
#!/bin/bash rm org/jivesoftware/smack/debugger/LiteDebugger.java rm org/jivesoftware/smackx/debugger/EnhancedDebugger.java rm org/jivesoftware/smackx/debugger/EnhancedDebuggerWindow.java
Shell
#!/bin/bash mkdir -p org/apache/harmony/ mv javax org/apache/harmony/ find org/apache/harmony/ -name '*.java' -exec sed -i 's:package javax:package org.apache.harmony.javax:g' '{}' ';' find -name '*.java' -exec sed -i 's:import javax.security.sasl:import org.apache.harmony.javax.security.sasl:g' '{}' ';' find -name '*...
Shell
#!/bin/bash # 打开apache.http调试信息 adb shell setprop log.tag.org.apache.http VERBOSE adb shell setprop log.tag.org.apache.http.wire VERBOSE adb shell setprop log.tag.org.apache.http.headers VERBOSE echo "Enable Debug"
Shell
#!/bin/bash # Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed t...
Shell
#!/bin/bash # Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed t...
Shell
#!/bin/bash # Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed t...
Shell
#!/bin/bash # (C) Copyright 2014, Google Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in wr...
Shell
#-*- mode: shell-script;-*- # # bash completion support for tesseract # # Copyright (C) 2009 Neskie A. Manuel <neskiem@gmail.com> # Distributed under the Apache License, Version 2.0. # _tesseract_languages() { local TESSDATA="/usr/share/tesseract-ocr/tessdata/" local langs="$(ls $TESSDATA | grep traineddata | cut -...
Shell
#!/bin/bash # # File: generate_manpages.sh # Description: Converts .asc files into man pages, etc. for Tesseract. # Author: eger@google.com (David Eger) # Created: 9 Feb 2012 # # (C) Copyright 2012 Google Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this f...
Shell
#!/bin/bash # File: runalltests.sh # Description: Script to run a set of UNLV test sets. # Author: Ray Smith # Created: Thu Jun 14 08:21:01 PDT 2007 # # (C) Copyright 2007, Google Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with...
Shell
#!/bin/bash # File: counttestset.sh # Description: Script to count the errors on a single UNLV set. # Author: Ray Smith # Created: Wed Jun 13 11:58:01 PDT 2007 # # (C) Copyright 2007, Google Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in comp...
Shell
#!/bin/bash # File: runtestset.sh # Description: Script to run tesseract on a single UNLV set. # Author: Ray Smith # Created: Wed Jun 13 10:13:01 PDT 2007 # # (C) Copyright 2007, Google Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in complianc...
Shell
#!/bin/bash if [ $# -ne 1 ] then echo "Usage:$0 scantype" echo "UNLV data comes in several scan types:" echo "3B=300 dpi binary" echo "3A=adaptive thresholded 300 dpi" echo "3G=300 dpi grey" echo "4B=400dpi binary" echo "2B=200dpi binary" echo "For now we only use 3B" exit 1 fi ext=...
Shell
#!/bin/sh # This is a simple script which is meant to help developers # better deal with the GNU autotools, specifically: # # aclocal # autoheader # autoconf # automake # # The whole thing is quite complex... # # The idea is to run this collection of tools on a single platform, # typically the main development...
Shell
#!/bin/bash jar cf clearnlp-$1.jar com rsync -avc clearnlp-$1.jar choij@nlp01.nj3.ipsoft.com:/apps/data/clearnlp/lib
Shell
#!/bin/bash if [ ! -e eigen-android ]; then hg clone https://bitbucket.org/eigen/eigen eigen-android else cd eigen-android && hg pull && hg update fi
Shell
#!/bin/sh current_dir=`pwd` mkdir -p download cd download if [ ! -e boost_1_45_0.tar.gz ] then echo "wget'ing boost'" #this url is for convenience, consider it a mirror and you may replace it #with any existing boost_1_45_0.tar.gz url boost_download=http://vault.willowgarage.com/wgdata1/vol1/android_bo...
Shell
#!/bin/sh if [ $# -ne 1 ] then echo "Error in $0 - Invalid Argument Count" echo "Syntax: $0 boost_1_45_0" exit fi patch $1/libs/filesystem/v2/src/v2_operations.cpp < android.patch
Shell
#!/bin/sh if [ $# -ne 1 ] then echo "Error in $0 - Invalid Argument Count" echo "Syntax: $0 boost_1_45_0" exit fi patch $1/libs/filesystem/v2/src/v2_operations.cpp < filesystem.patch patch $1/boost/detail/endian.hpp < endian.patch
Shell
if [ -z "$1" ] then echo "Usage: `basename $0` <path> the path will be used to download and untar the android-ndk to." exit $E_NOARGS fi export destination=$1 if [ ! -e $destination ]; then echo "$destination does not exist!" exit 1 fi ball=android-ndk-r5b-linux-x86.tar.bz2 hash=4c0045ddc2bfd657be9d5177d0e0b7...
Shell
if [ -z "$1" ] then echo "Usage: `basename $0` <path> the path will be used to download and untar the android-ndk into." exit $E_NOARGS fi export destination=$1 if [ ! -e $destination ]; then echo "$destination does not exist!" exit 1 fi ball=android-ndk-r5b-linux-x86.tar.bz2 hash=4c0045ddc2bfd657be9d5177d0e0...
Shell
#!/bin/sh #this generates an ant based cli build of the android-jni project android update project --name hello-android-cmake \ --path .
Shell
#this generates an ant based cli build of the android-jni project android update project --name HelloGL2 \ --path .
Shell
#!/bin/bash #javac HelloWorld.java cd java && ant
Shell
#!/bin/bash LD_LIBRARY_PATH=./lib/pc export LD_LIBRARY_PATH java -jar java/dist/lib/HelloBoost.jar
Shell
javah -jni -classpath build com.theveganrobot.cmake.HelloBoost
Shell
#!/bin/bash #javac HelloWorld.java cd java && ant
Shell
#!/bin/sh #this generates an ant based cli build of the android-jni project android update project --name hello-eigen \ --path .
Shell
#!/bin/bash LD_LIBRARY_PATH=./lib/pc export LD_LIBRARY_PATH java -jar java/dist/lib/HelloEigen.jar
Shell
javah -jni -classpath build com.theveganrobot.cmake.HelloEigen
Shell
#!/bin/bash #javac HelloWorld.java cd java && ant
Shell
#!/bin/bash LD_LIBRARY_PATH=./lib/pc export LD_LIBRARY_PATH java -jar java/dist/lib/HelloCMake.jar
Shell
javah -jni -classpath build com.theveganrobot.cmake.HelloWorld
Shell
#!/bin/sh #http://developer.apple.com/library/mac/#documentation/Java/Conceptual/Java14Development/03-JavaDeployment/JavaDeployment.html #http://stackoverflow.com/questions/96882/how-do-i-create-a-nice-looking-dmg-for-mac-os-x-using-command-line-tools set -o verbose #echo onset +o verbose #echo off # Note: this must ...
Shell
#!/bin/sh #http://developer.apple.com/library/mac/#documentation/Java/Conceptual/Java14Development/03-JavaDeployment/JavaDeployment.html set -o verbose #echo onset +o verbose #echo off # Note: this must run on a Mac myDir="`dirname "$0"`" cd $myDir APP_NAME="Android Design Preview" OUT_PATH=../out/mac OUT_ZIP="${AP...
Shell
#!/bin/sh # Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed ...
Shell
#!/bin/sh # Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed ...
Shell
#!/bin/sh # Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed ...
Shell
#!/bin/sh set -e # Copyright (c) 2010, Pierre-Olivier Latour # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # notice...
Shell
#!/bin/sh set -e # Copyright (c) 2010, Pierre-Olivier Latour # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # notice...
Shell
#!/bin/sh set -e # Copyright (c) 2010, Pierre-Olivier Latour # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # notice...
Shell
#!/bin/sh set -e # Copyright (c) 2010, Pierre-Olivier Latour # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # notice...
Shell
#!/bin/sh set -e # Copyright (c) 2010, Pierre-Olivier Latour # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # notice...
Shell
#!/bin/sh set -e # Copyright (c) 2010, Pierre-Olivier Latour # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # notice...
Shell
#!/bin/sh set -e # Copyright (c) 2010, Pierre-Olivier Latour # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # notice...
Shell
#!/bin/sh set -e # Copyright (c) 2010, Pierre-Olivier Latour # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # notice...
Shell
#!/bin/sh set -e # Copyright (c) 2010, Pierre-Olivier Latour # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # notice...
Shell
#!/bin/sh set -e # Copyright (c) 2010, Pierre-Olivier Latour # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # notice...
Shell
#!/bin/sh set -e # Copyright (c) 2010, Pierre-Olivier Latour # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # notice...
Shell
#!/bin/sh set -e # Copyright (c) 2010, Pierre-Olivier Latour # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # notice...
Shell
#!/bin/sh set -e # Copyright (c) 2010, Pierre-Olivier Latour # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # notice...
Shell
#!/bin/bash PYTHON=${PYTHON:-python} TESTDIR=`dirname "$0"` GPROF2DOT=$TESTDIR/../gprof2dot.py FORCE= if [ "$1" == "-f" ] then FORCE=y shift fi if [ "$1" ] then FORMATS=$@ else FORMATS=" prof pstats oprofile shark callgrind hprof perf " fi for FORMAT in $FORMATS do for PROFILE in $T...
Shell
#!/bin/bash # run "./runTests.sh" for verbose output # for short output, run # ./runTests.sh | grep FAILED # ./runTests.sh | grep PASSED #master branch SERVER_CLASS="org.ws4d.coap.test.PlugtestServer" CLIENT_CLASS="org.ws4d.coap.test.PlugtestClient" CLASSPATH="bin/:../ws4d-jcoap/bin" LOG_DIR="log" REF_LOG_DIR="logref" ...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### DRISHTI_BASENAME="Drishti" DRISHTI_DIR="../../drishti" DRISHTI_APP_BUNDLE_DIR=${BUILD_PRODUCTS_DIR}/${DRISHTI_BASENAME}.app DRISHTI_APP_FRAMEWORK_DIR=${DRISHTI_APP_BUNDLE_DIR}/Cont...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### PAINT_VERSION=${DRISHTI_VERSION} PAINT_BASENAME="Paint" PAINT_DIR="../../tools/paint" PAINT_APP_BUNDLE_DIR=${BUILD_PRODUCTS_DIR}/${PAINT_BASENAME}.app PAINT_APP_FRAMEWORK_DIR=${PAI...
Shell
#!/bin/sh #################################################################################################### function report() { echo "##########################################################################################" echo "$1" } function abswd() { abspath=$(cd ${0%/*} && echo $PWD/${0##*/}) path_only...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### FT_VERSION=2.3.7 FT_BASENAME="freetype" FT_ARCHIVE="${FT_BASENAME}-${FT_VERSION}.tar.bz2" FT_URL="http://download.savannah.gnu.org/releases/freetype/${FT_ARCHIVE}" FT_DIR="${FT_BASE...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### QT_VERSION=4.7.0-beta2 QT_BASENAME="qt-everywhere-opensource-src" QT_ARCHIVE="${QT_BASENAME}-${QT_VERSION}.tar.gz" QT_DIR="${QT_BASENAME}-${QT_VERSION}" QT_URL="http://get.qt.nokia....
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### JPEG_VERSION=6b JPEG_BASENAME="jpeg" JPEG_ARCHIVE="${JPEG_BASENAME}src.v${JPEG_VERSION}.tar.gz" JPEG_URL="http://www.hdfgroup.org/ftp/lib-external/jpeg/src/${JPEG_ARCHIVE}" JPEG_P...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### PNG_VERSION=1.2.43 PNG_BASENAME="libpng" PNG_ARCHIVE="${PNG_BASENAME}-${PNG_VERSION}.tar.gz" PNG_URL="http://prdownloads.sourceforge.net/libpng/${PNG_ARCHIVE}" PNG_DIR="${PNG_BASENA...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### TIFF_VERSION=4.0.0beta5 TIFF_BASENAME="tiff" TIFF_ARCHIVE="${TIFF_BASENAME}-${TIFF_VERSION}.tar.gz" TIFF_URL="http://download.osgeo.org/libtiff/${TIFF_ARCHIVE}" TIFF_DIR="${TIFF_BAS...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### IM_VERSION='6.6.3-2' IM_BASENAME="ImageMagick" IM_ARCHIVE="${IM_BASENAME}-${IM_VERSION}.tar.gz" IM_DIR="${IM_BASENAME}-${IM_VERSION}" IM_URL="http://waix.dl.sourceforge.net/projec...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### GLEW_VERSION=1.5.2 GLEW_BASENAME="glew" GLEW_ARCHIVE="${GLEW_BASENAME}-${GLEW_VERSION}.tgz" GLEW_DIR="${GLEW_BASENAME}-${GLEW_VERSION}" GLEW_URL="http://prdownloads.sourceforge.net/...
Shell
#!/bin/sh source scripts/common.sh mkdir -p ${THIRD_PARTY_BUILD} pushd ${THIRD_PARTY_BUILD} QGLV_VERSION=2.3.4 QGLV_BASENAME="libQGLViewer" QGLV_ARCHIVE="libQGLViewer-${QGLV_VERSION}.tar.gz" QGLV_DIR="libQGLViewer-${QGLV_VERSION}" QGLV_URL="http://www.libqglviewer.com/src/${QGLV_ARCHIVE}" echo "Removing old build f...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### GSF_VERSION=8.11 GSF_BASENAME="fonts" GSF_ARCHIVE="ghostscript-fonts-std-${GSF_VERSION}.tar.gz" GSF_DIR="fonts" GSF_URL="http://prdownloads.sourceforge.net/gs-fonts/${GSF_ARCHIVE}"...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### HDF4_VERSION=4.2.5 HDF4_BASENAME="hdf" HDF4_ARCHIVE="${HDF4_BASENAME}-${HDF4_VERSION}.tar.gz" HDF4_URL="http://www.hdfgroup.org/ftp/HDF/HDF_Current/src/${HDF4_ARCHIVE}" HDF4_PATCH...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### NETCDF_VERSION=4.0.1 NETCDF_BASENAME="netcdf" NETCDF_ARCHIVE="${NETCDF_BASENAME}-${NETCDF_VERSION}.tar.gz" NETCDF_DIR="${NETCDF_BASENAME}-${NETCDF_VERSION}" NETCDF_URL="http://www.u...
Shell
#!/bin/sh #################################################################################################### source build-3rdparty.sh || exit -1 source build-drishti.sh || exit -1 source build-import.sh || exit -1 source build-paint.sh || exit -1 source build-installer.sh || exit -1 ###############################...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### PACKAGE_NAME=Drishti-${DRISHTI_VERSION} PACKAGE_DIR=tmp/${PACKAGE_NAME} #################################################################################################### report...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### IMPORT_VERSION=${DRISHTI_VERSION} IMPORT_BASENAME="Import" IMPORT_DIR="../../tools/import" IMPORT_APP_BUNDLE_DIR=${BUILD_PRODUCTS_DIR}/${IMPORT_BASENAME}.app IMPORT_APP_FRAMEWORK_D...
Shell
#!/bin/sh report "Building Third Party dependencies...\n" mkdir -p ../../3rdParty mkdir -p ../../3rdParty/build source scripts/common.sh source scripts/build-freetype.sh || exit 1 source scripts/build-glew.sh || exit 1 source scripts/build-gsfonts.sh || exit 1 source scripts/build-libjpeg.sh || exit 1 source scrip...
Shell
#!/bin/bash mkdir -p ../../3rdParty/build pushd ../../3rdParty/build FETCH="curl -f" FETCH_URL="http://sf.anu.edu.au/~rph900/drishti/3rdParty" INSTALL_PREFIX=`pwd`/.. MACHINE=`uname -m` if [ "$MACHINE" == "x86_64" ]; then echo "64 bit" pushd .. rm -rf lib64 mkdir -p lib ln -s lib lib64 popd fi prep() {...
Shell
#!/bin/bash source ../../version.pri DIST=`lsb_release -s -i` RELEASE=`lsb_release -s -r` MACHINE=`uname -m` TGZ_PREFIX=Drishti-$VERSION rm -rf $TGZ_PREFIX TGZ_BIN=$TGZ_PREFIX/bin TGZ_LIB=$TGZ_PREFIX/lib TGZ_DOC=$TGZ_PREFIX/doc TGZ_PLUGINS=$TGZ_PREFIX/plugins TGZ_TRANSLATIONS=$TGZ_PREFIX/translations mkdir -p $TG...
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi ./kill_process.sh $ADB shell rm -r /data/data/com.google.android.apps.iosched/*
Shell
#!/bin/sh adb shell cat /data/data/com.google.android.apps.iosched/shared_prefs/com.google.android.apps.iosched_preferences.xml | xmllint --format -
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi $ADB shell am start \ -a android.intent.action.MAIN \ -c android.intent.category.LAUNCHER \ -n com.google.android.apps.iosched/.ui.HomeActivity
Shell
#!/bin/sh adb shell pm clear com.google.android.apps.iosched
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi $ADB shell am force-stop com.google.android.apps.iosched
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi MAC_UNAME="Darwin" if [[ "`uname`" == ${MAC_UNAME} ]]; then DATE_FORMAT="%Y-%m-%dT%H:%M:%S" else DATE_FORMAT="%Y-%m-%d %H:%M:%S" fi if [ -z "$1" ]; then NOW_DATE=$(date "+${DATE_FORMAT}") echo Please provide a mock time in the format \"${NOW_DATE}\" or \"d\" to del...
Shell