about summary refs log tree commit diff stats
path: root/apps/crenshaw2-1b
Commit message (Expand)AuthorAgeFilesLines
* 7138 - type-check array 'length' instructionKartik Agaram2020-10-291-0/+0
* 7101 - tile: remove quotes when evaluating stringsKartik Agaram2020-10-251-0/+0
* 6946 - print floats somewhat intuitively in hexKartik Agaram2020-10-041-0/+0
* 6908 - compiling all floating-point operationsKartik Agaram2020-09-301-0/+0
* 6783Kartik Agaram2020-09-161-0/+0
* 6781 - new app: RPN (postfix) calculatorKartik Agaram2020-09-151-0/+0
* 6733 - read utf-8 'grapheme' from byte streamKartik Agaram2020-08-281-0/+0
* 6622 - new syscalls: time and ntimeKartik Agaram2020-07-081-0/+0
* 6604 - new appKartik Agaram2020-07-011-0/+0
* 6597Kartik Agaram2020-06-291-0/+0
* 6596Kartik Agaram2020-06-291-0/+0
* 6595Kartik Agaram2020-06-291-0/+0
* 6594 - start standardizing the meaning of 'print'Kartik Agaram2020-06-291-0/+0
* 6520 - new app: parse-intKartik Agaram2020-06-141-0/+0
* 6508 - support null exit-descriptorKartik Agaram2020-06-101-0/+0
* 6507 - use syscall names everywhereKartik Agaram2020-06-101-0/+0
* 6409 - primitives for text-mode UIsKartik Agaram2020-05-271-0/+0
* 6406 - primitive 'copy-handle'Kartik Agaram2020-05-251-0/+0
* update binariesKartik Agaram2020-05-221-0/+0
* handle nulls in lookupKartik Agaram2020-05-181-0/+0
* support 'fake' handles allocated staticallyKartik Agaram2020-05-181-0/+0
* support 'fake' handles allocated staticallyKartik Agaram2020-05-181-0/+0
* Rebuild phases of self-hosted SubX translatorKartik Agaram2020-05-181-0/+0
* 6208Kartik Agaram2020-04-221-0/+0
* 6182 - start of support for safe handlesKartik Agaram2020-04-031-0/+0
* 6181Kartik Agaram2020-04-031-0/+0
* 6153 - switch 'main' to use Mu stringsKartik Agaram2020-03-151-0/+0
* 6085Kartik Agaram2020-03-061-0/+0
* 6083Kartik Agaram2020-03-061-0/+0
* 6070Kartik Agaram2020-02-291-0/+0
* 6064Kartik Agaram2020-02-271-0/+0
* 6000 - clean up after no-local branchesKartik Agaram2020-02-091-0/+0
* 5948 - branching to named blocksKartik Agaram2020-01-291-0/+0
* 5898 - strengthen slice-empty? checkKartik Agaram2020-01-191-0/+0
* 5887 - reorganize libraryKartik Agaram2020-01-141-0/+0
* 5847 - literal inputsKartik Agaram2019-12-311-0/+0
* 5804Kartik Agaram2019-12-081-0/+0
* 5803Kartik Agaram2019-12-071-0/+0
* 5792Kartik Agaram2019-12-051-0/+0
* 5782 - fix a widespread bug with Heap-sizeKartik Agaram2019-11-301-0/+0
* 5778Kartik Agaram2019-11-291-0/+0
* 5769 - support uppercase hex in SubXKartik Agaram2019-11-281-0/+0
* 5752Kartik Agaram2019-11-181-0/+0
* 5714Kartik Agaram2019-10-251-0/+0
* 5687Kartik Agaram2019-09-231-0/+0
* 5676Kartik Agaram2019-09-191-0/+0
* 5675 - move helpers from subx-common into layersKartik Agaram2019-09-191-0/+0
* 5673 - standardize a few knobsKartik Agaram2019-09-191-0/+0
* 5672 - move hex out of appsKartik Agaram2019-09-191-0/+0
* 5669Kartik Agaram2019-09-191-0/+0
17:58:42 +0100 committer James Booth <boothj5@gmail.com> 2012-09-08 17:58:42 +0100 Removed sudo from cygwin install' href='/danisanti/profani-tty/commit/install-all.sh?id=8f0bc28bd4df075cba8a190c67846e90799af8cf'>8f0bc28b ^
76fe37ef ^





76fe37ef ^









0a1e8d9c ^






7f962895 ^
76fe37ef ^

7f962895 ^


04605a5f ^
7f962895 ^
b2cb4662 ^

7f962895 ^
24a60449 ^




76fe37ef ^


7f962895 ^

76fe37ef ^

24a60449 ^
8f0bc28b ^

24a60449 ^

8f0bc28b ^

76fe37ef ^
b2cb4662 ^



24a60449 ^
8f0bc28b ^

76fe37ef ^


76fe37ef ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192


               
 

                  









                                                                                               
                








                                                          
                                                                                                                                                            


 
                





                                                       
 
                                                                                                                                                                                                                      

 




                                                   
                                                                                                                                                                                

 





                                                       

                                                                                     


                              
                                 
                                                                                                                                                                                                                                                         
        
                                                                                                                                                                                                                                          
 

      
                                       

 




                                                     
                                                     













                                                    


                                            




                     




                                                     
                                                     














                                                               


                                            




                





                                           









                                          






                               
             

            


                                       
                                         
                   

                                     
      




                             


               

                                                             

                
                          

                               

                          

                               
              



                               
                          

                                   


              
       
#!/bin/bash

set -o errtrace

STATUS=development

error_handler()
{
        ERR_CODE=$?
        echo "Error $ERR_CODE with command '$BASH_COMMAND' on line ${BASH_LINENO[0]}. Exiting."
        exit $ERR_CODE

}

trap error_handler ERR

debian_prepare()
{
    echo
    echo Profanity installer ... updating apt repositories
    echo
    sudo apt-get update

    echo
    echo Profanity installer... installing dependencies
    echo
    sudo apt-get -y install git automake autoconf libssl-dev libexpat1-dev libncursesw5-dev libglib2.0-dev libnotify-dev libcurl3-dev libxss-dev libotr2-dev

}

fedora_prepare()
{
    echo
    echo Profanity installer... installing dependencies
    echo

    ARCH=`arch`

    sudo yum -y install gcc git autoconf automake openssl-devel.$ARCH expat-devel.$ARCH ncurses-devel.$ARCH  glib2-devel.$ARCH libnotify-devel.$ARCH libcurl-devel.$ARCH libXScrnSaver-devel.$ARCH libotr3-devel.$ARCH
}

opensuse_prepare()
{
 echo
 echo Profanity installer...installing dependencies
 echo
 sudo zypper -n in gcc git automake make autoconf libopenssl-devel expat libexpat-devel ncurses-devel glib2-devel libnotify-devel libcurl-devel libXScrnSaver-devel libotr-devel
}

cygwin_prepare()
{
    echo
    echo Profanity installer... installing dependencies
    echo

    wget --no-check-certificate https://raw.github.com/boothj5/apt-cyg/master/apt-cyg
    #wget http://apt-cyg.googlecode.com/svn/trunk/apt-cyg
    chmod +x apt-cyg
    mv apt-cyg /usr/local/bin/

    if [ -n "$CYG_MIRROR" ]; then
        apt-cyg -m $CYG_MIRROR install git make gcc-core m4 automake autoconf pkg-config openssl-devel libexpat-devel zlib-devel libncursesw-devel libglib2.0-devel libcurl-devel libidn-devel libssh2-devel libkrb5-devel openldap-devel libgcrypt-devel
    else
        apt-cyg install git make gcc-core m4 automake autoconf pkg-config openssl-devel libexpat-devel zlib-devel libncursesw-devel libglib2.0-devel libcurl-devel libidn-devel libssh2-devel libkrb5-devel openldap-devel libgcrypt-devel

    fi

    export LIBRARY_PATH=/usr/local/lib/
}

install_lib_strophe()
{
    echo
    echo Profanity installer... installing libstrophe
    echo
    git clone git://github.com/strophe/libstrophe.git
    cd libstrophe
    ./bootstrap.sh
    ./configure
    make
    sudo make install

    cd ..
}

install_profanity()
{
    echo
    echo Profanity installer... installing Profanity
    echo
    if [ "${STATUS}" = "development" ]; then
        ./bootstrap.sh
    fi
    ./configure
    make
    sudo make install
}

cyg_install_lib_strophe()
{
    echo
    echo Profanity installer... installing libstrophe
    echo
    git clone git://github.com/strophe/libstrophe.git
    cd libstrophe
    ./bootstrap.sh
    ./bootstrap.sh # second call seems to fix problem on cygwin
    ./configure
    make
    make install

    cd ..
}

cyg_install_profanity()
{
    echo
    echo Profanity installer... installing Profanity
    echo
    if [ "${STATUS}" = "development" ]; then
        ./bootstrap.sh
    fi
    ./configure
    make
    make install
}

cleanup()
{
    echo
    echo Profanity installer... cleaning up
    echo

    echo Removing libstrophe repository...
    rm -rf libstrophe

    echo
    echo Profanity installer... complete!
    echo
    echo Type \'profanity\' to run.
    echo
}

while getopts m: opt
do
    case "$opt" in
        m) CYG_MIRROR=$OPTARG;;
    esac
done

OS=`uname -s`
DIST=unknown

if [ "${OS}" = "Linux" ]; then
    if [ -f /etc/fedora-release ]; then
        DIST=fedora
    elif [ -f /etc/debian_version ]; then
        DIST=debian
    elif [ -f /etc/os-release ]; then
        DIST=opensuse
    fi
else
    echo $OS | grep -i cygwin
    if [ "$?" -eq 0 ]; then
        DIST=cygwin
    fi
fi

case "$DIST" in
unknown)    echo The install script will not work on this OS.
            echo Try a manual install instead.
            exit
            ;;
fedora)     fedora_prepare
            install_lib_strophe
            install_profanity
            ;;
debian)     debian_prepare
            install_lib_strophe
            install_profanity
            ;;
opensuse)   opensuse_prepare
            install_lib_strophe
            install_profanity
            ;;
cygwin)     cygwin_prepare
            cyg_install_lib_strophe
            cyg_install_profanity
            ;;
esac

cleanup