code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/bash
FILENAME=source/loader/alt_ios_gen.c
GENERATE=0
VERSION=249
PORT=0
if [ ! -z "$1" ];
then
VERSION=$1
if [ ! -z "$2" ];
then
PORT=$2
fi
fi
if [ $PORT -ne 0 -a $PORT -ne 1 ];
then
PORT=0
fi
if [ $PORT -eq 1 ];
then
PORT="true"
else
PORT="false"
fi
if [ ! -f $FILENAME ];
then
GENERATE=1
else
... | Shell |
#! /bin/bash
#
rev_new_raw=$(svnversion -n . 2>/dev/null | tr '\n' ' ' | tr -d '\r')
[ -n "$rev_new_raw" ] || rev_new_raw=$(SubWCRev . 2>/dev/null | tr '\n' ' ' | tr -d '\r')
rev_new_raw=$(echo $rev_new_raw | sed 's/[^0-9]*\([0-9]*\)\(.*\)/\1 \2/')
rev_new=0
a=$(echo $rev_new_raw | sed 's/\([0-9]*\).*/\1/')
let "a+=0... | Shell |
#!/bin/bash
FILENAME=source/loader/alt_ios_gen.c
GENERATE=0
VERSION=249
PORT=0
if [ ! -z "$1" ];
then
VERSION=$1
if [ ! -z "$2" ];
then
PORT=$2
fi
fi
if [ $PORT -ne 0 -a $PORT -ne 1 ];
then
PORT=0
fi
if [ $PORT -eq 1 ];
then
PORT="true"
else
PORT="false"
fi
if [ ! -f $FILENAME ];
then
GENERATE=1
else
... | Shell |
#! /bin/bash
#
rev_new_raw=$(svnversion -n . 2>/dev/null | tr '\n' ' ' | tr -d '\r')
[ -n "$rev_new_raw" ] || rev_new_raw=$(SubWCRev . 2>/dev/null | tr '\n' ' ' | tr -d '\r')
rev_new_raw=$(echo $rev_new_raw | sed 's/[^0-9]*\([0-9]*\)\(.*\)/\1 \2/')
rev_new=0
a=$(echo $rev_new_raw | sed 's/\([0-9]*\).*/\1/')
... | Shell |
#!/bin/bash
FILENAME=source/loader/alt_ios_gen.h
GENERATE=0
VERSION=249
if [ ! -z "$1" ];
then
VERSION=$1
fi
if [ ! -f $FILENAME ];
then
GENERATE=1
else
CURRENT_VERSION=`grep mainIOS\ = $FILENAME | awk '{printf "%d", $4}'`
if [ $CURRENT_VERSION -ne $VERSION ];
then
GENERATE=1
fi
fi
if [ $GENERATE -eq 1 ];
t... | Shell |
#! /bin/bash
#
rev_new_raw=$(svnversion -n . 2>/dev/null | tr '\n' ' ' | tr -d '\r')
[ -n "$rev_new_raw" ] || rev_new_raw=$(SubWCRev . 2>/dev/null | tr '\n' ' ' | tr -d '\r')
rev_new_raw=$(echo $rev_new_raw | sed 's/[^0-9]*\([0-9]*\)\(.*\)/\1 \2/')
rev_new=0
a=$(echo $rev_new_raw | sed 's/\([0-9]*\).*/\1/')
... | Shell |
#!/bin/bash
FILENAME=source/loader/alt_ios_gen.h
GENERATE=0
VERSION=249
if [ ! -z "$1" ];
then
VERSION=$1
fi
if [ ! -f $FILENAME ];
then
GENERATE=1
else
CURRENT_VERSION=`grep mainIOS\ = $FILENAME | awk '{printf "%d", $4}'`
if [ $CURRENT_VERSION -ne $VERSION ];
then
GENERATE=1
fi
fi
if [ $GENERATE -eq 1 ];
t... | Shell |
#! /bin/bash
#
rev_new_raw=$(svnversion -n . 2>/dev/null | tr '\n' ' ' | tr -d '\r')
[ -n "$rev_new_raw" ] || rev_new_raw=$(SubWCRev . 2>/dev/null | tr '\n' ' ' | tr -d '\r')
rev_new_raw=$(echo $rev_new_raw | sed 's/[^0-9]*\([0-9]*\)\(.*\)/\1 \2/')
rev_new=0
a=$(echo $rev_new_raw | sed 's/\([0-9]*\).*/\1/')
... | Shell |
#!/bin/bash
FILENAME=source/loader/alt_ios_gen.h
GENERATE=0
VERSION=222
if [ ! -z "$1" ];
then
VERSION=$1
fi
if [ ! -f $FILENAME ];
then
GENERATE=1
else
CURRENT_VERSION=`grep mainIOS\ = $FILENAME | awk '{printf "%d", $4}'`
if [ $CURRENT_VERSION -ne $VERSION ];
then
GENERATE=1
fi
fi
if [ $GENERATE -eq 1 ];
t... | Shell |
#! /bin/bash
#
rev_new_raw=$(svnversion -n . 2>/dev/null | tr '\n' ' ' | tr -d '\r')
[ -n "$rev_new_raw" ] || rev_new_raw=$(SubWCRev . 2>/dev/null | tr '\n' ' ' | tr -d '\r')
rev_new_raw=$(echo $rev_new_raw | sed 's/[^0-9]*\([0-9]*\)\(.*\)/\1 \2/')
rev_new=0
a=$(echo $rev_new_raw | sed 's/\([0-9]*\).*/\1/')
... | Shell |
#!/bin/bash
FILENAME=source/loader/alt_ios_gen.h
GENERATE=0
VERSION=222
if [ ! -z "$1" ];
then
VERSION=$1
fi
if [ ! -f $FILENAME ];
then
GENERATE=1
else
CURRENT_VERSION=`grep mainIOS\ = $FILENAME | awk '{printf "%d", $4}'`
if [ $CURRENT_VERSION -ne $VERSION ];
then
GENERATE=1
fi
fi
if [ $GENERATE -eq 1 ];
t... | Shell |
#! /bin/bash
#
rev_new_raw=$(svnversion -n . 2>/dev/null | tr '\n' ' ' | tr -d '\r')
[ -n "$rev_new_raw" ] || rev_new_raw=$(SubWCRev . 2>/dev/null | tr '\n' ' ' | tr -d '\r')
rev_new_raw=$(echo $rev_new_raw | sed 's/[^0-9]*\([0-9]*\)\(.*\)/\1 \2/')
rev_new=0
a=$(echo $rev_new_raw | sed 's/\([0-9]*\).*/\1/')
... | Shell |
#!/bin/bash
FILENAME=source/loader/alt_ios_gen.h
GENERATE=0
VERSION=222
if [ ! -z "$1" ];
then
VERSION=$1
fi
if [ ! -f $FILENAME ];
then
GENERATE=1
else
CURRENT_VERSION=`grep mainIOS\ = $FILENAME | awk '{printf "%d", $4}'`
if [ $CURRENT_VERSION -ne $VERSION ];
then
GENERATE=1
fi
fi
if [ $GENERATE -eq 1 ];
t... | Shell |
#! /bin/bash
#
rev_new_raw=$(svnversion -n . 2>/dev/null | tr '\n' ' ' | tr -d '\r')
[ -n "$rev_new_raw" ] || rev_new_raw=$(SubWCRev . 2>/dev/null | tr '\n' ' ' | tr -d '\r')
rev_new_raw=$(echo $rev_new_raw | sed 's/[^0-9]*\([0-9]*\)\(.*\)/\1 \2/')
rev_new=0
a=$(echo $rev_new_raw | sed 's/\([0-9]*\).*/\1/')
... | Shell |
#!/bin/bash
FILENAME=source/loader/alt_ios_gen.h
GENERATE=0
VERSION=222
if [ ! -z "$1" ];
then
VERSION=$1
fi
if [ ! -f $FILENAME ];
then
GENERATE=1
else
CURRENT_VERSION=`grep mainIOS\ = $FILENAME | awk '{printf "%d", $4}'`
if [ $CURRENT_VERSION -ne $VERSION ];
then
GENERATE=1
fi
fi
if [ $GENERATE -eq 1 ];
t... | Shell |
#! /bin/bash
#
rev_new_raw=$(svnversion -n . 2>/dev/null | tr '\n' ' ' | tr -d '\r')
[ -n "$rev_new_raw" ] || rev_new_raw=$(SubWCRev . 2>/dev/null | tr '\n' ' ' | tr -d '\r')
if [ "$rev_new_raw" == "exported" ];
then
echo This copy of wiiflow is not under source control
exit
fi
rev_new_raw=$(echo $rev_new_raw | se... | Shell |
#!/bin/bash
FILENAME=source/loader/alt_ios_gen.c
GENERATE=0
VERSION=249
if [ ! -z "$1" ];
then
VERSION=$1
fi
if [ ! -f $FILENAME ];
then
GENERATE=1
else
CURRENT_VERSION=`grep mainIOS\ = $FILENAME | awk '{printf "%d", $4}'`
if [ $CURRENT_VERSION -ne $VERSION ];
then
GENERATE=1
fi
fi
if [ $GENERATE -eq 1 ];
t... | Shell |
#! /bin/bash
#
rev_new_raw=$(svnversion -n . 2>/dev/null | tr '\n' ' ' | tr -d '\r')
[ -n "$rev_new_raw" ] || rev_new_raw=$(SubWCRev . 2>/dev/null | tr '\n' ' ' | tr -d '\r')
if [ "$rev_new_raw" == "exported" ];
then
echo This copy of wiiflow is not under source control
exit
fi
rev_new_raw=$(echo $rev_new_raw | se... | Shell |
#!/bin/bash
FILENAME=source/loader/alt_ios_gen.c
GENERATE=0
VERSION=249
if [ ! -z "$1" ];
then
VERSION=$1
fi
if [ ! -f $FILENAME ];
then
GENERATE=1
else
CURRENT_VERSION=`grep mainIOS\ = $FILENAME | awk '{printf "%d", $4}'`
if [ $CURRENT_VERSION -ne $VERSION ];
then
GENERATE=1
fi
fi
if [ $GENERATE -eq 1 ];
t... | Shell |
spawn-fcgi -u www-data -g www-data -d /var/www/simplecd/ -f /var/www/simplecd/code.py -a 127.0.0.1 -p 9001 -F 2
| 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 |
#!/bin/sh
# Remember VERBOSE only works on debug builds of the app
adb shell setprop log.tag.iosched_SyncHelper VERBOSE
adb shell setprop log.tag.iosched_SessionsHandler VERBOSE
adb shell setprop log.tag.iosched_ImageCache VERBOSE
adb shell setprop log.tag.iosched_ImageWorker VERBOSE
adb shell setprop log.tag.iosched_I... | Shell |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
$ADB shell "echo '$*' | sqlite3 -header -column /data/data/com.google.android.apps.iosched/databases/schedule.db" | Shell |
#!/bin/sh
# Sessions list
#adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/sessions
# Vendors list
#adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/vendors
# Session detail
#adb shell am start -a... | Shell |
# ltmain.sh - Provide generalized library-building support services.
# NOTE: Changing this file will not affect anything until you rerun configure.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
# 2007, 2008 Free Software Foundation, Inc.
# Originally by Gordon Matzigkeit <gord@gnu.ai.mi... | Shell |
#!/bin/sh
#
# install - install a program, script, or datafile
#
# 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 hereby granted, free of charge, t... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
# Copyright (C) 1996, 1997, 2001, 2002 Free Software Foundation, Inc.
# Franc,ois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public Licen... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
# $Id: mkinstalldirs,v 1.13 1999/01/05 03:18:55 bje Exp $
errstatus=0
for file
do
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
shift
... | Shell |
#!/bin/sh
#
# Could be better, but it's working as expected
#
#
#
# chkconfig: 345 65 35
#
# description: Startup/shutdown script for Wifidog captive portal
# processname: wifidog
# Date : 2004-08-25
# Version : 1.0
IPT=/usr/sbin/iptables
WD_DIR=/usr/bin
OPTIONS=""
case "$1" in
start)
echo "Starting Wifido... | Shell |
#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org
START=65
EXTRA_COMMANDS="status"
EXTRA_HELP=" status Print the status of the service"
start() {
/usr/bin/wifidog-init start
}
stop() {
/usr/bin/wifidog-init stop
}
status() {
/usr/bin/wifidog-init status
} | Shell |
#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org
START=65
EXTRA_COMMANDS="status"
EXTRA_HELP=" status Print the status of the service"
start() {
/usr/bin/wifidog-init start
}
stop() {
/usr/bin/wifidog-init stop
}
status() {
/usr/bin/wifidog-init status
}
| Shell |
#!sh
iptables --list --table filter
iptables --list --table mangle
iptables --list --table nat
| Shell |
#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org
START=50
start() {
/usr/bin/wifidog-init start
}
stop() {
/usr/bin/wifidog-init stop
}
status() {
/usr/bin/wifidog-init status
} | 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
if test $# = 1 ; then
ORIGINAL=$1
else
echo "Usage: make-patch.sh /path/to/libcharset" 1>&2
exit 1
fi
if test -f $ORIGINAL/lib/localcharset.c ; then : ; else
echo "Usage: make-patch.sh /path/to/libcharset" 1>&2
exit 1
fi
VERSION=`grep VERSION= $ORIGINAL/configure.ac | sed s/VERSION=//`
echo "# ... | Shell |
#!/bin/sh
if test $# = 1 ; then
ORIGINAL=$1
else
echo "Usage: make-patch.sh /path/to/libcharset" 1>&2
exit 1
fi
if test -f $ORIGINAL/lib/localcharset.c ; then : ; else
echo "Usage: make-patch.sh /path/to/libcharset" 1>&2
exit 1
fi
VERSION=`grep VERSION= $ORIGINAL/configure.ac | sed s/VERSION=//`
echo "# ... | Shell |
#!/bin/sh
if test $# = 1 ; then
ORIGINAL=$1
else
echo "Usage: update.sh /path/to/libcharset" 1>&2
exit 1
fi
if test -f $ORIGINAL/lib/localcharset.c ; then : ; else
echo "Usage: update.sh /path/to/libcharset" 1>&2
exit 1
fi
VERSION=`grep VERSION= $ORIGINAL/configure.ac | sed s/VERSION=//`
for i in localch... | Shell |
#! /bin/sh
# Output a system dependent table of character encoding aliases.
#
# Copyright (C) 2000-2004, 2006 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU Library General Public License as published
# by the Free Software... | Shell |
#!/bin/sh
if test $# = 1 ; then
ORIGINAL=$1
else
echo "Usage: update.sh /path/to/libcharset" 1>&2
exit 1
fi
if test -f $ORIGINAL/lib/localcharset.c ; then : ; else
echo "Usage: update.sh /path/to/libcharset" 1>&2
exit 1
fi
VERSION=`grep VERSION= $ORIGINAL/configure.ac | sed s/VERSION=//`
for i in localch... | Shell |
#! /bin/sh
# Output a system dependent table of character encoding aliases.
#
# Copyright (C) 2000-2004, 2006 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU Library General Public License as published
# by the Free Software... | Shell |
#!/bin/sh
LANG=C
status=0
if ! which readelf 2>/dev/null >/dev/null; then
echo "'readelf' not found; skipping test"
exit 0
fi
for so in .libs/lib*.so; do
echo Checking $so for local PLT entries
# g_string_insert_c is used in g_string_append_c_inline
# unaliased. Couldn't find a way to fix it.
# Same for g_on... | Shell |
#! /bin/sh
egrep '^#([^i]|if).*[^\]$' "${top_builddir:-..}/glibconfig.h" > glibconfig.cpp
INCLUDES="-include ${top_builddir:-..}/config.h"
INCLUDES="$INCLUDES -include glibconfig.cpp $GLIB_DEBUG_FLAGS"
cpp -P -DINCLUDE_INTERNAL_SYMBOLS -DINCLUDE_VARIABLES -DG_STDIO_NO_WRAP_ON_UNIX -DALL_FILES $INCLUDES "${srcdir:-.}... | Shell |
#!/bin/sh
LANG=C
status=0
if ! which readelf 2>/dev/null >/dev/null; then
echo "'readelf' not found; skipping test"
exit 0
fi
for so in .libs/lib*.so; do
echo Checking $so for local PLT entries
# g_string_insert_c is used in g_string_append_c_inline
# unaliased. Couldn't find a way to fix it.
# Same for g_on... | Shell |
#! /bin/sh
egrep '^#([^i]|if).*[^\]$' "${top_builddir:-..}/glibconfig.h" > glibconfig.cpp
INCLUDES="-include ${top_builddir:-..}/config.h"
INCLUDES="$INCLUDES -include glibconfig.cpp $GLIB_DEBUG_FLAGS"
cpp -P -DINCLUDE_INTERNAL_SYMBOLS -DINCLUDE_VARIABLES -DG_STDIO_NO_WRAP_ON_UNIX -DALL_FILES $INCLUDES "${srcdir:-.}... | Shell |
#! /bin/sh
IN="../update-pcre"
PCRE=$1
if [ "x$PCRE" = x -o "x$PCRE" = x--help -o "x$PCRE" = x-h ]; then
cat >&2 << EOF
$0 PCRE-DIR
Updates the local PCRE copy with a different version of the library,
contained in the directory PCRE-DIR.
This will delete the content of the local pcre directory, copy the
... | Shell |
#! /bin/sh
IN="../update-pcre"
PCRE=$1
if [ "x$PCRE" = x -o "x$PCRE" = x--help -o "x$PCRE" = x-h ]; then
cat >&2 << EOF
$0 PCRE-DIR
Updates the local PCRE copy with a different version of the library,
contained in the directory PCRE-DIR.
This will delete the content of the local pcre directory, copy the
... | Shell |
#!/bin/sh
LANG=C
status=0
if ! which readelf 2>/dev/null >/dev/null; then
echo "'readelf' not found; skipping test"
exit 0
fi
for so in .libs/lib*.so; do
echo Checking $so for local PLT entries
readelf -r $so | grep 'JU\?MP_SLOT\?' | grep '\<g_type_\|\<g_boxed_\|\<g_value_\|\<g_cclosure_\|\<g_closure_\|\<g_sign... | Shell |
#! /bin/sh
egrep '^#([^i]|if).*[^\]$' "${top_builddir:-..}/glibconfig.h" > glibconfig.cpp
INCLUDES="-include ${top_builddir:-..}/config.h"
INCLUDES="$INCLUDES -include glibconfig.cpp"
cpp -DINCLUDE_VARIABLES -P $INCLUDES -DALL_FILES ${srcdir:-.}/gobject.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE$//'... | Shell |
#!/bin/sh
LANG=C
status=0
if ! which readelf 2>/dev/null >/dev/null; then
echo "'readelf' not found; skipping test"
exit 0
fi
for so in .libs/lib*.so; do
echo Checking $so for local PLT entries
readelf -r $so | grep 'JU\?MP_SLOT\?' | grep '\<g_type_\|\<g_boxed_\|\<g_value_\|\<g_cclosure_\|\<g_closure_\|\<g_sign... | Shell |
#! /bin/sh
egrep '^#([^i]|if).*[^\]$' "${top_builddir:-..}/glibconfig.h" > glibconfig.cpp
INCLUDES="-include ${top_builddir:-..}/config.h"
INCLUDES="$INCLUDES -include glibconfig.cpp"
cpp -DINCLUDE_VARIABLES -P $INCLUDES -DALL_FILES ${srcdir:-.}/gobject.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE$//'... | Shell |
#!/bin/sh
VERSION=$1
if [ ! -f glib-$VERSION.tar.gz ]; then
echo "ERROR: glib-$VERSION.tar.gz does not exist..."
exit 1
fi
echo ""
echo "Checking glib-$VERSION.tar.gz..."
tar xfz glib-$VERSION.tar.gz
for file in INSTALL NEWS README
do
echo -n "$file... "
if [ "x`grep $VERSION glib-$VERSION/$file | wc -l | aw... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
errstatus=0
dirmode=""
usage="\
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
# process command line arguments
while test $# -gt 0 ; do
case $1 in
-h | --help... | Shell |
#!/bin/sh
# Build zipfiles for GLib on Win32: Separate runtime and developer ones.
# After running make install, run this.
ZIP=/tmp/glib-@GLIB_VERSION@.zip
DEVZIP=/tmp/glib-dev-@GLIB_VERSION@.zip
cd @prefix@
mkdir -p share/doc/glib-@GLIB_VERSION@
cp -p @abs_srcdir@/COPYING share/doc/glib-@GLIB_VERSION@
mkdir -p sh... | Shell |
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
ORIGDIR=`pwd`
cd $srcdir
PROJECT=GLib
TEST_TYPE=-f
FILE=glib/glib.h
DIE=0
have_libtool=false
if libtoolize --version < /dev/null > /dev/null 2>&1 ; then
libtool_version=`libtoolize --version | sed 's/... | Shell |
#!/bin/sh
VERSION=$1
if [ ! -f glib-$VERSION.tar.gz ]; then
echo "ERROR: glib-$VERSION.tar.gz does not exist..."
exit 1
fi
echo ""
echo "Checking glib-$VERSION.tar.gz..."
tar xfz glib-$VERSION.tar.gz
for file in INSTALL NEWS README
do
echo -n "$file... "
if [ "x`grep $VERSION glib-$VERSION/$file | wc -l | aw... | Shell |
#! /bin/sh
#
# Copyright (C) 1995-1998, 2000, 2001 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 License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
#... | Shell |
#!/bin/sh
LANG=C
status=0
if ! which readelf 2>/dev/null >/dev/null; then
echo "'readelf' not found; skipping test"
exit 0
fi
SKIP='\<g_access\|\<g_array_\|\<g_ascii\|\<g_list_\|\<g_assertion_message\|\<g_warn_message\|\<g_atomic\|\<g_bit_\|\<g_boxed\|\<g_build_filename\|\<g_byte_array\|\<g_checksum\|\<g_child_wa... | Shell |
#! /bin/sh
egrep '^#([^i]|if).*[^\]$' "${top_builddir:-..}/glibconfig.h" > glibconfig.cpp
INCLUDES="-include ${top_builddir:-..}/config.h"
INCLUDES="$INCLUDES -include glibconfig.cpp"
cpp -DINCLUDE_VARIABLES -P $INCLUDES -DALL_FILES ${srcdir:-.}/gio.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE$//' | s... | Shell |
#!/bin/sh
if test $# = 1 ; then
ORIGINAL=$1
else
echo "Usage: update.sh /path/to/libasyncns" 1>&2
exit 1
fi
if test -f $ORIGINAL/libasyncns/asyncns.c ; then : ; else
echo "Usage: update.sh /path/to/libasyncns" 1>&2
exit 1
fi
for i in asyncns.c asyncns.h ; do
sed -e 's/\([^a-z]\)asyncns_/\1_g_asyncns_/g'... | Shell |
#!/bin/sh
if test $# = 1 ; then
ORIGINAL=$1
else
echo "Usage: update.sh /path/to/libasyncns" 1>&2
exit 1
fi
if test -f $ORIGINAL/libasyncns/asyncns.c ; then : ; else
echo "Usage: update.sh /path/to/libasyncns" 1>&2
exit 1
fi
for i in asyncns.c asyncns.h ; do
sed -e 's/\([^a-z]\)asyncns_/\1_g_asyncns_/g'... | Shell |
#!/bin/sh
LANG=C
status=0
if ! which readelf 2>/dev/null >/dev/null; then
echo "'readelf' not found; skipping test"
exit 0
fi
SKIP='\<g_access\|\<g_array_\|\<g_ascii\|\<g_list_\|\<g_assertion_message\|\<g_warn_message\|\<g_atomic\|\<g_bit_\|\<g_boxed\|\<g_build_filename\|\<g_byte_array\|\<g_checksum\|\<g_child_wa... | Shell |
#! /bin/sh
egrep '^#([^i]|if).*[^\]$' "${top_builddir:-..}/glibconfig.h" > glibconfig.cpp
INCLUDES="-include ${top_builddir:-..}/config.h"
INCLUDES="$INCLUDES -include glibconfig.cpp"
cpp -DINCLUDE_VARIABLES -P $INCLUDES -DALL_FILES ${srcdir:-.}/gio.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE$//' | s... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
errstatus=0
dirmode=""
usage="\
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
# process command line arguments
while test $# -gt 0 ; do
case $1 in
-h | --help... | Shell |
#!/bin/sh
# Build zipfiles for GLib on Win32: Separate runtime and developer ones.
# After running make install, run this.
ZIP=/tmp/glib-@GLIB_VERSION@.zip
DEVZIP=/tmp/glib-dev-@GLIB_VERSION@.zip
cd @prefix@
mkdir -p share/doc/glib-@GLIB_VERSION@
cp -p @abs_srcdir@/COPYING share/doc/glib-@GLIB_VERSION@
mkdir -p sh... | Shell |
#! /bin/sh
#
# Copyright (C) 1995-1998, 2000, 2001 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 License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
#... | Shell |
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
ORIGDIR=`pwd`
cd $srcdir
PROJECT=GLib
TEST_TYPE=-f
FILE=glib/glib.h
DIE=0
have_libtool=false
if libtoolize --version < /dev/null > /dev/null 2>&1 ; then
libtool_version=`libtoolize --version | sed 's/... | Shell |
#!/bin/sh
if [ $(whoami) = ds ] ; then
confflags="--enable-gtk-doc"
else
confflags="--enable-gtk-doc"
fi
autoreconf -i -f &&
./configure --enable-maintainer-mode --disable-static $confflags $@
| Shell |
#!/bin/sh
if [ $(whoami) = ds ] ; then
confflags="--enable-gtk-doc"
else
confflags="--enable-gtk-doc"
fi
autoreconf -i -f &&
./configure --enable-maintainer-mode --disable-static $confflags $@
| Shell |
#!/bin/sh
# configure script for zlib. This script is needed only if
# you wish to build a shared library and your system supports them,
# of if you need special compiler, flags or install directory.
# Otherwise, you can just use directly "make test; make install"
#
# To create a shared library, use "configure --shared... | Shell |
#!/bin/sh
autoreconf -i -f &&
./configure --disable-static --enable-gtk-doc --enable-vivified $@
| Shell |
#! /bin/sh
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
ORIGDIR=`pwd`
cd $srcdir
autoreconf -v --install || exit 1
cd $ORIGDIR || exit $?
$srcdir/configure --enable-maintainer-mode "$@"
| Shell |
#! /bin/sh
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
ORIGDIR=`pwd`
cd $srcdir
autoreconf -v --install || exit 1
cd $ORIGDIR || exit $?
$srcdir/configure --enable-maintainer-mode "$@"
| Shell |
#!/bin/sh
set -e
###
### XXX Source common functions from cairo-perf-diff
###
usage() {
argv0=`basename $0`
cat >&2 << END
Usage:
As opposed to its sibling, cairo-perf-diff, cairo-perf-graph targets
reviewing changes between series by graphically comparing the performance
at each commit.
The two revisions c... | Shell |
#!/bin/sh
set -e
usage() {
argv0=`basename $0`
cat >&2 << END
Usage:
For comparing files created my cairo-perf:
$argv0 old.perf new.perf
For comparing (cached) performance of revisions:
$argv0 [OPTIONS] <revision> [-- cairo-perf options]
$argv0 [OPTIONS] <rev1> <rev2> [-- cairo-perf-options]
If given a... | Shell |
#!/bin/sh
set -e
###
### XXX Source common functions from cairo-perf-diff
###
usage() {
argv0=`basename $0`
cat >&2 << END
Usage:
As opposed to its sibling, cairo-perf-diff, cairo-perf-graph targets
reviewing changes between series by graphically comparing the performance
at each commit.
The two revisions c... | Shell |
#!/bin/sh
set -e
usage() {
argv0=`basename $0`
cat >&2 << END
Usage:
For comparing files created my cairo-perf:
$argv0 old.perf new.perf
For comparing (cached) performance of revisions:
$argv0 [OPTIONS] <revision> [-- cairo-perf options]
$argv0 [OPTIONS] <rev1> <rev2> [-- cairo-perf-options]
If given a... | Shell |
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
set -e
ARGV0=$0
# Allow invocation from a separate build directory; in that case, we change
# to the source directory to run the auto*, then change back before running configure
srcdir=`dirname $ARGV0`
test -z "$srcdir" && srcdir=.
ORIGDIR=`pwd`
cd $sr... | Shell |
#!/bin/sh
LANG=C
test -z "$srcdir" && srcdir=.
cd "$srcdir"
stat=0
HEADERS=$all_cairo_headers
test "x$HEADERS" = x && HEADERS=`find . -name 'cairo*.h' ! -name 'cairo*-private.h' ! -name 'cairoint.h'`
PRIVATE=$all_cairo_private
test "x$PRIVATE" = x && PRIVATE=`find . -name 'cairo*-private.h' -or -name 'cairoint.h'`... | Shell |
#!/bin/sh
LANG=C
if which nm 2>/dev/null >/dev/null; then
:
else
echo "'nm' not found; skipping test"
exit 0
fi
test -z "$srcdir" && srcdir=.
test -z "$MAKE" && MAKE=make
stat=0
$MAKE check-has-hidden-symbols.i > /dev/null || exit 1
if tail -1 check-has-hidden-symbols.i | grep CAIRO_HAS_HIDDEN_SYMBOLS >/dev/null... | Shell |
#!/bin/sh
LANG=C
if grep --version 2>/dev/null | grep GNU >/dev/null; then
:
else
echo "GNU grep not found; skipping test"
exit 0
fi
test -z "$srcdir" && srcdir=.
stat=0
echo Checking documentation for incorrect syntax
cd "$srcdir"
# Note: this test is also run from doc/public/ to check the SGML files
if test... | Shell |
#!/bin/sh
LANG=C
if which readelf 2>/dev/null >/dev/null; then
:
else
echo "'readelf' not found; skipping test"
exit 0
fi
test -z "$srcdir" && srcdir=.
test -z "$MAKE" && MAKE=make
stat=0
$MAKE check-has-hidden-symbols.i > /dev/null || exit 1
if tail -1 check-has-hidden-symbols.i | grep CAIRO_HAS_HIDDEN_SYMBOLS ... | Shell |
#!/bin/sh
LANG=C
test -z "$srcdir" && srcdir=.
stat=0
echo Checking public headers for missing cairo_public decorators
cd "$srcdir"
FILES=$all_cairo_headers
if test "x$FILES" = x; then
FILES=`find . -name 'cairo*.h' ! -name '*-private.h' ! -name 'cairoint.h'`
fi
grep -B 1 '^cairo_.*[ ]\+(' /dev/null $FILES |
awk... | Shell |
#!/bin/sh
LANG=C
if grep --version 2>/dev/null | grep GNU >/dev/null; then
:
else
echo "GNU grep not found; skipping test"
exit 0
fi
test -z "$srcdir" && srcdir=.
stat=0
echo Checking documentation for incorrect syntax
cd "$srcdir"
# Note: this test is also run from doc/public/ to check the SGML files
if test... | Shell |
#!/bin/sh
LANG=C
if which nm 2>/dev/null >/dev/null; then
:
else
echo "'nm' not found; skipping test"
exit 0
fi
test -z "$srcdir" && srcdir=.
test -z "$MAKE" && MAKE=make
stat=0
$MAKE check-has-hidden-symbols.i > /dev/null || exit 1
if tail -1 check-has-hidden-symbols.i | grep CAIRO_HAS_HIDDEN_SYMBOLS >/dev/null... | Shell |
#!/bin/sh
LANG=C
test -z "$srcdir" && srcdir=.
cd "$srcdir"
stat=0
HEADERS=$all_cairo_headers
test "x$HEADERS" = x && HEADERS=`find . -name 'cairo*.h' ! -name 'cairo*-private.h' ! -name 'cairoint.h'`
PRIVATE=$all_cairo_private
test "x$PRIVATE" = x && PRIVATE=`find . -name 'cairo*-private.h' -or -name 'cairoint.h'`... | Shell |
#!/bin/sh
LANG=C
if which readelf 2>/dev/null >/dev/null; then
:
else
echo "'readelf' not found; skipping test"
exit 0
fi
test -z "$srcdir" && srcdir=.
test -z "$MAKE" && MAKE=make
stat=0
$MAKE check-has-hidden-symbols.i > /dev/null || exit 1
if tail -1 check-has-hidden-symbols.i | grep CAIRO_HAS_HIDDEN_SYMBOLS ... | Shell |
#!/bin/sh
LANG=C
test -z "$srcdir" && srcdir=.
stat=0
echo Checking public headers for missing cairo_public decorators
cd "$srcdir"
FILES=$all_cairo_headers
if test "x$FILES" = x; then
FILES=`find . -name 'cairo*.h' ! -name '*-private.h' ! -name 'cairoint.h'`
fi
grep -B 1 '^cairo_.*[ ]\+(' /dev/null $FILES |
awk... | Shell |
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
set -e
ARGV0=$0
# Allow invocation from a separate build directory; in that case, we change
# to the source directory to run the auto*, then change back before running configure
srcdir=`dirname $ARGV0`
test -z "$srcdir" && srcdir=.
ORIGDIR=`pwd`
cd $sr... | Shell |
#!/bin/sh
set -e
if [ $# -lt 1 ]; then
argv0=`basename $0`
echo "$argv0: Convert source code written for Xr to use Cairo instead." >&2
echo "" >&2
echo "Usage: $argv0 file [...]" >&2
exit 1
fi
xr2cairo() {
file=$1
backup=$file.xr
if [ -e $backup ]; then
echo "Warning: Backup file $backup alr... | Shell |
#!/bin/sh
set -e
if [ $# -lt 1 ]; then
argv0=`basename $0`
echo "$argv0: Update source code to the lastest Cairo API" >&2
echo "" >&2
echo "Usage: $argv0 file [...]" >&2
exit 1
fi
cairo_api_update() {
file=$1
backup=$file.bak
cp $file $backup
sed -e '/\(DEPRECATED\|REPLACED\)_BY/! {
s/cairo... | Shell |
#!/bin/sh
prefix=@prefix@
exec_prefix=@exec_prefix@
nofile=
flush=
nocallers=
nomarkdirty=
compress=
usage() {
cat << EOF
usage: cairo-trace [--no-file] command
cairo-trace will generate a log of all calls made by command to
cairo. This log will be stored in a file in the local directory
called command.pid.trace.
Wh... | Shell |
#!/bin/sh
prefix=@prefix@
exec_prefix=@exec_prefix@
nofile=
flush=
nocallers=
nomarkdirty=
compress=
usage() {
cat << EOF
usage: cairo-trace [--no-file] command
cairo-trace will generate a log of all calls made by command to
cairo. This log will be stored in a file in the local directory
called command.pid.trace.
Wh... | Shell |
#!/bin/sh
set -e
if [ $# -lt 1 ]; then
argv0=`basename $0`
echo "$argv0: Update source code to the lastest Cairo API" >&2
echo "" >&2
echo "Usage: $argv0 file [...]" >&2
exit 1
fi
cairo_api_update() {
file=$1
backup=$file.bak
cp $file $backup
sed -e '/\(DEPRECATED\|REPLACED\)_BY/! {
s/cairo... | Shell |
#!/bin/sh
set -e
if [ $# -lt 1 ]; then
argv0=`basename $0`
echo "$argv0: Convert source code written for Xr to use Cairo instead." >&2
echo "" >&2
echo "Usage: $argv0 file [...]" >&2
exit 1
fi
xr2cairo() {
file=$1
backup=$file.xr
if [ -e $backup ]; then
echo "Warning: Backup file $backup alr... | Shell |
#!/bin/sh
# Build zipfiles for Pango on Win32: separate runtime and developer packages
ZIP=/tmp/pango-@PANGO_VERSION@.zip
DEVZIP=/tmp/pango-dev-@PANGO_VERSION@.zip
cd @prefix@
mkdir -p share/doc/pango-@PANGO_VERSION@
cp -p @abs_srcdir@/COPYING share/doc/pango-@PANGO_VERSION@
mkdir -p share/doc/pango-dev-@PANGO_VERS... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.