code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/sh
ClientP=/nfs/kohala/home/rstevens/doc/unp/src/tcpcliserv/tcpcli01 # client prog
ServerH="206.62.226.33" # server host
Infile=/usr/share/misc/zipcodes # big BSD/OS text file
$ClientP $ServerH < $Infile > temp.1 &
$ClientP $ServerH < $Infile > temp.2 &
$ClientP $ServerH < $Infile > temp.3 &
# $ClientP $Ser... | Shell |
#!/bin/sh
case $# in
1) break ;;
*) echo "one argument (#simultaneous connections) required" 1>&2
exit 1 ;;
esac
time ./web03 $1 192.207.117.2 / \
/img/logo/awl_logo_blue_50x40.gif \
/img/a_world_of_learning.gif \
/img/toolbar_soptions.gif \
/img/toolbar_purchase.gif \
/img/toolbar_feedback.gif \
/img/toolbar_... | Shell |
#!/bin/sh
case $# in
1) break ;;
*) echo "one argument (#simultaneous connections) required" 1>&2
exit 1 ;;
esac
time ./web03 $1 192.207.117.2 / \
/img/logo/awl_logo_blue_50x40.gif \
/img/a_world_of_learning.gif \
/img/toolbar_soptions.gif \
/img/toolbar_purchase.gif \
/img/toolbar_feedback.gif \
/img/toolbar_... | Shell |
#!/bin/sh
ClientP=/nfs/kohala/home/rstevens/doc/unp/src/tcpcliserv/tcpcli01 # client prog
ServerH="206.62.226.33" # server host
Infile=/usr/share/misc/zipcodes # big BSD/OS text file
$ClientP $ServerH < $Infile > temp.1 &
$ClientP $ServerH < $Infile > temp.2 &
$ClientP $ServerH < $Infile > temp.3 &
# $ClientP $Ser... | Shell |
#!/bin/sh
./udpcli01 140.252.13.35 < /usr/share/misc/termcap > /home/rstevens/temp.1 &
./udpcli01 140.252.13.35 < /usr/share/misc/termcap > /home/rstevens/temp.2 &
./udpcli01 140.252.13.35 < /usr/share/misc/termcap > /home/rstevens/temp.3 &
./udpcli01 140.252.13.35 < /usr/share/misc/termcap > /home/rstevens/temp.4 &
.... | Shell |
#!/bin/sh
./udpcli01 140.252.13.37 < /usr/share/lib/termcap > /home/rstevens/temp.1 &
./udpcli01 140.252.13.37 < /usr/share/lib/termcap > /home/rstevens/temp.2 &
./udpcli01 140.252.13.37 < /usr/share/lib/termcap > /home/rstevens/temp.3 &
./udpcli01 140.252.13.37 < /usr/share/lib/termcap > /home/rstevens/temp.4 &
./udp... | Shell |
#!/bin/sh
./udpcli01 140.252.13.37 < /usr/share/lib/termcap > /home/rstevens/temp.1 &
./udpcli01 140.252.13.37 < /usr/share/lib/termcap > /home/rstevens/temp.2 &
./udpcli01 140.252.13.37 < /usr/share/lib/termcap > /home/rstevens/temp.3 &
./udpcli01 140.252.13.37 < /usr/share/lib/termcap > /home/rstevens/temp.4 &
./udp... | Shell |
#!/bin/sh
./udpcli01 140.252.13.35 < /usr/share/misc/termcap > /home/rstevens/temp.1 &
./udpcli01 140.252.13.35 < /usr/share/misc/termcap > /home/rstevens/temp.2 &
./udpcli01 140.252.13.35 < /usr/share/misc/termcap > /home/rstevens/temp.3 &
./udpcli01 140.252.13.35 < /usr/share/misc/termcap > /home/rstevens/temp.4 &
.... | 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
tar -cvf addrinfo.tar README.getaddrinfo addrinfo.h getaddrinfo.c \
getnameinfo.c test_addrinfo.c inet_ntop.c inet_pton.c
compress addrinfo.tar
| Shell |
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002 Free Software Foundation, Inc.
timestamp='2002-03-07'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GN... | Shell |
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002 Free Software Foundation, Inc.
timestamp='2002-03-20'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License... | 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
case $# in
1) break ;;
*) echo "one argument (#simultaneous connections) required" 1>&2
exit 1 ;;
esac
time ./web $1 192.207.117.2 / \
/img/logo/awl_logo_blue_50x40.gif \
/img/a_world_of_learning.gif \
/img/toolbar_soptions.gif \
/img/toolbar_purchase.gif \
/img/toolbar_feedback.gif \
/img/toolbar_to... | Shell |
#!/bin/sh
case $# in
1) break ;;
*) echo "one argument (#simultaneous connections) required" 1>&2
exit 1 ;;
esac
time ./web $1 192.207.117.2 / \
/img/logo/awl_logo_blue_50x40.gif \
/img/a_world_of_learning.gif \
/img/toolbar_soptions.gif \
/img/toolbar_purchase.gif \
/img/toolbar_feedback.gif \
/img/toolbar_to... | Shell |
10:18:34.491482: read 4096 bytes from stdin
10:18:34.519016: wrote 4096 bytes to socket
10:18:34.544636: read 4096 bytes from stdin
10:18:34.568505: read 3508 bytes from socket
10:18:34.593354: wrote 3508 bytes to stdout
10:18:34.618062: wrote 4096 bytes to socket
10:18:34.643524: read 4096 bytes from stdin
10:18:34.66... | Shell |
#!/bin/sh
# START-COMMIT HOOK
#
# The start-commit hook is invoked before a Subversion txn is created
# in the process of doing a commit. Subversion runs this hook
# by invoking a program (script, executable, binary, etc.) named
# 'start-commit' (for which this file is a template)
# with the following ordered... | Shell |
#!/bin/sh
# POST-REVPROP-CHANGE HOOK
#
# The post-revprop-change hook is invoked after a revision property
# has been added, modified or deleted. Subversion runs this hook by
# invoking a program (script, executable, binary, etc.) named
# 'post-revprop-change' (for which this file is a template), with the
# f... | Shell |
#!/bin/sh
# POST-LOCK HOOK
#
# The post-lock hook is run after a path is locked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-lock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this repos... | Shell |
#!/bin/sh
# POST-LOCK HOOK
#
# The post-lock hook is run after a path is locked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-lock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this repos... | Shell |
#!/bin/sh
# PRE-LOCK HOOK
#
# The pre-lock hook is invoked before an exclusive lock is
# created. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-lock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (the pat... | Shell |
#!/bin/sh
# POST-UNLOCK HOOK
#
# The post-unlock hook runs after a path is unlocked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-unlock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this... | Shell |
#!/bin/sh
# PRE-COMMIT HOOK
#
# The pre-commit hook is invoked before a Subversion txn is
# committed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-commit' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (t... | Shell |
#!/bin/sh
# PRE-UNLOCK HOOK
#
# The pre-unlock hook is invoked before an exclusive lock is
# destroyed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-unlock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH ... | Shell |
#!/bin/sh
# POST-REVPROP-CHANGE HOOK
#
# The post-revprop-change hook is invoked after a revision property
# has been added, modified or deleted. Subversion runs this hook by
# invoking a program (script, executable, binary, etc.) named
# 'post-revprop-change' (for which this file is a template), with the
# f... | Shell |
#!/bin/sh
# POST-COMMIT HOOK
#
# The post-commit hook is invoked after a commit. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-commit' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this rep... | Shell |
#!/bin/sh
# START-COMMIT HOOK
#
# The start-commit hook is invoked before a Subversion txn is created
# in the process of doing a commit. Subversion runs this hook
# by invoking a program (script, executable, binary, etc.) named
# 'start-commit' (for which this file is a template)
# with the following ordered... | Shell |
#!/bin/sh
# PRE-REVPROP-CHANGE HOOK
#
# The pre-revprop-change hook is invoked before a revision property
# is added, modified or deleted. Subversion runs this hook by invoking
# a program (script, executable, binary, etc.) named 'pre-revprop-change'
# (for which this file is a template), with the following or... | Shell |
#!/bin/sh
# PRE-LOCK HOOK
#
# The pre-lock hook is invoked before an exclusive lock is
# created. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-lock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (the pat... | Shell |
#!/bin/sh
# PRE-UNLOCK HOOK
#
# The pre-unlock hook is invoked before an exclusive lock is
# destroyed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-unlock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH ... | Shell |
#!/bin/sh
# POST-COMMIT HOOK
#
# The post-commit hook is invoked after a commit. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-commit' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this rep... | Shell |
#!/bin/sh
# PRE-COMMIT HOOK
#
# The pre-commit hook is invoked before a Subversion txn is
# committed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-commit' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (t... | Shell |
#!/bin/sh
# PRE-REVPROP-CHANGE HOOK
#
# The pre-revprop-change hook is invoked before a revision property
# is added, modified or deleted. Subversion runs this hook by invoking
# a program (script, executable, binary, etc.) named 'pre-revprop-change'
# (for which this file is a template), with the following or... | Shell |
#!/bin/sh
# POST-UNLOCK HOOK
#
# The post-unlock hook runs after a path is unlocked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-unlock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this... | Shell |
#!/bin/sh
svn update
perl ../bin/upcoming_events.pl > upcoming.shtml
| Shell |
#!/bin/sh
svn update
perl ../bin/upcoming_events.pl > upcoming.shtml
| Shell |
#!/bin/sh
# Script to locate unique files useful for install checks
set -e
if ! test $1
then
echo "Please specify a bunch of wineprefixes to grub through"
echo "For instance, ~/winetrickstest-prefixes/dotnet20sp{,1,2}"
exit 1
fi
# Generate list of all filenames (except those which look ephemeral)
rm -f /... | Shell |
#!/bin/sh
# Link checker for winetricks.
#
# Copyright (C) 2011,2012,2013 Dan Kegel.
#
# This software comes with ABSOLUTELY NO WARRANTY.
#
# This is free software, placed under the terms of the
# GNU Lesser Public License version 2.1, as published by the Free Software
# Foundation. Please see the file COPYING for deta... | Shell |
#!/bin/sh
# Name of this version of winetricks (YYYYMMDD)
# (This doesn't change often, use the sha1sum of the file when reporting problems)
WINETRICKS_VERSION=20150206
# This is a utf-8 file
# You should see an o with two dots over it here [ö]
# You should see a micro (u with a tail) here [µ]
# You should see a trad... | Shell |
#!/bin/sh
# Trivial release helper for winetricks.
#
# Copyright (C) 2011,2012,2013 Dan Kegel.
#
# This software comes with ABSOLUTELY NO WARRANTY.
#
# This is free software, placed under the terms of the
# GNU Lesser Public License version 2.1, as published by the Free Software
# Foundation. Please see the file COPYIN... | Shell |
#!/bin/sh
# Regression test for winetricks
# Override this if you want to put the work area on a different disk
WINE_PREFIXES=${WINE_PREFIXES:-$HOME/winetrickstest-prefixes}
preloadcache="$HOME/winetricks-preload-cache"
cache="$HOME/winetricks-cache"
set -x
# verbs known to not work in -q mode yet
BLACKLIST="kde|min... | 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 |
#!/bin/sh
trap `rm -f tmp.$$; exit 1` 1 2 15
for i in 1 2 3 4 5
do
head -`expr $i \* 20000` u.data | tail -20000 > tmp.$$
sort -t" " -k 1,1n -k 2,2n tmp.$$ > u$i.test
head -`expr \( $i - 1 \) \* 20000` u.data > tmp.$$
tail -`expr \( 5 - $i \) \* 20000` u.data >> tmp.$$
sort -t" " -k 1,1n -k 2,2n tmp.$$ > u$i.bas... | Shell |
#!/bin/sh
trap `rm -f tmp.$$; exit 1` 1 2 15
for i in 1 2 3 4 5
do
head -`expr $i \* 20000` u.data | tail -20000 > tmp.$$
sort -t" " -k 1,1n -k 2,2n tmp.$$ > u$i.test
head -`expr \( $i - 1 \) \* 20000` u.data > tmp.$$
tail -`expr \( 5 - $i \) \* 20000` u.data >> tmp.$$
sort -t" " -k 1,1n -k 2,2n tmp.$$ > u$i.bas... | Shell |
#!/bin/bash
shopt -s nocasematch
INPUTFILE="$1"
TEMPFILE1=$(mktemp)
TEMPFILE2=$(mktemp)
TEMPTHUMB=$(mktemp)
if [[ ${INPUTFILE##*.} = 'msi' ]]
then
# Use generic installer icon for a .msi package:
ICON=/usr/share/pixmaps/gnome-exe-thumbnailer/generic-installer.png
OFFSET=16
else
# Extract group_icon resource.
... | Shell |
#!/bin/bash
shopt -s nocasematch
INPUTFILE="$1"
TEMPFILE1=$(mktemp)
TEMPFILE2=$(mktemp)
TEMPTHUMB=$(mktemp)
if [[ ${INPUTFILE##*.} = 'msi' ]]
then
# Use generic installer icon for a .msi package:
ICON=/usr/share/pixmaps/gnome-exe-thumbnailer/generic-installer.png
OFFSET=16
else
# Extract group_icon resource.
... | Shell |
#!/bin/sh
# Build gcc from trunk
# Enable just the C language (since that's all Wine needs)
sudo apt-get build-dep gcc
sudo apt-get install texi2html libgmp3-dev libmpfr-dev
svn checkout svn://gcc.gnu.org/svn/gcc/trunk gcc-svn
cd gcc-svn
contrib/gcc_update
cd ..
rm -rf gcc-build
mkdir gcc-build
cd gcc-build
../gcc-svn... | Shell |
#!/bin/sh
# Install the Gecko and Mono needed by modern wines
set -e
set -x
# Wine installs to /usr/local by default:
if test -d /usr/local/share/wine
then
WINE_SHARE_PREFIX=/usr/local/share/wine
else
WINE_SHARE_PREFIX=/usr/share/wine
fi
install_gecko()
{
case $1 in
wine-1.1.2[789]*|wine-1.1.[34]*|win... | Shell |
#!/bin/sh
# Simple wrapper script to find changes made by an installer.
# Usage:
# sh wisosha1dump preinstall # to get a baseline of the WINEPREFIX/Windows install
# install your app here, either manually or with wisotool
# sh wisosha1dump postinstall # used to compare to the preinstall to know what files changed, and... | Shell |
#!/bin/sh
# Script to automate Wine testing.
# Copyright 2009 Austin English
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any... | Shell |
#!/bin/sh
# Script to automate Wine testing.
# Copyright 2009 Austin English
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any... | Shell |
#!/bin/bash
# Script to automate Winezeug appinstall sha1'ing of a directory
# Copyright 2009 Thomas Heckel
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the L... | Shell |
#!/bin/bash
# Script to automate Winezeug appinstall sha1'ing of a directory
# Copyright 2009 Thomas Heckel
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the L... | Shell |
#!/bin/sh
# Script to install build-time dependencies for Wine.
# If your distro isn't supported here, please add it.
# Home page (until accepted into wine tree): http://winezeug.googlecode.com
# Copyright 2006-2011 Dan Kegel
# Copyright 2008-2013 Austin English
# Please report bugs to http://code.google.com/p/winezeug... | Shell |
#!/bin/sh
# Install the Gecko needed by modern wines
echo "This script has moved to http://winezeug.googlecode.com/svn/trunk/install-addons.sh"
exit 1
| Shell |
#!/bin/sh
# Quick and dirty script to download and install various
# redistributable runtime libraries
#
# Current maintainers: Austin English, Dan Kegel
# Copyright 2007, 2008, 2009, 2010 Google (Dan Kegel, dank@kegel.com)
# Copyright 2008, 2009, 2010 Austin English (austinenglish@gmail.com)
# License: LGPL (for compa... | Shell |
#!/bin/sh
# Verify that wisotool verbs run to completion
# Optional arg: which group of verbs to run. Default is 'all'.
set -x
case "$OS" in
"Windows_NT")
# Mostly unimplemented...
# Cheezy fix for getting rid of double slashes when running cygwin in wine
case "$HOME" in
/) HOME="" ;;
esac
... | Shell |
#!/bin/sh
# Quick and dirty script to download and install various
# redistributable runtime libraries
#
# Current maintainers: Austin English, Dan Kegel
# Copyright 2007, 2008, 2009, 2010 Google (Dan Kegel, dank@kegel.com)
# Copyright 2008, 2009, 2010 Austin English (austinenglish@gmail.com)
# License: LGPL (for compa... | Shell |
#!/bin/sh
# Quick and dirty script to install apps from .iso files
# Adapted from winetricks as of r995
# Copyright 2007, 2008, 2009, 2010 Google (Dan Kegel, dank@kegel.com)
# Copyright 2008, 2009, 2010 Austin English (austinenglish@gmail.com)
# License: LGPL (for compatibility with winehq)
# Please report problems at ... | Shell |
#!/bin/sh
# Verify that wisotool verbs run to completion
# Optional arg: which group of verbs to run. Default is 'all'.
set -x
case "$OS" in
"Windows_NT")
# Mostly unimplemented...
# Cheezy fix for getting rid of double slashes when running cygwin in wine
case "$HOME" in
/) HOME="" ;;
esac
... | Shell |
#!/bin/sh
# Quick and dirty script to install apps from .iso files
# Adapted from winetricks as of r995
# Copyright 2007, 2008, 2009, 2010 Google (Dan Kegel, dank@kegel.com)
# Copyright 2008, 2009, 2010 Austin English (austinenglish@gmail.com)
# License: LGPL (for compatibility with winehq)
# Please report problems at ... | Shell |
#!/bin/bash
# (Needs bash extension for 'select')
# Script to install and test WMP and Quicktime codec on Wine
# Dan Kegel, Google, 2008
WINE="${WINE:-wine}"
WINEPATH="${WINEPATH:-winepath}"
WINEPREFIX="${WINEPREFIX:-$HOME/.wine}"
# Download and install sample files
# See http://www.jhepple.com/support/sample_movies1... | Shell |
#!/bin/sh
set -x
# Don't even try to handle non-english titles yet
LANG=C
# This is a real tab char, used to delimit fields of our data files
TAB=" "
# Collect data from appdb.winehq.org
sh scrape-appdb.sh
# Collect top 50 title data from gamerankings.com
perl scrape-gamerank.pl
# Apply bandaids to convert appdb ti... | Shell |
#!/bin/sh
# Script to scrape the appdb to get a local database of apps.
# It'd be nice to do this via mysql, but oh well.
mkdir -p appdb-cache
cd appdb-cache
if test ! -f 14841.html
then
i=1
while test $i -lt 14841
do
wget "http://appdb.winehq.org/appview.php?appId=$i" -O $i.html
# Skip deleted ap... | Shell |
#!/bin/sh
# Script to scrape the appdb to get a local database of apps.
# It'd be nice to do this via mysql, but oh well.
mkdir -p appdb-cache
cd appdb-cache
if test ! -f 14841.html
then
i=1
while test $i -lt 14841
do
wget "http://appdb.winehq.org/appview.php?appId=$i" -O $i.html
# Skip deleted ap... | Shell |
#!/bin/sh
set -x
# Don't even try to handle non-english titles yet
LANG=C
# This is a real tab char, used to delimit fields of our data files
TAB=" "
# Collect data from appdb.winehq.org
sh scrape-appdb.sh
# Collect top 50 title data from gamerankings.com
perl scrape-gamerank.pl
# Apply bandaids to convert appdb ti... | Shell |
#!/bin/sh
# chromium-savetests.sh
# Run from parent of chromium's src directory.
# Cygwin sh script to save a respectable subset of chromium's test suite
# from a windows build.
#
# To run the saved tests, grab a copy of the winezeug repository,
# cd into winezeug/testsuites/chromium,
# unpack this tarball there, and r... | Shell |
#!/bin/sh
# chromium-runtests.sh [testsuite]
# Script to run a respectable subset of Chromium's test suite
# (excepting parts that run the browser itself, and excepting layout tests).
# Run from parent of src directory.
# By default, runs all test suites. If you specify one testsuite
# (e.g. base_unittests), it only r... | Shell |
#!/bin/sh
# chromium-savetests.sh
# Run from parent of chromium's src directory.
# Cygwin sh script to save a respectable subset of chromium's test suite
# from a windows build.
#
# To run the saved tests, grab a copy of the winezeug repository,
# cd into winezeug/testsuites/chromium,
# unpack this tarball there, and r... | Shell |
#!/bin/sh
# Script to set up build envrionment for chromium with visual c++
# and then build part or all of chromium.
# Simple usage: sh build.sh chrome
#
# If running on Linux:
# First build the latest wine from svn, then do
# sudo apt-get install cabextract winbind
# or winetricks and svn will complain.
#
# Note: d... | Shell |
#!/bin/sh
# chromium-runtests.sh [testsuite]
# Script to run a respectable subset of Chromium's test suite
# (excepting parts that run the browser itself, and excepting layout tests).
# Run from parent of src directory.
# By default, runs all test suites. If you specify one testsuite
# (e.g. base_unittests), it only r... | Shell |
#!/bin/sh
# Script to set up build envrionment for chromium with visual c++
# and then build part or all of chromium.
# Simple usage: sh build.sh chrome
#
# If running on Linux:
# First build the latest wine from svn, then do
# sudo apt-get install cabextract winbind
# or winetricks and svn will complain.
#
# Note: d... | Shell |
#!/bin/sh
# First step in building firefox in wine with visual c++
set -x
DIR=`pwd`
export WINE=$HOME/wine-git/wine
export WINEPREFIX=$DIR/.wine
echo Using wine=$WINE, with WINEPREFIX=$WINEPREFIX
if false
then
rm -rf $WINEPREFIX
echo "Please install mercurial and wget in cygwin"
sh ../../winetricks cygwin
sh... | Shell |
#!/bin/sh
# Third step in building firefox in wine with visual c++
set -x
DIR=`pwd`
export WINE=$HOME/wine-git/wine
export WINEPREFIX=$DIR/.wine
echo Using wine=$WINE, with WINEPREFIX=$WINEPREFIX
cp start-msvc8-wine.bat $WINEPREFIX/drive_c/mozilla-build
cd $WINEPREFIX/drive_c/mozilla-build
set +x
echo "Now do"
echo... | Shell |
#!/bin/sh
# Simple script to download and build firefox for windows
# Steps to use on Windows:
# 1. install cygwin and its versions of mercurial and wget.
# 2. run http://kegel.com/wine/vc2005x.sh
# to install Visual Studio 2005 Express and the Platform SDK 2003.
# 3. run this script in Cygwin.
# Steps to use on Linux:... | Shell |
#!/bin/sh
# Third step in building firefox in wine with visual c++
set -x
DIR=`pwd`
export WINE=$HOME/wine-git/wine
export WINEPREFIX=$DIR/.wine
echo Using wine=$WINE, with WINEPREFIX=$WINEPREFIX
cp start-msvc8-wine.bat $WINEPREFIX/drive_c/mozilla-build
cd $WINEPREFIX/drive_c/mozilla-build
set +x
echo "Now do"
echo... | Shell |
#!/bin/sh
# First step in building firefox in wine with visual c++
set -x
DIR=`pwd`
export WINE=$HOME/wine-git/wine
export WINEPREFIX=$DIR/.wine
echo Using wine=$WINE, with WINEPREFIX=$WINEPREFIX
if false
then
rm -rf $WINEPREFIX
echo "Please install mercurial and wget in cygwin"
sh ../../winetricks cygwin
sh... | Shell |
#!/bin/sh
# Simple script to download and build firefox for windows
# Steps to use on Windows:
# 1. install cygwin and its versions of mercurial and wget.
# 2. run http://kegel.com/wine/vc2005x.sh
# to install Visual Studio 2005 Express and the Platform SDK 2003.
# 3. run this script in Cygwin.
# Steps to use on Linux:... | Shell |
#!/bin/sh
# Install the apps saved by savejugtest.
set -x
set -e
WINEJUGS=${WINEJUGS:-$HOME/jugs}
export WINEJUGS
for verb in `cd $WINEJUGS; ls`
do
WINEPREFIX=$HOME/.wine-cloned-$verb
export WINEPREFIX
rm -rf $WINEPREFIX
time sh clonejug $verb
done
| Shell |
#!/bin/sh
# I no longer pull winetricks-alpha from winezeug, it's moved to its own repo
# LGPL
# Copyright 2010 Dan Kegel
# Experimental cleanup of winetricks
#
#--------------------------------------------------------------------
# See http://code.google.com/p/winezeug/wiki/ConvergedFrontends
#
# This script, and th... | Shell |
#!/bin/sh
# Install the Gecko and Mono needed by modern wines
set -e
set -x
# Wine installs to /usr/local by default:
if test -d /usr/local/share/wine
then
WINE_SHARE_PREFIX=/usr/local/share/wine
else
WINE_SHARE_PREFIX=/usr/share/wine
fi
install_gecko()
{
case $1 in
wine-1.1.2[789]*|wine-1.1.[34]*|win... | Shell |
#!/bin/bash
# (Needs bash extension for 'select')
# Script to install and test WMP and Quicktime codec on Wine
# Dan Kegel, Google, 2008
WINE="${WINE:-wine}"
WINEPATH="${WINEPATH:-winepath}"
WINEPREFIX="${WINEPREFIX:-$HOME/.wine}"
# Download and install sample files
# See http://www.jhepple.com/support/sample_movies1... | Shell |
#!/bin/sh
# Usage: clonejug JUGNAME
# Clones a master jug for a wineprefix containing zero or more wine applications.
# The wineprefix is cloned to $WINEPREFIX or ~/.wine-jug-$JUGNAME if that's not set.
# The clone links readonly files from the master, and copies files that must be read-write.
set -x
set -e
JUGNAME=$... | Shell |
#!/bin/sh
# I no longer pull winetricks-alpha from winezeug, it's moved to its own repo
# LGPL
# Copyright 2010 Dan Kegel
# Experimental cleanup of winetricks
#
#--------------------------------------------------------------------
# See http://code.google.com/p/winezeug/wiki/ConvergedFrontends
#
# This script, and th... | Shell |
#!/bin/sh
# Install a few apps, then save them in jugs
set -x
set -e
WINEJUGS=$HOME/jugs
export WINEJUGS
rm -rf $WINEJUGS
mkdir $WINEJUGS
WINESERVER=${WINESERVER:-wineserver}
# verbs known to not work yet
BLACKLIST="starcraft$"
for verb in `sh wisotool ls | egrep -v "$BLACKLIST" `
do
WINEPREFIX=$HOME/.wine-stagi... | Shell |
#!/bin/sh
# Regression test for winetricks-alpha
set -x
# verbs known to not work in -q mode yet
BLACKLIST="cygwin"
errors=0
fail()
{
echo FAIL: $@
errors=`expr $errors + 1`
}
case "$LANG" in
""|"C") echo "Some games won't install in the Posix locale; doing 'export LANG=en_US.UTF-8'" ; export LANG=en_US.UTF... | Shell |
#!/bin/sh
# Install the apps saved by savejugtest.
set -x
set -e
WINEJUGS=${WINEJUGS:-$HOME/jugs}
export WINEJUGS
for verb in `cd $WINEJUGS; ls`
do
WINEPREFIX=$HOME/.wine-cloned-$verb
export WINEPREFIX
rm -rf $WINEPREFIX
time sh clonejug $verb
done
| Shell |
#!/bin/sh
# Script to automate building Wine dll's and programs for Win32 using MinGW
#
# This assumes your wine-git tree is in $HOME/wine-git. If not, override it with WINEGIT=/path/to/your/wine/tree
#
# Copyright 2010 Austin English
# LGPL 2.1 License
set -eux
WINEGIT=${WINEGIT:-$HOME/wine-git}
cd "$WINEGIT"
# Fi... | Shell |
#!/bin/sh
# Rename all sha1sum-named isos (wisotool convention) with their volume name (wisotool2 convention)
# Assumes you've already done something like
# mkdir -p ~/.cache/winetricks
# mv ~/.winetrickscache/* ~/.cache/winetricks/*
# mv ~/.wisotoolcache/* ~/.cache/winetricks/
# mv ~/.wisotool/cache/* ~/.cache... | Shell |
#!/bin/sh
# Process web logs from winetricks usage reporting
# Before running, grab the web log manually, place it in usage.log
# See what verbs wisotool2 has today
grep '^w_metadata' winetricks-alpha | grep -v '()' | awk '!/xgames/ {print $2}' | sort > wisotool2.loads
# Find what verbs people are using; discard any ... | Shell |
#!/bin/sh
# Script to install build-time dependencies for Wine,
# then download the wine source code
# Copyright 2009 Austin English
# LGPL 2.1
# Determine how to elevate our privileges:
if [ `uname -o` = 'Solaris' ] ; then
ADMIN_COMMAND=pfexec
elif [ `uname -o` = 'Linux' ] ; then
ADMIN_COMMAND=sudo
elif [ `u... | Shell |
#!/bin/sh
# Usage: savejug JUGNAME
# Saves a master jug for a wineprefix containing zero or more wine applications.
# The wineprefix to save is $WINEPREFIX or ~/.wine if that's not set.
# Later, to use the saved master jug, run clonejug JUGNAME. That creates a wineprefix
# that links readonly files from the master, a... | Shell |
#!/bin/sh
# Install the Gecko needed by modern wines
echo "This script has moved to http://winezeug.googlecode.com/svn/trunk/install-addons.sh"
exit 1
| Shell |
#!/bin/sh
# Build gcc from trunk
# Enable just the C language (since that's all Wine needs)
sudo apt-get build-dep gcc
sudo apt-get install texi2html libgmp3-dev libmpfr-dev
svn checkout svn://gcc.gnu.org/svn/gcc/trunk gcc-svn
cd gcc-svn
contrib/gcc_update
cd ..
rm -rf gcc-build
mkdir gcc-build
cd gcc-build
../gcc-svn... | Shell |
#!/bin/sh
# There's a lot of stuff here that probably doesn't need to be tested, e.g.,
# setting dlls to native, and different windows versions. It doesn't hurt to test
# and may find weird problems. Plus, that way we can test every function.
set -ex
rm -rf $HOME/.winetrickscache $HOME/.cache/winetricks
# Default to... | Shell |
#!/bin/sh
# Script to install build-time dependencies for Wine.
# If your distro isn't supported here, please add it.
# Home page (until accepted into wine tree): http://winezeug.googlecode.com
# Copyright 2006-2011 Dan Kegel
# Copyright 2008-2013 Austin English
# Please report bugs to http://code.google.com/p/winezeug... | Shell |
#!/bin/sh
# Simple wrapper script to find changes made by an installer.
# Usage:
# sh wisosha1dump preinstall # to get a baseline of the WINEPREFIX/Windows install
# install your app here, either manually or with wisotool
# sh wisosha1dump postinstall # used to compare to the preinstall to know what files changed, and... | Shell |
#!/bin/sh
# Usage: clonejug JUGNAME
# Clones a master jug for a wineprefix containing zero or more wine applications.
# The wineprefix is cloned to $WINEPREFIX or ~/.wine-jug-$JUGNAME if that's not set.
# The clone links readonly files from the master, and copies files that must be read-write.
set -x
set -e
JUGNAME=$... | Shell |
#!/bin/sh
# Script to scrape gameranking.com's game rankings
# and turn them into a web page suitable for further manual research
# as well as a text file suitable for generating final wiki or web output.
# Format of text file:
# title|gamerankings.com id|gamerankings.com score|
# To get the gamerankings page, use ht... | Shell |
#!/bin/sh
# Script to scrape gameranking.com's game rankings
# and turn them into a web page suitable for further manual research
# as well as a text file suitable for generating final wiki or web output.
# Format of text file:
# title|gamerankings.com id|gamerankings.com score|
# To get the gamerankings page, use ht... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.