code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/sh
unlink config
unlink dictionaries
unlink lib
unlink syntaxTest.ynot
ln -s ../ynot/config
ln -s ../ynot/dictionaries
ln -s ../ynot/lib
ln -s ../ynot/examples/syntaxTest.ynot
| Shell |
#!/bin/sh
#alias mvn='/home/equesada/apache-maven-2.2.1-bin/apache-maven-2.2.1/bin/mvn'
#alias java='/home/equesada/java-6-sun-1.6.0.06/jre/bin/java'
#export JAVA_HOME=/home/equesada/java-6-sun-1.6.0.06/jre
#export PATH=$PATH:/home/equesada/java-6-sun-1.6.0.06/jre/bin
echo "Enter your maven command :"
read cmd
for ... | Shell |
#!/bin/sh
echo 'Please enter your svn login (or empty for read-only profile):'
read login
if [ -z $login ]
then
svn checkout http://ynot.googlecode.com/svn/ynot/trunk/ ynot
svn checkout http://ynot.googlecode.com/svn/ynot-core/trunk/ ynot-core
svn checkout http://ynot.googlecode.com/svn/ynot-lang/trunk/ yn... | Shell |
#!/bin/sh
#alias mvn='/home/equesada/apache-maven-2.2.1-bin/apache-maven-2.2.1/bin/mvn'
#alias java='/home/equesada/java-6-sun-1.6.0.06/jre/bin/java'
#export JAVA_HOME=/home/equesada/java-6-sun-1.6.0.06/jre
#export PATH=$PATH:/home/equesada/java-6-sun-1.6.0.06/jre/bin
echo "Enter your maven command :"
read cmd
for ... | Shell |
#!/bin/sh
echo 'Please enter your svn login (or empty for read-only profile):'
read login
if [ -z $login ]
then
svn checkout http://ynot.googlecode.com/svn/ynot/trunk/ ynot
svn checkout http://ynot.googlecode.com/svn/ynot-core/trunk/ ynot-core
svn checkout http://ynot.googlecode.com/svn/ynot-lang/trunk/ yn... | Shell |
#!/bin/sh
make clean
hg pull
hg update -v
qmake imageshack.pro -spec macx-g++
make
| Shell |
#!/bin/bash
pyuic4 ui/mainWindow.ui > mainWindow.py
pyrcc4 -o mainWindow_rc.py ui/mainWindow.qrc
| Shell |
#!/bin/bash
set -e # fail early
VERS="$1"
[ -n "$VERS" ] && VERS="${VERS}_"
function die() {
echo "Error: " $*
echo
echo "USage: $0 <version>"
echo "Automatically sign [A-Z].apk"
exit 1
}
[ -z "$1" ] && die
shopt -s extglob # extended glob pattern
function process() {
SRC="$1"
BASE="${SRC/.apk/}"
... | Shell |
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
| Shell |
#!/bin/sh
# Copyright 2011 Cooliris, 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/sh
# Copyright 2011 Cooliris, 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/sh
# Copyright 2011 Cooliris, 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/sh
# Copyright 2011 Cooliris, 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/sh
# Copyright 2011 Cooliris, 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/sh
# Copyright 2011 Cooliris, 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
# 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
# Remember to update gradle.properties!
app_engine_home=$(cat ../../gradle.properties | grep -o '/.*')
echo "APP_ENGINE_HOME=$app_engine_home"
sh $app_engine_home/bin/appcfg.sh update ../build/exploded-war | Shell |
#! /bin/bash
# Remember to update gradle.properties!
app_engine_home=$(cat ../../gradle.properties | grep -o '/.*')
echo "APP_ENGINE_HOME=$app_engine_home"
sh $app_engine_home/bin/dev_appserver.sh --disable_update_check ../build/exploded-war | Shell |
#! /bin/bash
# Remember to update gradle.properties!
app_engine_home=$(cat ../../gradle.properties | grep -o '/.*')
echo "APP_ENGINE_HOME=$app_engine_home"
sh $app_engine_home/bin/appcfg.sh update ../build/exploded-war | Shell |
#! /bin/bash
javac -cp ../build/libs/simple-c2dm-annotation-processor.jar -processor com.googlecode.sc2dm.annotation.processor.SC2DMAnnotationProcessor ../src/test/java/com/googlecode/sc2dm/annotation/processor/Something.java -AmanifestDir=/Users/hansjar/workspace/idea/simple-c2dm/simple-c2dm-annotation-processor | Shell |
#!/bin/sh
./install_FreeType.sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
if [ ""$1"" = "" ];then
AGG_VERSION=2.4
else
AGG_VERSION=$1
fi
PREFIX=`pwd`/../system/i386-mingw32msvc/agg-$AGG_VERSION
BUILD=/tm... | Shell |
#!/bin/sh
echo "Installing libxml2"
./install_zlib.sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
PREFIX=/Developer/Cocotron/1.0/Windows/i386/
$scriptResources/downloadFilesIfNeeded.sh $downloadFolder "ftp:/... | Shell |
#!/bin/sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
PREFIX=/Developer/Cocotron/1.0/Windows/i386/gcc-4.3.1/i386-mingw32msvc/
$scriptResources/downloadFilesIfNeeded.sh $downloadFolder "http://cocotron.googlec... | Shell |
#!/bin/sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
SSLVERSION=0.9.8h-1
PREFIX=`pwd`/../system/i386-mingw32msvc/openssl-$SSLVERSION
INCLUDE=$PREFIX/include
BIN=$PREFIX/bin
LIB=$PREFIX/lib
$scriptResources... | Shell |
#!/bin/sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
PREFIX=/Developer/Cocotron/1.0/Windows/i386/gcc-4.3.1/i386-mingw32msvc/
$scriptResources/downloadFilesIfNeeded.sh $downloadFolder "http://www.opengl.org/r... | Shell |
#!/bin/sh
echo "Installing zlib"
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
PREFIX=`pwd`/../system/i386-mingw32msvc/
# We need the headers/libraries, zlib.net only provides a dll or source which is more wor... | Shell |
#!/bin/sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
if [ ""$1"" = "" ];then
targetPlatform="Windows"
else
targetPlatform=$1
fi
if [ ""$2"" = "" ];then
targetArchitecture="i386"
else
targetArchitectu... | Shell |
#!/bin/sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
if [ ""$1"" = "" ];then
targetPlatform="Windows"
else
targetPlatform=$1
fi
if [ ""$2"" = "" ];then
targetArchitecture="i386"
else
targetArchitectu... | Shell |
#!/bin/sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
PREFIX=`pwd`/../system/i386-mingw32msvc/hunspell-1.3.1
BUILD=/tmp/build_hunspell
$scriptResources/downloadFilesIfNeeded.sh $downloadFolder http://download... | Shell |
#!/bin/sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
if [ ""$1"" = "" ];then
targetPlatform="Windows"
else
targetPlatform=$1
fi
if [ ""$2"" = "" ];then
targetArchitecture="i386"
else
targetArchitectu... | Shell |
#/bin/sh
#Copyright (c) 2006 Christopher J. W. Lloyd
#
#Permission is hereby granted, free of charge, to any person obtaining a copy of this
#software and associated documentation files (the "Software"), to deal in the Software
#without restriction, including without limitation the rights to use, copy, modify,
#merge, ... | Shell |
#!/bin/sh
#Copyright (c) 2006 Christopher J. W. Lloyd
#
#Permission is hereby granted, free of charge, to any person obtaining a copy of this
#software and associated documentation files (the "Software"), to deal in the Software
#without restriction, including without limitation the rights to use, copy, modify,
#merge,... | Shell |
#!/bin/sh
#Copyright (c) 2006 Christopher J. W. Lloyd
#
#Permission is hereby granted, free of charge, to any person obtaining a copy of this
#software and associated documentation files (the "Software"), to deal in the Software
#without restriction, including without limitation the rights to use, copy, modify,
#merge,... | Shell |
#!/bin/sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
PREFIX=/Developer/Cocotron/1.0/Windows/i386/gcc-4.3.1/i386-mingw32msvc/
INCLUDE=$PREFIX/include
BIN=$PREFIX/bin
LIB=$PREFIX/lib
$scriptResources/downloadF... | Shell |
#!/bin/sh
./install_zlib.sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
PREFIX=`pwd`/../system/i386-mingw32msvc/freetype-2.3.5
$scriptResources/downloadFilesIfNeeded.sh $downloadFolder "http://downloads.sour... | Shell |
#!/bin/sh
#Copyright (c) 2006 Christopher J. W. Lloyd
#
#Permission is hereby granted, free of charge, to any person obtaining a copy of this
#software and associated documentation files (the "Software"), to deal in the Software
#without restriction, including without limitation the rights to use, copy, modify,
#merge,... | Shell |
#!/bin/sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
if [ ""$1"" = "" ];then
targetPlatform="Windows"
else
targetPlatform=$1
fi
if [ ""$2"" = "" ];then
targetArchitecture="i386"
else
targetArchitectu... | Shell |
#!/bin/sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads/pthread
PREFIX=/Developer/Cocotron/1.0/Windows/i386/gcc-4.3.1/i386-mingw32msvc/
INCLUDE=$PREFIX/include
BIN=$PREFIX/bin
LIB=$PREFIX/lib
mkdir -p $downloa... | Shell |
#!/bin/sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
if [ ""$1"" = "" ];then
targetPlatform="Windows"
else
targetPlatform=$1
fi
if [ ""$2"" = "" ];then
targetArchitecture="i386"
else
targetArchitectu... | Shell |
#!/bin/bash
# the name of the server on which we test
export TESTING_SERVER=192.168.2.102
# the directory under which our build directory is available on the _server_
export TESTING_DIR=/Tests
# specifies if files should be linked or copied to the test harness folder
export TESTING_LINK_FILES=YES
| Shell |
#!/bin/sh
#
# Usage example: ./generate.sh int Int Integer"
# Args are: primitive type, capitalized primitive type, wrapper type
#
# To make changes to the .java files in this package,
# 1. run this script to generate the templates, move the .gen files
# somewhere else
# 2. modify the template with your intended cha... | 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/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
# Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Ge... | Shell |
#! /bin/sh
# libtool - Provide generalized library-building support services.
# Generated automatically by config.status (anymote) 0.1
# Libtool was configured on host timberline.bld.corp.google.com:
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 20... | Shell |
# Generated from ltmain.m4sh.
# ltmain.sh (GNU libtool) 2.2.6b
# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# ... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2009-04-28.21; # UTC
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
# following copyright and license.
#
# Copyright (C) 1994 X Consortium
#
# Permission is ... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
# 2008, 2009 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free softw... | Shell |
#! /bin/sh
# Wrapper for compilers which do not understand `-c -o'.
# Copyright 1999, 2000 Free Software Foundation, Inc.
# Written by Tom Tromey <tromey@cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the F... | Shell |
#!/bin/sh
# Before using, you should figure out all the .m4 macros that your
# configure.m4 script needs and make sure they exist in the m4/
# directory.
#
# These are the files that this script might edit:
# aclocal.m4 configure Makefile.in src/config.h.in \
# depcomp config.guess config.sub install-sh missing ... | Shell |
#!/bin/sh
SCRIPTDIR=`dirname $0`
cd $SCRIPTDIR/..
RED="0.5 0.5 0.5 0 0 0 0 0 0"
GREEN="0 0 0 0.5 0.5 0.5 0 0 0"
for x in btn_zoom_down_disabled.9 btn_zoom_down_disabled_focused.9 btn_zoom_down_normal.9 btn_zoom_up_disabled.9 btn_zoom_up_disabled_focused.9 btn_zoom_up_normal.9 btn_zoom_width_normal ; do
conv... | Shell |
#!/bin/sh
# make sure ndk-build is in path
SCRIPTDIR=`dirname $0`
MUPDF=mupdf-snapshot-20111122.tar.gz
FREETYPE=freetype-2.4.6
OPENJPEG=openjpeg_v1_4_sources_r697
JBIG2DEC=jbig2dec-0.11
JPEGSRC=jpegsrc.v8a.tar.gz
JPEGDIR=jpeg-8a
cd $SCRIPTDIR/../deps
tar xvf $FREETYPE.tar.bz2
tar xvf $JPEGSRC
tar xvf $MUPDF-source.ta... | Shell |
#!/bin/sh
SCRIPTDIR=`dirname $0`
cd $SCRIPTDIR/..
for x in upfolder folder home recent1 recent2 recent3 recent4 recent5 ; do
convert res/drawable-hdpi/$x.png -resize 66.7% res/drawable-mdpi/$x.png
convert res/drawable-hdpi/$x.png -resize 50% res/drawable-ldpi/$x.png
done
| Shell |
#!/bin/sh
# Copyright 2011 Cooliris, 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/sh
# Copyright 2011 Cooliris, 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/sh
# Copyright 2011 Cooliris, 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/sh
# Copyright 2011 Cooliris, 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/sh
# Copyright 2011 Cooliris, 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/sh
# Copyright 2011 Cooliris, 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
INDIR=$1
OUTDIR=$2
ERRORS=0
for fn in $INDIR/*.cg
do
name=`basename $fn .cg`
echo "Converting $fn -> $OUTDIR/$name.glsl"
cgc -ogles -C -profile glslf -profileopts version=120,userTexCoord=v_texCoord -o "$OUTDIR/$name.glsl" -entry main_fragment "$fn"
if [ $? != 0 ]; then
echo "Fail"
ERRORS=`expr $E... | Shell |
#!/bin/bash
TMPFILE=`tempfile`
for fn in ./*.glsl
do
name=`basename $fn .cg`
sed "s/sampler2D .*;/sampler2D s_texture;/g" $fn > $TMPFILE
mv $TMPFILE $fn
sed "s/gl_TexCoord\[0\]/v_texCoord/g" $fn > $TMPFILE
mv $TMPFILE $fn
done
| Shell |
#!/bin/bash -ex
################################################################
# make sure everything is downloaded and has been cleaned up
################################################################
if test -d book; then
echo "data already downloaded"
else
wget http://iupr1.cs.uni-kl.de/~tmb/ocropus-... | Shell |
#!/bin/bash -ex
boxtar=boxtiff-2.01.deu-f.tar.gz
if test -f $boxtar; then
echo $boxtar already downloaded
else
wget -nd http://iupr1.cs.uni-kl.de/~tmb/ocropus-data/$boxtar
fi
tar -zxvf $boxtar
# Start by extracting character data from the tif images.
# For each input file, tess2h5 will look for a correspond... | Shell |
#!/bin/sh -ex
rm -rf temp
mkdir temp
cp tests/testpage.png temp/0001.png
# binarization
ocropus-nlbin 'temp/????.png'
# page level segmentation
ocropus-gpageseg 'temp/????.png'
# raw text line recognition
ocropus-lattices --parallel=3 'temp/????/??????.png'
# language model application
ocropus-ngraphs 'temp/????/... | Shell |
#!/bin/bash -x
set -e
die() {
echo ERROR "$*"
exit 255
}
TEST() {
echo '######' "$*"
}
rm -rf _test _test.*
TEST binarize
# ocropus-binarize isri0188/000[1-4].png -o _test || die
ocropus-binarize isri0188/000[12].png -o _test || die
cp isri0188/*.gt.txt _test/
TEST pseg
ocropus-pseg _test/????.png || ... | Shell |
#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5 (mit/util/scripts/install.sh).
#
# Copyright 1991 by the Massachusetts Institute of Technology
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without ... | Shell |
#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5 (mit/util/scripts/install.sh).
#
# Copyright 1991 by the Massachusetts Institute of Technology
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without ... | Shell |
#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5 (mit/util/scripts/install.sh).
#
# Copyright 1991 by the Massachusetts Institute of Technology
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without ... | Shell |
#!/bin/sh
if [ ! -e icons ]; then
echo "You must run this script in the scripts directory."
exit 1
fi
name=$1
echo "Using iconset $name.png"
if [ ! -e "icons/${name}_150.png" ]; then
echo "Icon set does not exist."
echo "usage: set_icons.sh quill"
exit 1
fi
cp "icons/${name}_150.png" ../res/drawable/icon... | Shell |
#!/bin/sh
cat toolbox.xml | \
sed 's/Left/XXXXX/g' | \
sed 's/Right/Left/g' | \
sed 's/XXXXX/Right/g' | \
sed 's/toolbox_undo/XXXXX/g' | \
sed 's/toolbox_redo/toolbox_undo/g' | \
sed 's/XXXXX/toolbox_redo/g' | \
sed 's/toolbox_next/XXXXX/g' | \
sed 's/toolbox_prev/toolbox_next/g' | \
... | Shell |
#!/bin/sh
pushd /home/vbraun/Eclipse/workspace/Quill
javah -jni -d jni -classpath bin/classes org.libharu.Document
javah -jni -d jni -classpath bin/classes org.libharu.Page
javah -jni -d jni -classpath bin/classes org.libharu.Font
javah -jni -d jni -classpath bin/classes org.libharu.Image
/home/vbraun/opt/android-n... | Shell |
# Generated from ltmain.m4sh.
# ltmain.sh (GNU libtool) 2.2.6b
# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# ... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2007-03-29.01
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 Free Software
# Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public ... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
# 2008, 2009 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free softw... | Shell |
#/bin/sh
./configure --system-name=GCC
mv Makefile script/Makefile.gcc
./configure --system-name=GCC --shared
mv Makefile script/Makefile.gcc_so
./configure --system-name=CYGWIN
mv Makefile script/Makefile.cygwin
./configure --system-name=CYGWIN --shared
mv Makefile script/Makefile.cygwin_dll
./configure --system-name... | Shell |
#!/bin/sh
#
# make resource files for each platforms
#
_VERSION2=$(grep VERSION include/hpdf_consts.h | awk '{print $3}' | sed 's/"//g')".0"
_VERSION1=$(grep VERSION include/hpdf_consts.h | awk '{print $3}' | sed 's/"//g;s/\./,/g')",0"
_COMPILER=""
which windres
if [ $? -ne 0 ]; then
echo "windres does not exist."
... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2009-04-28.21; # UTC
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
# following copyright and license.
#
# Copyright (C) 1994 X Consortium
#
# Permission is ... | Shell |
#!/bin/sh
eval `grep '^HPDF_EXTRA_VERSION=' configure.in`
case "$HPDF_EXTRA_VERSION" in
*-dev)
rebuildok=1
;;
*)
rebuildok=0
;;
esac
cvsclean=0
while test $# -gt 0; do
if test "$1" = "--force"; then
rebuildok=1
echo "Forcing buildconf"
fi
if test "$1" = "--clean"; then
cvsclean=... | 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/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/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
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/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
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
####################################################################################################
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
####################################################################################################
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
####################################################################################################
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
####################################################################################################
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
####################################################################################################
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
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
####################################################################################################
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
####################################################################################################
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
####################################################################################################
function report()
{
echo "##########################################################################################"
echo "$1"
}
function abswd()
{
abspath=$(cd ${0%/*} && echo $PWD/${0##*/})
path_only... | 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
####################################################################################################
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 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
cp -R ../ocStore-1.5.5.1.1/upload/* .
cp -R ../vqmod .
cp -R ../faq151/upload/* .
touch config.php admin/config.php
chmod a+w system/cache/ system/logs/ image/ image/cache/ image/data/ download vqmod/vqcache
echo 'drop database opencart;create database opencart;' | mysql -uroot -ptest
svn export https://yogama... | 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/sh
if [[ -z $ADB ]]; then ADB=adb; fi
./kill_process.sh
$ADB shell rm -r /data/data/com.google.android.apps.iosched/* | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.